Module io.ebean.api
Package io.ebean

Class Pairs.Entry

java.lang.Object
io.ebean.Pairs.Entry
Enclosing class:
Pairs

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

Used to support inPairs() expression.

  • Constructor Details

    • 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 Details

    • toString

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

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

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

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object