com.google.gwt.view.client
Class Range

java.lang.Object
  extended by com.google.gwt.view.client.Range
All Implemented Interfaces:
java.io.Serializable

public class Range
extends java.lang.Object
implements java.io.Serializable

The range of interest for a single handler.

Note: This class is new and its interface subject to change.

See Also:
Serialized Form

Constructor Summary
Range(int start, int length)
          Construct a new Range.
 
Method Summary
 boolean equals(java.lang.Object o)
           
 int getLength()
          Get the length of the range.
 int getStart()
          Get the start index of the range.
 int hashCode()
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Range

public Range(int start,
             int length)
Construct a new Range.

Parameters:
start - the start index
length - the length
Method Detail

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

getLength

public int getLength()
Get the length of the range.

Returns:
the length

getStart

public int getStart()
Get the start index of the range.

Returns:
the start index

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object