- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 326 for List (0.14 sec)
-
android/guava-tests/test/com/google/common/reflect/TypeTokenSubtypeTest.java
return isSubtype(list); } @TestSubtype(suppressGetSupertype = true, suppressGetSubtype = true) public <T> Iterable<? extends T> wildCardsDoNotMatchByUpperBound(List<?> list) { return notSubtype(list); } @TestSubtype(suppressGetSupertype = true, suppressGetSubtype = true) public <T> Iterable<? super String> wildcardsMatchByLowerBound(
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 20.3K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/ExecutionListBenchmark.java
RunnableExecutorPair list; synchronized (this) { if (executed) { return; } executed = true; list = runnables; runnables = null; // allow GC to free listeners even if this stays around for a while. } while (list != null) { executeListener(list.runnable, list.executor); list = list.next; } }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Apr 17 15:19:38 GMT 2023 - 20.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ListsImplTest.java
} public void testHashCodeImpl() { List<Integer> base = createList(Integer.class, 1, 2, 2); List<Integer> copy = createList(Integer.class, 1, 2, 2); List<Integer> outOfOrder = createList(Integer.class, 2, 2, 1); List<Integer> diffValue = createList(Integer.class, 1, 2, 4); List<Integer> diffLength = createList(Integer.class, 1, 2); List<Integer> empty = createList(Integer.class);
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Feb 26 16:35:21 GMT 2024 - 10.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/Collections2.java
} } private static class PermutationIterator<E> extends AbstractIterator<List<E>> { final List<E> list; final int[] c; final int[] o; int j; PermutationIterator(List<E> list) { this.list = new ArrayList<>(list); int n = list.size(); c = new int[n]; o = new int[n]; Arrays.fill(c, 0); Arrays.fill(o, 1);
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 23.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableList.java
@SuppressWarnings("unchecked") // all supported methods are covariant ImmutableList<E> list = ((ImmutableCollection<E>) elements).asList(); return list.isPartialView() ? ImmutableList.<E>asImmutableList(list.toArray()) : list; } return construct(elements.toArray()); } /** * Returns an immutable list containing the given elements, in order. *
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 30K bytes - Viewed (1) -
android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java
} public void testCopyOf_iterable_notCollection_nonempty() { List<Double> list = Arrays.asList(0.0, 1.0, 3.0); ImmutableDoubleArray iia = ImmutableDoubleArray.copyOf(iterable(list)); list.set(2, 2.0); assertThat(iia.asList()).containsExactly(0.0, 1.0, 3.0).inOrder(); } public void testCopyOf_iterable_collection_empty() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Jun 06 15:23:21 GMT 2023 - 20K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Jun 01 09:32:35 GMT 2023 - 20.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/eventbus/EventBusTest.java
this.context = context; } } /** Runnable which registers a StringCatcher on an event bus and adds it to a list. */ private static class Registrator implements Runnable { private final EventBus bus; private final List<StringCatcher> catchers; Registrator(EventBus bus, List<StringCatcher> catchers) { this.bus = bus; this.catchers = catchers; } @Override
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Feb 21 18:32:41 GMT 2024 - 11.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/eventbus/EventBusTest.java
this.context = context; } } /** Runnable which registers a StringCatcher on an event bus and adds it to a list. */ private static class Registrator implements Runnable { private final EventBus bus; private final List<StringCatcher> catchers; Registrator(EventBus bus, List<StringCatcher> catchers) { this.bus = bus; this.catchers = catchers; } @Override
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 18:32:41 GMT 2024 - 11.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/BooleansTest.java
} public void testAsListSet() { List<Boolean> list = Booleans.asList(ARRAY_FALSE); assertThat(list.set(0, true)).isFalse(); assertThat(list.set(0, false)).isTrue(); try { list.set(0, null); fail(); } catch (NullPointerException expected) { } try { list.set(1, true); fail(); } catch (IndexOutOfBoundsException expected) {
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Mon Mar 04 15:43:29 GMT 2024 - 23.9K bytes - Viewed (0)