public void enablePath(final boolean enablePath) { super.enablePath(enablePath); if (this.pathEnabled) { for (final Edge edge : this.getEdges(BOTH)) { ((FaunusEdge) edge).enablePath(true); } } }
public void readFields(final DataInput in) throws IOException { super.readFields(in); this.inEdges = (Map) EdgeMap.readFields(in, Direction.OUT, this.id); this.outEdges = (Map) EdgeMap.readFields(in, Direction.IN, this.id); }
public FaunusVertex reuse(final long id) { super.reuse(id); this.outEdges.clear(); this.inEdges.clear(); return this; }
public void write(final DataOutput out) throws IOException { super.write(out); EdgeMap.write((Map) this.inEdges, out, Direction.OUT); EdgeMap.write((Map) this.outEdges, out, Direction.IN); }