8081828384858687888990
break; default: throw new IllegalArgumentException("No such eviction thread policy " + strategy); } Eviction eviction; switch (strategy) { case FIFO: case UNORDERED: case LRU: eviction = Eviction.LRU;
979899100101102103104105106107
8283848586878889909192
8788899091929394959697
8182838485868788899091
8889909192939495969798
99100101102103104105106107108109
7475767778798081828384
break; default: throw new IllegalArgumentException("No such eviction thread policy " + strategy); } Eviction eviction; switch (strategy) { case FIFO: case LRU: eviction = Eviction.LRU; break;