public class TopicCollection extends Object implements Iterable<TopicMetadata>
| Constructor and Description |
|---|
TopicCollection() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(TopicMetadata topic) |
void |
addAll(Collection<TopicMetadata> topics) |
String |
collect() |
Optional<TopicMetadata> |
contains(TopicMetadata topic) |
Iterator<TopicMetadata> |
iterator() |
Stream<TopicMetadata> |
stream() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic void add(TopicMetadata topic)
public void addAll(Collection<TopicMetadata> topics)
public Optional<TopicMetadata> contains(TopicMetadata topic)
public String collect()
public Iterator<TopicMetadata> iterator()
iterator in interface Iterable<TopicMetadata>public Stream<TopicMetadata> stream()
Copyright © 2020. All rights reserved.