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

1 23 4 5 6 7 8 91011>>

  /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);
ReserializingTestSetGenerator.java 41 @Override public Set<E> create(Object... elements) {
42 return (Set<E>) super.create(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;
  /external/guava/guava-tests/test/com/google/common/collect/
SetOperationsTest.java 47 @Override protected Set<String> create(String[] elements) {
58 @Override protected Set<String> create(String[] elements) {
59 checkArgument(elements.length == 1);
61 Sets.<String>newHashSet(elements), Sets.newHashSet(elements));
69 @Override protected Set<String> create(String[] elements) {
71 Sets.<String>newHashSet(), Sets.newHashSet(elements));
80 @Override protected Set<String> create(String[] elements) {
82 Sets.newHashSet(elements), Sets.<String>newHashSet());
91 @Override protected Set<String> create(String[] elements) {
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/uimodel/
UiDocumentNode.java 139 * Returns all elements in this document.
142 * @return all elements in the document
145 List<UiElementNode> elements = new ArrayList<UiElementNode>(64); local
147 addElements(child, elements);
149 return elements;
152 private static void addElements(UiElementNode node, List<UiElementNode> elements) {
153 elements.add(node);
156 addElements(child, elements);
  /external/guava/guava-tests/test/com/google/common/primitives/
ByteArrayAsListTest.java 85 @Override protected List<Byte> create(Byte[] elements) {
86 return asList(elements);
91 @Override protected List<Byte> create(Byte[] elements) {
93 Byte[] all = concat(elements, suffix);
94 return asList(all).subList(0, elements.length);
99 @Override protected List<Byte> create(Byte[] elements) {
101 Byte[] all = concat(prefix, elements);
102 return asList(all).subList(2, elements.length + 2);
107 @Override protected List<Byte> create(Byte[] elements) {
110 Byte[] all = concat(concat(prefix, elements), suffix)
    [all...]
CharArrayAsListTest.java 85 @Override protected List<Character> create(Character[] elements) {
86 return asList(elements);
91 @Override protected List<Character> create(Character[] elements) {
93 Character[] all = concat(elements, suffix);
94 return asList(all).subList(0, elements.length);
99 @Override protected List<Character> create(Character[] elements) {
101 Character[] all = concat(prefix, elements);
102 return asList(all).subList(2, elements.length + 2);
107 @Override protected List<Character> create(Character[] elements) {
110 Character[] all = concat(concat(prefix, elements), suffix)
    [all...]
DoubleArrayAsListTest.java 85 @Override protected List<Double> create(Double[] elements) {
86 return asList(elements);
91 @Override protected List<Double> create(Double[] elements) {
93 Double[] all = concat(elements, suffix);
94 return asList(all).subList(0, elements.length);
99 @Override protected List<Double> create(Double[] elements) {
101 Double[] all = concat(prefix, elements);
102 return asList(all).subList(2, elements.length + 2);
107 @Override protected List<Double> create(Double[] elements) {
110 Double[] all = concat(concat(prefix, elements), suffix)
    [all...]

Completed in 1989 milliseconds

1 23 4 5 6 7 8 91011>>