public class SetValueFormatter extends Object implements ValueFormatter
| Constructor and Description |
|---|
SetValueFormatter(Object... set)
Creates a new enumeration.
|
| Modifier and Type | Method and Description |
|---|---|
String |
descriptionFormat(Object value)
Describes the data.
|
Object |
format(Object value)
Formats the specified value.
|
Object |
prettyFormat(Object value)
Formats the specified value in a human readable format.
|
public SetValueFormatter(Object... set)
If only one integer is provided, it specifies the bits which must be set. If two integers are provided, the second value specifies a bit mask.
public Object format(Object value)
ValueFormatterformat in interface ValueFormatterpublic Object prettyFormat(Object value)
ValueFormatterprettyFormat in interface ValueFormatterpublic String descriptionFormat(Object value)
ValueFormatterdescriptionFormat in interface ValueFormatterCopyright © 2014. All Rights Reserved.