storm.trident.util
Class IndexedEdge<T>

java.lang.Object
  extended by storm.trident.util.IndexedEdge<T>
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable

public class IndexedEdge<T>
extends java.lang.Object
implements java.lang.Comparable, java.io.Serializable

See Also:
Serialized Form

Field Summary
 int index
           
 T source
           
 T target
           
 
Constructor Summary
IndexedEdge(T source, T target, int index)
           
 
Method Summary
 int compareTo(java.lang.Object t)
           
 boolean equals(java.lang.Object o)
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

source

public T source

target

public T target

index

public int index
Constructor Detail

IndexedEdge

public IndexedEdge(T source,
                   T target,
                   int index)
Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

compareTo

public int compareTo(java.lang.Object t)
Specified by:
compareTo in interface java.lang.Comparable