code
stringlengths
73
34.1k
label
stringclasses
1 value
public static base_responses add(nitro_service client, dnsaaaarec resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { dnsaaaarec addresources[] = new dnsaaaarec[resources.length]; for (int i=0;i<resources.length;i++){ addresources[i] = new dnsaaaa...
java
public static base_response delete(nitro_service client, dnsaaaarec resource) throws Exception { dnsaaaarec deleteresource = new dnsaaaarec(); deleteresource.hostname = resource.hostname; deleteresource.ipv6address = resource.ipv6address; return deleteresource.delete_resource(client); }
java
public static base_responses delete(nitro_service client, String hostname[]) throws Exception { base_responses result = null; if (hostname != null && hostname.length > 0) { dnsaaaarec deleteresources[] = new dnsaaaarec[hostname.length]; for (int i=0;i<hostname.length;i++){ deleteresources[i] = new dnsaaaa...
java
public static base_responses delete(nitro_service client, dnsaaaarec resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { dnsaaaarec deleteresources[] = new dnsaaaarec[resources.length]; for (int i=0;i<resources.length;i++){ deleteresources[i] = ne...
java
public static dnsaaaarec[] get(nitro_service service) throws Exception{ dnsaaaarec obj = new dnsaaaarec(); dnsaaaarec[] response = (dnsaaaarec[])obj.get_resources(service); return response; }
java
public static dnsaaaarec[] get(nitro_service service, dnsaaaarec_args args) throws Exception{ dnsaaaarec obj = new dnsaaaarec(); options option = new options(); option.set_args(nitro_util.object_to_string_withoutquotes(args)); dnsaaaarec[] response = (dnsaaaarec[])obj.get_resources(service, option); return re...
java
private String addIndexInputToList(String name, IndexInput in, String postingsFormatName) throws IOException { if (indexInputList.get(name) != null) { indexInputList.get(name).close(); } if (in != null) { String localPostingsFormatName = postingsFormatName; if (localPostingsFormatNam...
java
public static appfwprofile_cookieconsistency_binding[] get(nitro_service service, String name) throws Exception{ appfwprofile_cookieconsistency_binding obj = new appfwprofile_cookieconsistency_binding(); obj.set_name(name); appfwprofile_cookieconsistency_binding response[] = (appfwprofile_cookieconsistency_bindin...
java
public static rnatip_stats[] get(nitro_service service, options option) throws Exception{ rnatip_stats obj = new rnatip_stats(); rnatip_stats[] response = (rnatip_stats[])obj.stat_resources(service,option); return response; }
java
public static rnatip_stats get(nitro_service service, String Rnatip) throws Exception{ rnatip_stats obj = new rnatip_stats(); obj.set_Rnatip(Rnatip); rnatip_stats response = (rnatip_stats) obj.stat_resource(service); return response; }
java
public static clusternodegroup_binding get(nitro_service service, String name) throws Exception{ clusternodegroup_binding obj = new clusternodegroup_binding(); obj.set_name(name); clusternodegroup_binding response = (clusternodegroup_binding) obj.get_resource(service); return response; }
java
public static lbvserver_servicegroupmember_binding[] get(nitro_service service, String name) throws Exception{ lbvserver_servicegroupmember_binding obj = new lbvserver_servicegroupmember_binding(); obj.set_name(name); lbvserver_servicegroupmember_binding response[] = (lbvserver_servicegroupmember_binding[]) obj.g...
java
public static void main(String[] args) { try { TreeFactory tf = new LabeledScoredTreeFactory(); Reader r = new BufferedReader(new InputStreamReader(new FileInputStream(args[0]), "UTF-8")); TreeReader tr = new PennTreeReader(r, tf); Tree t = tr.readTree(); while (t != null) { ...
java
public static base_response clear(nitro_service client, Interface resource) throws Exception { Interface clearresource = new Interface(); clearresource.id = resource.id; return clearresource.perform_operation(client,"clear"); }
java
public static base_responses clear(nitro_service client, Interface resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { Interface clearresources[] = new Interface[resources.length]; for (int i=0;i<resources.length;i++){ clearresources[i] = new Inte...
java
public static base_response update(nitro_service client, Interface resource) throws Exception { Interface updateresource = new Interface(); updateresource.id = resource.id; updateresource.speed = resource.speed; updateresource.duplex = resource.duplex; updateresource.flowctl = resource.flowctl; updateresour...
java
public static base_responses update(nitro_service client, Interface resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { Interface updateresources[] = new Interface[resources.length]; for (int i=0;i<resources.length;i++){ updateresources[i] = new I...
java
public static base_response unset(nitro_service client, Interface resource, String[] args) throws Exception{ Interface unsetresource = new Interface(); unsetresource.id = resource.id; return unsetresource.unset_resource(client,args); }
java
public static base_response enable(nitro_service client, String id) throws Exception { Interface enableresource = new Interface(); enableresource.id = id; return enableresource.perform_operation(client,"enable"); }
java
public static base_responses enable(nitro_service client, String id[]) throws Exception { base_responses result = null; if (id != null && id.length > 0) { Interface enableresources[] = new Interface[id.length]; for (int i=0;i<id.length;i++){ enableresources[i] = new Interface(); enableresources[i].id ...
java
public static base_response disable(nitro_service client, String id) throws Exception { Interface disableresource = new Interface(); disableresource.id = id; return disableresource.perform_operation(client,"disable"); }
java
public static base_responses disable(nitro_service client, String id[]) throws Exception { base_responses result = null; if (id != null && id.length > 0) { Interface disableresources[] = new Interface[id.length]; for (int i=0;i<id.length;i++){ disableresources[i] = new Interface(); disableresources[i]...
java
public static base_response reset(nitro_service client, Interface resource) throws Exception { Interface resetresource = new Interface(); resetresource.id = resource.id; return resetresource.perform_operation(client,"reset"); }
java
public static base_responses reset(nitro_service client, Interface resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { Interface resetresources[] = new Interface[resources.length]; for (int i=0;i<resources.length;i++){ resetresources[i] = new Inte...
java
public static Interface[] get(nitro_service service) throws Exception{ Interface obj = new Interface(); Interface[] response = (Interface[])obj.get_resources(service); return response; }
java
public static Interface get(nitro_service service, String id) throws Exception{ Interface obj = new Interface(); obj.set_id(id); Interface response = (Interface) obj.get_resource(service); return response; }
java
@Override public boolean containsKey(Object key) { // key could be not in original or in deltaMap // key could be not in original but in deltaMap // key could be in original but removed from deltaMap // key could be in original but mapped to something else in deltaMap Object value = deltaMap...
java
@Override public V get(Object key) { // key could be not in original or in deltaMap // key could be not in original but in deltaMap // key could be in original but removed from deltaMap // key could be in original but mapped to something else in deltaMap V deltaResult = deltaMap.get(key); ...
java
@Override @SuppressWarnings("unchecked") public V put(K key, V value) { if (value == null) { return put(key, (V)nullValue); } // key could be not in original or in deltaMap // key could be not in original but in deltaMap // key could be in original but removed from deltaMap //...
java
public static vpnvserver_cachepolicy_binding[] get(nitro_service service, String name) throws Exception{ vpnvserver_cachepolicy_binding obj = new vpnvserver_cachepolicy_binding(); obj.set_name(name); vpnvserver_cachepolicy_binding response[] = (vpnvserver_cachepolicy_binding[]) obj.get_resources(service); retur...
java
public static base_response update(nitro_service client, bridgetable resource) throws Exception { bridgetable updateresource = new bridgetable(); updateresource.bridgeage = resource.bridgeage; return updateresource.update_resource(client); }
java
public static base_responses update(nitro_service client, bridgetable resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { bridgetable updateresources[] = new bridgetable[resources.length]; for (int i=0;i<resources.length;i++){ updateresources[i] =...
java
public static base_response unset(nitro_service client, bridgetable resource, String[] args) throws Exception{ bridgetable unsetresource = new bridgetable(); return unsetresource.unset_resource(client,args); }
java
public static base_responses unset(nitro_service client, bridgetable resources[], String[] args) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { bridgetable unsetresources[] = new bridgetable[resources.length]; for (int i=0;i<resources.length;i++){ unsetr...
java
public static base_response clear(nitro_service client, bridgetable resource) throws Exception { bridgetable clearresource = new bridgetable(); clearresource.vlan = resource.vlan; clearresource.ifnum = resource.ifnum; return clearresource.perform_operation(client,"clear"); }
java
public static base_responses clear(nitro_service client, bridgetable resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { bridgetable clearresources[] = new bridgetable[resources.length]; for (int i=0;i<resources.length;i++){ clearresources[i] = ne...
java
public static bridgetable[] get(nitro_service service) throws Exception{ bridgetable obj = new bridgetable(); bridgetable[] response = (bridgetable[])obj.get_resources(service); return response; }
java
public static base_response update(nitro_service client, nsdiameter resource) throws Exception { nsdiameter updateresource = new nsdiameter(); updateresource.identity = resource.identity; updateresource.realm = resource.realm; updateresource.serverclosepropagation = resource.serverclosepropagation; return upd...
java
public static base_response unset(nitro_service client, nsdiameter resource, String[] args) throws Exception{ nsdiameter unsetresource = new nsdiameter(); return unsetresource.unset_resource(client,args); }
java
public static nsdiameter get(nitro_service service) throws Exception{ nsdiameter obj = new nsdiameter(); nsdiameter[] response = (nsdiameter[])obj.get_resources(service); return response[0]; }
java
public static base_response add(nitro_service client, gslbservice resource) throws Exception { gslbservice addresource = new gslbservice(); addresource.servicename = resource.servicename; addresource.cnameentry = resource.cnameentry; addresource.ip = resource.ip; addresource.servername = resource.servername; ...
java
public static base_responses add(nitro_service client, gslbservice resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { gslbservice addresources[] = new gslbservice[resources.length]; for (int i=0;i<resources.length;i++){ addresources[i] = new gslb...
java
public static base_response delete(nitro_service client, String servicename) throws Exception { gslbservice deleteresource = new gslbservice(); deleteresource.servicename = servicename; return deleteresource.delete_resource(client); }
java
public static base_response update(nitro_service client, gslbservice resource) throws Exception { gslbservice updateresource = new gslbservice(); updateresource.servicename = resource.servicename; updateresource.ipaddress = resource.ipaddress; updateresource.publicip = resource.publicip; updateresource.public...
java
public static base_responses update(nitro_service client, gslbservice resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { gslbservice updateresources[] = new gslbservice[resources.length]; for (int i=0;i<resources.length;i++){ updateresources[i] =...
java
public static base_responses unset(nitro_service client, gslbservice resources[], String[] args) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { gslbservice unsetresources[] = new gslbservice[resources.length]; for (int i=0;i<resources.length;i++){ unsetr...
java
public static base_response rename(nitro_service client, gslbservice resource, String new_servicename) throws Exception { gslbservice renameresource = new gslbservice(); renameresource.servicename = resource.servicename; return renameresource.rename_resource(client,new_servicename); }
java
public static gslbservice[] get(nitro_service service) throws Exception{ gslbservice obj = new gslbservice(); gslbservice[] response = (gslbservice[])obj.get_resources(service); return response; }
java
public static gslbservice get(nitro_service service, String servicename) throws Exception{ gslbservice obj = new gslbservice(); obj.set_servicename(servicename); gslbservice response = (gslbservice) obj.get_resource(service); return response; }
java
public static gslbservice[] get_filtered(nitro_service service, filtervalue[] filter) throws Exception{ gslbservice obj = new gslbservice(); options option = new options(); option.set_filter(filter); gslbservice[] response = (gslbservice[]) obj.getfiltered(service, option); return response; }
java
public static aaaglobal_binding get(nitro_service service) throws Exception{ aaaglobal_binding obj = new aaaglobal_binding(); aaaglobal_binding response = (aaaglobal_binding) obj.get_resource(service); return response; }
java
public static base_response add(nitro_service client, clusterinstance resource) throws Exception { clusterinstance addresource = new clusterinstance(); addresource.clid = resource.clid; addresource.deadinterval = resource.deadinterval; addresource.hellointerval = resource.hellointerval; addresource.preemption...
java
public static base_responses add(nitro_service client, clusterinstance resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { clusterinstance addresources[] = new clusterinstance[resources.length]; for (int i=0;i<resources.length;i++){ addresources[i...
java
public static base_response delete(nitro_service client, Long clid) throws Exception { clusterinstance deleteresource = new clusterinstance(); deleteresource.clid = clid; return deleteresource.delete_resource(client); }
java
public static base_responses delete(nitro_service client, clusterinstance resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { clusterinstance deleteresources[] = new clusterinstance[resources.length]; for (int i=0;i<resources.length;i++){ deletere...
java
public static base_response update(nitro_service client, clusterinstance resource) throws Exception { clusterinstance updateresource = new clusterinstance(); updateresource.clid = resource.clid; updateresource.deadinterval = resource.deadinterval; updateresource.hellointerval = resource.hellointerval; updater...
java
public static base_responses update(nitro_service client, clusterinstance resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { clusterinstance updateresources[] = new clusterinstance[resources.length]; for (int i=0;i<resources.length;i++){ updatere...
java
public static base_response unset(nitro_service client, clusterinstance resource, String[] args) throws Exception{ clusterinstance unsetresource = new clusterinstance(); unsetresource.clid = resource.clid; return unsetresource.unset_resource(client,args); }
java
public static base_responses unset(nitro_service client, Long clid[], String args[]) throws Exception { base_responses result = null; if (clid != null && clid.length > 0) { clusterinstance unsetresources[] = new clusterinstance[clid.length]; for (int i=0;i<clid.length;i++){ unsetresources[i] = new cluster...
java
public static base_response enable(nitro_service client, Long clid) throws Exception { clusterinstance enableresource = new clusterinstance(); enableresource.clid = clid; return enableresource.perform_operation(client,"enable"); }
java
public static base_responses enable(nitro_service client, Long clid[]) throws Exception { base_responses result = null; if (clid != null && clid.length > 0) { clusterinstance enableresources[] = new clusterinstance[clid.length]; for (int i=0;i<clid.length;i++){ enableresources[i] = new clusterinstance(); ...
java
public static base_response disable(nitro_service client, Long clid) throws Exception { clusterinstance disableresource = new clusterinstance(); disableresource.clid = clid; return disableresource.perform_operation(client,"disable"); }
java
public static base_responses disable(nitro_service client, Long clid[]) throws Exception { base_responses result = null; if (clid != null && clid.length > 0) { clusterinstance disableresources[] = new clusterinstance[clid.length]; for (int i=0;i<clid.length;i++){ disableresources[i] = new clusterinstance(...
java
public static clusterinstance[] get(nitro_service service) throws Exception{ clusterinstance obj = new clusterinstance(); clusterinstance[] response = (clusterinstance[])obj.get_resources(service); return response; }
java
public static clusterinstance get(nitro_service service, Long clid) throws Exception{ clusterinstance obj = new clusterinstance(); obj.set_clid(clid); clusterinstance response = (clusterinstance) obj.get_resource(service); return response; }
java
public static clusterinstance[] get(nitro_service service, Long clid[]) throws Exception{ if (clid !=null && clid.length>0) { clusterinstance response[] = new clusterinstance[clid.length]; clusterinstance obj[] = new clusterinstance[clid.length]; for (int i=0;i<clid.length;i++) { obj[i] = new clusterinst...
java
public static vpnglobal_vpnnexthopserver_binding[] get(nitro_service service) throws Exception{ vpnglobal_vpnnexthopserver_binding obj = new vpnglobal_vpnnexthopserver_binding(); vpnglobal_vpnnexthopserver_binding response[] = (vpnglobal_vpnnexthopserver_binding[]) obj.get_resources(service); return response; }
java
public static appfwpolicy_csvserver_binding[] get(nitro_service service, String name) throws Exception{ appfwpolicy_csvserver_binding obj = new appfwpolicy_csvserver_binding(); obj.set_name(name); appfwpolicy_csvserver_binding response[] = (appfwpolicy_csvserver_binding[]) obj.get_resources(service); return res...
java
public static vpnvserver_aaapreauthenticationpolicy_binding[] get(nitro_service service, String name) throws Exception{ vpnvserver_aaapreauthenticationpolicy_binding obj = new vpnvserver_aaapreauthenticationpolicy_binding(); obj.set_name(name); vpnvserver_aaapreauthenticationpolicy_binding response[] = (vpnvserve...
java
public static base_response Shutdown(nitro_service client, shutdown resource) throws Exception { shutdown Shutdownresource = new shutdown(); return Shutdownresource.perform_operation(client); }
java
public HashSet<String> getDataById(String id) throws IOException { if (idToVersion.containsKey(id)) { return get(id); } else { return null; } }
java
public Automaton getAutomatonById(String id) throws IOException { if (idToVersion.containsKey(id)) { List<BytesRef> bytesArray = new ArrayList<>(); Set<String> data = get(id); if (data != null) { Term term; for (String item : data) { term = new Term("dummy", item); ...
java
public void deleteById(String id) { if (idToVersion.containsKey(id)) { String version = idToVersion.remove(id); expirationVersion.remove(version); versionToItem.remove(version); if (collectionCachePath != null && !collectionCachePath.resolve(version).toFile().delete()) { lo...
java
private String filterTag(String tag) { AttributeValues answerAV = TagSet.getTagSet().fromTag(tag); answerAV.removeNonlexicalAttributes(); return TagSet.getTagSet().toTag(answerAV); }
java
public static base_response update(nitro_service client, ipv6 resource) throws Exception { ipv6 updateresource = new ipv6(); updateresource.ralearning = resource.ralearning; updateresource.routerredirection = resource.routerredirection; updateresource.ndbasereachtime = resource.ndbasereachtime; updateresource...
java
public static base_response unset(nitro_service client, ipv6 resource, String[] args) throws Exception{ ipv6 unsetresource = new ipv6(); return unsetresource.unset_resource(client,args); }
java
public static ipv6 get(nitro_service service) throws Exception{ ipv6 obj = new ipv6(); ipv6[] response = (ipv6[])obj.get_resources(service); return response[0]; }
java
public static filterpolicy_binding get(nitro_service service, String name) throws Exception{ filterpolicy_binding obj = new filterpolicy_binding(); obj.set_name(name); filterpolicy_binding response = (filterpolicy_binding) obj.get_resource(service); return response; }
java
public static base_response unset(nitro_service client, coparameter resource, String[] args) throws Exception{ coparameter unsetresource = new coparameter(); return unsetresource.unset_resource(client,args); }
java
public static base_response add(nitro_service client, dbdbprofile resource) throws Exception { dbdbprofile addresource = new dbdbprofile(); addresource.name = resource.name; addresource.interpretquery = resource.interpretquery; addresource.stickiness = resource.stickiness; addresource.kcdaccount = resource.kc...
java
public static base_responses add(nitro_service client, dbdbprofile resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { dbdbprofile addresources[] = new dbdbprofile[resources.length]; for (int i=0;i<resources.length;i++){ addresources[i] = new dbdb...
java
public static base_response update(nitro_service client, dbdbprofile resource) throws Exception { dbdbprofile updateresource = new dbdbprofile(); updateresource.name = resource.name; updateresource.interpretquery = resource.interpretquery; updateresource.stickiness = resource.stickiness; updateresource.kcdacc...
java
public static base_responses update(nitro_service client, dbdbprofile resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { dbdbprofile updateresources[] = new dbdbprofile[resources.length]; for (int i=0;i<resources.length;i++){ updateresources[i] =...
java
public static dbdbprofile[] get(nitro_service service) throws Exception{ dbdbprofile obj = new dbdbprofile(); dbdbprofile[] response = (dbdbprofile[])obj.get_resources(service); return response; }
java
public static dbdbprofile get(nitro_service service, String name) throws Exception{ dbdbprofile obj = new dbdbprofile(); obj.set_name(name); dbdbprofile response = (dbdbprofile) obj.get_resource(service); return response; }
java
public static dbdbprofile[] get_filtered(nitro_service service, filtervalue[] filter) throws Exception{ dbdbprofile obj = new dbdbprofile(); options option = new options(); option.set_filter(filter); dbdbprofile[] response = (dbdbprofile[]) obj.getfiltered(service, option); return response; }
java
public Boolean checkType(String type) { if (mtasPositionType == null) { return false; } else { return mtasPositionType.equals(type); } }
java
public Integer getEnd() { if (mtasPositionType.equals(POSITION_RANGE) || mtasPositionType.equals(POSITION_SET)) { return mtasPositionEnd; } else if (mtasPositionType.equals(POSITION_SINGLE)) { return mtasPositionStart; } else { return null; } }
java
public static wisite_farmname_binding[] get(nitro_service service, String sitepath) throws Exception{ wisite_farmname_binding obj = new wisite_farmname_binding(); obj.set_sitepath(sitepath); wisite_farmname_binding response[] = (wisite_farmname_binding[]) obj.get_resources(service); return response; }
java
public static base_response add(nitro_service client, cachepolicylabel resource) throws Exception { cachepolicylabel addresource = new cachepolicylabel(); addresource.labelname = resource.labelname; addresource.evaluates = resource.evaluates; return addresource.add_resource(client); }
java
public static base_responses add(nitro_service client, cachepolicylabel resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { cachepolicylabel addresources[] = new cachepolicylabel[resources.length]; for (int i=0;i<resources.length;i++){ addresource...
java
public static cachepolicylabel[] get(nitro_service service) throws Exception{ cachepolicylabel obj = new cachepolicylabel(); cachepolicylabel[] response = (cachepolicylabel[])obj.get_resources(service); return response; }
java
public static cachepolicylabel get(nitro_service service, String labelname) throws Exception{ cachepolicylabel obj = new cachepolicylabel(); obj.set_labelname(labelname); cachepolicylabel response = (cachepolicylabel) obj.get_resource(service); return response; }
java
public static authenticationldappolicy_authenticationvserver_binding[] get(nitro_service service, String name) throws Exception{ authenticationldappolicy_authenticationvserver_binding obj = new authenticationldappolicy_authenticationvserver_binding(); obj.set_name(name); authenticationldappolicy_authenticationvse...
java
public static dnszone_domain_binding[] get(nitro_service service, String zonename) throws Exception{ dnszone_domain_binding obj = new dnszone_domain_binding(); obj.set_zonename(zonename); dnszone_domain_binding response[] = (dnszone_domain_binding[]) obj.get_resources(service); return response; }
java
public static long count(nitro_service service, String zonename) throws Exception{ dnszone_domain_binding obj = new dnszone_domain_binding(); obj.set_zonename(zonename); options option = new options(); option.set_count(true); dnszone_domain_binding response[] = (dnszone_domain_binding[]) obj.get_resources(ser...
java
public static lbvserver_rewritepolicy_binding[] get(nitro_service service, String name) throws Exception{ lbvserver_rewritepolicy_binding obj = new lbvserver_rewritepolicy_binding(); obj.set_name(name); lbvserver_rewritepolicy_binding response[] = (lbvserver_rewritepolicy_binding[]) obj.get_resources(service); ...
java
public static String ptb2Text(String ptbText) { StringBuilder sb = new StringBuilder(ptbText.length()); // probably an overestimate PTB2TextLexer lexer = new PTB2TextLexer(new StringReader(ptbText)); try { for (String token; (token = lexer.next()) != null; ) { sb.append(token); } ...
java
public static int ptb2Text(Reader ptbText, Writer w) throws IOException { int numTokens = 0; PTB2TextLexer lexer = new PTB2TextLexer(ptbText); for (String token; (token = lexer.next()) != null; ) { numTokens++; w.write(token); } return numTokens; }
java
public static <T extends HasWord> TokenizerFactory<T> factory(LexedTokenFactory<T> factory, String options) { return new PTBTokenizerFactory<T>(factory, options); }
java