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
class AppendChar implements Transaction<Appendable> { | |
private final char c; | |
public AppendChar(char c) { | |
this.c = c; | |
} | |
public void executeOn(Appendable prevalentSystem, Date executionTime) { | |
prevalentSystem.append(c); | |
} | |
} |
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
import java.lang.invoke.MethodHandle; | |
import java.lang.invoke.MethodHandles; | |
import java.lang.invoke.MethodHandles.Lookup; | |
import java.lang.invoke.MethodType; | |
import java.util.Arrays; | |
import java.util.Collections; | |
import java.util.Date; | |
import java.util.Map; | |
import java.util.WeakHashMap; |
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
package org.prevayler.contrib.eight; | |
import static java.lang.String.format; | |
import static java.nio.file.Files.createLink; | |
import static java.nio.file.Files.deleteIfExists; | |
import java.io.Closeable; | |
import java.io.File; | |
import java.io.FileInputStream; | |
import java.io.FileOutputStream; |
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
Windows 8.1 (64) | |
Intel Core i7-3770K 3.9 Ghz | |
8 GB RAM | |
Samsung SSD 840 EVO 120 GB | |
java.version=1.8.0_20 | |
java.vm.name=Java HotSpot(TM) 64-Bit Server VM | |
============================================================= |
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
Windows 8.1 (64) | |
Intel Core i7-3770K 3.9 Ghz | |
8 GB RAM | |
Samsung SSD 840 EVO 120 GB | |
java.version=1.8.0_20 | |
java.vm.name=Java HotSpot(TM) 64-Bit Server VM | |
============================================================= | |
Prevayler vs JDBC Scalability Tests |
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
package databench.prevayler; | |
import java.io.File; | |
import java.io.IOException; | |
import java.util.HashMap; | |
import java.util.Map; | |
import org.prevayler.Prevayler; | |
import org.prevayler.contrib.p8.P8; | |
import org.prevayler.contrib.p8.SynchronizedPrevayler; |
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
package com.squareup.javapoet; | |
import java.io.IOException; | |
import java.lang.reflect.Field; | |
import java.lang.reflect.Method; | |
import java.lang.reflect.Type; | |
import java.util.Collections; | |
import java.util.List; | |
import javax.lang.model.element.Element; |
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
+-- JUnit Vintage | |
| +-- example.JUnit4Tests | |
| | +-- standardJUnit4Test (1 ms) | |
+-- JUnit Jupiter | |
| +-- AssertionsDemo | |
| | +-- timeoutExceeded() (109 ms) | |
| | +-- exceptionTesting() (1 ms) | |
| | +-- timeoutNotExceeded() (0 ms) | |
| | +-- standardAssertions() (1 ms) | |
| | +-- groupedAssertions() (1 ms) |
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
package de.sormuras.advent; | |
import java.io.BufferedReader; | |
import java.io.InputStreamReader; | |
import java.net.URL; | |
import java.net.URLConnection; | |
import java.time.LocalDate; | |
import java.util.Arrays; | |
import java.util.List; |
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
/* | |
* Copyright 2015-2017 the original author or authors. | |
* | |
* All rights reserved. This program and the accompanying materials are | |
* made available under the terms of the Eclipse Public License v1.0 which | |
* accompanies this distribution and is available at | |
* | |
* http://www.eclipse.org/legal/epl-v10.html | |
*/ |
OlderNewer