Code example for Map

Methods: isEmpty

0
            return graph.size();
        } 
 
        public boolean isEmpty() 
        { 
            return graph.isEmpty();
        } 
 
        @Override 
        public String toString()
        { 
            return graph.toString();
        } 
    } 
 
    /** 
     * Sort the input graph into a topologically sorted list 
     * 
     * Uses the reverse depth first search as outlined in ... 
     * @param graph 
     * @return The sorted mods list.