Home
last modified time | relevance | path

Searched refs:splitToIntList (Results 1 – 3 of 3) sorted by relevance

/frameworks/support/room/runtime/src/test/java/androidx/room/util/
DStringUtilTest.java36 assertThat(StringUtil.splitToIntList(""), is(Collections.<Integer>emptyList())); in testEmpty()
42 assertThat(StringUtil.splitToIntList(null), nullValue()); in testNull()
48 assertThat(StringUtil.splitToIntList("4"), is(asList(4))); in testSingle()
54 assertThat(StringUtil.splitToIntList("4,5"), is(asList(4, 5))); in testMultiple()
60 assertThat(StringUtil.splitToIntList("-4,-5,6,-7"), is(asList(-4, -5, 6, -7))); in testNegative()
66 assertThat(StringUtil.splitToIntList("-4,a,5,7"), is(asList(-4, 5, 7))); in ignoreMalformed()
/frameworks/support/room/integration-tests/kotlintestapp/src/androidTest/java/androidx/room/integration/kotlintestapp/vo/
DStringToIntListConverters.kt12 if (data == null) null else StringUtil.splitToIntList(data)
/frameworks/support/room/runtime/src/main/java/androidx/room/util/
DStringUtil.java72 public static List<Integer> splitToIntList(@Nullable String input) { in splitToIntList() method in StringUtil