public interface Emptily
This interface is intended to be used with the Is, IsNot
and Require utilities to perform emptiness checks in the form:
if( Is.empty(emptilyObject) )
// Do something
if( IsNot.empty(emptilyObject) )
// Do something
or
Require.nonEmpty( emptilyObject, "The given object cannot be empty" );
| Modifier and Type | Method and Description |
|---|---|
boolean |
isEmpty()
Returns
true if this object is empty. |
Copyright © 2011–2020 Nerd4j. All rights reserved.