org.gcube.data.trees.constraints

Class Not<T>

    • Constructor Detail

      • Not

        public Not(Constraint<T> c)
        Creates an instance from one more constraints.
    • Method Detail

      • accepts

        public boolean accepts(T t)
        Description copied from interface: Constraint
        Returns true if a value satisfies the constraint.
        Parameters:
        t - the value.
        Returns:
        true if the value satisfies the constraint, false if it does not.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object

Copyright © 2018. All Rights Reserved.