- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 40 for newInstance (0.12 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlNode.java
* * <p>Example usage:</p> * <pre> * XmlNode node = XmlNode.newBuilder() * .name("configuration") * .attribute("version", "1.0") * .child(XmlNode.newInstance("property", "value")) * .build(); * </pre> * * @since 4.0.0 */ @Experimental @ThreadSafe @Immutable public interface XmlNode { /** * @deprecated since 4.0.0.
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Dec 17 15:20:44 GMT 2025 - 18.3K bytes - Click Count (0) -
android/guava/src/com/google/common/io/BaseEncoding.java
public BaseEncoding omitPadding() { return (paddingChar == null) ? this : newInstance(alphabet, null); } @Override public BaseEncoding withPadChar(char padChar) { if (8 % alphabet.bitsPerChar == 0 || (paddingChar != null && paddingChar == padChar)) { return this; } else { return newInstance(alphabet, padChar); } } @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:45:58 GMT 2026 - 41.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/FessEnvTest.java
// Test that the SimpleImpl class can be instantiated FessEnv.SimpleImpl newInstance = new FessEnv.SimpleImpl(); assertNotNull(newInstance); // Verify default values work for new instance assertEquals("warm", newInstance.getLastaDiSmartDeployMode()); } // Test edge cases for mail configurationCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 15.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/entity/DataStoreParamsTest.java
assertEquals("existingValue", dataStoreParams.get("existingKey")); } // Test newInstance @Test public void test_newInstance() { dataStoreParams.put("key1", "value1"); dataStoreParams.put("key2", 123); DataStoreParams newParams = dataStoreParams.newInstance(); assertNotNull(newParams); assertNotSame(dataStoreParams, newParams);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 10.9K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/EnrichedReportRenderer.groovy
@Override void render(File htmlReportFile, RichReportData data) { super.render(htmlReportFile, enrichReport(data)) } /** * This is super-hacky: this report is instantiated via {@code newInstance()}, within a different * classloader by {@link JApiCmpWorkerAction}, so there is no way to use a * normal property on the renderer instance and just set the location of the API file in it. *Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Jan 22 12:18:18 GMT 2026 - 7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java
// exercise some classes from the parallel ClassLoader. AtomicReference<Object> sepFrqA = new AtomicReference<Object>(sepFrqC.getDeclaredConstructor().newInstance()); Class<?> sepFwrC = sepLoader.loadClass(MyFinalizableWeakReference.class.getName()); Constructor<?> sepFwrCons = sepFwrC.getConstructor(Object.class, sepFrqC);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 26 02:41:17 GMT 2026 - 7.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateFallbackAtomicHelperTest.java
Thread.currentThread().setContextClassLoader(classLoader); try { Class<?> test = classLoader.loadClass(FuturesTest.class.getName()); Object testInstance = test.getDeclaredConstructor().newInstance(); test.getMethod("setUp").invoke(testInstance); test.getMethod(getName()).invoke(testInstance); test.getMethod("tearDown").invoke(testInstance); } finally {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 6.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java
Thread.currentThread().setContextClassLoader(classLoader); try { Class<?> test = classLoader.loadClass(AbstractFutureTest.class.getName()); test.getMethod(getName()).invoke(test.getDeclaredConstructor().newInstance()); } finally { Thread.currentThread().setContextClassLoader(oldClassLoader); } } private void checkHelperVersion(ClassLoader classLoader, String expectedHelperClassName)Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 8.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateFallbackAtomicHelperTest.java
Thread.currentThread().setContextClassLoader(classLoader); try { Class<?> test = classLoader.loadClass(FuturesTest.class.getName()); Object testInstance = test.getDeclaredConstructor().newInstance(); test.getMethod("setUp").invoke(testInstance); test.getMethod(getName()).invoke(testInstance); test.getMethod("tearDown").invoke(testInstance); } finally {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 6.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/script/groovy/GroovyEngine.java
try { final CachedScript cached = getOrCompile(template); final Script script = cached.scriptClass.getDeclaredConstructor().newInstance(); script.setBinding(new Binding(bindingMap)); if (logger.isDebugEnabled()) { logger.debug("Evaluating Groovy script: template={}", template); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 14:36:23 GMT 2026 - 11.9K bytes - Click Count (0)