Class RangeSubsetter

java.lang.Object
edu.sc.seis.sod.subsetter.RangeSubsetter
Direct Known Subclasses:
AzimuthRange, BackAzimuthRange, LatitudeRange, LongitudeRange, MagnitudeRange, OrientationAzimuthRange, OrientationDipRange, Sampling

public class RangeSubsetter
extends java.lang.Object
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static double DEFAULT_MAX  
    static double DEFAULT_MIN  
    protected double max  
    protected double min  
  • Constructor Summary

    Constructors 
    Constructor Description
    RangeSubsetter()  
    RangeSubsetter​(org.w3c.dom.Element config)  
    RangeSubsetter​(org.w3c.dom.Element config, double defaultMin, double defaultMax)  
  • Method Summary

    Modifier and Type Method Description
    boolean accept​(double value)  
    boolean acceptMax​(double value)  
    boolean acceptMin​(double value)  
    double getMaxValue()  
    double getMinValue()  
    protected void parseConfig​(org.w3c.dom.Element config)  
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

  • Constructor Details

    • RangeSubsetter

      public RangeSubsetter()
    • RangeSubsetter

      public RangeSubsetter​(org.w3c.dom.Element config)
    • RangeSubsetter

      public RangeSubsetter​(org.w3c.dom.Element config, double defaultMin, double defaultMax)
  • Method Details

    • parseConfig

      protected void parseConfig​(org.w3c.dom.Element config)
    • accept

      public boolean accept​(double value)
    • acceptMin

      public boolean acceptMin​(double value)
    • acceptMax

      public boolean acceptMax​(double value)
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object
    • getMinValue

      public double getMinValue()
    • getMaxValue

      public double getMaxValue()