当前位置:网站首页>设置索引库结构,给用户添加可自动补全的suggestion,并将一些字段变成集合放到suggestion里面去
设置索引库结构,给用户添加可自动补全的suggestion,并将一些字段变成集合放到suggestion里面去
2022-07-17 05:12:00 【其然乐衣】
设置索引库结构,给用户添加可自动补全的suggestion,并将一些字段变成集合放到suggestion里面去

若business有多个值,可进行切割

进行切割
//将brand 和 business 变成集合放到suggestion里
if(this.business.contains("/")){
//business有多个值,需要切割
String[] arr = this.business.split("/");
//添加元素
this.suggestion = new ArrayList<String>();
Collections.addAll(this.suggestion,arr);
}else
this.suggestion = Arrays.asList(this.brand,this.business);
切割成功

边栏推荐
- Contrastive learning for image semantic segmentation (two articles)
- Rs-485/232 to 4-20ma/0-10v isolated d/a converter
- CV-Model【2】:Alexnet
- DAC7512N 模拟混合信号IC转换器
- Pytorch learning notes [4]: learn from images
- 什么是tSD/qSD?CS创世 SD NAND到底是什么?
- HRA 1~12W 系列12V《宽压9~18V》转±250VDC等升压变换器
- 2019CS品牌SDNAND和eMMC选择对比重要分析
- Material and application circuit diagram of 0-10V, 4-20mA current voltage to PWM isolation converter
- Golang multi project workspace construction
猜你喜欢
随机推荐
String distance problem
Pytorch learning notes [4]: learn from images
CUDA编程-05:流和事件
CV-Model【2】:Alexnet
Pressure strain bridge signal processing photoelectric isolation amplifier
3U VPX导冷高性能SRIO/以太网数据交换板
3.7V锂电池升压到5V1A,FS2114升压转换芯片设计布局
Image compression based on Quadtree
4-20ma转4-20ma 0-5v转0-5v 模拟信号隔离变送器
Pytorch learning notes [2]: learning mechanism
minio安装部署及简单使用
Conversion, isolation and transmission of international standard signals 0-5v/0-10v/1-5v, 0-10ma/0-20ma/4-20ma, etc
李宏毅机器学习2022.7.15--梯度下降
FMC 子卡:4 通道 12bit 3.2G、 2 路 12bit、6.4G AD 采集/ 5G采集卡/6G采集卡
Dac7512n analog mixed signal IC converter
HRA隔离系列 宽电压输入 正负高电压稳压输出
Xinlinx zynq7020、7045国产替代 FMQL45T900 全国产化 ARM 核心板+扩展板
比例阀放大板1A、2A、3A、5A比例阀驱动模块0-10V转0-24V
Thermal resistance PT100 cu50 isolation converter to 4-20mA analog output temperature transmitter 0-10V
4-20MA转0-5KHz,5V脉冲转换器









