Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for synchronizedSet (0.25 sec)

  1. guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.base.Preconditions.checkState;
    import static java.util.Collections.synchronizedSet;
    import static java.util.Collections.unmodifiableSet;
    
    import com.google.common.base.Equivalence;
    import java.util.Collection;
    import java.util.HashSet;
    import java.util.LinkedHashSet;
    import java.util.Map;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.base.Preconditions.checkState;
    import static java.util.Collections.synchronizedSet;
    import static java.util.Collections.unmodifiableSet;
    
    import com.google.common.base.Equivalence;
    import java.util.Collection;
    import java.util.HashSet;
    import java.util.LinkedHashSet;
    import java.util.Map;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Synchronized.java

      @VisibleForTesting
      static <E extends @Nullable Object> Set<E> set(Set<E> set, @CheckForNull Object mutex) {
        return new SynchronizedSet<>(set, mutex);
      }
    
      static class SynchronizedSet<E extends @Nullable Object> extends SynchronizedCollection<E>
          implements Set<E> {
    
        SynchronizedSet(Set<E> delegate, @CheckForNull Object mutex) {
          super(delegate, mutex);
        }
    
        @Override
        Set<E> delegate() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 53.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Synchronized.java

      @VisibleForTesting
      static <E extends @Nullable Object> Set<E> set(Set<E> set, @CheckForNull Object mutex) {
        return new SynchronizedSet<>(set, mutex);
      }
    
      static class SynchronizedSet<E extends @Nullable Object> extends SynchronizedCollection<E>
          implements Set<E> {
    
        SynchronizedSet(Set<E> delegate, @CheckForNull Object mutex) {
          super(delegate, mutex);
        }
    
        @Override
        Set<E> delegate() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 57.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

                  numSuccessfulSetCalls.incrementAndGet();
                }
                awaitUnchecked(barrier);
                return null;
              }
            };
        final Set<Object> finalResults = Collections.synchronizedSet(Sets.newIdentityHashSet());
        Runnable collectResultsRunnable =
            new Runnable() {
              @Override
              public void run() {
                try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/SystemHelper.java

        private long systemCpuCheckInterval = 1000L;
    
        protected Map<String, Supplier<String>> updateConfigListenerMap = new HashMap<>();
    
        protected Set<String> waitingThreadNames = Collections.synchronizedSet(new HashSet<>());
    
        @PostConstruct
        public void init() {
            if (logger.isDebugEnabled()) {
                logger.debug("Initialize {}", this.getClass().getSimpleName());
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 17 12:10:08 UTC 2024
    - 27.2K bytes
    - Viewed (0)
Back to top