public class Occurrence extends Object
| Modifier and Type | Field and Description |
|---|---|
int |
max |
int |
min |
static Occurrence |
ONE |
static int |
UNBOUNDED |
| Constructor and Description |
|---|
Occurrence(int min,
int max) |
| Modifier and Type | Method and Description |
|---|---|
static Occurrence |
alternate(List<Occurrence> occs) |
int |
card() |
static Occurrence |
sequence(List occs) |
String |
toString() |
public static final int UNBOUNDED
public static final Occurrence ONE
public final int min
public final int max
public int card()
public static Occurrence sequence(List occs)
public static Occurrence alternate(List<Occurrence> occs)
Copyright © 1998–2017 1&1. All rights reserved.