- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 592 for Lists (0.08 sec)
-
android/guava-tests/test/com/google/common/eventbus/outside/AbstractNotAnnotatedInSuperclassTest.java
} static class SubClass extends SuperClass { final List<Object> overriddenInSubclassNowhereAnnotatedEvents = Lists.newArrayList(); final List<Object> overriddenAndAnnotatedInSubclassEvents = Lists.newArrayList(); @Override public void overriddenInSubclassNowhereAnnotated(Object o) { overriddenInSubclassNowhereAnnotatedEvents.add(o); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 08 21:35:40 UTC 2022 - 2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/SourceSinkTester.java
package com.google.common.io; import static com.google.common.base.Preconditions.checkNotNull; import com.google.common.collect.ImmutableList; import com.google.common.collect.ImmutableMap; import com.google.common.collect.Lists; import java.io.IOException; import java.io.Reader; import java.io.StringReader; import java.lang.reflect.Method; import java.lang.reflect.Modifier; import java.util.List; import junit.framework.TestCase; /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Apr 27 18:57:08 UTC 2022 - 4.9K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java
return this; } @Override public boolean equals(@Nullable Object obj) { return Lists.equalsImpl(this, obj); } @Override public int hashCode() { return Lists.hashCodeImpl(this); } public ImmutableList<E> reverse() { List<E> list = Lists.newArrayList(this); Collections.reverse(list); return unsafeDelegateList(list); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jun 14 22:14:46 UTC 2024 - 11.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java
assertEquals(4, (int) mmHeap.pollLast()); mmHeap.removeAll(Lists.newArrayList(2, 3)); assertEquals(3, mmHeap.size()); assertTrue("Heap is not intact after removeAll()", mmHeap.isIntact()); } public void testContains() { MinMaxPriorityQueue<Integer> mmHeap = MinMaxPriorityQueue.create(); mmHeap.addAll(Lists.newArrayList(1, 1, 2)); assertEquals(3, mmHeap.size());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 35.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListEqualsTester.java
assertFalse( "Two Lists should not be equal if exactly one of them has null at a given index.", getList().equals(other)); } @CollectionSize.Require(absent = CollectionSize.ZERO) public void testEquals_shorterList() { Collection<E> fewerElements = getSampleElements(getNumElements() - 1); assertFalse( "Lists of different sizes should not be equal.",
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 3.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingList.java
return Lists.equalsImpl(this, object); } /** * A sensible definition of {@link #hashCode} in terms of {@link #iterator}. If you override * {@link #iterator}, you may wish to override {@link #hashCode} to forward to this * implementation. * * @since 7.0 */ protected int standardHashCode() { return Lists.hashCodeImpl(this); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 12 15:26:39 UTC 2023 - 7.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapValuesTester.java
public void testValues() { List<V> expected = Lists.newArrayList(); for (Entry<K, V> entry : getSampleElements()) { expected.add(entry.getValue()); } assertEqualIgnoringOrder(expected, multimap().values()); } @CollectionFeature.Require(KNOWN_ORDER) public void testValuesInOrder() { List<V> expected = Lists.newArrayList(); for (Entry<K, V> entry : getOrderedElements()) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 2.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/eventbus/outside/BaseSubscriberFinderTest.java
import com.google.common.collect.Lists; import com.google.common.eventbus.Subscribe; import com.google.common.eventbus.outside.BaseSubscriberFinderTest.Subscriber; import java.util.List; public class BaseSubscriberFinderTest extends AbstractEventBusTest<Subscriber> { static class Subscriber { final List<Object> nonSubscriberEvents = Lists.newArrayList();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 08 21:35:40 UTC 2022 - 1.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/eventbus/outside/BaseSubscriberFinderTest.java
import com.google.common.collect.Lists; import com.google.common.eventbus.Subscribe; import com.google.common.eventbus.outside.BaseSubscriberFinderTest.Subscriber; import java.util.List; public class BaseSubscriberFinderTest extends AbstractEventBusTest<Subscriber> { static class Subscriber { final List<Object> nonSubscriberEvents = Lists.newArrayList();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 08 21:35:40 UTC 2022 - 1.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/eventbus/outside/AnnotatedAndAbstractInSuperclassTest.java
@Subscribe public abstract void overriddenInSubclass(Object o); } static class SubClass extends SuperClass { final List<Object> overriddenAndAnnotatedInSubclassEvents = Lists.newArrayList(); final List<Object> overriddenInSubclassEvents = Lists.newArrayList(); @Subscribe @Override public void overriddenAndAnnotatedInSubclass(Object o) { overriddenAndAnnotatedInSubclassEvents.add(o); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 08 21:35:40 UTC 2022 - 2K bytes - Viewed (0)