CharArraySet@Deprecated public class CharArraySet extends CharArraySet
Please note: This class implements Set but
does not behave like it should in all cases. The generic type is
Set<Object>, because you can add any object to it,
that has a string representation. The add methods will use
Object.toString() and store the result using a char[]
buffer. The same behavior have the contains() methods.
The CharArraySet.iterator() returns an Iterator<char[]>.
EMPTY_SET| Constructor and Description |
|---|
CharArraySet(Collection<?> c,
boolean ignoreCase)
Deprecated.
Creates a set from a Collection of objects.
|
CharArraySet(int startSize,
boolean ignoreCase)
Deprecated.
Create set with enough capacity to hold startSize terms
|
add, add, add, add, clear, contains, contains, contains, copy, iterator, size, toString, unmodifiableSetequals, hashCode, removeAlladdAll, containsAll, isEmpty, remove, retainAll, toArray, toArrayclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddAll, containsAll, isEmpty, remove, retainAll, spliterator, toArray, toArrayparallelStream, removeIf, streampublic CharArraySet(int startSize,
boolean ignoreCase)
startSize - the initial capacityignoreCase - false if and only if the set should be case sensitive
otherwise true.public CharArraySet(Collection<?> c, boolean ignoreCase)
c - a collection whose elements to be placed into the setignoreCase - false if and only if the set should be case sensitive
otherwise true.Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.