Interface ImageStorage<T>

Type Parameters:
T - represents the type of the keys
All Known Implementing Classes:
EnumImageStorage, OrdinalImageStorage

public interface ImageStorage<T>
Represents a key-based image storage facility that enables the retrieval of images based on keys.
  • Method Summary

    Modifier and Type
    Method
    Description
    Optional<javafx.scene.image.Image>
    get(T key)
    Returns an Optional describing the image associated with the key specified, or an empty optional if no image is associated with the key.
  • Method Details

    • get

      Optional<javafx.scene.image.Image> get(T key)
      Returns an Optional describing the image associated with the key specified, or an empty optional if no image is associated with the key.
      Parameters:
      key - a key for which the associated image should be returned
      Returns:
      an Optional describing the image associated with the key specified, or an empty optional if no image is associated with the key