Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 931 for Elements (0.39 seconds)

  1. android/guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java

                  protected List<String> create(String[] elements) {
                    return new AbstractList<String>() {
                      @Override
                      public int size() {
                        return elements.length;
                      }
    
                      @Override
                      public String get(int index) {
                        return elements[index];
                      }
                    };
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 04 15:04:05 GMT 2025
    - 12K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java

                  protected List<String> create(String[] elements) {
                    return new AbstractList<String>() {
                      @Override
                      public int size() {
                        return elements.length;
                      }
    
                      @Override
                      public String get(int index) {
                        return elements[index];
                      }
                    };
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 04 15:04:05 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/collect/PeekingIteratorTest.java

        assertEquals("Should have removed an element", 2, list.size());
        assertFalse("Second element should be gone", list.contains("B"));
      }
    
      static class ThrowsAtEndException extends RuntimeException {
        /* nothing */
      }
    
      /**
       * This Iterator claims to have more elements than the underlying iterable, but when you try to
       * fetch the extra elements, it throws an unchecked exception.
       */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

          for (int i = 0; i < 100; i++) {
            Element element = Element.values()[random.nextInt(range)];
            elements.add(element);
            queue.add(element);
          }
          Iterator<Element> queueIterator = queue.iterator();
          int remaining = queue.size();
          while (queueIterator.hasNext()) {
            Element element = queueIterator.next();
            remaining--;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 36.1K bytes
    - Click Count (0)
  5. okhttp/src/jvmMain/resources/META-INF/native-image/okhttp/okhttp/native-image.properties

    Args = -H:+AddAllCharsets --enable-http --enable-https --features=okhttp3.internal.graal.OkHttpFeature --report-unsupported-elements-at-runtime...
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 144 bytes
    - Click Count (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

            throw PermittedMetaException.ISE;
          }
        }
    
        private List<E> getElements() {
          List<E> elements = new ArrayList<>();
          Helpers.addAll(elements, previousElements);
          Helpers.addAll(elements, Helpers.reverse(nextElements));
          return elements;
        }
      }
    
      public enum KnownOrder {
        KNOWN_ORDER,
        UNKNOWN_ORDER
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed May 14 19:40:47 GMT 2025
    - 20.8K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/Multisets.java

      /**
       * Returns the expected number of distinct elements given the specified elements. The number of
       * distinct elements is only computed if {@code elements} is an instance of {@code Multiset};
       * otherwise the default value of 11 is returned.
       */
      static int inferDistinctElements(Iterable<?> elements) {
        if (elements instanceof Multiset) {
          return ((Multiset<?>) elements).elementSet().size();
        }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 41.2K bytes
    - Click Count (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/features/CollectionFeature.java

      /**
       * Indicates that a collection disallows certain elements (other than {@code null}, whose validity
       * as an element is indicated by the presence or absence of {@link #ALLOWS_NULL_VALUES}). From the
       * documentation for {@link Collection}:
       *
       * <blockquote>
       *
       * "Some collection implementations have restrictions on the elements that they may contain. For
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Oct 30 16:15:19 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/ObjectArrays.java

      /**
       * Returns a new array that prepends {@code element} to {@code array}.
       *
       * @param element the element to prepend to the front of {@code array}
       * @param array the array of elements to append
       * @return an array whose size is one larger than {@code array}, with {@code element} occupying
       *     the first position, and the elements of {@code array} occupying the remaining elements.
       */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Dec 09 15:48:28 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  10. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

     * elements FIFO (first-in-first-out). The head of the queue is that element that has been
     * on the queue the longest time. The tail of the queue is that element that has been on
     * the queue the shortest time. New elements are inserted at the tail of the queue, and the queue
     * retrieval operations obtain elements at the head of the queue.
     *
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 22.4K bytes
    - Click Count (0)
Back to Top