Package 

Class Range


  • 
    public final class Range
    
                        

    Created by Philipp Jahoda on 24/07/15. Class that represents the range of one value in a stacked bar entry. e.g. stack values are -10, 5, 20 -> then ranges are (-10 - 0, 0 - 5, 5 - 25).

    • Field Summary

      Fields 
      Modifier and Type Field Description
      public float from
      public float to
    • Constructor Summary

      Constructors 
      Constructor Description
      Range(float from, float to)
    • Method Summary

      Modifier and Type Method Description
      boolean contains(float value) Returns true if this range contains (if the value is in between) the given value, false if not.
      boolean isLarger(float value)
      boolean isSmaller(float value)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Range

        Range(float from, float to)
    • Method Detail

      • contains

         boolean contains(float value)

        Returns true if this range contains (if the value is in between) the given value, false if not.

      • isLarger

         boolean isLarger(float value)