Code example for SortedMap

Methods: values

0
     *  
     * @return the parent classes of this resource class. 
     */     
    public List<ResourceClass> getDeclaredParentClasses()
    { 
        return new ArrayList<ResourceClass>(parentClasses.values());
    } 
     
    /** 
     * Returns all parent classes of this class. 
     *  
     * @return all parent classes of this class. 
     */ 
    public List<ResourceClass> getAllParentClasses()
    { 
        Set<ResourceClass> result = new TreeSet<ResourceClass>();
        LinkedList<ResourceClass> stack = new LinkedList<ResourceClass>();
        stack.addLast(this);
        ResourceClass rc;
        while(!stack.isEmpty())
        {