- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for subSequence (0.23 sec)
-
android/guava-tests/test/com/google/common/base/JoinerTest.java
return 3; } @Override public char charAt(int index) { return "foo".charAt(index); } @Override public CharSequence subSequence(int start, int end) { return "foo".subSequence(start, end); } @Override public String toString() { throw new AssertionFailedError("shouldn't be invoked"); } } // Don't do this.
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 12.6K bytes - Viewed (0) -
guava/src/com/google/common/base/Strings.java
int p = 0; while (p < maxPrefixLength && a.charAt(p) == b.charAt(p)) { p++; } if (validSurrogatePairAt(a, p - 1) || validSurrogatePairAt(b, p - 1)) { p--; } return a.subSequence(0, p).toString(); } /** * Returns the longest string {@code suffix} such that {@code a.toString().endsWith(suffix) &&
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Fri Sep 17 20:47:03 GMT 2021 - 12.6K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Splitter.java
} /** * Returns a splitter that considers any subsequence matching {@code pattern} to be a separator. * For example, {@code Splitter.on(Pattern.compile("\r?\n")).split(entireFile)} splits a string * into lines whether it uses DOS-style or UNIX-style line terminators. * * @param separatorPattern the pattern that determines whether a subsequence is a separator. This * pattern may not match the empty string.
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 23.7K bytes - Viewed (0) -
guava/src/com/google/common/base/Splitter.java
} /** * Returns a splitter that considers any subsequence matching {@code pattern} to be a separator. * For example, {@code Splitter.on(Pattern.compile("\r?\n")).split(entireFile)} splits a string * into lines whether it uses DOS-style or UNIX-style line terminators. * * @param separatorPattern the pattern that determines whether a subsequence is a separator. This * pattern may not match the empty string.
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 15 16:12:13 GMT 2024 - 24.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/JoinerTest.java
return 3; } @Override public char charAt(int index) { return "foo".charAt(index); } @Override public CharSequence subSequence(int start, int end) { return "foo".subSequence(start, end); } @Override public String toString() { throw new AssertionFailedError("shouldn't be invoked"); } } // Don't do this.
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 12.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/SourceSinkFactory.java
* some cases it may alter the input. For example, if the factory returns a sliced view of a * source created with some given bytes, this method would return a subsequence of the given * (byte[]) data. */ T getExpected(T data); /** Cleans up anything created when creating the source or sink. */ public abstract void tearDown() throws IOException;
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 3K bytes - Viewed (0) -
android/guava/src/com/google/thirdparty/publicsuffix/TrieParser.java
for (; idx < encodedLen; idx++) { c = encoded.charAt(idx); if (c == '&' || c == '?' || c == '!' || c == ':' || c == ',') { break; } } stack.push(reverse(encoded.subSequence(start, idx))); if (c == '!' || c == '?' || c == ':' || c == ',') { // '!' represents an interior node that represents a REGISTRY entry in the map.
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Oct 13 19:20:43 GMT 2022 - 4K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Strings.java
int p = 0; while (p < maxPrefixLength && a.charAt(p) == b.charAt(p)) { p++; } if (validSurrogatePairAt(a, p - 1) || validSurrogatePairAt(b, p - 1)) { p--; } return a.subSequence(0, p).toString(); } /** * Returns the longest string {@code suffix} such that {@code a.toString().endsWith(suffix) &&
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Apr 09 00:49:18 GMT 2021 - 12.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/SourceSinkFactory.java
* some cases it may alter the input. For example, if the factory returns a sliced view of a * source created with some given bytes, this method would return a subsequence of the given * (byte[]) data. */ T getExpected(T data); /** Cleans up anything created when creating the source or sink. */ public abstract void tearDown() throws IOException;
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 3K bytes - Viewed (0) -
android/guava/src/com/google/common/base/CharMatcher.java
break; } } for (last = len - 1; last > first; last--) { if (!matches(sequence.charAt(last))) { break; } } return sequence.subSequence(first, last + 1).toString(); } /** * Returns a substring of the input character sequence that omits all matching BMP characters from * the beginning of the string. For example: *
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 53.7K bytes - Viewed (0)