code: public final AbstractItem findFirstMatching(Filter filter) throws MessageStoreException
      {
          AbstractItem item = null;
          for (int priority = Priorities.HIGHEST_PRIORITY; null == item
                  && priority >= Priorities.LOWEST_PRIORITY; priority--)
          {
              LinkedList tl = _prioritySublists[priority];
              if (null != tl)
              {
                  item = tl.findFirstMatching(filter);
              }
          }
          return item;
      }
docs: /*
  (non-Javadoc)
  
  @see com.ibm.ws.sib.msgstore.ItemCollection#findFirstMatching(com.ibm.ws.sib.msgstore.Filter)