Class ScoreEntry

  • All Implemented Interfaces:
    java.lang.Comparable

    
    public class ScoreEntry
     implements Comparable<T>
                        

    Created by vincent on 17-4-20. Copyright @ 2013-2023 Platon AI. All rights reserved

    Author:

    vincent

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
      ScoreEntry(String name, int value) Constructor for ScoreEntry.
      ScoreEntry(String name, int priority, int value) Constructor for ScoreEntry.
      ScoreEntry(String name, int priority, int value, int digits) Constructor for ScoreEntry.
      ScoreEntry(ScoreEntry other) Constructor for ScoreEntry.
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      String getName() Getter for the field name.
      void setName(String name) Setter for the field name.
      int getPriority() Getter for the field priority.
      void setPriority(int priority) Setter for the field priority.
      int getValue() Getter for the field value.
      void setValue(int value) Setter for the field value.
      int getDigits() Getter for the field digits.
      void setDigits(int digits) Setter for the field digits.
      ScoreEntry clone()
      String toString()
      boolean equals(Object other)
      int compareTo(@Nonnull() ScoreEntry scoreEntry)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ScoreEntry

        ScoreEntry(String name, int value)
        Constructor for ScoreEntry.
        Parameters:
        name - a java.lang.String object.
        value - a int.
      • ScoreEntry

        ScoreEntry(String name, int priority, int value)
        Constructor for ScoreEntry.
        Parameters:
        name - a java.lang.String object.
        priority - a int.
        value - a int.
      • ScoreEntry

        ScoreEntry(String name, int priority, int value, int digits)
        Constructor for ScoreEntry.
        Parameters:
        name - a java.lang.String object.
        priority - a int.
        value - a int.
        digits - a int.