- Sort Score
- Num 10 results
- Language All
Results 111 - 120 of 887 for Integer (0.06 seconds)
-
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 Dec 26 12:43:10 GMT 2025 - 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 Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 5.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ImmutableCollectionTest.java
assertEquals( Integer.MAX_VALUE, ImmutableCollection.Builder.expandedCapacity(0, Integer.MAX_VALUE)); assertEquals( Integer.MAX_VALUE, ImmutableCollection.Builder.expandedCapacity(1, Integer.MAX_VALUE)); assertEquals( Integer.MAX_VALUE, ImmutableCollection.Builder.expandedCapacity(Integer.MAX_VALUE - 1, Integer.MAX_VALUE));
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 1.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java
} // TODO(b/172823566): Use mainline testToImmutableSetMultimap once CollectorTester is usable. public void testToImmutableSetMultimap_java7_combine() { ImmutableSetMultimap.Builder<String, Integer> zis = ImmutableSetMultimap.<String, Integer>builder().put("a", 1).put("b", 2); ImmutableSetMultimap.Builder<String, Integer> zat =
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 27K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java
extends TestFilteredMultimapGenerator<SetMultimap<String, Integer>> implements TestSetMultimapGenerator<String, Integer> { abstract SetMultimap<String, Integer> filter(SetMultimap<String, Integer> multimap); @Override public SetMultimap<String, Integer> create(Object... elements) { SetMultimap<String, Integer> multimap = LinkedHashMultimap.create(); for (Object o : elements) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Sep 24 22:52:18 GMT 2025 - 28.6K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java
} public void testFailed() throws Exception { Exception e = new Exception(); TrustedListenableFutureTask<Integer> task = TrustedListenableFutureTask.create( new Callable<Integer>() { @Override public Integer call() throws Exception { throw e; } }); task.run(); assertTrue(task.isDone());
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 7.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/EquivalenceTest.java
/* * We use large numbers to avoid the integer cache. Normally, we'd accomplish that merely by using * `new Integer` (as we do) instead of `Integer.valueOf`. However, under J2KT, `new Integer` * gets translated back to `Integer.valueOf` because that is the only thing J2KT can support. And * anyway, it's nice to avoid `Integer.valueOf` because the Android toolchain optimizes multiple
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/SetViewTest.java
Set<Integer> set1 = newHashSet(1, 2); Set<Integer> set2 = newHashSet(2, 3); Set<Integer> difference = difference(set1, set2); assertThat(difference).containsExactly(1); set1.add(0); assertThat(difference).containsExactly(0, 1); set2.remove(2); assertThat(difference).containsExactly(0, 1, 2); } public void testSymmetricDifference_isView() { Set<Integer> set1 = newHashSet(1, 2);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 29.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/AbstractMapsTransformValuesTest.java
public void testTransformEquals() { Map<String, Integer> underlying = ImmutableMap.of("a", 0, "b", 1, "c", 2); Map<String, Integer> expected = transformValues(underlying, Functions.<Integer>identity()); assertMapsEqual(expected, expected); Map<String, Integer> equalToUnderlying = Maps.newTreeMap(); equalToUnderlying.putAll(underlying);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 9.5K 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 Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 8.4K bytes - Click Count (0)