public final class PackagePartCollection extends TreeMap<PackagePartName,PackagePart>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
PackagePartCollection() |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
PackagePart |
put(PackagePartName partName,
PackagePart part)
Check rule [M1.11]: a package implementer shall neither create nor
recognize a part with a part name derived from another part name by
appending segments to it.
|
PackagePart |
remove(Object key) |
ceilingEntry, ceilingKey, clear, comparator, containsKey, containsValue, descendingKeySet, descendingMap, entrySet, firstEntry, firstKey, floorEntry, floorKey, forEach, get, headMap, headMap, higherEntry, higherKey, keySet, lastEntry, lastKey, lowerEntry, lowerKey, navigableKeySet, pollFirstEntry, pollLastEntry, putAll, replace, replace, replaceAll, size, subMap, subMap, tailMap, tailMap, values
equals, hashCode, isEmpty, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, equals, getOrDefault, hashCode, isEmpty, merge, putIfAbsent, remove
public Object clone()
clone
in class TreeMap<PackagePartName,PackagePart>
public PackagePart put(PackagePartName partName, PackagePart part)
put
in interface Map<PackagePartName,PackagePart>
put
in class TreeMap<PackagePartName,PackagePart>
InvalidOperationException
- Throws if you try to add a part with a name derived from
another part name.public PackagePart remove(Object key)
remove
in interface Map<PackagePartName,PackagePart>
remove
in class TreeMap<PackagePartName,PackagePart>
Copyright © 2020. All rights reserved.