Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 315 for operations (0.2 sec)

  1. android/guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

     * while adding a new pair.
     *
     * <p>This class is not threadsafe when any concurrent operations update the multimap, even if the
     * underlying map and {@link #createCollection()} method return threadsafe classes. Concurrent read
     * operations will work correctly. To allow concurrent update operations, wrap your multimap with a
     * call to {@link Multimaps#synchronizedMultimap}.
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 46.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/CharSource.java

     *
     * <ul>
     *   <li><b>Finite:</b> Many operations, such as {@link #length()} and {@link #read()}, will either
     *       block indefinitely or fail if the source creates an infinite reader.
     *   <li><b>Non-destructive:</b> A <i>destructive</i> reader will consume or otherwise alter the
     *       source as they are read from it. A source that provides such readers will not be reusable,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 22.4K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/IteratorTester.java

     * variety of sequences of the {@link Iterator#next}, {@link Iterator#hasNext} and {@link
     * Iterator#remove} operations. This utility takes the brute-force approach of trying <i>all</i>
     * possible sequences of these operations, up to a given number of steps. So, if the caller
     * specifies to use <i>n</i> steps, a total of <i>3^n</i> tests are actually performed.
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/AbstractMapBasedMultiset.java

      @Override
      public int count(@CheckForNull Object element) {
        Count frequency = Maps.safeGet(backingMap, element);
        return (frequency == null) ? 0 : frequency.get();
      }
    
      // Optional Operations - Modification Operations
    
      /**
       * {@inheritDoc}
       *
       * @throws IllegalArgumentException if the call would result in more than {@link
       *     Integer#MAX_VALUE} occurrences of {@code element} in this multiset.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Mar 06 16:06:58 GMT 2023
    - 10.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ListsTest.java

                      }
                    })
                .named("Lists.transform, random access, no nulls")
                .withFeatures(
                    CollectionSize.ANY,
                    ListFeature.REMOVE_OPERATIONS,
                    CollectionFeature.SERIALIZABLE,
                    CollectionFeature.ALLOWS_NULL_QUERIES)
                .createTestSuite());
    
        suite.addTest(
            ListTestSuiteBuilder.using(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 35.2K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapPutIfAbsentTester.java

    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.util.Map.Entry;
    import java.util.concurrent.ConcurrentMap;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests {@code putIfAbsent} operations on a concurrent map. Can't be
     * invoked directly; please see {@link
     * com.google.common.collect.testing.ConcurrentMapTestSuiteBuilder}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  7. android/guava-tests/benchmark/com/google/common/collect/ConcurrentHashMultisetBenchmark.java

            }
          }
          return list;
        }
    
        // Modification Operations
    
        /**
         * Adds a number of occurrences of the specified element to this multiset.
         *
         * @param element the element to add
         * @param occurrences the number of occurrences to add
         * @return the previous count of the element before the operation; possibly zero
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 06 12:56:11 GMT 2023
    - 16.6K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/testing/TearDown.java

    import com.google.common.annotations.GwtCompatible;
    
    /**
     * An object that can perform a {@link #tearDown} operation.
     *
     * @author Kevin Bourrillion
     * @since 10.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public interface TearDown {
      /**
       * Performs a <b>single</b> tear-down operation. See test-libraries-for-java's {@code
       * com.google.common.testing.junit3.TearDownTestCase} and {@code
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri May 12 19:22:18 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/features/CollectionFeature.java

       */
      GENERAL_PURPOSE(SUPPORTS_ADD, SUPPORTS_REMOVE, SUPPORTS_ITERATOR_REMOVE),
    
      /** 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,
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

            // of executing. Don't null out the latestTaskQueue field, because the work done here
            // may have scheduled more operations on another thread, and if those operations then
            // trigger reentrant calls that thread will have updated the latestTaskQueue field, and
            // we'd be interfering with their operation.
            executingTaskQueue.thread = null;
          }
        }
    
        private boolean trySetStarted() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 22.1K bytes
    - Viewed (0)
Back to top