- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 91 for CharSequence (0.17 sec)
-
android/guava/src/com/google/common/base/MoreObjects.java
} private static boolean isEmpty(Object value) { // Put types estimated to be the most frequent first. if (value instanceof CharSequence) { return ((CharSequence) value).length() == 0; } else if (value instanceof Collection) { return ((Collection<?>) value).isEmpty(); } else if (value instanceof Map) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 10 15:41:27 UTC 2024 - 16.1K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/AbstractStreamingHasher.java
return this; } /* * Note: hashString(CharSequence, Charset) is intentionally not overridden. * * While intuitively, using CharsetEncoder to encode the CharSequence directly to the buffer (or * even to an intermediate buffer) should be considerably more efficient than potentially * copying the CharSequence to a String and then calling getBytes(Charset) on that String, in
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jun 15 20:59:00 UTC 2022 - 7.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java
} public void testGetGenericSuperclass_wildcard_boundIsInterface() { assertNull(TypeToken.of(Types.subtypeOf(CharSequence.class)).getGenericSuperclass()); assertEquals( new TypeToken<CharSequence[]>() {}, TypeToken.of(Types.subtypeOf(CharSequence[].class)).getGenericSuperclass()); } public <T> void testGetGenericInterfaces_typeVariable_unbounded() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 21:13:09 UTC 2024 - 89.1K bytes - Viewed (0) -
android/guava/src/com/google/common/base/CommonPattern.java
* javadoc for details. */ @GwtCompatible @ElementTypesAreNonnullByDefault abstract class CommonPattern { public abstract CommonMatcher matcher(CharSequence t); public abstract String pattern(); public abstract int flags(); // Re-declare this as abstract to force subclasses to override. @Override public abstract String toString();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Apr 09 00:52:54 UTC 2021 - 1.4K bytes - Viewed (0) -
guava/src/com/google/common/base/CommonPattern.java
* javadoc for details. */ @GwtCompatible @ElementTypesAreNonnullByDefault abstract class CommonPattern { public abstract CommonMatcher matcher(CharSequence t); public abstract String pattern(); public abstract int flags(); // Re-declare this as abstract to force subclasses to override. @Override public abstract String toString();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Apr 09 00:52:54 UTC 2021 - 1.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/StringUtil.java
return str == null ? defaultStr : str; } /** * <p>Checks if the CharSequence contains only ASCII printable characters.</p> * * <p>{@code null} will return {@code false}. * An empty CharSequence (length()=0) will return {@code true}.</p> * * <pre> * StringUtils.isAsciiPrintable(null) = false
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 21.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/exentity/PathMapping.java
} } return input; } public boolean hasUAMathcer() { return StringUtil.isNotBlank(getUserAgent()); } public Matcher getUAMatcher(final CharSequence input) { if (!hasUAMathcer()) { return null; } if (userAgentPattern == null) { userAgentPattern = Pattern.compile(getUserAgent()); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 3.3K bytes - Viewed (0) -
android/guava/src/com/google/common/base/JdkPattern.java
private final Pattern pattern; JdkPattern(Pattern pattern) { this.pattern = Preconditions.checkNotNull(pattern); } @Override public CommonMatcher matcher(CharSequence t) { return new JdkMatcher(pattern.matcher(t)); } @Override public String pattern() { return pattern.pattern(); } @Override public int flags() { return pattern.flags();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Feb 09 15:49:48 UTC 2024 - 2.2K bytes - Viewed (0) -
guava/src/com/google/common/base/Utf8.java
* time and space. * * @throws IllegalArgumentException if {@code sequence} contains ill-formed UTF-16 (unpaired * surrogates) */ public static int encodedLength(CharSequence sequence) { // Warning to maintainers: this implementation is highly optimized. int utf16Length = sequence.length(); int utf8Length = utf16Length; int i = 0; // This loop optimizes for pure ASCII.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 13:00:28 UTC 2024 - 7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/TypesTest.java
* built-in nullness feature? */ "ExtendsObject", }) <T extends Object> void withObjectBound(List<T> list) {} @SuppressWarnings("unused") <T extends Number & CharSequence> void withUpperBound(List<T> list) {} static TypeVariable<?> getTypeVariable(String methodName) throws Exception { ParameterizedType parameterType = (ParameterizedType)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 13:41:27 UTC 2024 - 15.2K bytes - Viewed (0)