public int []
toArray() {
	int [] array = new int[types.size()];
	int n = 0;
	for (Iterator it = types.iterator(); it.hasNext(); )
		array[n++] = ((Integer)it.next()).intValue();
	return array;
}
Routines for deal with the lists of types found in NSEC/NSEC3 records.

@author Brian Wellington
src/main/java/core/org/xbill/DNS/TypeBitmap.java