MCPcopy Create free account
hub / github.com/apache/calcite / concat

Method concat

core/src/main/java/org/apache/calcite/sql/SqlKind.java:1878–1886  ·  view source on GitHub ↗
(EnumSet<E> set0,
      EnumSet<E>... sets)

Source from the content-addressed store, hash-verified

1876 }
1877
1878 @SafeVarargs
1879 private static <E extends Enum<E>> EnumSet<E> concat(EnumSet<E> set0,
1880 EnumSet<E>... sets) {
1881 EnumSet<E> set = set0.clone();
1882 for (EnumSet<E> s : sets) {
1883 set.addAll(s);
1884 }
1885 return set;
1886 }
1887}

Callers 1

SqlKindEnum · 0.95

Calls 2

addAllMethod · 0.65
cloneMethod · 0.45

Tested by

no test coverage detected