* Implementation of Rule that uses a constraint.
* Provides 'and' and 'or' to combine constraints. Immutable.
*/
- ///CLOVER:OFF
private static class ConstrainedRule implements Rule, Serializable {
private static final long serialVersionUID = 1;
private final String keyword;
return keyword + ": " + constraint;
}
}
- ///CLOVER:ON
/*
* Implementation of RuleList that is itself a node in a linked list.
return ROW_DATA + state * (fHeader.fCatCount + 4);
}
- ///CLOVER:OFF
static class TrieFoldingFunc implements Trie.DataManipulate {
public int getFoldingOffset(int data) {
if ((data & 0x8000) != 0) {
}
}
}
- ///CLOVER:ON
static TrieFoldingFunc fTrieFoldingFunc = new TrieFoldingFunc();
// getFoldedValue() function needed for Trie table creation.
//
//-----------------------------------------------------------------------------------
- ///CLOVER:OFF
class RBBIDataManipulate implements IntTrieBuilder.DataManipulate {
public int getFoldedValue(int start, int offset) {
int value;
return 0;
}
}
- ///CLOVER:ON
RBBIDataManipulate dm = new RBBIDataManipulate();
//-----------------------------------------------------------------------------------