query_id
stringlengths
32
32
query
stringlengths
7
129k
positive_passages
listlengths
1
1
negative_passages
listlengths
88
101
24ed67edb72bddb788802dc90429d261
lv_test=(ListView)getActivity().findViewById(R.id.lv_test); Toast.makeText(getContext(), "Call API SUCCESS", Toast.LENGTH_SHORT).show();
[ { "docid": "5fae44a91a389e2139181942f103d2c4", "score": "0.0", "text": "@Override\n public void onResponse(Call<AllTestQS> call, Response<AllTestQS> response) {\n AllTestQS alltest=response.body();\n// Toast.makeText(getBaseContext(), \"lấy dữ liệu bài thi thành ...
[ { "docid": "ed0cd56510f26a84d10c3fb03b6a8df4", "score": "0.70813245", "text": "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n View v = inflater.inflate(R.layout.fragment_my_events, container, false...
49c8b9585e570478e242935d9a7625c0
returns true if successful move, else returns false
[ { "docid": "6c70085cece863d00d3b19ae9b154239", "score": "0.0", "text": "private boolean canMoveRook(int curX, int curY, int newX, int newY, boolean turn) {\n\tif(!getRookMoves(curX, curY, turn).contains(new Pair(newX, newY)))\n\t\treturn false;\n\telse {\n\t\treturn true;\n\t}\n}", "title": "" } ]
[ { "docid": "78513ab56fa4bfbfe2a80ee507c0e9e0", "score": "0.83762443", "text": "public boolean move();", "title": "" }, { "docid": "930e41df30293017b4fdcef8dc92f9f9", "score": "0.80791783", "text": "boolean hasMove();", "title": "" }, { "docid": "992e703ecfe33d987f76222763...
3c2674b3dd992315ca815ed76bdca8b8
Get the "id" etapeInscription.
[ { "docid": "d7102f3c0810551376ad569608c14e5e", "score": "0.0", "text": "Optional<EtapeInscriptionDTO> findOne(Long id);", "title": "" } ]
[ { "docid": "d781136ba761071a3e6bafd7c6ef4c82", "score": "0.7283497", "text": "java.lang.String getId();", "title": "" }, { "docid": "d781136ba761071a3e6bafd7c6ef4c82", "score": "0.7283497", "text": "java.lang.String getId();", "title": "" }, { "docid": "d781136ba761071a3e...
fc7ad4c4e2fc0fb16de306b53d81fd2e
/ / / / / / / / / / / / / / /
[ { "docid": "90908b1cef2f433b4bbac6dc28ec52f0", "score": "0.0", "text": "public int compare(Object o1, Object o2)\n/* */ {\n/* 70 */ int compareCode = 0;\n/* */ try\n/* */ {\n/* 73 */ Comparable s1 = (Comparable)this.stringEncoder.encode(o1);\n/* 74 */ Comparable s2 = (...
[ { "docid": "d397bf2b198037b6a5099b7ab955e765", "score": "0.52891695", "text": "@Override\n public int getWidth(){\n //Offset for collision incase tail collides\n return width-10;\n\n }", "title": "" }, { "docid": "f82ec92db72e32d9b9a983d17b3248b8", "score": "0.521945"...
cdf3e5acdc01a799eade60d6963c4d93
Returns the JTA module configurations from the application configuration.
[ { "docid": "420e820312c33244edfe3033dfae9532", "score": "0.67531073", "text": "@Override\n\tprotected List<JTAConfig> getResourceConfig(InitializationContext context) {\n\t\treturn context.getApplicationConfig().getJTAConfigs();\n\t}", "title": "" } ]
[ { "docid": "e014941134fa4cd839ac41620c1f906b", "score": "0.53720903", "text": "public ApplicationConfigurations() {\n\t \tpackages(\"com.beee.sample.api\");\n\t }", "title": "" }, { "docid": "ebf4da957f1d681ae9d5a68174de38f2", "score": "0.5213361", "text": "public GraphTransact...
5107edfcc41343107ea31f7922b18d98
Handles the HTTP GET method.
[ { "docid": "6f1219d2c08584420209d3f2203825fa", "score": "0.0", "text": "@Override\n protected void doGet(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n processRequest(request, response);\n }", "title": "" } ]
[ { "docid": "9fe42397850a0bf0c267742ff743ff19", "score": "0.7319032", "text": "@Override\n\tpublic void doGet(Request req, Response res) throws Exception {\n\n\t}", "title": "" }, { "docid": "8a4b444634d10884d62ee8f877c2952d", "score": "0.72424144", "text": "@Override\n\tpublic void d...
421bac9c0c8137bf1a615b925f6d1813
Returns all the issue shifting orders.
[ { "docid": "3fee80d533c07193cbbfce2c3de38bef", "score": "0.8041532", "text": "public java.util.List<vn.dtt.duongbien.dao.vrcb.model.IssueShiftingOrder> findAll()\n\t\tthrows com.liferay.portal.kernel.exception.SystemException;", "title": "" } ]
[ { "docid": "ba7917423db626c86af25e1cbdd5b4fd", "score": "0.6531277", "text": "public vn.dtt.duongbien.dao.vrcb.model.IssueShiftingOrder fetchByPrimaryKey(\n\t\tlong id) throws com.liferay.portal.kernel.exception.SystemException;", "title": "" }, { "docid": "54b177245a6dedb1cdb47c4e1d254e9a",...
413bd794921cda48fbe07c60e78f455b
Main of the project.
[ { "docid": "bbd8fefe65c549c571ff11392625c936", "score": "0.0", "text": "public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n GameHandler gameHandler = new GameHandler(in);\n gameHandler.handleGame();\n in.close();\n }", "title": "" } ]
[ { "docid": "2492bc14a0b413f572775294ea249890", "score": "0.7570989", "text": "public Main(){}", "title": "" }, { "docid": "bd037617743dd831b6bcde21456313b9", "score": "0.74356365", "text": "void makeMain();", "title": "" }, { "docid": "83f62978cddceb8cb6bcbb13fa618709", ...
322d6f13b353b8aaead2f18b65bc3e57
Returns the value of the 'Default Value Human Name' containment reference. The value that should be used if there is no value stated in the instance (e.g. 'if not otherwise specified, the abstract is false'). (choose any one of the elements, but only one)
[ { "docid": "0bf4f31f3db215e3af2a490ab1e4ac64", "score": "0.8042443", "text": "HumanName getDefaultValueHumanName();", "title": "" } ]
[ { "docid": "f2fa2dd5cf98f291e27a8ca99a08f57d", "score": "0.7255373", "text": "public String getDefaultValue() {\n \t\tif (isDiscrete || hasRange)\n \t\t\treturn elements.get(0);\n \t\telse {\n \t\t\tif (elements.size() > 0)\n \t\t\t\treturn elements.get(0);\n \t\t\telse\n \t\t\t\treturn DataTypes.getDef...
c820d08b464166eaa97089a07980f12c
Getter method for param. Meta Data Information (in progress): full name: reportitem.param default value: ''::text column size: 2147483647 jdbc type returned by the driver: Types.VARCHAR
[ { "docid": "7562804277dc5ff98ceab5c2eac24ed9", "score": "0.69797593", "text": "public String getParam()\n {\n return param; \n }", "title": "" } ]
[ { "docid": "c67b8b05e1ab58edaabbf2b77144bbcc", "score": "0.6842265", "text": "@SqeDescriptorKey(\"ATTRIBUTE Param\")\n public RjmxMBeanParameter getParam() ;", "title": "" }, { "docid": "20649b17b638c9f5e4c87d726dfdd8eb", "score": "0.67856824", "text": "public StrColumn getParamet...
09f0d1d567d4f57327200c39d999bac8
calculates the distance between
[ { "docid": "3436dbd66d90651b2494b97ae0790550", "score": "0.62200534", "text": "private int getDistance(int[] a, int[] b){\n\t\tif(a.length != b.length)\n\t\treturn 0;\n\t\tint distance =0;\n\t\tfor(int i=0;i<a.length;i++){\n\t\t\tif((a[i]-b[i])>0){\n\t\t\t\tdistance += (a[i]-b[i]);\n\t\t\t}\n\t\t\telse ...
[ { "docid": "75c0d1c20fc1dedfcab151f6b69903cb", "score": "0.8069975", "text": "public void calculateDistance(){\r\n\t\tVector3D pf= CoreOpenGL.latLonToPoint(from.getLat(), from.getLon());\r\n\t\tVector3D pt= CoreOpenGL.latLonToPoint(to.getLat(), to.getLon());\r\n\t\tfloat angle = pf.getAngleBetween(pt);\...
7822f812685ae3bab05fd30cb15281c5
method to return the clubs in the array list
[ { "docid": "bf337d1cff7b2fd91a01ba226ba6b510", "score": "0.67812777", "text": "public String [] getClubNames(ArrayList<Club> list)\n\t{\n\t\tString [] theClubs = new String[list.size()];\n\n\t\tfor(int i=0; i<list.size(); i++)\n\t\t{\n\t\t\ttheClubs[i] = list.get(i).getClubName();\n\t\t}\n\t\treturn the...
[ { "docid": "bdfd58f776154800d6ac4e05c217558d", "score": "0.66252506", "text": "public ArrayList<String> getListClubNames(ArrayList<Club> list)\n\t{\n\t\tArrayList<String> theClubs = new ArrayList<String>();\n\t\tfor(int i=0; i<list.size(); i++)\n\t\t{\n\t\t\t//theClubs.set(i, list.get(i).getClubName());...
5b921f0e3157631b3f55e9e0d79ca6de
Make the Menu table
[ { "docid": "1f6434a464e3e04d9fa797fb3ae4dbc4", "score": "0.73595583", "text": "private Table getMenuTable()\n {\n Table table = super.getTable();\n table.clear();\n //table.setPosition(480/2, 800 * 0.8f);\n Label lblWelcome = new Label(\"SnD Level Selection\", super.getSki...
[ { "docid": "91010e3493ec13758193e53a17eb3cc7", "score": "0.6735342", "text": "private void createMenuBar() {\n\t\tJMenuBar menubar = new JMenuBar();\n\t\tImageIcon icon = new ImageIcon(\"exit.png\");\n\n\t\tJMenu file = new JMenu(\"File Load\");\n\t\tJMenu file2 = new JMenu(\"Reset Data\");\n\n\t\tJMenu...
11a1b0d36eedc6cacbed7b6dd22c1325
for every temp in code, we add a corresponding interval
[ { "docid": "3546eb256f7aecd9ec14fdbcb81fdd62", "score": "0.0", "text": "public void initInterval(int num, MMethod mMethod) {\r\n if (mMethod.intervals.containsKey(num))\r\n return;\r\n if (num < 20)\r\n mMethod.intervals.put(num, new Interval(0, curLine, num));\r\n ...
[ { "docid": "431f3e2e39f9e734c8a84ae814d0947b", "score": "0.60674274", "text": "int getNextInterval();", "title": "" }, { "docid": "d6fdb420f8f8e2aeaec74fc753482bec", "score": "0.5627914", "text": "private String[] buildIntervallsForTrafficLightForecast(int interval, String unit) {\n ...
d1daf3ad99a52a3c1dc5f17112f46cfb
Load dummy order data from json file
[ { "docid": "05b5e54fcf80e75ce7998805ea2e0c10", "score": "0.6782967", "text": "@Before\n public void setUp() throws IOException {\n ObjectMapper mapper = new ObjectMapper();\n TypeReference<PurchaseOrder> typeReference = new TypeReference<PurchaseOrder>(){};\n InputStream inputStr...
[ { "docid": "db4c76d5a271cdbd34064aecc49cb21b", "score": "0.6769846", "text": "private void readIt() {\n\n\n try {\n File thisFile = new File(\".\");\n for (File f : thisFile.listFiles()) {\n if (f.getName().endsWith(\".json\")) {\n // Now yo...
60f693ec308b10ff51c23191429671f7
METHODES methode qui fait deplacer la munition si direction =1 > avance vers la gauche si direction =1 > avance vers la droite
[ { "docid": "f34abebac2cdb9ae4e6dcce08ddcecb9", "score": "0.61723626", "text": "public void deplacer(){\r\n if(this.posX +this.direction*this.vitesse <= this.posXMax){\r\n this.posX += this.direction*this.vitesse;\r\n }\r\n\r\n\r\n }", "title": "" } ]
[ { "docid": "e257fe5a687f05e54b0c4f96440e11dd", "score": "0.6721778", "text": "public void update() {\n super.update();\n if (Math.abs(pivot) > 100 * Teal.MachineEpsilon) {\n if (direction == null) direction = new Vector3d(getDirection());\n Vector3d new_direction = ne...
59301fdf295da692f5142d97423a97da
starting at the root, return the max value in the BST. Use recursion!
[ { "docid": "76949383b161e9ad8d9f4df90e0533d5", "score": "0.76430285", "text": "public static Object max(TreeNode t)\r\n {\r\n \r\n if (t.getRight() == null)\r\n {\r\n return t.getValue();\r\n }\r\n return max (t.getRight());\r\n \r\n }", "title": "" } ]
[ { "docid": "ce8c68776c9e170024857beb6366525c", "score": "0.8418645", "text": "public Node_BST findMax() {\r\n\r\n Node_BST current = root;\r\n Node_BST last = null; /* the last node is hold the las value when current hit null */\r\n\r\n while (current != null) {\r\n ...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "cba999027d4d8dc1b87efd0fbaac981c", "score": "0.0", "text": "@Override\n\tpublic boolean SaveInfor(String a, String b, String c, String d)\n\t\t\tthrows RemoteException {\n\t\tResultSet kq=null;\n Statement stCmd;\n\t\t\n\t\t\ttry {\n\t\t\t\tstCmd = con.createStatement();\n\t\t\t\tStri...
[ { "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...
952b2838eac1338449fcbfdb589d4250
/ set title dialogue alert
[ { "docid": "1f2e52106f96764f67d4f7da9a2cb115", "score": "0.0", "text": "public void newAccountApiChatak(final String email, final String password, final String nama, final String nohp) {\n final AlertDialog.Builder dlgAlert = new AlertDialog.Builder(LinkAccountActivity.this);\n dlgAlert.se...
[ { "docid": "60a28b4d11dea801cb2b9a37a8b784c8", "score": "0.8025104", "text": "public void setTitle(String title)\n {\n dlgTitle = title;\n }", "title": "" }, { "docid": "4769d63863c7defcdd34fc7705aa2598", "score": "0.76796126", "text": "public void setAlertTitle(String value)\r\...
2d5c6c814366c75b9ed8eb12d5085d13
these conceptually are really network addresses
[ { "docid": "431cb3af9b3db98500bd5e3128453c41", "score": "0.0", "text": "public String getSource();", "title": "" } ]
[ { "docid": "7f8329455372f0e5a64b7148379e8c7a", "score": "0.6859376", "text": "String getPublicAddress();", "title": "" }, { "docid": "76cd82fb800327fc626c1dadd6734752", "score": "0.6747942", "text": "public static void main(String[] args) throws Exception {\n InetAddress[] ine...
6c863257bd33a7952bfd40877fcee063
retrieve a specified range from currentSpreadsheet, return string matrix with its data. example usage: readRange("Sheet1","A1:D4");
[ { "docid": "2805f51da61060cf436e63f0608b029c", "score": "0.6525459", "text": "public String[][] readRange(String sheetTitle, String range) {\n\t\tboolean success = true;\n\t\tList<ArrayList<String>> data = new ArrayList<ArrayList<String>>();\n\t\tString[][] vals;\n\t\tint terms = 0, nulls = 0;\n\t\tStri...
[ { "docid": "1979a6fd3764315f89d1bd58b76f894a", "score": "0.66784775", "text": "String getRange();", "title": "" }, { "docid": "ca0207d09dbde933a3648d9fcd6e3589", "score": "0.6585384", "text": "@VTID(10)\n com.exceljava.com4j.excel.Range getRng();", "title": "" }, { "doci...
0b521f8eb1328130ed7f99c5edadba2e
this method will find the next stop codon's index and return it. Once it is returned, the substrings in both aligned strings from these sequences will be counted with numberOfAlignedCodons() and the RFC score will be stored.
[ { "docid": "4371b259ba59932f741a3938e8daac6d", "score": "0.68591493", "text": "public static int findStop(SequencePair<DNASequence, NucleotideCompound> psa, int startIndex)\n\t{\n\t\tAlignedSequence<DNASequence, NucleotideCompound> rec = psa.getQuery();\n\t\tString trueReconstruction = rec.toString();\t...
[ { "docid": "3c98cc47738f8e116065eb34d6ebf923", "score": "0.5780807", "text": "void testFindStopCodon(){\n String dna1 = \"ATGCGCAAGTAGGTA\";\n if(findStopCodon(dna1, 0, \"TAA\") != 15){System.out.println(\"Error dna1\");}\n // ATGv v v TAA\n String dna2 = \"ATG...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "0f1a79689c5c220079fdadc0effe5ba0", "score": "0.0", "text": "@Override\r\n\tprotected void createToolBarActions(IManagedForm managedForm) {\n\t\tfinal ScrolledForm form = managedForm.getForm();\r\n\t\t//水平布局操作\r\n\t\tAction hAction = new Action(\"horizon\", Action.AS_RADIO_BUTTON) {\r\n\t\t ...
[ { "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": "" }, ...
a693af70b68a1e9f1e9764922b12ade8
Display the allotted API names below each slots after the slot machine stops
[ { "docid": "2e213dda0bae5c8c3f9f97a160e80b45", "score": "0.69370157", "text": "@Override\n public void onFinish() {\n startWaitTimer(PrivateContract.SLOT_WAIT_TIME);\n DataHandler.getInstance(getContext()).saveSlotLastUsed(System.currentTimeMillis());\n ...
[ { "docid": "57e4dd620a0c346eca5cffcd777b5c19", "score": "0.6222289", "text": "private void animateSlots() {\n\n trigger.setEnabled(false);\n AnimatorSet set = new AnimatorSet();\n set.playTogether(ObjectAnimations.slotTranslateAnimation(slot1, 60),\n ObjectAnimations....
d726e0befcb6b1a190e532bb2d7dddb5
Bind protocol response message used to confirm the results of a bind request message. BindResponse consists simply of an indication from the server of the status of the client's request for authentication.
[ { "docid": "de9a8d34bcc5b31a3c30be777badac10", "score": "0.64691645", "text": "public interface BindResponse extends ResultResponse\n{\n /**\n * Gets the optional property holding SASL authentication response parameters\n * that are SASL mechanism specific. Will return null if the authenticat...
[ { "docid": "dcddef77996ee46d888341938de250af", "score": "0.68033224", "text": "public static Response createChannelBindResponse() {\n\t\tResponse channelBindSuccessResponse = new Response();\n\n\t\tchannelBindSuccessResponse.setMessageType(Message.CHANNELBIND_RESPONSE);\n\n\t\treturn channelBindSuccessR...
26cdddbc3d3ae62a81698a43e6ec7ba1
Returns the value of the 'Edition Pattern' reference. If the meaning of the 'Edition Pattern' reference isn't clear, there really should be more of a description here...
[ { "docid": "0ae40600d0fdb9c72e3416755223e722", "score": "0.8345007", "text": "EditionPattern getEditionPattern();", "title": "" } ]
[ { "docid": "2990d26f905a8b631551dd0d769085b3", "score": "0.68943405", "text": "public int getEdition() {\n\treturn edition;\n}", "title": "" }, { "docid": "b0cfb271332f8dee9c9642cfdbf3f571", "score": "0.6841633", "text": "public int getEdition() {\n return edition;\n }", ...
01abbc4532653d2effe43f97bb9898ff
get room items not synced
[ { "docid": "a08ce7653024a9452fe5a37017bcc3b8", "score": "0.67066675", "text": "public List<AppModel> getRoomItemsNotSynced(int syncStatus) {\n List<AppModel> arrayList = new ArrayList<AppModel>();\n SQLiteDatabase sqLiteDatabase = this.getWritableDatabase();\n Cursor cursor = sqLite...
[ { "docid": "573266cde7959dff5c2bec992b35cfd9", "score": "0.61325115", "text": "public List<AppModel> getRoomsNotSynced(int syncStatus) {\n List<AppModel> arrayList = new ArrayList<AppModel>();\n SQLiteDatabase sqLiteDatabase = this.getWritableDatabase();\n Cursor cursor = sqLiteData...
d3ac542854b74f0c9152cce894ca845b
repeated .dstore.engine.MetaInformation meta_information = 2;
[ { "docid": "b86bc51283ba2021234d757548ca09b2", "score": "0.0", "text": "public java.util.List<io.dstore.engine.MetaInformation> getMetaInformationList() {\n return metaInformation_;\n }", "title": "" } ]
[ { "docid": "9eb6bd4be12bb9ad5710f390745d0e11", "score": "0.67620784", "text": "io.dstore.engine.MetaInformation getMetaInformation(int index);", "title": "" }, { "docid": "9eb6bd4be12bb9ad5710f390745d0e11", "score": "0.67620784", "text": "io.dstore.engine.MetaInformation getMetaInfor...
c4aac080fcd65a538f62b7b02d5a6a96
Initialize your data structure here.
[ { "docid": "65e455bd66c451e96fd6c3156dc57fd2", "score": "0.0", "text": "public RandomizedCollection() {\n locMap = new HashMap<>();\n nums = new ArrayList<>();\n random = new Random();\n }", "title": "" } ]
[ { "docid": "fcb367d14f572801ee6ce5d0037165f7", "score": "0.8077237", "text": "private void initData() {\n\t\t\r\n\t}", "title": "" }, { "docid": "263f97a2adcf8f9b684e428196c5bbe6", "score": "0.769267", "text": "public void initialize()\n {\n setData();\n }", "title":...
9867e92cd49324ae664f2ab1ab1d3220
Returns the angular direction (RADS)
[ { "docid": "160401416a8e1f810943597cf33e31db", "score": "0.0", "text": "public double getTheta() {\n return theta;\n }", "title": "" } ]
[ { "docid": "259d35a7d978f915022bef21af54dd93", "score": "0.73812526", "text": "public double getDirection() {\n double value = Math.atan(magY/magX);\n // Convert to clockwise.\n value *= -1;\n // And move zero to north (instead of east).\n value += Math.PI/2;\n\n ...
6328c0a5c59dd3211d96d8b5f64b38e4
Sets the client ID.
[ { "docid": "262f8ec2d916666a3390a30fb93b8194", "score": "0.0", "text": "public Builder setClientID(String clientID) {\n _packet.setClientID(clientID);\n return this;\n }", "title": "" } ]
[ { "docid": "7a6122552685c7f4f8f5288681325bf8", "score": "0.8085819", "text": "public void setClientID(int id)\n\t{\n\t\tassert (id >= 0);\n\t\tif(id >= 0)\n\t\t\tthis.clientID = id;\n\t}", "title": "" }, { "docid": "4a957fc40a89a91c15aa5b8b908e6772", "score": "0.78573114", "text": "p...
33907669158bcc4e36db9dd7c42b80ad
Registers an event listener that will be invoked when the detected entity capabilities for any entity have changed. If the listener already is registered, the invocation of this method will be a noop.
[ { "docid": "0eccd1b1fc954ac9347525ee298977e9", "score": "0.69962585", "text": "public void addListener( @Nonnull EntityCapabilitiesListener listener ) {\n allUserCapabilitiesListeners.add( listener );\n }", "title": "" } ]
[ { "docid": "85298f6fb4a449d7776277e6f829369c", "score": "0.7143932", "text": "public void addListener( @Nonnull JID entity, @Nonnull EntityCapabilitiesListener listener ) {\n userSpecificCapabilitiesListener.put( entity, listener );\n }", "title": "" }, { "docid": "93f01661d2034da4...
8c8de216d48ba1e710f2f75b36721fb0
This generates a list from a given data stream of a raw resource.
[ { "docid": "6ebc5c013567ffd742b1dc1c79cd7109", "score": "0.0", "text": "public void generate(HomeTag[] tagsArr) {\n\t\tfor (int i = 0; i < tagsArr.length; i++) {\n\t\t\tHomeTag tag = tagsArr[i];\n\t\t\t// Creates new object using these values.\n\t\t\tSlidingMenuListItem slidingMenuListItem = new Sliding...
[ { "docid": "213172bc5180554212c1027bc64b7d9b", "score": "0.5445808", "text": "public static List<RoomEntry> initRoomEntryList(Resources resources,InputStream inputStream) {\n // inputStream = resources.openRawResource(R.raw.rooms);\n Writer writer = new StringWriter();\n char[] buffe...
82fcf81a831900cba44ee753b397dd92
Creates a new media package in the temporary directory defined by the java runtime property java.io.tmpdir.
[ { "docid": "8bbff9a15ba0a984317f396cb76eb9c9", "score": "0.6144461", "text": "MediaPackage createNew() throws MediaPackageException;", "title": "" } ]
[ { "docid": "4c1ba64aea83965327eb5e8b29570b18", "score": "0.63897455", "text": "public static String createTempFolder() throws IOException\r\n\t{\r\n\t\tFile file = File.createTempFile(\"Test-res\", \"\");\r\n\t\tFile userTempFolder = file.getParentFile();\r\n\t\t\r\n\t\tfile.delete();\r\n\t\tFile tmpFol...
9e0be3032f00b4d09d267d2d7ce2bf6f
This method was generated by MyBatis Generator. This method sets the value of the database column LIANGFA_XINXIANG20170424.CASE_FENPAI.UNDERTAKER
[ { "docid": "8cf3fd2bc40d3af9db67a8ac730922fc", "score": "0.4184053", "text": "public void setUndertaker(String undertaker) {\n\t\tthis.undertaker = undertaker;\n\t}", "title": "" } ]
[ { "docid": "60e4c288f367ea2f3405ba6bb1935cd9", "score": "0.5259057", "text": "public void setPelanggan(Customer pelanggan)\n {\n this.pelanggan=pelanggan;\n \n }", "title": "" }, { "docid": "b054714c7dc4c5ff28f0864b043a937a", "score": "0.48433724", "text": "public...
f8b7630a726fc9a15165aab1cf74fa86
This method is to get boolean value of Developer Console webelement
[ { "docid": "a8825e42bbcde956c239802e268f7fa3", "score": "0.64859194", "text": "public boolean checkDeveloperConsole() {\n\n\t\treturn check_developerconsole.isDisplayed();\n\n\t}", "title": "" } ]
[ { "docid": "77cc169a05470315b4693d5ddbec4642", "score": "0.69697255", "text": "public boolean isPrinted() \n{\nObject oo = get_Value(\"IsPrinted\");\nif (oo != null) \n{\n if (oo instanceof Boolean) return ((Boolean)oo).booleanValue();\n return \"Y\".equals(oo);\n}\nreturn false;\n}", "title": "" ...
e501307ad03fcf7ee6f562a545880605
Test advancing to next level
[ { "docid": "425046ec1f7f5014481fe8c153dc04f4", "score": "0.0", "text": "@Test\n\tpublic void initializeGame() {\n\t\t// Set score so can advance\n\t\tengine.getBoard().getPlayer().setScore(5);\n\t\tassertEquals(5, engine.getBoard().getPlayer().getScore());\n\t\t\n\t\t// Level should now advance and scor...
[ { "docid": "84bb1f25174394e1765c8371d3dd3461", "score": "0.7660282", "text": "public void goNextLevel(){\n currentLevelIndex++;\n }", "title": "" }, { "docid": "74b839fd2b4cf52fb4fec26de41dbe6a", "score": "0.7318192", "text": "public boolean nextLevel() {\n\t\trestartTimer(...
2a671fceb77b4d99711692300904723c
Variables DriverManager instance = null;
[ { "docid": "22240113f6b1f095b2f1445c556d7d0e", "score": "0.0", "text": "public static void main(String[] args) throws InterruptedException {\n WebDriver driver;\n //---Variables---\n \n System.setProperty(\"webdriver.gecko.driver\", \"D:\\\\SourceCode\\\\Java\\\\Selenium\\\\g...
[ { "docid": "0cf6feeaddf69d25423149bb2cce7103", "score": "0.6513776", "text": "private WebDriver getInstanceDriver() {\n\t\t\r\n\t\tif(PropertyConstant.browser.equalsIgnoreCase(\"chrome\")) \r\n\t\t{\r\n\t\t\tlogger.info(\"Initializing chrome Driver\");\r\n\t\t\tSystem.setProperty(\"webdriver.chrome.driv...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "6bda2e6e0ed9d1afd59b667809923e9b", "score": "0.0", "text": "@Override\r\n\tpublic List<Student> findAll(PageEntiy entiy) {\n\t\tConnection conn=null;\r\n\t\tPreparedStatement ps=null;\r\n\t\tResultSet resultSet=null;\r\n\t\ttry {\r\n\t\t\tconn=Dbconn.getConnection();\r\n\t\t\tString sql=\"se...
[ { "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 ...
a457632a068fc49cdef6980c5bf5b215
Opens a file chooser dialog and returns the path to the selected file.
[ { "docid": "8febe51632ed91924ca47fac3f7874ea", "score": "0.6666405", "text": "public static String chooseFile(Component parent, String dir, FileFilter filter, int mode) {\n\t \tJFileChooser fc = new JFileChooser();\n\t \tfc.setFileSelectionMode(mode);\n\t fc.setCurrentDirectory(new File(dir...
[ { "docid": "a12f7c84639920a6b11dc7b266558fbd", "score": "0.78527695", "text": "public static File chooseFile() {\n final FileChooser fileChooser = new FileChooser();\n file = fileChooser.showOpenDialog(null);\n if (file != null) {\n return file;\n } else {\n ...
e699d01a6b716d9c74516da1eae20f18
Set a new value for the lowest price.
[ { "docid": "0a16cae1507df09a59e2815149d2cd21", "score": "0.6722522", "text": "public void setLow(final Double low) {\n\t\tthis.low = low;\n\t}", "title": "" } ]
[ { "docid": "fea1422d17017fc777387092cbe83db4", "score": "0.79297584", "text": "public void setMinPrice(double val) {\n\t\tminPrice = val;\n\t}", "title": "" }, { "docid": "c95b32a4b4e9c7aca5ec41fe9cd0328a", "score": "0.77379", "text": "public wangzitian.realtime.ZhiShu.Builder setLow...
bceb3e19caec8a807a761af7b91d9ae8
Return the user having the passed username or null if no user is found.
[ { "docid": "2b8373f87fa7041f50b296b38a6b147a", "score": "0.0", "text": "User findByUsername(String username);", "title": "" } ]
[ { "docid": "23ca14e59eba293ba6a8927cd4b5e1f5", "score": "0.8458631", "text": "public User getUser(String username) {\n // This approach will be pretty slow if we have many users.\n for (User user : users) {\n if (user.getName().equals(username)) {\n return user;\n }\n }\n re...
cdb1f2e1b5ce25c2c4740935e08d4e66
Gets the user group name.
[ { "docid": "14e76e53e0892f807cf4e6ebf2763a9a", "score": "0.656145", "text": "public static String getUserGroupName(Long identifier)\r\n \t{\r\n \t\tif (identifier == null)\r\n \t\t{\r\n \t\t\treturn \"USER_\";\r\n \t\t}\r\n \t\treturn \"USER_\" + identifier;\r\n \t}", "title": "" } ]
[ { "docid": "ebdd9aafefa455e429acb1ad4f76b84a", "score": "0.7703985", "text": "public String getGroupname() {\n return groupname;\n }", "title": "" }, { "docid": "f2a68e65c8c0dc7c70c0cf97673b0d6d", "score": "0.72854125", "text": "public String getGroupName() {\n return gr...
25a76f80d23e03948fd86cd556f6d032
Create a new Game without starting it
[ { "docid": "58ee1c36177a569396af6dc9c63f95ec", "score": "0.0", "text": "public Game(int width, int height, int numWorkers) {\n Position.setSize(width, height);\n this.numWorkers = numWorkers;\n }", "title": "" } ]
[ { "docid": "4c426ca87e4c3352fd6fe31b92253967", "score": "0.7864947", "text": "private static void newGame() {\n\t}", "title": "" }, { "docid": "9569c751e7928e17aa404e7aa7b9d749", "score": "0.7739409", "text": "public void createSingleGame();", "title": "" }, { "docid": "9...
ddfe6a1e3c48804145ae8c43544f7dff
Drops the underlying database table.
[ { "docid": "e6bbe60a4e1b2e8bf1b37916d0d21c2f", "score": "0.6309212", "text": "public static void dropTable(Database db, boolean ifExists) {\n String sql = \"DROP TABLE \" + (ifExists ? \"IF EXISTS \" : \"\") + \"\\\"LOCAL_BEAN\\\"\";\n db.execSQL(sql);\n }", "title": "" } ]
[ { "docid": "882e63c7874825085904897fa00c1377", "score": "0.7789895", "text": "public void dropTable();", "title": "" }, { "docid": "c62fe4fdb94bb4f276f04a774d40e0bc", "score": "0.76284015", "text": "@Override\r\n public void dropTable() {\n if(tableIsExist(TABLE_NAME)){\r\n...
2f54742303785efd5c1615d4d7b25b77
Get the sprite's height.
[ { "docid": "e8a65ff807d1abdfeef4088bd8c0c108", "score": "0.7467563", "text": "public int getHeight() { return mHeight; }", "title": "" } ]
[ { "docid": "4d891457aa704ac08ac7dd25dcf3fd91", "score": "0.88091344", "text": "public final int getSpriteHeight() {\r\n return this.spriteHeight;\r\n }", "title": "" }, { "docid": "5a9b2f3b1198d522ad67c054f04f2710", "score": "0.83521193", "text": "public float getOriginalSp...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "8b2df7b5e157fb52d736e5f2577c6e1d", "score": "0.0", "text": "@Override\n\t\t\tpublic void onStallWarning(StallWarning warning) {\n\t\t\t\t\n\t\t\t}", "title": "" } ]
[ { "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...
5d73c4b4a8f1d5a616f351b3991950f8
always check for empty input.
[ { "docid": "47fb55bba913ef4b2dc8f126331e8b8c", "score": "0.0", "text": "public static List<Interval> merge( List<Interval> intervals) {\n if(intervals.isEmpty()) {\n return intervals;\n }\n\n // sort by start time.\n intervals.sort(new Comparator<Interval>() {\n ...
[ { "docid": "4de81d96302cd2d8b78f6bbe3b7269cf", "score": "0.77660275", "text": "public boolean needsInput() {\n return ( length <= 0 );\n }", "title": "" }, { "docid": "09031d6f08cc3fa3cb14d30ad02308ad", "score": "0.7690361", "text": "private void checkIfInputIsEmpty() {\n ...
b8ed6834af98755b1b6dbe361ffb6266
To change body of generated methods, choose Tools | Templates.
[ { "docid": "1474539803fc54020dbb1624a0bd5172", "score": "0.0", "text": "@Override\n public void windowIconified(WindowEvent we) {\n }", "title": "" } ]
[ { "docid": "a624b89db95eebb0d7e745f8301395c1", "score": "0.7016926", "text": "public void method() {\n\t\t\t\t\n\t\t\t}", "title": "" }, { "docid": "ec621ac2ec54c80c7c2d05d8849d19e2", "score": "0.701014", "text": "public void letsgowithMethods() {\n }", "title": "" }, { ...
1aa96747ea3b2cb565f63ced27cb8016
Apresenta os dados de um determinado Produto Este m\u00C3\u00A9todo permite consultar um determinado Produto a partir do seu c\u00C3\u00B3digo de identifica\u00C3\u00A7\u00C3\u00A3o (id).
[ { "docid": "f305051cbac8e194846f586403675d0e", "score": "0.0", "text": "public ProdutoDetalhesResponse consultarUsingGET16(Long id) throws ApiException {\n Object postBody = null;\n \n // verify the required parameter 'id' is set\n if (id == null) {\n throw new ApiException(400, \"M...
[ { "docid": "962a30cf96336eaf87c6fdc51aeb9804", "score": "0.6918502", "text": "public Cidade pesquisarId() {\n this.mensagem = \"\";\n\n Controle controle = new Controle();\n\n Cidade cidade = controle.pesquisarCidadePorId(String.valueOf(this.id));\n\n this.mensagem = controle...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "1f4b6ab5d6affb583b3e9e7d961ef9cd", "score": "0.0", "text": "@Override\n\t\tpublic void mouseExited(MouseEvent e) {\n\t\t\t\n\t\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...
8bff538a326e9f3ce6625b68a5664e67
Initialize the contents of the frame.
[ { "docid": "aac59ab0fbda7366b6a0a823269f9955", "score": "0.0", "text": "private void initialize() {\n\t\tDimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();\n\t\tfrmPrincipal = new JFrame();\n\t\tfrmPrincipal.setTitle(\"PRINCIPAL\");\n\t\tfrmPrincipal.setBounds(100, 100, 674, 581);\n\t\t...
[ { "docid": "eec4e7f1b87ef8b4320509df7493a0d4", "score": "0.8125531", "text": "public _Frame() {\n\t\tsuper();\n\t\tinitialize();\n\t}", "title": "" }, { "docid": "16f9c8717055ca09a518ec91a86468d6", "score": "0.75012314", "text": "private void initialize() {\n frame = new JFram...
74b60de2391b793febdf721a11272e7d
judege whether userID and password is right
[ { "docid": "f09831a4f2e8328ff81eb9481c9b540c", "score": "0.73415184", "text": "public static Boolean TestUserPass(String userID, String password) {\n\n\t\tConnection con = ConnectDatabase.connectDB();\n\n \t\tPreparedStatement preSql;\n\n\t\tResultSet rs;\n\n\t\tString sqlStr = \"select * from usertab...
[ { "docid": "1c2a6e57b514a272f1f25ec880d9b45d", "score": "0.75747544", "text": "private boolean authenticate(String userId, String password) {\n /* This needs to be filled in by students. */\n return true;\n }", "title": "" }, { "docid": "5a629f92a6704fd86b187d9e9de2d556", ...
bac04882b04b242ba29659d1f5bce560
This ia a test
[ { "docid": "4175c5379757fce82e88cf67761d31df", "score": "0.0", "text": "public interface IContractorInfoDao extends Serializable{\n\n\tList<ContractorInfo> findAllContractorInfo() throws DAOLayerException;\n\n\tContractorInfo findContractorInfoByName(String name) throws DAOLayerException;\n\t\n}", "...
[ { "docid": "6e6c551cc00bbc1ce1c63aa9ce1dbe64", "score": "0.6935364", "text": "private void testthings() {\n\t}", "title": "" }, { "docid": "662dc399f303c997c9d32b718cdb9c37", "score": "0.6633913", "text": "@Override\n\tpublic void test() {\n\n\t}", "title": "" }, { "docid...
5c559b18d39c8ed3bc7407f1f5486338
Implements abstract method. Set the component attribute of this class to a JPanel object.
[ { "docid": "9c29847caec2fc7021f0ce1ab31f1915", "score": "0.69845676", "text": "void initializeComponent() {\n\t\tthis.panel = new JPanel();\n\t\tsuper.setComponent(panel);\n\t}", "title": "" } ]
[ { "docid": "e4a62f67e3f380aa3410c5def7c0feed", "score": "0.6883054", "text": "@Override\n @NotNull\n public JComponent getComponent() {\n return myPanel;\n }", "title": "" }, { "docid": "98dfcb6d6ff04c1d09e9aabda93c36c3", "score": "0.6863903", "text": "public NewJPanel() {\n ...
9d4ec5f28ab616168f476d346932449f
Generate the .moml file for this nesC application.
[ { "docid": "07679c1521a3d9a9be4a103fe954f248", "score": "0.52446896", "text": "public void generatePtinyOSModel(String componentName, String outputFile,\n\t\t\tString directorOutputDir, String opts, String micaboardFile)\n\t\t\tthrows IllegalActionException, NameDuplicationException {\n\t\tElement root ...
[ { "docid": "be2eed96d57cb9fbb71ab2b3a30dc9fc", "score": "0.5523912", "text": "private void generateMC() {\n\t\ttry {\n\t\t\t// Primary Metric Modified Cyclomatic Complexity (MC)\n\t\t\tcsvWriter.append(\",,Modified Cyclomatic Complexity (MC),,,,\");\n\t\t\t// For each class in the project\n\t\t\tfor(Str...
5e3fb1b3533a320f747e44e5d2b18829
Inputs the string in the char array on wanted position.
[ { "docid": "d7d8f66b6c3b957a725427513721bcef", "score": "0.561495", "text": "public static char[] offset(char[] array, String str, int position) {\n\n\t\t\tchar[] newChar = new char[array.length + str.length()];\n\n\t\t\tint offset = str.length() + position;\n\n\t\t\tfor (int i = 0; i < array.length; i+...
[ { "docid": "74820d750854305f9f4dc7caba1a67a7", "score": "0.63717455", "text": "public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n String str = scanner.next();\n StringBuilder answer = new StringBuilder();\n int index = scanner.nextInt();\n ...
9ab62051a2db81b7e18e6528575a5320
1. get reference to readable DB
[ { "docid": "9931f458e27847f0a38a9ad7949082a4", "score": "0.0", "text": "public List<chartSector> getNewsFeed(String fund){\n List<chartSector> holdings = new LinkedList<chartSector>();\n SQLiteDatabase db = this.getReadableDatabase();\n chartSector holding = new chartSector();\n ...
[ { "docid": "85aaa595d0609a6971902039f252450b", "score": "0.694468", "text": "public Database getDatabase();", "title": "" }, { "docid": "5f540ff62254b57372295f7995de512a", "score": "0.68107986", "text": "public DatabaseInfo getDatabase();", "title": "" }, { "docid": "78eb...
354d3e5741421df6cd4822110876ab59
Initialize the mappings between listeners and his identifier, and domains and listeners
[ { "docid": "9770ad482beb74e06b435c103562b78b", "score": "0.6253108", "text": "private void parseListenersFromExtensionPoint() {\n\t\tmapListeners = new HashMap<String, ResourceSetListener>();\n\t\tmapDomainsListeners = new HashMap<String, List<String>>();\n\n\t\tExtensionPointParser extensionPointParser...
[ { "docid": "2ceea3ecc9f41eee3522d09661c1c8c5", "score": "0.67026", "text": "private void setupListeners() {\n\t\t\n\t}", "title": "" }, { "docid": "0d6d58dbe5ed7889e35203a296864741", "score": "0.6524351", "text": "private HashMap<String, List<String>> getMapDomainsListeners() {\n\t\t...
a2409cb6dc80475e9afaf5eb155735dc
Gets an array of all the projects that are in the database
[ { "docid": "ba2a7f41d951ad2e67aaba58d862c15f", "score": "0.0", "text": "public GetProjects_Result getProjects(GetProjects_Params params) throws ClientException {\r\n return (GetProjects_Result) doPost(\"/GetProjects\", params);\r\n }", "title": "" } ]
[ { "docid": "967e34fb0c044892b9e10d7610b14867", "score": "0.815815", "text": "public List<ProjectEntity> getProjects()\n {\n LOGGER.log(Level.INFO, \"Consulting all projects.\");\n List<ProjectEntity> list = persistence.findAll();\n LOGGER.log(Level.INFO, \"Exiting the consult of ...
e0ac9ba2aec0622acb0334137bcfd1ec
we encapsulated the result because in main method anyone could do something like c1.result = 1000 , so in order to restrict the user access result and modify it we use return typ methods
[ { "docid": "ba9c46b8016aa962da9e969d80ca8d8c", "score": "0.0", "text": "public Calculator addNum ( int num){\n this.result+=num;\n return this;\n }", "title": "" } ]
[ { "docid": "697149d3970cd70587a705a96741023f", "score": "0.7229439", "text": "public int getResult()\n { return iMyResult; }", "title": "" }, { "docid": "134462ced930e8286bc654f8b4535a0d", "score": "0.71754664", "text": "public void result() {\n\t\t\n\t}", "title": "" },...
d2b27d04197b3d75ceb1bcf146a9a221
This method initializes jLabel30
[ { "docid": "6109706cc1e908d3ac9634a49c0a9402", "score": "0.7185068", "text": "private javax.swing.JLabel getJLabel30() {\n\t\tif(jLabel30 == null) {\n\t\t\tjLabel30 = new javax.swing.JLabel();\n\t\t\tjLabel30.setBounds(610, 159, 91, 24);\n\t\t\tjLabel30.setText(\"Address\");\n\t\t}\n\t\treturn jLabel30;...
[ { "docid": "5c021e335d288e652ee0c6894fa0eb0a", "score": "0.737354", "text": "private void initialize() {\n jLabel20 = new JLabel();\n jLabel20.setText(\"经验值表:\");\n jLabel20.setSize(new Dimension(70, 20));\n jLabel20.setLocation(new Point(200, 200));\n jLabel17 = new J...
6731baec474f635b3771af98a504ec03
Sets the tot payd amount of invoice.
[ { "docid": "dfcf70739b6a0a589774e0957d78ace7", "score": "0.7179897", "text": "public void setTotPayd(BigDecimal totPayd) {\n this.totPayd = totPayd;\n }", "title": "" } ]
[ { "docid": "9acff82976da4ab2f63de77c6cd1f827", "score": "0.6716474", "text": "public void setTotPayn(BigDecimal totPayn) {\n this.totPayn = totPayn;\n }", "title": "" }, { "docid": "391ea71ba43e67af8527ba987dfff621", "score": "0.6605145", "text": "public void setTotPayfers(...
0be2345e6f6dfebcd02c7d89d2a1efce
Removes a shape from the container.
[ { "docid": "b3432aa38f36a45d8ccf29e84e05706d", "score": "0.70579976", "text": "public boolean remove(Shape s) {\n\t\treturn false;\n\t}", "title": "" } ]
[ { "docid": "cd1978bfd6f94494818e022de594b472", "score": "0.85256207", "text": "public void removeShape( Shape toBeRemoved );", "title": "" }, { "docid": "6d5994fc986c801048c30fcd656b6944", "score": "0.7847375", "text": "void removeShape(String name);", "title": "" }, { "d...
d3693626c4663a518ff48b271e02fab7
in which path to generate report
[ { "docid": "0a7e70848201f19f443f4457bb379d58", "score": "0.0", "text": "@Override\n public List<Sales> exportSalesReport(String reportFormat) throws JRException, FileNotFoundException {\n String path = \"/Users/jackyzhu/Downloads\";\n\n // get report data\n List<Sales> salesList ...
[ { "docid": "daf55b74a35a49d438466374ca034dfc", "score": "0.73384523", "text": "String generateReport();", "title": "" }, { "docid": "9dee5d717532233a6418d3393ab0d699", "score": "0.7098047", "text": "public String generateReport() {\n try {\n saveOptions();\n ...
41b44cd206b78424960ae0d7dbc9e417
Called when the activity is first created.
[ { "docid": "6c41a91ac594c10546da9c19e818c6da", "score": "0.0", "text": "@Override\n\tpublic void onCreate(Bundle savedInstanceState) {\n\t\tsuper.onCreate(savedInstanceState);\n\t\trequestWindowFeature(Window.FEATURE_NO_TITLE);\n\t\tgetWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, Window...
[ { "docid": "0ea336217b93292cb0bf319b82257b7d", "score": "0.79565006", "text": "@Override\r\n\tpublic void onActivityCreated(Bundle savedInstanceState) {\n\t\tsuper.onActivityCreated(savedInstanceState);\r\n\t\tinit();\r\n\t}", "title": "" }, { "docid": "2b888ba6778573b9a721f33447b0c3ae", ...
eeee0d8f08d9d6671f495cdb7814a399
Subtract weighted arirhmetic mean of an array from data array elements
[ { "docid": "61fb93e72aab7bd7e0b7dfbbeb0277fd", "score": "0.71487015", "text": "public static BigDecimal[] subtractMean(BigInteger[] array, BigInteger[] weights){\n int n = array.length;\n BigDecimal mean = Stat.mean(array, weights);\n BigDecimal[] arrayMinusMean = new Bi...
[ { "docid": "f508f5c94766b41e7628e3596aca0fa1", "score": "0.73704714", "text": "public static double[] subtractMean(double[] array, double[] weights){\n int n = array.length;\n double mean = Stat.mean(array, weights);\n double[] arrayMinusMean = new double[n];\n ...
d89055ac9764be6245dfc498a502e0de
Appends and returns a new empty "Comisiones" element
[ { "docid": "46586a866b2b9c9a6951ed1764349e0c", "score": "0.6075364", "text": "cl.sii.siiDte.DTEDefType.Documento.Encabezado.Totales.Comisiones addNewComisiones();", "title": "" } ]
[ { "docid": "9cc31aa42b82ac9cc7ee9b35f6f9ef8a", "score": "0.64918363", "text": "cl.sii.siiDte.DTEDefType.Documento.Comisiones addNewComisiones();", "title": "" }, { "docid": "f1a80738e7989bf23808688251e01428", "score": "0.64878744", "text": "cl.sii.siiDte.DTEDefType.Liquidacion.Comisi...
6c877372d6a56ee8ee5b770b08829535
Divide this Vec3 by the given scalar value and store the result in dest.
[ { "docid": "0bf63d243d85e9ceb7c284aa6239b82c", "score": "0.80735594", "text": "public Vec3 div(double scalar, Vec3 dest) {\n\t\tdest.x = x / scalar;\n\t\tdest.y = y / scalar;\n\t\tdest.z = z / scalar;\n\t\treturn this;\n\t}", "title": "" } ]
[ { "docid": "1811e2b73e2d3dc7c0c9965dfe0687d1", "score": "0.71358734", "text": "public Vec3 div(Vec3 v, Vec3 dest) {\n\t\tdest.x = x / v.x;\n\t\tdest.y = y / v.y;\n\t\tdest.z = z / v.z;\n\t\treturn this;\n\t}", "title": "" }, { "docid": "bf7b8e73b67e00d0ca79e1eff8103551", "score": "0.6773...
c53836dd6280cdbc7050fe684f045b38
Create a digital caplet with given maturity and strike.
[ { "docid": "647fb1e1095ede5a192625a15c56a410", "score": "0.7445705", "text": "public DigitalCaplet(final double optionMaturity, final double periodStart,\n\t\t\tfinal double periodEnd, final double strike) {\n\t\tsuper();\n\t\tthis.optionMaturity = optionMaturity;\n\t\tthis.periodStart = periodStart;\n\...
[ { "docid": "338282e2b5e637250a06d17ac4387fae", "score": "0.6075795", "text": "@Override\n\tpublic Strike makeStrike() \n\t{\n\t\treturn new Strike(15, \"bottle of stinky poison\", StrikeType.Chemical);\n\t}", "title": "" }, { "docid": "898f5088a0bdbbf278c6fcdd89e0888a", "score": "0.56754...
f2b2beaf06d908c39a21c3e5042b86bf
Synchronously writes the new checkpoints to state handle store and asynchronously removes older ones.
[ { "docid": "0b40c0b37b4a6725f7e68009a5045b6e", "score": "0.52628547", "text": "@Override\n public CompletedCheckpoint addCheckpointAndSubsumeOldestOne(\n final CompletedCheckpoint checkpoint,\n CheckpointsCleaner checkpointsCleaner,\n Runnable postCleanup)\n ...
[ { "docid": "16c6dac634743d3107cd647a3b5bf16a", "score": "0.5461936", "text": "private void flushSaves() {\n \t\tif (storage.isPresent()) {\n \t\t\tstorage.get().save(saveQueue);\n \t\t}\n \t\tsaveQueue.clear();\n \t}", "title": "" }, { "docid": "4e36f98c2768c1fe4afe4b9630e74dc0", "score"...
b21af8f1f0338a438e04c617edfc6c71
Quadric functionality Interface to C language function: void gluCylinder(GLUquadric quad, GLdouble base, GLdouble top, GLdouble height, GLint slices, GLint stacks);
[ { "docid": "5156d4388069bde9d6eb2cd73015e49d", "score": "0.8833337", "text": "public void gluCylinder(GLUquadric quad, double base, double top, double height, int slices, int stacks) {\n ((GLUquadricImpl) quad).drawCylinder(gl, (float) base, (float) top, (float) height, slices, stacks);\n }", "tit...
[ { "docid": "93ccbed2c028ba43f5cd81051cdaf2d0", "score": "0.6931844", "text": "private void drawCylinder(GL2 gl, Texture[] tex) {\n\n\t\tdouble angleIncrement = (Math.PI * 2.0) / SLICES;\n\t\tdouble zFront = -1;\n\t\tdouble zBack = -2;\n\n\t\tgl.glPushMatrix();\n\n\t\tgl.glRotated(-90, 1, 0, 0);\n\n\t\tg...
36d2e447e3f1b4ad7813e8cc22a52262
to populate the lists
[ { "docid": "ff3229c47a1deaaf7e589e80d182d262", "score": "0.0", "text": "public static void populate() {\n for (int i = 1; i <= 15; i++) {\n B.add(i);\n Collections.shuffle(B);\n\n }\n for (int i = 16; i <= 30; i++) {\n I.add(i);\n Collecti...
[ { "docid": "c730623446e4b57a5b0e38ab912da7d9", "score": "0.74646074", "text": "private void initList() {\n\n }", "title": "" }, { "docid": "8c702d93f9dd6d1479ce0211aa7dc34a", "score": "0.7304673", "text": "public void populateList() {\n }", "title": "" }, { "docid":...
dc8f6c5daf656f22b0af3915c7beb22f
Coin Game (Choose One From End)(DP)
[ { "docid": "3bbd3c5fcc11ab61415de71b019d9b69", "score": "0.0", "text": "public static int CoinGameDP(int[] arr) {\n\t\tint[][] dp = new int[arr.length][arr.length];\n\n\t\tfor (int gap = 1; gap < arr.length; gap = gap + 2) {\n\t\t\tfor (int i = 0; i < dp.length - gap; i++) {\n\t\t\t\tint j = i + gap;\n\...
[ { "docid": "879af4c06488528b0b018746d1d7d6a3", "score": "0.66231114", "text": "int getCoin();", "title": "" }, { "docid": "a38f500089ff84d2fa55ff1a77f3bbe2", "score": "0.65320736", "text": "public void playTheGame() {\n inputBetToMoneyField();\n\n\n //call a method that...
5c86cf4fcc2afd006086555c4de7e19e
Takes in a string, attributes, that is formatted to list the values to be inserted into the columns indicated by INPUT_COLS. The method returns the id of the newly inserted quiz.
[ { "docid": "a76c34e596f2fbb16756c5329b974060", "score": "0.52605546", "text": "public String addUserEntry(String table_name, String attributes) throws SQLException {\n\t\tstmt.executeUpdate(\"INSERT INTO \" + table_name + \" \" + INPUT_COLS + \" VALUES \" + attributes + \";\");\n\t\treturn Long.toString...
[ { "docid": "5e286a984d40693adc98555e7016b47c", "score": "0.5521533", "text": "public int enter(String id, ArrayList<String> attributes, ArrayList<String> typesList, ArrayList<String> isArray) {\n if (!this.exists(id)) {\n table.add(new ClassTable.Symbol(id, attributes, typesList, isArr...
8981d130d697d46eb24db3849220b832
Acquire the lock on Object pointed by printer ref var We can execute multiple methods on the same object and hence lock shall be acquired till synchronized block is not exited
[ { "docid": "9906a0d3ff7707726d5a9c7b11812b1b", "score": "0.0", "text": "public void run() {\n\t\tsynchronized (printer) {\n\t\t\t\n\t\t\ttry {\n\t\t\t\tprinter.wait(); // keep on waiting till anyone notifies this fellow\n\t\t\t} catch (InterruptedException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t...
[ { "docid": "28039ec3dd730b473fb0b4a2d04d0123", "score": "0.71255517", "text": "abstract Object lock();", "title": "" }, { "docid": "514d04efe3afcb8ea76d326d76319b13", "score": "0.6896302", "text": "public void lock();", "title": "" }, { "docid": "45190596e5df2a0618dbad49e...
e838fecd408abe607fd32a3b53c2497f
POR CAMPO SE HACE
[ { "docid": "0726e82f8e61c201289edfe685d77472", "score": "0.0", "text": "public int getId() { return id; }", "title": "" } ]
[ { "docid": "c5c6b253d830670a02ec7669dd9bfdcb", "score": "0.5811477", "text": "@Override\r\n\t\t\tprotected int brojStupaca() {\n\t\t\t\treturn 3;\r\n\t\t\t}", "title": "" }, { "docid": "765493588c5c434e9fe170499e5949db", "score": "0.57248044", "text": "public void Orbitando(String cu...
d1235ca7abc34aa831b363c9e505ec97
This is the Measurable interface which can be used to get data from BankAccount classes and BBPlayer classes
[ { "docid": "942d74956865c6546d1db4f061b772a6", "score": "0.0", "text": "public interface Measurable {\r\n\r\n\tdouble getMeasure();\r\n\tboolean accept();\r\n}", "title": "" } ]
[ { "docid": "15660a6a082f38cb248e8eae889caabb", "score": "0.6931272", "text": "public BankAccount getBankAccount();", "title": "" }, { "docid": "fbdb563d92bdb13c00439a88bd817e54", "score": "0.69048965", "text": "public abstract AccountData getData();", "title": "" }, { "do...
518bf5364cda3c6202a1a392996f93d1
Inflate the menu; this adds items to the action bar if it is present.
[ { "docid": "3d581f8da4e634e0c085638e968bf6dd", "score": "0.0", "text": "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.main, menu);\n return true;\n }", "title": "" } ]
[ { "docid": "021fc86775f734939f4acf57059476b1", "score": "0.7190519", "text": "@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\t\n\t\t MenuInflater inflater = getMenuInflater();\n\n\t\tinflater.inflate(R.menu.main_activity_bar, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}", ...
7efa3b4cd17e6bace59e1cf54b04a487
alternating dots and asteriks
[ { "docid": "17d8758e438d5e64c981f62bdc90b0b5", "score": "0.57710356", "text": "public void puzzle_L26(){\n for(int i=0; i<16; i++){\n for(int n=0; n<16; n++){\n if((i+n)%2==0)\n System.out.printf(\"*\");\n else\n Syste...
[ { "docid": "d1e987abbec163dbee4eaba181e54ce5", "score": "0.58753145", "text": "public Regex addAnyChar() { return append('.'); }", "title": "" }, { "docid": "c32c3fc6fb3943113b415032ce061834", "score": "0.55070764", "text": "public void append(String ch) {\n\t\tif (last.equals(\"\")...
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": "0bcb6514fdd4eeba62b5e1bf2145a653", "score": "0.0", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jPanel1 = new javax.swing.JPanel();\n jLabel7...
[ { "docid": "17113ab7a06544a62482637e283ac13d", "score": "0.739327", "text": "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n }", "title": "" }, { "docid": "17113ab7a0...
276191dc13cc67dd29349081ae3c7add
Used by DatumReader. Applications should not call.
[ { "docid": "9182c86391cc1be9703f2bb524d89274", "score": "0.0", "text": "@SuppressWarnings(value=\"unchecked\")\n public void put(int field$, java.lang.Object value$) {\n switch (field$) {\n case 0: uuid = (java.lang.String)value$; break;\n case 1: name = (java.lang.String)value$; break;\n c...
[ { "docid": "630b43215e2b87f8b2bd389cae71f8a6", "score": "0.6623083", "text": "@Override\n\tprotected void dataAcquisition() {\n\t}", "title": "" }, { "docid": "a022af65565a4f8abd010406a558fcb7", "score": "0.61456656", "text": "@Override\n protected void initData() {\n }", "...
9e49f89ed3261935fca4ff17910e73a9
$ANTLR end "ABBRIRI" $ANTLR start "LANGTAG"
[ { "docid": "96d11bcee63007fffbb1acb8e59fd255", "score": "0.6036215", "text": "public final void mLANGTAG() throws RecognitionException {\r\n try {\r\n int _type = LANGTAG;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // Owl2fs.g:16849:8: ( '@' ( 'A' .. 'Z' | 'a' ...
[ { "docid": "252029aa41e7b1ffdad22bec2b4c472a", "score": "0.5842693", "text": "public final void mIRI() throws RecognitionException {\n try {\n int _type = IRI;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // ExploreGrammar.g:123:5: ( LANGLE (~ ( RANGLE | NEWLINE ) )+...
ea7c16fe601f8667396fd66edfb819e2
Manipulates the map once available. This callback is triggered when the map is ready to be used. This is where we can add markers or lines, add listeners or move the camera. In this case, we just add a marker near Sydney, Australia. If Google Play services is not installed on the device, the user will be prompted to in...
[ { "docid": "9f96e12886a80dba14adfa63ffaaa004", "score": "0.7367914", "text": "@Override\n public void onMapReady(GoogleMap googleMap) {\n mMap = googleMap;\n createMap();\n mMap.setOnMarkerClickListener(this);\n\n HistoryLocationsMarkers();\n }", "title": "" } ]
[ { "docid": "ae6830ef23755b647aa76f2f1391424e", "score": "0.8183876", "text": "public void onMapReady() {\n mMap = ((SupportMapFragment) getSupportFragmentManager().findFragmentById(R.id.map)).getMap();\n\n if (mMap != null) {\n mMap.setMapType(GoogleMap.MAP_TYPE_TERRAIN);\n\n ...
a7704920fad6c0b3fe289559cd71bd96
used binary search as most efficient was to search heap
[ { "docid": "f69361889388b860a205086f0929a94f", "score": "0.6278273", "text": "public Employee searchHeapRecord(int id, ArrayList<Employee> list) {\n int low = 0;\r\n int high = list.size() - 1;\r\n while (low <= high) {\r\n int middle = (low + high) / 2;\r\n if...
[ { "docid": "da9d097d943cd13de737dd453edbb0f0", "score": "0.66616404", "text": "static int binary_search(int arr[], int l, int h, int x) \n { \n while (l <= h) \n { \n int mid = (l+h) / 2; \n \n // if 'x' is greater than or equal to arr[mid], \n //...
0dfa0393169ffbb994985dd0372d0dc6
Se deja como protected por el hecho de que las unicas clases 'autorizadas' para poder crear instancias de esta clase son los modelos que hereden de la misma
[ { "docid": "e0c40677e0eaa7bca6fb5f399a8bc2f8", "score": "0.0", "text": "public OilMine( Integer healthPoints, KnownResources productionResource) {\n super(\n KnownFactions.THE_INSTITUTE,\n healthPoints,\n Building.setRequiredResources(KnownFactions.TH...
[ { "docid": "5c39f1544425ff4419e340fe408f2905", "score": "0.6778725", "text": "Protected createProtected();", "title": "" }, { "docid": "852cac03ea977fef4e2529152db3ceda", "score": "0.6681478", "text": "protected User() {\n\t\t/* Reflection instantiation */\n\t}", "title": "" },...
dd35c7c073f6025483db1d7fb0ae600f
gets the inventory for the survivor
[ { "docid": "4b429d239d698dfa37a59ac2b5767328", "score": "0.7342767", "text": "Inventory findBySurvivorId(String survivorId);", "title": "" } ]
[ { "docid": "cb14303bd93b9b73daca489556f2f78b", "score": "0.744317", "text": "Inventory getInventory();", "title": "" }, { "docid": "b4a9e59c3fed05435217b0305aeb7b49", "score": "0.7154842", "text": "EntityInventoryContainer getInventory();", "title": "" }, { "docid": "b1ea...
0215256b024e315f4540dbebe7da9018
This method updates if the buttons are active or not and it also updates the message shown at the bottom of the screen.
[ { "docid": "77ff4151d2a7f8ec6c1f24e3b04fec53", "score": "0.0", "text": "public void update(Observable arg0, Object arg1) {\n\t\t\n\t\t// Update the buttons if the connection status has changed\n\t\tif(arg0 == client){\n\t\t\tif(client.getConnectionStatus() == GomokuClient.UNCONNECTED){\n\t\t\t\tconnectB...
[ { "docid": "6582f44bf12f9e0c9c9f6abc4cd0dc04", "score": "0.68807495", "text": "public void updateButtons(){\n\t\t/* Show which player's turn it is */\n\t\tif (chessBoard.playerTurn == Color.WHITE){\n\t\t\tblackName.setBackground(null);\n\t\t\twhiteName.setBackground(java.awt.Color.GREEN);\n\t\t\twhiteFo...
4bc6db6fa78303579081e33c223d2717
optional string product_set_id = 18;
[ { "docid": "b45cd9b30752fcacdb4ee3d740c9b4dd", "score": "0.58597124", "text": "public boolean hasProductSetId() {\n return ((bitField0_ & 0x00020000) == 0x00020000);\n }", "title": "" } ]
[ { "docid": "6c08657237505a43c8a73c45cf78e02f", "score": "0.7360839", "text": "java.lang.String getProductSetId();", "title": "" }, { "docid": "af395e260d0b0487063951e891829ef4", "score": "0.69721293", "text": "public Builder setProductSetId(\n java.lang.String value) {\n ...
3461273e3ffad45839c9e6e3459afd10
optional string name = 2 [(.display_name) = "Name", (.comment) = "Name to show in the editor", (.self_inherit_only) = true];
[ { "docid": "d0caaa44533d828ae9a9eb042a6e60b2", "score": "0.0", "text": "public Builder setName(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000002;\n name_ = value;\n onChanged();\n return this;\...
[ { "docid": "5d94ffe5df1cf6ce8c912bd0deb97060", "score": "0.6968405", "text": "public String getEditorName();", "title": "" }, { "docid": "f90e52babb21f0e17d9023fdd465054d", "score": "0.676823", "text": "public String getName() { return name;}", "title": "" }, { "docid": "...
5176ca07b7611967bd8ce6a0235230e1
Retrieve all of the parts in inventory.
[ { "docid": "800896ebdeda4d376fd495b66e0d5c7a", "score": "0.66519064", "text": "public static ObservableList<Part> getAllParts() {\n return allParts;\n }", "title": "" } ]
[ { "docid": "58279fde2103b1774ad50648c9cb72d1", "score": "0.74258065", "text": "List<Item> getInventory()\n throws VendingMachinePersistenceException;", "title": "" }, { "docid": "ccef9c5b83c72da19ff8abdc689569ea", "score": "0.69879454", "text": "public ArrayList<GamePartic...
763d2f75796c9b9789a3e005d233f7ce
The delete method locates a country given its hashValue and then removes it from the table
[ { "docid": "9e17a4a8ff479fe71b4a705627e81db6", "score": "0.7284721", "text": "public void delete(String country, String capital) {\n\t\t\n\t\tint hashValue = hashFunction(country, capital);\t\n\t\thashArray[hashValue].delete(country, capital);\n\t\tSystem.out.println(country +\" has been deleted from th...
[ { "docid": "edbc1a592246a9f4e948d6b61724e08e", "score": "0.75118744", "text": "public boolean delete(Country country);", "title": "" }, { "docid": "62d283c685d3a7720c3330e2f56cfad3", "score": "0.69951725", "text": "public int deleteByCountryid(Integer value) throws SQLException \n ...
03bd68d1fdee8785c940bfae0197ba10
This method has no return type. This tells Snowflake to reuse the index method for rendering the result of the operation.
[ { "docid": "962610b4591be68ceca8bb3d6f66a90d", "score": "0.0", "text": "public void more(Long id) {\n if (shoppingItems.containsKey(id)) {\n ShoppingItem shoppingItem = shoppingItems.get(id);\n shoppingItem.setQuantity(shoppingItem.getQuantity() + 1);\n }\n }", ...
[ { "docid": "35e07a63210ca33f5f847950ef09920a", "score": "0.6545358", "text": "protected abstract void processIndex() throws Exception;", "title": "" }, { "docid": "b71af71fc9295f5da328a86c73b17570", "score": "0.6432537", "text": "public Datum index();", "title": "" }, { "...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "cc20787acb79c96ba0f64d9b6fad77bc", "score": "0.0", "text": "@Override\n\tpublic int getTelefono() {\n\t\treturn super.getTelefono();\n\t}", "title": "" } ]
[ { "docid": "63a51b9825ac81396e1d7ad0b9f3ed82", "score": "0.6866738", "text": "@Override\n\tpublic void 군무() {\n\t\t\n\t}", "title": "" }, { "docid": "15ae679aae74424c73fde647cf4332f6", "score": "0.68466413", "text": "@Override\r\n\t\t\tpublic void hissetmek() {\n\r\n\t\t\t}", "ti...
df9162b7317ea58740c39e79b2d0f866
$ANTLR end "rule__AreaChartFX__Group_12__0__Impl" $ANTLR start "rule__AreaChartFX__Group_12__1" InternalJavaFXDsl.g:11677:1: rule__AreaChartFX__Group_12__1 : rule__AreaChartFX__Group_12__1__Impl rule__AreaChartFX__Group_12__2 ;
[ { "docid": "3c9efe428dc348ba6fb83d1adad313b0", "score": "0.69750834", "text": "public final void rule__AreaChartFX__Group_12__1() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalJavaFXDsl.g:11681:1: ( rule__AreaCh...
[ { "docid": "bd773b361893f382eb70bb49c5e312c7", "score": "0.74948865", "text": "public final void rule__AreaChartFX__Group_12__4() throws RecognitionException {\r\n\r\n \t\tint stackSize = keepStackSize();\r\n \t\r\n try {\r\n // InternalJavaFXDsl.g:11762:1: ( rule__AreaCh...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "824db4400dae61b4583abba67dcdb3b9", "score": "0.0", "text": "@Override\r\n\tpublic boolean estReserve(Disponibilitees dispo) {\n\t\treturn false;\r\n\t}", "title": "" } ]
[ { "docid": "1acc57d42c31dee937ac33ea6f2a5b0b", "score": "0.68399656", "text": "@Override\r\n\tpublic void comer() {\n\t\t\r\n\t}", "title": "" }, { "docid": "0c69424878be03e50f19e2ca61ef640b", "score": "0.68002176", "text": "@Override\r\n\tpublic void leggi() {\n\t\t\r\n\t}", "ti...
22bdb0005a0603b2aa5dfcf270c0a347
Imports a XSD document.
[ { "docid": "26d7a89d07aab4e34e1c87dbe81f466d", "score": "0.75802726", "text": "private void importXMLSchema(Import bpelImport) {\n \tString namespace = bpelImport.getNamespace();\n \tString location = bpelImport.getLocation();\n \tif (location == null) {\n mLogger.severe(\"Unable to ...
[ { "docid": "54d3e99859569368ce739421b0178315", "score": "0.7008983", "text": "public void testSchemaImport2() throws Exception{\r\n File file = new File(Resources.asURI(\"importBase.xsd\"));\r\n //create a DOM document\r\n DocumentBuilderFactory documentBuilderFactory = DocumentBuil...
4f4bdde36b1b11d788b827214c69d919
Sets a textbased renderer and editor pair at once, for a column, without going through Swingers or anything. Works for simpler textbased renderers and editors ONLY.
[ { "docid": "24f6a491a574f3a88999ed2011145d15", "score": "0.0", "text": "public void setFormat(int colNo, java.text.Format fmt, int horizAlign)\n{\n\n\tsetFormat(colNo, FormatUtils.toSFormat(fmt, horizAlign));\n}", "title": "" } ]
[ { "docid": "275915dda31eb4b9b0675651fcee0a6c", "score": "0.6191289", "text": "@Override\n\t\tpublic Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) {\n\t\t\tTextColumnEditor returned = getEditorForRow(row);\n\t\t\tsetComponen...
fb0af4c54380fe80b53c8990587f4def
The Package for the model. It contains accessors for the meta objects to represent each class, each feature of each class, each enum, and each data type
[ { "docid": "1c98c98a5cca48eb8ef8782332ce6048", "score": "0.0", "text": "public interface TeSSLaPackage extends EPackage\n{\n /**\n * The package name.\n * <!-- begin-user-doc -->\n * <!-- end-user-doc -->\n * @generated\n */\n String eNAME = \"teSSLa\";\n\n /**\n * The package namespace U...
[ { "docid": "e21034dc85b347fee116375433181aa7", "score": "0.6369388", "text": "public void createPackageContents()\n {\n if (isCreated) return;\n isCreated = true;\n\n // Create classes and their features\n modelEClass = createEClass(MODEL);\n createEAttribute(modelEClass, MODEL__NAME);\n...
25197b4cf814864ecd440f23b9149cb3
TODO Autogenerated method stub
[ { "docid": "02dc7a56d1d06122c3f4ad5b0a6edc41", "score": "0.0", "text": "public String findSection(int id) {\n\t\treturn mapper.findSection(id);\r\n\t}", "title": "" } ]
[ { "docid": "05a606445504484958a1c21e14b7198e", "score": "0.6948742", "text": "@Override\r\n\tpublic void sapace() {\n\t\t\r\n\t}", "title": "" }, { "docid": "8619203d4867f5c6d05eb9a5354405c0", "score": "0.6920628", "text": "@Override\n\t\tpublic void pintate() {\n\t\t\t\n\t\t}", ...