- notNull(aId);
- dirty = true;
- return registered.remove(aId) != null;
- }
-
- @Override
- public Map<Id<T>, T> map() {
- return Collections.unmodifiableMap(registered);
- }
-
- private void notNull(T aT) {
- if (aT == null) {
- throw new NullPointerException("Object is null");