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
public class BucketDefinition.Bucket extends Object implements Comparable<Object>
Bucket value class.- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(Object o)
boolean
equals(Object o)
BucketValueOrderDecorator.OrderPosition
getOrderPosition()
Object
getValue()
Returns the bucket value.int
hashCode()
boolean
isTotal()
Decides whether this is a total bucket.String
toString()
-
-
-
Method Detail
-
getValue
public Object getValue()
Returns the bucket value.- Returns:
- the bucket value
-
compareTo
public int compareTo(Object o)
- Specified by:
compareTo
in interfaceComparable<Object>
-
isTotal
public boolean isTotal()
Decides whether this is a total bucket.- Returns:
- whether this is a total bucket
-
getOrderPosition
public BucketValueOrderDecorator.OrderPosition getOrderPosition()
-
-