Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 91 for ObjectInputStream (2.67 sec)

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

     */
    
    package com.google.common.collect;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import java.io.IOException;
    import java.io.ObjectInputStream;
    import java.io.ObjectOutputStream;
    import java.lang.reflect.Field;
    import java.util.Collection;
    import java.util.Map;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/EnumHashBiMap.java

        Serialization.writeMap(this, stream);
      }
    
      @SuppressWarnings("unchecked") // reading field populated by writeObject
      @GwtIncompatible // java.io.ObjectInputStream
      private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
        stream.defaultReadObject();
        keyTypeOrObjectUnderJ2cl = (Class<K>) requireNonNull(stream.readObject());
        /*
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Aug 24 01:40:03 GMT 2023
    - 5.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/HashMultiset.java

        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);
        setBackingMap(Maps.<E, Count>newHashMap());
    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)
  4. guava/src/com/google/common/collect/ImmutableAsList.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import java.io.InvalidObjectException;
    import java.io.ObjectInputStream;
    import java.io.Serializable;
    import javax.annotation.CheckForNull;
    
    /**
     * List returned by {@link ImmutableCollection#asList} that delegates {@code contains} checks to the
     * backing collection.
     *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableAsList.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import java.io.InvalidObjectException;
    import java.io.ObjectInputStream;
    import java.io.Serializable;
    import javax.annotation.CheckForNull;
    
    /**
     * List returned by {@link ImmutableCollection#asList} that delegates {@code contains} checks to the
     * backing collection.
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/EmptyContiguousSet.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import java.io.InvalidObjectException;
    import java.io.ObjectInputStream;
    import java.io.Serializable;
    import java.util.NoSuchElementException;
    import java.util.Set;
    import javax.annotation.CheckForNull;
    
    /**
     * An empty contiguous set.
     *
     * @author Gregory Kick
     */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Mar 28 18:35:00 GMT 2023
    - 4.2K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/testing/Platform.java

        checkNotNull(object);
        ByteArrayOutputStream bytes = new ByteArrayOutputStream();
        try {
          ObjectOutputStream out = new ObjectOutputStream(bytes);
          out.writeObject(object);
          ObjectInputStream in = new ObjectInputStream(new ByteArrayInputStream(bytes.toByteArray()));
          return (T) requireNonNull(in.readObject());
        } catch (IOException | ClassNotFoundException e) {
          throw new RuntimeException(e);
        }
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Aug 23 12:13:11 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/testing/Platform.java

        checkNotNull(object);
        ByteArrayOutputStream bytes = new ByteArrayOutputStream();
        try {
          ObjectOutputStream out = new ObjectOutputStream(bytes);
          out.writeObject(object);
          ObjectInputStream in = new ObjectInputStream(new ByteArrayInputStream(bytes.toByteArray()));
          return (T) requireNonNull(in.readObject());
        } catch (IOException | ClassNotFoundException e) {
          throw new RuntimeException(e);
        }
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Aug 23 12:13:11 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/MultimapBuilderTest.java

    import com.google.common.collect.MultimapBuilder.SortedSetMultimapBuilder;
    import java.io.ByteArrayInputStream;
    import java.io.ByteArrayOutputStream;
    import java.io.ObjectInputStream;
    import java.io.ObjectOutputStream;
    import java.math.RoundingMode;
    import java.util.SortedMap;
    import java.util.SortedSet;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 27 09:26:07 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/HashMultimap.java

        stream.defaultWriteObject();
        Serialization.writeMultimap(this, stream);
      }
    
      @GwtIncompatible // java.io.ObjectInputStream
      @J2ktIncompatible
      private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
        stream.defaultReadObject();
        expectedValuesPerKey = DEFAULT_VALUES_PER_KEY;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 5.9K bytes
    - Viewed (0)
Back to top