Skip to content

Instantly share code, notes, and snippets.

@cidermole
cidermole / rbtree.hpp
Created Jun 10, 2016 — forked from upsuper/rbtree.hpp
A Red-Black Tree implemented in C++ (need C++11)
View rbtree.hpp
#ifndef RBTREE_RBTREE_H_
#define RBTREE_RBTREE_H_
#include <cstddef>
#include <cassert>
#include <utility>
namespace upsuper {
namespace learning {
View TestWCJava2.java
import java.io.BufferedOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.nio.MappedByteBuffer;
import java.nio.channels.FileChannel;
import java.util.Random;
public class TestWCJava2 {