Home
last modified time | relevance | path

Searched refs:enumClass (Results 1 – 20 of 20) sorted by relevance

/external/guava/guava/src/com/google/common/base/
DEnums.java74 Class<T> enumClass, String value) { in getIfPresent() argument
75 checkNotNull(enumClass); in getIfPresent()
77 return Platform.getEnumIfPresent(enumClass, value); in getIfPresent()
87 Class<T> enumClass) { in populateCache() argument
90 for (T enumInstance : EnumSet.allOf(enumClass)) { in populateCache()
93 enumConstantCache.put(enumClass, result); in populateCache()
99 Class<T> enumClass) { in getEnumConstants() argument
102 enumConstantCache.get(enumClass); in getEnumConstants()
104 constants = populateCache(enumClass); in getEnumConstants()
118 public static <T extends Enum<T>> Converter<String, T> stringConverter(final Class<T> enumClass) { in stringConverter() argument
[all …]
DPlatform.java41 static <T extends Enum<T>> Optional<T> getEnumIfPresent(Class<T> enumClass, String value) { in getEnumIfPresent() argument
42 WeakReference<? extends Enum<?>> ref = Enums.getEnumConstants(enumClass).get(value); in getEnumIfPresent()
45 : Optional.of(enumClass.cast(ref.get())); in getEnumIfPresent()
/external/guava/guava-gwt/src-super/com/google/common/base/super/com/google/common/base/
DEnums.java50 Class<T> enumClass, String value) { in getIfPresent() argument
51 checkNotNull(enumClass); in getIfPresent()
53 return Platform.getEnumIfPresent(enumClass, value); in getIfPresent()
64 public static <T extends Enum<T>> Converter<String, T> stringConverter(final Class<T> enumClass) { in stringConverter() argument
65 return new StringConverter<T>(enumClass); in stringConverter()
71 private final Class<T> enumClass; field in Enums.StringConverter
73 StringConverter(Class<T> enumClass) { in StringConverter() argument
74 this.enumClass = checkNotNull(enumClass); in StringConverter()
79 return Enum.valueOf(enumClass, value); in doForward()
91 return this.enumClass.equals(that.enumClass); in equals()
[all …]
DPlatform.java39 static <T extends Enum<T>> Optional<T> getEnumIfPresent(Class<T> enumClass, String value) { in getEnumIfPresent() argument
41 return Optional.of(Enum.valueOf(enumClass, value)); in getEnumIfPresent()
/external/guava/guava/src/com/google/common/util/concurrent/
DCycleDetectingLockFactory.java295 newInstanceWithExplicitOrdering(Class<E> enumClass, Policy policy) { in newInstanceWithExplicitOrdering() argument
298 checkNotNull(enumClass); in newInstanceWithExplicitOrdering()
302 (Map<E, LockGraphNode>) getOrCreateNodes(enumClass); in newInstanceWithExplicitOrdering()
/external/owasp/sanitizer/tools/findbugs/lib/
Dcommons-lang-2.6.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
Dant.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DCycleDetectingLockFactoryTest.java95 newInstanceWithExplicitOrdering(Class<E> enumClass, Policy policy) { in newInstanceWithExplicitOrdering() argument
97 policy, CycleDetectingLockFactory.createNodes(enumClass)); in newInstanceWithExplicitOrdering()
/external/guice/extensions/struts2/lib/
Dxwork-core-2.2.1.jarMETA-INF/ META-INF/MANIFEST.MF xwork-validator-definition-1.0. ...
Djsp-2.1.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
/external/webrtc/talk/app/webrtc/java/jni/
Dpeerconnection_jni.cc1378 jclass enumClass = FindClass(jni, className.c_str()); in GetJavaEnumName() local
1380 GetMethodID(jni, enumClass, "name", "()Ljava/lang/String;"); in GetJavaEnumName()
/external/dagger2/lib/
Dauto-value-1.0.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dgoogle-java-format-0.1-20151017.042846-2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/guice/lib/
Dguava-16.0.1.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/external/guice/extensions/persist/lib/
Dhibernate-annotations.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/hibernate/ org/ ...
Ddb4o-6.4.14.8131-java5.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/db4o/ com/ ...
/external/owasp/sanitizer/distrib/lib/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/owasp/sanitizer/lib/guava-libraries/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.apache.ant_1.7.1.v20090120-1145/lib/
Dant.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/ ...
/external/robolectric/v3/runtime/
Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...