adding isNullOrEmpty
update to javadocs