Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 455 for support (0.19 sec)

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

    import java.util.ListIterator;
    import java.util.Set;
    
    /**
     * A method supported by implementations of the {@link Iterator} or {@link ListIterator} interface.
     *
     * <p>This enum is GWT compatible.
     *
     * @author Chris Povirk
     */
    @GwtCompatible
    public enum IteratorFeature {
      /** Support for {@link Iterator#remove()}. */
      SUPPORTS_REMOVE,
      /**
       * Support for {@link ListIterator#add(Object)}; ignored for plain {@link Iterator}
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Oct 03 18:22:43 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/IteratorFeature.java

    import java.util.ListIterator;
    import java.util.Set;
    
    /**
     * A method supported by implementations of the {@link Iterator} or {@link ListIterator} interface.
     *
     * <p>This enum is GWT compatible.
     *
     * @author Chris Povirk
     */
    @GwtCompatible
    public enum IteratorFeature {
      /** Support for {@link Iterator#remove()}. */
      SUPPORTS_REMOVE,
      /**
       * Support for {@link ListIterator#add(Object)}; ignored for plain {@link Iterator}
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Oct 03 18:22:43 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddAllTester.java

        extends AbstractCollectionTester<E> {
      @CollectionFeature.Require(SUPPORTS_ADD)
      public void testAddAll_supportedNothing() {
        assertFalse("addAll(nothing) should return false", collection.addAll(emptyCollection()));
        expectUnchanged();
      }
    
      @CollectionFeature.Require(absent = SUPPORTS_ADD)
      public void testAddAll_unsupportedNothing() {
        try {
          assertFalse(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/TempFileCreator.java

      /**
       * @throws IllegalStateException if the directory could not be created (to implement the contract
       *     of {@link Files#createTempDir()}, such as if the system does not support creating temporary
       *     directories securely
       */
      abstract File createTempDir();
    
      abstract File createTempFile(String prefix) throws IOException;
    
      private static TempFileCreator pickSecureCreator() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Oct 06 17:11:11 GMT 2023
    - 12.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/RangeSet.java

       *
       * <p>The returned view supports the {@link #add} operation if this {@code RangeSet} supports
       * {@link #remove}, and vice versa.
       */
      RangeSet<C> complement();
    
      /**
       * Returns a view of the intersection of this {@code RangeSet} with the specified range.
       *
       * <p>The returned view supports all optional operations supported by this {@code RangeSet}, with
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 9.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Multiset.java

       * The order of the elements in the element set is unspecified.
       *
       * <p>If the element set supports any removal operations, these necessarily cause <b>all</b>
       * occurrences of the removed element(s) to be removed from the multiset. Implementations are not
       * expected to support the add operations, although this is possible.
       *
    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)
  7. guava-testlib/src/com/google/common/collect/testing/features/CollectionFeature.java

      REJECTS_DUPLICATES_AT_CREATION,
    
      SUPPORTS_ADD,
      SUPPORTS_REMOVE,
      SUPPORTS_ITERATOR_REMOVE,
      FAILS_FAST_ON_CONCURRENT_MODIFICATION,
    
      /**
       * Features supported by general-purpose collections - everything but {@link #RESTRICTS_ELEMENTS}.
       *
       * @see java.util.Collection the definition of general-purpose collections.
       */
      GENERAL_PURPOSE(SUPPORTS_ADD, SUPPORTS_REMOVE, SUPPORTS_ITERATOR_REMOVE),
    
    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)
  8. guava-testlib/src/com/google/common/collect/testing/google/MultisetElementSetTester.java

    import static com.google.common.collect.testing.Helpers.assertEmpty;
    import static com.google.common.collect.testing.features.CollectionFeature.SUPPORTS_ADD;
    import static com.google.common.collect.testing.features.CollectionFeature.SUPPORTS_REMOVE;
    import static com.google.common.collect.testing.features.CollectionSize.SEVERAL;
    import static com.google.common.collect.testing.features.CollectionSize.ZERO;
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  9. 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/ObjectArrays.java

       *
       * <p>This method returns the elements in the order they are returned by the collection's
       * iterator.
       *
       * <p>TODO(kevinb): support concurrently modified collections?
       *
       * @param c the collection for which to return an array of elements
       * @param array the array in which to place the collection elements
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jun 12 15:59:22 GMT 2023
    - 9K bytes
    - Viewed (0)
Back to top