public interface Similar<T>
| Modifier and Type | Method and Description |
|---|---|
int |
getSimilarity(T other)
x = 0 ⇔ equal
x < 0 ⇔ not similar
x > 0 ⇔ similar
y > 0 & x > y ⇔ x more similar than y
|
int getSimilarity(T other)
x = 0 ⇔ equal x < 0 ⇔ not similar x > 0 ⇔ similar y > 0 & x > y ⇔ x more similar than y
other - the other objectCopyright © 2015–2020 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.