public class NumberedPrefix extends Object
| Constructor and Description |
|---|
NumberedPrefix() |
| Modifier and Type | Method and Description |
|---|---|
void |
downALevel()
This method removes a level from the prefix (e.g., 0 if current is a plain number, say, 7, or 2.4, if current is 2.4.1).
|
String |
getPrefix() |
void |
increment() |
void |
upALevel()
This method starts a new level to the prefix (e.g., 1.1 if the current is 1, 2.3.1 if current is 2.3, or 1 if the current is 0).
|
public void increment()
public void upALevel()
public void downALevel()
public String getPrefix()
Copyright © 2020. All Rights Reserved.