org.objectweb.fractal.explorer.graph
Class GraphInformations.SortInterface

java.lang.Object
  extended by org.objectweb.fractal.explorer.graph.GraphInformations.SortInterface
All Implemented Interfaces:
Comparator
Enclosing class:
GraphInformations

public static class GraphInformations.SortInterface
extends Object
implements Comparator

Sorts two interfaces by alphabetic order using their names.

Version:
0.1

Constructor Summary
GraphInformations.SortInterface()
           
 
Method Summary
protected  int compare(Interface itf1, Interface itf2)
           
 int compare(Object o1, Object o2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

GraphInformations.SortInterface

public GraphInformations.SortInterface()
Method Detail

compare

protected int compare(Interface itf1,
                      Interface itf2)

compare

public int compare(Object o1,
                   Object o2)
Specified by:
compare in interface Comparator