* 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();
/*
*******************************************************************************
-* Copyright (C) 2003-2009, International Business Machines Corporation and *
+* Copyright (C) 2003-2011, International Business Machines Corporation and *
* others. All Rights Reserved. *
*******************************************************************************
*/
// 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();
//-----------------------------------------------------------------------------------
}
+ ///CLOVER:OFF
/**
* The default implementation of <code>TimeZoneNames</code> used by {@link TimeZoneNames#getInstance(ULocale)} when
* the ICU4J tznamedata component is not available.
}
}
}
+ ///CLOVER:ON
}
}
// ==== Factory Stuff ====
+ ///CLOVER:OFF
/**
* A CalendarFactory is used to register new calendar implementation.
* The factory should be able to create a calendar instance for the
protected CalendarFactory() {
}
}
+ ///CLOVER:ON
// shim so we can build without service code
static abstract class CalendarShim {