Package gnu.kawa.lispexpr
Class ClassNamespace
java.lang.Object
java.util.AbstractMap<String,Symbol>
gnu.kawa.util.AbstractHashTable<gnu.mapping.SymbolRef,String,Symbol>
gnu.mapping.Namespace
gnu.kawa.lispexpr.ClassNamespace
- All Implemented Interfaces:
HasNamedParts,Externalizable,Serializable,Map<String,Symbol>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K, V> -
Field Summary
Fields inherited from class gnu.mapping.Namespace
EmptyNamespace, nsTable, prefix, UNKNOWN_NAMESPACEFields inherited from class gnu.kawa.util.AbstractHashTable
DEFAULT_INITIAL_SIZE, mask, num_bindings, table -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ClassNamespacegetInstance(String name, ClassType ctype) voidvoidMethods inherited from class gnu.mapping.Namespace
add, allocEntries, create, create, get, getDefault, getDefaultSymbol, getEntryHashCode, getEntryNext, getName, getPrefix, getSymbol, isConstant, isUnknownNamespace, lookup, lookup, lookupInternal, makeEntry, makeUnknownNamespace, remove, setEntryNext, setName, toString, valueOf, valueOf, valueOf, valueOf, valueOfNoCreateMethods inherited from class gnu.kawa.util.AbstractHashTable
clear, entrySet, get, getNode, getOrDefault, hash, hashToIndex, matches, matches, put, put, rehash, remove, sizeMethods inherited from class java.util.AbstractMap
clone, containsKey, containsValue, equals, hashCode, isEmpty, keySet, putAll, valuesMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
ClassNamespace
public ClassNamespace() -
ClassNamespace
-
-
Method Details
-
getClassType
-
getInstance
-
get
- Specified by:
getin interfaceHasNamedParts- Overrides:
getin classNamespace
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Overrides:
writeExternalin classNamespace- Throws:
IOException
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Overrides:
readExternalin classNamespace- Throws:
IOExceptionClassNotFoundException
-
readResolve
- Overrides:
readResolvein classNamespace- Throws:
ObjectStreamException
-