private void createPastRecord(RODRecordList ret) { ComparableList rec = new ComparableList(ret); if (rec.getLocation() != null) pastQueue.addLast(new ComparableList(ret)); if (pastQueue.size() > this.MAX_QUEUE) pastQueue.removeFirst(); }
private void createPastRecord(RODRecordList ret) { ComparableList rec = new ComparableList(ret); if (rec.getLocation() != null) pastQueue.addLast(new ComparableList(ret)); if (pastQueue.size() > this.MAX_QUEUE) pastQueue.removeFirst(); }