Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 394 for setClass (0.09 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/SessionData.java

                return type;
            }
    
            @Override
            public boolean equals(Object o) {
                if (this == o) {
                    return true;
                }
                if (o == null || getClass() != o.getClass()) {
                    return false;
                }
                Key<?> key = (Key<?>) o;
                return Objects.equals(id, key.id) && Objects.equals(type, key.type);
            }
    
            @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Feb 28 23:31:09 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/io/ResourceBundleUtilTest.java

        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetBundle() throws Exception {
            final ResourceBundle bundle = ResourceBundleUtil.getBundle("CLMessages", null, this.getClass().getClassLoader());
            assertThat(bundle, is(notNullValue()));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetString() throws Exception {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/reflect/InvokableTest.java

        final String s = "hello world";
        Class<?> anonymous =
            new Runnable() {
              @Override
              public void run() {
                System.out.println(s + i);
              }
            }.getClass();
        Constructor<?> constructor = anonymous.getDeclaredConstructors()[0];
        assertEquals(0, Invokable.from(constructor).getParameters().size());
      }
    
      public void testAnonymousClassWithTwoParametersConstructor() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/reflect/InvokableTest.java

        final String s = "hello world";
        Class<?> anonymous =
            new Runnable() {
              @Override
              public void run() {
                System.out.println(s + i);
              }
            }.getClass();
        Constructor<?> constructor = anonymous.getDeclaredConstructors()[0];
        assertEquals(0, Invokable.from(constructor).getParameters().size());
      }
    
      public void testAnonymousClassWithTwoParametersConstructor() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/script/ScriptEngineFactory.java

            }
            if (logger.isDebugEnabled()) {
                logger.debug("Loaded {}", name);
            }
            scriptEngineMap.put(name.toLowerCase(Locale.ROOT), scriptEngine);
            scriptEngineMap.put(scriptEngine.getClass().getSimpleName().toLowerCase(Locale.ROOT), scriptEngine);
        }
    
        public ScriptEngine getScriptEngine(final String name) {
            if (name == null) {
                throw new ScriptEngineException("script name is null.");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. lib/time/mkzip.go

    	"log"
    	"os"
    	"path/filepath"
    	"strings"
    )
    
    func usage() {
    	fmt.Fprintf(os.Stderr, "usage: go run mkzip.go zoneinfo.zip\n")
    	os.Exit(2)
    }
    
    func main() {
    	log.SetPrefix("mkzip: ")
    	log.SetFlags(0)
    	flag.Usage = usage
    	flag.Parse()
    	args := flag.Args()
    	if len(args) != 1 || !strings.HasSuffix(args[0], ".zip") {
    		usage()
    	}
    
    	var zb bytes.Buffer
    	zw := zip.NewWriter(&zb)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Mar 04 17:32:07 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/query/QueryCommandTest.java

        }
    
        private void assertQueryBuilder(String field, String value, Class<?> clazz) {
            QueryBuilder queryBuilder = queryCommand.buildMatchPhraseQuery(field, value);
            assertEquals(clazz, queryBuilder.getClass());
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  8. compat/maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java

            }
            return sb.toString();
        }
    
        @Override
        public boolean equals(Object o) {
            if (this == o) {
                return true;
            }
            if (o == null || getClass() != o.getClass()) {
                return false;
            }
            DefaultArtifact that = (DefaultArtifact) o;
            return Objects.equals(groupId, that.groupId)
                    && Objects.equals(artifactId, that.artifactId)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/crawler/processor/FessResponseProcessor.java

                try {
                    target = ingester.process(target, responseData);
                } catch (final Exception e) {
                    logger.warn("Failed to process Ingest[{}]", ingester.getClass().getSimpleName(), e);
                }
            }
            return target;
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/toolchain/DefaultToolchainsBuilder.java

     */
    @Deprecated
    @Named("default")
    @Singleton
    public class DefaultToolchainsBuilder implements ToolchainsBuilder {
        private final Logger logger = LoggerFactory.getLogger(getClass());
    
        public PersistedToolchains build(File userToolchainsFile) throws MisconfiguredToolchainException {
            PersistedToolchains toolchains = null;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top