public class PreflightPath extends Object
| Constructor and Description | 
|---|
PreflightPath()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
clear()  | 
<T> T | 
getClosestPathElement(Class<T> type)  | 
<T> int | 
getClosestTypePosition(Class<T> type)
Return the index of the first object that have the given type. 
 | 
<T> T | 
getPathElement(int position,
              Class<T> expectedType)
Return the object at the given position. 
 | 
boolean | 
isEmpty()  | 
boolean | 
isExpectedType(Class<?> type)  | 
Object | 
peek()
Looks at the object at the top of this stack without removing it from the stack. 
 | 
Object | 
pop()  | 
boolean | 
pushObject(Object pathElement)  | 
int | 
size()  | 
public boolean pushObject(Object pathElement)
public <T> T getPathElement(int position,
                   Class<T> expectedType)
position - expectedType - public <T> int getClosestTypePosition(Class<T> type)
type - public <T> T getClosestPathElement(Class<T> type)
public Object peek()
public Object pop()
public void clear()
public int size()
public boolean isEmpty()
public boolean isExpectedType(Class<?> type)
Copyright © 2002–2016 The Apache Software Foundation. All rights reserved.