public class SimilarItem extends Object
Modifier and Type | Field and Description |
---|---|
static Comparator<SimilarItem> |
COMPARE_BY_SIMILARITY |
Constructor and Description |
---|
SimilarItem(long itemID,
double similarity) |
Modifier and Type | Method and Description |
---|---|
long |
getItemID() |
double |
getSimilarity() |
void |
set(long itemID,
double similarity) |
public static final Comparator<SimilarItem> COMPARE_BY_SIMILARITY
Copyright © 2008–2017 The Apache Software Foundation. All rights reserved.