public class InMemoryHistory extends History
| Constructor and Description |
|---|
InMemoryHistory() |
InMemoryHistory(int maxSize) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
String |
find(String search) |
String |
get(int index) |
List<String> |
getAll() |
String |
getCurrent() |
String |
getNextFetch() |
String |
getPreviousFetch() |
SearchDirection |
getSearchDirection() |
void |
push(String entry) |
String |
search(String search) |
void |
setCurrent(String line) |
void |
setSearchDirection(SearchDirection direction) |
int |
size() |
void |
stop() |
public InMemoryHistory()
public InMemoryHistory(int maxSize)
public void setSearchDirection(SearchDirection direction)
setSearchDirection in class Historypublic SearchDirection getSearchDirection()
getSearchDirection in class Historypublic String getPreviousFetch()
getPreviousFetch in class Historypublic String getNextFetch()
getNextFetch in class Historypublic void setCurrent(String line)
setCurrent in class Historypublic String getCurrent()
getCurrent in class HistoryCopyright © 2022 JBoss by Red Hat. All rights reserved.