Class AbstractCollectionAdapter<C extends Collection<E>,​E>

    • Constructor Detail

      • AbstractCollectionAdapter

        public AbstractCollectionAdapter()
    • Method Detail

      • create

        public abstract C create​(int size)
      • getNumElements

        public final int getNumElements​(C c)
        Specified by:
        getNumElements in interface org.infinispan.protostream.containers.ElementContainerAdapter<C extends Collection<E>>
      • getElements

        public final Iterator<E> getElements​(C c)
        Specified by:
        getElements in interface org.infinispan.protostream.containers.IterableElementContainerAdapter<C extends Collection<E>,​E>
      • appendElement

        public final void appendElement​(C c,
                                        E e)
        Specified by:
        appendElement in interface org.infinispan.protostream.containers.IterableElementContainerAdapter<C extends Collection<E>,​E>