E - the scalar type.public abstract class ScalarCollection<E> extends PgxCollection<E,java.lang.Void>
| Modifier and Type | Method and Description |
|---|---|
void |
addAll(PgxEntity[] elements)
Adds elements of a
PgxEntity array to this collection. |
void |
addAll(java.lang.Void... voids) |
PgxFuture<java.lang.Void> |
addAllAsync(java.util.Collection<E> source) |
void |
addAllElements(ScalarCollection source) |
PgxFuture<java.lang.Void> |
addAllElementsAsync(java.util.Collection<E> source)
Adds elements to an existing collection.
|
PgxFuture<java.lang.Boolean> |
containsAsync(E element)
Returns
true if this collection contains the specified element. |
IdType |
getIdType()
Gets the ID type of the element type.
|
void |
removeAll(java.lang.Void... voids) |
PgxFuture<java.lang.Void> |
removeAllAsync(java.util.Collection<E> source) |
void |
removeAllElements(ScalarCollection source) |
PgxFuture<java.lang.Void> |
removeAllElementsAsync(java.util.Collection<E> source)
Removes elements from an existing collection.
|
java.lang.String |
toString()
(non-Javadoc)
|
add, addAll, addAllAsync, addAllElements, clear, clearAsync, clone, clone, cloneAsync, cloneAsync, contains, destroyAsync, getCollectionType, getContentType, getGraph, getId, getName, isMutable, isMutableAsync, iterator, iteratorAsync, remove, removeAll, removeAllElements, size, sizeAsync, stream, toMutable, toMutable, toMutableAsync, toMutableAsyncequals, hashCodeclose, destroypublic void addAll(PgxEntity[] elements)
PgxCollectionPgxEntity array to this collection.addAll in class PgxCollection<E,java.lang.Void>elements - the PgxEntity array containing the elements to addpublic void addAll(java.lang.Void... voids)
throws java.util.concurrent.ExecutionException,
java.lang.InterruptedException
addAll in class PgxCollection<E,java.lang.Void>java.util.concurrent.ExecutionExceptionjava.lang.InterruptedExceptionpublic final PgxFuture<java.lang.Void> addAllAsync(java.util.Collection<E> source)
addAllAsync in class PgxCollection<E,java.lang.Void>source - elements to addpublic void addAllElements(ScalarCollection source)
public final PgxFuture<java.lang.Void> addAllElementsAsync(java.util.Collection<E> source)
PgxCollectionPgxCollection.addAllAsync(Collection).addAllElementsAsync in class PgxCollection<E,java.lang.Void>source - elements to addpublic final PgxFuture<java.lang.Boolean> containsAsync(E element)
PgxCollectiontrue if this collection contains the specified element.containsAsync in class PgxCollection<E,java.lang.Void>element - element whose presence in this collection is to be testedtrue if this collection contains the specified elementpublic IdType getIdType()
PgxCollectiongetIdType in class PgxCollection<E,java.lang.Void>public void removeAll(java.lang.Void... voids)
throws java.util.concurrent.ExecutionException,
java.lang.InterruptedException
removeAll in class PgxCollection<E,java.lang.Void>java.util.concurrent.ExecutionExceptionjava.lang.InterruptedExceptionpublic final PgxFuture<java.lang.Void> removeAllAsync(java.util.Collection<E> source)
removeAllAsync in class PgxCollection<E,java.lang.Void>source - elements to removepublic void removeAllElements(ScalarCollection source)
public final PgxFuture<java.lang.Void> removeAllElementsAsync(java.util.Collection<E> source)
PgxCollectionPgxCollection.removeAllAsync(Collection).removeAllElementsAsync in class PgxCollection<E,java.lang.Void>source - elements to removepublic java.lang.String toString()
PgxCollectiontoString in class PgxCollection<E,java.lang.Void>Object.toString()