Search Options

Results per page
Sort
Preferred Languages
Advance

Results 651 - 660 of 833 for element (0.06 sec)

  1. src/main/java/org/codelibs/core/collection/EmptyEnumeration.java

     */
    package org.codelibs.core.collection;
    
    import java.util.Enumeration;
    
    /**
     * An empty {@link Enumeration}.
     *
     * @author higa
     * @param <T> the type of elements
     */
    public class EmptyEnumeration<T> extends IteratorEnumeration<T> {
    
        /**
         * Creates an {@link EmptyEnumeration}.
         */
        public EmptyEnumeration() {
            super(new EmptyIterator<T>());
        }
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 993 bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/ListTestSuiteBuilder.java

        }
    
        @Override
        public SampleElements<E> samples() {
          return gen.samples();
        }
    
        @Override
        public List<E> create(Object... elements) {
          return (List<E>) SerializableTester.reserialize(gen.create(elements));
        }
    
        @Override
        public E[] createArray(int length) {
          return gen.createArray(length);
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/ListListIteratorTester.java

          protected ListIterator<E> newTargetIterator() {
            resetCollection();
            return getList().listIterator();
          }
    
          @Override
          protected void verify(List<E> elements) {
            expectContents(elements);
          }
        }.test();
      }
    
      public void testListIterator_tooLow() {
        assertThrows(IndexOutOfBoundsException.class, () -> getList().listIterator(-1));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/TestCollectionGenerator.java

    import com.google.common.annotations.GwtCompatible;
    import java.util.Collection;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Creates collections, containing sample elements, to be tested.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @NullMarked
    public interface TestCollectionGenerator<E extends @Nullable Object>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Tables.java

      private Tables() {}
    
      /**
       * Returns a {@link Collector} that accumulates elements into a {@code Table} created using the
       * specified supplier, whose cells are generated by applying the provided mapping functions to the
       * input elements. Cells are inserted into the generated {@code Table} in encounter order.
       *
       * <p>If multiple input elements map to the same row and column, an {@code IllegalStateException}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/UnsignedInts.java

        }
      }
    
      /**
       * Sorts the array, treating its elements as unsigned 32-bit integers.
       *
       * @since 23.1
       */
      public static void sort(int[] array) {
        checkNotNull(array);
        sort(array, 0, array.length);
      }
    
      /**
       * Sorts the array between {@code fromIndex} inclusive and {@code toIndex} exclusive, treating its
       * elements as unsigned 32-bit integers.
       *
       * @since 23.1
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Feb 09 16:22:33 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt

        else -> (this as java.util.Collection<*>).toArray().asList().unmodifiable() as List<T>
      }
    
    /** Returns an immutable list containing [elements]. */
    @SafeVarargs
    internal fun <T> immutableListOf(vararg elements: T): List<T> = elements.toImmutableList()
    
    /** Returns an immutable list from copy of this. */
    internal fun <T> Array<out T>?.toImmutableList(): List<T> =
      when {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 10.2K bytes
    - Viewed (1)
  8. guava-testlib/src/com/google/common/collect/testing/NavigableSetTestSuiteBuilder.java

                    Collections.reverse(list);
                    return list;
                  }
    
                  @Override
                  public Set<E> create(Object... elements) {
                    NavigableSet<E> navigableSet = (NavigableSet<E>) delegate.create(elements);
                    return navigableSet.descendingSet();
                  }
                })
            .named(parentBuilder.getName() + " descending")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/ListTestSuiteBuilder.java

        }
    
        @Override
        public SampleElements<E> samples() {
          return gen.samples();
        }
    
        @Override
        public List<E> create(Object... elements) {
          return (List<E>) SerializableTester.reserialize(gen.create(elements));
        }
    
        @Override
        public E[] createArray(int length) {
          return gen.createArray(length);
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ImmutableClassToInstanceMapTest.java

                      @SuppressWarnings({"unchecked", "rawtypes"})
                      public Map<Class, Impl> create(Object... elements) {
                        ImmutableClassToInstanceMap.Builder<Impl> builder =
                            ImmutableClassToInstanceMap.builder();
                        for (Object object : elements) {
                          Entry<?, ?> entry = (Entry<?, ?>) object;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 7.5K bytes
    - Viewed (0)
Back to top