@@ -132,10 +132,23 @@ public List<alloperators> getAllOperators() {
132
132
getCombinList (alloperatorses );
133
133
getErrorList (alloperatorses );
134
134
getUtilityList (alloperatorses );
135
+ getStringList (alloperatorses );
135
136
return alloperatorses ;
136
137
}
137
138
138
139
140
+ private void getStringList (List <alloperators > alloperatorses ) {
141
+ alloperatorses .add (new alloperators (i ++, "byLine()" , "将一个字符串的Observable转换为一个行序列的Observable,这个Observable将原来的序列当做流处理,然后按换行符分割" , CommonString .byLine , OperatorsUrl .byLine , parentId ));
142
+ alloperatorses .add (new alloperators (i ++, "decode()" , "将一个多字节的字符流转换为一个Observable,它按字符边界发射字节数组" , CommonString .decode , OperatorsUrl .decode , parentId ));
143
+ alloperatorses .add (new alloperators (i ++, "encode()" , "对一个发射字符串的Observable执行变换操作,变换后的Observable发射一个在原始字符串中表示多字节字符边界的字节数组" , CommonString .encode , OperatorsUrl .encode , parentId ));
144
+ alloperatorses .add (new alloperators (i ++, "from()" , "将一个字符流或者Reader转换为一个发射字节数组或者字符串的Observable" , CommonString .from_String , OperatorsUrl .from_String , parentId ));
145
+ alloperatorses .add (new alloperators (i ++, "join()" , "将一个发射字符串序列的Observable转换为一个发射单个字符串的Observable,后者用一个指定的字符串连接所有的字符串" , CommonString .join , OperatorsUrl .join , parentId ));
146
+ alloperatorses .add (new alloperators (i ++, "split()" , "将一个发射字符串的Observable转换为另一个发射字符串的Observable,后者使用一个指定的正则表达式边界分割前者发射的所有字符串" , CommonString .split , OperatorsUrl .split , parentId ));
147
+ alloperatorses .add (new alloperators (i ++, "stringConcat()" , "将一个发射字符串序列的Observable转换为一个发射单个字符串的Observable,后者连接前者发射的所有字符串" , CommonString .stringConcat , OperatorsUrl .stringConcat , parentId ));
148
+ parentId ++;
149
+ }
150
+
151
+
139
152
private void getUtilityList (List <alloperators > alloperatorses ) {
140
153
alloperatorses .add (new alloperators (i ++, "Materialize()" , "将Observable转换成一个通知列表convert an Observable into a list of Notifications" , CommonString .Materialize , OperatorsUrl .Materialize , parentId ));
141
154
alloperatorses .add (new alloperators (i ++, "Dematerialize()" , "将上面的结果逆转回一个Observable" , CommonString .Dematerialize , OperatorsUrl .Dematerialize , parentId ));
0 commit comments