Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for forEntry (0.06 sec)

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

      }
    
      final class KeySet extends View<K, V, K> {
        KeySet() {
          super(HashBiMap.this);
        }
    
        @Override
        @ParametricNullness
        K forEntry(int entry) {
          // The cast is safe because we call forEntry only for indexes that contain entries.
          return uncheckedCastNullableTToT(keys[entry]);
        }
    
        @Override
        public boolean contains(@CheckForNull Object o) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 36.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/LinkedListMultimapTest.java

            UnsupportedOperationException.class, () -> barEntry.setValue(Arrays.<Integer>asList()));
        entries.remove(); // clear
        Entry<String, Collection<Integer>> fooEntry = entries.next();
        assertEquals("foo", fooEntry.getKey());
        assertThat(fooEntry.getValue()).contains(2);
        assertFalse(entries.hasNext());
        assertEquals("{foo=[2]}", map.toString());
      }
    
      public void testEntriesAfterMultimapUpdate() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18K bytes
    - Viewed (0)
Back to top