- Sort Score
- Result 10 results
- Languages All
Results 341 - 350 of 938 for _element (0.08 sec)
-
android/guava-tests/test/com/google/common/collect/MultisetsImmutableEntryTest.java
private static <E extends @Nullable Object> Entry<E> entry(final E element, final int count) { return Multisets.immutableEntry(element, count); } private static <E extends @Nullable Object> Entry<E> control(E element, int count) { return HashMultiset.create(nCopies(count, element)).entrySet().iterator().next(); } public void testToString() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 2.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/SortedMultisets.java
@Override public SortedSet<E> subSet(@ParametricNullness E fromElement, @ParametricNullness E toElement) { return multiset().subMultiset(fromElement, CLOSED, toElement, OPEN).elementSet(); } @Override public SortedSet<E> headSet(@ParametricNullness E toElement) { return multiset().headMultiset(toElement, OPEN).elementSet(); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 01 17:18:04 UTC 2021 - 5.6K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocMemberRenderer.java
*/ package gradlebuild.docs.dsl.docbook; import gradlebuild.docs.dsl.docbook.model.ClassDoc; import org.w3c.dom.Element; public interface ClassDocMemberRenderer { void renderSummaryTo(ClassDoc classDoc, Element parent); void renderDetailsTo(ClassDoc classDoc, Element parent);
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 903 bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/SetOperationsTest.java
protected Set<String> create(String[] elements) { checkArgument(elements.length == 3); // Put the sets in different orders for the hell of it return Sets.union( Sets.newLinkedHashSet(asList(elements)), Sets.newLinkedHashSet(asList(elements[1], elements[0], elements[2]))); } })
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 14.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetEntrySetTester.java
assertTrue( "multiset.entrySet.remove(presentEntry) returned false", getMultiset().entrySet().remove(Multisets.immutableEntry(e0(), 1))); assertFalse("multiset contains element after removing its entry", getMultiset().contains(e0())); } @CollectionSize.Require(absent = ZERO) @CollectionFeature.Require(SUPPORTS_REMOVE) public void testEntrySet_removeAbsent() { assertFalse(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 9.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/DescendingImmutableSortedMultiset.java
DescendingImmutableSortedMultiset(ImmutableSortedMultiset<E> forward) { this.forward = forward; } @Override public int count(@CheckForNull Object element) { return forward.count(element); } @Override @CheckForNull public Entry<E> firstEntry() { return forward.lastEntry(); } @Override @CheckForNull public Entry<E> lastEntry() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Nov 30 21:54:06 UTC 2023 - 2.5K bytes - Viewed (0) -
api/maven-api-meta/src/main/java/org/apache/maven/api/annotations/Nullable.java
*/ package org.apache.maven.api.annotations; import java.lang.annotation.Documented; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; /** * The annotated element can be {@code null}. * * @see Nonnull * @since 4.0.0 */ @Experimental @Documented @Retention(RetentionPolicy.RUNTIME)
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Thu Sep 12 06:14:46 UTC 2024 - 1.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/QueueRemoveTester.java
public void testRemove_size1() { assertEquals("size1Queue.remove() should return first element", e0(), getQueue().remove()); expectMissing(e0()); } @CollectionFeature.Require({KNOWN_ORDER, SUPPORTS_REMOVE}) @CollectionSize.Require(SEVERAL) public void testRemove_sizeMany() { assertEquals("sizeManyQueue.remove() should return first element", e0(), getQueue().remove()); expectMissing(e0()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 20:00:30 UTC 2024 - 2.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/QueuePollTester.java
public void testPoll_size1() { assertEquals("size1Queue.poll() should return first element", e0(), getQueue().poll()); expectMissing(e0()); } @CollectionFeature.Require({KNOWN_ORDER, SUPPORTS_REMOVE}) @CollectionSize.Require(SEVERAL) public void testPoll_sizeMany() { assertEquals("sizeManyQueue.poll() should return first element", e0(), getQueue().poll()); expectMissing(e0()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 2.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingQueue.java
} } /** * A sensible definition of {@link #peek} in terms of {@link #element}. If you override {@link * #element}, you may wish to override {@link #peek} to forward to this implementation. * * @since 7.0 */ @CheckForNull protected E standardPeek() { try { return element(); } catch (NoSuchElementException caught) { return null; } } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 29 19:42:21 UTC 2021 - 4.1K bytes - Viewed (0)