Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 717 for unapply (0.06 sec)

  1. android/guava/src/com/google/common/base/Equivalence.java

       * non-null objects {@code x} and {@code y}, {@code equivalence.onResultOf(function).equivalent(a,
       * b)} is true if and only if {@code equivalence.equivalent(function.apply(a), function.apply(b))}
       * is true.
       *
       * <p>For example:
       *
       * <pre>{@code
       * Equivalence<Person> SAME_AGE = Equivalence.equals().onResultOf(GET_PERSON_AGE);
       * }</pre>
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu May 16 14:34:47 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/MultimapsFilterEntriesAsMapTest.java

      private static final Predicate<Entry<String, Integer>> PREDICATE =
          new Predicate<Entry<String, Integer>>() {
            @Override
            public boolean apply(Entry<String, Integer> entry) {
              return !"badkey".equals(entry.getKey()) && 55556 != entry.getValue();
            }
          };
    
      public MultimapsFilterEntriesAsMapTest() {
        super(true, true, false);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ForwardingSortedSetMultimapTest.java

            .testForwarding(
                SortedSetMultimap.class,
                new Function<SortedSetMultimap, SortedSetMultimap<?, ?>>() {
                  @Override
                  public SortedSetMultimap<?, ?> apply(SortedSetMultimap delegate) {
                    return wrap((SortedSetMultimap<?, ?>) delegate);
                  }
                });
      }
    
      public void testEquals() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 20:09:59 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/Headers.kt

        /**
         * Add a header line without any validation. Only appropriate for headers from the remote peer
         * or cache.
         */
        internal fun addLenient(line: String) =
          apply {
            val index = line.indexOf(':', 1)
            when {
              index != -1 -> {
                addLenient(line.substring(0, index), line.substring(index + 1))
              }
              line[0] == ':' -> {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

        }
    
        @Override
        void forEachRemaining(Consumer<? super E> action) {
          spliteratorOfPrimitive.forEachRemaining(consumerizer.apply(action));
        }
    
        @Override
        boolean tryAdvance(Consumer<? super E> action) {
          return spliteratorOfPrimitive.tryAdvance(consumerizer.apply(action));
        }
    
        @Override
        @Nullable GeneralSpliterator<E> trySplit() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

        }
    
        @Override
        void forEachRemaining(Consumer<? super E> action) {
          spliteratorOfPrimitive.forEachRemaining(consumerizer.apply(action));
        }
    
        @Override
        boolean tryAdvance(Consumer<? super E> action) {
          return spliteratorOfPrimitive.tryAdvance(consumerizer.apply(action));
        }
    
        @Override
        @Nullable GeneralSpliterator<E> trySplit() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/TreeTraverser.java

       * This is useful if the function instance already exists, or so that you can supply a lambda
       * expressions. If those circumstances don't apply, you probably don't need to use this; subclass
       * {@code TreeTraverser} and implement its {@link #children} method directly.
       *
       * @since 20.0
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/Interpolator.java

        static Function<String, String> chain(Collection<? extends Function<String, String>> functions) {
            return s -> {
                for (Function<String, String> function : functions) {
                    String v = function.apply(s);
                    if (v != null) {
                        return v;
                    }
                }
                return null;
            };
        }
    
        @SafeVarargs
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 17 09:25:53 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/stream/StreamUtil.java

                    stream.accept(s);
                }
            }
    
            public <R> R get(final Function<Stream<T>, R> stream) {
                try (Stream<T> s = supplier.get()) {
                    return stream.apply(s);
                }
            }
        }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/features/TesterAnnotation.java

    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    
    /**
     * Use this to meta-annotate {@code XxxFeature.Require} annotations, so that those annotations can
     * be used to decide whether to apply a test to a given class-under-test.
     *
     * <p>This is needed because annotations can't implement interfaces, which is also why reflection is
     * used to extract values from the properties of the various annotations.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 17:55:55 UTC 2024
    - 1.4K bytes
    - Viewed (0)
Back to top