Created
May 3, 2020 09:47
-
-
Save mudiadamz/0eb1dbdc68cdd8ab300d6da0e59633c7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package visitorpatern; | |
import java.util.Arrays; | |
public class StaticData { | |
final public static Person PERSON = Person.of("root", Arrays.asList( | |
Person.ofName("foo1"), | |
Person.ofName("bar1"), | |
Person.of("baz1", Arrays.asList( | |
Person.ofName("foo2"), | |
Person.ofName("bar2"), | |
Person.of("baz2", Arrays.asList( | |
Person.ofName("foo3"), | |
Person.ofName("bar3"), | |
Person.of("baz3", Arrays.asList( | |
Person.ofName("foo4"), | |
Person.ofName("bar4"), | |
Person.ofName("baz4") | |
)) | |
)) | |
)) | |
)); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment