Class Nickname

  • All Implemented Interfaces:
    DateHolder

    public class Nickname
    extends java.lang.Object
    implements DateHolder
    Object storing nickname information.
    • Constructor Summary

      Constructors 
      Constructor Description
      Nickname​(java.lang.String name, long date, java.util.UUID serverUUID)  
    • Constructor Detail

      • Nickname

        public Nickname​(java.lang.String name,
                        long date,
                        java.util.UUID serverUUID)
    • Method Detail

      • getName

        public java.lang.String getName()
      • getDate

        public long getDate()
        Description copied from interface: DateHolder
        Get the date the object holds.
        Specified by:
        getDate in interface DateHolder
        Returns:
        Epoch ms - milliseconds passed since January 1st 1970.
      • getServerUUID

        public java.util.UUID getServerUUID()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object