- Sort Score
- Result 10 results
- Languages All
Results 431 - 440 of 1,014 for elements (0.04 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/TestEnumMapGenerator.java
public final AnEnum[] createKeyArray(int length) { return new AnEnum[length]; } @Override public final String[] createValueArray(int length) { return new String[length]; } /** Returns the elements sorted in natural order. */ @Override public Iterable<Entry<AnEnum, String>> order(List<Entry<AnEnum, String>> insertionOrder) { return orderEntriesByKey(insertionOrder); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 2.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/MinimalSet.java
import org.jspecify.annotations.Nullable; /** * A simplistic set which implements the bare minimum so that it can be used in tests without * relying on any specific Set implementations. Slow. Explicitly allows null elements so that they * can be used in the testers. * * @author Regina O'Dell */ @GwtCompatible @NullMarked public class MinimalSet<E extends @Nullable Object> extends MinimalCollection<E> implements Set<E> {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.8K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/providers/packaging/AbstractLifecycleMappingProvider.java
requireNonNull(pluginBindings); final int len = pluginBindings.length; if (len < 2 || len % 2 != 0) { throw new IllegalArgumentException("Plugin bindings must have more than 0, even count of elements"); } HashMap<String, LifecyclePhase> lifecyclePhaseBindings = new HashMap<>(len / 2); for (int i = 0; i < len; i = i + 2) {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sun Dec 22 12:24:35 UTC 2024 - 3.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/AbstractListTester.java
} /** * {@inheritDoc} * * <p>The {@code AbstractListTester} implementation overrides {@link * AbstractCollectionTester#expectContents(Collection)} to verify that the order of the elements * in the list under test matches what is expected. */ @Override protected void expectContents(Collection<E> expectedCollection) { List<E> expectedList = copyToList(expectedCollection);Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.9K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/MinimalSet.java
import org.jspecify.annotations.Nullable; /** * A simplistic set which implements the bare minimum so that it can be used in tests without * relying on any specific Set implementations. Slow. Explicitly allows null elements so that they * can be used in the testers. * * @author Regina O'Dell */ @GwtCompatible @NullMarked public class MinimalSet<E extends @Nullable Object> extends MinimalCollection<E> implements Set<E> {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.8K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/ForwardingBlockingQueue.java
* invoke methods, they invoke methods on the {@code ForwardingBlockingQueue}. * * @author Raimundo Mirisola * @param <E> the type of elements held in this collection * @since 4.0 */ @J2ktIncompatible @GwtIncompatible public abstract class ForwardingBlockingQueue<E> extends ForwardingQueue<E> implements BlockingQueue<E> {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/BytesTest.java
testRotate(new byte[] {1}, 0, 0, 1, new byte[] {1}); testRotate(new byte[] {1}, 1, 0, 1, new byte[] {1}); testRotate(new byte[] {1}, 1, 1, 1, new byte[] {1}); // Rotate the central 5 elements, leaving the ends as-is testRotate(new byte[] {0, 1, 2, 3, 4, 5, 6}, -6, 1, 6, new byte[] {0, 2, 3, 4, 5, 1, 6}); testRotate(new byte[] {0, 1, 2, 3, 4, 5, 6}, -1, 1, 6, new byte[] {0, 2, 3, 4, 5, 1, 6});Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 17.5K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocPropertiesBuilder.java
List<Element> valueTitles = new ArrayList<Element>(); for (int i = 1; i < header.size(); i++) { Element element = header.get(i); Element override = findChild(element, "overrides"); if (override != null) { element.removeChild(override); inheritedValueTitleMapping.put(override.getTextContent(), element); } Node firstChild = element.getFirstChild();
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 6.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java
@SuppressWarnings("JUnit4ClassUsedInJUnit3") public class CollectionRetainAllTester<E> extends AbstractCollectionTester<E> { /** A collection of elements to retain, along with a description for use in failure messages. */ private final class Target { private final Collection<E> toRetain; private final String description;Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 20:54:16 UTC 2025 - 10.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMapEntry.java
* * <p>The returned array has all its elements set to their initial null values. However, we don't * declare it as {@code @Nullable ImmutableMapEntry[]} because our checker doesn't require newly * created arrays to have a {@code @Nullable} element type even when they're created directly with * {@code new ImmutableMapEntry[...]}, so it seems silly to insist on that only here.
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jul 01 21:42:29 UTC 2025 - 4.6K bytes - Viewed (0)