Package org.n52.iceland.util
Class Range
java.lang.Object
org.n52.iceland.util.Range
class represents a range
- Since:
- 1.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancontains(int value) returns true if a given value is contained in range
-
Constructor Details
-
Range
public Range(int start, int end) constructor- Parameters:
start- Start valueend- End value
-
-
Method Details
-
contains
public boolean contains(int value) returns true if a given value is contained in range- Parameters:
value- the value- Returns:
- boolean true if value is contained in range, else false
-