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 intcompareTo(Object o)booleanequals(Object o)BucketValueOrderDecorator.OrderPositiongetOrderPosition()ObjectgetValue()Returns the bucket value.inthashCode()booleanisTotal()Decides whether this is a total bucket.StringtoString()
-
-
-
Method Detail
-
getValue
public Object getValue()
Returns the bucket value.- Returns:
- the bucket value
-
compareTo
public int compareTo(Object o)
- Specified by:
compareToin 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()
-
-