示例#1
0
 @Override
 public long getItemId(int position) {
   return buffer.getBacklogEntry(position).messageId;
 }
示例#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);
 }