Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for pollFirstEntry (0.15 sec)

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

            }
            return navigableKeySet;
          }
        }
    
        @Override
        @CheckForNull
        public Map.Entry<K, V> pollFirstEntry() {
          synchronized (mutex) {
            return nullableSynchronizedEntry(delegate().pollFirstEntry(), mutex);
          }
        }
    
        @Override
        @CheckForNull
        public Map.Entry<K, V> pollLastEntry() {
          synchronized (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)
  2. guava-tests/test/com/google/common/collect/MapsTest.java

        assertThat(map.descendingKeySet()).containsExactly("two", "three", "one").inOrder();
    
        assertEquals(mapEntry("one", 3), map.pollFirstEntry());
        assertEquals(mapEntry("two", 3), map.pollLastEntry());
        assertEquals(1, map.size());
      }
    
      @GwtIncompatible // NavigableMap
      public void testAsMapNavigableReadsThrough() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 67.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/MapsTest.java

        assertThat(map.descendingKeySet()).containsExactly("two", "three", "one").inOrder();
    
        assertEquals(mapEntry("one", 3), map.pollFirstEntry());
        assertEquals(mapEntry("two", 3), map.pollLastEntry());
        assertEquals(1, map.size());
      }
    
      @GwtIncompatible // NavigableMap
      public void testAsMapNavigableReadsThrough() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 64.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableSortedMap.java

       * @deprecated Unsupported operation.
       */
      @CanIgnoreReturnValue
      @Deprecated
      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
      @CheckForNull
      public final Entry<K, V> pollFirstEntry() {
        throw new UnsupportedOperationException();
      }
    
      /**
       * Guaranteed to throw an exception and leave the map unmodified.
       *
       * @throws UnsupportedOperationException always
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 50.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

       * @deprecated Unsupported operation.
       */
      @CanIgnoreReturnValue
      @Deprecated
      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
      @CheckForNull
      public final Entry<K, V> pollFirstEntry() {
        throw new UnsupportedOperationException();
      }
    
      /**
       * Guaranteed to throw an exception and leave the map unmodified.
       *
       * @throws UnsupportedOperationException always
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
Back to top