Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 564 for Clear (0.04 sec)

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

      public void testClear() {
        table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        if (supportsRemove()) {
          table.clear();
          assertEquals(0, table.size());
          assertFalse(table.containsRow("foo"));
        } else {
          assertThrows(UnsupportedOperationException.class, () -> table.clear());
        }
      }
    
      public void testPut() {
        assertNull(table.put("foo", 1, cellValue('a')));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/FilteredMultimapValues.java

            Predicates.<Entry<K, V>>and(
                multimap.entryPredicate(), Maps.<V>valuePredicateOnEntries(not(Predicates.in(c)))));
      }
    
      @Override
      public void clear() {
        multimap.clear();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

                    try {
                        final int sessionIdListSize = finishedSessionIdList.size();
                        intervalControlHelper.setCrawlerRunning(true);
    
                        docList.clear();
                        accessResultList.clear();
    
                        updateTime = systemHelper.getCurrentTimeAsLong() - updateTime;
    
                        final long interval = updateInterval - updateTime;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/cache/CacheBuilderTest.java

       * a black-box test that tries to create lots of different thread-interleavings, and asserts that
       * each computation is affected by a call to {@code clear()} (and therefore gets passed to the
       * removal listener), or else is not affected by the {@code clear()} (and therefore exists in the
       * cache afterward).
       */
      @GwtIncompatible // QueuingRemovalListener
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/SynchronizedTableTest.java

        public boolean containsValue(@Nullable Object value) {
          assertTrue(Thread.holdsLock(mutex));
          return delegate.containsValue(value);
        }
    
        @Override
        public void clear() {
          assertTrue(Thread.holdsLock(mutex));
          delegate.clear();
        }
    
        @Override
        public Collection<V> values() {
          assertTrue(Thread.holdsLock(mutex));
          /* TODO: verify that the Collection is also synchronized? */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Aug 06 17:23:04 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/collection/SLinkedListTest.java

            assertThat(list.remove("1"), is(true));
            assertThat(list.remove(null), is(true));
            list.clear();
            list.addLast("1");
            list.addLast("2");
            list.addLast("3");
            list.remove(1);
            assertThat(list.get(0), is("1"));
            assertThat(list.get(1), is("3"));
    
            list.clear();
            list.addLast("1");
            list.addLast("2");
            list.addLast("3");
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        assertEquals(1, segment.count);
        assertSame(newValue, segment.get(key, hash));
    
        // cleared
        segment.setWeakValueReferenceForTesting(entry, oldValueRef);
        oldValueRef.clear();
        assertFalse(segment.replace(key, hash, oldValue, newValue));
        assertEquals(0, segment.count);
        assertNull(segment.get(key, hash));
      }
    
      public void testSegmentReplace() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/MapMakerInternalMapTest.java

        assertEquals(1, segment.count);
        assertSame(newValue, segment.get(key, hash));
    
        // cleared
        segment.setWeakValueReferenceForTesting(entry, oldValueRef);
        oldValueRef.clear();
        assertFalse(segment.replace(key, hash, oldValue, newValue));
        assertEquals(0, segment.count);
        assertNull(segment.get(key, hash));
      }
    
      public void testSegmentReplace() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ForwardingTable.java

      @Override
      protected abstract Table<R, C, V> delegate();
    
      @Override
      public Set<Cell<R, C, V>> cellSet() {
        return delegate().cellSet();
      }
    
      @Override
      public void clear() {
        delegate().clear();
      }
    
      @Override
      public Map<R, V> column(@ParametricNullness C columnKey) {
        return delegate().column(columnKey);
      }
    
      @Override
      public Set<C> columnKeySet() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 29 19:42:21 UTC 2021
    - 3.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Collections2.java

          this.fromCollection = checkNotNull(fromCollection);
          this.function = checkNotNull(function);
        }
    
        @Override
        public void clear() {
          fromCollection.clear();
        }
    
        @Override
        public boolean isEmpty() {
          return fromCollection.isEmpty();
        }
    
        @Override
        public Iterator<T> iterator() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 23.1K bytes
    - Viewed (0)
Back to top