Package com.tagtraum.ubermusic
Class Similarity<T>
- java.lang.Object
-
- com.tagtraum.ubermusic.Similarity<T>
-
- All Implemented Interfaces:
Comparable<Similarity<T>>
public class Similarity<T> extends Object implements Comparable<Similarity<T>>
Similarity.- Author:
- Hendrik Schreiber
-
-
Constructor Summary
Constructors Constructor Description Similarity(T t, float strength)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(Similarity<T> o)
boolean
equals(Object o)
T
get()
float
getStrength()
int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
Similarity
public Similarity(T t, float strength)
-
-
Method Detail
-
getStrength
public float getStrength()
-
compareTo
public int compareTo(Similarity<T> o)
- Specified by:
compareTo
in interfaceComparable<T>
-
get
public T get()
-
-