Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 345 for views (0.15 sec)

  1. guava-testlib/src/com/google/common/collect/testing/google/MultisetSerializationTester.java

      @CollectionFeature.Require(SERIALIZABLE_INCLUDING_VIEWS)
      public void testEntrySetSerialization() {
        Set<Multiset.Entry<E>> expected = getMultiset().entrySet();
        assertEquals(expected, SerializableTester.reserialize(expected));
      }
    
      @CollectionFeature.Require(SERIALIZABLE_INCLUDING_VIEWS)
      public void testElementSetSerialization() {
        Set<E> expected = getMultiset().elementSet();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Nov 15 21:38:09 GMT 2022
    - 1.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Multiset.java

      Set<Entry<E>> entrySet();
    
      /**
       * An unmodifiable element-count pair for a multiset. The {@link Multiset#entrySet} method returns
       * a view of the multiset whose elements are of this class. A multiset implementation may return
       * Entry instances that are either live "read-through" views to the Multiset, or immutable
       * snapshots. Note that this type is unrelated to the similarly-named type {@code Map.Entry}.
       *
       * @since 2.0
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 19.7K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/ListTestSuiteBuilder.java

    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;
    import com.google.common.collect.testing.features.Feature;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Multimaps.java

       * predicate. The returned multimap is a live view of {@code unfiltered}; changes to one affect
       * the other.
       *
       * <p>The resulting multimap's views have iterators that don't support {@code remove()}, but all
       * other methods are supported by the multimap and its views. When adding a key that doesn't
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K 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}
       */
      NONE;
    
    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. android/guava/src/com/google/common/collect/Maps.java

       * navigable map is accomplished through the returned navigable map (or its views).
       *
       * <p>It is imperative that the user manually synchronize on the returned navigable map when
       * iterating over any of its collection views, or the collections views of any of its {@code
       * descendingMap}, {@code subMap}, {@code headMap} or {@code tailMap} views.
       *
       * <pre>{@code
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/TreeMultisetTest.java

                    CollectionFeature.GENERAL_PURPOSE,
                    CollectionFeature.SERIALIZABLE,
                    CollectionFeature.ALLOWS_NULL_QUERIES,
                    MultisetFeature.ENTRIES_ARE_VIEWS)
                .named("TreeMultiset, Ordering.natural")
                .createTestSuite());
        suite.addTest(
            SortedMultisetTestSuiteBuilder.using(
                    new TestStringMultisetGenerator() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetFeature.java

    @GwtCompatible
    public enum MultisetFeature implements Feature<Multiset> {
      /**
       * Indicates that elements from {@code Multiset.entrySet()} update to reflect changes in the
       * backing multiset.
       */
      ENTRIES_ARE_VIEWS;
    
      @Override
      public Set<Feature<? super Multiset>> getImpliedFeatures() {
        return Collections.emptySet();
      }
    
      @Retention(RetentionPolicy.RUNTIME)
      @Inherited
      @TesterAnnotation
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java

        assertEquals(-1, tail.lastIndexOf(list.get(0)));
      }
    
      @CollectionFeature.Require(SERIALIZABLE_INCLUDING_VIEWS)
      public void testReserializeWholeSubList() {
        SerializableTester.reserializeAndAssert(getList().subList(0, getNumElements()));
      }
    
      @CollectionFeature.Require(SERIALIZABLE_INCLUDING_VIEWS)
      public void testReserializeEmptySubList() {
        SerializableTester.reserializeAndAssert(getList().subList(0, 0));
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Table.java

     * worse performance than data access by row key.
     *
     * <p>The methods returning collections or maps always return views of the underlying table.
     * Updating the table can change the contents of those collections, and updating the collections
     * will change the table.
     *
     * <p>All methods that modify the table are optional, and the views returned by the table may or may
     * not be modifiable. When modification isn't supported, those methods will throw an {@link
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 10.7K bytes
    - Viewed (0)
Back to top