Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for removeAt (0.26 sec)

  1. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

      `A cat may look at a king,' said Alice.  `I've read that in
    some book, but I don't remember where.'
    
      `Well, it must be removed,' said the King very decidedly, and
    he called the Queen, who was passing at the moment, `My dear!  I
    wish you would have this cat removed!'
    
      The Queen had only one way of settling all difficulties, great
    or small.  `Off with his head!' she said, without even looking
    round.
    
    Plain Text
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/cache/LocalCache.java

              entry.getHash(),
              entry.getValueReference().get(),
              entry.getValueReference().getWeight(),
              RemovalCause.COLLECTED);
          writeQueue.remove(entry);
          accessQueue.remove(entry);
        }
    
        /** Removes an entry whose key has been garbage collected. */
        @CanIgnoreReturnValue
        boolean reclaimKey(ReferenceEntry<K, V> entry, int hash) {
          lock();
          try {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/LocalCacheTest.java

        map.put(one, two);
        map.remove(one);
        assertNotified(listener, one, two, RemovalCause.EXPLICIT);
    
        map.put(two, three);
        map.remove(two, three);
        assertNotified(listener, two, three, RemovalCause.EXPLICIT);
    
        map.put(three, four);
        Iterator<?> i = map.entrySet().iterator();
        i.next();
        i.remove();
        assertNotified(listener, three, four, RemovalCause.EXPLICIT);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 112.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

        map.put(one, two);
        map.remove(one);
        assertNotified(listener, one, two, RemovalCause.EXPLICIT);
    
        map.put(two, three);
        map.remove(two, three);
        assertNotified(listener, two, three, RemovalCause.EXPLICIT);
    
        map.put(three, four);
        Iterator<?> i = map.entrySet().iterator();
        i.next();
        i.remove();
        assertNotified(listener, three, four, RemovalCause.EXPLICIT);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 110.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        assertThat(future.isDone()).isFalse();
        assertThat(executedRunnables).isEmpty();
        assertThat(pendingRunnables).hasSize(1);
        pendingRunnables.remove(0).run();
        assertThat(future.isDone()).isTrue();
        assertThat(executedRunnables).containsExactly(runnable);
        assertThat(pendingRunnables).isEmpty();
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        assertThat(future.isDone()).isFalse();
        assertThat(executedRunnables).isEmpty();
        assertThat(pendingRunnables).hasSize(1);
        pendingRunnables.remove(0).run();
        assertThat(future.isDone()).isTrue();
        assertThat(executedRunnables).containsExactly(runnable);
        assertThat(pendingRunnables).isEmpty();
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/cache/LocalCache.java

              entry.getHash(),
              entry.getValueReference().get(),
              entry.getValueReference().getWeight(),
              RemovalCause.COLLECTED);
          writeQueue.remove(entry);
          accessQueue.remove(entry);
        }
    
        /** Removes an entry whose key has been garbage collected. */
        @CanIgnoreReturnValue
        boolean reclaimKey(ReferenceEntry<K, V> entry, int hash) {
          lock();
          try {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 144.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Maps.java

        }
    
        @Override
        public boolean remove(@CheckForNull Object o) {
          try {
            return super.remove(o);
          } catch (UnsupportedOperationException e) {
            for (Entry<K, V> entry : map().entrySet()) {
              if (Objects.equal(o, entry.getValue())) {
                map().remove(entry.getKey());
                return true;
              }
            }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

      `A cat may look at a king,' said Alice.  `I've read that in
    some book, but I don't remember where.'
    
      `Well, it must be removed,' said the King very decidedly, and
    he called the Queen, who was passing at the moment, `My dear!  I
    wish you would have this cat removed!'
    
      The Queen had only one way of settling all difficulties, great
    or small.  `Off with his head!' she said, without even looking
    round.
    
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 145.2K bytes
    - Viewed (0)
Back to top