Range.equals Method

Definition

Overloads

equals(Object obj)

Determines whether the specified object is equal to the current object.

equals(Range other)

Performs equality comparison with another Range.

equals(Object obj)

Determines whether the specified object is equal to the current object.

public boolean equals(Object obj)

Parameters

obj
Object

The object to compare with the current object.

Returns

boolean

True if the specified object is equal to the current object; otherwise, false.

equals(Range other)

Performs equality comparison with another Range.

public boolean equals(Range other)

Parameters

other
Range

Range to compare with.

Returns

boolean

True if same Range, false otherwise.

Applies to