B
- the buffer type@UsesJava8 public abstract class Buffers<B extends Buffer<?>> extends Object
Buffer
objects.Modifier and Type | Method and Description |
---|---|
int |
count() |
protected abstract B |
createBuffer() |
protected void |
doWith(String name,
java.util.function.Consumer<B> consumer) |
B |
find(String name) |
void |
forEach(java.util.function.Predicate<String> predicate,
java.util.function.BiConsumer<String,B> consumer) |
public void forEach(java.util.function.Predicate<String> predicate, java.util.function.BiConsumer<String,B> consumer)
public int count()
protected final void doWith(String name, java.util.function.Consumer<B> consumer)
protected abstract B createBuffer()
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.