- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 90 for readiness (0.17 sec)
-
android/guava-tests/test/com/google/common/io/FilesTest.java
assertTrue(Files.readLines(temp, UTF_8).isEmpty()); PrintWriter w = new PrintWriter(Files.newWriter(temp, UTF_8)); w.println("hello"); w.println(""); w.println(" world "); w.println(""); w.close(); assertEquals("hello", Files.readFirstLine(temp, UTF_8)); assertEquals(ImmutableList.of("hello", "", " world ", ""), Files.readLines(temp, UTF_8));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 22.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/CharSourceTest.java
assertEquals(ImmutableList.of("foo", "bar", "baz", "something"), lines.readLines()); assertTrue(lines.wasStreamOpened() && lines.wasStreamClosed()); } public void testReadLines_withProcessor() throws IOException { TestCharSource lines = new TestCharSource(LINES); List<String> list = lines.readLines( new LineProcessor<List<String>>() {
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/CharStreamsTest.java
public void testToString() throws IOException { assertEquals(TEXT, CharStreams.toString(new StringReader(TEXT))); } public void testReadLines() throws IOException { List<String> lines = CharStreams.readLines(new StringReader("a\nb\nc")); assertEquals(ImmutableList.of("a", "b", "c"), lines); } public void testReadLines_withLineProcessor() throws IOException { String text = "a\nb\nc";
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 11.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/CharStreamsTest.java
public void testToString() throws IOException { assertEquals(TEXT, CharStreams.toString(new StringReader(TEXT))); } public void testReadLines() throws IOException { List<String> lines = CharStreams.readLines(new StringReader("a\nb\nc")); assertEquals(ImmutableList.of("a", "b", "c"), lines); } public void testReadLines_withLineProcessor() throws IOException { String text = "a\nb\nc";
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 11.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SuggestHelper.java
final boolean apply) { final String[] readings; if (StringUtil.isBlank(reading)) { readings = word.replace(" ", TEXT_SEP).replaceAll(TEXT_SEP + "+", TEXT_SEP).split(TEXT_SEP); } else { readings = reading.replace(" ", TEXT_SEP).replaceAll(TEXT_SEP + "+", TEXT_SEP).split(TEXT_SEP); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 18.1K bytes - Viewed (0) -
guava/src/com/google/common/io/CharSource.java
@ParametricNullness public <T extends @Nullable Object> T readLines(LineProcessor<T> processor) throws IOException { checkNotNull(processor); Closer closer = Closer.create(); try { Reader reader = closer.register(openStream()); return CharStreams.readLines(reader, processor); } catch (Throwable e) { throw closer.rethrow(e); } finally {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:20:11 UTC 2024 - 25.5K bytes - Viewed (0) -
android/guava/src/com/google/common/io/Files.java
* @throws IOException if an I/O error occurs */ public static List<String> readLines(File file, Charset charset) throws IOException { // don't use asCharSource(file, charset).readLines() because that returns // an immutable list, which would change the behavior of this method return asCharSource(file, charset) .readLines( new LineProcessor<List<String>>() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jul 22 19:03:12 UTC 2024 - 33.1K bytes - Viewed (0) -
guava/src/com/google/common/io/Files.java
* @throws IOException if an I/O error occurs */ public static List<String> readLines(File file, Charset charset) throws IOException { // don't use asCharSource(file, charset).readLines() because that returns // an immutable list, which would change the behavior of this method return asCharSource(file, charset) .readLines( new LineProcessor<List<String>>() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jul 22 19:03:12 UTC 2024 - 33.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/ResourcesTest.java
} public void testReadLines() throws IOException { // TODO(chrisn): Check in a better resource URL resource = getClass().getResource("testdata/i18n.txt"); assertEquals(ImmutableList.of(I18N), Resources.readLines(resource, UTF_8)); } public void testReadLines_withLineProcessor() throws IOException { URL resource = getClass().getResource("testdata/alice_in_wonderland.txt");
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 6.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CharSourceTest.java
assertEquals(ImmutableList.of("foo", "bar", "baz", "something"), lines.readLines()); assertTrue(lines.wasStreamOpened() && lines.wasStreamClosed()); } public void testReadLines_withProcessor() throws IOException { TestCharSource lines = new TestCharSource(LINES); List<String> list = lines.readLines( new LineProcessor<List<String>>() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:20:11 UTC 2024 - 11.4K bytes - Viewed (0)