Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 551 for void (0.14 sec)

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

      public void testGet_sortedSet() {
        testGetOnAbc(ImmutableSortedSet.of("b", "c", "a"));
      }
    
      public void testGet_emptySortedSet() {
        testGetOnEmpty(ImmutableSortedSet.<String>of());
      }
    
      public void testGet_iterable() {
        testGetOnAbc(ImmutableSet.of("a", "b", "c"));
      }
    
      public void testGet_emptyIterable() {
        testGetOnEmpty(Sets.<String>newHashSet());
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 47.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ObjectArraysTest.java

      }
    
      public void testPrependTwoElements() {
        String[] result = ObjectArrays.concat("foo", new String[] {"bar", "baz"});
        assertThat(result).asList().containsExactly("foo", "bar", "baz").inOrder();
      }
    
      public void testAppendZeroElements() {
        String[] result = ObjectArrays.concat(new String[] {}, "foo");
        assertThat(result).asList().contains("foo");
      }
    
      public void testAppendOneElement() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 8.8K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/StreamsTest.java

            .inOrder();
      }
    
      public void testStream_optionalInt() {
        assertThat(stream(OptionalInt.empty())).isEmpty();
        assertThat(stream(OptionalInt.of(5))).containsExactly(5);
      }
    
      public void testStream_optionalLong() {
        assertThat(stream(OptionalLong.empty())).isEmpty();
        assertThat(stream(OptionalLong.of(5L))).containsExactly(5L);
      }
    
      public void testStream_optionalDouble() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 20K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/OrderingTest.java

      }
    
      @GwtIncompatible // slow
      public void testLeastOf_reconcileAgainstSortAndSublist() {
        runLeastOfComparison(1000, 300, 20);
      }
    
      public void testLeastOf_reconcileAgainstSortAndSublistSmall() {
        runLeastOfComparison(10, 30, 2);
      }
    
      private static void runLeastOfComparison(int iterations, int elements, int seeds) {
        Random random = new Random(42);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/OrderingTest.java

      }
    
      @GwtIncompatible // slow
      public void testLeastOf_reconcileAgainstSortAndSublist() {
        runLeastOfComparison(1000, 300, 20);
      }
    
      public void testLeastOf_reconcileAgainstSortAndSublistSmall() {
        runLeastOfComparison(10, 30, 2);
      }
    
      private static void runLeastOfComparison(int iterations, int elements, int seeds) {
        Random random = new Random(42);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/project/MavenProject.java

        }
    
        public void setPackaging(String packaging) {
            getModel().setPackaging(packaging);
        }
    
        public void setInceptionYear(String inceptionYear) {
            getModel().setInceptionYear(inceptionYear);
        }
    
        public String getInceptionYear() {
            return getModel().getInceptionYear();
        }
    
        public void setUrl(String url) {
            getModel().setUrl(url);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 56.6K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/log/LoggerTest.java

        @Test
        public void testInfo() throws Exception {
            logger.info("info");
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testWarn() throws Exception {
            logger.warn("warn");
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testError() throws Exception {
            logger.error("error");
        }
    
        /**
         * @throws Exception
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/log/JclLoggerAdapter.java

        }
    
        @Override
        public void fatal(final String message) {
            logger.fatal(message);
        }
    
        @Override
        public void fatal(final String message, final Throwable t) {
            logger.fatal(message, t);
        }
    
        @Override
        public boolean isErrorEnabled() {
            return logger.isErrorEnabled();
        }
    
        @Override
        public void error(final String message) {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  9. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

        }
    
        @Test
        void testDependencyScope() throws Exception {
            buildPom("dependency-scope/sub");
        }
    
        // This will fail on a validation error if incorrect
        public void testDependencyManagementWithInterpolation() throws Exception {
            buildPom("dependency-management-with-interpolation/sub");
        }
    
        @Test
        void testInterpolationWithSystemProperty() throws Exception {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 93.2K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/message/MessageFormatterTest.java

     */
    public class MessageFormatterTest {
    
        @Before
        public void setUp() throws Exception {
            LocaleUtil.setDefault(() -> Locale.JAPANESE);
        }
    
        @After
        public void tearDown() throws Exception {
            LocaleUtil.setDefault(null);
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetMessage() throws Exception {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.6K bytes
    - Viewed (0)
Back to top