T
- type of the object these builder creates the interfaces set
forpublic static class Interfaces.Builder<T> extends Object
This class allows creating the interfaces set in a type-safe manner.
Modifier and Type | Method and Description |
---|---|
Interfaces.Builder<T> |
add(Class<? super T> anInterface)
Adds an interface to the set.
|
Interfaces<T> |
build()
Builds the interfaces set.
|
public Interfaces.Builder<T> add(Class<? super T> anInterface)
anInterface
- interface to addpublic Interfaces<T> build()
Copyright © 2015. All Rights Reserved.