class TokenRegistry {

    public void put( NamedToken token ) throws NonUniqueTokenException
    {
        idToToken.put( token.id(), token );
        putAndEnsureUnique( nameToId, token );
    }

    public  TokenRegistry( String tokenType );

}