Package org.apache.calcite.util
Class Static
- java.lang.Object
-
- org.apache.calcite.util.Static
-
public abstract class Static extends java.lang.Object
Definitions of objects to be statically imported.Note to developers
Please give careful consideration before including an object in this class. Pros:
- Code that uses these objects will be terser.
Cons:
- Namespace pollution,
- code that is difficult to understand (a general problem with static imports),
- potential cyclic initialization.
-
-
Field Summary
Fields Modifier and Type Field Description static CalciteResource
RESOURCE
Resources.
-
Constructor Summary
Constructors Modifier Constructor Description private
Static()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <E> java.util.List<E>
cons(E first, java.util.List<? extends E> rest)
Builds a list.
-
-
-
Field Detail
-
RESOURCE
public static final CalciteResource RESOURCE
Resources.
-
-