/** * Get the last path element from the stack. * * @return the name of the path element * @since 1.4.2 */ public String peekElement() { return peekElement(0); }
/** * Current Path in stream. */ public Path getPath() { if (currentPath == null) { String[] chunks = new String[pointer + 1]; chunks[0] = ""; for (int i = -pointer; ++i <= 0; ) { final String name = peekElement(i); chunks[i + pointer] = name; } currentPath = new Path(chunks); } return currentPath; } }
/** * Get the last path element from the stack. * * @return the name of the path element * @since 1.4.2 */ public String peekElement() { return peekElement(0); }
/** * Get the last path element from the stack. * * @return the name of the path element * @since 1.4.2 */ public String peekElement() { return peekElement(0); }
/** * Get the last path element from the stack. * * @return the name of the path element * @since 1.4.2 */ public String peekElement() { return peekElement(0); }
/** * Get the last path element from the stack. * * @return the name of the path element * @since 1.4.2 */ public String peekElement() { return peekElement(0); }
/** * Get the last path element from the stack. * * @return the name of the path element * @since 1.4.2 */ public String peekElement() { return peekElement(0); }
/** * Get the last path element from the stack. * * @return the name of the path element * @since 1.4.2 */ public String peekElement() { return peekElement(0); }
/** * Current Path in stream. */ public Path getPath() { if (currentPath == null) { final String[] chunks = new String[pointer + 1]; chunks[0] = ""; for (int i = -pointer; ++i <= 0;) { final String name = peekElement(i); chunks[i + pointer] = name; } currentPath = new Path(chunks); } return currentPath; } }
/** * Current Path in stream. */ public Path getPath() { if (currentPath == null) { String[] chunks = new String[pointer + 1]; chunks[0] = ""; for (int i = -pointer; ++i <= 0; ) { final String name = peekElement(i); chunks[i + pointer] = name; } currentPath = new Path(chunks); } return currentPath; } }
/** * Current Path in stream. */ public Path getPath() { if (currentPath == null) { String[] chunks = new String[pointer + 1]; chunks[0] = ""; for (int i = -pointer; ++i <= 0; ) { final String name = peekElement(i); chunks[i + pointer] = name; } currentPath = new Path(chunks); } return currentPath; } }
/** * Current Path in stream. */ public Path getPath() { if (currentPath == null) { String[] chunks = new String[pointer + 1]; chunks[0] = ""; for (int i = -pointer; ++i <= 0; ) { final String name = peekElement(i); chunks[i + pointer] = name; } currentPath = new Path(chunks); } return currentPath; } }
/** * Current Path in stream. */ public Path getPath() { if (currentPath == null) { String[] chunks = new String[pointer + 1]; chunks[0] = ""; for (int i = -pointer; ++i <= 0; ) { final String name = peekElement(i); chunks[i + pointer] = name; } currentPath = new Path(chunks); } return currentPath; } }
/** * Current Path in stream. */ public Path getPath() { if (currentPath == null) { String[] chunks = new String[pointer + 1]; chunks[0] = ""; for (int i = -pointer; ++i <= 0; ) { final String name = peekElement(i); chunks[i + pointer] = name; } currentPath = new Path(chunks); } return currentPath; } }