For example, the list: "Bison", "Dog", "Frog", Goldfish", "Kangaroo", "Ant", "Jaguar", "Cat", "Elephant", "Ibex" becomes:
Ant Elephant Jaguar Bison Frog Kangaroo Cat Goldfish Dog Ibex"
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final List |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String |
| columns | back to summary |
|---|---|
| private final List<Columnizer. | |
| Columnizer | back to summary |
|---|---|
| public Columnizer(List<String> texts, int columnCount) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void |
| entries | back to summary |
|---|---|
| pack-priv List<String> entries | |
| maxWidth | back to summary |
|---|---|
| pack-priv int maxWidth | |
| Column | back to summary |
|---|---|
| private Column() | |
| add | back to summary |
|---|---|
| public void add(String text) | |