public final class Signal<T,Id> extends Object
| Modifier and Type | Method and Description |
|---|---|
Class<T> |
cls() |
static <T,Id> Signal<T,Id> |
create(Class<T> cls,
Id id,
Event<? super T> event) |
static <T,Id> Signal<T,Id> |
create(Class<T> cls,
Id id,
Event<? super T> event,
long time) |
static <T,Id> Signal<T,Id> |
create(Class<T> cls,
Id id,
Event<? super T> event,
Optional<Long> time) |
static <T,Id> Signal<T,Id> |
create(ClassId<T,Id> c,
Event<? super T> event) |
static <T,Id> Signal<T,Id> |
create(ClassId<T,Id> c,
Event<? super T> event,
Optional<Long> time) |
Event<? super T> |
event() |
Id |
id() |
boolean |
isImmediate() |
Signal<T,Id> |
now() |
Optional<Long> |
time() |
String |
toString() |
public static <T,Id> Signal<T,Id> create(Class<T> cls, Id id, Event<? super T> event, long time)
public static <T,Id> Signal<T,Id> create(Class<T> cls, Id id, Event<? super T> event, Optional<Long> time)
public static <T,Id> Signal<T,Id> create(ClassId<T,Id> c, Event<? super T> event, Optional<Long> time)
public Id id()
public boolean isImmediate()
Copyright © 2013–2019. All rights reserved.