Class Internals.ObjIntBox<A>

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

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

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

      Constructors 
      Constructor Description
      ObjIntBox​(A a, int b)  
    • Field Detail

      • b

        int b
    • Constructor Detail

      • ObjIntBox

        ObjIntBox​(A a,
                  int b)
    • Method Detail

      • getKey

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

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

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

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

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

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