Code examples for Vector

Codota analyzed 7,668,838 open source code samples to find the most common, credible and clear examples.
You can now enable Codota on your own code to easily search and navigate your Java codebase.
148:	private final List<MyThread> _threads = new Vector<MyThread>(); 
Full Snippet Info
9
CodeRank
22:	private List<ScenarioAction> actionList = new Vector<ScenarioAction>(); 
Full Snippet Info
9
CodeRank
45:	_messages = new Vector<Object>(); 
Full Snippet Info
9
CodeRank
103:	_messages = new Vector<Object>(); 
Full Snippet Info
9
CodeRank
181:	if (mChildNodes.contains(oldChild)) { 
-
184:	mChildNodes.remove(newChild); 
-
188:	mChildNodes.setElementAt(newChild, mChildNodes.indexOf(oldChild)); 
Full Snippet Info
7
CodeRank
27:	Vector args = new Vector(); 
-
32:	args.add("-FileName"); 
-
34:	args.add(dir + "/" + "jaxrules14.sig"); 
-
36:	args.add(dir + "/" + "jaxrules.sig"); 
-
38:	args.add(dir + "/" + "jaxrules17.sig"); 
-
41:	args.add("-Package"); 
42:	args.add("javax.rules"); 
-
48:	status = test.run((String[]) args.toArray(new String[0]), 
Full Snippet Info
7
CodeRank
28:	private Vector<Node> mNodes = new Vector<Node>(); 
Full Snippet Info
7
CodeRank
93:	result = new Vector(); 
-
95:	result.add("-S"); 
96:	result.add("" + getSeed()); 
-
98:	return (String[]) result.toArray(new String[result.size()]); 
Full Snippet Info
7
CodeRank
28:	terms = new Vector(); 
Full Snippet Info
9
CodeRank
38:	Vector<String> list = new Vector<String>(); 
39:	list.add("one"); 
40:	list.add("two"); 
41:	list.add("three"); 
42:	list.add("four"); 
-
46:	try { Thread.sleep(2000); } 
-
51:	list.remove("three"); 
Full Snippet Info
7
CodeRank
21:	List<GrammarRule> rules = new Vector<GrammarRule>(); 
22:	rules.add(rule); 
23:	rules.add(rule1); 
-
25:	Grammar gr1 = new Grammar(rules, nonterminal); 
-
30:	assertTrue(gr.allRules().containsAll(rules)); 
Full Snippet Info
7
CodeRank
91:	Vector<Object> v = new Vector<Object>(); 
92:	v.add("JMSXGroupID"); 
93:	v.add("JMSXGroupSeq"); 
94:	v.add("JMSXDeliveryCount"); 
95:	return v.elements(); 
Full Snippet Info
7
CodeRank
37:	if (_names.contains(key)) { 
38:	_names.remove(key); 
-
41:	_names.add((String)key); 
Full Snippet Info
7
CodeRank
93:	result = new Vector(); 
-
95:	result.add("-S"); 
96:	result.add("" + getSeed()); 
-
98:	return (String[]) result.toArray(new String[result.size()]); 
Full Snippet Info
7
CodeRank
55:	private Vector names = new Vector(); 
Full Snippet Info
9
CodeRank
70:	result = new Vector<String>(); 
-
72:	result.add("-delimiters"); 
73:	result.add(getDelimiters()); 
-
75:	return result.toArray(new String[result.size()]); 
Full Snippet Info
7
CodeRank
69:	Vector<String> v = new Vector<String>(); 
70:	v.add("a"); 
-
73:	v.indexOf("a", -1); 
-
80:	v.lastIndexOf("a", 2); 
-
87:	v.setSize(-1); 
Full Snippet Info
7
CodeRank
93:	result = new Vector(); 
-
95:	result.add("-S"); 
96:	result.add("" + getSeed()); 
-
98:	return (String[]) result.toArray(new String[result.size()]); 
Full Snippet Info
7
CodeRank
36:	mParts = new Vector<PduPart>(); 
Full Snippet Info
7
CodeRank
34:	Vector _elements = new Vector(); 
Full Snippet Info
8
CodeRank