public class Key<T>
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
Key(int ix,
T value)
Create instance of Key.
|
Modifier and Type | Method and Description |
---|---|
int |
getIx()
Get index.
|
T |
getValue()
Get value.
|
java.lang.String |
toString()
Convert to String.
|
public Key(int ix, T value)
ix
- key indexvalue
- key valuepublic int getIx()
public T getValue()
public java.lang.String toString()
toString
in class java.lang.Object