public static class Synapse.Key extends Object implements Comparable<Synapse.Key>, Writable
| Modifier and Type | Field and Description |
|---|---|
Integer |
absoluteRid |
boolean |
isRecurrent |
static Synapse.Key |
MAX_KEY |
static Synapse.Key |
MIN_KEY |
Range.Relation |
rangeMatch |
Range.Output |
rangeOutput |
Integer |
relativeRid |
| Constructor and Description |
|---|
Key() |
Key(boolean isRecurrent,
Integer relativeRid,
Integer absoluteRid,
Range.Relation rangeMatch,
Range.Output rangeOutput) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Synapse.Key k) |
Synapse.Key |
createInputNodeKey() |
static Synapse.Key |
read(DataInput in,
Model m) |
void |
readFields(DataInput in,
Model m)
Deserialize the fields of this object from
in. |
void |
write(DataOutput out)
Serialize the fields of this object to
out. |
public static final Synapse.Key MIN_KEY
public static final Synapse.Key MAX_KEY
public boolean isRecurrent
public Integer relativeRid
public Integer absoluteRid
public Range.Relation rangeMatch
public Range.Output rangeOutput
public Key()
public Key(boolean isRecurrent,
Integer relativeRid,
Integer absoluteRid,
Range.Relation rangeMatch,
Range.Output rangeOutput)
public Synapse.Key createInputNodeKey()
public void write(DataOutput out) throws IOException
Writableout.write in interface Writableout - DataOuput to serialize this object into.IOExceptionpublic void readFields(DataInput in, Model m) throws IOException
Writablein.
For efficiency, implementations should attempt to re-use storage in the existing object where possible.
readFields in interface Writablein - DataInput to deseriablize this object from.IOExceptionpublic static Synapse.Key read(DataInput in, Model m) throws IOException
IOExceptionpublic int compareTo(Synapse.Key k)
compareTo in interface Comparable<Synapse.Key>Copyright © 2018. All rights reserved.