Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 249 for SERIALIZABLE (0.17 sec)

  1. android/guava-tests/test/com/google/common/collect/SynchronizedTableTest.java

     */
    
    package com.google.common.collect;
    
    import java.io.Serializable;
    import java.util.Collection;
    import java.util.Map;
    import java.util.Set;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    public class SynchronizedTableTest extends AbstractTableTest<Character> {
      private static final class TestTable<R, C, V> implements Table<R, C, V>, Serializable {
        final Table<R, C, V> delegate = HashBasedTable.create();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  2. 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 May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 11K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/HashMultisetTest.java

    import com.google.common.collect.testing.google.MultisetTestSuiteBuilder;
    import com.google.common.collect.testing.google.TestStringMultisetGenerator;
    import com.google.common.testing.SerializableTester;
    import java.io.Serializable;
    import java.util.Arrays;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    
    /**
     * Unit test for {@link HashMultiset}.
     *
     * @author Kevin Bourrillion
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ListsTest.java

      private static final class RemoveFirstFunction implements Function<String, String>, Serializable {
        @Override
        public String apply(String from) {
          return (from.length() == 0) ? from : from.substring(1);
        }
      }
    
      private static class SomeIterable implements Iterable<Integer>, Serializable {
        @Override
        public Iterator<Integer> iterator() {
          return SOME_COLLECTION.iterator();
        }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 35.2K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/features/CollectionFeature.java

      /** Features supported by collections where only removal is allowed. */
      REMOVE_OPERATIONS(SUPPORTS_REMOVE, SUPPORTS_ITERATOR_REMOVE),
    
      SERIALIZABLE,
      SERIALIZABLE_INCLUDING_VIEWS(SERIALIZABLE),
    
      SUBSET_VIEW,
      DESCENDING_VIEW,
    
      /**
       * For documenting collections that support no optional features, such as {@link
       * java.util.Collections#emptySet}
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  6. 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
    - 12.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/Suppliers.java

    import com.google.common.annotations.VisibleForTesting;
    import java.io.Serializable;
    import java.time.Duration;
    import java.util.concurrent.TimeUnit;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Useful suppliers.
     *
     * <p>All methods return serializable suppliers as long as they're given serializable parameters.
     *
     * @author Laurence Gonsalves
     * @author Harry Heymann
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableEnumSet.java

    import java.io.ObjectInputStream;
    import java.io.Serializable;
    import java.util.Collection;
    import java.util.EnumSet;
    import java.util.Spliterator;
    import java.util.function.Consumer;
    import javax.annotation.CheckForNull;
    
    /**
     * Implementation of {@link ImmutableSet} backed by a non-empty {@link java.util.EnumSet}.
     *
     * @author Jared Levy
     */
    @GwtCompatible(serializable = true, emulated = true)
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/SynchronizedTableTest.java

     */
    
    package com.google.common.collect;
    
    import java.io.Serializable;
    import java.util.Collection;
    import java.util.Map;
    import java.util.Set;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    public class SynchronizedTableTest extends AbstractTableTest<Character> {
      private static final class TestTable<R, C, V> implements Table<R, C, V>, Serializable {
        final Table<R, C, V> delegate = HashBasedTable.create();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  10. 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)
Back to top