net.roarsoftware.lastfm
Class Tasteometer.ComparisonResult

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

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