Constructor
new ConverterHistory()
- Source:
Create a new ConverterHistory.
Methods
add(str)
- Source:
Add a string that has been converted to the history.
Parameters:
Name | Type | Description |
---|---|---|
str |
String |
next() → {String}
- Source:
Move to the next converted string and return it.
Returns:
the string that has been converted after the current
one or, if there is no such string, the empty string.
- Type
- String
previous() → {String}
- Source:
Move to the previous converted string and return it.
Returns:
the string that has been converted before the current
one or, if there is no such string, the empty string.
- Type
- String