Searched refs:children (Results 1 - 25 of 160) sorted by relevance

1234567

/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/ui/tree/
H A DSimpleTreeGroupNode.java33 private List children; field in class:SimpleTreeGroupNode
36 children = new ArrayList();
39 public int getChildCount() { return children.size(); }
41 return (SimpleTreeNode) children.get(index);
44 children.add(child);
47 return (SimpleTreeNode) children.remove(index);
50 children.clear();
56 return children.indexOf(child);
H A DRevPtrsTreeNodeAdapter.java39 private List children; field in class:RevPtrsTreeNodeAdapter
47 children = VM.getVM().getRevPtrs().get(oop);
51 return children != null ? children.size() : 0;
55 LivenessPathElement lpe = (LivenessPathElement)children.get(index);
/openjdk7/jdk/src/share/classes/com/sun/jmx/snmp/IPAcl/
H A DSimpleNode.java37 protected Node[] children; field in class:SimpleNode
68 if (children == null) {
69 children = new Node[i + 1];
70 } else if (i >= children.length) {
72 System.arraycopy(children, 0, c, 0, children.length);
73 children = c;
75 children[i] = n;
79 return children[i];
83 return (children
[all...]
H A DJDMCommunities.java50 for (int i =0 ; i < children.length ; i++)
51 entry.addCommunity(((JDMCommunity)children[i]).getCommunity());
/openjdk7/jdk/src/share/classes/java/beans/beancontext/
H A DBeanContextMembershipEvent.java39 * the list of children added to, or removed from,
74 children = changes;
92 children = Arrays.asList(changes);
96 * Gets the number of children affected by the notification.
97 * @return the number of children affected by the notification
99 public int size() { return children.size(); }
107 return children.contains(child);
111 * Gets the array of children affected by this event.
112 * @return the array of children affected
114 public Object[] toArray() { return children
130 protected Collection children; field in class:BeanContextMembershipEvent
[all...]
H A DBeanContextSupport.java204 * Gets the number of children currently nested in
207 * @return number of children
210 synchronized(children) {
211 return children.size();
220 * nested children.
221 * @return if there are not children
224 synchronized(children) {
225 return children.isEmpty();
236 synchronized(children) {
237 return children
1354 protected transient HashMap children; field in class:BeanContextSupport
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/event/
H A DTreeModelEvent.java56 /** Indices identifying the position of where the children were. */
59 protected Object[] children; field in class:TreeModelEvent
124 * @param children an array of Object containing the inserted, removed, or
129 Object[] children)
131 this(source, new TreePath(path), childIndices, children);
148 * @param children an array of Object containing the inserted, removed, or
154 Object[] children)
159 this.children = children;
172 * immediate children ar
128 TreeModelEvent(Object source, Object[] path, int[] childIndices, Object[] children) argument
153 TreeModelEvent(Object source, TreePath path, int[] childIndices, Object[] children) argument
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/util/
H A DDOMUtils.java54 NodeList children = parent.getChildNodes();
55 for( int i=0; i<children.getLength(); i++ ) {
56 Node item = children.item(i);
69 NodeList children = parent.getChildNodes();
70 for( int i=0; i<children.getLength(); i++ ) {
71 Node item = children.item(i);
84 NodeList children = parent.getChildNodes();
85 for( int i=0; i<children.getLength(); i++ ) {
86 Node item = children.item(i);
105 NodeList children
145 getElements(NodeList children) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/jndi/dns/
H A DNameNode.java36 * children indexed by their labels converted to lower-case.
55 private Hashtable children = null; // child nodes field in class:NameNode
97 * Returns the children of this node, or null if there are none.
101 return children;
110 return (children != null)
111 ? (NameNode) children.get(key)
142 if (node.children == null) {
143 node.children = new Hashtable();
145 child = (NameNode) node.children.get(key);
150 node.children
[all...]
/openjdk7/jdk/src/share/classes/sun/tools/jstat/
H A DOptionFormat.java40 protected List<OptionFormat> children; field in class:OptionFormat
44 this.children = new ArrayList<OptionFormat>();
63 children.add(f);
67 return children.get(index);
71 children.add(index, f);
80 for (Iterator i = children.iterator(); i.hasNext(); /* empty */) {
85 for (Iterator i = children.iterator(); i.hasNext(); /* empty */) {
104 // iterate over all children and call their printFormat() methods
105 for (OptionFormat of : children) {
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/dtd/models/
H A DSimpleContentModel.java126 * involved (i.e. the children of the operation are always one or
149 // Store away the children and operation. This is all we need to
173 * A value of -1 in the children array indicates a PCDATA node. All other
178 * @param children The children of this element. Each integer is an index within
182 * @param offset Offset into the array where the children starts.
183 * @param length The number of entries in the <code>children</code> array.
187 * of children, then the specified children are valid but additional
191 public int validate(QName[] children, in argument
[all...]
H A DMixedContentModel.java72 * by an alternation of the possible children. The children cannot have any
77 * So, all we have to do is to keep an array of the possible children and
91 /** The count of possible children that we have to deal with. */
94 /** The list of possible children that we have to accept. */
97 /** The type of the children to support ANY. */
116 * @param children The list of allowed children.
117 * @param type The list of the types of the children.
118 * @param offset The start offset position in the children
122 MixedContentModel(QName[] children, int[] type, int offset, int length , boolean ordered) argument
163 validate(QName[] children, int offset, int length) argument
[all...]
H A DContentModelValidator.java77 * @param children
83 * of children, then the specified children are valid but additional
86 public int validate(QName[] children, int offset, int length); argument
/openjdk7/jdk/src/share/classes/javax/swing/tree/
H A DTreeNode.java56 * Returns the number of children <code>TreeNode</code>s the receiver
67 * Returns the index of <code>node</code> in the receivers children.
74 * Returns true if the receiver allows children.
84 * Returns the children of the receiver as an <code>Enumeration</code>.
86 Enumeration children(); method in interface:TreeNode
/openjdk7/jdk/test/javax/swing/text/WrappedPlainView/6857057/
H A DStubBranchElement.java29 Element[] children = new StubLeafElement[3]; field in class:StubBranchElement
35 children[i] = new StubLeafElement(
77 return children[index];
85 return children;
/openjdk7/jdk/src/share/classes/com/sun/tools/example/debug/gui/
H A DSourceTreeTool.java159 private SourceTreeNode[] children; field in class:SourceTreeTool.SourceTreeNode
185 String[] files = sourcePath.children(relativePath, filter);
186 children = new SourceTreeNode[files.length];
194 children[i] =
200 children = null;
214 return children[childIndex];
218 * Returns the number of children <code>TreeNode</code>s the receiver
224 return children.length;
236 * Returns the index of <code>node</code> in the receivers children.
243 for (int i = 0; i < children
272 public Enumeration children() { method in class:SourceTreeTool.SourceTreeNode
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/schemagen/
H A DTree.java73 static Tree makeGroup(GroupKind kind, List<Tree> children ) {
75 if(children.size()==1)
76 return children.get(0);
78 // we neither have epsilon or emptySet, so can't handle children.length==0 nicely
82 List<Tree> normalizedChildren = new ArrayList<Tree>(children.size());
83 for (Tree t : children) {
87 normalizedChildren.addAll(Arrays.asList(g.children));
205 private final Tree[] children; field in class:Tree.Group
207 private Group(GroupKind kind, Tree... children) { argument
209 this.children
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/xsom/impl/
H A DModelGroupImpl.java52 this.children = _children;
56 for( int i=children.length-1; i>=0; i-- )
57 if(children[i]==null)
61 private final ParticleImpl[] children; field in class:ModelGroupImpl
62 public ParticleImpl getChild( int idx ) { return children[idx]; }
63 public int getSize() { return children.length; }
65 public ParticleImpl[] getChildren() { return children; }
73 for (ParticleImpl p : children)
78 return Arrays.asList((XSParticle[])children).iterator();
/openjdk7/langtools/src/share/classes/com/sun/tools/doclets/internal/toolkit/builders/
H A DXMLNode.java41 children = new ArrayList<XMLNode>();
44 parent.children.add(this);
54 if (children.size() == 0)
58 for (XMLNode c: children)
68 final List<XMLNode> children; field in class:XMLNode
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/monitoring/
H A DMonitoredObjectImpl.java41 private Map children = new HashMap(); field in class:MonitoredObjectImpl
57 return (MonitoredObject) children.get( name );
63 return children.values();
70 children.put( m.getName(), m);
79 children.remove( name );
121 * calls clearState() on all the registered children MonitoredObjects and
131 i = children.values().iterator();
132 // next call clearState on all the children MonitoredObjects
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/ui/treetable/
H A DAbstractTreeTableModel.java85 Object[] children) {
96 childIndices, children);
111 Object[] children) {
122 childIndices, children);
137 Object[] children) {
148 childIndices, children);
163 Object[] children) {
174 childIndices, children);
83 fireTreeNodesChanged(Object source, Object[] path, int[] childIndices, Object[] children) argument
109 fireTreeNodesInserted(Object source, Object[] path, int[] childIndices, Object[] children) argument
135 fireTreeNodesRemoved(Object source, Object[] path, int[] childIndices, Object[] children) argument
161 fireTreeStructureChanged(Object source, Object[] path, int[] childIndices, Object[] children) argument
/openjdk7/jdk/src/share/classes/javax/swing/text/html/
H A DFrameSetView.java48 String[] children; field in class:FrameSetView
63 children = null;
96 // extend spec if we have more children than specified
112 children = parseRowColSpec(HTML.Attribute.ROWS);
114 children = parseRowColSpec(HTML.Attribute.COLS);
116 percentChildren = new int[children.length];
117 relativeChildren = new int[children.length];
118 absoluteChildren = new int[children.length];
120 for (int i = 0; i < children.length; i++) {
125 if (children[
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/
H A DSizeRequirements.java176 * @param children the space requirements for a set of components.
182 children) {
184 for (int i = 0; i < children.length; i++) {
185 SizeRequirements req = children[i];
200 * @param children the set of child requirements. If of zero length,
205 children) {
208 for (int i = 0; i < children.length; i++) {
209 SizeRequirements req = children[i];
250 * @param total the total of the children requests. This argument
252 * @param children th
181 getTiledSizeRequirements(SizeRequirements[] children) argument
204 getAlignedSizeRequirements(SizeRequirements[] children) argument
258 calculateTiledPositions(int allocated, SizeRequirements total, SizeRequirements[] children, int[] offsets, int[] spans) argument
298 calculateTiledPositions(int allocated, SizeRequirements total, SizeRequirements[] children, int[] offsets, int[] spans, boolean forward) argument
416 calculateAlignedPositions(int allocated, SizeRequirements total, SizeRequirements[] children, int[] offsets, int[] spans) argument
455 calculateAlignedPositions(int allocated, SizeRequirements total, SizeRequirements[] children, int[] offsets, int[] spans, boolean normal) argument
485 adjustSizes(int delta, SizeRequirements[] children) argument
[all...]
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/View/src/com/sun/hotspot/igv/view/
H A DSlotLayout.java62 Collection<Widget> children = widget.getChildren();
65 for (Widget child : children) {
73 for (Widget child : children) {
99 Collection<Widget> children = widget.getChildren();
102 for (Widget child : children) {
110 for (Widget child : children) {
146 List<Widget> children = widget.getChildren();
148 int count = children.size();
152 for (Widget c : children) {
158 for (Widget c : children) {
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/policy/sourcemodel/
H A DModelNode.java113 private LinkedList<ModelNode> children; field in class:ModelNode
145 this.children = new LinkedList<ModelNode>();
146 this.unmodifiableViewOnContent = Collections.unmodifiableCollection(this.children);
296 * Sets the parent model reference on the node and its children. The method may be invoked only on the root node
312 * The method updates the parentModel reference on current model node instance and all of it's children
319 for (ModelNode child : children) {
409 * Appends the specified child node to the end of the children list of this node and sets it's parent to reference
412 * @param child node to be appended to the children list of this node.
419 children.add(child);
439 * more than {@code Integer.MAX_VALUE} children, return
[all...]

Completed in 41 milliseconds

1234567