本文整理汇总了Java中com.alibaba.fastjson.util.TypeUtils.fnv1a_64方法的典型用法代码示例。如果您正苦于以下问题:Java TypeUtils.fnv1a_64方法的具体用法?Java TypeUtils.fnv1a_64怎么用?Java TypeUtils.fnv1a_64使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类com.alibaba.fastjson.util.TypeUtils
的用法示例。
在下文中一共展示了TypeUtils.fnv1a_64方法的14个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: MatchSegement
import com.alibaba.fastjson.util.TypeUtils; //导入方法依赖的package包/类
public MatchSegement(String propertyName, String startsWithValue, String endsWithValue, String[] containsValues,
boolean not){
this.propertyName = propertyName;
this.propertyNameHash = TypeUtils.fnv1a_64(propertyName);
this.startsWithValue = startsWithValue;
this.endsWithValue = endsWithValue;
this.containsValues = containsValues;
this.not = not;
int len = 0;
if (startsWithValue != null) {
len += startsWithValue.length();
}
if (endsWithValue != null) {
len += endsWithValue.length();
}
if (containsValues != null) {
for (String item : containsValues) {
len += item.length();
}
}
this.minLength = len;
}
示例2: MultiPropertySegement
import com.alibaba.fastjson.util.TypeUtils; //导入方法依赖的package包/类
public MultiPropertySegement(String[] propertyNames){
this.propertyNames = propertyNames;
this.propertyNamesHash = new long[propertyNames.length];
for (int i = 0; i < propertyNamesHash.length; i++) {
propertyNamesHash[i] = TypeUtils.fnv1a_64(propertyNames[i]);
}
}
示例3: ValueSegment
import com.alibaba.fastjson.util.TypeUtils; //导入方法依赖的package包/类
public ValueSegment(String propertyName, Object value, boolean eq){
if (value == null) {
throw new IllegalArgumentException("value is null");
}
this.propertyName = propertyName;
this.propertyNameHash = TypeUtils.fnv1a_64(propertyName);
this.value = value;
this.eq = eq;
}
示例4: IntBetweenSegement
import com.alibaba.fastjson.util.TypeUtils; //导入方法依赖的package包/类
public IntBetweenSegement(String propertyName, long startValue, long endValue, boolean not){
this.propertyName = propertyName;
this.propertyNameHash = TypeUtils.fnv1a_64(propertyName);
this.startValue = startValue;
this.endValue = endValue;
this.not = not;
}
示例5: PropertySegement
import com.alibaba.fastjson.util.TypeUtils; //导入方法依赖的package包/类
public PropertySegement(String propertyName, boolean deep){
this.propertyName = propertyName;
this.propertyNameHash = TypeUtils.fnv1a_64(propertyName);
this.deep = deep;
}
示例6: NotNullSegement
import com.alibaba.fastjson.util.TypeUtils; //导入方法依赖的package包/类
public NotNullSegement(String propertyName){
this.propertyName = propertyName;
this.propertyNameHash = TypeUtils.fnv1a_64(propertyName);
}
示例7: NullSegement
import com.alibaba.fastjson.util.TypeUtils; //导入方法依赖的package包/类
public NullSegement(String propertyName){
this.propertyName = propertyName;
this.propertyNameHash = TypeUtils.fnv1a_64(propertyName);
}
示例8: IntInSegement
import com.alibaba.fastjson.util.TypeUtils; //导入方法依赖的package包/类
public IntInSegement(String propertyName, long[] values, boolean not){
this.propertyName = propertyName;
this.propertyNameHash = TypeUtils.fnv1a_64(propertyName);
this.values = values;
this.not = not;
}
示例9: IntObjInSegement
import com.alibaba.fastjson.util.TypeUtils; //导入方法依赖的package包/类
public IntObjInSegement(String propertyName, Long[] values, boolean not){
this.propertyName = propertyName;
this.propertyNameHash = TypeUtils.fnv1a_64(propertyName);
this.values = values;
this.not = not;
}
示例10: StringInSegement
import com.alibaba.fastjson.util.TypeUtils; //导入方法依赖的package包/类
public StringInSegement(String propertyName, String[] values, boolean not){
this.propertyName = propertyName;
this.propertyNameHash = TypeUtils.fnv1a_64(propertyName);
this.values = values;
this.not = not;
}
示例11: IntOpSegement
import com.alibaba.fastjson.util.TypeUtils; //导入方法依赖的package包/类
public IntOpSegement(String propertyName, long value, Operator op){
this.propertyName = propertyName;
this.propertyNameHash = TypeUtils.fnv1a_64(propertyName);
this.value = value;
this.op = op;
}
示例12: DoubleOpSegement
import com.alibaba.fastjson.util.TypeUtils; //导入方法依赖的package包/类
public DoubleOpSegement(String propertyName, double value, Operator op){
this.propertyName = propertyName;
this.value = value;
this.op = op;
propertyNameHash = TypeUtils.fnv1a_64(propertyName);
}
示例13: RlikeSegement
import com.alibaba.fastjson.util.TypeUtils; //导入方法依赖的package包/类
public RlikeSegement(String propertyName, String pattern, boolean not){
this.propertyName = propertyName;
this.propertyNameHash = TypeUtils.fnv1a_64(propertyName);
this.pattern = Pattern.compile(pattern);
this.not = not;
}
示例14: StringOpSegement
import com.alibaba.fastjson.util.TypeUtils; //导入方法依赖的package包/类
public StringOpSegement(String propertyName, String value, Operator op){
this.propertyName = propertyName;
this.propertyNameHash = TypeUtils.fnv1a_64(propertyName);
this.value = value;
this.op = op;
}