Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 463 for iterables (0.13 sec)

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

          throw new VerifyException(lenientFormat(errorMessageTemplate, errorMessageArgs));
        }
        return reference;
      }
    
      // TODO(kevinb): consider <T> T verifySingleton(Iterable<T>) to take over for
      // Iterables.getOnlyElement()
    
      private Verify() {}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon May 17 14:07:47 UTC 2021
    - 18.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Ordering.java

          Iterable<? extends Comparator<? super T>> comparators) {
        return new CompoundOrdering<>(comparators);
      }
    
      /**
       * Returns a new ordering which sorts iterables by comparing corresponding elements pairwise until
       * a nonzero result is found; imposes "dictionary order". If the end of one iterable is reached,
       * but not the other, the shorter iterable is considered to be less than the longer one. For
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableTable.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.collect.Iterables.getOnlyElement;
    import static com.google.common.collect.Tables.immutableCell;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/Collections2Test.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.base.Strings.isNullOrEmpty;
    import static com.google.common.collect.Iterables.concat;
    import static com.google.common.collect.Lists.newArrayList;
    import static com.google.common.collect.Lists.newLinkedList;
    import static com.google.common.truth.Truth.assertThat;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 10:16:44 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableList.java

       *
       * @throws NullPointerException if any element in the input is null
       * @since 21.0
       */
      public static <E extends Comparable<? super E>> ImmutableList<E> sortedCopyOf(
          Iterable<? extends E> elements) {
        Comparable<?>[] array = Iterables.toArray(elements, new Comparable<?>[0]);
        checkElementsNotNull((Object[]) array);
        Arrays.sort(array);
        return asImmutableList(array);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 16 19:14:45 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/Collections2Test.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.base.Strings.isNullOrEmpty;
    import static com.google.common.collect.Iterables.concat;
    import static com.google.common.collect.Lists.newArrayList;
    import static com.google.common.collect.Lists.newLinkedList;
    import static com.google.common.truth.Truth.assertThat;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 10:16:44 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

     * Other contributors include Andrew Wright, Jeffrey Hayes,
     * Pat Fisher, Mike Judd.
     */
    
    package com.google.common.util.concurrent;
    
    import static com.google.common.collect.Iterables.getOnlyElement;
    import static com.google.common.truth.Truth.assertThat;
    import static com.google.common.util.concurrent.MoreExecutors.directExecutor;
    import static com.google.common.util.concurrent.MoreExecutors.invokeAnyImpl;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/Verify.java

          throw new VerifyException(lenientFormat(errorMessageTemplate, errorMessageArgs));
        }
        return reference;
      }
    
      // TODO(kevinb): consider <T> T verifySingleton(Iterable<T>) to take over for
      // Iterables.getOnlyElement()
    
      private Verify() {}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon May 17 14:07:47 UTC 2021
    - 18.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

     * Other contributors include Andrew Wright, Jeffrey Hayes,
     * Pat Fisher, Mike Judd.
     */
    
    package com.google.common.util.concurrent;
    
    import static com.google.common.collect.Iterables.getOnlyElement;
    import static com.google.common.truth.Truth.assertThat;
    import static com.google.common.util.concurrent.MoreExecutors.directExecutor;
    import static com.google.common.util.concurrent.MoreExecutors.invokeAnyImpl;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ArrayTable.java

       */
      public static <R, C, V> ArrayTable<R, C, V> create(
          Iterable<? extends R> rowKeys, Iterable<? extends C> columnKeys) {
        return new ArrayTable<>(rowKeys, columnKeys);
      }
    
      /*
       * TODO(jlevy): Add factory methods taking an Enum class, instead of an
       * iterable, to specify the allowed row keys and/or column keys. Note that
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.3K bytes
    - Viewed (0)
Back to top