Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for composite (0.51 sec)

  1. guava-tests/test/com/google/common/collect/OrderingTest.java

              composites.add(new Composite<T>(t, 1));
            }
            for (T t : scenario.strictlyOrderedList) {
              composites.add(new Composite<T>(t, 2));
            }
            Ordering<Composite<T>> ordering =
                Ordering.<Composite<T>>natural()
                    .compound(scenario.ordering.onResultOf(Composite.<T>getValueFunction()));
            return new Scenario<Composite<T>>(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/OrderingTest.java

              composites.add(new Composite<T>(t, 1));
            }
            for (T t : scenario.strictlyOrderedList) {
              composites.add(new Composite<T>(t, 2));
            }
            Ordering<Composite<T>> ordering =
                Ordering.<Composite<T>>natural()
                    .compound(scenario.ordering.onResultOf(Composite.<T>getValueFunction()));
            return new Scenario<Composite<T>>(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Suppliers.java

       * call {@code supplier} or invoke {@code function} until it is called.
       */
      public static <F extends @Nullable Object, T extends @Nullable Object> Supplier<T> compose(
          Function<? super F, T> function, Supplier<F> supplier) {
        return new SupplierComposition<>(function, supplier);
      }
    
      private static class SupplierComposition<F extends @Nullable Object, T extends @Nullable Object>
    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)
  4. android/guava/src/com/google/common/util/concurrent/ExecutionList.java

          runnables = null; // allow GC to free listeners even if this stays around for a while.
        }
        // If we succeeded then list holds all the runnables we to execute. The pairs in the stack are
        // in the opposite order from how they were added so we need to reverse the list to fulfill our
        // contract.
        // This is somewhat annoying, but turns out to be very fast in practice. Alternatively, we could
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/Futures.java

       *     the returned future.
       * @param executor Executor to run the function in.
       * @return A future that holds result of the transformation.
       * @since 9.0 (in 2.0 as {@code compose})
       */
      public static <I extends @Nullable Object, O extends @Nullable Object>
          ListenableFuture<O> transform(
              ListenableFuture<I> input, Function<? super I, ? extends O> function, Executor executor) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/hash/BloomFilter.java

       *     filter. If the bits haven't changed, this <i>might</i> be the first time {@code object} has
       *     been added to the filter. Note that {@code put(t)} always returns the <i>opposite</i>
       *     result to what {@code mightContain(t)} would have returned at the time it is called.
       * @since 12.0 (present in 11.0 with {@code void} return type})
       */
      @CanIgnoreReturnValue
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Maps.java

          Predicate<? super K> keyPredicate) {
        return compose(keyPredicate, Maps.<K>keyFunction());
      }
    
      static <V extends @Nullable Object> Predicate<Entry<?, V>> valuePredicateOnEntries(
          Predicate<? super V> valuePredicate) {
        return compose(valuePredicate, Maps.<V>valueFunction());
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/Suppliers.java

       * call {@code supplier} or invoke {@code function} until it is called.
       */
      public static <F extends @Nullable Object, T extends @Nullable Object> Supplier<T> compose(
          Function<? super F, T> function, Supplier<F> supplier) {
        return new SupplierComposition<>(function, supplier);
      }
    
      private static class SupplierComposition<F extends @Nullable Object, T extends @Nullable Object>
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.3K bytes
    - Viewed (0)
Back to top