Lines Matching refs:segments
307 * Gets the decoded path segments.
309 * @return decoded path segments, each without a leading or trailing '/'
972 final String[] segments;
975 PathSegments(String[] segments, int size) {
976 this.segments = segments;
985 return segments[index];
998 String[] segments;
1002 if (segments == null) {
1003 segments = new String[4];
1004 } else if (size + 1 == segments.length) {
1005 String[] expanded = new String[segments.length * 2];
1006 System.arraycopy(segments, 0, expanded, 0, segments.length);
1007 segments = expanded;
1010 segments[size++] = segment;
1014 if (segments == null) {
1019 return new PathSegments(segments, size);
1022 segments = null;
1033 // TODO: If we haven't parsed all of the segments already, just
1036 List<String> segments = getPathSegments();
1037 int size = segments.size();
1041 return segments.get(size - 1);
2117 * Cached path segments. This doesn't need to be volatile--we don't
2123 * Gets the individual path segments. Parses them if necessary.
2125 * @return parsed path segments or null if this isn't a hierarchical