org.opentcs.util.ClassMatcher Maven / Gradle / Ivy
/**
* Copyright (c) The openTCS Authors.
*
* This program is free software and subject to the MIT license. (For details,
* see the licensing information (LICENSE.txt) you should have received with
* this copy of the software.)
*/
package org.opentcs.util;
import java.io.Serializable;
import java.util.Arrays;
import java.util.HashSet;
import java.util.Set;
import java.util.function.Predicate;
/**
* Checks whether the input argument is assignable to any of a given set of classes.
*/
public class ClassMatcher
implements
Predicate
© 2015 - 2025 Weber Informatics LLC | Privacy Policy