query_id
stringlengths
32
32
query
stringlengths
7
129k
positive_passages
listlengths
1
1
negative_passages
listlengths
88
101
b848260afbd21e7dc10f172d765565e0
If the currently displayed item is in a valid state, updates and saves the ItemList on a file chosen by the user, removing all information added by the Drill programthat is, all information about how well Items have been learned. If the currently displayed item is invalid, prompts the user to correct it (just deleting ...
[ { "docid": "ff453e5b401a3e1effd7c824cb2be6c4", "score": "0.5580703", "text": "protected void saveAsVirgin() {\n if (!okToTakeAction()) return;\n save();\n try {\n list.saveAsVirgin();\n setTitle(list.getFileName());\n showItem();\n isDirty...
[ { "docid": "0961a7a28b501f6ab7ed8e816158272b", "score": "0.67625976", "text": "private void removeItem() {\n\t\tFile header = new File(textFileUrlStub + \"inventoryEmpMenu\"); // header text\n\t\tFile prompt = new File(textFileUrlStub + \"selectId\"); // header text\n\t\tList<Item> inventory = iService....
0258f7d3709d658b197435abba3c469c
is there a better way than using an iterator?
[ { "docid": "8ae8981a8c8076963b66bf4507690335", "score": "0.0", "text": "private static <A,B> Stream<Pair<A,B>> zip(Stream<A> as, Stream<B> bs) {\n Iterator<B> bIter = bs.iterator();\n return as.map(a -> bIter.hasNext() ? new Pair<A,B>(a, bIter.next()) : null)\n .filter(o ->...
[ { "docid": "24bae8ed26b58de2b545e78e45095ae7", "score": "0.6167161", "text": "Iterator iterator();", "title": "" }, { "docid": "24bae8ed26b58de2b545e78e45095ae7", "score": "0.6167161", "text": "Iterator iterator();", "title": "" }, { "docid": "bf4843c2929792b816c08b545ffe...
7f94c6dc8c829fd62a102f1499dbeff1
Formerly a native method
[ { "docid": "6117beae300676672e778bc501ccbe14", "score": "0.0", "text": "@DSGenerator(tool_name = \"Doppelganger\", tool_version = \"2.0\", generated_on = \"2014-03-25 14:24:34.751 -0400\", hash_original_method = \"33837F451FD1FD5FE4025A17ACD392E4\", hash_generated_method = \"CD83951BEF1ED580DA6876F64711...
[ { "docid": "99e7e966c51a5579d91ee2abe7cf310c", "score": "0.6598487", "text": "public abstract String method_5963();", "title": "" }, { "docid": "1268778e8d2e0af64a7b9e15852a1a9f", "score": "0.61866665", "text": "public native static void myMethod();", "title": "" }, { "do...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "d1d86f4e964583f8bd7955fa4cc59501", "score": "0.0", "text": "private void init(Context context, AttributeSet attrs) {\n\r\n\t\tTypedArray a = context.obtainStyledAttributes(attrs, R.styleable.UnderlineTabWidget);\r\n\r\n\t\tmStripHeight = a.getDimensionPixelSize(R.styleable.UnderlineTabWidget...
[ { "docid": "9208773f8d675a45ef2786d0cb668514", "score": "0.654538", "text": "@Override\n\tpublic void addiion() {\n\t\t\n\t}", "title": "" }, { "docid": "80d20df1cc75d8fa96c12c49a757fc43", "score": "0.65323734", "text": "@Override\n\tprotected void getExras() {\n\t\t\n\t}", "titl...
39b40698369e5ee1e051d6c257b2e592
This Function use for convert String decimal to integer value with decrement 1. Input parameter: String value in decimal digit [0 to 9 and 9 to 0] Return: Return null when catch unaccepted exception. Return integer value with one decrement.
[ { "docid": "c25302f06790fbd7c38715b169d37499", "score": "0.6601968", "text": "@SuppressWarnings(\"null\")\n public int DecrementStringDigite(String s) {\n if (s != null && !s.equalsIgnoreCase(\"\")) {\n try {\n return Integer.parseInt(s) - 1;\n } catch (Exc...
[ { "docid": "294c331a1d234dd855f2be006e8b3af2", "score": "0.65701437", "text": "public static int convertStringToInt(String input){\n int n = (int)Math.pow(10,input.length()-1);\n if (input.length() == 0){\n return 0;\n }\n \n if (input.length() == 1){\n ...
3a7a10a721b6ee3cff84c9fd4c1872de
This method was generated by Abator for iBATIS. This method corresponds to the database table UPP.TB_UPP_STORE_CHECK_BATCH
[ { "docid": "b884e2b9f44ebd867ab5a69fc9684d51", "score": "0.0", "text": "List selectByExampleWithPage(UPPStoreCheckBatchExampleExtended exampleExtended);", "title": "" } ]
[ { "docid": "99b04850ebb72188b265e601ee643dd9", "score": "0.56300724", "text": "int updateByExample(UPPStoreCheckBatch record, UPPStoreCheckBatchExample example);", "title": "" }, { "docid": "251bb0e044a6dfba75db4ca5c4f1dde6", "score": "0.5445273", "text": "void insert(UPPStoreCheckBa...
306b54309360a383a0fec805468e0e9c
Posts a message to a Service Bus Queue
[ { "docid": "bc52d887e6779c5f3d9f8ab8f49e8081", "score": "0.6742146", "text": "@PostMapping(\"/queues\")\n public String send(@RequestParam(\"message\") String message) {\n this.messagingGateway.send(message);\n return message;\n }", "title": "" } ]
[ { "docid": "126277e47abc7f804117b66324eedfc1", "score": "0.7260077", "text": "void push(String queueUrl, String message);", "title": "" }, { "docid": "39e38cb3bd58783bd91f7832444e84fc", "score": "0.72025895", "text": "void push(QMessage message, String queueName);", "title": "" ...
e76c8f3891e2ee449c98e9d06887c15b
GENFIRST:event_jftValidadeActionPerformed TODO add your handling code here:
[ { "docid": "6ccdb86e1207beb38bf31d05ea84599b", "score": "0.88829976", "text": "private void jftValidadeActionPerformed(java.awt.event.ActionEvent evt) {\n }", "title": "" } ]
[ { "docid": "fca97cdfd96054f802cb32f5dbd95233", "score": "0.6995146", "text": "private void btningresarActionPerformed(java.awt.event.ActionEvent evt) {\n\n if (txtusuarios.getText().equals(\"\")) {\n JOptionPane.showMessageDialog(this, \"POR FAVOR INGRESAR EL USUARIO Y LA CLAVE\");\n ...
e5d8ccfbdc62806a9921ea8eef1fe272
toggles Force the JVM to use the IPv4 stack, instead of favoring IPv6
[ { "docid": "9828ac4ebf2129735082a2c079e53ab5", "score": "0.69829947", "text": "public JvmOptions forceIPv4() {\n forceIPv4 = true;\n return this;\n }", "title": "" } ]
[ { "docid": "b4903e24886445dbd1ec210ca0bd7d2a", "score": "0.55689824", "text": "public GateIPv4()\r\n {\r\n // set the default to local host.\r\n this.ip = \"127.0.0.1\";\r\n // set the default port.\r\n this.port = 10001;\r\n }", "title": "" }, { "docid": "8...
b45ea795768c3c20ea1b90852729dded
Aumenta a pilha de movimentos
[ { "docid": "06ae7b46dbdaf66fc4a09db64039f945", "score": "0.7799814", "text": "private void aumentarPilha() {\r\n\t\tthis.pilhaDeMovimentos++;\r\n\t}", "title": "" } ]
[ { "docid": "5023817512c42f89ffbedfaa24a6ba58", "score": "0.63468087", "text": "public int getAumentoMovimientos() { return aumentoMovimientos; }", "title": "" }, { "docid": "f0209341e0e7458e1816e94b6e32bf5d", "score": "0.63419217", "text": "public void morir(){\r\n\t\tmiNivel.aumenta...
2a2b7762a1b47a4f555e76eda57adfeb
Create an F81 model of substitution
[ { "docid": "d7bf9a06ee73fad26c836645b4fb290c", "score": "0.74775183", "text": "public static final SubstitutionModel createF81Model(double[] baseFrequencies) {\n\t\treturn SubstitutionModel.Utils.createSubstitutionModel(new F81(baseFrequencies));\n\t}", "title": "" } ]
[ { "docid": "cc1300598c2a41452a582b9b5a157305", "score": "0.5930546", "text": "public static final RateMatrix createF81Matrix(double[] baseFrequencies) {\n\t\treturn new F81(baseFrequencies);\n\t}", "title": "" }, { "docid": "3e1005bab23a8f07f10102adb6ee0bc1", "score": "0.53450006", "...
554a11358441ab4eb3dae6563474639d
Closes the current instance of the web browser, but does not quit() the driver.
[ { "docid": "f2694bd13cfbd399e0db851f470386ae", "score": "0.80439633", "text": "public final void close() {\n switchToDefaultContent();\n log.trace(\"WebDriver.close();\");\n webDriver.close();\n }", "title": "" } ]
[ { "docid": "78e81d1f9afcd29ac1912863dbc1aed1", "score": "0.81563324", "text": "public static void close() {\n webDriver.close();\n webDriver.quit();\n }", "title": "" }, { "docid": "6cd1363cfff5ebc12fda8c8f8ce24645", "score": "0.7949373", "text": "public static void ...
89b92259a3c4f11c3bc9a0a387334071
Returns the number of acquired permits.
[ { "docid": "6f966fe4ab0059e85ad04f489293e923", "score": "0.67697805", "text": "Single<Integer> acquiredPermits();", "title": "" } ]
[ { "docid": "f52d3f5642745a35a3d500f2ba631773", "score": "0.76570106", "text": "@MainThread\n public double getAvailablePermits() {\n return getLastCalculatedPermitCount();\n }", "title": "" }, { "docid": "bee68f75e07c408f9fee7e032cedec2a", "score": "0.7519446", "text": "...
c0ca12a467995b7212c401dcc20b8322
Creates a UnaryExpression that represents the assignment of the expression followed by a subsequent increment by 1 of the original expression.
[ { "docid": "6fa7e409626e268c9dbb888e404ca293", "score": "0.7569428", "text": "public static UnaryExpression postIncrementAssign(Expression expression) {\n return makeUnary(ExpressionType.PostIncrementAssign, expression, expression.getType());\n }", "title": "" } ]
[ { "docid": "420bbb456fe2a80ae0cb7b3553451037", "score": "0.8094839", "text": "public static UnaryExpression increment(Expression expression) { throw Extensions.todo(); }", "title": "" }, { "docid": "0510dab1ce7054bdc85fabffb470caf3", "score": "0.80079734", "text": "public static Unar...
f4f155edbed981ad174b7aaacdc1177d
create a board from an nbyn array of tiles, where tiles[row][col] = tile at (row, col)
[ { "docid": "1a62449997cab9eaad2fcf103fcd7ec4", "score": "0.65302265", "text": "public Board(int[][] tiles) {\n this.n = tiles[0].length;\n this.board = new int[n][n];\n int correctNumber = 1;\n int hamming = 0;\n int manhattan = 0;\n for (int i = 0; i < n; i++) ...
[ { "docid": "cbbfeb67bb646a11a8d1e320ea9e8c36", "score": "0.7310257", "text": "public Board(int[][] tiles) {\n n = tiles[0].length;\n board = new char[n*n];\n\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < n; j++) {\n board[n*i+j] = (char)tiles[i][j];...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "1e4a0ca1c14565f432d08234fc41330f", "score": "0.0", "text": "@Override\n\tpublic List<News> findNews(String text) {\n\t\treturn getHibernateTemplate().find(\"from news, to_tsquery(?) q where fts @@ q\", text);\n\t}", "title": "" } ]
[ { "docid": "9208773f8d675a45ef2786d0cb668514", "score": "0.654538", "text": "@Override\n\tpublic void addiion() {\n\t\t\n\t}", "title": "" }, { "docid": "80d20df1cc75d8fa96c12c49a757fc43", "score": "0.65323734", "text": "@Override\n\tprotected void getExras() {\n\t\t\n\t}", "titl...
994de3bf386240ac545235d2c68784a1
Collect local statistics into global, update UI, etc... / "Dummy message" je sprava ktora sa prida a ihned odoberie do frontov v simulacii aby sa bral pre statistiky cas ukoncenia replikacie nie poslednej zmeny daneho frontu, ktory moze byt pre registraciu napriklad aj o hodiny, co je samozrejme zle. Start of dummy mes...
[ { "docid": "043c441793cc41c42d2fd492799384df", "score": "0.0", "text": "@Override\n public void replicationFinished()\n {\n MyMessage dummyMessage = new MyMessage(this);\n registration().getQueue().enqueue(dummyMessage);\n registration().getQueue().dequeue();\n examinat...
[ { "docid": "9133977897dac18ab7aaf2d60ef6ab5d", "score": "0.61105376", "text": "private final void updateStatistics(){\r\n\t\tstatisticsText_.setLength(0); \t//reset\r\n\t\t\r\n\t\tRegion[][] regions = Map.getInstance().getRegions();\r\n\t\tVehicle[] vehicles;\r\n\t\tVehicle vehicle;\r\n\t\tint i, j, k;\...
2a628267c86c155acca9b156ad377fd2
create an object of File class.
[ { "docid": "dac14dbb05f5af45c286eadb8a397e82", "score": "0.0", "text": "public static void main(String args[]){\n File f=new File(\"e:/java4/data.txt\");\r\n \r\n if(f.exists()==true){\r\n long val=f.length();\r\n System.out.println(\"Size : \"+val);\r\n ...
[ { "docid": "7abb756bebff4140d2ff1802ed0d2f78", "score": "0.72936785", "text": "public FileIO() { }", "title": "" }, { "docid": "4bac0b9ca45106a19df7495f1906d507", "score": "0.7111774", "text": "public FileDao() {\n super(File.FILE, sxj.db.tables.pojos.File.class);\n }", ...
84d94b25e2f3e7b0cf9ac33bc37c4695
/ System.out.println(readFileService.getAbsolutePaths( "C:\\index_file" ));
[ { "docid": "90926a66491abac276c001d1bdc260e5", "score": "0.6551133", "text": "@Test\n public void getAbsolutePaths() throws Exception {\n }", "title": "" } ]
[ { "docid": "1edbf3bb5828ad4bdab99d927b596d8d", "score": "0.6889235", "text": "File getNodeWayIndexFile();", "title": "" }, { "docid": "46d2d1d01c14b56abb7626ee384fb118", "score": "0.6426674", "text": "protected abstract String getIndexFileName();", "title": "" }, { "docid...
de73f3b8f6916976a17b0ca8f6fd65d2
Sets value as the attribute value for OrderReadableId.
[ { "docid": "791346f8073a70ea0c8772772baddf71", "score": "0.82170844", "text": "public void setOrderReadableId(String value) {\n setAttributeInternal(ORDERREADABLEID, value);\n }", "title": "" } ]
[ { "docid": "6c80d6d2b53f4210dfcdfebb62feecf6", "score": "0.6601109", "text": "public String getOrderReadableId() {\n return (String)getAttributeInternal(ORDERREADABLEID);\n }", "title": "" }, { "docid": "07e34706fc68b7ecb354b5974283d27f", "score": "0.5815741", "text": "publ...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "4acee1878ce03ed324b2bd4cf90866dc", "score": "0.0", "text": "@Override\n\tpublic void onNotificationPosted(StatusBarNotification sbn) {\n\t\tSharedPreferences pref = PreferenceManager.getDefaultSharedPreferences(getBaseContext());\n\t\tmHideLowPriorityNotifications = pref.getBoolean(\"hide_lo...
[ { "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": "" }, ...
6e6ac07b696369918f7d9c32afd6263a
Write code here that turns the phrase above into concrete actions
[ { "docid": "fb94bf2e8f3b73f2864eb2051dad1eeb", "score": "0.0", "text": "@Then(\"^I see text box with \\\"(.*?)\\\"$\")\n public void i_see_text_box_with(String expected) throws Throwable {\n Assert.assertEquals(\"Text Matches\", expected, \"Hello Selendroid\" );\n File src = driver.getS...
[ { "docid": "e8c67f59aacefad2171fc30c8f3da48f", "score": "0.6524557", "text": "public void action() {}", "title": "" }, { "docid": "7133578c877b5aaac7794fb83a8c15ee", "score": "0.639387", "text": "public void action() {\n }", "title": "" }, { "docid": "01438e109df22...
fe5ba27f1c9b93dba220decbb9368353
Plays a sound effect from the assets directory. Stops any currently playing songs.
[ { "docid": "84dbf2083b1fdfe7ccea28f44a520a40", "score": "0.60272515", "text": "protected void playSfxStoppingMusic(final String fileName) {\r\n stopSongs();\r\n loadSfx(fileName);\r\n sfx.get(fileName).play();\r\n }", "title": "" } ]
[ { "docid": "8c4f4d5b29a084171d363a416c58675a", "score": "0.7393429", "text": "public void playSoundEffect() {\n SoundFile soundEffect = new SoundFile(this, \"pong_beep.wav\");\n\n // Play sound effect\n soundEffect.play();\n\n }", "title": "" }, { "docid": "a637271787...
e9014bf07840a8aa2cc17d8cffc3db46
This Finds node right to temp when parent for temp is p.
[ { "docid": "b3abe5c694555e446587f2d6eada720c", "score": "0.64504343", "text": "private static TreeLinkNode[] findNextNode(TreeLinkNode p, TreeLinkNode temp) {\n TreeLinkNode[] res = new TreeLinkNode[2];\n if (p.left == temp && p.right != null) {\n res[0] = p;\n res[1]...
[ { "docid": "4a8651c4d0c779a3533380a25b3caf2f", "score": "0.6318344", "text": "public int find(int p){\n //Recursively iterate back to get the root of the site\n //root will be encountered when the node's parent will be itself\n while(p != id[p]){\n p = id[p];\n }\n...
920c40f360d13bf82ff86bdade9ecf06
Checks to see whether an unmatched source property contains any tokens that were matched by a previous property in the source hierarchy.
[ { "docid": "260ec771ec1b70893793912103534c5d", "score": "0.5788752", "text": "boolean matchedPreviously(int index) {\n for (int sourceIndex = 0; sourceIndex < index; sourceIndex++) {\n if (sourceMatches[sourceIndex]) {\n String[] current = sourceTokens.get(index);\n String[...
[ { "docid": "59a516123245cbda5e818ffea405b1e2", "score": "0.57453597", "text": "boolean hasIfSourceMetagenerationNotMatch();", "title": "" }, { "docid": "8fc48a355718db19abb3cc743320bca5", "score": "0.5340907", "text": "boolean hasIfSourceMetagenerationMatch();", "title": "" }, ...
75a8b790e98dd0ee22153d98bea28056
Removes all nodes that represent the objects given in the collection.
[ { "docid": "81533ac90ff352d2b27455d0b3007b43", "score": "0.6974582", "text": "void removeNodes(ProjectionTreeNode<?> node,\r\n\t Collection<? extends Object> repRemovObjects);", "title": "" } ]
[ { "docid": "b1eb7ea365025fcc3a2c2a7c7a0dcaea", "score": "0.7206054", "text": "public void clear() {\r\n\t\tobjects.clear();\r\n\t\tfor (int i = 0; i < nodes.length; i++) {\r\n\t\t\tif (nodes[i] != null) {\r\n\t\t\t\tnodes[i].clear();\r\n\t\t\t\tnodes[i] = null;\r\n\t\t\t}\r\n\t\t}\r\n\t}", "title": ...
573177a6fcc77cb3573790ac68158066
checks if given userID has any fines.
[ { "docid": "e6aa3c54d2a528960092be222129397d", "score": "0.6923715", "text": "private boolean checkIfFined(int userID) throws SQLException {\n String sqlCommand = \"select sum(amount) \"\n + \"from FineLog group by userId having \"\n + \"userId = \" + master.getUser(...
[ { "docid": "f0fd96f94709697cb743c134596b8a8f", "score": "0.61782116", "text": "public boolean temFotos(String userID) {\n\t\tUtilizador utilizador = listaUtilizadores.get(userID);\n\t\treturn utilizador.temFotos();\n\t}", "title": "" }, { "docid": "678e34188da0ff8fa995432acd916638", "sco...
8b5aa86cf723fe252028f22b74f2bfba
Configuration and resource allocation for mongod in a MongoDB 4.4 cluster. .yandex.cloud.mdb.mongodb.v1.Mongodb4_4.Mongod mongod = 1;
[ { "docid": "739994da794283e083cf0d7b55bb8e25", "score": "0.7367077", "text": "public yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb4_4.Mongod getMongod() {\n if (mongodBuilder_ == null) {\n return mongod_ == null ? yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb4_4.M...
[ { "docid": "ff548296d1d0fbdbb082996ecc5244d4", "score": "0.76305485", "text": "yandex.cloud.api.mdb.mongodb.v1.ClusterOuterClass.Mongodb4_0 getMongodb40();", "title": "" }, { "docid": "94bc54e675154ad23f4544bf0bc0b3b4", "score": "0.76193416", "text": "yandex.cloud.api.mdb.mongodb.v1....
cf8f2ebece1d013a0501226a1dae7df1
/ This type was generated from the piece of schema that had name = TelefoneList Namespace URI = Namespace Prefix = ns1
[ { "docid": "bc5aede982217771a0078c42eda1634a", "score": "0.0", "text": "private static java.lang.String generatePrefix(java.lang.String namespace) {\n if(namespace.equals(\"http://ebo.multiplusfidelidade.com.br/v1\")){\n return \"ns1\";\n }\n return org.ap...
[ { "docid": "c5a806f3a7035bc801a5745fa1fb50bf", "score": "0.63189834", "text": "public static TelefoneList parse(javax.xml.stream.XMLStreamReader reader) throws java.lang.Exception{\n TelefoneList object =\n new TelefoneList();\n\n int event;\n java.lang.St...
5e185150f8b61ce5105970ef4a853eb6
This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.
[ { "docid": "445435442c3510103817eabc05c7fae0", "score": "0.0", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n PanelPertama = new javax.swing.JPanel();\n Me...
[ { "docid": "37a5472d5b0f35cf64a077bc1dd978c4", "score": "0.73200226", "text": "public Form() {\n initComponents();\n }", "title": "" }, { "docid": "2901c5027f800c57f8efe188557aec1f", "score": "0.7291205", "text": "public MainForm() {\n initComponents();\n }", ...
14872cbeb15cdd5518e84636038d1fc1
// Protected Area // Private Area
[ { "docid": "48eccc0ebf4dc0bb522693f0a33f7e64", "score": "0.0", "text": "private static final void verifyHandleable(Throwable t) {\n\t\tif ((t != null) && (t instanceof Unhandleable)) {\n\t\t\tthrow (Unhandleable) t;\n\t\t}\n\t}", "title": "" } ]
[ { "docid": "9b8bff01309bc941d59b284fda4a097c", "score": "0.71374464", "text": "@Override\r\n\t\tpublic void protect() {\n\t\t\t\r\n\t\t}", "title": "" }, { "docid": "f8d127f4b093dc00361050d3e6fa4625", "score": "0.65622467", "text": "public ProtectedAreaIds() {\n\t\tsuper();\n\t}", ...
4e723865b19e8fee013d4d9cb230bdeb
optional .lorawan.Modulation modulation = 11;
[ { "docid": "c0846506fd3663d4b93235fb46696ce6", "score": "0.0", "text": "public Builder clearModulation() {\n \n modulation_ = 0;\n onChanged();\n return this;\n }", "title": "" } ]
[ { "docid": "4497b9b1f2ea8ee3c163804391567c2b", "score": "0.7181591", "text": "org.thethingsnetwork.management.proto.Lorawan.Modulation getModulation();", "title": "" }, { "docid": "4497b9b1f2ea8ee3c163804391567c2b", "score": "0.7181591", "text": "org.thethingsnetwork.management.proto...
94fed1d0baee1c8a250efc460f76e998
Created by Philip Deppen (Milestone 3, 11/26/18)
[ { "docid": "54aa6b0454fbdc27bf611e3b294be2f7", "score": "0.0", "text": "private ContactListener getListener(short categoryA, short categoryB)\n\t{\n\t\tObjectMap<Short, ContactListener> listenerCollection = listeners.get(categoryA);\n\t\tif (listenerCollection == null)\n\t\t{\n\t\t return null;\n\t\t...
[ { "docid": "86ed6713ba8e5a54203c31fb8f461898", "score": "0.56746596", "text": "protected boolean func_70814_o() { return true; }", "title": "" }, { "docid": "78f900d7088ff06de4595889e75ca646", "score": "0.56722665", "text": "public void method_4270() {}", "title": "" }, { ...
2a5f6484d4c3e2172b5ee54579a822e4
Get the type of this data object
[ { "docid": "f91973d8529c97b9c690e9c355bb9b4d", "score": "0.0", "text": "RPMIndexType getType();", "title": "" } ]
[ { "docid": "c44d0f2cc6813ec3d1e508e33a0ee3dd", "score": "0.81464183", "text": "public Datatype getType()\n {\n return type;\n }", "title": "" }, { "docid": "464ef456d8c9476f3e6435f725d51e2d", "score": "0.81080776", "text": "public Datatype getType() {\r\n return t...
42522a3857b0ea48493bbdfb0c5cbb0e
Common settings for mutation unit testing. Runs a list of test class and mutates a list of corresponding application classes. Convenient for a oneliner solution in the main method of your test classes.
[ { "docid": "9de2b14c58f56fd6ef63d4946b9e3561", "score": "0.63556874", "text": "public static void facilitateMutationTestForClasses(Class<?>[] applicationClasses, Class<?>[] testClasses)\n {\n MutationTestFacilitator mutationTestFacilitator = new MutationTestFacilitator();\n mutationTestFacil...
[ { "docid": "ba97c1dbcb288dcf5c97dd7eda13ecdc", "score": "0.6442082", "text": "public void doMutationTest()\n {\n // Handle running from src/test, other source set projects\n if (projectRoot.resolve(\"..\").toAbsolutePath().normalize().getFileName().toString().equals(\"src\"))\n {\n ...
f5457f9ee30520093ceb1e881608222d
Filtert die Title Spalte
[ { "docid": "1ed10acc9d2624cf94060101fbb4638e", "score": "0.632558", "text": "private void filterTitle(FilterableStringTableColumn col, ObservableList<Entry> newData) {\n\t\t// Here's an example of how you could filter the ID column\n\t\tfinal List<Entry> remove = new ArrayList<>();\n\t\tfinal Observable...
[ { "docid": "377e4192f5021b4c2540e47db5b6a20c", "score": "0.66331327", "text": "public void filter(String title) {\n // clear notes\n testItems.clear();\n\n // check for search input\n if (title.isEmpty()) {\n testItems.addAll(notesCopy);\n } else {\n ...
c4f62fff5e2a638a883b1b218d07821c
Write your solution here
[ { "docid": "835daaab53c38d939723e88d96ebb55b", "score": "0.0", "text": "public List<String> validParentheses(int l, int m, int n) {\n int[] ls = new int[3];\n ls[0] = l;\n int[] ms = new int[3];\n ms[0] = m;\n int[] ns = new int[3];\n ns[0] = n;\n Stack<C...
[ { "docid": "92375fcd21fbac016273d4c055490824", "score": "0.63966", "text": "public static void main(String[] args) {\n\n System.out.println(\"result:\"+solution(1041));\n System.out.println(\"----------------------\");\n System.out.println(\"result:\"+solution(15));\n System....
e0508f365a5714188bfe0f8e2cc875b6
Created by valdeci on 30/08/2015.
[ { "docid": "acf85d1568ac7239f05454617a0ab191", "score": "0.0", "text": "@Repository\npublic interface AuthorityRepository extends JpaRepository<Authority, Long> {\n}", "title": "" } ]
[ { "docid": "ffe5fe3cec40acf4b0b07ea257dfa06a", "score": "0.6371807", "text": "private void apparence()\r\n\t\t{\r\n\r\n\t\t}", "title": "" }, { "docid": "838a915c9ea69d56cc37df198cff9cb2", "score": "0.6114037", "text": "@Override\n\t\t\t\tpublic void pintar() {\n\t\t\t\t\t\n\t\t\t\t}...
7f86fdd9bfccdc5727cb1bb2ec1d923e
.com.ctrip.flight.intl.agg.additionproduct.v3.MemberPrivilegeType MemberPrivilege = 14;
[ { "docid": "e751d2dc7742a3f51a11ab3714e07b28", "score": "0.63722533", "text": "public com.ctrip.flight.intl.agg.additionproduct.v3.MemberPrivilegeType getMemberPrivilege() {\n return memberPrivilege_ == null ? com.ctrip.flight.intl.agg.additionproduct.v3.MemberPrivilegeType.getDefaultInstance() : mem...
[ { "docid": "da2bd3c0623e4b05ecdd23a46e69eec2", "score": "0.6741929", "text": "public com.ctrip.flight.intl.agg.additionproduct.v3.MemberPrivilegeTypeOrBuilder getMemberPrivilegeOrBuilder() {\n return getMemberPrivilege();\n }", "title": "" }, { "docid": "147f2757aede836edbef54904666468d"...
318df12e39823ab39ebc09e359e57644
Sets the currencyNegativeFormat value for this QuoteTemplate.
[ { "docid": "59906e30618cc9ad0be1902c07d63279", "score": "0.8378247", "text": "public void setCurrencyNegativeFormat(java.lang.Object currencyNegativeFormat) {\n this.currencyNegativeFormat = currencyNegativeFormat;\n }", "title": "" } ]
[ { "docid": "e793806899e6490e4029a751922eba1c", "score": "0.748749", "text": "public java.lang.Object getCurrencyNegativeFormat() {\n return currencyNegativeFormat;\n }", "title": "" }, { "docid": "bf4177ed3b3578c6e2398a8877ffb777", "score": "0.5859202", "text": "public void...
b61303fb56c096400c520deddea2d628
Set the value of nVagS
[ { "docid": "2082c754a70ada87bfa813f1d18dd5ce", "score": "0.84308386", "text": "public void setnVagS(int nVagS) {\r\n this.nVagS = nVagS;\r\n }", "title": "" } ]
[ { "docid": "b818a1dd2fc5085d9bec0e43d423665f", "score": "0.8045667", "text": "public void setnVag(int nVag) {\r\n this.nVag = nVag;\r\n }", "title": "" }, { "docid": "366ea8d7c125faf4e3832c388f948926", "score": "0.7643382", "text": "public int getnVagS() {\r\n return...
2447d0ea083bb38d751e0cc94bb4cda5
Internal constructor, no action needed.
[ { "docid": "cc50e9f9be5a589c82a86d1af9f261d3", "score": "0.0", "text": "private ValidatorBuilder() {\n Config config = ConfigFactory.load();\n config = config.withFallback(config.getConfig(\"defaults\"));\n\n declarationDetector = new DeclarationDetector(config);\n\n // No ac...
[ { "docid": "ee030ae76394814130f77e2c54b762c4", "score": "0.74131036", "text": "@Override\n\t void init() {\n\t }", "title": "" }, { "docid": "5bc920f6e739bb78c65ce6addbbf8031", "score": "0.724926", "text": "public C29323a() {\n }", "title": "" }, { "docid": "...
36d3638166a75f78d9aac8c064650d78
static factory method that returns new object of the class
[ { "docid": "d353056828b7c36cd3c0cb980f44f606", "score": "0.0", "text": "public static ConsoleWriter consoleWriter() {\n return new ConsoleWriter(new PrintWriter(System.out));\n }", "title": "" } ]
[ { "docid": "41db2505188388150fa9dd5bf730e96c", "score": "0.7749159", "text": "New createNew();", "title": "" }, { "docid": "5d3103a8380a789ec5471349ef98bc13", "score": "0.7703471", "text": "T createInstance();", "title": "" }, { "docid": "0402b1b7d3e3d5ecf20e89fc77f82b48"...
3747f966da097bbdd764b89d4eaba974
Returns the field fieldBB.
[ { "docid": "aa132b5be4f0d2120e42eab662de9905", "score": "0.80964077", "text": "public Boolean getFieldBB()\n {\n return fieldBB;\n }", "title": "" } ]
[ { "docid": "89f7298e1a3956ebacb7f72244e9322a", "score": "0.73149306", "text": "public Field39B getField39B() {\n\t\tif (getSwiftMessage() == null) {\n\t\t\tthrow new IllegalStateException(\"SwiftMessage was not initialized\");\n\t\t}\n\t\tif (getSwiftMessage().getBlock4() == null) {\n\t\t\tlog.info(\"bl...
c607ac31fe8ffaad6a58b6a27fb9998d
0 obstacle/denied area , 1 poor, 2 neutral, 3 ok, 4 very good
[ { "docid": "904f271f17186256dd776339e1838605", "score": "0.0", "text": "public RouteModelEditWindow( MainMapView view ) {\r\n\t\tthis.view = view;\r\n\t\t\r\n\t\t\r\n\t\tsetImmediate(true);\r\n\t\tsetClosable(false);\r\n\t\tsetResizable(false);\r\n\t\tsetDraggable(true);\r\n\t\r\n\t\tp = new Panel();\r\...
[ { "docid": "11dc3bc9c9dffdd90e8ff08003e9543a", "score": "0.57880723", "text": "public int MisPlaceHeuristic() {\r\n\t\tint value = 0;\r\n\t\tOutter: for (Box b : this.myBox) {\r\n\t\t\tfor (Goal g : this.myGoals) {\r\n\t\t\t\tif (b.getPosition()[0] == g.getPosition()[0] && b.getPosition()[1] == g.getPos...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "dab0886d8b9964f4f7b6ea0a4611dc2f", "score": "0.0", "text": "public static void main(String[] args) {\n\t\tMethodOverloading obj = new MethodOverloading();\n\t\tMethodOverloading.main(10000000);\n\t\tobj.sum();\n\t obj.sum(10,20);\n\t obj.sum(10);\n\t System.out.println(obj.sum(\"Vijaya\",...
[ { "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": "" ...
11b6c055b590731aedc6c9b75308df94
Returns a row according to row number given
[ { "docid": "614449067a5e7733324ca7b753c1f7d3", "score": "0.0", "text": "public int[] getRow(int row) {\n\t\treturn elements[row];\n\t}", "title": "" } ]
[ { "docid": "f2345bac66726a4144d6f4633ddb046c", "score": "0.7376499", "text": "public static int getRow(int index) {\n\t\treturn index / Board.NUM_ROWS;\n\t}", "title": "" }, { "docid": "bd26c06e221aa3f23635592784a1055a", "score": "0.7235303", "text": "int getRow();", "title": "" ...
3779a72a7717b941f0dd71d2829fa3c5
Created by root on 13.10.2014.
[ { "docid": "39f44340d007175188f758bf7c0a4656", "score": "0.0", "text": "public interface EntityOutput {\n public void writePerson(Person person) throws IOException;\n\n public void writePoint(Point point) throws IOException;\n}", "title": "" } ]
[ { "docid": "76b3966c8e3f64884c4127d1a3df09a8", "score": "0.5991161", "text": "@Override\r\n\t\t\tpublic void maruti() {\n\t\t\t\t\r\n\t\t\t}", "title": "" }, { "docid": "bde53ee3de9072b04cd122133e6162a1", "score": "0.5921657", "text": "public void soigner() {\n\t\t\r\n\t}", "titl...
432b4a40e3269762f5756bbc0a10c5dc
Uses the information in this simulation section to create the URL to be used for the bottom frame.
[ { "docid": "cf376287de834e2c9c10a163964dfd8b", "score": "0.58891267", "text": "public String generateURLforBottomFrame(Long actor_id) {\r\n\r\n\t\tString returnString = this.getUrl() + this.getDirectory() + this.getPage_file_name();\r\n\r\n\t\treturnString += \"?cs_id=\" + this.getBase_sec_id(); //$NON-...
[ { "docid": "56f462241eabf93c749d87eee4d4b666", "score": "0.5616729", "text": "private void buildURLWindaw() {\n builded = true;\n jep = new JEditorPane();\n f = new JFrame(\"Simple Web Browser\");\n contentPane = (JPanel) f.getContentPane();\n scrollPane = new JScrollP...
3d81ae98f3cef41d40fa7c533ef53dda
Created by cai.jia on 2017/8/29 0029.
[ { "docid": "9c18dedc930941d0696e6f17b74a3c96", "score": "0.0", "text": "public interface ApplicationDelegate {\n\n void onCreate(Application application);\n\n void onTerminate();\n\n void onConfigurationChanged(Configuration newConfig);\n\n void onLowMemory();\n\n void onTrimMemory(i...
[ { "docid": "f0705d77863f0fa7c516a99a8eca8134", "score": "0.63545656", "text": "private void zbudujSciezkeiRozpocznij() {\n\t\t\r\n\t}", "title": "" }, { "docid": "cdf542363f5b089e84183e3d9020935f", "score": "0.6162565", "text": "@Override\n\t protected void ramana() {\n\t\t\n\t}", ...
dc6ceac141ff68b960c9b38d433a1a05
Sets the colors for the board
[ { "docid": "4a65b09258ffd2d73358b10f44c6421a", "score": "0.72991", "text": "public void setColors(Color light, Color dark) {\r\n //copies our variables\r\n this.lightColor = light;\r\n this.darkColor = dark;\r\n ChessFrame.lightColor = light;\r\n ChessFrame.darkColor =...
[ { "docid": "8b19c4f62ae915180871c41bca65286a", "score": "0.7359502", "text": "private void updateColors() {\r\n\t\tcolorBoardDefault();\r\n\t\tif(chess.possibleMoves == null) { return; }\r\n\t\tcolorPossibleMoves();\r\n\t}", "title": "" }, { "docid": "2c64df2068ea41e56f280e2f0b65a85f", "...
a92108d77983f7b46a80d88014bdb7bd
Descripcion: Eliminar una posicion N del vetor
[ { "docid": "7bfae243f49ec0c545722c94dadf0b5b", "score": "0.67667556", "text": "public void deletePosN(int PosN){\n //Variables Locales e Inicializacion//\n boolean condiciones=true;\n String motivo=\"Indeterminado\";\n //Comprobar Condiciones Iniciales//\n if((PosN>=Longitud)|PosN<0){\n ...
[ { "docid": "b5ec4a73e89ec74c2c368a61ed0b30f4", "score": "0.6803724", "text": "public void EliminarVertice(int v) ;", "title": "" }, { "docid": "d525c4491fdbb5b94eaa4b0700dd7979", "score": "0.6660953", "text": "void removeVardeYta(int i);", "title": "" }, { "docid": "88d84...
ed434410c91fb9c668aace59894e7d6b
Processes the password being entered
[ { "docid": "c0b40f3aeafd8fee55c2b146ed359bb3", "score": "0.0", "text": "public void handleEvent(EnterPassword event) {\n\t\tSecurityContext.instance().changeState(NotReady.instance());\n\t}", "title": "" } ]
[ { "docid": "480e9208151991a1ade05f9ded32ca60", "score": "0.69302076", "text": "java.lang.String getPassword();", "title": "" }, { "docid": "480e9208151991a1ade05f9ded32ca60", "score": "0.69302076", "text": "java.lang.String getPassword();", "title": "" }, { "docid": "480e...
fd6e8c8e19f9a00f30aa57f409d715fb
CRUD operations (create "add", read "get", update, delete) day + get all flow + delete all flow
[ { "docid": "9bb0745201394f525a6cf908ca24b127", "score": "0.0", "text": "public void addDay(Day day){\n Log.d(\"addDay\", day.toString());\n // 1. get reference to writable DB\n SQLiteDatabase db = this.getWritableDatabase();\n\n // 2. create ContentValues to add key \"column\...
[ { "docid": "7835f6cd28369c60f781b979f618f62d", "score": "0.5590026", "text": "public interface RepayFlowService {\n List<RepayFlow> find(long id, String from_time, String end_time, int mod, int shard);\n\n void insert(RepayFlow repayFlow);\n\n void delete(String updateTime);\n\n void update(...
3561ae4c5560b32b2731318f0843c0d3
We're intentionally avoiding the super call.
[ { "docid": "ecfcc99f988772a61eadee2ced31ae4a", "score": "0.0", "text": "@SuppressWarnings(\"MissingSuperCall\")\n @Override\n public void onLoadFailed(@Nullable Drawable errorDrawable) {\n // Avoid calling super.\n }", "title": "" } ]
[ { "docid": "4d970774f0fa129b2c1770382b61c76f", "score": "0.6685289", "text": "@Override\n public void internal() {\n }", "title": "" }, { "docid": "31e0a27cc492b5cdc0831a13dff60c1a", "score": "0.65746343", "text": "@Override\r\n\tprotected void impl() {\n\t\t\r\n\t}", "titl...
d3d9ce7e97abc20904acdc8db0ac4852
Shuts down this client object, releasing any resources that might be held open. This is an optional method, and callers are not expected to call it, but can if they want to explicitly release any open resources. Once a client has been shutdown, it should not be used to make any more requests.
[ { "docid": "e06668055a84a9a67cf207054b5bc769", "score": "0.0", "text": "void shutdown();", "title": "" } ]
[ { "docid": "2e09617f0c9d7ef00c21b19fef01af76", "score": "0.77979803", "text": "public void shutdown()\n {\n try\n {\n if (iamClient != null)\n iamClient.close();\n }\n catch (Exception ex)\n {\n localLogger.warn(\"failed to shutd...
4aa9b240812a0c03e08830dcf333e038
determine the type of a triangle
[ { "docid": "b69cb7d17989afb6420f2707168c0d1e", "score": "0.0", "text": "String challenge(int a, int b, int c);", "title": "" } ]
[ { "docid": "5e7b608399376a66de23b93522472283", "score": "0.79043823", "text": "private int getTriangleType() {\n if ((a == b) && (b == c) && (c == a)) {\n return type = 3;\n }\n if ((a == b) || (b == c) || (c == a)) {\n return type = 2;\n }\n if (...
2baf043ac1c6eac3e8dbde5eed4b06c4
try to open the race file
[ { "docid": "6b6c75bf0f7796ef7336d0946043f06b", "score": "0.0", "text": "private void loadTechLangFile(int techType, String filename, String langDir) {\n BufferedReader in = reader(concat(langDir, \"tech/\", filename));\n if (in == null) \n return;\n\n try {\n String i...
[ { "docid": "c88410212f0db24de2194d1e7fbc70ab", "score": "0.6123058", "text": "@Test(expected = org.eclipse.linuxtools.ctf.core.trace.CTFReaderException.class)\n public void testOpen_invalid() throws CTFReaderException {\n File path = new File(\"\"); //$NON-NLS-1$\n CTFTrace result = ...
b3bc2611bce98f19817aad62892aaa0f
Send the _ID of the selected contact to the ContactInfo activity
[ { "docid": "e6bf029672b112ed89715e5b062fe7da", "score": "0.6632338", "text": "@Override\n protected void onListItemClick(ListView listView, View view, int position, long id) {\n\n Intent contactInfoIntent = new Intent(this, ContactInfo.class);\n\n contactInfoIntent.putExtra(\"chosenCont...
[ { "docid": "865a70ba00c0ba055d06d8a191c083e2", "score": "0.69103765", "text": "@Override\n public void onItemClick(AdapterView<?> parent, View view, int position, long id) {\n long contactId = id;\n\n }", "title": "" }, { "docid": "4f67a67f64611335cda2b6dac769d48e", "score":...
1b0db9a86fbc30535f4932272842fb48
/ renamed from: a
[ { "docid": "be9da0a0c8e143482697cd2446a9f65e", "score": "0.0", "text": "public static C1066q m4484a(byte[] bArr) {\n return (C1066q) C1004l.m4194a(new C1066q(), bArr);\n }", "title": "" } ]
[ { "docid": "ae4048f417bf94dfd212d61cfae413ce", "score": "0.61427313", "text": "public interface C25752e {\n /* renamed from: a */\n void mo66812a();\n }", "title": "" }, { "docid": "6970f3058f2856f3c7f6df66714797c7", "score": "0.611846", "text": "public void func_152...
93a85eef9561e20c798bc475d56a4e30
Lista todas las ventas
[ { "docid": "4c99e736f9037ba49572cf214a161974", "score": "0.6227778", "text": "public List<VentaJpa> listVentas(String emailCreador) {\n TypedQuery<VentaJpa> q = em.createNamedQuery(VentaJpa.SQ_findByCreador, VentaJpa.class);\n q.setParameter(VentaJpa.SQ_PARAM_EMAIL_CREADOR, emailCreador);\...
[ { "docid": "78089ea02652b3345af2292eb47485a0", "score": "0.7625752", "text": "public List<VentaJpa> listTodosVentas() {\n TypedQuery<VentaJpa> q = em.createNamedQuery(VentaJpa.SQ_findAllVentas, VentaJpa.class);\n return q.getResultList();\n }", "title": "" }, { "docid": "f3f...
6a19219e8fc8eef875d4ee5381b54ccb
Method to get the color of the highlight on the display. The default is "white".
[ { "docid": "915d8eebd2e42257c016c00439cf42a9", "score": "0.67618334", "text": "public static int getColorMouseOverHighlight() { return cacheColorMouseOverHighlight.getInt(); }", "title": "" } ]
[ { "docid": "88d3a590bcfec92ada3bde23a7b86bb4", "score": "0.844424", "text": "public Color getHighlightColor()\n\t{\n\t\treturn highlight;\n\t}", "title": "" }, { "docid": "a0fc8d5ca85c79ea652771ed1c1fa10a", "score": "0.82743704", "text": "public Color getHighlightColor() {\n\t\tretur...
f3b140232a7020c7becdbe2db5e31b1d
Returns the feature with a given index
[ { "docid": "86da821fe915b28c53158319231de45d", "score": "0.7810349", "text": "public DataFeature getFeature(int idx) {\n if (_featuresEqual == FeaturesEqual.equal) {\n return dict.get(0);\n } else {\n return dict.get(idx);\n }\n }", "title": "" } ]
[ { "docid": "46722fcd683d81c11a9de3ae3df75739", "score": "0.90282476", "text": "public Feature getFeature(int index);", "title": "" }, { "docid": "c01cc04762a64bff632e6cfbe5bf5459", "score": "0.72845906", "text": "public Feature getFeatureAtIndex(int i) \n {\n final FeatureTable f...
08509b4de7b8d35b0b4233c39e3c91fe
Returns true if a given URN is in a fixed set of entity types, false otherwise.
[ { "docid": "e50f695c4f10ffc944b504e48edf53ef", "score": "0.68138754", "text": "public static boolean isSupportedEntityType(@Nonnull final Urn urn, @Nonnull final Set<String> entityTypes) {\n final String entityType = urn.getEntityType();\n return entityTypes.contains(entityType);\n }", "title...
[ { "docid": "976ce34927ca219d10e1bd7f0f5ef736", "score": "0.6004096", "text": "private boolean entityDefsMatch(AtlasTypesDef typesDef) {\n return compareLists(this.getEntityDefs(), typesDef.getEntityDefs());\n }", "title": "" }, { "docid": "7e5c72647d83aac01ff49a39d13016dc", "sc...
c476049b9f8602d2e48ca494cf0c4d29
Extracts a zip entry (file entry)
[ { "docid": "1863b4c48038e14b4d355e984cbf89d4", "score": "0.5933926", "text": "private static void extractFile(ZipInputStream zipIn, String filePath) throws IOException {\r\n BufferedOutputStream bos = new BufferedOutputStream(new FileOutputStream(filePath));\r\n byte[] bytesIn = new byte[B...
[ { "docid": "7e58a8b786bdbea66c4b9965d8f97dc5", "score": "0.7578837", "text": "public void testExtractFile_ZipEntry_String() throws Exception\n {\n try\n {\n ZipFileReader instance = new ZipFileReader(ZipperTest.getZipFile());\n String source = \"file1.txt\";\n ZipEntr...
01d92519eb2dc2646f60b47a718cdad2
Creates a new Goldfish with the given name, x and y coordinates, speed, and direction, colour, and size.
[ { "docid": "77cbee05fb16233983925fb8372b28fc", "score": "0.8622104", "text": "public Goldfish(String name, int xCoord, int yCoord, int speed,\n\t String direction, String colour, int size) {\n\t\tsuper(name, xCoord, yCoord, speed, direction, colour, size, \"Goldfish\");\n\t\t\n\t}", "title": ...
[ { "docid": "99be63b6b0c625f04794e99126e0b868", "score": "0.5997107", "text": "public Froggy(String fileName) {\r\n // assignment statements for attributes\r\n x = 200;\r\n y = 250;\r\n vx = 0;\r\n vy = 0;\r\n width = 50;\r\n height = 50;\r\n img = ...
034c553d8e161f32d94069a99792859d
Constructor which uses the constructor of the super class that allows the internal JSONObject of this class to be populated from the JSON string passed as an argument
[ { "docid": "28921909675d365a54c84e1b74cc584f", "score": "0.0", "text": "public InterruptRequest(String string) throws JSONException {\n super(string);\n }", "title": "" } ]
[ { "docid": "75ffe7c4af01aedb15dfa78172a00a97", "score": "0.7337395", "text": "public TJSONObject(JSONObject json) {\n\t\tsuper();\n\t\tElements = buildElements(json);\n\t}", "title": "" }, { "docid": "1e04f53e41c4eb131891da790253abf2", "score": "0.7095465", "text": "public TJSONObjec...
033d91efa03747288c0ab36ef9a7713a
This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor. //GENBEGIN:initComponents
[ { "docid": "0bc1c314f1c612adf7277685b1c9ff02", "score": "0.0", "text": "private void initComponents() {\n java.awt.GridBagConstraints gridBagConstraints;\n\n añadir = new javax.swing.JButton();\n eliminar = new javax.swing.JButton();\n cerrar = new javax.swing.JButton();\n ...
[ { "docid": "17113ab7a06544a62482637e283ac13d", "score": "0.7709416", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n }", "title": "" }, { "docid": "b2448da2d...
32e0dc309f683383cdf0591ff7fe80de
//GENEND:|1291getter|2| //GENBEGIN:|1304getter|0|1304preInit Returns an initialized instance of form component.
[ { "docid": "de6ebd6efc1e28642b983d78d61f7ddb", "score": "0.62702394", "text": "public Form getForm() {\n if (form == null) {\n//GEN-END:|1304-getter|0|1304-preInit\n // write pre-init user code here\nform = new Form(\"form\", new Item[]{getTxt1(), getTxt2()});//GEN-BEGIN:|1304-getter|1|1304-postI...
[ { "docid": "e5b44fd6dd10aa76330055dfd9bdb518", "score": "0.706408", "text": "@Override\n public void initForm() {\n }", "title": "" }, { "docid": "6628563d55402f5337052df3712bd2a4", "score": "0.6731793", "text": "public abstract void initForm(FormController controller);", "...
5389e7256d5ad1405cda0de671c9bbc8
encapsulation: create getter and setter functions as following
[ { "docid": "92d297c707adb611fb39efe5f0ac91fe", "score": "0.0", "text": "public String get_type()\n {\n return this.type;\n }", "title": "" } ]
[ { "docid": "7c0b39df4cc33f9500abab79c0a8f23f", "score": "0.70307356", "text": "Method getSetter() { return _setter; }", "title": "" }, { "docid": "53d8b607ed59096b7a27bf190e0a0a59", "score": "0.64088905", "text": "public interface IGetSet {\n\n /**\n * Function save the value ...
b40e61282ec5dd199f3f3544806ddfd0
Create text fields to emulate user input
[ { "docid": "3d4e13d4dede005d19fc70a6c9796ec3", "score": "0.0", "text": "public static void main(String[] args) {\n JTextField jTextField = new JTextField(\"first piece\");\r\n JTextField jTextField2 = new JTextField(\"second piece\");\r\n //Create the test object that will hold a st...
[ { "docid": "2c4f2de605b8726657382a30e495aa50", "score": "0.7453952", "text": "public JTextField createTextField();", "title": "" }, { "docid": "b87cf8219b99aa3830ece8e5a877a521", "score": "0.7013624", "text": "private void createTextField(TextField tf, String width, String inputPromp...
97dc07824efb04fcc8527c10c9f5b136
define path to maps directory and list all sub directories (maps)
[ { "docid": "579f9f55b19133ec1302826fdf8292d1", "score": "0.0", "text": "protected String[] fillImageSelector(ImageSelect selector, String folder, \n String image, NiftyJmeDisplay display) {\n String basePath = Paths.get(System.getProperty(\"user.dir\")).toString() + \"/assets/\";\n ...
[ { "docid": "6749bd429ec422c52e9ee03127d57ee9", "score": "0.59517276", "text": "private void loadMaps() {\n Gson gson = new Gson();\n for (String mapName : ServerConfig.getInstance().getMapFiles()) {\n try {\n String json = IOUtils.readResourceFile(\"maps/\" + mapName);\n GameMap...
1491d9f20bd05e176ed22b598961d666
The reference (key) for the mirror group.
[ { "docid": "2aaa236090a1e0fab8664dfbce634064", "score": "0.60785264", "text": "public AsyncMirrorGroup groupRef(String groupRef) {\n this.groupRef = groupRef;\n return this;\n }", "title": "" } ]
[ { "docid": "df4403202385d15112c66ed3b7996a11", "score": "0.7339813", "text": "public String getReferenceKey() {\n\t\treturn KEY;\n\t}", "title": "" }, { "docid": "e6efc8c40866851af50b577b15f00ca2", "score": "0.68270797", "text": "public Integer getRefsKey () { \n return refsKe...
cceaa0a247ee219f0b7b90f372555303
Ask the player the tickets he want to keep when he draws tickets midgame and returns them as a bag.
[ { "docid": "8e510ec7e3ff5f4e66b679ad675b4a99", "score": "0.6141837", "text": "SortedBag<Ticket> chooseTickets(SortedBag<Ticket> options);", "title": "" } ]
[ { "docid": "e0ce3ca0e77ca4987b4affc52e781ec8", "score": "0.6240222", "text": "SortedBag<Ticket> chooseInitialTickets();", "title": "" }, { "docid": "b087de3617068be2c17a3a0cd4613061", "score": "0.5579743", "text": "void setInitialTicketChoice(SortedBag<Ticket> tickets);", "title"...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "69ff6c91b523d3127f8d7c9e5a0e37dd", "score": "0.0", "text": "public static void main(String[] args) {\n\t\tPersonneN p = new PersonneN(\"paul\", \"girault\");\n\t\tOrdinateurN o = new OrdinateurN(\"lenovo\", \"ibm\");\n\t\tTestN.sayHello(p);\n\t\tTestN.sayHello(o);\n\t}", "title": "" } ...
[ { "docid": "05a606445504484958a1c21e14b7198e", "score": "0.69474965", "text": "@Override\r\n\tpublic void sapace() {\n\t\t\r\n\t}", "title": "" }, { "docid": "8619203d4867f5c6d05eb9a5354405c0", "score": "0.6920049", "text": "@Override\n\t\tpublic void pintate() {\n\t\t\t\n\t\t}", ...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "b4251804445e1df96897c6913595f547", "score": "0.0", "text": "public int insert(InfoUser t) {\n\t\tString sql = \"insert into info_user values(null,'\"+t.getUsername()+\"','\"+t.getNickname()+\"','\"+t.getPassword()+\"',\"+t.getSex()+\",'\"+t.getQq()+\"',\"+t.getStatus()+\",'\"+t.getPhone()+\"...
[ { "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...
fbe22e2bd015416105949a6562f83401
Access the AppData root dependant or os Win > %AppData% OSX > ~/Library/Application Support/ Unix > ~/.appdata Other > user.dir
[ { "docid": "871b436d6cb21146ccac957aa69cc000", "score": "0.81644636", "text": "private static File getOSAppDataRoot() {\n\n String OS = System.getProperty(\"os.name\").toUpperCase();\n\n if (OS.contains(\"WIN\")) {\n // make it easier to handle from within java\n retu...
[ { "docid": "bc73454673b49927f0ce4f617ca8080c", "score": "0.74951166", "text": "public static File getDataDir() {\n return Environment.getDataDirectory();\n }", "title": "" }, { "docid": "9e285df29346751b6e8de2f8e8877bbb", "score": "0.742397", "text": "private static File ge...
4557e696dc2da457a8d3530f5cafeeb7
Add a start element to te markup
[ { "docid": "76d71094a4d6a16397bef7331b5423a2", "score": "0.655792", "text": "private void addStartElement(StartElementTree start) {\n String name = start.getName().toString();\n String parent = getContext();\n if (BLOCKS.contains(name)) {\n // If block, check that all previous elements hav...
[ { "docid": "636b8160c1f736139edc3d433da833a7", "score": "0.7335049", "text": "public void startElement(ElementStart element);", "title": "" }, { "docid": "29ffcf4e81f63b893ba55595f22ae000", "score": "0.66709733", "text": "void startElement(Attributes attributes);", "title": "" ...
3e411c1aaf1e07600b608bd52cc7f2e9
Handle navigation view item clicks here.
[ { "docid": "315e1d1322f057aabcfc7c10993b0c78", "score": "0.0", "text": "@SuppressWarnings(\"StatementWithEmptyBody\")\n @Override\n public boolean onNavigationItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n if (id == R.id.nav_camera) {\n // Handle the camera...
[ { "docid": "31e747c60e29111e9a3bbd193bd4ee26", "score": "0.7227656", "text": "@Override\n public void onClick(View view) {\n listener.onItemClick(fragmentPoint);\n }", "title": "" }, { "docid": "e0add0a97018cb0ceba2b80f2f797e12", "score": "0.7168944",...
3031481881031cac39c4d44cd9288150
This method find a type of sensor in a house based on the house name and the type of sensor
[ { "docid": "2575cc6a0d6040c1346e738dd91b51c6", "score": "0.75919443", "text": "public abstract List<Sensor> findSensorInHouse(String houseName, String sensorType, String authToken);", "title": "" } ]
[ { "docid": "c404041bc68730cbbe47f6ac5aa6db20", "score": "0.61404306", "text": "public abstract List<Sensor> findSensorInRoom(String roomName, String sensorType, String authToken);", "title": "" }, { "docid": "c8c9d0a5ed934df7603a110b10b3432a", "score": "0.6058605", "text": "nest.trai...
39284b991f97f27805179625136f096e
Method to stop the algorithm
[ { "docid": "e7b9ccad2a839d7108c938dc2ba0e754", "score": "0.0", "text": "public void stop() {\n getTimer().stop();\n }", "title": "" } ]
[ { "docid": "6b261ef9c1dc5a6443c626c16bb32d31", "score": "0.76241237", "text": "public void stopping() {\r\n\t\t\r\n\t}", "title": "" }, { "docid": "d70118b6a3df6fde01fc712ffa796c4b", "score": "0.75395733", "text": "public void stop() {}", "title": "" }, { "docid": "d70118...
97d03b270563d1b475119933c755a8ba
InterfaceB has a dependency: InterfaceC
[ { "docid": "96696737a818242831d11de02db99c76", "score": "0.6509245", "text": "public interface InterfaceB extends SuperInterface{\n\n int getB();\n}", "title": "" } ]
[ { "docid": "b7b4095a664e27b3baecb59c595b7074", "score": "0.6722067", "text": "public interface InterfaceB {\n\tpublic String getB1();\n\n\tpublic String getB2();\n}", "title": "" }, { "docid": "ff69904944d8a4daacb60f3ea1fcf21e", "score": "0.6648212", "text": "public interface InterB ...
da71e7e2e524b5cf2f47152977ae0c41
Changes the id of this User. This may cause session errors and probably need to fix.
[ { "docid": "3fced3dedce8c166da633e9ff25e09ea", "score": "0.78823876", "text": "public void setIdUser(Integer idUser) {\n this.idUser = idUser;\n }", "title": "" } ]
[ { "docid": "61ac562e23929c12898628d5794abaf7", "score": "0.80369014", "text": "public void setIdUser(int value) {\r\n this.idUser = value;\r\n }", "title": "" }, { "docid": "e299e8c8d4a211cca4ef0d8ee3c17368", "score": "0.7954431", "text": "public void setIdUser(long value) ...
1e7066a36b697500a3794e957eec9d99
GET /flightdetails : get all the flightDetails.
[ { "docid": "412178ad2e1e0ec25fbc0ebdc9fa171f", "score": "0.8477904", "text": "@GetMapping(\"/flight-details\")\n @Timed\n public List<FlightDetails> getAllFlightDetails() {\n log.debug(\"REST request to get all FlightDetails\");\n return flightDetailsRepository.findAll();\n }", ...
[ { "docid": "7b6d2be5986cc3b61e1e759cecd49c0b", "score": "0.7529819", "text": "@GetMapping(\"/flights\")\n\tpublic ApiResponse<List<FlightDetails>> findAll(){\n\t\t\n\t\tList<FlightDetails> flights=mongoTemplate.findAll(FlightDetails.class);\n\t\tif(flights==null) {\n\t\t\tthrow new NoFlightFoundExceptio...
c21421aa9ebc7193abeb9e74af554114
Fetch all tests and run all test Login
[ { "docid": "0dc4c3731f80138158db634c937a6bc7", "score": "0.0", "text": "public static void testTheSuite(WebDriver driver) {\n\t\tLogin_Test.loginCorrectly(driver);\n//\t\tLogin_Test.loginWithWrongUsernameAndWrongPassword(driver);\n\n\t\t// Add testdata --> Persons\n\t\tAddPerson_Test.checkScreenData(dri...
[ { "docid": "c5e5ab4fcdf81caf229cfa55ef6f7b77", "score": "0.6442134", "text": "public static void runTests(){\n }", "title": "" }, { "docid": "032432949fd629b195cfb1a7dc383cc4", "score": "0.64381266", "text": "@Test\n public void allUsers(){\n }", "title": "" }, { ...
e1318bd001b495296b2b8e0bb8c4da36
getPolygonName: returns polygonname if available, else null method to get polygonname in file polygonnames can be found at the end of file
[ { "docid": "f58c21a2dcf8e2e09ea53c7e2631ffba", "score": "0.7516973", "text": "private String getPolygonName(ByteBuffer buffer) {\n\t\t\n\t\tbyte b;\n\t\tint startposition = buffer.limit()-1;\n\t\tint limitposition = buffer.limit();\n\t\tStringBuffer strbuf = new StringBuffer();\n\t\t\n\t\tb = buffer.get...
[ { "docid": "ca836eb877cc6aee47c12814fb738c9e", "score": "0.593934", "text": "private static String transferPolygonToString(String polygon){\n\t\tStringBuffer sb = new StringBuffer();\n\t\tsb.append(\"POLYGON((\");\n\t\tString[] agrs = StringUtil.splitBySemicolon(polygon);\n\t\tfor (int i = 0; i < agrs.l...
f705ff802b044641130813c3eabd899f
Welcome when new Object added
[ { "docid": "9c5a6a0e81a11596ed614902b1769652", "score": "0.66530406", "text": "void memberAdded(String name){\n System.out.println(this.name+\" : Welcome, \"+name);\n }", "title": "" } ]
[ { "docid": "b798e48e3f2623b566c65fa2d8141cff", "score": "0.6263832", "text": "@Override\n public void onAddObject(us.heptet.magewars.game.events.GameEvent gameEvent) {\n logger.warn(\"onAddObject unimplemented.\");\n }", "title": "" }, { "docid": "7ca3243cf69ed3f8576049595237232...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "d2c82da6b941a4b15e99a75f615d69c6", "score": "0.0", "text": "@Override\n\tpublic void addCorsMappings(CorsRegistry registry) {\n\t\tregistry.addMapping(\"/authorize\").allowedOrigins(\"*\");\n\t\tregistry.addMapping(\"/accessToken\").allowedOrigins(\"*\");\n\t\tregistry.addMapping(\"/login\")...
[ { "docid": "63a51b9825ac81396e1d7ad0b9f3ed82", "score": "0.6866318", "text": "@Override\n\tpublic void 군무() {\n\t\t\n\t}", "title": "" }, { "docid": "15ae679aae74424c73fde647cf4332f6", "score": "0.68461496", "text": "@Override\r\n\t\t\tpublic void hissetmek() {\n\r\n\t\t\t}", "ti...
7e3ba15182495ef4f930493b6a3f8ead
Fields to be loaded from text file. If the text file contains a header, the field name must match the name in the header. The field name must also match the a field's name in the destination database table. If the file has no header, then the data is associated by fields in order.
[ { "docid": "8821b77f0e6737ccf98583cff57dc0be", "score": "0.0", "text": "@attribute(value = \"\", required = true)\t\r\n\tpublic void addDateField(DateField f) {\r\n\t\tfields.put(\"\" + fieldCount++, f);\r\n\t}", "title": "" } ]
[ { "docid": "01d4c9e6964f836413899acaced1646a", "score": "0.6047951", "text": "public List<String> readFields() throws IOException\n {\n List<String> fields = new ArrayList<String>();\n StringBuffer sb = new StringBuffer();\n String line = in.readLine();\n\n if (line == nul...
a08c2acf5e2c26fdbdf93c571157d672
test whether stack is empty
[ { "docid": "579fe771e694d292411f7e26631cc4f9", "score": "0.0", "text": "void insert(Object o){\n\t\tfirst = new Link(o,first);\n\t\t//head now is o has a tail first is the pointer\n\t}", "title": "" } ]
[ { "docid": "1cb927466425d09ca34a69793b05b1fc", "score": "0.88810545", "text": "public boolean isEmpty() { return theStack.isEmpty(); }", "title": "" }, { "docid": "71e1cf5d2d5e3060e9ca9fbbaf6944ce", "score": "0.8866641", "text": "public boolean stackEmpty()\n\t{\n\t\tif(stack.size...
96a92668b6efc395978e7ddcba5bc21f
private RelativeLayout skydrive_manager; private RelativeLayout manager_2_setup; private RelativeLayout module_msi; private RelativeLayout email_manager; private RelativeLayout storage_backup_setup; private RelativeLayout storage_manager;
[ { "docid": "aae19fdccd53b257accae27475b383e2", "score": "0.0", "text": "@Override\n protected void onCreate(Bundle savedInstanceState) {\n requestWindowFeature(Window.FEATURE_NO_TITLE);\n super.onCreate(savedInstanceState);\n setContentView(R.layout.setting_setup);\n MyAct...
[ { "docid": "0a199b5b1aef5bc9433212751e1cbb63", "score": "0.6810097", "text": "private AbsoluteLayout buildMainLayout() {\n \t mainLayout = new AbsoluteLayout();\r\n \t mainLayout.setImmediate(false);\r\n \t mainLayout.setWidth(\"100%\");\r\n \t mainLayout.setHeight(\"100%\");\r\n...
c8289c51da5fda9e1b71f9c9bb0d57db
Creates new form jif_pneu
[ { "docid": "7eb2095fec8cb87c12c044011d415609", "score": "0.0", "text": "public void fechar() {\n this.dispose();\n }", "title": "" } ]
[ { "docid": "f3d4e3470a57e4ca2b96b9ba468388c7", "score": "0.63807833", "text": "Form createForm();", "title": "" }, { "docid": "3b36c3cf554133243e19a4f5359712fe", "score": "0.6117493", "text": "@Override\r\n public OpstiDomenskiObjekat procitajUnosKorisnika() {\r\n Putovanje...
a7af49c25e75e575e2feefe09c608879
Verify that the scope receiving this statement is global.
[ { "docid": "8e573a7c011a3a93d60de45e6e589c15", "score": "0.0", "text": "public void endCode() throws ExecutorException {\n throw new ScopeException(UNCLOSED_METHOD);\n }", "title": "" } ]
[ { "docid": "b44c903f5498b555f2838d1f90aeb667", "score": "0.66569537", "text": "public boolean isGlobal() { return false; }", "title": "" }, { "docid": "7f8291dab63f52ef27ab7649b974c985", "score": "0.6536956", "text": "boolean hasScope();", "title": "" }, { "docid": "7f829...
381b83a877d083fde3177481b1ab6a0d
Constructoor om er voor te zorgen dat de integer vector gevuld is met 0.
[ { "docid": "ab42ec49e2a5ba71dcf9982bedd18ad2", "score": "0.0", "text": "public Nucleotiden() {\n Arrays.fill(aantallen, 0);\n }", "title": "" } ]
[ { "docid": "31e219eff4c24a31ba2cb229c9d83bad", "score": "0.70118594", "text": "private static void zero_V() {}", "title": "" }, { "docid": "85e917b3cf4f25bbe8fbb56b866b53a2", "score": "0.6983449", "text": "public vector(){//BLANK VECTOR\n\t\ti=0;j=0;k=0;\n\t}", "title": "" }, ...
7f7275ec155eb0aaab69cf27e54cd522
Return a String to pass into onPostExecute This method handles the HttpURLConnection, response code, and input stream
[ { "docid": "482a0219d92ca74c4d565a8951b8d4e3", "score": "0.0", "text": "@Override\n\t\tprotected String doInBackground(String... artist) \n\t\t{\n\t\t\t// Declare our JSON text\n\t\t\tString JSONString = \"\";\n\t\t\tint responseCode = 0;\n\t\t\t\n\t\t\t// Replace any spaces in the artist string with '%...
[ { "docid": "16e96ba6f445d298a3c15ea6c00180ac", "score": "0.7190299", "text": "@Override\n protected String doInBackground(String... params) {\n\n String str = params[0];\n String result = \"\";\n\n try {\n URL url = new URL(str);\n tr...
e6741598d1bf2c4fb3dddd8dfd7b17fa
After activites have finished
[ { "docid": "0ae6f1516020d3830c108d290afeb53c", "score": "0.0", "text": "protected void onActivityResult(int requestCode, int resultCode, Intent data) {\n\t\tsuper.onActivityResult(requestCode, resultCode, data);\n\n\t\tswitch (requestCode)\n\t\t{\n\t\t\tcase BT_ACTIVATE:\n\t\t\t\tif (RESULT_OK != result...
[ { "docid": "88214b40a144943df68be1b38d8aacac", "score": "0.690428", "text": "public void onFinish() {\n ProcessPhoenix.triggerRebirth(getApplicationContext());\n }", "title": "" }, { "docid": "40a8a3e843e912b2ffcd606cbae3a20b", "score": "0.687902...
08e84c797f5dce20760b49c3d21d7d62
check for required fields
[ { "docid": "716f1a335496cb334f2d19482d239687", "score": "0.0", "text": "public void validate() throws TException {\n }", "title": "" } ]
[ { "docid": "684de09b89a0d32d0bf47ee0f9ab2e54", "score": "0.7864415", "text": "private boolean checkRequiredFields() {\n boolean succcess = true;\n\n if (TextUtils.isEmpty(name.getText())) {\n name.setError(\"Name is required!\");\n succcess = false;\n }\n\n ...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "78de487e082e9c8e914a78515bd81a84", "score": "0.0", "text": "public void right() {\n\t\tif(blow(x+1,y,blockType,turnState)==1) {\r\n\t\t\tx=x+1;\r\n\t\t}\r\n\t\trepaint();\r\n\t}", "title": "" } ]
[ { "docid": "81005989525ec80103fbaf46f9c37779", "score": "0.6695466", "text": "@Override\n\tpublic void agit() {\n\n\t}", "title": "" }, { "docid": "0b5b11f4251ace8b3d0f5ead186f7beb", "score": "0.65689754", "text": "@Override\n\tpublic void comer() {\n\t\t\n\t}", "title": "" }, ...
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": "1a239553d1a9a50807c9256d7901f3e1", "score": "0.0", "text": "@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n //noinspection SimplifiableIfStatement\n if (id == R.id.action_settings) {\n return true;\n ...
[ { "docid": "66fb4eef026da4e1a08c9bebc57402c3", "score": "0.7865228", "text": "@Override\r\n\tpublic boolean onOptionsItemSelected(MenuItem item) {\r\n\t switch (item.getItemId()) {\r\n\t case android.R.id.home:\t\t//App icon in action bar clicked, so go to the main activity\t \r\n\t...
aeba2cece5b2d2f24cbcc6935f19a496
Returns a string with info about the literature
[ { "docid": "2e2f979b4470fc34413c7d7ff88e9200", "score": "0.7417754", "text": "public String getLiteratureInfo(){\r\n String returnString = \"\";\r\n returnString += \"Title: \" + getTitle() + \" \";\r\n returnString += \"by: \" + getPublisher() + \" \";\r\n \r\n return...
[ { "docid": "09f48b6c53a1fc409f921012428823a8", "score": "0.67200214", "text": "java.lang.String getInfoText();", "title": "" }, { "docid": "084ab21f7beaf171d7154cc655963175", "score": "0.6689006", "text": "String getDescription();", "title": "" }, { "docid": "084ab21f7bea...