java.lang.Object | ||
↳ | com.datalogic.device.configuration.SerializableBlob | |
↳ | com.datalogic.device.configuration.StringSetBlob |
StringSetBlob
implements the SerializableBlob
that manages a collection of String
.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Default constructor
| |||||||||||
StringSetBlob's constructor from a collection of
String . |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Add the specified
String to the collection of Strings. | |||||||||||
Clear all
String elements in the collection. | |||||||||||
Returns true if the specified
String is contained into the collection. | |||||||||||
Returns the all the strings from the collection.
| |||||||||||
Returns true if the collection is empty.
| |||||||||||
Returns an iterator over elements of
String . | |||||||||||
Remove the specified
String from the collection of Strings. | |||||||||||
Remove the specified collection of
String from this collection of Strings. | |||||||||||
Returns the number of
String elements in this collection. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.datalogic.device.configuration.SerializableBlob
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.lang.Iterable
|
StringSetBlob's constructor from a collection of String
.
strings | Collection : Collection of multiple String .
|
---|
Add the specified String
to the collection of Strings.
str | : String to be added to this collection.
|
---|
Returns true if the specified String
is contained into the collection.
str | : to be checked. |
---|
boolean
true if the string is in this collection, otherwise false.
Returns the all the strings from the collection.
Returns true if the collection is empty.
boolean
true if the collection is empty, otherwise false.
Returns an iterator over elements of String
.
Iterator
: a String iterator.
Remove the specified String
from the collection of Strings.
str | : String to be removed from this collection.
|
---|
Remove the specified collection of String
from this collection of Strings.
strs | : Collection to be removed from this collection.
|
---|
Returns the number of String
elements in this collection.
If this collection contains more than Integer.MAX_VALUE
elements,
returns Integer.MAX_VALUE
.
int
the number of elements in this collection.