Class Static

java.lang.Object
org.apache.calcite.util.Static

public abstract class Static extends 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 Details

  • Method Details

    • cons

      public static <E> List<E> cons(E first, List<? extends E> rest)
      Builds a list.