org.jboss.util
Class Strings.Range

java.lang.Object
  extended byorg.jboss.util.Strings.Range
Enclosing class:
Strings (src)

public static class Strings.Range
extends java.lang.Object

Represents a range between two integers.


Field Summary
 int begin
          The beginning of the range.
 int end
          The end of the range.
 
Constructor Summary
Strings.Range()
          Default constructor.
Strings.Range(int begin, int end)
          Construct a new range.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

begin

public int begin
The beginning of the range.


end

public int end
The end of the range.

Constructor Detail

Strings.Range

public Strings.Range(int begin,
                     int end)
Construct a new range.

Parameters:
begin - The beginning of the range.
end - The end of the range.

Strings.Range

public Strings.Range()
Default constructor.