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
TODO Autogenerated method stub
@Override public Integer getModel_cashf_prop_decile() { return super.getModel_cashf_prop_decile(); }
{ "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 Double getModel_mixedf_prop_score() { return super.getModel_mixedf_prop_score(); }
{ "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 Integer getModel_mixexf_prop_decile() { return super.getModel_mixexf_prop_decile(); }
{ "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 Double getModel_lufax_prop_score() { return super.getModel_lufax_prop_score(); }
{ "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 Integer getModel_lufax_prop_decile() { return super.getModel_lufax_prop_decile(); }
{ "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 Double getPropensity_autoins_score() { return super.getPropensity_autoins_score(); }
{ "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 Integer getPropensity_autoins_decile() { return super.getPropensity_autoins_decile(); }
{ "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 Double getPropensity_loan_score() { return super.getPropensity_loan_score(); }
{ "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 Integer getPropensity_loan_decile() { return super.getPropensity_loan_decile(); }
{ "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 Double getPropensity_fiscalprd_score() { return super.getPropensity_fiscalprd_score(); }
{ "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 Integer getPropensity_fiscalprd_decile() { return super.getPropensity_fiscalprd_decile(); }
{ "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 Double getPropensity_credit_score() { return super.getPropensity_credit_score(); }
{ "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 Integer getPropensity_credit_decile() { return super.getPropensity_credit_decile(); }
{ "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 Double getPropensity_fund_score() { return super.getPropensity_fund_score(); }
{ "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 Integer getPropensity_fund_decile() { return super.getPropensity_fund_decile(); }
{ "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 Double getPropensity_bond_score() { return super.getPropensity_bond_score(); }
{ "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 Integer getPropensity_bond_decile() { return super.getPropensity_bond_decile(); }
{ "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 Double getPropensity_trust_score() { return super.getPropensity_trust_score(); }
{ "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 Integer getPropensity_trust_decile() { return super.getPropensity_trust_decile(); }
{ "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 Double getPropensity_smallpur_score() { return super.getPropensity_smallpur_score(); }
{ "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 Integer getPropensity_smallpur_decile() { return super.getPropensity_smallpur_decile(); }
{ "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 Double getPropensity_familyproins_score() { return super.getPropensity_familyproins_score(); }
{ "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 Integer getPropensity_familyproins_decile() { return super.getPropensity_familyproins_decile(); }
{ "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 Double getPropensity_pension_score() { return super.getPropensity_pension_score(); }
{ "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 Integer getPropensity_pension_decile() { return super.getPropensity_pension_decile(); }
{ "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 Date getCreated_date() { return super.getCreated_date(); }
{ "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
Get jobs using filters and set order
@GET @Produces(APPLICATION_JSON) public JobsListingUI getJobs( @QueryParam("filter") String filters, @QueryParam("sort") String sortColumn, @QueryParam("order") ResultOrder order, @QueryParam("offset") @DefaultValue("0") int offset, @QueryParam("limit") @DefaultValue("100") int limit, @QueryParam("level") @DefaultValue("0") int level) { final SearchJobsRequest.Builder requestBuilder = SearchJobsRequest.newBuilder(); requestBuilder.setOffset(offset); requestBuilder.setLimit(limit); requestBuilder.setUserName(securityContext.getUserPrincipal().getName()); if (filters != null) { requestBuilder.setFilterString(filters); } if (sortColumn != null) { requestBuilder.setSortColumn(sortColumn); } if (order != null) { requestBuilder.setSortOrder(order.toSortOrder()); } List<JobSummary> jobs = ImmutableList.copyOf(jobsService.get().searchJobs(requestBuilder.build())); jobs = ObfuscationUtils.obfuscate(jobs, ObfuscationUtils::obfuscate); return new JobsListingUI( jobs, jobService, getNext(offset, limit, filters, sortColumn, order, jobs.size(), requestBuilder.getDetailLevel() == SearchJobsRequest.DetailLevel.ONE ? 1 : 0) ); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void sortBasedPendingJobs();", "org.tensorflow.proto.distruntime.JobDeviceFilters getJobs(int index);", "com.google.cloud.talent.v4.Job getJobs(int index);", "PagingLoadResult<GWTJahiaJobDetail> getJobs(int offset, int limit, String sortField, String sortDir, String groupState, List<String> groupNames...
[ "0.68687105", "0.6263243", "0.6188045", "0.61211777", "0.6103419", "0.6097996", "0.59216076", "0.58368385", "0.5834325", "0.57753557", "0.57457083", "0.57452095", "0.5716755", "0.5695109", "0.56519777", "0.56501824", "0.56470263", "0.5606989", "0.55948734", "0.55664206", "0.5...
0.62794447
1
Get details of job
@GET @Path("{jobId}/jobDetails") @Produces(APPLICATION_JSON) public JobInfoDetailsUI getJobDetails(@PathParam("jobId") String jobId, @QueryParam("detailLevel") @DefaultValue("0") int detailLevel, @QueryParam("attempt") @DefaultValue("1") int attempt) throws JobResourceNotFoundException, NamespaceException { JobDetails jobDetails; UserBitShared.QueryProfile profile = null; final JobInfoDetailsUI jobInfoDetailsUI; // AttemptIndex will be required to get Index of LastAttempt of a Job which has most suitable information of JobDetails and Profile information int attemptIndex = attempt - 1; try { jobInfoDetailsUI = new JobInfoDetailsUI(); JobDetailsRequest detailRequest = JobDetailsRequest.newBuilder() .setJobId(JobProtobuf.JobId.newBuilder().setId(jobId).build()) .setUserName(securityContext.getUserPrincipal().getName()) .setProvideResultInfo(true) .build(); jobDetails = jobService.getJobDetails(detailRequest); } catch (JobNotFoundException e) { throw JobResourceNotFoundException.fromJobNotFoundException(e); } try { final String username = securityContext.getUserPrincipal().getName(); QueryProfileRequest request = QueryProfileRequest.newBuilder() .setJobId(JobProtobuf.JobId.newBuilder() .setId(jobDetails.getJobId().getId()) .build()) .setAttempt(attemptIndex) .setUserName(username) .build(); profile = jobService.getProfile(request); } catch (Exception e) { e.printStackTrace(); } jobDetails = ObfuscationUtils.obfuscate(jobDetails); profile = ObfuscationUtils.obfuscate(profile); return jobInfoDetailsUI.of(jobDetails, profile, catalogServiceHelper, reflectionServiceHelper, namespaceService, detailLevel, attemptIndex); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getJobInfo() {\n return jobInfo;\n }", "public Job getJob();", "public String getJob() {\n return job;\n }", "java.lang.String getJobId();", "public String getJobId();", "public String getJob() {\r\n\t\t\treturn job;\r\n\t\t}", "public UpdateJobDetails details() {\n ...
[ "0.792448", "0.75297195", "0.74244624", "0.73398715", "0.7337676", "0.7250135", "0.7210081", "0.69037414", "0.68382484", "0.68373287", "0.6821485", "0.67765254", "0.6774109", "0.6773875", "0.67692876", "0.67361534", "0.6730298", "0.67107165", "0.67107165", "0.67107165", "0.67...
0.6456781
33
only return a next if we returned a full list.
private String getNext( final int offset, final int limit, String filter, String sortColumn, ResultOrder order, int previousReturn, int level ) { if (previousReturn != limit) { return null; } StringBuilder sb = getNext(offset, limit, level); if (filter != null) { sb.append("&filter="); sb.append(esc(filter)); } if (sortColumn != null) { sb.append("&sort="); sb.append(esc(sortColumn)); } if (order != null) { sb.append("&order="); sb.append(order.name()); } return sb.toString(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "IList<T> getNext();", "boolean usesNext() {\n return next != null;\n }", "@Override\r\n public T next() {\r\n if (hasNext()) {\r\n node = node.next();\r\n nextCalled = true;\r\n return node.getData();\r\n }\r\n else {\r\n ...
[ "0.7011054", "0.69177157", "0.6814981", "0.6754288", "0.6745645", "0.6696955", "0.66509223", "0.66258484", "0.6600372", "0.6575709", "0.65733284", "0.6532986", "0.64936733", "0.6489836", "0.6486695", "0.6475139", "0.6467597", "0.64658374", "0.64652514", "0.64652514", "0.64314...
0.0
-1
this counts total number of tabs
@Override public int getCount() { return totalTabs; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getTabCount() {\n\t\treturn tabMap.size();\n\t}", "@Override\n\tpublic int getTabCount() {\n\t\treturn 0;\n\t}", "public int getNumberOfTabs() {\n\t\treturn this.tabPanelsMap.size();\n\t}", "public static int getTabViewCount() {\n return tabViews.size();\n }", "private int getChatTabCo...
[ "0.78797615", "0.7776552", "0.7701029", "0.7615727", "0.7274281", "0.71613234", "0.71197826", "0.70094234", "0.70094234", "0.6966805", "0.6800914", "0.6787976", "0.6716183", "0.6556896", "0.6556896", "0.6556896", "0.6309332", "0.6303997", "0.63001716", "0.62541217", "0.619033...
0.69367236
13
Instantiates a new xml worker userstats.
public XmlWorkerUserstats(){ this.statsDS = new UserstatsDS(); itemResolver = new hModItemResolver(new File(statsDS.getDataFolder(),"items.txt")); resolveCats = new String[]{"blockdestroy", "blockcreate", "itemdrop", "itempickup"}; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ReviewerStatisticsManagerImpl() {\n this(DEFAULT_NAMESPACE);\n }", "private void createStats(ParseUser parseUser) {\n Stats stats = new Stats();\n\n stats.setUser(parseUser);\n\n //default values\n stats.setPStat1(1);\n stats.setPStat2(1);\n stats.setPSt...
[ "0.5785156", "0.56720436", "0.5410022", "0.53960437", "0.5378536", "0.5327488", "0.53202784", "0.52974004", "0.5263756", "0.5247016", "0.5218081", "0.52141887", "0.51477563", "0.5133327", "0.50907505", "0.5049439", "0.50210905", "0.50182235", "0.500022", "0.4978507", "0.49682...
0.7656457
0
Build a XML subtree for the given player.
private Element getPlayerElement(String playerName, Document doc){ PlayerStat player_stats = statsDS.getPlayerStat(playerName); Element elem_player = doc.createElement("player"); elem_player.setAttribute("name", playerName); for(String catName : player_stats.getCats()){ Category cat = player_stats.get(catName); Element elem_cat = doc.createElement("category"); elem_cat.setAttribute("name", catName); for(String valName : cat.stats.keySet()){ int value = cat.get(valName); Element elem_value = doc.createElement("stat"); elem_value.setAttribute("name", valName); if (Arrays.asList(resolveCats).contains(catName)){ elem_value.setAttribute("id", String.valueOf(itemResolver.getItem(valName))); } elem_value.setAttribute("value", String.valueOf(value)); elem_cat.appendChild(elem_value); } elem_player.appendChild(elem_cat); } return elem_player; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void createTree() {\n\n\t\tint nextPlayer = opponent;\n\n\t\tQueue<Node> treeQueue = new LinkedList<Node>();\n\t\tWinChecker winCheck = new WinChecker();\n\n\t\ttreeQueue.add(parent);\n\n\t\twhile (!treeQueue.isEmpty()) {\n\t\t\tNode currentNode = treeQueue.poll();\n\n\t\t\tif (currentNode.getMove().Row ...
[ "0.5527514", "0.5291087", "0.51579136", "0.51458484", "0.5013551", "0.49828503", "0.49401206", "0.48488677", "0.4836413", "0.47400805", "0.4732923", "0.46960068", "0.467478", "0.46718448", "0.466308", "0.46486247", "0.46391156", "0.4638828", "0.45987344", "0.45639616", "0.453...
0.59270006
0
Create a RoutineAliasInfo for a PROCEDURE or FUNCTION
public RoutineAliasInfo(String methodName, int parameterCount, String[] parameterNames, DataTypeDescriptor[] parameterTypes, int[] parameterModes, int dynamicResultSets, String language, String parameterStyle, SQLAllowed sqlAllowed, boolean deterministic, boolean definersRights, boolean calledOnNullInput, DataTypeDescriptor returnType) { super(methodName); this.parameterCount = parameterCount; this.parameterNames = parameterNames; this.parameterTypes = parameterTypes; this.parameterModes = parameterModes; this.dynamicResultSets = dynamicResultSets; this.language = language; this.parameterStyle = parameterStyle; this.sqlAllowed = sqlAllowed; this.deterministic = deterministic; this.definersRights = definersRights; this.calledOnNullInput = calledOnNullInput; this.returnType = returnType; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "ProcedureDecl createProcedureDecl();", "ProcedureCall createProcedureCall();", "private void processCreateAlias() throws HsqlException {\n\n String alias;\n String methodFQN;\n\n try {\n alias = tokenizer.getSimpleName();\n } catch (HsqlException e) {\n if (ses...
[ "0.6162967", "0.533652", "0.51480174", "0.50074714", "0.49272585", "0.49217087", "0.48347068", "0.48194128", "0.4810552", "0.48016486", "0.46523854", "0.46484414", "0.4642378", "0.4605036", "0.4515573", "0.444279", "0.443749", "0.44286618", "0.44165888", "0.4415263", "0.43975...
0.57630163
1
Types of the parameters. If there are no parameters then this may return null (or a zero length array).
public DataTypeDescriptor[] getParameterTypes() { return parameterTypes; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "TypeInfo[] typeParams();", "@Override\n public Class<?>[] getParameterTypes() {\n return null;\n }", "public ITypeInfo[] getParameters();", "List<Type> getTypeParameters();", "char[][] getTypeParameterNames();", "public ActionParameterTypes getParametersTypes() {\n\t\treturn this.signature;\...
[ "0.72732466", "0.71782917", "0.7041265", "0.6718098", "0.6557194", "0.65318084", "0.651073", "0.64928424", "0.64526874", "0.64370775", "0.6389056", "0.6347243", "0.6341132", "0.6341132", "0.6329756", "0.6295969", "0.62925255", "0.62251395", "0.62089986", "0.61608446", "0.6110...
0.6619071
4
Returns an array containing the names of the parameters. As of DERBY 10.3, parameter names are optional (see DERBY183 for more information). If the ith parameter was unnamed, parameterNames[i] will contain a string of length 0.
public String[] getParameterNames() { return parameterNames; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Collection<String> getParamNames();", "@Override\n\tpublic Enumeration<String> getParameterNames() {\n\t\treturn null;\n\t}", "public String[] getParamTypeNames()\n/* */ {\n/* 353 */ return this.parameterTypeNames;\n/* */ }", "@Override\n\t\tpublic Enumeration getParameterNames()...
[ "0.76517206", "0.75305027", "0.7515596", "0.74777937", "0.7379808", "0.73452544", "0.7304737", "0.7303426", "0.7293079", "0.7187903", "0.69589007", "0.69269145", "0.6892143", "0.6730503", "0.6657084", "0.6647025", "0.6589459", "0.65328926", "0.6513348", "0.6487678", "0.646919...
0.8051841
0
Get this alias info as a string. This method must return a string that is syntactically valid.
public String toString() { StringBuffer sb = new StringBuffer(); sb.append('('); for (int i = 0; i < parameterCount; i++) { if (i != 0) sb.append(", "); if (returnType == null) { // This is a PROCEDURE. We only want to print the // parameter mode (ex. "IN", "OUT", "INOUT") for procedures-- // we don't do it for functions since use of the "IN" keyword // is not part of the FUNCTION syntax. sb.append(parameterMode(parameterModes[i])); sb.append(' '); } if (parameterNames[i] != null) { sb.append(parameterNames[i]); sb.append(' '); } sb.append(parameterTypes[i].getSQLstring()); } sb.append(')'); if (returnType != null) { // this a FUNCTION, so syntax requires us to append the return type. sb.append(" RETURNS " + returnType.getSQLstring()); } sb.append(" LANGUAGE "); sb.append(language); if (parameterStyle != null) { sb.append(" PARAMETER STYLE " ); sb.append(parameterStyle); } if (deterministic) { sb.append(" DETERMINISTIC "); } if (definersRights) { sb.append(" EXTERNAL SECURITY DEFINER"); } if (sqlAllowed != null) { sb.append(" "); sb.append(sqlAllowed.getSQL()); } if ((returnType == null) && (dynamicResultSets != 0)) { // Only print dynamic result sets if this is a PROCEDURE // because it's not valid syntax for FUNCTIONs. sb.append(" DYNAMIC RESULT SETS "); sb.append(dynamicResultSets); } if (returnType != null) { // this a FUNCTION, so append the syntax telling what to // do with a null parameter. sb.append(calledOnNullInput ? " CALLED " : " RETURNS NULL "); sb.append("ON NULL INPUT"); } return sb.toString(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic String toString() {\n\t\treturn super.toString() + \"\\n\" + this.alias;\n\t}", "public String toString() {\n\t\t\treturn aliases[0];\n\t\t}", "@Override\n\tpublic String alias() {\n\t\treturn toString();\n\t}", "public java.lang.CharSequence getAlias() {\n return alias;\n }", "...
[ "0.75172335", "0.74132365", "0.7089749", "0.69505614", "0.6920556", "0.65334463", "0.64848626", "0.64848626", "0.6482045", "0.6470978", "0.6425166", "0.6390882", "0.63814324", "0.6322293", "0.6243113", "0.6243113", "0.6197179", "0.6189414", "0.6189414", "0.618618", "0.6166781...
0.0
-1
Toast.makeText(MainActivity.this, result.getText().toString(), Toast.LENGTH_SHORT).show(); barcodeView.setStatusText(result.getText()); Added preview of scanned barcode
@Override public void possibleResultPoints(List<ResultPoint> resultPoints) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void run() {\n String scanNumText = result.getText();\n Toast.makeText(ItemScan.this, scanNumText, Toast.LENGTH_SHORT).show();\n Intent intent = getIntent();\n intent.putExtra(\"Barcode...
[ "0.77902186", "0.74131274", "0.72600484", "0.72146493", "0.71454567", "0.7084191", "0.7028942", "0.7011838", "0.69777715", "0.6838418", "0.68227184", "0.67171705", "0.6701007", "0.66883326", "0.66876173", "0.66876173", "0.6625411", "0.6579213", "0.6579069", "0.6534694", "0.64...
0.0
-1
initiating the qr code scan
@Override public void onClick(View view) { controlVisBAR(); barcodeView.decodeContinuous(callback); // barcodeView.resume(); barcodeView.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) { controlVisCAM(); } }); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void scanQrCode() {\r\n cameraView.getHolder().addCallback(new SurfaceHolder.Callback() {\r\n @Override\r\n public void surfaceCreated(SurfaceHolder holder) {\r\n try {\r\n if (ActivityCompat.checkSelfPermission(getApplicationContext(), Manifest...
[ "0.72532296", "0.6869486", "0.6760758", "0.6640906", "0.661303", "0.652298", "0.64403796", "0.6409258", "0.64022946", "0.6365861", "0.63613546", "0.63014", "0.6243117", "0.6227667", "0.6226016", "0.6198269", "0.6194558", "0.61396974", "0.6128056", "0.6104851", "0.6103286", ...
0.53016233
81
Crea un conjunto de mapas.
public CjtMap(){ cjtMap = new TreeMap(); sequence = new Sequence(1, 0, 1, false); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void createMap() {\n\t\tArrayList<String>boardMap = new ArrayList<String>(); //boardmap on tiedostosta ladattu maailman malli\n\t\t\n\t\t//2. try catch blocki, ei jaksa laittaa metodeja heittämään poikkeuksia\n\t\ttry {\n\t\t\tboardMap = loadMap(); //ladataan data boardMap muuttujaan tiedostosta\n\t\t} catc...
[ "0.68734795", "0.6266168", "0.62056506", "0.6156554", "0.6139228", "0.6093977", "0.6042112", "0.60354936", "0.60042703", "0.59830356", "0.59823734", "0.5972237", "0.59651154", "0.5957538", "0.59402347", "0.5865507", "0.5860417", "0.5841269", "0.582394", "0.5813878", "0.581363...
0.52715135
58
Consultora de la existencia de un mapa en el conjunto.
public boolean existsKey(int id) { return cjtMap.containsKey(id); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n public void mapContains() {\n check(MAPCONT);\n query(MAPCONT.args(MAPNEW.args(), 1), false);\n query(MAPCONT.args(MAPENTRY.args(1, 2), 1), true);\n }", "boolean hasMapID();", "boolean hasMapID();", "boolean hasMapID();", "boolean hasMapID();", "boolean hasMapID();", "boolean hasMapI...
[ "0.6725412", "0.6451567", "0.6451567", "0.6451567", "0.6451567", "0.6451567", "0.6451567", "0.6451567", "0.6451567", "0.6451567", "0.6451567", "0.6451567", "0.6451567", "0.6451567", "0.63674176", "0.59340686", "0.5886596", "0.5773623", "0.56846946", "0.56362396", "0.5628924",...
0.0
-1
Incorpora al conjunto un mapa nuevo.
public void setMap(int idRoom, int x, int y, Stack<AuxiliarElement> cjtElem, String nameRoom, int[][] doors, int[][] windows){ int key = sequence.getValue(); sequence.increase(); Map map = new Map(x, y, idRoom, nameRoom, doors, windows); map.setCjtElement(cjtElem); cjtMap.put(key, map); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void adicionaMap2() {\n\t\t\t\tcDebitos_DFlorianopolis.put(\"seq\", new Integer[] { 1, 5 });\r\n\t\t\t\tcDebitos_DFlorianopolis.put(\"dam\", new Integer[] { 6, 18 });\r\n\t\t\t\tcDebitos_DFlorianopolis.put(\"fiti\", new Integer[] { 19, 26 });\r\n\t\t\t\tcDebitos_DFlorianopolis.put(\"data_Venc\", new ...
[ "0.68895584", "0.6648315", "0.63466346", "0.6276141", "0.6269439", "0.6265493", "0.6258135", "0.61802936", "0.61740327", "0.6101891", "0.6011964", "0.6003233", "0.6002299", "0.59762686", "0.5966699", "0.59644467", "0.594135", "0.5925601", "0.5921443", "0.59161925", "0.5881220...
0.0
-1
Consultora de un mapa del conjunto.
public Map getMap(int idRoom){ return cjtMap.get(idRoom); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void adicionaMap2() {\n\t\t\t\tcDebitos_DFlorianopolis.put(\"seq\", new Integer[] { 1, 5 });\r\n\t\t\t\tcDebitos_DFlorianopolis.put(\"dam\", new Integer[] { 6, 18 });\r\n\t\t\t\tcDebitos_DFlorianopolis.put(\"fiti\", new Integer[] { 19, 26 });\r\n\t\t\t\tcDebitos_DFlorianopolis.put(\"data_Venc\", new ...
[ "0.64160824", "0.6348209", "0.62375456", "0.6214923", "0.61510694", "0.614944", "0.61105734", "0.6099418", "0.60965866", "0.6044939", "0.5988112", "0.59555817", "0.594719", "0.59408855", "0.59164494", "0.5864776", "0.5796659", "0.5795477", "0.5778961", "0.57770026", "0.575359...
0.5403613
75
Consultora del 'size' del conjunto.
public int size(){ return cjtMap.size(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getSetSize(){ return Integer.parseInt(setSize.getText()); }", "public int get_size();", "public int get_size();", "public int Size(){\n \treturn size;\n\t}", "public int getSize() { return size; }", "public int getSize(){\n\t\treturn size;\n\t}", "public int getSize(){\n\t\treturn size;\n...
[ "0.7492518", "0.72836506", "0.72836506", "0.727927", "0.7207965", "0.72020215", "0.72020215", "0.72020215", "0.72020215", "0.7183267", "0.71830773", "0.718154", "0.71770644", "0.71709555", "0.7170399", "0.71663153", "0.7159952", "0.7159952", "0.7159952", "0.7159952", "0.71599...
0.0
-1
Consultora del siguiente Id disponible del conjunto.
public int getCount(){ return sequence.getValue(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Long getId()\r\n\t{\r\n\t\treturn idContrat;\r\n\t}", "@Transient\n @Override\n public Integer getId()\n {\n return this.conservDescriptionId;\n }", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.String getId();", "java.lang.S...
[ "0.7014428", "0.68419385", "0.6826062", "0.6826062", "0.6826062", "0.6826062", "0.6826062", "0.6826062", "0.6826062", "0.6826062", "0.6826062", "0.6826062", "0.6826062", "0.6826062", "0.6826062", "0.6826062", "0.6826062", "0.6826062", "0.6826062", "0.6826062", "0.6826062", ...
0.0
-1
Elimina un elemento del pack.
public void remove(int idTarget){ cjtMap.remove(idTarget); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void removeCvpack(Cvpack cvpack);", "E remove(E element) {\n\t\t\tshort index = (short)((element.hashCode() >> 24) & 0x000000FF);\n\t\t\tE obj = nodes[index].remove(this, element.hashCode(), (byte) 1);\n\t\t\tif (obj != null) {\n\t\t\t\tsize--;\n\t\t\t}\n\t\t\treturn obj;\n\t\t}", "public void removeByD...
[ "0.64673233", "0.62949586", "0.6266885", "0.6245565", "0.6082726", "0.6058612", "0.60479766", "0.60427505", "0.5992888", "0.59782994", "0.59782994", "0.59782994", "0.59782994", "0.59782994", "0.59729505", "0.59542894", "0.59365237", "0.5932919", "0.5930347", "0.5915272", "0.5...
0.0
-1
Metodi Getter e Setter (Necessari per la Dependency Setter Injection)
public TextFilePrinter getPrinter();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test @DisplayName(\"Injector - setting (direct)\")\n void injectorSetters() throws Exception {\n val injector = injector(inj -> {\n inj.set(\"text\", \"some text\");\n inj.set(\"label\", \"a label\");\n inj.set(\"attrs\", Map.of(\"alpha\", \"one\"));\n });\n\n ...
[ "0.67543226", "0.6151469", "0.60140365", "0.58619654", "0.58535194", "0.58113086", "0.5810094", "0.5792875", "0.5766883", "0.5753605", "0.57485783", "0.5739392", "0.5732637", "0.56827235", "0.56596416", "0.5658819", "0.563507", "0.5632668", "0.55932516", "0.5590314", "0.55863...
0.0
-1
TODO code application logic here
public static void main(String[] args) { MovieDatabaseBackend movies= new MovieDatabaseBackend(); //movies.writeMovieDBFile(FILE); Scanner keyboard=new Scanner(System.in); System.out.println("Welcome to the movie database!"); boolean quit=false; while(!quit) { System.out.println("Would you like to" + "\n1. add a movie" + "\n2. remove a movie" + "\n3. sort by title" + "\n4. sort by rating" + "\n5. sort by box office gross" + "\n6. search by director" + "\n7. print the database" + "\nor 9. quit?"); int choice=keyboard.nextInt(); keyboard.nextLine(); switch(choice) { case 1: Movie nMovie=new Movie(); System.out.println("Enter the title"); nMovie.setName(keyboard.nextLine()); System.out.println("Enter the year"); nMovie.setYear(keyboard.nextInt()); keyboard.nextLine(); System.out.println("Enter the rating"); nMovie.setRating(keyboard.nextDouble()); keyboard.nextLine(); System.out.println("Enter the director"); nMovie.setDirector(keyboard.nextLine()); System.out.println("Enter the box office gross"); nMovie.setBoxOfficeGross(keyboard.nextDouble()); keyboard.nextLine(); movies.addMovie(nMovie); movies.printFile(); break; case 2: System.out.println("Enter the title"); movies.removeMovie(keyboard.nextLine()); break; case 3: System.out.println("Enter the title"); movies.sortByTitle(keyboard.nextLine()); break; case 4: System.out.println("Sorted by rating"); movies.sortByRating(); movies.writeMovieDBFile(FILE); break; case 5: System.out.println("Sorted by box office gross"); movies.sortByBoxOffice(); break; case 6: System.out.println("Enter the director"); movies.searchDirector(keyboard.nextLine()); break; case 7: movies.readMovieDBFile(FILE); break; case 9: System.out.println("Goodbye"); quit=true; break; } } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void perish() {\n \n }", "@Override\n\tprotected void logic() {\n\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\n public void settings() {\n // TODO Auto-generated method stub\n \n }"...
[ "0.60802186", "0.5912082", "0.58425087", "0.58339286", "0.5810548", "0.57580656", "0.57396024", "0.5721001", "0.5705411", "0.5666017", "0.5657976", "0.5613798", "0.5611188", "0.5611188", "0.55960613", "0.55933475", "0.557677", "0.5572332", "0.5565667", "0.55482084", "0.553657...
0.0
-1
Represents a user in the repository.
public interface User { /** * Get the id of the user. * * @return the id of the user * @throws RepositoryException */ String getId() throws RepositoryException; /** * Whether this user is marked as a system user. * * @return whether this user is marked as a system user. * @throws RepositoryException */ boolean isSystemUser() throws RepositoryException; /** * Whether this user is marked as active. * * @return whether this user is marked as active. * @throws RepositoryException */ boolean isActive() throws RepositoryException; /** * Get the {@link Group}s this user is a member of. * * @return the {@link Group}s this user is a member of. * @throws RepositoryException */ Iterable<Group> getMemberships() throws RepositoryException; /** * Get the first name property of this user. * * @return the first name property of this user or {@code null} if not present * @throws RepositoryException */ String getFirstName() throws RepositoryException; /** * Get the last name property of this user. * * @return the last name property of this user or {@code null} if not present * @throws RepositoryException */ String getLastName() throws RepositoryException; /** * Get the email property of this user. * * @return the email property of this user or {@code null} if not present * @throws RepositoryException */ String getEmail() throws RepositoryException; /** * Get the last login property of this user. * * @return the last login property of this user or {@code null} if not present * @throws RepositoryException */ Calendar getLastLogin() throws RepositoryException; /** * Get an external user property by name. * * @return the external property of the user identified by {@code propertyName}, * or {@code null} if not present * @throws RepositoryException */ String getProperty(String propertyName) throws RepositoryException; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public User() {\n this.id = 0;\n this.username = \"gfisher\";\n this.password = \"password\";\n this.email = \"email@gmail.com\";\n this.firstname = \"Gene\";\n this.lastname = \"Fisher\";\n this.type = new UserPermission(true, true, true, true);\n }", "public ...
[ "0.6730687", "0.6701714", "0.65207857", "0.6508628", "0.64584553", "0.6404459", "0.6361057", "0.6355399", "0.6341866", "0.6331926", "0.6331926", "0.6331926", "0.6331926", "0.63085747", "0.6299833", "0.6280413", "0.62578243", "0.6250503", "0.62499565", "0.6243059", "0.6243059"...
0.59456944
69
Get the id of the user.
String getId() throws RepositoryException;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Integer getUserId();", "Long getUserId();", "public Long getUserId() {\n return this.user.getId();\n }", "long getUserId();", "long getUserId();", "public Long getUserID() {\n Authentication authentication = SecurityContextHolder.getContext().getAuthentication();\n return getByUse...
[ "0.8030858", "0.7870666", "0.7811118", "0.77907145", "0.77907145", "0.7779138", "0.77042234", "0.77042234", "0.77042234", "0.77042234", "0.7667498", "0.7659558", "0.7650261", "0.7650261", "0.7650261", "0.7637522", "0.7637522", "0.76074684", "0.76074684", "0.75694096", "0.7545...
0.0
-1
Whether this user is marked as a system user.
boolean isSystemUser() throws RepositoryException;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isSetSysuserId() {\n return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __SYSUSERID_ISSET_ID);\n }", "public boolean isSystemPrincipal() {\n return false;\n }", "public Boolean isSystemAssignedIdentity() {\n return this.isSystemAssignedIdentity;\n }", ...
[ "0.7410066", "0.722625", "0.7037348", "0.70171684", "0.6765416", "0.6620295", "0.6620295", "0.6547477", "0.6540142", "0.65360904", "0.648073", "0.6465787", "0.64111733", "0.6385182", "0.6369207", "0.6323143", "0.63107747", "0.62566245", "0.6227313", "0.6219259", "0.6207126", ...
0.74480414
0
Whether this user is marked as active.
boolean isActive() throws RepositoryException;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isIsActive() {\n return isActive;\n }", "public boolean isIsActive() {\r\n return isActive;\r\n }", "public Boolean getIsActiveAsBoolean() {\n if (this.isActive == null) {\n return null;\n } else if (this.isActive.toLowerCase().equals(\"true\")) {\n ...
[ "0.7236592", "0.72064364", "0.71458143", "0.710642", "0.70458597", "0.7029221", "0.7005259", "0.69005704", "0.6883365", "0.6874931", "0.68518764", "0.6836387", "0.6835747", "0.68305033", "0.6825041", "0.6818906", "0.68094194", "0.6801924", "0.6778522", "0.6778522", "0.6762752...
0.0
-1
Builds a BWTIndex of s and checks the correctness.
private void buildBWTandTest(byte[] s, int nr , Alphabet alphabet) { if (nr == 11) { System.out.println(); } Sequences sequence = Sequences.createEmptySequencesInMemory(); try { sequence.addSequence(ByteBuffer.wrap(s)); } catch (IOException e) { e.printStackTrace(); } final SuffixTrayBuilder stb = new SuffixTrayBuilder(sequence, alphabet, "suffix"); stb.build("bothLR"); // WARNING: change the method and you must change the type cast in the // next line! assert (stb.getSuffixDLL() instanceof SuffixXorDLL); final SuffixXorDLL suffixDLL = (SuffixXorDLL) stb.getSuffixDLL(); // type cast is okay // because I used method // 'bothLR' to build the // list // test index bwt(s); BWTBuilder.BWT bwt = BWTBuilder.build(suffixDLL); BWTIndex index = BWTIndexBuilder.build(bwt.bwt, bwt.sampledSuffixArray); for (int i = -128; i < 128; i++) { assertEquals(String.format( "[Test %d] Array 'c' differs at position %s (expected: %s - actual: %s)", nr, i, c[i + 128], index.getFirstIndexPosition((byte) i)), c[i + 128], index.getFirstIndexPosition((byte) i)); } if (nr == 11) { System.out.println(Arrays.toString(s)); for (int i = 0; i < e.length; i++) { System.out.print(index.getCharacterAtIndexPosition(i)); } System.out.println(); } for (int i = 0; i < e.length; i++) { assertEquals(String.format( "[Test %d] Array 'e' differs at position %s (expected: %s - actual: %s)", nr, i, e[i], index.getCharacterAtIndexPosition(i)), e[i], index.getCharacterAtIndexPosition(i)); } // System.out.println(Arrays.toString(e)); // for (int i = 0; i < el.length; i++) { // System.out.print(index.getSuccedingIndexPosition(i) + " "); // } // System.out.println(); for (int i = 0; i < el.length; i++) { assertEquals(String.format( "[Test %d] Array 'el' differs at position %s (expected: %s - actual: %s)", nr, i, el[i], index.getSuccedingIndexPosition(i)), el[i], index.getSuccedingIndexPosition(i)); } for (int i = 0; i < e.length; i++) { int sequencePos = index.map2text(i); assertEquals( String.format( "[Test %d] Wrong mapping to text at index position %s (index.getSuccedingIndexPosition(i) = %d)", nr, i, sequencePos), index.getCharacterAtIndexPosition(i), sequence.array()[sequencePos]); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean createIndex(Hashtable<String, Hashtable<Integer,Quad>> ind_buffer){\n\t\tSet<String> keys = ind_buffer.keySet();\n\t\tHashtable<Integer,Quad> list;\n\t\tQuad comp;\n\t\tint part;\n\t\tint type1_s, type1_o;\n\t\tint type_s,type_o;\n\t\tint wei, wei1; // compared use\n\t\tint o_bytes, s_bytes, o_bytes...
[ "0.5291888", "0.52083474", "0.5178374", "0.5166365", "0.5146775", "0.51232255", "0.51044923", "0.51041734", "0.50550795", "0.503865", "0.49853757", "0.49376258", "0.48829633", "0.48387456", "0.4837893", "0.48320103", "0.4827133", "0.48264852", "0.48226425", "0.48175594", "0.4...
0.53633547
0
Builds a BWTIndex from seq and stores the corresponding structure in c, e and el.
public static void bwt(final byte[] seq) { byte[][] bwt_matrix = new byte[seq.length][]; bwt_matrix[0] = Arrays.copyOf(seq, seq.length); for (int i = 1; i < bwt_matrix.length; i++) { bwt_matrix[i] = new byte[seq.length]; int j; for(j = 0; j < seq.length-1; j++) { bwt_matrix[i][j] = bwt_matrix[i-1][j+1]; } bwt_matrix[i][j] = bwt_matrix[i-1][0]; } Arrays.sort(bwt_matrix, new ComparatorBySuffix()); e = new byte[bwt_matrix.length]; byte[] l = new byte[bwt_matrix.length]; for (int i = 0; i < bwt_matrix.length; i++) { l[i] = bwt_matrix[i][bwt_matrix[i].length-1]; e[i] = bwt_matrix[i][0]; } int[] counter = new int [256]; for (byte b: e) { counter[b+128]++; } c = new int[256]; c[0] = 0; for(int i = 1; i < c.length; i++) { c[i] = c[i-1] + counter[i-1]; } counter = Arrays.copyOf(c, c.length); el = new int[e.length]; for(int i = 0; i < l.length; i++) { final byte b = l[i]; final int bi = b + 128; el[counter[bi]] = i; counter[bi]++; } //check el array: for(int i = 0; i < el.length; i++) { final byte[] tmp = new byte[bwt_matrix[i].length]; for (int j = 1; j < bwt_matrix[i].length; j++) { tmp[j-1] = bwt_matrix[i][j]; } tmp[tmp.length-1] = bwt_matrix[i][0]; assertArrayEquals(String.format("Failure in el reference array at position %d", i), tmp, bwt_matrix[el[i]]); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void buildIndex(Collection<Edge> edges) {\n\t\tfor (Edge e : edges) {\r\n\t\t\tList<Integer> ids = getCells(e);\r\n\t\t\tfor (int j = 0; j < ids.size(); j++) {\r\n\t\t\t\tList<Edge> list = dict.get(ids.get(j));\r\n\t\t\t\tif (list == null) {\r\n\t\t\t\t\tlist = new ArrayList<Edge>();\r\n\t\t\t\t\tdict.put(...
[ "0.53119856", "0.5215006", "0.5039108", "0.48215848", "0.4649757", "0.46002245", "0.4568835", "0.45464072", "0.4545639", "0.45203805", "0.44806677", "0.4479281", "0.44687465", "0.44681138", "0.44619524", "0.44555217", "0.4409811", "0.43957457", "0.43906933", "0.43895638", "0....
0.50589746
2
Compares two byte arrays and calculates the lcp value (longest common prefix). If 0 is returned, both arrays are the same. If i (a negative integer) is returned, the first arrays stands before the second in a suffix array. The lcp value is '(i1)'. If i (a positive integer) is returned, the first suffix stands behind the second in a suffix array. The lcp value is '(i1')'. Generally the lcp value can be received with ' i==0 ? o1.length : Math.abs(i)1', where 'i' is the return value.
@Override public int compare(byte[] o1, byte[] o2) { for (int i = 0; i < o1.length && i < o2.length; i++) { if (o1[i] < o2[i]) { return -(i + 1); } else if (o1[i] > o2[i]) { return (i + 1); } } if (o1.length < o2.length) { return -(o1.length + 1); } else if (o1.length > o2.length) { return (o2.length + 1); } else { return 0; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "static int[] lcp(char[] s) {\n return lcp(s, suffix(s));\n}", "public static int unsignedLongestCommonPrefix(long z1, long z2) {\n\treturn Long.numberOfLeadingZeros(z1 ^ z2);\n }", "private int lcs(String word1, String word2) {\n int m = word1.length();\n int n = word2.length();\n in...
[ "0.6512329", "0.65121746", "0.64320034", "0.6289001", "0.62594974", "0.6252307", "0.624868", "0.6210278", "0.62039083", "0.61905515", "0.61562824", "0.6075037", "0.604969", "0.6035242", "0.6002746", "0.600148", "0.599329", "0.59254944", "0.59085864", "0.58786887", "0.58776796...
0.53576124
54
Get a compressed bitmap from file
public static Bitmap getCompressedBitmap(String filePath, double size) { Bitmap bitmap = null; boolean outofmemory = true; BitmapFactory.Options options = new BitmapFactory.Options(); int inSampleSize = 0; ByteArrayOutputStream output = new ByteArrayOutputStream(); while (outofmemory) { try { options.inSampleSize = ++inSampleSize; output.reset(); bitmap = BitmapFactory.decodeFile(filePath, options); if (size > 0) { bitmap.compress(Bitmap.CompressFormat.JPEG, 100, output); if (output.toByteArray().length > 102400 * size) { outofmemory = true; bitmap.recycle(); bitmap = null; continue; } } outofmemory = false; } catch (Exception e) { e.printStackTrace(); bitmap = null; outofmemory = false; } catch (OutOfMemoryError err) { outofmemory = true; try { bitmap.recycle(); } catch (Exception e) { } System.gc(); } } return bitmap; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private Bitmap decodeFile(File f)\n {\n Bitmap ret = null;\n try\n {\n FileInputStream is = new FileInputStream(f);\n ret = BitmapFactory.decodeStream(is, null, null);\n }\n catch (FileNotFoundException e)\n {\n e.printStackTrace();\n ...
[ "0.6289596", "0.6279521", "0.6151032", "0.6147669", "0.6142833", "0.6128308", "0.5993281", "0.59877276", "0.5986534", "0.59484184", "0.58412826", "0.58393687", "0.580839", "0.58000046", "0.579553", "0.570637", "0.56825346", "0.5654812", "0.5597122", "0.55835044", "0.5578393",...
0.6514246
0
Sets the DataSet for the class
private boolean setDataSet(DataSet[] db){ m_db = db; return true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setDataSet(DataSet dataSet) {\r\n\t\tthis.dataSet = dataSet;\r\n\t}", "@Override\n\tpublic void setDataSet(IDataSet ds) {\n\t\t\n\t}", "public void setDataSet(DataSet dataSet) {\r\n dataBinder.setDataSet(dataSet);\r\n }", "public void setDataSet(DataSet dataSet) {\r\n navBinder.setDataSet(...
[ "0.7738003", "0.7626583", "0.7413654", "0.71675134", "0.7037612", "0.6932432", "0.6744827", "0.6610743", "0.6500373", "0.6492296", "0.6492296", "0.6492296", "0.6492296", "0.6492296", "0.6492296", "0.6488609", "0.64171535", "0.6388809", "0.6366871", "0.62899095", "0.62677675",...
0.631166
19
Sets the Memory reference to the Programs TabPanel
private boolean setTabPannel(TabPanel tp){ m_tp = tp; return true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void setMemory() {\n\t\tlong allMemory = MemoryManager.getPhoneTotalRamMemory();\n\t\tlong freeMemory = MemoryManager.getPhoneFreeRamMemory(this);\n\t\tlong usedMemory = allMemory - freeMemory;\n\t\tint angle = (int) (usedMemory*360/allMemory);\n\t\tclearView.setAngleWithAnim(angle);\n\t}", "private Main...
[ "0.6429245", "0.6220109", "0.61105245", "0.60295856", "0.60294497", "0.59885126", "0.59768087", "0.59372115", "0.58872503", "0.5883914", "0.56866705", "0.56863075", "0.5632382", "0.56210214", "0.5604408", "0.5548247", "0.5518273", "0.5380215", "0.5356155", "0.5321221", "0.529...
0.0
-1
Gets the File the user wants to open.
public File getSaveFile(){ JFileChooser fileChooser = new JFileChooser(); fileChooser.setFileFilter(new FileNameExtensionFilter( "GMS Files Only", "GMS")); int returnValue = fileChooser.showSaveDialog(null); if (returnValue == JFileChooser.APPROVE_OPTION) { return fileChooser.getSelectedFile(); }else{ return null; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String openFile() {\n\t\t\n\t\tString chosenFile = \"\";\n\t\treturn chosenFile;\n\t\t\n\t}", "private String getFile() {\r\n\t\tJFileChooser fileChooser = new JFileChooser(FileSystemView.getFileSystemView().getHomeDirectory());\r\n\t\tfileChooser.setDialogTitle(\"Choose a file to open: \");\r\n\t\tfileCh...
[ "0.7945678", "0.7808538", "0.76151985", "0.72097605", "0.7101271", "0.70579815", "0.70381993", "0.70168114", "0.6978303", "0.68042576", "0.6757317", "0.6658718", "0.66532975", "0.66532975", "0.6552092", "0.65456575", "0.6540686", "0.64804435", "0.6474354", "0.64530414", "0.64...
0.0
-1
This method will write the file in a XML format so that the openDialog class can read it.
public boolean SaveFile(File file){ FileWriter fw = null; try { if(file !=null){ fw = new FileWriter(file.getAbsoluteFile()); BufferedWriter bw = new BufferedWriter(fw); bw.write( "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" + "<Visulisation>\n" ); for(int pos = 0; pos<m_db.length;pos++){ bw.write("<Data>\n"); bw.write("<Date>"+getDate()+"</Date>\n"); bw.write("<File>"+m_db[pos].getFilePath()+"</File>\n"); bw.write("<RawData>"+writeRawData(pos)+"</RawData>\n"); bw.write("</Data>\n"); } for(int i =0; i<m_tp.GetNumOfCharts();i++){ Chart c = m_tp.GetTab(i); System.out.print("c=000000 "+c); ColourMap cm = c.GetColourMap(); bw.write("<Chart>\n"); bw.write("<ChartType>"+c.GetChartType().toString()+ "</ChartType>\n"); bw.write("<DataSetID>"+c.GetData().getID()+"</DataSetID>\n"); bw.write("<XColumn>"+c.GetXColumnPosition()+"</XColumn>\n"); bw.write("<YColumn>"+c.GetYColumnPosition()+"</YColumn>\n"); bw.write("<ChartTitle>"+c.GetTitle()+"</ChartTitle>\n"); bw.write("<Author>"+c.GetAuthor()+"</Author>\n"); bw.write("<Desc>"+c.GetDescription()+"</Desc>\n"); bw.write("<Schemme>\n"); for(int j =0; j<cm.getNumberOfColours();j++){ Color cl = cm.getColour(j); System.err.println("Color = "+cl); String r = Integer.toString(cl.getRed()); String g = Integer.toString(cl.getGreen()); String b = Integer.toString(cl.getBlue()); System.err.print("Red = "+r+" | "); System.err.print("Green = "+g+" | "); System.err.println("Blue = "+b); bw.write("<Color>"); bw.write(r+","); bw.write(g+","); bw.write(b); bw.write("</Color>\n"); } bw.write("</Schemme>\n"); bw.write("</Chart>\n"); } bw.write("</Visulisation>"); bw.close(); return true; }else{ System.err.println("DNF"); return false; } } catch (IOException ex) { System.err.print(ex); return false; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void xmlSave() {\r\n FileDialog fd = new FileDialog(new Frame(), \r\n \"Save as a jMusic XML file...\", \r\n FileDialog.SAVE);\r\n fd.show();\r\n if (fd.getFile() != null) {\r\n jm.util.Write.xml(sco...
[ "0.7482219", "0.7093412", "0.6950234", "0.6919802", "0.6611661", "0.65783006", "0.65542907", "0.6490842", "0.63255334", "0.6295997", "0.6270693", "0.62578404", "0.6221944", "0.6201415", "0.6123918", "0.60734594", "0.60732013", "0.60694236", "0.60535926", "0.60517126", "0.6046...
0.54555917
82
Creation a new PlaceableImpl with pos (0,0,0) and no rotation.
public PlaceableImpl() { this.position = new Point3f(); this.rotation = new Matrix3f(); this.rotation.setIdentity(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Position createPosition();", "public Position() {\n\n\t}", "PositionedObject(){\n float x = DrawingHelper.getGameViewWidth()/2;\n float y = DrawingHelper.getGameViewHeight()/2;\n _position.set(x,y);\n }", "public Place() {\r\n\t\tthis.name = \"Unknown Place\";\r\n\t\tthis.data = new L...
[ "0.70129156", "0.64776", "0.6386239", "0.63253003", "0.63097674", "0.63039994", "0.628699", "0.61668265", "0.6118022", "0.6083547", "0.60593134", "0.5987335", "0.58966565", "0.58924824", "0.58885163", "0.58685416", "0.58447033", "0.5842856", "0.57912636", "0.5776164", "0.5746...
0.84304994
0
/ Additionnal methods (e.g. for those wanting to connect Interpolators to only one dimension
public float getPositionX() {return this.position.getX();}
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface Interpolator {\n /**\n * Adds a new Point with the given x and y value.\n * @param x x-value to add\n * @param y y-value to add\n * @return the Point which was added\n */\n public Point2D addPoint(double x, double y);\n /**\n * Adds a new point at the given index.\...
[ "0.65648663", "0.5964947", "0.58269185", "0.5563687", "0.54859614", "0.54646605", "0.54593176", "0.5438095", "0.53609353", "0.53588796", "0.53533703", "0.53517866", "0.530523", "0.5282214", "0.5275373", "0.5262392", "0.5232314", "0.52300215", "0.51707584", "0.51410097", "0.51...
0.0
-1
Constructs a new LevelLoader object.
public LevelLoader(String directoryPath) { directory = TextFileReader.getDirectory(directoryPath); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public LevelLoader(GameStateManager gsm){\n\t\tsuper(gsm);\n\t}", "public Loader(){\n\t\tthis(PLANETS, NEIGHBOURS);\n\t}", "public LevelLoader(GameStateManager gsm, String worldName, String map_name) {\n\t\tsuper(gsm);\n\t\tthis.worldName = worldName;\n\t\tthis.map_name = map_name;\n\t}", "Level makeLevel(St...
[ "0.7063366", "0.65769064", "0.6550615", "0.6525462", "0.64710385", "0.6401524", "0.6264721", "0.62285644", "0.622679", "0.6224327", "0.6165074", "0.60937405", "0.6010175", "0.5909136", "0.58871025", "0.58789545", "0.58737254", "0.58429337", "0.57941186", "0.57876724", "0.5787...
0.6855366
1
Reads the details of the current level from the level file.
public void getLevelDetails(int levelNum) { Scanner scnr = TextFileReader.getScannedFile("LH_Level" + levelNum, directory); if (scnr == null) { System.out.println("Failed to find level" + levelNum); return; } while (scnr.hasNextLine()) { String line = scnr.nextLine(); String[] details = line.split(","); String type = details[0]; if (type.equals("levelDetails")) { initialiseLevel(details, 1); } } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getCurrentLevel() \n { \n return currentLevel; \n }", "public void gatherLevelJson(String filename) {\r\n\t\tif(level == 0) { // Get level editor level\r\n\t\t\tPreferences prefs = GDXRoot.getPreferences();\r\n\t\t\tif(prefs.contains(filename)) {\r\n\t\t\t\tlevelAssets = new JsonReader...
[ "0.64578617", "0.6405359", "0.62912303", "0.62809724", "0.6250149", "0.6207305", "0.62006634", "0.6159559", "0.615488", "0.6140042", "0.61282164", "0.61138415", "0.61124337", "0.6086334", "0.6086334", "0.6086334", "0.6086334", "0.6086334", "0.60707504", "0.6069566", "0.604530...
0.68710274
0
Returns an ArrayList of all the Objectives read from the level file.
public ArrayList<Entity> getComponents(int levelNum) { ArrayList<Entity> entities = new ArrayList<Entity>(); Scanner scnr = TextFileReader.getScannedFile("LH_Level" + levelNum, directory); if (scnr == null) { System.out.println("Failed to find level" + levelNum); return null; } while (scnr.hasNextLine()) { String line = scnr.nextLine(); String[] details = line.split(","); String type = details[0]; String detail1 = details[1]; if (type.equals("component")) { if (detail1.equals("rectangle")) { entities.add(addRectangle(details, 2)); } if (detail1.equals("floor")) { entities.add(addFloor(details, 2)); } } } return entities; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ArrayList<Objective> getObjectives(int levelNum) {\n\n\t\tArrayList<Objective> objectives = new ArrayList<Objective>();\n\n\t\tScanner scnr = TextFileReader.getScannedFile(\"LH_Level\" + levelNum, directory);\n\n\t\tif (scnr == null) {\n\t\t\tSystem.out.println(\"Failed to find level\" + levelNum);\n\t\t\tr...
[ "0.7184575", "0.6502855", "0.6487571", "0.6155302", "0.6067034", "0.60445344", "0.59346014", "0.5889338", "0.57916206", "0.57605845", "0.57424957", "0.57372487", "0.56725466", "0.56676126", "0.5630024", "0.561642", "0.56087375", "0.5604155", "0.55631185", "0.5562726", "0.5541...
0.55235386
21
Returns an ArrayList of all the Objectives read from the level file.
public ArrayList<Objective> getObjectives(int levelNum) { ArrayList<Objective> objectives = new ArrayList<Objective>(); Scanner scnr = TextFileReader.getScannedFile("LH_Level" + levelNum, directory); if (scnr == null) { System.out.println("Failed to find level" + levelNum); return null; } while (scnr.hasNextLine()) { String line = scnr.nextLine(); String[] details = line.split(","); String type = details[0]; String detail1 = details[1]; if (type.equals("objective")) { if (detail1.equals("door")) { objectives.add(addDoor(details, 2)); } } } return objectives; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static List<Objective> loadObjectives() throws IOException {\n\t\tString nextLine;\n\t\tPattern objStartPattern = Pattern.compile(\"<objective\");\n\t\tMatcher m;\n\t\tLinkedList<Objective> objectives = new LinkedList<>();\n\n\t\twhile ((nextLine = getNextLine()) != null) {\n\t\t\tif (nextLine.matches(\"\\...
[ "0.6502855", "0.6487571", "0.6155302", "0.6067034", "0.60445344", "0.59346014", "0.5889338", "0.57916206", "0.57605845", "0.57424957", "0.57372487", "0.56725466", "0.56676126", "0.5630024", "0.561642", "0.56087375", "0.5604155", "0.55631185", "0.5562726", "0.5541395", "0.5523...
0.7184575
0
Returns an ArrayList of all the Enemies read from the level file.
public ArrayList<Enemy> getEnemies(int levelNum) { ArrayList<Enemy> enemies = new ArrayList<Enemy>(); Scanner scnr = TextFileReader.getScannedFile("LH_Level" + levelNum, directory); if (scnr == null) { System.out.println("Failed to find level" + levelNum); return null; } while (scnr.hasNextLine()) { String line = scnr.nextLine(); String[] details = line.split(","); String type = details[0]; String detail1 = details[1]; if (type.equals("enemy")) { if (detail1.equals("grunt")) { enemies.add(addGrunt(details, 2)); } } } return enemies; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "static Enemy[] getEnemies() throws FileNotFoundException {\n\t\tString[] enemyData = readFile(\"Data/Enemies.txt\");\n\t\tEnemy[] enemies = new Enemy[enemyData.length];\n\t\t\n\t\tfor (int i = 0; i<enemyData.length; i++){\n\t\t\tString[] thisEnemyData = enemyData[i].split(\"/\");\n\t\t\tenemies[i] = new Enemy(\n\t...
[ "0.808756", "0.72323805", "0.71699584", "0.6914693", "0.68494874", "0.6835324", "0.67945683", "0.6561009", "0.6428961", "0.6412198", "0.6368745", "0.63525504", "0.5980009", "0.5979431", "0.59689796", "0.5936522", "0.59103376", "0.5907983", "0.5842977", "0.57937515", "0.578225...
0.79951656
1
TODO fix for schema databases (dummy database connection)
private boolean executeQuery(String inputPath, String inputFile, String outputType, String outputPath, String outputFile) throws InterruptedException{ Database database = null; //DatabaseTools.getDatabase("io.metadew.iesi.connection.database.sqlite.SqliteDatabase"); ObjectMapper objectMapper = new ObjectMapper(); DataObjectOperation dataObjectOperation = new DataObjectOperation(inputFile); for (DataObject dataObject : dataObjectOperation.getDataObjects()) { MetadataTable metadataTable = objectMapper.convertValue(dataObject.getData(), MetadataTable.class); FileTools.appendToFile(outputFile, "", DatabaseHandler.getInstance().getCreateStatement(database, metadataTable, "IESI_")); } this.getActionExecution().getActionControl().increaseSuccessCount(); return true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void connectDatabase(){\n }", "@Before\r\n\tpublic void setUp() throws SQLException {\n\t\tconn = DBManager.getInstance().getConnection();\r\n\t}", "public GosplPopulationInDatabase() {\n\t\ttry {\n\t\t\tthis.connection = DriverManager.getConnection(\n\t\t\t\t\t\"jdbc:hsqldb:mem:\"+mySqlDBname+\";sh...
[ "0.671098", "0.6454204", "0.6440574", "0.63719285", "0.6367064", "0.6362328", "0.63618016", "0.6298616", "0.62926143", "0.62434024", "0.623064", "0.62164205", "0.6215311", "0.62122446", "0.62103146", "0.62099105", "0.6193751", "0.6184547", "0.6161295", "0.615604", "0.6154561"...
0.0
-1
Drop User Table if exist
@Override public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) { db.execSQL(DROP_KAFSH_TABLE); db.execSQL(DROP_DARMANI1_TABLE); db.execSQL(DROP_DARMANI2_TABLE); // Create tables again onCreate(db); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void dropUsersTable() {\n\n Session session = sessionFactory.openSession();\n Transaction tx = session.beginTransaction();\n session.createSQLQuery(\"DROP TABLE IF EXISTS Users\").executeUpdate();\n tx.commit();\n session.close();\n\n }", "@Override\n\t...
[ "0.80555433", "0.76483446", "0.7420146", "0.73900676", "0.73900676", "0.73900676", "0.73900676", "0.73675084", "0.7364191", "0.72577447", "0.7235674", "0.72275424", "0.71386224", "0.6977631", "0.6803981", "0.6795635", "0.67952263", "0.6753142", "0.67139167", "0.6712199", "0.6...
0.0
-1
This method is to fetch all product and return the list of user records
public List<KafshModel> getAllPro() { // array of columns to fetch String[] columns = { COLUMN_KAFSH_ID, COLUMN_KAFSH_RADIF, COLUMN_KAFSH_GROUP, COLUMN_KAFSH_CODE, COLUMN_KAFSH_COLOR, COLUMN_KAFSH_PROPERTY, COLUMN_KAFSH_BOX, COLUMN_KAFSH_HULFBOX, COLUMN_KAFSH_JUR, COLUMN_KAFSH_NAJUR, COLUMN_KAFSH_BRAND1NAME, COLUMN_KAFSH_BRAND1PRICE, COLUMN_KAFSH_BRAND2NAME, COLUMN_KAFSH_BRAND2PRICE, COLUMN_KAFSH_BRAND3NAME, COLUMN_KAFSH_BRAND3PRICE, COLUMN_KAFSH_BRAND4NAME, COLUMN_KAFSH_BRAND4PRICE, COLUMN_KAFSH_SIZE, COLUMN_KAFSH_SELLTYPE }; // sorting orders String sortOrder = COLUMN_KAFSH_RADIF + " ASC"; List<KafshModel> proList = new ArrayList<KafshModel>(); SQLiteDatabase db = this.getReadableDatabase(); // query the user table /** * Here query function is used to fetch records from user table this function works like we use sql query. * SQL query equivalent to this query function is * SELECT user_id,user_name,user_email,user_password FROM user ORDER BY user_name; */ Cursor cursor = db.query(TABLE_KAFSH, //Table to query columns, //columns to return null, //columns for the WHERE clause null, //The values for the WHERE clause null, //group the rows null, //filter by row groups sortOrder); //The sort order // Traversing through all rows and adding to list if (cursor.moveToFirst()) { do { KafshModel pro = new KafshModel(); pro.setId(Integer.parseInt(cursor.getString(cursor.getColumnIndex(COLUMN_KAFSH_ID)))); pro.setRadif(cursor.getString(cursor.getColumnIndex(COLUMN_KAFSH_RADIF))); pro.setGroup(cursor.getString(cursor.getColumnIndex(COLUMN_KAFSH_GROUP))); pro.setCode(cursor.getString(cursor.getColumnIndex(COLUMN_KAFSH_CODE))); pro.setColor(cursor.getString(cursor.getColumnIndex(COLUMN_KAFSH_COLOR))); pro.setProperty(cursor.getString(cursor.getColumnIndex(COLUMN_KAFSH_PROPERTY))); pro.setBox(cursor.getString(cursor.getColumnIndex(COLUMN_KAFSH_BOX))); pro.setHulfbox(cursor.getString(cursor.getColumnIndex(COLUMN_KAFSH_HULFBOX))); pro.setJur(cursor.getString(cursor.getColumnIndex(COLUMN_KAFSH_JUR))); pro.setNajur(cursor.getString(cursor.getColumnIndex(COLUMN_KAFSH_NAJUR))); pro.setB1name(cursor.getString(cursor.getColumnIndex(COLUMN_KAFSH_BRAND1NAME))); pro.setB1price(cursor.getString(cursor.getColumnIndex(COLUMN_KAFSH_BRAND1PRICE))); pro.setB2name(cursor.getString(cursor.getColumnIndex(COLUMN_KAFSH_BRAND2NAME))); pro.setB2price(cursor.getString(cursor.getColumnIndex(COLUMN_KAFSH_BRAND2PRICE))); pro.setB3name(cursor.getString(cursor.getColumnIndex(COLUMN_KAFSH_BRAND3NAME))); pro.setB3price(cursor.getString(cursor.getColumnIndex(COLUMN_KAFSH_BRAND3PRICE))); pro.setB4name(cursor.getString(cursor.getColumnIndex(COLUMN_KAFSH_BRAND4NAME))); pro.setB4price(cursor.getString(cursor.getColumnIndex(COLUMN_KAFSH_BRAND4PRICE))); pro.setSize(cursor.getString(cursor.getColumnIndex(COLUMN_KAFSH_SIZE))); pro.setSelltype(cursor.getString(cursor.getColumnIndex(COLUMN_KAFSH_SELLTYPE))); // Adding user record to list proList.add(pro); } while (cursor.moveToNext()); } cursor.close(); db.close(); // return user list return proList; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@RequestMapping(method = RequestMethod.GET, value = \"/user/getAll\")\n @ApiOperation(value = \"Getting all the products\")\n public Iterable<User> getAll(){\n return userService.getAll();\n }", "List<Product> retrieveProducts();", "List<Product> getAllProducts();", "List<Product> getAllProdu...
[ "0.7416863", "0.716068", "0.7075416", "0.7075416", "0.7075416", "0.7038423", "0.70382863", "0.70291364", "0.7027558", "0.6985693", "0.69735223", "0.69648784", "0.6949539", "0.6947975", "0.69428533", "0.6938587", "0.6922627", "0.69210017", "0.69087905", "0.69087905", "0.690167...
0.0
-1
This method is to fetch all product and return the list of user records
public List<DarmaniModel> getAlldarmani1() { // array of columns to fetch String[] columns = { COLUMN_DARMANI1_ID, COLUMN_DARMANI1_ROW, COLUMN_DARMANI1_CODE, COLUMN_DARMANI1_NAME, COLUMN_DARMANI1_SIZE, COLUMN_DARMANI1_PROPERTY, COLUMN_DARMANI1_BUYER, COLUMN_DARMANI1_CONSUMER, COLUMN_DARMANI1_BRAND1NAME, COLUMN_DARMANI1_BRAND1PRICE, COLUMN_DARMANI1_BRAND2NAME, COLUMN_DARMANI1_BRAND2PRICE, COLUMN_DARMANI1_BRAND3NAME, COLUMN_DARMANI1_BRAND3PRICE, COLUMN_DARMANI1_BRAND4NAME, COLUMN_DARMANI1_BRAND4PRICE }; // sorting orders String sortOrder = COLUMN_DARMANI1_ROW + " ASC"; List<DarmaniModel> proList = new ArrayList<DarmaniModel>(); SQLiteDatabase db = this.getReadableDatabase(); // query the user table /** * Here query function is used to fetch records from user table this function works like we use sql query. * SQL query equivalent to this query function is * SELECT user_id,user_name,user_email,user_password FROM user ORDER BY user_name; */ Cursor cursor = db.query(TABLE_DARMANI1, //Table to query columns, //columns to return null, //columns for the WHERE clause null, //The values for the WHERE clause null, //group the rows null, //filter by row groups sortOrder); //The sort order // Traversing through all rows and adding to list if (cursor.moveToFirst()) { do { DarmaniModel pro = new DarmaniModel(); pro.setId(Integer.parseInt(cursor.getString(cursor.getColumnIndex(COLUMN_DARMANI1_ID)))); pro.setRow(cursor.getString(cursor.getColumnIndex(COLUMN_DARMANI1_ROW))); pro.setCode(cursor.getString(cursor.getColumnIndex(COLUMN_DARMANI1_CODE))); pro.setName(cursor.getString(cursor.getColumnIndex(COLUMN_DARMANI1_NAME))); pro.setSize(cursor.getString(cursor.getColumnIndex(COLUMN_DARMANI1_SIZE))); pro.setProperty(cursor.getString(cursor.getColumnIndex(COLUMN_DARMANI1_PROPERTY))); pro.setBuyer(cursor.getString(cursor.getColumnIndex(COLUMN_DARMANI1_BUYER))); pro.setConsumer(cursor.getString(cursor.getColumnIndex(COLUMN_DARMANI1_CONSUMER))); pro.setB1name(cursor.getString(cursor.getColumnIndex(COLUMN_DARMANI1_BRAND1NAME))); pro.setB1price(cursor.getString(cursor.getColumnIndex(COLUMN_DARMANI1_BRAND1PRICE))); pro.setB2name(cursor.getString(cursor.getColumnIndex(COLUMN_DARMANI1_BRAND2NAME))); pro.setB2price(cursor.getString(cursor.getColumnIndex(COLUMN_DARMANI1_BRAND2PRICE))); pro.setB3name(cursor.getString(cursor.getColumnIndex(COLUMN_DARMANI1_BRAND3NAME))); pro.setB3price(cursor.getString(cursor.getColumnIndex(COLUMN_DARMANI1_BRAND3PRICE))); pro.setB4name(cursor.getString(cursor.getColumnIndex(COLUMN_DARMANI1_BRAND4NAME))); pro.setB4price(cursor.getString(cursor.getColumnIndex(COLUMN_DARMANI1_BRAND4PRICE))); // Adding user record to list proList.add(pro); } while (cursor.moveToNext()); } cursor.close(); db.close(); // return user list return proList; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@RequestMapping(method = RequestMethod.GET, value = \"/user/getAll\")\n @ApiOperation(value = \"Getting all the products\")\n public Iterable<User> getAll(){\n return userService.getAll();\n }", "List<Product> retrieveProducts();", "List<Product> getAllProducts();", "List<Product> getAllProdu...
[ "0.7416944", "0.71627486", "0.70769", "0.70769", "0.70769", "0.7039175", "0.7038753", "0.702975", "0.7026758", "0.6986306", "0.6974628", "0.6965568", "0.69506854", "0.69493675", "0.694353", "0.6938794", "0.69233906", "0.69199616", "0.6909257", "0.6909257", "0.6901286", "0.6...
0.0
-1
This method is to fetch all product and return the list of user records
public List<DarmaniModel> getAlldarmani2() { // array of columns to fetch String[] columns = { COLUMN_DARMANI2_ID, COLUMN_DARMANI2_ROW, COLUMN_DARMANI2_CODE, COLUMN_DARMANI2_NAME, COLUMN_DARMANI2_SIZE, COLUMN_DARMANI2_PROPERTY, COLUMN_DARMANI2_BUYER, COLUMN_DARMANI2_CONSUMER, COLUMN_DARMANI2_BRAND1NAME, COLUMN_DARMANI2_BRAND1PRICE, COLUMN_DARMANI2_BRAND2NAME, COLUMN_DARMANI2_BRAND2PRICE, COLUMN_DARMANI2_BRAND3NAME, COLUMN_DARMANI2_BRAND3PRICE, COLUMN_DARMANI2_BRAND4NAME, COLUMN_DARMANI2_BRAND4PRICE }; // sorting orders String sortOrder = COLUMN_DARMANI2_ROW + " ASC"; List<DarmaniModel> proList = new ArrayList<DarmaniModel>(); SQLiteDatabase db = this.getReadableDatabase(); // query the user table /** * Here query function is used to fetch records from user table this function works like we use sql query. * SQL query equivalent to this query function is * SELECT user_id,user_name,user_email,user_password FROM user ORDER BY user_name; */ Cursor cursor = db.query(TABLE_DARMANI2, //Table to query columns, //columns to return null, //columns for the WHERE clause null, //The values for the WHERE clause null, //group the rows null, //filter by row groups sortOrder); //The sort order // Traversing through all rows and adding to list if (cursor.moveToFirst()) { do { DarmaniModel pro = new DarmaniModel(); pro.setId(Integer.parseInt(cursor.getString(cursor.getColumnIndex(COLUMN_DARMANI2_ID)))); pro.setRow(cursor.getString(cursor.getColumnIndex(COLUMN_DARMANI2_ROW))); pro.setCode(cursor.getString(cursor.getColumnIndex(COLUMN_DARMANI2_CODE))); pro.setName(cursor.getString(cursor.getColumnIndex(COLUMN_DARMANI2_NAME))); pro.setSize(cursor.getString(cursor.getColumnIndex(COLUMN_DARMANI2_SIZE))); pro.setProperty(cursor.getString(cursor.getColumnIndex(COLUMN_DARMANI2_PROPERTY))); pro.setBuyer(cursor.getString(cursor.getColumnIndex(COLUMN_DARMANI2_BUYER))); pro.setConsumer(cursor.getString(cursor.getColumnIndex(COLUMN_DARMANI2_CONSUMER))); pro.setB1name(cursor.getString(cursor.getColumnIndex(COLUMN_DARMANI2_BRAND1NAME))); pro.setB1price(cursor.getString(cursor.getColumnIndex(COLUMN_DARMANI2_BRAND1PRICE))); pro.setB2name(cursor.getString(cursor.getColumnIndex(COLUMN_DARMANI2_BRAND2NAME))); pro.setB2price(cursor.getString(cursor.getColumnIndex(COLUMN_DARMANI2_BRAND2PRICE))); pro.setB3name(cursor.getString(cursor.getColumnIndex(COLUMN_DARMANI2_BRAND3NAME))); pro.setB3price(cursor.getString(cursor.getColumnIndex(COLUMN_DARMANI2_BRAND3PRICE))); pro.setB4name(cursor.getString(cursor.getColumnIndex(COLUMN_DARMANI2_BRAND4NAME))); pro.setB4price(cursor.getString(cursor.getColumnIndex(COLUMN_DARMANI2_BRAND4PRICE))); // Adding user record to list proList.add(pro); } while (cursor.moveToNext()); } cursor.close(); db.close(); // return user list return proList; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@RequestMapping(method = RequestMethod.GET, value = \"/user/getAll\")\n @ApiOperation(value = \"Getting all the products\")\n public Iterable<User> getAll(){\n return userService.getAll();\n }", "List<Product> retrieveProducts();", "List<Product> getAllProducts();", "List<Product> getAllProdu...
[ "0.74160826", "0.7161468", "0.7076434", "0.7076434", "0.7076434", "0.703937", "0.703936", "0.7029142", "0.70266634", "0.69869524", "0.69746214", "0.6965611", "0.69500124", "0.6948446", "0.6943785", "0.6939121", "0.692336", "0.69188523", "0.6909575", "0.6909575", "0.69013757",...
0.0
-1
Constructs an instance suitable for use as request content
public TicketContent(Ticket ticket) { this(ticket, null); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private Request() {}", "private Request() {}", "public QuestionContentRequest() {\n\t\tsuper();\n\t}", "private Request() {\n initFields();\n }", "public Request() {\n\n }", "public Request(){\n\t\tthis(null, null, null);\n\t}", "public Request() {\n }", "public DefaultHttpRequest() {\n ...
[ "0.67054397", "0.67054397", "0.65177995", "0.6374747", "0.6354834", "0.63545334", "0.6262467", "0.6230668", "0.6228895", "0.61604077", "0.61001694", "0.6089923", "0.6005873", "0.5993349", "0.5978378", "0.5974891", "0.5946455", "0.59400487", "0.5913799", "0.5912173", "0.588396...
0.0
-1
Returns the underlying ticket. If this object represents a ticket included in request content, the underlying ticket does not have an owner, a key or a created date. If this object represents a ticket included in response content, the underlying ticket does not have an owner but rather an owner href.
public Ticket getTicket() { return ticket; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public java.lang.Object getTicketID() {\n return ticketID;\n }", "public String getTicketKey() {\n return this.mTicketKey;\n }", "public UserTicket getUserTicket() {\n return FxJsfUtils.getRequest().getUserTicket();\n }", "public String getTicketPrincipalRoot() {\n return tic...
[ "0.6014967", "0.58757037", "0.5864798", "0.5733216", "0.5724712", "0.57219386", "0.56745297", "0.5658342", "0.56379604", "0.5558257", "0.5436062", "0.5428431", "0.53785455", "0.53238153", "0.53049487", "0.5270466", "0.5269491", "0.5237436", "0.5198634", "0.51721233", "0.51198...
0.63546693
0
Returns the href representing the ticket's owner. Only returns something useful when this object represents a ticket included in response content.
public String getOwnerHref() { return ownerHref; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getOwner() {\r\n return owner;\r\n }", "public String getOwner() {\n return owner;\n }", "public String getOwner() {\n return owner;\n }", "public String getOwner() {\n return owner;\n }", "public String getOwner() {\n return owner;\n }", "p...
[ "0.6333514", "0.6331748", "0.6331748", "0.6331748", "0.6331748", "0.6331748", "0.6331748", "0.63226026", "0.6322328", "0.6322328", "0.6300393", "0.6286406", "0.6272748", "0.62098897", "0.6188536", "0.61474967", "0.61474967", "0.61469394", "0.6134528", "0.6105094", "0.6090046"...
0.78079087
0
Converts the underlying ticket to an XML fragment suitable for use as request content (ignores any key, owner, created date).
public Element toXml(Document doc) { Element e = DomUtil.createElement(doc, ELEMENT_TICKET_TICKETINFO, NAMESPACE_TICKET); Element timeout = DomUtil.createElement(doc, ELEMENT_TICKET_TIMEOUT, NAMESPACE_TICKET); DomUtil.setText(timeout, ticket.getTimeout()); e.appendChild(timeout); DavPrivilegeSet privileges = new DavPrivilegeSet(ticket); e.appendChild(privileges.toXml(doc)); return e; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static TicketContent createFromXml(Element root) throws Exception {\n if (! DomUtil.matches(root, ELEMENT_TICKET_TICKETINFO,\n NAMESPACE_TICKET)) {\n throw new Exception(\"root element not ticketinfo\");\n }\n\n Ticket ticket = new HibTicket();\n\...
[ "0.5648023", "0.5242182", "0.51933175", "0.51575124", "0.51456404", "0.5138349", "0.50978744", "0.5031639", "0.5027372", "0.49758422", "0.49573487", "0.49350142", "0.49350142", "0.49350142", "0.49350142", "0.49350142", "0.49350142", "0.49350142", "0.49350142", "0.49350142", "...
0.573531
0
Returns a TicketContent> populated with information from the given XML fragment which is assumed to be response content (containing an owner href rather than a User). The root element of the fragment must be a ticket:ticketinfo element.
public static TicketContent createFromXml(Element root) throws Exception { if (! DomUtil.matches(root, ELEMENT_TICKET_TICKETINFO, NAMESPACE_TICKET)) { throw new Exception("root element not ticketinfo"); } Ticket ticket = new HibTicket(); String id = DomUtil.getChildTextTrim(root, ELEMENT_TICKET_ID, NAMESPACE_TICKET); ticket.setKey(id); String timeout = DomUtil.getChildTextTrim(root, ELEMENT_TICKET_TIMEOUT, NAMESPACE_TICKET); ticket.setTimeout(timeout); Element pe = DomUtil.getChildElement(root, XML_PRIVILEGE, NAMESPACE); DavPrivilegeSet privileges = DavPrivilegeSet.createFromXml(pe); privileges.setTicketPrivileges(ticket); Element owner = DomUtil.getChildElement(root, XML_OWNER, NAMESPACE); String ownerHref = DomUtil.getChildTextTrim(owner, XML_HREF, NAMESPACE); return new TicketContent(ticket, ownerHref); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public TicketContent(Ticket ticket) {\n this(ticket, null);\n }", "public static TicketInfo newInstance(TicketPurchaseLocal ticket) {\n TicketInfo fragment = new TicketInfo();\n Bundle args = new Bundle();\n args.putSerializable(\"ticket\", ticket);\n fragment.setArguments(a...
[ "0.57062835", "0.5002447", "0.48539233", "0.44927117", "0.44613662", "0.4433059", "0.44020852", "0.42933464", "0.41730464", "0.41560766", "0.41190648", "0.40673852", "0.40604815", "0.4053239", "0.40521702", "0.40510482", "0.4032311", "0.40205795", "0.40112102", "0.40064898", ...
0.6786247
0
Routers routers = routersRepository.findOne(routers_id);//1.5.9
public RoutersEntity findById(String routers_id) throws NoSuchRoutersException { var routers = routersRepository.findById(routers_id).get();//2.0.0.M7 if (routers == null) throw new NoSuchRoutersException(); return routers; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Corretor findOne(Long id);", "public Renter findRenterById(int id){\n String sql = \"SELECT renterID AS id, first_name AS firstName, last_name AS lastName, CPR AS cpr, email, phone,\" +\n \" driver_license_number AS licenseNumber, a.street, a.building, a.floor, a.door, z.zip, city.name AS c...
[ "0.62212783", "0.6166973", "0.61421365", "0.60066503", "0.5944589", "0.59341747", "0.59266007", "0.58788294", "0.5876086", "0.58545184", "0.5853558", "0.58510166", "0.5833722", "0.5804968", "0.5798462", "0.574956", "0.5745345", "0.57057804", "0.5701927", "0.5701719", "0.56974...
0.76407534
0
Routers routers = routersRepository.findOne(routers_id);//1.5.9
@Transactional public void update(RoutersEntity uRouters, String routers_id) throws NoSuchRoutersException { var routers = routersRepository.findById(routers_id).get();//2.0.0.M7 if (routers == null) throw new NoSuchRoutersException(); //update routers.setOfficeId(uRouters.getOfficeId()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public RoutersEntity findById(String routers_id) throws NoSuchRoutersException {\n var routers = routersRepository.findById(routers_id).get();//2.0.0.M7\n if (routers == null) throw new NoSuchRoutersException();\n return routers;\n }", "Corretor findOne(Long id);", "public Renter findRe...
[ "0.76423395", "0.6220135", "0.61673135", "0.6142128", "0.60061896", "0.59429896", "0.5933935", "0.5926614", "0.58783406", "0.58771926", "0.58540285", "0.5853487", "0.5851202", "0.5832848", "0.57972836", "0.5749784", "0.57440424", "0.5705669", "0.57019365", "0.57016385", "0.56...
0.5806276
14
Routers routers = routersRepository.findOne(routers_id);//1.5.9
@Transactional public void delete(String routers_id) throws NoSuchRoutersException { var routers = routersRepository.findById(routers_id).get();//2.0.0.M7 if (routers == null) throw new NoSuchRoutersException(); routersRepository.delete(routers); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public RoutersEntity findById(String routers_id) throws NoSuchRoutersException {\n var routers = routersRepository.findById(routers_id).get();//2.0.0.M7\n if (routers == null) throw new NoSuchRoutersException();\n return routers;\n }", "Corretor findOne(Long id);", "public Renter findRe...
[ "0.76406884", "0.621944", "0.61665934", "0.61420625", "0.60053575", "0.594369", "0.59333247", "0.59261835", "0.5877278", "0.585409", "0.5852908", "0.58511513", "0.58321583", "0.58059484", "0.57968175", "0.574932", "0.5745232", "0.5704709", "0.57011986", "0.57010704", "0.56967...
0.587595
9
Retorna a QueryString para 'GET'
public static String getQueryString(Map<String,String> params) throws IOException { if (params == null || params.size() == 0) { return null; } String urlParams = null; for (String chave : params.keySet()) { Object objValor = params.get(chave); if (objValor != null) { String valor = objValor.toString(); urlParams = urlParams == null ? "" : urlParams + "&"; urlParams += chave + "=" + valor; } } return urlParams; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getQueryString ();", "java.lang.String getQuery();", "java.lang.String getQuery();", "String getQuery();", "String getQueryRequestUrl();", "public char[] uri_GET()\n {return uri_GET(new char[120], 0);}", "String getRequest();", "String getRequest(String url);", "String getRequestURL()...
[ "0.7733273", "0.7322956", "0.7322956", "0.7229306", "0.70472103", "0.6938253", "0.68240345", "0.663617", "0.66054165", "0.658676", "0.658676", "0.6400841", "0.63852763", "0.6373765", "0.6348252", "0.6290052", "0.6283097", "0.6248607", "0.6238913", "0.61217093", "0.61203873", ...
0.5744327
52
Constructs a input stream to read cached data
public ECFileCacheInputStream(FileCacheKey cacheKey, Map<Long, Integer> chunkPosAndSize, RedisAccessBase redisAccess, List<Integer> redisIds, InputStream stream) { this.key = cacheKey.getUuid(); this.fileSize = (int) cacheKey.getFileSize(); this.chunkPosAndSize = chunkPosAndSize; this.redisAccess = redisAccess; this.redisIds = redisIds; this.endChunkStream = stream; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public MemoryCacheSeekableStream(InputStream src) {\n/* 75 */ this.src = src;\n/* */ }", "public MonitorableInputStream(InputStream aIn, boolean aBypassCache) throws IOException {\n super(aIn);\n iMaximum = available();\n iRemainder = iMaximum;\n iMaxSet = false;\n i...
[ "0.65278316", "0.63678163", "0.6294645", "0.6228744", "0.60001385", "0.5947047", "0.5943306", "0.5936102", "0.59050256", "0.59050256", "0.59050256", "0.5865599", "0.5855355", "0.585415", "0.58376414", "0.58015376", "0.5801388", "0.58009803", "0.5795659", "0.5786967", "0.57523...
0.60969216
4
Reads the next byte of data from the input stream
@Override public int read() throws IOException { if (pos >= count) { fill(); if (pos >= count) { return -1; } } checkIfClosed(); return buf[pos++] & 0xFF; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public byte readByte() throws IOException {\n return in.readByte();\n }", "byte readByte();", "private int readByte() {\n return src[srcPos++] & 0xFF;\n }", "@Override\n\tpublic byte readByte() throws IOException {\n\t\treturn (byte) (_buff.get() & 0xFF);\n\t}", "byte peekByte() throws IOException;...
[ "0.7193733", "0.7150949", "0.7092911", "0.6935172", "0.6883587", "0.6816531", "0.68004304", "0.6796264", "0.66812325", "0.6675463", "0.6671904", "0.6668517", "0.6620056", "0.66147727", "0.66048926", "0.6594235", "0.6579382", "0.6567253", "0.6564702", "0.65385807", "0.6536759"...
0.6637191
12
Reads up to len bytes of data from the input stream into an array of bytes. An attempt is made to read as many as len bytes, but a smaller number may be read. The number of bytes actually read is returned as an integer.
@Override public int read(byte[] b, int off, int len) throws IOException { checkIfClosed(); if ((off | len | (off + len) | (b.length - (off + len))) < 0) { throw new IndexOutOfBoundsException(); } else if (len == 0) { return 0; } int n = 0; while (true) { int nread = readRedisIfNeed(b, off + n, len - n); if (nread <= 0) { return (n == 0) ? nread : n; } n += nread; if (n >= len) { return n; } if (available() <= 0) { return n; } } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public byte[] readBytes(int len) throws IOException {\n if (len > 1024) {\n throw new RuntimeException(String.format(\"Attempted to read %d bytes at once, file is probably corrupted.\", len));\n }\n byte[] buf = new byte[len];\n int n = 0;\n while (n < len) {\n ...
[ "0.7311624", "0.7285015", "0.7090759", "0.7046874", "0.6760599", "0.67202467", "0.66766953", "0.66343737", "0.66131556", "0.66069144", "0.6551017", "0.6547144", "0.6537663", "0.6493185", "0.6468319", "0.64294726", "0.64109415", "0.6386706", "0.6332682", "0.63156724", "0.63146...
0.60508937
27
Returns the number of bytes that can be read from this input stream
@Override public int available() throws IOException { return fileSize - nextChunkPos + (count - pos); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic long getLength()\n\t{\n\t\treturn inputStream.Length;\n\t}", "protected int available() throws IOException {\n return getInputStream().available();\n }", "protected int available() throws IOException\n {\n return getInputStream().available();\n }", "public int length() {\...
[ "0.71776485", "0.7171309", "0.7099", "0.7035562", "0.7007094", "0.69786847", "0.68372625", "0.6821768", "0.6816208", "0.6810479", "0.6801314", "0.67771405", "0.6762806", "0.6715534", "0.6706031", "0.6699402", "0.66758984", "0.66574156", "0.6638368", "0.6636053", "0.66147786",...
0.6183957
42
close this input stream
@Override public void close() throws IOException { isClosed = true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void close() throws IOException {\n input.close();\n }", "public void closeStream() {\n output.close();\n input.close();\n }", "public void close() {\n\t\ttry {\n\t\t\tin.close();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "public...
[ "0.7954158", "0.7872157", "0.7638729", "0.75751495", "0.74284095", "0.7353859", "0.7325423", "0.7193216", "0.7135773", "0.70424575", "0.7011065", "0.6999885", "0.6985582", "0.69201773", "0.68437874", "0.6834175", "0.68324274", "0.6818904", "0.68115956", "0.67985487", "0.67977...
0.6643644
33
Carga un fondo de pantalla para el viewer
public void loadBackground() { try { File file = new File("src/resources/fondo.png"); this.background = ImageIO.read(file); } catch (Exception e) { e.printStackTrace(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void montarTela(){\n ControllerListener listener = new BaseControllerListener(){\n @Override\n public void onFinalImageSet(String id, Object imageInfo, Animatable animatable) {\n super.onFinalImageSet(id, imageInfo, animatable);\n }\n\n @Over...
[ "0.63376963", "0.6291614", "0.6240966", "0.6136608", "0.60992837", "0.59164345", "0.58839893", "0.5880367", "0.58248615", "0.5768756", "0.57653415", "0.57541966", "0.5746336", "0.57217044", "0.5718289", "0.5699792", "0.56989884", "0.56669575", "0.5641208", "0.56200355", "0.56...
0.0
-1
METODO PARA PINTAR TANTO EL FONDO DE PANTALLA COMO EL CONTENIDO DE LAS LISTAS
public void paint() { BufferStrategy bs; bs = this.getBufferStrategy(); Graphics g = bs.getDrawGraphics(); g.drawImage(background, 0, 0, this.getWidth(), this.getHeight(), null); if (this.blackHoles != null) { for (BlackHole blackHole : this.blackHoles) { blackHole.paint(g); } } if (this.balls != null) { for (int i = 0; i <this.balls.size() ; i++) { this.balls.get(i).paint(g); } } bs.show(); g.dispose(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void listar(){\n if (!esVacia()) {\n // Crea una copia de la lista.\n NodoEmpleado aux = inicio;\n // Posicion de los elementos de la lista.\n int i = 0;\n System.out.print(\"-> \");\n // Recorre la lista hasta llegar nuevamente al inc...
[ "0.6673735", "0.66585594", "0.66576904", "0.65955675", "0.6576792", "0.6508094", "0.6487596", "0.6487309", "0.64834136", "0.6466975", "0.6464173", "0.6455219", "0.6419915", "0.64177376", "0.6387148", "0.6377539", "0.6370023", "0.63667357", "0.63412625", "0.6273167", "0.625196...
0.0
-1
This constructor initialize the connection with data base
public DataConnection() { try { String dbClass = "com.mysql.jdbc.Driver"; Class.forName(dbClass).newInstance(); Connection con = DriverManager.getConnection(DIR_DB, USER_DB, PASS_DB); statement = con.createStatement(); } catch (Exception e) { e.printStackTrace(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private DBConnection() \n {\n initConnection();\n }", "public DBConnection()\n {\n\n }", "public DaoConnection() {\n\t\t\n\t}", "public DBConnection() {\n this(DB_USER, DB_PASSWORD, DB_NAME, DB_HOST, DB_PORT);\n }", "public ConnectDB(){\r\n\r\n\t}", "public DatabaseMa...
[ "0.7927213", "0.7882086", "0.7712932", "0.77047235", "0.75894636", "0.7578936", "0.75733936", "0.75505745", "0.7500779", "0.7446132", "0.73605764", "0.73571426", "0.73394734", "0.7265487", "0.7234533", "0.72339493", "0.7217154", "0.72129303", "0.72058", "0.71884716", "0.71713...
0.7737803
2
This method is used to delete all periods from data base
public void deleteDataInPeriodTable() throws SQLException { deleteData("jp_period",idCondition); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void deleteAll() {\n\t\tmDB.execSQL(\"DROP TABLE EVENT\");\n\t}", "public void deleteAll();", "public void deleteAll();", "public void deleteAll();", "@Override\n\tpublic void deleteAll() {\n\t\tdao.deleteAll();\n\n\t}", "public void deleteAll() {\n try (Connection connection =...
[ "0.6550295", "0.6539755", "0.6539755", "0.6539755", "0.65364856", "0.6524391", "0.6520295", "0.64852357", "0.64533174", "0.645162", "0.645162", "0.645162", "0.645162", "0.64319366", "0.64224803", "0.6413546", "0.64129585", "0.64129585", "0.64129585", "0.6393513", "0.6373373",...
0.7692023
0
This method is used to delete all applicants and users from data base except the admin user
public void deleteDataInUserTable() throws SQLException { deleteData("login_register",idCondition); deleteData("user_period","APPLICANT_"+idCondition); deleteData("user_period","APPLICANT_"+idCondition); deleteData("message",idCondition); deleteData("jp_user","CI != 123"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void deleteAllUsers() {\n\t\t\n\t}", "@Override\n\tpublic void deleteAll() {\n\t\t List<User> userList = selectAllUser();\n\t\t for (User user : userList) {\n\t\t\tuserMapper.deleteUser(user.getId());\n\t\t}\n\t}", "public void deleteUsers() {\n SQLiteDatabase db = this.getWritableDa...
[ "0.71304834", "0.68876874", "0.68273187", "0.6671355", "0.6671355", "0.6610401", "0.6580491", "0.6575311", "0.65680397", "0.6553211", "0.6533754", "0.65164983", "0.6504607", "0.64097327", "0.6406273", "0.640151", "0.6338413", "0.6336477", "0.63333046", "0.6328379", "0.6295790...
0.6274345
22
This method is to delete all programs from data base
public void deleteDataInProgramTable() throws SQLException { deleteDataInUserTable(); deleteDataInPeriodTable(); deleteData("group_stage","STAGE_"+idCondition); deleteData("jp_group",idCondition); deleteData("program",idCondition); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void delete() {\r\n\t\tfor (int i = 0; i <= DatabaseUniverse.getDatabaseNumber(); i++) {\r\n\t\t\tif (this.equals(DatabaseUniverse.getDatabases(i))) {\r\n\t\t\t\tDatabaseUniverse.getAllDatabases().set(i, null);\r\n\t\t\t\tDatabaseUniverse.getAllDatabases().remove(i);\r\n\t\t\t\tDatabaseUniverse.setDatabaseN...
[ "0.70379674", "0.6996282", "0.6840986", "0.6805051", "0.6788874", "0.6768084", "0.6653199", "0.6624588", "0.6607916", "0.65997803", "0.65615153", "0.6555887", "0.6555878", "0.6541162", "0.6512768", "0.649965", "0.64630204", "0.64444375", "0.6425998", "0.642355", "0.64217347",...
0.69209963
2
This method is to delete all Stages from data base
public void deleteDataInStageTable() throws SQLException { deleteData("stage_value",idCondition); deleteData("stage",idCondition); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void clearDatabase() {\n\n\t\tObjectSet<Article> articles = db.query(Article.class);\n\t\tarticles.stream()\n\t\t\t.forEach(db::delete);\n\n\t\tObjectSet<CreditCard> creditCards = db.query(CreditCard.class);\n\t\tcreditCards.stream()\n\t\t\t.forEach(db::delete);\n\n\t\tObjectSet<Customer> customers = db.que...
[ "0.66391", "0.6536631", "0.64216363", "0.64117295", "0.63846534", "0.6359671", "0.6343393", "0.63168365", "0.6313237", "0.62824315", "0.6261648", "0.6252045", "0.624261", "0.6239288", "0.62307745", "0.6223921", "0.62064594", "0.62003195", "0.61987305", "0.6186895", "0.6171356...
0.642886
2
This method is to create a new program
public void CreateProgram(int id, String name, String title, String description) throws SQLException { try { String query = "INSERT INTO program VALUES ('" + id + "', '" + description + "', '" + name + "', '" + title + "')"; statement.execute(query); } catch (Exception e) { e.printStackTrace(); } finally { if (conex != null) { conex.close(); } } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Program createProgram();", "Program createProgram();", "Program createProgram();", "RoverProgram createRoverProgram();", "public Program program() {\n\n if (lexer.token != Symbol.PROGRAM) {\n error.signal(\"Missing PROGRAM keyword\");\n }\n\n lexer.nextToken();\n\n if...
[ "0.8443418", "0.8443418", "0.8443418", "0.6719512", "0.6415374", "0.6250065", "0.6200824", "0.61574215", "0.6151156", "0.6097036", "0.6078854", "0.60215026", "0.5945294", "0.5941585", "0.593821", "0.5901618", "0.5882826", "0.5878707", "0.585661", "0.5844374", "0.58212274", ...
0.59253573
15
This method is to create a new stage
public void CreatePeriod(int id, String initDate, String name, String periodState, String programID) throws SQLException { try { String query = "INSERT INTO jp_period(`ID`, `INITIALDATE`, `NAME`, `PERIODSTATE`, `PROGRAM_ID`) VALUES (" + id + ", '" + initDate + "', '" + name + "', '" + periodState + "', " + programID + ");"; statement.execute(query); } catch (Exception e) { e.printStackTrace(); } finally { if (conex != null) { conex.close(); } } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void add_stage() {\r\n\t\tif (this.controller.getSelectedCatagory() == null)\r\n\t\t\treturn;\r\n\t\tString name = JOptionPane.showInputDialog(this,\r\n\t \t\"Choose a name for the stage\",\r\n\t \"Name Stage\", 1);\r\n\t if (name == null) {\r\n\t \treturn;\r\n\t }\r\n\t // If ...
[ "0.70540637", "0.68104047", "0.67560107", "0.67134255", "0.64948064", "0.64848125", "0.6428869", "0.6419025", "0.6393569", "0.63903624", "0.63844657", "0.6358914", "0.63494736", "0.63153803", "0.6309339", "0.6263038", "0.62460536", "0.6244245", "0.62325597", "0.6221404", "0.6...
0.0
-1
This method is to create a new stage
public void CreateStage(int id, String name, String title, String description) throws Exception { try { String query = "INSERT INTO stage VALUES ('" + id + "', '" + description + "', '0', '"+ name + "', '" + title + "', '0')"; statement.execute(query); } catch (Exception e) { e.printStackTrace(); } finally { if (conex != null) { conex.close(); } } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void add_stage() {\r\n\t\tif (this.controller.getSelectedCatagory() == null)\r\n\t\t\treturn;\r\n\t\tString name = JOptionPane.showInputDialog(this,\r\n\t \t\"Choose a name for the stage\",\r\n\t \"Name Stage\", 1);\r\n\t if (name == null) {\r\n\t \treturn;\r\n\t }\r\n\t // If ...
[ "0.7055476", "0.68112135", "0.6755415", "0.67140746", "0.6496111", "0.64885205", "0.6430256", "0.6421258", "0.63930035", "0.63917917", "0.63847524", "0.6362088", "0.6349668", "0.63166785", "0.63113", "0.62484443", "0.62414634", "0.6234645", "0.6223329", "0.62120503", "0.61879...
0.62645495
15
This method decides how many times a test needs to be rerun. TestNg will call this method every time a test fails. So we can put some code in here to decide when to rerun the test. Note: This method will return true if a tests needs to be retried and false it not.
public boolean retry(ITestResult result) { if (counter < retryMaxLimit) { counter++; return true; } return false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\npublic boolean retry(ITestResult result) {\n\tif(minretryCount<=maxretryCount){\n\t\t\n\t\tSystem.out.println(\"Following test is failing====\"+result.getName());\n\t\t\n\t\tSystem.out.println(\"Retrying the test Count is=== \"+ (minretryCount+1));\n\t\t\n\t\t//increment counter each time by 1  \n\t\tmi...
[ "0.7356251", "0.72144747", "0.71576613", "0.6725845", "0.66333354", "0.66030777", "0.6513117", "0.64946157", "0.6479281", "0.6412794", "0.6405357", "0.63426054", "0.6270971", "0.6163551", "0.6023023", "0.6014962", "0.601494", "0.598672", "0.5975206", "0.5959438", "0.5950928",...
0.6368802
11
/ renamed from: a
private static void m2331a(Context context, C0437f c0437f, C0545k c0545k, C0544j c0544j) { if (c0437f != null) { c0544j.m2269b(c0437f.m1867c()); c0544j = C0578p.m2517a(c0544j, context, c0437f.m1867c()); c0545k.j = c0437f.m1867c(); } try { C0553q.m2356a(context, c0545k); C0553q.m2355a(context, c0544j); } catch (Exception e) { } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed fr...
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064...
0.0
-1
/ renamed from: a
public static void m2332a(Context context, String str, String str2, int i, byte[] bArr, int i2, int i3) { C0545k c0545k = new C0545k(); c0545k.d = "010101"; c0545k.f1803a = str2; c0545k.e = System.currentTimeMillis(); c0545k.f = C0532b.m2255b(context); c0545k.f1804b = new String(bArr).length(); c0545k.g = i2; c0545k.f1805c = i; c0545k.h = str; C0544j c0544j = new C0544j(str); C0437f d = C0432b.m1870a(context).m1886d(str); if (d != null) { c0544j.m2269b(d.m1867c()); if (!C0578p.m2499D(context, d.m1867c())) { c0544j.m2328c(C0544j.f1798b); } else if (C0578p.m2556c()) { c0544j.m2328c(C0544j.f1799c); } else if (C0578p.m2531a()) { c0544j.m2328c(C0544j.f1800d); } else if (C0578p.m2547b()) { c0544j.m2328c(C0544j.f1801e); } else { c0544j.m2328c(C0544j.f1798b); } } else { c0544j.m2269b("NP"); c0544j.m2328c(i3); } C0546l.m2331a(context, d, c0545k, c0544j); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed fr...
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064...
0.0
-1
/ renamed from: a
public static void m2333a(Context context, String str, String str2, String str3) { if (!TextUtils.isEmpty(str) && !TextUtils.isEmpty(str2)) { try { C0545k c0545k = new C0545k(); String str4 = null; if ("com.baidu.android.pushservice.action.passthrough.notification.CLICK".equals(str3)) { str4 = "010601"; } else if ("com.baidu.android.pushservice.action.passthrough.notification.DELETE".equals(str3)) { str4 = "010602"; } else if ("com.baidu.android.pushservice.action.passthrough.notification.NOTIFIED".equals(str3)) { str4 = "010603"; } c0545k.d = str4; c0545k.f1803a = str; c0545k.e = System.currentTimeMillis(); c0545k.f = C0532b.m2255b(context); c0545k.f1805c = C0612l.MSG_TYPE_PRIVATE_MESSAGE.m2706a(); c0545k.h = str2; C0437f d = C0432b.m1870a(context).m1886d(str2); if (d != null) { C0546l.m2331a(context, d, c0545k, new C0544j(str2)); } } catch (Exception e) { } } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed fr...
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064...
0.0
-1
/ renamed from: b
public static void m2334b(Context context, String str, String str2, int i, byte[] bArr, int i2, int i3) { C0545k c0545k = new C0545k(); c0545k.d = "019901"; c0545k.f1803a = str2; c0545k.e = System.currentTimeMillis(); c0545k.f = C0532b.m2255b(context); c0545k.f1804b = new String(bArr).length(); c0545k.g = i2; c0545k.f1805c = i; c0545k.h = str; C0544j c0544j = new C0544j(str); C0437f d = C0432b.m1870a(context).m1886d(str); if (d != null) { c0544j.m2269b(d.m1867c()); if (!C0578p.m2499D(context, d.m1867c())) { c0544j.m2328c(C0544j.f1798b); } else if (C0578p.m2556c()) { c0544j.m2328c(C0544j.f1799c); } else if (C0578p.m2531a()) { c0544j.m2328c(C0544j.f1800d); } else if (C0578p.m2547b()) { c0544j.m2328c(C0544j.f1801e); } else { c0544j.m2328c(C0544j.f1798b); } } else { c0544j.m2269b("NP"); c0544j.m2328c(i3); } C0546l.m2331a(context, d, c0545k, c0544j); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void mo2508a(bxb bxb);", "@Override\n public void func_104112_b() {\n \n }", "@Override\n public void b() {\n }", "public interface C19351a {\n /* renamed from: b */\n void mo30633b(int i, String str, byte[] bArr);\n }", "@Override\n\tpublic void b2() {\n\t\t\n\t}", "v...
[ "0.64558864", "0.6283203", "0.6252635", "0.6250949", "0.6244743", "0.6216273", "0.6194491", "0.6193556", "0.61641675", "0.6140157", "0.60993093", "0.60974354", "0.6077849", "0.6001867", "0.5997364", "0.59737104", "0.59737104", "0.5905105", "0.5904295", "0.58908087", "0.588663...
0.0
-1