- java.lang.Object
-
- jp.cafebabe.birthmarks.comparators.Threshold
-
- All Implemented Interfaces:
Serializable
,Comparable<Threshold>
public class Threshold extends Object implements Serializable, Comparable<Threshold>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Threshold(double threshold)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(Threshold other)
boolean
isInconclusive(Similarity similarity)
boolean
isInnocent(Similarity similarity)
boolean
isStolen(Similarity similarity)
-
-
-
Field Detail
-
DEFAULT
public static final Threshold DEFAULT
-
-
Method Detail
-
isStolen
public boolean isStolen(Similarity similarity)
-
isInconclusive
public boolean isInconclusive(Similarity similarity)
-
isInnocent
public boolean isInnocent(Similarity similarity)
-
compareTo
public int compareTo(Threshold other)
- Specified by:
compareTo
in interfaceComparable<Threshold>
-
-