- Sort Score
- Num 10 results
- Language All
Results 1 - 5 of 5 for newInstance (0.06 seconds)
-
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) -
android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java
@Override public void handlePotentialDeadlock(PotentialDeadlockException e) {} }; } /** Creates a new factory with the specified policy. */ public static CycleDetectingLockFactory newInstance(Policy policy) { return new CycleDetectingLockFactory(policy); } /** Equivalent to {@code newReentrantLock(lockName, false)}. */ public ReentrantLock newReentrantLock(String lockName) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 36K bytes - Click Count (0) -
android/guava/src/com/google/common/reflect/Invokable.java
} @Override final Object invokeInternal(@Nullable Object receiver, @Nullable Object[] args) throws InvocationTargetException, IllegalAccessException { try { return constructor.newInstance(args); } catch (InstantiationException e) { throw new RuntimeException(constructor + " failed.", e); } } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 18.5K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/FluentIterable.java
* stream.toArray()}; if {@code type} is a class literal such as {@code MyType.class}, use {@code * stream.toArray(MyType[]::new)}. Otherwise use {@code stream.toArray( len -> (E[]) * Array.newInstance(type, len))}. * * @param type the type of the elements * @return a newly-allocated array into which all the elements of this fluent iterable have been * copied */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 34.7K bytes - Click Count (0) -
guava/src/com/google/common/collect/FluentIterable.java
* stream.toArray()}; if {@code type} is a class literal such as {@code MyType.class}, use {@code * stream.toArray(MyType[]::new)}. Otherwise use {@code stream.toArray( len -> (E[]) * Array.newInstance(type, len))}. * * @param type the type of the elements * @return a newly-allocated array into which all the elements of this fluent iterable have been * copied */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 34.7K bytes - Click Count (0)