org.esa.beam.util.math
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 Summary |
boolean |
validateIndex(int index)
If the given index or the value at the given index is valid, this method should return
true, otherwise false. |
TRUE
static final IndexValidator TRUE
- The validator whose
validateIndex(int) method always returns true.
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.
Copyright © 2002-2013 Brockmann Consult GmbH. All Rights Reserved.