- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 171 for newInstance (0.56 sec)
-
api/maven-api-core/src/main/java/org/apache/maven/api/Project.java
* * @return the build element of the project model */ @Nonnull default Build getBuild() { Build build = getModel().getBuild(); return build != null ? build : Build.newInstance(); } /** * Returns the path to the pom file for this project. * A project is usually read from a file named {@code pom.xml},Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Nov 07 13:11:07 UTC 2025 - 15.3K bytes - Viewed (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); } } /**Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 18.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/GsaConfigParser.java
* @throws GsaConfigException if parsing fails due to XML format issues or other errors */ public void parse(final InputSource is) { try { final SAXParserFactory factory = SAXParserFactory.newInstance(); factory.setFeature(org.codelibs.fess.crawler.Constants.FEATURE_SECURE_PROCESSING, true); factory.setFeature(org.codelibs.fess.crawler.Constants.FEATURE_EXTERNAL_GENERAL_ENTITIES, false);Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 21.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/ArrayMap.java
* @return the array containing the values of this map */ public V[] toArray(final V[] proto) { @SuppressWarnings("unchecked") final V[] array = proto.length >= size ? proto : (V[]) Array.newInstance(proto.getClass().getComponentType(), size); for (int i = 0; i < array.length; i++) { array[i] = getAt(i); } if (array.length > size) { array[size] = null; }Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 20.1K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/Types.java
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Oct 31 19:34:24 UTC 2025 - 24.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java
assertTrue(Modifier.isPrivate(constructor.getModifiers())); // Make it accessible to test it throws no exception constructor.setAccessible(true); constructor.newInstance(); } @Test public void testCreateSuggestTextId() { // Test normal text String text = "test text"; String id = SuggestUtil.createSuggestTextId(text);
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 24 03:40:05 UTC 2025 - 26.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/PluginHelper.java
try (final InputStream is = new ByteArrayInputStream(pluginMetaContent.getBytes(Constants.UTF_8_CHARSET))) { final DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); factory.setFeature(Constants.FEATURE_SECURE_PROCESSING, true); factory.setFeature(Constants.FEATURE_EXTERNAL_GENERAL_ENTITIES, false);
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 24.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/ArrayTable.java
*/ @GwtIncompatible // reflection public @Nullable V[][] toArray(Class<V> valueClass) { @SuppressWarnings("unchecked") // TODO: safe? @Nullable V[][] copy = (@Nullable V[][]) Array.newInstance(valueClass, rowList.size(), columnList.size()); for (int i = 0; i < rowList.size(); i++) { arraycopy(array[i], 0, copy[i], 0, array[i].length); } return copy; } /**
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Nov 17 22:50:48 UTC 2025 - 26.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java
if (keyObj != null) { crawlerStatsHelper.runOnThread(keyObj); } final DataStoreParams localParams = paramMap.newInstance(); executor.execute(() -> { try { final Object eventType = dataMap.remove(getParamValue(localParams, "field.event_type", "event_type"));
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 29.7K bytes - Viewed (3) -
guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
return pickInstance(rawType.getEnumConstants(), null); } if (type.isArray()) { TypeToken<?> componentType = requireNonNull(type.getComponentType()); Object array = Array.newInstance(componentType.getRawType(), 1); Array.set(array, 0, generate(componentType)); return array; } Method emptyGenerate = EMPTY_GENERATORS.get(rawType); if (emptyGenerate != null) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 28.7K bytes - Viewed (0)