NearestLetterNodeIndices *LetterNodeListMap::ListPointerAt( char letter ) { if ( !letters_ ) { return nullptr; } return &letters_->at( IndexForLetter( letter ) ); }
NearestLetterNodeIndices &LetterNodeListMap::operator[] ( char letter ) { if ( !letters_ ) letters_.reset( new NearestLetterNodeArray() ); int letter_index = IndexForLetter( letter ); return letters_->at( letter_index ); }
NearestLetterNodeIndices *LetterNodeListMap::ListPointerAt( char letter ) { if ( !letters_ ) return NULL; return &letters_->at( IndexForLetter( letter ) ); }