Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 73 for pollable (0.15 sec)

  1. guava/src/com/google/common/collect/Multimaps.java

       */
      public static <K extends @Nullable Object, V extends @Nullable Object> Multimap<K, V> newMultimap(
          Map<K, Collection<V>> map, final Supplier<? extends Collection<V>> factory) {
        return new CustomMultimap<>(map, factory);
      }
    
      private static class CustomMultimap<K extends @Nullable Object, V extends @Nullable Object>
          extends AbstractMapBasedMultimap<K, V> {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 86.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Iterators.java

       * @throws IllegalArgumentException if {@code size} is nonpositive
       */
      public static <T extends @Nullable Object>
          UnmodifiableIterator<List<@Nullable T>> paddedPartition(Iterator<T> iterator, int size) {
        return partitionImpl(iterator, size, true);
      }
    
      private static <T extends @Nullable Object> UnmodifiableIterator<List<@Nullable T>> partitionImpl(
          Iterator<T> iterator, int size, boolean pad) {
        checkNotNull(iterator);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 03 14:46:32 UTC 2024
    - 50.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Iterators.java

       * @throws IllegalArgumentException if {@code size} is nonpositive
       */
      public static <T extends @Nullable Object>
          UnmodifiableIterator<List<@Nullable T>> paddedPartition(Iterator<T> iterator, int size) {
        return partitionImpl(iterator, size, true);
      }
    
      private static <T extends @Nullable Object> UnmodifiableIterator<List<@Nullable T>> partitionImpl(
          Iterator<T> iterator, int size, boolean pad) {
        checkNotNull(iterator);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 03 14:46:32 UTC 2024
    - 50.2K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/AsmBackedClassGeneratorTest.java

            public <T extends IOException, S extends Callable<String>, V> BeanWithComplexConstructor(
                Callable rawValue,
                Callable<String> value,
                Callable<? extends String> subType,
                Callable<? super String> superType,
                Callable<?> wildcard,
                Callable<? extends Callable<?>> nested,
                Callable<S> typeVar,
                Callable<? extends T> typeVarWithBounds,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 74.6K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/parameters/BuildProgressListenerAdapter.java

        }
    
        private static FailureContainer toFailureContainer(@Nullable InternalBasicProblemDetailsVersion3 problemDetails) {
            return toFailureContainer(problemDetails == null ? null : problemDetails.getFailure());
        }
    
        private static FailureContainer toFailureContainer(@Nullable InternalFailure failure) {
            if (failure == null) {
                return new DefaultFailureContainer(null);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 67.5K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/builder/NodeState.java

                }
                excludedByEither.add(constraintExclusions);
            }
            return excludedByEither;
        }
    
        @Nullable
        private ExcludeSpec joinNodeExclusions(@Nullable ExcludeSpec nodeExclusions, @Nullable Set<ExcludeSpec> excludedByEither) {
            if (excludedByEither != null) {
                if (nodeExclusions != null) {
                    excludedByEither.add(nodeExclusions);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 14:19:34 UTC 2024
    - 58.9K bytes
    - Viewed (0)
  7. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/DefaultConfigurableFileCollectionSpec.groovy

        }
    
        def "can use a callable to specify the contents of the collection"() {
            given:
            def file1 = new File("1")
            def file2 = new File("2")
            def callable = Mock(Callable)
    
            when:
            collection.from(callable)
            def files = collection.files
    
            then:
            1 * callable.call() >> ["src1", "src2"]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 18 17:09:50 UTC 2024
    - 53K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Sets.java

       * @since 12.0
       */
      public static <E extends @Nullable Object> NavigableSet<E> unmodifiableNavigableSet(
          NavigableSet<E> set) {
        if (set instanceof ImmutableCollection || set instanceof UnmodifiableNavigableSet) {
          return set;
        }
        return new UnmodifiableNavigableSet<>(set);
      }
    
      static final class UnmodifiableNavigableSet<E extends @Nullable Object>
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Sets.java

       * @since 12.0
       */
      public static <E extends @Nullable Object> NavigableSet<E> unmodifiableNavigableSet(
          NavigableSet<E> set) {
        if (set instanceof ImmutableCollection || set instanceof UnmodifiableNavigableSet) {
          return set;
        }
        return new UnmodifiableNavigableSet<>(set);
      }
    
      static final class UnmodifiableNavigableSet<E extends @Nullable Object>
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 77.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        Iterator<@Nullable String> set = Arrays.<@Nullable String>asList("a", null, "b").iterator();
        assertTrue(Iterators.contains(set, "b"));
      }
    
      public void test_contains_nonnull_no() {
        Iterator<String> set = asList("a", "b").iterator();
        assertFalse(Iterators.contains(set, "c"));
      }
    
      public void test_contains_null_yes() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 03 13:01:51 UTC 2024
    - 55.7K bytes
    - Viewed (0)
Back to top