Class Internals.ObjLongBox<A>

  • All Implemented Interfaces:
    java.util.function.Consumer<A>, java.util.Map.Entry<A,​java.lang.Long>
    Enclosing interface:
    Internals

    public static final class Internals.ObjLongBox<A>
    extends Internals.Box<A>
    implements java.util.Map.Entry<A,​java.lang.Long>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) long b  
    • Constructor Summary

      Constructors 
      Constructor Description
      ObjLongBox​(A a, long b)  
    • Field Detail

      • b

        long b
    • Constructor Detail

      • ObjLongBox

        ObjLongBox​(A a,
                   long b)
    • Method Detail

      • getKey

        public A getKey()
        Specified by:
        getKey in interface java.util.Map.Entry<A,​java.lang.Long>
      • getValue

        public java.lang.Long getValue()
        Specified by:
        getValue in interface java.util.Map.Entry<A,​java.lang.Long>
      • setValue

        public java.lang.Long setValue​(java.lang.Long value)
        Specified by:
        setValue in interface java.util.Map.Entry<A,​java.lang.Long>
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface java.util.Map.Entry<A,​java.lang.Long>
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Specified by:
        equals in interface java.util.Map.Entry<A,​java.lang.Long>
        Overrides:
        equals in class java.lang.Object
      • toString

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