- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for RegularImmutableList (0.19 sec)
-
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java
return new RegularImmutableList<E>(ImmutableList.<E>nullCheckedList(e1, e2, e3)); } public static <E> ImmutableList<E> of(E e1, E e2, E e3, E e4) { return new RegularImmutableList<E>(ImmutableList.<E>nullCheckedList(e1, e2, e3, e4)); } public static <E> ImmutableList<E> of(E e1, E e2, E e3, E e4, E e5) { return new RegularImmutableList<E>(ImmutableList.<E>nullCheckedList(e1, e2, e3, e4, e5)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jun 14 22:14:46 UTC 2024 - 11.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableList.java
} } /** A singleton implementation of iterator() for the empty ImmutableList. */ // TODO(b/345814817): Move this to RegularImmutableList? @SuppressWarnings("ClassInitializationDeadlock") private static final UnmodifiableListIterator<Object> EMPTY_ITR = new Itr<Object>(RegularImmutableList.EMPTY, 0); static class Itr<E> extends AbstractIndexedListIterator<E> { private final ImmutableList<E> list;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 21:21:17 UTC 2024 - 27.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableListTest.java
Object[] builderArray = builder.contents; for (int i = 0; i < 10; i++) { builder.add(i); } Object[] builderArrayAfterAdds = builder.contents; RegularImmutableList<Integer> list = (RegularImmutableList<Integer>) builder.build(); Object[] listInternalArray = list.array; assertSame(builderArray, builderArrayAfterAdds); assertSame(builderArray, listInternalArray); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 24.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableListTest.java
Object[] builderArray = builder.contents; for (int i = 0; i < 10; i++) { builder.add(i); } Object[] builderArrayAfterAdds = builder.contents; RegularImmutableList<Integer> list = (RegularImmutableList<Integer>) builder.build(); Object[] listInternalArray = list.array; assertSame(builderArray, builderArrayAfterAdds); assertSame(builderArray, listInternalArray); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 23.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableList.java
import static com.google.common.collect.CollectPreconditions.checkNonnegative; import static com.google.common.collect.ObjectArrays.checkElementsNotNull; import static com.google.common.collect.RegularImmutableList.EMPTY; import static java.util.Objects.requireNonNull; import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Aug 16 19:14:45 UTC 2024 - 30.5K bytes - Viewed (0)