- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for sam (0.47 sec)
-
docs/changelogs/upgrading_to_okhttp_4.md
SAM Conversions --------------- When you use Java APIs from Kotlin you can operate on Java interfaces as if they were Kotlin lambdas. The [feature][java_sams] is available for interfaces that define a Single Abstract Method (SAM). But when you use Kotlin APIs from Kotlin there’s no automatic conversion. Code that used SAM lambdas with OkHttp 3.x: must use `object :` with OkHttp 4.x:
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 06 16:58:16 UTC 2022 - 10.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/IterablesTest.java
} public void testIndexOf_withDuplicates() { List<String> list = Lists.newArrayList("mary", "bob", "bob", "bob", "sam"); assertEquals(0, Iterables.indexOf(list, equalTo("mary"))); assertEquals(1, Iterables.indexOf(list, equalTo("bob"))); assertEquals(4, Iterables.indexOf(list, equalTo("sam"))); assertEquals(-1, Iterables.indexOf(list, equalTo("jack"))); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 45.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/IterablesTest.java
} public void testIndexOf_withDuplicates() { List<String> list = Lists.newArrayList("mary", "bob", "bob", "bob", "sam"); assertEquals(0, Iterables.indexOf(list, equalTo("mary"))); assertEquals(1, Iterables.indexOf(list, equalTo("bob"))); assertEquals(4, Iterables.indexOf(list, equalTo("sam"))); assertEquals(-1, Iterables.indexOf(list, equalTo("jack"))); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 46.6K bytes - Viewed (0)