2018-10-12から1日間の記事一覧
https://stackoverflow.com/questions/37949981/call-child-method-from-parent ref使って、 <Child ref={this.child} /> current.メソッド名()で呼べる。 this.child.current.getAlert(); そのままだとundefinedになる?? コンストラクタでReact.createRef();が必須かも constructor(</child>…
http://d.hatena.ne.jp/nowokay/comment?date=20130522#c import java.util.List; import java.util.function.Supplier; import java.util.ArrayList; public class MyClass { public static void main(String args[]) { List<Supplier<String>> list = new ArrayList<>(); fo</supplier<string>…