gate.util
Class SimpleFeatureMapImpl

java.lang.Object
  |
  +--java.util.AbstractMap
        |
        +--java.util.HashMap
              |
              +--gate.util.SimpleFeatureMapImpl
All Implemented Interfaces:
Cloneable, FeatureMap, Map, Serializable

public class SimpleFeatureMapImpl
extends HashMap
implements FeatureMap

Simple case of features.

See Also:
Serialized Form

Inner classes inherited from class java.util.Map
Map.Entry
 
Field Summary
private static boolean DEBUG
          Debug flag
(package private) static long serialVersionUID
          Freeze the serialization UID.
 
Fields inherited from class java.util.HashMap
count, emptyHashIterator, ENTRIES, entrySet, KEYS, keySet, loadFactor, modCount, table, threshold, values, VALUES
 
Constructor Summary
SimpleFeatureMapImpl()
           
 
Method Summary
 boolean subsumes(FeatureMap aFeatureMap)
          Test if this featureMap object is included in aFeatureMap
 
Methods inherited from class java.util.HashMap
, capacity, clear, clone, containsKey, containsValue, entrySet, get, getHashIterator, isEmpty, keySet, loadFactor, put, putAll, readObject, rehash, remove, size, values, writeObject
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, registerNatives, wait, wait, wait
 
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 

Field Detail

DEBUG

private static final boolean DEBUG
Debug flag

serialVersionUID

static final long serialVersionUID
Freeze the serialization UID.
Constructor Detail

SimpleFeatureMapImpl

public SimpleFeatureMapImpl()
Method Detail

subsumes

public boolean subsumes(FeatureMap aFeatureMap)
Test if this featureMap object is included in aFeatureMap
Specified by:
subsumes in interface FeatureMap
Parameters:
aFeatureMap - object which will incude or not this FeatureMap obj.
Returns:
true if this is incuded in aFeatureMap and false if not.