Lines Matching defs:dog
49 * @see Dog
82 * Dog class to illustrate the new reflection API. You can see that:
93 public static class Dog implements Animal {
96 * Return string representation of the go action for Dog
98 * @return string representation of the go action for Dog
102 return "Dog walks on four legs";
106 * Return string representation of the sleep action for Dog
108 * @return string representation of the sleep action for Dog
112 return "Dog sleeps";
123 Dog dog = new Dog();
124 Stream.of(Dog.class.getMethod("eat"), Dog.class.getMethod("go"), Dog.class.getMethod("sleep"))
130 m.invoke(dog);