MCPcopy Index your code
hub / github.com/BruceEckel/OnJava8-Examples / Robot

Struct Robot

generics/dogsandrobots.go:13–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11func (this Dog) reproduce() {}
12
13type Robot struct {}
14func (this Robot) speak() { fmt.Printf("Click!\n") }
15func (this Robot) sit() { fmt.Printf("Clank!\n") }
16func (this Robot) oilChange() {}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected