query
stringlengths
7
33.1k
document
stringlengths
7
335k
metadata
dict
negatives
listlengths
3
101
negative_scores
listlengths
3
101
document_score
stringlengths
3
10
document_rank
stringclasses
102 values
repeated .appscode.ci.v1beta1.Agent agents = 1;
public java.util.List<com.appscode.api.ci.v1beta1.Agent> getAgentsList() { return agents_; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public java.util.List<? extends com.appscode.api.ci.v1beta1.AgentOrBuilder> \n getAgentsOrBuilderList() {\n return agents_;\n }", "public Builder addAgents(com.appscode.api.ci.v1beta1.Agent value) {\n if (agentsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerExcept...
[ "0.6618716", "0.65855277", "0.6511378", "0.6417877", "0.6395333", "0.6360733", "0.6344078", "0.6309685", "0.6302586", "0.6243509", "0.6228132", "0.6217455", "0.62171274", "0.6197533", "0.6190165", "0.61691797", "0.6159441", "0.6154656", "0.614179", "0.6139357", "0.6123053", ...
0.6381057
5
repeated .appscode.ci.v1beta1.Agent agents = 1;
public java.util.List<? extends com.appscode.api.ci.v1beta1.AgentOrBuilder> getAgentsOrBuilderList() { return agents_; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Builder addAgents(com.appscode.api.ci.v1beta1.Agent value) {\n if (agentsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n ensureAgentsIsMutable();\n agents_.add(value);\n onChanged();\n } else {\n agentsBuilder_...
[ "0.6585908", "0.65137243", "0.64185333", "0.6396455", "0.63829774", "0.63631266", "0.63445365", "0.6311936", "0.63049984", "0.62444", "0.6229512", "0.6218479", "0.6217541", "0.61986876", "0.6191288", "0.6171051", "0.6160996", "0.6157164", "0.61433506", "0.6142023", "0.6123639...
0.66199493
0
repeated .appscode.ci.v1beta1.Agent agents = 1;
public int getAgentsCount() { return agents_.size(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public java.util.List<? extends com.appscode.api.ci.v1beta1.AgentOrBuilder> \n getAgentsOrBuilderList() {\n return agents_;\n }", "public Builder addAgents(com.appscode.api.ci.v1beta1.Agent value) {\n if (agentsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerExcept...
[ "0.66192716", "0.6584888", "0.65108615", "0.64180946", "0.6394472", "0.638128", "0.6361315", "0.63445354", "0.6308792", "0.63028985", "0.62435037", "0.6228182", "0.62185234", "0.6216316", "0.61977077", "0.6189978", "0.6168902", "0.6154247", "0.6141905", "0.61397105", "0.61236...
0.6159426
17
repeated .appscode.ci.v1beta1.Agent agents = 1;
public com.appscode.api.ci.v1beta1.Agent getAgents(int index) { return agents_.get(index); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public java.util.List<? extends com.appscode.api.ci.v1beta1.AgentOrBuilder> \n getAgentsOrBuilderList() {\n return agents_;\n }", "public Builder addAgents(com.appscode.api.ci.v1beta1.Agent value) {\n if (agentsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerExcept...
[ "0.66192716", "0.6584888", "0.65108615", "0.64180946", "0.6394472", "0.638128", "0.6361315", "0.63445354", "0.6308792", "0.63028985", "0.62435037", "0.62185234", "0.6216316", "0.61977077", "0.6189978", "0.6168902", "0.6159426", "0.6154247", "0.6141905", "0.61397105", "0.61236...
0.6228182
11
repeated .appscode.ci.v1beta1.Agent agents = 1;
public com.appscode.api.ci.v1beta1.AgentOrBuilder getAgentsOrBuilder( int index) { return agents_.get(index); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public java.util.List<? extends com.appscode.api.ci.v1beta1.AgentOrBuilder> \n getAgentsOrBuilderList() {\n return agents_;\n }", "public Builder addAgents(com.appscode.api.ci.v1beta1.Agent value) {\n if (agentsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerExcept...
[ "0.6618716", "0.65855277", "0.6511378", "0.6395333", "0.6381057", "0.6360733", "0.6344078", "0.6309685", "0.6302586", "0.6243509", "0.6228132", "0.6217455", "0.62171274", "0.6197533", "0.6190165", "0.61691797", "0.6159441", "0.6154656", "0.614179", "0.6139357", "0.6123053", ...
0.6417877
3
repeated .appscode.ci.v1beta1.Agent agents = 1;
public java.util.List<com.appscode.api.ci.v1beta1.Agent> getAgentsList() { if (agentsBuilder_ == null) { return java.util.Collections.unmodifiableList(agents_); } else { return agentsBuilder_.getMessageList(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public java.util.List<? extends com.appscode.api.ci.v1beta1.AgentOrBuilder> \n getAgentsOrBuilderList() {\n return agents_;\n }", "public Builder addAgents(com.appscode.api.ci.v1beta1.Agent value) {\n if (agentsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerExcept...
[ "0.66199493", "0.6585908", "0.65137243", "0.64185333", "0.6396455", "0.63829774", "0.63631266", "0.63445365", "0.6311936", "0.63049984", "0.62444", "0.6229512", "0.6218479", "0.6217541", "0.61986876", "0.6191288", "0.6171051", "0.6160996", "0.6157164", "0.61433506", "0.614202...
0.60976374
23
repeated .appscode.ci.v1beta1.Agent agents = 1;
public int getAgentsCount() { if (agentsBuilder_ == null) { return agents_.size(); } else { return agentsBuilder_.getCount(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public java.util.List<? extends com.appscode.api.ci.v1beta1.AgentOrBuilder> \n getAgentsOrBuilderList() {\n return agents_;\n }", "public Builder addAgents(com.appscode.api.ci.v1beta1.Agent value) {\n if (agentsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerExcept...
[ "0.66192716", "0.6584888", "0.65108615", "0.64180946", "0.6394472", "0.638128", "0.6361315", "0.63445354", "0.6308792", "0.63028985", "0.62435037", "0.6228182", "0.62185234", "0.6216316", "0.61977077", "0.6189978", "0.6168902", "0.6159426", "0.6154247", "0.6141905", "0.613971...
0.5678647
42
repeated .appscode.ci.v1beta1.Agent agents = 1;
public com.appscode.api.ci.v1beta1.Agent getAgents(int index) { if (agentsBuilder_ == null) { return agents_.get(index); } else { return agentsBuilder_.getMessage(index); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public java.util.List<? extends com.appscode.api.ci.v1beta1.AgentOrBuilder> \n getAgentsOrBuilderList() {\n return agents_;\n }", "public Builder addAgents(com.appscode.api.ci.v1beta1.Agent value) {\n if (agentsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerExcept...
[ "0.66192716", "0.6584888", "0.65108615", "0.64180946", "0.6394472", "0.638128", "0.6361315", "0.63445354", "0.6308792", "0.63028985", "0.62435037", "0.6228182", "0.62185234", "0.6216316", "0.6189978", "0.6168902", "0.6159426", "0.6154247", "0.6141905", "0.61397105", "0.612368...
0.61977077
14
repeated .appscode.ci.v1beta1.Agent agents = 1;
public Builder setAgents( int index, com.appscode.api.ci.v1beta1.Agent value) { if (agentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAgentsIsMutable(); agents_.set(index, value); onChanged(); } else { agentsBuilder_.setMessage(index, value); } return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public java.util.List<? extends com.appscode.api.ci.v1beta1.AgentOrBuilder> \n getAgentsOrBuilderList() {\n return agents_;\n }", "public Builder addAgents(com.appscode.api.ci.v1beta1.Agent value) {\n if (agentsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerExcept...
[ "0.6618716", "0.65855277", "0.6511378", "0.6417877", "0.6381057", "0.6360733", "0.6344078", "0.6309685", "0.6302586", "0.6243509", "0.6228132", "0.6217455", "0.62171274", "0.6197533", "0.6190165", "0.61691797", "0.6159441", "0.6154656", "0.614179", "0.6139357", "0.6123053", ...
0.6395333
4
repeated .appscode.ci.v1beta1.Agent agents = 1;
public Builder setAgents( int index, com.appscode.api.ci.v1beta1.Agent.Builder builderForValue) { if (agentsBuilder_ == null) { ensureAgentsIsMutable(); agents_.set(index, builderForValue.build()); onChanged(); } else { agentsBuilder_.setMessage(index, builderForValue.build()); } return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public java.util.List<? extends com.appscode.api.ci.v1beta1.AgentOrBuilder> \n getAgentsOrBuilderList() {\n return agents_;\n }", "public Builder addAgents(com.appscode.api.ci.v1beta1.Agent value) {\n if (agentsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerExcept...
[ "0.66199493", "0.6585908", "0.65137243", "0.64185333", "0.6396455", "0.63829774", "0.63631266", "0.63445365", "0.6311936", "0.63049984", "0.62444", "0.6229512", "0.6218479", "0.6217541", "0.61986876", "0.6191288", "0.6171051", "0.6160996", "0.6157164", "0.61433506", "0.614202...
0.5326003
72
repeated .appscode.ci.v1beta1.Agent agents = 1;
public Builder addAgents(com.appscode.api.ci.v1beta1.Agent value) { if (agentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAgentsIsMutable(); agents_.add(value); onChanged(); } else { agentsBuilder_.addMessage(value); } return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public java.util.List<? extends com.appscode.api.ci.v1beta1.AgentOrBuilder> \n getAgentsOrBuilderList() {\n return agents_;\n }", "T setJavaAgents(List<JavaAgent> javaAgents);", "public com.appscode.api.ci.v1beta1.AgentOrBuilder getAgentsOrBuilder(\n int index) {\n return agents_.get(index);\n...
[ "0.66192716", "0.65108615", "0.64180946", "0.6394472", "0.638128", "0.6361315", "0.63445354", "0.6308792", "0.63028985", "0.62435037", "0.6228182", "0.62185234", "0.6216316", "0.61977077", "0.6189978", "0.6168902", "0.6159426", "0.6154247", "0.6141905", "0.61397105", "0.61236...
0.6584888
1
repeated .appscode.ci.v1beta1.Agent agents = 1;
public Builder addAgents( int index, com.appscode.api.ci.v1beta1.Agent value) { if (agentsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAgentsIsMutable(); agents_.add(index, value); onChanged(); } else { agentsBuilder_.addMessage(index, value); } return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public java.util.List<? extends com.appscode.api.ci.v1beta1.AgentOrBuilder> \n getAgentsOrBuilderList() {\n return agents_;\n }", "public Builder addAgents(com.appscode.api.ci.v1beta1.Agent value) {\n if (agentsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerExcept...
[ "0.66192716", "0.6584888", "0.65108615", "0.64180946", "0.6394472", "0.638128", "0.6361315", "0.63445354", "0.6308792", "0.63028985", "0.62435037", "0.6228182", "0.62185234", "0.61977077", "0.6189978", "0.6168902", "0.6159426", "0.6154247", "0.6141905", "0.61397105", "0.61236...
0.6216316
13
repeated .appscode.ci.v1beta1.Agent agents = 1;
public Builder addAgents( com.appscode.api.ci.v1beta1.Agent.Builder builderForValue) { if (agentsBuilder_ == null) { ensureAgentsIsMutable(); agents_.add(builderForValue.build()); onChanged(); } else { agentsBuilder_.addMessage(builderForValue.build()); } return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public java.util.List<? extends com.appscode.api.ci.v1beta1.AgentOrBuilder> \n getAgentsOrBuilderList() {\n return agents_;\n }", "public Builder addAgents(com.appscode.api.ci.v1beta1.Agent value) {\n if (agentsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerExcept...
[ "0.6618716", "0.65855277", "0.6511378", "0.6417877", "0.6395333", "0.6381057", "0.6360733", "0.6344078", "0.6309685", "0.6302586", "0.6243509", "0.6228132", "0.6217455", "0.62171274", "0.6197533", "0.6190165", "0.61691797", "0.6159441", "0.6154656", "0.614179", "0.6139357", ...
0.53030103
74
repeated .appscode.ci.v1beta1.Agent agents = 1;
public Builder addAgents( int index, com.appscode.api.ci.v1beta1.Agent.Builder builderForValue) { if (agentsBuilder_ == null) { ensureAgentsIsMutable(); agents_.add(index, builderForValue.build()); onChanged(); } else { agentsBuilder_.addMessage(index, builderForValue.build()); } return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public java.util.List<? extends com.appscode.api.ci.v1beta1.AgentOrBuilder> \n getAgentsOrBuilderList() {\n return agents_;\n }", "public Builder addAgents(com.appscode.api.ci.v1beta1.Agent value) {\n if (agentsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerExcept...
[ "0.66199493", "0.6585908", "0.65137243", "0.64185333", "0.6396455", "0.63829774", "0.63631266", "0.63445365", "0.6311936", "0.63049984", "0.62444", "0.6229512", "0.6218479", "0.6217541", "0.61986876", "0.6191288", "0.6171051", "0.6160996", "0.6157164", "0.61433506", "0.614202...
0.51645887
88
repeated .appscode.ci.v1beta1.Agent agents = 1;
public Builder addAllAgents( java.lang.Iterable<? extends com.appscode.api.ci.v1beta1.Agent> values) { if (agentsBuilder_ == null) { ensureAgentsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, agents_); onChanged(); } else { agentsBuilder_.addAllMessages(values); } return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public java.util.List<? extends com.appscode.api.ci.v1beta1.AgentOrBuilder> \n getAgentsOrBuilderList() {\n return agents_;\n }", "public Builder addAgents(com.appscode.api.ci.v1beta1.Agent value) {\n if (agentsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerExcept...
[ "0.66192716", "0.6584888", "0.65108615", "0.64180946", "0.6394472", "0.638128", "0.6361315", "0.63445354", "0.6308792", "0.63028985", "0.62435037", "0.6228182", "0.62185234", "0.6216316", "0.61977077", "0.6189978", "0.6168902", "0.6159426", "0.6154247", "0.6141905", "0.613971...
0.5557368
50
repeated .appscode.ci.v1beta1.Agent agents = 1;
public Builder clearAgents() { if (agentsBuilder_ == null) { agents_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { agentsBuilder_.clear(); } return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public java.util.List<? extends com.appscode.api.ci.v1beta1.AgentOrBuilder> \n getAgentsOrBuilderList() {\n return agents_;\n }", "public Builder addAgents(com.appscode.api.ci.v1beta1.Agent value) {\n if (agentsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerExcept...
[ "0.66192716", "0.6584888", "0.65108615", "0.64180946", "0.6394472", "0.638128", "0.6361315", "0.63445354", "0.6308792", "0.63028985", "0.62435037", "0.6228182", "0.62185234", "0.6216316", "0.61977077", "0.6189978", "0.6168902", "0.6159426", "0.6154247", "0.6141905", "0.613971...
0.5658466
43
repeated .appscode.ci.v1beta1.Agent agents = 1;
public Builder removeAgents(int index) { if (agentsBuilder_ == null) { ensureAgentsIsMutable(); agents_.remove(index); onChanged(); } else { agentsBuilder_.remove(index); } return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public java.util.List<? extends com.appscode.api.ci.v1beta1.AgentOrBuilder> \n getAgentsOrBuilderList() {\n return agents_;\n }", "public Builder addAgents(com.appscode.api.ci.v1beta1.Agent value) {\n if (agentsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerExcept...
[ "0.6618716", "0.65855277", "0.6511378", "0.6417877", "0.6395333", "0.6381057", "0.6360733", "0.6344078", "0.6309685", "0.6302586", "0.6243509", "0.6228132", "0.6217455", "0.62171274", "0.6197533", "0.6190165", "0.61691797", "0.6159441", "0.6154656", "0.614179", "0.6139357", ...
0.0
-1
repeated .appscode.ci.v1beta1.Agent agents = 1;
public com.appscode.api.ci.v1beta1.Agent.Builder getAgentsBuilder( int index) { return getAgentsFieldBuilder().getBuilder(index); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public java.util.List<? extends com.appscode.api.ci.v1beta1.AgentOrBuilder> \n getAgentsOrBuilderList() {\n return agents_;\n }", "public Builder addAgents(com.appscode.api.ci.v1beta1.Agent value) {\n if (agentsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerExcept...
[ "0.66199493", "0.6585908", "0.65137243", "0.64185333", "0.6396455", "0.63829774", "0.63631266", "0.63445365", "0.6311936", "0.63049984", "0.62444", "0.6229512", "0.6218479", "0.6217541", "0.61986876", "0.6191288", "0.6171051", "0.6160996", "0.6157164", "0.61433506", "0.614202...
0.5493867
53
repeated .appscode.ci.v1beta1.Agent agents = 1;
public com.appscode.api.ci.v1beta1.AgentOrBuilder getAgentsOrBuilder( int index) { if (agentsBuilder_ == null) { return agents_.get(index); } else { return agentsBuilder_.getMessageOrBuilder(index); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public java.util.List<? extends com.appscode.api.ci.v1beta1.AgentOrBuilder> \n getAgentsOrBuilderList() {\n return agents_;\n }", "public Builder addAgents(com.appscode.api.ci.v1beta1.Agent value) {\n if (agentsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerExcept...
[ "0.66192716", "0.6584888", "0.65108615", "0.64180946", "0.6394472", "0.638128", "0.6361315", "0.6308792", "0.63028985", "0.62435037", "0.6228182", "0.62185234", "0.6216316", "0.61977077", "0.6189978", "0.6168902", "0.6159426", "0.6154247", "0.6141905", "0.61397105", "0.612368...
0.63445354
7
repeated .appscode.ci.v1beta1.Agent agents = 1;
public java.util.List<? extends com.appscode.api.ci.v1beta1.AgentOrBuilder> getAgentsOrBuilderList() { if (agentsBuilder_ != null) { return agentsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(agents_); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public java.util.List<? extends com.appscode.api.ci.v1beta1.AgentOrBuilder> \n getAgentsOrBuilderList() {\n return agents_;\n }", "public Builder addAgents(com.appscode.api.ci.v1beta1.Agent value) {\n if (agentsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerExcept...
[ "0.66192716", "0.6584888", "0.65108615", "0.64180946", "0.6394472", "0.638128", "0.6361315", "0.63445354", "0.6308792", "0.63028985", "0.62435037", "0.6228182", "0.6216316", "0.61977077", "0.6189978", "0.6168902", "0.6159426", "0.6154247", "0.6141905", "0.61397105", "0.612368...
0.62185234
12
repeated .appscode.ci.v1beta1.Agent agents = 1;
public com.appscode.api.ci.v1beta1.Agent.Builder addAgentsBuilder() { return getAgentsFieldBuilder().addBuilder( com.appscode.api.ci.v1beta1.Agent.getDefaultInstance()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public java.util.List<? extends com.appscode.api.ci.v1beta1.AgentOrBuilder> \n getAgentsOrBuilderList() {\n return agents_;\n }", "public Builder addAgents(com.appscode.api.ci.v1beta1.Agent value) {\n if (agentsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerExcept...
[ "0.6618716", "0.65855277", "0.6511378", "0.6417877", "0.6395333", "0.6381057", "0.6360733", "0.6344078", "0.6309685", "0.6302586", "0.6243509", "0.6228132", "0.6217455", "0.62171274", "0.6197533", "0.61691797", "0.6159441", "0.6154656", "0.614179", "0.6139357", "0.6123053", ...
0.6190165
15
repeated .appscode.ci.v1beta1.Agent agents = 1;
public com.appscode.api.ci.v1beta1.Agent.Builder addAgentsBuilder( int index) { return getAgentsFieldBuilder().addBuilder( index, com.appscode.api.ci.v1beta1.Agent.getDefaultInstance()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public java.util.List<? extends com.appscode.api.ci.v1beta1.AgentOrBuilder> \n getAgentsOrBuilderList() {\n return agents_;\n }", "public Builder addAgents(com.appscode.api.ci.v1beta1.Agent value) {\n if (agentsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerExcept...
[ "0.66199493", "0.6585908", "0.65137243", "0.64185333", "0.6396455", "0.63829774", "0.63631266", "0.63445365", "0.6311936", "0.63049984", "0.62444", "0.6229512", "0.6218479", "0.6217541", "0.61986876", "0.6191288", "0.6171051", "0.6160996", "0.6157164", "0.61433506", "0.614202...
0.5474814
56
repeated .appscode.ci.v1beta1.Agent agents = 1;
public java.util.List<com.appscode.api.ci.v1beta1.Agent.Builder> getAgentsBuilderList() { return getAgentsFieldBuilder().getBuilderList(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public java.util.List<? extends com.appscode.api.ci.v1beta1.AgentOrBuilder> \n getAgentsOrBuilderList() {\n return agents_;\n }", "public Builder addAgents(com.appscode.api.ci.v1beta1.Agent value) {\n if (agentsBuilder_ == null) {\n if (value == null) {\n throw new NullPointerExcept...
[ "0.66192716", "0.6584888", "0.65108615", "0.64180946", "0.6394472", "0.638128", "0.6361315", "0.63445354", "0.6308792", "0.63028985", "0.62435037", "0.6228182", "0.62185234", "0.6216316", "0.61977077", "0.6189978", "0.6168902", "0.6159426", "0.6154247", "0.6141905", "0.613971...
0.0
-1
private static final Logger LOGGER=Logger.getLogger(ForbidenException.class);
public ServerNotFoundException(String message) { super(message); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private ExceptionLogger() {\n }", "private void logException(java.lang.Exception e) {\n }", "static void logWarning(Throwable t) {\n }", "@SuppressWarnings(\"unused\")\r\n\tprivate TransporterException(){\r\n\t\t\r\n\t}", "public static void disableWarning() {\n try {\n Field theUnsafe...
[ "0.64648664", "0.6432292", "0.6298994", "0.6167008", "0.61646587", "0.6056335", "0.60513383", "0.60414815", "0.60367274", "0.6001573", "0.5967995", "0.5883192", "0.58763975", "0.5870188", "0.58539677", "0.5795448", "0.5793084", "0.5768282", "0.5763759", "0.5761361", "0.575826...
0.0
-1
Upload an image for an application
@Test public void uploadAppImageTest() throws ApiException { File file = null; Integer id = null; Application response = api.uploadAppImage(file, id); // TODO: test validations }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "IbeisImage uploadImage(File image) throws UnsupportedImageFileTypeException, IOException, MalformedHttpRequestException,\n UnsuccessfulHttpRequestException;", "public void uploadImage() {\n if (imgPath != null && !imgPath.isEmpty()) {\n //prgDialog.setMessage(\"Converting Image to Bi...
[ "0.72821915", "0.6971019", "0.696938", "0.6964478", "0.6932355", "0.6891965", "0.68811274", "0.67888814", "0.6723737", "0.6710441", "0.6657388", "0.66553855", "0.6619993", "0.6590168", "0.6587495", "0.6581945", "0.65797466", "0.6576634", "0.656716", "0.6540945", "0.6504841", ...
0.7730903
0
thread for writing to network
@Override public void run() { try { socket = new Socket("192.168.0.165", 2000); out = new PrintWriter(socket.getOutputStream()); in = new BufferedReader(new InputStreamReader(socket.getInputStream())); ReadThread readThread = new ReadThread(); readThread.start(); } catch (Exception e) { e.printStackTrace(); } boolean done = false; while (!done) { if (message != null) { try { out.print(message); out.flush(); message = null; } catch (Exception e) { e.printStackTrace(); try { socket.close(); in.close(); out.close(); done = true; } catch (IOException d) { e.printStackTrace(); } } } } disconnect(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void run() throws InterruptedException, IOException {\n endpoint.getWcEvents().take();\n\n //process received data\n processRecv();\n\n for (int i=0; i < 1000000; i++) {\n //change data in remote memory\n writeData(i);\n\n //wait for writing remo...
[ "0.6825758", "0.63578415", "0.6314981", "0.61591184", "0.6113992", "0.6112352", "0.60832626", "0.60542625", "0.60278106", "0.6022507", "0.5996097", "0.5983723", "0.59769326", "0.59756124", "0.5874729", "0.5871394", "0.5870339", "0.582745", "0.58125824", "0.5790155", "0.577238...
0.582831
17
set message to send to pi
void write(String message) { this.message = message; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void sendMsg(){\r\n\t\tsuper.getPPMsg(send);\r\n\t}", "public void sendMessage(String message){\n pw.print(message);\n pw.flush();\n }", "public final void send(MidiMessage msg) {\n device.send(msg);\n }", "private void sendMessage(String message){\n\t\ttry{\n\t\t\toutput....
[ "0.66784495", "0.6514763", "0.62643117", "0.6254364", "0.62357765", "0.6222397", "0.6178669", "0.61354876", "0.61334616", "0.6126038", "0.61219007", "0.61219007", "0.608335", "0.6076794", "0.60552394", "0.60530543", "0.6028377", "0.60208815", "0.60204357", "0.5992051", "0.593...
0.0
-1
TODO Autogenerated method stub
@Override public void actionPerformed(ActionEvent arg0) { dispose(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
checks the multiplier at the points x,y and returns the score receved at that point
private int checkMultiplier(String word, int index, int x, int y, boolean TotalisZero) { ScrabbleWord multiplyScrabbleWord = new ScrabbleWord(word); if((x < 0 )|| (y < 0)) { return -1000; } if(TotalisZero){ return multiplyScrabbleWord.getscore(); } switch(board[y][x]) { case 1: //2 times the letter score return 2*multiplyScrabbleWord.getscoreat(index); case 2: //3 times the letter score return 3*multiplyScrabbleWord.getscoreat(index); case 3: //2 times the word score return 2*multiplyScrabbleWord.getscore(); case 4: //3 times the word score return 3*multiplyScrabbleWord.getscore(); case 0: return 0; } return -1000; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ScoreMultiplier(float x, float y, float multiplier){\r\n\t\tposition.x = x;\r\n\t\tposition.y = y;\r\n\t\tthis.multiplier = multiplier;\r\n\t}", "public int returnPoints()\n {\n return score ;\n }", "Float getScore();", "public abstract double evaluate(Point p);", "public long getScore(int ...
[ "0.6690238", "0.6049733", "0.59973687", "0.59956855", "0.5923077", "0.5922201", "0.5922201", "0.5892796", "0.5874103", "0.58725107", "0.58620995", "0.5859303", "0.58081025", "0.57732004", "0.57693565", "0.5768749", "0.5764765", "0.57502425", "0.57370955", "0.57370955", "0.573...
0.7008373
0
TODO Autogenerated method stub
public static void main(String[] args) { System.setProperty("webdriver.chrome.driver", "C:\\Users\\e3027405\\Downloads\\chromedriver.exe"); //Open Chrome Browser WebDriver Object=new ChromeDriver(); //Get URL Object.get("http://www.leafground.com/pages/checkbox.html"); //checkbox selection-multiselect WebElement checkbox1=Object.findElement(By.xpath("//*[@id=\'contentblock\']/section/div[1]/input[1]")); checkbox1.click(); WebElement checkbox2=Object.findElement(By.xpath("//*[@id=\'contentblock\']/section/div[1]/input[2]")); checkbox2.click(); //verify the checkbox is selected WebElement is_selected=Object.findElement(By.xpath("//*[@id=\'contentblock\']/section/div[2]/input")); boolean status=is_selected.isSelected(); System.out.println(status); //deselect if select or vice versa WebElement firstcheckbox=Object.findElement(By.xpath("//*[@id=\'contentblock\']/section/div[3]/input[1]")); if(firstcheckbox.isSelected()) { firstcheckbox.click(); }else { firstcheckbox.click(); } WebElement secondcheckbox=Object.findElement(By.xpath("//*[@id=\'contentblock\']/section/div[3]/input[2]")); if(secondcheckbox.isSelected()) { secondcheckbox.click(); } else { secondcheckbox.click(); } Object.close(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
Created by Nea on 23/10/2016.
public interface IdeaService { public void addIdea(String ideaTitle, String ideaDescription, User user); public void addIdea(String title, String descrption, CategoryIdea category, User user); public void deleteIdea(Idea idea); public List<Idea> getAllIdeas(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "private stendhal() {\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "public final void mo51373a() {\n }", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\r\n\tpubl...
[ "0.6121877", "0.5899213", "0.5890134", "0.5846097", "0.58229446", "0.5770105", "0.5732554", "0.5732554", "0.5728477", "0.5722059", "0.5718022", "0.5705924", "0.5647929", "0.563447", "0.562901", "0.5600707", "0.55936307", "0.5586114", "0.55783546", "0.5572625", "0.55722344", ...
0.0
-1
/empleado empleado1 = new empleado("paco gomez",8500,1990,12,17); empleado empleado2 = new empleado("Johana",28500,1998,12,17); empleado empleado3 = new empleado("sebastian",98500,1898,12,17); empleado1.aumentoSueldo(10); empleado2.aumentoSueldo(20); empleado3.aumentoSueldo(30); System.out.println("nombre :" + empleado1.dameNombre() + " sueldo" + empleado1.dameSueldo()+ " fecha de alta " + empleado1.dameContrato()); System.out.println("nombre :" + empleado2.dameNombre() + " sueldo" + empleado2.dameSueldo()+ " fecha de alta " + empleado2.dameContrato()); System.out.println("nombre :" + empleado3.dameNombre() + " sueldo" + empleado3.dameSueldo()+ " fecha de alta " + empleado3.dameContrato());
public static void main(String[] args) { empleado[] misEmpleados=new empleado[3]; //String miArray[]=new String[3]; misEmpleados[0]=new empleado("paco gomez",123321,1998,12,12); misEmpleados[1]=new empleado("Johana",28500,1998,12,17); misEmpleados[2]=new empleado("sebastian",98500,1898,12,17); /*for (int i = 0; i < misEmpleados.length; i++) { misEmpleados[i].aumentoSueldo(10); } for (int i = 0; i < misEmpleados.length; i++) { System.out.println("nombre :" + misEmpleados[i].dameNombre() + " sueldo " + misEmpleados[i].dameSueldo()+ " fecha de alta " + misEmpleados[i].dameContrato()); }*/ for (empleado e:misEmpleados) { e.aumentoSueldo(10); } for (empleado e:misEmpleados) { System.out.println("nombre :" + e.dameNombre() + " sueldo " + e.dameSueldo()+ " fecha de alta " + e.dameContrato()); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void main(String[] args) {\n\t\tEmpleados empleado1 = new Empleados(\"Carlos Arquero\",16000,2016,6,03);\r\n\t\tEmpleados empleado2 = new Empleados(\"Luisa Lopez\",25000,2010,12,19);\r\n\t\tEmpleados empleado3 = new Empleados(\"Juaquin Moreno\",12000,2017,11,27);\t\r\n\t\r\n\t\templeado1.subeSueldo(4...
[ "0.83144754", "0.76812476", "0.7509302", "0.7467238", "0.73404473", "0.73319256", "0.7177642", "0.7174875", "0.71629924", "0.7114813", "0.69332975", "0.6874628", "0.68514717", "0.6825974", "0.6770643", "0.6754264", "0.6737527", "0.6709935", "0.6709211", "0.6708694", "0.669228...
0.7525601
2
declares the catgeroies for the province of Manitoba
public static Map<Integer, TaxCategory> manitoba() { HashMap<Integer, TaxCategory> categories = new HashMap<Integer, TaxCategory>(); try { TaxCategory cat1 = new TaxCategory(10.8, 0, 33723); categories.put( 1, cat1 ); TaxCategory cat2 = new TaxCategory(12.75, 33723.01, 72885); categories.put( 2, cat2 ); TaxCategory cat3 = new TaxCategory(17.4, 72885.01, 100000000); categories.put( 3, cat3 ); } catch( Exception e ) {} return categories; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Canada() {\n\n //Initialize the array \n provinces = new String[NUM_PROVINCES][NUM_NAMES];\n\n // Set the elements in the array \n provinces[BC][NAME_OF_PROVINCE] = \"British Columbia\";\n provinces[BC][NAME_OF_CAPITAL_CITY] = \"Victoria\";\n provinces[BC][NAME_OF_B...
[ "0.6402048", "0.636513", "0.62485576", "0.6134551", "0.59302574", "0.58892053", "0.5735387", "0.57263607", "0.5693574", "0.5670969", "0.56063426", "0.5571337", "0.55132234", "0.5492714", "0.54570377", "0.54439324", "0.54382795", "0.54289037", "0.54289037", "0.5423912", "0.536...
0.60638756
4
declares the catgeroies for the province of Alberta
public static Map<Integer, TaxCategory> alberta() { HashMap<Integer, TaxCategory> categories = new HashMap<Integer, TaxCategory>(); try { //INSERT YOUR CODE HERE - Using the specification given on Federal //You will need to study how Manitoba is being implemented TaxCategory cat1 = new TaxCategory(10, 0, 131220); // Tax Category 1 for Alberta categories.put( 1, cat1 ); //puts both the key and the Taxcategory(value) into the hashmap for category 1 TaxCategory cat2 = new TaxCategory(12,131220.01, 157464); // Tax Category 2 for Alberta categories.put( 2, cat2 ); //puts both the key and the Taxcategory(value) into the hashmap for category 2 TaxCategory cat3 = new TaxCategory(13, 157464.01, 209952); // Tax Category 3 for Alberta categories.put( 3, cat3 );//puts both the key and the Taxcategory(value) into the hashmap for category 3 TaxCategory cat4 = new TaxCategory(14, 209952.01, 314928); // Tax Category 4 for Alberta categories.put( 4, cat4 );//puts both the key and the Taxcategory(value) into the hashmap for category 4 TaxCategory cat5 = new TaxCategory(15, 314928.01, 10000000); // Tax Category 5 for Alberta categories.put( 5, cat5 );//puts both the key and the Taxcategory(value) into the hashmap for category 5 } catch( Exception e ) {} return categories; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Canada() {\n\n //Initialize the array \n provinces = new String[NUM_PROVINCES][NUM_NAMES];\n\n // Set the elements in the array \n provinces[BC][NAME_OF_PROVINCE] = \"British Columbia\";\n provinces[BC][NAME_OF_CAPITAL_CITY] = \"Victoria\";\n provinces[BC][NAME_OF_B...
[ "0.6463653", "0.6121742", "0.59258825", "0.58239317", "0.574321", "0.5596563", "0.5552335", "0.54071134", "0.53698695", "0.53698695", "0.53605187", "0.5333378", "0.53254676", "0.53145707", "0.53120625", "0.5309524", "0.5309524", "0.5291844", "0.52885157", "0.5279231", "0.5279...
0.6686892
0
declares the catgeroies for the province of Quebec
public static Map<Integer, TaxCategory> britishColumbia() { HashMap<Integer, TaxCategory> categories = new HashMap<Integer, TaxCategory>(); try { //INSERT YOUR CODE HERE - Using the specification given on Federal //You will need to study how Manitoba is being implemented TaxCategory cat1 = new TaxCategory(5.06, 0, 42184.00); // Tax Category 1 for BC categories.put( 1, cat1 );//puts both the key and the Taxcategory(value) into the hashmap for category 1 TaxCategory cat2 = new TaxCategory(7.70, 42184.01, 84369.00); // Tax Category 2 for BC categories.put( 2, cat2 );//puts both the key and the Taxcategory(value) into the hashmap for category 2 TaxCategory cat3 = new TaxCategory(10.50, 84369.01, 96866.00); // Tax Category 3 for BC categories.put( 3, cat3 );//puts both the key and the Taxcategory(value) into the hashmap for category 3 TaxCategory cat4 = new TaxCategory(12.29, 96866.01, 117623.00); // Tax Category 4 for BC categories.put( 4, cat4 );//puts both the key and the Taxcategory(value) into the hashmap for category 4 TaxCategory cat5 = new TaxCategory(14.70, 117623.01, 159483.00); // Tax Category 5 for BC categories.put( 5, cat5 );//puts both the key and the Taxcategory(value) into the hashmap for category 5 TaxCategory cat6 = new TaxCategory(16.80, 159483.01, 222420.00); // Tax Category 6 for BC categories.put( 6, cat6 );//puts both the key and the Taxcategory(value) into the hashmap for category 6 TaxCategory cat7 = new TaxCategory(20.50, 222420.01, 10000000); // Tax Category 7 for BC categories.put( 7, cat7 );//puts both the key and the Taxcategory(value) into the hashmap for category 7 } catch( Exception e ) {} return categories; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Canada() {\n\n //Initialize the array \n provinces = new String[NUM_PROVINCES][NUM_NAMES];\n\n // Set the elements in the array \n provinces[BC][NAME_OF_PROVINCE] = \"British Columbia\";\n provinces[BC][NAME_OF_CAPITAL_CITY] = \"Victoria\";\n provinces[BC][NAME_OF_B...
[ "0.66175544", "0.63065434", "0.59870845", "0.5913481", "0.5875907", "0.5794113", "0.5742796", "0.5734245", "0.5724059", "0.57198673", "0.57078123", "0.56409335", "0.56296164", "0.56149656", "0.5611782", "0.55648965", "0.5562453", "0.5552658", "0.55494857", "0.5520042", "0.550...
0.61653835
2
declares the catgeroies for the province of New Brunswick
public static Map<Integer, TaxCategory> newBrunswick() { HashMap<Integer, TaxCategory> categories = new HashMap<Integer, TaxCategory>(); try { //INSERT YOUR CODE HERE - Using the specification given on Federal //You will need to study how Manitoba is being implemented TaxCategory cat1 = new TaxCategory(9.68, 0, 43835); //Tax Category 1 for NewBrunswick categories.put( 1, cat1 ); //puts both the key and the Taxcategory(value) into the hashmap for category 1 TaxCategory cat2 = new TaxCategory(14.82, 43835.01, 87671); //Tax Category 1 for NewBrunswick categories.put( 2, cat2 ); //puts both the key and the Taxcategory(value) into the hashmap for category 2 TaxCategory cat3 = new TaxCategory(16.52, 87671.01, 142534); //Tax Category 1 for NewBrunswick categories.put( 3, cat3 ); //puts both the key and the Taxcategory(value) into the hashmap for category 3 TaxCategory cat4 = new TaxCategory(17.84, 142534.01, 162383); //Tax Category 1 for NewBrunswick categories.put( 4, cat4 ); //puts both the key and the Taxcategory(value) into the hashmap for category 4 TaxCategory cat5 = new TaxCategory(20.3, 162383.01, 10000000); //Tax Category 1 for NewBrunswick categories.put( 5, cat5 ); //puts both the key and the Taxcategory(value) into the hashmap for category 5 } catch( Exception e ) {} return categories; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Canada() {\n\n //Initialize the array \n provinces = new String[NUM_PROVINCES][NUM_NAMES];\n\n // Set the elements in the array \n provinces[BC][NAME_OF_PROVINCE] = \"British Columbia\";\n provinces[BC][NAME_OF_CAPITAL_CITY] = \"Victoria\";\n provinces[BC][NAME_OF_B...
[ "0.629477", "0.6125767", "0.58290887", "0.5735213", "0.5549337", "0.5496141", "0.54722947", "0.5461423", "0.5453141", "0.5427061", "0.54130113", "0.5409645", "0.54004145", "0.5392064", "0.53882825", "0.5379518", "0.5359585", "0.5344314", "0.52898973", "0.5277502", "0.52744794...
0.59189236
2
declares the catgeroies for the province of Nova Scotia
public static Map<Integer, TaxCategory> novaScotia() { HashMap<Integer, TaxCategory> categories = new HashMap<Integer, TaxCategory>(); try { //INSERT YOUR CODE HERE - Using the specification given on Federal //You will need to study how Manitoba is being implemented TaxCategory cat1 = new TaxCategory(8.79, 0, 29590.00); //Tax Category 1 for NS categories.put( 1, cat1 ); //puts both the key and the Taxcategory(value) into the hashmap for category 1 TaxCategory cat2 = new TaxCategory(14.95, 29590.01, 59180.00); //Tax Category 2 for NS categories.put( 2, cat2 ); //puts both the key and the Taxcategory(value) into the hashmap for category 2 TaxCategory cat3 = new TaxCategory(16.67, 59180.01, 93000.00); //Tax Category 3 for NS categories.put( 3, cat3 ); //puts both the key and the Taxcategory(value) into the hashmap for category 3 TaxCategory cat4 = new TaxCategory(17.50, 93000.01, 150000.00); //Tax Category 4 for NS categories.put( 4, cat4 ); //puts both the key and the Taxcategory(value) into the hashmap for category 4 TaxCategory cat5 = new TaxCategory(21.00, 150000.01, 10000000); //Tax Category 15for NS categories.put( 5, cat5 ); //puts both the key and the Taxcategory(value) into the hashmap for category 5 } catch( Exception e ) {} return categories; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Canada() {\n\n //Initialize the array \n provinces = new String[NUM_PROVINCES][NUM_NAMES];\n\n // Set the elements in the array \n provinces[BC][NAME_OF_PROVINCE] = \"British Columbia\";\n provinces[BC][NAME_OF_CAPITAL_CITY] = \"Victoria\";\n provinces[BC][NAME_OF_B...
[ "0.6466224", "0.5946207", "0.5733753", "0.56985515", "0.5683437", "0.56398255", "0.56335425", "0.5563681", "0.5545393", "0.55076116", "0.54455703", "0.54143333", "0.53950596", "0.53531754", "0.5351783", "0.5335687", "0.53112805", "0.5305879", "0.5301339", "0.5245435", "0.5208...
0.6280555
1
declares the catgeroies for the province of Ontario
public static Map<Integer, TaxCategory> ontario() { HashMap<Integer, TaxCategory> categories = new HashMap<Integer, TaxCategory>(); try { //INSERT YOUR CODE HERE - Using the specification given on Federal //You will need to study how Manitoba is being implemented TaxCategory cat1 = new TaxCategory(5.05, 0, 44740); //Tax Category 1 for ON categories.put( 1, cat1 ); //puts both the key and the Taxcategory(value) into the hashmap for category 1 TaxCategory cat2 = new TaxCategory(9.15, 44740.01, 89482);//Tax Category 2 for ON categories.put( 2, cat2 );//puts both the key and the Taxcategory(value) into the hashmap for category 2 TaxCategory cat3 = new TaxCategory(11.16, 89482.01, 150000);//Tax Category 3 for ON categories.put( 3, cat3 );//puts both the key and the Taxcategory(value) into the hashmap for category 3 TaxCategory cat4 = new TaxCategory(12.16, 150000.01, 220000);//Tax Category 4 for ON categories.put( 4, cat4 );//puts both the key and the Taxcategory(value) into the hashmap for category 4 TaxCategory cat5 = new TaxCategory(13.16, 220000.01, 10000000);//Tax Category 5 for ON categories.put( 5, cat5 ); //puts both the key and the Taxcategory(value) into the hashmap for category 5 } catch( Exception e ) {} return categories; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static List<Category> getCategorysofProvince(Province province){\n\t\treturn CategoryDAO.getCategorysofProvince(province);\n\t}", "public Canada() {\n\n //Initialize the array \n provinces = new String[NUM_PROVINCES][NUM_NAMES];\n\n // Set the elements in the array \n provinces...
[ "0.63653964", "0.62388307", "0.6074135", "0.6059744", "0.60134315", "0.59241396", "0.5890205", "0.57346547", "0.56318134", "0.55955863", "0.55878687", "0.55270606", "0.5517225", "0.5475039", "0.5464922", "0.54581726", "0.5447188", "0.5441187", "0.5416171", "0.5391251", "0.539...
0.60329884
4
declares the catgeroies for the province of saskatchewan
public static Map<Integer, TaxCategory> saskatchewan() { HashMap<Integer, TaxCategory> categories = new HashMap<Integer, TaxCategory>(); try { //INSERT YOUR CODE HERE - Using the specification given on Federal //You will need to study how Manitoba is being implemented TaxCategory cat1 = new TaxCategory(10.5, 0, 45677.00); //Tax Category 1 for SK categories.put( 1, cat1 );//puts both the key and the Taxcategory(value) into the hashmap for category 1 TaxCategory cat2 = new TaxCategory(12.50, 45677.01, 130506.00);//Tax Category 2 for SK categories.put( 2, cat2 );//puts both the key and the Taxcategory(value) into the hashmap for category 2 TaxCategory cat3 = new TaxCategory(13.16, 130506.01, 10000000);//Tax Category 3 for SK categories.put( 3, cat3 );//puts both the key and the Taxcategory(value) into the hashmap for category 3 } catch( Exception e ) {} return categories; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Canada() {\n\n //Initialize the array \n provinces = new String[NUM_PROVINCES][NUM_NAMES];\n\n // Set the elements in the array \n provinces[BC][NAME_OF_PROVINCE] = \"British Columbia\";\n provinces[BC][NAME_OF_CAPITAL_CITY] = \"Victoria\";\n provinces[BC][NAME_OF_B...
[ "0.6586832", "0.63052255", "0.6252129", "0.61811906", "0.6130527", "0.6126996", "0.5822282", "0.5773484", "0.5748911", "0.5714712", "0.56988645", "0.5696274", "0.56897396", "0.56339675", "0.5616804", "0.5616804", "0.5593846", "0.5593846", "0.5548635", "0.5548635", "0.5548635"...
0.5974329
6
declares the catgeroies for the federal government
public static Map<Integer, TaxCategory> federal() { HashMap<Integer, TaxCategory> categories = new HashMap<Integer, TaxCategory>(); try { //INSERT YOUR CODE HERE - Using the specification given on Federal //You will need to study how Manitoba is being implemented TaxCategory cat1 = new TaxCategory(15, 0, 49020); //Tax Category 1 for federal categories.put( 1, cat1 );//puts both the key and the Taxcategory(value) into the hashmap for category 1 TaxCategory cat2 = new TaxCategory( 20.5, 49020.01, 98040); //Tax Category 2 for federal categories.put( 2, cat2 );//puts both the key and the Taxcategory(value) into the hashmap for category 2 TaxCategory cat3 = new TaxCategory(26, 98040.01, 151978); //Tax Category 3 for federal categories.put( 3, cat3 );//puts both the key and the Taxcategory(value) into the hashmap for category 3 TaxCategory cat4 = new TaxCategory(29, 151978.01, 216511); //Tax Category 4 for federal categories.put( 4, cat4 );//puts both the key and the Taxcategory(value) into the hashmap for category 4 TaxCategory cat5 = new TaxCategory(33, 216511.01, 10000000); //Tax Category 5 for federal categories.put( 5, cat5 );//puts both the key and the Taxcategory(value) into the hashmap for category 5 } catch( Exception e ) {} return categories; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static Map<Integer, TaxCategory> britishColumbia() {\n\n\t\t\tHashMap<Integer, TaxCategory> categories = new HashMap<Integer, TaxCategory>();\n\t\t\ttry {\n\t\t\t\t//INSERT YOUR CODE HERE - Using the specification given on Federal\n\t\t\t\t//You will need to study how Manitoba is being implemented\n\t\t\t\t...
[ "0.61467224", "0.59281623", "0.5737423", "0.5691981", "0.5643257", "0.5611647", "0.54733604", "0.5424769", "0.541765", "0.52550966", "0.525426", "0.5254001", "0.5251476", "0.5238101", "0.5229879", "0.52096343", "0.51970416", "0.5185184", "0.5185017", "0.5181617", "0.5155107",...
0.6469386
0
This Class has all the actions related to the Signup(Registered and Unregistered)
public SignUpActions(WebDriver driver, DeviceInterface runnerInfo) { this.driver = driver; deviceHelper = new DeviceHelper(driver); //PageFactory.initElements(new AppiumFieldDecorator(driver), this); PageFactory.initElements(new AppiumFieldDecorator(driver), signUpObjects); this.runnerInfo = runnerInfo; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void register() {\n if (registerView.getFirstName().length() == 0 || registerView.getLastName().length() == 0 || registerView.getUsername().length() == 0 || registerView.getPassword().length() == 0) {\n IDialog invalidRegistrationDialog\n = dialogFactory.createDialog(DialogFact...
[ "0.7118093", "0.71165496", "0.70884556", "0.7072214", "0.7053834", "0.7047479", "0.7046814", "0.70267254", "0.6950165", "0.6945044", "0.6915684", "0.69146675", "0.6873959", "0.6850004", "0.6790423", "0.67702484", "0.6744201", "0.67139804", "0.67057586", "0.6693981", "0.667103...
0.0
-1
This Function is to Select Telugu Language
public void selectTelugu() { deviceHelper.waitTillTheElementIsVisibleAndClickable(signUpObjects.teluguBox); element(signUpObjects.teluguBox).click(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void selectLanguage(String language){\n\t\t\t if (language ==\"Spanish\"){\n\t\t\t\t driver.findElement(By.id(\"SignupRequest_language_0\")).click();\n\t\t\t }\n\t\t\t else if (language==\"English\"){\n\t\t\t\t driver.findElement(By.id(\"SignupRequest_language_2\")).click();\t\t\t \n\t\t\t }\n\t\t\t else if...
[ "0.659822", "0.65482944", "0.6327051", "0.6159166", "0.6159166", "0.6159166", "0.61415315", "0.61351395", "0.61351395", "0.6016045", "0.60156184", "0.5916191", "0.59111834", "0.5878565", "0.5878221", "0.5777479", "0.57607216", "0.57377243", "0.57346153", "0.56880206", "0.5673...
0.66741973
0
This Function is to Select Language using text
public void selectLanguage(String language) { deviceHelper.waitTillTheElementIsVisible(signUpObjects.selectLanguageTitle); deviceHelper.selectLanguageUsingText(language); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void selectLanguage(String language){\n\t\t\t if (language ==\"Spanish\"){\n\t\t\t\t driver.findElement(By.id(\"SignupRequest_language_0\")).click();\n\t\t\t }\n\t\t\t else if (language==\"English\"){\n\t\t\t\t driver.findElement(By.id(\"SignupRequest_language_2\")).click();\t\t\t \n\t\t\t }\n\t\t\t else if...
[ "0.69186753", "0.6823093", "0.67808616", "0.67808616", "0.6749522", "0.6719175", "0.6681849", "0.6677376", "0.66764206", "0.66764206", "0.66764206", "0.6615807", "0.65120876", "0.64965904", "0.647482", "0.63121426", "0.6297014", "0.6189161", "0.6127892", "0.6124355", "0.60987...
0.5883535
36
This Function is to Click OTP Button
public void clickGoToYourAccountButton() { element(signUpObjects.getOTPButton).click(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n public void onClick(View v) {\r\n try {\r\n InputMethodManager imm = (InputMethodManager)getSystemService(INPUT_METHOD_SERVICE);\r\n imm.hideSoftInputFromWindow(getCurrentFocus().getWindowToken(), 0);\r\n } catch (Exceptio...
[ "0.685169", "0.67282414", "0.65624696", "0.64608526", "0.6451089", "0.6376165", "0.6373383", "0.6366056", "0.63486636", "0.62299585", "0.6222395", "0.6211646", "0.61966056", "0.6165886", "0.61638707", "0.611831", "0.6100536", "0.6091976", "0.6083628", "0.6081674", "0.60739833...
0.7270532
0
This Function is to Enter OTP with using Actions class method
public void enterOTPActions(String otp){ deviceHelper.writeInputActions(signUpObjects.OTPtextfield,otp); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@When(\"^Enter OTP details$\")\n public void enter_OTP_details() throws Throwable {\n otp.enterOTP();\n }", "@Override\r\n public void onClick(View v) {\r\n try {\r\n InputMethodManager imm = (InputMethodManager)getSystemService(INPUT_METHOD_SERVICE);\r\n...
[ "0.69327193", "0.68637025", "0.64229333", "0.6359063", "0.6143652", "0.61346036", "0.6127368", "0.6108418", "0.60524386", "0.6000641", "0.5971918", "0.5834523", "0.58250916", "0.58248365", "0.57948", "0.57719815", "0.5765882", "0.5761723", "0.57535714", "0.5750724", "0.574214...
0.7875177
0
All things gesturerelated //
public void setupGestures() { mGestureDetector = new GestureDetector( new GestureDetector.SimpleOnGestureListener() { @Override public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY) { float deltaX = e2.getRawX() - e1.getRawX(); float deltaY = e2.getRawY() - e1.getRawY(); int minSlideWidth = mFlipper.getWidth() / 2; if (Math.abs(deltaY) < 100) { if (deltaX > minSlideWidth) { slideRight(); return true; } if (deltaX < -minSlideWidth) { slideLeft(); return true; } } return false; } }); mGestureDetector.setIsLongpressEnabled(true); mTouchListener = new OnTouchListener() { public boolean onTouch(View v, MotionEvent event) { return mGestureDetector.onTouchEvent(event); } }; mFlipper.setLongClickable(true); mFlipper.setOnTouchListener(mTouchListener); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void gored() {\n\t\t\n\t}", "public void smell() {\n\t\t\n\t}", "public void verliesLeven() {\r\n\t\t\r\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "private void poetries() {\n\...
[ "0.66401744", "0.6346494", "0.6334991", "0.63147974", "0.6114428", "0.6106788", "0.6102092", "0.60614866", "0.6027673", "0.6012223", "0.6004977", "0.5997784", "0.59905547", "0.59887546", "0.59662867", "0.59344816", "0.59162587", "0.58967584", "0.5890051", "0.5880613", "0.5875...
0.0
-1
oh, the menus .... //
@Override public boolean onCreateOptionsMenu(Menu menu) { boolean result = super.onCreateOptionsMenu(menu); menu.add(0, MENU_ADD_ID, 0, R.string.menu_category_add).setIcon( android.R.drawable.ic_menu_add); menu.add(0, MENU_VISUALIZE_ID, 0, R.string.menu_visualize) .setIcon(R.drawable.graph); menu.add(0, MENU_EDIT_ID, 0, R.string.menu_entry_edit).setIcon( android.R.drawable.ic_menu_edit); menu.add(0, MENU_PREFS_ID, 0, R.string.menu_app_prefs).setIcon( android.R.drawable.ic_menu_preferences); menu.add(0, MENU_HELP_ID, 0, R.string.menu_app_help).setIcon( android.R.drawable.ic_menu_help); return result; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static void returnMenu() {\n\t\t\r\n\t}", "public void readTheMenu();", "public void initMenu(){\n\t}", "private void searchMenu(){\n\t\t\n\t}", "@Override\r\npublic void menuSelected(MenuEvent arg0) {\n\t\r\n}", "public abstract void displayMenu();", "private void setMenu() {\n\n if (tr...
[ "0.75019425", "0.7487138", "0.7411139", "0.71822095", "0.7151784", "0.713811", "0.71202254", "0.70120955", "0.70094717", "0.7004326", "0.69639015", "0.6960523", "0.6950746", "0.694513", "0.69152707", "0.68863547", "0.68411016", "0.6839795", "0.6833828", "0.68163306", "0.68147...
0.0
-1
Filling out the main listview //
private void setCurrentViews(boolean animate) { // These can't be set until the views have been populated from // DB in fillCategoryData() mVisibleCategoriesLayout = (ListView) mFlipper.getCurrentView(); if (mVisibleCategoriesLayout != null) { mVisibleCategoriesLayout.setOnCreateContextMenuListener(this); if (animate == true) slideDown(mVisibleCategoriesLayout, mCtx); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void populateListView() {\n ArrayAdapter<Representative> adapter = new MyListAdapter();\n ListView list = (ListView) findViewById(R.id.repListView);\n list.setAdapter(adapter);\n }", "public void populateListView() {\n\n\n }", "public void populateView() {\r\n populate...
[ "0.7478514", "0.7389865", "0.73244035", "0.71981454", "0.7151979", "0.7112516", "0.70985067", "0.7098289", "0.70944965", "0.7069675", "0.705113", "0.70505685", "0.69927955", "0.69878834", "0.6986379", "0.69837415", "0.6964266", "0.6922877", "0.6899675", "0.6887426", "0.686804...
0.0
-1
Transitions elsewhere ... //
private void createCategory() { Uri uri = TimeSeriesData.TimeSeries.CONTENT_URI; Intent i = new Intent(Intent.ACTION_INSERT, uri); startActivityForResult(i, ARC_CATEGORY_CREATE); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\t\tprotected void doTransition() {\n\t\t\t\n\t\t}", "Transition createTransition();", "Transition createTransition();", "private void rerunAnimation() {\n transition.playFromStart();\r\n}", "void transit();", "public abstract Etat transition();", "public void readyToGoAnimation() {\n ...
[ "0.7918112", "0.7147673", "0.7147673", "0.7125459", "0.69257087", "0.6800732", "0.67305756", "0.66928804", "0.66348636", "0.66099626", "0.6583238", "0.65709037", "0.6542142", "0.65219486", "0.6517401", "0.64418715", "0.6419176", "0.6393356", "0.6366964", "0.6361136", "0.63521...
0.0
-1
Returns true if any string appears at least 3 times in the given list; false otherwise.
public static boolean contains3(List<String> list) { Map<String, Integer> map = new HashMap<>(); for (String str : list) { map.put(str, (map.containsKey(str) ? map.get(str) + 1 : 1)); } return map.containsValue(3); // throw new UnsupportedOperationException("Not implemented yet."); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\t\t\tpublic boolean matches(Object list) {\n\t\t\t\treturn ((List<String>) list).size() == 3;\r\n\t\t\t}", "@Override\r\n\t\t\tpublic boolean matches(Object list) {\n\t\t\t\treturn ((List<String>) list).size() == 3;\r\n\t\t\t}", "public static boolean hasAllUniqueChars3(String string) {\n Stri...
[ "0.73494935", "0.73494935", "0.69769824", "0.6728841", "0.64332855", "0.6401019", "0.6401019", "0.6401019", "0.6401019", "0.6401019", "0.6401019", "0.6245614", "0.6217498", "0.62044984", "0.6192438", "0.61269724", "0.6092685", "0.60858274", "0.60637116", "0.6033925", "0.59970...
0.78609884
0
Returns a map containing the intersection of the two input maps. A keyvalue pair exists in the output iff the same keyvalue pair exists in both input maps.
public static Map<String, Integer> intersect(Map<String, Integer> m1, Map<String, Integer> m2) { Map<String, Integer> intersect = new HashMap<>(); for (String key : m1.keySet()) { if (m2.containsKey(key)) { Integer i = m1.get(key); if (m2.get(key).equals(i)) { intersect.put(key, i); } } } return intersect; //throw new UnsupportedOperationException("Not implemented yet."); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static HashMap merge(Map map1, Map map2) {\r\n\t\tHashMap retval = new HashMap(calcCapacity(map1.size() + map2.size()));\r\n\r\n\t\tretval.putAll(map1);\r\n\t\tretval.putAll(map2);\r\n\r\n\t\treturn retval;\r\n\t}", "private static Set<String> getIntersection(final Map<String, Integer> leftVector,\n ...
[ "0.62267846", "0.59100175", "0.5639089", "0.5594736", "0.5592611", "0.5500843", "0.54057115", "0.5402703", "0.53827053", "0.5369979", "0.5356696", "0.5354159", "0.53221935", "0.50875545", "0.5085103", "0.5064973", "0.49147147", "0.49125537", "0.48737168", "0.48734376", "0.481...
0.7421478
0
Constructs an attribute info object
public AttribInfo(){ m_deprecated = false; m_hidden = false; m_multipleSelection = false; m_attributeValues = null; m_attributeValueMap = null; m_description = null; m_labelName = null; m_defaultValue = null; m_propertyMapKeyName = null; m_mapComponentClassName = null; m_preferredType = null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Attribute createAttribute();", "Attribute createAttribute();", "protected abstract void createAttributes();", "public XmlAttributeInfo (String name)\r\n {\r\n this(name,XmlSpecialForm.value());\r\n }", "public XmlAttributeInfo (String name, XmlSpecialForm form)\r\n {\r\n _name = name;\r\...
[ "0.74782896", "0.74782896", "0.69643223", "0.6904638", "0.68961406", "0.67545354", "0.6749799", "0.6722072", "0.6632483", "0.66068083", "0.65780866", "0.6489301", "0.64799106", "0.64656276", "0.6455549", "0.6362255", "0.63559043", "0.6325147", "0.6319416", "0.62798876", "0.62...
0.70841855
2
Gets the attribute values
public String[] getAttributeValues() { return m_attributeValues; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public List<ProbeValue> getValues() {\n\treturn attributes;\n }", "public java.util.Collection getAttributes();", "default List<Object> getAttributeValues(T instance) {\n\t\tList<Object> attrValues = new ArrayList<>();\n\t\tfor (Attribute<T, ?> fld : getAttributes()) {\n\t\t\tattrValues.add(fld.getValue(ins...
[ "0.7870714", "0.7588422", "0.74948263", "0.7483245", "0.7479759", "0.73997194", "0.73695713", "0.7337034", "0.727734", "0.72746754", "0.72282344", "0.72123003", "0.72123003", "0.72123003", "0.7209267", "0.7205637", "0.71978694", "0.7193296", "0.71871954", "0.7176738", "0.7152...
0.8272779
0
Sets the attribute values
public void setAttributeValues(String[] attributeValues){ m_attributeValues = attributeValues; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void setAttributes(String attributeName, String attributeValue);", "void setInternal(ATTRIBUTES attribute, Object iValue);", "public void setAttrib(String name, String value);", "@Override\npublic void setAttributes() {\n\t\n}", "@Override\n\t\tpublic void setAttribute(String name, Object value) {\n\t\t\t\...
[ "0.7503548", "0.7138013", "0.6871436", "0.68381965", "0.6807062", "0.67660874", "0.6728695", "0.6728695", "0.6654602", "0.66510236", "0.6623247", "0.6604495", "0.6573663", "0.65567803", "0.6532954", "0.64799404", "0.64674115", "0.64458865", "0.64214873", "0.6415754", "0.63658...
0.71265906
2
Gets the attribute values map
public Map getAttributeValueMap() { return m_attributeValueMap; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Map<String, String> getAttributes();", "public Map<String, Object> getAttributes();", "public Map<String, Object> getAttributes();", "public Map<String, Set<String>> getMapAttrValue() {\n\t\treturn mapAttrValue;\n\t}", "public Map<String,Object> getAttributeMap() {\r\n return Maps.newHashMap(...
[ "0.8146013", "0.8115017", "0.8115017", "0.8075765", "0.8000212", "0.79898536", "0.79892135", "0.79789394", "0.79703087", "0.79043245", "0.79043245", "0.79043245", "0.7810331", "0.7661922", "0.7580891", "0.7576498", "0.750571", "0.7477832", "0.74108243", "0.7369104", "0.733853...
0.80680645
4
Sets the attribute values map
public void setAttributeValueMap(Map attributeValueMap){ m_attributeValueMap = attributeValueMap; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract void setData(Map attributes, Iterator accessPoints);", "void setAttributes(String attributeName, String attributeValue);", "public void setAttributes(Map<String, String> attributes){\r\n\t\t\tif (attributes == null){\r\n\t\t\t\tthis.attributes = Collections.emptyMap();\r\n\t\t\t}\r\n\t\t\tthis....
[ "0.69667774", "0.6767889", "0.6725697", "0.6683022", "0.66620433", "0.66353196", "0.6556244", "0.65130526", "0.64834344", "0.6470081", "0.63712674", "0.6342982", "0.63289493", "0.61719304", "0.61338097", "0.6132064", "0.60791934", "0.6020743", "0.6000936", "0.59987843", "0.59...
0.72218466
0
Gets whether this attribute is deprecated
public Boolean isDeprecated() { return m_deprecated; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isDeprecated()\n {\n ensureLoaded();\n return m_tblAttribute.contains(ATTR_DEPRECATED);\n }", "public Boolean getDeprecated()\n {\n return deprecated;\n }", "public Boolean getIsDeprecated() {\n return isDeprecated;\n }", "Boolean getDeprecate...
[ "0.83948505", "0.82519513", "0.81926274", "0.81914437", "0.8082944", "0.7933144", "0.73542446", "0.7111983", "0.6940603", "0.68791443", "0.6738149", "0.6712998", "0.6674336", "0.657795", "0.65472084", "0.6486189", "0.64852643", "0.6314568", "0.6270428", "0.61685234", "0.61187...
0.82306707
2
Sets whether this attribute is deprecated
public void setDeprecated(Boolean deprecated){ m_deprecated = deprecated; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setIsDeprecated(Boolean deprecated) {\n isDeprecated = deprecated;\n }", "public void setDeprecated( Boolean pDeprecated )\n {\n deprecated = pDeprecated;\n }", "public void setDeprecated(boolean fDeprecated)\n {\n if (fDeprecated)\n {\n ad...
[ "0.81838405", "0.8076886", "0.7977576", "0.75005907", "0.743885", "0.7295343", "0.72895354", "0.7116907", "0.70118773", "0.6980045", "0.68862635", "0.66831654", "0.63358533", "0.6258132", "0.6180589", "0.6123578", "0.6106345", "0.6082497", "0.59524846", "0.5940644", "0.575633...
0.8233593
0
Gets whether this attribute is hidden
public Boolean isHidden() { return m_hidden; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isHiddenAttribute() {\n return hiddenAttribute;\n }", "public boolean isHidden() {\r\n return hidden;\r\n }", "public final boolean isHidden() {\n\t\treturn m_info.isHidden();\n\t}", "public boolean isHidden();", "public boolean isHidden() {\n\t\treturn false;\n\t}", "p...
[ "0.832486", "0.780993", "0.7698545", "0.761349", "0.73382545", "0.73106605", "0.73029137", "0.7253277", "0.7201132", "0.71514654", "0.7055314", "0.70068324", "0.70004755", "0.69048584", "0.6805271", "0.6805271", "0.67876726", "0.6786245", "0.67767924", "0.6749545", "0.6613204...
0.78481466
1
Sets whether this attribute is hidden
public void setHidden(Boolean hidden){ m_hidden = hidden; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setHidden(boolean value) {\r\n this.hidden = value;\r\n }", "public void setHiddenAttribute(boolean hiddenAttribute) {\n this.hiddenAttribute = hiddenAttribute;\n }", "public boolean isHiddenAttribute() {\n return hiddenAttribute;\n }", "public void setHidden(boolean...
[ "0.8243088", "0.8176629", "0.7663049", "0.74803525", "0.74041665", "0.7396699", "0.736369", "0.736369", "0.7302224", "0.7262066", "0.7158295", "0.71570176", "0.7097079", "0.7023242", "0.6937423", "0.69278514", "0.69094723", "0.69017255", "0.689505", "0.68935204", "0.68741935"...
0.7972716
2
Gets whether this attribute can have multiple values
public Boolean isMultipleSelection() { return m_multipleSelection; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isMultiple() {\r\n return multiple;\r\n }", "public boolean isMultiple() {\n return multiple;\n }", "public boolean isMultiple() {\n\t\treturn (tipo != null && DocumentosUtils.esTipoMultiple(tipo));\n\t}", "boolean getMultiple();", "boolean isSetMultiple();", "public bo...
[ "0.678967", "0.673259", "0.66573024", "0.66441447", "0.66176635", "0.6453886", "0.64226604", "0.623822", "0.60137546", "0.59720415", "0.59043175", "0.5822727", "0.5772472", "0.57114726", "0.5668393", "0.5645779", "0.56194615", "0.56156707", "0.5614303", "0.5601033", "0.559915...
0.5541788
23
Sets whether this attribute can have multiple values
public void setMultipleSelection(Boolean multipleSelection){ m_multipleSelection = multipleSelection; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void setMultiple(boolean multiple);", "public void setMulti(boolean value) {\n getElement().setMulti(value);\n }", "public final native void setAllowMultiple(boolean allowMultiple) /*-{\r\n\t\tthis.allowMultiple = allowMultiple;\r\n\t}-*/;", "public void setMultiple(boolean isMultiple) {\n t...
[ "0.69734895", "0.6626543", "0.6612694", "0.646565", "0.63993704", "0.63519025", "0.6217555", "0.60917443", "0.6029318", "0.59618336", "0.573947", "0.57120746", "0.56623495", "0.5608204", "0.5545861", "0.55169356", "0.54862744", "0.54437363", "0.54284304", "0.5413758", "0.5403...
0.5578714
14
Gets the name of the label of this attribute
public String getLabelName() { return m_labelName; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getLabel() {\n return name().toLowerCase().replace(\"_\", \"\");\n }", "public String getLabel() {\n return _label == null ? name() : _label;\n }", "@Nonnull\n\tGenericAttributeValue<String> getLabel();", "public String getLabel() {\r\n\t\tif (label != null)\r\n\t\t\treturn ...
[ "0.8037653", "0.8013077", "0.7789598", "0.7560592", "0.7499951", "0.74634415", "0.74279606", "0.74279606", "0.74279606", "0.74279606", "0.7423476", "0.7423415", "0.7422783", "0.74126345", "0.7408823", "0.73697436", "0.73681337", "0.73681337", "0.73681337", "0.73664796", "0.73...
0.7798535
2
Sets the name of the label of this attribute
public void setLabelName(String labelName){ m_labelName = labelName; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setNameLabel(String nameLabel) {\r\n this.nameLabelText = nameLabel;\r\n this.nameLabel.setText(this.nameLabelText);\r\n }", "public void setName(String value) {\n this.name = value;\n }", "public void setName(java.lang.String value) {\n this.name = value;\n }", "pu...
[ "0.75628775", "0.73826903", "0.7341314", "0.7268763", "0.7244969", "0.72123194", "0.7200446", "0.7192236", "0.71888095", "0.71839035", "0.7181959", "0.71575284", "0.7148564", "0.71387583", "0.71328115", "0.7105223", "0.7065761", "0.7064853", "0.7064853", "0.7064853", "0.70618...
0.7373045
2
Gets the name of the Property Map Key of this attribute
public String getPropertyMapKeyName() { return m_propertyMapKeyName; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getPropertyKey() {\n\t\treturn propertyKey;\n\t}", "public String getKeyMapName() {\r\n return keyMapName;\r\n }", "public String propKey() {\n return propKey;\n }", "public String getKeyName() {\n\t\treturn this.attributeName;\r\n\t}", "protected String getKeymapName() {\n ...
[ "0.7349577", "0.7343312", "0.72993994", "0.7284375", "0.71482694", "0.71111923", "0.71079683", "0.7053334", "0.700985", "0.6989422", "0.69190544", "0.6795822", "0.6751268", "0.6737479", "0.6729698", "0.67017186", "0.6556188", "0.65209055", "0.65183926", "0.65023834", "0.64846...
0.7838719
0
Sets the name of the Property Map Key of this attribute
public void setPropertyMapKeyName(String propertyMapKeyName){ m_propertyMapKeyName = propertyMapKeyName; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setKeyName(String newName){\n\n //assigns the value newName to the keyName field\n this.keyName = newName;\n }", "public void setAttributeKey(java.lang.String param) {\r\n localAttributeKeyTracker = true;\r\n\r\n this.localAttributeKey = param;\r\n\r\n\r\n }", "p...
[ "0.6919228", "0.64413184", "0.6438705", "0.62360924", "0.6211742", "0.61480904", "0.61196333", "0.6079916", "0.6052528", "0.6019224", "0.60107803", "0.59710073", "0.5949237", "0.5944798", "0.59298056", "0.5929775", "0.59205425", "0.59104997", "0.5909328", "0.5909328", "0.5907...
0.7497901
0
Gets the name of the Map Component Class of this attribute
public String getMapComponentClassName() { return m_mapComponentClassName; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String componentTypeName();", "protected String getKeymapName() {\n String nm = getClass().getName();\n int index = nm.lastIndexOf('.');\n if (index >= 0) {\n nm = nm.substring(index+1);\n }\n return nm;\n }", "public String getName_Class() {\n\t\treturn name;\n...
[ "0.67780685", "0.6459794", "0.63133156", "0.62100416", "0.62006414", "0.61439246", "0.61272085", "0.61008275", "0.6082755", "0.6039982", "0.5997271", "0.5992017", "0.5973014", "0.5951798", "0.59239805", "0.59239805", "0.59239805", "0.5920762", "0.59147483", "0.58915555", "0.5...
0.8065241
0
Sets the name of the Map Component Class of this attribute
public void setMapComponentClassName(String mapComponentClassName){ m_mapComponentClassName = mapComponentClassName; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setName(String s) {\n\t\tclassName = s;\n\t}", "public String getMapComponentClassName() {\n return m_mapComponentClassName;\n }", "protected void setClassType(String name, Class<?> clazz) {\n\t\tmapClass.put(name, clazz);\n\t}", "public void setClassName(String name)\n {\n _classNa...
[ "0.65672475", "0.6400844", "0.62163126", "0.60903096", "0.6078961", "0.60207415", "0.6014246", "0.59245515", "0.5904439", "0.5876057", "0.5840325", "0.5821445", "0.5792142", "0.5745483", "0.57235605", "0.57134193", "0.56791604", "0.5671098", "0.5649746", "0.56393945", "0.5637...
0.75816077
0
Gets the name of the preferred type this attribute
public String getPreferredType() { return m_preferredType; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getPreferredName() {\n return (String) getAttributeInternal(PREFERREDNAME);\n }", "public String getName() {\n return type.toString();\n }", "public java.lang.String getTypeName()\n {\n synchronized (monitor())\n {\n check_orphaned();\n ...
[ "0.71947914", "0.7155891", "0.70424175", "0.70096636", "0.69921064", "0.6899064", "0.68765736", "0.68759453", "0.68584996", "0.67935175", "0.67258495", "0.67258495", "0.67258495", "0.67258495", "0.67258495", "0.67258495", "0.67258495", "0.67258495", "0.67258495", "0.67258495", ...
0.7006267
4
Sets the name of the preferred type this attribute
public void setPreferredType(String preferredType){ m_preferredType = preferredType; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setTypeName(java.lang.String value);", "public void setType(String name){\n\t\ttype = name;\n\t}", "public void setNametype(Integer nametype) {\r\n this.nametype = nametype;\r\n }", "public void setpermitTypeName(String value) {\n setAttributeInternal(PERMITTYPENAME, value);\n ...
[ "0.6878958", "0.67705506", "0.6761317", "0.6651095", "0.6616377", "0.651537", "0.6347681", "0.63433886", "0.6293604", "0.6269929", "0.622323", "0.6201871", "0.6184563", "0.61838216", "0.61838216", "0.6181307", "0.6180002", "0.6153642", "0.61387694", "0.61387694", "0.61240965"...
0.6660835
3
Gets the name of the label of this attribute
public String getDefaultValue() { return m_defaultValue; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getLabel() {\n return name().toLowerCase().replace(\"_\", \"\");\n }", "public String getLabel() {\n return _label == null ? name() : _label;\n }", "public String getLabelName() {\n return m_labelName;\n }", "@Nonnull\n\tGenericAttributeValue<String> getLabel();", ...
[ "0.8037653", "0.8013077", "0.7798535", "0.7789598", "0.7560592", "0.7499951", "0.74634415", "0.74279606", "0.74279606", "0.74279606", "0.74279606", "0.7423476", "0.7423415", "0.7422783", "0.74126345", "0.7408823", "0.73697436", "0.73681337", "0.73681337", "0.73681337", "0.736...
0.0
-1
Sets the name of the label of this attribute
public void setDefaultValue(String defaultValue){ m_defaultValue = defaultValue; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setNameLabel(String nameLabel) {\r\n this.nameLabelText = nameLabel;\r\n this.nameLabel.setText(this.nameLabelText);\r\n }", "public void setName(String value) {\n this.name = value;\n }", "public void setLabelName(String labelName){\n m_labelName = labelName;\n ...
[ "0.75628775", "0.73826903", "0.7373045", "0.7341314", "0.7268763", "0.7244969", "0.72123194", "0.7200446", "0.7192236", "0.71888095", "0.71839035", "0.7181959", "0.71575284", "0.7148564", "0.71387583", "0.71328115", "0.7105223", "0.7065761", "0.7064853", "0.7064853", "0.70648...
0.0
-1
how to intialize the webelements with the help of Page Factory solotion we will create constructor of a class PageFactory is a class & initElemnets is a method IQ: How u will intialize PageFactory Intializing the Page Objects
public LoginPage(){ PageFactory.initElements(driver, this); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void init() {\n PageFactory.initElements(webDriver, this);\n }", "public HomePage(){\r\n\tPageFactory.initElements(driver, this);\t\r\n\t}", "public void initializeWebElement(){\n\t\tPageFactory.initElements(driver, this);\n\t}", "public HomePage(){\n PageFactory.initElements(drive...
[ "0.7915156", "0.768125", "0.73953664", "0.7354031", "0.7335476", "0.7297199", "0.72755903", "0.72495985", "0.72487617", "0.72217923", "0.7220612", "0.71921325", "0.7149689", "0.7075608", "0.7052169", "0.7002021", "0.6988248", "0.6948877", "0.6847768", "0.6805459", "0.6791161"...
0.66058487
36
now we define different actions Actions
public String validateLoginPageTitle() { return driver.getTitle(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void registerActions() {\n // File menu :\n new NewAction();\n new LoadOIFitsAction();\n new LoadFitsImageAction();\n\n new ExportOIFitsAction();\n new ExportFitsImageAction();\n\n // Edit menu :\n new DeleteSelectionAction();\n\n // Processing...
[ "0.7581019", "0.7342476", "0.7309082", "0.71735376", "0.7069486", "0.7026821", "0.6983503", "0.69735247", "0.6953669", "0.6948947", "0.6943122", "0.6908666", "0.6908666", "0.6908666", "0.6908666", "0.6908666", "0.6908666", "0.6908666", "0.6908666", "0.6908666", "0.6908666", ...
0.0
-1
TODO Autogenerated method stub
@Override public void onItemSelected(AdapterView<?> arg0, View arg1, int position, long id) { nameoffriend = sp.getItemAtPosition(position).toString(); Toast.makeText(getApplicationContext(), nameoffriend, Toast.LENGTH_SHORT).show(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public void onNothingSelected(AdapterView<?> arg0) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
int x; String ss;
public void Every_Transaction_Status(View v) { s1 = nameoffriend; if(s1.equals("")) { Toast.makeText(getApplicationContext(), "Please Enter Ur Friend Name", Toast.LENGTH_SHORT).show(); } else { c1 =db.rawQuery(" select name from sqlite_master WHERE type='table' AND name='"+s1+"' ", null); if(c1.moveToFirst()) { c1 = db.rawQuery(" select * from '"+s1+"' ", null); c1.moveToFirst(); tv.setText(""); do { if(c1.getString(c1.getColumnIndex("mode")).equals("given")) { tv.append("\nname : "+c1.getString(c1.getColumnIndex("name"))+"\nAmount Given : "+c1.getString(c1.getColumnIndex("amount"))+"\nDate : "+c1.getString(c1.getColumnIndex("date"))+"\nRemark : "+c1.getString(c1.getColumnIndex("remark"))+"\nDue Amount : "+c1.getString(c1.getColumnIndex("due_amount"))+"\n"); } else if(c1.getString(c1.getColumnIndex("mode")).equals("taken")) { tv.append("\nname : "+c1.getString(c1.getColumnIndex("name"))+"\nAmount Taken : "+c1.getString(c1.getColumnIndex("amount"))+"\nDate : "+c1.getString(c1.getColumnIndex("date"))+"\nRemark : "+c1.getString(c1.getColumnIndex("remark"))+"\nDue Amount : "+c1.getString(c1.getColumnIndex("due_amount"))+"\n"); } else { tv.append("\nname : "+c1.getString(c1.getColumnIndex("name"))+"\nAmount : "+c1.getString(c1.getColumnIndex("amount"))+"\nDate : "+c1.getString(c1.getColumnIndex("date"))+"\nRemark : "+c1.getString(c1.getColumnIndex("remark"))+"\nDue Amount : "+c1.getString(c1.getColumnIndex("due_amount"))+"\n"); } }while(c1.moveToNext()); } else { Vibrator vib = (Vibrator)getSystemService(Context.VIBRATOR_SERVICE) ; vib.vibrate(300); Toast.makeText(getApplicationContext(), "Please choose Ur friend name", Toast.LENGTH_SHORT).show(); } } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "java.lang.String getS1();", "java.lang.String getS();", "public void puzzle5(){\n\t\tObject x = \"object string\";\n\t\tString i = \"real string\";\n\t\tx += i;\n\t\tx = x + i;\n\t\tSystem.out.println(\"Value of x \"+x);\n\t}", "static String type(String sin){\n String s = new String();\n ...
[ "0.58130056", "0.57420534", "0.5727162", "0.56215066", "0.5501947", "0.54711765", "0.5467757", "0.5445029", "0.5404519", "0.53833836", "0.5377583", "0.53297883", "0.5328235", "0.5320493", "0.5320279", "0.53170776", "0.5308905", "0.5304202", "0.52939063", "0.52816254", "0.5269...
0.0
-1
Creates a new instance of AFMV
public AFMV() { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Mafia() {\n super(Side.MAFIA);\n }", "public FvFactoryImpl() {\n\t\tsuper();\n\t}", "public FareModel() {\n }", "public static OpenFrgament newInstance() {\n OpenFrgament fragment = new OpenFrgament();\n// Bundle args = new Bundle();\n//\n// fragment.setArguments(args...
[ "0.60960126", "0.5947683", "0.5713216", "0.55880636", "0.5586262", "0.5442454", "0.54421157", "0.54399085", "0.5421635", "0.5421474", "0.54167765", "0.539855", "0.5360469", "0.5349535", "0.5314361", "0.5306666", "0.52947015", "0.5293199", "0.5288207", "0.5258533", "0.52298576...
0.7980874
0
Initialize the view for game play.
public void initialize() { JLabel lblLevel = new JLabel("Level"); lblLevel.setBounds(120, 124, 100, 45); lblLevel.setForeground(new Color(184, 134, 11)); lblLevel.setFont(new Font("Britannic Bold", Font.PLAIN, 35)); add(lblLevel); levelList = new JComboBox<String>(); levelList.setUI(new MyComboBoxUI()); ((JLabel)levelList.getRenderer()).setHorizontalAlignment(SwingConstants.CENTER); levelList.setBounds(280, 124, 400, 45); levelList.setBorder(BorderFactory.createLineBorder(Color.BLUE)); levelList.setForeground(new Color(184, 134, 11)); levelList.setFont(new Font("Britannic Bold", Font.PLAIN, 35)); levelList.setBackground(Color.WHITE); add(levelList); // Load all unlocked levels to the combobox int highest = lvlm.getHighestLevel().getLevelNum(); for (int i = 0; i < lvlList.size(); i++) { Level l = lvlList.get(i); if (l.getLevelNum() <= highest) { String name = lvlList.get(i).toString(); levelList.addItem(name); } } // levelList.setRenderer(new DisabledItemsRenderer<String>()); ImageIcon buttonBack = new ImageIcon(PlayGameScreenView.class.getResource("/sw/resource/image/button_back.png")); ImageIcon newBtnBack = new ImageIcon(buttonBack.getImage().getScaledInstance(227, 69, java.awt.Image.SCALE_SMOOTH)); ImageIcon btnBackRollover = new ImageIcon(PlayGameScreenView.class.getResource("/sw/resource/image/button_back_Rollover.png")); ImageIcon newBtnBackRollover = new ImageIcon(btnBackRollover.getImage().getScaledInstance(227, 69, java.awt.Image.SCALE_SMOOTH)); ImageIcon btnBackPressed = new ImageIcon(PlayGameScreenView.class.getResource("/sw/resource/image/button_back_Pressed.png")); ImageIcon newBtnBackPressed = new ImageIcon(btnBackPressed.getImage().getScaledInstance(227, 69, java.awt.Image.SCALE_SMOOTH)); JButton btnBack = new JButton(newBtnBack); btnBack.setBounds(20, 500, 227, 69); btnBack.setBorderPainted(false); btnBack.setBackground(Color.WHITE); btnBack.setBorder(null); btnBack.setContentAreaFilled(false); btnBack.addActionListener(new MainMenuController()); btnBack.setRolloverEnabled(true); btnBack.setRolloverIcon(newBtnBackRollover); btnBack.setPressedIcon(newBtnBackPressed); add(btnBack); ImageIcon buttonStart = new ImageIcon(PlayGameScreenView.class.getResource("/sw/resource/image/button_startGame.png")); ImageIcon newBtnStart = new ImageIcon(buttonStart.getImage().getScaledInstance(227, 69, java.awt.Image.SCALE_SMOOTH)); ImageIcon btnStartRollover = new ImageIcon(PlayGameScreenView.class.getResource("/sw/resource/image/button_startGame_Rollover.png")); ImageIcon newBtnStartRollover = new ImageIcon(btnStartRollover.getImage().getScaledInstance(227, 69, java.awt.Image.SCALE_SMOOTH)); ImageIcon btnStartPressed = new ImageIcon(PlayGameScreenView.class.getResource("/sw/resource/image/button_startGame_Pressed.png")); ImageIcon newBtnStartPressed = new ImageIcon(btnStartPressed.getImage().getScaledInstance(227, 69, java.awt.Image.SCALE_SMOOTH)); JButton btnStartGame = new JButton(newBtnStart); btnStartGame.setBounds(550, 500, 227, 69); btnStartGame.setBorderPainted(false); btnStartGame.setBackground(Color.WHITE); btnStartGame.setBorder(null); btnStartGame.setContentAreaFilled(false); btnStartGame.addActionListener(new StartGameController()); btnStartGame.setRolloverEnabled(true); btnStartGame.setRolloverIcon(newBtnStartRollover); btnStartGame.setPressedIcon(newBtnStartPressed); add(btnStartGame); ImageIcon backgroundImg = new ImageIcon(PlayGameScreenView.class.getResource("/sw/resource/image/secondBackground.png")); ImageIcon newBackground = new ImageIcon(backgroundImg.getImage().getScaledInstance(800, 573, java.awt.Image.SCALE_SMOOTH)); JLabel background = new JLabel(newBackground); background.setVerticalAlignment(SwingConstants.TOP); background.setBackground(Color.WHITE); background.setBounds(0, 0, 800, 600); add(background); setLayout(null); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public GameView() {\n initComponents();\n gameView(30, 30);\n }", "private void initView() {\n\n }", "void initView();", "protected abstract void initializeView();", "protected abstract void initView();", "public void init(){\n\t\t//Makes the view\n\t\tsetUpView();\n\n\t\t//Make the c...
[ "0.814761", "0.75978625", "0.7580604", "0.7522347", "0.7489242", "0.7461576", "0.7426128", "0.7423006", "0.7404413", "0.74026006", "0.73873526", "0.73873025", "0.73869634", "0.7378226", "0.7378226", "0.7367288", "0.732529", "0.7298607", "0.7287634", "0.7287634", "0.72858644",...
0.0
-1
Remove all components from the board.
@Override public void cleanup() { levelList.setSelectedIndex(0); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void removeAllPieces()\n\t{\n\t\t/* iterate over the rows and columns */\n\t\tfor (int i = 0; i < m_rows; i++) {\n\t\t\tfor (int j = 0; j < m_cols; j++) {\n\t\t\t\tremovePiece(i, j);\n\t\t\t}\n\t\t}\n\t}", "public void removeAllComponents();", "public void clearBoard() \n {\n\tfor(int i=0;i<rows;i++)...
[ "0.7730871", "0.7727398", "0.7300696", "0.72887963", "0.7286235", "0.7212145", "0.7180663", "0.70547074", "0.7020003", "0.69804037", "0.6970675", "0.6902214", "0.6897403", "0.685633", "0.67670053", "0.66950095", "0.6675863", "0.66575634", "0.66476876", "0.66476876", "0.664768...
0.0
-1
Add a level to the list to play.
void addLevel(Level level) { if (level != null) { levelList.addItem(level.toString()); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void addPlayableLevel(Level level){\r\n if(!currentLevel.isPlayableLevel()){\r\n setCurrentLevel(level);\r\n }else{\r\n currentLevel.addPlayingLevel(level);\r\n }\r\n }", "@Override\n public void fireBullet(ArrayList<ScreenObject> level) {\n level.ad...
[ "0.76149327", "0.64815545", "0.6416127", "0.6193864", "0.6190396", "0.61833835", "0.6070513", "0.6030704", "0.59613425", "0.59163135", "0.59163135", "0.59150773", "0.5899393", "0.5859544", "0.58436024", "0.58394575", "0.58196425", "0.5806527", "0.5796904", "0.5796904", "0.576...
0.7473414
1
Getters for the list of levels.
public Level getSelectedLevel() { return lvlm.getLevels().get(levelList.getSelectedIndex()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public List<Level> getLevels() {\n return levels;\n }", "public String getLevels() {\r\n\t\treturn levels;\r\n\t}", "public static String[] getLevels() {\n\t\treturn levels;\n\t}", "protected abstract Level[] getLevelSet();", "public Map<SkillType, Integer> getLevels() {\n return levels;\n...
[ "0.8305355", "0.7820307", "0.7805146", "0.75617", "0.7540658", "0.7494261", "0.694643", "0.68660617", "0.68601596", "0.685205", "0.68439615", "0.68142176", "0.67850924", "0.6783867", "0.6775567", "0.67733413", "0.67733413", "0.6766919", "0.6765844", "0.6741426", "0.6741426", ...
0.0
-1
Obtain the bucket name.
public String getBucketName() { return bucketName; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getBucketName() {\n return bucketName;\n }", "public String getBucketName() {\n return bucketName;\n }", "public String getBucketName() {\n return getProperty(BUCKET_NAME);\n }", "public String getBucketName(){\n return bucketName;\n }", "public String getBuc...
[ "0.8347616", "0.8347616", "0.8269577", "0.8125599", "0.80838645", "0.7430136", "0.7404966", "0.7316193", "0.7289279", "0.7194421", "0.66838294", "0.65017265", "0.64704525", "0.6365251", "0.62796706", "0.60772187", "0.5975055", "0.5791445", "0.5730304", "0.5671747", "0.5669255...
0.83494323
0
Set the bucket name. The value can contain only lowercase letters, digits, hyphens (), and periods (.).
public void setBucketName(String bucketName) { this.bucketName = bucketName; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "BucketName(String bucketName) {\n this.bucketName = bucketName;\n }", "public void setBucketName(String bucketName) {\n setProperty(BUCKET_NAME, bucketName);\n }", "public Builder setGcsBucket(java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n...
[ "0.7334686", "0.73028344", "0.68383014", "0.659711", "0.65347886", "0.651649", "0.65056413", "0.65056413", "0.64355725", "0.61553836", "0.6007417", "0.5999583", "0.59586495", "0.5943775", "0.5937485", "0.5907491", "0.5882054", "0.5878802", "0.5876575", "0.5876575", "0.5864862...
0.67616093
3
Obtain the owner of the bucket.
public Owner getOwner() { return owner; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setOwner(Owner bucketOwner)\n {\n this.owner = bucketOwner;\n }", "public String getOwner(){\r\n \ttry{\r\n \t\t_lockObject.lock();\r\n \t\treturn _owner;\r\n \t}finally{\r\n \t\t_lockObject.unlock();\r\n \t}\r\n }", "User getOwner();", "java.lang.String getOwner...
[ "0.69511956", "0.67610264", "0.6624218", "0.65922093", "0.65922093", "0.6514549", "0.647156", "0.647156", "0.64498454", "0.64358085", "0.6412852", "0.6385433", "0.6385262", "0.6380295", "0.63638085", "0.63430667", "0.6325735", "0.63106894", "0.6308516", "0.6281507", "0.626972...
0.606605
49
Set the owner of the bucket.
public void setOwner(Owner bucketOwner) { this.owner = bucketOwner; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void setOwner(String owner);", "public void setOwner(User owner) {\n this.owner = owner;\n }", "public void setOwner(com.sforce.soap.enterprise.sobject.SObject owner) {\r\n this.owner = owner;\r\n }", "public synchronized void setOwner(String s) {\n owner = s;\n }", "public vo...
[ "0.6775292", "0.6643231", "0.65911853", "0.6535828", "0.6508341", "0.64757955", "0.64176077", "0.63265365", "0.63265365", "0.63265365", "0.63265365", "0.6306827", "0.6289793", "0.62613505", "0.62592566", "0.6252309", "0.6240316", "0.60715014", "0.60556245", "0.6053837", "0.60...
0.84437066
0
Obtain the creation time of the bucket.
public Date getCreationDate() { return creationDate; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "long getCreationTime();", "long getCreationTime();", "long getCreationTime();", "public long getCreationTime();", "String timeCreated();", "public long getCreationTime() {\n return creationTime_;\n }", "long getCreatedTime();", "public long getCreationTime() {\n return creationTime_;\n...
[ "0.7230508", "0.7230508", "0.7230508", "0.7136721", "0.7032816", "0.6995078", "0.69607466", "0.6931432", "0.6931229", "0.68167657", "0.6811636", "0.68109053", "0.6782382", "0.67718893", "0.6704765", "0.67005336", "0.67005336", "0.6690645", "0.6685792", "0.6640466", "0.6632544...
0.0
-1
Set the creation time of the bucket.
public void setCreationDate(Date bucketCreationDate) { this.creationDate = bucketCreationDate; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void setCreationTimeUtc(String path, long newTime) throws IOException;", "void setCreationTime(String path, long newTime) throws IOException;", "public void setCreationTime(DateTime creationTime) {\n this.created = creationTime;\n }", "private void setCreatedTime(int value) {\n \n createdTime_ = va...
[ "0.7257515", "0.72536683", "0.677748", "0.67066294", "0.6592842", "0.65448564", "0.65066904", "0.64764637", "0.6439102", "0.63943154", "0.63943154", "0.629379", "0.6222048", "0.6221634", "0.6217325", "0.6182637", "0.6180722", "0.61660147", "0.61660147", "0.61660147", "0.61197...
0.74162596
0
Obtain the bucket location.
public String getLocation() { return location; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getBucket() {\n return bucket;\n }", "public String getBucket();", "public String getBucketName() {\n return getProperty(BUCKET_NAME);\n }", "public java.lang.String getGcsBucket() {\n java.lang.Object ref = gcsBucket_;\n if (!(ref instanceof java.lang.String)) {\n...
[ "0.7560742", "0.75388503", "0.7097593", "0.69513667", "0.6946377", "0.6943218", "0.687171", "0.687171", "0.68655545", "0.681359", "0.65126014", "0.64423573", "0.6437164", "0.6371978", "0.6365336", "0.6285244", "0.6171697", "0.60628283", "0.5767162", "0.5735034", "0.57323277",...
0.0
-1
Set the bucket location.
public void setLocation(String location) { this.location = location; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setBucket(String inBucket);", "public void setOwner(Owner bucketOwner)\n {\n this.owner = bucketOwner;\n }", "BucketName(String bucketName) {\n this.bucketName = bucketName;\n }", "public void setBucketName(String bucketName) {\n setProperty(BUCKET_NAME, bucketName);...
[ "0.6781298", "0.6272215", "0.62088186", "0.61140954", "0.6111718", "0.6058773", "0.60462826", "0.6034366", "0.60177046", "0.5956569", "0.59397525", "0.59166706", "0.59136385", "0.59038985", "0.5890192", "0.58754593", "0.58492655", "0.58492655", "0.58492655", "0.58414716", "0....
0.561431
33
Obtain the bucket ACL.
public AccessControlList getAcl() { return acl; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "ListenableFuture<Acl> getObjectAcl(String bucketName, String objectKey);", "public com.amazon.s3.GetBucketAccessControlPolicyResponse getBucketAccessControlPolicy(com.amazon.s3.GetBucketAccessControlPolicy getBucketAccessControlPolicy);", "public AccessControlList getAccessControlList() {\n\t\treturn acl;\n\t}...
[ "0.74846876", "0.64790636", "0.64548004", "0.6368877", "0.6275693", "0.621874", "0.5877079", "0.57315934", "0.56976336", "0.56431776", "0.55042404", "0.54501534", "0.5412708", "0.53192574", "0.52879643", "0.52793014", "0.52572304", "0.52446395", "0.5169623", "0.5147956", "0.5...
0.653992
1
Set the bucket ACL.
public void setAcl(AccessControlList acl) { this.acl = acl; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public com.amazon.s3.SetBucketAccessControlPolicyResponse setBucketAccessControlPolicy(com.amazon.s3.SetBucketAccessControlPolicy setBucketAccessControlPolicy);", "public void setAccessControlList(AccessControlList acl) {\n\t\tthis.acl = acl;\n\t}", "public com.amazon.s3.SetObjectAccessControlPolicyResponse se...
[ "0.6874202", "0.65140617", "0.56845987", "0.56455517", "0.5528306", "0.5489247", "0.5394145", "0.53904635", "0.53737396", "0.53408384", "0.53156215", "0.52874583", "0.52584064", "0.5258347", "0.52279544", "0.51609373", "0.51569635", "0.50802404", "0.5038059", "0.5034807", "0....
0.6820774
1
Obtain the bucket storage class.
@Deprecated public String getStorageClass() { return this.storageClass != null ? this.storageClass.getCode() : null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public StorageClassEnum getBucketStorageClass()\n {\n return storageClass;\n }", "public static Class getStorageClass()\r\n {\r\n return String.class;\r\n }", "public void setBucketStorageClass(StorageClassEnum storageClass)\n {\n this.storageClass = storageClass;\n }", ...
[ "0.824248", "0.7399659", "0.6794507", "0.6458119", "0.64327514", "0.6364005", "0.6240354", "0.6233778", "0.61072516", "0.6022311", "0.5927105", "0.5910502", "0.5895567", "0.5807655", "0.577111", "0.5758026", "0.5750024", "0.5740814", "0.5711543", "0.5675495", "0.5593511", "...
0.7231104
2
Set the bucket storage class.
@Deprecated public void setStorageClass(String storageClass) { this.storageClass = StorageClassEnum.getValueFromCode(storageClass); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setBucketStorageClass(StorageClassEnum storageClass)\n {\n this.storageClass = storageClass;\n }", "public StorageClassEnum getBucketStorageClass()\n {\n return storageClass;\n }", "public static Class getStorageClass()\r\n {\r\n return String.class;\r\n }", ...
[ "0.8260221", "0.7512187", "0.6093175", "0.60152304", "0.6014193", "0.5979317", "0.5916658", "0.5840899", "0.57609564", "0.57234615", "0.5705796", "0.5643788", "0.5583061", "0.55777115", "0.5466073", "0.5364792", "0.534045", "0.53179103", "0.5268656", "0.5247423", "0.5244965",...
0.71736586
2
Obtain the bucket storage class.
public StorageClassEnum getBucketStorageClass() { return storageClass; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static Class getStorageClass()\r\n {\r\n return String.class;\r\n }", "@Deprecated\n public String getStorageClass()\n {\n return this.storageClass != null ? this.storageClass.getCode() : null;\n }", "public void setBucketStorageClass(StorageClassEnum storageClass)\n {\n ...
[ "0.7400198", "0.7231049", "0.67930734", "0.6456713", "0.6433183", "0.6363499", "0.62390554", "0.6233221", "0.61064136", "0.60228837", "0.5926889", "0.5911269", "0.58965814", "0.58072996", "0.5770888", "0.5756189", "0.57512796", "0.5742564", "0.57119334", "0.56756324", "0.5594...
0.8242027
0
Set the bucket storage class.
public void setBucketStorageClass(StorageClassEnum storageClass) { this.storageClass = storageClass; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public StorageClassEnum getBucketStorageClass()\n {\n return storageClass;\n }", "@Deprecated\n public void setStorageClass(String storageClass)\n {\n this.storageClass = StorageClassEnum.getValueFromCode(storageClass);\n }", "public static Class getStorageClass()\r\n {\r\n ...
[ "0.7512187", "0.71736586", "0.6093175", "0.60152304", "0.6014193", "0.5979317", "0.5916658", "0.5840899", "0.57609564", "0.57234615", "0.5705796", "0.5643788", "0.5583061", "0.55777115", "0.5466073", "0.5364792", "0.534045", "0.53179103", "0.5268656", "0.5247423", "0.5244965"...
0.8260221
0
Created by Administrator on 2017/8/9.
public interface SysUserDao extends MyJpaRepository<SysUser,String> { public void delete(SysUser user); /** * 直接在接口中定义查询方法,如果是符合规范的,可以不用写实现,目前支持的关键字写法如下: * findByFirstNameAndLastName: where X.lastname=?1 and x.firstName=?2 * findByFirstNameORLastName: where X.lastname=?1 or x.firstName=?2 * etc: Between LessThan GreaterThan isNull like notLike startingWith endingwith * not in notin true false * * 使用@Query 可以在自定义的查询方法上使用@Query来指定该方法要执行的查询语句,比如: @Query("select o from UserModel o where o.uuid=?1") public List<UserModel> findByUuidOrAge(int uuid); */ // @Query来指定本地查询,只要设置nativeQuery为true,比如: // @Query(value="select * from tbl_user where name like %?1" ,nativeQuery=true) // public List<UserModel> findByUuidOrAge(String name); public List<SysUser> findByLoginName(String loginName); //特殊的条件,如创建时间大于2017年 @Query("select o from SysUser o where createTime>'2017-01-01' and loginName=?1") public List<SysUser> findByLoginName1(String loginName); //直接使用native uery,如此例需要用到md5函数,但可移殖性不好,不推荐。 @Query(value = "select count(*) from t_sys_user_info where login_name= ?1 and password=md5(?2)",nativeQuery = true) public int ifValidUser(String name,String pwd); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private stendhal() {\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "pri...
[ "0.6265335", "0.6119651", "0.58409524", "0.58301455", "0.58289164", "0.58043313", "0.5762608", "0.57420474", "0.57404876", "0.5738064", "0.5730715", "0.5730715", "0.5718526", "0.5713488", "0.5711609", "0.56932837", "0.569106", "0.5688971", "0.5688971", "0.56854904", "0.567281...
0.0
-1
Store image in dcim
public void getImageFromCamera() { String capturedPath = "image_" + System.currentTimeMillis() + ".jpg"; File file = new File(Environment.getExternalStorageDirectory().getAbsolutePath() + "/DCIM", capturedPath); file.getParentFile().mkdirs(); mCapturedImageUri = Uri.fromFile(file); Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE); intent.putExtra(MediaStore.EXTRA_OUTPUT, mCapturedImageUri); startActivityForResult(intent, CAPTURE_IMAGE_REQUEST_CODE); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void writeToImage() {\n imageWriter.writeToImage();\n }", "void save(Images image);", "public void store_image(Images image) {\n\t\tir.save(image);\n\t}", "public void writeToImage() {\r\n\t\t_imageWriter.writeToImage();\r\n\t}", "public void writeImage() {\n // Write generated imag...
[ "0.6304255", "0.6235359", "0.6168141", "0.61585623", "0.6082278", "0.59046197", "0.58993673", "0.57740754", "0.57140905", "0.56663054", "0.5663531", "0.56099254", "0.5596791", "0.5560305", "0.55583775", "0.55552745", "0.5526307", "0.55010223", "0.5498974", "0.5485943", "0.548...
0.0
-1
/ default constructor that takes in nothing and set default values for every variable.
public HourlyWorker () { super (); hours = -1; hourlyRate = -1; salary = -1; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "defaultConstructor(){}", "private Default()\n {}", "public void initDefaultValues() {\n }", "void DefaultConstructor(){}", "public void initializeDefault() {\n\t\tthis.numAuthorsAtStart = 5;\n\t\tthis.numPublicationsAtStart = 20;\n\t\tthis.numCreationAuthors = 0;\n\t\tthis.numCreationYears = 10;\...
[ "0.701871", "0.70144194", "0.7005046", "0.6957883", "0.6760297", "0.65843296", "0.65615374", "0.65028673", "0.6414818", "0.64085877", "0.63987976", "0.63744813", "0.63652724", "0.6347181", "0.63041025", "0.6301415", "0.6226099", "0.62152636", "0.6169571", "0.61678207", "0.616...
0.0
-1
/ a constructor that takes in and sets fName, lName, empID, hours, and hourlyRate.
public HourlyWorker (String fName, String lName, String empID, double hours, double hourlyRate) { super (fName, lName, empID); setHours(hours); setHourlyRate(hourlyRate); calculateSalary(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Employee(String firstName, String secondName, double hourlyRate){\n\t\tthis.firstName = firstName;\n\t\tthis.secondName = secondName;\n\t\tthis.hourlyRate = hourlyRate;\n\t\t\n\t}", "public PTEmployee(String n, String ssnum, String d, double rate, int hours) {\n\t\tsuper(n, ssnum, d);\n\t\tthis.hourlyRate...
[ "0.80400056", "0.76246446", "0.71637094", "0.712905", "0.708164", "0.70777905", "0.70288044", "0.7012309", "0.699993", "0.6994695", "0.6984573", "0.6967326", "0.6927966", "0.6826526", "0.68079215", "0.678436", "0.6777927", "0.6741554", "0.6715291", "0.67068213", "0.667304", ...
0.8143411
0