edu.indiana.iucbrf.feature
Class OrderedFeatureMap

java.lang.Object
  extended by edu.indiana.iucbrf.feature.AbstractFeatureCollection
      extended by edu.indiana.iucbrf.feature.FeatureMap
          extended by edu.indiana.iucbrf.feature.OrderedFeatureMap
All Implemented Interfaces:
Feature, FeatureCollection, SwingRepresentableWithDomain, SwingRepresentable, java.io.Serializable, java.lang.Comparable

public class OrderedFeatureMap
extends FeatureMap

A FeatureMap in which the order of addition to the map is maintained.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class edu.indiana.iucbrf.feature.AbstractFeatureCollection
AbstractFeatureCollection.FeatureCollectionPanel, AbstractFeatureCollection.FeatureCollectionTableModel, AbstractFeatureCollection.Key_KeyText_EntryIterator, AbstractFeatureCollection.KeyTextEntryIterator, AbstractFeatureCollection.Ordered_Key_DescText_EntryIterator
 
Field Summary
 
Fields inherited from class edu.indiana.iucbrf.feature.FeatureMap
features
 
Fields inherited from class edu.indiana.iucbrf.feature.AbstractFeatureCollection
collectionType, containsEstimates, customTitle, DEFAULT_VARIABLE_TYPE, INSETS_BORDER, isReferenceSolution, keyToConf, listeners
 
Fields inherited from interface edu.indiana.iucbrf.feature.FeatureCollection
PROBLEM_FEATURE_COLLECTION, SOLUTION_FEATURE_COLLECTION
 
Fields inherited from interface edu.indiana.util.swing.SwingRepresentable
TITLE_FONT
 
Fields inherited from interface edu.indiana.iucbrf.feature.Feature
DEFAULT_FEATURE_DIFFERENTIATORS_BY_VARTYPE, FEATURE_VALUE_FONT, INTERVAL_VARIABLE, LABEL_WIDTH, NOMINAL_VARIABLE, ORDINAL_VARIABLE, OTHER_VARIABLE
 
Fields inherited from interface edu.indiana.util.swing.SwingRepresentable
TITLE_FONT
 
Constructor Summary
protected OrderedFeatureMap()
          Creates a new instance of OrderedFeatureMap
  OrderedFeatureMap(FeatureKey[] keys, Feature[] features, int collectionType)
           
 
Method Summary
protected  void constructCollection(int initialCapacity)
           
 
Methods inherited from class edu.indiana.iucbrf.feature.FeatureMap
addFeatureImpl, clearFeaturesImpl, entryIterator, featureIterator, getFeature, getKeySet, getTotalFeatureCount, getValue, initializeCollection, keyIterator, removeFeatureImpl, replaceFeatureImpl, setValue
 
Methods inherited from class edu.indiana.iucbrf.feature.AbstractFeatureCollection
addEstimatedFeature, addFeature, addFeatureCollectionListener, adjust, clearAllEstimates, clearEstimate, clearFeatures, clone, commonInit, compareTo, containsEstimates, equals, fireFeatureAdded, fireFeatureChange, fireFeatureRemoved, fireFeatureReplaced, fireFeaturesCleared, getCollectionType, getConfidence, getCustomTitle, getDefaultVariableType, getFeaturesMatching, getIsReferenceSolution, getKnownFeatureCount, getTitle, isDefinitelyKnown, isEstimated, midpoint, removeFeature, removeFeatureCollectionListener, replaceFeature, setConfidence, setCustomTitle, setIsReferenceSolution, toString, toString, toString, toSwing, toSwing, toSwing, toSwing, toSwing
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OrderedFeatureMap

protected OrderedFeatureMap()
Creates a new instance of OrderedFeatureMap


OrderedFeatureMap

public OrderedFeatureMap(FeatureKey[] keys,
                         Feature[] features,
                         int collectionType)
Method Detail

constructCollection

protected void constructCollection(int initialCapacity)