[Java] Class BoundedQueue