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) |
IntsRef |
subtract(IntsRef output,
IntsRef inc)
Eg subtract("foobar", "foo") -> "bar"
|
void |
write(IntsRef prefix,
DataOutput out) |
public static IntSequenceOutputs getSingleton()
public IntsRef common(IntsRef output1, IntsRef output2)
Outputs
public IntsRef subtract(IntsRef output, IntsRef inc)
Outputs
public IntsRef add(IntsRef prefix, IntsRef output)
Outputs
public void write(IntsRef prefix, DataOutput out) throws IOException
write
in class Outputs<IntsRef>
IOException
public IntsRef read(DataInput in) throws IOException
read
in class Outputs<IntsRef>
IOException
public IntsRef getNoOutput()
Outputs
getNoOutput
in class Outputs<IntsRef>
public String outputToString(IntsRef output)
outputToString
in class Outputs<IntsRef>