Class ObjLongPair<A>

java.lang.Object
org.apache.activemq.artemis.api.core.ObjLongPair<A>
All Implemented Interfaces:
Serializable

public class ObjLongPair<A> extends Object implements Serializable
A Pair is a holder for 1 object and 'a' being greater or equal than 0.

This is a utility class.

See Also:
  • Field Details

  • Constructor Details

    • ObjLongPair

      public ObjLongPair(A a, long b)
    • ObjLongPair

      public ObjLongPair(A a)
  • Method Details

    • hashCode

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

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • setA

      public void setA(A a)
    • getA

      public A getA()
    • setB

      public void setB(long b)
    • getB

      public long getB()