Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 148 for Serialization (0.14 sec)

  1. guava/src/com/google/common/collect/SingletonImmutableSet.java

    /**
     * Implementation of {@link ImmutableSet} with exactly one element.
     *
     * @author Kevin Bourrillion
     * @author Nick Kralevich
     */
    @GwtCompatible
    @SuppressWarnings("serial") // uses writeReplace(), not default serialization
    final class SingletonImmutableSet<E> extends ImmutableSet<E> {
      // We deliberately avoid caching the asList and hashCode here, to ensure that with
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/RegexRule.java

     *
     * boolean matches = rule.match(responseData); // Returns true
     * }
     * </pre>
     *
     */
    public class RegexRule extends AbstractRule {
    
        /** Serial version UID for serialization. */
        private static final long serialVersionUID = 1L;
    
        /** Whether this rule should match all responses by default. */
        protected boolean defaultRule = false;
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/AbstractIteratorTest.java

    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Unit test for {@code AbstractIterator}.
     *
     * @author Kevin Bourrillion
     */
    @SuppressWarnings("serial") // No serialization is used in this test
    @GwtCompatible
    @NullMarked
    public class AbstractIteratorTest extends TestCase {
    
      public void testDefaultBehaviorOfNextAndHasNext() {
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/EnumBiMap.java

      private void writeObject(ObjectOutputStream stream) throws IOException {
        stream.defaultWriteObject();
        stream.writeObject(keyTypeOrObjectUnderJ2cl);
        stream.writeObject(valueTypeOrObjectUnderJ2cl);
        Serialization.writeMap(this, stream);
      }
    
      @SuppressWarnings("unchecked") // reading fields populated by writeObject
      @GwtIncompatible // java.io.ObjectInputStream
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 15:50:50 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/EnumHashBiMap.java

       */
      @GwtIncompatible // java.io.ObjectOutputStream
      private void writeObject(ObjectOutputStream stream) throws IOException {
        stream.defaultWriteObject();
        stream.writeObject(keyTypeOrObjectUnderJ2cl);
        Serialization.writeMap(this, stream);
      }
    
      @SuppressWarnings("unchecked") // reading field populated by writeObject
      @GwtIncompatible // java.io.ObjectInputStream
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 15:50:50 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/RegularImmutableList.java

    /**
     * Implementation of {@link ImmutableList} backed by a simple array.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @SuppressWarnings("serial") // uses writeReplace(), not default serialization
    final class RegularImmutableList<E> extends ImmutableList<E> {
      static final ImmutableList<Object> EMPTY = new RegularImmutableList<>(new Object[0], 0);
    
      // The first `size` elements are non-null.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/HashBiMap.java

        stream.defaultWriteObject();
        Serialization.writeMap(this, stream);
      }
    
      @GwtIncompatible
      @J2ktIncompatible
        private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
        stream.defaultReadObject();
        int size = stream.readInt();
        init(16); // resist hostile attempts to allocate gratuitous heap
        Serialization.populateMap(this, stream, size);
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Dec 16 14:46:34 UTC 2025
    - 37.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/TreeMultimap.java

      @J2ktIncompatible
        private void writeObject(ObjectOutputStream stream) throws IOException {
        stream.defaultWriteObject();
        stream.writeObject(keyComparator());
        stream.writeObject(valueComparator());
        Serialization.writeMultimap(this, stream);
      }
    
      @GwtIncompatible
      @J2ktIncompatible
        @SuppressWarnings("unchecked") // reading data stored by writeObject
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/spnego/NegTokenTargTest.java

            NegTokenTarg nt = new NegTokenTarg();
            assertEquals(NegTokenTarg.UNSPECIFIED_RESULT, nt.getResult(), "new object should have UNSPECIFIED_RESULT");
        }
    
        @Test
        @DisplayName("serialization omits tags when field is null")
        void testSerializationOmittingNullFields() throws IOException {
            NegTokenTarg token = new NegTokenTarg();
            token.setResult(NegTokenTarg.ACCEPT_INCOMPLETE);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/exception/ServletRuntimeException.java

     * that don't declare ServletException in their throws clause.
     */
    public class ServletRuntimeException extends RuntimeException {
    
        /** Serial version UID for serialization compatibility. */
        private static final long serialVersionUID = 1L;
    
        /**
         * Constructs a new ServletRuntimeException wrapping the given ServletException.
         *
         * @param e The ServletException to wrap
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.4K bytes
    - Viewed (0)
Back to top