Class CachedSurfaceSupplier.CachedImage

  • Enclosing class:
    CachedSurfaceSupplier

    private static class CachedSurfaceSupplier.CachedImage
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private @NotNull java.lang.ref.SoftReference<java.awt.image.BufferedImage> image  
      private boolean inUse  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private CachedImage​(@NotNull java.awt.image.BufferedImage image)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private void free()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • image

        @NotNull
        private final @NotNull java.lang.ref.SoftReference<java.awt.image.BufferedImage> image
      • inUse

        private boolean inUse
    • Constructor Detail

      • CachedImage

        private CachedImage​(@NotNull
                            @NotNull java.awt.image.BufferedImage image)
    • Method Detail

      • free

        private void free()