Lines Matching defs:prevEntryPos
231 * at position prevEntryPos. If prevEntryPos is -1, then the number
234 private void add(int number, int prevEntryPos) {
243 if (prevEntryPos != -1) {
244 entryBefore = list.get(prevEntryPos);
255 int nextEntryPos = prevEntryPos + 1;
266 list.remove(prevEntryPos);
268 if (windowStartIndex > prevEntryPos)
286 if (prevEntryPos < windowStartIndex)
304 if (prevEntryPos >= oldWindowStartIndex) {
305 prevEntryPos--; // due to the deletion that just happened
322 if (prevEntryPos == -1)
333 // 'prevEntryPos+1'
335 list.add(prevEntryPos+1, entry);