public class EnglishPunctuations extends java.lang.Object implements Punctuations
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(java.lang.String word)
Returns true if this dictionary contains the specified word.
|
static EnglishPunctuations |
getInstance()
Returns the singleton instance.
|
java.util.Iterator<java.lang.String> |
iterator()
Returns an iterator over the elements in this dictionary.
|
int |
size()
Returns the number of elements in this dictionary.
|
public static EnglishPunctuations getInstance()
public boolean contains(java.lang.String word)
Dictionarycontains in interface Dictionarypublic int size()
Dictionarysize in interface Dictionarypublic java.util.Iterator<java.lang.String> iterator()
Dictionaryiterator in interface Dictionary