@Override
		public boolean hasNext() {
			return nextIndex < data.length;
		}
Return an array of {@code T} with length {@code capacity}.

@param capacity the length of the array to return
@return the newly constructed array
runtime/Java/src/org/antlr/v4/runtime/misc/Array2DHashSet.java