Class ListOperationResult<T>

  • All Implemented Interfaces:
    ListInsertResult<T>

    public class ListOperationResult<T>
    extends java.lang.Object
    implements ListInsertResult<T>
    The result of a list operation in a CollaborationList.

    It provides access to the key of the affected item and to the CompletableFuture of the operation.

    Author:
    Vaadin Ltd
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.concurrent.CompletableFuture<T> getCompletableFuture()
      The result of the asynchronous operation.
      ListKey getKey()
      Gets the key of the item.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getCompletableFuture

        public java.util.concurrent.CompletableFuture<T> getCompletableFuture()
        The result of the asynchronous operation.
        Specified by:
        getCompletableFuture in interface ListInsertResult<T>
        Returns:
        the result of the operation, not null