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 History
public SearchDirection getSearchDirection()
getSearchDirection
in class History
public String getPreviousFetch()
getPreviousFetch
in class History
public String getNextFetch()
getNextFetch
in class History
public void setCurrent(String line)
setCurrent
in class History
public String getCurrent()
getCurrent
in class History
Copyright © 2016 JBoss by Red Hat. All rights reserved.