Class Range

java.lang.Object
org.n52.iceland.util.Range

public class Range extends Object
class represents a range
Since:
1.0.0
  • Constructor Details

    • Range

      public Range(int start, int end)
      constructor
      Parameters:
      start - Start value
      end - End value
  • Method Details

    • contains

      public boolean contains(int value)
      returns true if a given value is contained in range
      Parameters:
      value - the value
      Returns:
      boolean true if value is contained in range, else false