Package de.umass.lastfm
Class Tasteometer.ComparisonResult
- java.lang.Object
-
- de.umass.lastfm.Tasteometer.ComparisonResult
-
- Enclosing class:
- Tasteometer
public static class Tasteometer.ComparisonResult extends java.lang.Object
Contains the result of a tasteometer comparison, i.e. the score (0.0-1.0) and a list of shared artists.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Collection<Artist>
getMatches()
Returns a list of artist matches, i.e.float
getScore()
Returns the compatability score between 0.0 (no compatability) and 1.0 (highest compatability).
-
-
-
Method Detail
-
getMatches
public java.util.Collection<Artist> getMatches()
Returns a list of artist matches, i.e. artists both partys listen to.- Returns:
- artist matches
-
getScore
public float getScore()
Returns the compatability score between 0.0 (no compatability) and 1.0 (highest compatability).- Returns:
- the score
-
-