/*
* Copyright (C) 2015 RankSys http://ranksys.org
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
package org.ranksys.compression.codecs.lemire;
import java.io.Serializable;
import java.util.function.Supplier;
import me.lemire.integercompression.Composition;
import me.lemire.integercompression.IntegerCODEC;
import me.lemire.integercompression.NewPFD;
import me.lemire.integercompression.VariableByte;
/**
* NewPFD (with Variable Byte as fallback).
*
* @author Saúl Vargas (Saul.Vargas@glasgow.ac.uk)
*/
public class NewPFDVBCODEC extends LemireCODEC {
/**
* Constructor.
*/
public NewPFDVBCODEC() {
super((Supplier<IntegerCODEC> & Serializable) () -> new Composition(new NewPFD(), new VariableByte()));
}
}