Lines Matching refs:segments
297 * Gets the decoded path segments.
299 * @return decoded path segments, each without a leading or trailing '/'
920 final String[] segments;
923 PathSegments(String[] segments, int size) {
924 this.segments = segments;
933 return segments[index];
946 String[] segments;
950 if (segments == null) {
951 segments = new String[4];
952 } else if (size + 1 == segments.length) {
953 String[] expanded = new String[segments.length * 2];
954 System.arraycopy(segments, 0, expanded, 0, segments.length);
955 segments = expanded;
958 segments[size++] = segment;
962 if (segments == null) {
967 return new PathSegments(segments, size);
970 segments = null;
981 // TODO: If we haven't parsed all of the segments already, just
984 List<String> segments = getPathSegments();
985 int size = segments.size();
989 return segments.get(size - 1);
2072 * Cached path segments. This doesn't need to be volatile--we don't
2078 * Gets the individual path segments. Parses them if necessary.
2080 * @return parsed path segments or null if this isn't a hierarchical