Class TriangleCountValue
- java.lang.Object
-
- org.apache.hugegraph.computer.algorithm.community.trianglecount.TriangleCountValue
-
- All Implemented Interfaces:
java.lang.Comparable<org.apache.hugegraph.computer.core.graph.value.Value>,org.apache.hugegraph.computer.core.graph.value.Value,org.apache.hugegraph.computer.core.graph.value.Value.CustomizeValue<java.lang.Integer>,org.apache.hugegraph.computer.core.graph.value.Value.Tvalue<java.lang.Integer>,org.apache.hugegraph.computer.core.io.Readable,org.apache.hugegraph.computer.core.io.Writable
public class TriangleCountValue extends java.lang.Object implements org.apache.hugegraph.computer.core.graph.value.Value.CustomizeValue<java.lang.Integer>
-
-
Constructor Summary
Constructors Constructor Description TriangleCountValue()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TriangleCountValuecopy()intcount()voidcount(int count)org.apache.hugegraph.computer.core.graph.value.IdSetidSet()voidread(org.apache.hugegraph.computer.core.io.RandomAccessInput in)java.lang.StringtoString()java.lang.Integervalue()voidwrite(org.apache.hugegraph.computer.core.io.RandomAccessOutput out)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
idSet
public org.apache.hugegraph.computer.core.graph.value.IdSet idSet()
-
count
public int count()
-
count
public void count(int count)
-
copy
public TriangleCountValue copy()
- Specified by:
copyin interfaceorg.apache.hugegraph.computer.core.graph.value.Value- Specified by:
copyin interfaceorg.apache.hugegraph.computer.core.graph.value.Value.CustomizeValue<java.lang.Integer>
-
read
public void read(org.apache.hugegraph.computer.core.io.RandomAccessInput in) throws java.io.IOException- Specified by:
readin interfaceorg.apache.hugegraph.computer.core.io.Readable- Throws:
java.io.IOException
-
write
public void write(org.apache.hugegraph.computer.core.io.RandomAccessOutput out) throws java.io.IOException- Specified by:
writein interfaceorg.apache.hugegraph.computer.core.io.Writable- Throws:
java.io.IOException
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
value
public java.lang.Integer value()
- Specified by:
valuein interfaceorg.apache.hugegraph.computer.core.graph.value.Value- Specified by:
valuein interfaceorg.apache.hugegraph.computer.core.graph.value.Value.Tvalue<java.lang.Integer>
-
-