MutableCollection#asUnmodifiable()
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public static <E, C extends Collection | of(C collection)
This method will take a MutableCollection and wrap it directly in a UnmodifiableMutableCollection. |
| protected Object |
| UnmodifiableMutableCollection | back to summary |
|---|---|
| pack-priv UnmodifiableMutableCollection(MutableCollection<? extends T> collection) | |
| of | back to summary |
|---|---|
| public static <E, C extends Collection This method will take a MutableCollection and wrap it directly in a UnmodifiableMutableCollection. It will take any other non-Eclipse-Collections collection and first adapt it will a CollectionAdapter, and then return a UnmodifiableMutableCollection that wraps the adapter. | |
| writeReplace | back to summary |
|---|---|
| protected Object writeReplace() | |