class RecentTagCollection extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.util.Map<Tag,java.lang.Void> |
recentTags |
private SearchCompiler.Match |
tagsToIgnore |
Constructor and Description |
---|
RecentTagCollection(int capacity) |
Modifier and Type | Method and Description |
---|---|
void |
add(Tag tag) |
SearchAction.SearchSetting |
ignoreTag(Tag tagToIgnore,
SearchAction.SearchSetting settingToUpdate) |
boolean |
isEmpty() |
void |
loadFromPreference(CollectionProperty property) |
void |
saveToPreference(CollectionProperty property) |
void |
setTagsToIgnore(SearchAction.SearchSetting tagsToIgnore) |
void |
setTagsToIgnore(SearchCompiler.Match tagsToIgnore) |
java.util.List<Tag> |
toList() |
private final java.util.Map<Tag,java.lang.Void> recentTags
private SearchCompiler.Match tagsToIgnore
RecentTagCollection(int capacity)
public void loadFromPreference(CollectionProperty property)
public void saveToPreference(CollectionProperty property)
public boolean isEmpty()
public void setTagsToIgnore(SearchCompiler.Match tagsToIgnore)
public void setTagsToIgnore(SearchAction.SearchSetting tagsToIgnore) throws SearchCompiler.ParseError
SearchCompiler.ParseError
public SearchAction.SearchSetting ignoreTag(Tag tagToIgnore, SearchAction.SearchSetting settingToUpdate) throws SearchCompiler.ParseError
SearchCompiler.ParseError