Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 717 for unapply (0.07 sec)

  1. android/guava-tests/test/com/google/common/base/SuppliersTest.java

                return 5;
              }
            };
    
        Function<Number, Integer> intValueFunction =
            new Function<Number, Integer>() {
              @Override
              public Integer apply(Number x) {
                return x.intValue();
              }
            };
    
        Supplier<Integer> squareSupplier = Suppliers.compose(intValueFunction, fiveSupplier);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/SuppliersTest.java

                return 5;
              }
            };
    
        Function<Number, Integer> intValueFunction =
            new Function<Number, Integer>() {
              @Override
              public Integer apply(Number x) {
                return x.intValue();
              }
            };
    
        Supplier<Integer> squareSupplier = Suppliers.compose(intValueFunction, fiveSupplier);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/IterablesTest.java

                  @Override
                  public boolean apply(String s) {
                    return s.equals("b") || s.equals("d") || s.equals("f");
                  }
                }));
        assertEquals(newArrayList("a", "c", "e"), list);
        assertFalse(
            removeIf(
                list,
                new Predicate<String>() {
                  @Override
                  public boolean apply(String s) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:12:33 UTC 2024
    - 45K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Maps.java

        KEY {
          @Override
          @CheckForNull
          public Object apply(Entry<?, ?> entry) {
            return entry.getKey();
          }
        },
        VALUE {
          @Override
          @CheckForNull
          public Object apply(Entry<?, ?> entry) {
            return entry.getValue();
          }
        };
      }
    
      @SuppressWarnings("unchecked")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

        checkNotNull(function);
        return new AsyncClosingFunction<V, U>() {
          @Override
          public ClosingFuture<U> apply(DeferredCloser closer, V input) throws Exception {
            return ClosingFuture.from(function.apply(input));
          }
        };
      }
    
      /**
       * Returns a new {@code ClosingFuture} pipeline step derived from this one by applying a function
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 08 19:36:35 UTC 2024
    - 98.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Streams.java

                  @Override
                  public boolean tryAdvance(Consumer<? super R> action) {
                    if (itrA.hasNext() && itrB.hasNext()) {
                      action.accept(function.apply(itrA.next(), itrB.next()));
                      return true;
                    }
                    return false;
                  }
                },
                isParallel)
            .onClose(streamA::close)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/testing/CollectorTester.java

            for (T input : inputs) {
              A newAccum = collector.supplier().get();
              collector.accumulator().accept(newAccum, input);
              accum = collector.combiner().apply(accum, newAccum);
            }
            return accum;
          }
        },
        /** Get one accumulator for each element and merge the accumulators right-to-left. */
        MERGE_RIGHT_ASSOCIATIVE {
          @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:40:56 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  8. .teamcity/src/test/kotlin/ApplyDefaultConfigurationTest.kt

            every {
                buildType.steps(capture(stepsCapturer))
            } answers {
                stepsCapturer.captured(steps)
                mockk()
            }
        }
    
        @Test
        fun `can apply defaults to configurations`() {
            applyDefaults(buildModel, buildType, "myTask")
    
            assertEquals(
                listOf(
                    "KILL_LEAKED_PROCESSES_FROM_PREVIOUS_BUILDS",
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Sep 24 06:22:49 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/FilteredEntryMultimap.java

        return predicate.apply(immutableEntry(key, value));
      }
    
      final class ValuePredicate implements Predicate<V> {
        @ParametricNullness private final K key;
    
        ValuePredicate(@ParametricNullness K key) {
          this.key = key;
        }
    
        @Override
        public boolean apply(@ParametricNullness V value) {
          return satisfies(key, value);
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  10. build-logic/buildquality/src/test/kotlin/gradlebuild/testcleanup/TestFilesCleanupServiceTest.kt

                import org.gradle.api.internal.tasks.testing.TestResultProcessor
    
                plugins {
                    id("gradlebuild.ci-reporting")
                }
    
                subprojects {
                    apply(plugin = "gradlebuild.ci-reporting")
                }
    
                project(":failed-test-with-leftover").configureTestWithLeftover(false, true)
                project(":flaky-test-with-leftover").configureTestWithLeftover(true, true)
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Jun 14 12:35:52 UTC 2023
    - 10.6K bytes
    - Viewed (0)
Back to top