- Sort Score
- Result 10 results
- Languages All
Results 611 - 620 of 1,253 for Exists (0.05 sec)
-
guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java
package com.google.common.collect.testing; import static com.google.common.collect.Lists.newArrayList; import static com.google.common.collect.testing.IteratorFeature.MODIFIABLE; import static java.util.Collections.emptyList; import com.google.common.annotations.GwtCompatible; import com.google.common.collect.ImmutableList; import com.google.common.collect.Lists; import java.util.Iterator; import java.util.List;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 10.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/LineBufferTest.java
*/ package com.google.common.io; import static java.lang.Math.max; import static java.lang.Math.min; import com.google.common.base.Function; import com.google.common.collect.Lists; import java.io.BufferedReader; import java.io.FilterReader; import java.io.IOException; import java.io.Reader; import java.io.StringReader; import java.nio.CharBuffer; import java.util.Arrays;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 4.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/LineBufferTest.java
*/ package com.google.common.io; import static java.lang.Math.max; import static java.lang.Math.min; import com.google.common.base.Function; import com.google.common.collect.Lists; import java.io.BufferedReader; import java.io.FilterReader; import java.io.IOException; import java.io.Reader; import java.io.StringReader; import java.nio.CharBuffer; import java.util.Arrays;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 4.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/eventbus/outside/NeitherAbstractNorAnnotatedInSuperclassTest.java
import com.google.common.collect.Lists; import com.google.common.eventbus.Subscribe; import com.google.common.eventbus.outside.NeitherAbstractNorAnnotatedInSuperclassTest.SubClass; import java.util.List; public class NeitherAbstractNorAnnotatedInSuperclassTest extends AbstractEventBusTest<SubClass> { static class SuperClass { final List<Object> neitherOverriddenNorAnnotatedEvents = Lists.newArrayList();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 08 21:35:40 UTC 2022 - 2.5K bytes - Viewed (0) -
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) -
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) -
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultClasspathTransformation.java
// } // ); List<MetadataGraphEdge> exits = graph.getExcidentEdges(node); if (exits != null && exits.size() > 0) { MetadataGraphEdge[] sortedExits = exits.toArray(new MetadataGraphEdge[0]); Arrays.sort(sortedExits, (e1, e2) -> { if (e1.getDepth() == e2.getDepth()) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.3K bytes - Viewed (0)