org.media.mn8.concepts
Class MapConcept
java.lang.Object
|
+--org.media.mn8.Concept
|
+--org.media.mn8.JavaConcept
|
+--org.media.mn8.concepts.MapConcept
- All Implemented Interfaces:
- Map
- Direct Known Subclasses:
- HTMLFormConcept
- public class MapConcept
- extends JavaConcept
- implements Map
- Version:
- $Revision: 1.15 $ $Date: 2002/09/18 17:24:51 $
- Author:
- Remus Pereni
Methods inherited from class org.media.mn8.Concept |
areThereMoreElemenents, cloneConcept, extendsConcept, getAllInheritedConcepts, getAttributeValue, getConceptAttribute, getConceptAttribute, getConceptAttributeField, getConceptAttributeField, getConceptAttributeFields, getConceptAttributes, getConceptConstructors, getConceptElement, getConceptElementField, getConceptInstance, getConceptLabel, getConceptMethod, getConceptMethods, getConceptNamed, getConceptOperators, getConceptsAtPath, getConceptsAtPath, getConceptType, getErrorHandler, getInheritedConcepts, getMeAllElements, getResourceURI, hasConceptAttribute, hasConceptAttribute, hasConceptElement, hasConceptElement, hasConceptMethod, hasPath, hasPath, isHidden, loadContent, printFields, printFields, searchDeeperForPath, searchSubElements, setConceptLabel, setErrorHandler, setHidden, setResourceURI, setShowEmpty, showEmpty, subAttributeGetConcept, subAttributeHasPath, subElementGetConcepts, subElementHasPath |
_keys
protected Vector _keys
_values
protected Vector _values
_nameCache
protected Vector _nameCache
_index
protected IntegerConcept _index
_length
protected IntegerConcept _length
_hasNext
protected LogicalConcept _hasNext
_hasPrevious
protected LogicalConcept _hasPrevious
length
public AttributeConcept length
index
public AttributeConcept index
hasNext
public AttributeConcept hasNext
hasPrevious
public AttributeConcept hasPrevious
MapConcept
public MapConcept()
MapConcept
public MapConcept(Vector keys,
Vector values)
add
public void add(Concept key,
Concept newValue)
- Specified by:
add
in interface Map
remove
public void remove(Concept key)
- Specified by:
remove
in interface Map
nextValue
public Concept nextValue()
- Specified by:
nextValue
in interface Map
nextKey
public Concept nextKey()
- Specified by:
nextKey
in interface Map
clear
public void clear()
- Specified by:
clear
in interface Map
getValue
public Concept getValue(Concept key)
- Specified by:
getValue
in interface Map
currentKey
public Concept currentKey()
previousKey
public Concept previousKey()
insert
public void insert(Concept newKey,
Concept newValue)
- Specified by:
insert
in interface Map
insert
public void insert(IntegerConcept position,
Concept newKey,
Concept newValue)
- Specified by:
insert
in interface Map
containsKey
public LogicalConcept containsKey(Concept key)
- Specified by:
containsKey
in interface Map
containsValue
public LogicalConcept containsValue(Concept value)
- Specified by:
containsValue
in interface Map
indexOfKey
public IntegerConcept indexOfKey(Concept key)
- Specified by:
indexOfKey
in interface Map
indexOfValue
public IntegerConcept indexOfValue(Concept value)
- Specified by:
indexOfValue
in interface Map
sort
public void sort(Concept sorter)
- Specified by:
sort
in interface Map
getKeys
public SeriesConcept getKeys()
- Specified by:
getKeys
in interface Map
getValues
public SeriesConcept getValues()
- Specified by:
getValues
in interface Map
getKeyVector
public Vector getKeyVector()
getValuesVector
public Vector getValuesVector()
setVectors
public void setVectors(Vector keys,
Vector contents)
getConceptDefinition
public ConceptDefinition getConceptDefinition()
- Overrides:
getConceptDefinition
in class JavaConcept
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface Map
hasPrevious
public boolean hasPrevious()
- Specified by:
hasPrevious
in interface Map
getKeyAt
public Concept getKeyAt(IntegerConcept position)
- Specified by:
getKeyAt
in interface Map
getValueAt
public Concept getValueAt(IntegerConcept position)
- Specified by:
getValueAt
in interface Map
getLength
public int getLength()
- Specified by:
getLength
in interface Map
getIndex
public int getIndex()
- Specified by:
getIndex
in interface Map
setIndex
public void setIndex(int idx)
- Specified by:
setIndex
in interface Map
setIndex
public void setIndex(IntegerConcept idx)
updateNameCache
protected void updateNameCache()
equals
public boolean equals(Object obj)
- Overrides:
equals
in class JavaConcept
equals
public LogicalConcept equals(MapConcept target)
updateNavigationFans
protected void updateNavigationFans()
getConceptElement
public Concept getConceptElement(StringConcept name)
- Overrides:
getConceptElement
in class Concept
getConceptElementField
public FieldDefinition getConceptElementField(StringConcept name)
getConceptElementFields
public SeriesConcept getConceptElementFields()
- Overrides:
getConceptElementFields
in class Concept
getConceptElements
public SeriesConcept getConceptElements()
- Overrides:
getConceptElements
in class Concept
clone
public Object clone()
- Overrides:
clone
in class JavaConcept
"Copyright © 2000-2002 Internet Multicasting Services, media.org & noLimits Technologies. All Rights Reserved."