public class BucketDefinition.Bucket
extends java.lang.Object
implements java.lang.Comparable
Modifier | Constructor and Description |
---|---|
protected |
Bucket(byte type)
Creates a bucket for a value type.
|
protected |
Bucket(java.lang.Object value)
Creates a bucket for a value.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(java.lang.Object o) |
boolean |
equals(java.lang.Object o) |
java.lang.Object |
getValue()
Returns the bucket value.
|
int |
hashCode() |
boolean |
isTotal()
Decides whether this is a total bucket.
|
java.lang.String |
toString() |
protected Bucket(byte type)
type
- the value typeprotected Bucket(java.lang.Object value)
value
- the valuepublic java.lang.Object getValue()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
public boolean isTotal()
© 2001-2010 Jaspersoft Corporation www.jaspersoft.com