Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 96 for insertions (0.33 sec)

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

       * containers with a known order other than insertion order must override this method.
       *
       * <p>Note: This default implementation is overkill (but valid) for an unordered container. An
       * equally valid implementation for an unordered container is to throw an exception. The chosen
       * implementation, however, has the advantage of working for insertion-ordered containers, as
       * well.
       */
      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/ListTestSuiteBuilder.java

        testers.add(ListToArrayTester.class);
        return testers;
      }
    
      /**
       * Specifies {@link CollectionFeature#KNOWN_ORDER} for all list tests, since lists have an
       * iteration ordering corresponding to the insertion order.
       */
      @Override
      public TestSuite createTestSuite() {
        withFeatures(KNOWN_ORDER);
        return super.createTestSuite();
      }
    
      @Override
      protected List<TestSuite> createDerivedSuites(
    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)
  3. android/guava/src/com/google/common/collect/TableCollectors.java

        checkNotNull(columnFunction, "columnFunction");
        checkNotNull(valueFunction, "valueFunction");
        checkNotNull(mergeFunction, "mergeFunction");
    
        /*
         * No mutable Table exactly matches the insertion order behavior of ImmutableTable.Builder, but
         * the Builder can't efficiently support merging of duplicate values.  Getting around this
         * requires some work.
         */
    
        return Collector.of(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Mar 09 00:21:17 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/CompactLinkedHashMap.java

    import java.util.LinkedHashMap;
    import java.util.Map;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * CompactLinkedHashMap is an implementation of a Map with insertion or LRU iteration order,
     * maintained with a doubly linked list through the entries. All optional operations (put and
     * remove) are supported. Null keys and values are supported.
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/LinkedHashMultimap.java

      }
    
      /**
       * LinkedHashMultimap entries are in no less than three coexisting linked lists: a bucket in the
       * hash table for a {@code Set<V>} associated with a key, the linked list of insertion-ordered
       * entries in that {@code Set<V>}, and the linked list of entries in the LinkedHashMultimap as a
       * whole.
       */
      @VisibleForTesting
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

     * well as a simple framework for helping to make sure that assertions failing in generated threads
     * cause the associated test that generated them to itself fail (which JUnit does not otherwise
     * arrange). The rules for creating such tests are:
     *
     * <ol>
     *   <li>All assertions in code running in generated threads must use the forms {@link #threadFail},
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/LinkedListMultimap.java

      /**
       * {@inheritDoc}
       *
       * <p>The iterator generated by the returned collection traverses the values in the order they
       * were added to the multimap. Because the values may have duplicates and follow the insertion
       * ordering, this method returns a {@link List}, instead of the {@link Collection} specified in
       * the {@link ListMultimap} interface.
       */
      @Override
      public List<V> values() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 27.2K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

     *
     * @since 21.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public final class SpliteratorTester<E extends @Nullable Object> {
      /** Return type from "contains the following elements" assertions. */
      public interface Ordered {
        /**
         * Attests that the expected values must not just be present but must be present in the order
         * they were given.
         */
        void inOrder();
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 18:19:31 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/HashBiMap.java

    /**
     * A {@link BiMap} backed by two hash tables. This implementation allows null keys and values. A
     * {@code HashBiMap} and its inverse are both serializable.
     *
     * <p>This implementation guarantees insertion-based iteration order of its keys.
     *
     * <p>See the Guava User Guide article on <a href=
     * "https://github.com/google/guava/wiki/NewCollectionTypesExplained#bimap">{@code BiMap} </a>.
     *
     * @author Louis Wasserman
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 24.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/AbstractServiceTest.java

      }
    
      public void testManualServiceFailureIdempotence() {
        ManualSwitchedService service = new ManualSwitchedService();
        /*
         * Set up a RecordingListener to perform its built-in assertions, even though we won't look at
         * its state history.
         */
        RecordingListener unused = RecordingListener.record(service);
        service.startAsync();
        service.notifyFailed(new Exception("1"));
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 29.3K bytes
    - Viewed (0)
Back to top