- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 776 for asList (0.15 sec)
-
android/guava/src/com/google/common/collect/SparseImmutableTable.java
Cell<R, C, V> getCell(int index) { int rowIndex = cellRowIndices[index]; Entry<R, ImmutableMap<C, V>> rowEntry = rowMap.entrySet().asList().get(rowIndex); ImmutableMap<C, V> row = rowEntry.getValue(); int columnIndex = cellColumnInRowIndices[index]; Entry<C, V> colEntry = row.entrySet().asList().get(columnIndex); return cellOf(rowEntry.getKey(), colEntry.getKey(), colEntry.getValue()); } @Override
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Nov 30 21:54:06 GMT 2023 - 5.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/ListMultimapRemoveTester.java
assertContentsInOrder(list, v1(), v0()); } @MapFeature.Require(SUPPORTS_REMOVE) @CollectionSize.Require(SEVERAL) public void testRemoveAtIndexFromGetPropagates() { List<V> values = Arrays.asList(v0(), v1(), v0()); for (int i = 0; i < 3; i++) { resetContainer(mapEntry(k0(), v0()), mapEntry(k0(), v1()), mapEntry(k0(), v0())); List<V> expectedValues = copyToList(values);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 3.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MultimapsTest.java
MultimapBuilder.linkedHashKeys().arrayListValues().build(); filled.putAll('b', Arrays.asList('a', 'n', 'a', 'n', 'a')); filled.putAll('a', Arrays.asList('p', 'p', 'l', 'e')); filled.putAll('c', Arrays.asList('a', 'r', 'r', 'o', 't')); filled.putAll('a', Arrays.asList('s', 'p', 'a', 'r', 'a', 'g', 'u', 's')); filled.putAll('c', Arrays.asList('h', 'e', 'r', 'r', 'y')); CollectorTester.of(collector, equivalence)
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 42.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/HashMultisetTest.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.collect; import static java.util.Arrays.asList; import com.google.common.annotations.GwtCompatible; import com.google.common.annotations.GwtIncompatible; import com.google.common.annotations.J2ktIncompatible;
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Feb 19 20:34:55 GMT 2024 - 4.4K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/ImmutableLongArray.java
} @Override public List<Long> subList(int fromIndex, int toIndex) { return parent.subArray(fromIndex, toIndex).asList(); } @Override public boolean equals(@CheckForNull Object object) { if (object instanceof AsList) { AsList that = (AsList) object; return this.parent.equals(that.parent); } // We could delegate to super now but it would still box too much
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri May 12 16:34:24 GMT 2023 - 18.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java
return ImmutableSet.copyOf(elements).asList(); } } public static class ImmutableSortedSetAsListGenerator extends TestStringListGenerator { @Override protected List<String> create(String[] elements) { Comparator<String> comparator = createExplicitComparator(elements); ImmutableSet<String> set = ImmutableSortedSet.copyOf(comparator, Arrays.asList(elements)); return set.asList(); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 16:49:06 GMT 2024 - 15.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/StreamsTest.java
public void testStream_collection() { assertThat(stream(Arrays.asList())).isEmpty(); assertThat(stream(Arrays.asList("a"))).containsExactly("a"); assertThat(stream(Arrays.asList(1, 2, 3)).filter(n -> n > 1)).containsExactly(2, 3); } public void testStream_iterator() { assertThat(stream(Arrays.asList().iterator())).isEmpty(); assertThat(stream(Arrays.asList("a").iterator())).containsExactly("a");
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 20K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/IntsTest.java
List<Float> floats = Arrays.asList((float) 0, (float) 1, (float) 2); List<Long> longs = Arrays.asList((long) 0, (long) 1, (long) 2); List<Double> doubles = Arrays.asList((double) 0, (double) 1, (double) 2); assertThat(Ints.toArray(bytes)).isEqualTo(array); assertThat(Ints.toArray(shorts)).isEqualTo(array); assertThat(Ints.toArray(ints)).isEqualTo(array);
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Tue Feb 06 16:10:08 GMT 2024 - 28.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapReplaceValuesTester.java
public void testReplaceValuesWithNullValue() { List<V> values = Arrays.asList(v0(), null, v3()); multimap().replaceValues(k0(), values); assertGet(k0(), values); } @MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE, ALLOWS_NULL_KEYS}) public void testReplaceValuesWithNullKey() { List<V> values = Arrays.asList(v0(), v2(), v3()); multimap().replaceValues(null, values); assertGet(null, values);
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 20 17:00:05 GMT 2024 - 5.2K bytes - Viewed (0) -
guava-testlib/test/com/google/common/collect/testing/OpenJdk6MapTests.java
public static Test suite() { return new OpenJdk6MapTests().allTests(); } @Override protected Collection<Method> suppressForTreeMapNatural() { return Arrays.asList( getPutNullKeyUnsupportedMethod(), getPutAllNullKeyUnsupportedMethod(), getCreateWithNullKeyUnsupportedMethod(), getCreateWithNullUnsupportedMethod(), // for keySet
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 4K bytes - Viewed (0)