| Constructor and Description |
|---|
MapList() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
|
boolean |
equals(java.lang.Object obj) |
Map |
get(Map.MapType type) |
boolean |
hasActiveMap(Map.MapType type) |
boolean |
isEmpty() |
java.util.Iterator<Map> |
iterator() |
void |
put(Map map)
If a
Map with the same Map.MapType exists in this MapList,
it will be removed and Map.unreferenceAssets() will be called. |
Map |
remove(Map.MapType type) |
void |
set(MapList src) |
int |
size() |
void |
unreferenceAssets() |
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic final java.util.Iterator<Map> iterator()
iterator in interface java.lang.Iterable<Map>public final void put(Map map)
Map with the same Map.MapType exists in this MapList,
it will be removed and Map.unreferenceAssets() will be called.public final Map get(Map.MapType type)
type - Map of the specified Map.MapTypepublic final Map remove(Map.MapType type)
type - Map of the specified Map.MapType removed, if anypublic final void clear()
public final void unreferenceAssets()
public final boolean hasActiveMap(Map.MapType type)
public final int size()
public final boolean isEmpty()
public final void set(MapList src)
Bonzai Engine 1.3.4 11/12/2015 - A Java OpenGL engine and tools for Windows/Mac/Linux/Android
Copyright © 2007-2015 Jérôme Jouvie bonzaiengine.com contact@bonzaiengine.com