int function ( CacheEntry arg0 ) { switch ( type ) { case LFU : return compareToLFU ( arg0 ) ; case LRU : return compareToLRU ( arg0 ) ; case FIFO : return compareToFIFO ( arg0 ) ; default : die ( ) ; return 0 ; } }
comparison of entries this determines what we will order the cache by which determines which type of cache it is . concode_field_sep AtomicInteger readCount concode_elem_sep long time concode_elem_sep CacheType type concode_elem_sep VALUE value concode_elem_sep KEY key concode_elem_sep int order concode_field_sep int compareReadCount concode_elem_sep int compareToLRU concode_elem_sep String toString concode_elem_sep int compareOrder concode_elem_sep int compareToLFU concode_elem_sep int compareToFIFO concode_elem_sep int compareTime