@FunctionalInterface public interface Similator<T>
This is similar (pun) to Comparator or Equalator, but aims at more fine grained comparison,
e.g. for integrating String similarity heuristics like
if(similarName.evaluate("Jack", "Jake") > 0.5) {...}
To not confound the admitted strange name "Similator" with "Simulator" or "Assimilator" (the building where the Protoss get their gas from :D)
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Similator.Provider<T> |
static class |
Similator.Sequence<T> |
| Modifier and Type | Method and Description |
|---|---|
double |
evaluate(T o1,
T o2) |
Copyright © 2022 MicroStream Software. All rights reserved.