org.millscript.commons.xml.tokenizer
Class AttributesImpl

java.lang.Object
  extended by org.millscript.commons.util.map.AbstractIMap<K,V>
      extended by org.millscript.commons.util.map.ITwoArrayMap<Name,java.lang.String>
          extended by org.millscript.commons.xml.tokenizer.AttributesImpl
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, org.millscript.commons.alert.AlertDecorator, org.millscript.commons.util.IMap<Name,java.lang.String>, Attributes

public class AttributesImpl
extends org.millscript.commons.util.map.ITwoArrayMap<Name,java.lang.String>
implements Attributes

This class provides a default Attributes implementation.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.millscript.commons.util.map.ITwoArrayMap
org.millscript.commons.util.map.ITwoArrayMap.MapletListIterator<K,V>, org.millscript.commons.util.map.ITwoArrayMap.SharedMapletListIterator<K,V>, org.millscript.commons.util.map.ITwoArrayMap.SharedTwoArrayMapletList<K,V>, org.millscript.commons.util.map.ITwoArrayMap.TwoArrayMapIterator<K,V>, org.millscript.commons.util.map.ITwoArrayMap.TwoArrayMapletList<K,V>
 
Constructor Summary
AttributesImpl(Name[] names, java.lang.String[] values, boolean share)
          Constructs a new attributes map with an optional copy of the specified backing array containing alternate name-value objects.
 
Method Summary
 
Methods inherited from class org.millscript.commons.util.map.ITwoArrayMap
clone, contains, containsKey, containsValue, get, iterator, keyList, sharedKeyList, sharedMapletList, sharedValueList, size, valueList
 
Methods inherited from class org.millscript.commons.util.map.AbstractIMap
contains, containsAll, decorate, equals, getDefault, hashCode, isEmtpy, mapletList, setDefault, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.millscript.commons.util.IMap
contains, contains, containsAll, containsKey, containsValue, equals, get, getDefault, hashCode, isEmtpy, iterator, keyList, mapletList, setDefault, size, valueList
 

Constructor Detail

AttributesImpl

public AttributesImpl(Name[] names,
                      java.lang.String[] values,
                      boolean share)
Constructs a new attributes map with an optional copy of the specified backing array containing alternate name-value objects.

Parameters:
names - an array of name objects
values - an array of values for their respective name in the names array
share - if true the specified arrays will be shared otherwise the array will be copied.


Copyright © 2005-2007 Open World Ltd. All Rights Reserved.