List of usage examples for com.google.common.collect Sets complementOf
public static <E extends Enum<E>> EnumSet<E> complementOf(Collection<E> collection)
From source file:com.github.fge.jackson.SampleNodeProvider.java
public static Iterator<Object[]> getSamplesExcept(final NodeType first, final NodeType... other) { return getSamples(Sets.complementOf(EnumSet.of(first, other))); }