Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 563 for support (0.16 sec)

  1. 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 Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Iterables.java

       * traverses the elements in {@code a}, followed by the elements in {@code b}. The source
       * iterators are not polled until necessary.
       *
       * <p>The returned iterable's iterator supports {@code remove()} when the corresponding input
       * iterator supports it.
       *
       * <p><b>Java 8+ users:</b> The {@code Stream} equivalent of this method is {@code
       * Stream.concat(a, b)}.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 42.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ArrayListMultimapGwtSerializationDependencies.java

     */
    
    package com.google.common.collect;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.Collection;
    import java.util.Map;
    
    /**
     * A dummy superclass to support GWT serialization of the element types of an {@link
     * ArrayListMultimap}. The GWT supersource for this class contains a field for each type.
     *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Oct 24 18:57:48 GMT 2019
    - 1.5K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/MapReplaceAllTester.java

                  });
          fail(
              "replaceAll() should throw UnsupportedOperation if a map does "
                  + "not support it and is not empty.");
        } catch (UnsupportedOperationException expected) {
        }
        expectUnchanged();
      }
    
      @MapFeature.Require(absent = SUPPORTS_PUT)
      @CollectionSize.Require(ZERO)
      public void testReplaceAll_unsupportedByEmptyCollection() {
        try {
          getMap()
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Oct 01 17:18:04 GMT 2021
    - 4.3K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetIteratorTester.java

            return getSubjectGenerator().create(e0(), e1(), e1(), e2()).iterator();
          }
        }.test();
      }
    
      /**
       * Returns {@link Method} instances for the tests that assume multisets support duplicates so that
       * the test of {@code Multisets.forSet()} can suppress them.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static List<Method> getIteratorDuplicateInitializingMethods() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/UnmodifiableListIterator.java

    import com.google.errorprone.annotations.DoNotCall;
    import java.util.ListIterator;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A list iterator that does not support {@link #remove}, {@link #add}, or {@link #set}.
     *
     * @since 7.0
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Jul 09 17:31:04 GMT 2021
    - 2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/TablesTransformValuesTest.java

        }
        return Tables.transformValues(table, FIRST_CHARACTER);
      }
    
      // Null support depends on the underlying table and function.
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      @Override
      public void testNullPointerInstance() {}
    
      // put() and putAll() aren't supported.
      @Override
      public void testPut() {
        try {
          table.put("foo", 1, 'a');
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:54:11 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/graph/NetworkBuilder.java

     * @author Joshua O'Madadhain
     * @param <N> The most general node type this builder will support. This is normally {@code Object}
     *     unless it is constrained by using a method like {@link #nodeOrder}, or the builder is
     *     constructed based on an existing {@code Network} using {@link #from(Network)}.
     * @param <E> The most general edge type this builder will support. This is normally {@code Object}
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Jun 03 01:21:31 GMT 2022
    - 7.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/HashBasedTable.java

     * order of the various views.
     *
     * <p>The views returned by {@link #column}, {@link #columnKeySet()}, and {@link #columnMap()} have
     * iterators that don't support {@code remove()}. Otherwise, all optional operations are supported.
     * Null row keys, columns keys, and values are not supported.
     *
     * <p>Lookups by row key are often faster than lookups by column key, because the data is stored in
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Jan 24 17:47:51 GMT 2022
    - 4K bytes
    - Viewed (0)
  10. 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 Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Oct 03 18:22:43 GMT 2023
    - 1.9K bytes
    - Viewed (0)
Back to top