Returns next element/empty index from specified index(inclusive).
@param index refence starting index
@param empty true means find next empty index; false means find next element index.
@return next element/empty index per the specified empty since the specified index (inclusive).
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.