public final class IfFormulaInstantiationCache
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private LRUCache<java.lang.Integer,Pair<Semisequent,ImmutableList<IfFormulaInstantiation>>> |
antecCache |
private java.util.concurrent.locks.ReentrantReadWriteLock |
lock |
private java.util.concurrent.locks.ReentrantReadWriteLock.ReadLock |
readLock |
private LRUCache<java.lang.Integer,Pair<Semisequent,ImmutableList<IfFormulaInstantiation>>> |
succCache |
private java.util.concurrent.locks.ReentrantReadWriteLock.WriteLock |
writeLock |
Constructor and Description |
---|
IfFormulaInstantiationCache() |
Modifier and Type | Method and Description |
---|---|
ImmutableList<IfFormulaInstantiation> |
get(boolean antec,
Semisequent s) |
void |
put(boolean antec,
Semisequent s,
ImmutableList<IfFormulaInstantiation> value) |
private final LRUCache<java.lang.Integer,Pair<Semisequent,ImmutableList<IfFormulaInstantiation>>> antecCache
private final LRUCache<java.lang.Integer,Pair<Semisequent,ImmutableList<IfFormulaInstantiation>>> succCache
private final java.util.concurrent.locks.ReentrantReadWriteLock lock
private final java.util.concurrent.locks.ReentrantReadWriteLock.ReadLock readLock
private final java.util.concurrent.locks.ReentrantReadWriteLock.WriteLock writeLock
public final ImmutableList<IfFormulaInstantiation> get(boolean antec, Semisequent s)
public final void put(boolean antec, Semisequent s, ImmutableList<IfFormulaInstantiation> value)