/** * Creates an anchor manager. * * @param items map from location references to items in those locations. * @return a new anchor manager. */ public static <L, I, P> AnchorManager<L, I, P> create(ObservableMap<L, ? extends I> items) { AnchorManager<L, I, P> m = new AnchorManager<L, I, P>(items); m.init(); return m; }