public abstract class RecorderBuilder<T,S>
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected T |
active |
protected Allocator<T> |
allocator |
protected Clock |
clock |
protected FlipControl<T> |
flipControl |
protected T |
inactive |
| Constructor and Description |
|---|
RecorderBuilder() |
| Modifier and Type | Method and Description |
|---|---|
abstract S |
build() |
RecorderBuilder<T,S> |
initialActive(T active) |
RecorderBuilder<T,S> |
initialInactive(T inactive) |
RecorderBuilder<T,S> |
withAllocator(Allocator<T> allocator) |
RecorderBuilder<T,S> |
withClock(Clock clock) |
RecorderBuilder<T,S> |
withRecorder(FlipControl<T> flipControl) |
protected FlipControl<T> flipControl
protected T active
protected T inactive
protected Clock clock
public RecorderBuilder<T,S> initialActive(T active)
public RecorderBuilder<T,S> initialInactive(T inactive)
public RecorderBuilder<T,S> withAllocator(Allocator<T> allocator)
public RecorderBuilder<T,S> withRecorder(FlipControl<T> flipControl)
public RecorderBuilder<T,S> withClock(Clock clock)
public abstract S build()
Copyright © 2014 Tim Brooks. All Rights Reserved.