I think this would do the job: http://docs.oracle.com/javase/6/docs/api/java/util/Queue.html#peek()