class TypedIndexedObjectContainer implements ObjectIndexProvider {

    @Nonnull
    public IndexedObjectContainer getTypedContainer( @Nonnull Class<? extends IdentifiableObject> c )
    {
        return typedIndexedObjectContainers.computeIfAbsent( c, key -> new IndexedObjectContainer() );
    }

}