HomeSort by relevance Sort by last modified time
    Searched refs:elements (Results 51 - 75 of 1581) sorted by null

1 23 4 5 6 7 8 91011>>

  /external/guava/guava-tests/test/com/google/common/collect/
MultisetCollectionTest.java 69 protected Multiset<String> create(String[] elements) {
70 return TreeMultiset.create(Arrays.asList(elements));
88 protected Multiset<String> create(String[] elements) {
90 result.addAll(Arrays.asList(elements));
148 @Override protected Multiset<String> create(String[] elements) {
149 return HashMultiset.create(asList(elements));
156 @Override protected Multiset<String> create(String[] elements) {
158 TreeMultiset.create(asList(elements)));
169 @Override protected Multiset<String> create(String[] elements) {
171 TreeMultiset.create(asList(elements)));
    [all...]
  /packages/apps/Tag/src/com/android/apps/tag/message/
NdefMessageParser.java 52 List<ParsedNdefRecord> elements = new ArrayList<ParsedNdefRecord>(); local
55 elements.add(SmartPoster.parse(record));
57 elements.add(UriRecord.parse(record));
59 elements.add(TextRecord.parse(record));
61 elements.add(ImageRecord.parse(record));
63 elements.add(VCardRecord.parse(record));
65 elements.add(MimeRecord.parse(record));
67 elements.add(new UnknownRecord());
70 return elements;
  /dalvik/vm/native/
java_lang_Throwable.cpp 48 ArrayObject* elements = NULL; local
55 elements = dvmGetStackTrace(stackState);
56 RETURN_PTR(elements);
  /external/libffi/testsuite/libffi.call/
pyobjc-tc.c 50 point_type.elements = malloc(3 * sizeof(ffi_type*));
51 point_type.elements[0] = &ffi_type_float;
52 point_type.elements[1] = &ffi_type_float;
53 point_type.elements[2] = NULL;
58 size_type.elements = malloc(3 * sizeof(ffi_type*));
59 size_type.elements[0] = &ffi_type_float;
60 size_type.elements[1] = &ffi_type_float;
61 size_type.elements[2] = NULL;
66 rect_type.elements = malloc(3 * sizeof(ffi_type*));
67 rect_type.elements[0] = &point_type
    [all...]
  /external/mockito/src/org/mockito/internal/util/collections/
Sets.java 27 public static <T> Set<T> newSet(T ... elements) {
28 if (elements == null) {
29 throw new IllegalArgumentException("Expected an array of elements (or empty array) but received a null.");
31 return new LinkedHashSet<T>(asList(elements));
  /dalvik/dexgen/src/com/android/dexgen/util/
IntSet.java 55 * Returns the count of unique elements in this set.
57 * @return {@code > = 0;} count of unique elements
59 int elements(); method in interface:IntSet
  /dalvik/dx/src/com/android/dx/util/
IntSet.java 55 * Returns the count of unique elements in this set.
57 * @return {@code > = 0;} count of unique elements
59 int elements(); method in interface:IntSet
  /external/dexmaker/src/dx/java/com/android/dx/util/
IntSet.java 55 * Returns the count of unique elements in this set.
57 * @return {@code > = 0;} count of unique elements
59 int elements(); method in interface:IntSet
  /external/guava/guava/src/com/google/common/collect/
Queues.java 70 * Creates an {@code ConcurrentLinkedQueue} instance containing the given elements.
72 * @param elements the elements that the queue should contain, in order
73 * @return a new {@code ConcurrentLinkedQueue} containing those elements
76 Iterable<? extends E> elements) {
77 if (elements instanceof Collection) {
78 return new ConcurrentLinkedQueue<E>(Collections2.cast(elements));
81 Iterables.addAll(queue, elements);
110 * Creates an {@code LinkedBlockingQueue} instance containing the given elements.
112 * @param elements the elements that the queue should contain, in orde
    [all...]
  /external/guava/guava-testlib/src/com/google/common/collect/testing/
MinimalIterable.java 53 * Returns an iterable whose iterator returns the given elements in order.
55 public static <E> MinimalIterable<E> of(E... elements) {
57 return new MinimalIterable<E>(Arrays.asList(elements).iterator());
61 * Returns an iterable whose iterator returns the given elements in order.
62 * The elements are copied out of the source collection at the time this
66 public static <E> MinimalIterable<E> from(final Collection<E> elements) {
67 return (MinimalIterable) of(elements.toArray());
TestEnumSetGenerator.java 39 public Set<AnEnum> create(Object... elements) {
40 AnEnum[] array = new AnEnum[elements.length];
42 for (Object e : elements) {
48 protected abstract Set<AnEnum> create(AnEnum[] elements);
TestListGenerator.java 22 * Creates sets, containing sample elements, to be tested.
30 List<E> create(Object... elements);
TestQueueGenerator.java 22 * Creates queues, containing sample elements, to be tested.
30 Queue<E> create(Object... elements);
TestSetGenerator.java 22 * Creates sets, containing sample elements, to be tested.
30 Set<E> create(Object... elements);
TestStringCollectionGenerator.java 39 public Collection<String> create(Object... elements) {
40 String[] array = new String[elements.length];
42 for (Object e : elements) {
48 protected abstract Collection<String> create(String[] elements);
TestStringListGenerator.java 38 public List<String> create(Object... elements) {
39 String[] array = new String[elements.length];
41 for (Object e : elements) {
48 * Creates a new collection containing the given elements; implement this
51 protected abstract List<String> create(String[] elements);
TestStringQueueGenerator.java 40 public Queue<String> create(Object... elements) {
41 String[] array = new String[elements.length];
43 for (Object e : elements) {
49 protected abstract Queue<String> create(String[] elements);
TestStringSetGenerator.java 39 public Set<String> create(Object... elements) {
40 String[] array = new String[elements.length];
42 for (Object e : elements) {
48 protected abstract Set<String> create(String[] elements);
58 * <p>By default, returns the supplied elements in their given order; however,
TestUnhashableCollectionGenerator.java 25 * Creates collections containing unhashable sample elements, to be tested.
40 public T create(Object... elements) {
41 UnhashableObject[] array = createArray(elements.length);
43 for (Object e : elements) {
50 * Creates a new collection containing the given elements; implement this
53 protected abstract T create(UnhashableObject[] elements);
  /external/guava/guava-testlib/src/com/google/common/collect/testing/google/
TestStringMultisetGenerator.java 41 public Multiset<String> create(Object... elements) {
42 String[] array = new String[elements.length];
44 for (Object e : elements) {
50 protected abstract Multiset<String> create(String[] elements);
  /libcore/luni/src/main/java/java/security/
AllPermissionCollection.java 28 @Override public Enumeration<Permission> elements() { return null; } method in class:AllPermissionCollection
  /external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/
ANTLRRewriteRuleTokenStream.h 44 elements:(NSMutableArray *)elements;
54 elements:(NSMutableArray *)elements;
  /external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/
ANTLRRewriteRuleTokenStream.h 44 elements:(NSMutableArray *)elements;
54 elements:(NSMutableArray *)elements;
  /external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/
ANTLRRewriteRuleTokenStream.h 44 elements:(NSMutableArray *)elements;
54 elements:(NSMutableArray *)elements;
  /external/antlr/antlr-3.4/runtime/ObjC/Framework/
ANTLRRewriteRuleTokenStream.h 44 elements:(AMutableArray *)elements;
54 elements:(AMutableArray *)elements;

Completed in 701 milliseconds

1 23 4 5 6 7 8 91011>>