remove static string compressor from QueryCompletionIndex

This commit is contained in:
2021-09-18 19:24:30 +02:00
parent 311af4b9e9
commit 3e1002a99d
4 changed files with 39 additions and 29 deletions

View File

@@ -6,6 +6,7 @@ package org.lucares.pdb.api;
* 'Sam' is the value.
*/
public class Tag implements Comparable<Tag> {
private final int field;
private final int value;
@@ -42,6 +43,10 @@ public class Tag implements Comparable<Tag> {
return value;
}
public Tag unsetValue() {
return new Tag(field, -1);
}
@Override
public String toString() {
return field + "=" + value;