- Sort Score
- Num 10 results
- Language All
Results 81 - 90 of 942 for integer (0.98 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/TagsTest.kt
.plus(String::class, "hello") .plus(Integer::class, 5 as Integer) assertThat(tags[String::class]).isEqualTo("hello") assertThat(tags[Integer::class]).isEqualTo(5) } /** The implementation retains no nodes from the original linked list. */ @Test fun replaceFirstElement() { val tags = EmptyTags .plus(String::class, "a") .plus(Integer::class, 5 as Integer)
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Oct 24 11:37:46 GMT 2025 - 7.1K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java
Multiset<String> multiset, ImmutableMultiset<Integer> immutableMultiset, Multimap<String, Integer> multimap, ImmutableMultimap<String, Integer> immutableMultimap, Table<String, Integer, Exception> table, ImmutableTable<Integer, String, Exception> immutableTable) { calledWith( gender, integer, i, string, charSequence,
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 18:44:53 GMT 2025 - 47.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/FunctionsTest.java
checkCanReserialize(Functions.forMap(ImmutableMap.of(1, 2), 3)); } public void testForMapWithDefault_null() { ImmutableMap<String, Integer> map = ImmutableMap.of("One", 1); Function<String, @Nullable Integer> function = Functions.forMap(map, null); assertEquals((Integer) 1, function.apply("One")); assertThat(function.apply("Two")).isNull(); // check basic sanity of equals and hashCode
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 16K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ListsTest.java
private static class SomeIterable implements Iterable<Integer>, Serializable { @Override public Iterator<Integer> iterator() { return SOME_COLLECTION.iterator(); } @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0; } private static final List<Integer> SOME_LIST = Lists.newArrayList(1, 2, 3, 4);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 35.4K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/TestIntegerSetGenerator.java
/** * Create integer sets for collection tests. * * @author Gregory Kick */ @GwtCompatible @NullMarked public abstract class TestIntegerSetGenerator implements TestSetGenerator<Integer> { @Override public SampleElements<Integer> samples() { return new Ints(); } @Override public Set<Integer> create(Object... elements) { Integer[] array = new Integer[elements.length];
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sat Dec 21 14:50:24 GMT 2024 - 2.1K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CallTagsTest.kt
assertThat(call.tag(String::class)).isEqualTo("a") // Check the Java-focused APIs. assertThat(call.tag(Integer::class) { 1 as Integer }).isEqualTo(1) assertThat(call.tag(Integer::class) { 2 as Integer }).isEqualTo(1) assertThat(call.tag(Integer::class)).isEqualTo(1) } @Test fun computedTagsAreNotRetainedInClone() { val request = Request .Builder()
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sun Oct 26 14:54:46 GMT 2025 - 2.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MapsCollectionTest.java
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 32.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/base/JoinerTest.java
private static final Joiner J = Joiner.on("-"); // <Integer> needed to prevent warning :( private static final Iterable<Integer> iterable = Arrays.<Integer>asList(); private static final Iterable<Integer> iterable1 = Arrays.asList(1); private static final Iterable<Integer> iterable12 = Arrays.asList(1, 2); private static final Iterable<Integer> iterable123 = Arrays.asList(1, 2, 3);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 12.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/Collections2Test.java
Collection<List<Integer>> permutationSet = Collections2.permutations(Collections.<Integer>emptyList()); assertEquals(1, permutationSet.size()); assertTrue(permutationSet.contains(Collections.<Integer>emptyList())); Iterator<List<Integer>> permutations = permutationSet.iterator(); assertNextPermutation(Collections.<Integer>emptyList(), permutations);
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 20.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.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 - 12.4K bytes - Click Count (0)