public class ConsumerVertexGroup extends Object implements Iterable<ExecutionVertexID>
ExecutionVertexID
s.Modifier and Type | Method and Description |
---|---|
static ConsumerVertexGroup |
fromMultipleVertices(List<ExecutionVertexID> vertices) |
static ConsumerVertexGroup |
fromSingleVertex(ExecutionVertexID vertex) |
ExecutionVertexID |
getFirst() |
boolean |
isEmpty() |
Iterator<ExecutionVertexID> |
iterator() |
int |
size() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public static ConsumerVertexGroup fromMultipleVertices(List<ExecutionVertexID> vertices)
public static ConsumerVertexGroup fromSingleVertex(ExecutionVertexID vertex)
public Iterator<ExecutionVertexID> iterator()
iterator
in interface Iterable<ExecutionVertexID>
public int size()
public boolean isEmpty()
public ExecutionVertexID getFirst()
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.