class LinkkiInMemoryContainer extends AbstractInMemoryContainer<T, Object, Item> implements Container.Hierarchical {

    @Override
    @SuppressWarnings({ "unchecked" })
    public Collection<T> getChildren(Object itemId) {
        return children.computeIfAbsent((T)itemId, this::getChildrenTypesafe);
    }

}