src/main/java/com/github/fge/grappa/parsers/BaseParser.java
public Rule trie(final String first, final String second,
        final String... others)
    {
        final List<String> words = ImmutableList.<String>builder().add(first)
            .add(second).add(others).build();

        return trie(words);
    }
public Rule trie(final String first, final String second,
        final String... others)
    {
        final List<String> words = ImmutableList.<String>builder().add(first)
            .add(second).add(others).build();

        return trie(words);
    }
public Rule trie ( final String first , final String second , final String ... others ) { final List < String > words = ImmutableList . < String > builder ( ) . add ( first ) . add ( second ) . add ( others ) . build ( ) ; return trie ( words ) ; }
Match one string among many using a <a
href="http://en.wikipedia.org/wiki/Trie" target="_blank">trie</a>

<p>This method delegates to {@link #trie(Collection)}.</p>

@param first the first string
@param second the second string
@param others other strings
@return a rule

@see TrieMatcher
@see TrieNode
Match one string among many using a <a href = http : // en . wikipedia . org / wiki / Trie target = _blank > trie< / a >