public int getCompactIndex(int objIndex) {
        return index != null ? index[objIndex] : objIndex;
    }
returns the corresponding index in the compact array

@param objIndex the input index
@return object index in the compacted object array
jme3-core/src/main/java/com/jme3/animation/CompactArray.java