Class LongHolder

  • All Implemented Interfaces:
    Holder, java.io.Serializable

    public final class LongHolder
    extends java.lang.Object
    implements Holder
    Holder class for Long, used by the Term class.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      long value  
    • Constructor Summary

      Constructors 
      Constructor Description
      LongHolder()  
      LongHolder​(long initial)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(long l)
      Comparisson method for Longs.
      boolean equals​(java.lang.Object obj)
      Comparisson method for Longs.
      • Methods inherited from class java.lang.Object

        getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • value

        public long value
    • Constructor Detail

      • LongHolder

        public LongHolder()
      • LongHolder

        public LongHolder​(long initial)
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object obj)
        Comparisson method for Longs.
        Overrides:
        equals in class java.lang.Object
        Returns:
        true if the input object equals the current object, false otherwize
      • equals

        public boolean equals​(long l)
        Comparisson method for Longs.
        Returns:
        true if the input long value equals the value of the current object, false otherwize