public class InMemoryHistory extends Object implements 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() |
public InMemoryHistory()
public InMemoryHistory(int maxSize)
public void setSearchDirection(SearchDirection direction)
setSearchDirection
in interface History
public SearchDirection getSearchDirection()
getSearchDirection
in interface History
public String getPreviousFetch()
getPreviousFetch
in interface History
public String getNextFetch()
getNextFetch
in interface History
public void setCurrent(String line)
setCurrent
in interface History
public String getCurrent()
getCurrent
in interface History
Copyright © 2014 JBoss by Red Hat. All rights reserved.