Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 61 for patterns (0.19 sec)

  1. android/guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

            TimeUnit unit,
            Class<?> cls,
            Joiner joiner,
            Pattern pattern,
            UnsignedInteger ui,
            UnsignedLong ul,
            StringBuilder sb,
            Predicate<?> pred,
            Function<?, ?> func,
            Object obj) {
          delegate.foo(
              s, r, n, it, b, eq, e, in, c, ord, charset, unit, cls, joiner, pattern, ui, ul, sb, pred,
              func, obj);
        }
    
        @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 15.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/PredicatesTest.java

      }
    
      @GwtIncompatible // java.util.regex.Pattern
      public void testContains_equals() {
        new EqualsTester()
            .addEqualityGroup(
                Predicates.contains(Pattern.compile("foo")), Predicates.containsPattern("foo"))
            .addEqualityGroup(Predicates.contains(Pattern.compile("foo", Pattern.CASE_INSENSITIVE)))
            .addEqualityGroup(Predicates.containsPattern("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)
  3. 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)
  4. 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)
  5. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingSortedMultiset.java

     * should override one or more methods to modify the behavior of the backing multiset as desired per
     * the <a href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
     *
     * <p><b>Warning:</b> The methods of {@code ForwardingSortedMultiset} forward
     * <b>indiscriminately</b> to the methods of the delegate. For example, overriding {@link
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 23 18:43:40 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

        return Integer.toString(generateInt());
      }
    
      @Generates
      Comparable<?> generateComparable() {
        return generateString();
      }
    
      @Generates
      Pattern generatePattern() {
        return Pattern.compile(generateString());
      }
    
      @Generates
      Charset generateCharset() {
        return pickInstance(Charset.availableCharsets().values(), Charsets.UTF_8);
      }
    
      @Generates
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/package-info.java

     * <h2>Forwarding collections</h2>
     *
     * We provide implementations of collections that forward all method calls to a delegate collection
     * by default. Subclasses can override one or more methods to implement the decorator pattern. For
     * an example, see {@link ForwardingCollection}.
     *
     * <h2>Other</h2>
     *
     * <ul>
     *   <li>{@link EvictingQueue}
     *   <li>{@link Interner}, {@link Interners}
     *   <li>{@link MapMaker}
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Jul 06 16:29:45 GMT 2023
    - 5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Suppliers.java

        @ParametricNullness
        @SuppressWarnings("unchecked") // Cast from Supplier<Void> to Supplier<T> is always valid
        public T get() {
          // Because Supplier is read-heavy, we use the "double-checked locking" pattern.
          if (delegate != SUCCESSFULLY_COMPUTED) {
            synchronized (this) {
              if (delegate != SUCCESSFULLY_COMPUTED) {
                T t = delegate.get();
                value = t;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Throwables.java

        checkNotNull(t);
        /*
         * TODO(cpovirk): Consider optimizing iterator() to catch IOOBE instead of doing bounds checks.
         *
         * TODO(cpovirk): Consider the UnsignedBytes pattern if it performs faster and doesn't cause
         * AOSP grief.
         */
        return new AbstractList<StackTraceElement>() {
          /*
           * The following requireNonNull calls are safe because we use jlaStackTrace() only if
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Throwables.java

        checkNotNull(t);
        /*
         * TODO(cpovirk): Consider optimizing iterator() to catch IOOBE instead of doing bounds checks.
         *
         * TODO(cpovirk): Consider the UnsignedBytes pattern if it performs faster and doesn't cause
         * AOSP grief.
         */
        return new AbstractList<StackTraceElement>() {
          /*
           * The following requireNonNull calls are safe because we use jlaStackTrace() only if
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
Back to top