/** This method can be called by subclasses that * directly modify the nodes collection to update the * state of the nodes appropriatelly. * This method should be called under * MUTEX.writeAccess. */ final void refreshImpl () { if ( isInitialized() ) { Array.this.refreshEntry (getNodesEntry ()); super.getArray (null).nodes (); } else if ( nodes != null ) { for( Iterator it = nodes.iterator(); it.hasNext(); ) { Node n = (Node)it.next(); n.assignTo( this, -1 ); } } }
/** This method can be called by subclasses that * directly modify the nodes collection to update the * state of the nodes appropriatelly. * This method should be called under * MUTEX.writeAccess. */ final void refreshImpl () { if ( isInitialized() ) { Array.this.refreshEntry (getNodesEntry ()); super.getArray (null).nodes (); } else if ( nodes != null ) { for( Iterator it = nodes.iterator(); it.hasNext(); ) { Node n = (Node)it.next(); n.assignTo( this, -1 ); } } }
/** This method can be called by subclasses that * directly modify the nodes collection to update the * state of the nodes appropriatelly. * This method should be called under * MUTEX.writeAccess. */ final void refreshImpl() { if (isInitialized()) { Array.this.entrySupport().refreshEntry(getNodesEntry()); entrySupport().getNodes(false); } else if (nodes != null) { for (Node n : nodes) { n.assignTo(this, -1); } } }