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

Class PDestination

innerclasses/Parcel5.java:9–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7public class Parcel5 {
8 public Destination destination(String s) {
9 final class PDestination implements Destination {
10 private String label;
11 private PDestination(String whereTo) {
12 label = whereTo;
13 }
14 @Override
15 public String readLabel() { return label; }
16 }
17 return new PDestination(s);
18 }
19 public static void main(String[] args) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected