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

Method APerson

serialization/APerson.java:13–16  ·  view source on GitHub ↗
(String first, String last)

Source from the content-addressed store, hash-verified

11public class APerson {
12 private String first, last;
13 public APerson(String first, String last) {
14 this.first = first;
15 this.last = last;
16 }
17 // Produce an XML Element from this APerson object:
18 public Element getXML() {
19 Element person = new Element("person");

Callers

nothing calls this directly

Calls 1

getValueMethod · 0.45

Tested by

no test coverage detected