/libcore/luni/src/main/java/org/w3c/dom/ |
H A D | DOMImplementationList.java | 26 * Returns the <code>index</code>th item in the collection. If 35 public DOMImplementation item(int index); method in interface:DOMImplementationList
|
H A D | NodeList.java | 25 * Returns the <code>index</code>th item in the collection. If 33 public Node item(int index); method in interface:NodeList
|
H A D | DOMStringList.java | 26 * Returns the <code>index</code>th item in the collection. If 34 public String item(int index); method in interface:DOMStringList
|
H A D | NamedNodeMap.java | 86 * Returns the <code>index</code>th item in the map. If <code>index</code> 93 public Node item(int index); method in interface:NamedNodeMap
|
/libcore/luni/src/main/java/javax/xml/xpath/ |
H A D | XPathExpression.java | 38 * of a context item, an empty document node will be used for the context. 87 * <p>See <a href="#XPathExpression-evaluation">Evaluation of XPath Expressions</a> for context item evaluation, 94 * <code>item</code>, an empty document will be used for the 98 * @param item The starting context (node or node list, for example). 108 public Object evaluate(Object item, QName returnType) argument 114 * <p>This method calls {@link #evaluate(Object item, QName returnType)} with a <code>returnType</code> of 117 * <p>See <a href="#XPathExpression-evaluation">Evaluation of XPath Expressions</a> for context item evaluation, 121 * <code>item</code>, an empty document will be used for the 124 * @param item The starting context (node or node list, for example). 131 public String evaluate(Object item) argument [all...] |
H A D | XPath.java | 39 * of a context item, an empty document node will be used for the context. 186 * <p>See <a href="#XPath-evaluation">Evaluation of XPath Expressions</a> for context item evaluation, 198 * <code>item</code>, an empty document will be used for the 204 * @param item The starting context (node or node list, for example). 213 public Object evaluate(String expression, Object item, QName returnType) argument 219 * <p>This method calls {@link #evaluate(String expression, Object item, QName returnType)} with a <code>returnType</code> of 222 * <p>See <a href="#XPath-evaluation">Evaluation of XPath Expressions</a> for context item evaluation, 226 * <code>item</code>, an empty document will be used for the 231 * @param item The starting context (node or node list, for example). 239 public String evaluate(String expression, Object item) argument [all...] |
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/ |
H A D | NodeListImpl.java | 54 public Node item(int index) { method in class:NodeListImpl
|
H A D | ElementImpl.java | 346 public Node item(int index) { method in class:ElementImpl.ElementAttrNamedNodeMapImpl
|
/libcore/ojluni/src/main/java/java/util/ |
H A D | Stack.java | 33 * method to <tt>peek</tt> at the top item on the stack, a method to test 35 * the stack for an item and discover how far it is from the top. 57 * Pushes an item onto the top of this stack. This has exactly 60 * addElement(item)</pre></blockquote> 62 * @param item the item to be pushed onto this stack. 63 * @return the <code>item</code> argument. 66 public E push(E item) { argument 67 addElement(item); 69 return item; [all...] |
H A D | LinkedList.java | 92 * (first.prev == null && first.item != null) 99 * (last.next == null && last.item != null) 173 final E element = f.item; 175 f.item = null; 192 final E element = l.item; 194 l.item = null; 211 final E element = x.item; 229 x.item = null; 245 return f.item; 258 return l.item; 972 E item; field in class:LinkedList.Node [all...] |
H A D | Calendar.java | 781 * The time is made invalid by a change to an item of <code>field[]</code>. 2553 private static final void appendValue(StringBuilder sb, String item, boolean valid, long value) { argument 2554 sb.append(item).append('=');
|
/libcore/luni/src/main/java/java/util/concurrent/ |
H A D | Exchanger.java | 77 * and a participant (caller) with an item: 81 * place item in a Node; 84 * return matching item in node; 88 * get the item in node; 89 * set matching item in node; 214 * uses. Note that field Node.item is not declared as volatile 286 Object item; // This thread's current item field in class:Exchanger.Node 323 * @param item the (non-null) item t 329 arenaExchange(Object item, boolean timed, long ns) argument 422 slotExchange(Object item, boolean timed, long ns) argument [all...] |
H A D | ConcurrentLinkedQueue.java | 101 * Nodes that are reachable from head. CASing the item 131 * CASing a Node's item reference to null atomically removes the 140 * for a volatile write to item by using Unsafe.putObject instead 145 * non-null item. If the queue is empty, all items must of course 147 * Node with null item. Both head and tail are only updated using 153 volatile E item; field in class:ConcurrentLinkedQueue.Node 158 * Returns a new node holding item. Uses relaxed write because item 161 static <E> Node<E> newNode(E item) { argument 163 U.putObject(node, ITEM, item); [all...] |
H A D | LinkedBlockingQueue.java | 94 E item; field in class:LinkedBlockingQueue.Node 104 Node(E x) { item = x; } 115 * Invariant: head.item == null 182 // assert head.item == null; 187 E x = first.item; 188 first.item = null; 481 return (count.get() > 0) ? head.next.item : null; 494 p.item = null; 520 if (o.equals(p.item)) { 544 if (o.equals(p.item)) [all...] |
H A D | ConcurrentLinkedDeque.java | 84 * A node contains the expected E ("item") and links to predecessor 87 * class Node<E> { volatile Node<E> prev, next; volatile E item; } 89 * A node p is considered "live" if it contains a non-null item 90 * (p.item != null). When an item is CASed to null, the item is 115 * p.item != null || 130 * 1. "logical deletion" by CASing item to null atomically removes 231 * - head.item may or may not be null 245 * - tail.item ma 264 volatile E item; field in class:ConcurrentLinkedDeque.Node 274 Node(E item) argument [all...] |
H A D | LinkedBlockingDeque.java | 83 * The item, or null if this node has been removed. 85 E item; field in class:LinkedBlockingDeque.Node 104 item = x; 111 * (first.prev == null && first.item != null) 118 * (last.next == null && last.item != null) 232 E item = f.item; 233 f.item = null; 242 return item; 254 E item [all...] |
H A D | LinkedTransferQueue.java | 108 * "item" field from a non-null data value to null upon match, and 128 * from a pointer to the initial node; CASing the item of the 172 * operations up to the point of matching or appending an item 424 volatile Object item; // initially non-null if isData; CASed to match field in class:LinkedTransferQueue.Node 439 * Constructs a new node. Uses relaxed write because item can 442 Node(Object item, boolean isData) { argument 443 U.putObject(this, ITEM, item); // relaxed write 456 * Sets item to self and waiter to null, to avoid garbage 459 * contexts: item is forgotten only after volatile/atomic 474 Object x = item; [all...] |
H A D | SynchronousQueue.java | 79 * empty. A call to "fulfill" (i.e., a call requesting an item 147 * @param e if non-null, the item to be handed to a consumer; 148 * if null, requests that transfer return an item 152 * @return if non-null, the item provided or received; if null, 209 Object item; // data; or null for REQUESTs field in class:SynchronousQueue.TransferStack.SNode 211 // Note: item and mode fields don't need to be volatile 215 SNode(Object item) { argument 216 this.item = item; 296 * Puts or takes an item 509 volatile Object item; // CAS'ed to or from null field in class:SynchronousQueue.TransferQueue.QNode 513 QNode(Object item, boolean isData) argument [all...] |
/libcore/luni/src/test/java/libcore/xml/ |
H A D | DomTest.java | 83 + " <item xmlns=\"http://food\" xmlns:a=\"http://addons\">\n" 95 + " </item>\n" 103 private Element item; field in class:DomTest 138 sp = (Entity) doctype.getEntities().item(0); 141 png = (Notation) doctype.getNotations().item(0); 146 item = (Element) menu.getChildNodes().item(1); 147 itemXmlns = item.getAttributeNode("xmlns"); 148 itemXmlnsA = item.getAttributeNode("xmlns:a"); 149 name = (Element) item [all...] |