query_id
stringlengths
32
32
query
stringlengths
7
129k
positive_passages
listlengths
1
1
negative_passages
listlengths
88
101
d4a43c8e69896c101af270c6ed6fd83f
Send received messages to Minecraft
[ { "docid": "3ce182463849d1fcafdcb73d2d401519", "score": "0.6329668", "text": "@Override\n public void onMessageReceived(MessageReceivedEvent event) {\n if (event.isFromType(ChannelType.TEXT)) {\n if (messageSender.isBotChannel(event.getTextChannel().getId())) {\n help...
[ { "docid": "5a11c17bc2dd00418205fd9e9b6a3dcb", "score": "0.7042342", "text": "protected void sendMessage() {\n String line;\n BufferedReader clavier = new BufferedReader(new InputStreamReader(System.in));\n while (true) {\n\t \n try {\n\tSystem.out.println(\"Tape une ligne \");\n\tlin...
9bd8288c9989c098887c90d09fa5bdee
Created by muscaestar on 12/22/20
[ { "docid": "57dacf6727f79a847ed04ae758d9c562", "score": "0.0", "text": "public interface CommandBranch extends VMCommand {\n}", "title": "" } ]
[ { "docid": "fea7a2b12d2393c5b331cdd73164085e", "score": "0.6176694", "text": "private static void problem11() {\n\t\t\n\t}", "title": "" }, { "docid": "93de84d0e77a5e19e12e7d0655c39af3", "score": "0.60431916", "text": "@Override\n\tpublic void agit() {\n\t\t\n\t}", "title": "" ...
c8c1ff15ba5e9c935318a6e29b3e8cf3
/ Notifies that a coin was added to the dispenser Only the most recently added coin is kept track of
[ { "docid": "752ca0d4d8ec9ff9aa57bd02fbf4c862", "score": "0.8076001", "text": "@Override\n\tpublic void coinAdded(CoinDispenser dispenser, Coin coin) {\n\t\tif(this.coinAddedNotification.containsKey(dispenser)) {\n\t\t\tthis.coinAddedNotification.replace(dispenser, coin);\n\t\t}else {\n\t\t\tthis.coinAdd...
[ { "docid": "0a4ce5bf5868c29bc4e87e23e374d8b3", "score": "0.71938384", "text": "@Override\n\tpublic void coinsFull(CoinDispenser dispenser) {\n\t\tthis.coinsFullNotification.add(dispenser);\n\t\t\n\t}", "title": "" }, { "docid": "3462eca38743111e7636724e6ebaea6c", "score": "0.6665383", ...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "751f6527ed302958285bcb89a3b701d4", "score": "0.0", "text": "@Override\r\n\tpublic void visitTryCatchBlock(Label arg0, Label arg1, Label arg2,\r\n\t\t\tString arg3) {\n\t\tsuper.visitTryCatchBlock(arg0, arg1, arg2, arg3);\r\n\t}", "title": "" } ]
[ { "docid": "fd7df110e087032be8c98522c4493f41", "score": "0.6681592", "text": "@Override\n public void otvori() {\n }", "title": "" }, { "docid": "fd7df110e087032be8c98522c4493f41", "score": "0.6681592", "text": "@Override\n public void otvori() {\n ...
ef4ea9f3a785aa22aacdf09a51b50a16
Gets one CanadianNetwork object from the database using the primary key. Returns null if not found.
[ { "docid": "7d462d276f63d44ddaeebef036f88d47", "score": "0.7197359", "text": "public static CanadianNetwork selectOne(long canadianNetworkNum) throws Exception {\n String command = \"SELECT * FROM canadiannetwork \" + \"WHERE CanadianNetworkNum = \" + POut.long(canadianNetworkNum);\n List<...
[ { "docid": "bf9d326f843c4d31b96b38f7120a7e39", "score": "0.6399315", "text": "public static CanadianNetwork selectOne(String command) throws Exception {\n if (RemotingClient.RemotingRole == RemotingRole.ClientWeb)\n {\n throw new ApplicationException(\"Not allowed to send sql di...
54ece526d1bdd876810be41023165edb
Gets if the system is synchronized. If true, the list of file names is a recent update of the data from cloud.
[ { "docid": "0065f02f3529fe44a053b440f0fc2446", "score": "0.6418772", "text": "@SuppressWarnings(\"BooleanMethodIsAlwaysInverted\")\n // TODO(playerone) Remove this lock.\n public boolean isSynchronized() {\n synchronized (mLock) {\n return mListSync;\n }\n }", "titl...
[ { "docid": "35ebca6b60533dfafdf7b48afea759ec", "score": "0.6396832", "text": "boolean getInSync();", "title": "" }, { "docid": "9beda5bd2357d58db1bb3210cc826b1e", "score": "0.6385992", "text": "public boolean isvSync() {\n \t\treturn vSync;\n \t}", "title": "" }, { "docid...
3990baa167606064238d1f86f06610fa
Set the value of the toggleGroup property.
[ { "docid": "e6429f791d76485bba40d47f00747896", "score": "0.8320266", "text": "public void setToggleGroup ( String toggleGroup ) {\r\n\t\tgetStateHelper().put(PropertyKeys.toggleGroup, toggleGroup);\r\n\t\thandleAttribute(\"toggleGroup\", toggleGroup);\r\n\t}", "title": "" } ]
[ { "docid": "84fb876657bdfaa4956d52f832815239", "score": "0.7036476", "text": "public void setGroup(boolean value) {\r\n this.group = value;\r\n }", "title": "" }, { "docid": "a10cf3382af5bacd6e800965985f6c0e", "score": "0.7011282", "text": "protected void toggle() {\n\t\tfo...
1a6ba4c0bfe24253185261d40a433958
Sets the value of idEmpresaModified
[ { "docid": "4837657d9990799fd7b5b89002183c7c", "score": "0.8347853", "text": "public void setIdEmpresaModified(boolean idEmpresaModified)\r\n\t{\r\n\t\tthis.idEmpresaModified = idEmpresaModified;\r\n\t}", "title": "" } ]
[ { "docid": "11013dc4c8a4d26d22fad3a49b9eddd5", "score": "0.8030077", "text": "public void setIdEmpleadoModified(boolean idEmpleadoModified)\r\n\t{\r\n\t\tthis.idEmpleadoModified = idEmpleadoModified;\r\n\t}", "title": "" }, { "docid": "381299041e5223082f8428002f40bc2b", "score": "0.72918...
4e403cbe94253db1614b4db6554f3572
Created by Gerjan on 2462016.
[ { "docid": "06be4de8f88c503da636ef97393e412b", "score": "0.0", "text": "public interface ILocationUser {\n\n void onLocation(Location location);\n}", "title": "" } ]
[ { "docid": "0c69424878be03e50f19e2ca61ef640b", "score": "0.61020225", "text": "@Override\r\n\tpublic void leggi() {\n\t\t\r\n\t}", "title": "" }, { "docid": "1e34493fdecb11f6bbc24ef12eea2281", "score": "0.60075897", "text": "public void mo27791d() {\n }", "title": "" }, ...
b4c1a23407fec42958403fd2372e2a0f
Find the card associated with a given key. If found this sets the mark to the card, otherwise it unsets the mark.
[ { "docid": "23b347451e4f7f857d42adbb365bcc52", "score": "0.72404283", "text": "protected HeaderCard findCard(String key) {\n\n HeaderCard card = cards.findKey(key);\n if (card == null) {\n\tunsetMark();\n\treturn null;\n }\n\n int newMark = cards.indexOf(card);\n setMark(newMark...
[ { "docid": "ea275add5d549ba4c4f7f02889dd69ac", "score": "0.58580625", "text": "public final HeaderCard find(String key)\n {\n if (key != null) {\n KeyChain kc = (KeyChain )hash.get(key.trim().toUpperCase());\n if (kc != null) {\n\treturn kc.card;\n }\n }\n\n return null;\n }", ...
457cf026a21fff98a0294d9fdb1aaab8
Given a collection of Reads which overlap a VariantSite, this function displays the aligned reads so that the corresponding bases of each read line up. The display also highlights the portion of each read which overlaps the variant.
[ { "docid": "06660105d79abb1971dd61d81a7f93be", "score": "0.6559699", "text": "public void printSiteAndReads(VariantSite vs, Collection<Read> rs) {\n int maxLeft = 0, maxRight = 0;\n for(Read r : rs) {\n maxLeft = Math.max(maxLeft, vs.offset() - r.alignment.offset());\n ...
[ { "docid": "d741f6ef0cecaa4b16617b2e07ca56be", "score": "0.49829265", "text": "@Test\n public void testSimpleRead() throws Exception {\n String file = TestUtils.LARGE_DATA_DIR + File.separator + \"2largebams.bam.list\";\n String[] actfiles = IGVToolsTest.generateRepLargebamsList(file, \...
9711662e036ea7ea9542236f757dfdf1
Remove CR / LF from String Better performance version Doesn't NPE 40 times faster on an empty string 2 times faster on a mixed string 25% faster on 2 char string with only CRLF in it
[ { "docid": "4aff3ef911a8ecb52ee866078d27cd70", "score": "0.7414751", "text": "public static String removeCRLF( String in ) {\n if ( ( in != null ) && ( in.length() > 0 ) ) {\n int inLen = in.length(), posn = 0;\n char[] tmp = new char[ inLen ];\n char ch;\n for ( int i = 0; i < in...
[ { "docid": "a9df617576f8f799d8c1e1ac67331801", "score": "0.71766025", "text": "public static String removeLF( String in ) {\n return removeChar( in, '\\n' );\n }", "title": "" }, { "docid": "8d2dc9e81b7cb129b90487f7fc2e1448", "score": "0.7035373", "text": "public static String ti...
c75a5cb4d3a51dfd202fc4d7deb0a379
Creates a rectangle shaped polygon from the given coordinates which represent the two opposite corners.
[ { "docid": "c1f92fd71fb47b40aa38cfd686df99a0", "score": "0.68518233", "text": "public static Polygon makeRectangle(double x1, double y1, double x2, double y2) {\n StringBuilder builder = new StringBuilder();\n builder.append(\"MULTIPOLYGON (((\");\n builder.append(x1);\n builder.append(\" \"...
[ { "docid": "82ef9b63dd4d5bc5dd9f0b1c30ac9b8a", "score": "0.6064767", "text": "protected PairIntArray createRectangle(int width, int height, int xOff, \n int yOff) {\n PairIntArray a = new PairIntArray(2*width + 2*height);\n for (int i = (width - 1); i >= 0; --i) {\n a.add...
ae0e0452b1f1b2bf5cc4926ac558a10b
Validates the remote connection, produced from ruleset for given name, for a remote repo or group containing a remote. If: rule.isValidationEnabled() == false, return true rule.getValidationRemote() == null, return true rule.getRemoteValidationPath() != null, validate remote.getUrl() + validationPath if response code i...
[ { "docid": "6e45dbaac7976bf9c9106bd97ab487ff", "score": "0.7147302", "text": "private boolean checkValidity( final String name )\n throws ProxyDataException\n {\n if ( catalog.isValidationEnabled( name ) )\n {\n try\n {\n final RemoteRepositor...
[ { "docid": "b02a7c6bf0be02d3972d2308c1db3dca", "score": "0.50982505", "text": "@Override\n public boolean canHandle(URIish uri, Repository local, String remoteName)\n {\n if ((uri.getPath() == null) || (uri.getPort() > 0)\n || (uri.getUser() != null) || (uri.getPass() != null)\n || (uri.g...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "2b5a7bdbd4056e76adb18916c95b5301", "score": "0.0", "text": "public <Y> Expression<Y> some(Subquery<Y> subquery) {\n\t\treturn null;\n\t}", "title": "" } ]
[ { "docid": "74a4209c94e08d9f5eb0b60e580f5e04", "score": "0.68867725", "text": "@Override\r\n\tpublic void comit() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b645eacb329adc01490ab5013a6c4f7f", "score": "0.67295986", "text": "@Override\n\t\t\tpublic void perfom() {\n\n\t\t\t}", "t...
49f6e013798899137e7dd128636f6b2c
Get a new MySQL connection
[ { "docid": "caf8daa249c3311773399f91bba289f9", "score": "0.7117367", "text": "public Connection getMySQLConnection() throws ClassNotFoundException, SQLException {\n Class.forName(properties.getProperty(\"mySQLConnectionDriver\"));\n Connection conn = DriverManager.getConnection(properties....
[ { "docid": "c3f7836905f58749a71fa8e5799af884", "score": "0.74278575", "text": "private Connection connectToMySQL() {\r\n\t\tinitializeDriver(\"com.mysql.jdbc.Driver\");\r\n\t\tString url = \"jdbc:mysql://\"+server+\":3306/\"+schema+\"?useCursorFetch=true\";\r\n\t\treturn getConnection(url);\r\n\t}", ...
d672896be6acf6c694e7d51446a2b156
Converts an iterator to an object array whose length is equal to the number of the iterator's elements. When the iterator contains more elements than the array is able to store, a new array of the same component type is created.
[ { "docid": "de0c36de0c530970a130cb606a8fcf1b", "score": "0.51035136", "text": "public static <E> E[] toFittingArray(Iterator<? extends E> iterator, E[] array) {\n\t\tArrayResizer resizer = new ArrayResizer(0.5, 0);\n\t\tint size = array.length;\n\t\tfor (int index = 0; iterator.hasNext(); array[index++]...
[ { "docid": "541319851cc9ebf74a1470c4d4089483", "score": "0.6642353", "text": "public static Object[] toArray(Iterator<? extends Object> iterator) {\n\t\treturn toFittingArray(iterator, new Object[0]);\n\t}", "title": "" }, { "docid": "bb64fa791ce969fe9ac1498fed8d7622", "score": "0.616151...
ffe79c84fe27cded0e94436c2216243b
System.out.println("From: " + nmbr + " To: " + nmbr1);
[ { "docid": "a7665b5296760994d4433debe8295e9b", "score": "0.0", "text": "@Override\n public NavigableMap<Number640, Data> subMap(Number640 nmbr, Number640 nmbr1, int i, boolean bln) {\n throw new UnsupportedOperationException(\"Not supported yet.\"); //To change body of generated methods, choos...
[ { "docid": "4933788666c014c6fb84c20f1a080104", "score": "0.5925942", "text": "public String getFrom()\r\n {\r\n return from;\r\n }", "title": "" }, { "docid": "f47d634e72570d9442cf5e3df20e791b", "score": "0.58853847", "text": "public String getFrom() { return from; }", ...
e0a53b01e543718388413db8bf46cc34
Overlapping points: those less than 10m appart.
[ { "docid": "9c68375d58d895b29bc6961b83088040", "score": "0.58541113", "text": "public static\t<P extends GenericPoint>\n\tList<P>\n\tgetPointsOverlapping( List<P> pts )\n\t{\n\t\treturn ListUtils.getConflictingItems( pts, GenericPointConflict.OVERLAPPING ) ;\n\t}", "title": "" } ]
[ { "docid": "dcb6f2bf71683d5f822ca43b2c61b7c2", "score": "0.58829165", "text": "public java.util.List<Point> find_boundaries(Point a,Point b){\r\n java.util.List<Point> bound= new ArrayList<Point>();\r\n double slope=0;\r\n \r\n slope = (b.get_y()- a.get_y())/(b.get_x()-a.get_x()...
dffdb0ab80739f21f5085e3d898ee2ef
Filter out all visited buildings
[ { "docid": "e6130f9a28f5731d18bf786b536951ed", "score": "0.55985093", "text": "public void onButtonUnvistedBuildingClick(View view) {\n List<Waypoint> waypoints = new ArrayList<>();\n for(Waypoint waypoint : DataConnector.getInstance().getWaypoints()){\n if(!waypoint.isVisited()...
[ { "docid": "46bdd4dae5d46ecb088122afd1585b09", "score": "0.5985937", "text": "public Set<Landmark> listBuildings() {\n return Collections.unmodifiableSet(this.buildings);\n }", "title": "" }, { "docid": "4cba62cc618f3c821cfd37b019aa1f04", "score": "0.58687776", "text": "Lis...
e1ec5b3dbd5e935422122b3c36842daa
Can't simply invoke liftRelations because the active flags may have changed
[ { "docid": "5487adefe76bb353352b63c4b27b6348", "score": "0.5078309", "text": "public void redo()\r\n\t{\r\n\t\tEntityInstance\t\te = m_e;\r\n\t\tDiagram\t\t\t\tdiagram = getDiagram(e);\r\n\t\tVector\t\t\t\tsrcRelList = m_srcRelList;\r\n\t\tVector\t\t\t\tdstRelList = m_dstRelList;...
[ { "docid": "a3f098db8d0ac3862b9c56cc8584a450", "score": "0.63957876", "text": "@Override\n\tprotected void setRelations() {\n\n\t}", "title": "" }, { "docid": "44477f6a75c681fbdd241f7223f3504a", "score": "0.5557851", "text": "@Override\n public Relation transformInitialRelation(Re...
07f6029c75ca789dbfc7bed1e1529e8a
$ANTLR end "rule__MultExpression__Group_1_0_1__0" $ANTLR start "rule__MultExpression__Group_1_0_1__0__Impl" ../example.logo.xtext_editor.ui/srcgen/example/logo/xtext_editor/ui/contentassist/antlr/internal/InternalLogoTextualSyntax.g:3670:1: rule__MultExpression__Group_1_0_1__0__Impl : ( () ) ;
[ { "docid": "a8022540b5d52c90f4a90cd3574ae865", "score": "0.7606503", "text": "public final void rule__MultExpression__Group_1_0_1__0__Impl() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../example.logo.xtext_editor.u...
[ { "docid": "dbd0d5e9dabc2691c2e30ba301ba58f2", "score": "0.7880558", "text": "public final void rule__MultExpression__Group_1_0_0__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \r\n try {\r\n // ../example.logo.xtext_editor.ui/src-...
be0d2cf356d53f879298169c16ce9479
The Priority header field indicates the urgency of the request as perceived by the client. The Priority header field describes the priority that the SIP request should have to the receiving human or its agent. For example, it may be factored into decisions about call routing and acceptance. For these decisions, a messa...
[ { "docid": "9fa107fba657262784136eb6509abc03", "score": "0.6349978", "text": "public interface PriorityHeader extends Header {\n\n\n\n /**\n\n * Set priority of PriorityHeader\n\n *\n\n * @param priority - the new string priority value\n\n * @throws ParseException which signals that a...
[ { "docid": "3aa4e25bb5c7b8d34f49bde94998cf5f", "score": "0.70625824", "text": "public HMessagePriority getPriority() {\n\t\treturn priority;\n\t}", "title": "" }, { "docid": "113eb0a2ffe1ef8ac9680178960f336b", "score": "0.69108975", "text": "public int getPriority() {\n\t\tif (header...
0ed82094fa9cf395f683ca9499f56b73
Tests validation of empty referenceParam attribute
[ { "docid": "22e373a10a36cf2a0e9c0c3ab39e93a6", "score": "0.0", "text": "protected void emptyReferenceCheck(String referenceID, int index, String referenceParam) {\n\t\tString textToFind = referenceParam + referenceID;\n\t\tint offset = editor.getSourcePage().getPositionOfText(textToFind, index);\n\t\tif...
[ { "docid": "2af3842ba621aa79afb00f51a665523f", "score": "0.6520414", "text": "@Test\n public void testReferencePeriodNull() {\n final Record record = createValidNumericRecord();\n record.setReferencePeriod(null);\n final Set<ConstraintViolation<Record>> violations = this.validato...
1b0db9a86fbc30535f4932272842fb48
/ renamed from: a
[ { "docid": "990e660a8f2b483788cd6ec7bf357515", "score": "0.0", "text": "private void m77634a(C46177u c46177u) {\n AppMethodBeat.m2504i(45042);\n if (\"confirm\".equals(c46177u.pPk)) {\n mo56269BK(1);\n AppMethodBeat.m2505o(45042);\n return;\n }\n ...
[ { "docid": "8c202bef975a1ce9b229619975cdce2f", "score": "0.6234015", "text": "public interface aacac {\n /* renamed from: a */\n void mo29386a(String str);\n}", "title": "" }, { "docid": "d9afe0b047b7674b49c3d401ac2542aa", "score": "0.62241286", "text": "public interface C4823a...
faaeb694e6562f78bac2e35c89aa2859
Log.d("~Scrolled", "+(" + position + ")");
[ { "docid": "039eff8bf9a9438c9149256978e94711", "score": "0.6535021", "text": "@Override\r\n public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) {\n }", "title": "" } ]
[ { "docid": "fb73dd88f2dde62dfe31d791de3feebe", "score": "0.7465815", "text": "void onScrolled(int distanceX, int distanceY);", "title": "" }, { "docid": "4878c37d578e0c569ac9565922f146a4", "score": "0.72405124", "text": "@Override\n public void onPageScrolled(int arg0, float arg1,...
1a23f84d27ded1aebd3ab1070468ff16
TODO: This does not belong in here!!! St.Ack HConnections should not be dealing in Callables; Callables have HConnections, not other way around.
[ { "docid": "d1789db437f7efb3062734fdace22bfe", "score": "0.0", "text": "private <R> Callable<MultiResponse> createCallable(final HRegionLocation loc,\n final MultiAction<R> multi, final byte [] tableName) {\n final HConnection connection = this;\n return new Callable<MultiResponse>() {\...
[ { "docid": "97c9ca4d4edf1a8c784785c3ef84ada9", "score": "0.64312106", "text": "boolean needsAck() { return true; }", "title": "" }, { "docid": "d0f06b4c463e5d5f33346914871df604", "score": "0.6180007", "text": "messages.Ackinterface.AckInterface getAck();", "title": "" }, { ...
1b544633c2886b0d8ef18c775c81cd06
/ renamed from: b
[ { "docid": "d2581e5c4dce1e6e357a8e76ff5f2a06", "score": "0.0", "text": "String mo82987b();", "title": "" } ]
[ { "docid": "23d98ca5b5475fa6206ea46d48f073f2", "score": "0.6569241", "text": "protected abstract bpw a();", "title": "" }, { "docid": "886c0fa3a75c118f8104624e34a63609", "score": "0.65668255", "text": "a(x6.c.b.b bVar) {\n }", "title": "" }, { "docid": "233c6c99ba8...
acb4ab117b02db2da9805a6342e66441
3c. Implement this. (1 point)
[ { "docid": "eb58ea7e384eaf0994a0656001ca17d8", "score": "0.0", "text": "public V remove(K key) {\n\n\t\tint hash = Math.abs(key.hashCode() % values.length);\n\n\t\tif(values[hash] == null){\n\t\t\treturn null;\n\t\t}\n\t\t\n\t\tif (values[hash].key == key){\n\t\t\tEntry<K, V> temp = values[hash];\n\t\t\...
[ { "docid": "8dfe95076ce1608e39b77bca981c0a15", "score": "0.6538798", "text": "@Override\n\tpublic void xyz3() {\n\t\t\n\t}", "title": "" }, { "docid": "baec715e0ba4a8bb18435434c4e8d6bc", "score": "0.645976", "text": "@Override\r\n\tpublic void m3() {\n\t\t\r\n\t}", "title": "" ...
6e4a9dfbb50add6cd8a683a6d16f134d
this equals Arrays.hashCode(getLowerBounds()) ^ Arrays.hashCode(getUpperBounds());
[ { "docid": "0f40b7121a4772f11e8200c86cba3461", "score": "0.7772528", "text": "@Override\n public int hashCode() {\n return (lowerBound != null ? 31 + lowerBound.hashCode() : 1)\n ^ (31 + upperBound.hashCode());\n }", "title": "" } ]
[ { "docid": "af811adbce43be44669c34279115b651", "score": "0.63719106", "text": "@Override\n public int hashCode() {\n int hash = 317351877;\n hash += (getLowerLimit() != null ? getLowerLimit().hashCode() : 0);\n hash += (getUpperLimit() != null ? getUpperLimit().hashCode() : 0);\n...
6f5f23525d36edf78f4a4ce379d26b06
|| Element type : securityidentity isComplexType: true maxOccurs: 1 isAttribute: false ||
[ { "docid": "7e1e8a8bc28aa366c5e1a21ef8088206", "score": "0.5207413", "text": "public MessageDrivenBeanType<T> removeSecurityIdentity()\n {\n childNode.remove(\"security-identity\");\n return this;\n }", "title": "" } ]
[ { "docid": "d796056536085a6c79cc338b2b7f861b", "score": "0.5868001", "text": "public interface DocTypeSecurity\n\textends DocTypeSecurityOperations, org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity\n{\n}", "title": "" }, { "docid": "5298944f1dc417f12a2842e9e4ad24f8", "score": "0.57...
7957066d6b259c2ff169336054a61feb
Indicates if any issue related to the definitions has been encountered since the last startup. When this method returns true, the only way to get back false as a return value is to restart Jahia.
[ { "docid": "66a12edfccfa01022b2d6d0c4d226c3d", "score": "0.7351936", "text": "public final boolean hasEncounteredIssuesWithDefinitions() {\r\n return hasEncounteredIssuesWithDefinitions;\r\n }", "title": "" } ]
[ { "docid": "adf0a8c2e193fdee067905b79de16d8b", "score": "0.6688476", "text": "public boolean isTillFatalError();", "title": "" }, { "docid": "e8b80a8f2d731cbba9148d657b67a5c9", "score": "0.6422899", "text": "public boolean hasFatalError() {\n\t\treturn this.fatalError;\n\t}", "ti...
f964a24db192a56e2b6392d583636276
TODO: Update argument type and name
[ { "docid": "0ca25cada541de1baf0d9479ab5c14a5", "score": "0.0", "text": "public void onFragmentInteraction(String id);", "title": "" } ]
[ { "docid": "caef785798742b68cb47e9b57ce1ac78", "score": "0.68459535", "text": "argumentList createargumentList();", "title": "" }, { "docid": "dd37b116879d1ab71ccb158930ab2c11", "score": "0.6825816", "text": "@Override\n protected void checkArguments() {\n }", "title": "" }, ...
96cd234b4693a27f258b5b293ee61293
Privileged module lookup. Must be private so that user code can't call this entry point.
[ { "docid": "169bf7a8dcd6c622cf474974d0d26ccd", "score": "0.6120658", "text": "private static Object getSystemModule( final String factoryInterface )\n {\n return AccessController.doPrivileged\n (\n new PrivilegedAction<Object>()\n {\n public ...
[ { "docid": "dae087913193a57fc9423df8482153cc", "score": "0.58762586", "text": "private static Object findServiceModule( final Object serviceModule, final String factoryInterface)\n throws StandardException\n {\n try {\n return AccessController.doPrivileged\n ...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "f557ca918e3624035256ae1cf72476b0", "score": "0.0", "text": "public void insertScore(Long score, String name) {\n\t\tDB db = null;\n\t\ttry {\n\t\t\tdb = mongoURI.connectDB();\n\t\t} catch (UnknownHostException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\...
[ { "docid": "da34ed11fe7c5649b3cd0bdad6dca5df", "score": "0.7115143", "text": "@Override\n\t\tpublic void 비행() {\n\t\t\t\n\t\t}", "title": "" }, { "docid": "99cfe01c5035e9a9ca6dafada0e4a005", "score": "0.67343336", "text": "@Override\r\n\tpublic void caminar() {\r\n\t\t// TODO Auto-g...
884ab350ee62ac996e83b523829c0717
Test case number: 34 / 4 covered goals: Goal 1. wheel.json.JSONObject.put(Ljava/lang/String;Ljava/util/Collection;)Lwheel/json/JSONObject;: rootBranch Goal 2. wheel.json.JSONObject.optInt(Ljava/lang/String;I)I: rootBranch Goal 3. wheel.json.JSONObject.optInt(Ljava/lang/String;)I: rootBranch Goal 4. wheel.json.JSONObjec...
[ { "docid": "3753f430c03cceaca80381e9c6f25dfd", "score": "0.63475895", "text": "@Test\n public void test34() throws Throwable {\n HashMap<Tag, Short> hashMap0 = new HashMap<Tag, Short>();\n JSONObject jSONObject0 = new JSONObject((Map) hashMap0);\n JSONObject jSONObject1 = jSONObject0.p...
[ { "docid": "2062503367bd36a61bfac2eec3d151be", "score": "0.70179296", "text": "@Test(timeout = 4000)\n public void test16() throws Throwable {\n byte byte0 = (byte)117;\n Byte byte1 = new Byte((byte)117);\n JSONObject.valueToString(byte1);\n String[] stringArray0 = new String[7];\...
89ddbd9d5aa8dea3f79d2be83092bb24
Test ss=new Test(); new Thread(ss).start(); new Thread(ss).start(); new Thread(ss).start(); LockSupport System.out.println(new Date(0)); System.out.println(new Date(1540287741000L)); System.out.println(new Date(1540287716000L)); System.out.println(new Date(1536823735000L)); System.out.println(new Date(1536826125000L));...
[ { "docid": "8228f152ec581013fdb009bc0da00b70", "score": "0.0", "text": "public static void main(String[] args) {\n\n try{\n int a = 10;\n int b = 0;\n int c = a / b;\n }finally {\n System.out.println(\"ok\");\n }\n\t}", "title": "" }...
[ { "docid": "652032262d49ae8e0f14b6b0e6117026", "score": "0.6679002", "text": "public\n TestReadWriteLockApp()\n { \n pLock = new LoggedLock();\n pValue = 1000000;\n pMaxValue = 1000010;\n pFactors = new ArrayList<Long>();\n }", "title": "" }, { "docid": "8d6e1e39b3e59c...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "df595067a68c741b971ceeca4dc3a5eb", "score": "0.0", "text": "@Override\n public void run() {\n if (isLongClickModule) {\n //長按模式下做的事情\n vibrator.vibrate(100);\n\n float p...
[ { "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...
2f5a13c835683e7309bbc67c82fb9fb9
/ YUNOS BEGIN PB modules(HomeShell): author:guoshuai.lgs BugID:(164808) date:2014/10/27 decrpition: reset transition effect configs.
[ { "docid": "b1c9b8eb9ed7df9ecb89064e3fbb98a3", "score": "0.5785706", "text": "private void resetTransitionEffect() {\n for (int i = 0; i < getChildCount(); i++) {\n View page = getPageAt(i);\n page.setPivotX(0);\n page.setPivotY(0);\n page.setRotation(0...
[ { "docid": "3b57094a264b2ed51624f13d6f2a2acb", "score": "0.607707", "text": "public void reset() {\r\n\t\tsuper.reset();\r\n\t\tfor (TransitionMode mode : transitionModes) {\r\n\r\n\t\t\tmode.reset();\r\n\t\t}\r\n\r\n\t}", "title": "" }, { "docid": "5332ca39f745173ab1eab02139851330", "sc...
5a7a80a3721aa454d71a6f3c419b0de5
Used only for testing. Returns a string of ids of customers in the list in the order the customers appear in the list. Successive ids are separated by newlines
[ { "docid": "0db3311618cc3f2d2df1e94136f4f05d", "score": "0.60584205", "text": "public String listAccounts() {\n\t\tString s = \"\";\n\n\t\tfor (int i = 0; i < size; i++) {\n\t\t\ts += list[i].getId() + \"\\n\";\n\t\t}\n\t\treturn s;\n\t}", "title": "" } ]
[ { "docid": "7677a3d0cc4e56f0b207ed91457189ff", "score": "0.6377451", "text": "public List<Customer> sortByCustomerId(List<Customer> inputCustomerList){\n\t\treturn inputCustomerList;\n\t}", "title": "" }, { "docid": "8a0f44c1631bc14411e388fd654f87bd", "score": "0.63204837", "text": "...
1f08222ce486747e0d27c4e24e191c36
TODO: this is SLOW; Replace by natives?
[ { "docid": "6cd99530763a118f6d77e86622e45afe", "score": "0.0", "text": "public Vec mult(Vec vec) { // v = M * w\r\n Vec res = new Vec(getNumRows());\r\n for (int r = 0; r < getNumRows(); r++) {\r\n double sum = 0;\r\n for (int c = 0; c < getNumCols(); c++) {\r\n sum += (get(r, c) * vec....
[ { "docid": "0b06f1c2066a7ed1df417a1383204e17", "score": "0.58217204", "text": "Internal internal();", "title": "" }, { "docid": "a55a150557f80abcbd733ee3162b0661", "score": "0.5450296", "text": "private void m18301a() {\n }", "title": "" }, { "docid": "5aa411e5d69c...
a92bad09ffe78a4902a05debfbb11b2f
Gets the opening hand size.
[ { "docid": "06ad0eb25badff18d31506cab682dbd2", "score": "0.88698363", "text": "public final int getOpeningHandSize() {\r\n return this.openingHandSize;\r\n }", "title": "" } ]
[ { "docid": "112dc80fdecb4949c323d755f4d0b6b1", "score": "0.7841401", "text": "public int getHandSize()\r\n\t{\r\n\t\treturn hand.size();\r\n\t}", "title": "" }, { "docid": "97feb436a4f4a69d295bf2175b57ca72", "score": "0.78281724", "text": "public int getHandSize() {\r\n\t\treturn han...
23e739002aa2bf101def6b716cd5aa52
POST /infos : Create a new info.
[ { "docid": "7946035ff0c98edc8a290f1e91a34537", "score": "0.8098697", "text": "@RequestMapping(value = \"/infos\",\n method = RequestMethod.POST,\n produces = MediaType.APPLICATION_JSON_VALUE)\n @Timed\n public ResponseEntity<Info> createInfo(@Valid @RequestBody Info info) throws URIS...
[ { "docid": "ccafae3023ac78436bc2355815200b12", "score": "0.6138507", "text": "public void setInfo(Info info) {\n this.info = info;\n }", "title": "" }, { "docid": "1108065035d843016111b40d3db15e1b", "score": "0.60599756", "text": "public void setInfo(String info){\n this.info ...
3f63de06e622e98ff932cf0e1d549d36
A/B+C or A+C/B within 1 99
[ { "docid": "8d9fc6283722047e8a043eaf32f0537a", "score": "0.0", "text": "public static String generateCompH(){\n //48 to 2\n int a = (int)(Math.random() * (47) + 2);\n //99 to a+1\n int answer = (int)(Math.random() * (99-a) + a+1);\n int b = answer - a;\n if ((Ma...
[ { "docid": "5468aff2a90b33ab6ab387679278f0f0", "score": "0.5326223", "text": "private boolean isLegal(int base, String equation) {\n String[] s = equation.split(\"[+=]\");\n\n int addend1;\n int addend2;\n int sum;\n\n // Let the Integer class do all the hard work for ...
c98397564f0f7fb40fd7d405c4273024
This method was generated by MyBatis Generator. This method sets the value of the database column regkt_order.uback_time_apply
[ { "docid": "a95abb32a12b0bdd0d86cb87f8e4ce98", "score": "0.7684198", "text": "public void setUbackTimeApply(Date ubackTimeApply) {\n this.ubackTimeApply = ubackTimeApply;\n }", "title": "" } ]
[ { "docid": "e18d237b57d8a62a410b57595cca9219", "score": "0.65331924", "text": "public Date getUbackTimeApply() {\n return ubackTimeApply;\n }", "title": "" }, { "docid": "7b4050c808b4a734439ecb59a44dd3ad", "score": "0.62933993", "text": "public void setApplyTime(String appl...
a0c5595d99b0031ae7e65834fddd7e2e
Created by oliverbud on 5/26/15.
[ { "docid": "b02e6bab78a92a83b9e51658f4f10c26", "score": "0.0", "text": "public interface ImageApi {\n\n @GET (\"/ajax/services/search/images\")\n Observable<NetworkResponseData> search(\n @Query(\"v\") float version,\n @Query(\"q\") String searchString,\n @Query(\...
[ { "docid": "ffe5fe3cec40acf4b0b07ea257dfa06a", "score": "0.62433726", "text": "private void apparence()\r\n\t\t{\r\n\r\n\t\t}", "title": "" }, { "docid": "440ce72c689aef1dd3c429cf5498732b", "score": "0.59429514", "text": "@Override\n\tpublic void pohyb() {\n\n\t}", "title": "" ...
5fcbe907b7355d53af7cb3eb475ed83a
returns a String representation of the account
[ { "docid": "4a1bf6df5cbfa8248d1f6f517da23c90", "score": "0.70335937", "text": "@Override\n public String toString() {\n return String.format(\"||%-10s||%-10d||%-20.2f||%-20s||%-30s||%-4d||%-6d||%-7.0f||\", this.TYPE, this.ACCOUNT_NUMBER, this.accountBalance,\n this.OWNER.getName...
[ { "docid": "47089c8ef15d5f6d38e9294cdfd03d70", "score": "0.82637006", "text": "public String getAccountString() {\n StringBuffer accountStr = new StringBuffer(\"\");\n\n if (getChartOfAccountsCode() != null) {\n accountStr.append(getChartOfAccountsCode());\n }\n\n ...
4bd8b76df96d0334df3e887bd95d615f
Recupera a quantidade minima de execucao para a ordem agressora. Caso a ordem agressora possua quantidade minima maior que a quantidade existente no book, metodo retornara 0.
[ { "docid": "1d6f94b6e901738dc950f99a6f2375a5", "score": "0.62861735", "text": "private double getMinVolume(Orders aggrOrder, Orders bookOrder) {\n\t\tdouble qtyToFill = 0;\n\t\tif (aggrOrder.getMinVolume() <= bookOrder.getLeavesVolume()) {\n\t\t\t// caso a ordem do book tenha qty menor que qty restante ...
[ { "docid": "055a0867a48a911e27775b7566cb6e49", "score": "0.6016784", "text": "int totalMines();", "title": "" }, { "docid": "e3da9c771f4450e9725110267f04ace1", "score": "0.58101803", "text": "public int autoSum2() {\n int c;\r\n\r\n if (getTotalStock() == 0 || getItemQu...
2d95384a9aa91fdabb8fc47c7bd88fef
Converts a 3D point to a 2D point in the plane specified by the axes, by selecting the relevant components of the 3D point. In this case, what I mean by the XY plane (for example), is the plane z = 0 (or, for that matter, z = anything). This is essentially doing an orthographic projection. Example: The axispair (Z,Y), ...
[ { "docid": "253408e34a8080fe3729492f1e29a637", "score": "0.6224587", "text": "public Vector2d select_components(final Vector3d p)\r\n\t{\r\n\t\tVector2d ret = new Vector2d();\r\n\r\n\t\tswitch(m_hAxis)\r\n\t\t{\r\n\t\t\tcase X:\r\n\t\t\t\tret.x = p.x;\r\n\t\t\t\tbreak;\r\n\t\t\tcase Y:\r\n\t\t\t\tret.x ...
[ { "docid": "db0503345a68c6c3cb359623cf8d2b40", "score": "0.7074266", "text": "public Point projectPoint(Point3D p) {\n\t\tint x = (this.x.equals(\"X\")) ? p.getX() : p.getZ();\n\t\tint y = (this.y.equals(\"Y\")) ? p.getY() : p.getZ();\n\t\treturn new Point(x, y);\n\t}", "title": "" }, { "doc...
d57c42d38d949fa616eb3662a0709af4
Generates a paddle with default position and size
[ { "docid": "8c8edc3ab3d5ba8c9dbe4a33b67f3e3a", "score": "0.7755157", "text": "public Paddle() \r\n {\r\n \twidth = DEFAULT_WIDTH;\r\n \theight = DEFAULT_HEIGHT;\r\n \tx = DEFAULT_X;\r\n \ty = DEFAULT_Y;\r\n \tupdateBounds();\r\n }", "title": "" } ]
[ { "docid": "dadb62de9eeb4dca9054f6dc2cdeda6a", "score": "0.7319673", "text": "public void createPaddle(biuoop.KeyboardSensor keyboard) {\n // creating a paddle's object\n Paddle paddle = new Paddle(keyboard,\n new Rectangle(new Point(this.width * 4.5 / 12, 0.9 * this.hight),...
cae272f87fbbf3f9a74305d90d4bf5f6
A new IntVector, constructed by prefixing the specified int to this IntVector.
[ { "docid": "324980265e22d2784fa3ec686e4b2907", "score": "0.8123291", "text": "public IntVector prefix (int i) {\n return new ConstructedVector(i,this);\n }", "title": "" } ]
[ { "docid": "d96db2aa9f2dc9d39be839d7234bf265", "score": "0.5883785", "text": "public Int(int v) {\n value = v;\n }", "title": "" }, { "docid": "7af2a0c00ad8561903ac7921fc70a964", "score": "0.5824141", "text": "public IntVector () {\n head = 0;\n tail = null;\n }"...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "1a699f31b42dc4d4c07f9a387ce48692", "score": "0.0", "text": "@Override\n\tpublic synchronized void onTestFailedButWithinSuccessPercentage(ITestResult arg0) {\n\n\t}", "title": "" } ]
[ { "docid": "d7194e467f51e022c107531d8614b6a3", "score": "0.6905833", "text": "@Override\r\n\tpublic void anular() {\n\t\t\r\n\t}", "title": "" }, { "docid": "cdf542363f5b089e84183e3d9020935f", "score": "0.6697644", "text": "@Override\n\t protected void ramana() {\n\t\t\n\t}", "ti...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "c5f8665affc19eba604111b6eb677273", "score": "0.0", "text": "@Override\n\tpublic void actionPerformed(ActionEvent e) {\n\t\t\n\t\tDefaultMutableTreeNode selektovan=null;\n\t\ttry {\n\t\tselektovan = (DefaultMutableTreeNode) MainFrame.getInstance().getTreeHandler().getTree().getSelectionPath()...
[ { "docid": "ffe5fe3cec40acf4b0b07ea257dfa06a", "score": "0.6831473", "text": "private void apparence()\r\n\t\t{\r\n\r\n\t\t}", "title": "" }, { "docid": "838a915c9ea69d56cc37df198cff9cb2", "score": "0.67589027", "text": "@Override\n\t\t\t\tpublic void pintar() {\n\t\t\t\t\t\n\t\t\t\t...
c2c52393595a81344daf7484b2196fe0
This method is use to enter an event that is happening some other days. User will have to input command event + details and datetime by using /at
[ { "docid": "530eeee5750f948271001bfc05f5dcad", "score": "0.6638396", "text": "public void addEvent(){\n try {\n newMessage = Message[1];\n String[] EventMessage = parser.parseEventCommand(newMessage);\n newTask = new Events(EventMessage[0], EventMessage[1]);\n ...
[ { "docid": "5e04a018eea4d890a21ab2b82db7349b", "score": "0.6634867", "text": "public void promptForNewEventTime(){\n System.out.println(\"Please enter the new event time\");\n }", "title": "" }, { "docid": "51a7ea64d2e87e3a5a0350216ccacdb5", "score": "0.65482926", "text": "...
7c69ab91ffec69bf1e72da2070c18c49
Print all possible strings of length k that can be formed from a set of n characters
[ { "docid": "fdf0ef60b815fb29fbf8e850e2360438", "score": "0.6327994", "text": "public void printAllStrings(char a[], int i, int k) {\n\n if (i == k) {\n System.out.println(array);\n return;\n }\n\n for (int j = 0 ; j < a.length ; j++) {\n array[i] = a...
[ { "docid": "3834ff6919fd79ed90a9fe47866d59c5", "score": "0.7245041", "text": "static String findString(int n, int k)\r\n {\r\n \r\n // Initialize result with first k\r\n // Latin letters\r\n String res = \"\";\r\n \r\n for (int i = 0; i < k; i++)\r\n ...
b0291d04af593d8756a60595aff345d0
repeated .proto.elbrus_pb.TrainThreadMessage train_threads = 3;
[ { "docid": "2ce387179d768785f8a53eff7240585e", "score": "0.0", "text": "public Builder addAllTrainThreads(\n java.lang.Iterable<? extends loader.elbrus.proto.ElbrusProto.TrainThreadMessage> values) {\n if (trainThreadsBuilder_ == null) {\n ensureTrainThreadsIsMutable();\n ...
[ { "docid": "0f25244f07ce3a86fff1c07266bfb1e4", "score": "0.82532096", "text": "loader.elbrus.proto.ElbrusProto.TrainThreadsMessageOrBuilder getRequestThreadsOrBuilder();", "title": "" }, { "docid": "6b702bc0af96ce30659c57ec672a1940", "score": "0.8130764", "text": "loader.elbrus.proto...
632d91b0838ad5c8c10d4f68d61054f8
Lock the flushing mechanism in order to prevent a thread flushing this buffer while another thread is doing a physiological operation.
[ { "docid": "722c17685d7c37cb0cd5f9fd533fcda7", "score": "0.7990398", "text": "public void lockFlushing() {\r\n\t\tflushLock.lock();\r\n\t}", "title": "" } ]
[ { "docid": "c2394266835fde07a9e02f2c4f4801e7", "score": "0.6859587", "text": "public void unlockFlushing() {\r\n\t\tflushLock.unlock();\r\n\t}", "title": "" }, { "docid": "a453dbde0c5de7e700dd6048b40ec75c", "score": "0.66360337", "text": "private void lockForced() {\n lock(tru...
2fa181ebf63f2fa1991bbdcdc7d35b1d
The return value from this method is not used; the property `server.error.path` must be set to override the default error page path.
[ { "docid": "4a4927986b11fa1a35bb776c1d255295", "score": "0.7326644", "text": "@Override\n public String getErrorPath() {\n return null;\n }", "title": "" } ]
[ { "docid": "8eb389133c43da53ba0bb848a62d97f7", "score": "0.80280775", "text": "@Override\n public String getErrorPath() {\n return \"/error\";\n }", "title": "" }, { "docid": "8eb389133c43da53ba0bb848a62d97f7", "score": "0.80280775", "text": "@Override\n public String...
d1fa94ca05c5da12d4694276dff2db9f
Change the duration that the frame is to appear for
[ { "docid": "a527461b699d8c519c26438fce8c88a9", "score": "0.63152367", "text": "public void setDuration(int duration){\n\t\ttheDuration = duration;\n\n\t}", "title": "" } ]
[ { "docid": "dfb628666494b3bc811fa04d84c89a6a", "score": "0.6828261", "text": "public void setFrameDelay(long d) { frameDelay = d; }", "title": "" }, { "docid": "06af11325cf25c8e5827322c5413ab4d", "score": "0.6771096", "text": "public void setFrameTime(long milliseconds ){\r\n ...
da9685ca6ed3a470760eb32a2540ea36
Test execute tool card RoughingForceps Action fail canBeExecuted false
[ { "docid": "9b7404f44d7494c43e2c50b9d1abca4a", "score": "0.80954766", "text": "@Test\n\tpublic void testExecuteRoughingForcepsToolCardActionFail()\n\t{\n\t\tAbstractGameAction gameAction = new ExecuteToolCard1Action();\n\t\tAssert.assertFalse(gameAction.canBeExecuted(game));\n\n\t\tgameAction = new Exec...
[ { "docid": "4a16f645428fa2fd375a266bec4654f9", "score": "0.7648756", "text": "@Test\n\tpublic void testExecuteRoughingForcepsToolCardAction()\n\t{\n\t\tAbstractGameAction gameAction = new ExecuteToolCard1Action(0);\n\t\tAssert.assertFalse(gameAction.canBeExecuted(game));\n\n\t\tToolCard toolCard = new T...
ebdc7e6a8050ba3e5543f63911fe5cbd
This function checks if view command refers to displaying tasks in a particular interval
[ { "docid": "c29ccde88de5e6ebf5d210aeeae686c0", "score": "0.74481916", "text": "private boolean isViewCommandDisplayingTasksInAnInterval(Calendar[] calendar)throws Exception{\r\n\t\tString startDate,endDate;\r\n\t\tif((_userInput.trim()).startsWith(PREFIX_FROM_WITHOUT_SPACE )){\r\n\t\t\t_userInput = (_us...
[ { "docid": "6d6ecbe49bbcae9a0901f011a764407f", "score": "0.7596524", "text": "private boolean isViewCommandDisplayingTimedTasks()throws Exception {\r\n\t\tif (_userInput.equals(KEYWORD_TIMED)) {\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\treturn false;\r\n\t}", "title": "" }, { "docid": "e5ee5b9cf...
b10eb969d1c9ca4556e58e7e16a8aa23
Defines a picture for this object to display as
[ { "docid": "0cc934011649f4c7a7295363e53f077b", "score": "0.6134655", "text": "public void setGraphic(String setto) {\n try {\n graphic = new ImageIcon(this.getClass().getResource(setto));\n g = graphic.getImage();\n } catch (Exception e) {\n System.out.prin...
[ { "docid": "5daf6c8c124c7fdef008e9b5dcc94a13", "score": "0.69735104", "text": "public void drawImg() \n\t{\n\t\tStdDraw.picture(posX, posY, \"images/items/armor/bauer.png\");\n\t}", "title": "" }, { "docid": "cf03de1453ed37a2214281fc7109a7f6", "score": "0.6754455", "text": "public vo...
1bb42426ab4e56c339aa698bedc7b507
Generated Property Setter for attribute TEXT
[ { "docid": "bda5559eb5af0e580c932205283dfd6b", "score": "0.58443224", "text": "public void setText(java.lang.String text) throws G2AccessException;", "title": "" } ]
[ { "docid": "182b6c0149b1b2e96bfe931709f4bc6b", "score": "0.7348278", "text": "public StringProperty textProperty();", "title": "" }, { "docid": "f0c8c58cd8c417b63a9cd44df384a265", "score": "0.7292958", "text": "public final ReadOnlyStringProperty textProperty() {\n/* 404 */ retur...
0570d9eec7ade4e04100c5dc6615202e
Method to add an item to the front of the dequeue. It changes front and size
[ { "docid": "78a8527b13d52fdf206560eec78315c0", "score": "0.7691241", "text": "void enqueueFront(int item){\r\n if(isFull(this)){\r\n return;\r\n }\r\n int temp;\r\n int tempItem = item;\r\n for(int i = this.front; i < this.size; i++){\r\n temp = t...
[ { "docid": "ad560845e4b29687b07303a7e776fa74", "score": "0.7543121", "text": "public void enqueue(T item){\n current.add(current.size()-1, item);\n }", "title": "" }, { "docid": "f51fc32e6c1eba36ed5abf66ac0d65bc", "score": "0.74807596", "text": "public void enqueue(Object n...
90f6f15abe25ba69f763f1894da98c4a
Accuracy test for the method addOutgoingTransition(Transition transition), the transition should be add.
[ { "docid": "ea4e1af2d64ce0df37dd6c9856967e9a", "score": "0.91427183", "text": "public void testaddOutgoingTransitionAccuracy() {\n try {\n stateVertex.addOutgoingTransition(transition);\n assertEquals(\"the transition should be add\", 1, stateVertex.countOutgoingTransitions(...
[ { "docid": "af5658602d6eb16612766789122c9338", "score": "0.8394448", "text": "public void testContainsOutgoingTransitionAccuracyExisted() {\n try {\n stateVertex.addOutgoingTransition(transition);\n assertTrue(\"the true should be returned\", stateVertex.containsOutgoingTran...
0d8a2f56d502f883f691eafcc7c9f779
EFFECTS: displays the teachers that teach the course
[ { "docid": "e9247f4858f3c082730f60388e83759c", "score": "0.7504637", "text": "private void displayTeachers(Course course) {\n System.out.println(\"Viewing teachers that teach in: \" + course.courseName);\n System.out.println(\"------------------------------------\");\n for (String t...
[ { "docid": "e937d0bd5a710f44cae50a9c051d5cc4", "score": "0.68579656", "text": "private void displayTeacherMenu() {\n System.out.println(\"--------------------------------------------\");\n System.out.println(\"What would you like to do with the teachers?\");\n System.out.println(\"\...
3fbb0fb6caa9587708eaf0167bf2fccf
Writes an XML representation of the property.
[ { "docid": "fd6d929cf6462879ddf3ef1a55f123eb", "score": "0.0", "text": "public void toXml(PrintWriter writer, int depth) throws IOException {\n String pfx = \"\";\n for (int i=0;i<2*depth;i++) pfx += \" \";\n String pfx2 = pfx+\" \";\n \n String sId = Val.chkStr(this.getId());\n Strin...
[ { "docid": "eeb021186bcc250033741ddacb007587", "score": "0.6863643", "text": "public static void writeXml(Properties p) {\n\t\t\tproperties = p;\n\t\t\t\n\t\t\tFile file = null;\n\t\t\tJAXBContext jaxbContext = null;\n\t\t\tMarshaller marshaller = null;\n\t\t\ttry {\n\t\t\t\tfile = new File(\"resources/...
6e194555c09753aad34ec4066f4a4ba9
Constructor con codigo, descripcion y excepcion lanzada
[ { "docid": "5ed066148c705c8887051d4c69f4969c", "score": "0.0", "text": "public ServiceException(String _errorCodeString, String _descriptionString, Exception _exception) {\n\n\t\tsuper(\"ErrorCode: \" + _errorCodeString\n\t\t\t\t+ (_descriptionString == null ? \"\" : \". Particular Description: \" + _de...
[ { "docid": "cde45eefdf91e6257090b9c36840792b", "score": "0.67549074", "text": "public PropietarioVehComp() {\r\n\r\n }", "title": "" }, { "docid": "f75eada09b1ac3b3aafe401e057e3314", "score": "0.67278206", "text": "public BonoExtraEmpleado() {\r\n }", "title": "" }, { ...
6505927bcc1a808436f2eee0460ea089
Accession code of the reference database.
[ { "docid": "7aa4a3ec10879f330e044f9d931d6a08", "score": "0.63347065", "text": "public StrColumn getDbAccession() {\n return delegate.getColumn(\"db_accession\", DelegatingStrColumn::new);\n }", "title": "" } ]
[ { "docid": "cedab806829d0ade053dee2bff751a63", "score": "0.65835595", "text": "public JamoReferenceDB() {\n\t\tgenerateJamoDB();\n\t}", "title": "" }, { "docid": "4441c4e162e6c637f7a57b01473a771b", "score": "0.62447095", "text": "public abstract U accessDB();", "title": "" }, ...
ed260b994c83c59f758c355a3b8f2f63
StringTokenizer tokenizer = new StringTokenizer(text, ",");
[ { "docid": "be4d40c7cb1e4394cb86b886ba397fb9", "score": "0.0", "text": "private void parseDeckviewerInfosToTextFieldsExtended(String text) {\n StringTokenizer tokenizer = new StringTokenizer(text, \"\\t\");\n if(tokenizer.hasMoreTokens()) nameDEField.setText(tokenizer.nextToken());\n ...
[ { "docid": "878c9524af2a966ec0b308dbbc7c01cc", "score": "0.6719805", "text": "List<String> tokenize(String text);", "title": "" }, { "docid": "7c870ae28af6562238df60b4af59e806", "score": "0.62119555", "text": "public static void main(String[] args) {\n\t\tString s=\"20,5,3,2,4442\";\...
305c772653fcba8dbce6e5495c951c66
Mandatory empty constructor for the fragment manager to instantiate the fragment (e.g. upon screen orientation changes).
[ { "docid": "51ef4893b980742cc512ade6d2f6b9fd", "score": "0.7379123", "text": "public MarcaFragment() {}", "title": "" } ]
[ { "docid": "930ad902714072fe0333b8b9fa693131", "score": "0.77521545", "text": "public MainFragment() {\n }", "title": "" }, { "docid": "5f8b005786a6531b90d206667b9d81eb", "score": "0.7676922", "text": "public MainActivityFragment() {\n }", "title": "" }, { "docid": ...
07321ae34943b3772e85b4a3e387dec0
Gets the sourceLocation property: The Azure region of source cluster for read replica clusters.
[ { "docid": "5a92c1462f532659c11e32616e1525fe", "score": "0.0", "text": "String sourceLocation();", "title": "" } ]
[ { "docid": "a8f9fdc39c85391cb9eb6c68d312cb62", "score": "0.6907604", "text": "public io.cucumber.messages.Messages.SourceReferenceOrBuilder getSourceLocationOrBuilder() {\n return getSourceLocation();\n }", "title": "" }, { "docid": "1c54d1a5011e0be8604b019af72da9d2", "score": "0...
8350b3bbd24b35893ad7a1bf22ed6e74
Return the binary metadata.
[ { "docid": "45dbd78d130e1f54c66ecc9cc7a9ff2d", "score": "0.73683006", "text": "default S3BinaryMetadata getMetadata() {\n\t\tS3BinaryMetadata metaData = new S3BinaryMetadata();\n\t\tfor (Map.Entry<String, String> entry : getMetadataProperties().entrySet()) {\n\t\t\tmetaData.add(entry.getKey(), entry.get...
[ { "docid": "4efa3c73bbe0d0a628ead3c299af0385", "score": "0.7041786", "text": "public weave.Codec.Metadata getMetadata() {\n return metadata_ == null ? weave.Codec.Metadata.getDefaultInstance() : metadata_;\n }", "title": "" }, { "docid": "4efa3c73bbe0d0a628ead3c299af0385", "score...
2e57ad5b28d6414cf98fa68ced5ec528
metodo para fechar conexao com o bd
[ { "docid": "614b2e2a19554af6a0b916c884b9e661", "score": "0.0", "text": "public static void closeConnection(Connection con) {\n if (con != null) {\n try {\n con.close();\n } catch (SQLException ex) {\n System.err.println(\"Erro: \" + ex);\n ...
[ { "docid": "42ec109a502dac82863c796248682852", "score": "0.7327939", "text": "Connection openConnexion() throws SQLException;", "title": "" }, { "docid": "30f08d41f2e489a8b67b3321d1a6a011", "score": "0.72284937", "text": "public void conectar() throws SQLException {\n\t\tString db = ...
ccec994d51414dd32b56e88bb786179b
string sub_policy = 1;
[ { "docid": "a000021934d014034aea43969fcebb54", "score": "0.597812", "text": "public com.google.protobuf.ByteString\n getSubPolicyBytes() {\n java.lang.Object ref = subPolicy_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.p...
[ { "docid": "449c47b368e40f4543fbdff25b1189b2", "score": "0.7154604", "text": "java.lang.String getSubPolicy();", "title": "" }, { "docid": "7928f41987c68d5113146a3fec0dbf69", "score": "0.65370697", "text": "public Builder setSubPolicy(\n java.lang.String value) {\n if...
a3db2c83d578db27aa42a57f879b5f85
Sets the value of the primary property.
[ { "docid": "369fdca8ee0d0532cc24e0ba229ce734", "score": "0.7163836", "text": "public void setPrimary(boolean value) {\n this.primary = value;\n }", "title": "" } ]
[ { "docid": "2c96fdbd4a46704a52de678461e9b209", "score": "0.6949419", "text": "public void setPrimaryValue(KPIPrimaryValueConditionalFormatting primaryValue) {\n this.primaryValue = primaryValue;\n }", "title": "" }, { "docid": "e4dd8fa6a6aee6ae5aab15cc4df8fc47", "score": "0.683...
364af6cee5506d2e8dc8f4b62e1c759c
Display the respiratory rate
[ { "docid": "96232cead906e871fb009b031e82098c", "score": "0.0", "text": "@Override\n public void onReceive(Context context, Intent intent) {\n String output = intent.getStringExtra(\"success\");\n //SpannableString redSpannable= new SpannableString(output);\n //red...
[ { "docid": "220b2961261aeae89139f682b5f61787", "score": "0.71009725", "text": "public void InterestRate() {\n\t\t\tSystem.out.println(\"9 percent\");\n\t\t}", "title": "" }, { "docid": "ccf4921a75bcbf79926c2ef900b61508", "score": "0.70823926", "text": "double getRate();", "title"...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "86e573f07488b4f714f3c767bd5fd261", "score": "0.0", "text": "public Object getItem(int position) {\n\t\treturn blacknumbers.get(position);\r\n\t}", "title": "" } ]
[ { "docid": "74a4209c94e08d9f5eb0b60e580f5e04", "score": "0.68867725", "text": "@Override\r\n\tpublic void comit() {\n\t\t\r\n\t}", "title": "" }, { "docid": "b645eacb329adc01490ab5013a6c4f7f", "score": "0.67295986", "text": "@Override\n\t\t\tpublic void perfom() {\n\n\t\t\t}", "t...
18c1211fcaeaf8ed7027a836e9a5f58b
Applies the linear conversion on the given value.
[ { "docid": "acb12e51927a6c63601273da1f42779a", "score": "0.5373281", "text": "@Override\n public Number convert(final Number value) {\n return c2.convert(c1.convert(value));\n }", "title": "" } ]
[ { "docid": "c072265bc570c3c5ab7d85fb9ebe4a4b", "score": "0.69203365", "text": "public static double mapLinear( double value, double[] linearMapping ) {\n return value * linearMapping[0] + linearMapping[1];\n }", "title": "" }, { "docid": "6b23fe9ad81bed153bb1b3c395aecaba", "sco...
46794336949f18c2f378f6536d88d2a3
GENFIRST:event_btnSigSectorActionPerformed TODO add your handling code here: leer sector actual
[ { "docid": "7cbc194e8c6dff12ed6f0195b8713140", "score": "0.78683966", "text": "private void btnSigSectorActionPerformed(java.awt.event.ActionEvent evt) {\n ColorActivo= Integer.valueOf(this.txtColorActivo.getText());\n SectorActivo= Integer.valueOf(this.txtSectorActivo.getText());\n ...
[ { "docid": "a62ecf31f9d0462bc2b7bfb5be6fb330", "score": "0.62475985", "text": "public void setSectorLabel(String sectorLabel) {\n this.sectorLabel = sectorLabel;\n }", "title": "" }, { "docid": "cf076ff11bb142e051baa21f4ce14a9a", "score": "0.62075645", "text": "public void setSec...
d61783e1f534518c29dfef5ee12fa379
Returns true if the given setup config item is responsible for the given slave computer.
[ { "docid": "094ecb1b4b967b94b7329ff46c42f5e6", "score": "0.5208372", "text": "public boolean checkLabels(Computer c, SetupConfigItem setupConfigItem) {\n String assignedLabel = setupConfigItem.getAssignedLabelString();\n if (StringUtils.isBlank(assignedLabel)) {\n LOGGER.info(\"...
[ { "docid": "cd3875c6b3d56d1970f6b121c7aef283", "score": "0.56944084", "text": "private boolean isSettingsOrSuw(int pid, int uid) {\n return checkNetworkSettingsPermission(pid, uid)\n || checkNetworkSetupWizardPermission(pid, uid);\n }", "title": "" }, { "docid": "18a...
1b0db9a86fbc30535f4932272842fb48
/ renamed from: a
[ { "docid": "387512d00e40bf9ac56ef5516c5d976e", "score": "0.0", "text": "private LeanplumActivityHelper m25184a() {\n if (this.f21322a == null) {\n this.f21322a = new LeanplumActivityHelper(this);\n }\n return this.f21322a;\n }", "title": "" } ]
[ { "docid": "5b086c8ac16e5d5bb19debbe6162f992", "score": "0.6385309", "text": "public interface C35018a {\n /* renamed from: a */\n void mo88789a();\n }", "title": "" }, { "docid": "b83b0f0ec27f3e5a93d4f7f54f8557d8", "score": "0.6229075", "text": "protected interface ...
d2eb86e29a709fedd27e25d65d4bbfa7
TODO test this method
[ { "docid": "88b185a0a2e384bc82045127687d4b8b", "score": "0.0", "text": "public static void showBox(Context ctx, String appName, String number, String content, int icon) {\n AlertDialog.Builder builder = new AlertDialog.Builder(ctx);\n\n builder.setMessage(String.valueOf(appName) + \"试图向号码\...
[ { "docid": "8b6c961814c14fa02879570fd7e65ac5", "score": "0.60273993", "text": "@Override\r\n\tpublic void scarica() {\n\t\t\r\n\t}", "title": "" }, { "docid": "1acc57d42c31dee937ac33ea6f2a5b0b", "score": "0.59330535", "text": "@Override\r\n\tpublic void comer() {\n\t\t\r\n\t}", "...
1695ebd28780a1f0babb9f5d661f7c2d
Key to search the image
[ { "docid": "ddd7ff8483ec98e4458cfd6778bfe351", "score": "0.0", "text": "public void addKeyParameter() {\n\t Parameter param = RestFactoryImpl.eINSTANCE.createParameter();\n\t param.setParameterName(PARAMETER_KEY);\n\t param.setParameterValue(PIXABAY_API_KEY);\n\t\tparam.setName(\"Key\");\n\t\tt...
[ { "docid": "a22e429964ce3e423d4f3d29150e7aba", "score": "0.69144255", "text": "@Override\n\tpublic String imageSearch(QueryBean param) throws IOException {\n\t\treturn new HttpUtil().getHttp(IData.URL_SEARCH + param.toString());\n\t}", "title": "" }, { "docid": "0863735e4c3afcb9e950484b35d03...
1731f756d7e3f6bee3ba730fdb898159
/ Return with [word, full morphological code, constituent] format.
[ { "docid": "e4d0354cba8819847af431d7c8aa4905", "score": "0.0", "text": "public static String[][] tree2ColoumnFormat(Tree<String> tree) {\n\t\tString[] chunks = tree.toString().split(\"\\\\([^()]*\\\\)\");\n\n\t\tList<String> words = tree.getTerminalYield();\n\t\tList<String> preTerms = tree.getPreTermin...
[ { "docid": "0e8bd2894a6a54610a2ab0e63389c0b4", "score": "0.60033053", "text": "public String getSemanticRepresentation();", "title": "" }, { "docid": "ee6ecd0773946325977b2499a12929d7", "score": "0.5976087", "text": "public static String getGuessedMorphologicalFlexion(String word) {\...
62f1e6ce9e5b54cb20409f6c17004dc5
Gets the value of the volume property.
[ { "docid": "a65c80d42ab6f65ca421ead8b9e17f0b", "score": "0.836457", "text": "public int getVolume() {\n return volume;\n }", "title": "" } ]
[ { "docid": "5cc090c2467c678c3c30ec25876ab810", "score": "0.8522364", "text": "public Integer getVolume() {\r\n return volume;\r\n }", "title": "" }, { "docid": "4b299e665475b09367ea8e2884b53000", "score": "0.8481019", "text": "public Long getVolume()\n {\n return ...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "99eea341a5ac2e9092e9e2d04edc3035", "score": "0.0", "text": "@Override\n\tpublic void println(String arg0) throws IOException {\n\n\t}", "title": "" } ]
[ { "docid": "1acc57d42c31dee937ac33ea6f2a5b0b", "score": "0.6836411", "text": "@Override\r\n\tpublic void comer() {\n\t\t\r\n\t}", "title": "" }, { "docid": "33d41636b65afa8267c9085dae3d1a2d", "score": "0.6679176", "text": "private void apparence() {\r\n\r\n\t}", "title": "" }, ...
e75d616812d4a40876f54bbae8bf25e7
Validate room rate against date boolean.
[ { "docid": "2d6aa4619f25a1707484e994c343104a", "score": "0.76205", "text": "protected boolean validateRoomRateAgainstDate(final Date date, final ProductModel roomRate)\n\t{\n\t\tfinal RoomRateProductModel roomRateProduct = (RoomRateProductModel) roomRate;\n\t\tfor (final DateRangeModel dateRange : roomR...
[ { "docid": "43edb950f5df22da4142a12c95827395", "score": "0.67166024", "text": "private boolean checkDate() {\n int year;\n int month;\n int day;\n\n try {\n year = Integer.parseInt(yearInput.getText());\n month = Integer.parseInt(monthInput.getText());\n...
386fde95176fed3c02c20e7c981da42a
This constructs a new Authenticator with the supplied jaas options.
[ { "docid": "9fe3336cb07667ff4e5d14ac2af055c7", "score": "0.66825765", "text": "public static Authenticator createAuthenticator(final Map<String, ?> options)\n {\n final AuthenticatorConfig authConfig = new AuthenticatorConfig();\n final LdapProperties authProperties = new LdapProperties(authConfi...
[ { "docid": "3954e55c8fd56487f33c1bad1354c2ce", "score": "0.5709531", "text": "public static Authenticator getInstance() {\r\n if (authenticator == null) {\r\n authenticator = new Authenticator();\r\n }\r\n\r\n return authenticator;\r\n }", "title": "" }, { ...
b27334609118d680fca00392a6c20e7f
This method is used to cache User details in Redis
[ { "docid": "e39685346eda8799b9cacb39e99a1c3f", "score": "0.7374196", "text": "void cacheUserDetails(User user);", "title": "" } ]
[ { "docid": "65e6e65dc25fa8556712c503fe7b2239", "score": "0.70716435", "text": "@Override public UserCache getUserCache() {\n return userCache;\n }", "title": "" }, { "docid": "eac250e61b2e97ac844344d90ec8d356", "score": "0.67132056", "text": "public UserCache getUserCache() {\n ...
12b9a75b229a2e273b70a7d08051aa92
Updates the record of car price.
[ { "docid": "b26a209f16bcfc63d3aa1b11f31526da", "score": "0.75663406", "text": "public void updateCarPrice(Car car) throws DBException {\n\t\tConnection con = null;\n\t\ttry {\n\t\t\tcon = getConnection();\n\t\t\tupdateCarPrice(con, car);\n\t\t\tcon.commit();\n\t\t} catch (SQLException ex) {\n\t\t\trollb...
[ { "docid": "37c4d120238918caeefa647fc91621ce", "score": "0.7561868", "text": "Price update(Price price);", "title": "" }, { "docid": "34a00946379ab605a4adbbde7ad0e020", "score": "0.70830965", "text": "public void setPrice(double newPrice);", "title": "" }, { "docid": "57d...
419b8841825406ac69af2b85cd3a4cbb
Retorna um iterador para varrer o baralho.
[ { "docid": "f042549b86c4b541bdf62bd6b51bb364", "score": "0.7382066", "text": "public Iterator<Carta> iterator() {\n\t\treturn baralho.iterator();\n\t}", "title": "" } ]
[ { "docid": "c7e9ab901a8a1b5d397bcc24abc53ad2", "score": "0.6981036", "text": "public Generator.Iterator iterator();", "title": "" }, { "docid": "2a3b74f16a8bac897ca4cc34b3fbdc89", "score": "0.6953574", "text": "public Iterator<T> iterator() \n {\n return new ListIterator<T...
d297073599d17239556be69998105115
Returns true if field agentStartTime is set (has been assigned a value) and false otherwise
[ { "docid": "a6235fb8ffc6e858493337fde45e2bff", "score": "0.8825219", "text": "public boolean isSetAgentStartTime() {\n return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __AGENTSTARTTIME_ISSET_ID);\n }", "title": "" } ]
[ { "docid": "ca7ea8ff19682057d436cc01dc4c8006", "score": "0.76553464", "text": "public boolean isSetStartTime() {\n return this.startTime != null;\n }", "title": "" }, { "docid": "2cd57803ebec8c00776ea96ddf495500", "score": "0.7437046", "text": "public boolean hasStartTime() {...
f6fffd7b00aa0df74774325026a41fb8
optional double security_2_time = 18;
[ { "docid": "57ff3fccec9948cfa405f7aaa4d3e26d", "score": "0.54783696", "text": "public boolean hasSecurity2Time() {\n return ((bitField0_ & 0x00000400) == 0x00000400);\n }", "title": "" } ]
[ { "docid": "226e67c42408aa3220817a5861b90369", "score": "0.78983015", "text": "double getSecurity2Time();", "title": "" }, { "docid": "82fc1c46541d8479d1dda4649f8c1a0d", "score": "0.786538", "text": "double getSecurity1Time();", "title": "" }, { "docid": "8460a5bd65f80809...
df325a4c3c53757beb6abdbe6411f210
Create a new RouteDao with an attached configuration
[ { "docid": "b6f091ece2acc6365dba509fd4284198", "score": "0.6917056", "text": "@Autowired\n public RouteDao(Configuration configuration) {\n super(Route.ROUTE, com.dator.jqtest.dao.model.tables.pojos.Route.class, configuration);\n }", "title": "" } ]
[ { "docid": "bd0a3b11b9ded4014d6235c54d275f79", "score": "0.6652136", "text": "public RouteDao() {\n super(Route.ROUTE, com.dator.jqtest.dao.model.tables.pojos.Route.class);\n }", "title": "" }, { "docid": "79087a51e0c311146b68e605fe94ce2e", "score": "0.62926984", "text": "p...
85d02c033308ff664253a4c152ecb0ae
Add constant to this.
[ { "docid": "f9d9cc732cd2047c8837e6fb288b4437", "score": "0.0", "text": "public final lPoly add(long val) {\n data[0] = add(data[0], valueOf(val));\n fixDegree();\n return self;\n }", "title": "" } ]
[ { "docid": "9d172e5a5dc6acb0a8a0d0821330f98e", "score": "0.6610795", "text": "public void addConstant(String name, String value) {\n this.constants.put(name, value);\n }", "title": "" }, { "docid": "11e7e43e189848dc2ffa5464038d68ac", "score": "0.65855455", "text": "public v...
0270dbffdab511a126eb77ae3b3b70c9
build balanced binary tree from a sorted array
[ { "docid": "eb22cf7150fc88727a0d6c1a9262c0ba", "score": "0.59511644", "text": "public void build(BTree<Integer> t,int[] data,int start, int end){\r\n\t\t\r\n\t\tif(end < start){\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tint mid = (start+end)/2;\t\t\r\n\t\tt.treeInsert(data[mid]);\r\n\t\tbuild(t, data, start, mid...
[ { "docid": "fca35b279df760afc89485a9583dc717", "score": "0.7323008", "text": "public TreeNode sortedArrayToBST(int[] nums) {\n if(nums.length == 1){\n return new TreeNode(nums[0], null, null);\n }\n int balance = nums.length/2;\n if(nums.length > 2){\n b...
42534f5120491fec75a7333c0f3f64b9
Deletes an inapp message
[ { "docid": "e4023dfa5da31d9a3ad1f73a6a77fc09", "score": "0.69172347", "text": "public static void delete(Context context, String messageId) {\r\n InAppPayload inAppPayload = InAppStorage.getInappPayload(context, messageId);\r\n if(inAppPayload != null && inAppPayload.isFromPull()) {\r\n ...
[ { "docid": "5253c2b73b0885bddc6b3465808ddc96", "score": "0.7920901", "text": "void deleteMessage(Message msg);", "title": "" }, { "docid": "de4260d82a0616523c06b0a0a8c09459", "score": "0.7909703", "text": "void deleteMessage(Message message);", "title": "" }, { "docid": "...
6718d874356726d3558e7b22ab38109a
create or confirm directories
[ { "docid": "b6eaee12068ae72c23d0bd8e9fdaec5b", "score": "0.0", "text": "public void init(){\n\t\tFile sf=new File(ArxivSourceDir);\n\t\tFile nf=new File(IndexDir);\n\t\tif(!sf.exists()){\n\t\t\tsf.mkdir();\n\t\t}\n\t\tif(!nf.exists()){\n\t\t\tnf.mkdir();\n\t\t}\n\t\t//initialize tools\n\t\tAnalyzer ana=...
[ { "docid": "010a3b4e686313ecf490a07e19dafeab", "score": "0.68458784", "text": "public void createDirectories() throws IOException{\r\n\t\tif(Files.isDirectory(Paths.get(this.dsObj.getPathRoot()))){\r\n\t\t\tSystem.out.println(\"Directory :: \"+this.dsObj.getPathRoot()+\" already exist.\");\r\n\t\t\t//te...
0859df1f6498faefe49efc910ae7fd13
int valorA = 10; int valorB = 15; int total = valorA + valorB; Assert.assertEquals(total, 25);
[ { "docid": "7a2100fe8897e77ec470dce0f2016170", "score": "0.0", "text": "@Test\r\n public void OnAir() {\n isChrome();\r\n open(\"http://ninjaplus-web:5000/login\");\r\n assertEquals(title(), \"Ninja+\");\r\n }", "title": "" } ]
[ { "docid": "9daf6fdbd4537d5d44b9f434ef26bc52", "score": "0.78074014", "text": "@Test\n public void testRun() {\n int s=5+3;\n int actual=8;\n assertEquals(s,actual);\n }", "title": "" }, { "docid": "aaa7cb8228352d8aead4cbd19048dd95", "score": "0.7720561", "...