- Sort Score
- Num 10 results
- Language All
Results 81 - 90 of 299 for ImmutableList (0.07 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
guava-tests/test/com/google/common/io/CharSourceTest.java
return list; } }); assertEquals(ImmutableList.of("foo"), list); assertTrue(lines.wasStreamOpened() && lines.wasStreamClosed()); } public void testForEachLine() throws IOException { source = new TestCharSource(LINES); ImmutableList.Builder<String> builder = ImmutableList.builder(); source.forEachLine(builder::add);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 11.6K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/RegularImmutableSortedSet.java
final boolean isSubset; RegularImmutableSortedSet(SortedSet<E> delegate, boolean isSubset) { super(delegate); this.isSubset = isSubset; } @Override ImmutableList<E> createAsList() { return new ImmutableSortedAsList<>(this, ImmutableList.asImmutableList(toArray())); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 01 22:23:20 GMT 2025 - 1.2K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/ClassSanityTester.java
return this; } private ImmutableList<Invokable<?, ?>> getFactoriesToTest() { ImmutableList.Builder<Invokable<?, ?>> builder = ImmutableList.builder(); for (Invokable<?, ?> factory : factories) { if (returnTypeToTest.isAssignableFrom(factory.getReturnType().getRawType())) { builder.add(factory); } } ImmutableList<Invokable<?, ?>> factoriesToTest = builder.build();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 32.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/CollectCollectors.java
final class CollectCollectors { private static final Collector<Object, ?, ImmutableList<Object>> TO_IMMUTABLE_LIST = Collector.of( ImmutableList::builder, ImmutableList.Builder::add, ImmutableList.Builder::combine, ImmutableList.Builder::build); private static final Collector<Object, ?, ImmutableSet<Object>> TO_IMMUTABLE_SET = Collector.of(Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 16.9K bytes - Click Count (0) -
guava/src/com/google/common/collect/CollectCollectors.java
@GwtCompatible final class CollectCollectors { private static final Collector<Object, ?, ImmutableList<Object>> TO_IMMUTABLE_LIST = Collector.of( ImmutableList::builder, ImmutableList.Builder::add, ImmutableList.Builder::combine, ImmutableList.Builder::build); private static final Collector<Object, ?, ImmutableSet<Object>> TO_IMMUTABLE_SET = Collector.of(Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 16.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/EnumMultisetTest.java
} public void testCreateEmptyWithClass() { Multiset<Color> ms = EnumMultiset.create(ImmutableList.<Color>of(), Color.class); ms.add(Color.RED); } public void testCreateEmptyWithoutClassFails() { assertThrows( IllegalArgumentException.class, () -> EnumMultiset.create(ImmutableList.<Color>of())); } public void testToString() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 6.1K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/ListGenerators.java
@Override protected List<String> create(String[] elements) { return ImmutableList.copyOf(elements); } } public static class BuilderAddListGenerator extends TestStringListGenerator { @Override protected List<String> create(String[] elements) { ImmutableList.Builder<String> builder = ImmutableList.builder(); for (String element : elements) { builder.add(element); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 4.9K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/AllEqualOrdering.java
} @Override public <E extends @Nullable Object> List<E> sortedCopy(Iterable<E> iterable) { return Lists.newArrayList(iterable); } @Override public <E> ImmutableList<E> immutableSortedCopy(Iterable<E> iterable) { return ImmutableList.copyOf(iterable); } @SuppressWarnings("unchecked") @Override public <S extends @Nullable Object> Ordering<S> reverse() { return (Ordering<S>) this; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jun 04 13:03:16 GMT 2025 - 1.9K bytes - Click Count (0) -
guava/src/com/google/common/collect/AllEqualOrdering.java
} @Override public <E extends @Nullable Object> List<E> sortedCopy(Iterable<E> iterable) { return Lists.newArrayList(iterable); } @Override public <E> ImmutableList<E> immutableSortedCopy(Iterable<E> iterable) { return ImmutableList.copyOf(iterable); } @SuppressWarnings("unchecked") @Override public <S extends @Nullable Object> Ordering<S> reverse() { return (Ordering<S>) this; }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jun 04 13:03:16 GMT 2025 - 1.9K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/AbstractPackageSanityTestsTest.java
public void testFindClassesToTest_testClass() { assertThat(findClassesToTest(ImmutableList.of(EmptyTest.class))).isEmpty(); assertThat(findClassesToTest(ImmutableList.of(EmptyTests.class))).isEmpty(); assertThat(findClassesToTest(ImmutableList.of(EmptyTestCase.class))).isEmpty(); assertThat(findClassesToTest(ImmutableList.of(EmptyTestSuite.class))).isEmpty(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 28 02:48:50 GMT 2024 - 5.4K bytes - Click Count (0)