Package java.lang

Class Character.Subset

    • Constructor Detail

      • Subset

        protected Subset​(String name)
        Constructs a new Subset.
    • Method Detail

      • equals

        public final boolean equals​(Object object)
        Compares this character subset for identity with the specified object.
        Overrides:
        equals in class Object
        Parameters:
        object - the object to compare this instance with.
        Returns:
        true if the specified object is equal to this Object; false otherwise.
        See Also:
        Object.hashCode()
      • toString

        public final String toString()
        Returns this subset's name.
        Overrides:
        toString in class Object
        Returns:
        a printable representation of this object.