- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for lazyInverse (0.05 seconds)
-
guava/src/com/google/common/collect/SingletonImmutableBiMap.java
@LazyInit @RetainedWith private transient @Nullable ImmutableBiMap<V, K> lazyInverse; @Override public ImmutableBiMap<V, K> inverse() { if (inverse != null) { return inverse; } else { // racy single-check idiom ImmutableBiMap<V, K> result = lazyInverse; if (result == null) { return lazyInverse = new SingletonImmutableBiMap<>(singleValue, singleKey, this); } else {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 3.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/JdkBackedImmutableBiMap.java
public ImmutableBiMap<V, K> inverse() { return inverse != null ? inverse : lazyInverse(); } @LazyInit @RetainedWith private transient @Nullable JdkBackedImmutableBiMap<V, K> lazyInverse; private ImmutableBiMap<V, K> lazyInverse() { JdkBackedImmutableBiMap<V, K> result = lazyInverse; return result == null ? lazyInverse = new JdkBackedImmutableBiMap<>(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 4.9K bytes - Click Count (0)