@Test public void toBuilder() { final Route object = nextRoute(new Random(3)); Assert.assertEquals( object.toBuilder().build(), object ); Assert.assertNotSame( object.toBuilder().build(), object ); }
public Builder toBuilder() { return builder() .name(_name) .cmt(_comment) .desc(_description) .src(_source) .links(_links) .number(_number) .extensions(_extensions) .points(_points); }
Route implements Iterable<WayPoint>, Serializable { public Builder toBuilder() { return builder() .name(_name) .cmt(_comment) .desc(_description) .src(_source) .links(_links) .number(_number) .extensions(_extensions) .points(_points); } }
Route implements Iterable<WayPoint>, Serializable { public Builder toBuilder() { return builder() .name(_name) .cmt(_comment) .desc(_description) .src(_source) .links(_links) .number(_number) .extensions(_extensions) .points(_points); } private  Route(
		final String name,
		final String comment,
		final String description,
		final String source,
		final List<Link> links,
		final UInt number,
		final String type,
		final Document extensions,
		final List<WayPoint> points
	); }
Route implements Iterable<WayPoint>, Serializable { public Builder toBuilder() { return builder() .name(_name) .cmt(_comment) .desc(_description) .src(_source) .links(_links) .number(_number) .extensions(_extensions) .points(_points); } private  Route(
		final String name,
		final String comment,
		final String description,
		final String source,
		final List<Link> links,
		final UInt number,
		final String type,
		final Document extensions,
		final List<WayPoint> points
	); Optional<String> getName(); Optional<String> getComment(); Optional<String> getDescription(); Optional<String> getSource(); List<Link> getLinks(); Optional<UInt> getNumber(); Optional<String> getType(); List<WayPoint> getPoints(); Stream<WayPoint> points(); Optional<Document> getExtensions(); @Override Iterator<WayPoint> iterator(); Builder toBuilder(); boolean isEmpty(); boolean nonEmpty(); @Override int hashCode(); @Override boolean equals(final Object obj); @Override String toString(); static Builder builder(); static Route of(
		final String name,
		final String comment,
		final String description,
		final String source,
		final List<Link> links,
		final UInt number,
		final String type,
		final Document extensions,
		final List<WayPoint> points
	); static Route of(
		final String name,
		final String comment,
		final String description,
		final String source,
		final List<Link> links,
		final UInt number,
		final String type,
		final List<WayPoint> points
	); static Route of(
		final String name,
		final List<WayPoint> points
	); static Route of(final List<WayPoint> points); }
Route implements Iterable<WayPoint>, Serializable { public Builder toBuilder() { return builder() .name(_name) .cmt(_comment) .desc(_description) .src(_source) .links(_links) .number(_number) .extensions(_extensions) .points(_points); } private  Route(
		final String name,
		final String comment,
		final String description,
		final String source,
		final List<Link> links,
		final UInt number,
		final String type,
		final Document extensions,
		final List<WayPoint> points
	); Optional<String> getName(); Optional<String> getComment(); Optional<String> getDescription(); Optional<String> getSource(); List<Link> getLinks(); Optional<UInt> getNumber(); Optional<String> getType(); List<WayPoint> getPoints(); Stream<WayPoint> points(); Optional<Document> getExtensions(); @Override Iterator<WayPoint> iterator(); Builder toBuilder(); boolean isEmpty(); boolean nonEmpty(); @Override int hashCode(); @Override boolean equals(final Object obj); @Override String toString(); static Builder builder(); static Route of(
		final String name,
		final String comment,
		final String description,
		final String source,
		final List<Link> links,
		final UInt number,
		final String type,
		final Document extensions,
		final List<WayPoint> points
	); static Route of(
		final String name,
		final String comment,
		final String description,
		final String source,
		final List<Link> links,
		final UInt number,
		final String type,
		final List<WayPoint> points
	); static Route of(
		final String name,
		final List<WayPoint> points
	); static Route of(final List<WayPoint> points);  }