Interface PageFileFactory<P extends Page>

  • Type Parameters:
    P - Page type
    All Known Implementing Classes:
    AbstractPageFileFactory, MemoryPageFileFactory

    public interface PageFileFactory<P extends Page>
    Factory interface for generating page files.
    Since:
    0.6.0
    Author:
    Erich Schubert
    • Method Detail

      • newPageFile

        PageFile<P> newPageFile​(java.lang.Class<P> cls)
        Make a new page file.
        Parameters:
        cls - Page class
        Returns:
        Page file
      • getPageSize

        int getPageSize()
        Query the page size.
        Returns:
        page size