public class Interval<T>
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
Interval.InfiniteInterval<T> |
Modifier and Type | Method and Description |
---|---|
Interval<T> |
clone() |
int |
getHigh() |
int |
getLow() |
T |
getPayload() |
void |
setHigh(int high) |
void |
setLow(int low) |
void |
setPayload(T payload) |
int |
size() |
java.lang.String |
toString() |
public Interval(int low, int high, T payload)
public int getLow()
public void setLow(int low)
public int getHigh()
public void setHigh(int high)
public T getPayload()
public void setPayload(T payload)
public int size()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2005-2010 Potix Corporation. All Rights Reserved.