|
Gridarta Editor
|
Utility class for array related functions. More...
Collaboration diagram for net.sf.gridarta.utils.ArrayUtils:Static Public Member Functions | |
| static boolean | contains (final byte[] src, final int offset, final byte[] search) |
| Helper method that checks whether a region in a byte array at a given offset contains the same as another byte array. More... | |
Private Member Functions | |
| ArrayUtils () | |
| Private constructor to prevent instantiation. More... | |
Utility class for array related functions.
Definition at line 26 of file ArrayUtils.java.
|
private |
Private constructor to prevent instantiation.
Definition at line 31 of file ArrayUtils.java.
|
static |
Helper method that checks whether a region in a byte array at a given offset contains the same as another byte array.
It's used by loadAllDaimoninPNGFromCollect as a replacement for the C-function strncmp() (but invocation args are a bit different).
| src | source byte array |
| offset | offset to start comparison |
| search | byte array containing the bytes to search |
Definition at line 45 of file ArrayUtils.java.
Referenced by net.sf.gridarta.model.face.DefaultFaceObjects.loadFacesCollection().
Here is the caller graph for this function: