org.apache.james.api.imap.message
Class IdRange
java.lang.Object
org.apache.james.api.imap.message.IdRange
public class IdRange
- extends java.lang.Object
Represents a range of UID values.
|
Constructor Summary |
IdRange(long singleVal)
|
IdRange(long lowVal,
long highVal)
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
IdRange
public IdRange(long singleVal)
IdRange
public IdRange(long lowVal,
long highVal)
getLowVal
public long getLowVal()
getHighVal
public long getHighVal()
includes
public boolean includes(long uid)
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
- See Also:
Object.hashCode()
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
- See Also:
Object.equals(java.lang.Object)
toString
public java.lang.String toString()
- Renders text suitable for logging.
- Overrides:
toString in class java.lang.Object
- Returns:
- a
String representation of this object.
Copyright © 2002-2008 The Apache Software Foundation. All Rights Reserved.