query_id
stringlengths
32
32
query
stringlengths
7
129k
positive_passages
listlengths
1
1
negative_passages
listlengths
88
101
642ab34045a9de1bdc23b47f6c072bc8
TODO: move to test class...
[ { "docid": "01b35c22dd76c168efe19173f9da7486", "score": "0.0", "text": "public static void main(String[] args) {\n\t\tRiakModelIdManager idManager = new RiakModelIdManager();\n\t\t// set new id\n\t\tMyModel model = new MyModel(null, \"a model\");\n\t\tidManager.setNewId(model);\n\t\t// validate\n\t\tMyM...
[ { "docid": "ccbad2fe39581989696edf7ff479266d", "score": "0.6305709", "text": "private static void somrtinhg() {\n\t\t\r\n\t}", "title": "" }, { "docid": "c0781256114b6e21545493bb75f18b9d", "score": "0.6131943", "text": "@Override\n\tprotected void sanityCheck() {\n\t\t\n\t}", "ti...
d928a96f7a8f9f2a14a771781c4eced0
Returns the plugin that has the specified type. Throws exception if not found.
[ { "docid": "4728da1726baa15d24dde11fc9c68d00", "score": "0.6722005", "text": "<T extends Plugin> T getPlugin(Class<T> cls);", "title": "" } ]
[ { "docid": "2a4848d23e93730ca7954c71bd98874b", "score": "0.6902004", "text": "public static Plugin getCallingPlugin() {\n Exception ex = new Exception();\n try {\n Class<?> clazz = Class.forName(ex.getStackTrace()[2].getClassName());\n Plugin plugin = JavaPlugin.getPr...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "1875b843b50c9a54e0dcc727855a7743", "score": "0.0", "text": "public List getInputGroups() {\n return null;\n }", "title": "" } ]
[ { "docid": "1acc57d42c31dee937ac33ea6f2a5b0b", "score": "0.6840622", "text": "@Override\r\n\tpublic void comer() {\n\t\t\r\n\t}", "title": "" }, { "docid": "118f2b8a20f48999973063ac332d07d3", "score": "0.6566127", "text": "@Override\r\n\t\t\tpublic void atras() {\n\r\n\t\t\t}", "...
7400d7568b339c10e77e647b85551ae2
Get the current data for this session
[ { "docid": "f81e707cdc0c9c4691219cfa5c295bc8", "score": "0.0", "text": "public final Layers getData()\r\n {\r\n return _theData;\r\n }", "title": "" } ]
[ { "docid": "0cd3001a1c565e7588420e869275aed3", "score": "0.7732067", "text": "Object getCurrentData();", "title": "" }, { "docid": "1dc02649fe004c475d081720fe362969", "score": "0.7281088", "text": "public Map<String, Object> getCurrentData() throws Exception;", "title": "" }, ...
fbc797ab14b50e56f3b511568af0a645
Cloning this BitMatrix produces a new BitMatrix that is equal to it. The clone of the bit matrix is another bit matrix that has exactly the same bits set to true as this bit matrix and the same number of columns and rows.
[ { "docid": "74ed9b552613fc5e3e75652f22288bb1", "score": "0.8303998", "text": "@Override\n public Object clone() {\n BitMatrix clone = (BitMatrix) super.clone();\n if (this.bits != null) {\n clone.bits = this.bits.clone();\n }\n return clone;\n }", "title": "" } ]
[ { "docid": "576249152d600961cd20985ca3077f32", "score": "0.8205448", "text": "public BitMatrix copy() {\n return (BitMatrix) clone();\n }", "title": "" }, { "docid": "635319bd0112862e15abf782b3ac695f", "score": "0.75716007", "text": "public BitBoard clone()\n {\n\treturn (BitB...
6271e6c8f6648f6b4f14e27776af2e13
DEFINE HANDLING OF SCREEN BUTTONS
[ { "docid": "6d3a9359c74c90cb1091d0ef77acabb8", "score": "0.0", "text": "public void onWikiButton(View view){\n\t\t//create and initiate intent for new activity\n\t\tIntent i = new Intent(Intent.ACTION_VIEW);\n\t\ti.setData(Uri.parse(wiki_url));\n\t\tstartActivity(i);\n\t}", "title": "" } ]
[ { "docid": "25d6e3e42956398aa8a9812b75353b6c", "score": "0.66527677", "text": "@Override\n public void initGUIHandlers() {\n eventHandler = new EventHandler(this);\n \n // WE'LL HAVE A CUSTOM RESPONSE FOR WHEN THE USER CLOSES THE WINDOW\n window.setDefaultCloseOperation(JF...
63743be9798a89db47b50c02cf1fcb25
$ANTLR end "entryRuleAction" $ANTLR start "ruleAction" ../eu.quanticol.caspa.ui/srcgen/eu/quanticol/ui/contentassist/antlr/internal/InternalCASPA.g:291:1: ruleAction : ( ( rule__Action__Group__0 ) ) ;
[ { "docid": "d52e918e1c820b7d0ae6c64db97ee41a", "score": "0.7300113", "text": "public final void ruleAction() throws RecognitionException {\n\n \t\tHiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(\"RULE_ML_COMMENT\", \"RULE_SL_COMMENT\", \"RULE_WS\");\n \t\tint s...
[ { "docid": "f3227901d8f37765f1b5c5319eca5583", "score": "0.7389859", "text": "public final void ruleAstAction() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \n try {\n // ../org.caltoopia.frontend.ui/src-gen/org/caltoopia/frontend/ui/conten...
c4a1684bb2343e2a0a1cfbe735bbd333
Suppression de l'index d'une lettre
[ { "docid": "449b31ee73782709b5e3e590ea82276c", "score": "0.5674792", "text": "private void deleteIndex(InfoLetter il) {\r\n IndexEntryPK indexEntry = new IndexEntryPK(getComponentId(), \"Publication\", il.getPK().getId());\r\n IndexEngineProxy.removeIndexEntry(indexEntry);\r\n }", "title":...
[ { "docid": "57960314827609e10fa0675faa01d697", "score": "0.6509181", "text": "@Override\n\tpublic void indexBecameUnaccessible() {\n\t\t\n\t}", "title": "" }, { "docid": "a5adefb7beb4e5f045b55b235b107e2c", "score": "0.62350845", "text": "@Override\r\n\tpublic void removeToIndex(int i...
67c9490e1d4f4c5750c0e6260f8a974a
/ / / / / /
[ { "docid": "a6a3e720e8049989c153e7765782c2e5", "score": "0.0", "text": "public void translateDesynthesized(ClassGenerator classGen, MethodGenerator methodGen) {\n/* 96 */ ConstantPoolGen cpg = classGen.getConstantPool();\n/* 97 */ InstructionList il = methodGen.getInstructionList();\n/* 98 */...
[ { "docid": "11a1c2dfff9a8b20b789ac0b102932b4", "score": "0.5280301", "text": "public float circuit()\r\n { \r\n \treturn (2*width + 2*height); \r\n }", "title": "" }, { "docid": "785f839822f847fb68d932ffd1b6fbf8", "score": "0.52686936", "text": "public static void main(Strin...
306705a4109ae757ea3d1b5ed32321c3
Digests the entire given Resource. Only files accepted by the MetaInfFilter are digested. In other words, the contents of a METAINF folder in resource are ignored. This method calls digest(names, resource) where names is a List of the names in resource.
[ { "docid": "3db0819337d633feed36083eb2c7c907", "score": "0.7699704", "text": "public void digest(Resource resource) throws IOException {\n List names;\n if (resource == null) {\n throw new NullPointerException(\"Resource\");\n }\n names = resource.list(new MetaInfF...
[ { "docid": "be2eb0322a7040b5fea9ac77aa0bceab", "score": "0.5643421", "text": "public void digest(Collection names, Resource source) throws IOException {\n InputStream in;\n Iterator i;\n String name;\n if (source instanceof Manifest) {\n mf_.attributes_ = new Attri...
9e55d8ce4b1c4b14d2df49b3fb2df5f2
Saves the current position and pauses playback. Note that, if audiofocus is abandoned, the lockscreen controls will also disapear. This method is executed on an internal executor service.
[ { "docid": "db52168a33279707235edcb89834b8b9", "score": "0.0", "text": "public abstract void pause(boolean abandonFocus, boolean reinit);", "title": "" } ]
[ { "docid": "d0b2c6d8388d67cc5c0976303811a89a", "score": "0.608721", "text": "public void pause(){\n this.setLastPos(this.clip.getMicrosecondPosition());\n this.clip.stop();\n isActive = false; \n }", "title": "" }, { "docid": "d7c573e4385b16031e57f134c41f8402", ...
b661773b7d930af0ba0af02f97302ea1
Setter for stream event dispatcher (useful for saving playing stream to file)
[ { "docid": "fe78fe7f542faac9056f700ab6482dac", "score": "0.6633768", "text": "public void setStreamEventDispatcher(IEventDispatcher streamEventDispatcher) {\r\n \t\tthis.streamEventDispatcher = streamEventDispatcher;\r\n \t}", "title": "" } ]
[ { "docid": "201387aafa04d1dd91c7ceeb87d85de8", "score": "0.61790764", "text": "public void setOnStreamListener(OnStreamListener streamListener) {\n onStreamListener = streamListener;\n }", "title": "" }, { "docid": "f347573b3a3362719e144f35a702c20b", "score": "0.6149605", "...
d9d6dff8e6b47894f3c9f28832eaca1e
Method to calculate Margin Value of a given MBR
[ { "docid": "c76bbeee18e4d5868c9effff2ae2a5cc", "score": "0.751874", "text": "private double marginCalculate(double[][] mbr){\n double margin = 0;\n for (int i = 0;i < dim;i++){\n for (int j = dim - 1;j > 0;j--){\n margin+= Math.abs(mbr[i][j-1] - mbr[i][j]);\n ...
[ { "docid": "92fe0a197cb8b36459158a895c2065c3", "score": "0.6284759", "text": "public BigDecimal getMARGIN_AMOUNT() {\r\n return MARGIN_AMOUNT;\r\n }", "title": "" }, { "docid": "92fe0a197cb8b36459158a895c2065c3", "score": "0.6284759", "text": "public BigDecimal getMARGIN_AM...
72443e52d98cc0a3d784b9a87a9ac897
TODO Autogenerated method stub Enviar packets
[ { "docid": "1261198e1bf25da469ce339fb03d6f9f", "score": "0.0", "text": "public static void main(String[] args) throws IOException {\n\t\tString serverAddress=JOptionPane.showInputDialog(\"Ingresar direccion IP :\\n\" + \"corriendo el servicio en el puerto \"+ SERVER_PORT +\":\");\r\n\t\t//Creamos un dat...
[ { "docid": "f4551f6a702428f55f5ab86a306f4375", "score": "0.6557224", "text": "@Override\n public void processPacket(GeneratedMessage packet) {\n }", "title": "" }, { "docid": "717ad48e48d010fe4d1e8c23a7f7f279", "score": "0.6461862", "text": "public void buildPacket(){\n\t}", ...
8711ca2329fb5458e0d20de4b01e6c35
Meant to set the replacement algorithm name, though there is no guarantee the cache sets are using whatever is put here. Using the basic Builder class does guarantee whatever was set here is used throughout.
[ { "docid": "27b32709a0e9383c86a1028007587681", "score": "0.54171926", "text": "protected void setReplacementAlgorithmName(String replacementAlgorithmName) {\n this.replacementAlgorithmName = replacementAlgorithmName;\n }", "title": "" } ]
[ { "docid": "9ff16fdcf6f9213d18df712cc95bbee0", "score": "0.6589144", "text": "public Builder setAlgorithm(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000008;\n algorithm_ = value;\n onChanged();\n ...
3ddda39969bc5be7a5e0374d1702dd66
Referral constructor that gets details about referral
[ { "docid": "031cdc69747d2b6595cc57e573069333", "score": "0.6816679", "text": "public Referral(int patientid) {\n\t\tsuper();\n\t\tdoc_specialization = ((SpecialistDoctor)LoginGUI.user).getSpecialization();\n\t\tString str =\"SELECT * FROM abstract_referral JOIN referral ON ReferralID=ReferralNum \"\n\t\...
[ { "docid": "eec7ae7380b8f9dbf41a8b82c2e619f7", "score": "0.71594316", "text": "public String getReferral()\n {\n return this.referral;\n }", "title": "" }, { "docid": "eec7ae7380b8f9dbf41a8b82c2e619f7", "score": "0.71594316", "text": "public String getReferral()\n {\n return...
3ff9c93a8d998e270b3221f2b22dbdec
Shuffle Shuffles the deck like a little kid would, very scientific
[ { "docid": "9e38e6b651c066fe0c21e0322299c712", "score": "0.7355371", "text": "public void Shuffle()\n \t{\n \t\tif (DeckOfCards != null && DeckOfCards.size() > 0)\n \t\t{\n \t\t\tRandom randomGenerator = new Random();\n \n \t\t\tint howManyTimesToShuffle = DeckOfCards.size(); \n \t\t\tint howManyCardsIn...
[ { "docid": "2349441b4841dfe86fc6ff867d43e0f5", "score": "0.85071045", "text": "public void shuffle() {\n\t\tint firstChoice = 0, secondChoice = 0;\r\n\t\tchar temp;\r\n\t\tfor (int i = 0; i < 1000; i++) {\r\n\t\t\tfirstChoice = (int)(Math.random() * 54);\r\n\t\t\tsecondChoice = (int)(Math.random() * 54)...
7e01558cb20deeb1a2e46b9dc7478332
$ANTLR end "T__50" $ANTLR start "T__51"
[ { "docid": "7ae887b805e2bd2d7d913e94817b811e", "score": "0.0", "text": "public final void mT__51() throws RecognitionException {\n try {\n int _type = T__51;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ../at.ac.tuwien.big.amltext.ui/src-gen/at/ac/tuwien/big/amlte...
[ { "docid": "539f23a0caa27ba6bcb59e8535c3a2b5", "score": "0.6285649", "text": "private int yyr50() {\n { yyrv = new Idents(((Ident)yysv[yysp-3]), ((Idents)yysv[yysp-1])); }\n yysv[yysp-=3] = yyrv;\n return yypidents();\n }", "title": "" }, { "docid": "7006c9a6d1abdd7d7...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "334afe0d375c038085603e3c701fcda4", "score": "0.0", "text": "@Override\n\tpublic List<Grade> getRank() {\n\t\tList<Grade> list=new ArrayList<Grade>();\n\t\tlist=find(\"from Grade order by gscore desc\");\n\t\treturn list;\n\t}", "title": "" } ]
[ { "docid": "b7c706d331e2b507ec0ff8404ad87dc7", "score": "0.69742316", "text": "@Override\r\n\t\t\tpublic void crispel() {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "76b3966c8e3f64884c4127d1a3df09a8", "score": "0.68059677", "text": "@Override\r\n\t\t\tpublic void maruti() {\n\t...
8b796edb34eb0794d3b0eb8f9dfa7427
add something for generalCaseSOC add something for SOC with syntactic order on one side
[ { "docid": "84778d8da1f49838ab046e8c8d02bbdb", "score": "0.0", "text": "public static Comparator<FDODScore> FDODScoreComparator() {\r\n \r\n Comparator comp = new Comparator<FDODScore>() {\r\n public int compare(FDODScore s1, FDODScore s2) {\r\n if (s1.score < s2....
[ { "docid": "e99995b62e80b812f499c8cfbb53f0d5", "score": "0.5410776", "text": "private void setOperation(String addition2) {\n\t\t\n\t}", "title": "" }, { "docid": "29cf5dec129c6e23a9ddd7d5d9c4c8b7", "score": "0.531748", "text": "public void agregarConductor(Conductor cond);", "ti...
38eae37c44e4b8bf56c93a83ed9f4cf9
Draws the Start Field
[ { "docid": "e9e510f5d91c094a02ece01b17704229", "score": "0.7480347", "text": "private static void drawStartLabel() {\n\t \t\n\t \t\n\t\t\tLabel start = new Label(start_x,start_y,starttext,Color.WHITE,start_fontsize);\n\t\t\t\n\t \tLabel end = new Label(end_x,end_y,endtext,Color.WHITE,end_fontsi...
[ { "docid": "8f3f143b910194564babf71d43deea39", "score": "0.6757209", "text": "@Override\r\n\t\t\tpublic void startPaint() {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "961f418d7cc97ef53b1c1f49e23ced32", "score": "0.6674929", "text": "private JTextField getStart() {\r\n i...
f7db18630c4f0a6ea63f188e8fd45981
This sync block waits until result is available.
[ { "docid": "4134736b0de6298ac3b33c5afa1e12ef", "score": "0.0", "text": "public void run() {\n\t\t\t\tsynchronized (mutex) {\r\n\t\t\t\t\ttry {\r\n\t\t\t\t\t\t// If job is not finished, wait till it finishes\r\n\t\t\t\t\t\twhile (!isJobFinished()) {\r\n\t\t\t\t\t\t\t// Wait for result\r\n\t\t\t\t\t\t\tmu...
[ { "docid": "96265fa18ec6c7a2bc5dc390ace1a0d7", "score": "0.6426905", "text": "public Response waitForResponse() throws InterruptedException {\n return que.poll(3000L, TimeUnit.MILLISECONDS);\n }", "title": "" }, { "docid": "d05fc8b0407c6e60e8c3aebf6b94738d", "score": "0...
518bf5364cda3c6202a1a392996f93d1
Inflate the menu; this adds items to the action bar if it is present.
[ { "docid": "80099b52c63cbc358638be5909e72e14", "score": "0.0", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.niviewer_menu, menu);\n\t\treturn true;\n\t}", "title": "" } ]
[ { "docid": "336240563eed6d025065f97a46803a2c", "score": "0.72461367", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n \tMenuInflater inflater = getMenuInflater();\n \tinflater.inflate(R.menu.main_activity_actions, menu);\n \treturn super.onCreateOptionsMenu(menu);\n ...
0decfa4d05bd78191bb5d7cb05fd10f7
default impl returns the same as writeable name, but we keep the distinction between the two just to make sure
[ { "docid": "c58eb94fd1c3c7b970c4c120b77f7c51", "score": "0.7068634", "text": "@Override\n public String getName() {\n return getWriteableName();\n }", "title": "" } ]
[ { "docid": "85e5ea26ec4d8d63051a752159dd9e0a", "score": "0.66099906", "text": "protected abstract String name();", "title": "" }, { "docid": "85e5ea26ec4d8d63051a752159dd9e0a", "score": "0.66099906", "text": "protected abstract String name();", "title": "" }, { "docid": "...
a4ebe5bb7bf80b4f9b39e5a7a2017f9f
Represents the latest available observations of a replica set's current state. +optional +patchMergeKey=type +patchStrategy=merge repeated .k8s.io.api.apps.v1beta2.ReplicaSetCondition conditions = 6;
[ { "docid": "b29aaf1e346107b3295bbea7c1aa8287", "score": "0.6909975", "text": "public java.util.List<\n ? extends io.kubernetes.client.proto.V1beta2Apps.ReplicaSetConditionOrBuilder>\n getConditionsOrBuilderList() {\n if (conditionsBuilder_ != null) {\n return condit...
[ { "docid": "4773349af5ea8fa731d81613849ed259", "score": "0.72933966", "text": "public java.util.List<\n ? extends io.kubernetes.client.proto.V1beta2Apps.ReplicaSetConditionOrBuilder>\n getConditionsOrBuilderList() {\n return conditions_;\n }", "title": "" }, { "doci...
de21e25a63d27285dc274a7097ad1b2a
used for comparing slots
[ { "docid": "bded8c3f04bea5dece2a602ca57d96ec", "score": "0.6264421", "text": "@Override\n\tpublic boolean equals(Object o){\n\n\t\tboolean out = false;\n\n\t\tSlot s = (Slot) o;\n\n\t\tString[] t1 = this.time.split(\"-\");\n\t\tfor(int i=0; i<2; i++){\n\t\t\tString t = t1[i];\n\t\t\tString[] x = t.spli...
[ { "docid": "f0353b4974e73b86d27778e293aed9cc", "score": "0.64427656", "text": "@Override\n public int compareTo(Slot slot) {\n return Integer.compare(this.x, slot.x);\n }", "title": "" }, { "docid": "0486a64deabf3a46e109f460994e5207", "score": "0.6174728", "text": "@Over...
197294062d9c96a26602a1d73ab7002a
all attributes to set attributes
[ { "docid": "eb3daeb6b58d64668d700abbe8ef71a2", "score": "0.0", "text": "public void setName(String name, int i) {\n eName[i] = name;\n }", "title": "" } ]
[ { "docid": "4e5803e5bb56d99cca12cfddda82f8ac", "score": "0.8066438", "text": "void assignAttributes();", "title": "" }, { "docid": "e0cefcbb55db1b195919fb7c4e6db2d5", "score": "0.73437047", "text": "void setAttributes(IAttributes attributes);", "title": "" }, { "docid": "...
8d945836cbebfdbdc0056b797833b057
This method was generated by MyBatis Generator. This method corresponds to the database table public.users
[ { "docid": "e1c96e0921263ca31d90936c51921544", "score": "0.0", "text": "int insert(Users record);", "title": "" } ]
[ { "docid": "6fec5eac1bca051d32b38cbc9c254d69", "score": "0.7010644", "text": "List<User> getAllUsers() throws SQLException;", "title": "" }, { "docid": "a79b1c77daf109ddf9c78bd4c5d8d541", "score": "0.69718087", "text": "public List<User> getAllUser() {\n\n return jdbcTemplate...
4740f021fcd46549d33f1e68ac99be46
test to get popular contributors
[ { "docid": "e6de428f741d1224aeb811f22c11989b", "score": "0.78145075", "text": "public void testGetPopularContributors() {\r\n List<Map<String, Object>> statics = snippetManagerImpl.getPopularContributors(5);\r\n for (Map<String, Object> info : statics) {\r\n System.out.println(i...
[ { "docid": "203e60e897bd54e83232e43144c9c58d", "score": "0.6987392", "text": "int getContributorCount();", "title": "" }, { "docid": "147c43a939fa4a566b766841f50e1190", "score": "0.67494214", "text": "@Test\n public void checkContributorStats(){\n LinkedList<Contributor> co...
823959fe22d77ee4e4d7194e562023bb
/ renamed from: f
[ { "docid": "7b8cfa8598a49267e755ccb0303c8b19", "score": "0.55296665", "text": "public abstract void mo3813f();", "title": "" } ]
[ { "docid": "649d5d1bbf217f0ea1f13ecace77b961", "score": "0.7323683", "text": "public void func_70305_f() {}", "title": "" }, { "docid": "e4d0dafeba3a10afbb3401cf1cc261bf", "score": "0.6664798", "text": "public void f() {}", "title": "" }, { "docid": "e4d0dafeba3a10afbb340...
498eb8e5a5c3925e15e7ccac0295795a
Insert the method's description here. Creation date: (09.06.2003 15:12:21)
[ { "docid": "633c27bc17eda60abe79a50a5f7f3a56", "score": "0.0", "text": "public void setColname(java.lang.String newColname) {\n\tcolname = newColname;\n}", "title": "" } ]
[ { "docid": "b56810a1c55eb77e4fb5637cd2ed6edf", "score": "0.67742026", "text": "@Override\n\tpublic void Method() {\n\t\t\n\t}", "title": "" }, { "docid": "b56810a1c55eb77e4fb5637cd2ed6edf", "score": "0.67742026", "text": "@Override\n\tpublic void Method() {\n\t\t\n\t}", "title": ...
023babc12a829ffdadd7cbbecd419369
Adds all available maps to an Array
[ { "docid": "82e27d6056079533d9bc7da0ab2bde42", "score": "0.6387962", "text": "private void addMaps(Array<String> maps) {\n for (Map map : Map.values())\n maps.add(map.name());\n }", "title": "" } ]
[ { "docid": "b00196c273797a168efff45607d3b4b0", "score": "0.6694736", "text": "public static void init() {\n availableMaps = new ArrayList<>();\n\n availableMaps.add(\"basic\");\n availableMaps.add(\"firstMap\");\n }", "title": "" }, { "docid": "0b00cfb610c58d4a1c29e753f411a62b", ...
6c731e7c2a4b76a7fadbcf9b0e98296b
if (lengthChecker != null && !lengthChecker.check(vegetable.getName())) return false; if (nameChecker != null && !nameChecker.check(vegetable.getName())) return false;
[ { "docid": "1c6fc77d2a06071a78eadba7dc0a6b2e", "score": "0.0", "text": "public boolean checkVegetable(Vegetable vegetable) {\n\t\treturn true;\r\n\t}", "title": "" } ]
[ { "docid": "22e3ff73ad749c72d4d379b8329a42b7", "score": "0.6644003", "text": "private Boolean checkName(CharSequence name){\n if (name.length()<=1){\n return false;\n }\n else{\n return true;\n }\n }", "title": "" }, { "docid": "04cdd3728e...
8b59f8f8e79279d35bf0cbed190dfffd
optional string wx_status = 18;
[ { "docid": "91b3b81de790e2cc1beda86af7a8f334", "score": "0.0", "text": "public Builder clearWxStatus() {\n \n wxStatus_ = getDefaultInstance().getWxStatus();\n onChanged();\n return this;\n }", "title": "" } ]
[ { "docid": "a4cfacae43dd0309171357ca4dde345e", "score": "0.76995397", "text": "java.lang.String getWxStatus();", "title": "" }, { "docid": "771d05305ba6f939ac69c6c2f7b17bb2", "score": "0.7000163", "text": "public Builder setWxStatus(\n java.lang.String value) {\n if (...
be16fc2becf575a8d1b3448fe53c2545
/ Generate a 4 digit random number for PersonID
[ { "docid": "0de3db56c0be805d379df915d959bbd9", "score": "0.6551793", "text": "public int setPersonID(int min, int max) {\r\n\t\t Random rn = new Random();\r\n\t\t int range = max - min + 1;\r\n\t\t return rn.nextInt(range) + min;\r\n\t }", "title": "" } ]
[ { "docid": "1591501e0d5c1235795c8223414c6037", "score": "0.77337813", "text": "private int generateRandomNum() {\n return (int) Math.floor(Math.random() * 4);\n }", "title": "" }, { "docid": "02a72394b7ea8d8a6175c5bed2775c88", "score": "0.7662668", "text": "public int gener...
928c173029f367902f1e700687fa8e66
/ CONNEXION CLIENT PROF
[ { "docid": "55dc34bcbd1b555de9f36bc3d2860ff3", "score": "0.0", "text": "private void connect(String serverDeviceName) {\r\n if (client.connect(serverDeviceName)) {\r\n setText(R.id.client_server_uuid, (\"Client prof UUID: \" + Constante.CPUUID.toString()));\r\n } else {\r\n ...
[ { "docid": "81225b019ece68ebac5ea35d9a47936b", "score": "0.70812804", "text": "public void initClient() {\n Gson gson = new Gson();\n Recordatorio recordatorio = new Recordatorio(posx, posy, mensaje,importancia,confirmacion);\n String conexion = gson.toJson(recordatorio);\n\n ...
77dd5fbd12031234839e315ed1e98a69
Events for all RMContainers which will be registered will be forwarded imediately to this listener.
[ { "docid": "4fa13cd392994d1d32b578acce92774b", "score": "0.0", "text": "public void registerListener(RMContainerRegistryListener listener)throws IllegalArgumentException{\n \tif(theListener != null && theListener != listener){\n \t\tthrow new IllegalArgumentException(\"Another is already registere...
[ { "docid": "fe037fa1f54ab7ae9e3d5068205e507d", "score": "0.58159834", "text": "void onContainerStarted(ContainerId containerId,\n Map<String, ByteBuffer> allServiceResponse);", "title": "" }, { "docid": "75752d70e9c5e2221a1d807f89127a92", "score": "0.5791765", "text": "@Overri...
5fa36e2576d41be5240a3ee115a1d77c
Ex: "( x ==1 )"> "x==1". We normalize condition
[ { "docid": "9a808c077b674050a68ca4dd6d84b4f0", "score": "0.0", "text": "private String ast(IASTNode node) {\n\t\tif (node != null) {\n\t\t\tif (!node.getRawSignature().endsWith(SpecialCharacter.END_OF_STATEMENT)) {\n\t\t\t\tnode = Utils.shortenAstNode(node);\n\t\t\t}\n\t\t\treturn node.getRawSignature()...
[ { "docid": "397f53daf22d7e7ae9f043cd91b30787", "score": "0.61108834", "text": "public boolean solveCondition(String rawParameter) {\r\n\r\n //Handles less than or equal to statements, can only be between doubles:\r\n if (rawParameter.contains(\"<=\")) {\r\n String _arg1 = rawPar...
f0b225ae18dac15753d2caec5927ac31
optional .ddz.PukeGameEnd game_end = 4;
[ { "docid": "abce4f62eb3de54ed41fd0fb848ebe2e", "score": "0.0", "text": "public Builder clearGameEnd() {\n if (gameEndBuilder_ == null) {\n gameEnd_ = protobuf.clazz.zjh.ZjhRsp.PukeGameEnd.getDefaultInstance();\n onChanged();\n } else {\n gameEndBuilder_.clear();\...
[ { "docid": "e979a1c5f8f445f6ad584474b9187c90", "score": "0.76670456", "text": "protobuf.clazz.zjh.ZjhRsp.PukeGameEnd getGameEnd();", "title": "" }, { "docid": "850cad31066944f6b5f85595aab736cc", "score": "0.7187089", "text": "protobuf.clazz.zjh.ZjhRsp.PukeGameEndOrBuilder getGameEndO...
7a5b8d776881d5211299bac5d2dee9ea
Local Methods Set the entity changed flag
[ { "docid": "29ccce681d9d5a83d01db9b4b4967a5a", "score": "0.83802897", "text": "void setEntityChanged() {\n\t\tentityChanged = true;\n\t}", "title": "" } ]
[ { "docid": "266aae9a8981bc1b06558c05b9a34494", "score": "0.73006123", "text": "public synchronized void setChanged() {\n\t\tchanged = true;\n\t}", "title": "" }, { "docid": "7a7326faacc44a4428fdc68a75a228ed", "score": "0.72808546", "text": "protected final synchronized void setChange...
2f6a847596cfad1c9a95a8ac02cc9910
This method will enter padding value by: top,left,right,button
[ { "docid": "278a4f2f7e4bde7d46ee4b5d5779848e", "score": "0.55432814", "text": "public void paddingGlobalSetting(String[] paddingValue) {\n\t\tclickEle(driver, paddingCheckBox);\n\t\tfor (int i = 0; i < enterPadding.size(); i++) {\n\t\t\tenterTextField(driver, enterPadding.get(i), paddingValue[i]);\n\t\t...
[ { "docid": "875900ccf463078ff9bb0ca426f32563", "score": "0.6778812", "text": "public void setPadding(int padding) {\n this.padding = padding;\n }", "title": "" }, { "docid": "88b4b9c7309b6cc755878e68bffc533f", "score": "0.65651226", "text": "public void setPadding(int padding)\n/...
c382310e546247e9882b15a21909963b
Method using a StringTokenizer
[ { "docid": "8ca22eb5f0d0c3e1c23c136128e702f8", "score": "0.0", "text": "static void combineString(String str) {\n\t\tStringTokenizer st = new StringTokenizer(str);\n\t\tStringBuilder sb2 = new StringBuilder();\n\t\twhile (st.hasMoreElements()) {\n\t\t\tsb2.append(st.nextToken());\n\t\t\tif (st.hasMoreEl...
[ { "docid": "b520a1e7d822fab5e19e9408141786be", "score": "0.6527683", "text": "private static String nextToken ( StringTokenizer st ) {\r\n\t\tString s = st.nextToken();\r\n\t\tif (s.equals(\"-\"))\r\n\t\t\ts = \"\";\r\n\t\treturn s;\r\n\t}", "title": "" }, { "docid": "cf4f66ec71f4c39624657e0...
eabd7e521f68eae22abd7548c328223b
Adds a border connection between the two provinces
[ { "docid": "d56ccda240d910d359f983060180f8af", "score": "0.753556", "text": "public void addBorder(Province province) {\n province.getBorders().add(this);\n borderedProvinces.add(province);\n }", "title": "" } ]
[ { "docid": "ea8918f83675aab54cc181ea5bcdb346", "score": "0.59057254", "text": "private void createConnection(int cMode) {\n\n\t\tif (penlines.size() == 0 && pointCloud.size() > 2) {\n\t\t\tPVector start, end;\n\t\t\tint startindex = Utility.random(pointCloud.size());\n\t\t\tstart = pointCloud.get(starti...
c0d9af15e2349bf62fff4e3c32e13332
Getter method for "formName" tag attribute. (Mapping set in associated BeanInfo class.)
[ { "docid": "e08b27ac47ecbd9c5e83c58545738eaa", "score": "0.6730791", "text": "public String getFormNameExpr() {\n return (formNameExpr);\n }", "title": "" } ]
[ { "docid": "da493a5cec24ff8248e659a60c962434", "score": "0.7716312", "text": "public String getFormName() {\n return formName;\n }", "title": "" }, { "docid": "26a27a3bc76dd119c5a9e7ee954273e5", "score": "0.7612401", "text": "public String getFormName()\n\t{\n\t\treturn for...
2d49a16259c07eb7cbb3433d94a2d23a
Reduces the number of intervals specified.
[ { "docid": "957900366b8dac6fe887f1868bed2d2d", "score": "0.51027054", "text": "private void decrementInterval(Interval interval) {\n if (!intervalTracker.containsKey(interval)) {\n assert false : \"Deleting of non-existent value is not allowed\";\n return;\n }\n ...
[ { "docid": "2c8cc3db34764ab69f5786ddbf154522", "score": "0.60319924", "text": "private static void simplifyIntervalList(List<Interval> intervals) {\n for (int i = 0; i < intervals.size() - 1; i++) {\n Interval interval1 = intervals.get(i);\n for (int j = i + 1; j < intervals...
6e75086de0e15f9bdaac635de1262290
/ push element x into the stack
[ { "docid": "342b03741f7f25d31d7bb2c576b7b529", "score": "0.7807478", "text": "void push(int x) {\n // If x < minEle, update minEle\n if (x < minEle)\n minEle = x;\n\n // Push both x and minEle into the stack\n s.push(x);\n s.push(minEle);\n\n }", "tit...
[ { "docid": "0566cf9161877b4b5f8f3b1e9f30d061", "score": "0.8359343", "text": "public void push(int x) {\n inStack.push(x);\n }", "title": "" }, { "docid": "90507d2eddd8c543745e84a37f7374f9", "score": "0.8303102", "text": "public void push(int x) {\n inboundSt...
006b2fdb08d8b258b2d3cc6cfd739df7
Adds a nested element which enumerates service declaration source files.
[ { "docid": "6bb92ac732177c991d86c2f5450031df", "score": "0.0", "text": "public void addFileset (FileSet set)\n {\n _filesets.add(set);\n }", "title": "" } ]
[ { "docid": "10a9aa93be05a82f7cf15ed22784bc3b", "score": "0.49173045", "text": "private void walThroughFiles(ISourceRoot srcRoot) throws CModelException {\n\t\tfor (ICElement element : srcRoot.getChildren()) {\n\t\t\tStringTokenizer tkn = getCFileTokenized(element);\n\t\t\tif (tkn != null) {\n\t\t\t\twhi...
2c7548d8e97988264e3ba0b4363a0c5e
This method returns a departure point.
[ { "docid": "30814ca815fe22b0693988551e765146", "score": "0.7983166", "text": "String getDeparturePoint();", "title": "" } ]
[ { "docid": "3243cab4ed09831243778481e65cadb8", "score": "0.8075554", "text": "@Override\n public String getDeparturePoint() {\n return departurePoint;\n }", "title": "" }, { "docid": "bbab5e2d461df0d8a1c4131c7f672156", "score": "0.6915789", "text": "public StationStop ge...
416f17c4c3346569b7b6061111768d62
Wraps a checked exception, typically an IOException, as an unchecked IO exception.
[ { "docid": "a1a5c2d6563721913aafb19efee1bccd", "score": "0.7201618", "text": "default UncheckedIOException failure(Exception e) {\n\t\tif (e instanceof UncheckedIOException) return (UncheckedIOException) e;\n\t\tif (e instanceof IOException) return new UncheckedIOException((IOException) e);\n\t\treturn ...
[ { "docid": "b1d56bc5d0e8f3b9fbc9373e883bfc37", "score": "0.6488299", "text": "default UncheckedIOException failure(String message) {\n return new UncheckedIOException(message, new IOException(message));\n }", "title": "" }, { "docid": "33514c77e6c79ee163fd84e12d5afd04", "score"...
05dc63e22342bb526a9d63754e80f6e6
get office by waiting status
[ { "docid": "8eee664e44234579aa44b96a3b2fb892", "score": "0.60869783", "text": "public List<Customer> getofficesbywaiting()\n\t{\n\t\ttry\n\t\t{\n\t\t\tcustomer=jdbcTemplate.query(Constants.WaitingOfficeQuery,new Mapper());\n\t\t\treturn FinalList(customer);\n\t\t}catch(EmptyResultDataAccessException e)\...
[ { "docid": "9b36d0210b6e4286d1cd32a4b01107c3", "score": "0.5618044", "text": "public ReturnMessage getFutureAppointmentsForOffice(String officeKey, String status) {\n String message = \"\";\n ReturnMessage.Builder builder = new ReturnMessage.Builder();\n Query q = new Query(\"Appointment\");\n ...
d3e5b53b538774f05d5b7284cc0a3bf5
Reads an Account object from an input stream.
[ { "docid": "193562a12ee2db899d46f01ee45b2cdc", "score": "0.74201065", "text": "public static edu.uw.ext.framework.account.Account read(InputStream in) {\n\n int passwordHashLength = 0;\n\n DataInputStream dataIn = new DataInputStream(in);\n\n try (ClassPathXmlApplicationContext clas...
[ { "docid": "8128f3f596f2feceb3b64d5a542edb9a", "score": "0.6087226", "text": "<T extends Serializable> T readObject(\n @Nonnull InputStream stream,\n @Nonnull Class<T> clazz\n ) throws IOException;", "title": "" }, { "docid": "de4...
d5a71649a6211aa0430f5336a63be5d0
Original signature : int32 DAQmxCreateTEDSAITorqueBridgeChan(TaskHandle, const char[], const char[], float64, float64, int32, int32, float64, const char[]) native declaration : NIDAQmx.h:2749
[ { "docid": "9f3c68cae79cfe16973db495e42ba1f3", "score": "0.79976094", "text": "int DAQmxCreateTEDSAITorqueBridgeChan(Pointer taskHandle, byte physicalChannel[], byte nameToAssignToChannel[], double minVal, double maxVal, int units, int voltageExcitSource, double voltageExcitVal, byte customScaleName[]);...
[ { "docid": "c6255f634de8bb7cbdba1160da0612ff", "score": "0.74727726", "text": "int DAQmxCreateTEDSAIPressureBridgeChan(Pointer taskHandle, byte physicalChannel[], byte nameToAssignToChannel[], double minVal, double maxVal, int units, int voltageExcitSource, double voltageExcitVal, byte customScaleName[]...
1afac43f5fe4db94da9903b037ff4f37
TODO Autogenerated method stub Button0.getBackground().setColorFilter(new LightingColorFilter(0xFFFFFFFF, 0xFFFF0000));
[ { "docid": "b69be63ec556eb84f1764a7e04ebcc15", "score": "0.8210274", "text": "@Override\n\t\t\t\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\t\t\t\tButton0.getBackground().setColorFilter(new LightingColorFilter(0xFFFFFFFF, 0xFFFF0000));\n\t\t\t\t\t\t\t\t}", "title": "" } ]
[ { "docid": "222d87aeec763ca3f53a8ecd9fb57844", "score": "0.7975862", "text": "@Override\n\t\t\t\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\t\t\t\tButton1.getBackground().setColorFilter(new LightingColorFilter(0xFFFFFFFF, 0xFFFF0000));\n\t\t\t\t\t\t\t\t}", "title": "" }, { "docid": "a979e519e04...
b68e339dd4a905f5e489ecc2f152f334
$ANTLR end "rule__XMark__Group__5" $ANTLR start "rule__XMark__Group__5__Impl" InternalXMarking.g:2077:1: rule__XMark__Group__5__Impl : ( 'end' ) ;
[ { "docid": "e9abe64f303002b62ab1b063d68f7530", "score": "0.84270686", "text": "public final void rule__XMark__Group__5__Impl() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalXMarking.g:2081:1: ( ( 'end' ) )\n //...
[ { "docid": "cd974f0611a71f504a8d56dd677396c6", "score": "0.7618433", "text": "public final void rule__XMark__Group__5() throws RecognitionException {\n\n \t\tint stackSize = keepStackSize();\n \t\n try {\n // InternalXMarking.g:2070:1: ( rule__XMark__Group__5__Impl )\n ...
500647edd429fb89bbf396677f3f28ee
it doesn't matter if we create a parameter with a duplicate name.. parameters are positional anyway.. still try to use unique names for visual consistency
[ { "docid": "c46eb1f7aaafd00e5fdccd98eedcb6ec", "score": "0.0", "text": "protected boolean isNameInUse(String name, Object namingContext) {\n Procedure procedure = (Procedure) namingContext;\n Iterator it = procedure.getCallParameters().iterator();\n while (it.hasNext()) ...
[ { "docid": "45e2aa4b00470c949335f3b3b522ec2f", "score": "0.6739706", "text": "private static String createNewParameterName() {\n parameterNr++;\n return \"DATA_PATH_\" + parameterNr;\n }", "title": "" }, { "docid": "bd5a1ce417ce18e7ad4cea992b9766bb", "score": "0.6356298", "tex...
6261047b5201f56515411d0faa28f92c
Get an iterator over all edge ids for edges incident on the given node.
[ { "docid": "68a4f138cd5e6e6a487cc2b54926de04", "score": "0.7003461", "text": "public IntIterator edgeRows(int node) {\n return edgeRows(node, UNDIRECTED);\n }", "title": "" } ]
[ { "docid": "0cd86a14ff6e98c210fa8cca765d596a", "score": "0.7353022", "text": "public Iterator inEdges(Node node) {\n nodeCheck(node, true);\n return m_edgeTuples.iterator(inEdgeRows(node.getRow()));\n }", "title": "" }, { "docid": "52e2f193900c4d108b610446ca1a868a", "sco...
38940fc60cbde0981b33520dc5a95871
/ update bouncing bubble physics and also start animation for the bubbles that collided
[ { "docid": "f970916576c1c462cc5508e1ec679938", "score": "0.6176314", "text": "public void bounceWith(TouchableBubble collidingNum){\n if(popping || collidingNum.popping)\n return;\n\n super.bounceWith(collidingNum);\n animateCollision();\n collidingNum.animateColli...
[ { "docid": "1f255a35f7be222cf384a74299da3021", "score": "0.6699217", "text": "@Override\n public void act(float dt)\n {\n \n // The function stores the current (after updating) and previous (before updating) boundary \n // circles of the Ball.\n // The function calls th...
a093a80ab62363a0513251e362881585
Ensures that the two argument constructor throws an IllegalArgumentException when given a name that is null.
[ { "docid": "2f249857404f0b174cdff40cc4d05e51", "score": "0.8254695", "text": "public void testCtor2ThrowsOnNullName() {\n try {\n createInstance(ID, null);\n fail(\"An IllegalArgumentException is expected when the name is null.\");\n } catch (IllegalArgumentException ...
[ { "docid": "c02b86f5b3dd166b763873ece0a8b07b", "score": "0.73631406", "text": "@Test\n public void constructor() {\n Assert.assertThrows(NullPointerException.class, () -> new Name(null));\n\n // blank Name -> throws IllegalArgumentException\n Assert.assertThrows(IllegalArgumentEx...
cb39d59ed9b8747f4fb1fcd060e65a56
Determines whether one Location reading is better than the current Location fix. Code taken from
[ { "docid": "ce58948be4dc43cd90d12df6aed0732b", "score": "0.6271663", "text": "protected Location getBetterLocation(Location newLocation, Location currentBestLocation) {\n\t\tif (currentBestLocation == null) {\n\t\t\t// A new location is always better than no location\n\t\t\treturn newLocation;\n\t\t}\n\...
[ { "docid": "5759fb5ce8cb21a7ee3617e26ed72225", "score": "0.74647546", "text": "protected boolean isBetterLocation(Location location,\n\t Location myCurrentLocation)\n {\n\tif (myCurrentLocation == null)\n\t{\n\t return true;\n\t}\n\n\t// Check whether the new location fix is newer or older\n\tl...
d8719d2dc8754413916021f7fefa58cf
TODO Autogenerated method stub place your code here
[ { "docid": "6286134bddc5903fa0a4517304da0238", "score": "0.0", "text": "public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException \n\t{\n\t\tHttpServletRequest httpRequest = (HttpServletRequest) request;\n\t\tHttpServletResponse httpRe...
[ { "docid": "34b43810a805e0d48661629f62b35f2b", "score": "0.72213817", "text": "@Override\r\n\tpublic void 위험물회피() {\n\t\t\r\n\t}", "title": "" }, { "docid": "096eb77080c8c192fe461650f49ca14b", "score": "0.71593964", "text": "@Override\r\n public void catering() {\r\n\r\n }", ...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "37502b2b67989556b5c2ef498b734b4b", "score": "0.0", "text": "@Override\npublic void onPrepared(MediaPlayer arg0) {\n\tprepare=1;\n\tmediaPlayer.start();\n\tplaybutton.setBackgroundResource(R.drawable.bar_pause);\n}", "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}", ...
672784b2a6625a9c5719ddf413e38d13
Executes the uploadBinary request.
[ { "docid": "272c6625f1d1763f5020a61e64ada66c", "score": "0.649478", "text": "public MmsUploadBinaryResult execute() throws ApiException {\n RequestDefinition uploadBinaryDefinition =\n uploadBinaryDefinition(xContentId, xMediaType, body, xValidityPeriodMinutes);\n ...
[ { "docid": "45fa0f1d71c5c702e25c12d078fefe7b", "score": "0.6314932", "text": "String processUpload(String packageId, byte[] processDefinitionData) throws Exception;", "title": "" }, { "docid": "87ad7510c883c3b9d505e2e4f777a0c1", "score": "0.6085196", "text": "long uploadRawFileForce(...
70d7a1b708517b6bbb42e1fe788e4434
Constructor for a bundle protocol resource URLStreamHandler.
[ { "docid": "a490edbb413c4477cd58b4b10a4b7538", "score": "0.7259509", "text": "public BundleResourceHandler()\n {\n }", "title": "" } ]
[ { "docid": "06ff85aedd5785b950ab7c9441f7333f", "score": "0.6255291", "text": "@Override\n public void initialize(URL url, ResourceBundle rb) {\n handler = DatabaseHandler.getHandlerObject();\n }", "title": "" }, { "docid": "f224bd3b7c4ef1d7c419771f827d8720", "score": "0.5957...
a2204666e4acba6b808ff86762e80a7b
This method was generated by MyBatis Generator. This method corresponds to the database table poll_qq
[ { "docid": "37f4a4fed9f768c135e543881f3b6eca", "score": "0.0", "text": "int insert(Qq record);", "title": "" } ]
[ { "docid": "cdc16cefa393a326aa1a14178dcde23a", "score": "0.56305826", "text": "@Mapper\n@Repository\npublic interface QuestionDAO {\n String TABLE_NAME = \" question \";\n String INSERT_FIELDS = \" title, content, created_date, user_id, comment_count \";\n String SELECT_FIELDS = \" id, \" + INS...
9f28955bbd427f09c138d60fd6d0cb0a
Clear the warning chain associated with this Statement
[ { "docid": "91e60b10ec4e9760a64496a6b4e27d0a", "score": "0.69022834", "text": "@Override\n public void clearWarnings() throws SQLException {\n }", "title": "" } ]
[ { "docid": "5d8526cbe76b8e7b28401cc0bdb603ce", "score": "0.709118", "text": "@Override\r\n\t\tpublic void clearWarnings() throws SQLException {\n\t\t\t\r\n\t\t}", "title": "" }, { "docid": "c0944c0884812c38d331539e3a3da531", "score": "0.6938701", "text": "void clearWarnings() throws ...
06d950e288f34d49e02b57a1896dd09f
Creates a new URLPermission from a url string and which permits the given request methods and usersettable request headers. The name of the permission is the url string it was created with. Only the scheme, authority and path components of the url are used internally. Any fragment or query components are ignored. The p...
[ { "docid": "33a794c36382317d05bc7c326c8e367d", "score": "0.66288954", "text": "public URLPermission(String url, String actions) {\n super(url);\n init(actions);\n }", "title": "" } ]
[ { "docid": "e77a46fdec0214b5ed17c198383a43eb", "score": "0.51505166", "text": "private Permission getPermission(String type, String name, String actions) throws Exception\n {\n Class cl = Class.forName(type);\n try\n {\n Constructor xtor = cl.getConstructor(new Class[]...
9881b195153dd02a23113a73ab7dc591
APISince: 10.0 DeprecatedSince: 12.0
[ { "docid": "bef93706ee5c1e02be9ec57045c58cf8", "score": "0.0", "text": "@Nullable\n @Deprecated\n @Generated\n @Selector(\"optionsByRecordZoneID\")\n public native NSDictionary<? extends CKRecordZoneID, ? extends CKFetchRecordZoneChangesOptions> optionsByRecordZoneID();", "title": "" }...
[ { "docid": "e4f95c9d79458707715db751928d2827", "score": "0.61805266", "text": "@Deprecated\r\n static void deprecatedMethod() { }", "title": "" }, { "docid": "244678d113a1024bec46f10d4c1ca660", "score": "0.6076595", "text": "@Override\n public int getVersion() {\n return 2;\n ...
72c8febe0f9940f0abe4cc3319bb4988
Perform am URI query parameter (name or value) unescape operation on a char[] input using UTF8 as encoding. This method will unescape every percentencoded (%HH) sequences present in input, even for those characters that do not need to be percentencoded in this context (unreserved characters can be percentencoded even i...
[ { "docid": "21cb15cf38774c8d5c03fec36d5fac9c", "score": "0.68930376", "text": "public static void unescapeUriQueryParam(final char[] text, final int offset, final int len, final Writer writer)\n throws IOException {\n unescapeUriQueryParam(text, offset, len, writer, DEFAULT_ENCODING);\...
[ { "docid": "0d79dbcc9f06e0bfb598db1fb1c63819", "score": "0.6641786", "text": "public static void unescapeUriQueryParam(final char[] text, final int offset, final int len, final Writer writer,\n final String encoding)\n throws IOException {\n if...
08eb2cabdf9384c457d0e09c84d1ef0d
It instantiates the CsvUpdater object based on the given CsvFile object As per the functionality, original file content will be stored in string and erase file data. Later updates the data as per called methods of this class. Once after updating required data, file should be closed.
[ { "docid": "9ca6f682e4248aaaa74d04dcca0924e5", "score": "0.75027186", "text": "public CsvUpdater(CsvFile csvFile) throws Exception {\n super(csvFile);\n if (isFirstRowDataEmpty())\n throw new Exception(\"There is no data found in the file to update further. Kindly write data int...
[ { "docid": "7ec2888492a26c1e810071c5ecfbbafc", "score": "0.5643372", "text": "public NormalizationStorageCSV(final CSVFormat format, final File file) {\n this.format = format;\n this.outputFile = file;\n }", "title": "" }, { "docid": "cdb509e97d5f106677665f40b5e67416", "...
8b07df0606cf37789ea8d6648a92c949
TODO Autogenerated method stub /Cord c[]=new Cord[6]; Cord c[1=new Cord(1,2); Cord c2=new Cord(1,2); Cord c3=new Cord(1,4); Cord c4=new Cord(11,21); Cord c5=new Cord(1,1); Cord c6=new Cord(1,2); Cord c[]=new Cord[6];
[ { "docid": "1a3ca73a93d4bf7600e8ad060de9bb7b", "score": "0.0", "text": "public static void main(String[] args) {\n\t}", "title": "" } ]
[ { "docid": "a5fc546ff64bc3a75247ce27c39a1adf", "score": "0.5998184", "text": "public static void main(String[] args) {\n\t\tCar c = null;\n\t\tSystem.out.println(c);\n\t\tSystem.out.println(\"args size: \" + args.length);\n\t\t\n\t\t//declaring array reference variable which holds array of integers\n\t\...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "077857298cf0c02debeffee6ead6175d", "score": "0.0", "text": "public void postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory) throws BeansException {\n\t\tSystem.out.println(\"MyBeanDefinitionRegistryPostProcessor======>postProcessBeanFactory............Bean的数量\"+beanFactory.ge...
[ { "docid": "1acc57d42c31dee937ac33ea6f2a5b0b", "score": "0.68399656", "text": "@Override\r\n\tpublic void comer() {\n\t\t\r\n\t}", "title": "" }, { "docid": "118f2b8a20f48999973063ac332d07d3", "score": "0.6563993", "text": "@Override\r\n\t\t\tpublic void atras() {\n\r\n\t\t\t}", ...
4b1e2e21bb62da88525c818b9af87b38
Token or shard identifying this partition.
[ { "docid": "09794d923b1b92c72687f0c62509ab5e", "score": "0.0", "text": "public BigInteger id() {\n\t\treturn this.id;\n\t}", "title": "" } ]
[ { "docid": "67ce38ca5745ff4fd94f110e18253685", "score": "0.6611624", "text": "int getPartitionId(Object object);", "title": "" }, { "docid": "cd9c54ba913007c4f8d76bffda8123bc", "score": "0.65131074", "text": "public String getShardId() {\n return this.shardId;\n }", "ti...
16b29f343940e08c172a79480be8cfef
Class clazz = obj.getClass(); Field[] fields = obj.getClass().getFields();
[ { "docid": "ad00617d57a04934d5540b9ac9ecaed0", "score": "0.64106315", "text": "public static List<Field> getSupClassFiled(Class clazz){\n List<Field> fieldList = new ArrayList<>();\n while (clazz != null) {\n fieldList.addAll(new ArrayList<>(Arrays.asList(clazz.getDeclaredFields...
[ { "docid": "c268173fdbf294c18ed124ff8986b800", "score": "0.82086116", "text": "private Field[] getFields(Object obj) {\n Class<?> object = obj.getClass();\n\n Field[] fields = object.getDeclaredFields();\n for (Field field : fields) {\n field.setAccessible(true);\n ...
0aad582e94cee2872e5f7ceb6c043d46
This method was generated by MyBatis Generator. This method sets the value of the database column tbl_clue.edit_time
[ { "docid": "b2e7d573963cda84ba861039e3ba03c5", "score": "0.6840567", "text": "public void setEditTime(String editTime) {\n this.editTime = editTime == null ? null : editTime.trim();\n }", "title": "" } ]
[ { "docid": "196d746dd096b8a4fe3a9e6cba07ac77", "score": "0.7213814", "text": "public void setEditTime(String editTime) {\n this.editTime = editTime;\n }", "title": "" }, { "docid": "a98767e3eb1dc8f36201dacd1523e7b8", "score": "0.66700375", "text": "public String getEditTime...
43ddda9c5d29211dd6a1740a811203d1
Complete the biggerIsGreater function below.
[ { "docid": "f18b5fa3403340b089895f77f4021b43", "score": "0.5451699", "text": "static String biggerIsGreater(String w) {\n\n int start = -1;\n\n for(int i=0; i<w.length()-1; i++) {\n if(w.charAt(i) < w.charAt(i+1))\n start = i;\n }\n\n // no answer is...
[ { "docid": "ebdf1ae6f0bae298c2f799282dc69e52", "score": "0.68298465", "text": "public boolean isGreater(Level other) {\r\n\t\treturn (value / 8) < (other.value / 8);\r\n\t}", "title": "" }, { "docid": "e1c40a7056946ed6ede71a4e6be4bfab", "score": "0.6625556", "text": "<T> boolean isGr...
f3cd8041ad2ad3315275d627bc4d1054
addition, substraction, division, multiplication
[ { "docid": "85828542c5cbac695cd8a26fa3b5f2da", "score": "0.0", "text": "public static float addTwoNumbers(float addend1, float addend2) {\n float sum = 0;\n sum = addend1 + addend2;\n return sum;\n }", "title": "" } ]
[ { "docid": "d1d71af3d7b4605bc31bab100310f50f", "score": "0.7030778", "text": "public float operate(){\r\n\t\treturn this.getmOperand1()*this.getmOperand2();\r\n\t}", "title": "" }, { "docid": "9674d292f4b2f71035fb2b86fc99f6d9", "score": "0.68938303", "text": "public double operate (d...
975a212be34bf914047a594f361e02ec
This method is the setter for phone.
[ { "docid": "cc10ef0b8c5d1940527c6a80f54c0692", "score": "0.822649", "text": "public void setPhone(String phone) {\n\t\tthis.phone = phone;\n\t}", "title": "" } ]
[ { "docid": "ca3976d0f6ee1d2e699af176c0ca6d0c", "score": "0.84429824", "text": "public void setPhone(String phone);", "title": "" }, { "docid": "393bf888e45caf786dc035b56d48a03e", "score": "0.8438023", "text": "public void setPhone(String phone) {\r\n this.phone = phone;\r\n ...
e9dd64d49e508c81730b0a82f76866ec
This constructor and the getURLs() method is one horrible hack. On the one hand, we want to give Tomcat a JarURLConnection when it attempts to load classes from jars, on the other hand we don't want this classloader to load classes using JarURLConnection, as that's buggy. We want it to load classes using internal nb: p...
[ { "docid": "58f783e8602b1f32a6c5463a241b12e0", "score": "0.6798512", "text": "public ParserClassLoader(URL[] classLoadingURLs, URL[] tomcatURLs, ClassLoader parent) {\n super(classLoadingURLs, parent);\n this.parent = parent;\n this.tomcatURLs = tomcatURLs;\n }", ...
[ { "docid": "164181ff2a7f5cce7f19b665defbc985", "score": "0.65230465", "text": "@Override\n public URL[] getURLs() {\n return tomcatURLs;\n }", "title": "" }, { "docid": "9f5c60cb2653048aa9faeca5c42d6b71", "score": "0.6378397", "text": "private static URL[] ge...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "faab8abc2e92c87596491a9b6e3ddc0e", "score": "0.0", "text": "@Override\r\n\tpublic void hide() {\n\t\t\r\n\t}", "title": "" } ]
[ { "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": "" ...
b22fd4b11173217b226e9ea27f040529
Funzione utile a mostrare i docenti nella tabella aperta a tutti (no controllo admin)
[ { "docid": "fc0584dacbe813bdcb8b3a675fc6c78d", "score": "0.0", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n response.setContentType(\"application/json\");\n PrintWriter out = response.getWrit...
[ { "docid": "586942c25f43800b74fe2c860c444867", "score": "0.69976115", "text": "private void caricaDocumentoSpesa() {\n\t\tdoc = documentoSpesaDad.findDocumentoSpesaById(doc.getUid(), DocumentoSpesaModelDetail.Attr); //Degli attributi mi serve l'arrotondamento!\n\t}", "title": "" }, { "docid"...
a4df2e165f25f12e54d44781a5f0fa94
This must be a sequence of bean properties that are all inside the array.
[ { "docid": "45649dea2351b291717acbf5bbe551c7", "score": "0.54367155", "text": "public void setVisiblePropertySequence(BeanProperty[] bpSequence) {\r\n for (int i = 0; i < bpSequence.length; i++)\r\n _visibleProperties[i] = bpSequence[i].get_index();\r\n _numberOfVisiblePropertie...
[ { "docid": "1054d26010062b3308a5ff04a3a4bbb0", "score": "0.61344033", "text": "protected Collection<BeanPropertyMeta> getProperties() {\r\n\t\treturn ulist(meta.propertyArray);\r\n\t}", "title": "" }, { "docid": "c994b699109b72c9751d9c2c1883cd49", "score": "0.58910954", "text": "publ...
a046a26be8310728b0ff2da67b598535
Example: &lt;pdfbrowserviewer id=&quot;pdfViewer&quot; file=&quot;[[pdfUrl]]&quot; width=&quot;100%&quot;&gt;&lt;/pdfbrowserviewer&gt; Data Bind with Blob example: this.pdfUrl = URL.createObjectURL(blob); Clear PDF container example: this.$.pdfViewer.clear(); Message example: &lt;pdfbrowserviewer file=&quot;[[pdfUrl]]&...
[ { "docid": "4998c93848a4b9b6cce576463f2906b7", "score": "0.6354324", "text": "@JsType(isNative=true)\npublic interface PdfBrowserViewerElement extends HTMLElement {\n\n @JsOverlay public static final String TAG = \"pdf-browser-viewer\";\n @JsOverlay public static final String SRC = \"pdf-browser-v...
[ { "docid": "d0474268c20e7d935962c32b69fd4039", "score": "0.53362614", "text": "public void setPdf(String pdf)\r\n/* 844: */ {\r\n/* 845:980 */ this.pdf = pdf;\r\n/* 846: */ }", "title": "" }, { "docid": "a2bf98c327d9b0832da12f89d1bb6757", "score": "0.52667993", "text": ...
df246667407876469544275223a418b7
Gets the name of the alias.
[ { "docid": "1cc46a97d5bcb4031a91cbceff24991c", "score": "0.8603438", "text": "public final String\tgetName()\n\t{\n\t\treturn aliasName;\n\t}", "title": "" } ]
[ { "docid": "3e03c956631c32ca2ed30a958d94bbc2", "score": "0.8371316", "text": "public String getAlias() {\r\n if (alias == null){\r\n return \"\";\r\n }\r\n return alias;\r\n }", "title": "" }, { "docid": "d3fa5266fa8c387f4e0f015df7397e3c", "score": "0.8...
a1d3792682fb969cdc952afbe15608de
Creates a wooden chestplate over the vanilla leather chestplate, giving it the same stats.
[ { "docid": "8522ff680d0c650fab757d973c08fa97", "score": "0.7236607", "text": "private static void createWoodChest() {\n ItemStack woodChest = new ItemStack(Material.LEATHER_CHESTPLATE, 1);\n ItemMeta woodChestMeta = woodChest.getItemMeta();\n\n if (woodChestMeta != null) {\n ...
[ { "docid": "425688e6aa17cf6d6b0e860d869e73a9", "score": "0.64327216", "text": "private static void createStoneChest() {\n ItemStack stoneChest = new ItemStack(Material.CHAINMAIL_CHESTPLATE, 1);\n ItemMeta stoneChestMeta = stoneChest.getItemMeta();\n\n if (stoneChestMeta != null) {\n...
8c5b5822ac9e03ec1cac02fe86a30fe4
If two interfaces contain a method with same signature and same return type in the implementation class only one method implementation is enough. If two interfaces contain a method with same name but different arguments in the implementation class we have to provide implementation for both methods and these methods act...
[ { "docid": "82a4aeb2de64dd586e39dd610320fd62", "score": "0.67306894", "text": "interface Interf1 {\n public void methodOne();\n\n public void methodTwo();\n\n int x = 999;\n}", "title": "" } ]
[ { "docid": "cc94aee2f162e27df2608a2b558c8bfb", "score": "0.78423524", "text": "public interface AnotherInterface {\n\n\tvoid overloadedMethod();\n\n\t// Same name and same argument list as in AnInterface!\n\t// int methodWithDifferentReturnTypes();\n\n}", "title": "" }, { "docid": "758e303d9...
ec742863f956c4e772b0cdcb5f3aed62
Gets the mesos fetcher uris size.
[ { "docid": "0d35dd2511d39484f1c3551bde8970ab", "score": "0.820532", "text": "public int getMesosFetcherUrisSize() {\n return (this.mesosFetcherUris == null) ? 0 : this.mesosFetcherUris.size();\n }", "title": "" } ]
[ { "docid": "920ebf341430b9a7511d90c71590cc52", "score": "0.70027095", "text": "public int getUrlCount() {\n return url_.size();\n }", "title": "" }, { "docid": "0f8d4d1948080033f69c705899637b16", "score": "0.6945892", "text": "public int getUrlCount() {\n return url_.s...
57d1755254ab793550721b80f3e5d6e2
Returns a copy of this Recall.
[ { "docid": "b63ef37228ffcba55aacac6701637449", "score": "0.6917148", "text": "public Recall copy() throws Exception {\n return (Recall)this.MemberwiseClone();\n }", "title": "" } ]
[ { "docid": "097f76eb39779fb4ac31e320c5873f0a", "score": "0.612916", "text": "public MineDownStringifier copy() {\n return new MineDownStringifier().copy(this);\n }", "title": "" }, { "docid": "c89828019b3956e0ba14b33d479d3774", "score": "0.6098294", "text": "public ChessPie...
06e7e8b60d7d95017685e8b531a5f600
Initializes an instance of GameState specifying each player's auto/manual settings and AutoplayMode. It also specifies theme, list of players, and type of board. This constructor does not use default settings.
[ { "docid": "ef4f55bb3f391cf39e22f59d01e3f5d4", "score": "0.7680852", "text": "public GameState(Theme theme, List<ImgPath.Color> plColors, List<Boolean> auto, List<AutoplayMode> autoMode, boolean specialBoard){\n initVars();\n this.theme = theme;\n this.board = new Board(specialBoard...
[ { "docid": "6f267a35dd890c84c53750ec9ad0f483", "score": "0.66788507", "text": "public GameState(){\n this.gameResults = \"\";\n initVars();\n this.theme = DEFAULT_THEME;\n this.board = new Board(DEFAULT_BOARD);\n createSetOfPlayers(DEFAULT_PLAYERS, DEFAULT_AUTOPLAYER, ...
6ffe46cb56026c173d2a079d6645a7fc
Set Referer hotlink protection configuration
[ { "docid": "f85d4758af4060296138c9db1b399596", "score": "0.6044413", "text": "public void setReferer(Referer Referer) {\n this.Referer = Referer;\n }", "title": "" } ]
[ { "docid": "9ca8517afb0f5d08f3464577d7f2f13e", "score": "0.5597622", "text": "public void testReferer() throws Exception {\n String result = sendRequestWithHeader(\"Referer\", APPLICATION_PATH + \"nocache/ag1/dummy\");\n assertEquals(\"Referer should be rewritten ('aggregator' replaced wit...
872198a36f0c6ad7e7559206b9071d44
Construct a big vector classifier with the specified term vectors, categories, and maximum number of results. The term vectors have category identifiers as
[ { "docid": "7ac8ccc2adea455eaf2e02435b438cbe", "score": "0.82363737", "text": "public BigVectorClassifier(Vector[] termVectors,\n String[] categories,\n int maxResults) {\n mCategories = categories;\n // does not automatically pru...
[ { "docid": "c54bc5e9dd5670c86293c8e85f0e8698", "score": "0.58161557", "text": "public static void ten_fold(List<Set<Integer>> real_docs_labels)\r\n\t\t\tthrows Exception {\r\n\r\n\t\tFile result = new File(\"src//file//svm_result.txt\");\r\n\t\tOutputStream out = new FileOutputStream(result, false);\r\n...
1d614f1bdd090cff3551fe63474ed9d2
Reads sentence pairs from the standard input and processes them. Expected format of the input: english_segment \t czech(or_other)_segment. Correctly aligned segments are output on the standard output unchanged. Incorrect segments are output on the standard output in the following format: english_segment \t czech(or_oth...
[ { "docid": "1c431800ecf4abc3ea5d90ebb40bf6d1", "score": "0.4935506", "text": "public static void main(String[] args) throws IOException {\n\t\tNumberFilter filter = new NumberFilter(); \n\t\tExportFormatProcessor reader = new ExportFormatProcessor(ExportMode.PLAIN); \n\t\t\n\t\tif ((args.length == 2) &&...
[ { "docid": "42ddd23cfb2bf7ac6a508d5538a10809", "score": "0.58280516", "text": "public static void main(String[] args) throws Exception\n {\n\n String test = \"我 听到 过 很多 解释, 但是 我 觉得 我 从没有 看到 过 清晰 的 分析 。\";\n String multiple = \"中国 北方 重要 经济 城市 天津 与 俄罗斯 联邦 的 经贸 交往 目前 正 稳步 发展 , 并 呈现 出 新...
f1c9647ba9e0be1552d4ac917df7d7b0
optional .datayes.mdl.mdl_hkex_pbmsg.double_2 EstamitedAveragePrice = 7;
[ { "docid": "6ed76d2b78e60f20f89e23701507945c", "score": "0.62244815", "text": "public boolean hasEstamitedAveragePrice() {\n return ((bitField0_ & 0x00000040) == 0x00000040);\n }", "title": "" } ]
[ { "docid": "c724cc7468c2b76d63dc67b495bd9414", "score": "0.89204365", "text": "datayes.mdl.mdl_hkex_pbmsg.MDLHKEXMsg.double_2 getEstamitedAveragePrice();", "title": "" }, { "docid": "5fde04ddce72d6cf133e5ff272322183", "score": "0.8411346", "text": "datayes.mdl.mdl_hkex_pbmsg.MDLHKEXM...
919e38ca9e908f672fbf9ca05488493f
Returns the Java type from the SQL type name.
[ { "docid": "97e74d567b9ddd8d9be8cb75c0f7e59c", "score": "0.7755655", "text": "public static Class typeFromName( String sqlTypeName )\n throws MappingException\n {\n int sep;\n\n sep = sqlTypeName.indexOf( LeftParamSeparator );\n if ( sep >= 0 ) \n sqlTypeName = ...
[ { "docid": "43cc1fdeebfd7e4c9db01cc3b3efbab0", "score": "0.7241692", "text": "public static int sqlTypeFromName( String sqlTypeName )\n throws MappingException\n {\n int sep;\n\n sep = sqlTypeName.indexOf( LeftParamSeparator );\n if ( sep >= 0 )\n sqlTypeName = ...
83de802ab45c2caaea553280f5cb26d1
Return the parcels owned by the authenticated user.
[ { "docid": "ab303f4279451dea263c4ce7d4d125f6", "score": "0.703594", "text": "@Override\n\t@PreAuthorize(\"isAuthenticated()\")\n\tpublic List<Parcel> getParcels() {\n\t\treturn parcelRepository.findAllByUserOrderByLastUpdatedDesc(SecurityHelper.getPrincipalUser());\n\t}", "title": "" } ]
[ { "docid": "b1eec15f1f6ef35603c3d9a3e857bb7b", "score": "0.57074237", "text": "List<Item> getProductsOwnedBy(String owner) throws ResourceNotFoundException;", "title": "" }, { "docid": "fbc117f5e20c0854ac61c9fff096c347", "score": "0.56804585", "text": "public CadastroParticipantePar...
dc11361f4b29fd04fc53072a3a4822cd
Spring Data JPA repository for the Faculty entity.
[ { "docid": "06fbad0c591fb7bfdbc442b27f9d70ec", "score": "0.6691601", "text": "@SuppressWarnings(\"unused\")\npublic interface FacultyRepository extends JpaRepository<Faculty,Long> {\n\n}", "title": "" } ]
[ { "docid": "b0dd34ee7784d74afbda2c683d9bb332", "score": "0.67764735", "text": "public FacultyDTO findByPK(long pk);", "title": "" }, { "docid": "28c6998181bf76e35a5d39ada40920d1", "score": "0.6381907", "text": "public interface StaffRepository extends PagingAndSortingRepository<Staff...
30dcf8b024c8c287728defea0f1b5c55
Update device object in device table
[ { "docid": "a3492bf31bfd1863efd3412f324887fe", "score": "0.76945233", "text": "public void updateDevice(Device device);", "title": "" } ]
[ { "docid": "0b2da6f9c6a65614a12b2a7634161d4f", "score": "0.7027804", "text": "boolean updateDeviceInfo(Device device) throws DeviceManagementException;", "title": "" }, { "docid": "a4be6be7a33f011db95f19edae83ce4f", "score": "0.6995153", "text": "int updateByPrimaryKey(UserDevice rec...
1f77a0349cac985fc1ab322ac1439142
Schedules data artifact ingest tasks for an ingest job. This method is intended to be used to schedule artifacts that are products of ingest module processing.
[ { "docid": "bf7556b115f095d945c623fd60a73f5e", "score": "0.6495594", "text": "synchronized void scheduleDataArtifactIngestTasks(IngestJobExecutor executor, List<DataArtifact> artifacts) {\n if (!executor.isCancelled()) {\n for (DataArtifact artifact : artifacts) {\n Data...
[ { "docid": "57bf6a1cf6259625e672d4fa34260cc3", "score": "0.6977614", "text": "synchronized void scheduleDataArtifactIngestTasks(IngestJobExecutor executor) {\n if (!executor.isCancelled()) {\n Blackboard blackboard = Case.getCurrentCase().getSleuthkitCase().getBlackboard();\n ...
5d7fa10ad46218f40249787055af2025
Save the list of entity intances.
[ { "docid": "aad1c99acd2fb01dca728733dbb69a6f", "score": "0.0", "text": "public Collection<?> persist(Collection<?> objColl, Mutator<byte[]> m) {\n if (null == objColl) {\n throw new IllegalArgumentException(\"object to save cannot be null\");\n }\n \n objMapper.saveObjCollection(keyspac...
[ { "docid": "aecedb1566933f7c092a02172bf3b744", "score": "0.67946637", "text": "List<E> saveAll(List<E> entities);", "title": "" }, { "docid": "d02b6f580dcb1ed7b1eaafe12b9afb38", "score": "0.6747908", "text": "public abstract List<AdditionalDetails> save(Iterable<AdditionalDetails> en...
c79e6027029dfa05f4f656263785961a
Returns whether the Start button is held or not
[ { "docid": "464e070ce275ca7642bd3907cdd3e10c", "score": "0.74187875", "text": "public boolean getStart_Button() {\n return getRawButton(START_BTTN);\n }", "title": "" } ]
[ { "docid": "299f25968237eb7c54133a596340e1be", "score": "0.79994565", "text": "public boolean obtainsStartButtonState() {\n return startButton.getButtonPressed();\n }", "title": "" }, { "docid": "93be6a9ecfe3cb05b829e33079234b06", "score": "0.7520865", "text": "public boole...
f7a7381d631c2e55519c591800006a21
creating new version on db should version be changed
[ { "docid": "50ad9fadf45b7a6c4cdd8d66a2f9f6ba", "score": "0.0", "text": "@Override\n public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {\n db.execSQL(\"DROP TABLE IF EXISTS \" + QuestionsTable.TABLE_NAME);\n onCreate(db);\n }", "title": "" ...
[ { "docid": "9512bab77277ed2dd025b476b549d154", "score": "0.69094527", "text": "private void updateMyDB(SQLiteDatabase db, int oldVersion, int newVersion) {\r\n if (oldVersion < 1) {\r\n Log.d(TAG, \"DB creation start.\");\r\n create_tables(db);\r\n Log.d(TAG, \"DB...