Beispiel #1
0
 @Override
 public long getItemId(int position) {
   return buffer.getBacklogEntry(position).messageId;
 }
Beispiel #2
0
 @Override
 public IrcMessage getItem(int position) {
   // TODO: PriorityQueue is f****d, we don't want to convert to array here, so change later
   return (IrcMessage) buffer.getBacklogEntry(position);
 }