HomeSort by relevance Sort by last modified time
    Searched refs:enumClass (Results 1 - 25 of 99) sorted by null

1 2 3 4

  /external/guava/guava-gwt/src-super/com/google/common/base/super/com/google/common/base/
Enums.java 50 Class<T> enumClass, String value) {
51 checkNotNull(enumClass);
53 return Platform.getEnumIfPresent(enumClass, value);
58 * {@code enumClass} using {@link Enum#valueOf(Class, String)} and {@link Enum#name()}. The
64 public static <T extends Enum<T>> Converter<String, T> stringConverter(final Class<T> enumClass) {
65 return new StringConverter<T>(enumClass);
71 private final Class<T> enumClass;
73 StringConverter(Class<T> enumClass) {
74 this.enumClass = checkNotNull(enumClass);
    [all...]
Platform.java 39 static <T extends Enum<T>> Optional<T> getEnumIfPresent(Class<T> enumClass, String value) {
41 return Optional.of(Enum.valueOf(enumClass, value));
  /external/guava/guava/src/com/google/common/base/
Enums.java 74 Class<T> enumClass, String value) {
75 checkNotNull(enumClass);
77 return Platform.getEnumIfPresent(enumClass, value);
87 Class<T> enumClass) {
90 for (T enumInstance : EnumSet.allOf(enumClass)) {
93 enumConstantCache.put(enumClass, result);
99 Class<T> enumClass) {
102 enumConstantCache.get(enumClass);
104 constants = populateCache(enumClass);
112 * {@code enumClass} using {@link Enum#valueOf(Class, String)} and {@link Enum#name()}. Th
    [all...]
Platform.java 41 static <T extends Enum<T>> Optional<T> getEnumIfPresent(Class<T> enumClass, String value) {
42 WeakReference<? extends Enum<?>> ref = Enums.getEnumConstants(enumClass).get(value);
45 : Optional.of(enumClass.cast(ref.get()));
  /art/test/055-enum-performance/src/
Main.java 11 Class<?> enumClass = Enum.class;
13 for (Method m : enumClass.getDeclaredMethods()) {
  /prebuilts/tools/common/m2/repository/commons-lang/commons-lang/2.4/
commons-lang-2.4.jar 
  /external/guava/guava/src/com/google/common/util/concurrent/
CycleDetectingLockFactory.java 295 newInstanceWithExplicitOrdering(Class<E> enumClass, Policy policy) {
296 // createNodes maps each enumClass to a Map with the corresponding enum key
298 checkNotNull(enumClass);
302 (Map<E, LockGraphNode>) getOrCreateNodes(enumClass);
351 * {@code "EnumClass.name"}, which is used in exception and warning
    [all...]
  /external/guava/guava-tests/test/com/google/common/util/concurrent/
CycleDetectingLockFactoryTest.java 95 newInstanceWithExplicitOrdering(Class<E> enumClass, Policy policy) {
97 policy, CycleDetectingLockFactory.createNodes(enumClass));
  /external/owasp/sanitizer/tools/findbugs/lib/
commons-lang-2.6.jar 
  /prebuilts/eclipse/maven/apache-maven-3.2.1/lib/
commons-lang-2.6.jar 
  /prebuilts/tools/common/m2/repository/commons-lang/commons-lang/2.6/
commons-lang-2.6.jar 
  /prebuilts/tools/common/m2/repository/org/apache/commons/commons-lang3/3.2.1/
commons-lang3-3.2.1.jar 
  /prebuilts/tools/common/m2/repository/org/apache/commons/commons-lang3/3.3/
commons-lang3-3.3.jar 
  /prebuilts/tools/common/m2/repository/org/apache/commons/commons-lang3/3.3.2/
commons-lang3-3.3.2.jar 
  /prebuilts/tools/common/m2/repository/org/apache/commons/commons-lang3/3.4/
commons-lang3-3.4.jar 
  /prebuilts/tools/common/offline-m2/org/apache/commons/commons-lang3/3.3.2/
commons-lang3-3.3.2.jar 
  /external/guice/extensions/struts2/lib/
xwork-core-2.2.1.jar 
  /external/webrtc/talk/app/webrtc/java/jni/
peerconnection_jni.cc     [all...]
  /prebuilts/tools/common/m2/repository/net/sf/json-lib/json-lib/2.3/
json-lib-2.3-jdk15.jar 
  /frameworks/data-binding/prebuilds/1.0-rc0/
databinding-studio-bundle.jar 
  /prebuilts/devtools/tools/lib/
jython-standalone-2.5.3.jar 
guava-17.0.jar 
  /prebuilts/tools/common/m2/repository/org/python/jython-standalone/2.5.3/
jython-standalone-2.5.3.jar 
  /development/tools/checkstyle/
checkstyle.jar 
  /prebuilts/tools/common/m2/repository/com/google/guava/guava/17.0/
guava-17.0.jar 

Completed in 829 milliseconds

1 2 3 4