Searched defs:toArray (Results 51 - 75 of 84) sorted by relevance

1234

/openjdk7/jdk/src/share/classes/java/util/concurrent/
H A DArrayBlockingQueue.java518 public Object[] toArray() { method in class:ArrayBlockingQueue
545 * <p>Like the {@link #toArray()} method, this method acts as bridge between
555 * String[] y = x.toArray(new String[0]);</pre>
557 * Note that {@code toArray(new Object[0])} is identical in function to
558 * {@code toArray()}.
570 public <T> T[] toArray(T[] a) { method in class:ArrayBlockingQueue
H A DConcurrentLinkedQueue.java79 * {@code equals}, and {@code toArray} are <em>not</em> guaranteed
580 public Object[] toArray() { method in class:ConcurrentLinkedQueue
588 return al.toArray();
603 * <p>Like the {@link #toArray()} method, this method acts as bridge between
613 * String[] y = x.toArray(new String[0]);</pre>
615 * Note that {@code toArray(new Object[0])} is identical in function to
616 * {@code toArray()}.
628 public <T> T[] toArray(T[] a) { method in class:ConcurrentLinkedQueue
650 return al.toArray(a);
H A DLinkedBlockingQueue.java598 public Object[] toArray() { method in class:LinkedBlockingQueue
624 * <p>Like the {@link #toArray()} method, this method acts as bridge between
634 * String[] y = x.toArray(new String[0]);</pre>
636 * Note that {@code toArray(new Object[0])} is identical in function to
637 * {@code toArray()}.
649 public <T> T[] toArray(T[] a) { method in class:LinkedBlockingQueue
H A DPriorityBlockingQueue.java59 * {@code Arrays.sort(pq.toArray())}. Also, method {@code drainTo}
252 Object[] a = c.toArray();
254 // If c.toArray incorrectly doesn't return Object[], copy it.
714 public Object[] toArray() { method in class:PriorityBlockingQueue
813 * <p>Like the {@link #toArray()} method, this method acts as bridge between
822 * <pre> {@code String[] y = x.toArray(new String[0]);}</pre>
824 * Note that {@code toArray(new Object[0])} is identical in function to
825 * {@code toArray()}.
836 public <T> T[] toArray(T[] a) { method in class:PriorityBlockingQueue
867 return new Itr(toArray());
[all...]
H A DCopyOnWriteArrayList.java119 Object[] elements = c.toArray();
120 // c.toArray might (incorrectly) not return Object[] (see 6260652)
306 public Object[] toArray() { method in class:CopyOnWriteArrayList
326 * <p>Like the {@link #toArray()} method, this method acts as bridge between
336 * String[] y = x.toArray(new String[0]);</pre>
338 * Note that <tt>toArray(new Object[0])</tt> is identical in function to
339 * <tt>toArray()</tt>.
351 public <T> T[] toArray(T a[]) { method in class:CopyOnWriteArrayList
722 Object[] cs = c.toArray();
774 Object[] cs = c.toArray();
[all...]
H A DLinkedBlockingDeque.java888 public Object[] toArray() { method in class:LinkedBlockingDeque
914 * <p>Like the {@link #toArray()} method, this method acts as bridge between
924 * String[] y = x.toArray(new String[0]);</pre>
926 * Note that {@code toArray(new Object[0])} is identical in function to
927 * {@code toArray()}.
939 public <T> T[] toArray(T[] a) { method in class:LinkedBlockingDeque
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/
H A DArrayBeanInfoImpl.java87 state.target = toArray((List)state.target);
110 protected Object toArray( List list ) { method in class:ArrayBeanInfoImpl
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/api/
H A DJavacTaskImpl.java107 this(compilerMain, toArray(flags), toArray(classes), context, toList(fileObjects));
110 static private String[] toArray(Iterable<String> iter) { method in class:JavacTaskImpl
115 return result.toArray(new String[result.length()]);
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/util/
H A DList.java240 public <T> T[] toArray(T[] vec) { method in class:List
256 return toArray(vec);
259 public Object[] toArray() { method in class:List
260 return toArray(new Object[size()]);
H A DListBuffer.java178 public <T> T[] toArray(T[] vec) { method in class:ListBuffer
179 return elems.toArray(vec);
181 public Object[] toArray() { method in class:ListBuffer
182 return toArray(new Object[size()]);
/openjdk7/jdk/src/share/demo/scripting/jconsole-plugin/src/resources/
H A Djconsole.js223 function toArray(collection) { function
/openjdk7/jdk/src/share/classes/sun/security/jca/
H A DProviderList.java106 return new ProviderList(list.toArray(PC0), true);
190 configs = configList.toArray(PC0);
219 ProviderConfig[] configArray = newConfigs.toArray(PC0);
313 public Provider[] toArray() { method in class:ProviderList
314 return providers().toArray(P0);
/openjdk7/jdk/src/share/classes/sun/reflect/annotation/
H A DAnnotationParser.java160 result[i] = annotations.toArray(EMPTY_ANNOTATIONS_ARRAY);
802 public static Annotation[] toArray(Map<Class<? extends Annotation>, Annotation> annotations) { method in class:AnnotationParser
803 return annotations.values().toArray(EMPTY_ANNOTATION_ARRAY);
/openjdk7/jdk/src/share/classes/sun/rmi/rmic/
H A DBatchEnvironment.java135 return new ClassPath(path.toArray(new String[path.size()]));
278 public Object[] toArray() { method in class:BatchEnvironment.Path.PathIterator
281 public <T> T[] toArray(T[] a) { method in class:BatchEnvironment.Path.PathIterator
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/xs/
H A DXSModelImpl.java744 public Object[] toArray() { method in class:XSModelImpl
750 public Object[] toArray(Object[] a) { method in class:XSModelImpl
/openjdk7/jdk/src/share/classes/java/util/
H A DArrayList.java164 elementData = c.toArray();
166 // c.toArray might (incorrectly) not return Object[] (see 6260652)
357 public Object[] toArray() { method in class:ArrayList
386 public <T> T[] toArray(T[] a) { method in class:ArrayList
559 Object[] a = c.toArray();
585 Object[] a = c.toArray();
H A DIdentityHashMap.java1143 public Object[] toArray() { method in class:IdentityHashMap.EntrySet
1153 public <T> T[] toArray(T[] a) { method in class:IdentityHashMap.EntrySet
H A DLinkedList.java406 Object[] a = c.toArray();
1036 public Object[] toArray() { method in class:LinkedList
1058 * <p>Like the {@link #toArray()} method, this method acts as bridge between
1068 * String[] y = x.toArray(new String[0]);</pre>
1070 * Note that {@code toArray(new Object[0])} is identical in function to
1071 * {@code toArray()}.
1083 public <T> T[] toArray(T[] a) { method in class:LinkedList
H A DVector.java167 elementData = c.toArray();
169 // c.toArray might (incorrectly) not return Object[] (see 6260652)
185 * @see #toArray(Object[])
686 public synchronized Object[] toArray() { method in class:Vector
714 public synchronized <T> T[] toArray(T[] a) { method in class:Vector
880 Object[] a = c.toArray();
954 Object[] a = c.toArray();
H A DWeakHashMap.java1061 public Object[] toArray() { method in class:WeakHashMap.EntrySet
1062 return deepCopy().toArray();
1065 public <T> T[] toArray(T[] a) { method in class:WeakHashMap.EntrySet
1066 return deepCopy().toArray(a);
/openjdk7/jdk/src/share/classes/com/sun/jmx/snmp/agent/
H A DSnmpMib.java180 * Same behaviour than the toArray(long[] a) method in
185 public final long[] toArray(long[] a) { method in class:LongList
191 * Same behaviour than the toArray() method in
196 public final long[] toArray() { method in class:LongList
197 return toArray(new long[size]);
323 SnmpOid oid = new SnmpOid(l.toArray());
/openjdk7/jdk/src/share/classes/com/sun/tools/hat/resources/
H A Dhat.js1084 function toArray(obj) { function
1393 array = toArray(array);
/openjdk7/jdk/test/sun/nio/cs/
H A DFindDecoderBugs.java123 ia = toArray(ib);
124 oa = toArray(ob);
130 static byte[] toArray(ByteBuffer b) { method in class:FindDecoderBugs.Result
139 static char[] toArray(CharBuffer b) { method in class:FindDecoderBugs.Result
H A DFindEncoderBugs.java130 ia = toArray(ib);
131 oa = toArray(ob);
137 static char[] toArray(CharBuffer b) { method in class:FindEncoderBugs.Result
146 static byte[] toArray(ByteBuffer b) { method in class:FindEncoderBugs.Result
/openjdk7/jdk/src/share/classes/java/beans/beancontext/
H A DBeanContextSupport.java268 public Object[] toArray() { method in class:BeanContextSupport
270 return children.keySet().toArray();
282 public Object[] toArray(Object[] arry) { method in class:BeanContextSupport
284 return children.keySet().toArray(arry);
892 Object[] objects = coll.toArray();
1262 synchronized(bcmListeners) { copy = bcmListeners.toArray(); }
1275 synchronized(bcmListeners) { copy = bcmListeners.toArray(); }
1330 synchronized(children) { return children.keySet().toArray(); }

Completed in 103 milliseconds

1234