- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for abcdabcd (0.06 sec)
-
guava-tests/test/com/google/common/io/CharSourceTest.java
CharSource source = CharSource.wrap("abcd"); Iterable<CharSource> cycle = Iterables.cycle(ImmutableList.of(source)); CharSource concatenated = CharSource.concat(cycle); String expected = "abcdabcd"; // read the first 8 chars manually, since there's no equivalent to ByteSource.slice // TODO(cgdecker): Add CharSource.slice? StringBuilder builder = new StringBuilder();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue May 07 15:26:58 UTC 2024 - 11.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CharSourceTest.java
CharSource source = CharSource.wrap("abcd"); Iterable<CharSource> cycle = Iterables.cycle(ImmutableList.of(source)); CharSource concatenated = CharSource.concat(cycle); String expected = "abcdabcd"; // read the first 8 chars manually, since there's no equivalent to ByteSource.slice // TODO(cgdecker): Add CharSource.slice? StringBuilder builder = new StringBuilder();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:20:11 UTC 2024 - 11.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/StringUtilTest.java
*/ @Test public void testSubstringFromLast() throws Exception { assertEquals("ab", StringUtil.substringFromLast("abc", "c")); assertEquals("abcab", StringUtil.substringFromLast("abcabc", "c")); assertEquals("abc", StringUtil.substringFromLast("abc", "")); assertEquals("abc", StringUtil.substringFromLast("abc", null)); assertEquals("abc", StringUtil.substringFromLast("abc", "dddd"));
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 12K bytes - Viewed (0)