org.mapdb.serializer.SerializerStringDelta Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mapdb Show documentation
Show all versions of mapdb Show documentation
MapDB provides concurrent Maps, Sets and Queues backed by disk storage or off-heap memory. It is a fast, scalable and easy to use embedded Java database.
package org.mapdb.serializer;
import org.mapdb.*;
import java.io.IOException;
/**
* Created by jan on 2/29/16.
*/
public class SerializerStringDelta extends SerializerString{
protected static int commonPrefixLen(char[][] chars) {
//$DELAY$
for(int ret=0;;ret++){
if(chars[0].length==ret) {
return ret;
}
char byt = chars[0][ret];
for(int i=1;i
© 2015 - 2025 Weber Informatics LLC | Privacy Policy