Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for hasNext (0.15 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

          private var removeSnapshot: Snapshot? = null
    
          override fun hasNext(): Boolean {
            if (nextSnapshot != null) return true
    
            synchronized(this@DiskLruCache) {
              // If the cache is closed, truncate the iterator.
              if (closed) return false
    
              while (delegate.hasNext()) {
                nextSnapshot = delegate.next()?.snapshot() ?: continue
                return true
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 34.7K bytes
    - Viewed (0)
Back to top