Class Cached<V>


  • public final class Cached<V>
    extends java.lang.Object
    Provides a cached lazy-calculated value.
    Author:
    Leonid Bushuev from JetBrains
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static interface  Cached.Calculator<CV>  
    • Method Summary

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

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

      • get

        @NotNull
        public V get()
      • invalidate

        public void invalidate()