public class SimpleBucket extends java.lang.Object implements Bucket
SimpleBucket
is a bucket representing a single value.Constructor and Description |
---|
SimpleBucket(Predicate predicate,
java.lang.String value)
Creates a new bucket with the given
value . |
Modifier and Type | Method and Description |
---|---|
long |
getCount() |
Predicate |
getPredicate() |
java.lang.String |
getValue() |
void |
increment()
Increments the count of this bucket.
|
public SimpleBucket(Predicate predicate, java.lang.String value)
value
.value
- the value of this bucket.public void increment()
public long getCount()
public java.lang.String getValue()
public Predicate getPredicate()
getPredicate
in interface Bucket
Copyright © 2010 - 2020 Adobe. All Rights Reserved