Searched defs:iterator (Results 176 - 200 of 210) sorted by relevance

123456789

/openjdk7/jaxp/src/com/sun/org/apache/xpath/internal/
H A DNodeSetDTM.java140 * @param iterator Iterator which yields Nodes to be made members of the new set.
142 public NodeSetDTM(NodeIterator iterator, XPathContext xctxt) argument
150 while (null != (node = iterator.nextNode()))
195 * Set the environment in which this iterator operates, which should provide:
283 * Reset the iterator. May have no effect on non-iterator Nodesets.
292 * iterator. The available set of constants is defined in the
327 * reference nodes are visible to the iterator. If false, they will be
332 * expandEntityReferences to true when creating the iterator. To produce
348 * iterator ma
648 addNodes(DTMIterator iterator) argument
705 addNodesInDocOrder(DTMIterator iterator, XPathContext support) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicSpinnerUI.java685 AttributedCharacterIterator iterator = format.
687 if (!select(ftf, iterator, field) &&
689 select(ftf, iterator, DateFormat.Field.HOUR1);
703 AttributedCharacterIterator iterator,
707 iterator.first();
709 Map attrs = iterator.getAttributes();
712 int start = iterator.getRunStart(field);
713 int end = iterator.getRunLimit(field);
721 } while (iterator.next() != CharacterIterator.DONE);
702 select(JFormattedTextField ftf, AttributedCharacterIterator iterator, DateFormat.Field field) argument
/openjdk7/jdk/src/share/classes/java/beans/beancontext/
H A DBeanContextSupport.java258 public Iterator iterator() { method in class:BeanContextSupport
260 return new BCSIterator(children.keySet().iterator());
292 * protected final subclass that encapsulates an iterator but implements
571 Iterator i = c.iterator();
762 for (Iterator i = children.keySet().iterator(); i.hasNext();) {
789 for (Iterator i = children.keySet().iterator(); i.hasNext();) {
808 for (Iterator i = children.keySet().iterator(); i.hasNext();) {
836 * Returns an iterator of all children
838 * @return an iterator for all the current BCSChild values
840 protected Iterator bcsChildren() { synchronized(children) { return children.values().iterator(); } }
[all...]
/openjdk7/jdk/src/share/classes/java/text/
H A DAttributedString.java98 AttributedCharacterIterator iterator = iterators[counter];
99 int start = iterator.getBeginIndex();
100 int end = iterator.getEndIndex();
104 iterator.setIndex(index);
106 Map attrs = iterator.getAttributes();
112 index = iterator.getRunLimit();
163 Iterator iterator = attributes.entrySet().iterator();
164 while (iterator.hasNext()) {
165 Map.Entry entry = (Map.Entry) iterator
677 appendContents(StringBuffer buf, CharacterIterator iterator) argument
[all...]
/openjdk7/jdk/src/share/classes/java/util/
H A DHashMap.java90 * the iterator is created, in any way except through the iterator's own
91 * <tt>remove</tt> method, the iterator will throw a
93 * modification, the iterator fails quickly and cleanly, rather than risking
97 * <p>Note that the fail-fast behavior of an iterator cannot be guaranteed
970 // Subclass overrides these to alter behavior of views' iterator() method
991 * the iterator's own <tt>remove</tt> operation), the results of
1005 public Iterator<K> iterator() { method in class:HashMap.KeySet
1027 * (except through the iterator's own <tt>remove</tt> operation),
1041 public Iterator<V> iterator() { method in class:HashMap.Values
1081 public Iterator<Map.Entry<K,V>> iterator() { method in class:HashMap.EntrySet
[all...]
H A DWeakHashMap.java100 * <p>The iterators returned by the <tt>iterator</tt> method of the collections
103 * iterator is created, in any way except through the iterator's own
104 * <tt>remove</tt> method, the iterator will throw a {@link
106 * modification, the iterator fails quickly and cleanly, rather than risking
109 * <p>Note that the fail-fast behavior of an iterator cannot be guaranteed
934 * the iterator's own <tt>remove</tt> operation), the results of
948 public Iterator<K> iterator() { method in class:WeakHashMap.KeySet
979 * (except through the iterator's own <tt>remove</tt> operation),
993 public Iterator<V> iterator() { method in class:WeakHashMap.Values
1030 public Iterator<Map.Entry<K,V>> iterator() { method in class:WeakHashMap.EntrySet
[all...]
/openjdk7/jdk/src/share/classes/java/util/concurrent/
H A DConcurrentHashMap.java65 * at some point at or since the creation of the iterator/enumeration.
1242 * <p>The view's <tt>iterator</tt> is a "weakly consistent" iterator
1245 * construction of the iterator, and may (but is not guaranteed to)
1263 * <p>The view's <tt>iterator</tt> is a "weakly consistent" iterator
1266 * construction of the iterator, and may (but is not guaranteed to)
1284 * <p>The view's <tt>iterator</tt> is a "weakly consistent" iterator
1287 * construction of the iterator, an
1427 public Iterator<K> iterator() { method in class:ConcurrentHashMap.KeySet
1448 public Iterator<V> iterator() { method in class:ConcurrentHashMap.Values
1466 public Iterator<Map.Entry<K,V>> iterator() { method in class:ConcurrentHashMap.EntrySet
[all...]
H A DConcurrentLinkedDeque.java57 * creation of the iterator. They do <em>not</em> throw {@link
70 * to be performed atomically. For example, an iterator operating
74 * <p>This class and its iterator implement all of the <em>optional</em>
166 * may remain reachable indefinitely from an iterator.
184 * iterator, but unlike unlinked nodes, are never reachable from
203 * indefinitely (for example by an iterator). We must ensure that
842 * collection's iterator.
1144 * collection's iterator. Attempts to {@code addAll} of a deque to
1273 * Returns an iterator over the elements in this deque in proper sequence.
1276 * <p>The returned iterator i
1285 public Iterator<E> iterator() { method in class:ConcurrentLinkedDeque
[all...]
H A DLinkedTransferQueue.java62 * to be performed atomically. For example, an iterator operating
66 * <p>This class and its iterator implement all of the
1021 * added in traversal order of the collection's iterator.
1192 * Returns an iterator over the elements in this queue in proper sequence.
1195 * <p>The returned iterator is a "weakly consistent" iterator that
1198 * elements as they existed upon construction of the iterator, and
1202 * @return an iterator over the elements in this queue in proper sequence
1204 public Iterator<E> iterator() { method in class:LinkedTransferQueue
H A DScheduledThreadPoolExecutor.java370 // Traverse snapshot to avoid iterator exceptions
1242 public Iterator<Runnable> iterator() { method in class:ScheduledThreadPoolExecutor.DelayedWorkQueue
1247 * Snapshot iterator that works off copy of underlying q array.
H A DSynchronousQueue.java70 * <p>This class and its iterator implement all of the
1063 * Returns an empty iterator in which <tt>hasNext</tt> always returns
1066 * @return an empty iterator
1068 public Iterator<E> iterator() { method in class:SynchronousQueue
/openjdk7/jdk/src/share/classes/com/sun/tools/jdi/
H A DEventSetImpl.java817 public Iterator<Event> iterator() { method in class:EventSetImpl
/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DAquaSpinnerUI.java361 final AttributedCharacterIterator iterator = format.formatToCharacterIterator(value);
362 if (!select(ftf, iterator, field) && field == DateFormat.Field.HOUR0) {
363 select(ftf, iterator, DateFormat.Field.HOUR1);
372 private boolean select(final JFormattedTextField ftf, final AttributedCharacterIterator iterator, final DateFormat.Field field) { argument
375 iterator.first();
377 final Map<Attribute,Object> attrs = iterator.getAttributes();
380 final int start = iterator.getRunStart(field);
381 final int end = iterator.getRunLimit(field);
387 } while (iterator.next() != CharacterIterator.DONE);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/encoding/
H A DMtomCodec.java371 public Iterator<Binding> iterator() { method in class:MtomCodec.MtomStreamWriterImpl.MtomNamespaceContextEx
435 public Iterator<Binding> iterator() { method in class:MtomCodec.MtomXMLStreamReaderEx.MtomNamespaceContextEx
/openjdk7/jdk/test/java/nio/file/Files/
H A DPassThroughFileSystem.java95 public Iterator<Path> iterator() {
96 final Iterator<Path> itr = roots.iterator();
279 public Iterator<Path> iterator() {
280 final Iterator<Path> itr = stream.iterator();
499 public Iterator<Path> iterator() { method in class:PassThroughFileSystem.PassThroughPath
500 final Iterator<Path> itr = delegate.iterator();
/openjdk7/jdk/src/share/classes/sun/print/
H A DProxyGraphics.java746 * Draws the text given by the specified iterator, using this
747 * graphics context's current color. The iterator has to specify a font
751 * @param iterator the iterator whose text is to be drawn
757 public void drawString(AttributedCharacterIterator iterator, argument
759 g.drawString(iterator, x, y);
H A DPathGraphics.java592 * Draws the text given by the specified iterator, using this
593 * graphics context's current color. The iterator has to specify a font
597 * @param iterator the iterator whose text is to be drawn
603 public void drawString(AttributedCharacterIterator iterator, argument
605 drawString(iterator, (float) x, (float) y);
607 public void drawString(AttributedCharacterIterator iterator, argument
609 if (iterator == null) {
614 new TextLayout(iterator, getFontRenderContext());
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/dom/
H A DMultiDOM.java164 * This is a specialised iterator for predicates comparing node or
382 * Returns singleton iterator containing the document root
416 public DTMAxisIterator getNodeValueIterator(DTMAxisIterator iterator, argument
420 return(new NodeValueIterator(iterator, type, value, op));
426 DTMAxisIterator iterator = _main.getNamespaceAxisIterator(axis, ns);
427 return(iterator);
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/runtime/
H A DAbstractTranslet.java481 * The index implements our internal iterator interface
484 // Return an empty key index iterator if none are defined
494 // Return an empty key index iterator if the requested index not found
512 public void buildKeys(DOM document, DTMAxisIterator iterator, argument
607 public abstract void transform(DOM document, DTMAxisIterator iterator, argument
H A DBasisLibrary.java93 public static int countF(DTMAxisIterator iterator) { argument
94 return(iterator.getLast());
102 public static int positionF(DTMAxisIterator iterator) { argument
103 return iterator.isReverse()
104 ? iterator.getLast() - iterator.getPosition() + 1
105 : iterator.getPosition();
112 public static double sumF(DTMAxisIterator iterator, DOM dom) { argument
116 while ((node = iterator.next()) != DTMAxisIterator.END) {
607 public static boolean compare(int node, DTMAxisIterator iterator, argument
1368 getSingleNode(DTMAxisIterator iterator) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/
H A DDebugGraphics.java893 public void drawString(AttributedCharacterIterator iterator, int x, int y) { argument
898 " Drawing text: \"" + iterator +
906 debugGraphics.drawString(iterator, x, y);
916 graphics.drawString(iterator, x, y);
922 graphics.drawString(iterator, x, y);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/stream/buffer/stax/
H A DStreamReaderBufferProcessor.java940 return Collections.singletonList(XMLConstants.XML_NS_PREFIX).iterator();
942 return Collections.singletonList(XMLConstants.XMLNS_ATTRIBUTE).iterator();
1011 public Iterator<NamespaceContextEx.Binding> iterator() { method in class:StreamReaderBufferProcessor.InternalNamespaceContext
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/processing/
H A DJavacProcessingEnvironment.java210 processorIterator = List.of(processor).iterator();
218 processorIterator = processors.iterator();
231 * provider mechanism to create the processor iterator.
252 * Returns an empty processor iterator if no processors are on the
279 return pl.iterator();
284 * Processor iterator.
298 * iterator over annotations processors. If
303 // The to-be-wrapped iterator.
304 private Iterator<?> iterator; field in class:JavacProcessingEnvironment.ServiceIterator
326 this.iterator
653 public ProcessorStateIterator iterator() { method in class:JavacProcessingEnvironment.DiscoveredProcessors
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/util/
H A DNames.java138 public final Name iterator; field in class:Names
254 iterator = fromString("iterator");
/openjdk7/jdk/src/share/classes/sun/swing/
H A DSwingUtilities2.java846 AttributedCharacterIterator iterator,
863 g.drawString(iterator,x,y); //for the cases where advance
879 TextLayout layout = new TextLayout(iterator, frc);
884 layout = new TextLayout(iterator, deviceFRC);
845 drawString(JComponent c, Graphics g, AttributedCharacterIterator iterator, int x, int y) argument

Completed in 115 milliseconds

123456789