public class InputOccurence extends Object
| Constructor and Description |
|---|
InputOccurence(BigInteger min,
BigInteger max) |
| Modifier and Type | Method and Description |
|---|---|
Optional<BigInteger> |
getMax() |
BigInteger |
getMin() |
boolean |
isInBounds(BigInteger occurence) |
boolean |
isMultiple() |
boolean |
isRequired() |
static InputOccurence |
one() |
static InputOccurence |
oneOrMore() |
String |
toString() |
static InputOccurence |
zeroOrMore() |
static InputOccurence |
zeroOrOne() |
public InputOccurence(BigInteger min, BigInteger max)
public BigInteger getMin()
public Optional<BigInteger> getMax()
public boolean isRequired()
public boolean isMultiple()
public boolean isInBounds(BigInteger occurence)
public static InputOccurence zeroOrOne()
public static InputOccurence one()
public static InputOccurence zeroOrMore()
public static InputOccurence oneOrMore()
Copyright © 2015–2021 52North Initiative for Geospatial Open Source Software GmbH. All rights reserved.