Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 931 for Elements (0.03 seconds)

  1. guava/src/com/google/common/collect/CompactHashSet.java

       * unspecified order.
       *
       * @param elements the elements that the set should contain
       * @return a new {@code CompactHashSet} containing those elements (minus duplicates)
       */
      @SafeVarargs
      public static <E extends @Nullable Object> CompactHashSet<E> create(E... elements) {
        CompactHashSet<E> set = createWithExpectedSize(elements.length);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 24.7K bytes
    - Click Count (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/DomBuilder.groovy

            this.parent = parent
        }
    
        protected Element createNode(Object name) {
            Element element = document.createElement(name as String)
            if (getCurrent() == null) {
                elements << element
                parent?.appendChild(element)
            }
            return element
        }
    
        protected Element createNode(Object name, Map attributes) {
            Element element = createNode(name)
            attributes.each {key, value ->
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.7K bytes
    - Click Count (0)
  3. guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java

                new TestEnumSetGenerator() {
                  @Override
                  public Set<AnEnum> create(AnEnum[] elements) {
                    return (elements.length == 0)
                        ? EnumSet.noneOf(AnEnum.class)
                        : EnumSet.copyOf(MinimalCollection.of(elements));
                  }
                })
            .named("EnumSet")
            .withFeatures(
                SetFeature.GENERAL_PURPOSE,
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Feb 19 21:24:11 GMT 2025
    - 19.8K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

        multimap.put(2, "foo");
        for (String element : elements) {
          multimap.put(3, element);
        }
      }
    
      static void populateMultimapForKeySet(Multimap<String, Integer> multimap, String[] elements) {
        for (String element : elements) {
          multimap.put(element, 2);
          multimap.put(element, 3);
        }
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Sep 24 22:52:18 GMT 2025
    - 28.6K bytes
    - Click Count (0)
  5. build-logic/documentation/src/test/groovy/gradlebuild/docs/FindBrokenInternalLinksTest.groovy

            """
    
            and:
            releaseNotes << """
    Nothing to write about
            """
    
            when:
            run('checkDeadInternalLinks').buildAndFail()
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Aug 21 16:24:54 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/EvictingQueue.java

    /**
     * A non-blocking queue which automatically evicts elements from the head of the queue when
     * attempting to add new elements onto the queue and it is full. This queue orders elements FIFO
     * (first-in-first-out). This data structure is logically equivalent to a circular buffer (i.e.,
     * cyclic buffer or ring buffer).
     *
     * <p>An evicting queue must be configured with a maximum size. Each time an element is added to a
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Feb 13 17:34:21 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/Ordering.java

       * @since 3.0
       */
      // TODO(kevinb): rerun benchmarks including new options
      public <E extends @NonNull T> ImmutableList<E> immutableSortedCopy(Iterable<E> elements) {
        return ImmutableList.sortedCopyOf(this, elements);
      }
    
      /**
       * Returns {@code true} if each element in {@code iterable} after the first is greater than or
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 39.5K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/collect/ForwardingListTest.java

        }
    
        @Override
        public boolean add(T element) {
          return standardAdd(element);
        }
    
        @Override
        public boolean addAll(Collection<? extends T> collection) {
          return standardAddAll(collection);
        }
    
        @Override
        public boolean addAll(int index, Collection<? extends T> elements) {
          return standardAddAll(index, elements);
        }
    
        @Override
        public void clear() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 6K bytes
    - Click Count (0)
  9. guava-testlib/src/com/google/common/collect/testing/TestStringListGenerator.java

        return new Strings();
      }
    
      @Override
      public List<String> create(Object... elements) {
        String[] array = new String[elements.length];
        int i = 0;
        for (Object e : elements) {
          array[i++] = (String) e;
        }
        return create(array);
      }
    
      /**
       * Creates a new collection containing the given elements; implement this method instead of {@link
       * #create(Object...)}.
       */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/TestCharacterListGenerator.java

        return new Chars();
      }
    
      @Override
      public List<Character> create(Object... elements) {
        Character[] array = new Character[elements.length];
        int i = 0;
        for (Object e : elements) {
          array[i++] = (Character) e;
        }
        return create(array);
      }
    
      /**
       * Creates a new collection containing the given elements; implement this method instead of {@link
       * #create(Object...)}.
       */
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 1.8K bytes
    - Click Count (0)
Back to Top