Interface IndexValidator


  • public interface IndexValidator
    An interface used as parameter to several methods which perform some actions on data arrays. It is used to decide whether or not an array value shall be taken into account for a particular computation.
    • Method Detail

      • validateIndex

        boolean validateIndex​(int index)
        If the given index or the value at the given index is valid, this method should return true, otherwise false.
        Parameters:
        index - the index to validate
        Returns:
        true, if the index or the data behind the index is valid.