public class Life extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Life.State |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
清除余生
|
int |
count() |
Life.State |
enjoy()
享受一次人生,并返回状态
|
boolean |
equals(Object o) |
int |
hashCode() |
static Life |
namedAny(String name) |
static Life |
nobodyAny() |
static Life |
nobodyOne() |
static Life |
parse(String str)
解析不含空白的作用,`1,2,3` 和 `1-3`
|
void |
reset()
重新计数
|
String |
toString() |
void |
toString(Writer buff) |
@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 parse(String str)
str - 字符串public static Life nobodyOne()
public static Life nobodyAny()
Copyright © 2020. All rights reserved.