Package ubic.gemma.model.annotations
Annotation Type MayBeUninitialized
Indicate that a collection may be intentionally uninitialized.
Operations on an uninitialized collection will always raise a UninitializedCollectionException.
- Author:
- poirigui
- See Also:
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionbooleanIndicate that the collection may be uninitialized but always has a size.
-
Element Details
-
hasSize
boolean hasSizeIndicate that the collection may be uninitialized but always has a size.This means that
Collection.size()andCollection.isEmpty()will work as usual.- Default:
false
-