| Modifier and Type | Field and Description |
|---|---|
| private final Stack | |
| private final Stack |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public <T> T | |
| public <T> int | Returns: the object position, -1 if the type doesn't exist in the stack.Return the index of the first object that have the given type. |
| public <T> T | Returns: the object at the given position.Return the object at the given position. |
| public boolean | |
| public boolean | |
| public Object | Returns: the object at the top of the stack.Looks at the object at the top of this stack without removing it from the stack. |
| public Object | |
| public boolean | |
| public int |
| classObjPath | back to summary |
|---|---|
private final Stack<Class<T>> classObjPath
| |
| objectPath | back to summary |
|---|---|
private final Stack<E> objectPath
| |
| PreflightPath | back to summary |
|---|---|
| public PreflightPath() | |
| clear | back to summary |
|---|---|
| public void clear() | |
| getClosestPathElement | back to summary |
|---|---|
| public <T> T getClosestPathElement(Class<T> type) | |
| getClosestTypePosition | back to summary |
|---|---|
| public <T> int getClosestTypePosition(Class<T> type) Return the index of the first object that have the given type.
| |
| getPathElement | back to summary |
|---|---|
| public <T> T getPathElement(int position, Class<T> expectedType) Return the object at the given position. The object must be an instance of the given class.
| |
| isEmpty | back to summary |
|---|---|
| public boolean isEmpty() | |
| isExpectedType | back to summary |
|---|---|
| public boolean isExpectedType(Class<?> type) | |
| peek | back to summary |
|---|---|
| public Object peek() Looks at the object at the top of this stack without removing it from the stack.
| |
| pop | back to summary |
|---|---|
| public Object pop() | |
| pushObject | back to summary |
|---|---|
public boolean pushObject(Object pathElement)
| |
| size | back to summary |
|---|---|
| public int size() | |