Query - the Query classPlan - the Plan classTicket - the Ticket classpublic interface ReservationManager<Query,Plan,Ticket>
Plan query(Query q)
q - the queryTicket accept(Plan plan)
plan - the plan genreated by query()void cancel(Ticket ticket)
ticket - the reservationCopyright © 2013. All rights reserved.