Class Scoreable

  • All Implemented Interfaces:
    java.lang.Comparable

    public class Scoreable
    extends java.lang.Object
    implements java.lang.Comparable
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.Object _obj  
      private int _score  
    • Constructor Summary

      Constructors 
      Constructor Description
      Scoreable​(int score, java.lang.Object obj)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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
    • Field Detail

      • _score

        private int _score
      • _obj

        private java.lang.Object _obj
    • 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