Java org.apache.commons.lang.math Range fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.lang.math Range fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.lang.math Range.

The text is from its open source code.

Method

booleancontainsInteger(Number value)

Tests whether the specified Number occurs within this range using int comparison..

null is handled and returns false.

This implementation forwards to the #containsInteger(int) method.

booleancontainsInteger(int value)

Tests whether the specified int occurs within this range using int comparison.

This implementation uses the #getMinimumInteger() and #getMaximumInteger() methods and should be good for most uses.

booleancontainsNumber(Number number)

Tests whether the specified Number occurs within this range.

The exact comparison implementation varies by subclass.

doublegetMaximumDouble()

Gets the maximum number in this range as a double.

This implementation uses the #getMaximumNumber() method.

floatgetMaximumFloat()

Gets the maximum number in this range as a float.

This implementation uses the #getMaximumNumber() method.

intgetMaximumInteger()

Gets the maximum number in this range as a int.

This implementation uses the #getMaximumNumber() method.

longgetMaximumLong()

Gets the maximum number in this range as a long.

This implementation uses the #getMaximumNumber() method.

NumbergetMaximumNumber()

Gets the maximum number in this range.

doublegetMinimumDouble()

Gets the minimum number in this range as a double.

This implementation uses the #getMinimumNumber() method.

floatgetMinimumFloat()

Gets the minimum number in this range as a float.

This implementation uses the #getMinimumNumber() method.

intgetMinimumInteger()

Gets the minimum number in this range as a int.

This implementation uses the #getMinimumNumber() method.

longgetMinimumLong()

Gets the minimum number in this range as a long.

This implementation uses the #getMinimumNumber() method.

NumbergetMinimumNumber()

Gets the minimum number in this range.