Home
last modified time | relevance | path

Searched refs:toArray (Results 1 – 25 of 148) sorted by relevance

123456

/external/guava/src/com/google/common/collect/
DImmutableCollection.java55 public Object[] toArray() { in toArray() method in ImmutableCollection
57 return toArray(newArray); in toArray()
60 public <T> T[] toArray(T[] other) { in toArray() method in ImmutableCollection
183 return new ImmutableAsList<E>(toArray(), this); in createAsList()
207 @Override public Object[] toArray() { in toArray() method in ImmutableCollection.EmptyImmutableCollection
211 @Override public <T> T[] toArray(T[] array) { in toArray() method in ImmutableCollection.EmptyImmutableCollection
258 return new SerializedForm(toArray()); in writeReplace()
DForwardingCollection.java60 public Object[] toArray() { in toArray() method in ForwardingCollection
61 return delegate().toArray(); in toArray()
64 public <T> T[] toArray(T[] array) { in toArray() method in ForwardingCollection
65 return delegate().toArray(array); in toArray()
DImmutableEnumSet.java77 @Override public Object[] toArray() { in toArray() method in ImmutableEnumSet
78 return delegate.toArray(); in toArray()
81 @Override public <T> T[] toArray(T[] array) { in toArray() method in ImmutableEnumSet
82 return delegate.toArray(array); in toArray()
DConcurrentHashMultiset.java146 @Override public Object[] toArray() { in toArray() method in ConcurrentHashMultiset
147 return snapshot().toArray(); in toArray()
150 @Override public <T> T[] toArray(T[] array) { in toArray() method in ConcurrentHashMultiset
151 return snapshot().toArray(array); in toArray()
418 @Override public Object[] toArray() {
419 return snapshot().toArray();
422 @Override public <T> T[] toArray(T[] array) {
423 return snapshot().toArray(array);
DImmutableSet.java288 elements.toArray(), hashCode, table, mask); in create()
317 @Override public Object[] toArray() { in toArray() method in ImmutableSet.ArrayImmutableSet
323 @Override public <T> T[] toArray(T[] array) { in toArray() method in ImmutableSet.ArrayImmutableSet
388 @Override public Object[] toArray() { in toArray() method in ImmutableSet
389 return toArray(new Object[size()]); in toArray()
392 @Override public <T> T[] toArray(T[] array) { in toArray() method in ImmutableSet
436 return new SerializedForm(toArray()); in writeReplace()
DCollections2.java227 public Object[] toArray() { in toArray() method in Collections2.FilteredCollection
229 return Lists.newArrayList(iterator()).toArray(); in toArray()
232 public <T> T[] toArray(T[] array) { in toArray() method in Collections2.FilteredCollection
233 return Lists.newArrayList(iterator()).toArray(array); in toArray()
DEmptyImmutableSet.java55 @Override public Object[] toArray() { in toArray() method in EmptyImmutableSet
59 @Override public <T> T[] toArray(T[] a) { in toArray() method in EmptyImmutableSet
DEmptyImmutableSortedSet.java58 @Override public Object[] toArray() { in toArray() method in EmptyImmutableSortedSet
62 @Override public <T> T[] toArray(T[] a) { in toArray() method in EmptyImmutableSortedSet
DSingletonImmutableSet.java68 @Override public Object[] toArray() { in toArray() method in SingletonImmutableSet
73 @Override public <T> T[] toArray(T[] array) { in toArray() method in SingletonImmutableSet
DEmptyImmutableList.java60 @Override public Object[] toArray() { in toArray() method in EmptyImmutableList
64 @Override public <T> T[] toArray(T[] a) { in toArray() method in EmptyImmutableList
DSingletonImmutableList.java104 @Override public Object[] toArray() { in toArray() method in SingletonImmutableList
108 @Override public <T> T[] toArray(T[] array) { in toArray() method in SingletonImmutableList
DAbstractBiMap.java249 @Override public Object[] toArray() { in toArray() method
253 @Override public <T> T[] toArray(T[] array) { in toArray() method
336 @Override public Object[] toArray() {
339 @Override public <T> T[] toArray(T[] array) {
DMaps.java564 @Override public Object[] toArray() {
568 @Override public <T> T[] toArray(T[] array) {
1088 @Override public Object[] toArray() {
1090 return Lists.newArrayList(iterator()).toArray();
1093 @Override public <T> T[] toArray(T[] array) {
1094 return Lists.newArrayList(iterator()).toArray(array);
1245 @Override public Object[] toArray() {
1247 return Lists.newArrayList(iterator()).toArray();
1250 @Override public <T> T[] toArray(T[] array) {
1251 return Lists.newArrayList(iterator()).toArray(array);
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
DAbstractCollectionTest.java243 Object[] array = ac.toArray(); in test_toArray()
282 ac.toArray(null); in test_toArray$Ljava_lang_Object()
289 ac.toArray(new StringBuffer[ac.size()]); in test_toArray$Ljava_lang_Object()
296 assertSame(a, ac.toArray(a)); in test_toArray$Ljava_lang_Object()
299 assertNotSame(a, ac.toArray(a)); in test_toArray$Ljava_lang_Object()
300 a = ac.toArray(a); in test_toArray$Ljava_lang_Object()
304 ac.toArray(csa); in test_toArray$Ljava_lang_Object()
/external/doclava/src/com/google/doclava/
DComment.java414 return results.toArray(new TagInfo[results.size()]); in tags()
515 mInlineTags = mInlineTagsList.toArray(new TagInfo[mInlineTagsList.size()]); in initImpl()
516 mParamTags = mParamTagsList.toArray(new ParamTagInfo[mParamTagsList.size()]); in initImpl()
517 mSeeTags = mSeeTagsList.toArray(new SeeTagInfo[mSeeTagsList.size()]); in initImpl()
518 mThrowsTags = mThrowsTagsList.toArray(new ThrowsTagInfo[mThrowsTagsList.size()]); in initImpl()
520 ParsedTagInfo.joinTags(mReturnTagsList.toArray(new ParsedTagInfo[mReturnTagsList.size()])); in initImpl()
522 ParsedTagInfo.joinTags(mDeprecatedTagsList.toArray(new ParsedTagInfo[mDeprecatedTagsList in initImpl()
524 mUndeprecateTags = mUndeprecateTagsList.toArray(new TagInfo[mUndeprecateTagsList.size()]); in initImpl()
525 mAttrTags = mAttrTagsList.toArray(new AttrTagInfo[mAttrTagsList.size()]); in initImpl()
526 mBriefTags = mBriefTagsList.toArray(new TagInfo[mBriefTagsList.size()]); in initImpl()
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/x509/
DCertificateListTest.java214 System.out.println("}>> "+ rcerts.toArray()[0]); in testSupportIndirectCRLs()
215 System.out.println("}>> "+((X509CRLEntry) rcerts.toArray()[0]).getCertificateIssuer()); in testSupportIndirectCRLs()
216 System.out.println("}>> "+((X509CRLEntry) rcerts.toArray()[1]).getCertificateIssuer()); in testSupportIndirectCRLs()
217 System.out.println("}>> "+((X509CRLEntry) rcerts.toArray()[2]).getCertificateIssuer()); in testSupportIndirectCRLs()
/external/icu4c/test/cintltst/
Dcldrtest.c568 UResourceBundle *toArray, const char *toLocale, in compareArrays() argument
585 const UChar *toBundleStr = ures_getStringByIndex(toArray, idx, NULL, &errorCode); in compareArrays()
603 UResourceBundle *fromArray, *toArray; in compareConsistentCountryInfo() local
687 toArray = ures_getByKey(toLocaleBund, "CurrencyElements", NULL, &errorCode); in compareConsistentCountryInfo()
691 compareArrays("CurrencyElements", fromArray, fromLocale, toArray, toLocale, 1, 2); in compareConsistentCountryInfo()
694 ures_close(toArray); in compareConsistentCountryInfo()
697 toArray = ures_getByKey(toLocaleBund, "NumberPatterns", NULL, &errorCode); in compareConsistentCountryInfo()
700 compareArrays("NumberPatterns", fromArray, fromLocale, toArray, toLocale, 0, 3); in compareConsistentCountryInfo()
703 ures_close(toArray); in compareConsistentCountryInfo()
716 toArray = ures_getByKey(toLocaleBund, "NumberElements", NULL, &errorCode); in compareConsistentCountryInfo()
[all …]
/external/android-mock/tests/com/google/android/testing/mocking/
DAndroidFrameworkMockGeneratorTest.java69 "Contents were different. Missing: " + Arrays.toString(missingItems.toArray()) in assertUnorderedContentsSame()
70 + " Extra: " + Arrays.toString(extraItems.toArray()); in assertUnorderedContentsSame()
164 cleanupGeneratedClasses(createdClasses.toArray(new CtClass[0])); in testGetMocksForClass()
/external/apache-harmony/support/src/test/java/tests/support/
DSupport_UnmodifiableCollectionTest.java93 objArray = col.toArray(); in runTest()
102 col.toArray(objArray); in runTest()
DSupport_UnmodifiableMapTest.java144 objArray = keySet.toArray(); in t_KeySet()
153 keySet.toArray(objArray); in t_KeySet()
/external/emma/core/java12/com/vladium/util/
DStrings.java72 _result.toArray (result); in removeDuplicates()
113 _result.toArray (result); in merge()
168 _result.toArray (result); in mergeAT()
/external/nist-sip/java/gov/nist/javax/sip/header/
DSIPHeaderList.java356 public Object[] toArray() { in toArray() method in SIPHeaderList
357 return hlist.toArray(); in toArray()
664 public <T> T[] toArray(T[] array) { in toArray() method in SIPHeaderList
665 return this.hlist.toArray(array); in toArray()
/external/javassist/src/main/javassist/bytecode/
DSignatureAttribute.java667 = (ClassType[])ifArray.toArray(new ClassType[ifArray.size()]); in parseSig()
698 Type[] p = (Type[])params.toArray(new Type[params.size()]); in parseMethodSig()
699 ObjectType[] ex = (ObjectType[])exceptions.toArray(new ObjectType[exceptions.size()]); in parseMethodSig()
721 classBound, (ObjectType[])ifBound.toArray(new ObjectType[ifBound.size()])); in parseTypeParams()
728 return (TypeParameter[])typeParam.toArray(new TypeParameter[typeParam.size()]); in parseTypeParams()
806 return (TypeArgument[])args.toArray(new TypeArgument[args.size()]); in parseTypeArgs()
/external/bouncycastle/src/main/java/org/bouncycastle/x509/
DAttributeCertificateIssuer.java85 return l.toArray(new Object[l.size()]); in getNames()
107 return (Principal[])l.toArray(new Principal[l.size()]); in getPrincipals()
/external/apache-http/src/org/apache/http/message/
DHeaderGroup.java183 return (Header[]) headersFound.toArray(new Header[headersFound.size()]); in getHeaders()
230 return (Header[]) headers.toArray(new Header[headers.size()]); in getAllHeaders()

123456