Class DefaultBucketValueOrderDecorator<T extends Comparable<T>>
- java.lang.Object
-
- net.sf.jasperreports.crosstabs.fill.calculation.DefaultBucketValueOrderDecorator<T>
-
- All Implemented Interfaces:
Comparable<DefaultBucketValueOrderDecorator<T>>
,BucketValueOrderDecorator<Comparable<T>>
public class DefaultBucketValueOrderDecorator<T extends Comparable<T>> extends Object implements BucketValueOrderDecorator<Comparable<T>>, Comparable<DefaultBucketValueOrderDecorator<T>>
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.sf.jasperreports.crosstabs.fill.calculation.BucketValueOrderDecorator
BucketValueOrderDecorator.OrderPosition
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
DefaultBucketValueOrderDecorator()
protected
DefaultBucketValueOrderDecorator(T value, BucketValueOrderDecorator.OrderPosition position)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(DefaultBucketValueOrderDecorator<T> o)
BucketValueOrderDecorator.OrderPosition
getOrderPosition()
T
getValue()
void
setValue(T value)
String
toString()
static <T extends Comparable<T>>
DefaultBucketValueOrderDecorator<T>wrap(T value, BucketValueOrderDecorator.OrderPosition position)
-
-
-
Constructor Detail
-
DefaultBucketValueOrderDecorator
protected DefaultBucketValueOrderDecorator()
-
DefaultBucketValueOrderDecorator
protected DefaultBucketValueOrderDecorator(T value, BucketValueOrderDecorator.OrderPosition position)
-
-
Method Detail
-
wrap
public static final <T extends Comparable<T>> DefaultBucketValueOrderDecorator<T> wrap(T value, BucketValueOrderDecorator.OrderPosition position)
-
getOrderPosition
public BucketValueOrderDecorator.OrderPosition getOrderPosition()
- Specified by:
getOrderPosition
in interfaceBucketValueOrderDecorator<T extends Comparable<T>>
-
getValue
public T getValue()
- Specified by:
getValue
in interfaceBucketValueOrderDecorator<T extends Comparable<T>>
-
setValue
public void setValue(T value)
-
compareTo
public int compareTo(DefaultBucketValueOrderDecorator<T> o)
- Specified by:
compareTo
in interfaceComparable<T extends Comparable<T>>
-
-