Module io.ebean.api
Package io.ebean

Class Pairs.Entry

  • Enclosing class:
    Pairs

    public static class Pairs.Entry
    extends Object
    A pair of 2 value objects.

    Used to support inPairs() expression.

    • Constructor Detail

      • Entry

        public Entry​(Object a,
                     Object b)
        Create with values for property0 and property1 respectively.
        Parameters:
        a - Value of the first property
        b - Value of the second property
    • Method Detail

      • getA

        public Object getA()
        Return the value for the first property.
      • getB

        public Object getB()
        Return the value for the second property.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object