public static < K , V > Cache < K , V > newSoftMemoryCache ( int size ) { return new MemoryCache <> ( true , size ) ; }
Return a new memory cache with the specified maximum size unlimited lifetime for entries with the values held by SoftReferences .