Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 78 for CharSequence (0.06 sec)

  1. 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 Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/io/CharStreams.java

          checkPositionIndexes(off, off + len, str.length());
        }
    
        @Override
        public Writer append(@Nullable CharSequence csq) {
          return this;
        }
    
        @Override
        public Writer append(@Nullable CharSequence csq, int start, int end) {
          checkPositionIndexes(start, end, csq == null ? "null".length() : csq.length());
          return this;
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 30 17:25:01 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/base/PredicatesTest.java

      public void testContainsPattern_apply() {
        Predicate<CharSequence> isFoobar = Predicates.containsPattern("^Fo.*o.*bar$");
        assertTrue(isFoobar.apply("Foxyzoabcbar"));
        assertFalse(isFoobar.apply("Foobarx"));
      }
    
      @GwtIncompatible // Predicates.containsPattern
      public void testContains_apply() {
        Predicate<CharSequence> isFoobar = Predicates.contains(Pattern.compile("^Fo.*o.*bar$"));
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 32.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/escape/UnicodeEscaper.java

       *
       * <p><b>Note:</b> When implementing an escaper it is a good idea to override this method for
       * efficiency by inlining the implementation of {@link #nextEscapeIndex(CharSequence, int, int)}
       * directly. Doing this for {@link com.google.common.net.PercentEscaper} more than doubled the
       * performance for unescaped strings (as measured by {@code CharEscapersBenchmark}).
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/escape/UnicodeEscaper.java

       *
       * <p><b>Note:</b> When implementing an escaper it is a good idea to override this method for
       * efficiency by inlining the implementation of {@link #nextEscapeIndex(CharSequence, int, int)}
       * directly. Doing this for {@link com.google.common.net.PercentEscaper} more than doubled the
       * performance for unescaped strings (as measured by {@code CharEscapersBenchmark}).
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  6. 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)
  7. src/test/java/org/codelibs/fess/validation/CustomSizeValidatorTest.java

            // Verify required methods exist
            try {
                CustomSizeValidator.class.getMethod("initialize", CustomSize.class);
                CustomSizeValidator.class.getMethod("isValid", CharSequence.class, ConstraintValidatorContext.class);
                assertTrue("Required methods exist", true);
            } catch (final NoSuchMethodException e) {
                fail("Required methods should exist: " + e.getMessage());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/AbstractHashFunction.java

        return newHasher().putObject(instance, funnel).hash();
      }
    
      @Override
      public HashCode hashUnencodedChars(CharSequence input) {
        int len = input.length();
        return newHasher(len * 2).putUnencodedChars(input).hash();
      }
    
      @Override
      public HashCode hashString(CharSequence input, Charset charset) {
        return newHasher().putString(input, charset).hash();
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/reflect/TypeTokenSubtypeTest.java

        public <T> Iterable<? super String> wildcardsMatchByLowerBound(
            List<? super CharSequence> list) {
          return isSubtype(list);
        }
    
        @TestSubtype(suppressGetSupertype = true, suppressGetSubtype = true)
        public <T> Iterable<? super CharSequence> wildCardsDoNotMatchByLowerBound(
            List<? super String> list) {
          return notSubtype(list);
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/Murmur3_32HashFunction.java

        k1 = mixK1(high);
        h1 = mixH1(h1, k1);
    
        return fmix(h1, Longs.BYTES);
      }
    
      @Override
      public HashCode hashUnencodedChars(CharSequence input) {
        int h1 = seed;
    
        // step through the CharSequence 2 chars at a time
        for (int i = 1; i < input.length(); i += 2) {
          int k1 = input.charAt(i - 1) | (input.charAt(i) << 16);
          k1 = mixK1(k1);
          h1 = mixH1(h1, k1);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:36:11 UTC 2025
    - 11.8K bytes
    - Viewed (0)
Back to top