mondrian.util
Interface UtilCompatible
- All Known Implementing Classes:
- UtilCompatibleJdk14, UtilCompatibleJdk15
public interface UtilCompatible
Interface containing methods which are implemented differently in different
versions of the JDK.
The methods should not be called directly, only via the corresponding
static methods in Util
, namely:
This interface could in principle be extended to allow native
implementations of methods, or to serve as a factory for entire classes
which have different implementations in different environments.
- Since:
- Feb 5, 2007
- Author:
- jhyde
-
-
enumSetOf
<E extends Enum<E>> Set<E> enumSetOf(E first,
E... rest)
enumSetNoneOf
<E extends Enum<E>> Set<E> enumSetNoneOf(Class<E> elementType)
enumSetAllOf
<E extends Enum<E>> Set<E> enumSetAllOf(Class<E> elementType)
makeBigDecimalFromDouble
BigDecimal makeBigDecimalFromDouble(double d)
quotePattern
String quotePattern(String s)
getAnnotation
<T> T getAnnotation(Method method,
String annotationClassName,
T defaultValue)