- 制限時間:10分
- Web検索してもOK
- 自分の一番得意な言語でやる
- 実行はいつでも何回やってもOK
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
abstract class Reactor<in Action, Mutation, State, Navigation>(state: State) { | |
private val actionSubject: Subject<Action> = PublishSubject.create() | |
private val initialViewState = state | |
var currentViewState = initialViewState | |
private set | |
val stateStream: Observable<State> | |
init { | |
val mutationsStream = actionSubject.flatMap { mutate(it) }.replay().refCount() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
namespace RunRun | |
{ | |
public class Jone | |
{ | |
public static void Run() |