Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 124 for ReadObject (0.2 sec)

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

      @J2ktIncompatible
      // Serialization type safety is at the caller's mercy.
      @SuppressWarnings("unchecked")
      private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
        stream.defaultReadObject();
        Comparator<Object> valueComparator = (Comparator<Object>) stream.readObject();
        int keyCount = stream.readInt();
        if (keyCount < 0) {
    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)
  2. android/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.
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  3. 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.
       */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/MessageDigestHashFunction.java

        }
    
        private static final long serialVersionUID = 0;
      }
    
      Object writeReplace() {
        return new SerializedForm(prototype.getAlgorithm(), bytes, toString);
      }
    
      private void readObject(ObjectInputStream stream) throws InvalidObjectException {
        throw new InvalidObjectException("Use SerializedForm");
      }
    
      /** Hasher that updates a message digest. */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 25 20:32:46 GMT 2022
    - 5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/io/SerializeUtil.java

            try {
                final ByteArrayInputStream bais = new ByteArrayInputStream(bytes);
                final ObjectInputStream ois = new ObjectInputStream(bais);
                try {
                    return ois.readObject();
                } finally {
                    CloseableUtil.close(ois);
                }
            } catch (final IOException ex) {
                throw new IORuntimeException(ex);
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableMapEntrySet.java

      @J2ktIncompatible
      @Override
      Object writeReplace() {
        return new EntrySetSerializedForm<>(map());
      }
    
      @GwtIncompatible // serialization
      @J2ktIncompatible
      private void readObject(ObjectInputStream stream) throws InvalidObjectException {
        throw new InvalidObjectException("Use EntrySetSerializedForm");
      }
    
      @GwtIncompatible // serialization
      @J2ktIncompatible
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableMapEntrySet.java

      @J2ktIncompatible
      @Override
      Object writeReplace() {
        return new EntrySetSerializedForm<>(map());
      }
    
      @GwtIncompatible // serialization
      @J2ktIncompatible
      private void readObject(ObjectInputStream stream) throws InvalidObjectException {
        throw new InvalidObjectException("Use EntrySetSerializedForm");
      }
    
      @GwtIncompatible // serialization
      @J2ktIncompatible
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableListMultimap.java

          Object key = requireNonNull(stream.readObject());
          int valueCount = stream.readInt();
          if (valueCount <= 0) {
            throw new InvalidObjectException("Invalid value count " + valueCount);
          }
    
          ImmutableList.Builder<Object> valuesBuilder = ImmutableList.builder();
          for (int j = 0; j < valueCount; j++) {
            valuesBuilder.add(requireNonNull(stream.readObject()));
          }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/spnego/NegTokenInit.java

    
        @Override
        protected void parse ( byte[] token ) throws IOException {
    
            try ( ASN1InputStream is = new ASN1InputStream(token) ) {
                ASN1TaggedObject constructed = (ASN1TaggedObject) is.readObject();
                if ( constructed == null || constructed.getTagClass() != BERTags.APPLICATION ||
                        !(constructed.getBaseObject() instanceof  ASN1Sequence) )
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Oct 01 12:01:17 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/MultimapBuilderTest.java

        ByteArrayOutputStream bytes = new ByteArrayOutputStream();
        new ObjectOutputStream(bytes).writeObject(object);
        return new ObjectInputStream(new ByteArrayInputStream(bytes.toByteArray())).readObject();
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 27 09:26:07 GMT 2024
    - 5.2K bytes
    - Viewed (0)
Back to top