Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 502 for Support (0.7 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddTester.java

    public class CollectionAddTester<E> extends AbstractCollectionTester<E> {
      @CollectionFeature.Require(SUPPORTS_ADD)
      public void testAdd_supportedNotPresent() {
        assertTrue("add(notPresent) should return true", collection.add(e3()));
        expectAdded(e3());
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_ADD)
      public void testAdd_unsupportedNotPresent() {
        try {
          collection.add(e3());
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Serialization.java

       */
      static int readCount(ObjectInputStream stream) throws IOException {
        return stream.readInt();
      }
    
      /**
       * Stores the contents of a map in an output stream, as part of serialization. It does not support
       * concurrent maps whose content may change while the method is running.
       *
       * <p>The serialized output consists of the number of entries, first key, first value, second key,
       * second value, and so on.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/CollectSpliterators.java

              long topSize) {
        checkArgument(
            (topCharacteristics & Spliterator.SUBSIZED) == 0,
            "flatMap does not support SUBSIZED characteristic");
        checkArgument(
            (topCharacteristics & Spliterator.SORTED) == 0,
            "flatMap does not support SORTED characteristic");
        checkNotNull(fromSpliterator);
        checkNotNull(function);
        return new FlatMapSpliteratorOfObject<>(
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 15:21:23 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/PeekingIterator.java

      /**
       * {@inheritDoc}
       *
       * <p>Implementations may or may not support removal when a call to {@link #peek()} has occurred
       * since the most recent call to {@link #next()}.
       *
       * @throws IllegalStateException if there has been a call to {@link #peek()} since the most recent
       *     call to {@link #next()} and this implementation does not support this sequence of calls
       *     (optional)
       */
      @Override
      void remove();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 24 17:47:51 GMT 2022
    - 2.5K bytes
    - Viewed (0)
  5. android/guava-testlib/test/com/google/common/collect/testing/MyTester.java

     * limitations under the License.
     */
    
    package com.google.common.collect.testing;
    
    import org.checkerframework.checker.nullness.qual.Nullable;
    import org.junit.Ignore;
    
    /** Support class added to a suite as part of {@link FeatureSpecificTestSuiteBuilderTest}. */
    /*
     * @Ignore affects the Android test runner (and only the Android test runner): It respects JUnit 4
     * annotations even on JUnit 3 tests.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 17 14:48:57 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/MapClearTester.java

          // success
        }
      }
    
      @MapFeature.Require(absent = SUPPORTS_REMOVE)
      @CollectionSize.Require(absent = ZERO)
      public void testClear_unsupported() {
        try {
          getMap().clear();
          fail(
              "clear() should throw UnsupportedOperation if a map does "
                  + "not support it and is not empty.");
        } catch (UnsupportedOperationException expected) {
        }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 3.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/UnmodifiableIterator.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.errorprone.annotations.DoNotCall;
    import java.util.Iterator;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * An iterator that does not support {@link #remove}.
     *
     * <p>{@code UnmodifiableIterator} is used primarily in conjunction with implementations of {@link
     * ImmutableCollection}, such as {@link ImmutableList}. You can, however, convert an existing
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Jul 09 17:31:04 GMT 2021
    - 1.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Multimaps.java

            : new FilteredEntrySetMultimap<K, V>(checkNotNull(unfiltered), entryPredicate);
      }
    
      /**
       * Support removal operations when filtering a filtered multimap. Since a filtered multimap has
       * iterators that don't support remove, passing one to the FilteredEntryMultimap constructor would
       * lead to a multimap whose removal operations would fail. This method combines the predicates to
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 86.1K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/ListSetTester.java

    public class ListSetTester<E> extends AbstractListTester<E> {
      @ListFeature.Require(SUPPORTS_SET)
      @CollectionSize.Require(absent = ZERO)
      public void testSet() {
        doTestSet(e3());
      }
    
      @CollectionSize.Require(absent = ZERO)
      @CollectionFeature.Require(ALLOWS_NULL_VALUES)
      @ListFeature.Require(SUPPORTS_SET)
      public void testSet_null() {
        doTestSet(null);
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Table.java

       * values. Changes to the returned map will update this table. The returned map does not support
       * {@code put()} or {@code putAll()}, or {@code setValue()} on its entries.
       *
       * <p>In contrast, the maps returned by {@code rowMap().get()} have the same behavior as those
       * returned by {@link #row}. Those maps may support {@code setValue()}, {@code put()}, and {@code
       * putAll()}.
       *
    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