added files.
This commit is contained in:
commit
277c85eacd
150 files changed
+16138
No files matched your search
@@ -0,0 +1,33 @@
|
||||
package me.konsolas.aac.api;
|
||||
|
||||
import java.util.Collections;
|
||||
import java.util.LinkedHashMap;
|
||||
import java.util.Map;
|
||||
|
||||
public class AACCustomFeature {
|
||||
|
||||
private final String info;
|
||||
|
||||
private final double score;
|
||||
|
||||
private final Map tooltip = new LinkedHashMap();
|
||||
|
||||
public AACCustomFeature(String text, String info, double score, Map entries) {
|
||||
this.info = info;
|
||||
this.score = score;
|
||||
this.tooltip.put("id", text);
|
||||
this.tooltip.putAll(entries);
|
||||
}
|
||||
|
||||
public String getInfo() {
|
||||
return this.info;
|
||||
}
|
||||
|
||||
public Map getTooltip() {
|
||||
return Collections.unmodifiableMap(this.tooltip);
|
||||
}
|
||||
|
||||
public double getScore() {
|
||||
return this.score;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user