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.


Field Summary
static IndexValidator TRUE
          The validator whose validateIndex(int) method always returns true.
 
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.
 

Field Detail

TRUE

static final IndexValidator TRUE
The validator whose validateIndex(int) method always returns true.

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.


Copyright © 2002-2013 Brockmann Consult GmbH. All Rights Reserved.