Package jflex

Class IntPair


  • final class IntPair
    extends java.lang.Object
    Simple pair of integers.

    Used in NFA to represent a partial NFA by its start and end state.

    Version:
    JFlex 1.7.0
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) int end  
      (package private) int start  
    • Constructor Summary

      Constructors 
      Constructor Description
      IntPair​(int start, int end)  
    • Method Summary

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

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

      • start

        int start
      • end

        int end
    • Constructor Detail

      • IntPair

        IntPair​(int start,
                int end)
    • Method Detail

      • hashCode

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

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object