net.ericaro.neoitertools
Class Index<T>

java.lang.Object
  extended by net.ericaro.neoitertools.Index<T>

public class Index<T>
extends java.lang.Object

A simple immutable object used to handle both the index and the object

Author:
eric
See Also:
Index's wiki page, neoitertools site

Field Summary
 int i
           
 T value
           
 
Constructor Summary
Index(int i, T value)
           
 
Method Summary
 boolean equals(java.lang.Object other)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

i

public final int i

value

public final T value
Constructor Detail

Index

public Index(int i,
             T value)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

equals

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


Copyright © 2011. All Rights Reserved.