/** * Indicates if this UnitName is semantically identical to an object. */ @Override public final boolean equals(final Object object) { return object instanceof UnitName && compareTo(object) == 0; }
/** * Indicates if this UnitName is semantically identical to an object. */ @Override public final boolean equals(final Object object) { return object instanceof UnitName && compareTo(object) == 0; }