Package ghidra.program.util
Class GroupView
- java.lang.Object
-
- ghidra.program.util.GroupView
-
- All Implemented Interfaces:
java.io.Serializable
public class GroupView extends java.lang.Object implements java.io.SerializableClass to define a selection of GroupPath objects.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddPath(GroupPath path)Add the given group path to this view.booleanequals(java.lang.Object obj)Test if the given object is equal to this.intgetCount()Get the number of paths in the viewGroupPathgetPath(int index)Get the path at the specified index.java.lang.StringtoString()Return string representation for this object.
-
-
-
Method Detail
-
addPath
public void addPath(GroupPath path)
Add the given group path to this view.- Parameters:
path- path to add
-
getCount
public int getCount()
Get the number of paths in the view
-
getPath
public GroupPath getPath(int index)
Get the path at the specified index.- Parameters:
index- the index of the desired path in the view.- Throws:
java.lang.ArrayIndexOutOfBoundsException- if index is invalid.
-
equals
public boolean equals(java.lang.Object obj)
Test if the given object is equal to this.- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
Return string representation for this object.- Overrides:
toStringin classjava.lang.Object
-
-