/** * @return true if list is empty . */ public boolean isEmpty() { this.assertValueNotNull(); return this.getValue().isEmpty(); }
/** * {@inheritDoc} * * @see java.lang.Iterable#iterator() */ public Iterator<String> iterator() throws IllegalStateException { this.assertValueNotNull(); return this.getValue().iterator(); }
/** * @return size * @throws IllegalStateException * if value is null. */ public int size() throws IllegalStateException { this.assertValueNotNull(); return this.getValue().size(); }