- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for unboxed (0.28 sec)
-
guava-tests/test/com/google/common/collect/TableCollectorsTest.java
.expectCollects( ImmutableTable.of(), immutableCell("one", "uno", 1), immutableCell("one", "uno", 2)); } // https://youtrack.jetbrains.com/issue/KT-58242/. Crash when getValue result (null) is unboxed @J2ktIncompatible public void testToTableNullValues() { Collector<Cell<String, String, Integer>, ?, Table<String, String, Integer>> collector = TableCollectors.toTable( Cell::getRowKey,
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Mar 05 16:03:18 GMT 2024 - 11.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/StreamsTest.java
assertThat(findLast(Stream.of("a", "b", "c", "d"))).hasValue("d"); // test with a large, not-subsized Spliterator List<Integer> list = IntStream.rangeClosed(0, 10000).boxed().collect(Collectors.toCollection(LinkedList::new)); assertThat(findLast(list.stream())).hasValue(10000); // no way to find out the stream is empty without walking its spliterator
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Mar 07 18:34:03 GMT 2024 - 20K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractFuture.java
// waiter. // requireNonNull is safe because value is always set before TOMBSTONE. return getDoneValue(requireNonNull(value)); } /** Unboxes {@code obj}. Assumes that obj is not {@code null} or a {@link SetFuture}. */ @ParametricNullness private V getDoneValue(Object obj) throws ExecutionException {
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Apr 22 21:17:24 GMT 2024 - 63K bytes - Viewed (0) -
guava/src/com/google/common/collect/CollectSpliterators.java
} } /** * Implementation of {@link Stream#flatMap} with a primitive spliterator output type. * * @param <InElementT> the element type of the input spliterator * @param <OutElementT> the (boxed) element type of the output spliterators * @param <OutConsumerT> the specialized consumer type for the primitive output type * @param <OutSpliteratorT> the primitive spliterator type associated with {@code OutElementT} */
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Feb 19 15:21:23 GMT 2024 - 19.8K bytes - Viewed (0)