Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 453 for Iterables (0.06 sec)

  1. android/guava/src/com/google/common/io/MoreFiles.java

       * <p>If the {@link Path} passed to one of the traversal methods does not exist or is not a
       * directory, no exception will be thrown and the returned {@link Iterable} will contain a single
       * element: that path.
       *
       * <p>{@link DirectoryIteratorException} may be thrown when iterating {@link Iterable} instances
       * created by this traverser if an {@link IOException} is thrown by a call to {@link
       * #listFiles(Path)}.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 35K bytes
    - Viewed (0)
  2. guava/src/com/google/common/io/MoreFiles.java

       * <p>If the {@link Path} passed to one of the traversal methods does not exist or is not a
       * directory, no exception will be thrown and the returned {@link Iterable} will contain a single
       * element: that path.
       *
       * <p>{@link DirectoryIteratorException} may be thrown when iterating {@link Iterable} instances
       * created by this traverser if an {@link IOException} is thrown by a call to {@link
       * #listFiles(Path)}.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Maps.java

        }
    
        @Override
        @CheckForNull
        public Entry<K, V> pollFirstEntry() {
          return Iterables.removeFirstMatching(unfiltered.entrySet(), entryPredicate);
        }
    
        @Override
        @CheckForNull
        public Entry<K, V> pollLastEntry() {
          return Iterables.removeFirstMatching(unfiltered.descendingMap().entrySet(), entryPredicate);
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Maps.java

        }
    
        @Override
        @CheckForNull
        public Entry<K, V> pollFirstEntry() {
          return Iterables.removeFirstMatching(unfiltered.entrySet(), entryPredicate);
        }
    
        @Override
        @CheckForNull
        public Entry<K, V> pollLastEntry() {
          return Iterables.removeFirstMatching(unfiltered.descendingMap().entrySet(), entryPredicate);
        }
    
        @Override
    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. guava/src/com/google/common/collect/ImmutableMap.java

       * entries in the same order as the original iterable.
       *
       * @throws NullPointerException if any key, value, or entry is null
       * @throws IllegalArgumentException if two entries have the same key
       * @since 19.0
       */
      public static <K, V> ImmutableMap<K, V> copyOf(
          Iterable<? extends Entry<? extends K, ? extends V>> entries) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 44.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/Futures.java

        return delegatesCast;
      }
    
      /** Can't use Iterables.toArray because it's not gwt compatible */
      @SuppressWarnings("unchecked")
      private static <T extends @Nullable Object> ListenableFuture<? extends T>[] gwtCompatibleToArray(
          Iterable<? extends ListenableFuture<? extends T>> futures) {
        final Collection<ListenableFuture<? extends T>> collection;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

          boolean sameComparator,
          Iterable<? extends Entry<? extends K, ? extends V>> entries) {
        // "adding" type params to an array of a raw type should be safe as
        // long as no one can ever cast that same array instance back to a
        // raw type.
        @SuppressWarnings("unchecked")
        Entry<K, V>[] entryArray = (Entry[]) Iterables.toArray(entries, EMPTY_ENTRY_ARRAY);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 53K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/Futures.java

        return delegatesCast;
      }
    
      /** Can't use Iterables.toArray because it's not gwt compatible */
      @SuppressWarnings("unchecked")
      private static <T extends @Nullable Object> ListenableFuture<? extends T>[] gwtCompatibleToArray(
          Iterable<? extends ListenableFuture<? extends T>> futures) {
        final Collection<ListenableFuture<? extends T>> collection;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/PairwiseEquivalence.java

        implements Serializable {
      final Equivalence<E> elementEquivalence;
    
      PairwiseEquivalence(Equivalence<E> elementEquivalence) {
        this.elementEquivalence = Preconditions.checkNotNull(elementEquivalence);
      }
    
      @Override
      protected boolean doEquivalent(Iterable<T> iterableA, Iterable<T> iterableB) {
        Iterator<T> iteratorA = iterableA.iterator();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 23 15:09:35 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/base/JoinerTest.java

      // <Integer> needed to prevent warning :(
      private static final Iterable<Integer> ITERABLE_ = Arrays.<Integer>asList();
      private static final Iterable<Integer> ITERABLE_1 = Arrays.asList(1);
      private static final Iterable<Integer> ITERABLE_12 = Arrays.asList(1, 2);
      private static final Iterable<Integer> ITERABLE_123 = Arrays.asList(1, 2, 3);
      private static final Iterable<@Nullable Integer> ITERABLE_NULL = Arrays.asList((Integer) null);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 11.7K bytes
    - Viewed (0)
Back to top