JIVE Platform
Release 0.2.2

edu.bsu.cs.jive.contour
Interface ContourModel.Importer

Enclosing interface:
ContourModel

public static interface ContourModel.Importer

A builder interface for a contour model. Since a contour model represents a specific state of execution, this interface can be used to initialize the contour model to a non-null state.

The builder's provideChildren(Contour) method will be called until all root contours' children have been found (in all depths), but there is no guarantee of depth-first vs. breadth-first ordering of the calls.


Method Summary
 List<Contour> provideChildren(Contour parent)
          Provide the list of children for a contour.
 List<Contour> provideRoots()
          Provide the root contours for this importer
 

Method Detail

provideRoots

List<Contour> provideRoots()
Provide the root contours for this importer

Returns:
list of root contours

provideChildren

List<Contour> provideChildren(Contour parent)
Provide the list of children for a contour. If the contour has no children, then null is returned.

Parameters:
parent - the parent whose children are sought
Returns:
the list of children of the contour or null if there are none.

JIVE Platform
Release 0.2.2