- Author
- Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g
Definition at line 30 of file History.java.
◆ add() [1/2]
static void org.turro.elephant.context.History.add |
( |
IConstructor |
constructor, |
|
|
String |
path |
|
) |
| |
|
static |
Definition at line 34 of file History.java.
static History getInstance(IConstructor constructor)
static void add(IConstructor constructor, String path)
◆ add() [2/2]
void org.turro.elephant.context.History.add |
( |
String |
path | ) |
|
Definition at line 58 of file History.java.
59 String last = HISTORY.peekLast();
60 if(!Objects.equals(last, path)) {
61 if(!HISTORY.offerLast(path)) {
63 HISTORY.offerLast(path);
◆ back() [1/2]
String org.turro.elephant.context.History.back |
( |
| ) |
|
Definition at line 76 of file History.java.
77 if(HISTORY.size() > 1) {
78 Iterator<String> it = HISTORY.descendingIterator();
82 return HISTORY.peekLast();
◆ back() [2/2]
static String org.turro.elephant.context.History.back |
( |
IConstructor |
constructor | ) |
|
|
static |
◆ get() [1/2]
String org.turro.elephant.context.History.get |
( |
| ) |
|
Definition at line 68 of file History.java.
69 return HISTORY.pollLast();
◆ get() [2/2]
static String org.turro.elephant.context.History.get |
( |
IConstructor |
constructor | ) |
|
|
static |
Definition at line 38 of file History.java.
static String get(IConstructor constructor)
◆ getInstance()
Definition at line 91 of file History.java.
92 History history = (History) constructor.getSessionAttribute(HISTORY_CONTEXT);
94 history =
new History();
95 constructor.setSessionAttribute(HISTORY_CONTEXT, history);
◆ peek() [1/2]
String org.turro.elephant.context.History.peek |
( |
| ) |
|
Definition at line 72 of file History.java.
73 return HISTORY.peekLast();
◆ peek() [2/2]
static String org.turro.elephant.context.History.peek |
( |
IConstructor |
constructor | ) |
|
|
static |
Definition at line 42 of file History.java.
static String peek(IConstructor constructor)
◆ peekBack()
static String org.turro.elephant.context.History.peekBack |
( |
IConstructor |
constructor | ) |
|
|
static |
The documentation for this class was generated from the following file: