Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for headline (0.25 sec)

  1. android/guava/src/com/google/common/util/concurrent/ForwardingCondition.java

      public long awaitNanos(long nanosTimeout) throws InterruptedException {
        return delegate().awaitNanos(nanosTimeout);
      }
    
      @Override
      public boolean awaitUntil(Date deadline) throws InterruptedException {
        return delegate().awaitUntil(deadline);
      }
    
      @Override
      public void signal() {
        delegate().signal();
      }
    
      @Override
      public void signalAll() {
        delegate().signalAll();
      }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/LineReader.java

    import java.util.ArrayDeque;
    import java.util.Queue;
    import javax.annotation.CheckForNull;
    
    /**
     * A class for reading lines of text. Provides the same functionality as {@link
     * java.io.BufferedReader#readLine()} but for all {@link Readable} objects, not just instances of
     * {@link Reader}.
     *
     * @author Chris Nokleberg
     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/ByteArrayDataInput.java

      @Override
      float readFloat();
    
      @CanIgnoreReturnValue // to skip some bytes
      @Override
      double readDouble();
    
      @CanIgnoreReturnValue // to skip a line
      @Override
      @CheckForNull
      String readLine();
    
      @CanIgnoreReturnValue // to skip a field
      @Override
      String readUTF();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  4. 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>>() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 12K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/LineBufferTest.java

        BufferedReader r = new BufferedReader(getChunkedReader(input, chunk));
        List<String> lines = Lists.newArrayList();
        String line;
        while ((line = r.readLine()) != null) {
          lines.add(line);
        }
        r.close();
        return lines;
      }
    
      private static List<String> readUsingReader(String input, int chunk, boolean asReader)
          throws IOException {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.7K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/SourceSinkTester.java

        try {
          return new CharSource() {
            @Override
            public Reader openStream() throws IOException {
              return new StringReader(string);
            }
          }.readLines();
        } catch (IOException e) {
          throw new AssertionError();
        }
      }
    
      @Override
      public void tearDown() throws IOException {
        factory.tearDown();
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Apr 27 18:57:08 GMT 2022
    - 4.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Ascii.java

       *
       * @since 8.0
       */
      public static final byte NUL = 0;
    
      /**
       * Start of Heading: A communication control character used at the beginning of a sequence of
       * characters which constitute a machine-sensible address or routing information. Such a sequence
       * is referred to as the "heading." An STX character has the effect of terminating a heading.
       *
       * @since 8.0
       */
      public static final byte SOH = 1;
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jul 19 15:43:07 GMT 2021
    - 21.6K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/FilesTest.java

                return collector;
              }
            };
        assertThat(Files.readLines(temp, Charsets.UTF_8, collect)).isEmpty();
    
        PrintWriter w = new PrintWriter(Files.newWriter(temp, Charsets.UTF_8));
        w.println("hello");
        w.println("");
        w.println(" world  ");
        w.println("");
        w.close();
        Files.readLines(temp, Charsets.UTF_8, collect);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 22.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/CharSource.java

          return reader.readLine();
        } catch (Throwable e) {
          throw closer.rethrow(e);
        } finally {
          closer.close();
        }
      }
    
      /**
       * Reads all the lines of this source as a list of strings. The returned list will be empty if
       * this source is empty.
       *
       * <p>Like {@link BufferedReader#readLine()}, this method considers a line to be a sequence of
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 22.4K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

       */
      @SuppressWarnings("removal") // b/260137033
      public static void awaitDone(Future<?> future) {
        if (future.isDone()) {
          return;
        }
        long timeoutSeconds = timeoutSeconds();
        long deadline = System.nanoTime() + SECONDS.toNanos(timeoutSeconds);
        do {
          System.runFinalization();
          if (future.isDone()) {
            return;
          }
          System.gc();
          try {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.6K bytes
    - Viewed (0)
Back to top