jimu-decompiled/sources/org/greenrobot/greendao/query/AbstractQueryWithLimit.java
2025-05-13 19:24:51 +02:00

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);
}
}