Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 83 for readObject (0.04 sec)

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

        stream.defaultWriteObject();
        stream.writeInt(size());
        for (E e : this) {
          stream.writeObject(e);
        }
      }
    
      @SuppressWarnings("unchecked")
      @J2ktIncompatible
      private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
        stream.defaultReadObject();
        int elementCount = stream.readInt();
        if (elementCount < 0) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 23.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/MutableClassToInstanceMap.java

        return Primitives.wrap(type).cast(value);
      }
    
        private Object writeReplace() {
        return new SerializedForm<>(delegate());
      }
    
        private void readObject(ObjectInputStream stream) throws InvalidObjectException {
        throw new InvalidObjectException("Use SerializedForm");
      }
    
      /** Serialized form of the map, to avoid serializing the constraint. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:10:29 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  3. 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();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/RegularContiguousSet.java

      @GwtIncompatible
      @J2ktIncompatible
        @Override
      Object writeReplace() {
        return new SerializedForm<>(range, domain);
      }
    
      @GwtIncompatible
      @J2ktIncompatible
        private void readObject(ObjectInputStream stream) throws InvalidObjectException {
        throw new InvalidObjectException("Use SerializedForm");
      }
    
      @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/persistent/PersistentHandleManager.java

                for (Path handleFile : stream) {
                    try (ObjectInputStream ois = new ObjectInputStream(Files.newInputStream(handleFile))) {
                        HandleInfo info = (HandleInfo) ois.readObject();
    
                        // Only load if not expired
                        if (!info.isExpired()) {
                            handles.put(info.getPath(), info);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 13K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/LinkedListMultimap.java

      @J2ktIncompatible
        private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
        stream.defaultReadObject();
        keyToKeyList = CompactLinkedHashMap.create();
        int size = stream.readInt();
        for (int i = 0; i < size; i++) {
          @SuppressWarnings("unchecked") // reading data stored by writeObject
          K key = (K) stream.readObject();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/spnego/NegTokenTarg.java

        }
    
        @Override
        protected void parse(final byte[] token) throws IOException {
            try (ASN1InputStream der = new ASN1InputStream(token)) {
                ASN1TaggedObject tagged = (ASN1TaggedObject) der.readObject();
                final ASN1Sequence sequence = ASN1Sequence.getInstance(tagged, true);
                final Enumeration<?> fields = sequence.getObjects();
                while (fields.hasMoreElements()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/base/Suppliers.java

          return "Suppliers.memoize("
              + (initialized ? "<supplier that returned " + value + ">" : delegate)
              + ")";
        }
    
        @GwtIncompatible
        @J2ktIncompatible
            private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
          in.defaultReadObject();
          lock = new Object();
        }
    
        @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/hash/Funnels.java

        public int hashCode() {
          return StringCharsetFunnel.class.hashCode() ^ charset.hashCode();
        }
    
        Object writeReplace() {
          return new SerializedForm(charset);
        }
    
        private void readObject(ObjectInputStream stream) throws InvalidObjectException {
          throw new InvalidObjectException("Use SerializedForm");
        }
    
        private static final class SerializedForm implements Serializable {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/hash/Funnels.java

        public int hashCode() {
          return StringCharsetFunnel.class.hashCode() ^ charset.hashCode();
        }
    
        Object writeReplace() {
          return new SerializedForm(charset);
        }
    
        private void readObject(ObjectInputStream stream) throws InvalidObjectException {
          throw new InvalidObjectException("Use SerializedForm");
        }
    
        private static final class SerializedForm implements Serializable {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 7.2K bytes
    - Viewed (0)
Back to top