public static class StreamInfo.XInfoGroups extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
forEach(Consumer<? super StreamInfo.XInfoGroup> action)
Performs the given action on every available
StreamInfo.XInfoGroup of this StreamInfo.XInfoGroups. |
static StreamInfo.XInfoGroups |
fromList(List<Object> source)
Factory method to create a new instance of
StreamInfo.XInfoGroups. |
StreamInfo.XInfoGroup |
get(int index)
Returns the
StreamInfo.XInfoGroup element at the given index. |
int |
groupCount()
Total number of associated consumer groups.
|
boolean |
isEmpty() |
Iterator<StreamInfo.XInfoGroup> |
iterator()
Returns an iterator over the
StreamInfo.XInfoGroup elements. |
int |
size()
Returns the number of
StreamInfo.XInfoGroup available. |
Stream<StreamInfo.XInfoGroup> |
stream()
Returns a sequential
Stream of StreamInfo.XInfoGroup. |
String |
toString() |
public static StreamInfo.XInfoGroups fromList(List<Object> source)
StreamInfo.XInfoGroups.source - the raw value source.public int groupCount()
public int size()
StreamInfo.XInfoGroup available.groupCount()public boolean isEmpty()
public Iterator<StreamInfo.XInfoGroup> iterator()
StreamInfo.XInfoGroup elements.public StreamInfo.XInfoGroup get(int index)
StreamInfo.XInfoGroup element at the given index.IndexOutOfBoundsException - if the index is out of range.public Stream<StreamInfo.XInfoGroup> stream()
Stream of StreamInfo.XInfoGroup.public void forEach(Consumer<? super StreamInfo.XInfoGroup> action)
StreamInfo.XInfoGroup of this StreamInfo.XInfoGroups.action - Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.