Class AccumTST<V>

  • Type Parameters:
    V - the data type

    public class AccumTST<V>
    extends Object
    Ternary search tries that accumulates values in a list if they have the same key
    Author:
    Alan Mantoux
    • Constructor Detail

      • AccumTST

        public AccumTST()
    • Method Detail

      • put

        public void put​(String key,
                        V val)
      • contains

        public boolean contains​(String key)
      • delete

        public void delete​(String key,
                           V val)
      • valuesWithPrefix

        public Iterable<V> valuesWithPrefix​(String prefix)