|
Infinispan Distribution 5.2.6.Final-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Self<S extends Self<S>>
This interface simplifies the task of writing fluent builders which need to inherit from
other builders (abstract or concrete). It overcomes Java's limitation of not being able to
return an instance of a class narrowed to the class itself. It should be used by all Builder
classes which require inheritance (such as the CacheLoaderConfigurationBuilder
)
Method Summary | |
---|---|
S |
self()
|
Method Detail |
---|
S self()
|
Infinispan Distribution 5.2.6.Final-redhat-2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |