@@ -0,0 +1,1342 @@
+package org.codefx.demo.javadoc8tags;%0A%0Aimport java.util.ArrayList;%0Aimport java.util.List;%0Aimport java.util.Set;%0A%0A/**%0A * The lottery.%0A * %3Cp%3E%0A * %22Here's something to think about: How come you never see a headline like 'Psychic Wins Lottery'?%22 (Jay Leno)%0A *%0A * @since 1.0%0A */%0Apublic interface Lottery %7B%0A%0A%09/**%0A%09 * Picks the winners from the specified set of players.%0A%09 * %3Cp%3E%0A%09 * The returned list defines the order of the winners, where the first prize goes to the player at position 0. The%0A%09 * list will not be null but can be empty.%0A%09 *%0A%09 * @apiNote This method was added after the interface was released. It is defined as a default method for%0A%09 *          compatibility reasons. From version 1.2 on, the method will be abstract and all implementations of this%0A%09 *          interface have to provide their own implementation of the method.%0A%09 * @implSpec The default implementation will consider each player a winner and return them in an unspecified order.%0A%09 * @implNote This implementation has linear runtime and does not filter out null players.%0A%09 * @param players%0A%09 *            the players from which the winners will be selected%0A%09 * @return the (ordered) list of the players who won; the list will not contain duplicates%0A%09 * @since 1.1%0A%09 */%0A%09default List%3CString%3E pickWinners(Set%3CString%3E players) %7B%0A%09%09return new ArrayList%3C%3E(players);%0A%09%7D%0A%0A%7D%0A

Define interface 'Lottery' with default method documented with new tags