Class SegTokenPair


  • class SegTokenPair
    extends java.lang.Object
    A pair of tokens in SegGraph
    • Constructor Summary

      Constructors 
      Constructor Description
      SegTokenPair​(char[] idArray, int from, int to, double weight)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      int hashCode()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • charArray

        public char[] charArray
      • from

        public int from
        index of the first token in SegGraph
      • to

        public int to
        index of the second token in SegGraph
      • weight

        public double weight
    • Constructor Detail

      • SegTokenPair

        public SegTokenPair​(char[] idArray,
                            int from,
                            int to,
                            double weight)
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
        See Also:
        Object.hashCode()
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
        See Also:
        Object.equals(java.lang.Object)