Documentation of 'visad.data.in.MathTypeCondition' Java class
MathTypeCondition
visad.data.in

Class MathTypeCondition



  • public class MathTypeCondition
    extends Condition
    Provides support for matching the MathType of a VisAD data object.

    Instances are immutable.

    • Method Detail

      • mathTypeCondition

        public static MathTypeCondition mathTypeCondition(MathType mathType)
        Returns an instance of this class. Constructs from a VisAD math-type. VisAD data objects whose math-type equals the given one will satisfy this condition.
        Parameters:
        mathType - The VisAD math-type to match against VisAD data objects.
        Returns:
        An instance of this class.
      • isSatisfied

        public boolean isSatisfied(DataImpl data)
        Indicates if a VisAD data object satisfies this condition.
        Specified by:
        isSatisfied in class Condition
        Parameters:
        data - A VisAD data object.
        Returns:
        true if and only if the math-type of the VisAD data object equals the math-type used during this instance's construction.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.