public class RiakFlag extends RiakDatatype
This in an immutable boolean value which can be returned within a
RiakMap.
| Constructor and Description |
|---|
RiakFlag(boolean enabled) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
boolean |
getEnabled()
Return whether this flag is enabled.
|
int |
hashCode() |
Boolean |
view()
Return whether this flag is enabled.
|
getAsCounter, getAsFlag, getAsHll, getAsMap, getAsRegister, getAsSet, isCounter, isFlag, isHll, isMap, isRegister, isSetpublic boolean getEnabled()
public Boolean view()
view in class RiakDatatypeCopyright © 2016. All rights reserved.