de.umass.lastfm
Class Tasteometer.ComparisonResult

java.lang.Object
  extended by de.umass.lastfm.Tasteometer.ComparisonResult
Enclosing class:
Tasteometer

public static class Tasteometer.ComparisonResult
extends Object

Contains the result of a tasteometer comparison, i.e. the score (0.0-1.0) and a list of shared artists.


Method Summary
 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).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getMatches

public 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