Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.infinispan.commons.configuration;

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.

Author(s):
Tristan Tarrant
Since:
5.2
public interface Self<S extends Self<S>> {
   S self();
New to GrepCode? Check out our FAQ X