Annotation Interface Immutable.Pure
- Enclosing class:
Immutable
Style for a "pure immutable" using sandwich pattern. Usage:
@Immutable.Pure
public abstract class MyRecord implements MyRecord_With {
MyRecord() {}
public static Builder builder() {return new Builder();}
// declare your fields here
public static final class Builder extends MyRecord_Immutable {
Builder() {}
}
}-
Nested Class Summary
Nested Classes