- Sort Score
- Num 10 results
- Language All
Results 131 - 140 of 1,608 for Integer (0.08 seconds)
-
android/guava-tests/test/com/google/common/collect/RegularImmutableTableTest.java
new SparseImmutableTable<>(CELLS.asList(), ROW_SPACE, COLUMN_SPACE); private static final DenseImmutableTable<Character, Integer, String> DENSE = new DenseImmutableTable<>(CELLS.asList(), ROW_SPACE, COLUMN_SPACE); @Override Iterable<ImmutableTable<Character, Integer, String>> getTestInstances() { return ImmutableList.<ImmutableTable<Character, Integer, String>>of(SPARSE, DENSE); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 6.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ImmutableListTest.java
} public void testComplexBuilder() { List<Integer> colorElem = asList(0x00, 0x33, 0x66, 0x99, 0xCC, 0xFF); ImmutableList.Builder<Integer> webSafeColorsBuilder = ImmutableList.builder(); for (Integer red : colorElem) { for (Integer green : colorElem) { for (Integer blue : colorElem) { webSafeColorsBuilder.add((red << 16) + (green << 8) + blue); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 23.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/graph/StandardImmutableDirectedNetworkTest.java
private final boolean allowsParallelEdges; private final ElementOrder<Integer> nodeOrder; private final ElementOrder<String> edgeOrder; private ImmutableNetwork.Builder<Integer, String> networkBuilder; public StandardImmutableDirectedNetworkTest( boolean allowsSelfLoops, boolean allowsParallelEdges, ElementOrder<Integer> nodeOrder, ElementOrder<String> edgeOrder) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/graph/NetworkEquivalenceTest.java
private static final Integer N1 = 1; private static final Integer N2 = 2; private static final Integer N3 = 3; private static final String E11 = "1-1"; private static final String E12 = "1-2"; private static final String E12_A = "1-2a"; private static final String E13 = "1-3"; private final EdgeType edgeType; private final MutableNetwork<Integer, String> network;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 5.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/graph/NetworkEquivalenceTest.java
private static final Integer N1 = 1; private static final Integer N2 = 2; private static final Integer N3 = 3; private static final String E11 = "1-1"; private static final String E12 = "1-2"; private static final String E12_A = "1-2a"; private static final String E13 = "1-3"; private final EdgeType edgeType; private final MutableNetwork<Integer, String> network;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 5.9K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java
return insertionOrder; } @Override public List<Entry<String, Integer>> create(Object... elements) { ImmutableMap.Builder<String, Integer> builder = ImmutableMap.builder(); for (Object o : elements) { @SuppressWarnings("unchecked") Entry<String, Integer> entry = (Entry<String, Integer>) checkNotNull(o);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 8.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/HashBiMapTest.java
} Set<Entry<Integer, Integer>> entries = bimap.entrySet(); for (Entry<Integer, Integer> entry : entries) { entry.setValue(entry.getValue() + 2 * N); } for (int i = 0; i < N; i++) { assertEquals(2 * N + 2 * i - 1, (int) bimap.get(2 * i)); } } public void testBiMapEntrySetIteratorRemove() { BiMap<Integer, String> map = HashBiMap.create();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 8.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/AbstractSequentialIteratorTest.java
} public void testSampleCode() { Iterable<Integer> actual = new Iterable<Integer>() { @Override public Iterator<Integer> iterator() { Iterator<Integer> powersOfTwo = new AbstractSequentialIterator<Integer>(1) { @Override protected @Nullable Integer computeNext(Integer previous) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 4.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/CacheBuilderFactory.java
// the CacheBuilder default). private Set<Integer> concurrencyLevels = Sets.newHashSet((Integer) null); private Set<Integer> initialCapacities = Sets.newHashSet((Integer) null); private Set<Integer> maximumSizes = Sets.newHashSet((Integer) null); private Set<DurationSpec> expireAfterWrites = Sets.newHashSet((DurationSpec) null);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 7.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/base/FunctionsTest.java
@J2ktIncompatible @GwtIncompatible // SerializableTester public void testForMapWithDefault_null_compareWithSerializable() { ImmutableMap<String, Integer> map = ImmutableMap.of("One", 1); Function<String, Integer> function = Functions.forMap(map, null); assertEquals((Integer) 1, function.apply("One")); assertThat(function.apply("Two")).isNull(); // check basic sanity of equals and hashCode new EqualsTester()
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 16.2K bytes - Click Count (0)