See our source code, or take a look at the sparse javadoc.