- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 42 for ObjectOutputStream (0.07 sec)
-
android/guava-testlib/src/com/google/common/testing/Platform.java
@SuppressWarnings("unchecked") static <T> T reserialize(T object) { 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());Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 1.7K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/SerializationTest.java
Build build = model.getBuild(); ByteArrayOutputStream baos = new ByteArrayOutputStream(); try (ObjectOutputStream oos = new ObjectOutputStream(baos)) { oos.writeObject(build); } Build build2; ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.5K bytes - Viewed (0) -
src/test/java/jcifs/spnego/SpnegoExceptionTest.java
// When byte[] bytes; try (ByteArrayOutputStream bout = new ByteArrayOutputStream(); ObjectOutputStream oout = new ObjectOutputStream(bout)) { oout.writeObject(original); oout.flush(); bytes = bout.toByteArray(); } SpnegoException restored;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.9K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/model/SimpleClassMetaDataRepository.java
} } public void store(File repoFile) { try { FileOutputStream outputStream = new FileOutputStream(repoFile); try { ObjectOutputStream objOutputStream = new ObjectOutputStream(new BufferedOutputStream(outputStream)); objOutputStream.writeObject(classes); objOutputStream.close(); } finally { outputStream.close();Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Wed May 21 06:20:45 UTC 2025 - 4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/ReserializingTestCollectionGenerator.java
} @SuppressWarnings("unchecked") static <T> T reserialize(T object) { try { ByteArrayOutputStream bytes = new ByteArrayOutputStream(); ObjectOutputStream out = new ObjectOutputStream(bytes); out.writeObject(object); ObjectInputStream in = new ObjectInputStream(new ByteArrayInputStream(bytes.toByteArray())); return (T) in.readObject();Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 2.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/LinkedHashMultiset.java
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.util.LinkedHashMap; import org.jspecify.annotations.Nullable; /** * A {@code Multiset} implementation with predictable iteration order. Its iterator orders elementsRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 05 23:15:58 UTC 2025 - 3.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/EnumMultiset.java
} } } @Override public Iterator<E> iterator() { return Multisets.iteratorImpl(this); } @GwtIncompatible // java.io.ObjectOutputStream private void writeObject(ObjectOutputStream stream) throws IOException { stream.defaultWriteObject(); stream.writeObject(type); Serialization.writeMultiset(this, stream); } /**Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 9.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/EnumHashBiMap.java
} /** * @serialData the key class, number of entries, first key, first value, second key, second value, * and so on. */ @GwtIncompatible // java.io.ObjectOutputStream private void writeObject(ObjectOutputStream stream) throws IOException { stream.defaultWriteObject(); stream.writeObject(keyTypeOrObjectUnderJ2cl); Serialization.writeMap(this, stream); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 15:50:50 UTC 2025 - 5.2K bytes - Viewed (0) -
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.util.Collection; import java.util.Map; import org.jspecify.annotations.Nullable; /** * Provides static methods for serializing collection classes. *
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Dec 09 15:58:48 UTC 2025 - 6.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/SerializeUtil.java
assertArgumentNotNull("obj", obj); try { final ByteArrayOutputStream baos = new ByteArrayOutputStream(BYTE_ARRAY_SIZE); final ObjectOutputStream oos = new ObjectOutputStream(baos); try { oos.writeObject(obj); } finally { oos.close(); } return baos.toByteArray();
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 9K bytes - Viewed (0)