@ParametersAreNonnullByDefault
@MethodsReturnNonnullByDefault
public class Box
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Box.Mutable |
static interface |
Box.XYZFunction |
static interface |
Box.XYZPredicate |
| Modifier and Type | Field and Description |
|---|---|
protected int |
x1 |
protected int |
x2 |
protected int |
y1 |
protected int |
y2 |
protected int |
z1 |
protected int |
z2 |
| Constructor and Description |
|---|
Box(int x1,
int y1,
int z1,
int x2,
int y2,
int z2) |
| Modifier and Type | Method and Description |
|---|---|
Box |
add(Box o) |
boolean |
allMatch(Box.XYZPredicate predicate) |
Box.Mutable |
asMutable() |
void |
forEachPoint(Box.XYZFunction function) |
protected int x1
protected int y1
protected int z1
protected int x2
protected int y2
protected int z2
public void forEachPoint(Box.XYZFunction function)
public boolean allMatch(Box.XYZPredicate predicate)
public Box.Mutable asMutable()