- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 430 for loader (0.04 sec)
-
src/main/java/org/codelibs/core/lang/ClassLoaderUtil.java
* </ol> * <p> * However, if both the class loader that loaded the target class and the class loader that loaded this class can be obtained, * and the class loader that loaded the target class is an ancestor of the class loader that loaded this class, * the class loader that loaded this class is returned. * </p> *
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 7.6K bytes - Viewed (0) -
guava/src/com/google/common/cache/CacheLoader.java
* overridden as desired. * * <p>Usage example: * * {@snippet : * CacheLoader<Key, Graph> loader = new CacheLoader<Key, Graph>() { * public Graph load(Key key) throws AnyException { * return createExpensiveGraph(key); * } * }; * LoadingCache<Key, Graph> cache = CacheBuilder.newBuilder().build(loader); * } *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 9.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/ResourceUtil.java
assertArgumentNotNull("loader", loader); if (path == null || loader == null) { return null; } final String p = getResourcePath(path, extension); return loader.getResource(p); } /** * Returns the resource as a stream from the context class loader. * * @param path
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 14.7K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java
private final CacheLoader<? super K, V> loader; private final RemovalListener<? super K, ? super V> removalListener; private final StatsCounter statsCounter; private final Ticker ticker; private final long expireAfterWrite; private final long expireAfterAccess; LocalCache(CacheBuilder<? super K, ? super V> builder, CacheLoader<? super K, V> loader) { this.loader = loader; this.removalListener = builder.removalListener;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 21.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/CacheLoadingTest.java
} } /** * On a concurrent computation that returns null, all threads should get an * InvalidCacheLoadException, with the loader only called once. The result should not be cached (a * later request should call the loader again). */ private static void testConcurrentLoadingNull(CacheBuilder<Object, Object> builder) throws InterruptedException { int count = 10;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 85.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/LocalCacheTest.java
CountingLoader loader = new CountingLoader(); LocalCache<Object, Object> map = makeLocalCache(createCacheBuilder()); assertEquals(0, loader.getCount()); Object key = new Object(); Object value = map.get(key, loader); assertEquals(1, loader.getCount()); assertEquals(value, map.get(key, loader)); assertEquals(1, loader.getCount()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 110.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/ClassUtil.java
* using the specified class loader. * * @param <T> * The class represented by the returned {@link Class} object * @param className * The fully qualified name of the desired class. Must not be {@literal null} or empty. * @param loader * The class loader to use to load the class
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 25.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/sql/DriverManagerUtil.java
} catch (final SQLException e) { throw new SQLRuntimeException(e); } } /** * Deregisters all JDBC drivers associated with the current class loader. */ public static synchronized void deregisterAllDrivers() { for (final Enumeration<Driver> e = DriverManager.getDrivers(); e.hasMoreElements();) { deregisterDriver(e.nextElement());
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/ClassPathTest.java
} private static ResourceInfo resourceInfo(Class<?> cls) { String resource = cls.getName().replace('.', '/') + ".class"; ClassLoader loader = cls.getClassLoader(); return ResourceInfo.of(FILE, resource, loader); } private static ClassInfo classInfo(Class<?> cls) { return classInfo(cls, cls.getClassLoader()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 20:58:01 UTC 2025 - 23K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/ResourceBundleUtil.java
* Returns the bundle. Returns <code>null</code> if not found. * * @param name the resource bundle name (must not be {@literal null} or empty) * @param locale the locale * @param classLoader the class loader (must not be {@literal null} or empty) * @return {@link ResourceBundle} * @see ResourceBundle#getBundle(String, Locale, ClassLoader) */
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 5.3K bytes - Viewed (0)