Interface IMethodTable
public interface IMethodTable
A table of native methods, used when defining classes and virtual methods tables.
-
Method Summary
Modifier and TypeMethodDescriptionintfind(INativeMethodItem entry) Find a method entry.get(int index) Get a method by index.Retrieve the optional address of the table in memory, if there is one.List<? extends INativeMethodItem> getAll()Get all methods.intsize()Get the number of methods in the table.
-
Method Details
-
getAddress
Long getAddress()Retrieve the optional address of the table in memory, if there is one.- Returns:
- table address, or null
-
size
int size()Get the number of methods in the table.- Returns:
- method count
-
get
Get a method by index.- Parameters:
index- method index- Returns:
- method item
-
getAll
List<? extends INativeMethodItem> getAll()Get all methods.- Returns:
- method items
-
find
Find a method entry.- Parameters:
entry- method item- Returns:
- method index, or -1
-