DiffusionTM Publisher API 6.3.8
public class TopicSet extends LinkedHashSet<String>
The set order is maintained in the order that Topic names/selectors are added to the set.
Note that names or selectors are not validated as they are added to the set
but may be validated using
Whether selectors are allowed within the set depends upon what the set is to be used for.
|Constructor and Description|
Constructs an empty topic set.
Constructs a Topic set from a collection of Topic names or
Constructs a Topic set from any number of topic names or
|Modifier and Type||Method and Description|
Returns a delimited list of the Topic names or
Validates all of the entries in the Topic set.
add, clear, clone, contains, isEmpty, iterator, remove, size
addAll, containsAll, retainAll, toArray, toArray
finalize, getClass, notify, notifyAll, wait, wait, wait
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
public TopicSet(String... topicStrings)
If no strings are supplied then an empty Topic set is created.
topicStrings- an array of Topic selector strings.
public void validate(boolean allowSelectors) throws TopicInvalidException
Copyright © 2020 Push Technology Ltd. All Rights Reserved.