T - the type to compareK - the similarity type of Tpublic abstract class ProxySimilarityComparator<T,K extends Similar<K>>
extends java.lang.Object
implements java.util.Comparator<T>
| Constructor and Description |
|---|
ProxySimilarityComparator(K ref) |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(T o1,
T o2) |
static <C extends Keyed<K>,K extends Similar<K>> |
create(K ref) |
static <T,K extends Similar<K>> |
create(K ref,
java.util.function.Function<T,java.util.Collection<K>> similars) |
protected abstract java.util.Collection<K> |
getSimilars(T t) |
public ProxySimilarityComparator(K ref)
Copyright © 2015–2018 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.