Home | History | Annotate | Download | only in DefaultMethods

Lines Matching defs:go

44  * Both {@link Horse} and {@link Bird} interfaces implements the <code>go</code>
46 * <code>go</code> method.
51 * For example: Horse.super.go();
64 * Return string representation of the "go" action for concrete animal
66 * @return string representation of the "go" action for concrete animal
68 String go();
79 * Return string representation of the "go" action for horse
81 * @return string representation of the "go" action for horse
84 default String go() {
97 * Return string representation of the "go" action for bird
99 * @return string representation of the "go" action for bird
102 default String go() {
125 * Return string representation of the "go" action for the fictitious
128 * @return string representation of the "go" action for the fictitious
132 public String go() {
133 return Horse.super.go();
143 System.out.println(new Pegasus().go());