org.snu.ids.ha.util
Class StringSet
java.lang.Object
java.util.AbstractCollection
java.util.AbstractSet
java.util.HashSet
org.snu.ids.ha.util.StringSet
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, java.lang.Iterable, java.util.Collection, java.util.Set
public class StringSet
- extends java.util.HashSet
String°ªµéÀ» HashSetÀ¸·Î ÀúÀåÇÏ¿© °¡Áö°í Àִµ¥,
ÇØ´ç String °ªµéÀÌ ÀÖ´ÂÁö¸¦ È®ÀÎÇÏ´Â ÇÔ¼ö
- Since:
- 2007. 6. 4
- Author:
- therocks
- See Also:
- Serialized Form
Field Summary |
(package private) int |
maxLen
|
Constructor Summary |
StringSet(java.lang.String[] words)
|
Method Summary |
void |
addAll(java.lang.String[] words)
ÇØ´ç ¹è¿¿¡ µé¾î ÀÖ´Â ¾îÈÖ¸¦ ¼Â¿¡ ÀúÀåÇÑ´Ù. |
boolean |
contains(char ch)
|
Methods inherited from class java.util.HashSet |
add, clear, clone, contains, isEmpty, iterator, remove, size |
Methods inherited from class java.util.AbstractSet |
equals, hashCode, removeAll |
Methods inherited from class java.util.AbstractCollection |
addAll, containsAll, retainAll, toArray, toArray, toString |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Set |
addAll, containsAll, equals, hashCode, removeAll, retainAll, toArray, toArray |
maxLen
int maxLen
StringSet
public StringSet(java.lang.String[] words)
contains
public boolean contains(char ch)
addAll
public void addAll(java.lang.String[] words)
ÇØ´ç ¹è¿¿¡ µé¾î ÀÖ´Â ¾îÈÖ¸¦ ¼Â¿¡ ÀúÀåÇÑ´Ù.
- Parameters:
fileName
- showLog
- - Since:
- 2007. 5. 7