/** * Creates an target map based on an initial list of entries. The entries * are used to build a substrate document, and the target map is instantiated * on that substrate. */ private void createTargetOn(int ... state) { fungeCreateTargetOn(substrate(state)); }
/** * Creates an target map based on an initial list of entries. The entries * are used to build a substrate document, and the target map is instantiated * on that substrate. */ private void createTargetOn(int ... state) { fungeCreateTargetOn(substrate(state)); }
/** * Creates a substrate based on a list of entries. * * @param value list of entries to include in the document state * @return a map-context view of the document state */ @SuppressWarnings("unchecked") private static <N, E extends N> ValueContext<N, E> substrate(int ... value) { ObservableMutableDocument doc = BasicFactories.observableDocumentProvider().create("data",Collections.<String, String>emptyMap()); return substrate(doc, value); }
/** * Creates a substrate based on a list of entries. * * @param value list of entries to include in the document state * @return a map-context view of the document state */ @SuppressWarnings("unchecked") private static <N, E extends N> ValueContext<N, E> substrate(int ... value) { ObservableMutableDocument doc = BasicFactories.observableDocumentProvider().create("data",Collections.<String, String>emptyMap()); return substrate(doc, value); }