- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 854 for Elements (0.04 sec)
-
guava/src/com/google/common/collect/Iterators.java
* elements. */ @SafeVarargs public static <T extends @Nullable Object> Iterator<T> cycle(T... elements) { return cycle(Lists.newArrayList(elements)); } /** * Returns an Iterator that walks the specified array, nulling out elements behind it. This can * avoid memory leaks when an element is no longer necessary. *
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 16 12:42:11 UTC 2025 - 51.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/SetHashCodeTester.java
public void testHashCode_containingNull() { Collection<E> elements = getSampleElements(getNumElements() - 1); int expectedHashCode = 0; for (E element : elements) { expectedHashCode += (element == null) ? 0 : element.hashCode(); } elements.add(null); collection = getSubjectGenerator().create(elements.toArray()); assertEquals(
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 3.1K bytes - Viewed (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,Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Dec 15 11:13:42 UTC 2025 - 15.7K bytes - Viewed (1) -
compat/maven-compat/src/test/java/org/apache/maven/ProjectDependenciesResolverTest.java
project.setArtifacts(resolver.resolve(project, Collections.singleton(Artifact.SCOPE_COMPILE), session)); List<String> elements = project.getCompileClasspathElements(); assertEquals(2, elements.size()); @SuppressWarnings("deprecation") List<Artifact> artifacts = project.getCompileArtifacts(); assertEquals(1, artifacts.size());Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 3.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestsForQueuesInJavaUtil.java
// also mean that the iterator returns the head element first, which those // don't. public Test testsForPriorityBlockingQueue() { return QueueTestSuiteBuilder.using( new TestStringQueueGenerator() { @Override public Queue<String> create(String[] elements) { return new PriorityBlockingQueue<>(MinimalCollection.of(elements)); } })
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 16:28:01 UTC 2025 - 7.7K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java
/** * Inserts the specified element into this priority queue. * * @param e the element to add * @return {@code true} (as specified by {@link Queue#offer}) * @throws ClassCastException if the specified element cannot be compared with elements currently * in the priority queue according to the priority queue's ordering * @throws NullPointerException if the specified element is null */Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 18.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SetViewTest.java
@Override protected Set<String> create(String[] elements) { // Put the sets in different orders for the hell of it return union( new LinkedHashSet<>(asList(elements[0], elements[1], elements[2])), new LinkedHashSet<>(asList(elements[1], elements[0], elements[2]))); } })Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 29.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Sets.java
* which the elements appear in the given collection. * * @param elements the elements, all of the same {@code enum} type, that the set should contain * @return an immutable set containing those elements, minus duplicates */ public static <E extends Enum<E>> ImmutableSet<E> immutableEnumSet(Iterable<E> elements) { if (elements instanceof ImmutableEnumSet) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 81.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularImmutableMultiset.java
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Feb 19 21:24:11 UTC 2025 - 15K bytes - Viewed (0)