Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 275 for Streams (0.49 sec)

  1. guava/src/com/google/common/collect/Streams.java

      }
    
      /**
       * Returns a {@link Stream} containing the elements of the first stream, followed by the elements
       * of the second stream, and so on.
       *
       * <p>This is equivalent to {@code Stream.of(streams).flatMap(stream -> stream)}, but the returned
       * stream may perform better.
       *
       * @see Stream#concat(Stream, Stream)
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 36.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/LittleEndianDataOutputStreamTest.java

        out.writeUTF("Herby Derby");
        out.writeFloat(Float.intBitsToFloat(0xCAFEBABE));
        out.writeDouble(Double.longBitsToDouble(0xDEADBEEFCAFEBABEL));
    
        byte[] data = baos.toByteArray();
    
        /* Setup input streams */
        DataInput in = new DataInputStream(new ByteArrayInputStream(data));
    
        /* Read in various values NORMALLY */
        byte[] b = new byte[2];
        in.readFully(b);
        assertEquals(-100, b[0]);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/io/LittleEndianDataOutputStreamTest.java

        out.writeUTF("Herby Derby");
        out.writeFloat(Float.intBitsToFloat(0xCAFEBABE));
        out.writeDouble(Double.longBitsToDouble(0xDEADBEEFCAFEBABEL));
    
        byte[] data = baos.toByteArray();
    
        /* Setup input streams */
        DataInput in = new DataInputStream(new ByteArrayInputStream(data));
    
        /* Read in various values NORMALLY */
        byte[] b = new byte[2];
        in.readFully(b);
        assertEquals(-100, b[0]);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 4.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/io/ByteSource.java

      }
    
      /**
       * Concatenates multiple {@link ByteSource} instances into a single source. Streams returned from
       * the source will contain the concatenated data from the streams of the underlying sources.
       *
       * <p>Only one underlying stream will be open at a time. Closing the concatenated stream will
       * close the open underlying stream.
       *
       * @param sources the sources to concatenate
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 26.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Iterables.java

       * RandomAccess} support, then this operation is guaranteed to be {@code O(1)}.
       *
       * <p><b>{@code Stream} equivalent:</b> {@link Streams#findLast Streams.findLast(stream).get()}
       *
       * @return the last element of {@code iterable}
       * @throws NoSuchElementException if the iterable is empty
       */
      @ParametricNullness
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 24 19:38:27 UTC 2024
    - 42.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/TestStreamSupplier.java

    package com.google.common.io;
    
    /**
     * Interface for a supplier of streams that can report whether a stream was opened and whether that
     * stream was closed. Intended for use in a test where only a single stream should be opened and
     * possibly closed.
     *
     * @author Colin Decker
     */
    public interface TestStreamSupplier {
    
      /** Returns whether or not a new stream was opened. */
      boolean wasStreamOpened();
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/TestStreamSupplier.java

    package com.google.common.io;
    
    /**
     * Interface for a supplier of streams that can report whether a stream was opened and whether that
     * stream was closed. Intended for use in a test where only a single stream should be opened and
     * possibly closed.
     *
     * @author Colin Decker
     */
    public interface TestStreamSupplier {
    
      /** Returns whether or not a new stream was opened. */
      boolean wasStreamOpened();
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/io/package-info.java

     * and files.
     *
     * <p>At the core of this package are the Source/Sink types: {@link ByteSource ByteSource}, {@link
     * CharSource CharSource}, {@link ByteSink ByteSink} and {@link CharSink CharSink}. They are
     * factories for I/O streams that provide many convenience methods that handle both opening and
     * closing streams for you.
     *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 23 19:57:03 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Ordering.java

     * well.
     *
     * <h3>Java 8+ users</h3>
     *
     * <p>If you are using Java 8+, this class is now obsolete. Most of its functionality is now
     * provided by {@link java.util.stream.Stream Stream} and by {@link Comparator} itself, and the rest
     * can now be found as static methods in our new {@link Comparators} class. See each method below
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/FluentIterable.java

       * iterator supports it.
       *
       * <p><b>{@code Stream} equivalent:</b> to concatenate an arbitrary number of streams, use {@code
       * Stream.of(stream1, stream2, ...).flatMap(s -> s)}. If the sources are iterables, use {@code
       * Stream.of(iter1, iter2, ...).flatMap(Streams::stream)}.
       *
       * @throws NullPointerException if any of the provided iterables is {@code null}
       * @since 20.0
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 30 00:14:39 UTC 2024
    - 35.3K bytes
    - Viewed (0)
Back to top