public synchronized Record
first() {
	if (rrs.size() == 0)
		throw new IllegalStateException("rrset is empty");
	return (Record) rrs.get(0);
}
Returns the first record
@throws IllegalStateException if the rrset is empty
src/main/java/core/org/xbill/DNS/RRset.java