Package com.cobber.fta
Class SingletonSet
- Object
-
- SingletonSet
-
public class SingletonSet extends Object
Class used to cache large sets across multiple threads.
-
-
Constructor Summary
Constructors Constructor Description SingletonSet(String contentType, String content)
Create a SingletonSet using "#" as the comment character.SingletonSet(String contentType, String content, String commentLeader)
Create a SingletonSet.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAt(int i)
Set<String>
getMembers()
Accessor for the members of the Set.
-
-
-
Constructor Detail
-
SingletonSet
public SingletonSet(String contentType, String content)
Create a SingletonSet using "#" as the comment character.- Parameters:
contentType
- One of 'inline', 'file' or 'resource'.content
- Either the content (for type 'inline') or the name of a file or resource.
-
SingletonSet
public SingletonSet(String contentType, String content, String commentLeader)
Create a SingletonSet.- Parameters:
contentType
- One of 'inline', 'file' or 'resource'.content
- Either the content (for type 'inline') or the name of a file or resource.commentLeader
- Use the supplied String as the comment leader.
-
-