Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 474 for SERIALIZABLE (0.18 sec)

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

     * on the receiving instance; you must store and use the new builder instance it returns instead.
     *
     * <p>The generated multimaps are serializable if the key and value types are serializable, unless
     * stated otherwise in one of the configuration methods.
     *
     * @author Louis Wasserman
     * @param <K0> An upper bound on the key type of the generated multimap.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 17.5K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetTestSuiteBuilder.java

        if (!derivedFeatures.remove(CollectionFeature.SERIALIZABLE_INCLUDING_VIEWS)) {
          derivedFeatures.remove(CollectionFeature.SERIALIZABLE);
        }
        return derivedFeatures;
      }
    
      private static Set<Feature<?>> computeReserializedMultisetFeatures(Set<Feature<?>> features) {
        Set<Feature<?>> derivedFeatures = new HashSet<>(features);
        derivedFeatures.remove(CollectionFeature.SERIALIZABLE);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/CollectionTestSuiteBuilder.java

     * limitations under the License.
     */
    
    package com.google.common.collect.testing;
    
    import static com.google.common.collect.testing.features.CollectionFeature.SERIALIZABLE;
    import static com.google.common.collect.testing.features.CollectionFeature.SERIALIZABLE_INCLUDING_VIEWS;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.collect.testing.features.Feature;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Aug 18 22:49:45 GMT 2021
    - 3.6K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/ListTestSuiteBuilder.java

    import static com.google.common.collect.testing.features.CollectionFeature.KNOWN_ORDER;
    import static com.google.common.collect.testing.features.CollectionFeature.SERIALIZABLE;
    import static com.google.common.collect.testing.features.CollectionFeature.SERIALIZABLE_INCLUDING_VIEWS;
    
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.collect.testing.features.CollectionFeature;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 6.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/UsingToStringOrdering.java

    package com.google.common.collect;
    
    import com.google.common.annotations.GwtCompatible;
    import java.io.Serializable;
    
    /** An ordering that uses the natural order of the string representation of the values. */
    @GwtCompatible(serializable = true)
    @ElementTypesAreNonnullByDefault
    final class UsingToStringOrdering extends Ordering<Object> implements Serializable {
      static final UsingToStringOrdering INSTANCE = new UsingToStringOrdering();
    
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sun Jun 20 14:22:42 GMT 2021
    - 1.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Equivalence.java

       * com.google.common.collect.Ordering#lexicographical} does for orderings.
       *
       * <p>The returned object is serializable if this object is serializable.
       *
       * @since 10.0
       */
      @GwtCompatible(serializable = true)
      public final <S extends @Nullable T> Equivalence<Iterable<S>> pairwise() {
        // Ideally, the returned equivalence would support Iterable<? extends T>. However,
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Equivalence.java

       * com.google.common.collect.Ordering#lexicographical} does for orderings.
       *
       * <p>The returned object is serializable if this object is serializable.
       *
       * @since 10.0
       */
      @GwtCompatible(serializable = true)
      public final <S extends @Nullable T> Equivalence<Iterable<S>> pairwise() {
        // Ideally, the returned equivalence would support Iterable<? extends T>. However,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 24 01:41:50 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  8. android/guava-testlib/test/com/google/common/testing/SerializableTesterTest.java

        }
        assertFalse(errorNotThrown);
      }
    
      private static class ClassWhichDoesNotImplementEquals implements Serializable {
        private static final long serialVersionUID = 1L;
      }
    
      private static class ClassWhichIsAlwaysEqualButHasDifferentHashcodes implements Serializable {
        private static final long serialVersionUID = 2L;
    
        @SuppressWarnings("EqualsHashCode")
        @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 17 15:49:06 GMT 2023
    - 4K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/MapTestSuiteBuilder.java

        mapFeatures = new HashSet<>(mapFeatures);
        Set<Feature<?>> derivedFeatures = new HashSet<>();
        mapFeatures.remove(CollectionFeature.SERIALIZABLE);
        if (mapFeatures.remove(CollectionFeature.SERIALIZABLE_INCLUDING_VIEWS)) {
          derivedFeatures.add(CollectionFeature.SERIALIZABLE);
        }
        if (mapFeatures.contains(MapFeature.SUPPORTS_REMOVE)) {
          derivedFeatures.add(CollectionFeature.SUPPORTS_REMOVE);
        }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 11K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableEntry.java

    import com.google.common.annotations.GwtCompatible;
    import java.io.Serializable;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * An immutable {@code Map.Entry}, used both by {@link
     * com.google.common.collect.Maps#immutableEntry(Object, Object)} and by other parts of {@code
     * common.collect} as a superclass.
     */
    @GwtCompatible(serializable = true)
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Jan 19 21:29:44 GMT 2023
    - 1.7K bytes
    - Viewed (0)
Back to top