- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 36 for clazz (0.13 sec)
-
guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java
} @SuppressWarnings("unchecked") private static Class<? extends Annotation> asAnnotation(Class<?> clazz) { if (clazz.isAnnotation()) { return (Class<? extends Annotation>) clazz; } else { throw new IllegalArgumentException(rootLocaleFormat("%s is not an annotation.", clazz)); } } public void testFeatureEnums() throws Exception { assertGoodFeatureEnum(CollectionFeature.class);
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 4.4K bytes - Viewed (0) -
guava/src/com/google/common/base/Predicates.java
implements Predicate<T>, Serializable { private final Class<?> clazz; private InstanceOfPredicate(Class<?> clazz) { this.clazz = checkNotNull(clazz); } @Override public boolean apply(@ParametricNullness T o) { return clazz.isInstance(o); } @Override public int hashCode() { return clazz.hashCode(); } @Override
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 23.1K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/Reflection.java
/** * Returns the package name of {@code clazz} according to the Java Language Specification (section * 6.7). Unlike {@link Class#getPackage}, this method only parses the class name, without * attempting to define the {@link Package} and hence load files. */ public static String getPackageName(Class<?> clazz) { return getPackageName(clazz.getName()); } /**
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 3.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashingTest.java
} } HashFunction hashFunction1a = (HashFunction) method.invoke(clazz, params1); HashFunction hashFunction1b = (HashFunction) method.invoke(clazz, params1); HashFunction hashFunction2 = (HashFunction) method.invoke(clazz, params2); new EqualsTester() .addEqualityGroup(hashFunction1a, hashFunction1b)
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 26.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java
// Force Finalizer to load from this class loader, not its parent. if (name.equals(Finalizer.class.getName())) { Class<?> clazz = findClass(name); if (resolve) { resolveClass(clazz); } return clazz; } return super.loadClass(name, resolve); } } public void testGetFinalizerUrl() {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Oct 10 08:40:05 GMT 2023 - 4.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java
// Force Finalizer to load from this class loader, not its parent. if (name.equals(Finalizer.class.getName())) { Class<?> clazz = findClass(name); if (resolve) { resolveClass(clazz); } return clazz; } return super.loadClass(name, resolve); } } public void testGetFinalizerUrl() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Oct 10 08:40:05 GMT 2023 - 4.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/FauxveridesTest.java
Set<MethodSignature> methods = newHashSet(); for (Class<?> clazz : getClassesBetween(descendant, ancestor)) { methods.addAll(getPublicStaticMethods(clazz)); } return methods; } private static Set<MethodSignature> getPublicStaticMethods(Class<?> clazz) { Set<MethodSignature> publicStaticMethods = newHashSet(); for (Method method : clazz.getDeclaredMethods()) { int modifiers = method.getModifiers();
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Oct 31 16:03:42 GMT 2023 - 9.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/FauxveridesTest.java
Set<MethodSignature> methods = newHashSet(); for (Class<?> clazz : getClassesBetween(descendant, ancestor)) { methods.addAll(getPublicStaticMethods(clazz)); } return methods; } private static Set<MethodSignature> getPublicStaticMethods(Class<?> clazz) { Set<MethodSignature> publicStaticMethods = newHashSet(); for (Method method : clazz.getDeclaredMethods()) { int modifiers = method.getModifiers();
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Oct 31 16:03:42 GMT 2023 - 9.6K bytes - Viewed (0) -
guava-gwt/test/com/google/common/GwtTestSuite.java
if (info.getName().endsWith("_gwt")) { Class<?> clazz = info.load(); // TODO(cpovirk): why does asSubclass() throw? Is it something about ClassLoaders? @SuppressWarnings("unchecked") Class<? extends GWTTestCase> cast = (Class<? extends GWTTestCase>) clazz; suite.addTestSuite(cast); } } return suite; }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Jun 23 13:24:59 GMT 2016 - 1.6K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java
Class<E> clazz) { Map<E, LockGraphNode> existing = (Map<E, LockGraphNode>) lockGraphNodesPerType.get(clazz); if (existing != null) { return existing; } Map<E, LockGraphNode> created = createNodes(clazz); existing = (Map<E, LockGraphNode>) lockGraphNodesPerType.putIfAbsent(clazz, created); return MoreObjects.firstNonNull(existing, created); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Dec 15 19:31:54 GMT 2023 - 35.9K bytes - Viewed (0)