declare namespace java {
    namespace lang {
        namespace Character {
            // @ts-ignore
             class Subset extends java.lang.Object {
                /**
                 * Constructs a new {@code Subset} instance.
                 */
                // @ts-ignore
                constructor(name: string)
                /**
                 * Compares two {@code Subset} objects for equality.
                 * This method returns {@code true} if and only if
                 * {@code this} and the argument refer to the same
                 * object; since this method is {@code final}, this
                 * guarantee holds for all subclasses.
                 */
                // @ts-ignore
                public equals(obj: java.lang.Object): boolean;
                /**
                 * Returns the standard hash code as defined by the
                 * {@link Object#hashCode} method.  This method
                 * is {@code final} in order to ensure that the
                 * {@code equals} and {@code hashCode} methods will
                 * be consistent in all subclasses.
                 */
                // @ts-ignore
                public hashCode(): number;
                /**
                 * Returns the name of this subset.
                 */
                // @ts-ignore
                public toString(): string;
            }
        }
    }
}
