Package org.nlpub.watset.util
Class IndexedSense<V>
- java.lang.Object
-
- org.jgrapht.alg.util.Pair<V,Integer>
-
- org.nlpub.watset.util.IndexedSense<V>
-
- Type Parameters:
V- the type of value
- All Implemented Interfaces:
Serializable,Supplier<V>,Sense<V>
public class IndexedSense<V> extends org.jgrapht.alg.util.Pair<V,Integer> implements Sense<V>
An integer sense identifier.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IndexedSense(V value, Integer sense)Create a sense of an object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Vget()IntegergetSense()Get the sense identifier.StringtoString()
-