public class Life extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Life.State |
| Modifier and Type | Field and Description |
|---|---|
protected @NotNull List<int[]> |
book |
protected int |
count |
protected int |
index |
@NotNull String |
name |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the life
|
int |
count() |
Life.State |
enjoy()
Enjoy the life once and return to the state
|
static Life |
namedAny(String name) |
static Life |
nobodyAny() |
static Life |
nobodyOne() |
static Life |
parse(String str)
Parse scope(Life) without blanks, `1,2,3` and `1-3`.
|
void |
reset()
reset the life
|
String |
toString() |
void |
toString(Writer buff) |
protected int count
protected int index
@NotNull protected final @NotNull List<int[]> book
@NotNull public final @NotNull String name
public Life.State enjoy()
public int count()
public void close()
public void reset()
public void toString(Writer buff)
public static Life nobodyOne()
public static Life nobodyAny()
Copyright © 2024. All rights reserved.