Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for SynchronizedCollection (1.03 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();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 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();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 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);
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 53.4K bytes
    - Viewed (0)
Back to top