Package io.objectbox.query
Class ObjectWithScore<T>
- java.lang.Object
-
- io.objectbox.query.ObjectWithScore<T>
-
public class ObjectWithScore<T> extends java.lang.Object
Wraps a matching object and a score when usingQuery.findWithScores(long, long)
.
-
-
Constructor Summary
Constructors Constructor Description ObjectWithScore(T object, double score)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
get()
Returns the matching object.double
getScore()
Returns the query score for theobject
.
-
-
-
Constructor Detail
-
ObjectWithScore
public ObjectWithScore(T object, double score)
-
-