Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 69 for 10 (0.13 sec)

  1. src/test/java/org/codelibs/core/convert/DateConversionUtilTest.java

        @Test
        public void testToDate_ShortStyle() throws Exception {
            System.out.println(((SimpleDateFormat) DateFormat.getDateTimeInstance(DateFormat.FULL, DateFormat.FULL)).toPattern());
            final Date date = toDate("10/9/7");
            assertThat(new SimpleDateFormat("yyyy/MM/dd").format(date), is("2010/09/07"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToDate_MediumStyle() throws Exception {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/TopKSelectorTest.java

        for (int i = 0; i < 10; i++) {
          top.offer(i);
        }
        assertThat(top.topK()).isEmpty();
      }
    
      public void testNoElementsOffered() {
        TopKSelector<Integer> top = TopKSelector.least(10);
        assertThat(top.topK()).isEmpty();
      }
    
      public void testOfferedFewerThanK() {
        TopKSelector<Integer> top = TopKSelector.least(10);
        top.offer(3);
        top.offer(5);
        top.offer(2);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  3. maven-core/src/test/java/org/apache/maven/settings/SettingsUtilsTest.java

                    .property(ap)
                    .os(ao)
                    .packaging("pom")
                    .build();
            Map<String, String> props = new HashMap<>();
            int count = entropy.nextInt(10);
            for (int i = 0; i < count; i++) {
                props.put("name" + Long.toHexString(entropy.nextLong()), "value" + Long.toHexString(entropy.nextLong()));
            }
            count = entropy.nextInt(3);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

                .orderValuesBy(Ordering.usingToString())
                .put("a", 2)
                .put("a", 10)
                .put("b", 1)
                .build();
        multimap = SerializableTester.reserialize(multimap);
        assertThat(multimap.keySet()).containsExactly("b", "a").inOrder();
        assertThat(multimap.get("a")).containsExactly(10, 2).inOrder();
        assertEquals(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 23.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java

                "eight", 8,
                "nine", 9,
                "ten", 10),
            "eight",
            8,
            "five",
            5,
            "four",
            4,
            "nine",
            9,
            "one",
            1,
            "seven",
            7,
            "six",
            6,
            "ten",
            10,
            "three",
            3,
            "two",
            2);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 27K bytes
    - Viewed (0)
  6. maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java

    import org.apache.maven.settings.Proxy;
    import org.apache.maven.settings.Server;
    import org.eclipse.aether.RepositorySystemSession;
    import org.eclipse.sisu.Priority;
    
    /**
     */
    @Named
    @Singleton
    @Priority(10)
    @Deprecated
    public class TestRepositorySystem implements RepositorySystem {
    
        private final ModelReader modelReader;
    
        private final ArtifactFactory artifactFactory;
    
        public TestRepositorySystem() {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ImmutableListTest.java

        assertEquals(1, result.size());
      }
    
      public void testSortedCopyOf_natural() {
        Collection<Integer> c = MinimalCollection.of(4, 16, 10, -1, 5);
        ImmutableList<Integer> list = ImmutableList.sortedCopyOf(c);
        assertEquals(asList(-1, 4, 5, 10, 16), list);
      }
    
      public void testSortedCopyOf_natural_empty() {
        Collection<Integer> c = MinimalCollection.of();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 23.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/ImmutableListTest.java

        assertEquals(1, result.size());
      }
    
      public void testSortedCopyOf_natural() {
        Collection<Integer> c = MinimalCollection.of(4, 16, 10, -1, 5);
        ImmutableList<Integer> list = ImmutableList.sortedCopyOf(c);
        assertEquals(asList(-1, 4, 5, 10, 16), list);
      }
    
      public void testSortedCopyOf_natural_empty() {
        Collection<Integer> c = MinimalCollection.of();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 23.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

      }
    
      @GwtIncompatible
      public void testBuilderExactlySizedReusesArray() {
        ImmutableMap.Builder<Integer, Integer> builder = ImmutableMap.builderWithExpectedSize(10);
        Object[] builderArray = builder.alternatingKeysAndValues;
        for (int i = 0; i < 10; i++) {
          builder.put(i, i);
        }
        Object[] builderArrayAfterPuts = builder.alternatingKeysAndValues;
        RegularImmutableMap<Integer, Integer> map =
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 14:39:16 GMT 2024
    - 37.3K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

                .orderValuesBy(Ordering.usingToString())
                .put("a", 2)
                .put("a", 10)
                .put("b", 1)
                .build();
        multimap = SerializableTester.reserialize(multimap);
        assertThat(multimap.keySet()).containsExactly("b", "a").inOrder();
        assertThat(multimap.get("a")).containsExactly(10, 2).inOrder();
        assertEquals(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 24.9K bytes
    - Viewed (0)
Back to top