Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 145 for pattern (0.16 sec)

  1. guava/src/com/google/common/cache/ForwardingLoadingCache.java

     * A cache which forwards all its method calls to another cache. Subclasses should override one or
     * more methods to modify the behavior of the backing cache as desired per the <a
     * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
     *
     * <p>Note that {@link #get}, {@link #getUnchecked}, and {@link #apply} all expose the same
     * underlying functionality, so should probably be overridden as a group.
     *
     * @author Charles Fry
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Sat Aug 06 17:12:03 GMT 2022
    - 2.9K bytes
    - Viewed (1)
  2. android/guava/src/com/google/common/base/JdkPattern.java

    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    
    /** A regex pattern implementation which is backed by the {@link Pattern}. */
    @ElementTypesAreNonnullByDefault
    @GwtIncompatible
    final class JdkPattern extends CommonPattern implements Serializable {
      private final Pattern pattern;
    
      JdkPattern(Pattern pattern) {
        this.pattern = Preconditions.checkNotNull(pattern);
      }
    
      @Override
    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)
  3. guava/src/com/google/common/base/Platform.java

      static String emptyToNull(@CheckForNull String string) {
        return stringIsNullOrEmpty(string) ? null : string;
      }
    
      static CommonPattern compilePattern(String pattern) {
        Preconditions.checkNotNull(pattern);
        return patternCompiler.compile(pattern);
      }
    
      static boolean patternCompilerIsPcreLike() {
        return patternCompiler.isPcreLike();
      }
    
      private static PatternCompiler loadPatternCompiler() {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Jun 26 17:58:45 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/base/SplitterTest.java

        Iterable<String> testPatterningMotto =
            Splitter.onPattern("-").split("Testing-rocks-Debugging-sucks");
        assertThat(testPatterningMotto)
            .containsExactly("Testing", "rocks", "Debugging", "sucks")
            .inOrder();
      }
    
      @GwtIncompatible // java.util.regex.Pattern
      private static Pattern literalDotPattern() {
        return Pattern.compile("\\.");
      }
    
      @GwtIncompatible // java.util.regex.Pattern
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 29.8K bytes
    - Viewed (0)
  5. guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

        assertNotNull(ArbitraryInstances.get(GenericDeclaration.class));
      }
    
      public void testGet_regex() {
        assertEquals(Pattern.compile("").pattern(), ArbitraryInstances.get(Pattern.class).pattern());
        assertEquals(0, ArbitraryInstances.get(MatchResult.class).groupCount());
      }
    
      public void testGet_usePublicConstant() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 22.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ForwardingDeque.java

     * A deque which forwards all its method calls to another deque. Subclasses should override one or
     * more methods to modify the behavior of the backing deque as desired per the <a
     * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
     *
     * <p><b>Warning:</b> The methods of {@code ForwardingDeque} forward <b>indiscriminately</b> to the
     * methods of the delegate. For example, overriding {@link #add} alone <b>will not</b> change the
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Mar 13 14:30:51 GMT 2023
    - 4.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ForwardingQueue.java

     * A queue which forwards all its method calls to another queue. Subclasses should override one or
     * more methods to modify the behavior of the backing queue as desired per the <a
     * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
     *
     * <p><b>Warning:</b> The methods of {@code ForwardingQueue} forward <b>indiscriminately</b> to the
     * methods of the delegate. For example, overriding {@link #add} alone <b>will not</b> change the
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 29 19:42:21 GMT 2021
    - 4.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ForwardingBlockingDeque.java

     * Subclasses should override one or more methods to modify the behavior of the backing deque as
     * desired per the <a href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
     *
     * <p><b>Warning:</b> The methods of {@code ForwardingBlockingDeque} forward <b>indiscriminately</b>
     * to the methods of the delegate. For example, overriding {@link #add} alone <b>will not</b> change
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 13 14:30:51 GMT 2023
    - 4.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ForwardingMapEntry.java

     * one or more methods to modify the behavior of the backing map entry as desired per the <a
     * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
     *
     * <p><b>Warning:</b> The methods of {@code ForwardingMapEntry} forward <i>indiscriminately</i> to
     * the methods of the delegate. For example, overriding {@link #getValue} alone <i>will not</i>
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Mar 19 19:28:11 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/PatternCompiler.java

    /**
     * Pluggable interface for compiling a regex pattern. By default this package uses the {@code
     * java.util.regex} library, but an alternate implementation can be supplied using the {@link
     * java.util.ServiceLoader} mechanism.
     */
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    interface PatternCompiler {
      /**
       * Compiles the given pattern.
       *
       * @throws IllegalArgumentException if the pattern is invalid
       */
      @RestrictedApi(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 1.7K bytes
    - Viewed (0)
Back to top