public Object[] toArrayHelper(int offset) {
        final int n = colGetSize();
        Object[] result = new Object[n];
        for (int i = 0; i < n; i++) {
            result[i] = colGetEntry(i, offset);
        }
        return result;
    }
Helper for writing standard Java collection interfaces to a data
structure like {@link ArrayMap}.

@author RePlugin Team
replugin-host-library/replugin-host-lib/src/main/java/com/qihoo360/replugin/utils/basic/MapCollections.java