Class ReadOnlyStore.ReadOnlyRepoWrapper<X>

  • All Implemented Interfaces:
    ReadOnlyRepo<X>
    Enclosing class:
    ReadOnlyStore<T>

    protected static class ReadOnlyStore.ReadOnlyRepoWrapper<X>
    extends Object
    implements ReadOnlyRepo<X>
    Decorates a Repo to make sure it is treated as a ReadOnlyRepo. Similar to ReadOnlyStore, won't allow subsequent user to cast a ReadOnlyRepo back to a mutable Repo.