Class TrivialColumnCondition

    • Constructor Detail

      • TrivialColumnCondition

        public TrivialColumnCondition​(String name)
    • Method Detail

      • columnCondition

        public boolean columnCondition​(Writable writable)
        Description copied from interface: ColumnCondition
        Returns whether the given element meets the condition set by this operation
        Parameters:
        writable - the element to test
        Returns:
        true if the condition is met false otherwise
      • condition

        public boolean condition​(List<Writable> writables)
        Description copied from interface: Condition
        Is the condition satisfied for the current input/example?
        Returns true if condition is satisfied, or false otherwise.
        Specified by:
        condition in interface ColumnCondition
        Specified by:
        condition in interface Condition
        Overrides:
        condition in class BaseColumnCondition
        Parameters:
        writables - Current example
        Returns:
        true if condition satisfied, false otherwise
      • condition

        public boolean condition​(Object input)
        Description copied from interface: Condition
        Condition on arbitrary input
        Parameters:
        input - the input to return the condition for
        Returns:
        true if the condition is met false otherwise