Class Numeric<T extends Number>

  • Type Parameters:
    T - type of indentifier's value
    Direct Known Subclasses:
    NumericId

    public abstract class Numeric<T extends Number>
    extends Object
    Represents an identifier.
    Author:
    aherscu
    • Field Detail

      • value

        public final T extends Number value
        The value of this identifier.
    • Constructor Detail

      • Numeric

        public Numeric​(T value)
    • Method Detail

      • toString

        public String toString()
        Use this method to get a textual representation of this identifier.
        Overrides:
        toString in class Object
        Returns:
        the textual representation of value
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object