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 ITupleclone()booleanequals(ITuple tuple)KgetKey()VgetValue()booleankeyEquals(ITuple tuple)static <K,V>
Tupleof(K key, V value)voidsetKey(K key)voidsetValue(V value)java.lang.StringtoString()booleanvalueEquals(ITuple tuple)
-