public class MCollections extends Object
private List<MyBean> beans = MCollections.managedList(new ArrayList<MyBean>());
Constructor and Description |
---|
MCollections() |
Modifier and Type | Method and Description |
---|---|
static <T> List<T> |
managedList(List<T> originalList)
Converts the given list to a managed list.
|
static <T,V> Map<T,V> |
managedMap(Map<T,V> originalMap)
Converts the given map to a managed map.
|
public static <T> List<T> managedList(List<T> originalList)
T
- list element typeoriginalList
- list to convert to a managed list.public static <T,V> Map<T,V> managedMap(Map<T,V> originalMap)
T
- map key typeV
- map value typeoriginalMap
- map to convert to a managed map.Copyright © 2016 AXON IVY AG. All rights reserved.