Package org.axonframework.common
Class ListUtils
java.lang.Object
org.axonframework.common.ListUtils
Utility methods for operations on lists.
- Since:
- 4.4
- Author:
- Stefan Andjelkovic
-
Method Summary
-
Method Details
-
distinct
Returns a new list containing unique elements from the givenlist. Original list is not modified.- Type Parameters:
E- the type of elements in the list- Parameters:
list- original list that will not be modified- Returns:
- List with unique elements
-