Class IndexedSense<V>

    • Constructor Detail

      • IndexedSense

        public IndexedSense​(V value,
                            Integer sense)
        Create a sense of an object.
        Parameters:
        value - the object
        sense - the sense identifier
    • Method Detail

      • get

        public V get()
        Specified by:
        get in interface Supplier<V>
      • getSense

        public Integer getSense()
        Get the sense identifier.
        Returns:
        the sense identifier
      • toString

        public String toString()
        Overrides:
        toString in class org.jgrapht.alg.util.Pair<V,​Integer>