Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for SynchronizedCollection (0.12 sec)

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

      }
    
      public void testValues() {
        Map<String, Integer> map = create();
        Collection<Integer> values = map.values();
        assertTrue(values instanceof SynchronizedCollection);
        assertSame(mutex, ((SynchronizedCollection<?>) values).mutex);
      }
    
      public void testEntrySet() {
        Map<String, Integer> map = create();
        Set<Entry<String, Integer>> entrySet = map.entrySet();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:23:04 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/SynchronizedMapTest.java

      }
    
      public void testValues() {
        Map<String, Integer> map = create();
        Collection<Integer> values = map.values();
        assertTrue(values instanceof SynchronizedCollection);
        assertSame(mutex, ((SynchronizedCollection<?>) values).mutex);
      }
    
      public void testEntrySet() {
        Map<String, Integer> map = create();
        Set<Entry<String, Integer>> entrySet = map.entrySet();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:23:04 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Synchronized.java

          Collection<E> collection, @CheckForNull Object mutex) {
        return new SynchronizedCollection<>(collection, mutex);
      }
    
      @VisibleForTesting
      static class SynchronizedCollection<E extends @Nullable Object> extends SynchronizedObject
          implements Collection<E> {
        private SynchronizedCollection(Collection<E> delegate, @CheckForNull Object mutex) {
          super(delegate, mutex);
        }
    
    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

          Collection<E> collection, @CheckForNull Object mutex) {
        return new SynchronizedCollection<>(collection, mutex);
      }
    
      @VisibleForTesting
      static class SynchronizedCollection<E extends @Nullable Object> extends SynchronizedObject
          implements Collection<E> {
        private SynchronizedCollection(Collection<E> delegate, @CheckForNull Object mutex) {
          super(delegate, mutex);
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 57.2K bytes
    - Viewed (0)
Back to top