query_id
stringlengths
32
32
query
stringlengths
7
129k
positive_passages
listlengths
1
1
negative_passages
listlengths
88
101
968c75845cac271c63ae9a744a7a7e99
Created with IntelliJ IDEA.
[ { "docid": "7ec1c8f92548a3df99fc20a018b7b5d2", "score": "0.0", "text": "public interface SourceUserTokenRepository extends CrudRepository<SourceUserToken,Long>,\n JpaSpecificationExecutor<SourceUserToken> {\n}", "title": "" } ]
[ { "docid": "8f31ed4dec33eaea2bc3912ffe04ab5c", "score": "0.63245845", "text": "private CodeCamp() {\n \n }", "title": "" }, { "docid": "bdc1683df7d1d6b2d988cd3acab4903e", "score": "0.6292495", "text": "public void mo5201a() {\n }", "title": ""...
7ef7fb3ec79f72aa0f4b75c96c1af2fa
/ 191: / 192:
[ { "docid": "f23a3250fe5a15a41040d7d4e19268f7", "score": "0.0", "text": "public MediaType getContentType()\r\n/* 193: */ {\r\n/* 194:289 */ String value = getFirst(\"Content-Type\");\r\n/* 195:290 */ return value != null ? MediaType.parseMediaType(value) : null;\r\n/* 196: */ }", "t...
[ { "docid": "6f73acb43c1f4d18104547a83493c266", "score": "0.5434775", "text": "private String processBytes(String bytes){\n Pattern p = Pattern.compile(\"170-180\");\r\n Matcher m = p.matcher(bytes);\r\n //find two bounds\r\n int posi[] = new int[2];\r\n for(int i=0;i<2;i++){\r\n...
e0d0927aaae0a8fa670bcf627cda37e9
$ANTLR end "rule__Device__Alternatives_6" $ANTLR start "rule__FetchData__Alternatives_3" InternalIoT.g:755:1: rule__FetchData__Alternatives_3 : ( ( ( rule__FetchData__Group_3_0__0 ) ) | ( ( rule__FetchData__Group_3_1__0 ) ) );
[ { "docid": "112629c78bba0095bb0321633ccab868", "score": "0.78659976", "text": "public final void rule__FetchData__Alternatives_3() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalIoT.g:759:1: ( ( ( rule__FetchData...
[ { "docid": "fde1e62e62cd9568536ab65b385c0c5d", "score": "0.79431045", "text": "public final void rule__FetchData__Group__3__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalIoT.g:2832:1: ( ( ( rule__FetchDat...
944d3501bdf69feb8bead0a5bbdb82e1
Construct a new square dotted outline object with the same width and fill paint as the given dotted outline object.
[ { "docid": "9b59d0b226a2e44a5fe763d43a7074d7", "score": "0.63687944", "text": "public SquareDottedOutline\n\t\t(SquareDottedOutline theOutline)\n\t\t{\n\t\tmyWidth = theOutline.myWidth;\n\t\tmyFill = theOutline.myFill;\n\t\tcomputeStroke();\n\t\t}", "title": "" } ]
[ { "docid": "8e1f333f1309af273972c418d8b2aa4f", "score": "0.74589765", "text": "public SquareDottedOutline()\n\t\t{\n\t\tmyWidth = NORMAL_WIDTH;\n\t\tmyFill = NORMAL_FILL;\n\t\tcomputeStroke();\n\t\t}", "title": "" }, { "docid": "77db97b3c35c8cc36522338e6f0fd83e", "score": "0.599985", ...
f517cb0ae567cd4096a6ffebe1944d22
DATABASE CHECK Inits the connection. Here it tries to run database script to create tables if not exists.
[ { "docid": "433e2a9c47ad74c2e49e754b0d1d2412", "score": "0.0", "text": "public static void init() throws FileNotFoundException, IOException, SQLException, URISyntaxException {\r\n\r\n\t\ttry (InputStream fileStream = new FileInputStream(DATABASE_PROPERTIES_FILENAME)) {\r\n\r\n\t\t\tprops.load(fileStream...
[ { "docid": "76547210bb465d22524f4191be8179c3", "score": "0.72904104", "text": "public void checkDB()\n {\n try {\n initializeDB();\n } catch (SQLException sqle) {\n sqle.printStackTrace();\n }\n\n }", "title": "" }, { "docid": "672a2b4d2ca0e7fa7a8b07bc28fd3b6e", "sco...
a3d216371428f4660b349dfe33898f45
Verify text in all column
[ { "docid": "2c34e1e781ca28d7fa5dad4815ac8a35", "score": "0.6328355", "text": "public boolean isTextEqualsInColumn(String columnName, String cellValue) {\n if(cellValue.equals(\"EMPTY_STRING\")){\n cellValue = \"\";\n }\n List<String> headerList = getHeadingsAsString();\n ...
[ { "docid": "5ba723529d9de85e53563886575935f9", "score": "0.66144806", "text": "public boolean checkText(CanvasPanelTable canvasPanelTable){\r\n\t\ttry{\r\n\t\t\tint row = Integer.parseInt(rowBox.getText());\r\n\t\t\tint col = Integer.parseInt(colBox.getText());\r\n\t\t\tif(row > 0 && col > 0 ){\r\n\t\t\...
90ee68fcd182498e6a1d1b336b537a07
Removes defined hash from the suite
[ { "docid": "89cc13114d0d3fe6c5fa24336ad5fdbf", "score": "0.5889792", "text": "public void RemoveRipemd128() {\n\n if (this.suite[Hashes.RIPEMD_128.ordinal()] != null) {\n this.suite[Hashes.RIPEMD_128.ordinal()] = null;\n this.selfCreatedHash[Hashes.RIPEMD_128.ordinal()] = fa...
[ { "docid": "40cea80ac40c162511533c2825f66a2f", "score": "0.74164623", "text": "public void Remove(Hashes hash) {\n\n if (this.suite[hash.ordinal()] != null) {\n if (this.selfCreatedHash[hash.ordinal()]) {\n this.suite[hash.ordinal()] = null;\n }\n t...
03caf41083af07e8b5b28311cf9f2e7f
Returns the maximum number of days kept in memory for message counter.
[ { "docid": "3ef17dbb2b04f2ad10b177685e3c570e", "score": "0.8678009", "text": "@Attribute(desc = \"Maximum number of days kept in memory for message counter\")\n int getMessageCounterMaxDayCount();", "title": "" } ]
[ { "docid": "b977e81e759184f83c153f3e9fd76aaa", "score": "0.71895576", "text": "@Attribute(desc = \"Maximum number of days kept in memory for message counter\")\n void setMessageCounterMaxDayCount(int count) throws Exception;", "title": "" }, { "docid": "2b63c176979582e491dc45c50136192e", ...
93a48b66e785222d071991983c0b076e
Do something in response to button click Intents are objects of the android.content.Intent type. Your code can send them to the Android system defining the components you are targeting. Intent to start an activity called SecondActivity with the following code:
[ { "docid": "f6def1f03918d4c56788a99fe6810243", "score": "0.67305565", "text": "public void onClick(View v) {\n String problem = \"Energy Management\";\r\n aim = new Intention(problem, 1, 0);\r\n Intent intent = new Intent(Business.this, Result.class);\r\n ...
[ { "docid": "b7fe7271b623e32526d48dc0ab9a646d", "score": "0.756363", "text": "public void onClick(View arg0) {\n Intent i = new Intent(getApplicationContext(), SecondScreenActivity.class);\n \n // starting new activity\n ...
3007903164d38cc0bb5ed42ab9b6ffa5
TODO: Return the communication channel to the service.
[ { "docid": "d07fd9e3a63aad74a1d8b467b2c0b8e2", "score": "0.0", "text": "@Override\n public IBinder onBind(Intent intent) {\n return null;\n }", "title": "" } ]
[ { "docid": "e95b7cc6aa35f650687f6516b3f55221", "score": "0.743544", "text": "Channel getChannel();", "title": "" }, { "docid": "a29caee598771b5f015b1e17ca12dd69", "score": "0.7319032", "text": "public ChannelObject getChannel() { return channel; }", "title": "" }, { "doci...
ef5b1263416d2daa513d7fe7e5048e00
.vega.commands.v1.NodeSignature node_signature = 2003 [json_name = "nodeSignature"];
[ { "docid": "2c2c3bc50878b8cba249c7c36d7f2a7c", "score": "0.54594254", "text": "@java.lang.Override\n public boolean hasNodeSignature() {\n return commandCase_ == 2003;\n }", "title": "" } ]
[ { "docid": "fb3432fba10b72930f77da1acabfbd92", "score": "0.81726503", "text": "io.vegaprotocol.vega.commands.v1.ValidatorCommands.NodeSignature getNodeSignature();", "title": "" }, { "docid": "b050522f150553df487fe0e33ba51857", "score": "0.74676085", "text": "io.vegaprotocol.vega.com...
e95f44c42fc673dd06c419603ac84156
First stage RPN localization loss weight. optional float first_stage_localization_loss_weight = 16 [default = 1];
[ { "docid": "282d16542634aed15c5b7bcc2541e595", "score": "0.755301", "text": "@java.lang.Override\n public float getFirstStageLocalizationLossWeight() {\n return firstStageLocalizationLossWeight_;\n }", "title": "" } ]
[ { "docid": "1bd60a9dea283b0bb25efc62f5079ce6", "score": "0.7742223", "text": "float getFirstStageLocalizationLossWeight();", "title": "" }, { "docid": "8a12164612ae886c55fcbde1f9101111", "score": "0.75490606", "text": "@java.lang.Override\n public float getFirstStageLocalizationLo...
942026660c148b3407c6c1527dc9bc65
Returns a new instance of this icon with specified dimensions.
[ { "docid": "5833dfe0dfeedb3b1f8ed165067f0b96", "score": "0.6586549", "text": "public static RadianceIcon of(int width, int height) {\n ext_bmp base = new ext_bmp();\n base.width = width;\n base.height = height;\n return base;\n }", "title": "" } ]
[ { "docid": "b35e88e48be3e45a0fe3ba2a7f0d1cab", "score": "0.6741007", "text": "public static ResizableIcon of(int width, int height) {\n Mail_forward base = new Mail_forward();\n base.width = width;\n base.height = height;\n return base;\n }", "title": "" }, { "doci...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "f6041681535d699cc434e2b914d2e8c4", "score": "0.0", "text": "public static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\r\n\t\tSystem.out.println(\"enter a number\");\r\n\t\tint a=sc.nextInt();\r\n\t\tSystem.out.println(\"enter b number \");\r\n\t\tint b=sc.nextInt();\r\...
[ { "docid": "1acc57d42c31dee937ac33ea6f2a5b0b", "score": "0.68399656", "text": "@Override\r\n\tpublic void comer() {\n\t\t\r\n\t}", "title": "" }, { "docid": "118f2b8a20f48999973063ac332d07d3", "score": "0.6563993", "text": "@Override\r\n\t\t\tpublic void atras() {\n\r\n\t\t\t}", ...
47978f7ef64ece1f71009e7e1def32ea
Callback invoked when a new MQTT message is received The payload structure is as follows considering bytes: 6: Sniffer MAC 6: Source MAC (that can be either global or locally administered) 2: Sequence Number of packet 1: SSID len up to 32: SSID 16: fp Since all the analysis needed can be made on text data we can serial...
[ { "docid": "f138b5ec3decfd380dff2db155b9dc51", "score": "0.77706546", "text": "@Override\n public void messageArrived(String s, MqttMessage mqttMessage) throws Exception {\n try {\n String time = new Timestamp(System.currentTimeMillis()).toString();\n String payload = Hel...
[ { "docid": "9a05acf746af7738155bb55425ada66a", "score": "0.61241764", "text": "public void onMessageArrived(String topic, byte [] payload, int qos, boolean retained);", "title": "" }, { "docid": "4fe177ea32664fb582e08c477c07c518", "score": "0.5924395", "text": "@Override\n ...
77910eac287c4c48fc1a4212ef5fff11
This method creates a Lucene index for all the model folders in the folder "folderName"
[ { "docid": "20ac1c12bf734f0e63f87afe380c1cce", "score": "0.8294726", "text": "public void createLuceneIndexes(String folderName)\n\t{\t\t\n\t\tFile file = new File(folderName);\n\t\tString[] names = file.list();\n\n\t\tfor(String name : names)\n\t\t{\n\t\t\t// TODO: HARDCODING! Assuming that the model f...
[ { "docid": "4ceadc87ca815a87cfe9c8f08c8ac3ce", "score": "0.7368874", "text": "public void buildIndex(String folderName, String indexStorageFolder) throws IOException{\n\t\t// 0. Specify the analyzer for tokenizing text.\n\t\t// The same analyzer should be used for indexing and searching\n\t\tStandard...
711104c3ef4682855d37474691df2791
get programe by package name
[ { "docid": "e542dedc489f1b923c058cbe3f9c8eef", "score": "0.6849401", "text": "public Programe getProgrameByPackageName(Context context, String packageName) {\r\n if (Build.VERSION.SDK_INT < ANDROID_M) {\r\n List<Programe> processList = getRunningProcess(context);\r\n for (Pr...
[ { "docid": "b02a30e3b65ca5f0212dcd54bd274bf6", "score": "0.7061478", "text": "String getPackage();", "title": "" }, { "docid": "35c5b358e434ded4add9ff5fda0c6432", "score": "0.67739695", "text": "public java.lang.String getPackageName();", "title": "" }, { "docid": "d2f766...
89de11cfd2e7bda1b77e7a6c99d8d545
Flush everything out to disk and remove all purgeable imaged objects from memory. This doesn't clear the ShepherdMap table. This will have to be a weak table, and then the destruction of a shepherd or shepherdStub should remove it from myShepherdMap.
[ { "docid": "99f12bca25b01925f9ef417efb8b8cda", "score": "0.7304139", "text": "public void purge() {\n/*\nudanax-top.st:16722:FakePacker methodsFor: 'transactions'!\n{void} purge\n\t\"Flush everything out to disk and remove all purgeable imaged\n\t objects from memory. This doesn't clear the ShepherdMap...
[ { "docid": "4bbc1dce15b8d8bcbe28ef60b2fc8975", "score": "0.65730315", "text": "public void clear() {\n\t\t//Kill all entities\n\t\tentities.parallelStream().forEach(e -> e.kill());\n\n\t\t//Clear the lists\n\t\tentities.clear();\n\t\tdrawables.clear();\n\t\tcollidables.clear();\n\t}", "title": "" ...
dbcc8ca0dc634523b88153862eddbcd3
Created by mavarazy on 12/8/14.
[ { "docid": "71e05a552544bab5ccbe0389e956ecd6", "score": "0.0", "text": "public interface PendingPlayerPhoneRepository extends MongoRepository<PendingPlayerPhone, String> {\n}", "title": "" } ]
[ { "docid": "40be4915804d3229e08fed067ec03fd6", "score": "0.63403314", "text": "Bug_616419() {\r\n\t}", "title": "" }, { "docid": "27bc40cf2c5e26e0bf8b70807e0bcaed", "score": "0.60952187", "text": "@Override\r\n\tpublic void caminar() {\n\t\t\r\n\t}", "title": "" }, { "doc...
5f306a41cd16e1d8effb50da8023d522
optional string pgm_open_tp = 8;
[ { "docid": "d821782f9e62b7f02ffaa9bb733a34c7", "score": "0.52550983", "text": "public java.lang.String getPgmOpenTp() {\n java.lang.Object ref = pgmOpenTp_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString ...
[ { "docid": "d59be8834c7a92c6fc2f56756b887bdc", "score": "0.531422", "text": "public java.lang.String getPgmOpenTp() {\n java.lang.Object ref = pgmOpenTp_;\n if (!(ref instanceof java.lang.String)) {\n java.lang.String s = ((com.google.protobuf.ByteString) ref)\n .toSt...
96293a79a6dd5e65f563d46728a16214
Loops through "known" humans and eats them, so they should now be inside the "lastEaten" ArrayList of the humans HashMap
[ { "docid": "5c625c77f976df98568680224345d364", "score": "0.0", "text": "public void eat() {\n\n }", "title": "" } ]
[ { "docid": "325b4c7c041132b1d0bcff1d69f2a5a3", "score": "0.6247509", "text": "protected void cmdHateAll(CommandSender sender) {\n TrackedParticle particle = new TrackedParticle(Particle.VILLAGER_ANGRY, CONFIG.PLAYER_MS);\n for (Player player : Bukkit.getOnlinePlayers()) {\n if (...
4e8164d25b7f00b75ebb88ab991ef50b
Fill Values data by reading ObjectInputStream.
[ { "docid": "c677cc07b74314da971a6fa1dcf72950", "score": "0.6563026", "text": "public void readValuesData(DataInputStream dis, ObjectInputStream ois) {\n try {\n\n\t\t\tint length = 0;\n\t\t\n\t\t\t\t\t\tthis.AddressLine1 = readString(dis,ois);\n\t\t\t\t\t\n\t\t\t\t\t\tthis.AddressLine2 = readStri...
[ { "docid": "e5486d27d37b2edd548d2b52950190df", "score": "0.6922912", "text": "public void readValuesData(DataInputStream dis, ObjectInputStream ois) {\n try {\n\n\t\t\tint length = 0;\n\t\t\n\n\t\t\n\n }\n\n\t\t\n \tfinally {}\n\n }", "title": "" }, { "docid": "65123f...
66ac13f4a1d1129e4c1881452eb5684e
An internationalized wrapper call to log4j's error method
[ { "docid": "b89062c0cd77f6397afa05a1aefe41d6", "score": "0.0", "text": "public void error( String code, Object arg0 ) {\n\t if ( isErrorEnabled() ) {\n\t\tObject[] args = { arg0 };\n\t\terror( code, args );\n\t }\n\t}", "title": "" } ]
[ { "docid": "3917797562250b1e3cf981e87a0911c8", "score": "0.70254254", "text": "public void error(String logMessage);", "title": "" }, { "docid": "db14e11ab5a213591342f5bb5ffc812e", "score": "0.6961155", "text": "public void error(String logMessage,Exception e);", "title": "" },...
1cead01904f5740842e0c22cdb1b0679
is the user's head leaning back relative to his torso?
[ { "docid": "f83e19f810f6bd0d73690ac5139289dc", "score": "0.63405395", "text": "private void leanBack(int userID,\n\t\t\tHashMap<SkeletonJoint, SkeletonJointPosition> skel) {\n\t\tPoint3D torsoPt = SkeletonUtility.getJointPosition(skel, SkeletonJoint.TORSO);\n\t\tPoint3D headPt = SkeletonUtility.getJoint...
[ { "docid": "32e829bfdcf0c9e189cc1a4b836fd5cf", "score": "0.6419882", "text": "boolean hasRobotelo();", "title": "" }, { "docid": "5f0db23e45bc4a3ad11a5cf3d1e3acb9", "score": "0.6149818", "text": "public boolean isOnLadder()\n {\n \t// let's not climb\n return false;\n ...
76bf02ab056c83d290a51805fc4c0cd8
Sets the left child.
[ { "docid": "14718f4130c47b2608d55ec5adcd0ac4", "score": "0.67735755", "text": "public void setLeftTree(NodeLeaf leftTree) {\n\t\tthis.leftTree = leftTree;\n\t}", "title": "" } ]
[ { "docid": "dc193737e6b6b71a0db5b46269712e4f", "score": "0.8509406", "text": "public void setLeftChild(Node leftChild) {\n this.leftChild = leftChild;\n }", "title": "" }, { "docid": "727951e5f63e1fc2306afefcbe3d2307", "score": "0.8465965", "text": "public void setLeftChild...
b083b0fb8ee86a9c68682aebf9993fe3
org.exolab.castor.types.Date getDtDTContactOccurred() Returns the value of field 'dtDtMonthlySummBegin'.
[ { "docid": "41d6df9203f8ba38edbafba3eb5e326e", "score": "0.6793998", "text": "public org.exolab.castor.types.Date getDtDtMonthlySummBegin()\r\n {\r\n return this._dtDtMonthlySummBegin;\r\n }", "title": "" } ]
[ { "docid": "1b67c66bfea8218909e73b2ccdf04331", "score": "0.7761276", "text": "public org.exolab.castor.types.Date getDtDTContactOccurred()\r\n {\r\n return this._dtDTContactOccurred;\r\n }", "title": "" }, { "docid": "ccd688b9fb3d76c4d852bc068e5a1077", "score": "0.76579314",...
50df350cf4e19f1890ab7413d335ded3
This method was generated by MyBatis Generator. This method corresponds to the database table edu.agent_relation
[ { "docid": "17acefb467f105943e87e4526b244338", "score": "0.44917762", "text": "int insertSelective(AgentRelation record);", "title": "" } ]
[ { "docid": "a976b6d1f1c9b9c6c591dd8a3400fb8f", "score": "0.59587264", "text": "@Select({ \"select\", \"agent_id, refer_agent, register_date\",\n\t\t\t\"from edu.agent_relation\",\n\t\t\t\"where agent_id = #{agent_id,jdbcType=NUMERIC}\",\n\t\t\t\"and refer_agent = #{refer_agent,jdbcType=NUMERIC}\" })\n\t...
d6643695506fe070f393fcae2ca8f6cd
method to add interest
[ { "docid": "6ba7043db3d066675a62a1341d5cbaf0", "score": "0.79288477", "text": "public void addInterest(double interest) {\n this.setBalance(this.getBalance()*(1+interest));\n }", "title": "" } ]
[ { "docid": "ad159a82e4b02681b3e829754b1ef62f", "score": "0.8446307", "text": "public void addInterest() {\n\t\t\n\t\tbalance += balance * (interest/100);\n\t}", "title": "" }, { "docid": "6155a306857ffecfe1dfbb6ca9f1a444", "score": "0.8248351", "text": "public void addInterest()\r\n\...
a3d3f8c8ac277b79fa7d0a5d64bb5d6b
Returns the variable value for state.
[ { "docid": "a882a3c15908b78f7179974299200562", "score": "0.7348217", "text": "public String getstate() {\n return (String)ensureVariableManager().getVariableValue(\"state\");\n }", "title": "" } ]
[ { "docid": "a7ad82ed156973042f5bd47a6c0e0c1a", "score": "0.76131296", "text": "public String getValue() throws UPNPResponseException, IOException {\n\t\tif (stateVarMsg == null) {\n\t\t\tsynchronized (this) {\n\t\t\t\tif (stateVarMsg == null) {\n\t\t\t\t\tUPNPMessageFactory factory = UPNPMessageFactory....
a2430e6e9222b676ce6e9afdcc621af1
Adds the two given AmusingPreciseNumbers, leaving the two AmusingPreciseNumbers given as arguments unchanged.
[ { "docid": "343e7ddbb82e59175778090e78b77084", "score": "0.7428203", "text": "public static AmusingPreciseNumber add(AmusingPreciseNumber numb1, AmusingPreciseNumber numb2) {\r\n\t\tAmusingPreciseNumber temp1 = new AmusingPreciseNumber(numb1);\r\n\t\tAmusingPreciseNumber temp2 = new AmusingPreciseNumber...
[ { "docid": "4a6fdeb9cc4f3418892443f5b30d2f84", "score": "0.6799118", "text": "public void add(AmusingPreciseNumber numb) {\r\n\t\tint carry = 0;\r\n\t\tboolean executed = false;\r\n\t\tboolean equal = contentsAreEqual(numb);\r\n\t\texecuted = checkSignsAdditive(numb, equal);\r\n\t\taddDecimals(numb);\r\...
b29b68a7e89166f966e4f2eff97e7ae5
Load values from the LocaleOption
[ { "docid": "d7a77087c6b0ad0cf8dbe52d830b7b4f", "score": "0.67954016", "text": "void load() {\r\n final LocaleOption localeOption = LocaleOption.getDefault();\r\n \r\n final String[] datePatternsList = localeOption.getDatePatternList();\r\n this.datePatternsPE = PropertyEditor...
[ { "docid": "e8fcb7bbf49fb08d77dcaa07d4e056f4", "score": "0.6807357", "text": "public void loadLocale(){\n SharedPreferences prefs = getSharedPreferences(\"Settings\", Activity.MODE_PRIVATE);\n String language = prefs.getString(\"My_Lang\", \"\");\n setLocale(language);\n }", ...
0158fc8aee7f8cab06aed74c57121d99
This method is used to check if graph is connected or not
[ { "docid": "0380d30ccb535837c17d026e8dc0dc0e", "score": "0.7775929", "text": "@Override\n\tpublic boolean isConnected() \n\t{\n\t\tboolean visited[] = new boolean[noOfVertices];\n\t\tvisited = dfs(0, visited);\n\t\tfor(boolean visit : visited) \n\t\t{\n\t\t\tif(!visit)\n\t\t\t{\n\t\t\t\treturn false;\n\...
[ { "docid": "86c37ade70bc70667351937d4fccf629", "score": "0.8850499", "text": "boolean isConnected() throws GraphTrouble;", "title": "" }, { "docid": "dcde4c451f287d99111641aa739ffa72", "score": "0.82957625", "text": "public boolean isConnected() {\n\t\tGraph g = getConnectedComponent...
c9eb461fbc120262dda91c9b647eeb73
Check if the user has the given restriction set. Default to true if error occured during calling UserManager, so it fails safe.
[ { "docid": "40f17a91622e88e56a7e171afdd98771", "score": "0.7287997", "text": "private boolean hasRestriction(String restriction, int userId) {\n try {\n return mUm.hasUserRestriction(restriction, userId);\n } catch (RemoteException e) {\n Slog.e(TAG, \"Remote Exceptio...
[ { "docid": "6ab6239a4ba18d2882461e26f6c6c274", "score": "0.64747703", "text": "public boolean isValidUser() {\r\n return !usernotfound;\r\n }", "title": "" }, { "docid": "3427aa250c8ccbbe54785aa60027d7d2", "score": "0.63666445", "text": "boolean hasRestriction();", "tit...
e1026bfc4efa7d28fbb3cad68a3259c3
Returns the number of anagraficas.
[ { "docid": "23fce0e03beb60e12ded0e98591316da", "score": "0.0", "text": "public static int countAll()\n\t\tthrows com.liferay.portal.kernel.exception.SystemException {\n\t\treturn getPersistence().countAll();\n\t}", "title": "" } ]
[ { "docid": "3af3e1ead71022bbf5474e333b2cd6e8", "score": "0.73463017", "text": "int getAnysCount();", "title": "" }, { "docid": "710cf63d344fc35aa26b35e76bf70638", "score": "0.71631795", "text": "public int countTotalAnuncios() throws Exception {\n\t\t\r\n\t\tAnuncioCriteria anuncioCr...
518bf5364cda3c6202a1a392996f93d1
Inflate the menu; this adds items to the action bar if it is present.
[ { "docid": "3d581f8da4e634e0c085638e968bf6dd", "score": "0.0", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.main, menu);\n return true;\n }", "title": "" } ]
[ { "docid": "d74efebd6fe79f46209a7e8cb2c52d89", "score": "0.71840715", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater mif= getMenuInflater();\n\t\tmif.inflate(R.menu.main_activity_action, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}", "title": "" ...
9cb3bc213c61d643fe2d22dcf4d27ad6
Create a new ParsedNPC object.
[ { "docid": "2097095e1c40a51bb683d284166966ed", "score": "0.787273", "text": "public ParsedNPC()\r\n {\r\n npc = new NPC();\r\n hidden = false;\r\n }", "title": "" } ]
[ { "docid": "bbc7fe02a87376b9677ca31504b2cc99", "score": "0.6100343", "text": "public NPC(int npcId) {\n\t\tthis.npcId = npcId;\n\t\tthis.def = NPCDefinition.forId(npcId);\n\t}", "title": "" }, { "docid": "3d42e107a85cff43020f7c261d50e2cf", "score": "0.58246636", "text": "public void ...
4b8b68d4eed7a213db28059016463df6
Interface to C language function: void calcdpd(float t, float rh, int mni, int ni, int nj, float dpd);
[ { "docid": "71eaaec9d232f8bc366f62a3c3fdeb0e", "score": "0.78686315", "text": "public static void calcdpd(float[] t, int t_offset, float[] rh, int rh_offset, int[] mni, int mni_offset, int[] ni, int ni_offset, int[] nj, int nj_offset, float[] dpd, int dpd_offset)\n {\n if(t != null && t.length <= t_...
[ { "docid": "c4c18b59dd89b1f7142c79a0a3c166e9", "score": "0.82176393", "text": "public static void calcdpd(java.nio.FloatBuffer t, java.nio.FloatBuffer rh, java.nio.IntBuffer mni, java.nio.IntBuffer ni, java.nio.IntBuffer nj, java.nio.FloatBuffer dpd)\n {\n boolean _direct = BufferFactory.isDirect(t)...
e2fc9fb8f6c54c6a17d77d20f28be698
optional double price = 4;
[ { "docid": "c953c2fe9282e99e3254eb5cc2093515", "score": "0.7315933", "text": "double getPrice();", "title": "" } ]
[ { "docid": "215c11672477f9deabb0e0777dc078f2", "score": "0.77965146", "text": "private void setPrice(double price){this.price = price;}", "title": "" }, { "docid": "ee54bd34b80069bc2e7cb606a189c423", "score": "0.76159", "text": "public void setPrice (double price){\r\n this.pr...
f133afafb7efeea66c1bd1b1ffe76e8c
Sets the error message.
[ { "docid": "cc0e885625d9b2bbc94713554928c0a0", "score": "0.0", "text": "public ErrorDTO setErrorMessage(String errorMessage) {\r\n\t\tthis.errorMessage = errorMessage;\r\n\t\treturn this;\r\n\t}", "title": "" } ]
[ { "docid": "ec48d0c39f74e2cb1f0ce8863e1ac6a6", "score": "0.83618724", "text": "void setError(String msg);", "title": "" }, { "docid": "44c07e1333af426929c19005d94e8f7e", "score": "0.7999573", "text": "void setError(String errorMessage);", "title": "" }, { "docid": "06c650...
5432da771521fd8f7b6901f3055da4c9
Decrypt lines that are encoded and encrypted using the hashedKey
[ { "docid": "48e1f92cab2ac00dda20209d78916eb4", "score": "0.5398481", "text": "public LinkedList<TableEntry> decryptLines(Object[] lines, Component... components) {\n\t\tLinkedList<TableEntry> toReturn = new LinkedList<TableEntry>();\n\t\t\n\t\tif(lines.length < 2)\n\t\t\treturn toReturn;\n\t\t\n\t\t// C...
[ { "docid": "7a7c4dcb010c088c3a3b3f426aed63af", "score": "0.6605819", "text": "public void decrypt() {\r\n\t\t\t//Setting an initial size of the file.\r\n setFileBytes(level2(fileBytes, false));\r\n int f = 0;\r\n boolean truth = true;\r\n\r\n key = keyStream()...
9a208fbf87f5bc629445b11785f89eac
$ANTLR end "rule__RangeStatement__Group__0" $ANTLR start "rule__RangeStatement__Group__0__Impl" ../org.eclipse.yang.ui/srcgen/org/xtext/editor/yang/ui/contentassist/antlr/internal/InternalYang.g:13274:1: rule__RangeStatement__Group__0__Impl : ( 'range' ) ;
[ { "docid": "bc5315f8c466af865f32f2e31842f26d", "score": "0.8764301", "text": "public final void rule__RangeStatement__Group__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.eclipse.yang.ui/src-gen/org/xtext/edito...
[ { "docid": "6893689d4cf135152b205f9308f5763e", "score": "0.7857647", "text": "public final void rule__RangeStatement__Group__0() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.eclipse.yang.ui/src-gen/org/xtext/editor/yang...
3c0c87e292cb7f8e29f26799512f214c
Set up the table for the output side of this application.
[ { "docid": "9104437eaabaa1193567df2e1682d56d", "score": "0.7287473", "text": "private void setupOutputTable(Session session) {\n // Create the table, if it does not exist yet.\n session.execute(String.format(\n \"CREATE TABLE IF NOT EXISTS %s ( \" +\n \"%s text PRIMARY KEY, %s in...
[ { "docid": "ea452aa78c4b1e9aca060aebec707860", "score": "0.7000098", "text": "private void createTable() {\n\n // Sets the table at the top of the screen\n table.top();\n table.setFillParent(true);\n\n // Adds the first row to the table.\n table.add(scoreLabel).expandX...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "cf78a14966b20556053f80632dd2388d", "score": "0.0", "text": "@Override\n\t\t\t\t\tpublic void onClick(DialogInterface dialog, int which) {\n\t\t\t\t\t\tdialog.cancel();\t\t\t\t\t\t\t\n\t\t\t\t\t}", "title": "" } ]
[ { "docid": "663ac6f718361fb243bf093a1c7ded6a", "score": "0.66285414", "text": "@Override\r\n\tprotected void Goukakyuu() {\n\t\t\r\n\t}", "title": "" }, { "docid": "80d20df1cc75d8fa96c12c49a757fc43", "score": "0.65323734", "text": "@Override\n\tprotected void getExras() {\n\t\t\n\t}"...
53e80041a6118c6884663836446b953b
float horiz = x sprite.getWidth()/2 + sprite.getWidth()sprite.getScaleX()/2; float vert = y sprite.getHeight()/2 + sprite.getHeight()sprite.getScaleY()/2;
[ { "docid": "a1f4fc827c9380cad20c6cf50d67afc0", "score": "0.0", "text": "public void setPosition(float x, float y){\n\t\t\n\t\tsprite.setPosition(x, y);\n\t}", "title": "" } ]
[ { "docid": "fb9a5909daedbdea60181985768237f4", "score": "0.6344389", "text": "public float getPosX(){return px;}", "title": "" }, { "docid": "d49ade477883acbd1c4f8cc64108eea1", "score": "0.6189022", "text": "private void drawSprite(int x, int y, int u, int v)\n {\n GlStateM...
570be89c23d91d5bb3878be3e7e28af6
Returns the value of the 'Dept nm' attribute. If the meaning of the 'Dept nm' attribute isn't clear, there really should be more of a description here...
[ { "docid": "69e47ffa849662c5d0f007183d101dc7", "score": "0.88611895", "text": "String getDept_nm();", "title": "" } ]
[ { "docid": "05ce1459585b2de51665da1b6958d0e1", "score": "0.7871401", "text": "public String getDeptName() {\n return (String)getAttributeInternal(DEPTNAME);\n }", "title": "" }, { "docid": "27574dd6ff49f8c9b029114a34bc3ea8", "score": "0.7840367", "text": "String getDept_typ...
a344c584ff638b8590ae2efa15f4853a
accept property value visitor
[ { "docid": "5aa7774a8b519a6978048ac7dbf09715", "score": "0.54356956", "text": "@Override\r\n public void accept(IPropertyValueVisitor visitor) {\r\n // relations\r\n _acceptSingle(ch.actifsource.core.javamodel.IAttribute.class, cleon.applications.actifsource.metamodel._import.xml2asrc.Xml2asrcPac...
[ { "docid": "227040ffbd00997414b4cf25900fb62f", "score": "0.63330716", "text": "public void visit(OWLAnnotationProperty property) {\n \t\t\t\t\t\t\t\t\t}", "title": "" }, { "docid": "c7ff06f98a96349d72c60bc01b1e0164", "score": "0.6330603", "text": "public boolean propertyValueChangedE...
190a6468b777e99d0c9c55a1387af03b
Create an entity for this test. This is a static method, as tests for other entities might also need it, if they test an entity which requires the current entity.
[ { "docid": "dc3407aee3eb14fe7793c9c14a10615a", "score": "0.0", "text": "public static Compra createEntity(EntityManager em) {\n Compra compra = new Compra().cantidadComprada(DEFAULT_CANTIDAD_COMPRADA).precioPagado(DEFAULT_PRECIO_PAGADO);\n return compra;\n }", "title": "" } ]
[ { "docid": "e540839c51ba5e6603605333184e347a", "score": "0.77237517", "text": "Entity createEntity();", "title": "" }, { "docid": "e540839c51ba5e6603605333184e347a", "score": "0.77237517", "text": "Entity createEntity();", "title": "" }, { "docid": "e540839c51ba5e66036053...
8c8b1fece42ad34e53043f37fb9425c2
it seems that the method is never called.
[ { "docid": "7f15ae858b74ed126230091f67946602", "score": "0.0", "text": "public PageNavigation update() {\r\n try {\r\n getFacade().edit(currentOrder);\r\n JsfUtil.addSuccessMessage(ResourceBundle.getBundle(BUNDLE).getString(\"CustomerOrderUpdated\"));\r\n return P...
[ { "docid": "3208f3d55bbde0923d5805f3e1a1fbc2", "score": "0.7046295", "text": "protected void notExistMethod() {\n\n\t}", "title": "" }, { "docid": "7ffbcc7c5a5fd2efca7e77b940aba5fd", "score": "0.6975175", "text": "public void bugWorkaround() {\n }", "title": "" }, { "d...
a5d9cd27aee29e0342f2462fcde40b9e
Caches the plan section plan maps in the entity cache if it is enabled.
[ { "docid": "51140ae6564ae6d2ba45df166fe024df", "score": "0.66263527", "text": "public static void cacheResult(\n java.util.List<com.ext.portlet.model.PlanSectionPlanMap> planSectionPlanMaps) {\n getPersistence().cacheResult(planSectionPlanMaps);\n }", "title": "" } ]
[ { "docid": "d8e354e276ba65af40bba35016f96907", "score": "0.69158906", "text": "public static void cacheResult(\n com.ext.portlet.model.PlanSectionPlanMap planSectionPlanMap) {\n getPersistence().cacheResult(planSectionPlanMap);\n }", "title": "" }, { "docid": "a86ef27a1067e9...
a73d031d7c9df119e1856baaf483df49
Updates the alternate location LocationModel and displays a toast to user with new address
[ { "docid": "ff1aa892662ac269eeee7fbdb2601976", "score": "0.73603016", "text": "@Override\n\tpublic void updateSetLocation(Address address)\n\t{\t\n\t\talternateLocation = new LocationModel(address.getLongitude(), address.getLatitude());\n\t\t\n\t\t/* Toast the user with the new location */\n\t\tString l...
[ { "docid": "06eaac9fc22b66a7be85de2775437f9e", "score": "0.6790631", "text": "private void displayLocation() {\n\n mLastLocation = LocationServices.FusedLocationApi\n .getLastLocation(mGoogleApiClient);\n\n if (mLastLocation != null) {\n double latitude = mLastLoc...
67c37162d93b8dd36716fa29a662a414
le caractere en haut a gauche est le [0][0]
[ { "docid": "7ee6718eb899bd4ea96a4df857281f62", "score": "0.0", "text": "public void setMap(int abscisse, int ordonnee, char carac) // change un caract�re de la map\n\t{\n\t\tif (abscisse >= 0 && ordonnee >= 0 && abscisse < this.HAUTEUR && ordonnee < this.LARGEUR)\n\t\t{\n\t\t\tthis.map[abscisse][ordon...
[ { "docid": "3a88d13be513a48f3cb0e128c0066fa6", "score": "0.6006903", "text": "@Override\n\tpublic Object bottem() {\n\t\treturn arr[0];\n\t}", "title": "" }, { "docid": "bea42d84fedfcc578588c4f8a4b6e821", "score": "0.5633984", "text": "public int getFirstContour() {\n/* 183 */ re...
cd9db24064089be69fe139da7fdc7114
The WorkbenchTestable implementation of this TestableObject method flushes the event queue, runs the test in a syncExec, then flushes the event queue again.
[ { "docid": "fbe427da43199040d1ff4ae2756e7492", "score": "0.5750566", "text": "@Override\n\tpublic void runTest(Runnable testRunnable) {\n\t\tthis.display.syncExec(testRunnable);\n\t}", "title": "" } ]
[ { "docid": "576c74e10b3a35a1d6d6dbbbd44e1dde", "score": "0.64751756", "text": "@Test\n public void testExecute() throws Exception\n {\n SyncCommandTestImpl cmd = createCommand(null);\n List<SongEntity> songs = new LinkedList<SongEntity>();\n List<Command> syncCmds = new Linked...
2b4d622975fb46186c09fb411caa5db0
Initialize this component must be called before the component could be used.
[ { "docid": "a195fa709a9b97962bbe4b63f0ce9ab9", "score": "0.0", "text": "void initialize();", "title": "" } ]
[ { "docid": "04d710b2c606de278263bf7bcf2b3b61", "score": "0.81060135", "text": "public void initialize() {\r\n super.initialize();\r\n }", "title": "" }, { "docid": "340e7690859b1992e1a58a70e405c8bc", "score": "0.8096954", "text": "protected void initialize() {\r\n ...
a855a5f132278260428fc99ffba9eefa
This method is used to insert a new node in the tree
[ { "docid": "e7d3af42ca0ddd621f796557fbcf7e6b", "score": "0.72193044", "text": "public void insertNode(T insertValue) {\n if (root == null) {\n root = new TreeNode<T>(insertValue);\n } else\n root.insert(insertValue);\n\n }", "title": "" } ]
[ { "docid": "c0028fa408d0c3f36a45368246ba88df", "score": "0.7901704", "text": "@Override\n\tpublic void insertNode(Node n){\n\t\tfringe.insertFirst(n);\n\t}", "title": "" }, { "docid": "0c19f370100d3609304a422a7c6a66ac", "score": "0.7636032", "text": "@Test\n void insertNode() {\n ...
1b0db9a86fbc30535f4932272842fb48
/ renamed from: a
[ { "docid": "4aaeae2a5ef7f46109e91fdcee40ed83", "score": "0.0", "text": "public final boolean mo119684a(T t) {\n if (this.f122608h) {\n return false;\n }\n try {\n this.f122250a.accept(t);\n return this.f122605e.mo119684a(t);\n...
[ { "docid": "5b086c8ac16e5d5bb19debbe6162f992", "score": "0.6385309", "text": "public interface C35018a {\n /* renamed from: a */\n void mo88789a();\n }", "title": "" }, { "docid": "b83b0f0ec27f3e5a93d4f7f54f8557d8", "score": "0.6229075", "text": "protected interface ...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "0b2ca31d3053005635ceb066d46230f7", "score": "0.0", "text": "@Override\r\n\tpublic String toString(int[][] grid) {\n\t\treturn null;\r\n\t}", "title": "" } ]
[ { "docid": "ffe5fe3cec40acf4b0b07ea257dfa06a", "score": "0.6831473", "text": "private void apparence()\r\n\t\t{\r\n\r\n\t\t}", "title": "" }, { "docid": "838a915c9ea69d56cc37df198cff9cb2", "score": "0.67589027", "text": "@Override\n\t\t\t\tpublic void pintar() {\n\t\t\t\t\t\n\t\t\t\t...
60c9ab71ae34f092d57bf8a892539919
Setter method for name.
[ { "docid": "601fba5f146d2e4ab748ce3723adecfc", "score": "0.0", "text": "public void setName(String aName) {\n name = aName;\n }", "title": "" } ]
[ { "docid": "f21ab70bef6c5bda61bbac83eb811a39", "score": "0.8339863", "text": "void setName(String name_);", "title": "" }, { "docid": "82a93841424b3018d18a4b2cfaa06d52", "score": "0.82891816", "text": "public final void setName(String name) {_name = name;}", "title": "" }, { ...
188c6fe47ad41637102bd0ab455eae83
Gets the market data requirements from a curve specification.
[ { "docid": "9482ca3743ca7e81bf1919fefd361a1f", "score": "0.7114536", "text": "static Set<ValueRequirement> getRequirements(final AbstractCurveSpecification abstractSpecification, final String curveName) {\n final Set<ValueRequirement> requirements = new HashSet<>();\n if (abstractSpecification ins...
[ { "docid": "820ad8528e91dc67a3e7bee6c4b293cc", "score": "0.5607344", "text": "GovernanceSourceSpecification getSpecification();", "title": "" }, { "docid": "834a43a915fe5644440fc380f53c4a21", "score": "0.5515587", "text": "public Set<Specification> getSpecs();", "title": "" }, ...
9b3e0515a5bb2f02a6205a81a2cb455b
Returns a Raster that contains the decoded contents of the SeekableStream associated with this ImageDecoder. Only the first page of a multipage image is decoded.
[ { "docid": "80d5ef02cafb4db0ac416eb62e55e92a", "score": "0.49855232", "text": "Raster decodeAsRaster() throws IOException;", "title": "" } ]
[ { "docid": "0d3e457a33ce4b65c282fab2958aa5b4", "score": "0.6156134", "text": "Raster decodeAsRaster(int page) throws IOException;", "title": "" }, { "docid": "8b2453bbae37379e554d088ed08cdaa7", "score": "0.57841086", "text": "public interface ImageDecoder {\n\n /**\n * Returns...
4f860f7d37e4aa51161792d0db22baeb
Returns all internal connectors.
[ { "docid": "06fe9ad6364de61e332c257377fec717", "score": "0.76988727", "text": "public Set<Connector> getConnectors() {\n\t\treturn new HashSet<Connector>(connectors);\n\t}", "title": "" } ]
[ { "docid": "6ff329d00fce332de913a39ca4e5a98f", "score": "0.7747343", "text": "List<ConnectorDefinition> getConnectors();", "title": "" }, { "docid": "d6673d22fc254b3fcb6d096a54b7cdef", "score": "0.72229904", "text": "private Iterable<C> getConnectors() {\n NCLElement root = ge...
95631d086aaee98fce3cb070d979b65c
Initiate thread pool, creates and add worker threads to the pool.
[ { "docid": "5eafdd109aacd44395ebef90af4ac47c", "score": "0.76384336", "text": "public void initiateThreadPool() {\n pool = new ThreadPool(minimumThreadsAllowed, maximumThreadsAllowed, idleSeconds);\n // starting point for worker threads.\n ImpressionMarksEventDispatcher eventDispatcher = ...
[ { "docid": "a1bbdcced615654655fe10eb8e71b874", "score": "0.70343906", "text": "public PoolTest(int threadPoolSize){\r\n\t\tpoolSize = threadPoolSize;\r\n\t\tmanager = new ThreadPoolManager(poolSize, null);\r\n\t}", "title": "" }, { "docid": "0adb535d07ecd88cbd774d386e30043e", "score": "0...
d194bdb2eb45edbdb37a179708a8b932
Return a representation of this instance.
[ { "docid": "c5bd3b7083d70b38bcb2c42e2378c085", "score": "0.0", "text": "@Override public String toString() {\r\n return \"(\" + value + \", \" + priority + \")\";\r\n }", "title": "" } ]
[ { "docid": "40a4ac0ba19f1a93f44ddbca3d670b96", "score": "0.7694254", "text": "public String serialize() {\n Gson gson = new Gson();\n return gson.toJson(this);\n }", "title": "" }, { "docid": "0cb050ecf6ac74c048583e34849bc3cc", "score": "0.76299363", "tex...
e1a07a95e4517be946d6f026e4200cf6
Returns the random number generator.
[ { "docid": "3bb088a4781ec785ff277b2cb8d847de", "score": "0.8407885", "text": "public Random getRandomNumberGenerator() { return randomNumberGenerator; }", "title": "" } ]
[ { "docid": "a6b8f4b338dbdc6a3f249e99ed3e1165", "score": "0.77393514", "text": "public Random getRandomGenerator() {\n return randomGenerator;\n }", "title": "" }, { "docid": "c1c75210dae77d90aaef41bae70c6b58", "score": "0.7572167", "text": "public static RandomNumberGenerator get...
59437dc11ef1ae1c5873cdaba7f4b063
Goal: who reaches 2030 first? Questions asked everyday for 17 days related to 17 UN Goals Right answer => 1 step towards 2030 Wrong answer => same position or sometimes pushed back Some Example Questions Below Goal 1: End Poverty
[ { "docid": "1104c937958badad2ebff960526a22f4", "score": "0.62849885", "text": "public void Day1(){\n System.out.println(\"Goal 1: Choose the right answer: a/A,b/B,c/C\");\n System.out.println(\"Let's start with an easy question\");\n System.out.println(\"Despite having a job, ___ % ...
[ { "docid": "af585043b55ee9a9d464c531304a9b47", "score": "0.57709175", "text": "void retryGame() {\n\t\tquizTime = false;\n\t\tdistractCountdown = DISTRACT_DURATION;\n\t\tnumPredators = 3;\n\t\tquestionNumber = -1;\n\t\tnest.numEggs = 3;\n\t\tgeneratePredators();\n\t}", "title": "" }, { "doci...
0dffc6531374d6192d0d2be1b2875950
Given Accept the content in XML format With Content Type as JSON When I perform the POST request Then Status Code 400 Bad Request should be returned
[ { "docid": "fac87dea58b66ef0d98785cb25f7781e", "score": "0.6086791", "text": "@Test\n\tpublic void testPostWithoutBody(){\n\t\t\t\t\n\t\tgiven()\n\t\t.accept(ContentType.XML)\n\t\t.with()\n\t\t.contentType(ContentType.JSON)\n\t\t.and()\n\t\t.when()\n\t\t.post(\"/add\")\n\t\t.then()\n\t\t.assertThat()\n\...
[ { "docid": "2549d65d536225b2ec5a265547aa02d6", "score": "0.5713337", "text": "@Test\n\tpublic void createContentWithInvalidContentType() throws Exception {\n\t\tString createContentReq = \"{\\\"request\\\": {\\\"content\\\": {\\\"name\\\": \\\"Unit Test\\\",\\\"code\\\": \\\"unit.test\\\",\\\"mimeType\\...
0c3a978b912f3b12808eab49bbedeb69
This method was generated by MyBatis Generator. This method returns the value of the database column os_user_login.login_time
[ { "docid": "eb1a2125203dea087a90a55e2bebea2e", "score": "0.75818163", "text": "public Date getLoginTime() {\n return loginTime;\n }", "title": "" } ]
[ { "docid": "70153ec0c30cd57207173cfa4a06a0cd", "score": "0.69417167", "text": "DateTime getLastLoginTime();", "title": "" }, { "docid": "d8773f5738b9103e2f6e76f87a72d8e0", "score": "0.66451", "text": "public Date getUserLastLoginTime() {\n return userLastLoginTime;\n }", ...
f920c9bb7259283d129a858205452612
so that when the next shape is selected, we will know it is its first time being selected after another shape was selected
[ { "docid": "ca0c6039dbfa4055ebc78a91d1cf78d2", "score": "0.0", "text": "@Override\r\n\tpublic void mouseReleased(MouseEvent event) {\n\t\tfirst_time = true;\r\n\r\n\t}", "title": "" } ]
[ { "docid": "a528c751aaa3a3d98c1165125fcc2dcc", "score": "0.70282197", "text": "public void shapeSelect(int x, int y){\n boolean found = false;\n for(int i = shapeList.size() - 1; i >= 0 && !found; i--){\n if(shapeList.get(i).isOn(x,y)){\n selected = shapeList.get(i);\n found = t...
dc92b53b6af749859e332bc5c0d3aa0d
Retorna as classes components do projeto.
[ { "docid": "e99873b9a90534dab65f1c0da372bed3", "score": "0.0", "text": "SortedSet<NgComponentRepresentation> getNgComponents();", "title": "" } ]
[ { "docid": "bfd548bfc522db92f0a5a00206fc4f06", "score": "0.6170519", "text": "JPanel getProjectCreator()\n{\n return new ProjectCreator();\n}", "title": "" }, { "docid": "4de06c1220fcebf64248777f0604e70b", "score": "0.605183", "text": "ComponentmodelPackage getComponentmodelPackage...
976208a3727e543ee925acedfc670eb0
This method was generated by MyBatis Generator. This method corresponds to the database table tb_student
[ { "docid": "d41b14a9cada0b0bdf5ba1d71ac408ef", "score": "0.0", "text": "int updateByPrimaryKey(Student record);", "title": "" } ]
[ { "docid": "590c0b1b0604aed7e91dc3155d6b9225", "score": "0.663496", "text": "List<Student> queryStudentById(String id) throws SQLException;", "title": "" }, { "docid": "11ef72fb5d5451fc6cc8bfbf47ba1ab3", "score": "0.66338545", "text": "@Override\r\n\tpublic List<Student> listAllStude...
6d401c1438fc400eb973cee5a6ad2cae
Creates new form KartaPostav
[ { "docid": "7c77f37a8fb0591b2230c4c3e4e876e6", "score": "0.58371335", "text": "public KartaPostav(int PK, int addOrUpdate) {\n initComponents();\n this.PK = PK;\n this.addOrUpdate = addOrUpdate;\n\n jTextFieldFullName.setDocument(new PlainDocument() {\n @Override\n...
[ { "docid": "bd09e8ca25e3b92e51a520a9065f40c2", "score": "0.65853465", "text": "public void create() {\r\n try {\r\n preCreate();\r\n preSave();\r\n pManager.create(getCo());\r\n info(\"El registro se ha creado con exito.\");\r\n RequestContex...
98d92dacedccbb5adeebfc8dc09c44b0
repeated int64 peak_m_z = 1 [packed = true]; Actual peak_m_z values are expected to be strictly increasing, so we store the deltas of the numerators to keep the numbers smaller.
[ { "docid": "483a714e8727b2c606418dccab3e5b18", "score": "0.49980232", "text": "public Builder addAllPeakMZ(\n java.lang.Iterable<? extends java.lang.Long> values) {\n ensurePeakMZIsMutable();\n super.addAll(values, peakMZ_);\n onChanged();\n return this;\n }", ...
[ { "docid": "a4c0b1aa06b7cf5b7fc0a905dbc3dda1", "score": "0.5640447", "text": "public int[] asMajorPeakMZs();", "title": "" }, { "docid": "7426234552551bb769cc43299c9d7796", "score": "0.54947203", "text": "int getPeakMZCount();", "title": "" }, { "docid": "fcb87664b6a3afcd...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "21ef034f91bda06316843f170165cd42", "score": "0.0", "text": "@Override\n public int getCount() {\n return 3;\n }", "title": "" } ]
[ { "docid": "1acc57d42c31dee937ac33ea6f2a5b0b", "score": "0.68399656", "text": "@Override\r\n\tpublic void comer() {\n\t\t\r\n\t}", "title": "" }, { "docid": "118f2b8a20f48999973063ac332d07d3", "score": "0.6563993", "text": "@Override\r\n\t\t\tpublic void atras() {\n\r\n\t\t\t}", ...
c06cb8541f2d799505776935b0281104
So other objects can subscribe and get notified. Used by StateActionPrototype.
[ { "docid": "b6d4ea0509ea9ba635bb525b6aacf5ee", "score": "0.6101163", "text": "public interface ChangeListener {\n void actionFired(boolean status);\n}", "title": "" } ]
[ { "docid": "1b45daa1fd1aa5304a12ce766a9fd60a", "score": "0.66048455", "text": "public interface SubscriberServiceStateAction\r\n{\r\n\r\n /**\r\n * Executes the state change for a particular subscriber\r\n * @param ctx\r\n * @param subscriber\r\n * @throws StateChangeException\r\n ...
6297e653474b0e49ffaf3ce7473d4f7e
Spring Data repository for the ShopSection entity.
[ { "docid": "79660065dff7d2644023133eedd45507", "score": "0.78728855", "text": "@SuppressWarnings(\"unused\")\n@Repository\npublic interface ShopSectionRepository extends JpaRepository<ShopSection, Long>, JpaSpecificationExecutor<ShopSection> {\n List<ShopSection> findAllByShopId(Long shopId);\n\n}", ...
[ { "docid": "12a36b4d1904253f22d84c6da1178f1f", "score": "0.6837094", "text": "public interface SectionRepository extends CrudRepository<SectionDto, Integer> {\n}", "title": "" }, { "docid": "590b5c0b613d43a548104337a8e8a4b6", "score": "0.67638266", "text": "public interface ShopRepos...
36ea92e69169d8daf62ff44a0f0e200d
This method returns the azimuth parameter.
[ { "docid": "80d7c61f8fecf8e150e252d2a22c0e25", "score": "0.8572878", "text": "public int getAzimuth() \n\t{\n\t\treturn lookupValue(Params.AZIMUTH);\n\t}", "title": "" } ]
[ { "docid": "7dce2990a731c163980b1646f530c356", "score": "0.83981746", "text": "public double getAzimuth() {\n return azimuth;\n }", "title": "" }, { "docid": "e6c045d8c4c2f5528a52341ee1b10cea", "score": "0.67839473", "text": "public JsonNode getPitchRollAzimuth();", "ti...
9f30eca9217af21929666ba98c6069c5
Adds the given bytes to the response.
[ { "docid": "c8aab8cbbbeea9b2c215d8583bce8a8c", "score": "0.7098553", "text": "protected void addBytes( final byte[] bytes ) {\n if ( bytes == null ) {\n return;\n }\n for ( final byte b : bytes ) {\n messageContents[currentOutputPosition] = b;\n currentOutputPosition+...
[ { "docid": "b9a9c7a8005572652b37acef70674589", "score": "0.6768112", "text": "protected void addBytes(byte[] bytes) throws Exception {\n\t\tnioParser.addBytes(bytes);\n\t}", "title": "" }, { "docid": "cdc1e312dc5121bf77e7b1dbd2be4d0c", "score": "0.6141959", "text": "protected void ad...
3b4b102e011ab4a5e38ac9e99e8e47a1
Restart a service through swarm
[ { "docid": "edef8eecc8e9a4df373f356ee736c170", "score": "0.70892173", "text": "boolean restartService(Container service, UserI user);", "title": "" } ]
[ { "docid": "9975988e5b01f9b54b5f2e9f50ba5779", "score": "0.6729901", "text": "@Override\n\tprotected void onRestart() {\n\t\tsuper.onRestart();\n\t\tdoBindService();\n\t}", "title": "" }, { "docid": "8933b2109b9f491b73f757a10d1d1273", "score": "0.6715378", "text": "private void resta...
2aae96d90a2c469c19daa0671ca42bbe
Gets the value at index 28.
[ { "docid": "a3c241065c8c7d676a9f606110cc8e7f", "score": "0.71580046", "text": "public V getValue28();", "title": "" } ]
[ { "docid": "1e3dcc347e40c2b908be630a09c32ae9", "score": "0.69423676", "text": "public V get28();", "title": "" }, { "docid": "c3daf7daa9643f20941d33ae7f482174", "score": "0.6401636", "text": "protected final int getValue(int index)\n/* */ {\n/* 287 */ return this.m_data_[in...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "5a43553efc38147daac041b346ed565a", "score": "0.0", "text": "public static void main(String[] args) {\n\t\tEquals obj1 = new Equals(\"blue\");\r\n\t\tEquals obj2 = new Equals(\"blue\");\r\n\t\tEquals obj3 = new Equals(\"red\");\r\n\t\t\r\n\t\tboolean a = obj1.equals2(obj2);\r\n\t\tboolean b =...
[ { "docid": "da34ed11fe7c5649b3cd0bdad6dca5df", "score": "0.7115143", "text": "@Override\n\t\tpublic void 비행() {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "99cfe01c5035e9a9ca6dafada0e4a005", "score": "0.67343336", "text": "@Override\r\n\tpublic void caminar() {\r\n\t\t// TODO Auto-g...
2c159164e7ff4d6757561c6643446363
Show a platform native text input screen.
[ { "docid": "c81a0f7ec81e40a7969351c12daff17b", "score": "0.7399618", "text": "public final void showNativeTextScreen(TextBox uilTextBox) {\n final Command cmdDone = new Command(\"Done\", Command.OK, 0);\n\n javax.microedition.lcdui.TextBox nativeTextBox = new javax.microedition.lcdui.TextB...
[ { "docid": "8115ba8c87fcbd37d9f9c5a72e7014d2", "score": "0.64786714", "text": "public void displayUserInput(String input) {\n\n // display the user input\n outputWindow.appendText(input, new Color(50,50,50), true);\n\n }", "title": "" }, { "docid": "3210182263ed4133a99aa11d0...
0c19b8ebe23716898cb6c48057a44b63
Make the request to the Twilio API to perform the update.
[ { "docid": "3da4e95e987619350bd331ed89bb5654", "score": "0.0", "text": "@Override\n @SuppressWarnings(\"checkstyle:linelength\")\n public Webhook update(final TwilioRestClient client) {\n Request request = new Request(\n HttpMethod.POST,\n Domains.IPMESSAGING.toString(...
[ { "docid": "62d20d1a8417c6e7f2415931c0f3f00d", "score": "0.6512337", "text": "void update(UpdateRequest updateRequest);", "title": "" }, { "docid": "3c57c05044bff0c4b3419f47bb56c5f9", "score": "0.64688325", "text": "@WebMethod\n\tpublic static void Update() {}", "title": "" }, ...
8e29dad5fef01a8c5cbd849b3532ac08
Created by xiaoyu on 2017/9/20.
[ { "docid": "5be3a96bc5401fe8444ecf804b25bafa", "score": "0.0", "text": "public interface IMyBankListBiz {\n void getdata(MyBankListListener myBankListListener, String token);\n}", "title": "" } ]
[ { "docid": "27bc40cf2c5e26e0bf8b70807e0bcaed", "score": "0.6373809", "text": "@Override\r\n\tpublic void caminar() {\n\t\t\r\n\t}", "title": "" }, { "docid": "1acc57d42c31dee937ac33ea6f2a5b0b", "score": "0.61257255", "text": "@Override\r\n\tpublic void comer() {\n\t\t\r\n\t}", "t...
5107edfcc41343107ea31f7922b18d98
Handles the HTTP GET method.
[ { "docid": "6f1219d2c08584420209d3f2203825fa", "score": "0.0", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "title": "" } ]
[ { "docid": "9aa99ba443864eeb9435a1ccc06bd55e", "score": "0.7308342", "text": "public void doGet(HttpServletRequest req, HttpServletResponse resp) {\n }", "title": "" }, { "docid": "b34954facd5a52bfbdf567331c004f78", "score": "0.72048396", "text": "@Override\r\n\tpublic void doGet(Re...
6a3520915b3090b5b4b462b330474356
Sets the color to render the StaffInfoFolder's name.
[ { "docid": "795258a7944535aef8a2b3248e1523bc", "score": "0.5939448", "text": "public void setNameColor(String color){\n\t\tsuper.setTitleColor(color);\n\t}", "title": "" } ]
[ { "docid": "75a415c5c391a820fffbe89f9a575896", "score": "0.5369418", "text": "public BbStaffInfoFolder(StaffInfoVO staff_info_vo) {\n \t_staff_info_vo = staff_info_vo;\n \t_staff_info_vo.setFolder(true);\n }", "title": "" }, { "docid": "c513f20d8aac2ae97c82c32fa4f0736f", "score"...
e27ef04d2b8bb85e15f4e762f22d5eb9
generated using sqlalchemy session.query(func.count('')).filter(Test.name == 'foo').scalar()
[ { "docid": "86cb6b15f0eca722dba6de05b3e47617", "score": "0.69190556", "text": "@Test\n public void testSqlAlchemyGeneratedCountWithStar() throws Exception {\n\n execute(\"create table test (col1 integer primary key, col2 string) with (number_of_replicas=0)\");\n ensureYellow();\n ...
[ { "docid": "27bc15f6a7018f4050cb31c071206cb5", "score": "0.73588276", "text": "@Test\r\n public void testCountArgument() {\r\n final TableReference tableOne = tableRef(\"TableOne\");\r\n SelectStatement testStatement = select(count(field(\"name\")), countDistinct(field(\"name\"))).from(tableOne);...
68d41fdb65ea57dd9e68a45687b287ea
Attempts to store a transaction in the database.
[ { "docid": "79275c30d4c243c0bf048628e7c68703", "score": "0.0", "text": "public boolean makeTransaction(String usernameTo,String usernameFrom, double amount) {\n String insertString = \"INSERT INTO transactions (amount,fromuser,touser) VALUES(?,?,?);\";\n try{\n PreparedStatement...
[ { "docid": "cc67b8b254fb7729fc0eed8da8af7883", "score": "0.67665005", "text": "void commit() throws TransactionException;", "title": "" }, { "docid": "ab69386893a5ac0b0b144e577c419465", "score": "0.675488", "text": "public boolean commitTransaction();", "title": "" }, { "...
92883682029fe458f6fdcc7ae2bd3a81
/ min cost to node 0 ... 6
[ { "docid": "d365ccde5487fe67f43de00eb422c73d", "score": "0.0", "text": "RouterData (int sourceID, int destID, int[] mincosts){\n this.sourceid = sourceID;\n this.destid = destID;\n System.arraycopy(mincosts, 0, this.cost, 0, RouterSimulator.NUM_NODES);\n }", "title": "" } ]
[ { "docid": "f3c0afbd6e5672a8da87c556cda74d89", "score": "0.7251852", "text": "public int minCost(int[][] costs) {\n int r = 0, b = 0, g = 0;\n for (int i = 0; i < costs.length; i++) {\n int tempR = r;\n r = Math.min(b, g) + costs[i][0];\n int tempG = g;\n g = Math.min(t...
fe053fa56c49cec916fe33d3e3644eee
Sets the the fetch interval, that is the number of system ticks between each request by this Aggregator to get the cumulative demand of all HouseHolds attached to it
[ { "docid": "e7821adbd2fb2b90c6216c9271f4959c", "score": "0.7135747", "text": "public void setFetchInterval(int interval) {\n universe = SmartGridUniverse.getInstance();\n // overwrite fetch interval with new one\n this.fetchInterval = interval;\n }", "title": "" } ]
[ { "docid": "d3b52a23576b983c768e0af2d19308da", "score": "0.65949893", "text": "public int getFetchInterval() {\n return fetchInterval;\n }", "title": "" }, { "docid": "32b1045bd3c387304b6c007b86411309", "score": "0.60288084", "text": "public void update() {\n // if i...
274948fd8f7dd060042aa47e7656bacc
Gets the attribute value for the calculated attribute ItemId
[ { "docid": "b8bd079731cf369cebf09ac9ff589a7c", "score": "0.66801965", "text": "public Number getItemId()\n {\n return (Number)getAttributeInternal(ITEMID);\n }", "title": "" } ]
[ { "docid": "114e9b0ec857f9ff26bc7e7812e2b5ed", "score": "0.73325104", "text": "public Long getAttributeItemId() {\n return attributeItemId;\n }", "title": "" }, { "docid": "a20bc6277a17817bfcdcdfd13a83e501", "score": "0.690959", "text": "io.dstore.values.IntegerValue getBon...
5b91e51c7ea29042da2f8f7529342aa4
Get the value of visitorId
[ { "docid": "c70b02f44c09746a7b92d90b02da40f3", "score": "0.7713513", "text": "public Long getVisitorId() {\n return visitorId;\n }", "title": "" } ]
[ { "docid": "b8d96f7942b852de2a3c58385081ca09", "score": "0.72830087", "text": "public abstract String getSiteVisitorId();", "title": "" }, { "docid": "28a3f6c82ad5042f686c6c7be91cdfcf", "score": "0.7012718", "text": "public String getmVisitorId() {\n\t\treturn mVisitorId;\n\t}", ...
1b672b42adaba4780ce4dc7da52ea992
upon flush() write the existing contents of the OutputStream to the logger as a log record.
[ { "docid": "cb1ce6f3ff55e670ea55f0a91efdb3c0", "score": "0.652436", "text": "public void flush() throws IOException {\n String record;\n synchronized(this) {\n super.flush();\n record = this.toString();\n super.reset();\n } \n if (recor...
[ { "docid": "4bc6484363c5f3833d30206629274c75", "score": "0.64272135", "text": "private void writeToOutputStream(final StorletLogger logger, final byte[] output, final OutputStream outputStream,\n final byte[] recordSeparator) throws IOException {\n\n outputStream.write(outp...
102935cac49f330b2bff1baf818a731f
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.
[ { "docid": "dd253f4e7519fcd7b6a4a863107ca4d1", "score": "0.0", "text": "public interface OnFragmentInteractionListener {\n // TODO: Update argument type and name\n void onListInteraction(int index, boolean isLongClicked);\n }", "title": "" } ]
[ { "docid": "e1f39afa57fe2a2d46630e1a38a3a80b", "score": "0.73246294", "text": "public interface OnFragmentInteractionListener {\n void onFragmentMessage(String TAG, Object data);\n}", "title": "" }, { "docid": "74146275c7fa99822f82e623860ec8e7", "score": "0.7208353", "text": "publ...
eb38030ae15d02d404e626565ff066e9
This method was generated by MyBatis Generator. This method sets the value of the database column cycling_total.max_altitude
[ { "docid": "fdc50e4c97ef974304b89b01a49c3622", "score": "0.6571727", "text": "public void setMaxAltitude(Float maxAltitude) {\n this.maxAltitude = maxAltitude;\n }", "title": "" } ]
[ { "docid": "b626e0940a1f644fcba346e7984108b8", "score": "0.64373946", "text": "public void setMaxAltitudeInFeet(double newAltitude) {\n\t\tthis.maxAltitudeInFeet = newAltitude;\n\t}", "title": "" }, { "docid": "2352bbd25203bd6a3458e6f080a143bf", "score": "0.6433795", "text": "public ...
0a90b4b24866decd227e5b31f1448411
db = new DBHelper(this); for (Wine w: updateWineList) db.updateWine(w); wineList.clear(); wineList = db.getAllWines();
[ { "docid": "849b46a8df5fb33342d40a0b6ef5a347", "score": "0.5329845", "text": "public void endIt() {\n\n Log.i(TAG, \"Showing all updated Wine List:\");\n for (Wine w: updateWineList)\n Log.i(TAG, w.toString());\n\n Log.i(TAG, \"Showing imageUri\");\n Log.i(TAG, image...
[ { "docid": "3450a1b1c7851d31eacc4433cc5bec51", "score": "0.65288264", "text": "public static void actualizarList(){\n ClienteList.updateClienteQuery(); \n ProveedorList.updateProveedorQuery();\n CategoriaList.updateCategoriaQuery();\n MarcaList.updateMarcaQuery();\n Ar...
f5868265f1909c85ebe756ee88dd0243
================================================Tab LIST WORD ABC ==========================================================
[ { "docid": "35f4b9404f898c38576a24b175983ddd", "score": "0.531567", "text": "private void settablistdahoc() {\n\t\tlvdahoc =(ListView)findViewById(R.id.lvdahoc);\n\t\tArrayList<String> tudahoc = new ArrayList<String>();\n\t\tArrayList<String> nghiadahoc = new ArrayList<String>();\n\n\t\tfor(int i=0;i<ar...
[ { "docid": "75c8509992e9e8c10c6f1d36be2f595a", "score": "0.6530434", "text": "private static String manualTab(String entry)\r\n\t{\r\n\t\tString tab = \"\";\r\n\t\tfor(int count=0; count < 15 - entry.length(); count++)\r\n\t\t\ttab += \" \";\r\n\t\treturn tab;\r\n\t}", "title": "" }, { "doci...
5c5017692909da7c0bcc8cb846f6431b
Getter for the type
[ { "docid": "6b8282126ca13ecf50515ff4a4b14f49", "score": "0.0", "text": "@Basic @Immutable\n\tpublic char getType(){\n\t\treturn this.type;\n\t}", "title": "" } ]
[ { "docid": "7499c6fd907c8ed51059f30bafad0282", "score": "0.8539371", "text": "Type getType() {\n return type;\n }", "title": "" }, { "docid": "7499c6fd907c8ed51059f30bafad0282", "score": "0.8539371", "text": "Type getType() {\n return type;\n }", "title": "" ...
604ab05049a8eb5c4beb99f5c61745a5
TODO: Replace this with your own logic
[ { "docid": "ac2638e7217be55ae2cfffbc10afb31b", "score": "0.0", "text": "public static boolean isEmailValid(String email) {\n return email.contains(\"@\") && email.contains(\".\");\n }", "title": "" } ]
[ { "docid": "ea8460c7314de45803a19bf7c984d4bf", "score": "0.5507535", "text": "@Override\n public void perish() {\n \n }", "title": "" }, { "docid": "28237d6ae20e1aa35aaca12e05c950c9", "score": "0.5415208", "text": "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", ...
f678969e70db0e667c7b1b380f065814
number of missiles blown up so far in level
[ { "docid": "f5fa6e7ae055dfc9e14f552211fe915f", "score": "0.0", "text": "public void actionPerformed (ActionEvent e) //when buttons are clicked\r\n\t{\r\n\r\n\t if (e.getSource () == start) //if the user clicks the start button\r\n\t {\r\n\t\t//showing and hidding components\r\n\t\tmyName.setVisib...
[ { "docid": "6b91f13b2880d22bac9125f9da44629c", "score": "0.657914", "text": "@Override\n\tpublic long getNumberOfLookUps() {\t\t\n\t\treturn hitsCounter+missCounter;\n\t}", "title": "" }, { "docid": "180628017588278ae6f9ab8ec322d2f2", "score": "0.6527251", "text": "public int getMiss...
f34041f25466264d98ca4f5a9a5a5dcc
Branch the hallway which is upwards. A room is generated on the top door of the upwards hallway, while hallways (left or rightwards) are generated at the side door.
[ { "docid": "02eca3fc5f68b9d78a097be2d72e337c", "score": "0.736599", "text": "private void branchUp(List<Space> list) {\r\n if (distToTop() >= 3) {\r\n Random random = new Random(946263);\r\n int topExtension;\r\n do {\r\n topExtension = 1 + Math.abs...
[ { "docid": "300a346dd21213925e34c8c30cf2acb9", "score": "0.69719136", "text": "private void branchDown(List<Space> list) {\r\n if (distToBottom() >= 3) {\r\n Random random = new Random(3916274);\r\n int bottomExtension;\r\n do {\r\n bottomExtension ...
f95d0e7cf366d22b0a351cea972c3663
This method should return the size of the stack
[ { "docid": "8202c2b8475d0f96498788ddc8bc0dce", "score": "0.0", "text": "public int getSize(){\r\n return (A.getSize());\r\n //To be written by student\r\n }", "title": "" } ]
[ { "docid": "1ef90c6689a3cf491cf075135dc214d9", "score": "0.89875853", "text": "public int stackSize() {\r\n return stack.size();\r\n }", "title": "" }, { "docid": "b890eae726daa5b2089cde9d7ef38f42", "score": "0.8638514", "text": "public int size() {\n return stack.si...