Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1681 - 1690 of 3,818 for Avoid (0.02 sec)

  1. guava-tests/test/com/google/common/util/concurrent/WrappingExecutorServiceTest.java

        mock.assertLastMethodCalled("shutdownNow");
        assertEquals(ImmutableList.of(), list);
      }
    
      public void testExecute() {
        MockExecutor mock = new MockExecutor();
        TestExecutor testExecutor = new TestExecutor(mock);
        testExecutor.execute(doNothing());
        mock.assertLastMethodCalled("execute");
      }
    
      public void testSubmit() throws InterruptedException, ExecutionException {
        {
          MockExecutor mock = new MockExecutor();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/JoinerTest.java

        }
      }
    
      public void test_useForNull_skipNulls() {
        Joiner j = Joiner.on("x").useForNull("y");
        assertThrows(UnsupportedOperationException.class, j::skipNulls);
      }
    
      public void test_skipNulls_useForNull() {
        Joiner j = Joiner.on("x").skipNulls();
        assertThrows(UnsupportedOperationException.class, () -> j.useForNull("y"));
      }
    
      public void test_useForNull_twice() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ComparatorsTest.java

        Comparator<Optional<String>> unused = emptiesLast(naturalOrder());
      }
    
      public void testMinMaxNatural() {
        assertThat(min(1, 2)).isEqualTo(1);
        assertThat(min(2, 1)).isEqualTo(1);
        assertThat(max(1, 2)).isEqualTo(2);
        assertThat(max(2, 1)).isEqualTo(2);
      }
    
      public void testMinMaxNatural_equalInstances() {
        Foo a = new Foo(1);
        Foo b = new Foo(1);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  4. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/DefaultModelResolverTest.java

        /**
         * Creates a new {@code DefaultModelResolverTest} instance.
         */
        public DefaultModelResolverTest() {
            super();
        }
    
        @Test
        void testResolveParentThrowsUnresolvableModelExceptionWhenNotFound() throws Exception {
            final Parent parent = Parent.newBuilder()
                    .groupId("ut.simple")
                    .artifactId("artifact")
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/config/allcommon/EsPagingResultBean.java

            return took;
        }
    
        public void setTook(long took) {
            this.took = took;
        }
    
        public int getTotalShards() {
            return totalShards;
        }
    
        public void setTotalShards(int totalShards) {
            this.totalShards = totalShards;
        }
    
        public int getSuccessfulShards() {
            return successfulShards;
        }
    
        public void setSuccessfulShards(int successfulShards) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

            }
            refresh();
        }
    
        public void addBadWord(final String badWord, final boolean apply) {
            suggester.indexer().addBadWord(badWord, apply);
            refresh();
        }
    
        public void deleteBadWord(final String badWord) {
            suggester.indexer().deleteBadWord(badWord);
            refresh();
        }
    
        public synchronized void refresh() {
            suggester.refresh();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/repository/ArtifactTransferListener.java

    @Deprecated
    public interface ArtifactTransferListener {
        boolean isShowChecksumEvents();
    
        void setShowChecksumEvents(boolean showChecksumEvents);
    
        void transferInitiated(ArtifactTransferEvent transferEvent);
    
        void transferStarted(ArtifactTransferEvent transferEvent);
    
        void transferProgress(ArtifactTransferEvent transferEvent);
    
        void transferCompleted(ArtifactTransferEvent transferEvent);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/util/ThreadDumpUtil.java

            // noop
        }
    
        public static void printThreadDump() {
            processThreadDump(logger::info);
        }
    
        public static void printThreadDumpAsWarn() {
            processThreadDump(logger::warn);
        }
    
        public static void printThreadDumpAsError() {
            processThreadDump(logger::error);
        }
    
        public static void writeThreadDump(final String file) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

        multimap.put("tree", 0);
        return multimap;
      }
    
      public void testToString() {
        SetMultimap<String, Integer> multimap = create();
        multimap.putAll("bar", asList(3, 1, 2));
        multimap.putAll("foo", asList(2, 3, 1, -1, 4));
        assertEquals("{bar=[1, 2, 3], foo=[-1, 1, 2, 3, 4]}", multimap.toString());
      }
    
      public void testOrderedGet() {
        TreeMultimap<String, Integer> multimap = createPopulate();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/MapContainsKeyTester.java

      @CollectionSize.Require(absent = ZERO)
      public void testContains_yes() {
        assertTrue("containsKey(present) should return true", getMap().containsKey(k0()));
      }
    
      public void testContains_no() {
        assertFalse("containsKey(notPresent) should return false", getMap().containsKey(k3()));
      }
    
      @MapFeature.Require(ALLOWS_NULL_KEY_QUERIES)
      public void testContains_nullNotContainedButAllowed() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top