org.onemind.commons.java.datastructure
Class Scoreable

java.lang.Object
  extended byorg.onemind.commons.java.datastructure.Scoreable
All Implemented Interfaces:
java.lang.Comparable

public class Scoreable
extends java.lang.Object
implements java.lang.Comparable


Constructor Summary
Scoreable(int score, java.lang.Object obj)
           
 
Method Summary
 int compareTo(java.lang.Object o)
           
 java.lang.Object getObject()
           
 int getScore()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Scoreable

public Scoreable(int score,
                 java.lang.Object obj)
Method Detail

getObject

public java.lang.Object getObject()

getScore

public int getScore()

compareTo

public int compareTo(java.lang.Object o)
Specified by:
compareTo in interface java.lang.Comparable


Copyright © 2004-2006 . All Rights Reserved.