/** * Create Nodes for a given key object (one from the <code>List</code> * passed to createKeys(List <T>)). The default implementation simply * delegates to <code>createNodeForKey</code> and returns the result of * that call in an array of nodes. * <p> * Most Children objects have a 1:1 mapping between keys and nodes. For * convenience in that situation, simply override createNodeForKey(T). * * @param key An object from the list returned by * <code>asynchCreateKeys()</code> * @return null if no nodes, or zero or more Nodes to represent this key */ protected Node[] createNodesForKey(T key) { Node n = createNodeForKey(key); return n == null ? null : new Node[] { n }; } /**