Class CompoundNameChildCache

java.lang.Object
com.yahoo.search.query.profile.CompoundNameChildCache

public final class CompoundNameChildCache extends Object
Cache for compound names created through CompoundName.append(String). Creating new CompoundNames can be expensive, and since they are immutable, they are safe to cache and reuse. Use this if you will create a lot of them, by appending suffixes.
Author:
jonmv
  • Constructor Details

    • CompoundNameChildCache

      public CompoundNameChildCache()
  • Method Details

    • append

      public com.yahoo.processing.request.CompoundName append(com.yahoo.processing.request.CompoundName prefix, String suffix)