| Modifier and Type | Method and Description |
|---|---|
Object |
add(Object prefix,
Object output)
Eg add("foo", "bar") -> "foobar"
|
Object |
common(Object output1,
Object output2)
Eg common("foo", "foobar") -> "foo"
|
Object |
getNoOutput()
NOTE: this output is compared with == so you must
ensure that all methods return the single object if
it's really no output
|
static NoOutputs |
getSingleton() |
String |
outputToString(Object output) |
Object |
read(DataInput in) |
Object |
subtract(Object output,
Object inc)
Eg subtract("foobar", "foo") -> "bar"
|
void |
write(Object prefix,
DataOutput out) |
public static NoOutputs getSingleton()
public Object common(Object output1, Object output2)
Outputspublic Object subtract(Object output, Object inc)
Outputspublic Object add(Object prefix, Object output)
Outputspublic void write(Object prefix, DataOutput out)
public Object getNoOutput()
OutputsgetNoOutput in class Outputs<Object>public String outputToString(Object output)
outputToString in class Outputs<Object>