public final class Block
extends java.lang.Object
Constructor and Description |
---|
Block() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
name()
Get the name value.
|
int |
size()
Get the size value.
|
Block |
withName(java.lang.String name)
Set the name value.
|
Block |
withSize(int size)
Set the size value.
|
public java.lang.String name()
public Block withName(java.lang.String name)
name
- the name value to set.public int size()
public Block withSize(int size)
size
- the size value to set.