Interface RCollectionAsync<V>

    • Method Detail

      • retainAllAsync

        RFuture<Boolean> retainAllAsync​(Collection<?> c)
        Retains only the elements in this collection that are contained in the specified collection (optional operation).
        Parameters:
        c - collection containing elements to be retained in this collection
        Returns:
        true if this collection changed as a result of the call
      • removeAllAsync

        RFuture<Boolean> removeAllAsync​(Collection<?> c)
        Removes all of this collection's elements that are also contained in the specified collection (optional operation).
        Parameters:
        c - collection containing elements to be removed from this collection
        Returns:
        true if this collection changed as a result of the call
      • containsAsync

        RFuture<Boolean> containsAsync​(Object o)
        Returns true if this collection contains encoded state of the specified element.
        Parameters:
        o - element whose presence in this collection is to be tested
        Returns:
        true if this collection contains the specified element and false otherwise
      • containsAllAsync

        RFuture<Boolean> containsAllAsync​(Collection<?> c)
        Returns true if this collection contains all of the elements in the specified collection.
        Parameters:
        c - collection to be checked for containment in this collection
        Returns:
        true if this collection contains all of the elements in the specified collection
      • removeAsync

        RFuture<Boolean> removeAsync​(Object o)
        Removes a single instance of the specified element from this collection, if it is present (optional operation).
        Parameters:
        o - element to be removed from this collection, if present
        Returns:
        true if an element was removed as a result of this call
      • sizeAsync

        RFuture<Integer> sizeAsync()
        Returns number of elements in this collection.
        Returns:
        size of collection
      • addAsync

        RFuture<Boolean> addAsync​(V e)
        Adds element into this collection.
        Parameters:
        e - - element to add
        Returns:
        true if an element was added and false if it is already present
      • addAllAsync

        RFuture<Boolean> addAllAsync​(Collection<? extends V> c)
        Adds all elements contained in the specified collection
        Parameters:
        c - - collection of elements to add
        Returns:
        true if at least one element was added and false if all elements are already present