Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 52 for CharSequence (0.27 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/MessageBuilder.java

        //
        // message building methods modelled after Ansi methods
        //
    
        @Nonnull
        @Override
        MessageBuilder append(CharSequence cs);
    
        @Nonnull
        @Override
        MessageBuilder append(CharSequence cs, int start, int end);
    
        @Nonnull
        @Override
        MessageBuilder append(char c);
    
        /**
         * Append content to the message buffer.
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Jan 08 10:37:09 GMT 2024
    - 7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Predicates.java

       * @since 3.0
       */
      @GwtIncompatible // Only used by other GWT-incompatible code.
      public static Predicate<CharSequence> containsPattern(String pattern) {
        return new ContainsPatternFromStringPredicate(pattern);
      }
    
      /**
       * Returns a predicate that evaluates to {@code true} if the {@code CharSequence} being tested
       * contains any match for the given regular expression pattern. The test used is equivalent to
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.1K 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$"));
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 32.4K bytes
    - Viewed (0)
  4. 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();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  5. 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$"));
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 32.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/Joiner.java

         * tolerance is implemented differently: Its implementation avoids calling this toString(Object)
         * method in the first place.)
         */
        requireNonNull(part);
        return (part instanceof CharSequence) ? (CharSequence) part : part.toString();
      }
    
      private static Iterable<@Nullable Object> iterable(
          @CheckForNull Object first, @CheckForNull Object second, @Nullable Object[] rest) {
        checkNotNull(rest);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 18.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/Joiner.java

         * tolerance is implemented differently: Its implementation avoids calling this toString(Object)
         * method in the first place.)
         */
        requireNonNull(part);
        return (part instanceof CharSequence) ? (CharSequence) part : part.toString();
      }
    
      private static Iterable<@Nullable Object> iterable(
          @CheckForNull Object first, @CheckForNull Object second, @Nullable Object[] rest) {
        checkNotNull(rest);
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 18.6K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/reflect/TypesTest.java

        <T> void withoutBound(List<T> list) {}
    
        @SuppressWarnings("unused")
        <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)
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Predicates.java

       * @since 3.0
       */
      @GwtIncompatible // Only used by other GWT-incompatible code.
      public static Predicate<CharSequence> containsPattern(String pattern) {
        return new ContainsPatternFromStringPredicate(pattern);
      }
    
      /**
       * Returns a predicate that evaluates to {@code true} if the {@code CharSequence} being tested
       * contains any match for the given regular expression pattern. The test used is equivalent to
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  10. 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
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 21.7K bytes
    - Viewed (0)
Back to top