public class Range extends Object implements Serializable
Constructor and Description |
---|
Range() |
Range(String begin,
String end) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Overrides the Object.equals method.
|
String |
getBegin()
Returns the value of field 'begin'.
|
String |
getEnd()
Returns the value of field 'end'.
|
int |
hashCode()
Overrides the Object.hashCode method.
|
void |
setBegin(String begin)
Sets the value of field 'begin'.
|
void |
setEnd(String end)
Sets the value of field 'end'.
|
public boolean equals(Object obj)
public String getBegin()
public String getEnd()
public int hashCode()
The following steps came from Effective Java Programming Language Guide by Joshua Bloch, Chapter 3
public void setBegin(String begin)
begin
- the value of field 'begin'.public void setEnd(String end)
end
- the value of field 'end'.Copyright © 2017. All rights reserved.