Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 373 for iterables (0.04 sec)

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

    import com.google.common.base.TestExceptions.SomeUncheckedException;
    import com.google.common.base.TestExceptions.YetAnotherCheckedException;
    import com.google.common.collect.Iterables;
    import com.google.common.primitives.Ints;
    import com.google.common.testing.NullPointerTester;
    import java.util.List;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/reflect/Types.java

      }
    
      private static Type[] toArray(Collection<Type> types) {
        return types.toArray(new Type[0]);
      }
    
      private static Iterable<Type> filterUpperBounds(Iterable<Type> bounds) {
        return Iterables.filter(bounds, Predicates.not(Predicates.<Type>equalTo(Object.class)));
      }
    
      private static void disallowPrimitiveType(Type[] types, String usedAs) {
        for (Type type : types) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableRangeSet.java

    import static com.google.common.base.Preconditions.checkElementIndex;
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.collect.Iterables.getOnlyElement;
    import static com.google.common.collect.Iterators.emptyIterator;
    import static com.google.common.collect.SortedLists.KeyAbsentBehavior.NEXT_HIGHER;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 27.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/MoreObjects.java

       * throws a {@link NullPointerException}.
       *
       * <p>To find the first non-null element in an iterable, use {@code Iterables.find(iterable,
       * Predicates.notNull())}. For varargs, use {@code Iterables.find(Arrays.asList(a, b, c, ...),
       * Predicates.notNull())}, static importing as necessary.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableEnumSet.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.collect.Iterables.getOnlyElement;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ForwardingNavigableMap.java

       * #entrySet}. If you override {@code entrySet}, you may wish to override {@code firstEntry} to
       * forward to this implementation.
       */
      protected @Nullable Entry<K, V> standardFirstEntry() {
        return Iterables.<@Nullable Entry<K, V>>getFirst(entrySet(), null);
      }
    
      /**
       * A sensible definition of {@link #firstKey} in terms of {@code firstEntry}. If you override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ForwardingNavigableMap.java

       * #entrySet}. If you override {@code entrySet}, you may wish to override {@code firstEntry} to
       * forward to this implementation.
       */
      protected @Nullable Entry<K, V> standardFirstEntry() {
        return Iterables.<@Nullable Entry<K, V>>getFirst(entrySet(), null);
      }
    
      /**
       * A sensible definition of {@link #firstKey} in terms of {@code firstEntry}. If you override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/MoreObjects.java

       * throws a {@link NullPointerException}.
       *
       * <p>To find the first non-null element in an iterable, use {@code Iterables.find(iterable,
       * Predicates.notNull())}. For varargs, use {@code Iterables.find(Arrays.asList(a, b, c, ...),
       * Predicates.notNull())}, static importing as necessary.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

       * is {@code explicitTestNames}.
       */
      @VisibleForTesting
      List<Class<?>> findClassesToTest(
          Iterable<? extends Class<?>> classes, Iterable<String> explicitTestNames) {
        // "a.b.Foo" -> a.b.Foo.class
        TreeMap<String, Class<?>> classMap = Maps.newTreeMap();
        for (Class<?> cls : classes) {
          classMap.put(cls.getName(), cls);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  10. android/guava-tests/benchmark/com/google/common/collect/MapsMemoryBenchmark.java

    /** Benchmarks for memory consumption of map implementations. */
    @NullUnmarked
    public class MapsMemoryBenchmark {
      static final Map<String, MapsImplEnum> mapEnums =
          uniqueIndex(
              Iterables.<MapsImplEnum>concat(
                  asList(MapImpl.values()), asList(SortedMapImpl.values()), asList(BiMapImpl.values())),
              toStringFunction());
    
      @Param({
        "HashMapImpl",
        "LinkedHashMapImpl",
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 3.4K bytes
    - Viewed (0)
Back to top