public class CollectionAcceptorBuilder<T> extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CollectionAcceptorBuilder.CollectionAcceptor<T> |
| Constructor and Description |
|---|
CollectionAcceptorBuilder() |
| Modifier and Type | Method and Description |
|---|---|
CollectionAcceptorBuilder<T> |
accept(IAcceptor<T> acceptor) |
IAcceptor<Collection<T>> |
build() |
CollectionAcceptorBuilder<T> |
otherwise(IAcceptor<T> otherwise) |
public CollectionAcceptorBuilder<T> accept(IAcceptor<T> acceptor)
public CollectionAcceptorBuilder<T> otherwise(IAcceptor<T> otherwise)
public IAcceptor<Collection<T>> build()
Copyright © 2007–2019 Andreas W. Bartels. All rights reserved.