サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
アメリカ大統領選
jetbrains.github.io
final Environment env = Environments.newInstance("/home/me/.myData"); final Store store = env.computeInTransaction(txn -> env.openStore("Messages", WITHOUT_DUPLICATES, txn)); env.executeInTransaction((txn) -> { store.put(txn, stringToEntry("Hello"), stringToEntry("World!")); }); out.println(env.computeInTransaction(txn -> entryToString(store.get(txn, stringToEntry("Hello"))))); env.close(); Gettin
Your typical test code Here’s some typical test code found in many codebases @Test public void testCalculateTaxRate() { TaxRateCalculator calculator = new TaxRateCalculator(); Int value = calculator.calculateRate(200, 10); assertEquals(300,value); } This code suffers from several issues. Under what conditions is the tax rate calculated? What exactly is it doing? What is the expected outcome? Being
このページを最初にブックマークしてみませんか?
『jetbrains.github.io』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く