Mendix Runtime
Documentation for the Mendix Runtime Environment API
|
Static Public Member Functions | |
static< E > List< E > | create (List< E > list) |
static< E > Collection< E > | create (Collection< E > collection) |
static< K, V > Map< K, V > | create (Map< K, V > map) |
static< E > Set< E > | create (Set< E > set) |
Package Functions | |
static< E > Iterator< E > | create (Iterator< E > iterator) |
This class can be used to create an immutable instance of collection classes. These classes can be of the Java type Collection, List, Map and Set.
static <E> List<E> com.mendix.systemwideinterfaces.utils.ReadOnlyList.create | ( | List< E > | list | ) | [static] |
Create a read-only list, based on the given List instance.
list | the source of the newly created read-only list. |
static <E> Collection<E> com.mendix.systemwideinterfaces.utils.ReadOnlyList.create | ( | Collection< E > | collection | ) | [static] |
Create a read-only collection, based on the given Collection instance.
collection | the source of the newly created read-only collection. |
static <K,V> Map<K, V> com.mendix.systemwideinterfaces.utils.ReadOnlyList.create | ( | Map< K, V > | map | ) | [static] |
Create a read-only map, based on the given Map instance.
map | the source of the newly created read-only map. |
static <E> Set<E> com.mendix.systemwideinterfaces.utils.ReadOnlyList.create | ( | Set< E > | set | ) | [static] |
Create a read-only set, based on the given Set instance.
set | the source of the newly created read-only set. |
static<E> Iterator<E> com.mendix.systemwideinterfaces.utils.ReadOnlyList.create | ( | Iterator< E > | iterator | ) | [package] |
Create a read-only iterator, based on the given Iterator instance.
iterator | the source of the newly created read-only iterator. |