Package org.fugerit.java.core.cfg.xml
Class ListMapConfig<T>
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<T>
-
- org.fugerit.java.core.util.collection.ListMap<String,T>
-
- org.fugerit.java.core.util.collection.ListMapStringKey<T>
-
- org.fugerit.java.core.cfg.xml.ListMapConfig<T>
-
- All Implemented Interfaces:
Serializable
,Iterable<T>
,Collection<T>
,List<T>
,IdConfigType
,KeyObject<String>
,ListMapConfigurable
public class ListMapConfig<T> extends ListMapStringKey<T> implements IdConfigType, KeyObject<String>, ListMapConfigurable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.fugerit.java.core.util.collection.ListMap
ADD_MODE_DEFAULT, ADD_MODE_LOOSE, ADD_MODE_STRICT
-
Fields inherited from class java.util.AbstractList
modCount
-
-
Constructor Summary
Constructors Constructor Description ListMapConfig()
ListMapConfig(int addMode)
ListMapConfig(Collection<T> c)
ListMapConfig(KeyMapper<String,T> keyMapper)
ListMapConfig(KeyMapper<String,T> keyMapper, int addMode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Properties
getConfig()
String
getId()
String
getKey()
Returns the key of the objectvoid
initFromElementAttributes(Element tag)
void
setId(String id)
-
Methods inherited from class org.fugerit.java.core.util.collection.ListMap
add, get, get, getAddMode, getKeyIterator, getKeyMapper, getMap, getProperty, remove, set, setAddMode, setKeyMapper, size
-
Methods inherited from class java.util.AbstractList
add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, subList
-
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream
-
Methods inherited from interface java.util.List
addAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
-
-
-
-
Constructor Detail
-
ListMapConfig
public ListMapConfig()
-
ListMapConfig
public ListMapConfig(Collection<T> c)
-
ListMapConfig
public ListMapConfig(int addMode)
-
-
Method Detail
-
getConfig
public Properties getConfig()
- Specified by:
getConfig
in interfaceListMapConfigurable
-
initFromElementAttributes
public void initFromElementAttributes(Element tag)
- Specified by:
initFromElementAttributes
in interfaceListMapConfigurable
-
getKey
public String getKey()
Description copied from interface:KeyObject
Returns the key of the object
-
setId
public void setId(String id)
- Specified by:
setId
in interfaceIdConfigType
-
getId
public String getId()
- Specified by:
getId
in interfaceIdConfigType
-
-