public static class OrNode.OrEntry extends Object implements Comparable<OrNode.OrEntry>, Writable
| Modifier and Type | Field and Description |
|---|---|
Provider<OrNode> |
child |
Provider<? extends Node> |
parent |
TreeMap<Integer,Integer> |
revSynapseIds |
int[] |
synapseIds |
| Constructor and Description |
|---|
OrEntry(int[] synapseIds,
Provider<? extends Node> parent,
Provider<OrNode> child) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(OrNode.OrEntry oe) |
static OrNode.OrEntry |
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 void write(DataOutput out) throws IOException
Writableout.write in interface Writableout - DataOuput to serialize this object into.IOExceptionpublic static OrNode.OrEntry read(DataInput in, Model m) throws IOException
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 int compareTo(OrNode.OrEntry oe)
compareTo in interface Comparable<OrNode.OrEntry>Copyright © 2018. All rights reserved.