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.Serializable
Class to define a selection of GroupPath objects.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addPath(GroupPath path)
Add the given group path to this view.boolean
equals(java.lang.Object obj)
Test if the given object is equal to this.int
getCount()
Get the number of paths in the viewGroupPath
getPath(int index)
Get the path at the specified index.java.lang.String
toString()
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:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
Return string representation for this object.- Overrides:
toString
in classjava.lang.Object
-
-