Class BucketDefinition.Bucket
java.lang.Object
net.sf.jasperreports.crosstabs.fill.calculation.BucketDefinition.Bucket
- All Implemented Interfaces:
Comparable<Object>
- Direct Known Subclasses:
BucketDefinition.OrderDecoratorBucket
- Enclosing class:
BucketDefinition
Bucket value class.
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Bucket
protected Bucket(byte type) Creates a bucket for a value type.- Parameters:
type- the value type
-
Bucket
Creates a bucket for a value.- Parameters:
value- the value
-
Bucket
-
-
Method Details
-
getValue
Returns the bucket value.- Returns:
- the bucket value
-
equals
-
hashCode
public int hashCode() -
toString
-
compareTo
- Specified by:
compareToin interfaceComparable<Object>
-
isTotal
public boolean isTotal()Decides whether this is a total bucket.- Returns:
- whether this is a total bucket
-
getOrderPosition
-