public class RandomWordFactory extends Object implements WordFactory
| 限定符和类型 | 字段和说明 |
|---|---|
protected String |
characters |
protected int |
maxLength |
protected int |
minLength |
| 构造器和说明 |
|---|
RandomWordFactory() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getNextWord() |
void |
setCharacters(String characters) |
void |
setMaxLength(int maxLength) |
void |
setMinLength(int minLength) |
protected String characters
protected int minLength
protected int maxLength
public void setCharacters(String characters)
public void setMinLength(int minLength)
public void setMaxLength(int maxLength)
public String getNextWord()
getNextWord 在接口中 WordFactoryCopyright © 2022. All rights reserved.