query_id
stringlengths
32
32
query
stringlengths
7
129k
positive_passages
listlengths
1
1
negative_passages
listlengths
88
101
c8faf2db2f113290749c69015d269a46
Returns the corresponding memory address of given symbol.
[ { "docid": "4cbb28bcf2058c034908095c6563d27a", "score": "0.7715516", "text": "public int getAddress(String symbol) {\n return symbolTable.getOrDefault(symbol, -1);\n }", "title": "" } ]
[ { "docid": "49d90487ef0ce365f639d7a6fec9f672", "score": "0.7478739", "text": "public Integer getAddress(String symbol) {\n \treturn Tabela_de_Simbolos.get(symbol);\n }", "title": "" }, { "docid": "431dabf97924f3db83f88a5840d7815b", "score": "0.6885314", "text": "public int symb...
e7a5de1cbdaabae0d5180017bcf30f84
subsamples and converts the data to the buffer representation needed for the graphics card. Also does average filtering.
[ { "docid": "768a9a0d1252fe68a7fb978fe961e0a5", "score": "0.0", "text": "private static void convertToBuffers(ArrayList<DecompressedLine> lines, float _l0, float _b0, PfssDecompressed _frame)\n\t{\n\t\tint stoSize = 0;\n\t\tint stsSize = 0;\n\t\tint otsSize = 0;\n\t\tint totalSize = 0;\n\t\tfor (int i = ...
[ { "docid": "1b8ae22469e293b184242dd68ae6d245", "score": "0.57519764", "text": "public void run() {\r\n /*try {\r\n AudioSystem.write(m_audioInputStream, m_targetType, outFile);\r\n } catch(IOException e) {\r\n e.printStackTrace();\r\n }*/\r\n //diagram.display();\r\n ...
06e317ab161eaa7821a383dd862e336b
$ANTLR end "rule__ChangeValueUnOp__Group__0__Impl" $ANTLR start "rule__ChangeValueUnOp__Group__1" InternalDsl.g:29729:1: rule__ChangeValueUnOp__Group__1 : rule__ChangeValueUnOp__Group__1__Impl rule__ChangeValueUnOp__Group__2 ;
[ { "docid": "dd09deb8b38450f88a25e2725e41adb9", "score": "0.79761726", "text": "public final void rule__ChangeValueUnOp__Group__1() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDsl.g:29733:1: ( rule__ChangeValueUnOp__Grou...
[ { "docid": "60ea9ef2ba527e652cb5068b871baad1", "score": "0.802517", "text": "public final void rule__ChangeValueUnOp__Group__2() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalDsl.g:29760:1: ( rule__ChangeValueUnOp__Group_...
bc8ab192d700e8e9a536bc859cfdc0be
Check if the specified parameter is defined.
[ { "docid": "a0e7612078254ea0307c172990e5b639", "score": "0.0", "text": "public boolean contains(String name) {\n return params.containsKey(name);\n }", "title": "" } ]
[ { "docid": "91b8c692c21149583c20719e0fca5be8", "score": "0.7864809", "text": "boolean hasIsParam();", "title": "" }, { "docid": "61f792addd44f6310a33b9d3da76fa17", "score": "0.7786397", "text": "public boolean hasParameter() {\n\t\treturn parameters != null && !parameters.isEmpty();\...
518bf5364cda3c6202a1a392996f93d1
Inflate the menu; this adds items to the action bar if it is present.
[ { "docid": "b503fc7fa1f36527045b729accf7ab38", "score": "0.0", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu_main, menu);\n return true;\n }", "title": "" } ]
[ { "docid": "d74efebd6fe79f46209a7e8cb2c52d89", "score": "0.718687", "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": "" }...
a53cc98d91cb4cec2936915c8ee1d516
This method was generated by MyBatis Generator. This method sets the value of the database column admin_user_role.user_id
[ { "docid": "507cac0eb055bcdc1bac66f6c01d27a9", "score": "0.0", "text": "public void setUserId(Long userId) {\n this.userId = userId;\n }", "title": "" } ]
[ { "docid": "c9b67756781f01501e47c0d89b519ee0", "score": "0.67337", "text": "public void setUserRoleId(int i) {\n this.userRoleId = i;\n }", "title": "" }, { "docid": "aac5748f2c97a06c481b9270845277ea", "score": "0.6721854", "text": "@Override\n public void updateRole(Use...
49539f018794a51807bcb3bee2ba9df6
Optional arbitrary user classification
[ { "docid": "7ac308e93eded6ce6c6d7772e2e9bd2d", "score": "0.0", "text": "String definitionKeyword2();", "title": "" } ]
[ { "docid": "39896b0d7bae8a3e481b6dd0294e7ae1", "score": "0.56643975", "text": "public abstract boolean classify() throws ClassificationException;", "title": "" }, { "docid": "22943f3953e080d52b007063cb1a8301", "score": "0.5509793", "text": "public boolean setUser(String user);", ...
97886e3dcb713ee7731a88541ae14289
Check if the image file the user selected exists
[ { "docid": "c38a291fc51634ce73caedf761733171", "score": "0.8171167", "text": "private void checkImageFileExists() {\n\n String image_path = preferences.getString(IMAGE_PATH_KEY, null);\n\n boolean file_exists = false;\n if(image_path != null) {\n File image_file = new Fil...
[ { "docid": "eeda38895dd9abe7c29d23cfadaf019b", "score": "0.7378039", "text": "private boolean hasImageExist(File inputClassFile) {\t\t\t\t\r\n\t\tFile file = Paths.get(getImagePath(inputClassFile)).toFile();\r\n\t\treturn file.exists();\r\n\t}", "title": "" }, { "docid": "7f226e91b948bb55779...
42280810a9b863e0f9fd8a937a8553b3
Give a single instance of the writer for this table.
[ { "docid": "84ad0b9bd80c44640e92f6051fe5ab70", "score": "0.6492212", "text": "@Override\n protected BatchWriter getWriter() {\n return writer;\n }", "title": "" } ]
[ { "docid": "ab879478bcbb22ba99d3ed56fa64976c", "score": "0.67249435", "text": "@Override\n public DBWriter createWriter() {\n return new DBWriter();\n }", "title": "" }, { "docid": "1abfbeabbfd1228aff894b672e1cfc8c", "score": "0.6393014", "text": "public IWriter getWrite...
5c46fedd1ec74cbc739dc222519ce75b
Test of editSupe method, of class SightingsDaoImpl.
[ { "docid": "a0befe16ef1e418da938a21d3f76c18f", "score": "0.67877", "text": "@Test\n public void testEditSupe() throws SupeDoesNotExistException {\n Supe supeToAdd = new Supe();\n supeToAdd.setName(\"SuperMan\");\n supeToAdd.setDescription(\"SuperHuman Strength\");\n Power ...
[ { "docid": "fac7c390805bf7ba506749d123cd22ce", "score": "0.6963966", "text": "@Test\n public void testUpdateSighting() {\n Champion champ = new Champion();\n List<Power> powers = dao.getAllPowers();\n champ.setName(\"The Tick\");\n champ.setChampionDesc(\"Big and Blue\");\...
ccdcbe280e942d41bb5168fc496aacd4
/ join method for "ship whole" mode
[ { "docid": "b3f9389fdc8bb4a990ff3e95de733103", "score": "0.62023664", "text": "@Override\n\tpublic void joinShipWhole(Relation r)\n\t\t\tthrows RemoteException {\n\t\ttracker.takeTime(\"join\", Type.get);\n\t\tif (relation == null) {\n\t\t\tthrow new RuntimeException(\"can't join this\");\n\t\t}\n\t\tNe...
[ { "docid": "3312076865b9388c3bf7f58f4de9fb0b", "score": "0.6108142", "text": "void combinePieces(U toJoin, boolean simultaneous);", "title": "" }, { "docid": "d596f518a9a0f42b773787b639c71482", "score": "0.6025863", "text": "net.runelite.client.party.Party.Join getJoin();", "titl...
b03b9309e428ececfa0bef3b6fbc00b9
/ JADX DEBUG: Multivariable search result rejected for r6v0, resolved type: boolean / JADX WARN: Multivariable type inference failed
[ { "docid": "b2eee7d97c7db5e99ba7ebf4baf02cf2", "score": "0.0", "text": "@Override // com.oppo.enterprise.mdmcoreservice.aidl.IDeviceRestrictionManager\n public void setSettingsApplicationDisabled(ComponentName compName, boolean disable) {\n PermissionManager.getInstance().checkPermission();\n ...
[ { "docid": "8a1691e1942ae06b8dfaf4a792b7f2e2", "score": "0.5712835", "text": "@ReflectiveMethod(name = \"aR\", types = {})\n public boolean aR(){\n return (boolean) NMSWrapper.getInstance().exec(nmsObject);\n }", "title": "" }, { "docid": "19e1670fb36e817410d869fe5d4026fb", ...
c009f2ad39d6bab1a5a90890cdef1080
Saves a fiBillAccountWarning's information
[ { "docid": "60d45abee0e358d7e5cf4381b37b0624", "score": "0.8983371", "text": "public void saveFiBillAccountWarning(FiBillAccountWarning fiBillAccountWarning);", "title": "" } ]
[ { "docid": "8f965baff2d3a38e4047c1e3cdc405e5", "score": "0.63652694", "text": "public void saveAccount(Account account);", "title": "" }, { "docid": "0cb06954b4fbde856645ba8af44320e7", "score": "0.6296674", "text": "@Override\r\n\tpublic void savingAccount() {\n\t\tSystem.out.println...
7ea185642b3b94f40141eb39b2e1e005
Construct a matcher with additional acceptable test runners.
[ { "docid": "7ab5cf31b70c6b9e564ed5becfb296fb", "score": "0.51646304", "text": "public JUnit4TestNotRun(String... additionalTestRunners) {\n this();\n this.testRunners.addAll(Arrays.asList(additionalTestRunners));\n }", "title": "" } ]
[ { "docid": "12116479db1657dc5a70bcd100be2c90", "score": "0.5269947", "text": "@Test\n public void testCreateMatcher() throws Exception {\n Assert.assertTrue(\"should return a Matcher object\",\n dataValidator.createMatcher(dataValidator.REWARDS_PATTERN,\n \"hi i have ...
6743f0d8df4f5b69c828e5ca6d6efc7c
Finds an element based on give column name
[ { "docid": "08f45cb4912328b5c6ecdd2367b7fa38", "score": "0.7110861", "text": "public Element findElement(String columnName){\n\t\tInteger key = attributeMap.get(columnName);\n\t\tif(key == null){\n\t\t\treturn null;\n\t\t}\n\t\t\n\t\treturn disjointSet.get(key);\n\t}", "title": "" } ]
[ { "docid": "b1ddba615978b7432bab165796f8eb74", "score": "0.7265567", "text": "@Override\n public Column findColumn(String columnName) {\n for (Column column : getColumns()) {\n if (column.getName().equals(columnName)) {\n return column;\n }\n }\n\n ...
57db9e73244f8ae7a53b201d7948787c
C++: Ptr_SelectiveSearchSegmentationStrategySize cv::ximgproc::segmentation::createSelectiveSearchSegmentationStrategySize() Create a new sizebased strategy
[ { "docid": "e7110759decfd1d3d3369268bc7c35db", "score": "0.83757585", "text": "public static SelectiveSearchSegmentationStrategySize createSelectiveSearchSegmentationStrategySize() {\n return SelectiveSearchSegmentationStrategySize.__fromPtr__(createSelectiveSearchSegmentationStrategySize_0());\n...
[ { "docid": "da71165bab235edbaf3d0a7ad858b5e0", "score": "0.6510403", "text": "private static native long createSelectiveSearchSegmentationStrategyMultiple_4(long s1_nativeObj, long s2_nativeObj, long s3_nativeObj, long s4_nativeObj);", "title": "" }, { "docid": "a8f387c768142b46f09d0666fd655...
41cf4ca70a65989376f9f27336874999
Serializes objects to prettyprinted JSON. Only to be used from generated classes.
[ { "docid": "385356b05d03fbe2218d8bbe05a5b2cf", "score": "0.0", "text": "public static String toString(Object obj) {\n try {\n return TOSTRINGMAPPER.writeValueAsString(obj);\n } catch (JsonProcessingException ex) {\n throw new RuntimeException(ex);\n }\n }", ...
[ { "docid": "3fd3fb5ed76a860d89accbfb52fd2753", "score": "0.6276081", "text": "public String serialize(Object object, boolean prettyFormat) {\n\t\tlong time = System.currentTimeMillis();\n\t\ttry {\n\t\t\tlogger.debug(\"Serializer Json Instance: \" + this);\n\t\t\tif (prettyFormat) {\n\t\t\t\treturn pret...
1618cbb14c826c5b473fa513f1090bc5
create a OKHttp client with the required interceptors (for auth, ...) On DEBUG builds, a logging interceptor is added aswell
[ { "docid": "155f3803e2151b6c5a326e3dd9d5b2b7", "score": "0.6947633", "text": "private OkHttpClient createOkHttpClient() {\n // get token and token type\n final String tokenType = elvisEmpty(token.type, \"Bearer\");\n final String token = this.token.token;\n if (nullOrEmpty(to...
[ { "docid": "6ee66f002fd8c70f24014ad4634c4c1b", "score": "0.7667082", "text": "private static HttpLoggingInterceptor createHttpLoggingInterceptor() {\n HttpLoggingInterceptor interceptor = new HttpLoggingInterceptor( message -> Log.d( \"OkHttp\", message ) );\n \n if ( BuildConfig.DE...
67732876f263bd4c561dac0e77ef6983
A void containing what is going to happen on each tick.
[ { "docid": "2b0231823b6617cb40a52cf448c058b9", "score": "0.0", "text": "public void mission(Human human) {\n\t\tfor (Disease d: human.getLife().getDiseases()){\n\t\t\td.doEffects(human);\n\t\t}\n\t\tfor (IAction action: this.actions){\n\t\t\taction.action();\n\t\t}\n\t}", "title": "" } ]
[ { "docid": "72b59ef019cc6318ed901a3ab584e321", "score": "0.83175117", "text": "public void tick() {}", "title": "" }, { "docid": "e981a11298a8ea791ef2e3e3a9dd6a6d", "score": "0.82134223", "text": "public void tick() {\n\t}", "title": "" }, { "docid": "e981a11298a8ea791ef2...
7b991345d58dcf5ad198def8fc3f07eb
string org_id = 1;
[ { "docid": "a2adaa594428b8fe79b4ea4c4fc7ece7", "score": "0.0", "text": "private void clearOrgId() {\n \n orgId_ = getDefaultInstance().getOrgId();\n }", "title": "" } ]
[ { "docid": "1ea1069ff8f610338e7028f415394e58", "score": "0.7162035", "text": "java.lang.String getOrgId();", "title": "" }, { "docid": "1ea1069ff8f610338e7028f415394e58", "score": "0.7162035", "text": "java.lang.String getOrgId();", "title": "" }, { "docid": "1ea1069ff8f6...
10ea3d55c25414254b2e3f99f6265f6e
Sets the button panel. Called form main window during initialisation
[ { "docid": "30e333b535cfb598e090d83bc19132ca", "score": "0.6821868", "text": "public void setButtonPanel(ButtonPanel buttonPanel) {\n\t\tthis.buttonPanel = buttonPanel;\n\t}", "title": "" } ]
[ { "docid": "6cb257f1c8b0223e88984b8b7a9a3b57", "score": "0.77857363", "text": "public void setButtonPanel() \r\n\t{\n\t\tbPanel.setLayout(new GridLayout(2, 3));\r\n\t\t\r\n\t\tinputButton = new JButton(\"INPUT\");\r\n\t\tranButton = new JButton(\"GENERATE\");\r\n\t\tdrawButton = new JButton(\"DRAW\");\r...
5f097cf8cc7bea8cd04d483536ba3137
preorder + inorder recursive solution, similar to Construct_Binary_Tree_from_Inorder_and_Postorder_Traversal_p106_sol1 We still create nodes from preorder and build tree from inorder, but this time we will read preorder[] forward
[ { "docid": "77b71fa587cd3e15c82eb8efe63ac564", "score": "0.80600137", "text": "public TreeNode buildTree(int[] preorder, int[] inorder) {\n return DFS(preorder, 0, preorder.length - 1, inorder, 0, inorder.length - 1);\n }", "title": "" } ]
[ { "docid": "94a3d2f092995d7aa4a1ff1411f29f4a", "score": "0.7899385", "text": "private TreeNode constructBinaryTreePreAndIn(int[] preorder, int[] inorder){\n //initial\n if (preorder == null || inorder == null || preorder.length != inorder.length){\n System.out.println(\"Invalid ...
357d04de9e0165285c44e80b102dcdf9
Cancel Driver Accept Request Function
[ { "docid": "418ddae338f10fe8b36249d17850bee9", "score": "0.0", "text": "public void cancelRequest(View view) {\n setResult(Activity.RESULT_CANCELED, new Intent());\n finish();\n }", "title": "" } ]
[ { "docid": "682783c7ba89a7659067e34cc6bd1509", "score": "0.7212129", "text": "public abstract AioFuture<?, Event> stopAccepting();", "title": "" }, { "docid": "ec221f5364befdd046ba71d9d70e121c", "score": "0.6996321", "text": "public void cancelRequest() {\n isPendingRequestCancell...
a6ddae33de5e5161627a430caea98e96
SET SESSION ATTRIBUTES FOR THE PAGE
[ { "docid": "db4922d11f68839bd8f79a22a3f184e5", "score": "0.76547396", "text": "private void setSessionAttributes() {\n\n\t}", "title": "" } ]
[ { "docid": "9b53238de28a6a8f8b0c0fff4d3f7cc0", "score": "0.6601315", "text": "void setSessionUser();", "title": "" }, { "docid": "9b0902161cea5016de2cf3c00ec075d4", "score": "0.6480855", "text": "@Override\n\tpublic void setSession(Map<String, Object> session) {\n\t\t\n\t}", "tit...
9066c10147aa9440e06cadcc2c55df50
Check agent token is existed
[ { "docid": "1a0e51b30c8204b935d6847cdbef99f8", "score": "0.644057", "text": "boolean isExisted(String token);", "title": "" } ]
[ { "docid": "e7ddc806731ac1b2255ff9496fa14ac3", "score": "0.6984074", "text": "boolean checkToken(TokenModel tokenModel);", "title": "" }, { "docid": "610c7212a8063ea05705e65105e48004", "score": "0.6849066", "text": "private void validateToken(String token) {\n boolean result =...
6de76d645474579f5d570c89740f6964
This method extracts the ABCPPayload of an ABCPFrame.
[ { "docid": "80c9ce8314a59e422895046c57b4a71f", "score": "0.6517224", "text": "private byte [] extractDataFromFrame(byte [] frame){\r\n\t\tbyte [] data = new byte[frame.length - ABCPFieldSummary.HEADER_LENGTH];\r\n\t\tfor(int i = 0; i < data.length; i++){\r\n\t\t\tdata[i] = frame[i+ABCPFieldSummary.HEADE...
[ { "docid": "4079b034e6b42e008094d594ee776eca", "score": "0.57938236", "text": "public byte[] getPayloadBytes();", "title": "" }, { "docid": "1f743b6b71f3f24706fe1f597bcc70e1", "score": "0.5414445", "text": "private byte[] getPayload(byte[] tsPacket) {\r\n\r\n\t\tif (!TSutils.payloadE...
797828e8d830914c7c03bf09765a956b
optional string compat_mapping_tool_name = 52;
[ { "docid": "940cf5a866d56eda3a904bbaee6ece6e", "score": "0.6802093", "text": "@java.lang.Override\n public boolean hasCompatMappingToolName() {\n return ((bitField0_ & 0x80000000) != 0);\n }", "title": "" } ]
[ { "docid": "486e6d8d2a87c078b394888199aa3c0f", "score": "0.76022184", "text": "java.lang.String getCompatMappingToolName();", "title": "" }, { "docid": "4dfb4220b42f2ada7c99a348089c4c7d", "score": "0.74009615", "text": "@java.lang.Override\n public java.lang.String getCompatMappin...
23819586276fa2d862d3a582cd812d3b
cmd + shift + o > will import the class ctrl + shift + o > will import the class
[ { "docid": "3b1d997170a9d6ef09c7add8ca29f219", "score": "0.0", "text": "public static void main(String[] args) {\n\n\t\tScanner evis = new Scanner(System.in);\n\n\t\tSystem.out.println(\"Please enter the first number:\");\n\t\tdouble d1 = evis.nextDouble();\n\n\t\tSystem.out.println(\"Please enter the s...
[ { "docid": "2c6f2dd47787da755a8ce10bdaac278d", "score": "0.5444163", "text": "public static void main(String [] arg)\r\n {\r\n\t A1.A2.A3.multiple_packages_parentof_import2 t1=new A1.A2.A3.multiple_packages_parentof_import2();\r\n }", "title": "" }, { "docid": "d0ff5e1d653d6b3a4d0ea263ed1e1...
253e2cfc719023e097d6b9b16b1e4bb7
This test case is unique and distinct because we are testing a condition in which there are tokens in a row diagonally from right to left but they are not all the same token
[ { "docid": "b78d70bb04727a2a07c852a553b4b430", "score": "0.6095781", "text": "@Test\n public void test_CheckDiagWin_mixedTokensRight(){\n\n char[][] boardArray;\n boardArray = new char[5][8];\n\n for(int i = 0; i < 5; i ++){\n for(int j = 0; j < 8; j++){\n ...
[ { "docid": "32f72f006f9419f328b651419fcb0ac1", "score": "0.60676014", "text": "@Test\n public void test_CheckDiagWin_mixedTokensLeft(){\n\n char[][] boardArray;\n boardArray = new char[5][8];\n\n for(int i = 0; i < 5; i ++){\n for(int j = 0; j < 8; j++){\n ...
0c230897c6944782568c5284fcb19a9d
END AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=DECLARATIONS
[ { "docid": "ddddcb46b8d0beaafd142972228a9de2", "score": "0.48292553", "text": "public OI() {\n // BEGIN AUTOGENERATED CODE, SOURCE=ROBOTBUILDER ID=CONSTRUCTORS\n\n shooterJoystick = new Joystick(1);\n \n turretResetButton = new JoystickButton(shooterJoystick, 7);\n tur...
[ { "docid": "8bbd2485e40a1db25918e20948f0b498", "score": "0.5632919", "text": "void beginDefinitionDescription();", "title": "" }, { "docid": "e0ecb705eeeb6bd8f413011f678308d8", "score": "0.55446184", "text": "Object definitions();", "title": "" }, { "docid": "9144c003eb95...
b29da9bbc1a83388bc0e4c1730478daf
Check if the activity is paused
[ { "docid": "5dbebc783d9c26a03c0e7dc02b1bed00", "score": "0.8305812", "text": "public boolean isPaused() {\n return activityPaused;\n }", "title": "" } ]
[ { "docid": "6ee7352073e43aa8ff6e8193bbd0c438", "score": "0.79110736", "text": "boolean isPaused();", "title": "" }, { "docid": "6ee7352073e43aa8ff6e8193bbd0c438", "score": "0.79110736", "text": "boolean isPaused();", "title": "" }, { "docid": "b634dbcb505f8b93cd16ef22f00a...
0434e5f9ac1425d9d53dbfeb72d61022
Mapper for the entity DownloaderTask and its DTO DownloaderTaskDTO.
[ { "docid": "57eed0048e73d5fce74946248c7e2822", "score": "0.73426497", "text": "@Mapper(componentModel = \"spring\", uses = {})\npublic interface DownloaderTaskMapper extends EntityMapper<DownloaderTaskDTO, DownloaderTask> {\n\n\n\n default DownloaderTask fromId(String id) {\n if (id == null) {...
[ { "docid": "e29d2ca11c6bfa087105047cd0579c4e", "score": "0.58547264", "text": "@Mapper(componentModel = \"spring\", uses = {FileStatusMapper.class})\npublic interface FileConfigMapper extends EntityMapper<FileConfigDTO, FileConfig> {\n\n @Mapping(source = \"fileStatus.id\", target = \"fileStatusId\")...
56733c4210f6e21e76cfb2cc1494f656
Find the _Fields constant that matches fieldId, throwing an exception if it is not found.
[ { "docid": "12fddf206fd292af75ba4f0ae29f423a", "score": "0.0", "text": "public static _Fields findByThriftIdOrThrow(int fieldId) {\n _Fields fields = findByThriftId(fieldId);\n if (fields == null) throw new IllegalArgumentException(\"Field \" + fieldId + \" doesn't exist!\");\n retu...
[ { "docid": "1375135833329b2bec485473bc019be5", "score": "0.7626831", "text": "@org.apache.thrift.annotation.Nullable\n public static _Fields findByThriftId(int fieldId) {\n switch(fieldId) {\n case 1: // E\n return E;\n default:\n return null;\n ...
3b42465461ea47996a78c452f3c6c7b6
$ANTLR end "rule__JvmTypeParameter__Group_1__0__Impl" $ANTLR start "rule__JvmTypeParameter__Group_1__1" ../org.summer.ss.ide/srcgen/org/summer/ss/ide/contentassist/antlr/internal/InternalSs.g:21642:1: rule__JvmTypeParameter__Group_1__1 : rule__JvmTypeParameter__Group_1__1__Impl ;
[ { "docid": "20dad823aee7c0967e2b75f0a5c7f0e7", "score": "0.7982544", "text": "public final void rule__JvmTypeParameter__Group_1__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.summer.ss.ide/src-gen/org/summe...
[ { "docid": "b80e17e0ea3d92b17d96f304998c3c84", "score": "0.79618865", "text": "public final void rule__JvmTypeParameter__Group__1__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../org.summer.ss.ide/src-gen/org/...
f0a9328f055701e6eebdc15fbe6ca5da
A get function of the gui of the game.
[ { "docid": "b11554ea952cba6a5c795fea8862e5ca", "score": "0.0", "text": "public int getHit() {\n return this.block.getHit();\n }", "title": "" } ]
[ { "docid": "0d356da054d6004d6d98725050459a29", "score": "0.75165737", "text": "public abstract void gui();", "title": "" }, { "docid": "281aaee3118978ec7d3bff2d8139406d", "score": "0.7159912", "text": "public GUI getGui() {\r\n return gui;\r\n }", "title": "" }, { ...
adc370df1e49ea293ccfbe1c1b320cd7
Redraw the marker when get location update
[ { "docid": "f2207028ea469c4521502f92612a8e3b", "score": "0.800995", "text": "public void onLocationChanged(Location location){\n drawMarker(location);\n\n }", "title": "" } ]
[ { "docid": "811b14973b17e72bf7081d81ac2c6a65", "score": "0.71153057", "text": "public void renderLocationOnMap(){\r\n\r\n\r\n if(locationMarker == null)\r\n locationMarker = createMarker(new LatLong(location.getLatitude(), location.getLongitude()), R.drawable.marker_blue);\r\n e...
19a697a8086b3002b5e74aa88ba4d95f
Set the Job Status Message
[ { "docid": "622fd9f13149bb60dad7b26b35d90924", "score": "0.0", "text": "private void print(PrinterJob job, Node node) {\n jobStatus.textProperty().bind(job.jobStatusProperty().asString());\n\n // Print the node\n boolean printed = job.printPage(node);\n\n if (printed) {\n ...
[ { "docid": "59f32e2b3487cabf305ae788a77797e7", "score": "0.76102364", "text": "void setStatusMessage(java.lang.String statusMessage);", "title": "" }, { "docid": "e30b7a87c2c79a6bc0344a586f143ee9", "score": "0.7465447", "text": "public void setStatusMessage(String msg) { _statusRepor...
69c74cb618782c56324221a4ef540f2b
An immutable key/value map of token attributes.
[ { "docid": "a1009c6635a60cbbd52c9fed9ccc3edb", "score": "0.7015265", "text": "Map<String, String> getAttributes();", "title": "" } ]
[ { "docid": "9505f6026d902ba7732f054593b7466c", "score": "0.7154812", "text": "public Map<String, String> getAttributes();", "title": "" }, { "docid": "79eb7817ac6280be2f6196e9fe81119a", "score": "0.7119317", "text": "public Map getAttributes();", "title": "" }, { "docid":...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "a0f2dc49c1f9545df8a072218e8cceb1", "score": "0.0", "text": "public AnuncioLojaDTO newobj(AnuncioLojaDTO obj) {\n\t\treturn new AnuncioLojaDTO();\n\t}", "title": "" } ]
[ { "docid": "1acc57d42c31dee937ac33ea6f2a5b0b", "score": "0.68399656", "text": "@Override\r\n\tpublic void comer() {\n\t\t\r\n\t}", "title": "" }, { "docid": "0c69424878be03e50f19e2ca61ef640b", "score": "0.68002176", "text": "@Override\r\n\tpublic void leggi() {\n\t\t\r\n\t}", "ti...
6355ec6978150e6c62aaa5d7c5678af7
W mapSpace EastNorthCoordinate GeoCoordinate
[ { "docid": "3914d221e1a7118a79714ded828649eb", "score": "0.0", "text": "public static MapPolygon createTrackEnclosure(Layer layer, String name, ACMapSource mapSource, int zoom, GeoCoordinate[] trackPoints, int pixelDistance,\n\t TileImageParameters parameters)\n\t{\n\t\tArea area = new Area();\n\t\tf...
[ { "docid": "f54e54adb52258e92e933fa24ea127ce", "score": "0.68847024", "text": "public String getNorthNorthEast()\n\t{\n\t\treturn northNorthEast;\n\t}", "title": "" }, { "docid": "4ac545b507ccd7e515610b0a164d1d4b", "score": "0.68210137", "text": "public String getNorthEastNorthEast()...
99b94f58cc5282aa142017438300e6d4
Called when we traverse a discovery edge (e) from a vertex (from).
[ { "docid": "91549d769cc9a88f42f7b94a57dd8ac0", "score": "0.88191146", "text": "protected void traverseDiscovery(Edge<E> e, Vertex<V> from) {}", "title": "" } ]
[ { "docid": "381dcaef8221902308fad43be95cc49b", "score": "0.6248321", "text": "protected void traverseBack(Edge<E> e, Vertex<V> from) {}", "title": "" }, { "docid": "ffdf8dd1f34840349b812bf8c1338ab7", "score": "0.61510897", "text": "protected abstract void encounterVertex(V vertex, E ...
25585df2c35821f1c85ca26fc56dd437
The package for the form bean.
[ { "docid": "b72772cf9fdad49b2874a84085480ad5", "score": "0.6706134", "text": "public final String getFormBeanPackageName()\n {\n String formBeanPackageName26a = this.formBeanPackageName26a;\n if (!this.formBeanPackageName26aSet)\n {\n // formBeanPackageName has no pre ...
[ { "docid": "06ad5c9c9da4c261d5596b2a04093ba9", "score": "0.6232808", "text": "public String basePackage() {\n return basePackage;\n }", "title": "" }, { "docid": "e2cbc396cca6b79aeab26f1d0f89c9a9", "score": "0.5911474", "text": "public String getBasePackage() {\n return basePa...
5e185150f8b61ce5105970ef4a853eb6
This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.
[ { "docid": "1633e1b0a67aa7c4e5bd900ca8e7aba3", "score": "0.0", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n comboSchema = new javax.swing.JComboBox<String>();\n...
[ { "docid": "5f8540ed063cf75672e07098d5395e1e", "score": "0.7699879", "text": "private void initComponents() {//GEN-BEGIN:initComponents\n\n }", "title": "" }, { "docid": "37a5472d5b0f35cf64a077bc1dd978c4", "score": "0.7322041", "text": "public Form() {\n initComponents();\n...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "42243fa08b7dfddf1035b6381d8eab6a", "score": "0.0", "text": "@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tupdate();\n\t\t\t\t}", "title": "" } ]
[ { "docid": "74a4209c94e08d9f5eb0b60e580f5e04", "score": "0.6887848", "text": "@Override\r\n\tpublic void comit() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b645eacb329adc01490ab5013a6c4f7f", "score": "0.6730944", "text": "@Override\n\t\t\tpublic void perfom() {\n\n\t\t\t}", "tit...
9b32a7687673dafb498a2f436b1bc539
Will return an FileDiscoveryPatternPageFilter using the parameters provided to create it.
[ { "docid": "4fd07521bea489c1703c81ef7327bd58", "score": "0.6422303", "text": "public static FileDiscoveryPatternPageFilter createFileDiscoveryPatternPageFilter(final int firstIndex, final int lastIndex, final boolean sortAscending) {\n\t\tfinal FileDiscoveryPatternPageFilter pf = new FileDiscoveryPatter...
[ { "docid": "ec1a48bee723d8f7f41b9ff3d2e29275", "score": "0.6260764", "text": "public static FileDiscoveryPatternPageFilter createFileDiscoveryPatternPageFilter(final int firstIndex, final int lastIndex, final boolean sortAscending,\n\t\t\tfinal FileDiscoveryPatternColumn sortedColumn) {\n\t\tfinal FileD...
cab1b40bea56beddda65691e044c19f1
You will be given a rectangular maze. Each character of maze will be one of the following: 1) '.' : empty space 2) 'S' : your starting location (exactly 1 of these will occur) 3) 'X' : unpassable obstruction 4) 'E' : the exit (exactly 1 of these will occur) Each turn you can move to a horizontally or vertically adjacen...
[ { "docid": "54f65df8df35c9819530344f05156311", "score": "0.5727075", "text": "public static int closestExit(String[] maze)\r\n\t{\r\n\t\treturn 0;\r\n\t}", "title": "" } ]
[ { "docid": "319ca2ce65e5049b80545c536e53562b", "score": "0.66402525", "text": "public int tryToWinMove(String str){\n int countA=0, countO=0, countX=0, smartPos=10;\n\n for(int i=0;i<8;i++){\n for(int j=0;j<3;j++){\n if(str.charAt(arr[i][j])=='A'){\n ...
ffe1b7bc41d260182e83c0547b0e99c7
Method returning the actual results (the nodes in order).
[ { "docid": "70cff8833271c3cbe7b0050c86148819", "score": "0.61193395", "text": "public List<VarInfoName> nodes() {\n return Collections.unmodifiableList(result);\n }", "title": "" } ]
[ { "docid": "d8a08d815b2c70ae063325cf84899cdf", "score": "0.67832625", "text": "public Collection<String> getResultFromAllNodes() {\n return null;\n }", "title": "" }, { "docid": "e5ef2271d0fb9a9fa9ab4cdf91f2de4a", "score": "0.65037465", "text": "public Collection<String> ge...
baa6af786f7bbe1075f8a2c31b6ecd86
Adds a PFeature to the PFeatureHashmap.
[ { "docid": "3d9598b4cca49cd8ab63a773758611e8", "score": "0.5980014", "text": "public void refreshHM(final PFeature p) {\n pFeatureHM.put(p.getFeature(), p);\n }", "title": "" } ]
[ { "docid": "5c1cfad225f59b4420429d7fca19997e", "score": "0.69179046", "text": "void add(Feature feature);", "title": "" }, { "docid": "85ff8724fedc7d3f456e69e5b1c3dab0", "score": "0.689823", "text": "public void addFeature(StringFeature feature) {\t\t\n\t\tif(features==null || featur...
0f63be24b186c6c883a4dc142f76f635
Called once after isFinished returns true
[ { "docid": "f613ecc3298e4e70c1f1d15694ee6682", "score": "0.0", "text": "protected void end() {\n\t}", "title": "" } ]
[ { "docid": "ba1e21b3099c65117f344aef57a2c9b0", "score": "0.8585291", "text": "@Override\n protected boolean isFinished() {\n return true;\n }", "title": "" }, { "docid": "ba1e21b3099c65117f344aef57a2c9b0", "score": "0.8585291", "text": "@Override\n protected boolean isFinished(...
5f13e2310b933da1121adc76470b8ad7
Actually renders the given argument. This is a synthetic bridge method, always casting down its argument and then handing it off to a worker function which does the actual work. In all probabilty, the class Render is generic (Render<T extends Entity) and this method has signature public void func_76986_a(T entity, doub...
[ { "docid": "374abc17cfb23b80a39d1605500378ea", "score": "0.5952442", "text": "@Override\n\tpublic void doRender(Entity parEntity, double parPosX, double parPosY, double parPosZ, float p_76986_8_, float parTweenFactor)\n {\n doRender((EntityWildAnimalsEgg)parEntity, parPosX, parPosY, parPosZ, p...
[ { "docid": "9f3e7914d098a5db384cc8886e37f6fb", "score": "0.7370353", "text": "@Override\n\tpublic void doRender(Entity par1Entity, double par2, double par4, double par6, float par8, float par9)\n\t{\n\t\tthis.func_82418_a((EntityCaptain) par1Entity, par2, par4, par6, par8, par9);\n\t}", "title": "" ...
5271781f6929b64f8f620686067f9d94
optional string apiName = 1;
[ { "docid": "78a9269de9107f4e107ce1a87920913d", "score": "0.6167295", "text": "public java.lang.String getApiName() {\n java.lang.Object ref = apiName_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString)...
[ { "docid": "25a8b83ad37520644e44697678acb32e", "score": "0.77808595", "text": "public abstract String apiName();", "title": "" }, { "docid": "77b446f4d508e6c30f9bcdb2a1e83f75", "score": "0.7615086", "text": "String getApiName();", "title": "" }, { "docid": "eef935c30c74d1...
bd2ae86b766479deafe5b8fd9d079e7b
Logs a detected motion, as provided by the motion sensor.
[ { "docid": "2567c6851cea9c650abd196d30a425e2", "score": "0.8324096", "text": "Log motionDetected(final long time, final MotionSensor motionSensor) throws RemoteException;", "title": "" } ]
[ { "docid": "0411bb2c5325f9ec64a4e10160c15759", "score": "0.64358485", "text": "public void log(SensorEvent event) throws IOException {\n log(event.timestamp, event.sensor.getType(), event.accuracy, event.values);\n }", "title": "" }, { "docid": "9e06469b1749fe456fe3f34d48a5caa2", ...
e9cde02237f532380af737bee6acf2a4
Convenience method for sending an acknowledgement event to SiteWhere.
[ { "docid": "4b24ea3fceee64a751c39ca9f48e362d", "score": "0.5593859", "text": "public void sendAck(ISiteWhereEventDispatcher dispatcher, String hardwareId, String originator,\r\n\t\t\tString message) throws SiteWhereAgentException {\r\n\t\tSiteWhere.Acknowledge.Builder builder = SiteWhere.Acknowledge.new...
[ { "docid": "3461a703043bb8c7e281983130b0c862", "score": "0.57749134", "text": "@Override\n\tpublic void confirm(CorrelationData correlationData, boolean ack, String cause) {\n\t\tlogger.info(\"call back id:\"+correlationData);\n\t\tif(ack) {\n\t\t\t//logger.info(\"Message sent to rabbitMQ\");\n\t\t}else...
c67cc08e1135a209e1ec1973ddec0b93
Verifies that the 'element' and 'complexType' elements corresponding to the Class are present in the XSD Verifies that the Class attributes are present in the XSD
[ { "docid": "f75f22da7c59f4274ae71b895dbaa2a8", "score": "0.0", "text": "public void testTelEmailDataType() throws Exception\r\n\t{\r\n\t\tClass<TelEmailDataType> targetClass = TelEmailDataType.class;\r\n\r\n\t\tvalidateClassElements(targetClass);\r\n\r\n\t\tvalidateAttributeElement(targetClass, \"id\", ...
[ { "docid": "3e7d9d924e36cd9cc9530dad42f7baa3", "score": "0.57840496", "text": "public void testCommonSchemaElements() throws Exception\r\n\t{\r\n\t\tvalidateCommonSchemaElements();\r\n\t}", "title": "" }, { "docid": "d7250608110a1f320f73741c2574224a", "score": "0.57005656", "text": "...
9c6bd02509614492fa0017cb21e20eaa
Delete this Voter object.
[ { "docid": "c87d89a8031345a80596ea9e9691d226", "score": "0.7769456", "text": "public void deleteVoter( Voter voter ) throws EVException {\r\n persistence.deleteVoter(voter);\r\n }", "title": "" } ]
[ { "docid": "98a5c1030d688b16969043e5158dd761", "score": "0.7948191", "text": "@Override\n\tpublic void deleteVoter(Voter voter) throws EVException {\n\n\t}", "title": "" }, { "docid": "062b121ab3367b069b88f8363f5cd9ab", "score": "0.66255856", "text": "@Override\n\tpublic void deleteV...
2187a78f1bfa10b205161a45414c82b8
Use VoiceCallAction.newBuilder() to construct.
[ { "docid": "9ef9fe55b573a587e0ae0d13120c983c", "score": "0.7697257", "text": "private VoiceCallAction(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "title": "" } ]
[ { "docid": "de8e6858d3496af3236aad046c3a47a6", "score": "0.71730983", "text": "private SayCallAction(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "title": "" }, { "docid": "8fd0dd23c26e8c317644e7bc726758bc", "score": "0.69976616", "text...
314ba316ab2429044a3ea1a300759027
/ _______________ / Collection / _______________
[ { "docid": "e251b8aabb81dcf5bb341f22a57682fe", "score": "0.0", "text": "public String getCollectionName(Args args) throws CouchbaseLiteException {\n Collection object = args.get(\"collection\");\n return object.getName();\n }", "title": "" } ]
[ { "docid": "aac95f5d3988a56fa178e1f8b36eae26", "score": "0.7453865", "text": "public interface OwnCollection<E> {\n boolean add(E e);\n\n int size();\n\n boolean delete(int indexElem);\n\n E fetchByKey(int indexElem);\n\n int fetchByValue(E e);\n\n\n}", "title": "" }, { "docid...
14fdc78148b2769d557a750caa01e64c
Create an instance of thread using Runnable
[ { "docid": "50b6cef8b94a51ac1ef3648b58ade4c2", "score": "0.0", "text": "public static void main(String[] args) throws InterruptedException {\n\t\tThread thread = new Thread(new RunnableProg());\n\t\t\n\t\t/*JOIN-EXAMPLE*/\n\t\t//\tWhen we invoke the join() method on a thread, the calling thread goes int...
[ { "docid": "dcbe616884fbf5440a7bc302a8fec2f8", "score": "0.75897175", "text": "public Thread newThread(Runnable r) {\n Thread t = Executors.defaultThreadFactory().newThread(r);\n t.setDaemon(true);\n return t;\n }", "title": "" }, { "docid": "76b1c818343aa0a6145122c74...
238c7c1e35b1c053c2a19789ea53f2f7
optional string foreigner_price = 3;
[ { "docid": "05e9fc88100137b823c3b7eef2101202", "score": "0.0", "text": "public boolean hasForeignerPrice() {\n return ((bitField0_ & 0x00000004) == 0x00000004);\n }", "title": "" } ]
[ { "docid": "84ec41f1a3f85fc0dc0bddc91646186c", "score": "0.76346534", "text": "java.lang.String getForeignerPrice();", "title": "" }, { "docid": "8acb3c37beffd72b0ab7fe1b7bb24e49", "score": "0.6944046", "text": "public Builder setForeignerPrice(\n java.lang.String value) {\n...
b6855d50c21217a1b1e1951943583689
Get library app token
[ { "docid": "fd9ce498d28172386f7044a5d2f59590", "score": "0.0", "text": "@Nullable\n public String getToken() {\n return token;\n }", "title": "" } ]
[ { "docid": "2bd9a9ea58d67717ff2bb48f249c7517", "score": "0.7263591", "text": "public String getAppAuthToken() {\n return appAuthToken;\n }", "title": "" }, { "docid": "6f6b1706b88b91ff48b44ca95a5c2f33", "score": "0.6811163", "text": "public static String getToken() {\n r...
1d7b68770e4c109263afed2b99dcdcc0
vvv SAVEABLE INTERFACE METHODS vvv
[ { "docid": "7d3b2121d34f5826fd524e94e0e0202e", "score": "0.0", "text": "public int getId()\n {\n return this.id;\n }", "title": "" } ]
[ { "docid": "df143154f1b5acf9095ebd3856ee1704", "score": "0.8179843", "text": "@Override\r\n public void save() {\n }", "title": "" }, { "docid": "b95f2b92704615dfe380e798aa32c2a0", "score": "0.8068476", "text": "@Override\n\tpublic void save() {\n\n\t}", "title": "" }, ...
6b0e5b493526e90c4be95cbd751a06e7
Returns 'true' if this syntax tree node is the Sentinal node.
[ { "docid": "9e29a65fc06b690926b561fe8d860a39", "score": "0.0", "text": "protected final boolean isDummy() {\n return this == Dummy;\n }", "title": "" } ]
[ { "docid": "b45a356bfc4d848b5b3391c9c5d5d64a", "score": "0.60032564", "text": "public boolean isUnaryNode();", "title": "" }, { "docid": "d5dc9d5064d26a136c9502e58a93cff7", "score": "0.5864265", "text": "public boolean isNode() {\n\treturn is_node;\n }", "title": "" }, { ...
39b32adbd71465e0905dcf330fddaab4
Metodo donde se encuentra el algoritmo para que bixa "diga" sus funciones
[ { "docid": "82b953cf1f4237595c1bebb07e6f9cfb", "score": "0.0", "text": "public static ArrayList getFunciones(Context context) {\n \n Scanner fileIn;\n Random chis = new Random();\n ArrayList<String> funciones = new ArrayList<>();\n\n try {\n // Se lee el arc...
[ { "docid": "830e5fce7b2d6282831edcc52bb4f1c2", "score": "0.6602853", "text": "public void PolizasMaestrasAcuerdos(){}", "title": "" }, { "docid": "0960dd88d645722f47a2e16d6607440c", "score": "0.65010387", "text": "public void PlantillasModoNoPrivilegiados(){}", "title": "" }, ...
2011b168940e30c3aa9eb0a2eb2143ac
Send the message to the target:
[ { "docid": "c600aacbc969d17b5c3922fe03ce162e", "score": "0.0", "text": "public static Receiver ask(final Actor target, final Object message, final Duration timeout,\n final CompletableFuture<Object> future, final Context context) {\n target.tell(message, context.getSelf());\n\n // Specify a r...
[ { "docid": "68b5410599f4845f1e9279f151546956", "score": "0.70624816", "text": "public void sendMessage(String target, String what) {\n\t\ttry {\n\t m_client.sendMessage(target, what, 0);\n } catch (MessengerException e) {\n \tthrow new RuntimeException(e);\n }\n\t}", "tit...
dc23aa32cbaa1a9b34c3fad4dff84f82
Sets whether this field is readonly.
[ { "docid": "dcf286d3ae1114ea471e2b87c4aed8f3", "score": "0.81210095", "text": "public void setReadonly(Boolean readonly);", "title": "" } ]
[ { "docid": "3d3ce8204231c8fdb77310ed43a5387a", "score": "0.7889707", "text": "@Override\n\tpublic void setReadonly(boolean v) {\n\t}", "title": "" }, { "docid": "a16f0ee58a21e7410e14e135f55a0a89", "score": "0.7690303", "text": "public Builder setReadonly(boolean value) {\n \n ...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "408888b7c2a5222208e3ad3a3c2750bd", "score": "0.0", "text": "public static void main(String[] args) {\n\t\t\n\t\tint[] intArray = {10, 20, 30, 40, 50};\n\t\t\n\t\tfor (int i=0; i<intArray.length; i++){\n\t\t\tSystem.out.println(intArray[i]);\n\t\t}\n\n\t}", "title": "" } ]
[ { "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...
78c10189f81249741940907e64808d79
Put a new TaxonomyPredicate to the mapping.
[ { "docid": "f2c1992c23dd36c6dc0b1671adeb5cee", "score": "0.7869281", "text": "public void put(String key, TaxonomyPredicate value) {\n mappedPredicates.put(key, value);\n\n }", "title": "" } ]
[ { "docid": "a0c2a5ad869f3bd760163544ab36a929", "score": "0.6642767", "text": "public void addPredicateDomain(String predicate, Taxonomy taxonomy) {\n\t\tthis.predDomains.put(predicate, taxonomy);\n\t\tthis.predicates.add(predicate);\n\t}", "title": "" }, { "docid": "9cc4db87ec51cbdfab540bdb8...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "fdf1dc2d80abeb0ddd7db529e3088d83", "score": "0.0", "text": "public void insert(ZookeeperEnsemble zookeeperEnsemble) {\n \n }", "title": "" } ]
[ { "docid": "9208773f8d675a45ef2786d0cb668514", "score": "0.654538", "text": "@Override\n\tpublic void addiion() {\n\t\t\n\t}", "title": "" }, { "docid": "80d20df1cc75d8fa96c12c49a757fc43", "score": "0.65323734", "text": "@Override\n\tprotected void getExras() {\n\t\t\n\t}", "titl...
15b0441d8be4d16452d303219269b2fd
Block the calling thread until all the given nodes have reached Up and that is seen from all nodes. In a real system (tm) you should have no use for such a thing but instead use an actor listening for cluster membership events. This is here to keep samples brief and easy to follow.
[ { "docid": "2d2b31a55ddcf8668d5b3f1115d7111a", "score": "0.7323275", "text": "public static void waitForAllNodesUp(ActorSystem... nodes) throws InterruptedException {\n boolean allNodesUp = false;\n final List<ActorSystem> nodeList = Arrays.asList(nodes);\n do {\n allNodesUp = nodeList.str...
[ { "docid": "99ec90828a979403cc92ab902d036077", "score": "0.63220364", "text": "@Override\n public void run()\n {\n while (true) { // forever\n\n // Check the list of users\n ArrayList<String> checklist = MessageCheckerCommon.users_list();\n\n /*\n ...
a0fc33c331f015a69a1b258642b528fa
Postreq: setBeepingState() should be called AFTER this function
[ { "docid": "239c400494b2fbdbe6430d56ff8ef259", "score": "0.0", "text": "private void showNotificationIcon(boolean showIcon) {\n\t\t// If isBeeping is true, do nothing\n\t\tif (showIcon == true) {\n \tLog.v(TAG, \"showNotificationIcon(): showing icon\");\t\t\t\n \tmNotificationManager.notif...
[ { "docid": "a01c2366892df1bf6337afae0cb1796f", "score": "0.56765574", "text": "public abstract void setBezeled(boolean flag);", "title": "" }, { "docid": "18b66d3266801a597c62e6ca69b3a0ad", "score": "0.5675037", "text": "public void postSettlement() {\n \t\tsetSettling(false);\r\n \t...
b26088c5b13bbbe5b23d82165281681d
Ensures the specific preconditions of the said instruction.
[ { "docid": "59944e57a9ab5c44043bcd81a8a4cd5c", "score": "0.0", "text": "@Override\n public void visitRETURN(final RETURN o) {\n if (mg.getName().equals(Const.CONSTRUCTOR_NAME) && Frame.getThis() != null && !mg.getClassName().equals(Type.OBJECT.getClassName())) {\n constraintViolated...
[ { "docid": "eaa7e19c83c419cf800813ec1ecba92a", "score": "0.63232076", "text": "public Precondition()\r\n {\r\n }", "title": "" }, { "docid": "4ad5436a9290518358d0d0001553dc36", "score": "0.6301552", "text": "public void testPreconditions(Behaviour behObj)\r\n\t{\r\n\t\t// Bootstr...
1dd4b6bde98614ffc00ddf27294d90b7
A persistence window encapsulates a part of the records (or blocks) in a store and makes it possible to read and write data to those records.
[ { "docid": "2056296e8cbd765e768f54be7c6a14f0", "score": "0.7619205", "text": "public interface PersistenceWindow\n{\n /**\n * Returns the underlying buffer to this persistence window.\n *\n * @return The underlying buffer\n */\n public Buffer getBuffer();\n\n public Buffer getOf...
[ { "docid": "9108fa9f83316602c86725142ffd29cc", "score": "0.5759689", "text": "@Override\n public void windowClosing(WindowEvent e) {\n\n databasePersistance.persist();\n }", "title": "" }, { "docid": "77be6362342e9e2329931d0d0225366d", "score": "0.56926...
59075c0410ae038bc40665854103e410
self and parent attributes
[ { "docid": "c4726113c51aef0802d449e5f96af12d", "score": "0.0", "text": "@Override\n public Map<DefDescriptor<AttributeDef>, AttributeDef> getAttributeDefs() throws QuickFixException {\n Map<DefDescriptor<AttributeDef>, AttributeDef> ret = new LinkedHashMap<DefDescriptor<AttributeDef>, Attribut...
[ { "docid": "32843a2fb805c81b7cc3feb351d7bf9f", "score": "0.650937", "text": "protected void setParent(Structure parent) {\r\n //-- never used by references\r\n }", "title": "" }, { "docid": "1e88a62e329c700d2946d2a36a456edd", "score": "0.63649595", "text": "@Override\r\n\tp...
ec126c3999e289194c7b067f12993ac8
Find the _Fields constant that matches fieldId, or null if its not found.
[ { "docid": "4a2486fd51729185715ee6fb80d78e14", "score": "0.0", "text": "public static _Fields findByThriftId(int fieldId) {\n switch(fieldId) {\n case 1: // ID\n return ID;\n case 2: // PRODUCT_ID\n return PRODUCT_ID;\n case 3: // DESCRIPTION\n return...
[ { "docid": "9c0028cb1966d4b92aeccc1941685c3d", "score": "0.79869914", "text": "@org.apache.thrift.annotation.Nullable\n public static _Fields findByThriftId(int fieldId) {\n switch(fieldId) {\n case 1: // REFERRAL_LOG_IDS\n return REFERRAL_LOG_IDS;\n default:\n ...
8be45b6ec174287615b8db0210dc08dc
Queries if object is a trustLink.
[ { "docid": "b07aabd709bc266c51fb42df02534b6a", "score": "0.7071725", "text": "@ReLogoBuilderGeneratedFor(\"theresistance.relogo.TrustLink\")\n\tpublic boolean isTrustLinkQ(Object o){\n\t\treturn (o instanceof theresistance.relogo.TrustLink);\n\t}", "title": "" } ]
[ { "docid": "bc7db9e0b8b24b2556311643d4be930e", "score": "0.60451895", "text": "public boolean isTrustedObject(Object obj) throws RemoteException {\n if (obj instanceof InvocationConstraints) {\n Iterator iter =\n ((InvocationConstraints) obj).requirements().iterator(...
cb9eabf5cdd728031a45809a3c166173
Complete the steadyGene function below.
[ { "docid": "3b3157ac3cc5a364b331bea88bc004b6", "score": "0.5611507", "text": "static int steadyGene(String gene) {\n int limit_count = gene.length() / 4;\n Map<Character, Integer> map = new HashMap<Character, Integer>();\n map.put('A', 0);\n map.put('C', 0);\n map.put(...
[ { "docid": "681d038c8f8ca964cddb07e60e97a803", "score": "0.5755056", "text": "private void master_sigmaAndLevel() {\n\t\t\tLOG.info(\"Running master_state sigmaAndLevel\");\n\t\t\tsetAggregatedValue(KEY_s, new LongWritable(s));\n\t\t\tsetAggregatedValue(\"current_state\", new IntWritable(master_state));...
c970ad8530898a380b967c62e8ed6672
Private controller for get all users
[ { "docid": "08197e435d071ade2869c6f8e58944db", "score": "0.7837132", "text": "@Secured({\"ROLE_ADMIN\", \"ROLE_USER\"})\n @PreAuthorize(\"hasAnyRole('USER', 'ADMIN')\")\n @RequestMapping(value=\"/users\", method = RequestMethod.GET)\n public List<User> getListUsers(){\n return userServic...
[ { "docid": "b62bc11caa03d975491f820921892583", "score": "0.82857543", "text": "@PreAuthorize(\"hasAnyRole('ADMIN')\")\n @RequestMapping(method = RequestMethod.GET)\n public List<User> getAll() {\n return userService.getAll();\n }", "title": "" }, { "docid": "798fb2939e5b50b9b...
0e576823b6834d6447f38313d39705ca
This implementation of a IProgressMonitor method forwards to the wrapped progress monitor. Clients may override this method to do additional processing.
[ { "docid": "5a6442a7ab2e27ad8b4add64286492f4", "score": "0.0", "text": "public void worked(int work) {\n\t\tprogressMonitor.worked(work);\n\t}", "title": "" } ]
[ { "docid": "2233dbd1f3d58400cc259453e37daaf5", "score": "0.65364486", "text": "public IProgressMonitor getWrappedProgressMonitor() {\n\t\treturn progressMonitor;\n\t}", "title": "" }, { "docid": "ebc0fecd1555704fded428ba02d42e22", "score": "0.642171", "text": "protected ProgressMonit...
e8f87141f19b5068f641effd0e1be2b8
for common use login
[ { "docid": "2d09b74a35487251a1cb129eb542e157", "score": "0.0", "text": "public Resolution login() {\r\n\t\tif (loginUrl != null && loginUrl.indexOf(\"/action/login\") < 0) {\r\n\t\t\treturn new RedirectResolution(loginUrl, false);\r\n\t\t} else {\r\n\t\t\treturn new RedirectResolution(UserActionBean.cla...
[ { "docid": "7116f61ffb32625dd7c91f2f16db28aa", "score": "0.8325451", "text": "protected void login() {\n\t\t\r\n\t}", "title": "" }, { "docid": "0741419980436e870befcf83b1f0416d", "score": "0.7831862", "text": "public static void Login() \r\n\t{\n\t\t\r\n\t}", "title": "" }, ...
62fa015db6f74e7688d9565c7d507d81
private Cursor data = null;
[ { "docid": "f44a666325a798f011d4c49659d8f3e8", "score": "0.0", "text": "@Override\n public void onCreate() {\n // Nothing to do\n }", "title": "" } ]
[ { "docid": "ece05173b5adba31459486e05a404c63", "score": "0.69094795", "text": "private Cursor getCursor() {\r\n \t\r\n \t \tSQLiteDatabase db = eventsData.getReadableDatabase();\r\n \t \tCursor cursor = db.query(DataSQLHelper.TABLE1, null, null, null, null,\r\n \t \t null, null);\r...
3ca9166d9775d5c027d157ea0780a083
Creates a new LrpEventWorkscopeTable object for the purpose of getting/updating properties.
[ { "docid": "7159167a41a5234ec30ced507a2b42b6", "score": "0.6637322", "text": "public LrpEventWorkscopeTable(LrpEventWorkscopeKey aKey) {\n super( aKey );\n }", "title": "" } ]
[ { "docid": "64bb1ea4efb41179120fa0c066edfa46", "score": "0.6350102", "text": "public static LrpEventWorkscopeTable findByPrimaryKey( LrpEventWorkscopeKey aKey ) {\n\n // Return the SchedStask object\n return new LrpEventWorkscopeTable( aKey );\n }", "title": "" }, { "docid": "1ec...
4fdf6aea4376e12b2f5c7a7feea4154b
Marks the leaf "pvi" with operation "merge".
[ { "docid": "d2ebecdeb10fa478efc678a2613e16a7", "score": "0.80040723", "text": "public void markPviMerge() throws JNCException {\n markLeafMerge(\"pvi\");\n }", "title": "" } ]
[ { "docid": "f413e7d5f04d93aa57d098aa48cf2840", "score": "0.62215143", "text": "@Override\n\tpublic void merge() {\n\t\tSystem.out.println(\"Girafa merge cu capul in nori\");\n\t\t\n\t}", "title": "" }, { "docid": "ea4ec6c401aaac663f055f2c893bb0af", "score": "0.61394954", "text": "pub...
73b40818be4ee87f56c50dce138a0b61
Constructor with InputStream and supplied encoding
[ { "docid": "3da47ae4cd4840677672c5bfa581b9d9", "score": "0.60366154", "text": "public Python(java.io.InputStream stream, String encoding) {\n try { jj_input_stream = new SimpleCharStream(stream, encoding, 1, 1); } catch(java.io.UnsupportedEncodingException e) { throw new RuntimeException(e); }\n t...
[ { "docid": "dd8e10cdc7c8846a0f450640013875b7", "score": "0.7423734", "text": "public MainframeInput(InputStream stream, Charset charset) throws UnsupportedEncodingException {\n\n this(stream, charset.name());\n }", "title": "" }, { "docid": "c2943baa1ff108327736edea4c9da70a", "score"...
ed8faffa4696ef3d8ad10947ac00f71a
hMod: a.length has one extra slot for the hand item
[ { "docid": "e63a57d2f3564f5a871e1a7c6f5fa5f2", "score": "0.0", "text": "private int d(int paramInt) {\n for (int i = 0; i < this.a.length-1; i++) {\r\n if ((this.a[i] != null) && (this.a[i].c == paramInt)) {\r\n return i;\r\n }\r\n }\r\n ret...
[ { "docid": "97feb436a4f4a69d295bf2175b57ca72", "score": "0.6308035", "text": "public int getHandSize() {\r\n\t\treturn hand.size();\r\n\t}", "title": "" }, { "docid": "d4955805734280d366e300ad02e47d8c", "score": "0.62121415", "text": "public final int getSize() {\n\t\treturn hand.siz...
9191e09bcb3202835dd38853daf12f6e
Get all the duToans.
[ { "docid": "a55ba448f02ced0839f796a62d65247f", "score": "0.60121936", "text": "List<DuToan> findAll();", "title": "" } ]
[ { "docid": "39cc65169dbabfe2f5d96eb82f6db8e9", "score": "0.5602257", "text": "@Override\n\tpublic List<GrotekUnit> getAll() {\n\t\treturn dao.getAll();\n\t}", "title": "" }, { "docid": "102dacb07f17fdd104b2ac4df1c621ab", "score": "0.55948377", "text": "public List<DnaMutation> getAll...
aa42b457853a4e0304fc42a258b4a478
/ renamed from: h
[ { "docid": "ff50fd6701d72b8e40d36cdc4ef837c9", "score": "0.0", "text": "static boolean m22861h() {\n return f24440f;\n }", "title": "" } ]
[ { "docid": "44492e9cf086cac3b70a4be8af784dcd", "score": "0.6410103", "text": "public void siMuove(String h) {\r\n\r\n\t}", "title": "" }, { "docid": "25b9de3dd1de647b6ab4389e045b8d7f", "score": "0.62372077", "text": "@Override\r\n\tpublic long getH() {\r\n\t\treturn h;\r\n\t}", "...
533398d8178a469ac4f55e8854cc9f52
Called when this UI component is no longer wanted. Will unregister the whiteboard configuration changed listener.
[ { "docid": "46885ca70c813318b9900ad227aeae98", "score": "0.6350649", "text": "void stop()\n {\n // Unregister the configuration listener.\n srCfgListener.unregister();\n }", "title": "" } ]
[ { "docid": "7a38edc20ddf8c4f7c10cb0cef6326d2", "score": "0.72056675", "text": "void unregisterListener(ConfigurationRefreshListener listener);", "title": "" }, { "docid": "461122c30eb60b37fa266aaf4fe6e286", "score": "0.69957006", "text": "@Override // com.android.server.wm.WindowToke...
67e7126c9d78c01b54db93f9725061c6
Checks if Deque is full or not.
[ { "docid": "8b42fa39a8942e2d3b3b8ebf99f10486", "score": "0.7226558", "text": "boolean isFull()\n {\n return ((front == 0 && end == size-1) || front == end+1);\n }", "title": "" } ]
[ { "docid": "a2bf657085f9c40224a44cac7f07be89", "score": "0.85895234", "text": "@Override\r\n\tpublic boolean isFull() {\r\n\r\n\t\treturn data.size() >= maxQueue;\r\n\t}", "title": "" }, { "docid": "f33cb4b768f22e99055b32918376f358", "score": "0.8175419", "text": "public boolean isFu...
e38716d22ba0f58bcf86a4dcf6c229cd
khi click moi bat dau chay
[ { "docid": "43ef606a98e62d1f7aa14878e44b42a4", "score": "0.0", "text": "protected void onPrepareDialogBuilder(Builder builder) {\n\n\t\tMyFolderDAO dao = new MyFolderDAO(getContext(), null);\n\t\tdao.setSource(MySource.DISK_SOURCE);\n\t\tMyFolder fd = new MyFolder(\"/mnt\");\n\t\tfd.setDao(dao);\n\n\t\t...
[ { "docid": "f1be4df14b75d3c3fe17511c017232df", "score": "0.71880037", "text": "@Override\n\t\t\tpublic void mouseClicked(MouseEvent e) {\n\t\t\t\tSystem.out.println(\"vai ficar clikando ai a toa? PATETA\");\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "57a1eb560452a55d9345f668f54dda15", ...
4c51febb155ee7f71cad5160b0969b47
Converts text into number. Optional if nonnumber given.
[ { "docid": "394748c4bcc4114a0375fa167b54a8c5", "score": "0.6115113", "text": "public static Optional<Integer> convert(String textualNumber) {\n\n final int number = matchTens(matchOnes(matchHundreds(\n new Result(0, textualNumber.toLowerCase().trim())\n ))).getNumber();\n\n ...
[ { "docid": "2cf1628995704886afd08d1bab9b97d4", "score": "0.74438643", "text": "static int convertirEnNum (String text) {\n\t\t\n\t\tint resultado = Integer.parseInt(text);\n\t\treturn resultado;\n\t}", "title": "" }, { "docid": "1c8b2092c447e3e0c985154277ca55d7", "score": "0.6510794", ...
e13931f83be243396ae62a25fb9d3760
/ Get top k rated items not rated by user as a set of recommended items
[ { "docid": "1bc77b16ad5553d4740238778e9aba27", "score": "0.76398766", "text": "public List<Predictions> getTopKItems(long userId, int k) throws TasteException{\n\t\tList<Predictions> recommendedItems = new ArrayList<Predictions>();\n\t\t\n\t\tLongPrimitiveIterator iter = model.getItemIDs();\n\t\tFastID...
[ { "docid": "a131bcb10651f92db19a27c38f540196", "score": "0.696812", "text": "List<PersonHelpfulness> topKHelpfullUsers(final int k) {\n // map to pairs of uID and helpfulness, then cut the helpfulness to 2 parts\n // filter out 0s, then sum both parts using reduce by key\n // then, ...
eead45f2024cc9e9b25760c2d15b8c2a
Data Series > Data Selection
[ { "docid": "8603c4a8f592efbfc02ac3eaa0728002", "score": "0.0", "text": "@VBITestConfig(properties ={\n\t\t @VBIProperty(name= Properties.Datalabel.ENABLE,value = Common.ENABLE),\n\t\t @VBIProperty(name= Properties.Datalabel.FONTSIZE,value = Count.TEN,expectedValue = Count.TEN+\"px\"),\n\t\t @VBIPr...
[ { "docid": "1eebc53d7ad9914593dc03f17835b0b1", "score": "0.6124669", "text": "public void onDataSelected(DataSelectionEvent event);", "title": "" }, { "docid": "8b55c8046c6f1c90384188276789d68d", "score": "0.6078934", "text": "@Override\n public DataSelection getDataSelection(final ...
1436a8855aa23b3dd21e1207b7f4ae9f
Valida o campo numero
[ { "docid": "93d299f36481ddffa08991b7e900ff2e", "score": "0.7226073", "text": "public void validaNumero(UtilMensagem msg){\n\n int caracteresMinimos = 1;\n int caracteresMaximos = 10;\n \n if(msg.getMensagemString().length() >= caracteresMinimos && msg.getMensagemString().leng...
[ { "docid": "3cd2c811dfd30e99a49649584ddfccd9", "score": "0.73082304", "text": "private void validarNumero(String numero) {\n\t\tString[] bloques = numero.split(\" \");\n\t\tif (bloques.length != 4) {\n\t\t\tthrow new BusinessException(\"Formato de numero de tarjeta invalido\");\n\t\t}\n\t}", "title"...
2e01cee66ba1df447c85162cdfd2b378
Creates an instance of MessageDialog by specifying the owner window and the message to be displayed.
[ { "docid": "986de4494a7f586be07378db1d3926b5", "score": "0.61599374", "text": "public ErrorDialog(Frame owner, String message)\n {\n this(owner);\n \n this.messageTextArea.setText(message);\n }", "title": "" } ]
[ { "docid": "bc848ac4cb1be18c13e22fffe4384167", "score": "0.6819633", "text": "public static void buildAndShow(Window owner, String message, String title)\n {\n new StringDialog(owner, message, title);\n }", "title": "" }, { "docid": "4b3341792564333efed858c6253af40b", "score...
86252335b9e499ff73509b9bbe33746f
$ANTLR end "stat" $ANTLR start "expr" Expr.g:10:1: expr : multExpr ( '+' multExpr | '' multExpr ) ;
[ { "docid": "7f8dd14abcff656cea78bd7a7d1e337b", "score": "0.7177808", "text": "public final void expr() throws RecognitionException {\n try {\n // Expr.g:10:5: ( multExpr ( '+' multExpr | '-' multExpr )* )\n // Expr.g:10:9: multExpr ( '+' multExpr | '-' multExpr )*\n ...
[ { "docid": "9502510ef19edf932f3464602bd7ab14", "score": "0.6392385", "text": "public final int expr() throws RecognitionException {\r\n\t\tint value = 0;\r\n\r\n\r\n\t\tint e =0;\r\n\r\n\t\ttry {\r\n\t\t\t// C:\\\\Users\\\\gaura\\\\Desktop\\\\Grammar\\\\SIL.g:58:5: (e= multExpr ( '+' e= multExpr | '-' e...
4dd792256982cbc6989339c87d0e6637
Insert a pair of elements, one in the min heap and one in the max heap.
[ { "docid": "04d999d3bb0dbe936410bd6b032bc241", "score": "0.67596716", "text": "@SuppressWarnings(\"unchecked\")\n private void insertPair(ReflectedHandle<K, V> handle1, ReflectedHandle<K, V> handle2) {\n int c;\n if (comparator == null) {\n c = ((Comparable<? super K>) handle...
[ { "docid": "7594589426f2f84d4bf5f832a8d4b43c", "score": "0.72581893", "text": "public static void insertHeap(int x) {\n\n\t\tif (max.isEmpty()){\n\t\t\tmax.add(x);\n\t\t\treturn;\n\t\t}\n\n\t\tif (max.size() == min.size()) {\n\t\t\tif (min.peek() < x) {\n\t\t\t\tmin.add(x);\n\t\t\t\tmax.add(min.poll());...
fc70007ca402c07f92851f6e1967d85e
Constructor. Creates a new AgentSimulator and affects it the specified graph, the specified event queue, the specified acknowledgment queue and the specified agents Hashtable.
[ { "docid": "401c8b8a900caf9f57a7fbaaf9f2598b", "score": "0.6628144", "text": "public AgentSimulator(SimpleGraph netGraph, Hashtable defaultAgentValues,\n\t\t\tVector agentsRules, VQueue evtVQ, VQueue ackVQ) {\n\n\t\tthis.graph = netGraph;\n\t\tthis.stats = new Bag();\n\n\t\tthis.threadGroup = new Simula...
[ { "docid": "ebefec2b1def71b9fef04bd99d094bfc", "score": "0.71394795", "text": "public AgentSimulator(SimpleGraph netGraph, Vector agentsRules,\n\t\t\tVQueue evtVQ, VQueue ackVQ) {\n\t\tthis(netGraph, new Hashtable(), agentsRules, evtVQ, ackVQ);\n\t}", "title": "" }, { "docid": "7a98a1300f05e...
2709652314b8b593af93bd20b8511fea
create a user, give organs to donate, then remove assert isDonor == false
[ { "docid": "c26788269ff71b54283ac8db7299a9d5", "score": "0.70044065", "text": "@Test\n public void UserWithRecentlyEmptyDonorDetailsHasIsDonorFalse() {\n Map<Organs, ExpiryReason> organs = new HashMap<>();\n organs.put(Organs.CONNECTIVE_TISSUE, null);\n testUser.getDonorDetails()...
[ { "docid": "fba22201590556ee44c2820303c2bde3", "score": "0.6399635", "text": "private void releaseAllDebtsBetweenUsers(Position p, String user_one, String user_two) {\n if (p.getCreatorId().equals(user_one)) {\n if (!p.isExcludedFromPayments(user_two)) {\n p.removeDebtor...
098e8ac113b3a53a7197a3eb0050c066
This method will scale the photo data to the specified size. It will only decrease the size of the photo, not increase it.
[ { "docid": "c85c35a99d046743cb0c6a1faf413a50", "score": "0.65348077", "text": "private static byte [] scalePhoto (int longEdgeSize, byte [] photoData) throws IOException {\n\n ByteArrayInputStream dataStream = new ByteArrayInputStream(photoData);\n ImageInputStream iis = ImageIO.createImag...
[ { "docid": "9c4fcd2390fee98a4d5114f9167bb3da", "score": "0.7058307", "text": "public byte[] scaleImage(byte[] imageData, int maxSize);", "title": "" }, { "docid": "8709bed40e9b07dd161f18e633061ae7", "score": "0.6294523", "text": "public void scale() {\n image = Bitmap.createSc...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "94458f67a9953c275a958758ecee9407", "score": "0.0", "text": "@Override //überschriebene, nicht überladene Methode, vererbung, annotation\n\tpublic Vector<Kontakt> getAllKontakte() throws IllegalArgumentException {\n\t\tVector<Kontakt> result = this.kMapper.findAll();\n\t\treturn result;\n\t\t...
[ { "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...