MCPcopy Create free account
hub / github.com/antlr/codebuff / child

Method child

output/java_guava/1.4.19/InternetDomainName.java:442–444  ·  view source on GitHub ↗

Creates and returns a new InternetDomainName by prepending the argument and a dot to the current name. For example, InternetDomainName.from("foo.com").child("www.bar") returns a new InternetDomainName with the value www.bar.foo.com. Only lenient validation is performe

(String leftParts)

Source from the content-addressed store, hash-verified

440
441
442 public InternetDomainName child(String leftParts) {
443 return from(checkNotNull(leftParts) + "." + name);
444 }
445
446 /**
447 * Indicates whether the argument is a syntactically valid domain name using lenient validation.

Callers

nothing calls this directly

Calls 2

fromMethod · 0.95
checkNotNullMethod · 0.45

Tested by

no test coverage detected