@Immutable public interface Stands extends Iterable<Stand>
Modifier and Type | Method and Description |
---|---|
boolean |
contains(String name)
Contains a stand with this name?
|
void |
create(String name)
Create empty default stand with this name (runtime exception if
it already exists).
|
Pulses |
flow()
Get flow of recent events.
|
Stand |
get(String name)
Get stand by name (runtime exception if it's absent).
|
void create(@NotNull(message="name can\'t be NULL") String name)
name
- The name of itboolean contains(@NotNull(message="name can\'t be NULL") String name)
name
- The name of it@NotNull(message="stand is never NULL") Stand get(@NotNull(message="stand name can\'t be NULL") String name)
name
- The name of itCopyright © 2009–2014 Rultor Inc.. All rights reserved.