| JGL - The Generic Collection Library for Java |
All Packages Class Hierarchy This Package Previous Next Index
Class com.objectspace.jgl.Range
java.lang.Object
|
+----com.objectspace.jgl.Range
- public class Range
- extends Object
An Range is an object that contains two forward iterators.
It is most commonly used for conveniently storing and passing pairs
of iterators.
-
begin
- The begin iterator
-
end
- The end iterator
-
Range()
- Construct myself to hold a pair of iterators initially null.
-
Range(ForwardIterator, ForwardIterator)
- Construct myself to hold a pair of iterators.
-
equals(Object)
-
-
equals(Range)
-
-
toString()
- Return a string that describes me.
begin
public ForwardIterator begin
- The begin iterator
end
public ForwardIterator end
- The end iterator
Range
public Range(ForwardIterator begin,
ForwardIterator end)
- Construct myself to hold a pair of iterators.
- Parameters:
- x - The first object.
- y - The second object.
Range
public Range()
- Construct myself to hold a pair of iterators initially null.
toString
public String toString()
- Return a string that describes me.
- Overrides:
- toString in class Object
equals
public boolean equals(Object object)
- Overrides:
- equals in class Object
equals
public boolean equals(Range range)
All Packages Class Hierarchy This Package Previous Next Index