|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eobjects.metamodel.util.AlphabeticSequence
public class AlphabeticSequence
A sequence based on alphabetic representations. Typically a sequence begin with "A", "B", "C" etc. and go from "Z" to "AA", from "AZ" to "BA" etc. This sequence is practical for generating column names that correspond to column identifiers in spreadsheets and the like.
| Constructor Summary | |
|---|---|
AlphabeticSequence()
Creates an alphabetic sequence that will have "A" as it's first value, if iterated using next(). |
|
AlphabeticSequence(String value)
Creates an alphabetic sequence based on a value |
|
| Method Summary | |
|---|---|
String |
current()
Gets the current value (ie. doesn't iterate). |
String |
next()
Iterates to the next value and returns it. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AlphabeticSequence()
public AlphabeticSequence(String value)
value - | Method Detail |
|---|
public String current()
public String next()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||