Package com.yahoo.search.query.profile
Class CompoundNameChildCache
- java.lang.Object
-
- com.yahoo.search.query.profile.CompoundNameChildCache
-
public final class CompoundNameChildCache extends java.lang.Object
Cache for compound names created throughCompoundName.append(String)
. Creating newCompoundName
s 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 Summary
Constructors Constructor Description CompoundNameChildCache()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.yahoo.processing.request.CompoundName
append(com.yahoo.processing.request.CompoundName prefix, java.lang.String suffix)
-