Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 693 for clears (0.09 sec)

  1. src/test/java/org/codelibs/core/beans/factory/BeanDescFactoryTest.java

        @Test
        public void testClear() throws Exception {
            final BeanDesc beanDesc = BeanDescFactory.getBeanDesc(MyBean.class);
            BeanDescFactory.clear();
            assertThat(BeanDescFactory.getBeanDesc(MyBean.class), is(not(sameInstance(beanDesc))));
        }
    
        /**
         *
         */
        public static class MyBean {
    
            /**
             * @return String
             */
            public String getAaa() {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

          map = makePopulatedMap();
        } catch (UnsupportedOperationException e) {
          return;
        }
    
        if (supportsClear) {
          map.clear();
          assertTrue(map.isEmpty());
        } else {
          assertThrows(UnsupportedOperationException.class, () -> map.clear());
        }
        assertInvariants(map);
      }
    
      @J2ktIncompatible // https://youtrack.jetbrains.com/issue/KT-58242/ undefined behavior (crash)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Maps.java

            return function.apply(k);
          } else {
            return null;
          }
        }
    
        @Override
        public void clear() {
          backingSet().clear();
        }
    
        @Override
        protected Set<Entry<K, V>> createEntrySet() {
          @WeakOuter
          class EntrySetImpl extends EntrySet<K, V> {
            @Override
            Map<K, V> map() {
              return AsMapView.this;
            }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Maps.java

            return function.apply(k);
          } else {
            return null;
          }
        }
    
        @Override
        public void clear() {
          backingSet().clear();
        }
    
        @Override
        protected Set<Entry<K, V>> createEntrySet() {
          @WeakOuter
          class EntrySetImpl extends EntrySet<K, V> {
            @Override
            Map<K, V> map() {
              return AsMapView.this;
            }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/collection/ArrayMap.java

            removeMap(e.key);
            e.clear();
            return value;
        }
    
        @Override
        public void putAll(final Map<? extends K, ? extends V> map) {
            for (final Map.Entry<? extends K, ? extends V> entry : map.entrySet()) {
                put(entry.getKey(), entry.getValue());
            }
        }
    
        @Override
        public void clear() {
            for (int i = 0; i < mapTable.length; i++) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/app/pager/DataConfigPagerTest.java

    import java.util.ArrayList;
    import java.util.List;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class DataConfigPagerTest extends UnitFessTestCase {
    
        public void test_DataConfigPager() {
            DataConfigPager dataconfigpager = new DataConfigPager();
    
            dataconfigpager.clear();
            assertEquals(0, dataconfigpager.getAllRecordCount());
            assertEquals(0, dataconfigpager.getAllPageCount());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/HashBiMap.java

      }
    
      private final class Inverse extends IteratorBasedAbstractMap<V, K>
          implements BiMap<V, K>, Serializable {
        BiMap<K, V> forward() {
          return HashBiMap.this;
        }
    
        @Override
        public int size() {
          return size;
        }
    
        @Override
        public void clear() {
          forward().clear();
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 24.5K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/artifact/handler/manager/LegacyArtifactHandlerManager.java

            if (event instanceof ExecutionEvent) {
                ExecutionEvent executionEvent = (ExecutionEvent) event;
                if (executionEvent.getType() == ExecutionEvent.Type.SessionEnded) {
                    allHandlers.clear();
                }
            }
        }
    
        public ArtifactHandler getArtifactHandler(String type) {
            requireNonNull(type, "null type");
            ArtifactHandler handler = allHandlers.get(type);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/InterruptibleTask.java

      static {
        // Prevent rare disastrous classloading in first call to LockSupport.park.
        // See: https://bugs.openjdk.java.net/browse/JDK-8074773
        @SuppressWarnings("unused")
        Class<?> ensureLoaded = LockSupport.class;
      }
    
      private static final class DoNothingRunnable implements Runnable {
        @Override
        public void run() {}
      }
      // The thread executing the task publishes itself to the superclass' reference and the thread
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/pager/SynonymPager.java

        private List<Integer> pageNumberList;
    
        private int pageSize;
    
        private int currentPageNumber;
    
        public String id;
    
        public void clear() {
            allRecordCount = 0;
            allPageCount = 0;
            existPrePage = false;
            existNextPage = false;
            pageSize = getDefaultPageSize();
            currentPageNumber = getDefaultCurrentPageNumber();
    
            id = null;
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top