- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 286 for ImmutableList (1.11 sec)
-
guava/src/com/google/common/collect/RegularImmutableSet.java
int copyIntoArray(@Nullable Object[] dst, int offset) { arraycopy(elements, 0, dst, offset, elements.length); return offset + elements.length; } @Override ImmutableList<E> createAsList() { return (table.length == 0) ? ImmutableList.of() : new RegularImmutableAsList<>(this, elements); } @Override boolean isPartialView() { return false; } @Override public int hashCode() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 21:07:18 UTC 2025 - 3.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java
assertEquals(8, queue.capacity()); assertEquals(42, queue.maximumSize); checkNatural(queue); } private static final ImmutableList<Integer> NUMBERS = ImmutableList.of(4, 8, 15, 16, 23, 42); public void testCreation_withContents() { MinMaxPriorityQueue<Integer> queue = MinMaxPriorityQueue.create(NUMBERS); assertEquals(6, queue.size());
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 16:03:47 UTC 2025 - 36.1K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/ImmutableLongArray.java
* utilities do have replacements here). * <li>Dependency on {@code com.google.common} / Guava. * </ul> * * <p>Advantages compared to {@link com.google.common.collect.ImmutableList ImmutableList}{@code * <Long>}: * * <ul> * <li>Improved memory compactness and locality. * <li>Can be queried without allocating garbage.
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 14:49:24 UTC 2025 - 22K bytes - Viewed (0) -
guava/src/com/google/common/primitives/ImmutableIntArray.java
* utilities do have replacements here). * <li>Dependency on {@code com.google.common} / Guava. * </ul> * * <p>Advantages compared to {@link com.google.common.collect.ImmutableList ImmutableList}{@code * <Integer>}: * * <ul> * <li>Improved memory compactness and locality. * <li>Can be queried without allocating garbage.
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 14:49:24 UTC 2025 - 21.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/ArrayTable.java
return (table instanceof ArrayTable) ? new ArrayTable<R, C, V>((ArrayTable<R, C, V>) table) : new ArrayTable<R, C, V>(table); } private final ImmutableList<R> rowList; private final ImmutableList<C> columnList; // TODO(jlevy): Add getters returning rowKeyToIndex and columnKeyToIndex? private final ImmutableMap<R, Integer> rowKeyToIndex;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Nov 17 22:50:48 UTC 2025 - 26.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/SparseImmutableTable.java
@GwtCompatible @Immutable(containerOf = {"R", "C", "V"}) final class SparseImmutableTable<R, C, V> extends RegularImmutableTable<R, C, V> { static final ImmutableTable<Object, Object, Object> EMPTY = new SparseImmutableTable<>(ImmutableList.of(), ImmutableSet.of(), ImmutableSet.of()); private final ImmutableMap<R, ImmutableMap<C, V>> rowMap; private final ImmutableMap<C, ImmutableMap<R, V>> columnMap;Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 21:07:18 UTC 2025 - 5.3K bytes - Viewed (1) -
android/guava-tests/test/com/google/common/primitives/ShortArrayAsListTest.java
import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import com.google.common.collect.ImmutableList; import com.google.common.collect.testing.ListTestSuiteBuilder; import com.google.common.collect.testing.SampleElements; import com.google.common.collect.testing.TestListGenerator;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/LongArrayAsListTest.java
import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible; import com.google.common.collect.ImmutableList; import com.google.common.collect.testing.ListTestSuiteBuilder; import com.google.common.collect.testing.SampleElements; import com.google.common.collect.testing.TestListGenerator;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5.5K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperty.java
* See the License for the specific language governing permissions and * limitations under the License. */ package gradlebuild.binarycompatibility.upgrades; import com.google.common.collect.ImmutableList; import com.google.gson.annotations.SerializedName; import japicmp.model.JApiMethod; import java.util.List; import java.util.Objects; public class UpgradedProperty { private final String containingType;Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Tue Aug 13 19:17:41 UTC 2024 - 8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableBiMapFloodingTest.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.collect; import static com.google.common.collect.ImmutableList.toImmutableList; import static com.google.common.collect.Lists.transform; import static com.google.common.collect.Maps.immutableEntry; import static java.lang.Math.log;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Jul 28 19:11:14 UTC 2025 - 4.5K bytes - Viewed (0)