Class WorldFileStore.Components

All Implemented Interfaces:
Iterable<WorldFileResource>, Collection<WorldFileResource>, List<WorldFileResource>
Enclosing class:
WorldFileStore

final class WorldFileStore.Components extends ListOfUnknownSize<WorldFileResource>
A list of images where each WorldFileResource instance is initialized when first needed. Fetching the list size may be a costly operation and will be done only if requested.
  • Field Details

    • size

      private int size
      Size of this list, or any negative value if unknown.
    • images

      private WorldFileResource[] images
      All elements in this list. Some array elements may be null if the image has never been requested.
  • Constructor Details

    • Components

      private Components(int numImages)
      Creates a new list of images.
      Parameters:
      numImages - number of images, or any negative value if unknown.
  • Method Details