K
- vertex ID typepublic static final class TriangleEnumerator.EdgeWithDegrees<K> extends Tuple4<K,K,Integer,Integer>
Modifier and Type | Field and Description |
---|---|
static int |
D1 |
static int |
D2 |
static int |
V1 |
static int |
V2 |
Constructor and Description |
---|
EdgeWithDegrees() |
Modifier and Type | Method and Description |
---|---|
void |
copyFrom(TriangleEnumerator.EdgeWithDegrees<K> edge) |
Integer |
getFirstDegree() |
K |
getFirstVertex() |
Integer |
getSecondDegree() |
K |
getSecondVertex() |
void |
setFirstDegree(Integer degree1) |
void |
setFirstVertex(K vertex1) |
void |
setSecondDegree(Integer degree2) |
void |
setSecondVertex(K vertex2) |
copy, equals, getArity, getField, hashCode, of, setField, setFields, toString
getFieldNotNull, getTupleClass, newInstance
public static final int V1
public static final int V2
public static final int D1
public static final int D2
public K getFirstVertex()
public K getSecondVertex()
public Integer getFirstDegree()
public Integer getSecondDegree()
public void setFirstVertex(K vertex1)
public void setSecondVertex(K vertex2)
public void setFirstDegree(Integer degree1)
public void setSecondDegree(Integer degree2)
public void copyFrom(TriangleEnumerator.EdgeWithDegrees<K> edge)
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.