Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View markozajc's full-sized avatar

Marko Zajc markozajc

View GitHub Profile
import static java.lang.Integer.toHexString;
import static java.lang.Math.*;
import static java.lang.System.out;
import static java.util.Arrays.stream;
public class Bitfuck {
public static void main(String[] args) {
var counts = new int[] { 6, 30, 13 };
var names = new String[] { "firstvalue", "secondvalue", "thirdvalue"};
import java.util.concurrent.ExecutionException;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.TimeoutException;
/**
* A concurrent lock that blocks until another thread sends a message.
*
* @author Marko Zajc
*
* @param <M>