NumberOrRange

public class NumberOrRange(source)

Represents an integer, or a start- and stop-inclusive integer range.

Inheritors

Types

Link copied to clipboard
public final class Number extends NumberOrRange

Represents an integral number.

Link copied to clipboard
public final class Range extends NumberOrRange

Represents a start- and stop-inclusive integer range.

Functions

Link copied to clipboard
public abstract Filter<Integer, Unit> toFilter()

Converts the current number or range to a filter.

Link copied to clipboard
public final static NumberOrRange tryParse(String numberRange)

Parses a number or range according to the OptiGUI docs.