- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 84 for HeadObject (0.07 sec)
-
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. */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 4.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/ArrayMap.java
@Override public void readExternal(final ObjectInput s) throws IOException, ClassNotFoundException { hashCode = s.readInt(); key = (K) s.readObject(); value = (V) s.readObject(); next = (Entry<K, V>) s.readObject(); } }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 20.6K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AtomicDoubleArray.java
public class AtomicDoubleArray implements Serializable { private static final long serialVersionUID = 0L; // Making this non-final is the lesser evil according to Effective // Java 2nd Edition Item 76: Write readObject methods defensively. private transient AtomicLongArray longs; /** * Creates a new {@code AtomicDoubleArray} of the given length, with all elements initially zero. * * @param length the length of the array
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jun 14 17:55:55 UTC 2024 - 10.3K bytes - Viewed (0) -
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 Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 02 18:21:29 UTC 2024 - 5.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/ReserializingTestCollectionGenerator.java
ObjectOutputStream out = new ObjectOutputStream(bytes); out.writeObject(object); ObjectInputStream in = new ObjectInputStream(new ByteArrayInputStream(bytes.toByteArray())); return (T) in.readObject(); } catch (IOException | ClassNotFoundException e) { throw new AssertionError(e); } } @Override public SampleElements<E> samples() { return delegate.samples(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 2.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableAsList.java
Object readResolve() { return collection.asList(); } private static final long serialVersionUID = 0; } @GwtIncompatible // serialization @J2ktIncompatible private void readObject(ObjectInputStream stream) throws InvalidObjectException { throw new InvalidObjectException("Use SerializedForm"); } @GwtIncompatible // serialization @J2ktIncompatible @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Mar 06 16:06:58 UTC 2023 - 2.6K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/SerializationTest.java
} Build build2; ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray()); try (ObjectInputStream ois = new ObjectInputStream(bais)) { build2 = (Build) ois.readObject(); } assertNotNull(build2); } @Test void testModelPropertiesAndListSerialization() throws Exception { Model model;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.5K bytes - Viewed (0) -
src/main/java/jcifs/spnego/NegTokenTarg.java
} @Override protected void parse ( byte[] token ) throws IOException { try ( ASN1InputStream der = new ASN1InputStream(token) ) { ASN1TaggedObject tagged = (ASN1TaggedObject) der.readObject(); ASN1Sequence sequence = ASN1Sequence.getInstance(tagged, true); Enumeration<?> fields = sequence.getObjects(); while ( fields.hasMoreElements() ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Mon Jan 04 04:18:31 UTC 2021 - 5.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/LinkedListMultimap.java
@J2ktIncompatible private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException { stream.defaultReadObject(); keyToKeyList = Maps.newLinkedHashMap(); 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 Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 13 14:11:58 UTC 2023 - 27.5K bytes - Viewed (0) -
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) )
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Oct 01 12:01:17 UTC 2023 - 7.9K bytes - Viewed (0)