Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 424 for getFlags (0.07 sec)

  1. src/test/java/org/codelibs/core/lang/ClassUtilTest.java

        public void testGetField_EmptyName() throws Exception {
            ClassUtil.getField(getClass(), "");
        }
    
        /**
         * @throws Exception
         */
        @Test(expected = EmptyArgumentException.class)
        public void testGetMethod_EmptyName() throws Exception {
            ClassUtil.getMethod(getClass(), "");
        }
    
        /**
         *
         */
        @Test
        public void testGetPrimitiveClass() {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelVersionParser.java

                }
            }
    
            @Override
            public boolean equals(Object o) {
                if (this == o) {
                    return true;
                }
                if (o == null || getClass() != o.getClass()) {
                    return false;
                }
                DefaultVersion that = (DefaultVersion) o;
                return delegate.equals(that.delegate);
            }
    
            @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/suggest/AdminSuggestAction.java

            }
            saveInfo(messages -> messages.addSuccessDeleteDocFromIndex(GLOBAL));
            verifyToken(() -> asHtml(path_AdminSuggest_AdminSuggestJsp).useForm(SuggestForm.class));
            return redirect(getClass());
        }
    
        @Execute
        @Secured({ ROLE })
        public HtmlResponse deleteDocumentWords() {
            if (!suggestHelper.deleteDocumentWords()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/reflect/TypeTokenSubtypeTest.java

        Class<?> subclass = new Mall<Outdoor>().new Shop<Electronics>() {}.getClass();
        assertTrue(TypeToken.of(subclass).isSubtypeOf(supertype));
      }
    
      @SuppressWarnings("RestrictedApiChecker") // crashes under JDK8, which EP no longer supports
      public static void testSubtypeOfStaticAnonymousClass() {
        Class<?> superclass = new Mall<Outdoor>().new Shop<Electronics>() {}.getClass();
        assertTrue(TypeToken.of(superclass).isSubtypeOf(superclass));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 20.3K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/superpom/DefaultSuperPomProvider.java

                    String modelId = "org.apache.maven:maven-model-builder:" + version + "-"
                            + this.getClass().getPackage().getImplementationVersion() + ":super-pom";
                    InputSource inputSource = new InputSource(
                            modelId, getClass().getResource(resource).toExternalForm());
                    options.put(ModelProcessor.INPUT_SOURCE, new org.apache.maven.model.InputSource(inputSource));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/lang/FieldUtilTest.java

            final Field field = getClass().getField("objectField");
            final Integer testData = new Integer(123);
            FieldUtil.set(field, this, testData);
            assertThat((Integer) FieldUtil.get(field, this), is(testData));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetIntField() throws Exception {
            final Field field = getClass().getField("intField");
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/artifact/FatArtifactTraverser.java

        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            } else if (null == obj || !getClass().equals(obj.getClass())) {
                return false;
            }
            return true;
        }
    
        @Override
        public int hashCode() {
            return getClass().hashCode();
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/lang/MethodUtilTest.java

         */
        @Test
        public void testIsEqualsMethod() throws Exception {
            final Method equalsMethod = ClassUtil.getMethod(getClass(), "equals", Object.class);
            assertThat(MethodUtil.isEqualsMethod(equalsMethod), is(true));
            final Method hashCodeMethod = ClassUtil.getMethod(getClass(), "hashCode");
            assertThat(MethodUtil.isEqualsMethod(hashCodeMethod), is(not(true)));
        }
    
        /**
         *
         */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/net/MimeTypeUtilTest.java

            final String contentType = MimeTypeUtil.guessContentType(path);
            assertEquals("text/html", contentType);
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetFromStream_gif() throws Exception {
            final String path = ClassUtil.getPackageName(this.getClass()).replaceAll("\\.", "/") + "/ccc.gif";
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/StringSearchModelInterpolator.java

                while (!interpolationTargets.isEmpty()) {
                    Object obj = interpolationTargets.removeFirst();
    
                    try {
                        traverseObjectWithParents(obj.getClass(), obj);
                    } catch (ModelInterpolationException e) {
                        return e;
                    }
                }
    
                return null;
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.1K bytes
    - Viewed (0)
Back to top