public class ListChangeEvent extends EventObject
source
Modifier and Type | Method and Description |
---|---|
<T> Optional<T> |
getAddedItem(Class<T> type)
Gets the added item as an instance of the given class.
|
<T> Optional<T> |
getAddedItem(com.fasterxml.jackson.core.type.TypeReference<T> type)
Gets the added item as an instance of the given type reference.
|
CollaborationList |
getSource() |
toString
public CollaborationList getSource()
getSource
in class EventObject
public <T> Optional<T> getAddedItem(Class<T> type)
T
- the type of the class given as the type
argumenttype
- the class of the expected type of the returned instancepublic <T> Optional<T> getAddedItem(com.fasterxml.jackson.core.type.TypeReference<T> type)
T
- the type of the reference given as the type
argumenttype
- the expected type reference of the returned instanceCopyright © 2021. All rights reserved.