Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 390 for SERIALIZABLE (0.24 sec)

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

    import com.google.j2objc.annotations.WeakOuter;
    import java.io.Serializable;
    import javax.annotation.CheckForNull;
    
    /**
     * Implementation of {@link ImmutableMultiset} with zero or more elements.
     *
     * @author Jared Levy
     * @author Louis Wasserman
     */
    @GwtCompatible(emulated = true, serializable = true)
    @SuppressWarnings("serial") // uses writeReplace(), not default serialization
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java

                .named(ImmutableSetTest.class.getName())
                .withFeatures(
                    CollectionSize.ANY,
                    CollectionFeature.KNOWN_ORDER,
                    CollectionFeature.SERIALIZABLE,
                    CollectionFeature.ALLOWS_NULL_QUERIES)
                .createTestSuite());
    
        suite.addTest(
            SetTestSuiteBuilder.using(new ImmutableSetUnsizedBuilderGenerator())
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 13.7K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/MapSerializationTester.java

     * limitations under the License.
     */
    
    package com.google.common.collect.testing.testers;
    
    import static com.google.common.collect.testing.features.CollectionFeature.SERIALIZABLE;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.testing.AbstractMapTester;
    import com.google.common.collect.testing.features.CollectionFeature;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 02 20:22:04 GMT 2018
    - 1.5K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/BaseComparable.java

    import com.google.common.annotations.GwtCompatible;
    import java.io.Serializable;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Simple base class to verify that we handle generics correctly.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    public class BaseComparable implements Comparable<BaseComparable>, Serializable {
      private final String s;
    
      public BaseComparable(String s) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 20 11:19:03 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/Base.java

     */
    
    package com.google.common.collect;
    
    import com.google.common.annotations.GwtCompatible;
    import java.io.Serializable;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** Simple base class to verify that we handle generics correctly. */
    @GwtCompatible
    class Base implements Comparable<Base>, Serializable {
      private final String s;
    
      public Base(String s) {
        this.s = s;
      }
    
      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Oct 03 22:29:45 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/SynchronizedMultimapTest.java

        return suite;
      }
    
      private static final class TestMultimap<K, V> extends ForwardingSetMultimap<K, V>
          implements Serializable {
        final SetMultimap<K, V> delegate = HashMultimap.create();
        public final Object mutex = new Integer(1); // something Serializable
    
        @Override
        protected SetMultimap<K, V> delegate() {
          return delegate;
        }
    
        @Override
        public String toString() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed May 09 15:17:25 GMT 2018
    - 8.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/HashBasedTable.java

     *
     * @author Jared Levy
     * @since 7.0
     */
    @GwtCompatible(serializable = true)
    @ElementTypesAreNonnullByDefault
    public class HashBasedTable<R, C, V> extends StandardTable<R, C, V> {
      private static class Factory<C, V> implements Supplier<Map<C, V>>, Serializable {
        final int expectedSize;
    
        Factory(int expectedSize) {
          this.expectedSize = expectedSize;
        }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Jan 24 17:47:51 GMT 2022
    - 4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableMapValues.java

    package com.google.common.collect;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import java.io.Serializable;
    import java.util.Map.Entry;
    import javax.annotation.CheckForNull;
    
    /**
     * {@code values()} implementation for {@link ImmutableMap}.
     *
     * @author Jesse Wilson
     * @author Kevin Bourrillion
     */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/annotations/GwtCompatible.java

     * by factory methods has a GWT serializable type. In the following example,
     *
     * <pre>
     * {@literal @}GwtCompatible
     * class Lists {
     *   ...
     *   {@literal @}GwtCompatible(serializable = true)
     *   {@literal static <E> List<E>} newArrayList(E... elements) {
     *     ...
     *   }
     * }
     * </pre>
     *
     * <p>The return value of {@code Lists.newArrayList(E[])} has GWT serializable type. It is also
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Dec 16 19:54:45 GMT 2020
    - 2.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableMapValues.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import java.io.Serializable;
    import java.util.Map.Entry;
    import java.util.Spliterator;
    import java.util.function.Consumer;
    import javax.annotation.CheckForNull;
    
    /**
     * {@code values()} implementation for {@link ImmutableMap}.
     *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 3.6K bytes
    - Viewed (0)
Back to top