public class BucketDefinition.Bucket extends Object implements Comparable<Object>
Modifier | Constructor and Description |
---|---|
protected |
Bucket(byte type)
Creates a bucket for a value type.
|
protected |
Bucket(Object value)
Creates a bucket for a value.
|
|
Bucket(Object value,
byte type) |
Modifier and Type | Method and 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() |
protected Bucket(byte type)
type
- the value typeprotected Bucket(Object value)
value
- the valuepublic Bucket(Object value, byte type)
public Object getValue()
public int compareTo(Object o)
compareTo
in interface Comparable<Object>
public boolean isTotal()
public BucketValueOrderDecorator.OrderPosition getOrderPosition()
Copyright © 2016. All rights reserved.