- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 78 for CharSequence (0.12 sec)
-
android/guava/src/com/google/common/io/CharSink.java
* * @throws IOException if an I/O error while writing to this sink */ public void write(CharSequence charSequence) throws IOException { checkNotNull(charSequence); try (Writer out = openStream()) { out.append(charSequence); } } /** * Writes the given lines of text to this sink with each line (including the last) terminated with
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 16:07:06 UTC 2025 - 6.7K bytes - Viewed (0) -
android/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 Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 7K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Funnels.java
INSTANCE; @Override public void funnel(CharSequence from, PrimitiveSink into) { into.putUnencodedChars(from); } @Override public String toString() { return "Funnels.unencodedCharsFunnel()"; } } /** * Returns a funnel that encodes the characters of a {@code CharSequence} with the specified * {@code Charset}. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 7.2K bytes - Viewed (0) -
guava/src/com/google/common/hash/Funnels.java
INSTANCE; @Override public void funnel(CharSequence from, PrimitiveSink into) { into.putUnencodedChars(from); } @Override public String toString() { return "Funnels.unencodedCharsFunnel()"; } } /** * Returns a funnel that encodes the characters of a {@code CharSequence} with the specified * {@code Charset}. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 7.2K bytes - Viewed (0) -
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 Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 16.1K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/PrimitiveSink.java
* * @since 15.0 (since 11.0 as putString(CharSequence)) */ @CanIgnoreReturnValue PrimitiveSink putUnencodedChars(CharSequence charSequence); /** * Puts a string into this sink using the given charset. * * <p><b>Warning:</b> This method, which reencodes the input before processing it, is useful only
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 3.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/validation/CustomSizeValidator.java
import jakarta.validation.ConstraintValidatorContext; /** * Validator implementation for the CustomSize constraint. */ public class CustomSizeValidator implements ConstraintValidator<CustomSize, CharSequence> { /** * Default constructor. */ public CustomSizeValidator() { // Empty constructor } private int min = 0; private int max = Integer.MAX_VALUE;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 3K bytes - Viewed (0) -
android/guava/src/com/google/thirdparty/publicsuffix/TrieParser.java
* @param builder A map builder to which all entries will be added. * @return The number of characters consumed from {@code encoded}. */ private static int doParseTrieToBuilder( Deque<CharSequence> stack, CharSequence encoded, int start, ImmutableMap.Builder<String, PublicSuffixType> builder) { int encodedLen = encoded.length(); int idx = start; char c = '\0';
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 4K 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 Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Sep 02 17:23:59 UTC 2025 - 89K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ObjectArraysTest.java
} @GwtIncompatible // ObjectArrays.concat(Object[], Object[], Class) public void testConcatWithMoreGeneralType() { CharSequence[] result = ObjectArrays.concat(new String[0], new String[0], CharSequence.class); assertEquals(CharSequence[].class, result.getClass()); } public void testToArrayImpl1() { doTestToArrayImpl1(new ArrayList<Integer>());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.7K bytes - Viewed (0)