query_id
stringlengths
32
32
query
stringlengths
7
129k
positive_passages
listlengths
1
1
negative_passages
listlengths
88
101
c5082979b53f6bece10233f528349d1c
PID for hood alignment TODO: find actual values for this
[ { "docid": "02bb762e3c6ebc860d7ea8196710c7b8", "score": "0.0", "text": "void visionYAlign() {\n\t\tcogy = table.getNumber(\"COG_Y\", 217);\n\t\tif (cogy < 28) // backed up to defenses at courtyard\n\t\t{\n\t\t\thood.set(normPID(640, hood.getEncPosition(), .0048, 0));\n\t\t} else if (cogy < 55) {\n\t\t\t...
[ { "docid": "90cf247558e9b809d7603ce7497e2797", "score": "0.66491026", "text": "protected double returnPIDInput() {\n\t\n return quadratureEncoderForPID.pidGet() / 3750;\n }", "title": "" }, { "docid": "e7b60357bd971958bf0259e056227d45", "score": "0.65405905", "text": "publi...
37a3d7da51c27696b96a930b11dc6c35
The request.pipeline object has all the details about the pipeline, materials, stages and jobs
[ { "docid": "30f2e367ce8f3b429738316601b54fe1", "score": "0.47539935", "text": "public Message onStageStatusChanged(PluginRequest pluginRequest, StageStatusRequest.Pipeline pipeline) {\n if(pipeline.stage.state.equals(STAGE_STATE_FAILED)) {\n return onStageFailed(pipeline, pluginRequest...
[ { "docid": "859356dd9463634e95a092b849ffa443", "score": "0.65937006", "text": "public String getPipeline() {\r\n return pipeline;\r\n }", "title": "" }, { "docid": "841d9a7a8a8c62ef9d77fbcc8b2235a8", "score": "0.641641", "text": "public HttpPipeline getHttpPipeline() {\n ...
4b1e4026dfa54fe2341594f983d84eef
Test if it adds additional 0s.
[ { "docid": "b018e39c889f404f7dd49fda1eec9fb9", "score": "0.0", "text": "@Test\n public void testStrInput4()\n {\n \tMoney strInput = new Money(\"1\");\n \tassertEquals(\"1.00\", strInput.toString());\n }", "title": "" } ]
[ { "docid": "cfb1f39f44408fa3a2f1ec02ac8cf1fe", "score": "0.6664766", "text": "public void evensAreZero()\n {\n for ( int i = 0; i < this.values.length - 1; i++ )\n {\n \n }\n /*for ( int element : this.values )\n { \n double remainder = Math....
c23a7a6b28e2cf472cc0b017722eaed4
get the group from the request
[ { "docid": "79876caf431e9cb15da0f80b19845cee", "score": "0.6304473", "text": "public static RetrieveGroupHelperResult retrieveGroupHelper(HttpServletRequest request, Privilege requirePrivilege) {\n\n return retrieveGroupHelper(request, requirePrivilege, true);\n\n }", "title": "" } ]
[ { "docid": "7f5b31336b52ba5bff4911b69f4324c2", "score": "0.7186581", "text": "public String getGroup() {return group;}", "title": "" }, { "docid": "321894c8506126d8a6b19993b610a4de", "score": "0.70131177", "text": "public String getGroup() {\n return group;\n }", "title": "" ...
2d7b20b7565309af88f70d6c4bf39af5
Retrieves RMap Agent in requested RDF format and forms an HTTP response.
[ { "docid": "7fb91591942e56fa3572147d9cc839d6", "score": "0.65381134", "text": "public Response getRMapAgent(String strAgentUri, RdfMediaType returnType) throws RMapApiException\t{\n\t\tboolean reqSuccessful = false;\n\t\tResponse response = null;\n\t\ttry {\t\t\t\n\t\t\tif (strAgentUri==null || strAgent...
[ { "docid": "700df25d6089c3e3195e0ff1f6c97aaa", "score": "0.5761912", "text": "public Response getRMapAgentHeader(String strAgentUri) throws RMapApiException\t{\n\t\tboolean reqSuccessful = false;\n\t\tResponse response = null;\n\t\ttry {\t\t\t\n\t\t\tif (strAgentUri==null || strAgentUri.length()==0)\t{\...
41bf1bf912b756c1a816cf9b8fb17b79
method start method launches the JavaFX application
[ { "docid": "c2bce82639a67420505c404d5c7a6f3d", "score": "0.74643433", "text": "@Override\n public void start(Stage primaryStage)\n {\n //set up primary stage\n window = primaryStage; \n window.setOnCloseRequest(e -> \n {\n e.consume();\n ...
[ { "docid": "9cb47344b64e46ec4cda1a60a9ed401d", "score": "0.7658212", "text": "public static void main(String[] args) {\t\r\n\t\t\r\n\t\t//Start the JavaFX application by calling launch()\r\n\t\tlaunch(args);\r\n\t}", "title": "" }, { "docid": "4ea80d40318a2c692a25733aca2d9977", "score": ...
330c44f02cee9fc00f8168944f58e451
works only when "automationName" is "UiAutomator2"
[ { "docid": "f2bf784dc063cb34288f25036c5314ee", "score": "0.0", "text": "@Test\n public void findElementByXPath_nativeContext() {\n WebElement element = driver.findElement(By.xpath(\n \"/hierarchy/android.widget.FrameLayout/android.widget.LinearLayout/android.widget\" +\n ...
[ { "docid": "c36800f77c747a0c6228ead00ed2bcf7", "score": "0.69173527", "text": "@Test(groups={\"ut\"})\r\n\tpublic void testCreateDefaultCapabilitiesWithAutomationName() {\r\n\t\tSeleniumTestsContext context = new SeleniumTestsContext(SeleniumTestsContextManager.getThreadContext());\r\n\t\tcontext.setBro...
a39b28ca7eb05bfc5dfc33e23fdb80aa
Default arguments. No hgap, no vgap and to fill the cell.
[ { "docid": "02a26d7d901ec238d8284b6de4c95c6c", "score": "0.50166744", "text": "public TableLayout() {\n\t\tthis(0, 0, true);\n\t}", "title": "" } ]
[ { "docid": "434a356d2c692b95297a78161d21d064", "score": "0.6291059", "text": "@Override\n public boolean takeCellSpace() {\n return true;\n }", "title": "" }, { "docid": "f122216848e5a621cc63de48c15840a9", "score": "0.61751086", "text": "@Override\r\n\tpublic void fill()...
600671540f17bb617e714bff7fdbac2b
Creates a sampler to sample randomly from the combined distribution of the two samples.
[ { "docid": "1bb91526232a4d574df022c5c7f6a29c", "score": "0.64088804", "text": "private static DoubleSupplier createSampler(double[] x, double[] y,\n UniformRandomProvider rng) {\n return createSampler(x, y, rng, MAX_ARRAY_SIZE);\n }", "title":...
[ { "docid": "e4bb7994f23468501f9fc552f038028e", "score": "0.6353963", "text": "static DoubleSupplier createSampler(double[] x, double[] y,\n UniformRandomProvider rng,\n int maxArraySize) {\n final int n = x.length;\n ...
5349b088e88de23c0b2626327f694fee
Returns the factory that creates the instances of the model.
[ { "docid": "d45aba8bd7aa5abe335b47d44577968f", "score": "0.0", "text": "EzlemurFactory getEzlemurFactory();", "title": "" } ]
[ { "docid": "8af83f8e3ec615cf00c0d3490849f3ac", "score": "0.7365279", "text": "ModelsFactory getModelsFactory();", "title": "" }, { "docid": "78d2b0addd6d9c58fda0934721f6d3b8", "score": "0.7147646", "text": "public ObjectifyFactory factory() {\n return ofy().factory();\n }", "...
667e0b583e8ed44b463c4757684010bd
go() will return true if all numbers in numArray are in decreasing order [31,12,6,2,1]
[ { "docid": "1aacdf5e32baa8a36acc721582ef9e07", "score": "0.80896974", "text": "public static boolean go(int[] numArray)\n\t{\n\t\tboolean x=true;\n\t\tfor(int i=0; i < numArray.length-1; i++)\n\t\t{\n\t\t\tif (numArray[i] > numArray[i + 1])\n\t\t\t{\n\t\t\t\tx = true;\n\t\t }\n\t\t\telse\n\t\t\t{\n\t...
[ { "docid": "82663ffb14a03d07c46b793ac60d7cb9", "score": "0.63543564", "text": "static boolean intArraySorted(int[] array){\n\tint bigger = array[0];\n\n\tfor (int i = 1; i < array.length; i++) {\n\t\t\n\t\tif(array[i]>=bigger) {\n\t\t\tbigger = array[i];\n\t\t}\n\t\telse {\n\t\t\treturn false;\n\t\t\t\...
a334c73bab7966e92706c08062b2ce70
Get the value of idProyecto
[ { "docid": "0a5b98015223217d7eda883d8d9f3cee", "score": "0.81353784", "text": "private long getIdProyecto ( ) {\n return idProyecto;\n }", "title": "" } ]
[ { "docid": "35c20ce150e298e979ddd660f43e0b8a", "score": "0.7832318", "text": "String getPropiedadId();", "title": "" }, { "docid": "d66b27d4b0f3bc59cb368637b551d2bc", "score": "0.73026323", "text": "public int getIdproducto() {\r\n return idproducto;\r\n }", "title": ""...
cade610b53d1ddb289c5b0178809d5bd
Handle the key pressed event from the canvas. This is where we get the arrow keys.
[ { "docid": "54919ff87f77c142dc00e7e81734e66b", "score": "0.0", "text": "public void keyPressed(KeyEvent e) {\n\t\tdisplayInfo(e, \"KEY PRESSED: \");\n\t}", "title": "" } ]
[ { "docid": "1d35afc1374d90bf287d744e2d879eaa", "score": "0.73740387", "text": "public void keyPressed(KeyEvent e) {}", "title": "" }, { "docid": "1d35afc1374d90bf287d744e2d879eaa", "score": "0.73740387", "text": "public void keyPressed(KeyEvent e) {}", "title": "" }, { "d...
9c0804c2655df096c72fdcc13d0f0bf3
Testing that trying to get a singleton bean with cyclic dependency on itself
[ { "docid": "6dd157c25ea817878de032b289f4b687", "score": "0.6945409", "text": "@Test(expected = CyclicDependencyRuntimeException.class)\n\tpublic void testCyclicSingletonDependencyRuntimeException2() {\n\t\tcontainer.define(\"cycle\", new Factory<Cycle>() {\n\t\t\t@Override\n\t\t\tprotected Cycle newBean...
[ { "docid": "2747800c0963a970eb252a7aaede5c82", "score": "0.7681211", "text": "@Test\n\tpublic void testCyclicSingletonDependency() {\n\t\tcontainer.define(\"cycle1\", new Factory<Cycle>() {\n\t\t\t@Override\n\t\t\tprotected Cycle newBean(YasdicContainer c) {\n\t\t\t\treturn new Cycle();\n\t\t\t}\n\n\t\t...
fe47c9174d3fda9b060deb092273d3d9
draws an image using g at x and y
[ { "docid": "89989876658c3123a28c0b0c7125d1c3", "score": "0.0", "text": "public void drawNextFrame(Graphics g, int x, int y){\n\t\tg.drawImage(getNextFrame(), x, y, null);\n\t}", "title": "" } ]
[ { "docid": "7ab9428bf8da0743bf20407da1110cd5", "score": "0.8041956", "text": "void drawImage(BufferedImage image, double x, double y);", "title": "" }, { "docid": "8498598016e90ec3e144291c3ba3f775", "score": "0.7995893", "text": "public void draw(Graphics g) {\n\tg.drawImage(img, pos...
81212514226f68b7ce9367be79b102b7
Initializes the controller class.
[ { "docid": "f9ba934bf476a4bc83b5fa707d365029", "score": "0.0", "text": "@Override\n public void initialize(URL url, ResourceBundle rb) {\n data = FXCollections.observableArrayList();\n assert bigTable != null;\n restIDCol.setCellValueFactory(new PropertyValueFactory<>(\"rid\"));\...
[ { "docid": "81faa7df12a5dd6fefc55b47b2efd1b0", "score": "0.8280392", "text": "public void initController() {}", "title": "" }, { "docid": "0937619425644de844d3124eef9014f5", "score": "0.7782119", "text": "private void initializeController() {\n enableListeners();\n enab...
e7098b2e3072e7debe937b67e5e5497d
True if the FigureData should be drawn in this variant.
[ { "docid": "c4a387730cadd02e0043c51af7e6ae78", "score": "0.0", "text": "public boolean checkVariant(int variant) { return ((1<<variant) & this.variantMask) !=0; }", "title": "" } ]
[ { "docid": "be5d5792fcc34fcf2b60c4a26ae2d5a9", "score": "0.6823876", "text": "boolean hasVisualization();", "title": "" }, { "docid": "7c4912a01925828fbb1f55b79554d32d", "score": "0.66493267", "text": "public boolean okToDraw(ChartAnnotation annotation) {\n return true;\n }...
dc4145cfdb7b0a65c41c043a275acfda
Start method invokes some initialization methods needed to start the agent
[ { "docid": "b4f1b50250d7f58d45c0205895456f37", "score": "0.0", "text": "private void start() throws IOException {\n\n init();\n // This method reads some old config from a file and causes\n // unexpected behavior.\n // loadConfig(ImportModes.REPLACE_CREATE);\n addShutd...
[ { "docid": "50e4d06b711b16f99c58b76644f038b5", "score": "0.73665714", "text": "public AgentInitialization() {\n\t\t\n\t}", "title": "" }, { "docid": "2849a467e0abaf435a4592a1f9455a8f", "score": "0.73359513", "text": "protected void setup() {\n\t\t\n//\t\tSystem.out.println(\"[\" + ge...
2a3e89f29c189dedd3d0f20cadad8f63
Calculates average tempo of touches, sets it and starts metronome. Calculates tempo from 57 to 200 bpm. Recalculate after 1100 ms pause
[ { "docid": "6bf58676224c96fda844a8456e9c9183", "score": "0.69729733", "text": "private void tapTempo() {\n int hp = metronome.headPosition();\n bpmf = bpm;\n playStatePrevious = metronome.getPlayState();\n // If tapped while playing, just after the previous click, it doesn't ...
[ { "docid": "bb80f058e7bbe19e3257447fbc02449f", "score": "0.6332185", "text": "void tempo(double tempo) {\n\t\tdouble given_tempo = 120.0; \n\t\tdouble ratio = given_tempo/tempo; //flip, nice, done.\n\t\tfor(int i =0;i<hbd.size();i++) { //duration pitch, amplitude hold\n\t\t\tdouble new_duration = (hbd.g...
9a954bb3cda87d72906f335b3056d8bb
Called when midlet switcher is needed.
[ { "docid": "f2771ece3fa4075f0fff63a74b226484", "score": "0.5355887", "text": "void showMidletSwitcher(boolean onlyFromLaunchedList);", "title": "" } ]
[ { "docid": "73a55b4166530f0600e6c0a70c77c562", "score": "0.6798574", "text": "void notifyMidletStarted(MIDletProxy midlet) {\n\t\t\tString midletClassName = midlet.getClassName();\n\t\t\tif (midletClassName.equals(manager.getClass().getName())) {\n\t\t\t\treturn; }\n\t\t\t\n\t\t\tif (midlet.getSuiteId()...
4f3d5c8ba5eebb970e7c2ded62fd8a83
/ Code to run ONCE after the driver hits STOP
[ { "docid": "b57b112364aead0e8067e7155e33a60b", "score": "0.0", "text": "@Override\n public void stop() {\n // Removed code when encoder motor for forklift replaced by Tetrix and extra push-button\n /*runtime.reset();\n while ((touch.isPressed() == false) && (forkLiftMotor.getCurr...
[ { "docid": "d94d24cf501ec94c18d0d80c84974de2", "score": "0.6910652", "text": "@Override\n\tprotected void waitUntilStopped() {\n\t\t\n\t}", "title": "" }, { "docid": "21b76fb5663d983fb1828411b6d11eac", "score": "0.6851278", "text": "@Override\n protected void doStop() {\n }", ...
8e192310b93c89fd73bf26c62c70ccf2
Sair da app terminado todas as threads ativas.
[ { "docid": "0985196a2e679d8fcd4f19d09cc17e7b", "score": "0.0", "text": "@FXML\n void exitApp() {\n Platform.exit();\n System.exit(0);\n }", "title": "" } ]
[ { "docid": "b3c3882585f4e2b9c82482e636c75d78", "score": "0.7518069", "text": "public void exit_bot()\r\n\t{\r\n\t\tbot.exit();\r\n\t\tfor ( Thread t : threads )\r\n\t\t\tt.interrupt();\r\n\t\tthis.interrupt();\r\n\t\tSystem.exit( 0 );\r\n\t}", "title": "" }, { "docid": "9e7ecbf85ce55ef98e5c4...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "0a9ab790cbd0cffce13ef9967a9df3db", "score": "0.0", "text": "private void\n\tonActivityResult_BM_OK(Intent data) {\n\t\tString position = data.getStringExtra(CONS.Intent.iKey_BMActv_Position);\n//\t\tlong position = data.getLongExtra(CONS.Intent.iKey_BMActv_Position, -1);\n\t\t\n\t\tlong aiDb...
[ { "docid": "74a4209c94e08d9f5eb0b60e580f5e04", "score": "0.68867725", "text": "@Override\r\n\tpublic void comit() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b645eacb329adc01490ab5013a6c4f7f", "score": "0.67295986", "text": "@Override\n\t\t\tpublic void perfom() {\n\n\t\t\t}", "t...
f54e67fa72d680cf5b060a0f5b711062
Read the wms servers file list to populate the combobox
[ { "docid": "fe38defab2a4ba352648a2788da4db35", "score": "0.6151645", "text": "private ArrayList<String> readWMSServerFile(InputStream layoutStream)\n \t\t\tthrows IOException {\n \t\tArrayList<String> serversList = new ArrayList<String>();\n \t\tBufferedReader bufferedReader = new BufferedReader(\n \t\t...
[ { "docid": "3135d0adc8687765a28e5ab414b9bfc6", "score": "0.6236219", "text": "protected void setServerComboItems()\r\n\t{\r\n\t\tString type = typesCombo.getText();\r\n\t\tString[] servers = capServers.getServers(type);\r\n\t\t\r\n\t\t// types can be null still, so check it\r\n\t\tif (servers == null)\...
9670beaab8085aaa19bc94179c7f5ad3
For bus implementations that support dead lettering, construct the name of the dead letter entity for the underlying pipe name.
[ { "docid": "b2633e26f3302d9ba40cad97ed27b2fd", "score": "0.0", "text": "public static String constructDLQName(String name) {\n\t\treturn name + \".dlq\";\n\t}", "title": "" } ]
[ { "docid": "643c9cd1252c2664a080a38edcfbb136", "score": "0.5499264", "text": "public void generateFlowName(){\n this.mDAGInfo.generateFlowName();\n\n }", "title": "" }, { "docid": "6de588062c82af70a87c4e97f5877e38", "score": "0.5496381", "text": "public PipeNameBinding(XPro...
be4b94f6397e19e282534916afd2281e
Output the current values to be logged
[ { "docid": "5246336ae01227358d98757d1ecd7e96", "score": "0.0", "text": "private void logValues(byte[] buffer)\n {\n \n if (!isLogging())\n {\n return;\n }\n try\n {\n FRDLogManager.INSTANCE.write(buffer);\n DatalogManager.IN...
[ { "docid": "c66c32be4ff3a1ceb6f3f79329d76f88", "score": "0.6993924", "text": "public void printValues() {\n\t\t\tSystem.out.println(getB());\n\n\t\t}", "title": "" }, { "docid": "afd651c6c0ac65439a6a55e6b04a8f56", "score": "0.6973137", "text": "@Override public String toString() {\n ...
13190c3450b7a22750eb654c65f5b378
Returns all the headers of this message. Headers are ordered in the sequence they will be sent over a connection.
[ { "docid": "0ca052ae0618682f14e8fb7391c2d696", "score": "0.6548409", "text": "List<? extends Header> getAllHeaders();", "title": "" } ]
[ { "docid": "ca80dc898b8bdc9b96c6b0d917330ddd", "score": "0.7421871", "text": "public Set<String> getHeaderNames() {\n return headers.keySet();\n }", "title": "" }, { "docid": "01922f7de682120c478a08cef852e4e1", "score": "0.73719776", "text": "public HeaderSet getReceivedHea...
92da5095acb5c34b4700615a971c7b4c
Get the shape's current state as a string
[ { "docid": "6086fdcc438c4b5893b36eb7fadcdfa1", "score": "0.7098638", "text": "public String toString () {\n\t\tString state = (\"Origin at X: \" + origin.GetPointX() + \n\t\t\t\t\", Y: \" + origin.GetPointY() +\n\t\t\t\t\"\\nArea: \" + this.GetArea() +\n\t\t\t\t\"\\nCircumference: \" + this.GetCircumfer...
[ { "docid": "4f19f59466742f526db80b9cdcdb137d", "score": "0.753426", "text": "public String toString() {\r\n\t\treturn \"\" + this.state;\r\n\t}", "title": "" }, { "docid": "37566caf915af6b7cffba19af747cb6d", "score": "0.7402341", "text": "public String getStateToString();", "titl...
58c3746ba9acc7b6de3af05851efa77d
Convert a BasicEvent Object to a a JMS message XML payload
[ { "docid": "80cc95ac973ef77205f8a57e583a8d36", "score": "0.7644783", "text": "@Override\n\tpublic Message toMessage(Object eventObject, Session session) throws JMSException,\n\t\t\tMessageConversionException {\n\n\t\tif(!(eventObject instanceof BasicEvent)){\n log.error(\"Event is not a Basic...
[ { "docid": "a0898126ebe0a6990d19e54fc09f9e11", "score": "0.6601139", "text": "public BasicEventXMLMessageConverter(){\n\t\t \n\t }", "title": "" }, { "docid": "24b86d9709fd5fa107b62213a2b2ea46", "score": "0.622225", "text": "@Override\n\tpublic Object fromMessage(Message message) thr...
3b663003cdb1f0309fcd2a3a4f24d301
Test that when authenticate is called when a token needs refresh a new token is requested
[ { "docid": "686b7909da74d82868ab72e9ac378096", "score": "0.77022415", "text": "@Test\n void authenticatePreemptiveRenewal() {\n CouchDbSessionAuthenticator a =\n Mockito.spy(testAuthenticator);\n // Stub token response\n CouchDbSessionAuthenticator.CouchDbSessionTo...
[ { "docid": "63e5cbba095babccacd16ebb294540ed", "score": "0.7770792", "text": "@Test\n void authenticateExpiredRenewal() {\n CouchDbSessionAuthenticator a =\n Mockito.spy(testAuthenticator);\n // Stub token response\n CouchDbSessionAuthenticator.CouchDbSessionToken ...
1b0db9a86fbc30535f4932272842fb48
/ renamed from: a
[ { "docid": "d500f1f48e96b82bb2b66ef6bdd1dbfd", "score": "0.0", "text": "public final int mo19947a() {\n return this.f19397b;\n }", "title": "" } ]
[ { "docid": "acca3c01e51d08a4d60d67937f3fd23f", "score": "0.6243165", "text": "public interface C2525a {\n /* renamed from: a */\n void m12672a();\n }", "title": "" }, { "docid": "0b5ec8f53273b48128542de9a10a26fa", "score": "0.61942255", "text": "public interface C353...
245740c49eb2445ded859f989caf0a03
Static = modifier. A single copy of a variable/method is created and shared The class "owns" the static member; does not need to create an object.
[ { "docid": "8f7c062ad54bc93086dd7421e22f66ca", "score": "0.0", "text": "public static void main(String[] args) {\n\t\t\r\n\tFriends friends1 = new Friends(\"Amina\");\r\n\tFriends friends2 = new Friends(\"ndende\");\r\n\tFriends friend3 = new Friends(\"Ousmane\");\r\n\t\r\nSystem.out.println(Friends.Num...
[ { "docid": "3d1dd6c779e663f343da82de4bf78dea", "score": "0.6619147", "text": "public JField setStatic(){\r\n\t\tthis.isStatic = true;\r\n\t\treturn this;\r\n\t}", "title": "" }, { "docid": "f8897a2310dd0c46119910229a8d8ef5", "score": "0.64848804", "text": "public static void main(Str...
8ba9cac5366a499bffc8f182d9edd2c1
Convert Array into a List
[ { "docid": "a82b8bd309b06bffda835ec044976e2b", "score": "0.0", "text": "@And(\"^Find first with matching results$\")\n public void findFirstWithMatchingResults() {\n List<String> chin = Arrays.asList(\"Arin\",\"Kola\",\"ArinBoss\",\"Azbhijeet\");\n\n String p = chin.stream().filter(a ->...
[ { "docid": "370bd789349204731e79208050c48edd", "score": "0.8224755", "text": "public static <X> List<X> toList(X[] array){\n return new ArrayList<>(Arrays.asList(array));\n }", "title": "" }, { "docid": "17c942ab7ecafae35ad50789876242c2", "score": "0.73915946", "text": "pub...
88b3be0f750b3f39d809266623f9d28a
HttpServlet doGet(HttpServletRequest request, HttpServletResponse response)
[ { "docid": "c64ce4d51fd68a11dda657ed8ee80403", "score": "0.0", "text": "protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n // Content type\n response.setContentType(\"text/html\");\n PrintWriter write ...
[ { "docid": "a1d6e6835e166b1e8907c2ee39992d7e", "score": "0.8755168", "text": "public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\r\n\r\n\t}", "title": "" }, { "docid": "82513dc761d9d29f32c868f6a7a5f1ad", "score": "0.87394", ...
0dab1c8f5c2be2b53290eb3d62661690
If player played, remove callbacks and reset bar. Else update bar.
[ { "docid": "e847060034ed866f404040e917bfa5d3", "score": "0.5318565", "text": "public void run() {\n \tif (playerHasPlayed) {\n \t\tmyHandler.removeCallbacksAndMessages(null);\n \t\tmyProgressBar.setProgress(0);\n \t} else {\n myProgressBar.setProgress(myProgres...
[ { "docid": "c37cc916c17bf5d701f0b82ef54a9f2b", "score": "0.618111", "text": "private void primarySeekBarProgressUpdater() {\n \tseekBarProgress.setProgress((int)(((float)mediaPlayer.getCurrentPosition()/mediaFileLengthInMilliseconds)*100)); // This math construction give a percentage of \"was playing...
2c01a3010320817f5cd6cec96db1ebf6
$ANTLR start "command" /usr/local/cassandratrunk/src/java/org/apache/cassandra/cli/Cli.g:485:1: command : Identifier ;
[ { "docid": "8ca2a12085b66b944e77123e9e77a8dc", "score": "0.68205196", "text": "public final CliParser.command_return command() throws RecognitionException {\n CliParser.command_return retval = new CliParser.command_return();\n retval.start = input.LT(1);\n\n CommonTree root_0 = null...
[ { "docid": "ea00d556a415bcd4a0beb34224c7a754", "score": "0.6044309", "text": "static Command parseCommand(String command) {\n if (command == null || command.equals(\"<EOF>\")) {\n return new Command(Type.EOF);\n }\n command = command.toLowerCase();\n command = comm...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "7fa0055762a5ecc2f42d85aa35e3816a", "score": "0.0", "text": "public void modificar(Persona per) throws Exception {\n\t\tem.merge(per);\n\t\t\n\t}", "title": "" } ]
[ { "docid": "05a606445504484958a1c21e14b7198e", "score": "0.69474965", "text": "@Override\r\n\tpublic void sapace() {\n\t\t\r\n\t}", "title": "" }, { "docid": "8619203d4867f5c6d05eb9a5354405c0", "score": "0.6920049", "text": "@Override\n\t\tpublic void pintate() {\n\t\t\t\n\t\t}", ...
1b544633c2886b0d8ef18c775c81cd06
/ renamed from: b
[ { "docid": "2014e3c5a056aec577558bd9fdd21e89", "score": "0.0", "text": "private final void m6850b() {\n try {\n if (this.f2602c) {\n C0938m.m6816c().postDelayed(this, f2599a);\n }\n } catch (RuntimeException e) {\n throw e;\n }\n }"...
[ { "docid": "936e442a289981fd3ad0a2a96f6e4ea0", "score": "0.71242756", "text": "public void mo31290a(B b) {\n }", "title": "" }, { "docid": "42a240fcb50daa3297554af7226fcd8a", "score": "0.63455534", "text": "abstract void mo3092b(Object obj, B b);", "title": "" }, { ...
e1be920b5baaa5573ebb47fdab739c04
If there are more than one error list them out. For example, list out validation errors by each field.
[ { "docid": "549ae3d47556dc768e07320c1c0fb4a1", "score": "0.56182456", "text": "public OpenAPIDefinitionValidationResponseDTO errors(List<ErrorListItemDTO> errors) {\n this.errors = errors;\n return this;\n }", "title": "" } ]
[ { "docid": "e12dbd0702f39abc7b9b9cf820009131", "score": "0.6947672", "text": "public List fieldErrors() {\n\t\treturn errors;\n\t}", "title": "" }, { "docid": "023e0e9dbac149296c8067a8451f573b", "score": "0.6788043", "text": "@Override\n public String toString() {\n Strin...
263dcb9838302d75cdd3db372cfbdb5b
Inflate the layout for this fragment
[ { "docid": "43763fc1220bd2c90ec70cb7dc71f334", "score": "0.6663112", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n v =inflater.inflate(R.layout.fragment_root_scan_things, container, false...
[ { "docid": "4393c859154bbe16da7d6e207e3873ad", "score": "0.68913364", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {\n return inflater.inflate(R.layout.rss_list_fragment, container, false);\n }", "title": "" }, ...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "54c926df9613703956bac5580508ff18", "score": "0.0", "text": "@Override\n\t\t\t\tpublic void run() {\n\t\t\t\t\t\n\t\t\t\t\tString context = \"<div style=\\\"\\r\\n\" + \" display: block;\\r\\n\" + \" border: 1px solid #ccc;\\r\\n\"\n\t\t\t\t\t\t\t+ \" border-radius: 10px;\\r\\n\" + \...
[ { "docid": "fd7df110e087032be8c98522c4493f41", "score": "0.66835845", "text": "@Override\n public void otvori() {\n }", "title": "" }, { "docid": "fd7df110e087032be8c98522c4493f41", "score": "0.66835845", "text": "@Override\n public void otvori() {\n ...
518bf5364cda3c6202a1a392996f93d1
Inflate the menu; this adds items to the action bar if it is present.
[ { "docid": "9f4637ed5c7c70c439f52e563ed77a90", "score": "0.0", "text": "@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.login, menu);\r\n\t\treturn true;\r\n\t}", "title": "" } ]
[ { "docid": "af21c34586929dd479df15d2e4008cff", "score": "0.72254854", "text": "@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\r\n //inflater.inflate(R.menu.main_actions, menu);\r\n\t\treturn true;\r\n\t}", "title": "" }, { ...
af1e4f3fb1fb54326d6e1d9363167232
Removes the water from this maze's current tile.
[ { "docid": "f46dc78fa02fcabcf2f58a3a06ba4db1", "score": "0.88143736", "text": "public void removeWater() {\n\t\tif (!myWaters.contains(myCurrTile.getPoint())) {\n\t\t\tthrow new IllegalStateException(\"No water on this maze tile!\");\n\t\t}\n\t\tmyWaters.remove(myCurrTile.getPoint());\n\t}", "title"...
[ { "docid": "2ae038971d68d142f0b5b9379dbdfcfe", "score": "0.7302914", "text": "public void removeTile() {\r\n if (tiles.remove(getTop()))\r\n shearLine--;\r\n }", "title": "" }, { "docid": "2ade68270fea20d31bb63a54195e9b6f", "score": "0.6711914", "text": "@Overrid...
3835c2d5a0ef7d0eadc2bdc0b72e77a5
Set the log event mode as an enum
[ { "docid": "ad4da88e611e1c31aaa33c6705284fe9", "score": "0.68369544", "text": "public void setLogEventMode(final LogEventMode logEventMode)\n\t{\n\t\tthis.logEventMode = logEventMode;\n\t}", "title": "" } ]
[ { "docid": "5a7bcca1a035ab95b6814b22cf49f02a", "score": "0.70896333", "text": "public void setLogEventMode(final String logEventMode)\n\t{\n\t\tthis.logEventMode = LogEventMode.valueOf(logEventMode);\n\t}", "title": "" }, { "docid": "34f383b5796594dfe44b5d49d7dcb61f", "score": "0.6587298...
cdce3b115592081bf3f2130490ca7cee
Return an FabricUser object with the provided certificate and private key.
[ { "docid": "94aaacd7fde82d1ac0c161c9ed4fa43e", "score": "0.68845546", "text": "public static FabricUser getUser(String userId, String affiliation, String mspId, final String cert, final String pemPrivateKey) throws Exception {\n FabricUser appUser = new FabricUser(userId, affiliation, mspId, null...
[ { "docid": "c22d7c8ecccc825820c2d24be30378a1", "score": "0.5419792", "text": "public static FabricUser deserialize(String name) throws Exception {\n String fileName = \"hf_\" + name + \".json\";\n String dirPath = getBaseDirectory() + \"/hf_users\";\n File jsonFile = new File(dirPat...
8dc4b30677ef40f58423a37289418270
Bezeichnung der Versandart "ShippingTypeID" .dstore.values.StringValue shipping_type = 10017;
[ { "docid": "5285cda8acb21c21e0d74470ed6ca430", "score": "0.59480155", "text": "public io.dstore.values.StringValue getShippingType() {\n if (shippingTypeBuilder_ == null) {\n return shippingType_ == null ? io.dstore.values.StringValue.getDefaultInstance() : shippingType_;\n ...
[ { "docid": "0cd2e7efd0bf873595f1793ca9ce55b8", "score": "0.79004604", "text": "io.dstore.values.StringValue getShippingType();", "title": "" }, { "docid": "2124e91eb820c4532c107e2396d55ac9", "score": "0.6673659", "text": "io.dstore.values.StringValueOrBuilder getShippingTypeOrBuilder...
4972fe55175be655e2e5b05000d1c74a
Creates new form RouteDetailsPanelView
[ { "docid": "7a490b8fbc7d8029b05d278e010ac1db", "score": "0.7706458", "text": "public RouteDetailsPanelView() {\n initComponents();\n initTopPanel();\n }", "title": "" } ]
[ { "docid": "0186e9574949d98cc6226072fed3c322", "score": "0.599735", "text": "@FXML\n private void handleNewRoute() {\n Route tempRoute = new Route();\n boolean okClicked = mainApp.showRouteEditDialog(tempRoute);\n if (okClicked) {\n mainApp.getRouteData().add(tempRoute...
62bd650c638e9a494a974549687f7c1a
Returns true if field database is set (has been assigned a value) and false otherwise
[ { "docid": "4b5710d802a3c2dacc67888c83a8c820", "score": "0.717109", "text": "public boolean isSetDatabase() {\r\n return this.database != null;\r\n }", "title": "" } ]
[ { "docid": "d0e6a7f3e6b3344142f6573f949a96c5", "score": "0.7618483", "text": "public boolean isSetField() {\r\n return this.field != null;\r\n }", "title": "" }, { "docid": "d0e6a7f3e6b3344142f6573f949a96c5", "score": "0.7618483", "text": "public boolean isSetField() {\r\n ...
945678034b60a4810266f2ff0b1270fb
Update the bind parameters
[ { "docid": "aae97cda528a84bd4096e6139c982851", "score": "0.7916444", "text": "void updateParamMap (List<BindParameter> bindParams);", "title": "" } ]
[ { "docid": "49482817d3e7a46a28cc379b5732117a", "score": "0.7805211", "text": "@Override\n\tpublic void bindParameters() {\n\n\t}", "title": "" }, { "docid": "2045d43c5088c9682e0caf0169db3fa5", "score": "0.65404606", "text": "protected void bind(PreparedStatement preparedStatement, Pa...
b46e32726541c954077a3e5bf7919ff4
Test case number: 57 /Coverage entropy=0.08600930325110791
[ { "docid": "76d3cb51a2bfb574267282985742f306", "score": "0.0", "text": "@Test(timeout = 4000)\n public void test057() throws Throwable {\n Frame frame0 = new Frame();\n ClassWriter classWriter0 = new ClassWriter((-2879));\n Item item0 = new Item();\n // Undeclared exception!\n ...
[ { "docid": "fe2c88e93b06984ab138fd42b4ed1b18", "score": "0.708867", "text": "public void testEntropy() {\n Assert.assertEquals(1.0, InformationTheory.entropy(new long[] { 5, 5 }));\n Assert.assertEquals(1.0,\n InformationTheory.entropy(new long[] { 15, 15 }));\n\n // ...
d1d467a95abeea57f93b219f5f8fafe8
/Returns a vector of service objects by price
[ { "docid": "0613b243de1a3bee35e88df16072fae6", "score": "0.8030358", "text": "public Vector<Service> getServiceByPrice(float price) {\n Statement stmt = null;\n ResultSet rs = null;\n Vector<Service> returnVec = new Vector<Service>();\n\n try {\n stmt = conn.creat...
[ { "docid": "6edd60d8d6d5f1599b3d5d20239984d3", "score": "0.6524247", "text": "public Vector<Service> getAllServices() {\n Statement stmt = null;\n ResultSet rs = null;\n Vector<Service> returnVec = new Vector<Service>();\n\n try {\n stmt = conn.createStatement();\...
fd2ac987df558273051616397a002405
Created by fruit on 08.11.2017.
[ { "docid": "75e9cd81277d27abe2568fdd6577f549", "score": "0.0", "text": "public interface Element {\n void print();\n}", "title": "" } ]
[ { "docid": "663ac6f718361fb243bf093a1c7ded6a", "score": "0.58791524", "text": "@Override\r\n\tprotected void Goukakyuu() {\n\t\t\r\n\t}", "title": "" }, { "docid": "7679fd1b623986eeedb64db808e99029", "score": "0.55611205", "text": "@Override\n\t\t\tpublic void fahre() {\n\t\t\t\t\n\t...
db14dff279aa6c424137005336968d4a
Find the _Fields constant that matches name, or null if its not found.
[ { "docid": "df89e0a3046c32259e386bf9daf4403c", "score": "0.0", "text": "public static _Fields findByName(String name) {\n return byName.get(name);\n }", "title": "" } ]
[ { "docid": "3153394dd5efe71fc805def104941b14", "score": "0.7747651", "text": "@org.apache.thrift.annotation.Nullable\n public static _Fields findByName(String name) {\n return byName.get(name);\n }", "title": "" }, { "docid": "fea1511e55cd5ed747132c7946ddb7cf", "score": "0.773...
ba01dee07810a9cd8b90c587bf8b918f
criar classe com extend thread para aplicar o run para o backup
[ { "docid": "d4891ee99df571249c3b69b1377f3a0e", "score": "0.0", "text": "public String ola() throws RemoteException{\n System.out.println(\"Print no rmi do tomcat\");\n return \"ola123\";\n }", "title": "" } ]
[ { "docid": "848720973340f08f83f6ad12bb4b485f", "score": "0.6354632", "text": "private void runBuceador(){\n Thread t=new Thread(new Runnable(){\r\n Status status = new Status();\r\n \r\n @Override\r\n public void run() {\r\n //buceador.run();...
3d727518fc2ad184090c345f5e039dc4
Generate a sparse graph
[ { "docid": "87528c3209a42f02836f796285016eda", "score": "0.65900826", "text": "public void generateSparse(int degree) {\n vertices_cache = new ArrayList<Vertex>(vertices);\n for(int j=0; j< degree; j++) {\n for(Vertex v: vertices_cache) {\n if(v.degree < degree) {...
[ { "docid": "8b093790a4c6ca586c2aeb1b87ebdcc2", "score": "0.67337465", "text": "public Graph<State, Transition> createGraph(){\n Graph<State, Transition> g = new DirectedOrderedSparseMultigraph<State, Transition> ();\n startState.addToGraph(g);\n return g;\n }", "title": "" ...
42cad2d0b25d15c298c308bc4e3c1b30
Faz a contabilidade das paginas de uma certa producao. Os valores sao lidos do arquivo como string, portanto eles tentam ser convertidos para inteiro dentro desse metodo. Caso nao seja possivel, o erro eh capturado e nao sao acrescentadas paginas na contabilidade total. Caso sejam transformadas com exito, verificase se...
[ { "docid": "16f520922882ddb9e73bc3328c87d455", "score": "0.56916356", "text": "public void calculaQtdPags(String paginicial, String pagfinal) {\n\t\ttry {\n\t\t\tint pi = Integer.parseInt(paginicial);\n\t\t\tint pf = Integer.parseInt(pagfinal);\n\t\t\tif(pf >= pi && pf >= 0 && pi >= 0) {\n\t\t\t\tif(pf ...
[ { "docid": "a9d8d1723c4fab3d53552f63cbd38964", "score": "0.5753391", "text": "@RequestMapping(\"/pagempleados10nuemod\")\r\n\tpublic String paginacionEmpleados10NueMod(Model modelo, @RequestParam(value = \"numPag\", required = false) String numPag,\r\n\t\t\t\t\t\t\t\t\t\t\t\t @RequestParam(value =...
c57b120e9669567b59404978ed8ca00b
Task1: compute the miniFloat value from "bitSequence";
[ { "docid": "d40a251bea3585445fd526c3edc4410a", "score": "0.74812824", "text": "private static float miniFloatFromString(String bitSequence){\n \tdouble result;\r\n \tdouble exp = Math.pow(2, Integer.parseInt(bitSequence.substring(1,5),2));\r\n \tdouble k = 1;\r\n \tfor (int i=0;i<bitSequence...
[ { "docid": "f5167dfb7d28efdce281d775e8284508", "score": "0.7862508", "text": "private static float miniFloatFromString(String bitSequence){\r\n // Task1: compute the miniFloat value from \"bitSequence\";\r\n String signCharacter = bitSequence.substring(0, 1);\r\n int sign = (Integer...
edb0a4e2379bc629fb51aee576cff9e3
Translates a number in decimal numeral system to limitnary numeral system and puts digits to list dest (with shift=limit\2 so that values were symmetric relatively to 0)
[ { "docid": "3bab2a648b250df4a45d5dcab3fede8a", "score": "0.670382", "text": "public static void longToFunction(long value, long limit, List<Double> dest)\r\n\t{\r\n\t\tfor (int i = 0; i < dest.size(); i++)\r\n\t\t{\r\n\t\t\tlong digit = value % (2 * limit + 1);\r\n\t\t\tdest.set(i, (double) (digit - lim...
[ { "docid": "712cab30ffb661d6fab7ec24b8475304", "score": "0.5347037", "text": "public List<Integer> rightDigit(List<Integer> values)\n\t{\n\t\treturn values.stream().map((x) -> Math.abs(x % 10)).collect(Collectors.toList());\n\t}", "title": "" }, { "docid": "747872a932faaaaca040884d739e1cd4",...
b46022833a631fc029705f9914e142c4
sort array and return kth number
[ { "docid": "e502f3cd6e1563e2d32fd38bfa73fb28", "score": "0.684336", "text": "public int findKthLargest1(int[] nums, int k) {\r\n if(nums == null || nums.length == 0) return 0;\r\n \tArrays.sort(nums);\r\n \treturn nums[nums.length - k]; \r\n }", "title": "" } ]
[ { "docid": "ee8ad4a3de4b97facd11bce25d9ba38a", "score": "0.75593853", "text": "public static int kOrderValue(int[] array, int k) {\n //метод должен вернуть К по порядку элемент массива\n for (int j = 1; j < array.length; j++) {\n for (int i = 0; i <array.length - 1; i++) {\n ...
1b0db9a86fbc30535f4932272842fb48
/ renamed from: a
[ { "docid": "60ec87e2a8fe2f8bfa8c5983bb445145", "score": "0.0", "text": "public final void mo15058a(C33589k c33589k) {\n AppMethodBeat.m2504i(87510);\n if (this.jbE != null) {\n this.jbE.onShow(this);\n }\n this.jbG = c33589k;\n AppMethodBeat.m2505o(87510);\n...
[ { "docid": "6cff49359236dc9748a42472eaf4954c", "score": "0.63743937", "text": "public interface C35155a {\n /* renamed from: a */\n void mo89459a();\n }", "title": "" }, { "docid": "1ebc1f569daf5575be1aa061331ac667", "score": "0.63378584", "text": "public interface C...
533651fdce7a3312dec41b131ab7472d
Returns the current orientation of the given worm (in radians).
[ { "docid": "fa3fc9fa8589d58c3351bd11f23285ac", "score": "0.8465428", "text": "public double getOrientation(Worm worm){\n\t\treturn worm.getDirection();\n\t}", "title": "" } ]
[ { "docid": "5f92b7930fd41c5d6910c8d1158516e3", "score": "0.83963543", "text": "public double getOrientation(Worm worm) {\n\t\treturn worm.getDirection();\n\t}", "title": "" }, { "docid": "85eda56033af967c29b599c826d32887", "score": "0.81095505", "text": "@Override\n\tpublic double ge...
6bb22829eae8da0c6df147efbe101b4b
Prints: firstname lastname host_id
[ { "docid": "fa3f663f498833ffc8d983491ca3aa6b", "score": "0.78137827", "text": "@Override\n\tpublic String toString() {\n\t\treturn \"\" + firstName + \" \" + lastName + \" \" + host_id;\n\t}", "title": "" } ]
[ { "docid": "9c27d04e2eef0243b3cbe9284a22fd78", "score": "0.62613267", "text": "public void displayHosts() {\n\t\tDescribeHostsResult result = this.ec2.describeHosts();\n\t\tList<Host> hosts = result.getHosts();\n\t\tfor(Host h : hosts) {\n\t\t\tSystem.out.println(h.getHostId());\n\t\t}\n\t}", "title...
ee7fbc888484e5bce3217a7090dc6817
Se almacena en base de datos el nuevo modelo de cuestionario.
[ { "docid": "0f4f2bee36c98c6dd181b2501a0c5885", "score": "0.0", "text": "public void guardaNuevoCuestionario() {\n try {\n modeloCuestionario.setAreas(listaAreasCuestionario);\n modeloCuestionario.setEstandar(false);\n modeloCuestionarioService.save(modeloCuestiona...
[ { "docid": "730a604d696f1a3e2f2e193001157fd8", "score": "0.6409225", "text": "Navegacion createNavegacion();", "title": "" }, { "docid": "64d330776330cc311b2297ab6cb47c39", "score": "0.63945794", "text": "public OperacionModelo() throws BbddException, FicheroException {\n pers...
737fa5e70653f315891a980b32635f34
private methods ================================================================================ attributes of selected layer
[ { "docid": "bc3eb712f7ec92fd33d75e1659f1a0b8", "score": "0.0", "text": "private void loadAttributes()\n {\n AttributeHeader attributeHeader = mLayer.getAttributeHeader();\n LayoutInflater inflater = mMainActivity.getLayoutInflater();\n \n for(Column column: attributeH...
[ { "docid": "cac501a0e6d46842639a1144e13ac330", "score": "0.66635716", "text": "String getLayer() {\n return layer;\n }", "title": "" }, { "docid": "6ed59dbf2359b040f05dace2462f02cf", "score": "0.6613605", "text": "public void layerSelected(ImageLayer layer) {\n }", "...
55226f622a95fe2103a7ad59dc25ae5a
//////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////// read and print Operator(Mission) from .json get all .json files under one specific folder
[ { "docid": "5c07098b253cd35999e3c22d8efb64ca", "score": "0.724295", "text": "public ArrayList<String> read_all_json_files () {\n// \tFile folder = new File(\"./configuration/missions/\");\n \t\n\t\tString destination = System.getProperty(\"user.dir\");\n\t\tint last_indes = destination.lastIndexOf...
[ { "docid": "af594ea8d724e056a7f54937a9708b9b", "score": "0.64439607", "text": "public ArrayList<mission_node> load_mission_list() {\n \tArrayList<mission_node> mission_list = new ArrayList<mission_node>();\n \t\n \tArrayList<String> listOfFiles_json = read_all_json_files();\n \t\n \tfor (...
eb9446de4f7daf67991a058ace2a97f7
Returns the created Date of the task.
[ { "docid": "0a24a0860454c6ec66aecab72761604a", "score": "0.7559993", "text": "@NonNull\n public Date getCreated() {\n return created;\n }", "title": "" } ]
[ { "docid": "8be57d67267707920590538efb79e3e8", "score": "0.76798373", "text": "public Date getCreated() {\n\t\treturn created;\n\t}", "title": "" }, { "docid": "8be57d67267707920590538efb79e3e8", "score": "0.76798373", "text": "public Date getCreated() {\n\t\treturn created;\n\t}", ...
28cd1527ac093c45fb20f4bc84a58287
Test case number: 145 /Coverage entropy=0.9556998911125343
[ { "docid": "e9e4645974510d6c54463ce4851c08cc", "score": "0.0", "text": "@Test(timeout = 4000)\n public void test145() throws Throwable {\n ErrorPage errorPage0 = new ErrorPage();\n TextArea textArea0 = new TextArea(errorPage0, \"'\\\"FT/\\\"T\", \"null\");\n textArea0._setParent(errorP...
[ { "docid": "d6df76b4cd9e17e2c3e4b99debdb01f6", "score": "0.7212412", "text": "@Test\n public void test16() throws Throwable {\n TextDirectoryLoader textDirectoryLoader0 = new TextDirectoryLoader();\n Instances instances0 = textDirectoryLoader0.getDataSet();\n Evaluation evaluation0 = n...
3c1c148d3ecff908cd8d999d5bde7616
Constructor with Plateau and Position
[ { "docid": "33aaafb8f89e4ba837b0cd2514c6e01c", "score": "0.0", "text": "public Rover(Plateau tableland, Position pos) {\n\t\tthis.tableland = tableland;\n\t\tthis.pos = pos;\n\t}", "title": "" } ]
[ { "docid": "0ad587ddc3cedba21c9c53dbf3a80fe2", "score": "0.699287", "text": "public Posicion(){\r\n\t\tthis(Config.MIN_X, Config.MIN_Y);\r\n\t}", "title": "" }, { "docid": "b8f2a9ea298a1d744c5d1a29146bacff", "score": "0.69088435", "text": "public Position() {\n this(0,0,0);\n ...
1bf89447b80ec86ff401a389c9f91f7d
/ access modifiers changed from: protected
[ { "docid": "c286c3c8aef666fd75144f1295e21b87", "score": "0.0", "text": "public void onSizeChanged(int w, int h, int oldw, int oldh) {\n super.onSizeChanged(w, h, oldw, oldh);\n this.f764f = true;\n }", "title": "" } ]
[ { "docid": "d18a5453cb937c44d51c46c967f1f4f6", "score": "0.73730904", "text": "protected void method_3848() {}", "title": "" }, { "docid": "da34ed11fe7c5649b3cd0bdad6dca5df", "score": "0.71932817", "text": "@Override\n\t\tpublic void 비행() {\n\t\t\t\n\t\t}", "title": "" }, { ...
72b0ca90874c277b35e859fda260fd6e
Tests persisting a file.
[ { "docid": "3bfff5e10e260bafa3e86eb1a82c8aef", "score": "0.7455043", "text": "@Test\n public void persistTest() throws Exception {\n // write a file in alluxio only\n AlluxioURI filePath = new AlluxioURI(TEST_URI);\n FileOutStream os = mFileSystem.createFile(filePath,\n CreateFileOption...
[ { "docid": "1c098ed63c2fe2f7e8bebbf6fb95aecd", "score": "0.69178426", "text": "@Test\n\tvoid save() {\n\t\tboolean successfulSave = repo.save(\"test.csv\");\n\t\tassertEquals(successfulSave, true);\n\t}", "title": "" }, { "docid": "24e340cffd7e90445a11b318152bf3c1", "score": "0.68343073"...
779d3b45874a429630bf5ea4d78cba59
/ Had to edit this method in order for Null lists to work.
[ { "docid": "32173ed58ab6c9dc38856a42c4a7596b", "score": "0.0", "text": "@Override\n public String toString()\n {\n String s = \"\";\n Node<E> curNode = head;\n if (curNode != null) // added null check here. RR.\n {\n s += curNode.data + \" -> \";\n ...
[ { "docid": "d26d9cdb777cb0a9c81cf08777354a0f", "score": "0.6443052", "text": "@Override\n\tpublic List<E> init() {\n\t\treturn null;\n\t}", "title": "" }, { "docid": "ad3cf9dfebcb176007684e5abc3f63cf", "score": "0.6259565", "text": "@Override\n\tpublic List<T> getValue()\n\t{\n\t\tre...
95ea9e0709abd15c20e40c9d7d019f9f
Returns the corresponding value to a key in the keyMap (forward map).
[ { "docid": "1b97736d024604d185a876bbd3ee9a3c", "score": "0.6830299", "text": "public V keyMapGet(K k) {\r\n return keyMap.get(k);\r\n }", "title": "" } ]
[ { "docid": "2645067461e3c752c0d92f025f8dd67c", "score": "0.7188137", "text": "public String getValueFromMap(String key, String mapName);", "title": "" }, { "docid": "d57116abf863d323d472205108c61aa8", "score": "0.70709395", "text": "public V get(final K key) {\n\t\treturn map.get(key...
e5482510e4d4fefb8635e148dbfbfba8
$ANTLR end "rule__AtomicExpr__Group_4__0" $ANTLR start "rule__AtomicExpr__Group_4__0__Impl" ../com.rockwellcollins.atc.resolute.ui/srcgen/com/rockwellcollins/atc/resolute/ui/contentassist/antlr/internal/InternalResolute.g:6441:1: rule__AtomicExpr__Group_4__0__Impl : ( () ) ;
[ { "docid": "cce9b936d8e933ab3780963bcaa9879c", "score": "0.76934344", "text": "public final void rule__AtomicExpr__Group_4__0__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../com.rockwellcollins.atc.resolute.ui/src-gen/...
[ { "docid": "b7e87c8d8a505405c061db449bd103aa", "score": "0.8006624", "text": "public final void rule__Atomic__Group_0__4() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../at.caks.eglipse.lang.glsl.ui/src-gen/at/caks/eglipse/la...
b3fa9c2aa875f12ae094001a9ee9b072
the constructor of the class
[ { "docid": "03c6f99dc94ac2ad7565313878dd1f3a", "score": "0.0", "text": "public JWidgetMenuItemsManager(JWidgetManager jwidgetManager) {\n\n\t\tthis.jwidgetManager = jwidgetManager;\n\t}", "title": "" } ]
[ { "docid": "58242129d885d67e85588b2959587d6f", "score": "0.75569093", "text": "public Casilla() {\r\n }", "title": "" }, { "docid": "ef3ca941b79c6c00101bfe23873f9560", "score": "0.75321984", "text": "public HoDan() {\r\n\t\t\r\n\t}", "title": "" }, { "docid": "5bc920f6...
c359ab81e02129697b6e83ebd2d4b10b
Get the displayValues value.
[ { "docid": "e1bca77eaaa17e093e6f075eeaf5308d", "score": "0.82267916", "text": "public Object displayValues() {\n return this.displayValues;\n }", "title": "" } ]
[ { "docid": "4e56acd2985778498553368ab0a62229", "score": "0.6990504", "text": "public String getDisplayValue();", "title": "" }, { "docid": "2f4f9d60ba90691a3ddbf18dbbf054d1", "score": "0.670213", "text": "public String getValueToShow() {\n return valueToShow;\n }", "tit...
8d46c3c37941dcb76bdf972a376b94ba
The number of errors in the API Definition
[ { "docid": "528884f8a1df3a1dfa012d3d1b1c90d8", "score": "0.0", "text": "public AuditReportDTO numErrors(Integer numErrors) {\n this.numErrors = numErrors;\n return this;\n }", "title": "" } ]
[ { "docid": "79c9c3b8f62c1cf85b9c2f46b5d08b24", "score": "0.79244775", "text": "int getErrorCount();", "title": "" }, { "docid": "79c9c3b8f62c1cf85b9c2f46b5d08b24", "score": "0.79244775", "text": "int getErrorCount();", "title": "" }, { "docid": "79c9c3b8f62c1cf85b9c2f46b5...
ccf88f073d671ed96c07a9063403b826
This ensures that response callbacks run in the invocation context, not the client one. This allows async chaining to appear caused by the parent, not by the most recent client. Otherwise, we would see a client span child of a client span, which could be confused with duplicate instrumentation and affect dependency lin...
[ { "docid": "9c06991b7b8d2b22c60c563bd0217b44", "score": "0.5894192", "text": "@Test public void callbackContextIsFromInvocationTime() {\n AssertableCallback<HelloReply> callback = new AssertableCallback<>();\n\n // Capture the current trace context when onSuccess or onError occur\n AtomicRefere...
[ { "docid": "597c1c739983bc22293e898c2d61840f", "score": "0.6609689", "text": "@Test public void usesParentFromInvocationTime() {\n server.enqueueDelay(TimeUnit.SECONDS.toMillis(1));\n GreeterGrpc.GreeterFutureStub futureStub = GreeterGrpc.newFutureStub(client);\n\n TraceContext parent = newTrac...
3cc21096b6eca779a688539d1968913e
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.
[ { "docid": "2d7d5b9a550bb258b680a9b860c017a8", "score": "0.0", "text": "@Override\n\tpublic boolean onOptionsItemSelected(MenuItem item) {\n\t\tint id = item.getItemId();\n\t\tif (id == R.id.action_settings) {\n\t\t\treturn true;\n\t\t}\n\t\treturn super.onOptionsItemSelected(item);\n\t}", "title": ...
[ { "docid": "e82ca6202d1e2bfa26947f3955c40bbe", "score": "0.7841155", "text": "@Override\r\n public boolean onOptionsItemSelected(MenuItem item) {\r\n switch (item.getItemId()) {\r\n case android.R.id.home:\r\n // app icon in action bar clicked; go home\r\n ...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "1e198f4de498b425733ce647305dd697", "score": "0.0", "text": "@Override\n public Object getItem(int arg0) {\n return arg0;\n }", "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}"...
c3317449bf9aca0704dac120a5aed75d
Returns an ArrayList of RavensAttribute characterizing this RavensObject.
[ { "docid": "1a4849c87aa5c3099a1cc4ff07eac7e5", "score": "0.8085473", "text": "public ArrayList<RavensAttribute> getAttributes() {\r\n return attributes;\r\n }", "title": "" } ]
[ { "docid": "1eb0bf908ce006471b08dee2834b6189", "score": "0.7042175", "text": "public String[] getAtrributesList() {\n return attributesList;\n }", "title": "" }, { "docid": "9773f6a162fa0b50cdad38ce54e8331d", "score": "0.70240396", "text": "public List getAttributes() {\n ...
bd60d2ccfff5aea41845a9afe2ccc46e
observable object which notifies observers about the changes in its state
[ { "docid": "14d1bcf253ff2dd9453b7595316db548", "score": "0.6591838", "text": "public void observer() {\n support.firePropertyChange(\"0\", this.running,\"0\");\n }", "title": "" } ]
[ { "docid": "9cf2bf923218593b9791a66658c7a346", "score": "0.7711521", "text": "private void stateChanged() {\r\n setChanged();\r\n notifyObservers();\r\n }", "title": "" }, { "docid": "08b2ecb97d33ebb930e84b6310c06ff5", "score": "0.7354572", "text": "public interface ...
61f0955a4d30129480363e5008d1f131
Creates an AgentCommandParser from the passed command and validates that the content within matches the passed expected values
[ { "docid": "16df5bef28fdf2172b8a9b2d21fe0c6a", "score": "0.0", "text": "public static void test(final String cmd, final String zookeep, final String app, final String host, final JMXMPSpec[] specs, final Endpoint[] endpoints) {\n\t\tfinal AgentCommandParser parser = new AgentCommandParser(cmd).parse();\...
[ { "docid": "40a9c77edd98aa356267dbc95d03151d", "score": "0.55234516", "text": "private <T extends Command> T parseAndAssertCommandType(String input, Class<T> expectedCommandClass) {\n final Command result = parser.parseCommand(input);\n assertTrue(result.getClass().isAssignableFrom(expecte...
6649f931ba72462a5b3077ddfcf5dbf8
This method was generated by Apache iBATIS ibator. This method returns the value of the database column users.account
[ { "docid": "8e5c8f428469465e821af159fb84e14c", "score": "0.76211625", "text": "public String getAccount() {\r\n return account;\r\n }", "title": "" } ]
[ { "docid": "dbf81767741571945cb829c06002e5dd", "score": "0.78057545", "text": "public String getAccount() {\n\n return this.account;\n }", "title": "" }, { "docid": "7f1095153e4dd52a3fa3c2507c727161", "score": "0.78038603", "text": "public String getAccount () {\n\t\treturn...
3b6b63b7c29c041a126660e05d5843e1
Test case number: 152 /Coverage entropy=0.6597507775722828
[ { "docid": "bfb02ad21412da1c54a13fb7c4d3802f", "score": "0.0", "text": "@Test(timeout = 4000)\n public void test152() throws Throwable {\n Frame frame0 = new Frame();\n ClassWriter classWriter0 = new ClassWriter(1);\n Item item0 = classWriter0.newFieldItem(\"<VoE'a%?%c7X*yCJ\", \"<VoE'...
[ { "docid": "edbd254adb205bdee80095b913541089", "score": "0.7058078", "text": "@Test(timeout = 4000)\n public void test085() throws Throwable {\n TestInstances testInstances0 = new TestInstances();\n Instances instances0 = testInstances0.generate();\n Evaluation evaluation0 = new Evalua...
d687c8d0c750eceef911f5430643c832
Translate a premultiplied integer number (e.g. 35) to a localespecific percentage (35%). wholeNumberToPercentage(88) > 88%
[ { "docid": "7569c912e98464ec3dc765fc9ffe05ec", "score": "0.73993653", "text": "public static String wholeNumberToPercentage(int n) {\n return I.trf(\"{0,number,percent}\", n / 100.0);\n }", "title": "" } ]
[ { "docid": "4862343ab0f8fd39cd4a2e0d0ae6e395", "score": "0.683781", "text": "public static String fractionalNumberToPercentage(Number n) {\n Locale l = I.languageProvider.vend().locale;\n NumberFormat fmt = NumberFormat.getPercentInstance(l);\n fmt.setMaximumFractionDigits(2);\n fmt.setMinim...
23b559fd076cd63bdd948a69d4785f4c
Constructs a new world rumbler the will rumble 'camera' when called upon
[ { "docid": "d0595be5df13837036624e3fd471bf3c", "score": "0.7962702", "text": "public WorldRumbler(OrthographicCamera camera) {\n\t\tthis.camera = camera;\n\t\trandom = new Random();\n\t}", "title": "" } ]
[ { "docid": "871528cf4b87144eaf7071cdd8a76404", "score": "0.6545384", "text": "World createWorld();", "title": "" }, { "docid": "4ed73fffc480b1b0d5b79abd7630c1f9", "score": "0.6404444", "text": "private Level bgWorldSetup() {\n float w = Gdx.graphics.getWidth();\n float ...
f60da48947dc2f00ab030e1d7f2ceb8d
Pass the settings flags by inserting them in a bundle
[ { "docid": "c737b65caf7b4e4582a7f514472b909e", "score": "0.0", "text": "public void onSync(MenuItem v){\n Bundle settingsBundle = new Bundle();\n settingsBundle.putBoolean(\n ContentResolver.SYNC_EXTRAS_MANUAL, true);\n settingsBundle.putBoolean(\n Cont...
[ { "docid": "8c442ab20b1ca9a3390c609175b42e66", "score": "0.5999389", "text": "void setFlags(String flags);", "title": "" }, { "docid": "92ed4fc8d3f24f0dc341f1e2a1e1bd16", "score": "0.5913234", "text": "private void customizeSettingValues(Context context, SharedPreferences sp) {\r\n /...
9ed2df3d7fa6274ab9158f42b29f5e4c
Returns true if the current array or object has another element.
[ { "docid": "1bf3f12c487aaec2f67dee931add1c50", "score": "0.0", "text": "public boolean hasNext() throws IOException {\n int p = peeked;\n if (p == PEEKED_NONE) {\n p = doPeek();\n }\n return p != PEEKED_END_OBJECT && p != PEEKED_END_ARRAY && p != PEEKED_EOF;\n }", "title": "" } ]
[ { "docid": "31c1d42990b08a911184c3e11e9136e9", "score": "0.70698726", "text": "public boolean hasElement() {\n return instance.hasElement();\n }", "title": "" }, { "docid": "b96d57712a2978403ff8d9e5a5cafd50", "score": "0.66940755", "text": "@Override\n public boolean contain...
d35d747ff73bbebf7a2bbcf64df8c056
Symbol (im Regelfall der ISOCode) der Einheit "CurrencyID" .dstore.values.StringValue currency = 10013;
[ { "docid": "8215a1b76b24740db615aa0d534699d2", "score": "0.5674347", "text": "public io.dstore.values.StringValue getCurrency() {\n if (currencyBuilder_ == null) {\n return currency_ == null ? io.dstore.values.StringValue.getDefaultInstance() : currency_;\n } else {\n ...
[ { "docid": "c2b43e199e5f587c9a81b0eaff334121", "score": "0.7622318", "text": "io.dstore.values.StringValue getCurrency();", "title": "" }, { "docid": "17e09e1bf1afc139471df171410f4d29", "score": "0.66516757", "text": "public String getCurrencySymbol() {\n\t\tbyte[] arr = m_struct.Cur...
7f02ec8a551f844c15c60bf61cfa7660
/ PackageDeclaration: 'package' name = QualifiedName ';' ; / QualifiedNameWithWildcard: QualifiedName "."?;
[ { "docid": "5c38ca27757d45e456bf45f555ac7cf5", "score": "0.5044758", "text": "public QualifiedNameWithWildcardElements getQualifiedNameWithWildcardAccess() {\n\t\treturn (pQualifiedNameWithWildcard != null) ? pQualifiedNameWithWildcard : (pQualifiedNameWithWildcard = new QualifiedNameWithWildcardElement...
[ { "docid": "dd08a7a9d274f1cf6edd28e59e22d59f", "score": "0.7137841", "text": "PackageDeclaration createPackageDeclaration();", "title": "" }, { "docid": "37320c8bfe87c2cbdb13a7d5b0fb7791", "score": "0.65713537", "text": "public void visitPackageDeclaration(GNode n){\n\t\t\t\t\tString...
7b4a066f84529c7eccd8a1a685d0aed2
Test case number: 2 /Coverage entropy=1.0986122886681096
[ { "docid": "119920265d663e626dabfd31900ea714", "score": "0.0", "text": "@Test(timeout = 4000)\n public void test2() throws Throwable {\n MockInetAddress.getByName(\"Couldn't close input stream\");\n Proxy proxy0 = Proxy.NO_PROXY;\n MockSocket mockSocket0 = new MockSocket(proxy0);\n ...
[ { "docid": "dc7afd015f73b66477d28310a9524aa9", "score": "0.6935201", "text": "@Test\n public void testEntropy() {\n System.out.println(\"entropy\");\n TDistribution instance = new TDistribution(20);\n Assert.assertEquals(1.46954202, instance.entropy(), 1.0E-7);\n }", "titl...
21108cbf6b3ae7596ff242a5aabc5656
recuperation du patient par id
[ { "docid": "708d1b00496c4edbc7da1db0d707ac14", "score": "0.626485", "text": "receptionniste getRep(int id) throws SQLException;", "title": "" } ]
[ { "docid": "393a12eb89bc9b7d8eb61a513489d59e", "score": "0.75159436", "text": "public Patient getPatient(int id_patient);", "title": "" }, { "docid": "bbf3a29e29ddc08a8a5bec515bd2b21a", "score": "0.7161092", "text": "int getPatientId();", "title": "" }, { "docid": "d2e1c6...
c6c7cf8d1f74608b23ea62b3fbffdbdd
deleteAll: Deletes all existing customers from the database. DELETE request to /customers/DeleteAll.
[ { "docid": "07576a4eba9735126fdc3303f519356a", "score": "0.804161", "text": "@Transactional\n @Security.Authenticated(ActionAuthenticator.class)\n public Result deleteAll() {\n int count = customerService.deleteAll();\n if (count == 0)\n return ok(\"No customers currently ...
[ { "docid": "ecf73803d7b5b2d222c0c73bcd528fac", "score": "0.7861064", "text": "@DeleteMapping(\"/Customers\")\n\tpublic String deleteAll() {\n\t\tlog.debug(\"All Customers are Deleted Successfully\");\n\t\tcustomServiveImpl.deleteAllCustomers();\n\t\treturn \"All employee records deleted.\";\n\t}", "...
9b34aed9f00df34f5e2997bfa0a3a72c
onPostExecute used to return results
[ { "docid": "e4a78bffa23ab9a0b1b39eb0110a51de", "score": "0.71620375", "text": "@Override\n protected void onPostExecute(String[] data) {\n super.onPostExecute(data);\n delegate.processFinish(data);\n }", "title": "" } ]
[ { "docid": "c12a2700f79ef4b941c7f0fda21a03f8", "score": "0.8189538", "text": "@Override\n protected void onPostExecute(List result)\n {\n }", "title": "" }, { "docid": "685bd4d07025d34317a89ef524d8a296", "score": "0.8155944", "text": "protected void onPostExecute(Object resu...
9e05b451029c38ef068d0d3cd636813a
Sets an object declared in the rule complementaryRoles_PATH_1_GOAL_1_COMPONENT_txtParcela1_1.
[ { "docid": "40574e0cd53645232b872fde0685ee87", "score": "0.7393025", "text": "private void setObject_complementaryRoles_PATH_1_GOAL_1_COMPONENT_txtParcela1_1(int index, Object value) {\r\n switch (index) {\r\n case 0: this.module_entity_Action_1 = (module.entity.Action) value; break;\r...
[ { "docid": "f15e6b2c9db3c2df25bee1afc64bd79b", "score": "0.7401507", "text": "private void setObjects_complementaryRoles_PATH_1_GOAL_1_COMPONENT_txtParcela1_1(Object[] objects) {\r\n module_entity_Action_1 = (module.entity.Action) objects[0];\r\n module_entity_MERFunction_1 = (module.entit...
3550b1132ae1445b128dae2e55ba00a8
DataAccessObject Interface Extend the ReadOnly form (for Get), and add manipulation methods
[ { "docid": "2d255a9f50314737af37da9bdb7421bf", "score": "0.61414695", "text": "public interface DAO<TRANS extends Trans,DATA> extends DAO_RO<TRANS,DATA> {\n\tpublic Result<DATA> create(TRANS trans, DATA data);\n\tpublic Result<Void> update(TRANS trans, DATA data);\n\t// In many cases, the data has been ...
[ { "docid": "2888867b2acf6675e8dc323e59bc577c", "score": "0.65610975", "text": "public interface DataAccessObject {\r\n\r\n\t/**\r\n\t * Permet d'ajouter une note a la base de donnee.\r\n\t * \r\n\t * @param note\r\n\t * La note a ajouter.\r\n\t */\r\n\tvoid ajouterNote(Note note);\r\n\r\n\t/*...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "97d85b582e0f97db9a0a3103cbdda28b", "score": "0.0", "text": "public static void main(String[] args) {\n\t\tTreeNode root=new TreeNode(1);\n\t\troot.left=new TreeNode(2);\n\t\troot.right=new TreeNode(3);\n\t\troot.left.left=new TreeNode(4);\n\t\troot.right.right=new TreeNode(5);\n\t\tTreeNode ...
[ { "docid": "ef1b6c3f597a66c59960d73eadee6f25", "score": "0.6904447", "text": "private void apparence()\n\t\t{\n\n\t\t}", "title": "" }, { "docid": "4862518dedb9e169c3cc620e5ebe04c5", "score": "0.6696056", "text": "@Override\r\n\tpublic void atura() {\n\t\t\r\n\t}", "title": "" ...
6429230be1fd11661ec8cfb575501226
MOVES ALL OBJECTS IN THE WINDOW
[ { "docid": "8a2c67655d2847f0bf97c19faad5b2c5", "score": "0.5977497", "text": "public void move()\r\n {\r\n \tone.move();\r\n \tmoveZombies();\r\n \tmoveBullets();\r\n }", "title": "" } ]
[ { "docid": "d6abfd1977d228fca26574c904ee6aea", "score": "0.7046634", "text": "public void moveObjects() {\n try {\n if (getEnemies().size() > 0) {\n for (Enemy enemy : getEnemies()) {\n enemy.move();\n }\n }\n } catch (...
9a85942b470551588f56e680ad483846
System.out.println("enter size"); int n = s.nextInt();
[ { "docid": "0c5f3c27c6b92f2649a912ab216d9777", "score": "0.0", "text": "public static long[] takeinput(int n) {\n\t\tlong arr[] = new long[n];\r\n\t\tfor (int i = 0; i < arr.length; i++) {\r\n\t\t\tarr[i] = 0;\r\n\t\t}\r\n\t\treturn arr;\r\n\t}", "title": "" } ]
[ { "docid": "471fcb171ff17382180ac9e3527a0671", "score": "0.69301945", "text": "public static void main(String[] args) {\n\r\n\r\n\r\n\r\n Scanner sc = new Scanner(System.in);\r\n\r\n int n = sc.nextInt();\r\n int[] arr = new int[n];\r\n \r\n for(int i=1; i<n; i++) {\r\...
f30663803260a5d1bd17269380437777
This cast should not fail as we should not have other implementations of ReadableStringMap in the client.
[ { "docid": "ae6bcfcce542764adace5309ea2f993c", "score": "0.0", "text": "@Override\n public void putAll(ReadableStringMap<V> pairsToAdd) {\n backend.putAll(((JsoStringMap<V>) pairsToAdd).backend);\n }", "title": "" } ]
[ { "docid": "bdb8b6c1059bb83d02b4fe3e56b60a1b", "score": "0.5714416", "text": "public interface MapStringSupport {\n public String getObjectMappedString();\n}", "title": "" }, { "docid": "81d87172c6db0fa30788dc6419174da1", "score": "0.5298197", "text": "StringMap getAsProperties();...