| Modifier and Type | Method and Description |
|---|---|
IntsRef |
add(IntsRef prefix,
IntsRef output)
Eg add("foo", "bar") -> "foobar"
|
IntsRef |
common(IntsRef output1,
IntsRef output2)
Eg common("foo", "foobar") -> "foo"
|
IntsRef |
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 IntSequenceOutputs |
getSingleton() |
String |
outputToString(IntsRef output) |
IntsRef |
read(DataInput in)
Decode an output value previously written with
Outputs.write(Object, DataOutput). |
IntsRef |
subtract(IntsRef output,
IntsRef inc)
Eg subtract("foobar", "foo") -> "bar"
|
void |
write(IntsRef prefix,
DataOutput out)
Encode an output value into a
DataOutput. |
merge, readFinalOutput, writeFinalOutputpublic static IntSequenceOutputs getSingleton()
public IntsRef common(IntsRef output1, IntsRef output2)
Outputspublic IntsRef subtract(IntsRef output, IntsRef inc)
Outputspublic IntsRef add(IntsRef prefix, IntsRef output)
Outputspublic void write(IntsRef prefix, DataOutput out) throws IOException
OutputsDataOutput.write in class Outputs<IntsRef>IOExceptionpublic IntsRef read(DataInput in) throws IOException
OutputsOutputs.write(Object, DataOutput).read in class Outputs<IntsRef>IOExceptionpublic IntsRef getNoOutput()
OutputsgetNoOutput in class Outputs<IntsRef>public String outputToString(IntsRef output)
outputToString in class Outputs<IntsRef>Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.