Home
last modified time | relevance | path

Searched refs:enumConstants (Results 1 – 24 of 24) sorted by relevance

/external/guava/guava/src/com/google/common/collect/
DEnumMultiset.java84 private transient E[] enumConstants; field in EnumMultiset
93 this.enumConstants = type.getEnumConstants(); in EnumMultiset()
94 this.counts = new int[enumConstants.length]; in EnumMultiset()
101 return index < enumConstants.length && enumConstants[index] == e; in isActuallyE()
217 for (; index < enumConstants.length; index++) { in hasNext()
253 return enumConstants[index]; in elementIterator()
266 return enumConstants[index];
281 for (int i = 0; i < enumConstants.length; i++) {
283 action.accept(enumConstants[i], counts[i]);
310 enumConstants = type.getEnumConstants();
[all …]
/external/guava/android/guava/src/com/google/common/collect/
DEnumMultiset.java83 private transient E[] enumConstants; field in EnumMultiset
92 this.enumConstants = type.getEnumConstants(); in EnumMultiset()
93 this.counts = new int[enumConstants.length]; in EnumMultiset()
100 return index < enumConstants.length && enumConstants[index] == e; in isActuallyE()
216 for (; index < enumConstants.length; index++) { in hasNext()
252 return enumConstants[index]; in elementIterator()
265 return enumConstants[index];
299 enumConstants = type.getEnumConstants();
300 counts = new int[enumConstants.length];
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/util/
DEnumResolver.java85 Enum<?>[] enumConstants = enumCls.getEnumConstants(); in constructUsingToString() local
87 final String[][] allAliases = new String[enumConstants.length][]; in constructUsingToString()
88 ai.findEnumAliases(enumCls, enumConstants, allAliases); in constructUsingToString()
91 for (int i = enumConstants.length; --i >= 0; ) { in constructUsingToString()
92 Enum<?> enumValue = enumConstants[i]; in constructUsingToString()
105 return new EnumResolver(enumCls, enumConstants, map, ai.findDefaultEnumValue(enumCls)); in constructUsingToString()
/external/javapoet/src/main/java/com/squareup/javapoet/
DTypeSpec.java58 public final Map<String, TypeSpec> enumConstants; field in TypeSpec
78 this.enumConstants = Util.immutableMap(builder.enumConstants); in TypeSpec()
112 this.enumConstants = Collections.emptyMap(); in TypeSpec()
175 builder.enumConstants.putAll(enumConstants); in toBuilder()
266 for (Iterator<Map.Entry<String, TypeSpec>> i = enumConstants.entrySet().iterator(); in emit()
419 public final Map<String, TypeSpec> enumConstants = new LinkedHashMap<>(); field in TypeSpec.Builder
585 enumConstants.put(name, typeSpec); in addEnumConstant()
766 checkArgument(kind != Kind.ENUM || !enumConstants.isEmpty(), in build()
781 for (Map.Entry<String, TypeSpec> enumConstant : enumConstants.entrySet()) { in build()
/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/api/process/ast/
DEnumConstantLocator.java74 : (List<EnumConstantDeclaration>) ((EnumDeclaration) typeDeclaration).enumConstants()) { in find()
/external/doclava/src/com/google/doclava/
DClassInfo.java149 ArrayList<FieldInfo> enumConstants, PackageInfo containingPackage, in init() argument
168 mEnumConstants = enumConstants; in init()
804 public void setExhaustiveEnumConstants(List<FieldInfo> enumConstants) { in setExhaustiveEnumConstants() argument
805 mExhaustiveEnumConstants = enumConstants; in setExhaustiveEnumConstants()
1032 public ArrayList<FieldInfo> enumConstants() { in enumConstants() method in ClassInfo
1132 for (FieldInfo field : enumConstants()) { in makeKeywordEntries()
1282 ArrayList<FieldInfo> enumConstants = enumConstants(); in makeHDF() local
1408 for (FieldInfo field : enumConstants) { in makeHDF()
1824 for (FieldInfo f : enumConstants()) { in findField()
DProofread.java136 for (FieldInfo f : cl.enumConstants()) { in writeClass()
DTodoFile.java123 for (FieldInfo f : cl.enumConstants()) { in writeTodoFile()
DStubs.java503 cl.enumConstants(), cl.containingPackage(), cl.containingClass(), in cantStripThis()
744 ArrayList<FieldInfo> enumConstants = cl.enumConstants(); in writeClass() local
745 int N = enumConstants.size(); in writeClass()
747 for (FieldInfo field : enumConstants) { in writeClass()
2029 ArrayList<FieldInfo> enums = cl.enumConstants();
DInfoBuilder.java177 if (cl.enumConstants() != null && !cl.enumConstants().isEmpty()) { in printClassInfo()
179 for (FieldInfo f : cl.enumConstants()) { in printClassInfo()
180 if (f != cl.enumConstants().get(0)) { in printClassInfo()
DConverter.java141 new ArrayList<FieldInfo>(Arrays.asList(Converter.convertFields(c.enumConstants()))), in initClass()
158 new ArrayList<FieldInfo>(Converter.convertAllFields(c.enumConstants()))); in initClass()
/external/doclava/res/assets/templates-sdk/
Dclass.cs380 || subcount(class.enumConstants)
438 <?cs if:subcount(class.enumConstants) ?>
444 <?cs each:field=class.enumConstants ?>
629 <?cs if:subcount(class.enumConstants) ?>
633 <?cs call:write_field_details(class.enumConstants) ?>
Dpage_info.cs65 <?cs if:subcount(class.enumConstants) ?>
/external/guava/android/guava-testlib/src/com/google/common/testing/
DArbitraryInstances.java352 T[] enumConstants = type.getEnumConstants(); in get() local
353 return (enumConstants.length == 0) ? null : enumConstants[0]; in get()
/external/guava/guava-testlib/src/com/google/common/testing/
DArbitraryInstances.java362 T[] enumConstants = type.getEnumConstants(); in get() local
363 return (enumConstants.length == 0) ? null : enumConstants[0]; in get()
/external/doclava/res/assets/templates/
Dclass.cs44 <?cs if:subcount(class.enumConstants) ?>
/external/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/
DGatherAPIData.java216 doDocs(cdoc.enumConstants()); in doDoc()
/external/google-java-format/core/src/main/java/com/google/googlejavaformat/java/
DJavaInputAstVisitor.java835 ArrayList<VariableTree> enumConstants = new ArrayList<>(); in visitEnumDeclaration() local
841 enumConstants.add(variableDecl); in visitEnumDeclaration()
847 if (enumConstants.isEmpty() && members.isEmpty()) { in visitEnumDeclaration()
872 for (VariableTree enumConstant : enumConstants) { in visitEnumDeclaration()
/external/dokka/core/src/main/kotlin/javadoc/
Ddocbase.kt419 …override fun enumConstants(): Array<out FieldDoc>? = classNode.members(NodeKind.EnumItem).map { Fi… in constantValue() method
/external/javapoet/src/test/java/com/squareup/javapoet/
DTypeSpecTest.java2512 builder.enumConstants.remove("WUT"); in modifyEnumConstants()
2513 assertThat(builder.build().enumConstants).containsExactly("BELL", constantType); in modifyEnumConstants()
/external/doclava/src/com/google/doclava/parser/
DJava.g424 (enumConstants
432 enumConstants
DJavaParser.java2169 enumConstants(); in enumBody()
2269 public final void enumConstants() throws RecognitionException { in enumConstants() method in JavaParser
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DULocale.java4210 Object[] enumConstants = cCategory.getEnumConstants();
4211 for (Object e : enumConstants) {
/external/icu/android_icu4j/src/main/java/android/icu/util/
DULocale.java4014 Object[] enumConstants = cCategory.getEnumConstants();
4015 for (Object e : enumConstants) {