| Modifier and Type | Field and Description |
|---|---|
| private AbstractGroup | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| public | GroupTreeNode(AbstractGroup
the group underlying this node group)Creates this node and associates the specified group with it. |
| Modifier and Type | Method and Description |
|---|---|
| public List | |
| public GroupTreeNode | |
| public GroupTreeNode | copyNode()
Implements abstract org. Creates a copy of this node, completely separated from the tree (i.e. no children and no parent) |
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. Indicates whether some other object is "equal to" this one. |
| public List | Returns: matched entrieslist of entries to be searched entries)Determines the entries in the specified list which are matched by this group. |
| public List | Returns: matched entriesdatabase to be searched database)Determines the entries in the specified database which are matched by this group. |
| public static GroupTreeNode | |
| public Optional | |
| public List | getContainingGroups(List<BibEntry>
List of entries, boolean BibEntry to search forWhether to return only groups that must contain all entries requireAll)Get only groups containing all the entries or just groups containing any of the |
| public List | |
| public AbstractGroup | |
| public List | getMatchingGroups(BibEntry entry)
Determines all groups in the subtree starting at this node which contain the given entry. |
| public List | getMatchingGroups(List<BibEntry> entries)
Determines all groups in the subtree starting at this node which contain at least one of the given entries. |
| public String | |
| public String | getPath()
Get the path from the root of the tree as a string (every group name is separated by |
| public SearchMatcher | getSearchMatcher()
Creates a |
| private SearchMatcher | |
| public int | |
| public boolean | isSameGroupAs(GroupTreeNode other)
Returns true if the underlying groups of both |
| public boolean | |
| public List | |
| public void | setGroup(AbstractGroup
the new group (has to be non-null) newGroup)
Deprecated
use
setGroup(AbstractGroup, boolean, boolean, List) instead
Associates the specified group with this node. |
| public List | setGroup(AbstractGroup
the new group (has to be non-null) newGroup, boolean specifies whether previous matched entries should be added to the new group shouldKeepPreviousAssignments, boolean specifies whether previous matched entries should be removed from the old group shouldRemovePreviousAssignments, List<BibEntry> list of entries in the database entriesInDatabase)Associates the specified group with this node while also providing the possibility to modify previous matched entries so that they are now matched by the new group. |
| public String |
| group | back to summary |
|---|---|
| private AbstractGroup group | |
| PATH_DELIMITER | back to summary |
|---|---|
| private static final String PATH_DELIMITER | |
| GroupTreeNode | back to summary |
|---|---|
| public GroupTreeNode(AbstractGroup group) Creates this node and associates the specified group with it.
| |
| addEntriesToGroup | back to summary |
|---|---|
| public List Adds the specified entries to this group. If the group does not support explicit adding of entries (i.e., does not implement | |
| addSubgroup | back to summary |
|---|---|
| public GroupTreeNode addSubgroup(AbstractGroup subgroup) | |
| copyNode | back to summary |
|---|---|
| public GroupTreeNode copyNode() Implements abstract org. Doc from org. Creates a copy of this node, completely separated from the tree (i.e. no children and no parent)
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| findMatches | back to summary |
|---|---|
| public List Determines the entries in the specified list which are matched by this group. | |
| findMatches | back to summary |
|---|---|
| public List Determines the entries in the specified database which are matched by this group.
| |
| fromGroup | back to summary |
|---|---|
| public static GroupTreeNode fromGroup(AbstractGroup group) | |
| getChildByPath | back to summary |
|---|---|
| public Optional Finds a children using the given path. Each group name should be separated by
The path should be generated using | |
| getContainingGroups | back to summary |
|---|---|
| public List Get only groups containing all the entries or just groups containing any of the
| |
| getEntriesInGroup | back to summary |
|---|---|
| public List | |
| getGroup | back to summary |
|---|---|
| public AbstractGroup getGroup() Returns the group underlying this node.
| |
| getMatchingGroups | back to summary |
|---|---|
| public List Determines all groups in the subtree starting at this node which contain the given entry. | |
| getMatchingGroups | back to summary |
|---|---|
| public List Determines all groups in the subtree starting at this node which contain at least one of the given entries. | |
| getName | back to summary |
|---|---|
| public String getName() Get the name of the underlying group
| |
| getPath | back to summary |
|---|---|
| public String getPath() Get the path from the root of the tree as a string (every group name is separated by The name of the root is not included. | |
| getSearchMatcher | back to summary |
|---|---|
| public SearchMatcher getSearchMatcher() Creates a | |
| getSearchMatcher | back to summary |
|---|---|
| private SearchMatcher getSearchMatcher(GroupHierarchyType originalContext) | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| isSameGroupAs | back to summary |
|---|---|
| public boolean isSameGroupAs(GroupTreeNode other) Returns true if the underlying groups of both | |
| matches | back to summary |
|---|---|
| public boolean matches(BibEntry entry) Returns whether this group matches the specified | |
| removeEntriesFromGroup | back to summary |
|---|---|
| public List Removes the given entries from this group. If the group does not support the explicit removal of entries (i.e., does not implement | |
| setGroup | back to summary |
|---|---|
| public void setGroup(AbstractGroup newGroup)
Deprecated use Associates the specified group with this node.
| |
| setGroup | back to summary |
|---|---|
| public List Associates the specified group with this node while also providing the possibility to modify previous matched entries so that they are now matched by the new group.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |