- Sort Score
- Num 10 results
- Language All
Results 461 - 470 of 873 for Integer (0.04 seconds)
-
android/guava-tests/test/com/google/common/collect/CollectSpliteratorsTest.java
} public void testFlatMapToInt_nullStream() { SpliteratorTester.ofInt( () -> CollectSpliterators.flatMapToInt( Arrays.spliterator(new Integer[] {1, 0, 1, 2, 3}), (Integer i) -> i == 0 ? null : IntStream.of(i).spliterator(), Spliterator.SIZED | Spliterator.DISTINCT | Spliterator.NONNULL, 4)) .expect(1, 1, 2, 3); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 4.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/TreeBasedTableRowTest.java
@GwtCompatible @NullMarked public class TreeBasedTableRowTest extends RowTests { public TreeBasedTableRowTest() { super(false, true, true, true, true); } @Override Table<Character, String, Integer> makeTable() { return TreeBasedTable.create(); }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Dec 21 14:50:24 GMT 2024 - 1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/LineBufferTest.java
bufferHelper("mixed\nline\rendings\r\n", "mixed\n", "line\r", "endings\r\n"); } private static final ImmutableSet<Integer> CHUNK_SIZES = ImmutableSet.of(1, 2, 3, Integer.MAX_VALUE); private static void bufferHelper(String input, String... expect) throws IOException { List<String> expectProcess = Arrays.asList(expect); List<String> expectRead =
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 4.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/LineBufferTest.java
bufferHelper("mixed\nline\rendings\r\n", "mixed\n", "line\r", "endings\r\n"); } private static final ImmutableSet<Integer> CHUNK_SIZES = ImmutableSet.of(1, 2, 3, Integer.MAX_VALUE); private static void bufferHelper(String input, String... expect) throws IOException { List<String> expectProcess = Arrays.asList(expect); List<String> expectRead =
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 4.9K bytes - Click Count (0) -
guava/src/com/google/common/collect/SparseImmutableTable.java
private final int[] cellColumnInRowIndices; SparseImmutableTable( ImmutableList<Cell<R, C, V>> cellList, ImmutableSet<R> rowSpace, ImmutableSet<C> columnSpace) { Map<R, Integer> rowIndex = Maps.indexMap(rowSpace); Map<R, Map<C, V>> rows = new LinkedHashMap<>(); for (R row : rowSpace) { rows.put(row, new LinkedHashMap<C, V>()); }
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 5.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java
/** Tests the initial state of the future. */ public void testCreate() throws Exception { SettableFuture<Integer> future = SettableFuture.create(); assertFalse(future.isDone()); assertFalse(future.isCancelled()); } public void testSetValue_simpleThreaded() throws Exception { SettableFuture<Integer> future = SettableFuture.create(); assertTrue(future.set(42));
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 17:49:12 GMT 2025 - 7.3K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/EquivalenceTesterTest.java
ImmutableTable.builder(); final ImmutableMap.Builder<Object, Integer> hashExpectationsBuilder = ImmutableMap.builder(); ImmutableTable<Object, Object, Boolean> equivalentExpectations; ImmutableMap<Object, Integer> hashExpectations; void expectEquivalent(Object a, Object b) { checkRecording(); equivalentExpectationsBuilder.put(a, b, true);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Dec 27 16:19:35 GMT 2024 - 8.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/SettableFutureTest.java
/** Tests the initial state of the future. */ public void testCreate() throws Exception { SettableFuture<Integer> future = SettableFuture.create(); assertFalse(future.isDone()); assertFalse(future.isCancelled()); } public void testSetValue_simpleThreaded() throws Exception { SettableFuture<Integer> future = SettableFuture.create(); assertTrue(future.set(42));
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 17:49:12 GMT 2025 - 7.3K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/testing/EquivalenceTesterTest.java
ImmutableTable.builder(); final ImmutableMap.Builder<Object, Integer> hashExpectationsBuilder = ImmutableMap.builder(); ImmutableTable<Object, Object, Boolean> equivalentExpectations; ImmutableMap<Object, Integer> hashExpectations; void expectEquivalent(Object a, Object b) { checkRecording(); equivalentExpectationsBuilder.put(a, b, true);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Dec 27 16:19:35 GMT 2024 - 8.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/SingletonImmutableMapWithUnhashableValueMapInterfaceTest.java
@NullUnmarked public class SingletonImmutableMapWithUnhashableValueMapInterfaceTest extends RegularImmutableMapWithUnhashableValuesMapInterfaceTest { @Override protected Map<Integer, UnhashableObject> makePopulatedMap() { Unhashables unhashables = new Unhashables(); return ImmutableMap.of(0, unhashables.e0()); }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 1.3K bytes - Click Count (0)