- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 931 for Elements (0.26 seconds)
-
guava/src/com/google/common/collect/ImmutableSortedMultiset.java
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 29.5K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestListGenerator.java
import org.jspecify.annotations.Nullable; /** * Creates sets, containing sample elements, to be tested. * * @author Kevin Bourrillion */ @GwtCompatible @NullMarked public interface TestListGenerator<E extends @Nullable Object> extends TestCollectionGenerator<E> { @Override List<E> create(Object... elements);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 1.1K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ImmutableCollection.java
public Builder<E> add(E... elements) { for (E element : elements) { add(element); } return this; } /** * Adds each element of {@code elements} to the {@code ImmutableCollection} being built. * * <p>Note that each builder class overrides this method in order to covariantly return its own * type. * * @param elements the elements to add
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 21.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableSet.java
* elements (only the first duplicate element is added). * * @param elements the elements to add * @return this {@code Builder} object * @throws NullPointerException if {@code elements} is null or contains a null element */ @Override @CanIgnoreReturnValue public Builder<E> addAll(Iterable<? extends E> elements) {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Nov 07 16:09:47 GMT 2025 - 35.3K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/SetTestSuiteBuilder.java
} @Override public SampleElements<E> samples() { return gen.samples(); } @Override public Set<E> create(Object... elements) { return (Set<E>) SerializableTester.reserialize(gen.create(elements)); } @Override public E[] createArray(int length) { return gen.createArray(length); } @OverrideCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 4.7K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/JavaPathType.java
* For example, if this type is {@link #MODULES}, then the option is {@code "--module-path"} * followed by the specified path elements. * The paths are not quoted. * * @param paths the path to format as a tool option * @return the option associated to this path type followed by the given path elements,Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Dec 15 11:13:42 GMT 2025 - 15.7K bytes - Click Count (1) -
guava/src/com/google/common/collect/ImmutableList.java
// We special-case for 0 or 1 elements, but going further is madness. if (!elements.hasNext()) { return of(); } E first = elements.next(); if (!elements.hasNext()) { return of(first); } else { return new ImmutableList.Builder<E>().add(first).addAll(elements).build(); } } /** * Returns an immutable list containing the given elements, in order.Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Nov 17 22:50:48 GMT 2025 - 30.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/RegularImmutableSortedSet.java
int index = headIndex(element, true) - 1; return (index == -1) ? null : elements.get(index); } @Override public @Nullable E ceiling(E element) { int index = tailIndex(element, true); return (index == size()) ? null : elements.get(index); } @Override public @Nullable E higher(E element) { int index = tailIndex(element, false);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 9K bytes - Click Count (0) -
guava/src/com/google/common/collect/Iterables.java
* have been removed. * * <p><b>Warning:</b> Typical uses of the resulting iterator may produce an infinite loop. You * should use an explicit {@code break} or be certain that you will eventually remove all the * elements. * * <p>To cycle over the elements {@code n} times, use the following: {@code * Iterables.concat(Collections.nCopies(n, Arrays.asList(elements)))} *Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Nov 17 22:50:48 GMT 2025 - 43.6K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java
E[] elements = createSamplesArray(); E duplicate = elements[(elements.length / 2) - 1]; elements[(elements.length / 2) + 1] = duplicate; return new ArrayWithDuplicate<>(elements, duplicate); } // Helper methods to improve readability of derived classes protected int getNumElements() { return getSubjectGenerator().getCollectionSize().getNumElements(); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 20:54:16 GMT 2025 - 8.9K bytes - Click Count (0)