public final class SelectResult<T>
extends java.lang.Object
Constructor and Description |
---|
SelectResult(int index,
T value)
Stores the result of a select operation
|
private final int index
private final T value
SelectResult(int index, T value)
index
- The index of the read input channelvalue
- The value readpublic int getIndex()
public T getValue()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object