com.algolia.search.models.indexing.HitsWithPosition Maven / Gradle / Ivy
The newest version!
package com.algolia.search.models.indexing;
public class HitsWithPosition {
public HitsWithPosition() {}
public HitsWithPosition(T hit, long page, long position) {
this.hit = hit;
this.page = page;
this.position = position;
}
public T getHit() {
return hit;
}
public HitsWithPosition setHit(T hit) {
this.hit = hit;
return this;
}
public long getPage() {
return page;
}
public HitsWithPosition setPage(long page) {
this.page = page;
return this;
}
public long getPosition() {
return position;
}
public HitsWithPosition setPosition(long position) {
this.position = position;
return this;
}
private T hit;
private long page;
private long position;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy