com.intel.hadoop.graphbuilder.graph.glgraph
Class EdgeList.EdgeTypeComparator

java.lang.Object
  extended by com.intel.hadoop.graphbuilder.graph.glgraph.EdgeList.EdgeTypeComparator
Type Parameters:
EdgeType - type of the elements to be compared with.
All Implemented Interfaces:
java.util.Comparator<EdgeType>
Enclosing class:
EdgeList

public class EdgeList.EdgeTypeComparator
extends java.lang.Object
implements java.util.Comparator<EdgeType>

Comparator of two EdgeType based on the numeric ordering of the center of the edge.

Author:
Haijie Gu

Constructor Summary
EdgeList.EdgeTypeComparator()
           
 
Method Summary
 int compare(EdgeType arg0, EdgeType arg1)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

EdgeList.EdgeTypeComparator

public EdgeList.EdgeTypeComparator()
Method Detail

compare

public final int compare(EdgeType arg0,
                         EdgeType arg1)
Specified by:
compare in interface java.util.Comparator<EdgeType>