Uses of Interface
xyz.cofe.collection.Tree

Packages that use Tree 
Package Description
xyz.cofe.collection
Коллекции с поддержкой уведомлений.
  • Uses of Tree in xyz.cofe.collection

    Classes in xyz.cofe.collection with type parameters of type Tree 
    Modifier and Type Interface Description
    interface  GetTreeParent<A extends Tree<A>>
    Получение родитеского узла дерева
    interface  Tree<A extends Tree<A>>
    Узел дерева
    class  TreeEvent<A extends Tree<A>>
    Событие изменения дерева
    static class  TreeEvent.Added<A extends Tree<A>>
    Событие добавление дочернего узла
    static class  TreeEvent.Deleted<A extends Tree<A>>
    Событие удаления дочернего узла с указанием позиции удаления
    static class  TreeEvent.Inserted<A extends Tree<A>>
    Событие добавление дочернего узла с указанием позиции вставки
    static interface  TreeEvent.Listener<A extends Tree<A>>
    Подписчик на событие
    static class  TreeEvent.ParentChild<A extends Tree<A>>
    Событие изменения состава дерева
    static class  TreeEvent.Removed<A extends Tree<A>>
    Событие удаления дочернего узла
    static class  TreeEvent.Updated<A extends Tree<A>>
    Событие замены дочернего элемента
    interface  TreeNotify<A extends Tree<A>>
    Подписка на события изменения структуры дерева
    Subinterfaces of Tree in xyz.cofe.collection 
    Modifier and Type Interface Description
    interface  IndexTree<A extends IndexTree<A>>
    Интерфейс для реализации дерева с подсчетом улозв
    interface  UpTree<A extends UpTree<A>>
    Узел дерева с поддержкой родительского узла
    Classes in xyz.cofe.collection that implement Tree 
    Modifier and Type Class Description
    class  MutableTree<SELF extends MutableTree<SELF>>
    Мутериуемое дерево
    Fields in xyz.cofe.collection declared as Tree 
    Modifier and Type Field Description
    protected A TreeEvent.ParentChild.child  
    protected A TreeEvent.Updated.newItem  
    protected A TreeEvent.Updated.oldItem  
    protected A TreeEvent.ParentChild.parent  
    protected A TreeEvent.Updated.source  
    Fields in xyz.cofe.collection with type parameters of type Tree 
    Modifier and Type Field Description
    static java.util.WeakHashMap<Tree<?>,​java.util.List<Tree<?>>> TreeImpl.nodes  
    static java.util.WeakHashMap<Tree<?>,​java.util.List<Tree<?>>> TreeImpl.nodes  
    Methods in xyz.cofe.collection with type parameters of type Tree 
    Modifier and Type Method Description
    static <A extends Tree<A>>
    java.util.List<Triple<java.lang.Integer,​A,​A>>
    TreeImpl.append​(A tree, A... nodes)  
    static <A extends Tree<A>>
    void
    TreeImpl.append​(A tree, A[] nodes, java.util.function.Consumer<Triple<java.lang.Integer,​A,​A>> added)  
    static <A extends Tree<A>>
    void
    TreeImpl.append​(A tree, java.lang.Iterable<A> nodes)  
    static <A extends Tree<A>>
    void
    TreeImpl.append​(A tree, java.lang.Iterable<A> nodes, java.util.function.Consumer<Triple<java.lang.Integer,​A,​A>> added)  
    static <A extends Tree<A>>
    void
    TreeImpl.clear​(Tree<A> tree)  
    static <A extends Tree<A>>
    void
    TreeImpl.clear​(Tree<A> tree, java.util.function.Consumer<Triple<java.lang.Integer,​A,​A>> deleted)  
    static <A extends Tree<A>>
    void
    TreeImpl.deleteByIndex​(Tree<A> tree, int... index)  
    static <A extends Tree<A>>
    void
    TreeImpl.deleteByIndex​(Tree<A> tree, int[] index, java.util.function.Consumer<Triple<java.lang.Integer,​A,​A>> deleted)  
    static <A extends Tree<A>>
    void
    TreeImpl.deleteByIndex​(Tree<A> tree, java.lang.Iterable<java.lang.Integer> index)  
    static <A extends Tree<A>>
    void
    TreeImpl.deleteByIndex​(Tree<A> tree, java.lang.Iterable<java.lang.Integer> index, java.util.function.Consumer<Triple<java.lang.Integer,​A,​A>> deleted)  
    static <A extends Tree<A>>
    void
    TreeImpl.deleteByValue​(Tree<A> tree, A... value)  
    static <A extends Tree<A>>
    void
    TreeImpl.deleteByValue​(Tree<A> tree, A[] value, java.util.function.Consumer<Triple<java.lang.Integer,​A,​A>> deleted)  
    static <A extends Tree<A>>
    void
    TreeImpl.deleteByValue​(Tree<A> tree, java.lang.Iterable<A> value)  
    static <A extends Tree<A>>
    void
    TreeImpl.deleteByValue​(Tree<A> tree, java.lang.Iterable<A> value, java.util.function.Consumer<Triple<java.lang.Integer,​A,​A>> deleted)  
    static <A extends Tree<A>>
    java.util.List<Triple<java.lang.Integer,​A,​A>>
    TreeImpl.insert​(Tree<A> tree, int index, A... nodes)  
    static <A extends Tree<A>>
    void
    TreeImpl.insert​(Tree<A> tree, int index, A[] nodes, java.util.function.Consumer<Triple<java.lang.Integer,​A,​A>> added)  
    static <A extends Tree<A>>
    java.util.List<Triple<java.lang.Integer,​A,​A>>
    TreeImpl.insert​(Tree<A> tree, int index, java.lang.Iterable<A> nodes)  
    static <A extends Tree<A>>
    void
    TreeImpl.insert​(Tree<A> tree, int index, java.lang.Iterable<A> nodes, java.util.function.Consumer<Triple<java.lang.Integer,​A,​A>> added)  
    static <A extends Tree<A>>
    A
    TreeImpl.node​(Tree<A> tree, int index)  
    static <A extends Tree<A>>
    java.util.List<A>
    TreeImpl.nodesOf​(Tree<A> tree)  
    static <A extends Tree<A>>
    java.util.List<Triple<java.lang.Integer,​A,​A>>
    TreeImpl.set​(Tree<A> tree, int index, A... values)  
    static <A extends Tree<A>>
    void
    TreeImpl.set​(Tree<A> tree, int index, A[] values, java.util.function.Consumer<Triple<java.lang.Integer,​A,​A>> added)  
    static <A extends Tree<A>>
    java.util.List<Triple<java.lang.Integer,​A,​A>>
    TreeImpl.set​(Tree<A> tree, int index, java.lang.Iterable<A> values)  
    static <A extends Tree<A>>
    void
    TreeImpl.set​(Tree<A> tree, int index, java.lang.Iterable<A> values, java.util.function.Consumer<Triple<java.lang.Integer,​A,​A>> added)  
    Methods in xyz.cofe.collection with parameters of type Tree 
    Modifier and Type Method Description
    static <A extends Tree<A>>
    java.util.List<Triple<java.lang.Integer,​A,​A>>
    TreeImpl.append​(A tree, A... nodes)  
    static <A extends Tree<A>>
    void
    TreeImpl.append​(A tree, A[] nodes, java.util.function.Consumer<Triple<java.lang.Integer,​A,​A>> added)  
    default void Tree.appends​(A... nodes)
    Добавляет дочерние узлы
    static <A extends Tree<A>>
    void
    TreeImpl.clear​(Tree<A> tree)  
    static <A extends Tree<A>>
    void
    TreeImpl.clear​(Tree<A> tree, java.util.function.Consumer<Triple<java.lang.Integer,​A,​A>> deleted)  
    static <A extends Tree<A>>
    void
    TreeImpl.deleteByIndex​(Tree<A> tree, int... index)  
    static <A extends Tree<A>>
    void
    TreeImpl.deleteByIndex​(Tree<A> tree, int[] index, java.util.function.Consumer<Triple<java.lang.Integer,​A,​A>> deleted)  
    static <A extends Tree<A>>
    void
    TreeImpl.deleteByIndex​(Tree<A> tree, java.lang.Iterable<java.lang.Integer> index)  
    static <A extends Tree<A>>
    void
    TreeImpl.deleteByIndex​(Tree<A> tree, java.lang.Iterable<java.lang.Integer> index, java.util.function.Consumer<Triple<java.lang.Integer,​A,​A>> deleted)  
    static <A extends Tree<A>>
    void
    TreeImpl.deleteByValue​(Tree<A> tree, A... value)  
    static <A extends Tree<A>>
    void
    TreeImpl.deleteByValue​(Tree<A> tree, A... value)  
    static <A extends Tree<A>>
    void
    TreeImpl.deleteByValue​(Tree<A> tree, A[] value, java.util.function.Consumer<Triple<java.lang.Integer,​A,​A>> deleted)  
    static <A extends Tree<A>>
    void
    TreeImpl.deleteByValue​(Tree<A> tree, A[] value, java.util.function.Consumer<Triple<java.lang.Integer,​A,​A>> deleted)  
    static <A extends Tree<A>>
    void
    TreeImpl.deleteByValue​(Tree<A> tree, java.lang.Iterable<A> value)  
    static <A extends Tree<A>>
    void
    TreeImpl.deleteByValue​(Tree<A> tree, java.lang.Iterable<A> value, java.util.function.Consumer<Triple<java.lang.Integer,​A,​A>> deleted)  
    default void Tree.deletes​(A... nodes)
    Удаляет дочерние узлы
    static <A extends Tree<A>>
    java.util.List<Triple<java.lang.Integer,​A,​A>>
    TreeImpl.insert​(Tree<A> tree, int index, A... nodes)  
    static <A extends Tree<A>>
    java.util.List<Triple<java.lang.Integer,​A,​A>>
    TreeImpl.insert​(Tree<A> tree, int index, A... nodes)  
    static <A extends Tree<A>>
    void
    TreeImpl.insert​(Tree<A> tree, int index, A[] nodes, java.util.function.Consumer<Triple<java.lang.Integer,​A,​A>> added)  
    static <A extends Tree<A>>
    void
    TreeImpl.insert​(Tree<A> tree, int index, A[] nodes, java.util.function.Consumer<Triple<java.lang.Integer,​A,​A>> added)  
    static <A extends Tree<A>>
    java.util.List<Triple<java.lang.Integer,​A,​A>>
    TreeImpl.insert​(Tree<A> tree, int index, java.lang.Iterable<A> nodes)  
    static <A extends Tree<A>>
    void
    TreeImpl.insert​(Tree<A> tree, int index, java.lang.Iterable<A> nodes, java.util.function.Consumer<Triple<java.lang.Integer,​A,​A>> added)  
    default void Tree.inserts​(int idx, A... nodes)
    Добавляет дочерние узлы
    static <A extends Tree<A>>
    A
    TreeImpl.node​(Tree<A> tree, int index)  
    static int TreeImpl.nodesCount​(Tree tree)  
    static <A extends Tree<A>>
    java.util.List<A>
    TreeImpl.nodesOf​(Tree<A> tree)  
    static <A extends Tree<A>>
    java.util.List<Triple<java.lang.Integer,​A,​A>>
    TreeImpl.set​(Tree<A> tree, int index, A... values)  
    static <A extends Tree<A>>
    java.util.List<Triple<java.lang.Integer,​A,​A>>
    TreeImpl.set​(Tree<A> tree, int index, A... values)  
    static <A extends Tree<A>>
    void
    TreeImpl.set​(Tree<A> tree, int index, A[] values, java.util.function.Consumer<Triple<java.lang.Integer,​A,​A>> added)  
    static <A extends Tree<A>>
    void
    TreeImpl.set​(Tree<A> tree, int index, A[] values, java.util.function.Consumer<Triple<java.lang.Integer,​A,​A>> added)  
    static <A extends Tree<A>>
    java.util.List<Triple<java.lang.Integer,​A,​A>>
    TreeImpl.set​(Tree<A> tree, int index, java.lang.Iterable<A> values)  
    static <A extends Tree<A>>
    void
    TreeImpl.set​(Tree<A> tree, int index, java.lang.Iterable<A> values, java.util.function.Consumer<Triple<java.lang.Integer,​A,​A>> added)  
    default void Tree.sets​(int idx, A... nodes)
    Указывает/заменяет узлы
    Constructors in xyz.cofe.collection with parameters of type Tree 
    Constructor Description
    Added​(Tree<A> parent, A child)
    Конструктор
    Deleted​(Tree<A> parent, A child, java.lang.Integer index)
    Конструктор
    Inserted​(Tree<A> parent, A child, java.lang.Integer index)
    Конструктор
    ParentChild​(Tree<A> parent, A child)
    Конструктрор
    Removed​(Tree<A> parent, A child)
    Конструктор
    Updated​(Tree<A> parent, java.lang.Integer idx, A oldChild, A newChild)
    Конструктор