public interface RangeSpec
Modifier and Type | Method and Description |
---|---|
RangeSpec |
accomodate(int childMinSize)
Accomodate a child range.
|
RangeSpec |
accomodate(RangeSpec child)
Accomodate a child range specification.
|
Range |
embedInto(Range parent)
Embed into a Range.
|
RangeSpec |
extend(int leading,
int trailing) |
int |
minSize()
Minimal size.
|
static RangeSpec |
of(Align align,
int minSize)
Create a range specification.
|
Range |
satisfy()
Construct a minimal
Range satisfying this requirement. |
static RangeSpec |
zero()
A zero min sized range spec.
|
int minSize()
Range embedInto(Range parent)
parent
- Parent rangeRangeSpec accomodate(RangeSpec child)
child
- Child rangeRangeSpec accomodate(int childMinSize)
childMinSize
- Child range minmal sizeRangeSpec extend(int leading, int trailing)
Range satisfy()
Range
satisfying this requirement.Range
satisfying this requirement.static RangeSpec zero()