Search Options

Results per page
Sort
Preferred Languages
Advance

Results 351 - 360 of 854 for Elements (0.03 sec)

  1. android/guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java

          return Ordering.natural().sortedCopy(insertionOrder);
        }
    
        @Override
        public Set<Integer> create(Object... elements) {
          ImmutableRangeSet.Builder<Integer> builder = ImmutableRangeSet.builder();
          for (Object o : elements) {
            Integer i = (Integer) o;
            builder.add(Range.singleton(i));
          }
          return builder.build().asSet(DiscreteDomain.integers());
        }
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Jan 25 16:19:30 UTC 2025
    - 21.7K bytes
    - Viewed (0)
  2. 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: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 993 bytes
    - Viewed (0)
  3. cmd/net_test.go

    		},
    		// With a list of only one element nothing to sort.
    		{
    			ipList:       []string{"hostname"},
    			sortedIPList: []string{"hostname"},
    		},
    		// With a list of only one element nothing to sort.
    		{
    			ipList:       []string{"127.0.0.1"},
    			sortedIPList: []string{"127.0.0.1"},
    		},
    		// Non parsable ip is assumed to be hostname and gets preserved
    		// as the left most elements, regardless of IP based sorting.
    		{
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Oct 10 18:57:03 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/SortedMultisetTestSuiteBuilder.java

        }
    
        @Override
        public Iterable<E> order(List<E> insertionOrder) {
          return delegate.order(insertionOrder);
        }
    
        @Override
        public Multiset<E> create(Object... elements) {
          return delegate.create(elements);
        }
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 08 18:35:13 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  5. 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 Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/UnsignedLongs.java

        }
      }
    
      /**
       * Sorts the array, treating its elements as unsigned 64-bit integers.
       *
       * @since 23.1
       */
      public static void sort(long[] array) {
        checkNotNull(array);
        sort(array, 0, array.length);
      }
    
      /**
       * Sorts the array between {@code fromIndex} inclusive and {@code toIndex} exclusive, treating its
       * elements as unsigned 64-bit integers.
       *
       * @since 23.1
       */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  7. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/InvokerRequest.java

        }
    
        /**
         * Returns a list of core extensions from all sources, that were discovered and loaded. Each instance of
         * {@link CoreExtensions} is validated, but the list elements may have overlapping elements, that requires
         * some logic to sort out (like precedence).
         * <p>
         * The list of {@link CoreExtensions} if present, is in precedence order.
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ConsumingQueueIterator.java

    import com.google.common.annotations.GwtCompatible;
    import java.util.Queue;
    import org.jspecify.annotations.Nullable;
    
    /**
     * An Iterator implementation which draws elements from a queue, removing them from the queue as it
     * iterates. This class is not thread safe.
     */
    @GwtCompatible
    final class ConsumingQueueIterator<T extends @Nullable Object> extends AbstractIterator<T> {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/cache/CacheBuilderGwtTest.java

        // Add more than two elements to increment size removals.
        cache.put(3, 20);
        cache.put(6, 2);
        cache.put(98, 45);
        cache.put(56, 76);
        cache.put(23, 84);
    
        // Replace the two present elements.
        cache.put(23, 20);
        cache.put(56, 49);
        cache.put(23, 2);
        cache.put(56, 4);
    
        // Expire the two present elements.
        fakeTicker.advance(1001, MILLISECONDS);
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 14.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ConcurrentHashMultisetTest.java

          protected Multiset<String> create(String[] elements) {
            return ConcurrentHashMultiset.create(asList(elements));
          }
        };
      }
    
      @AndroidIncompatible // test-suite builders
      private static TestStringMultisetGenerator concurrentSkipListMultisetGenerator() {
        return new TestStringMultisetGenerator() {
          @Override
          protected Multiset<String> create(String[] elements) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Dec 08 22:42:14 UTC 2025
    - 16.3K bytes
    - Viewed (0)
Back to top