Module io.ebean.api
Package io.ebean

Class CountedValue<A>

java.lang.Object
io.ebean.CountedValue<A>
All Implemented Interfaces:
Serializable

public class CountedValue<A> extends Object implements Serializable
Holds a distinct value with it's count. (Used with Query.findSingleAttributeList() and Query.setCountDistinct(CountDistinctOrder).)
Author:
Roland Praml, FOCONIS AG
See Also:
  • Constructor Details

    • CountedValue

      public CountedValue(A value, long count)
  • Method Details

    • getCount

      public long getCount()
    • getValue

      public A getValue()
    • toString

      public String toString()
      Overrides:
      toString in class Object