public void addTokens(String metadata, StringTokenizer tokens) {
    """
	The method is different than addTokens(StringTokenizer). this method
	expects additional metadata. It expects to get an object name or "*"
	meaning all. If the metadata is a wildcard all, it will add the
	tokens to all the top level nodes that are immediate child of root.
	@param metadata
	@param tokens
    """
        Node mnode = this.rootCond.addToken(metadata);
        Node thenode = mnode;
        while (tokens.hasMoreTokens()) {
            Node newnode = thenode.addToken(tokens.nextToken());
            thenode = newnode;
        }
    }
public void addTokens(String metadata, StringTokenizer tokens) {
        Node mnode = this.rootCond.addToken(metadata);
        Node thenode = mnode;
        while (tokens.hasMoreTokens()) {
            Node newnode = thenode.addToken(tokens.nextToken());
            thenode = newnode;
        }
    }
public void addTokens ( String metadata , StringTokenizer tokens ) { Node mnode = this . rootCond . addToken ( metadata ) ; Node thenode = mnode ; while ( tokens . hasMoreTokens ( ) ) { Node newnode = thenode . addToken ( tokens . nextToken ( ) ) ; thenode = newnode ; } }
The method is different than addTokens(StringTokenizer). this method
expects additional metadata. It expects to get an object name or "*"
meaning all. If the metadata is a wildcard all, it will add the
tokens to all the top level nodes that are immediate child of root.
@param metadata
@param tokens
The method is different than addTokens ( StringTokenizer ) . this method expects additional metadata . It expects to get an object name or * meaning all . If the metadata is a wildcard all it will add the tokens to all the top level nodes that are immediate child of root .