private static BitSet readBitSet(Parcel src) {
		BitSet set = new BitSet();
		if (src == null) {
			return set;
		}
		int cardinality = src.readInt();


		for (int i = 0; i < cardinality; i++) {
			set.set(src.readInt());
		}

		return set;
	}
Utility methods to read and write a bitset from and to a Parcel
library/src/main/java/com/tjerkw/slideexpandable/library/AbstractSlideExpandableListAdapter.java