Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 182 for street (1.38 sec)

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

      private void writeObject(ObjectOutputStream stream) throws IOException {
        stream.defaultWriteObject();
        Serialization.writeMap(this, stream);
      }
    
      @GwtIncompatible // java.io.ObjectInputStream
      @J2ktIncompatible
      private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
        stream.defaultReadObject();
        int size = Serialization.readCount(stream);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 24.5K bytes
    - Viewed (0)
  2. android/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)
  3. android/guava/src/com/google/common/collect/ImmutableList.java

       * ImmutableSortedSet.copyOf(elements)}; if you want a {@code List} you can use its {@code
       * asList()} view.
       *
       * <p><b>Java 8+ users:</b> If you want to convert a {@link java.util.stream.Stream} to a sorted
       * {@code ImmutableList}, use {@code stream.sorted().collect(toImmutableList())}.
       *
       * @throws NullPointerException if any element in the input is null
       * @since 21.0
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/CompactHashMap.java

      @J2ktIncompatible
      private void writeObject(ObjectOutputStream stream) throws IOException {
        stream.defaultWriteObject();
        stream.writeInt(size());
        Iterator<Entry<K, V>> entryIterator = entrySetIterator();
        while (entryIterator.hasNext()) {
          Entry<K, V> e = entryIterator.next();
          stream.writeObject(e.getKey());
          stream.writeObject(e.getValue());
        }
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue May 28 18:11:09 UTC 2024
    - 39.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java

        assertThat(count.get()).isEqualTo(4);
      }
    
      public void testStream() {
        ImmutableLongArray.of().stream().forEach(i -> fail());
        ImmutableLongArray.of(0, 1, 3).subArray(1, 1).stream().forEach(i -> fail());
        assertThat(ImmutableLongArray.of(0, 1, 3).stream().toArray()).isEqualTo(new long[] {0, 1, 3});
      }
    
      public void testSubArray() {
        ImmutableLongArray iia0 = ImmutableLongArray.of();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 20.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/io/CharStreams.java

            break;
          }
        }
        return processor.getResult();
      }
    
      /**
       * Reads and discards data from the given {@code Readable} until the end of the stream is reached.
       * Returns the total number of chars read. Does not close the stream.
       *
       * @since 20.0
       */
      @CanIgnoreReturnValue
      public static long exhaust(Readable readable) throws IOException {
        long total = 0;
        long read;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/TestCharSink.java

      }
    
      @Override
      public boolean wasStreamClosed() {
        return byteSink.wasStreamClosed();
      }
    
      @Override
      public Writer openStream() throws IOException {
        // using TestByteSink's output stream to get option behavior, so flush to it on every write
        return new FilterWriter(new OutputStreamWriter(byteSink.openStream(), UTF_8)) {
          @Override
          public void write(int c) throws IOException {
            super.write(c);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Apr 21 02:27:51 UTC 2017
    - 2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/HashBiMap.java

      @J2ktIncompatible
      private void writeObject(ObjectOutputStream stream) throws IOException {
        stream.defaultWriteObject();
        Serialization.writeMap(this, stream);
      }
    
      @GwtIncompatible // java.io.ObjectInputStream
      @J2ktIncompatible
      private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
        stream.defaultReadObject();
        int size = Serialization.readCount(stream);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 36.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/CharSinkTest.java

          // ensure writer was closed IF it was opened (depends on implementation whether or not it's
          // opened at all if source.newReader() throws).
          assertTrue(
              "stream not closed when copying from source with option: " + option,
              !okSink.wasStreamOpened() || okSink.wasStreamClosed());
        }
      }
    
      public void testClosesOnErrors_whenWriteThrows() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableEnumMap.java

      @Override
      @J2ktIncompatible // serialization
      Object writeReplace() {
        return new EnumSerializedForm<>(delegate);
      }
    
      @J2ktIncompatible // serialization
      private void readObject(ObjectInputStream stream) throws InvalidObjectException {
        throw new InvalidObjectException("Use EnumSerializedForm");
      }
    
      /*
       * This class is used to serialize ImmutableEnumMap instances.
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 4.1K bytes
    - Viewed (0)
Back to top