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 |
|---|---|---|---|---|---|---|
Throws an org.omg.CORBA.NO_IMPLEMENT exception with the message "This is a locally constrained object." This method does not apply to local objects and is therefore not implemented. This method is the default implementation of the org.omg.CORBA.Object method. | public Policy _get_policy(int policy_type) {
throw new NO_IMPLEMENT(reason);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public interface Vehiculos extends VehiculosOperations, org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity \r\n{\r\n}",
"public abstract org.omg.CORBA.Object read_Object();",
"public LocalObject() {}",
"public interface Object {\n\n /**\n * Checks whether this object is an instance of a class that\n ... | [
"0.6396029",
"0.63822776",
"0.61573255",
"0.6151376",
"0.6089821",
"0.6084226",
"0.60506654",
"0.5898948",
"0.5870759",
"0.583996",
"0.5827664",
"0.58242613",
"0.57854563",
"0.57478654",
"0.5740336",
"0.5731119",
"0.56747174",
"0.5660005",
"0.56570226",
"0.5656142",
"0.564697... | 0.0 | -1 |
Throws an org.omg.CORBA.NO_IMPLEMENT exception with the message "This is a locally constrained object." This method does not apply to local objects and is therefore not implemented. This method is the default implementation of the org.omg.CORBA.Object method. | public DomainManager[] _get_domain_managers() {
throw new NO_IMPLEMENT(reason);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public interface Vehiculos extends VehiculosOperations, org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity \r\n{\r\n}",
"public abstract org.omg.CORBA.Object read_Object();",
"public LocalObject() {}",
"public interface Object {\n\n /**\n * Checks whether this object is an instance of a class that\n ... | [
"0.6396029",
"0.63822776",
"0.61573255",
"0.6151376",
"0.6089821",
"0.6084226",
"0.60506654",
"0.5898948",
"0.5870759",
"0.583996",
"0.5827664",
"0.58242613",
"0.57854563",
"0.57478654",
"0.5740336",
"0.5731119",
"0.56747174",
"0.5660005",
"0.56570226",
"0.5656142",
"0.564697... | 0.0 | -1 |
Throws an org.omg.CORBA.NO_IMPLEMENT exception with the message "This is a locally constrained object." This method does not apply to local objects and is therefore not implemented. This method is the default implementation of the org.omg.CORBA.Object method. | public Object
_set_policy_override(Policy[] policies,
SetOverrideType set_add) {
throw new NO_IMPLEMENT(reason);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public interface Vehiculos extends VehiculosOperations, org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity \r\n{\r\n}",
"public abstract org.omg.CORBA.Object read_Object();",
"public LocalObject() {}",
"public interface Object {\n\n /**\n * Checks whether this object is an instance of a class that\n ... | [
"0.6396029",
"0.63822776",
"0.61573255",
"0.6151376",
"0.6089821",
"0.6084226",
"0.60506654",
"0.5898948",
"0.5870759",
"0.583996",
"0.5827664",
"0.58242613",
"0.57854563",
"0.57478654",
"0.5740336",
"0.5731119",
"0.56747174",
"0.5660005",
"0.56570226",
"0.5656142",
"0.564697... | 0.0 | -1 |
Throws an org.omg.CORBA.NO_IMPLEMENT exception with the message "This is a locally constrained object." This method is the default implementation of the org.omg.CORBA.Object method. Returns true for this LocalObject instance. | public boolean _is_local() {
throw new NO_IMPLEMENT(reason);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\tpublic boolean isLocal() {\n\t\treturn heldObj.isLocal();\n\t}",
"@java.lang.Override\n public boolean hasObject() {\n return object_ != null;\n }",
"public LocalObject() {}",
"protected synchronized boolean isObjectPresent() { return objPresent; }",
"public boolean hasObject(){\n ... | [
"0.64597607",
"0.6279899",
"0.6159002",
"0.61051",
"0.5964459",
"0.5959191",
"0.5958234",
"0.5952758",
"0.5860873",
"0.5849859",
"0.5849859",
"0.5849859",
"0.5849859",
"0.5849859",
"0.5849859",
"0.5849859",
"0.5821369",
"0.5816987",
"0.5759497",
"0.5750718",
"0.5692603",
"0... | 0.6561561 | 0 |
Throws an org.omg.CORBA.NO_IMPLEMENT exception with the message "This is a locally constrained object." This method is the default implementation of the org.omg.CORBA.Object method. | public ServantObject _servant_preinvoke(String operation,
Class expectedType) {
throw new NO_IMPLEMENT(reason);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public abstract org.omg.CORBA.Object read_Object();",
"public interface Vehiculos extends VehiculosOperations, org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity \r\n{\r\n}",
"public interface Object {\n\n /**\n * Checks whether this object is an instance of a class that\n * implements the given inter... | [
"0.6512437",
"0.6478393",
"0.6258392",
"0.6256161",
"0.6205298",
"0.615545",
"0.6037277",
"0.60164344",
"0.60033655",
"0.592476",
"0.59009516",
"0.58834183",
"0.5774403",
"0.576282",
"0.57368785",
"0.5734551",
"0.5731212",
"0.57273376",
"0.57109666",
"0.5699425",
"0.56763464"... | 0.0 | -1 |
Throws an org.omg.CORBA.NO_IMPLEMENT exception with the message "This is a locally constrained object." This method is the default implementation of the org.omg.CORBA.Object method. | public void _servant_postinvoke(ServantObject servant) {
throw new NO_IMPLEMENT(reason);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public abstract org.omg.CORBA.Object read_Object();",
"public interface Vehiculos extends VehiculosOperations, org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity \r\n{\r\n}",
"public interface Object {\n\n /**\n * Checks whether this object is an instance of a class that\n * implements the given inter... | [
"0.6512437",
"0.6478393",
"0.6258392",
"0.6256161",
"0.6205298",
"0.615545",
"0.6037277",
"0.60164344",
"0.60033655",
"0.592476",
"0.59009516",
"0.58834183",
"0.5774403",
"0.576282",
"0.57368785",
"0.5734551",
"0.5731212",
"0.57273376",
"0.57109666",
"0.5699425",
"0.56763464"... | 0.0 | -1 |
/ The following methods were added by orbos/980403: Java to IDL Mapping. These are used by RMI over IIOP. Throws an org.omg.CORBA.NO_IMPLEMENT exception with the message "This is a locally constrained object." This method is the default implementation of the org.omg.CORBA.Object method. Called by a stub to obtain an Ou... | public OutputStream _request(String operation,
boolean responseExpected) {
throw new NO_IMPLEMENT(reason);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"org.omg.CORBA.portable.OutputStream try_invoke(java.lang.String method, org.omg.CORBA.portable.InputStream input,\r\n org.omg.CORBA.portable.ResponseHandler handler) throws X;",
"public interface hello extends helloOperations, org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity \n{\n}",
"public i... | [
"0.7027975",
"0.7018201",
"0.6992541",
"0.6598768",
"0.65594757",
"0.64360964",
"0.64206886",
"0.6283484",
"0.62587094",
"0.6220442",
"0.6159027",
"0.6131056",
"0.61002135",
"0.5964443",
"0.5855978",
"0.58089626",
"0.58030397",
"0.57995635",
"0.57565045",
"0.56611735",
"0.563... | 0.0 | -1 |
Throws an org.omg.CORBA.NO_IMPLEMENT exception with the message "This is a locally constrained object." This method is the default implementation of the org.omg.CORBA.Object method. Called to invoke an operation. The stub provides an OutputStream that was previously returned by a _request() call. _invoke returns an Inp... | public InputStream _invoke(OutputStream output)
throws ApplicationException, RemarshalException
{
throw new NO_IMPLEMENT(reason);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"org.omg.CORBA.portable.OutputStream try_invoke(java.lang.String method, org.omg.CORBA.portable.InputStream input,\r\n org.omg.CORBA.portable.ResponseHandler handler) throws X;",
"protected void doInvocation(){\n org.omg.CORBA.portable.Delegate delegate=StubAdapter.getDelegate(\n ... | [
"0.70958954",
"0.65475905",
"0.59792185",
"0.59006655",
"0.583555",
"0.5826784",
"0.57407963",
"0.568802",
"0.5660769",
"0.5655945",
"0.5589572",
"0.5557671",
"0.5545885",
"0.55287915",
"0.5489897",
"0.54300386",
"0.54241097",
"0.5422565",
"0.54201806",
"0.53535485",
"0.53333... | 0.7013795 | 1 |
Throws an org.omg.CORBA.NO_IMPLEMENT exception with the message "This is a locally constrained object." This method is the default implementation of the org.omg.CORBA.Object method. May optionally be called by a stub to release a reply stream back to the ORB when the unmarshaling has completed. The stub passes the Inpu... | public void _releaseReply(InputStream input) {
throw new NO_IMPLEMENT(reason);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public abstract org.omg.CORBA.Object read_Object();",
"org.omg.CORBA.portable.OutputStream try_invoke(java.lang.String method, org.omg.CORBA.portable.InputStream input,\r\n org.omg.CORBA.portable.ResponseHandler handler) throws X;",
"public InputStream _invoke(OutputStream output)\n throws Ap... | [
"0.6440279",
"0.5822569",
"0.57540303",
"0.57355064",
"0.5680488",
"0.55681056",
"0.55339247",
"0.5530061",
"0.5507555",
"0.5450798",
"0.5441827",
"0.54257184",
"0.5415492",
"0.5411492",
"0.5402105",
"0.5401144",
"0.5338546",
"0.53299093",
"0.5318863",
"0.5318048",
"0.5317456... | 0.489278 | 75 |
Throws an org.omg.CORBA.NO_IMPLEMENT exception with the message "This is a locally constrained object." This method does not apply to local objects and is therefore not implemented. This method is the default implementation of the org.omg.CORBA.Object method. | public boolean validate_connection() {
throw new NO_IMPLEMENT(reason);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public interface Vehiculos extends VehiculosOperations, org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity \r\n{\r\n}",
"public abstract org.omg.CORBA.Object read_Object();",
"public LocalObject() {}",
"public interface Object {\n\n /**\n * Checks whether this object is an instance of a class that\n ... | [
"0.6396029",
"0.63822776",
"0.61573255",
"0.6151376",
"0.6089821",
"0.6084226",
"0.60506654",
"0.5898948",
"0.5870759",
"0.583996",
"0.5827664",
"0.58242613",
"0.57854563",
"0.57478654",
"0.5740336",
"0.5731119",
"0.56747174",
"0.5660005",
"0.56570226",
"0.5656142",
"0.564697... | 0.0 | -1 |
onStop() NOTE: connectTo will never be called, also won't do anything unless bottom is uncommented | public boolean connectTo(String bssid){
WifiConfiguration newWc = new WifiConfiguration();
//mBSSID = bssid;
newWc.BSSID = bssid;
newWc.SSID = mSSID;
newWc.preSharedKey = mActiveConfiguration.preSharedKey;
newWc.hiddenSSID = mActiveConfiguration.hiddenSSID;
newWc.... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n protected void onStop() {\n }",
"@Override\n protected void onStop() {\n }",
"public void onStop () {\t\t\n\t\t\n\t}",
"@Override\n\t\t\tpublic void onStop() {\n\n\t\t\t}",
"@Override\n\t\t\tpublic void onStop() {\n\n\t\t\t}",
"@Override\n public void onSt... | [
"0.78769135",
"0.78421026",
"0.78418744",
"0.7828622",
"0.7828622",
"0.78105676",
"0.77968025",
"0.7740235",
"0.7734049",
"0.77339727",
"0.77043295",
"0.7688909",
"0.7673345",
"0.76441705",
"0.7642111",
"0.7638946",
"0.759437",
"0.75873435",
"0.75873435",
"0.75873435",
"0.758... | 0.0 | -1 |
super.onFailure(statusCode, headers, responseString, throwable); | @Override
public void onFailure(int statusCode, Header[] headers, String responseString, Throwable throwable) {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n public void onFailure(int statusCode, Header[] headers, byte[] errorResponse, Throwable e) {\n\r\n }",
"@Override\n public void onFailure(int statusCode, Header[] headers, byte[] errorResponse, Throwable e) {\n ... | [
"0.88250434",
"0.8522916",
"0.8493404",
"0.84822387",
"0.8468708",
"0.8468708",
"0.8421613",
"0.83213687",
"0.8304373",
"0.83037066",
"0.83037066",
"0.82742053",
"0.82378674",
"0.82053334",
"0.81453264",
"0.81453264",
"0.813875",
"0.8124088",
"0.81213343",
"0.81193",
"0.81193... | 0.8510418 | 2 |
Inflate the layout for this fragment | @Override
public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState) {
fragmentUpdateAppBottomBinding = DataBindingUtil.inflate(inflater, R.layout.fragment_update_app_bottom, container, false);
return fragmentUpdateAppBottomBinding.... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_main_allinfo, container, false);\n }",
"@Override\r\n\tpublic View onCreateView(LayoutInflater inflater, ViewGroup... | [
"0.6739604",
"0.67235583",
"0.6721706",
"0.6698254",
"0.6691869",
"0.6687986",
"0.66869223",
"0.6684548",
"0.66766286",
"0.6674615",
"0.66654444",
"0.66654384",
"0.6664403",
"0.66596216",
"0.6653321",
"0.6647136",
"0.66423255",
"0.66388357",
"0.6637491",
"0.6634193",
"0.66251... | 0.0 | -1 |
RLogF reflects the tendency of an EP to extract a target set of words. When we use bootstrapping to construct a semantic lexicon ala Thelen&Riloff, the words parameter is the entire lexicon at the current bootstrapping iteration, and RLogF reflects the tendency of that EP to extract those words in particular, / as oppo... | public float calculateRLogF(Vector<String> words) {
double targetExtractedCount = 0;
for (String word : words) {
double count = ObjectInfoWrapper.getCount(
this.wordCountWrappers, word);
targetExtractedCount += count;
}
double score = (targetExtractedCount / this.totalWordCount)
* Math.log(target... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private List<String> getContextWords(Tree tree) {\r\n List<String> words = null;\r\n if (op.trainOptions.useContextWords) {\r\n words = Generics.newArrayList();\r\n List<Label> leaves = tree.yield();\r\n for (Label word : leaves) {\r\n words.add(word.value());\r\n }\r\n }\r\n ... | [
"0.5119244",
"0.47948846",
"0.47825268",
"0.4769521",
"0.46901888",
"0.46369305",
"0.4613937",
"0.46087176",
"0.46042553",
"0.46001753",
"0.45980224",
"0.4567299",
"0.45574403",
"0.45109144",
"0.45054543",
"0.44901606",
"0.4485346",
"0.44746113",
"0.44555324",
"0.44553664",
"... | 0.6419355 | 0 |
Two EPs are the same if they have the same ptoken. | public boolean equals(Object o) {
if (o instanceof ExtractionPattern) {
ExtractionPattern ep = (ExtractionPattern) o;
return this.signature.equals(ep.signature);
}
return false;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private boolean containsSameCoord(Point p) {\n boolean elementsContainsP = false;\n Iterator<Point> it = _elements.iterator();\n while (it.hasNext()) {\n Point pt = it.next();\n if (x(pt) == x(p) && y(pt) == y(p)) {\n elementsContainsP = true;\n ... | [
"0.57264686",
"0.56729466",
"0.5545038",
"0.5539678",
"0.5513691",
"0.5488571",
"0.5479241",
"0.5431729",
"0.5420498",
"0.5368917",
"0.53401303",
"0.53313905",
"0.53191847",
"0.53156835",
"0.5293452",
"0.5292432",
"0.5292116",
"0.52677804",
"0.52521074",
"0.524301",
"0.523719... | 0.0 | -1 |
Inflate the menu; this adds items to the action bar if it is present. | @Override
public boolean onCreateOptionsMenu(Menu menu) {
getMenuInflater().inflate(R.menu.menu_main, menu);
return true;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n \tMenuInflater inflater = getMenuInflater();\n \tinflater.inflate(R.menu.main_activity_actions, menu);\n \treturn super.onCreateOptionsMenu(menu);\n }",
"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {... | [
"0.72500116",
"0.7204146",
"0.71987385",
"0.7180757",
"0.71107906",
"0.7043322",
"0.7041613",
"0.7015376",
"0.7013112",
"0.6982869",
"0.69475657",
"0.6941377",
"0.6937569",
"0.69213736",
"0.69213736",
"0.6892679",
"0.6887231",
"0.6877873",
"0.68772626",
"0.68644464",
"0.68644... | 0.0 | -1 |
Handle action bar item clicks here. The action bar will automatically handle clicks on the Home/Up button, so long as you specify a parent activity in AndroidManifest.xml. | @Override
public boolean onOptionsItemSelected(MenuItem item) {
int id = item.getItemId();
//noinspection SimplifiableIfStatement
if (id == R.id.action_settings) {
return true;
}
return super.onOptionsItemSelected(item);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public boolean onOptionsItemSelected(MenuItem item) { Handle action bar item clicks here. The action bar will\n // automatically handle clicks on the Home/Up button, so long\n // as you specify a parent activity in AndroidManifest.xml.\n\n //\n // HANDLE BACK BUTTON\n ... | [
"0.79041183",
"0.7805934",
"0.77659106",
"0.7727251",
"0.7631684",
"0.7621701",
"0.75839096",
"0.75300384",
"0.74873656",
"0.7458051",
"0.7458051",
"0.7438486",
"0.742157",
"0.7403794",
"0.7391802",
"0.73870087",
"0.7379108",
"0.7370295",
"0.7362194",
"0.7355759",
"0.73454577... | 0.0 | -1 |
Represents a read only version of the model. This is beneficial because the controller or view would not be able to change the model's internal state. They can only grab the necessary information. | public interface IReadOnlyAnimationModel {
/**
* Gets the map of shape id's to shapes.
*
* @return the LinkedHashMap of shapes.
*/
LinkedHashMap<String, IAnimatableShapeReadOnly> getShapeMap();
/**
* Gets the canvas dimension.
*
* @return the dimension of the canvas.
*/
Dimension getCa... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\tpublic boolean isReadOnly() {\n\t\treturn false;\n\t}",
"public boolean getReadOnly() {\n return readOnly;\n }",
"public boolean isReadOnly() {\n\t\treturn false;\n\t}",
"public boolean isReadOnly() {\r\n return this.readOnly;\r\n }",
"public boolean isReadOnly();",
"publ... | [
"0.67000085",
"0.66270816",
"0.6602054",
"0.65524584",
"0.6529056",
"0.6529056",
"0.6529056",
"0.6485006",
"0.64183325",
"0.63712204",
"0.6370688",
"0.63486075",
"0.6339863",
"0.6339863",
"0.6305801",
"0.6304751",
"0.62849224",
"0.627126",
"0.6265292",
"0.6255708",
"0.6211154... | 0.0 | -1 |
Gets the map of shape id's to shapes. | LinkedHashMap<String, IAnimatableShapeReadOnly> getShapeMap(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Map<Integer, ArrayList<LatLng>> shapeIdList () {\r\n Map<Integer, ArrayList<LatLng>> newList = new HashMap<>();\r\n Cursor getData = getReadableDatabase().rawQuery(\"select shape_id from shapes\", null);\r\n getData.moveToFirst();\r\n while (getData.moveToNext()) {\r\n ... | [
"0.75829303",
"0.73037827",
"0.66998196",
"0.6554995",
"0.6101967",
"0.6040083",
"0.58502626",
"0.5802613",
"0.57483816",
"0.5746704",
"0.570855",
"0.5703357",
"0.56931645",
"0.5691812",
"0.5670106",
"0.5556594",
"0.55492085",
"0.5503609",
"0.5502873",
"0.5486892",
"0.5450536... | 0.72994804 | 2 |
Gets the canvas dimension. | Dimension getCanvasDimension(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Dimension getCanvasSize() {\n return transformManager.getCanvasSize();\n }",
"public Dimension2D getCanvasSize(\n )\n {\n return renderSize == null\n ? Dimension.get(getContentContext().getBox()) // Device-independent (user-space) area.\n : renderSize; // Device-dependent (devic... | [
"0.8120467",
"0.8076398",
"0.77458805",
"0.7617438",
"0.7450935",
"0.71048576",
"0.68625784",
"0.67793745",
"0.6737635",
"0.67078346",
"0.66647524",
"0.66631323",
"0.6575727",
"0.6523654",
"0.6514106",
"0.64902097",
"0.6462748",
"0.64602464",
"0.6438608",
"0.6415853",
"0.6402... | 0.8418103 | 0 |
Gets the left most x and top most y. | Point getTopXY(); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Coords getUpperLeft()\r\n {\r\n return new Coords(x, y);\r\n }",
"public Coords getLowerLeft()\r\n {\r\n return new Coords(x, y + height);\r\n }",
"public int getXTopRight() {\n return xTopRight;\n }",
"public Pixel topLeft() {\n if (this.up == null) {\n ret... | [
"0.7165252",
"0.70269126",
"0.6971137",
"0.6796788",
"0.6728614",
"0.6719796",
"0.6636082",
"0.65647864",
"0.6547448",
"0.65311223",
"0.652987",
"0.6526",
"0.6518683",
"0.6483537",
"0.6468857",
"0.6448553",
"0.6431317",
"0.6397225",
"0.63564754",
"0.63476294",
"0.63407063",
... | 0.7079473 | 1 |
Inflate the layout for this fragment | @Override
public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState) {
View view = inflater.inflate(R.layout.fragment_analytics, container, false);
prefs = getContext().getSharedPreferences(MY_PREFS_NAME, MODE_PRIVATE);
time... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_main_allinfo, container, false);\n }",
"@Override\r\n\tpublic View onCreateView(LayoutInflater inflater, ViewGroup... | [
"0.6739604",
"0.67235583",
"0.6721706",
"0.6698254",
"0.6691869",
"0.6687986",
"0.66869223",
"0.6684548",
"0.66766286",
"0.6674615",
"0.66654444",
"0.66654384",
"0.6664403",
"0.66596216",
"0.6653321",
"0.6647136",
"0.66423255",
"0.66388357",
"0.6637491",
"0.6634193",
"0.66251... | 0.0 | -1 |
For a given N (width) and M (height), print out a matrix of size N X M in spiral order. Example: N=3, M=3 Expected Output: 1 2 3 8 9 4 7 6 5 | public void printSpiralMatrix(int width, int height) {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"static void spiral(int m,int n,int a[][])\n {\n int i;\n int k=0,l=0;\n \n while(k<m&&l<n)\n {\n for(i=l;i<n;i++)\n {\n System.out.print(a[k][i]);\n }\n k++;\n \n for(i=k;i<m;i++)\n {\n ... | [
"0.76276886",
"0.7273642",
"0.72533",
"0.70745724",
"0.70016974",
"0.684545",
"0.6838195",
"0.66326255",
"0.65448076",
"0.64841855",
"0.64429325",
"0.62444335",
"0.61958426",
"0.6180775",
"0.6139878",
"0.6071242",
"0.603015",
"0.60213524",
"0.60109156",
"0.6010184",
"0.599361... | 0.79903746 | 0 |
Instantiates a new VerifyPhonePage. | public VerifyPhonePage(WebDriver driver)
{
super(driver);
this.driver= driver;
softAssert = new SoftAssert();
PageFactory.initElements(new AppiumFieldDecorator(this.driver, Duration.ofSeconds(30)),this);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public NewCZ_DPPHRProcessPage(){ super(); }",
"public PhoneNumber() {\n }",
"public ContactPage() {\n\t\t\t\n\t\t\t\tPageFactory.initElements(driver, this);\n\t\t\t}",
"private void init(){\n mPhoneNumber = \"\";\n mSelectedCountry = Utils.getDefaultCountry(this);\n mPresenter = new P... | [
"0.5955755",
"0.5887391",
"0.5887247",
"0.57861656",
"0.57622236",
"0.5756084",
"0.56558406",
"0.5536623",
"0.5535111",
"0.5464138",
"0.5422474",
"0.5307508",
"0.53008264",
"0.52993786",
"0.52891296",
"0.5285774",
"0.5285427",
"0.5263541",
"0.5240146",
"0.52308804",
"0.522724... | 0.6000048 | 0 |
Tries to Login by selecting the SIM and Number. If the Phone verification is taking too much time it aborts Phone Verification by clicking on 'Lets login ...' button. If Phone Verification fails then it skips the page and goes to Verify Device page. | public void loginWithPersonalDeviceWithSkip()
{
Log.info("======== Login With Verify Personal Device ========");
for(WebElement e: selectSimNumberList) // Select any/all Sim and Number dropdowns
{
e.click();
selectWithinList.get(1).click();
}
continueButton.click();
// Wait until presence of H... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void loginWithPersonalDevice() // ==== To be used by LGN_005 and Verify SIM ==== //\n\t{\n\t\ttry\n\t\t{\n\t\t\tnew WebDriverWait(driver, 45).until(ExpectedConditions.presenceOfElementLocated(By.xpath(\"//android.widget.TextView[contains(@text,'Verify')]\")));\n\t\t}\n\t\tcatch(Exception e)\n\t\t{\n\t\t\tA... | [
"0.811232",
"0.7354985",
"0.6491805",
"0.63236684",
"0.62573373",
"0.6254961",
"0.62291956",
"0.6218996",
"0.6159669",
"0.61110216",
"0.6105996",
"0.60556835",
"0.6018605",
"0.6018113",
"0.5977574",
"0.5961596",
"0.5939509",
"0.5932942",
"0.59209406",
"0.5914049",
"0.5902714"... | 0.7611353 | 1 |
Waits for the next page after Verify Phone page. Based on the Phone Verification status the next page could be Home Page,Verify Device page, Merchant Payment screen or Prepaid popup. | public void gotoHome() // Wait for Home page or Verify Device page
{
WebDriverWait wait= new WebDriverWait(driver,90);
try
{
wait.until(ExpectedConditions.visibilityOf(checker));
}
catch(Exception e)
{
Assert.fail(" Page is taking too much time to load , stopping execution");
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void waitForPhoneVerification() \n\t{\n\t\tString xp=\"//android.widget.TextView[contains(@text,'Verify')]\"; \n\t\ttry\n\t\t{\n\t\t\tnew WebDriverWait(driver, 40).until(ExpectedConditions.visibilityOf(phoneVerificationIdentifier));\t\t\n\t\t}\n\t\tcatch(Exception e)\n\t\t{\n\t\t\tAssert.fail(\"Phone Verif... | [
"0.7187076",
"0.6371145",
"0.62753725",
"0.62087214",
"0.6172351",
"0.612288",
"0.61160856",
"0.59272015",
"0.591889",
"0.5856587",
"0.57535374",
"0.57367",
"0.5727073",
"0.57032335",
"0.5665556",
"0.5653332",
"0.56507486",
"0.56507486",
"0.56507486",
"0.56507486",
"0.5625580... | 0.54371613 | 29 |
This method is used exclusively by LGN_005 which verifies Phone Verification failure. | public void loginWithPersonalDevice() // ==== To be used by LGN_005 and Verify SIM ==== //
{
try
{
new WebDriverWait(driver, 45).until(ExpectedConditions.presenceOfElementLocated(By.xpath("//android.widget.TextView[contains(@text,'Verify')]")));
}
catch(Exception e)
{
Assert.fail("Verify Phone page no... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void verifyHasPhone() {\n }",
"@Override\n public void failure(DigitsException exception) {\n Toast.makeText(ForgotPassword.this, \"Couldn't verify phone number\", Toast.LENGTH_SHORT).show();\n finish();\n }",
"@Override\n ... | [
"0.70152044",
"0.6868911",
"0.683904",
"0.68140036",
"0.6732333",
"0.6669965",
"0.6547017",
"0.6484924",
"0.64737666",
"0.64659685",
"0.6389374",
"0.6373796",
"0.6361945",
"0.6353208",
"0.6353208",
"0.6353208",
"0.6353208",
"0.63008755",
"0.6299717",
"0.62499195",
"0.6237093"... | 0.0 | -1 |
Login without personal device i.e Skips Phone Verification after unchecking personal device checkbox. | public void loginWithoutPersonalDevice() {
//new WebDriverWait(driver, 45).pollingEvery(1, TimeUnit.SECONDS).until(ExpectedConditions.visibilityOf(personalCheckbox));
waitOnProgressBarId(45);
if (pageTitle.getText().contains("Phone")) {
Log.info("======== Unchecking personal device ========");
personalChec... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void loginWithPersonalDeviceWithSkip()\n\t{\n\t\tLog.info(\"======== Login With Verify Personal Device ========\");\n\t\t\n\t\tfor(WebElement e: selectSimNumberList) // Select any/all Sim and Number dropdowns\n\t\t{\n\t\t\te.click(); \n\t\t\tselectWithinList.get(1).click();\n\t\t}\n\t\tcontinueButton.clic... | [
"0.7309071",
"0.73073417",
"0.6291903",
"0.6291903",
"0.6248045",
"0.62475854",
"0.61762655",
"0.6098656",
"0.6045574",
"0.60184246",
"0.6004265",
"0.59343886",
"0.5888728",
"0.5882276",
"0.58725786",
"0.5848772",
"0.5848772",
"0.5847705",
"0.58427197",
"0.5831344",
"0.581975... | 0.8447702 | 0 |
Verifies the presence of Skip button while skipping Phone verification. | public void verifySkip()
{
Assert.assertEquals(continueButton.getText(), "Skip");
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void loginWithPersonalDeviceWithSkip()\n\t{\n\t\tLog.info(\"======== Login With Verify Personal Device ========\");\n\t\t\n\t\tfor(WebElement e: selectSimNumberList) // Select any/all Sim and Number dropdowns\n\t\t{\n\t\t\te.click(); \n\t\t\tselectWithinList.get(1).click();\n\t\t}\n\t\tcontinueButton.clic... | [
"0.6438048",
"0.6214393",
"0.60238546",
"0.59793466",
"0.59319645",
"0.5912778",
"0.5864866",
"0.5863645",
"0.58095026",
"0.5675305",
"0.5668384",
"0.56605095",
"0.5625777",
"0.561321",
"0.559106",
"0.55891144",
"0.5585253",
"0.5584292",
"0.55791354",
"0.55599314",
"0.5558921... | 0.7223062 | 0 |
Verifies the Phone verification failed message. | public void deviceAndPhonVerificationErrMsg()
{
Log.info("======== Device Verification Error Message ========");
try {
softAssert.assertTrue(verifyPhoneErrMsg.getText().contains("failed"));
softAssert.assertAll();
} catch (Exception e){}
Log.info("======== Clicking on Verification failed OK button =... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void onVerificationFailed(FirebaseException e) {\n Log.w(TAG, \"onVerificationFailed\", e);\n mVerificationInProgress = false;\n\n if (e instanceof FirebaseAuthInvalidCredentialsException) {\n // Invalid request\n ... | [
"0.7106476",
"0.6994624",
"0.6834473",
"0.6793984",
"0.6687532",
"0.66637313",
"0.6662351",
"0.64182734",
"0.64182734",
"0.64182734",
"0.6401836",
"0.63522154",
"0.6327407",
"0.6293969",
"0.62734735",
"0.6270848",
"0.62547886",
"0.624159",
"0.624159",
"0.624159",
"0.624159",
... | 0.66745377 | 5 |
Waits for phone verification page to occur. | public void waitForPhoneVerification()
{
String xp="//android.widget.TextView[contains(@text,'Verify')]";
try
{
new WebDriverWait(driver, 40).until(ExpectedConditions.visibilityOf(phoneVerificationIdentifier));
}
catch(Exception e)
{
Assert.fail("Phone Verification page not found\n"+e.getMessage... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Step\n public void waitUntilSmsCodeWillBeSent(){\n Utils.waitABit(3);\n actionWithWebElements.waitVisibilityOfElement(confirmationCodeFromSmsHeader);\n actionWithWebElements.waitVisibilityOfElement(confirmationSmsCodeInput);\n }",
"public void getVerified() {\n Toast.makeText(t... | [
"0.64606017",
"0.6422165",
"0.63578147",
"0.6276002",
"0.62740093",
"0.6266476",
"0.6247829",
"0.6206518",
"0.6167156",
"0.6167156",
"0.6167156",
"0.6167156",
"0.6113416",
"0.6030672",
"0.6021677",
"0.6019895",
"0.5981653",
"0.5898013",
"0.58462316",
"0.5825657",
"0.5823723",... | 0.7914759 | 0 |
if postpaid sim from config.properties then return; BaseTest1.checkPostPaidSIM(); | public void handleSMSAlert()
{
WebDriverWait wait=new WebDriverWait(driver, 60);
wait.until(ExpectedConditions.visibilityOf(checker));
if(!Generic.getAttribute(checker, "resourceId").contains("message"))
return; // No Alert found
else
{
if(checker.getText().contains("verification could not be ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"if(true==adhocTicket.isPaid()){\n System.out.println(\"isPaid() is passed\");\n }",
"@Test( groups ={\"PaymentMethodValidation\"})\r\n\t\r\n\tpublic static void PayLaterOption(){\r\n\r\n\t\ttry {\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\tPaymentMethod PaymentMethodObj \t= \tnew PaymentMethod() ;\r\n\... | [
"0.6424128",
"0.61669815",
"0.6087858",
"0.6087858",
"0.5940034",
"0.59038186",
"0.5879072",
"0.58015895",
"0.57874817",
"0.5686056",
"0.56571835",
"0.56492007",
"0.55951387",
"0.5577131",
"0.55593306",
"0.55542743",
"0.5554245",
"0.54947007",
"0.54867566",
"0.5460545",
"0.54... | 0.0 | -1 |
125 + 24 = 149 125 24 = 101 125 x 24 = 3000 125 / 24 = 5 125 mod 24 = 5 | public static void main(String[] args) {
int numAdd;
numAdd=125+24;
System.out.println(numAdd+ "=125+24");
int numSubstract=125-24;
System.out.println(numSubstract+ "=125-24");
int num1 =125;
int num2= 24;
System.out.println(num1+"x"+num2+"="+(num1*num2));
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void ex() {\n int inches = 86; \n int pie = 12; //1 pie = 12 inches \n //Operaciones para obtener la cantidad de pies e inches\n int cant = inches / pie; \n int res = inches % pie;\n //Muestra de resultados\n System.out.println(inches + \" pulgadas es equival... | [
"0.60792047",
"0.5872232",
"0.5723001",
"0.5706899",
"0.56856847",
"0.56656086",
"0.5603434",
"0.5559723",
"0.55305296",
"0.5521591",
"0.5483796",
"0.54629016",
"0.54574686",
"0.5439004",
"0.53993917",
"0.5396234",
"0.5382255",
"0.538147",
"0.53560287",
"0.5353349",
"0.534054... | 0.5292504 | 24 |
Metodo que agrega un objeto en la base de datos, no recive ningun parametro | public void registrarUsuarioFinal(){
Usuario nuevoUsuario= new Usuario();
nuevoUsuario.setNombreUsuario(nuevoNombreUsuario);
nuevoUsuario.setPassword(nuevoPasswordUsuario);
nuevoUsuario.setTipoUsuario("final");
IUsuarioDAO iusuarioDAO = new UsuarioDAOImp();
iusua... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"ParqueaderoEntidad agregar(ParqueaderoEntidad parqueadero);",
"ParqueaderoEntidad agregar(String nombre);",
"Objet getObjetAlloue();",
"public Nodo(datos libro)\n {\n this.libro=libro;//LA VARIABLE LIBRO TENDRA LOS DATOS DE LA CLASE LIBRO\n }",
"@Override\n\tpublic void adicionarNo... | [
"0.72872114",
"0.68303853",
"0.64453065",
"0.6348356",
"0.63117313",
"0.6282985",
"0.6268342",
"0.6246815",
"0.623856",
"0.6227617",
"0.61495763",
"0.6146959",
"0.6118991",
"0.6081928",
"0.60786873",
"0.6078106",
"0.6062212",
"0.6032714",
"0.60322094",
"0.60222214",
"0.598226... | 0.0 | -1 |
este metodo realiza la validacion de usuario , no recibe ningun parametro | public String validarUsuario(){
String resultado = null;
IUsuarioDAO usuarioDAO = new UsuarioDAOImp();
Usuario usuario = usuarioDAO.validarUsuario(nombreUsuario, password);
if(usuario!=null){
FacesMessage facesMessage = new FacesMessage(FacesMessag... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"Usuario validarUsuario(Usuario usuario) throws Exception;",
"public User validarUsuario(String email, String password) throws BLException;",
"public void ValidandoPerfil()\r\n\t{\n\t\t\r\n\t}",
"public void validacionDatos() {\n if (!this.interfazLogin.txtUsuario().getText().isEmpty()) {\n ... | [
"0.7789245",
"0.7419301",
"0.7300802",
"0.71158254",
"0.705317",
"0.70350003",
"0.6998106",
"0.69922596",
"0.6965651",
"0.6959822",
"0.6912738",
"0.68081194",
"0.6753424",
"0.6749016",
"0.6740935",
"0.673272",
"0.6694771",
"0.66843367",
"0.6679519",
"0.66760916",
"0.6652118",... | 0.6825974 | 11 |
este metodo retorna el nombre del usuario logueado | public String getNombreUsuarioValidado(){
Usuario usuario = (Usuario)FacesContext.getCurrentInstance().getExternalContext().getSessionMap().get("usuarioValidado");
return usuario.getNombreUsuario();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"java.lang.String getUserName();",
"java.lang.String getUserName();",
"java.lang.String getUserName();",
"String getUserName();",
"String getUserName();",
"public String usuarioconectado() {\n\t\tString nome;\n\t\tObject principal = SecurityContextHolder.getContext().getAuthentication().getPrincipal();\n\... | [
"0.78646535",
"0.78646535",
"0.78646535",
"0.76457065",
"0.76457065",
"0.7611904",
"0.7530921",
"0.7530921",
"0.7530921",
"0.7530921",
"0.7530921",
"0.7530921",
"0.7530921",
"0.7530921",
"0.7530921",
"0.7511943",
"0.7439543",
"0.7380527",
"0.73700583",
"0.7339571",
"0.7323928... | 0.0 | -1 |
este metodo cierra la session y reedireccciona a la pagina de logeo | public String cerrarSesion(){
FacesContext.getCurrentInstance().getExternalContext().invalidateSession();
FacesMessage facesMessage = new FacesMessage(FacesMessage.SEVERITY_INFO, "Sesión Cerrada", "Sesión Cerrada");
FacesContext.getCurrentInstance().addMessage(null, facesMessage);
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public Navigation run() throws Exception {\n HttpSession session = request.getSession();\n// String username = null;\n// String userType = null;\n \n if (!session.getAttribute(\"loggedin\").equals(\"true\")) {\n System.out.println(\"Login Status tu sessi... | [
"0.64792794",
"0.6364036",
"0.620438",
"0.6193929",
"0.61818844",
"0.61607736",
"0.61605275",
"0.6136351",
"0.61220354",
"0.60252154",
"0.6023794",
"0.59577507",
"0.5948328",
"0.5936745",
"0.5934751",
"0.59251195",
"0.59154487",
"0.5885868",
"0.5868298",
"0.5825246",
"0.58137... | 0.0 | -1 |
este metodo verifica la session | public boolean verificarSesion(){
boolean sesionValida = false;
if(FacesContext.getCurrentInstance().getExternalContext().getSessionMap().get("usuarioValidado")!=null){
sesionValida=true;
}
return sesionValida;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"boolean hasSession();",
"private Boolean isInSession(String token, String username) {\n \treturn true;\n }",
"boolean hasSessionId();",
"boolean hasSessionId();",
"boolean hasSessionId();",
"boolean hasSessionId();",
"boolean hasSessionId();",
"boolean hasSessionId();",
"boolean isSessionVali... | [
"0.8402216",
"0.7585987",
"0.74695605",
"0.74695605",
"0.74695605",
"0.74695605",
"0.74695605",
"0.74695605",
"0.7314409",
"0.7185278",
"0.71251196",
"0.7116231",
"0.7053856",
"0.7034971",
"0.6949495",
"0.69245607",
"0.6917317",
"0.6900772",
"0.6889213",
"0.67781556",
"0.6740... | 0.6757575 | 20 |
Creates a new instance of LoginBean | public LoginFormBean() {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public LoginBean() {\r\n }",
"public loginBean() {\n }",
"public LoginBean() {\r\n \r\n \r\n }",
"public LoginActionBean() {\n\t\tthis(new ByNameHibernateRecordFetcherFactory(null).newInstance(new ReaderConstraint(\n\t\t\tUser.class)));\n\t}",
"public ExternalLoginManagedBean() {\n ... | [
"0.80461526",
"0.79463995",
"0.78893423",
"0.67654103",
"0.65356725",
"0.6477261",
"0.6362951",
"0.63498324",
"0.6270335",
"0.6270335",
"0.6254965",
"0.62027246",
"0.6183065",
"0.61760646",
"0.6149468",
"0.6116354",
"0.60935503",
"0.60899353",
"0.60864687",
"0.6080295",
"0.59... | 0.73518366 | 3 |
=========================================================== Getter & Setter =========================================================== | public void setParallaxValue(final float pParallaxValueX, final float pParallaxValueY) {
this.mParallaxValueX = pParallaxValueX;
this.mParallaxValueY = pParallaxValueY;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\tprotected void initValue()\n\t{\n\n\t}",
"@Override\n public void get() {}",
"@Override\r\n\tpublic void get() {\n\t\t\r\n\t}",
"protected abstract Set method_1559();",
"@Override\n\tprotected void getData() {\n\t\t\n\t}",
"@Override\n\tpublic void initValue() {\n\t\t\n\t}",
"@Override\r\... | [
"0.6530707",
"0.6429242",
"0.6401354",
"0.638821",
"0.63802034",
"0.62655497",
"0.62175053",
"0.61730605",
"0.61435974",
"0.61435974",
"0.6134486",
"0.6133773",
"0.61026585",
"0.60648656",
"0.6047741",
"0.60232216",
"0.60173035",
"0.60173035",
"0.60173035",
"0.60173035",
"0.6... | 0.0 | -1 |
=========================================================== Methods for/from SuperClass/Interfaces =========================================================== | @Override
public void onDraw(final GL10 pGL, final Camera pCamera) {
super.onDraw(pGL, pCamera);
final float parallaxValueX = this.mParallaxValueX;
final float parallaxValueY = this.mParallaxValueY;
final ArrayList<ParallaxBackground2dEntity> parallaxEntities = this.mParallaxEntities;
for(int i = 0; i < th... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n protected void prot() {\n }",
"@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\tprotected void interr() {\n\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"... | [
"0.66493845",
"0.6629024",
"0.6452968",
"0.642971",
"0.63373286",
"0.63248324",
"0.63248324",
"0.62520915",
"0.62315",
"0.6216611",
"0.61964023",
"0.61958927",
"0.6175072",
"0.6166632",
"0.61429137",
"0.61355686",
"0.6113214",
"0.61115307",
"0.61108357",
"0.6107379",
"0.60699... | 0.0 | -1 |
The Update interface provides the public APIs to execute the spatial type update operations. | public interface Update extends SpatialQuery {
/**
* Add a restriction to filter the update operation.
*
* @param type
* The {@link RestrictionType}.
* @param value
* The property value for the restriction type.
*/
public abstract void addRestriction(RestrictionType type, String ... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void update(int updateType);",
"void update(Type type);",
"UpdateType updateType();",
"interface Update {}",
"interface Update {\n\n }",
"protected abstract void update();",
"protected abstract void update();",
"public abstract void update();",
"public abstract void update();",
"public ... | [
"0.6993633",
"0.68149644",
"0.6771781",
"0.64584756",
"0.639047",
"0.6341483",
"0.6341483",
"0.63276136",
"0.63276136",
"0.63276136",
"0.63276136",
"0.63276136",
"0.63276136",
"0.63276136",
"0.63276136",
"0.63276136",
"0.63276136",
"0.63276136",
"0.63276136",
"0.6305101",
"0.... | 0.7340919 | 0 |
This method is called before the controller | @Override
public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler)
throws Exception {
List<String> driver_urls = new ArrayList<String>();
List<String> officer_urls = new ArrayList<String>();
// TODO add url for driver can access
driver_urls.add("/api/notice/uuid/[... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void beforeStart() {\n \n }",
"@Override\n public void beforeFirstLogic() {\n }",
"private void initBefore() {\n // Crear Modelo\n model = new Model();\n\n // Crear Controlador\n control = new Controller(model, this);\n\n // Cargar Propie... | [
"0.7227185",
"0.71276283",
"0.7123808",
"0.7067083",
"0.6868699",
"0.67719805",
"0.67431223",
"0.67431223",
"0.66526616",
"0.66526616",
"0.6600267",
"0.6568491",
"0.6564925",
"0.64818317",
"0.6447012",
"0.6418965",
"0.6393057",
"0.6387394",
"0.63631415",
"0.6361623",
"0.63513... | 0.0 | -1 |
adjust factory for generation gap pattern | private void adjustFactory(IFile iFile, ResourceSet resourceSet) {
IJavaProject javaProject = JavaCore.create(iFile.getProject());
try {
for (IClasspathEntry cpEntry : javaProject.getRawClasspath()) {
if (cpEntry.getEntryKind() == IClasspathEntry.CPE_SOURCE) {
//to register newly generated code;
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"protected abstract void generate();",
"public abstract Animal[] createGeneration (int count, Animal[] lastGeneration);",
"protected abstract Object makeNew(final String prefix, final int seqno);",
"@DSGenerator(tool_name = \"Doppelganger\", tool_version = \"2.0\", generated_on = \"2014-02-24 13:04:41.591 -05... | [
"0.56957114",
"0.5691054",
"0.56696934",
"0.56060636",
"0.5442751",
"0.5440081",
"0.5398881",
"0.5397892",
"0.5395986",
"0.5383673",
"0.5380599",
"0.53742194",
"0.536334",
"0.5315196",
"0.5277843",
"0.52677625",
"0.52514523",
"0.52442706",
"0.52056223",
"0.5189518",
"0.517965... | 0.0 | -1 |
1.4 Write a Java program that takes two numbers as input from console and display the product of two numbers. | public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
System.out.println("Input first number: ");
int inputNumber1 = scanner.nextInt();
System.out.println("Input second number: ");
int inputNumber2 = scanner.nextInt();
System.out.println(i... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static void main (String[] args) {\n Scanner scan=new Scanner(System.in);\n int num1=scan.nextInt();\n int num2=scan.nextInt();\n int result=num1*num2;\n System.out.println(result);\n\t}",
"public static void main(String[] args) throws NumberFormatException, IOException {\n\t\tBuf... | [
"0.7658321",
"0.76477253",
"0.7535666",
"0.7443598",
"0.74310845",
"0.7390062",
"0.7369261",
"0.7318208",
"0.73055637",
"0.72929394",
"0.7173909",
"0.71736073",
"0.71290934",
"0.71253556",
"0.70716166",
"0.70657974",
"0.70645887",
"0.70388293",
"0.7014276",
"0.70017684",
"0.6... | 0.65856147 | 56 |
Created by James on 7/31/2017. | public interface ItemObjectService {
ItemObject findByItemId(Long itemId);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public final void mo51373a() {\n }",
"private stendhal() {\n\t}",
"@Override\n public void perish() {\n \n }",
"public void mo38117a() {\n }",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"public void mo4359a() {\n ... | [
"0.60685027",
"0.5952009",
"0.58868015",
"0.572864",
"0.57191515",
"0.5690576",
"0.5653858",
"0.5652206",
"0.5646825",
"0.5604596",
"0.5604454",
"0.56020594",
"0.56020594",
"0.5596573",
"0.55881184",
"0.5573437",
"0.5567117",
"0.55622375",
"0.5560544",
"0.55290323",
"0.551954... | 0.0 | -1 |
TODO Autogenerated method stub | public void afterCompletion(HttpServletRequest request, HttpServletResponse response, Object object, Exception e)
throws Exception {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExr... | [
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.608016... | 0.0 | -1 |
TODO Autogenerated method stub | @Override
public void postHandle(HttpServletRequest request, HttpServletResponse response, Object object, ModelAndView modelAndView)
throws Exception {
} | {
"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 url | @Override
public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object object) throws Exception {
logger.info(request.getRequestURI());
//method
logger.info(request.getMethod());
//ip
logger.info(request.getRemoteAddr());
Enumeration enu=request.getParameterNames();
w... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void getUrl() {\n\r\n\t}",
"@Override\r\n\tprotected String getUrl() {\n\t\treturn urlWS + \"/ConsultarIndiceEjecucionAnio\";\r\n\t}",
"@Override\n\tpublic String getUrl()\n\t{\n\t\treturn url;\n\t}",
"private String getURL() {\n\t\t// TODO : Generate URL\n\t\treturn null;\n\t}",
"@Ov... | [
"0.729175",
"0.6948634",
"0.6933808",
"0.6847099",
"0.6792132",
"0.67684436",
"0.6722376",
"0.65799576",
"0.6576047",
"0.65728277",
"0.65728277",
"0.65728277",
"0.65728277",
"0.6568225",
"0.6531455",
"0.6515306",
"0.6493764",
"0.6489214",
"0.6453453",
"0.64211994",
"0.6388393... | 0.0 | -1 |
returns the smallest value in the array | public static int getMin(int[] array) {
//TODO: write code here
int min = array[0];
for(int a : array) {
min = a < min ? a : min;
}
return min;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public T findLowest(){\n T lowest = array[0]; \n for (int i=0;i<array.length; i++)\n {\n if (array[i].doubleValue()<lowest.doubleValue())\n {\n lowest = array[i]; \n } \n }\n return lowest;\n }... | [
"0.8551976",
"0.8471965",
"0.8342927",
"0.82102877",
"0.8155213",
"0.8070565",
"0.80420333",
"0.8041514",
"0.80367297",
"0.80025494",
"0.80002344",
"0.7990012",
"0.79363936",
"0.7839812",
"0.7832663",
"0.7826853",
"0.7819017",
"0.778978",
"0.77553165",
"0.77294993",
"0.768521... | 0.8171514 | 4 |
returns the largest value in the array | public static int getMax(int[] array) {
//TODO: write code here
int max = array[0];
for(int a : array) {
max = a > max ? a : max;
}
return max;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"int max() {\n\t\t// added my sort method in the beginning to sort out array\n\t\tint n = array.length;\n\t\tint temp = 0;\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 1; j < (n - i); j++) {\n\n\t\t\t\tif (array[j - 1] > array[j]) {\n\t\t\t\t\ttemp = array[j - 1];\n\t\t\t\t\tarray[j - 1] = array[j];\n\t\t... | [
"0.8403651",
"0.8363459",
"0.8114533",
"0.80929464",
"0.80053246",
"0.79357046",
"0.78916615",
"0.788896",
"0.78745097",
"0.7867348",
"0.7855423",
"0.7842901",
"0.7830833",
"0.7823235",
"0.78146946",
"0.7795426",
"0.77745324",
"0.77671987",
"0.7764427",
"0.7745338",
"0.763967... | 0.76404047 | 20 |
Returns Top fragment from fragment back stack. | public String getTopFragmentName() {
BackStackEntry backStackEntry = this.getSupportFragmentManager()
.getBackStackEntryAt(getBackStackCount() - 1);
if (backStackEntry != null) {
return backStackEntry.getName();
}
return null;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private Fragment getLatestFragmentFromBackStack() {\n int entryCount = mFragmentManager.getBackStackEntryCount();\n if (entryCount > 0) {\n FragmentManager.BackStackEntry entry = mFragmentManager.getBackStackEntryAt(entryCount - 1);\n return mFragmentManager.findFragmentByTag(en... | [
"0.7505258",
"0.6997444",
"0.69295406",
"0.6798674",
"0.6786015",
"0.6759328",
"0.6674205",
"0.66107726",
"0.6522151",
"0.6517174",
"0.64908224",
"0.64839214",
"0.6450891",
"0.64099324",
"0.63800496",
"0.6368911",
"0.6321689",
"0.6305109",
"0.6299207",
"0.62943786",
"0.628161... | 0.73848766 | 1 |
Return the fragment back stack entry count. | public int getBackStackCount() {
try {
return this.getSupportFragmentManager().getBackStackEntryCount();
} catch (Exception e) {
e.printStackTrace();
}
return 0;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public int stackCount() {\r\n\t\t return count;\r\n\t }",
"public int getSize() {\r\n\t\treturn stack.size();\r\n\t}",
"public int size() {\n \treturn stack.size();\n }",
"public int getBacktrackedTransitionCount() {\n return ttb.getBacksteppedTransitions();\n }",
"@Override\r\n\tpublic int size(... | [
"0.70325917",
"0.67099816",
"0.6639755",
"0.6536169",
"0.65123785",
"0.64935553",
"0.6483906",
"0.6384278",
"0.63761574",
"0.6371865",
"0.62621355",
"0.6257306",
"0.6214793",
"0.61670196",
"0.6123647",
"0.6029793",
"0.59672266",
"0.593053",
"0.5891167",
"0.5889283",
"0.585576... | 0.81063586 | 0 |
Returns Fragment name at a particular position in the back stack. | public String getFragmentNameAtPosition(int position) {
if (position <= getBackStackCount()) {
return this.getSupportFragmentManager()
.getBackStackEntryAt(position - 1).getName();
}
return null;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getTopFragmentName() {\n\t\tBackStackEntry backStackEntry = this.getSupportFragmentManager()\n\t\t\t\t.getBackStackEntryAt(getBackStackCount() - 1);\n\t\tif (backStackEntry != null) {\n\t\t\treturn backStackEntry.getName();\n\t\t}\n\t\treturn null;\n\t}",
"public abstract String getFragmentName();"... | [
"0.7104149",
"0.6973643",
"0.64039063",
"0.6111205",
"0.59791",
"0.593658",
"0.58756363",
"0.5849217",
"0.5829562",
"0.5794181",
"0.5773602",
"0.5763698",
"0.574612",
"0.5711875",
"0.57008904",
"0.5675299",
"0.5660509",
"0.56502104",
"0.5643927",
"0.5641135",
"0.56070673",
... | 0.7796329 | 0 |
Returns list of fragment back stack entries. | public List<String> getBackStackList() {
List<String> backStackList = new LinkedList<String>();
int backstackEntryCount = this.getBackStackCount() - 1;
for (int entryPosition = backstackEntryCount; entryPosition >= 0; entryPosition--) {
backStackList.add(this.getSupportFragmentManager()
.getBackStackEntry... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private List<ThroughNode> popStackStackForward() {\n List<ThroughNode> popped = nodeStackStack.peek();\n nodeStackStack.push(C.tail(popped));\n return popped;\n }",
"public String getStack();",
"public List<Instruction> popInstructions() {\n return instructionsSta... | [
"0.6455325",
"0.6257406",
"0.59059024",
"0.5897633",
"0.5852553",
"0.5788514",
"0.57605994",
"0.5749001",
"0.57131565",
"0.5666584",
"0.5661002",
"0.5636977",
"0.5629895",
"0.55928326",
"0.5584296",
"0.5555112",
"0.55548376",
"0.5550706",
"0.54645735",
"0.5444322",
"0.5438689... | 0.8046782 | 0 |
Goes one step in the fragment back stack. | @Override
public boolean popBackStack() {
return this.getSupportFragmentManager().popBackStackImmediate();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void stepBackward() {\n\t\tposition = backwardPosition();\n\t}",
"public synchronized void back ()\n\t// one move up\n\t{\n\t\tState = 1;\n\t\tgetinformation();\n\t\tgoback();\n\t\tshowinformation();\n\t\tcopy();\n\t}",
"public void jumpBack() {\n this.instructionList = this.stack.pop();\n }",
"pu... | [
"0.76476836",
"0.7248937",
"0.7204492",
"0.716078",
"0.71527934",
"0.7093841",
"0.69705933",
"0.6959153",
"0.6956713",
"0.6936603",
"0.6876618",
"0.6862536",
"0.68574107",
"0.6849431",
"0.6782601",
"0.67582434",
"0.6738275",
"0.670984",
"0.67084706",
"0.66893303",
"0.6689206"... | 0.0 | -1 |
Pop back stack till tag name. if flag is POP_BACK_STACK_INCLUSIVE pop the fragment including the fragment with tagName. else pop just before the fragment with tag tagName. | @Override
public boolean popBackStackTill(String tagName, int flag) {
getSupportFragmentManager();
if (flag != 0 && flag != FragmentManager.POP_BACK_STACK_INCLUSIVE) {
flag = 0;
}
if (tagName != null && tagName.trim().length() > 0) {
return this.getSupportFragmentManager().popBackStackImmediate(
tag... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void pop() {\r\n pop( false );\r\n }",
"void pop()\n\t\t{\n\t\t\tsp--;\n\t\t\tfor(int i = 0; i < sp; i++)\n\t\t\t\tXMLStream.print(\" \");\n\t\t\tif(sp < 0)\n\t\t\t\tDebug.e(\"RFO: XMLOut stack underflow.\");\n\t\t\tXMLStream.println(\"</\" + stack[sp] + \">\");\n\t\t}",
"public void pop() {\... | [
"0.6342964",
"0.6136371",
"0.6126563",
"0.6070888",
"0.6031327",
"0.6016433",
"0.59601146",
"0.5916782",
"0.58993715",
"0.5848218",
"0.5840405",
"0.5783784",
"0.5755844",
"0.5755212",
"0.573268",
"0.57118064",
"0.5711277",
"0.5710644",
"0.56954443",
"0.56633973",
"0.56511015"... | 0.7820478 | 0 |
Prints a table displaying specified columns, and checks the expected number of rows. | private void printTable(String table, String cols, String where,
int expected) throws SQLException {
int rows = 0;
ResultSet rs = stmt.executeQuery("SELECT " + cols + " FROM " + table + " " + where);
ResultSetMetaData rsmd = rs.getMetaData();
St... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void displayTimesTable() {\n if (table >= TABLE_MIN && table <= TABLE_MAX) {\n System.out.println(table + \" times table:\");\n for (int i=1; i <= TABLE_MAX; ++i) {\n System.out.printf(\"%2d X %2d = %3d\\n\",\n i, table, timesTables[table][i])... | [
"0.64996284",
"0.6494324",
"0.6449089",
"0.63772136",
"0.6291327",
"0.61225176",
"0.607195",
"0.6002153",
"0.60019875",
"0.596566",
"0.5872912",
"0.5872832",
"0.58564734",
"0.58491874",
"0.58114016",
"0.5791349",
"0.57701665",
"0.5743562",
"0.5737722",
"0.57215667",
"0.571449... | 0.7559467 | 0 |
Indicates whether the item can be restored from a prior revision or not. | public boolean isRestorable() {
return isRestorable;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"boolean hasRestore();",
"public boolean canRevert(IBlockState state) {\n\t\t\treturn canRevert(state.getBlock(), state.getBlock().getMetaFromState(state));\n\t\t}",
"public boolean mayRestore() {\n return Objects.nonNull(serverToken) && Objects.nonNull(clientToken);\n }",
"public boolean canUndo()\... | [
"0.65154165",
"0.6199774",
"0.6183922",
"0.5962424",
"0.5906601",
"0.5898389",
"0.5897607",
"0.58674145",
"0.5853892",
"0.58044076",
"0.5783673",
"0.5742452",
"0.56881684",
"0.56044847",
"0.5576335",
"0.5571307",
"0.5553699",
"0.55536366",
"0.5550825",
"0.55436504",
"0.553861... | 0.0 | -1 |
Sets whether the item can be restored from a prior revision or not. | public void setRestorable(boolean isRestorable) {
this.isRestorable = isRestorable;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public boolean canRevert(IBlockState state) {\n\t\t\treturn canRevert(state.getBlock(), state.getBlock().getMetaFromState(state));\n\t\t}",
"public boolean mayRestore() {\n return Objects.nonNull(serverToken) && Objects.nonNull(clientToken);\n }",
"boolean hasRestore();",
"public void setClipPreser... | [
"0.55959636",
"0.55880064",
"0.5511251",
"0.53828245",
"0.531401",
"0.51974493",
"0.5181812",
"0.5162265",
"0.513808",
"0.5137613",
"0.5136483",
"0.511874",
"0.51030004",
"0.50573015",
"0.50544834",
"0.50544834",
"0.50505704",
"0.5048176",
"0.5042796",
"0.50178945",
"0.501545... | 0.0 | -1 |
Functional interface to enable processing via lambda expression | @FunctionalInterface
private interface Consumer<T> {
void accept(T t);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@FunctionalInterface\npublic interface MyFunc {\n\n public String getValue(String str);\n}",
"@FunctionalInterface\npublic interface Act<E> {\n\n void forEach(E pill,ITree ctx,ILime consumer);\n\n}",
"@FunctionalInterface\npublic interface FoldImplementation {\n void main(String[] args);\n}",
"publi... | [
"0.63568896",
"0.61694294",
"0.5994413",
"0.5986484",
"0.59506065",
"0.59279644",
"0.5824255",
"0.58230114",
"0.5800921",
"0.5762137",
"0.5753535",
"0.57387745",
"0.57084334",
"0.5676255",
"0.5666692",
"0.56590605",
"0.56433666",
"0.563977",
"0.5595666",
"0.5593145",
"0.55739... | 0.5534359 | 28 |
Finds all maximal sets of n > 4 collinear points | public FastCollinearPoints(final Point[] inPoints) {
if (inPoints == null) {
// an argument to the constructor is null
throw new IllegalArgumentException();
}
// check for null points
for (final Point inPoint : inPoints) {
if (inPoint == null) {
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private Set<V> findMaximalConnectedSubset(Graph<V, E> g, Set<V> X, V v1, V v2, V v5)\n {\n Set<V> FPrime = new ConnectivityInspector<>(g).connectedSetOf(v5);\n FPrime.removeIf(\n t -> t != v5 && isYXComplete(g, t, X) || v1 == t || v2 == t || g.containsEdge(v1, t)\n || g.c... | [
"0.624428",
"0.60233164",
"0.6021816",
"0.5734112",
"0.57088965",
"0.5649384",
"0.55986834",
"0.55236346",
"0.5514365",
"0.5497594",
"0.5412246",
"0.539165",
"0.5353453",
"0.5352218",
"0.53407955",
"0.5331257",
"0.53286225",
"0.53124905",
"0.5294412",
"0.52810264",
"0.525555"... | 0.50514466 | 41 |
Created by Rafal on 20160423. | public interface IDbProvider {
DaoSession getSession();
List<Category> getCategoryList();
List<Spending> getSpendingsList(Category category);
void addCategory(Category category) throws CategoryNameExistsException;
void addSpending(Spending spending);
void editSpending(Spending item, float v... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void perish() {\n \n }",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\n public void func_104112_b() {\n \n }",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"private stendhal() {\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
... | [
"0.58610773",
"0.5678302",
"0.56768423",
"0.5633977",
"0.5624033",
"0.5602795",
"0.5602795",
"0.5572379",
"0.5569601",
"0.5548097",
"0.5540648",
"0.5530387",
"0.5529907",
"0.5518267",
"0.5514649",
"0.55142254",
"0.55142254",
"0.55142254",
"0.55142254",
"0.55142254",
"0.549294... | 0.0 | -1 |
TODO Autogenerated method stub | public void surfaceDestroyed(SurfaceHolder holder) {
if(mCamera != null)
mCamera.release();
} | {
"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 |
no data DLList's head and tail should be proteced! constructors | public DLListWithOutput()
{
super();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public DLList() {\n head = null;\n tail = null;\n }",
"public DLList() {\r\n init();\r\n }",
"public SLList()\n {\n head = tail = null;\n }",
"public DoublyLinkedList() {\r\n\t\tinitializeDataFields();\r\n\t}",
"public DesignLinkedList() {\n head = null;\n ... | [
"0.8534489",
"0.78366756",
"0.7754868",
"0.7642361",
"0.7557637",
"0.7493151",
"0.749141",
"0.7482522",
"0.7474095",
"0.7373746",
"0.7329266",
"0.73220026",
"0.73149407",
"0.73112863",
"0.72888523",
"0.7287067",
"0.72842854",
"0.7268813",
"0.722912",
"0.72198147",
"0.7218737"... | 0.66706467 | 84 |
methods toString returns its representation as a String | public String toString()
{
String answer;
//if the size not 0, indent 9 spaces to make room for the "(null)<--" that backwards will print
if (size() != 0)
answer = " ";
else
answer = "";
DLLNode cursor = head;
while (cursor != null)
{
answer = answer + cursor.data + "-->";
cursor = c... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"String toString();",
"Str... | [
"0.9044196",
"0.9044196",
"0.9044196",
"0.9044196",
"0.9044196",
"0.9044196",
"0.9044196",
"0.9044196",
"0.9044196",
"0.9044196",
"0.9044196",
"0.9044196",
"0.9044196",
"0.9044196",
"0.9044196",
"0.9044196",
"0.9044196",
"0.9044196",
"0.9044196",
"0.9044196",
"0.9044196",
"... | 0.0 | -1 |
backwards this will traverse the list like toString, only "backwards". | public String backwards()
{
String answer = "";
DLLNode cursor = tail;
while (cursor != null)
{
answer = "<--" + cursor.data + answer;
cursor = cursor.prev;
}
answer = "(null)" + answer;
return answer;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"String toStringBackwards();",
"@Override\n\tpublic String toString() {\n\t\tString string = \"\";\n\t\tfor (int i = list.size() - 1; i >= 0; i--) {\n\t\t\tstring += list.get(i) + \" \";\n\t\t}\n\t\treturn string;\n\t}",
"@Override\n\tpublic String toString()\n\t{\n\n\t\tStringBuffer sb = new StringBuffer(\"top... | [
"0.70166445",
"0.6817162",
"0.666916",
"0.6288936",
"0.6263906",
"0.6243507",
"0.6189375",
"0.6184403",
"0.61412853",
"0.6096291",
"0.6058051",
"0.60543746",
"0.60444707",
"0.603446",
"0.60086906",
"0.6002358",
"0.5965538",
"0.5953375",
"0.59505147",
"0.5938181",
"0.5933945",... | 0.59522325 | 18 |
Java main for when running without JavaFX launcher | public static void main(String[] args) {
launch(args);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static void main(String[] args){\r\n //Launch the JavaFX app\r\n Application.launch(args);\r\n }",
"public static void main( String[] args) {\n\t\t// this method start the javaFX application.\n\t\t// some IDEs are capable of starting JavaFX without this method.\n\t\tlaunch( args);\n\t}",
... | [
"0.8077454",
"0.80443865",
"0.7509493",
"0.73956877",
"0.71634597",
"0.7107129",
"0.7022877",
"0.6922237",
"0.6909071",
"0.68710625",
"0.68710625",
"0.6868263",
"0.6862412",
"0.6859862",
"0.68550265",
"0.6840091",
"0.68338895",
"0.68187845",
"0.6813592",
"0.6810895",
"0.68011... | 0.6554159 | 92 |
call this method when the SAVE button is clicked | public void onSaveButtonClicked() {
String description = mEditText.getText().toString();
Date date = new Date();
final DiaryEntry entry = new DiaryEntry(description, date);
AppExecutors.getInstance().diskIO().execute(new Runnable() {
@Override
public void run() {... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void onSaveClicked();",
"void handleSaveClicked(ActionEvent event);",
"@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tSave();\n\t\t\t}",
"public void saveData(){\n reporter.info(\"Save edited form\");\n clickOnElement(LOCATORS.getBy(COMPONENT_NAME,\"SAVE_BUTTON\"));\n }",
... | [
"0.81618446",
"0.7917367",
"0.7780674",
"0.76532906",
"0.76003",
"0.75927687",
"0.75441",
"0.7529731",
"0.74668294",
"0.74447006",
"0.7408867",
"0.73997915",
"0.73829997",
"0.73829997",
"0.73829997",
"0.73829997",
"0.73601556",
"0.7358118",
"0.7355918",
"0.7346887",
"0.734688... | 0.685633 | 75 |
Created by ly on 2017/3/2. | public interface ConsValues {
public String PATH = "/storage/extSdCard/Videos/Others/灵梦和幽幽子的弹幕.mp4";
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void perish() {\n \n }",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"private stendhal() {\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r... | [
"0.60470325",
"0.58859503",
"0.58551747",
"0.58485657",
"0.5779104",
"0.5779104",
"0.5723898",
"0.5719264",
"0.57016546",
"0.5650201",
"0.56474215",
"0.56335163",
"0.5623886",
"0.5619659",
"0.56173915",
"0.5606881",
"0.5567695",
"0.5567695",
"0.5567695",
"0.5567695",
"0.55676... | 0.0 | -1 |
Lists summaries of the operations. | public java.util.List<OperationSummary> getOperations() {
if (operations == null) {
operations = new com.amazonaws.internal.SdkInternalList<OperationSummary>();
}
return operations;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void applySummary(Operation operation, Method method);",
"void list()\n\t{\n\t\toperation.list();\n\t\t\n\t}",
"public static java.util.Collection getOperationDescs() {\r\n return _myOperationsList;\r\n }",
"public String getSummary();",
"private void displayTestResultSummary() {\n in... | [
"0.65709066",
"0.62518424",
"0.61830527",
"0.6161617",
"0.61217445",
"0.6119535",
"0.6038523",
"0.60012317",
"0.5973149",
"0.59602296",
"0.58915156",
"0.58418787",
"0.5795361",
"0.579171",
"0.5790565",
"0.57730544",
"0.57710856",
"0.5771065",
"0.57598054",
"0.57417136",
"0.57... | 0.6516253 | 1 |
Lists summaries of the operations. | public void setOperations(java.util.Collection<OperationSummary> operations) {
if (operations == null) {
this.operations = null;
return;
}
this.operations = new com.amazonaws.internal.SdkInternalList<OperationSummary>(operations);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void applySummary(Operation operation, Method method);",
"public java.util.List<OperationSummary> getOperations() {\n if (operations == null) {\n operations = new com.amazonaws.internal.SdkInternalList<OperationSummary>();\n }\n return operations;\n }",
"void list()\n\t{\n\t\... | [
"0.65709066",
"0.6516253",
"0.62518424",
"0.61830527",
"0.6161617",
"0.61217445",
"0.6119535",
"0.6038523",
"0.60012317",
"0.5973149",
"0.59602296",
"0.58915156",
"0.58418787",
"0.5795361",
"0.579171",
"0.5790565",
"0.57730544",
"0.57710856",
"0.5771065",
"0.57598054",
"0.574... | 0.0 | -1 |
Lists summaries of the operations. | public ListOperationsResult withOperations(java.util.Collection<OperationSummary> operations) {
setOperations(operations);
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void applySummary(Operation operation, Method method);",
"public java.util.List<OperationSummary> getOperations() {\n if (operations == null) {\n operations = new com.amazonaws.internal.SdkInternalList<OperationSummary>();\n }\n return operations;\n }",
"void list()\n\t{\n\t\... | [
"0.65709066",
"0.6516253",
"0.62518424",
"0.61830527",
"0.6161617",
"0.61217445",
"0.6119535",
"0.6038523",
"0.60012317",
"0.5973149",
"0.59602296",
"0.58915156",
"0.58418787",
"0.5795361",
"0.579171",
"0.5790565",
"0.57730544",
"0.57710856",
"0.5771065",
"0.57598054",
"0.574... | 0.5692325 | 22 |
If there are more operations than you specified for MaxItems in the request, submit another request and include the value of NextPageMarker in the value of Marker. | public void setNextPageMarker(String nextPageMarker) {
this.nextPageMarker = nextPageMarker;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"static void handlePaginated(IPlaceFinder finder, int limit) {\n LocalTime firstReqTime = LocalTime.now();\n findPagedResults(finder, limit, 0);\n int offset = limit;\n while(scanner.hasNextLine()) {\n String input = scanner.nextLine();\n if (ValidInput.MORE.getInpu... | [
"0.6260538",
"0.58937865",
"0.5869566",
"0.5863278",
"0.58600926",
"0.5700929",
"0.5674525",
"0.5656012",
"0.5648321",
"0.56405",
"0.5606181",
"0.5606181",
"0.55699515",
"0.55404586",
"0.55243045",
"0.5523001",
"0.5517244",
"0.5517244",
"0.5517244",
"0.5517244",
"0.5517244",
... | 0.55271053 | 14 |
If there are more operations than you specified for MaxItems in the request, submit another request and include the value of NextPageMarker in the value of Marker. | public String getNextPageMarker() {
return this.nextPageMarker;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"static void handlePaginated(IPlaceFinder finder, int limit) {\n LocalTime firstReqTime = LocalTime.now();\n findPagedResults(finder, limit, 0);\n int offset = limit;\n while(scanner.hasNextLine()) {\n String input = scanner.nextLine();\n if (ValidInput.MORE.getInpu... | [
"0.6260538",
"0.58937865",
"0.5869566",
"0.5863278",
"0.58600926",
"0.5700929",
"0.5674525",
"0.5656012",
"0.5648321",
"0.56405",
"0.5606181",
"0.5606181",
"0.55699515",
"0.55404586",
"0.55271053",
"0.55243045",
"0.5523001",
"0.5517244",
"0.5517244",
"0.5517244",
"0.5517244",... | 0.5016104 | 82 |
If there are more operations than you specified for MaxItems in the request, submit another request and include the value of NextPageMarker in the value of Marker. | public ListOperationsResult withNextPageMarker(String nextPageMarker) {
setNextPageMarker(nextPageMarker);
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"static void handlePaginated(IPlaceFinder finder, int limit) {\n LocalTime firstReqTime = LocalTime.now();\n findPagedResults(finder, limit, 0);\n int offset = limit;\n while(scanner.hasNextLine()) {\n String input = scanner.nextLine();\n if (ValidInput.MORE.getInpu... | [
"0.6260514",
"0.5893429",
"0.5867661",
"0.5858301",
"0.5701316",
"0.56730574",
"0.56539583",
"0.56479526",
"0.5640442",
"0.56058717",
"0.56058717",
"0.5571299",
"0.5539784",
"0.5526496",
"0.5523856",
"0.5520377",
"0.5516438",
"0.5516438",
"0.5516438",
"0.5516438",
"0.5516438"... | 0.5862104 | 3 |
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. | @Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("{");
if (getOperations() != null)
sb.append("Operations: ").append(getOperations()).append(",");
if (getNextPageMarker() != null)
sb.append("NextPageMarker: ").append(getNe... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String toString() { return stringify(this, true); }",
"@Override\n public String toString() {\n return new JSONSerializer().serialize(this);\n }",
"public String toString() {\n\t\treturn this.toJSON().toString();\n\t}",
"public String toString() {\n\t\treturn this.toJSON().toString();\n\t... | [
"0.80981666",
"0.8073201",
"0.8046738",
"0.8046738",
"0.8023337",
"0.7973196",
"0.7937623",
"0.79282993",
"0.790899",
"0.7894078",
"0.77834874",
"0.77818394",
"0.776735",
"0.77665883",
"0.77665883",
"0.77665883",
"0.77554446",
"0.7727782",
"0.7721274",
"0.76733345",
"0.767333... | 0.0 | -1 |
===================== Financial Planner Storage methods ================================ | @Override
public Optional<ReadOnlyFinancialPlanner> readFinancialPlanner() throws DataConversionException, IOException {
return readFinancialPlanner(recordListFilePath, summaryMapFilePath);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"stockFilePT102.StockFileDocument.StockFile getStockFile();",
"public interface PremiumManager {\r\n /**\r\n * Retrieves all premium information\r\n *\r\n * @param policyHeader policy header\r\n * @param inputRecord input Record\r\n * @return RecordSet\r\n */\r\n RecordSet loadAllPre... | [
"0.5960877",
"0.5741238",
"0.56264985",
"0.5551811",
"0.5536586",
"0.5435039",
"0.5425347",
"0.53958666",
"0.5377941",
"0.533917",
"0.5339009",
"0.52234393",
"0.5200576",
"0.51913136",
"0.5184164",
"0.5171658",
"0.5156685",
"0.5141168",
"0.5134175",
"0.512346",
"0.5113366",
... | 0.0 | -1 |
===================== Record List Storage methods ====================================== | @Override
public Optional<UniqueRecordList> readRecordList() throws DataConversionException, IOException {
return readRecordList(recordListFilePath);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void writeRecordsToFile(List<IRecord> recordList) throws IOException;",
"ListRecordHistoryResult listRecordHistory(ListRecordHistoryRequest listRecordHistoryRequest);",
"public List<Record>getRecords(){\n List<Record>recordList=new ArrayList<>();\n RecordCursorWrapper currsorWrapper=queryRecords... | [
"0.64136493",
"0.63363403",
"0.6233687",
"0.6187674",
"0.6112809",
"0.6090749",
"0.60900384",
"0.60250187",
"0.6017429",
"0.6006664",
"0.5952414",
"0.59173787",
"0.5886742",
"0.5867407",
"0.58649004",
"0.5863611",
"0.586222",
"0.58532286",
"0.58532286",
"0.58532286",
"0.58532... | 0.67934054 | 0 |
===================== Summary Map Storage methods ====================================== | @Override
public Optional<SummaryMap> readSummaryMap() throws DataConversionException, IOException {
return readSummaryMap(summaryMapFilePath);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void calculateMapSize() {\n calculateMapSize(true);\n }",
"public int sizeOfMap(){return size;}",
"public interface MapStore extends Closeable {\n\n /**\n * Creates a table with the given key.\n *\n * Note that this operation is idempotent\n * so a true response means that ... | [
"0.6639037",
"0.6574369",
"0.6565396",
"0.6410859",
"0.6410336",
"0.6378051",
"0.6365527",
"0.63596725",
"0.634199",
"0.6333112",
"0.6302083",
"0.62645626",
"0.6258228",
"0.6241779",
"0.62139285",
"0.62128335",
"0.61873233",
"0.61781675",
"0.61679536",
"0.6151205",
"0.6150303... | 0.591631 | 33 |
======================================= Limit Storage methods ============================== | @Override
public Optional<DateBasedLimitList> readLimitList() throws DataConversionException, IOException {
return readLimitList(limitListFilePath);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"int getItemStorage();",
"long storageSize();",
"int getPokeStorage();",
"interface Storage {\n String getStorageSize() ;\n}",
"@Override\n\tpublic long maxSize() {\n\t\treturn Main.chunkStoreAllocationSize;\n\t}",
"private InternalStorage() {}",
"@Override\n\tpublic void setStorageSpace(int amount) ... | [
"0.6516563",
"0.61752033",
"0.6088204",
"0.59139675",
"0.5876525",
"0.5864186",
"0.5857648",
"0.58467484",
"0.5821653",
"0.58180565",
"0.57813644",
"0.5756021",
"0.5712017",
"0.56975424",
"0.5683051",
"0.5677685",
"0.5654175",
"0.56452614",
"0.5622836",
"0.5621502",
"0.561063... | 0.0 | -1 |
this test case execution depends on test1 result | @Test(groups = {"groupTwo"},dependsOnMethods= {"test1"})
public void test2() {
System.out.println("test two");
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"static void executeTest() {\n int[] param1 = { // Checkpoint 1\n 12, 11, 10, -1, -15,};\n boolean[] expect = { // Checkpoint 2\n true, false,true, false, true,}; \n System.out.printf(\"課題番号:%s, 学籍番号:%s, 氏名:%s\\n\",\n question, gakuban, yourname);\n ... | [
"0.7112193",
"0.7080241",
"0.69626456",
"0.66615963",
"0.6656519",
"0.6613234",
"0.6593563",
"0.6581355",
"0.6543485",
"0.6540182",
"0.6540182",
"0.65277046",
"0.652313",
"0.6501299",
"0.6500525",
"0.64989364",
"0.6480584",
"0.6480584",
"0.64280754",
"0.641347",
"0.6394796",
... | 0.63392687 | 28 |
this test case execution depends on groupOne result | @Test(groups = {"groupTwo"}, dependsOnGroups= {"groupOne"})
public void test5() {
System.out.println("test five");
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void testOneRequiredGroup() {\n }",
"@Override\n public void testOneRequiredGroup() {\n }",
"@Override\n public void testTwoRequiredGroups() {\n }",
"@Override\n public void testTwoRequiredGroups() {\n }",
"@Override\n\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\tmFa... | [
"0.6771927",
"0.6771927",
"0.6351737",
"0.6351737",
"0.62701434",
"0.59905326",
"0.5943331",
"0.5815888",
"0.5806703",
"0.58038485",
"0.57393086",
"0.57390827",
"0.5707328",
"0.57000196",
"0.56810266",
"0.567936",
"0.5668471",
"0.5653256",
"0.56483024",
"0.5620981",
"0.561652... | 0.62425476 | 5 |
TODO Autogenerated method stub | @Override
public void execute() throws Exception {
System.out.println(" The generated values here==="+getView().getValues());
System.out.println(" The User value here==="+getView().getValue("user"));
String userName = getView().getValueString("user");
if(Is.emptyString(userName)){
addWarning("Enter Your Use... | {
"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 |
public methods Gets a list of paths for the specified artifacts. | public static List<String> getClasspathElements( MavenProject project, List<Artifact> artifacts )
throws DependencyResolutionRequiredException
{
// based on MavenProject.getCompileClasspathElements
List<String> list = new ArrayList<String>( artifacts.size() );
for ( Artifact artifa... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"java.util.List<java.lang.String>\n getPathsList();",
"public abstract List<AbstractDeploymentArtifact> getDeploymentArtifacts();",
"public List<Path> getAllPaths();",
"List<String> getListPaths();",
"public static String getDependencies( final Set artifacts, final List pluginArtifacts )\n {\n\n ... | [
"0.63900185",
"0.63663286",
"0.6334223",
"0.63266057",
"0.63008124",
"0.6259017",
"0.62061584",
"0.6105689",
"0.61031497",
"0.6084261",
"0.6083391",
"0.5873731",
"0.5857256",
"0.5790736",
"0.57735014",
"0.57725626",
"0.5759418",
"0.5755449",
"0.5713303",
"0.5663348",
"0.56563... | 0.6123888 | 7 |
private methods copied from MavenProject.addArtifactPath | private static void addArtifactPath( MavenProject project, Artifact artifact, List<String> list )
throws DependencyResolutionRequiredException
{
String refId = getProjectReferenceId( artifact.getGroupId(), artifact.getArtifactId(), artifact.getVersion() );
MavenProject refProject = (MavenPro... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n public String getProjectPath() {\r\n \treturn String.format(\":%s\", getArtifactId());\r\n }",
"protected abstract Artifact getArtifact(BuildContext buildContext) throws BuildStepException;",
"java.lang.String getArtifactUrl();",
"Path getArtifact(String identifier);",
"private List<... | [
"0.69283044",
"0.62041074",
"0.61134285",
"0.6029385",
"0.5825687",
"0.57264984",
"0.56127644",
"0.55827945",
"0.5573217",
"0.5565332",
"0.55176985",
"0.55016965",
"0.5430393",
"0.53378046",
"0.53307253",
"0.5307527",
"0.52641904",
"0.52566975",
"0.5255577",
"0.52465725",
"0.... | 0.72198 | 0 |
Http request to iss.moex.com | @Override
public void configure() throws Exception {
from("direct:fetchSecuritiesMoexService").routeId("Route fetchSecuritiesMoexService")
.setProperty("secId", simple("${body}"))
.setHeader("secId", exchangeProperty("secId"))
.setHeader(Exchange.HTTP_QUERY, simple("iss.meta=off&securities.columns=secid,... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static void trySendReqOSS()\n {\n Auth auth = new Auth();\n String authorization = generateOSSAuthHeader(auth.getId(), auth.getSecret(), \"GET\", \"/xeduo/index.html\");\n String date = getDateGMT();\n HttpRequest request = HttpUtil.createRequest(Method.GET, \"http://xeduo.oss... | [
"0.632398",
"0.6015151",
"0.5551211",
"0.55503744",
"0.5522307",
"0.54953873",
"0.5476492",
"0.5462601",
"0.5462169",
"0.54355574",
"0.5430423",
"0.5348906",
"0.5348542",
"0.53485405",
"0.5176596",
"0.51721686",
"0.5170274",
"0.51286703",
"0.5125568",
"0.51094824",
"0.5079863... | 0.0 | -1 |
username password receptor asunto mensaje | public String enviarcorreo(String receptor, String asunto, String mensaje, String telefono, String nombre){
try {final String username = "info.skymedic@gmail.com";
final String password = "32sky4951m";
StrictMode.ThreadPolicy policy = new StrictMode.ThreadPolicy.Builder().permitAll().build();
StrictMode.set... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void login() {\n AnonimoTO dati = new AnonimoTO();\n String username = usernameText.getText();\n String password = passwordText.getText();\n\n if (isValidInput(username, password)) {\n dati.username = username;\n dati.password = password;\n\n Com... | [
"0.7024674",
"0.67882484",
"0.6757223",
"0.66037035",
"0.6578929",
"0.652583",
"0.6519517",
"0.6515636",
"0.6515636",
"0.6515636",
"0.6515636",
"0.6515636",
"0.6515636",
"0.6515636",
"0.6515636",
"0.6515636",
"0.64986473",
"0.6472883",
"0.6452316",
"0.64021444",
"0.63799584",... | 0.0 | -1 |
Use this factory method to create a new instance of this fragment using the provided parameters. | public static HomeFragment newInstance(String param1, String param2) {
HomeFragment fragment = new HomeFragment();
Bundle args = new Bundle();
args.putString(ARG_PARAM1, param1);
args.putString(ARG_PARAM2, param2);
fragment.setArguments(args);
return fragment;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static FragmentTousWanted newInstance() {\n FragmentTousWanted fragment = new FragmentTousWanted();\n Bundle args = new Bundle();\n fragment.setArguments(args);\n return fragment;\n }",
"protected abstract Fragment createFragment();",
"public void createFragment() {\n\n ... | [
"0.7259329",
"0.72331375",
"0.71140355",
"0.69909847",
"0.69902235",
"0.6834592",
"0.683074",
"0.68134046",
"0.6801526",
"0.6801054",
"0.67653185",
"0.6739714",
"0.6739714",
"0.6727412",
"0.6717231",
"0.6705855",
"0.6692112",
"0.6691661",
"0.66869426",
"0.66606814",
"0.664618... | 0.0 | -1 |
Inflate the layout for this fragment | @Override
public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState) {
setHasOptionsMenu(true);
View v = inflater.inflate(R.layout.fragment_datum, container, false);
textshow = (TextView) v.findViewById(R.id.textShow);
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_main_allinfo, container, false);\n }",
"@Override\r\n\tpublic View onCreateView(LayoutInflater inflater, ViewGroup... | [
"0.6739604",
"0.67235583",
"0.6721706",
"0.6698254",
"0.6691869",
"0.6687986",
"0.66869223",
"0.6684548",
"0.66766286",
"0.6674615",
"0.66654444",
"0.66654384",
"0.6664403",
"0.66596216",
"0.6653321",
"0.6647136",
"0.66423255",
"0.66388357",
"0.6637491",
"0.6634193",
"0.66251... | 0.0 | -1 |
when you click kamacho, it sould open for you the details of the gpsData | @Override
public void onIconImportantClicked(int position) {
GpsData gpsData = gpsDatas.get(position);
session.saveGpsData(gpsData);
Fragment fragment = new GpsDataViewFragment();
FragmentTransaction fragmentTransaction = getActivity().getSuppo... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public void onClick(View view) {\n String geoUri = \"http://maps.google.com/maps?q=loc:\" + 18.5155346 + \",\" + 73.7836165 + \" (\" + \"Manyavar\" + \")\";\n Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(geoUri));\n mcontext.startActiv... | [
"0.6669401",
"0.6576713",
"0.65602505",
"0.65090424",
"0.6425103",
"0.6383961",
"0.6356753",
"0.6350128",
"0.63193494",
"0.6317985",
"0.63160604",
"0.62709254",
"0.62417006",
"0.62366843",
"0.6224879",
"0.6206571",
"0.62041485",
"0.6202621",
"0.61824924",
"0.61658406",
"0.616... | 0.0 | -1 |
go to view the gpsData | @Override
public void onMessageRowClicked(int position) {
GpsData gpsData = gpsDatas.get(position);
session.saveGpsData(gpsData);
Fragment fragment = new GpsDataViewFragment();
FragmentTransaction fragmentTransaction = getActivity().getSupportF... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"protected void showMap() {\n \t\t\n \t\tApplicationData applicationData;\n \t\ttry {\n \t\t\tapplicationData = ApplicationData.readApplicationData(this);\n \t\t\tif(applicationData != null){\n \t\t\t\tIntent intent = getIntent();\n \t\t\t\tNextLevel nextLevel = (NextLevel)intent.getSerializableExtra(ApplicationDat... | [
"0.61971515",
"0.5921342",
"0.5887384",
"0.58571273",
"0.57989335",
"0.57918876",
"0.57865846",
"0.57464474",
"0.5673858",
"0.56460756",
"0.5633602",
"0.56171066",
"0.56100774",
"0.55800474",
"0.5578991",
"0.55726016",
"0.55653965",
"0.55641913",
"0.55637914",
"0.5551927",
"0... | 0.0 | -1 |
extract the clicked gpsData | @Override
public void onRowLongClicked(int position) {
GpsData gpsData = gpsDatas.get(position);
session.saveGpsData(gpsData);
Fragment fragment;
NewGpsDataFragment newGpsDataFragment = new NewGpsDataFragment();
newGpsDataFragme... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void retrieveLocationClicked() {\n locationClikedId = getIntent().getIntExtra(GeneralConstants.EDIT_LOCATION_DETAILS_KEY, 0);\n }",
"private void readGPS() {\n }",
"@Override\n\t\t\t\tpublic void onMapClick(LatLng point) {\n\t\t\t\t\tLog.d(\"数据测试\", \"\");\n\t\t\t\t\t\n\t\t\t\t}",
"publi... | [
"0.61161673",
"0.5879685",
"0.5879236",
"0.58763945",
"0.5873715",
"0.58660424",
"0.58278316",
"0.5758226",
"0.5703062",
"0.5617246",
"0.5579258",
"0.5531635",
"0.54908615",
"0.54787433",
"0.5477919",
"0.54696625",
"0.5456774",
"0.54546297",
"0.544378",
"0.542878",
"0.5422160... | 0.0 | -1 |
TODO: Rename method, update argument and hook method into UI event | public void onButtonPressed(Uri uri) {
if (mListener != null) {
mListener.onFragmentInteraction(uri);
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\t\t\t\tpublic void handle(ActionEvent event) {\n\t\t\t\t}",
"@Override\n\t\t\t\tpublic void handle(ActionEvent event) {\n\n\t\t\t\t}",
"@Override\n\t\t\tpublic void handle(ActionEvent event) {\n\t\t\t\t\n\t\t\t}",
"@Override\n\t\t\tpublic void handle(ActionEvent event) {\n\t\t\t\t\n\t\t\t}",
"@... | [
"0.6619185",
"0.65246344",
"0.6473144",
"0.6473144",
"0.64351684",
"0.6325494",
"0.62368196",
"0.6189416",
"0.6158721",
"0.61455715",
"0.6123594",
"0.6107332",
"0.6101038",
"0.6092755",
"0.6049496",
"0.6049496",
"0.60442764",
"0.604003",
"0.604003",
"0.6007846",
"0.59999037",... | 0.0 | -1 |
This interface must be implemented by activities that contain this fragment to allow an interaction in this fragment to be communicated to the activity and potentially other fragments contained in that activity. See the Android Training lesson Communicating with Other Fragments for more information. | public interface OnFragmentInteractionListener {
// TODO: Update argument type and name
void onFragmentInteraction(Uri uri);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public interface OnFragmentInteractionListener {\n void onFragmentMessage(String TAG, Object data);\n}",
"public interface FragmentInteraction {\n void switchToBoardView();\n void switchToPinsView();\n void switchToPins(PDKBoard pdkBoard);\n void switchToDescription(PDKPin pin);\n}",
"public int... | [
"0.7323901",
"0.720826",
"0.71346456",
"0.712432",
"0.71223646",
"0.7014406",
"0.6975986",
"0.6975986",
"0.6975986",
"0.6973731",
"0.69676983",
"0.69656146",
"0.6960717",
"0.69542384",
"0.6943149",
"0.6933716",
"0.69288176",
"0.69264686",
"0.6922715",
"0.6909953",
"0.6902666"... | 0.0 | -1 |
TODO: Update argument type and name | void onFragmentInteraction(Uri uri); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n public String getFirstArg() {\n return name;\r\n }",
"@Override\n public int getNumberArguments() {\n return 1;\n }",
"java.lang.String getArg();",
"@Override\n public int getArgLength() {\n return 4;\n }",
"Argument createArgument();",
"@Override\r\n\tpublic ... | [
"0.7164074",
"0.6946075",
"0.6714363",
"0.65115863",
"0.63969076",
"0.6375468",
"0.63481104",
"0.63162106",
"0.6260299",
"0.6208487",
"0.6208487",
"0.62070644",
"0.6197276",
"0.61806154",
"0.6177103",
"0.61530507",
"0.61472267",
"0.61243707",
"0.60771817",
"0.6054482",
"0.599... | 0.0 | -1 |
===================================== Gmail View Methods ==================================== | private void enableActionMode(int position) {
if (actionMode == null) {
Toast.makeText(getContext(), "Values of Enabled", Toast.LENGTH_SHORT).show();
}
Toast.makeText(getContext(), "Values of Enabled", Toast.LENGTH_SHORT).show();
toggleSelection(position);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void openGmail (View view) {\n TextView textView = (TextView) findViewById(R.id.emailContent);\n String emailContent = textView.getText().toString();\n Log.i(TAG, \"emailContent: \" + emailContent);\n\n /**\n * code was adapted from the information here:\n * https... | [
"0.70256853",
"0.66592836",
"0.6029168",
"0.5784111",
"0.57405126",
"0.5719769",
"0.56240016",
"0.5612972",
"0.55997264",
"0.5588278",
"0.5506579",
"0.5494724",
"0.5488094",
"0.5479976",
"0.5476381",
"0.5472593",
"0.5472593",
"0.5454107",
"0.5445826",
"0.544492",
"0.5429403",... | 0.0 | -1 |
/ Choose a random Color | private int getRandomMaterialColor(String typeColor) {
int returnColor = Color.GRAY;
int arrayId = getResources().getIdentifier("mdcolor_" + typeColor, "array", getContext().getPackageName());
if (arrayId != 0) {
TypedArray colors = getResources().obtainTypedArray(arrayId);
... | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void makeRandColor(){}",
"private void generarColor() {\r\n\t\tthis.color = COLORES[(int) (Math.random() * COLORES.length)];\r\n\t}",
"public Color generateColor() { //function to generate a random color from the array of colors passed in\n Random rand = new Random();\n int randomNum = ran... | [
"0.84957296",
"0.83569515",
"0.8287913",
"0.80710983",
"0.8060293",
"0.80573946",
"0.796281",
"0.79367685",
"0.78840446",
"0.7846415",
"0.7820392",
"0.7812455",
"0.7774086",
"0.77197",
"0.7650851",
"0.7620036",
"0.75582683",
"0.7556541",
"0.7411206",
"0.7332722",
"0.72385246"... | 0.7157839 | 22 |
Send partnership accepted email. | @PostMapping(value = "/mailservice/email/partnership/valid/{organisationName}/{emailAddress}")
ResponseEntity<Void> sendPartnershipAcceptedEmail(@PathVariable("organisationName") String organisationName, @PathVariable("emailAddress") String emailAddress); | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void sendInterest(View view) {\n Log.i(\"Send email\", \"\");\n String[] TO = {agentEmail};\n String[] CC = {\"\"};\n Intent emailIntent = new Intent(Intent.ACTION_SEND);\n\n emailIntent.setData(Uri.parse(\"mailto:\"));\n emailIntent.setType(\"text/plain\");\n ... | [
"0.61897856",
"0.6114528",
"0.6076542",
"0.5940547",
"0.5866539",
"0.58498776",
"0.5800888",
"0.57736677",
"0.5725755",
"0.5709316",
"0.57044643",
"0.5670396",
"0.5659876",
"0.56586117",
"0.5634021",
"0.5627309",
"0.56034184",
"0.5595605",
"0.5593002",
"0.5575637",
"0.5558417... | 0.71320987 | 0 |
end region Get set | public int getId() {
return id;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"protected abstract Set method_1559();",
"boolean getSet();",
"public int getSet() {\n return set;\n }",
"public Region getRegion() {\n return region;\n }",
"public Set a()\r\n/* 44: */ {\r\n/* 45: 47 */ return this.e;\r\n/* 46: */ }",
"public String getRegion() {\r\n ... | [
"0.70404994",
"0.63113534",
"0.61441326",
"0.60386235",
"0.58859795",
"0.58636105",
"0.58636105",
"0.58636105",
"0.5801584",
"0.5773613",
"0.5733115",
"0.572222",
"0.572222",
"0.5704749",
"0.5704749",
"0.5704749",
"0.5704749",
"0.5704749",
"0.5703421",
"0.5688614",
"0.5687861... | 0.0 | -1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.