Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 63 for writeObject (0.26 sec)

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

        }
    
        // Serialization invokes writeObject only when it's private.
        // The SynchronizedObject subclasses don't need a writeObject method since
        // they don't contain any non-transient member variables, while the
        // following writeObject() handles the SynchronizedObject members.
    
        @GwtIncompatible // java.io.ObjectOutputStream
        @J2ktIncompatible
        private void writeObject(ObjectOutputStream stream) throws IOException {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 53.4K bytes
    - Viewed (0)
  2. android/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());
        }
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 35.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableSetMultimap.java

       *     values for that key, and the key's values
       */
      @GwtIncompatible // java.io.ObjectOutputStream
      @J2ktIncompatible
      private void writeObject(ObjectOutputStream stream) throws IOException {
        stream.defaultWriteObject();
        stream.writeObject(valueComparator());
        Serialization.writeMultimap(this, stream);
      }
    
      @CheckForNull
      Comparator<? super V> valueComparator() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

        void writeMapTo(ObjectOutputStream out) throws IOException {
          out.writeInt(delegate.size());
          for (Entry<K, V> entry : delegate.entrySet()) {
            out.writeObject(entry.getKey());
            out.writeObject(entry.getValue());
          }
          out.writeObject(null); // terminate entries
        }
    
        @SuppressWarnings("deprecation") // serialization of deprecated feature
        @J2ktIncompatible // java.io.ObjectInputStream
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableListMultimap.java

       *     values for that key, and the key's values
       */
      @GwtIncompatible // java.io.ObjectOutputStream
      @J2ktIncompatible
      private void writeObject(ObjectOutputStream stream) throws IOException {
        stream.defaultWriteObject();
        Serialization.writeMultimap(this, stream);
      }
    
      @GwtIncompatible // java.io.ObjectInputStream
      @J2ktIncompatible
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Aug 24 01:40:03 GMT 2023
    - 17.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/cache/LongAdder.java

      }
    
      /** Returns the {@link #sum} as a {@code double} after a widening primitive conversion. */
      @Override
      public double doubleValue() {
        return (double) sum();
      }
    
      private void writeObject(ObjectOutputStream s) throws IOException {
        s.defaultWriteObject();
        s.writeLong(sum());
      }
    
      private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 5.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ArrayListMultimap.java

       *     key, number of values for that key, and the key's values
       */
      @GwtIncompatible // java.io.ObjectOutputStream
      @J2ktIncompatible
      private void writeObject(ObjectOutputStream stream) throws IOException {
        stream.defaultWriteObject();
        Serialization.writeMultimap(this, stream);
      }
    
      @GwtIncompatible // java.io.ObjectOutputStream
      @J2ktIncompatible
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/AtomicDoubleArray.java

       *
       * @serialData The length of the array is emitted (int), followed by all of its elements (each a
       *     {@code double}) in the proper order.
       */
      private void writeObject(java.io.ObjectOutputStream s) throws java.io.IOException {
        s.defaultWriteObject();
    
        // Write out array length
        int length = length();
        s.writeInt(length);
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/CompactHashSet.java

          Arrays.fill(requireEntries(), 0, size, 0);
          this.size = 0;
        }
      }
    
      @J2ktIncompatible
      private void writeObject(ObjectOutputStream stream) throws IOException {
        stream.defaultWriteObject();
        stream.writeInt(size());
        for (E e : this) {
          stream.writeObject(e);
        }
      }
    
      @SuppressWarnings("unchecked")
      @J2ktIncompatible
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Feb 05 21:38:59 GMT 2024
    - 24.9K bytes
    - Viewed (0)
  10. 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());
        }
      }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 39.8K bytes
    - Viewed (0)
Back to top