public static class EnumTrianglesDataTypes.Edge extends Tuple2<Integer,Integer>
Modifier and Type | Method and Description |
---|---|
void |
copyVerticesFromEdgeWithDegrees(EnumTrianglesDataTypes.EdgeWithDegrees ewd) |
void |
copyVerticesFromTuple2(Tuple2<Integer,Integer> t) |
void |
flipVertices() |
Integer |
getFirstVertex() |
Integer |
getSecondVertex() |
void |
setFirstVertex(Integer vertex1) |
void |
setSecondVertex(Integer vertex2) |
copy, equals, getArity, getField, hashCode, of, setField, setFields, swap, toString
getFieldNotNull, getTupleClass
public static final int V1
public static final int V2
public Integer getFirstVertex()
public Integer getSecondVertex()
public void setFirstVertex(Integer vertex1)
public void setSecondVertex(Integer vertex2)
public void copyVerticesFromEdgeWithDegrees(EnumTrianglesDataTypes.EdgeWithDegrees ewd)
public void flipVertices()
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.