public class Gap
extends java.lang.Object
implements java.io.Serializable
Gap.getDimensionValues(int).
E.g. a rulesheet like:
Condition | R1
isX | -
isY | true
isZ | false
has gaps g1 and g2. g1.getDimensionValues(0) returns {"-"}, g1.getDimensionValues(1) returns {"false"}, and
g1.getDimensionValues(2) returns {"-"}.
g2.getDimensionValues(0) returns {"-"}, g2.getDimensionValues(1) returns {"true"}, and
g2.getDimensionValues(2) returns {"true"}.
The "gap sheet" that should be rendered is
Condition | R2 | R3
isX | - | - <-- these come from getdimensionvalues(0) isy | false true <-- getdimensionvalues(1) isz - getdimensionvalues(2) when a user indicates that they want to fill gap, use the Gap.fill() method to create and add a DTRule
to fill the gap.-->RuleSheet.findGaps(),
Serialized Form| Modifier and Type | Method and Description |
|---|---|
DTRule |
fill()
add a new rule to fill the gap
|
java.lang.String[] |
getDimensionValues(int i)
get the values for the gap for the given dimension index
|
public java.lang.String[] getDimensionValues(int i)
i - the dimension indexpublic DTRule fill()