当前位置: 首页>>代码示例>>Java>>正文


Java TypeUtils.fnv1a_64方法代码示例

本文整理汇总了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;
}
 
开发者ID:weiwenqiang,项目名称:GitHub,代码行数:27,代码来源:JSONPath.java

示例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]);
    }
}
 
开发者ID:weiwenqiang,项目名称:GitHub,代码行数:8,代码来源:JSONPath.java

示例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;
}
 
开发者ID:weiwenqiang,项目名称:GitHub,代码行数:10,代码来源:JSONPath.java

示例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;
}
 
开发者ID:weiwenqiang,项目名称:GitHub,代码行数:8,代码来源:JSONPath.java

示例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;
}
 
开发者ID:weiwenqiang,项目名称:GitHub,代码行数:6,代码来源:JSONPath.java

示例6: NotNullSegement

import com.alibaba.fastjson.util.TypeUtils; //导入方法依赖的package包/类
public NotNullSegement(String propertyName){
    this.propertyName = propertyName;
    this.propertyNameHash = TypeUtils.fnv1a_64(propertyName);
}
 
开发者ID:weiwenqiang,项目名称:GitHub,代码行数:5,代码来源:JSONPath.java

示例7: NullSegement

import com.alibaba.fastjson.util.TypeUtils; //导入方法依赖的package包/类
public NullSegement(String propertyName){
    this.propertyName = propertyName;
    this.propertyNameHash = TypeUtils.fnv1a_64(propertyName);
}
 
开发者ID:weiwenqiang,项目名称:GitHub,代码行数:5,代码来源:JSONPath.java

示例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;
}
 
开发者ID:weiwenqiang,项目名称:GitHub,代码行数:7,代码来源:JSONPath.java

示例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;
}
 
开发者ID:weiwenqiang,项目名称:GitHub,代码行数:7,代码来源:JSONPath.java

示例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;
}
 
开发者ID:weiwenqiang,项目名称:GitHub,代码行数:7,代码来源:JSONPath.java

示例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;
}
 
开发者ID:weiwenqiang,项目名称:GitHub,代码行数:7,代码来源:JSONPath.java

示例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);
}
 
开发者ID:weiwenqiang,项目名称:GitHub,代码行数:7,代码来源:JSONPath.java

示例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;
}
 
开发者ID:weiwenqiang,项目名称:GitHub,代码行数:7,代码来源:JSONPath.java

示例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;
}
 
开发者ID:weiwenqiang,项目名称:GitHub,代码行数:7,代码来源:JSONPath.java


注:本文中的com.alibaba.fastjson.util.TypeUtils.fnv1a_64方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。