Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 197 for street (0.15 sec)

  1. android/guava/src/com/google/common/collect/Lists.java

       * this reason.
       *
       * <p><b>Java 8+ users:</b> many use cases for this method are better addressed by {@link
       * java.util.stream.Stream#map}. This method is not being deprecated, but we gently encourage you
       * to migrate to streams.
       */
      public static <F extends @Nullable Object, T extends @Nullable Object> List<T> transform(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 29 16:48:36 GMT 2024
    - 41.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/BaseEncoding.java

     * <pre>{@code
     * byte[] decoded = BaseEncoding.base32().decode("MZXW6===");
     * }</pre>
     *
     * <p>...returns the ASCII bytes of the string {@code "foo"}.
     *
     * <p>By default, {@code BaseEncoding}'s behavior is relatively strict and in accordance with RFC
     * 4648. Decoding rejects characters in the wrong case, though padding is optional. To modify
     * encoding and decoding behavior, use configuration methods to obtain a new encoding with modified
     * behavior:
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Mar 15 16:33:32 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/MapsTest.java

        result = Maps.fromProperties(testProp);
        assertEquals("true", result.get("first"));
        assertEquals("null", result.get("second"));
        assertEquals(2, result.size());
    
        // Now test values loaded from a stream.
        String props = "test\n second = 2\n Third item :   a short  phrase   ";
    
        testProp.load(new StringReader(props));
    
        result = Maps.fromProperties(testProp);
        assertEquals(4, result.size());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 67.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/MapsTest.java

        result = Maps.fromProperties(testProp);
        assertEquals("true", result.get("first"));
        assertEquals("null", result.get("second"));
        assertEquals(2, result.size());
    
        // Now test values loaded from a stream.
        String props = "test\n second = 2\n Third item :   a short  phrase   ";
    
        testProp.load(new StringReader(props));
    
        result = Maps.fromProperties(testProp);
        assertEquals(4, result.size());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 64.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/StreamsTest.java

        Stream<String> concatenated =
            Stream.<Stream<String>>of(Stream.of("a"), streamB, Stream.empty(), Stream.of("c", "d"))
                .reduce(Stream.empty(), Stream::concat);
        assertThat(concatenated).containsExactly("a", "b", "c", "d").inOrder();
        concatenated.close();
        assertThat(closeCountB.get()).isEqualTo(1);
      }
    
      public void testConcat_refStream_closeIsPropagated_Stream_flatMap() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 20K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/ByteStreams.java

      /**
       * Copies all bytes from the input stream to the output stream. Does not close or flush either
       * stream.
       *
       * <p><b>Java 9 users and later:</b> this method should be treated as deprecated; use the
       * equivalent {@link InputStream#transferTo} method instead.
       *
       * @param from the input stream to read from
       * @param to the output stream to write to
       * @return the number of bytes copied
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 17 18:59:58 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/ByteSink.java

       * required to be a {@link BufferedOutputStream} in order to allow implementations to simply
       * delegate to {@link #openStream()} when the stream returned by that method does not benefit from
       * additional buffering (for example, a {@code ByteArrayOutputStream}). This method returns a new,
       * independent stream each time it is called.
       *
       * <p>The caller is responsible for ensuring that the returned stream is closed.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 28 20:13:02 GMT 2023
    - 5.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/ByteSource.java

     *       returned stream is closed.
     *   <li><b>Convenience methods:</b> These are implementations of common operations that are
     *       typically implemented by opening a stream using one of the methods in the first category,
     *       doing something and finally closing the stream that was opened.
     * </ul>
     *
     * <p><b>Note:</b> In general, {@code ByteSource} is intended to be used for "file-like" sources
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 26.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/TableCollectorsTest.java

    import com.google.common.collect.Table.Cell;
    import com.google.common.testing.CollectorTester;
    import java.util.function.BiPredicate;
    import java.util.function.BinaryOperator;
    import java.util.stream.Collector;
    import java.util.stream.Stream;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** Unit tests for {@link TableCollectors}. */
    @GwtCompatible(emulated = true)
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Mar 05 16:03:18 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/HashMultiset.java

      @J2ktIncompatible
      private void writeObject(ObjectOutputStream stream) throws IOException {
        stream.defaultWriteObject();
        Serialization.writeMultiset(this, stream);
      }
    
      @GwtIncompatible // java.io.ObjectInputStream
      @J2ktIncompatible
      private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
        stream.defaultReadObject();
        int distinctElements = Serialization.readCount(stream);
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 3.4K bytes
    - Viewed (0)
Back to top