Package org.apache.uima.util
Class IntEntry<T>
- java.lang.Object
-
- org.apache.uima.util.IntEntry<T>
-
- Type Parameters:
T
- the type of the value
public class IntEntry<T> extends java.lang.Object
like Entry<k, v> except the k is an int.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
int
getKey()
T
getValue()
int
hashCode()
-
-
-
Field Detail
-
key
private int key
-
value
private T value
-
-
Constructor Detail
-
IntEntry
public IntEntry(int i, T v)
-
-
Method Detail
-
getKey
public int getKey()
- Returns:
- the key
-
getValue
public T getValue()
- Returns:
- the Value
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-