public static class Synapse.Key extends Object implements Comparable<Synapse.Key>, Writable
| Modifier and Type | Field and Description |
|---|---|
Integer |
absoluteRid |
Synapse.RangeSignal |
endSignal |
Synapse.RangeVisibility |
endVisibility |
boolean |
isNeg |
boolean |
isRecurrent |
boolean |
matchRange |
static Synapse.Key |
MAX_KEY |
static Synapse.Key |
MIN_KEY |
Integer |
relativeRid |
Synapse.RangeSignal |
startSignal |
Synapse.RangeVisibility |
startVisibility |
| Constructor and Description |
|---|
Key() |
Key(boolean isNeg,
boolean isRecurrent,
Integer relativeRid,
Integer absoluteRid,
boolean matchRange,
Synapse.RangeSignal startSignal,
Synapse.RangeVisibility startVisibility,
Synapse.RangeSignal endSignal,
Synapse.RangeVisibility endVisibility) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Synapse.Key k) |
Synapse.Key |
createInputNodeKey() |
static Synapse.Key |
read(DataInput in,
Iteration t) |
void |
readFields(DataInput in,
Iteration t)
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 isNeg
public boolean isRecurrent
public Integer relativeRid
public Integer absoluteRid
public boolean matchRange
public Synapse.RangeSignal startSignal
public Synapse.RangeVisibility startVisibility
public Synapse.RangeSignal endSignal
public Synapse.RangeVisibility endVisibility
public Key()
public Key(boolean isNeg,
boolean isRecurrent,
Integer relativeRid,
Integer absoluteRid,
boolean matchRange,
Synapse.RangeSignal startSignal,
Synapse.RangeVisibility startVisibility,
Synapse.RangeSignal endSignal,
Synapse.RangeVisibility endVisibility)
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, Iteration t) 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, Iteration t) throws IOException
IOExceptionpublic int compareTo(Synapse.Key k)
compareTo in interface Comparable<Synapse.Key>Copyright © 2017. All rights reserved.