25 lines
767 B
Java
25 lines
767 B
Java
package org.greenrobot.greendao.query;
|
|
|
|
import org.greenrobot.greendao.AbstractDao;
|
|
|
|
/* loaded from: classes2.dex */
|
|
abstract class AbstractQueryWithLimit<T> extends AbstractQuery<T> {
|
|
protected final int f;
|
|
protected final int g;
|
|
|
|
protected AbstractQueryWithLimit(AbstractDao<T, ?> abstractDao, String str, String[] strArr, int i, int i2) {
|
|
super(abstractDao, str, strArr);
|
|
this.f = i;
|
|
this.g = i2;
|
|
}
|
|
|
|
@Override // org.greenrobot.greendao.query.AbstractQuery
|
|
public AbstractQueryWithLimit<T> a(int i, Object obj) {
|
|
if (i < 0 || !(i == this.f || i == this.g)) {
|
|
super.a(i, obj);
|
|
return this;
|
|
}
|
|
throw new IllegalArgumentException("Illegal parameter index: " + i);
|
|
}
|
|
}
|