// Path: src/main/java/javafixes/collection/CollectionUtil.java
// @SafeVarargs
// public static <T> HashSet<T> newSet(T... values) {
//     HashSet<T> set = new HashSet<T>(values.length);
//     Collections.addAll(set, values);
//     return set;
// }


import java.math.BigDecimal;
import java.math.BigInteger;
import java.util.Set;
import java.util.function.Function;
import static javafixes.collection.CollectionUtil.newSet;
package javafixes.test;




@FunctionalInterface
public interface Condition<T> extends Function<T, Boolean> {

    BigInteger MIN_LONG_AS_BIG_INTEGER = BigInteger.valueOf(Long.MIN_VALUE);
    BigInteger MAX_LONG_AS_BIG_INTEGER = BigInteger.valueOf(Long.MAX_VALUE);

    @SafeVarargs
    static <T> Condition<T> otherThan(T... values) {
// Path: src/main/java/javafixes/collection/CollectionUtil.java
// @SafeVarargs
// public static <T> HashSet<T> newSet(T... values) {
//     HashSet<T> set = new HashSet<T>(values.length);
//     Collections.addAll(set, values);
//     return set;
// }


// Path: src/test/java/javafixes/test/Condition.java
import java.math.BigDecimal;
import java.math.BigInteger;
import java.util.Set;
import java.util.function.Function;
import static javafixes.collection.CollectionUtil.newSet;

package javafixes.test;




@FunctionalInterface
public interface Condition<T> extends Function<T, Boolean> {

    BigInteger MIN_LONG_AS_BIG_INTEGER = BigInteger.valueOf(Long.MIN_VALUE);
    BigInteger MAX_LONG_AS_BIG_INTEGER = BigInteger.valueOf(Long.MAX_VALUE);

    @SafeVarargs
    static <T> Condition<T> otherThan(T... values) {
        Set<T> exclusions = newSet(values);