@Test public void testSimple() { context.currentResource("/content"); Stream<ResourceTree> tree = ResourceTree.stream(context.currentResource()); assertEquals(16, tree.count()); }
public static Stream<ResourceTree> stream(Resource resource) { return new ResourceTree(resource).streamTree(); }
ResourceTree { public static Stream<ResourceTree> stream(Resource resource) { return new ResourceTree(resource).streamTree(); } }
ResourceTree { public static Stream<ResourceTree> stream(Resource resource) { return new ResourceTree(resource).streamTree(); } private  ResourceTree(Resource root); }
ResourceTree { public static Stream<ResourceTree> stream(Resource resource) { return new ResourceTree(resource).streamTree(); } private  ResourceTree(Resource root); static Stream<ResourceTree> stream(Resource resource); static Stream<ResourceTree> stream(Resource resource, String filterType); static Stream<ResourceTree> stream(Resource resource, Predicate<Resource> filterTraversal,
            Predicate<ResourceTree> filterInclude); Resource getResource(); }
ResourceTree { public static Stream<ResourceTree> stream(Resource resource) { return new ResourceTree(resource).streamTree(); } private  ResourceTree(Resource root); static Stream<ResourceTree> stream(Resource resource); static Stream<ResourceTree> stream(Resource resource, String filterType); static Stream<ResourceTree> stream(Resource resource, Predicate<Resource> filterTraversal,
            Predicate<ResourceTree> filterInclude); Resource getResource();  }