Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1751 - 1760 of 6,020 for new1 (0.04 seconds)

  1. src/test/java/org/codelibs/core/collection/ArrayIteratorTest.java

            exception.expectMessage(is("index=2"));
            final ArrayIterator<Integer> itr = new ArrayIterator<Integer>(new Integer[] { 1, 2 });
            itr.next();
            itr.next();
            itr.next();
        }
    
        /**
         *
         */
        @Test
        public void testHasNext() {
            final ArrayIterator<String> itr = new ArrayIterator<String>("A", "B");
            assertThat(itr.hasNext(), is(true));
            itr.next();
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/ImmutableSetMultimap.java

        builder.put(k5, v5);
        return builder.build();
      }
    
      // looking for of() with > 5 entries? Use the builder instead.
    
      /** Returns a new {@link Builder}. */
      public static <K, V> Builder<K, V> builder() {
        return new Builder<>();
      }
    
      /**
       * Returns a new builder with a hint for how many distinct keys are expected to be added. The
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 19 22:57:35 GMT 2026
    - 26.1K bytes
    - Click Count (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

            ArtifactResolutionResult result = new ArtifactResolutionResult();
    
            result.setOriginatingArtifact(originatingArtifact);
    
            if (conflictResolvers == null) {
                conflictResolvers = Collections.singletonList(defaultConflictResolver);
            }
    
            Map<Object, List<ResolutionNode>> resolvedArtifacts = new LinkedHashMap<>();
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 36.5K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/escape/ArrayBasedCharEscaperTest.java

      }
    
      public void testDeleteUnsafeChars() throws IOException {
        CharEscaper deletingEscaper =
            new ArrayBasedCharEscaper(NO_REPLACEMENTS, ' ', '~') {
              private final char[] noChars = new char[0];
    
              @Override
              protected char[] escapeUnsafe(char c) {
                return noChars;
              }
            };
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Feb 18 15:41:04 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/MultimapEqualsTester.java

      public void testEqualsTrue() {
        new EqualsTester()
            .addEqualityGroup(multimap(), getSubjectGenerator().create(getSampleElements().toArray()))
            .testEquals();
      }
    
      public void testEqualsFalse() {
        List<Entry<K, V>> targetEntries = new ArrayList<>(getSampleElements());
        targetEntries.add(mapEntry(k0(), v3()));
        new EqualsTester()
            .addEqualityGroup(multimap())
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 3.6K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/dict/DictionaryItemTest.java

        }
    
        @Test
        public void test_multipleInstances() {
            // Test that different instances have independent ID values
            TestDictionaryItem item1 = new TestDictionaryItem();
            TestDictionaryItem item2 = new TestDictionaryItem();
    
            item1.id = 100L;
            item2.id = 200L;
    
            assertEquals(100L, item1.getId());
            assertEquals(200L, item2.getId());
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  7. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/JSpecifyNullUnmarkedChangesTest.kt

                        public String[] baz() { return new String[] {"some"}; }
                    }
                """,
                v2 = """
                    public class Source {
                        @$nullUnmarkedAnnotationName public String foo() { return "bar"; }
                        public @$nullUnmarkedAnnotationName String[] baz() { return new String[] {"some", null}; }
                    }
                """
            ) {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Oct 27 09:26:32 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

        HashHostileComparable v1 = new HashHostileComparable("value1");
        HashHostileComparable v2 = new HashHostileComparable("value2");
        builder.put("key", v1);
        builder.put("key", v2);
        assertThat(builder.build().entries()).hasSize(2);
      }
    
      public void testBuilder_withImmutableEntry() {
        ImmutableSetMultimap<String, Integer> multimap =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 28.9K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/dict/kuromoji/ApiAdminDictKuromojiAction.java

            body.dictId = dictId;
            validateApi(body, messages -> {});
            final KuromojiPager pager = copyBeanToNewBean(body, KuromojiPager.class);
            return asJson(new ApiResult.ApiConfigsResponse<EditBody>().settings(kuromojiService.getKuromojiList(body.dictId, pager)
                    .stream()
                    .map(protwordsItem -> createEditBody(protwordsItem, dictId))
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/core/beans/impl/FieldDescImplTest.java

            final MyBean myBean = new MyBean();
            aaa.setFieldValue(myBean, String.class);
            assertThat(aaa.getFieldValue(myBean), is(sameClass(String.class)));
        }
    
        /**
         * @throws Exception
         */
        @Test(expected = FieldNotStaticRuntimeException.class)
        public void testAaa_GetStaticFieldValue() throws Exception {
            final BeanDesc beanDesc = new BeanDescImpl(MyBean.class);
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 5K bytes
    - Click Count (0)
Back to Top