query_id
stringlengths
32
32
query
stringlengths
7
129k
positive_passages
listlengths
1
1
negative_passages
listlengths
88
101
e1b29685bdc3eb31fdcce1c492ceb42e
Exibe uma janela para selecionar um arquivo
[ { "docid": "759c94e4e8dff595eb6dff6021f4fb64", "score": "0.63143384", "text": "public static String open() {\r\n JFileChooser fileChooser = new JFileChooser();\r\n fileChooser.setFileFilter(new ExtensionFileFilter(\"Autômato\", \"txt\"));\r\n // Exibe o diálogo de abrir\r\n i...
[ { "docid": "9eef6d5742d58a46eb09f1607fac7b2f", "score": "0.7148738", "text": "File getSelectedFile();", "title": "" }, { "docid": "4794573d888257532a14514a89f46d90", "score": "0.6921936", "text": "private File selectFile() {\n File returnFile = null;\n\n JFileChooser fi...
5dcb365dff1b3192ee8e2a97f5f774a0
============================================================= Constructor Private constructor to prevent instantiation.
[ { "docid": "3ae75d3acc7634cc0c930addafc6a6f3", "score": "0.0", "text": "private TagSetManager()\n {\n // Baseline tags (image size and format)\n addTagSet(new BaselineTags());\n \n // Extension tags: less common formats\n addTagSet(new ExtensionTags());\n \n ...
[ { "docid": "ed7b4b36dffd8e11e0d35867ae420345", "score": "0.7587805", "text": "private SS(){}", "title": "" }, { "docid": "2eedd56ce1c57b0b0eaa4217c0832adb", "score": "0.7550983", "text": "private MCS() {\r\n }", "title": "" }, { "docid": "60e152539960b0721131c872f5958dce...
e11110525e2b879d7ca18eef9c590799
Test of addLocation method, of class LocationDao.
[ { "docid": "a1fdeb4b68f4f9e390984e90a7509c5b", "score": "0.8216738", "text": "@Test\n public void testAddLocation() {\n Location location = new Location();\n location.setLocationName(\"Gotham\");\n location.setLocationDescription(\"Dark and Gloomy\");\n location.setLatitud...
[ { "docid": "93c08f56c3a770fe6184401670830b3d", "score": "0.7398968", "text": "@AutoTest_SaveLocationService\n @Test\n public void verifyAddingDuplicateLocations() {\n loc1 =ServiceHelper.getNewLocation();\n AssertUtils.assertTrueV(\n DBHelper.setLocationAndValidateDB(l...
6528f207ce887495ff79f0fe4a0a6e55
General function to read trie to trie of Nodes
[ { "docid": "ef8e1e83d83a3c9753b28e1d9b864750", "score": "0.0", "text": "public Node readTree() {\n boolean totuusarvo = b.readBoolean();\n if (totuusarvo == true) {\n return new Node(b.readShort(), -1, null, null);\n } else {\n return new Node(\"9000\", -1, rea...
[ { "docid": "b5f15137044432b100dea682244e3d0e", "score": "0.6396713", "text": "public TrieNode() {children = new HashMap<Character, TrieNode>();hasWord = false;}", "title": "" }, { "docid": "e0d29003414b4e294e8f3adf8ff1b13b", "score": "0.6215756", "text": "TrieNode root();", "titl...
52f2bd543ffb03aa4761b4847360f5f6
Helper method to extract SNS message from bundle.
[ { "docid": "a27945044e6256c3ec2715fbc5fdf8cf", "score": "0.5522011", "text": "public static String getMessage(final Bundle data) {\n // If a push notification is sent as plain text, then the message appears in \"default\".\n // Otherwise it's in the \"message\" for JSON format.\n re...
[ { "docid": "2268967d68ba36350568a56c0a688232", "score": "0.600658", "text": "private static String extractMessage(String pair) {\n String[] split = pair.split(\":\", 2);\n String unprocessedmessage = split[1];\n //need some final preprocessing: removing leading ' \"' and trailing \"...
2b827c81b691769167d189c26b07774e
Managing the IRC channels: joining, leaving, inviting
[ { "docid": "9b2bb925cb0b37e2ebd3f2154423249d", "score": "0.6538846", "text": "public void irc_cmd_join(String channel) { irc_send_raw( \"JOIN \" + channel + NEWLINE ); }", "title": "" } ]
[ { "docid": "66843430d8fdfec0706fd803f40f152f", "score": "0.7033907", "text": "public interface ChannelListener{\n\n\t/**\n\t * This method is called before any other method of this channellistener. \n\t * @param connection the IRCConnection this channel is attached to.\n\t */\n\tpublic void init(IRCConn...
964a39d4d48a6dc730a038f82c514650
Here method parameter may be primitive may be user defined variable like object or any collection
[ { "docid": "a6695f175d19263cecb17b188e174dd5", "score": "0.0", "text": "@Override\r\n public void addItem(Item item) {\r\n // this.item=item;\r\n this.items.add(item);\r\n }", "title": "" } ]
[ { "docid": "5a446a7abfd05d8e590359b64cbbc83b", "score": "0.5893717", "text": "private static void overloading() {\n\t\tint intPrimitive = 5;\n\t\tInteger intObject = 5;\n\t\tshort shortPrimitive = 5;\n\t\tShort shortObject = 5;\n\t\tlong longPrimitive = 5;\n\t\tLong longObject = 5l;\n\t\tbyte b = 5;\n\t...
4c66993f4a6a82c4579485c12d653436
TODO: Do this properly.
[ { "docid": "2b1f5ea51ecc4ed75e89ccae3937d278", "score": "0.0", "text": "@Override\n public String getPresentationName() {\n return \"test\"/*labels.getString(\"edit.ungroupSelection.text\")*/;\n }", "title": "" } ]
[ { "docid": "d18a5453cb937c44d51c46c967f1f4f6", "score": "0.61081374", "text": "protected void method_3848() {}", "title": "" }, { "docid": "93de84d0e77a5e19e12e7d0655c39af3", "score": "0.6051322", "text": "@Override\n\tpublic void agit() {\n\t\t\n\t}", "title": "" }, { "d...
e105426cbbb6747eeeea71c1839dfab5
8 Jan 2010 // This Interface represents an object, which is able to have a collection of paragraphs and tables this can be XWFPDocument, XWPFHeader, XWPFFooter, XWPFTableCell
[ { "docid": "5b63aa2ce41e447614b014e1fe514822", "score": "0.76458776", "text": "public interface IBody {\n\t/**\n\t * returns the Part, to which the body belongs, which you need for adding relationship to other parts\n\t * Actually it is needed of the class XWPFTableCell. Because you have to know to whic...
[ { "docid": "8784ddad316043948fe152f766c12d8c", "score": "0.62023175", "text": "public interface ObjectTableObject {\n\t\n\t/**\n\t * Returns the object's number.\n\t * \n\t * @return the object number\n\t */\n\tpublic int getObjectNumber();\n\n\t/**\n\t * Returns the object's parent.\n\t * \n\t * @retur...
10564a3e9d84f234fa10f6f86735a84b
Mississipi > ? zZa >Z baaa > A
[ { "docid": "3f219405fc3bf4fa97013ce64d01cf2c", "score": "0.0", "text": "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString input = sc.next();\n//\t\tString s = input.toUpperCase();\n//\t\t\n//\t\tint[] alpha = new int[26];\n//\t\tint max = 0;\n//\t\tchar resul...
[ { "docid": "74d04c2444b3e24130eacab7139c6961", "score": "0.58553386", "text": "@Test\n public void test093() throws Throwable {\n String string0 = StringUtils.abbreviateMiddle(\"^J-\", \"qO^Ri'I\", (-1759));\n }", "title": "" }, { "docid": "be6a6db26b166e997565852f64c5b40d", "sc...
42df0b3e24429af62b912f40a112d241
Called before draw the repetition.
[ { "docid": "72324083fffc238b4607e73ae2b72eda", "score": "0.6104205", "text": "void onDrawRepetition(ScGauge gauge, ScRepetitions.RepetitionInfo info);", "title": "" } ]
[ { "docid": "7c2e295780fe83423e8232677ba294aa", "score": "0.65032697", "text": "protected abstract void onPreDraw();", "title": "" }, { "docid": "53af47f26d6724fe847c509410b0de7f", "score": "0.64426637", "text": "private void drawFirst() {\r\n\t\tthis.drawParticleFilterCanvas();\r\n\t...
a0ee0ac8a3918871a49be90818ffdec3
Handle a server ping packet.
[ { "docid": "44cc192f86b2121a12dc3526d8a3cd4a", "score": "0.0", "text": "public void a(Packet254GetInfo var1)\n {\n try\n {\n ServerConfigurationManagerAbstract var2 = this.server.getServerConfigurationManager();\n String var3 = null;\n\n if (var1.field_8...
[ { "docid": "c731763554d3753c4bc1c1d7b1acb8cf", "score": "0.6931236", "text": "@Override\n\tpublic void ping() {\n\t\t//respond to ping with pong\n\t\tlastPing = System.currentTimeMillis();\n\t\tthis.writeNow(\"type:pong;\");\n\t}", "title": "" }, { "docid": "3bd8ff18f9933ce6cb1198a4dd5b8ba3"...
e20a3e5856eb5c56e143399161e13470
Visit a Type = TypeName Dimensions (gosling_et_al_2000 <a href=" <a href=" Note that TypeName is either PrimitiveType or ClassType, i.e., QualifiedIdentifier.
[ { "docid": "40db92307cbe9dcfe5f227a3febc92ac", "score": "0.70864236", "text": "public final Type visitType(final GNode n) {\n //TD 01 (4, 10.1) Type = TypeName Dimensions\n final Type t = _externalAnalyzer.visitType(n);\n final Type result = resolveIfAlias(t, n);\n return setType(n, result);...
[ { "docid": "3557ce7fa8cc10432faeb8c44848bffe", "score": "0.63009155", "text": "unannType getType();", "title": "" }, { "docid": "9104086c7043ef6420a5abdbcf959132", "score": "0.6124126", "text": "public ocl.syntax.ast.types.TypeAS getType();", "title": "" }, { "docid": "4e...
81b482473a8e3ed18caf40cc8dbadf22
only for 0~200 value
[ { "docid": "421c19d48871ecebc8294616a5c7d57e", "score": "0.0", "text": "public static void bucketSort(int[] list) {\n if (list == null || list.length < 2) {\n return;\n }\n int max = Integer.MIN_VALUE;\n for (int i = 0; i < list.length; i++) {\n max = Ma...
[ { "docid": "41c08b16961029cc14a1bf6e5211e7fc", "score": "0.62816715", "text": "private static boolean isValue(int value) {\n return value > 0 && value < DEL_VALUE; // the range or allowed values\n }", "title": "" }, { "docid": "58af611c24c9db77b18c6aa5637b2c13", "score": "0.609...
9c7f1b54a4f73812222c24c24156ae84
Getter for promptBefore property
[ { "docid": "1175b0e3d1d0501154da7f40eaec6592", "score": "0.8041993", "text": "public boolean isPromptBefore() {\r\n return this.isPromptBefore;\r\n }", "title": "" } ]
[ { "docid": "a10ac3895eb1dabc2d6359018e2fa20e", "score": "0.7253746", "text": "public String getPrompt() {\n\t\treturn inputPrompt;\n\t}", "title": "" }, { "docid": "10e18390b226937d820077b0eb88a97f", "score": "0.72422355", "text": "public void setPromptBefore(boolean isTrue) {\r\n ...
4ee7b45ef2ce065dbeb0c8246d438878
Returns the number of science apps where userId = &63; and appType = &63;.
[ { "docid": "b8411401b234019119c1964ee3e69fbc", "score": "0.79081213", "text": "@Override\n\tpublic int countByAppType_U(long userId, String appType) {\n\t\tFinderPath finderPath = FINDER_PATH_COUNT_BY_APPTYPE_U;\n\n\t\tObject[] finderArgs = new Object[] { userId, appType };\n\n\t\tLong count = (Long)fin...
[ { "docid": "61856f79d27bddd9d00607935e07a91a", "score": "0.7710943", "text": "@Override\n\tpublic int countByAppType_G_U(long groupId, long userId, String appType) {\n\t\tFinderPath finderPath = FINDER_PATH_COUNT_BY_APPTYPE_G_U;\n\n\t\tObject[] finderArgs = new Object[] { groupId, userId, appType };\n\n...
7207e244cb2e71cfc6c6417c4a047208
Not used. Deprecated. Used to be used to generate a probabilty mask which favors a direction to a specific point. Scrapped once we developed the reverse BFS floor plan.
[ { "docid": "0f6db95fcfd5404d784db7ba55239ac8", "score": "0.0", "text": "public double[][] generateMoveMask(int x, int y, double mult) {\n\t\tdouble centerDist = Math.sqrt(Math.pow(x - this.x, 2) + Math.pow(y - this.y, 2));\n\t\tdouble[][] mg = new double[3][3];\n\t\tfor (int i = 0; i < mg.length; i++) {...
[ { "docid": "10819ce7e53f4291974791360797f292", "score": "0.5585746", "text": "FloatPoint determineDirection(FloatPoint _pos, java.awt.Point _target, GameMap _map, double _maxSpeed);", "title": "" }, { "docid": "a0c2388a8c2dd0ba92073cd606b4a234", "score": "0.5257335", "text": "public ...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "46beada88abbe9925496bcee43289e5a", "score": "0.0", "text": "@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tTagBtn.setImageResource(R.drawable.emotion_tag_scare);\n\t\t\t\tTagBtn.setBackgroundColor(Color.WHITE);\n\t\t\t\tReset();\n\t\t\t\tcommentsListView.setSelectionFromTop(Data.siz...
[ { "docid": "c4efc9f9911178a27ec9261384d5f141", "score": "0.66616714", "text": "public void mo12644zk() {\n }", "title": "" }, { "docid": "81758c2988d9979c7d4b3fd5b3cce0e5", "score": "0.6566483", "text": "@Override\r\n\tpublic void pular() {\n\r\n\t}", "title": "" }, { ...
daaa72b12be9454c407bad068e90f21e
Set the y postion of the enemy
[ { "docid": "5a632393f93e1e732d93b78cb16880a7", "score": "0.0", "text": "public void setyPosition(int yPosition) {\r\n\t\tthis.yPosition = yPosition;\r\n\t}", "title": "" } ]
[ { "docid": "8d4bc3da45332e0406a3d3762949f697", "score": "0.79260904", "text": "public void setY(double y) {\n\n this.yPos = y;\n\n }", "title": "" }, { "docid": "a5be214a97c3ee655c7bbedeba9a9b79", "score": "0.7736497", "text": "public void setYPos(double y) {\n myY =...
71a226900c5b807f01037bcd73d30100
Begin the drawing of selection region (box).
[ { "docid": "0fd5828da40b0da098ab67d5dbca9d2a", "score": "0.0", "text": "public void mousePressed(MouseEvent e) {\r\n\t\tmouseX1 = e.getX();\r\n\t}", "title": "" } ]
[ { "docid": "bd5e2b3d40494b6ecda2da650197a845", "score": "0.6709424", "text": "public void selected(Graphics g){\n\t\tg.setColor(findColor(\"blue\"));\n\t\tg.drawRect(x-3, y-3, 6, 6);\n\t}", "title": "" }, { "docid": "e2b86e2d789d39d83ed6adf858031b91", "score": "0.6673574", "text": "p...
22ef6fe418a473683e0865f8b6269ba5
Create RawTime from LocalTime.
[ { "docid": "63f851f31669cd70f17bdd690e13bfaa", "score": "0.8162694", "text": "public static RawTime from(LocalTime time)\n {\n return new RawTime(time.getHour(), time.getMinute(), time.getSecond(), time.getNano(), false);\n }", "title": "" } ]
[ { "docid": "432dccd92e8c9e2912e5205eba2a6269", "score": "0.7639298", "text": "public static RawTime from(Time time)\n {\n return from(time.toLocalTime());\n }", "title": "" }, { "docid": "6e90662b6c5e2ec4122466a4906fe847", "score": "0.6963112", "text": "public st...
6276e6c5652571b8c45cc30cb40a464d
This method will be used
[ { "docid": "80d63609fc7d7c6012dc5a9b7cb8603e", "score": "0.0", "text": "@ParameterizedTest\n @ValueSource(floats = {Float.MIN_NORMAL, Float.MIN_NORMAL / 2})\n void testNextFloatBoundRounding(float bound) {\n final UniformRandomProvider rng = new DummyGenerator() {\n @Override\n ...
[ { "docid": "0c69424878be03e50f19e2ca61ef640b", "score": "0.69104797", "text": "@Override\r\n\tpublic void leggi() {\n\t\t\r\n\t}", "title": "" }, { "docid": "1acc57d42c31dee937ac33ea6f2a5b0b", "score": "0.6870411", "text": "@Override\r\n\tpublic void comer() {\n\t\t\r\n\t}", "tit...
e1022c7171a60ed83870bdc076cc4803
Return the bookkeeping information that we actually use.
[ { "docid": "7f289eb0e8d6e487aa27d162fb6bfec4", "score": "0.0", "text": "protected int getRealState() {\n return super.getInternalState();\n }", "title": "" } ]
[ { "docid": "bfcda3b852e9bf33412de37ad3bf935e", "score": "0.57699317", "text": "private LockInfo() {\n setLockInfoFields(LockConstants.DEFAULT_USER_ID, LockConstants.DEFAULT_MESSAGE_TEXT,\n LockConstants.DEFAULT_TIMEOUT_LONG, LockConstants.DEFAULT_PRIORITY_INT,\n LockConstants.DEFAULT_WA...
12d51d8168947ad30bf3a32c8bfcb943
Override this if you want to do something when the socket is disconnected
[ { "docid": "1a73147ef13fd2b087ad7deb7cfc3d71", "score": "0.68309474", "text": "protected void onDisconnect(String reason) {\n }", "title": "" } ]
[ { "docid": "142bd1c84eae4e60587d7b41159bc8f8", "score": "0.7434896", "text": "public abstract void onDisconnected();", "title": "" }, { "docid": "66738b0d584e62b8cf2f9572c3e5dfc2", "score": "0.7293596", "text": "void onClientDisconnected(final TcpConnection connection);", "title"...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "f9a7ac3b0f0fb2910ac1af651d0d8123", "score": "0.0", "text": "@Override\n\tpublic String getName() {\n\t\treturn name;\n\t}", "title": "" } ]
[ { "docid": "d7194e467f51e022c107531d8614b6a3", "score": "0.6905833", "text": "@Override\r\n\tpublic void anular() {\n\t\t\r\n\t}", "title": "" }, { "docid": "941cb2826e3c700358fcaba402e6bb01", "score": "0.66775143", "text": "@Override\r\n\tpublic void hissetmek() {\n\r\n\t}", "ti...
20730902512f72ea44fbfa0929146943
The method implementing the activity of taking a chance card.
[ { "docid": "45065c73749e397fc3e7ede4903df182", "score": "0.671837", "text": "public void takeChanceCard(Player player) throws PlayerBrokeException {\r\n\t\tCard card = game.drawCardFromDeck();\r\n\t\tgui.displayChanceCard(card.getText());\r\n\t\tgui.showMessage(\"Spiller \" + player.getName() + \" trækk...
[ { "docid": "a4c7cd7f44af0891a06a61a44b44222c", "score": "0.68010175", "text": "public void playCard(){\r\n\t\t\r\n\t}", "title": "" }, { "docid": "7a344018207f034d7d1c9e753fd19aad", "score": "0.6772636", "text": "Card playCard();", "title": "" }, { "docid": "a5b1ca678dbc1...
274a834d55cb0fc34f0878d6a2558b31
Sets the type of audio and visual material.
[ { "docid": "54ff33cdb7567337e596c9e5f7d0803c", "score": "0.5867141", "text": "public void setType (String _type)\r\n {\r\n avType = _type;\r\n }", "title": "" } ]
[ { "docid": "e5f5cd57274fdc126082db547bdc810e", "score": "0.6765564", "text": "public void setMaterialType(String materialType) {\r\n this.materialType = materialType;\r\n }", "title": "" }, { "docid": "61a2755e3048d46d29c4afc3bee446ac", "score": "0.65637636", "text": "publi...
01ccbb0f7bdd74b1e02390da4c17828c
void HTLCOutputInCommitment_set_offered(struct LDKHTLCOutputInCommitment NONNULL_PTR this_ptr, bool val);
[ { "docid": "95b06736b8855d8a85d6925858046908", "score": "0.907526", "text": "public static native void HTLCOutputInCommitment_set_offered(long this_ptr, boolean val);", "title": "" } ]
[ { "docid": "ebfc5698d1e2426aaed7394c7e6f5d0b", "score": "0.7033992", "text": "public static native boolean HTLCOutputInCommitment_get_offered(long this_ptr);", "title": "" }, { "docid": "18633447a69b5a27df4625148ad9a986", "score": "0.6491189", "text": "public static native void Delay...
1b544633c2886b0d8ef18c775c81cd06
/ renamed from: b
[ { "docid": "d37ab08864795d95691f414ab40647e4", "score": "0.0", "text": "private String m5976b() {\n try {\n return (String) Class.forName(\"com.google.android.gms.ads.identifier.AdvertisingIdClient$Info\").getMethod(\"getId\", new Class[0]).invoke(m5978d(), new Object[0]);\n } c...
[ { "docid": "65c9924a2e7059caf0a955faf0b0d34f", "score": "0.62863237", "text": "public abstract T mo14593h(B b);", "title": "" }, { "docid": "296c620927f5ac829962efb5e91985b0", "score": "0.627079", "text": "public void b() {\n }", "title": "" }, { "docid": "c431a9d3...
a5db7762aaef1550da8946d42579a0da
Creates the structure of a Named Entity with its name, tag and its length, so its startIndex and endIndex.
[ { "docid": "4848e174fdd91bd761ee696f631ee083", "score": "0.731417", "text": "public NamedEntity(String name, String type, int startIndex, int endIndex){\r\n\t\t\r\n\t\tthis.name = name;\r\n\t\tthis.tag = type;\r\n\t\tthis.startIndex = startIndex;\r\n\t\tthis.endIndex = endIndex;\r\n\t\t\r\n\t}", "ti...
[ { "docid": "738ab5bd96069062970524ac0680e927", "score": "0.59403723", "text": "public de.uni_koblenz.jgralabtest.schemas.gretl.bedsl.Entity createEntity();", "title": "" }, { "docid": "11fe2f2e60ddb0bcef5a05649f4f2dc9", "score": "0.59056824", "text": "private Object parseEntity ()\n\...
7d86ce9264bcdf40a1f2509099d0d755
Checks whether the 'tradeCode' field has been set
[ { "docid": "94c803ef279c35a212ae35b100c745bf", "score": "0.7311398", "text": "public boolean hasTradeCode() {\n return fieldSetFlags()[6];\n }", "title": "" } ]
[ { "docid": "74b2e18a5de2d814077f8638f0d9eae7", "score": "0.7319567", "text": "public void setTradeCode(String value) {\n this.tradeCode = value;\n }", "title": "" }, { "docid": "a09f40b80ab57a238e9cc554bc6aa320", "score": "0.67069334", "text": "public boolean isSetCode() {\n r...
f68ad2346f6ac75ad0900764511a4249
string token = 1;
[ { "docid": "0f86ec13428d215d9bb1874a69bb4c6a", "score": "0.0", "text": "public java.lang.String getToken() {\n java.lang.Object ref = token_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.goo...
[ { "docid": "704e0318bd0440e3bdfed80085d2f18f", "score": "0.71764714", "text": "String getToken();", "title": "" }, { "docid": "704e0318bd0440e3bdfed80085d2f18f", "score": "0.71764714", "text": "String getToken();", "title": "" }, { "docid": "669744114984fbc22afd4c6e06f1d0...
22fc2594a66e7c63cb3d4a70aa63fab1
/ access modifiers changed from: private / access modifiers changed from: public
[ { "docid": "813e612081e641a096540fc16970f65d", "score": "0.0", "text": "private void clearKeyguardOccludedChanged() {\n this.bitField0_ &= -4097;\n this.keyguardOccludedChanged_ = false;\n }", "title": "" } ]
[ { "docid": "090367a90ca5031c4baa277087237d68", "score": "0.69104457", "text": "private Traveloid() {\n\t}", "title": "" }, { "docid": "8a25055bb85939ca272f2502bebb1975", "score": "0.6818819", "text": "private Public() {\n\t\tsuper(\"PUBLIC\");\n\t}", "title": "" }, { "doc...
e9ffad5fdde36d5ea3ebe6b4089e73a6
config with XML file
[ { "docid": "c421314806a22b348664dab30783748e", "score": "0.0", "text": "public static void main(String[] args){\n System.out.println(\"--------- XML Config ---------\");\n String configLocation = \"classpath:applicationCTX.xml\";\n AbstractApplicationContext context = new GenericXml...
[ { "docid": "949b11c943a28e56e6057ca18db7ab4a", "score": "0.67459244", "text": "public void readConfigXML() {\n\t\ttry {\n\n\t\t\tResources resources = getResources();\n\t\t\tAssetManager assetManager = resources.getAssets();\n\n\t\t\t// Read from the /assets directory\n\t\t\tInputStream inputStream = as...
fa35ad25ab8ce6d958fb669d09e8d914
Created by Mildo on 11/20/14.
[ { "docid": "f7465403b0bcbb5260d84d7c281f502f", "score": "0.0", "text": "public interface PricingService {\n\n double findProductPrice(Product product) throws DaoException;\n\n ListPrice findLatestListPrice();\n\n List<ListPriceItem> addAllProductFamilies(Fabric fabric, Stripe stripe, double pri...
[ { "docid": "663ac6f718361fb243bf093a1c7ded6a", "score": "0.62234867", "text": "@Override\r\n\tprotected void Goukakyuu() {\n\t\t\r\n\t}", "title": "" }, { "docid": "c8ceec30e6f3ebd2fb8cab39b477d3f3", "score": "0.6026734", "text": "private static void sapxep() {\n\t\t\n\t}", "titl...
b30e3037f8e0653d72a0594d95327438
double ri = Math.hypot(p1.x,p1.y); double rj = Math.hypot(p2.x,p2.y);
[ { "docid": "91ed8f8ad329915c6e9ccd46c9ddffd5", "score": "0.0", "text": "private Pair<Double, Double> getForceAgainstParticle(Particle p1, Particle p2, Board2 b) {\n\n double d = Math.hypot(p1.x - p2.x, p1.y - p2.y);\n\n double eps=p1.r+p2.r-d;\n\n double ex = (p2.x - p1.x ) / d;\n ...
[ { "docid": "d0fd9deaab11150f9812f4bbb3b71c28", "score": "0.7331403", "text": "double dist ( Point p1, Point p2 ) {\n return Math.sqrt( Math.pow( p1.x-p2.x , 2) + Math.pow( p1.y-p2.y , 2) +\n Math.pow( p1.z-p2.z , 2)); \n }", "title": "" }, { "docid": "8515174036b2c819c...
ab2df6b1bf4881b22c61313126f778c6
create enough thread to keep the system busy ;)
[ { "docid": "a0ee09c41018ab951e6c023d0b2f855d", "score": "0.0", "text": "private ThreadPoolExecutor createUnnamedTaskExecutor() {\n int threadCount = Runtime.getRuntime().availableProcessors() - 1;\n if (threadCount < 3) {\n threadCount = 3;\n }\n ThreadPoolExecutor executor = new Thread...
[ { "docid": "27d01f5cd38e5661474ee3c320e7e913", "score": "0.6648459", "text": "@Override\n\t\tprotected boolean slowCreateNewThread() {\n\t\t\treturn false; // TODO active_thread_count.get() < MAX_THREAD_COUNT;\n\t\t}", "title": "" }, { "docid": "6ad5a9d97d1f6863ef9086c6bff15afd", "score"...
d86925eb464f4c328a59c2fdcfcd3780
Created by M02323 on 2017/2/11.
[ { "docid": "148f87ea98988759d5d7c8c52d243f4b", "score": "0.0", "text": "public interface CalendarContract {\n\tinterface Presenter extends BasePresenter {\n\t\tvoid initTopText();\n\t\tvoid loadCalendar();\n\t\tvoid addGridView();\n\t\tvoid moveToLeft();\n\t\tvoid moveToRight();\n\t\tvoid clickGridViewI...
[ { "docid": "8b7f87c22e268a87686c66398c2c442b", "score": "0.61295664", "text": "@Override\r\n\t\t\tpublic void atras() {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "070e1adb9bfd59cb643407a2dabe9b7a", "score": "0.6049941", "text": "private void hinzufügen() {\n\t\t\r\n\t}", "...
9ddab6ad3b926ddda1c7d05d1c3b2690
Resume grid search for PCA model.
[ { "docid": "6762c45d1fe5c8a5b53c078814d50071", "score": "0.4906231", "text": "@FormUrlEncoded\n @POST(\"/99/Grid/pca/resume\")\n Call<PCAV3> resumePca(@Field(\"transform\") DataInfoTransformType transform, @Field(\"pca_method\") PCAMethod pca_method,\n @Field(\"pca_impl\") PCAImplementa...
[ { "docid": "bac88b368a071d435403ce6c9a941cc9", "score": "0.5970449", "text": "public static Call<PCAV3> resumePca(final Grid z, final PCAParametersV3 p) {\n return z.resumePca(p.transform, p.pcaMethod, p.pcaImpl, p.k, p.maxIterations, p.seed, p.useAllFactorLevels, p.computeMetrics,\n ...
5b1b5a9b80893b7aa077137a4f8686d1
DocumentModel documentModel = SampleDocument.getDocumentModel("SampleDocumentModel.json"); System.out.println(JsonConverter.toJson(documentModel));
[ { "docid": "21208ec590c2fb797cf57575e863c08e", "score": "0.0", "text": "public static void main(String[] argv) {\n\n List<RegisteredDiagnosisModel> diagnoses = SampleDocument.getRegisteredDiagnosisModel(\"SampleRegisteredDiagnosisModels.json\");\n System.out.println(JsonConverter.toJson(di...
[ { "docid": "01dd658f38e523864cfc4f212b4e4148", "score": "0.5937083", "text": "public String toJson();", "title": "" }, { "docid": "6c4c7f303c8e04695297c3a8d352f725", "score": "0.5920049", "text": "public interface JSONConverter {\n\n String convertToJson(StandardNode standardsTree...
ded743ed1a9835182e2ccd3318b3b7e6
This method initializes btnGerarRel
[ { "docid": "23e6249d7cc3fc70f40bf12634219ed1", "score": "0.78789973", "text": "private JButton getBtnGerarRel() {\r\n\t\tif (btnGerarRel == null) {\r\n\t\t\tbtnGerarRel = new JButton();\r\n\t\t\tbtnGerarRel.setBounds(new Rectangle(330, 435, 91, 21));\r\n\t\t\tbtnGerarRel.setText(\"Relatório\");\r\n\t\t\...
[ { "docid": "8236ac2adb873fa1180fd6bf66ab70de", "score": "0.6948421", "text": "private void btnRelatorioActionPerformed(java.awt.event.ActionEvent evt) {\n TelaMenuRelatorios tela = new TelaMenuRelatorios();\n Geral.telaRelatoriosActionPerformed(tela);\n }", "title": "" }, { ...
fb54f03f0d145b4261c943f25ead0939
Tests method to get current total number of orders
[ { "docid": "7bc79fb0745a4df7b844c0972f4952ff", "score": "0.75246507", "text": "@Test\r\n public void testGetNumberOfOrders()\r\n {\r\n\tassertEquals(5, OrderManager.getNumberOfOrders());\r\n\tmanager.addOrder(105, 100, 0.0);\r\n\tassertEquals(6, OrderManager.getNumberOfOrders());\r\n }", "t...
[ { "docid": "1590b483728cbae5a0c66b43d34ec0a2", "score": "0.81198794", "text": "int getOrdersCount();", "title": "" }, { "docid": "1590b483728cbae5a0c66b43d34ec0a2", "score": "0.81198794", "text": "int getOrdersCount();", "title": "" }, { "docid": "1590b483728cbae5a0c66b43...
215892a65f8b88727b1cd9cf817e6785
Created by alotfi on 2/28/2017.
[ { "docid": "3d25a2a604f3b67141cf7d1f6ecb1cda", "score": "0.0", "text": "public interface TaskRunner extends Callable {\n\n void setMapJob(MapJob mapJob);\n\n Context getContext();\n\n void setContext(Context context);\n\n// int getCountItem();\n\n// void setCountItem(int countItem);\n\n//...
[ { "docid": "33d41636b65afa8267c9085dae3d1a2d", "score": "0.64761585", "text": "private void apparence() {\r\n\r\n\t}", "title": "" }, { "docid": "8619203d4867f5c6d05eb9a5354405c0", "score": "0.6169392", "text": "@Override\n\t\tpublic void pintate() {\n\t\t\t\n\t\t}", "title": "" ...
66f399105f4579d5ba429b3b45f95d62
this listener starts the thread which contains the socket comms code
[ { "docid": "68fc3c56a9ea043e03e43b3807bc797b", "score": "0.0", "text": "@Override\n public void onClick(View v) {\n if (!connected) {\n if (!gyroscope){\n context = getApplicationContext();\n text = \"No gyroscope present in phone! T...
[ { "docid": "99d568def1227df62e766afb209f7c7c", "score": "0.759516", "text": "protected void startListener(){\n \n if (listener != null && listener.isAlive()){\n return;\n }\n \n listener = new Thread(new Runnable(){\n @Override\n public...
40e2898865d6b55dce11512a92c7472e
A simple helper method which fills the specified drop down element with the specified values
[ { "docid": "d4d4d23c5b0555b99be1ea1d9a4fc3d2", "score": "0.73890764", "text": "private <T> void fillDropDown(DropDown<T> dropDown, T[] values) {\n for (T value : values) {\n dropDown.addItem(value);\n }\n }", "title": "" } ]
[ { "docid": "ee2177f727cf2973d2d274e9adb96509", "score": "0.6407849", "text": "public void selectbyvauedropdown(WebElement element,String value){\n Select elementselect = new Select(element);\n elementselect.selectByValue(value); // valoarea o primesc din valoarea declarata mai sus in param...
f216966d922ca2fd9e66417626254cc1
Copy data into another generated Record/POJO implementing the common interface IXActivity
[ { "docid": "c58c02bea87dc75786a7900d8e3a3f5c", "score": "0.5638655", "text": "public <E extends IXActivity> E into(E into);", "title": "" } ]
[ { "docid": "6ab4c578ffc694fdcabdb86d9d7d3051", "score": "0.5830915", "text": "private ActivityRecord setActivityRecord() {\r\n ActivityRecord actv = new ActivityRecord();\r\n actv.setActivity(sportActivity);\r\n actv.setDistance(5);\r\n actv.setTime(45L);\r\n actv.setB...
6fd496d54bdf48289538dcbaf9f3d8b5
This Factory Method returns a message template that matches any message with a given :replyby slot.
[ { "docid": "bd66d3d57d4165e1f43f57e5d2643577", "score": "0.5507305", "text": "public static MessageTemplate MatchReplyByDate(Date value) {\n return new MessageTemplate(new Literal(value));\n }", "title": "" } ]
[ { "docid": "8f517026ecdedf1c4623d1c08284a40b", "score": "0.57279724", "text": "public static MessageTemplate MatchReplyWith(String value) {\n return new MessageTemplate(new Literal(value, REPLY_WITH));\n }", "title": "" }, { "docid": "fcaa08d83eb64b208836226ffa4689f6", "score":...
a8fa1c11bdc610b3c3342341f95366b7
This method was generated by MyBatis Generator. This method sets the value of the database column vbox_request.vbox_request_id
[ { "docid": "3ccb09822a19e93cbadce1dfa9b166aa", "score": "0.7174003", "text": "public void setVboxRequestId(Integer vboxRequestId) {\r\n this.vboxRequestId = vboxRequestId;\r\n }", "title": "" } ]
[ { "docid": "63822a7308bb7e4dbd045f3695557687", "score": "0.65430605", "text": "public void setIdRequest(long idRequest) {\n this.idRequest = idRequest;\n }", "title": "" }, { "docid": "9a3e850ec3198f2d7e54546357d4cc70", "score": "0.6532591", "text": "public void setVboxRequ...
062fd723150ee739cf133a8248645105
Created by Administrator on 2017/1/22.
[ { "docid": "ed7167431aca927a136a2006a774211b", "score": "0.0", "text": "public interface IboLogin {\n User findById(int id);\n List<User> userList();\n}", "title": "" } ]
[ { "docid": "f777356e2cd2fecd871f35f7e556fda8", "score": "0.6572985", "text": "public void mo3640e() {\n }", "title": "" }, { "docid": "33d41636b65afa8267c9085dae3d1a2d", "score": "0.62723917", "text": "private void apparence() {\r\n\r\n\t}", "title": "" }, { "docid...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "33c82161cecc5d66f996c95269d96f27", "score": "0.0", "text": "public static void main(String[] args) {\n\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": "" ...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "8925095f4727a2eb6119a24abc41af23", "score": "0.0", "text": "@Override\n\t\t\tpublic void onClick(View v){\n\t\t\t\tIntent intent =\n\t\t\t\t\t\tnew Intent(\n\t\t\t\t\t\t\t\tcontext,\n\t\t\t\t\t\t\t\tDishOrderActivity.class);\n\t\t\t\tintent.putExtra(\"uid\", hashMap.get(\"uid\"));\n\t\t\t\tc...
[ { "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...
787cbb73f70b1fc4b71534fe1828226e
required int64 mid = 1;
[ { "docid": "76d805c3bc3280d5eb991753c223740e", "score": "0.0", "text": "boolean hasMid();", "title": "" } ]
[ { "docid": "f2e6a4d3055d9e58954ba0e05e1edcdf", "score": "0.71686673", "text": "long getMid();", "title": "" }, { "docid": "f2e6a4d3055d9e58954ba0e05e1edcdf", "score": "0.71686673", "text": "long getMid();", "title": "" }, { "docid": "3d3374124be010342c1990f220e181a3", ...
e3fe366dd4e3ea88b75acf7022bebcba
Builds a list of default tasks. These are defined by specifying defaultTasks 'task name' in the gradle file. There can be multiple default tasks. This only returns default tasks directly for this project and does not return them for subprojects.
[ { "docid": "ad22474ef28d34bc15d0440b259f2c46", "score": "0.7341192", "text": "public List<TaskVersion1> getDefaultTasks();", "title": "" } ]
[ { "docid": "ac31ae47f8aa6acea0e99aefb8b8b671", "score": "0.73858845", "text": "public List<TaskVersion1> getDefaultTasks() {\n return TaskWrapper.convertTasks(projectView.getDefaultTasks());\n }", "title": "" }, { "docid": "5d8620356efb60caa7305bb82eb39260", "score": "0.5698358...
2d971c50790a83cf51ab18cc3243a530
Copies the indices of this position from another.
[ { "docid": "4bea226998727f77fc92c6b5bf5cdec2", "score": "0.0", "text": "public void set(Position pos) {\n contextStart = pos.contextStart;\n contextLimit = pos.contextLimit;\n start = pos.start;\n limit = pos.limit;\n }", "title": "" } ]
[ { "docid": "f43a05c6f47ce24ef2363fec6a6105b8", "score": "0.5827702", "text": "protected void copyElements(int to, PrimArray other, int from, int count) {\n\t\tint n = count;\n\t\tif (n == -1) {\n\t\t\tn = other.count() - from;\n\t\t}\n\t\tif (n < 0 || to < 0 || from < 0 || from + n > other.count() || to...
6c840de8e45d55381b14fe645227b629
Method that test add friend to list connection when user exist in DB and friend is not present in list of friends then the user can be added
[ { "docid": "bbad19cff7993d0f0eb1a0066c17fa70", "score": "0.6888078", "text": "@Test\n public void addFriendToListConnectionTest_whenUsersExistAndFriendIsNotInListFriend_thenReturnStatusIsOk() throws Exception {\n //GIVEN\n String userEmail = \"dada@email.fr\";\n User userFriendTo...
[ { "docid": "e6e5bdb9e25c3b7a1af0e7bafa0c00b9", "score": "0.74238884", "text": "private void checkBeforAddFriend(final String idFriend, Friend userInfo) {\n if (listFriendID.contains(idFriend)) {\n\n System.out.println(\"+++++++ friend already existsssssss\");\n\n } else {\n ...
07cc31afb978aa6126099446ab7bcd99
Reads a 32bit integer from the %AString at the given position. The given output parameter is set to point to first character that is not a number. If no number is found at the given index, zero is returned and the output parameter is set to the original start index. Leading whitespace characters are ignored. However, i...
[ { "docid": "408d7186c8dea2926ff86800c3a8915b", "score": "0.5391256", "text": "public int toInt( int startIdx, int[] newIdx, char[] whitespaces )\n {\n return (int) toLong( startIdx, newIdx, whitespaces );\n }", "title": "" } ]
[ { "docid": "83cd901a247089fb41a53af57fdb2056", "score": "0.6246449", "text": "public static int getIntAtIndex(String stringToParse, int index){\n return (int) stringToParse.charAt(index)-'0';\n }", "title": "" }, { "docid": "a4f0fee686da2c5ce66e258e466b1d67", "score": "0.578963...
3cc21096b6eca779a688539d1968913e
Handle action bar item clicks here. The action bar will automatically handle clicks on the Home/Up button, so long as you specify a parent activity in AndroidManifest.xml.
[ { "docid": "19b31201f1db027e9656809041508a8e", "score": "0.0", "text": "@Override\n\tpublic boolean onOptionsItemSelected(MenuItem item)\n\t{\n\t\tint id = item.getItemId();\n\n\t\t//noinspection SimplifiableIfStatement\n\t\tif (id == R.id.action_send_mail)\n\t\t{\n\t\t\tsendEmail();\n\t\t\treturn true;...
[ { "docid": "d771bdd1ab23e43342c528d79498f394", "score": "0.772733", "text": "@Override\n\tpublic boolean onOptionsItemSelected(MenuItem item) {\n\t switch (item.getItemId()) {\n\t case android.R.id.home:\n\t // app icon in action bar clicked; go home\n\t Intent intent = n...
db33db55422e2fb611480b855d85434d
This routine will be called whenever the upper layer at the sender [A] has a message to send. It is the job of your protocol to insure that the data in such a message is delivered inorder, and correctly, to the receiving upper layer.
[ { "docid": "3c51fc5c8749d7a81f6d255b8916060b", "score": "0.57231903", "text": "protected void aOutput(Message message)\r\n {\r\n Packet p = new Packet(seqNum, 0, -1, message.getData()); //create packet\r\n int check = checkSum(p); // calculate checksum of packet\r\n p.setChecksum...
[ { "docid": "632f9fc85168562b5bf6cd5707e0ef7d", "score": "0.6644342", "text": "@Override\n\tpublic void priorToSendingOutgoing() {\n\t\t\n\t}", "title": "" }, { "docid": "9b5d28085f48d106f488b7ae002301d6", "score": "0.6246731", "text": "public void assumeReceived();", "title": "" ...
890a3c75fa62dcca640373efea93c9c7
data is passed into the constructor
[ { "docid": "af22943b5be42da4b2ad98399ae4c9e0", "score": "0.0", "text": "public PlaceAdapter(Context context, List<PlaceModel> places, StartDragListener startDragListener) {\n this.inflater = LayoutInflater.from(context);\n this.places = places;\n this.startDragListener = startDragLi...
[ { "docid": "a022af65565a4f8abd010406a558fcb7", "score": "0.75053096", "text": "@Override\n protected void initData() {\n }", "title": "" }, { "docid": "beee84210d56979d0068a8094fb2a5bd", "score": "0.7498755", "text": "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", ...
f87ca65544e8f654b6dfe37f05629e49
Returns the first activity course place in the ordered set where uuid = &63;.
[ { "docid": "0488a233bcbf9bb11b508a14d83513b9", "score": "0.6276582", "text": "public ActivityCoursePlace findByUuid_First(\n\t\t\tString uuid,\n\t\t\tcom.liferay.portal.kernel.util.OrderByComparator\n\t\t\t\t<ActivityCoursePlace> orderByComparator)\n\t\tthrows NoSuchActivityCoursePlaceException;", "...
[ { "docid": "a68c4a23e7d635c2f0b834ec743f7fbb", "score": "0.7444229", "text": "public ActivityCoursePlace fetchByUuid_First(\n\t\tString uuid,\n\t\tcom.liferay.portal.kernel.util.OrderByComparator<ActivityCoursePlace>\n\t\t\torderByComparator);", "title": "" }, { "docid": "0edc9e3c4fe46e0c89c...
0590ef9b02228ea0709b171079b430cf
Restituisce un entity manager.
[ { "docid": "048ef21d9e1bc957722896c4e4ec05d5", "score": "0.0", "text": "public EntityManager getEntityManager(String persistence_unit) {\n EntityManagerFactory entManFactory = PersistenceManager.getInstance(persistence_unit)\n .getEntityManagerFactory();\n EntityManager entM...
[ { "docid": "4c7bc7548645ffcce9a4bc6f88ab8225", "score": "0.66801465", "text": "public void clearEM() {\n getEntityManager().clear();\n }", "title": "" }, { "docid": "76bef906c63ec226763eeb371886810b", "score": "0.6495347", "text": "public void clear() {\n\n\t\tgetEntityMana...
270c926f0c20493134d5fb6aacb378d1
TODO: Get info about the selected place
[ { "docid": "32855e78f3bee05c6c378aea8ccab93e", "score": "0.7391358", "text": "@Override\n public void onPlaceSelected(@NonNull Place place) {\n Log.i(\"Place: \", place.getName() + \", \" + place.getId());\n }", "title": "" } ]
[ { "docid": "0c2bcddce2c5092b93f704ca829e6ecb", "score": "0.7523869", "text": "@Override\n public void onPlaceSelected(Place place) {\n Log.i(\"ADD\", \"Place: \" + place.getName() + \", \" + place.getId());\n foundPlace.put(\"foundPlace\", place);\n }"...
fbcf08d07bea04377a2117e3cbffa947
Returns the index of the first method with the specified name and param types.
[ { "docid": "e55076928de5127a576b6a3a4a20c411", "score": "0.78509146", "text": "public int getIndex(String methodName, Class... paramTypes) {\n for (int i = 0, n = methodNames.length; i < n; i++)\n if (methodNames[i].equals(methodName) && Arrays.equals(paramTypes, parameterTypes[i])) re...
[ { "docid": "b2d67a9b11a5b5c84f8c45d9d07421c2", "score": "0.70189553", "text": "public int getIndex(String methodName, int paramsCount) {\n for (int i = 0, n = methodNames.length; i < n; i++)\n if (methodNames[i].equals(methodName) && parameterTypes[i].length == paramsCount) return i;\n...
af12aafaadabfa8e122f3ef3e24b872d
The main function Please refer ReadMe on using command line
[ { "docid": "00cfa33077950e57c12abf4df1804622", "score": "0.0", "text": "public static void main (String[] args) {\n\n\t\tPeer peer = null;\n\t\tpeer = new Peer();\n\n\t\t// parse arguments\n\t\t// and send info about bootstrapServer in any \n\t\t// parse arguments\n\t\tif (args.length > 0 ){\n\n\t\t\tpe...
[ { "docid": "0ddd7c9de23335d0bb62c9aeb3b9c5a6", "score": "0.8127249", "text": "public static void main(String[]args){\n\n\n \n }", "title": "" }, { "docid": "45d23433007310e4444b7cadd5a105c8", "score": "0.801319", "text": "public static void main(String []args) throws IOExceptio...
77f54c6e31491d4ab0421ab568384d81
Adds the siac t bil elem var.
[ { "docid": "095febe90cc3632f4d9066e0aa4c5c79", "score": "0.6486811", "text": "public SiacTBilElemVar addSiacTBilElemVar(SiacTBilElemVar siacTBilElemVar) {\n\t\tgetSiacTBilElemVars().add(siacTBilElemVar);\n\t\tsiacTBilElemVar.setSiacTBilElem(this);\n\n\t\treturn siacTBilElemVar;\n\t}", "title": "" ...
[ { "docid": "455372b303138a95c6e8c0e32203b40b", "score": "0.55968666", "text": "public SiacTBilElemDetVar addSiacTBilElemDetVar(SiacTBilElemDetVar siacTBilElemDetVar) {\n\t\tgetSiacTBilElemDetVars().add(siacTBilElemDetVar);\n\t\tsiacTBilElemDetVar.setSiacTBilElem(this);\n\n\t\treturn siacTBilElemDetVar;\...
aa1151dc9c9f383ec2968279d79318c3
/ transform((float)data, strideInBytes / 4, count, (float)matrix, offsetInBytes / 4);
[ { "docid": "a469e9d0388302c069c3c38e8d3e1736", "score": "0.79794157", "text": "private native static void transformV3M3Jni (Buffer data, int strideInBytes, int count, float[] matrix, int offsetInBytes);", "title": "" } ]
[ { "docid": "4ab89e9745fcf67740a2a633ed378177", "score": "0.83685225", "text": "private native static void transformV3M4Jni (Buffer data, int strideInBytes, int count, float[] matrix, int offsetInBytes);", "title": "" }, { "docid": "db695c1a27681eb3b01d04a1ad61417e", "score": "0.8363675",...
ad5f970dc3b0a6543a4890d13da54350
Reads all elements matching the path, using inNode as context. Each DOM element is converted into a NamedElement by the factory associated to inType. Every element is added to its own parent in the model.
[ { "docid": "a19b811f5665cc713765073bfb8a52d4", "score": "0.7545216", "text": "protected List<NamedElement> readElementsByPath(Node inNode, EteModel inModel,\n String inPath, String inType) throws EteException {\n try {\n NodeList elementsByType = getElements(inPath, inNode);...
[ { "docid": "ea8b0bb18753dcef0cd631f035ef4e10", "score": "0.74790215", "text": "protected List<NamedElement> readElements(Node inNode, EteModel inModel,\n String inPath, String inType) throws EteException {\n try {\n NodeList elementsByType = getElementsByType(inPath, inNode)...
26aa90552cdd78a961faa4719e6ceeec
The number of items in the web cache.
[ { "docid": "0036de6b8da7689f650a27b8a64626bb", "score": "0.0", "text": "public int getWebCacheEntries() throws java.rmi.RemoteException {\n if (super.cachedEndpoint == null) {\n throw new org.apache.axis.NoEndPointException();\n }\n org.apache.axis.client.Call _call = cre...
[ { "docid": "f02197d3a75085f29c5ad4be700bc47d", "score": "0.8162725", "text": "public int size()\n {\n statisticsUpdate();\n return cache.size;\n }", "title": "" }, { "docid": "fdfcc451a308a80ad4d95fbb6ad6d59b", "score": "0.811619", "text": "public int size() {\n ...
8e87723e2b0839e895f402801f84ec6c
Tests String concatenation whether the result in Java is nonnull.
[ { "docid": "3e4877cf95c3cc89090026cb34e7e81d", "score": "0.55817175", "text": "@Test\n public void testStringConcat1() {\n helpTCX(\"tt.TestJava\",\"package tt; \\n\"\n +\" import org.jmlspecs.annotation.*; \\n\"\n +\"@NonNullByDefault public class TestJava { \\n\...
[ { "docid": "acfd3a6965fe67c91d1d2d655e14b2b4", "score": "0.6512864", "text": "@Test\n public void testGetNullStrIfNull() {\n System.out.println(\"getNullStrIfNull\");\n String str = null;\n String expResult = \"\";\n String result = StringUtil.getNullStrIfNull(str);\n ...
5713790779461883d3b6665d5729dfca
Constructor: Sets up the Quiz.
[ { "docid": "3331c7b1d07b9c5fe073b7c05b003c9e", "score": "0.8110477", "text": "public Quiz()\n {\n }", "title": "" } ]
[ { "docid": "d4a6e1d60401f9e729d1c711d2b73c83", "score": "0.8417126", "text": "public Quiz() {}", "title": "" }, { "docid": "d77289e21910a01e4023f3b2679749e7", "score": "0.7594817", "text": "public QuizBuilder() {\n questionsDatabase = new ArrayList<>();\n }", "title": "...
d922fb3ea17eb22a87fcce359f1c81ee
tv_show.setText(hello() + getFromJNI() + sayHello());
[ { "docid": "dcfe03dfb48c5a91b5a49213c69a1067", "score": "0.0", "text": "@Override\n public void onClick(View v) {\n Toast.makeText(getApplicationContext(), getFromJNI(), Toast.LENGTH_SHORT).show();\n Log.w(\"dd\", Environment.getExternalStorageDirectory().getAbso...
[ { "docid": "45157b2fc8d7c9c39a132770d07d91b1", "score": "0.6396747", "text": "private void sayHello(){\n /* se crea un mensaje de tipo informacion donde se concatenan las variables creadas en los metodos anteriores*/\n Log.i(\"HOLA\", \"sayHello: \"+stringNice+holaQueAse+da...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "85134693558c9c00d529faa29d7d48c1", "score": "0.0", "text": "@Override\r\n\tpublic void playerTitleHandler(String title, String image) {\n\t\tuiManager.setNewsTitleAndImage(title, image);\r\n\t}", "title": "" } ]
[ { "docid": "e5fa0eebc721dea67da872fd14413bc7", "score": "0.69744676", "text": "@Override\n\tpublic void formule() {\n\t\t\n\t}", "title": "" }, { "docid": "8b7f87c22e268a87686c66398c2c442b", "score": "0.6936331", "text": "@Override\r\n\t\t\tpublic void atras() {\n\t\t\t\t\r\n\t\t\t}"...
af40fed6cb71ca242b31f4745c2e2b77
load elements csv into map
[ { "docid": "e9d25f95a1a62cfb5032e46fe9f80049", "score": "0.0", "text": "public static void main(String[] args){\n\t\tHashMap<String, String> map;\n\t\ttry{\n\t\t\tmap = loadElems(\"elements.csv\");\n\t\t} catch(FileNotFoundException e){\n\t\t\tSystem.out.println(\"Fatal: elements file not found.\");\n\t...
[ { "docid": "c18a9404b522a524042f758bc003b8dc", "score": "0.705862", "text": "public static void readCSVandStoreFieldsInHashMap() {\n\t\ttry {\n\t\t\tMap<Integer,String> keyValuePair = new HashMap<>();\n\t\t\tStream<String> lines = Files.lines(Paths.get(\"C://Users//kjayar15//MyLearning//MyLab//Resources...
b502094dc0b09306fa728f5bfa30d70c
Check for Bluetooth support and then check to make sure it is turned on Emulator doesn't support Bluetooth and will return null
[ { "docid": "d99bb9db8318e20221b5ea3de1c59fee", "score": "0.7271558", "text": "private void checkBTState() {\n if(btAdapter==null) {\n errorExit(\"Fatal Error\", \"Bluetooth not support\");\n } else {\n if (btAdapter.isEnabled()) {\n Log.d(TAG, \"...Blue...
[ { "docid": "924a1bdf81eb8f82bad74534fc414e9c", "score": "0.8011978", "text": "private void checkDeviceBluetooth() {\n if (btAdapter == null) {\n toast(\"Your phone does not support Bluetooth\");\n Intent intent = new Intent(this, MainActivity.class);\n startActivi...
72fb2ec19e5e082919e1868f952145dd
Inflate the menu; this adds items to the action bar if it is present. getMenuInflater().inflate(R.menu.drawer, menu);
[ { "docid": "22829ba5b4f5646c53df5a54b205afed", "score": "0.0", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n return false;\n }", "title": "" } ]
[ { "docid": "c9152c8cd3b47419e18d2a89be0070f5", "score": "0.80874026", "text": "@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.drawer, menu);\r\n\t\treturn true;\r\n\t}", "title": "" }, { "docid": "57eca91230eb0bf89dd9c19736d9129e", "s...
fa82e5fbaefe78a6a2706258ef6f25f9
Gets the class that represents the result type of the CriteriaQuery.
[ { "docid": "761703a130e6bb3eb7d582e921fcb1cd", "score": "0.7723442", "text": "public Class<T> getResultType();", "title": "" } ]
[ { "docid": "5d2ddf560023dbfcf37f7f3e16885729", "score": "0.78684765", "text": "Class<T> getResultType();", "title": "" }, { "docid": "a0ce952924f7896ea2bef2b63bae672c", "score": "0.6866518", "text": "public ResultType getResultType() {\n return resultType;\n }", ...
f2fac9d652e412a33e20820d457bb087
TODO Put here a description of what this method does.
[ { "docid": "311b9fab2c70cdde031ec41b862497b6", "score": "0.0", "text": "public static void main(String[] args) {\r\n\t\t// TODO Auto-generated method stub.\r\n\r\n\t}", "title": "" } ]
[ { "docid": "33d41636b65afa8267c9085dae3d1a2d", "score": "0.6662606", "text": "private void apparence() {\r\n\r\n\t}", "title": "" }, { "docid": "f777356e2cd2fecd871f35f7e556fda8", "score": "0.66340894", "text": "public void mo3640e() {\n }", "title": "" }, { "docid...
0419a00de97619d45a2e946a953f8cb5
optional bool filterable = 2 [default = false];
[ { "docid": "b6229c38b614a728ac03cd05bfb6382b", "score": "0.62910825", "text": "public boolean getFilterable() {\n return filterable_;\n }", "title": "" } ]
[ { "docid": "f0925bc0f07dd9452857291dcdec5388", "score": "0.772517", "text": "boolean getFilterable();", "title": "" }, { "docid": "a6848d12e4d3b520de7fa86ce19bffbb", "score": "0.7259787", "text": "boolean hasFilterable();", "title": "" }, { "docid": "c791984047982afa935d8...
9959c2d2465d8e811d0603e278759792
=========== STICKER FUNCTIONS ==============
[ { "docid": "53bdaeb70b240b4abb8983ad7012c017", "score": "0.0", "text": "public void addStickerView(Bitmap bitmap) {\n if (mContentView != null) {\n final StickerView stickerView = new StickerView(mContext);\n stickerView.setBitmap(bitmap);\n stickerView.setOperati...
[ { "docid": "2a7a8efcebb875246d6d1922469b2765", "score": "0.6526864", "text": "private void placeGreenStickers() {\n for (int i = 0; i < 9; i++) {\n sticker[1][i].getSticker().getTransforms().add(new Rotate(90, Rotate.Y_AXIS));\n sticker[1][i].setColor(Color.GREEN);\n ...
2c3e45e8ba7d58dcf80ae11b0d875500
/ 187: / 188:
[ { "docid": "eede1c58e531d9b38f00d9d315aebf80", "score": "0.0", "text": "public static int a(int paramInt, BufferedImage paramBufferedImage, boolean paramBoolean1, boolean paramBoolean2)\r\n/* 189: */ {\r\n/* 190:203 */ a(paramInt, paramBufferedImage.getWidth(), paramBufferedImage.getHeight());\...
[ { "docid": "f9daa6db0628c30926b219153e85b834", "score": "0.62251866", "text": "@Test\n public void test138() throws Throwable {\n String string0 = StringUtils.overlay(\"qu(VSVYnC2`8{\", \"Wn=\", (-748), 0);\n }", "title": "" }, { "docid": "2f13cf06a050783494ba1cf47819fb58", "sco...
646105d4ce29da76abe92c7afe13f1e9
todo se multisensor if the multi sensor refactoring is done, this constant should never be used
[ { "docid": "a9ab26c36df2cd945b8f22572258b283", "score": "0.0", "text": "public static void setOnlyOneSecondaryKey(String onlyOneSecondaryKey) {\n // todo se multisensor\n // set the default value to null, adapt all the single secondary tests and reduce\n // the following line to a <...
[ { "docid": "926108987c89e6f7de1013ce247729ee", "score": "0.59905374", "text": "@Override\n protected HpsSiSensor getSensor(int[] data) {\n\n //System.out.println(\"FEB ID: \" + SvtEvioUtils.getFebIDFromMultisample(data)\n // + \" Hybrid ID: \" + SvtEvioUtils.getFebHybridIDFromMultisampl...
3403b7d60d1e0bb4894e2386cbf9c6bd
callback for failing to request the high scores
[ { "docid": "04e391b6caf249314516e7d6f384212a", "score": "0.6703547", "text": "@Override\n public void gotScoreError(String message) {\n Toast.makeText(this, \"Error retrieving highscores, please try again later\", Toast.LENGTH_SHORT).show();\n Log.e(\"Error: \", message);\n }", "...
[ { "docid": "131f9f00a02f3575f5d42a6025ba7f7c", "score": "0.67676824", "text": "@Override\n public void onErrorResponse(VolleyError error) {\n activity.gotScoresError(error.getMessage());\n }", "title": "" }, { "docid": "aa48a721473b1ba9b084f59cf5340cf1", "score": "0.6154847"...
f6db474835a95853a3d3e122ac5392be
Execute the task repeatedly and forever until interrupted.
[ { "docid": "0ca6729b9076d0266bb8ff6ddbfbf287", "score": "0.0", "text": "public ThreadDaemon(Runnable aTask) {\r\n\t\tthis(0L);\r\n\t\tsetTask(aTask);\r\n\t}", "title": "" } ]
[ { "docid": "dd3bfbed80c7d9f47ba898c88791d140", "score": "0.66576254", "text": "void run() {\n try {\n task.getAction().run(task.getActionArgs());\n future.set(null);\n } catch (InterruptedException e) {\n future.cancel(true);\n LOG.warn(e, \"Task %s interrupted.\", getId());\n ...
bc81653718ce78066e993e2615d5a792
Construct a group set with the specified title.
[ { "docid": "206071391a1be905de9b1f19e306acff", "score": "0.83787566", "text": "public GroupSet(String title) {\n this.title = title;\n this.groups = new ArrayList<String>();\n }", "title": "" } ]
[ { "docid": "1696a93a7c2532389bd99974ff22f6ef", "score": "0.72515345", "text": "public Group(String title, String setId) {\n this.title = title;\n this.setId = setId;\n }", "title": "" }, { "docid": "800d8aa3cbdd5c8f8c5b8a224f4da925", "score": "0.70973843", "text": "publi...
03947b78e796a89965a022b9b0d0f715
TODOdate needs use dateutils
[ { "docid": "05a72ff927a819e450e61de2da5a1e9f", "score": "0.0", "text": "@Override\n\tpublic HsrpPayConfirmationVO convertEntity(HsrpPayConfirmationDTO dto) {\n\t\tDateTimeFormatter formatter = DateTimeFormatter.ofPattern(\"dd/MM/yyyy\");\n\t\t// convert String to LocalDate\n\t\treturn null;\n\t}", "...
[ { "docid": "3a76855b4e8350d534c356a34d8d19e9", "score": "0.6467114", "text": "private static void updateDate() {\n\t\t\n\t}", "title": "" }, { "docid": "0c147c2d94e2c12e1ca46d878806f2be", "score": "0.6247766", "text": "Date getValidThru();", "title": "" }, { "docid": "37c...
a7f4ef2c5ed71ded394c3afe674dec7f
Exibe o Id da conta
[ { "docid": "b756cefad1b5562f07e56529321246f0", "score": "0.0", "text": "public Integer getContaId() {\n\t\treturn contaId;\n\t}", "title": "" } ]
[ { "docid": "afa0f316e2412828f5a121c028aef72b", "score": "0.7347351", "text": "public String darId() throws CampoListaVacioException{\n\t\tString txtId=id.getText();\n\t\tif(txtId.equals(\"\")) throw new CampoListaVacioException(\"Reglas\",\"Nombre de la regla\",num);\n\t\treturn txtId;\n\t}", "title...
40aea56a3d4f03795103962052b2dddf
click on search Link
[ { "docid": "6eac3782da054f9ff1a6b66c8b6b7a69", "score": "0.70727", "text": "public WelcomePageObject clicksearchLink() {\n\t\tlog.info(\"Clicking search link on Welcome Page\");\n\t\tclick(search);\n\t\treturn new WelcomePageObject(driver, log);\n\t}", "title": "" } ]
[ { "docid": "bc9b592581814b76a9fb705b8cde3695", "score": "0.846475", "text": "public void searchClick() {\n \tsearch.click();\n }", "title": "" }, { "docid": "963ced883f438833ab8cff8a9c66c3dd", "score": "0.81351686", "text": "public void clickSearchButton(){\n\t\t\n\t\tbc.click(...
64291ad0dd5993b048b023d476503b80
Sets the primary key of this data type schema.
[ { "docid": "d00e90e3d0c9e3c2b9406050a0d4366c", "score": "0.745488", "text": "@Override\n public void setPrimaryKey(long primaryKey) {\n _dataTypeSchema.setPrimaryKey(primaryKey);\n }", "title": "" } ]
[ { "docid": "d5bc1365d127e60f26348c6d7292341f", "score": "0.67620844", "text": "public void setPrimaryKey(String primaryKey);", "title": "" }, { "docid": "d5bc1365d127e60f26348c6d7292341f", "score": "0.67620844", "text": "public void setPrimaryKey(String primaryKey);", "title": ""...
b6fe269a9cca727d87a3d460520ac130
/ 35: / 36:
[ { "docid": "e70834d5430fdce7f02e5ca718cf42e0", "score": "0.0", "text": "public void a(cvk paramcvk)\r\n/* 37: */ {\r\n/* 38: 70 */ this.f.a();\r\n/* 39: */ \r\n/* 40: 72 */ this.e.a();\r\n/* 41: 74 */ for (String str : paramcvk.a()) {\r\n/* 42: */ try\r\n/* 43: ...
[ { "docid": "c5a5ee5c9912c3c0cc8cc92662839602", "score": "0.6488681", "text": "public int mo36g() {\n return 8;\n }", "title": "" }, { "docid": "b545c2e56fef355195c327b7e1686903", "score": "0.56600827", "text": "private int RKHash(String txt)\r\n\t{\r\n\t\tint m = txt.length...
a2e49e959ae740f68c9cdde550204fc3
Returns a short description of the servlet.
[ { "docid": "8a3f6bbb84898014a0585bb0f023d468", "score": "0.0", "text": "@Override\r\n public String getServletInfo() {\r\n return \"Short description\";\r\n }", "title": "" } ]
[ { "docid": "5c7fb21a323dda3a295820457693bbed", "score": "0.87897027", "text": "public String getServletInfo() {\n return \"Short description\";\n }", "title": "" }, { "docid": "63004d59b4ffcaf2437e8692fcd9ab59", "score": "0.87322754", "text": "public String getServletInfo() {\n ...
6ad19fa208ec35f0894cbe68bfd1ceba
TC1810: Verify that the user should be able to enable the 'transfer limits' box when restaurant exceeds the transfer limit.
[ { "docid": "dcfb4946e5943820e08d0df505b5ab68", "score": "0.68814737", "text": "@Test()\r\n\tpublic void sprint10_US1055_TC1810() throws RowsExceededException,\r\n\t\t\tBiffException, WriteException, IOException, InterruptedException {\r\n\t\t/** Variable Section : **/\r\n\t\tString storeId = GlobalVaria...
[ { "docid": "80726f275a52658ad0c71b05e69e9a7b", "score": "0.6777791", "text": "@Test()\r\n\tpublic void sprint10_US1055_TC1814() throws RowsExceededException,\r\n\t\t\tBiffException, WriteException, IOException, InterruptedException {\r\n\t\t/** Variable Section : **/\r\n\t\tString storeId = GlobalVariab...
3a160781f177431238e1935ae192badc
Gets the form file name of the last parsed file. Can be null if it is not available.
[ { "docid": "ae3dd791989dfd67115e0f51c121b2c2", "score": "0.74923337", "text": "String getFormFileName();", "title": "" } ]
[ { "docid": "dcf05bcc36686ffb375a0c6165022bd1", "score": "0.6961807", "text": "private String getFileName() {\n\t\treturn filenameInput.getText();\n\t}", "title": "" }, { "docid": "aae89788c09453878aff289e8d8914e1", "score": "0.68410605", "text": "private String getFormName(String for...
9ae87ab03a25b27beebc93f302bfb89e
Returns true if this object contains the agent or spot which has the specified name.
[ { "docid": "85b176673232f2664fc18a084753b419", "score": "0.70634764", "text": "public boolean contains(String name) {\r\n\t\treturn SoarsCommonTool.has_same_name( _name, _number, name);\r\n\t}", "title": "" } ]
[ { "docid": "e0be700cbdf65ff7e28ac25e27591623", "score": "0.71230924", "text": "public boolean actorExists(String name) {\n if (adjList.containsKey(name)) {\n return true;\n }\n\n return false;\n }", "title": "" }, { "docid": "75f952b2d1258e4429406d11603d229...
911389bae4c2a7e0541af1c31d23b1a0
Required. Basic human annotation config. .google.cloud.datalabeling.v1beta1.HumanAnnotationConfig basic_config = 2 [(.google.api.field_behavior) = REQUIRED];
[ { "docid": "89ba9f9a856590b2930225ee2554e7b1", "score": "0.8768011", "text": "com.google.cloud.datalabeling.v1beta1.HumanAnnotationConfigOrBuilder getBasicConfigOrBuilder();", "title": "" } ]
[ { "docid": "0668093bbd51bbb7713edbee79f23fac", "score": "0.88563013", "text": "com.google.cloud.datalabeling.v1beta1.HumanAnnotationConfig getBasicConfig();", "title": "" }, { "docid": "b96ce4995fb06d4660772c5acd370a5f", "score": "0.84387314", "text": "public com.google.cloud.datalab...
3a70034421248bac410b7b0a405e6ae9
This method was generated by MyBatis Generator. This method sets the value of the database column aman_control.processing_indicator
[ { "docid": "1febb0c825440be2de7923ff6aaf743e", "score": "0.7280918", "text": "public void setProcessingIndicator(String processingIndicator) {\r\n this.processingIndicator = processingIndicator;\r\n }", "title": "" } ]
[ { "docid": "e5dc8701cf5f086f66dc25d768590706", "score": "0.6562518", "text": "public String getProcessingIndicator() {\r\n return processingIndicator;\r\n }", "title": "" }, { "docid": "6ae9674436e73ab1eb4f1d8e18ae4ee4", "score": "0.62940705", "text": "public void setProces...
ba34c4efda4c8cf363f02cb08259eeb9
Auto generated add method for the array for convenience
[ { "docid": "22f9b670493e52f3e827544782e81a36", "score": "0.0", "text": "public void addCampos(Campo param){\n if (localCampos == null){\n localCampos = new Campo[]{};\n }\n\n ...
[ { "docid": "ada58f94165ad4caa8a8633b521f7f07", "score": "0.73290324", "text": "@Override // X.AbstractC07410rk\n @CanIgnoreReturnValue\n public final AbstractC07410rk add(Object[] objArr) {\n super.add(objArr);\n return this;\n }", "title": "" }, { "docid": "a35d4995dd...
0fc0fdae75a28c90dbc9bbec68610a7c
.proto.RoomMessageSticker sticker = 30;
[ { "docid": "fe12c163787fba43055fa94f66a54381", "score": "0.0", "text": "public Builder clearSticker() {\n if (stickerBuilder_ == null) {\n sticker_ = null;\n onChanged();\n } else {\n sticker_ = null;\n stickerBuilder_ = null;\n }\n\n retur...
[ { "docid": "faa0ad96ec32aeded2f40f3cb1c95872", "score": "0.76676214", "text": "net.iGap.proto.ProtoGlobal.RoomMessageSticker getSticker();", "title": "" }, { "docid": "74ed5ceea10cb04b487444829a18308e", "score": "0.75609106", "text": "net.iGap.proto.ProtoGlobal.RoomMessageStickerOrBu...
9ada2236d48c1b3286c784c801ca767f
/ / / 50
[ { "docid": "57a54de6b9e4310d1bb6227622ff4b62", "score": "0.0", "text": "public boolean isAccountNameInBytes() { return this.accountNameInBytes; }", "title": "" } ]
[ { "docid": "b29b91c9a78d09129c3da7bb73f81697", "score": "0.59841394", "text": "private float getAverageCharacterWidth() {\n/* 468 */ return 500.0F;\n/* */ }", "title": "" }, { "docid": "0ca085ae6b76ee82d51bd1ae662f1925", "score": "0.5955804", "text": "private Divide(){}", ...
15668d68cb1dc265d31f678afcb31d38
request permission for file browser
[ { "docid": "88dfd940a85bd72251718140d78fdd4a", "score": "0.74373704", "text": "private void requestPermission() {\n if (presenter.processFilePermission()) {\n // Permission has already been granted\n showFilePicker();\n }\n }", "title": "" } ]
[ { "docid": "9392fb1247dcf18d96b0f1e92085eed3", "score": "0.7024606", "text": "private void getPermission(){\n if (ContextCompat.checkSelfPermission(this, Manifest.permission.READ_EXTERNAL_STORAGE)\n != PackageManager.PERMISSION_GRANTED) {\n // Permission is not granted\n...
51169cd4315a311bf797aa572ac7365a
Make this return true when you want the action to end, if it's time this will automatically return true when the timer rings
[ { "docid": "3e06daaf1161ee02954e4e1a83284ab8", "score": "0.6883703", "text": "public boolean done() {\n\t\tif(timed) {\n\t\t\treturn timer.ring();\n\t\t}\n\t\treturn false;\n\t}", "title": "" } ]
[ { "docid": "c64f72804658fb33e5e97e758a0d8aa5", "score": "0.74364084", "text": "protected boolean isFinished() {\n \treturn timer.get() > time;\n }", "title": "" }, { "docid": "e346a47eb9407458a8ae7c8c4b50eec3", "score": "0.7347407", "text": "protected boolean isFinished() {\n ...