Class Tuple<K,V>
- java.lang.Object
-
- uk.ac.warwick.dcs.sherlock.api.util.Tuple<K,V>
-
- Type Parameters:
K
- key typeV
- value type
- All Implemented Interfaces:
java.io.Serializable
,ITuple<K,V>
- Direct Known Subclasses:
IndexedString
public class Tuple<K,V> extends java.lang.Object implements ITuple<K,V>, java.io.Serializable
Basic tuple implementation- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ITuple
clone()
boolean
equals(ITuple tuple)
K
getKey()
V
getValue()
boolean
keyEquals(ITuple tuple)
static <K,V>
Tupleof(K key, V value)
void
setKey(K key)
void
setValue(V value)
java.lang.String
toString()
boolean
valueEquals(ITuple tuple)
-