if(command.equals("LOAD")){
int item = stdIn.nextInt();
int found = searchCache(item);
currTime++;
if(found==-1){
System.out.println("cache miss");
totalTime = totalTime +100;
int x = LRU(currTime);
cache[x]=item;
timeStamp[x]=currTime;
}
How come the above segment do not handle "LOAD"?