query
stringlengths
7
33.1k
document
stringlengths
7
335k
metadata
dict
negatives
listlengths
3
101
negative_scores
listlengths
3
101
document_score
stringlengths
3
10
document_rank
stringclasses
102 values
Produce a Message for display
private Message formatMessage(LogRecord record) { return new Message(record); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void DisplayMessage(String massage);", "public void displayMessage(){\n //getCouseName obtém o nome do curso\n System.out.printf(\"Welcome to the grade book for \\n%s!\\n\\n\", getCouseName());\n }", "public static void displayMsg() {\n\t}", "public void showMessage(String message);",...
[ "0.7175379", "0.7150196", "0.71190494", "0.71022785", "0.7098296", "0.7055663", "0.7003456", "0.69798017", "0.69748485", "0.6972735", "0.6926527", "0.69065785", "0.6886078", "0.68661755", "0.68661755", "0.6837702", "0.6792486", "0.6788054", "0.67429054", "0.67429054", "0.6742...
0.0
-1
Clear the table to start the log.
public void startLog() { int lastRow = m_records.size() - 1; if(lastRow >= 0) { m_records.clear(); fireTableRowsDeleted(0, lastRow); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void clearLogs() {\n JXTable table = getSelectedTable();\n DefaultTableModel model = (DefaultTableModel) table.getModel();\n while (model.getRowCount() != 0) {\n model.removeRow(0);\n }\n }", "public void clear() {\n tableCache.invalidateAll();\n }", "publi...
[ "0.7625707", "0.7389604", "0.7368192", "0.73528486", "0.73508537", "0.7334117", "0.72938657", "0.69904435", "0.69825816", "0.69722253", "0.69453305", "0.69372886", "0.6873977", "0.6869481", "0.68605065", "0.68417174", "0.68399465", "0.6781368", "0.676738", "0.6762537", "0.674...
0.70903325
7
Add a record to the log
public void addRecord(LogRecord entry) { int newIndex = m_records.size(); m_records.add(entry); fireTableRowsInserted(newIndex, newIndex); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void addRecord(HistoryRecord record) throws IOException;", "public void addRecord();", "LogRecord saveLog(LogRecord logRecord);", "@Override\n\tpublic void addRecords(Records record) {\n\t\trecordsDAO.addRecords(record);\n\n\t}", "public void insert(RAlarmLog record) {\r\n getSqlMapClientTemplate()....
[ "0.74737453", "0.6940462", "0.69015515", "0.688727", "0.6830101", "0.6681145", "0.6666353", "0.6659402", "0.65853035", "0.6583804", "0.6582379", "0.654669", "0.6451188", "0.6447459", "0.6403065", "0.6377342", "0.6353115", "0.6329277", "0.632217", "0.6302929", "0.6282147", "...
0.741515
1
List listMsgProdOutputDestinations = new ArrayList(); / Connects to a node and adds producers and consumers both of them. Note:Sadly i can't find a simple way to include sender in messages.
public boolean sendTextMessageToDestination(String msgText,Destination msgDest){ MessageProducer msgTempProd = null; try { msgTempProd=this.serverSession.createProducer(msgDest); TextMessage msg=this.serverSession.createTextMessage(msgText); msg.setJMSReplyTo(this.getInputPort()); msgTem...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void addProducerDestinations(MonitoringDestination value) {\n value.getClass();\n ensureProducerDestinationsIsMutable();\n this.producerDestinations_.add(value);\n }", "public abstract List<JMSDestinationBean> getAllJmsDestinations();", "public void sendPeerListToAll() {\r\n\t\tP...
[ "0.5591935", "0.55791545", "0.5578226", "0.5411611", "0.5325968", "0.52533257", "0.5223423", "0.52147007", "0.52119064", "0.5211664", "0.52099204", "0.52090234", "0.51989853", "0.51712495", "0.5139896", "0.5137304", "0.5115651", "0.5065014", "0.5048545", "0.50416094", "0.4996...
0.0
-1
generate a poem stat with begin and end with end. if the whole length is larger than MAX_OUTPUT, just stop and return.
public String generate(String begin, String end) { //check input para's availability if(begin == null) return null; StringBuffer sb = new StringBuffer(); int wordCount = 0; if(!chain.containsKey(begin)) return null; if(begin.equalsIgnoreCase(end)) return begin; //set the previous ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "org.mojolang.mojo.lang.Position getEndPosition();", "int getPenultimateOutputSize() {\n\t\treturn lastStrLen[0];\n\t}", "String getEnd();", "org.mojolang.mojo.lang.PositionOrBuilder getEndPositionOrBuilder();", "int getMaxOutputLines();", "public int getResultLength() { return i_end; }", "int getEnd();...
[ "0.54097104", "0.51898044", "0.4940742", "0.4937477", "0.49252018", "0.48435074", "0.47817385", "0.47642222", "0.471513", "0.46754405", "0.46305823", "0.46223384", "0.4622118", "0.46035734", "0.45965096", "0.45961136", "0.45539948", "0.45482674", "0.4535968", "0.45271453", "0...
0.5051967
2
get next of current or "previous current"
private String getNext(String current) { if(!chain.containsKey(current)) return null; Set<String> nextOptions = chain.get(current); if(nextOptions == null || nextOptions.size() == 0) return null; Object[] nextArray = nextOptions.toArray(); return (String)(nextArray[(int)(Math.random() * nex...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Object next()\n {\n if(!hasNext())\n {\n throw new NoSuchElementException();\n //return null;\n }\n previous= position; //Remember for remove;\n isAfterNext = true; \n if(position == null) \n {\...
[ "0.74859524", "0.7290924", "0.72480893", "0.72393763", "0.72341716", "0.7188369", "0.71611065", "0.7153635", "0.71478266", "0.7135586", "0.7134484", "0.7095567", "0.70481753", "0.70449036", "0.70407146", "0.70308006", "0.70211613", "0.70141345", "0.70102084", "0.6989821", "0....
0.0
-1
for internal debug use. dump all the mapping rules of getting the next.
public void dumpRules() { if(chain == null) return; Iterator it = chain.keySet().iterator(); Iterator subIt = null; String key = null; while(it.hasNext()) { key = (String)it.next(); System.out.print(key + " --> "); subIt = (chain.get(key)).iterator(); while(subIt.hasNext()) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void printMapping() {\n LogDumper.out(sourceOutputMap);\n }", "private void dumpResultMapping ()\r\n {\r\n for (Entry<Result, Set<Candidate>> entry : connection.getResultMap().\r\n entrySet()) {\r\n logger.debug(\"Result: {}\", entry.getKey());\r\n\r\n ...
[ "0.68133855", "0.6298655", "0.5862953", "0.5809257", "0.5745252", "0.5718112", "0.5668209", "0.5668209", "0.5606585", "0.5552552", "0.5551051", "0.5494874", "0.53866476", "0.5313178", "0.5288437", "0.52874404", "0.52693397", "0.5236773", "0.5163561", "0.516328", "0.5151478", ...
0.66464204
1
The function des two things. 1 add next to current's next set. 2 add next to "previous current"'s next set if previous is not null
public void add(String previous, String current, String next) { //assume the input is "aaa bbb ccc aaa ddd" // the map is : // aaa -> {bbb, ddd} // bbb -> {ccc} // aaa bbb -> {ccc} // bbb ccc -> {ddd} // ccc -> {ddd} // ccc aaa -> {ddd} // ddd -> {null} //it means the key is not just a string of...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void goToNext() {\r\n\t\tif (curr == null)\r\n\t\t\treturn;\r\n\t\tprev = curr;\r\n\t\tcurr = curr.link;\r\n\t}", "public void setNext()\n {\n\t int currentIndex = AL.indexOf(currentObject);\n\t currentObject = AL.get(currentIndex +1);\n\t \n\t// never let currentNode be null, wrap to head\n\tif (curr...
[ "0.68122363", "0.661517", "0.63332343", "0.62306064", "0.62306064", "0.62306064", "0.62306064", "0.62306064", "0.62306064", "0.62306064", "0.62306064", "0.62306064", "0.62306064", "0.62306064", "0.62306064", "0.62306064", "0.62306064", "0.62306064", "0.62306064", "0.62306064", ...
0.6054347
88
switch to light mode here
@Override public void actionPerformed(ActionEvent e) { app.toggleLightMode(); isDark = !isDark; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void switchLight(){\r\n _switchedOn = !_switchedOn;\r\n }", "private void toggle_light() {\n\t\ttry {\n\t\t\tif (!light_on) {\n\t\t\t\tlightButton.setBackgroundResource(R.drawable.light_selected);\n\t\t\t\tif (handler != null) {\n\t\t\t\t\thandler.quitSynchronously();\n\t\t\t\t\thandler = null;...
[ "0.80845857", "0.7910362", "0.7612292", "0.73223764", "0.7293938", "0.7175611", "0.7095041", "0.70559967", "0.70209056", "0.6996966", "0.669804", "0.6658443", "0.6652704", "0.66480577", "0.658014", "0.65284353", "0.6528024", "0.6461709", "0.64376295", "0.64287406", "0.6425311...
0.7129778
6
switch to dark mode here
@Override public void actionPerformed(ActionEvent e) { app.toggleDarkMode(); isDark = !isDark; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void registerDarkness() {\n this.setDark(true);\n }", "@Override\n public void actionPerformed(ActionEvent e) {\n \tapp.toggleLightMode();\n \tisDark = !isDark;\n }", "@SuppressLint(\"SetTextI18n\")\n @Override\n ...
[ "0.7692606", "0.705686", "0.69676507", "0.6953098", "0.69529676", "0.68781734", "0.67893493", "0.6609676", "0.641844", "0.6414033", "0.63819474", "0.63672626", "0.63069093", "0.6295672", "0.6293418", "0.62778974", "0.6230282", "0.6168335", "0.61382705", "0.6123293", "0.610317...
0.74506474
1
identify there is a player details in the database that matches with the user entered data
public void getPlayerByUsernamePassword(User user) { String r = "SELECT pusername , ppwd from players where pusername = '"+ user.getUsername()+"' "; try { pst=con.prepareStatement(r); pst.executeQuery(); //redirect to the particular page if (r!=null)...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract boolean existsPlayerInGame(String username, int game_id) throws SQLException;", "private void showMatch() {\n System.out.println(\"Player 1\");\n game.getOne().getField().showField();\n System.out.println(\"Player 2\");\n game.getTwo().getField().showField();\n }", "boolean hasPlay...
[ "0.6172635", "0.6139824", "0.6082893", "0.6023534", "0.58414215", "0.5766416", "0.565272", "0.56414765", "0.56411904", "0.56313396", "0.5627934", "0.5607794", "0.5543442", "0.55251443", "0.55127525", "0.5509534", "0.5505904", "0.5489636", "0.54850376", "0.54820985", "0.548007...
0.523622
70
Created by Vinh on 10/17/2017.
public interface DetailView { void initTabHost(JSONObject mJsonObject); void ExecutionUnitReuilt(String ExecutionUnit); void setAdapterListFileAttach(FileAttachAdapter attachAdapter, ArrayList<AttachFile> arrAttach, String TabName); void setVisibilitiesButtonForward(String Resuilt, String TabName); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void perish() {\n \n }", "private stendhal() {\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "public final void mo51373a() {\n }", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpubl...
[ "0.61232597", "0.5930332", "0.5879437", "0.5868008", "0.58193326", "0.58010423", "0.58010423", "0.5736235", "0.5729505", "0.5696166", "0.5688901", "0.56754607", "0.566688", "0.56394476", "0.56350446", "0.562902", "0.5618807", "0.5592462", "0.5590476", "0.5569544", "0.55667543...
0.0
-1
This will create necessary network resources for UPnP right away System.out.println("Starting Cling...");
@Override public void run() { UpnpService upnpService = new UpnpServiceImpl(listener); // Send a search message to all devices and services, they should respond soon upnpService.getControlPoint().search(new STAllHeader()); // Let's wait 10 seconds for them to respond // Syst...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void createAndListen() {\n\n\t\t\n\t}", "public void autonomousInit() {\n \tNetworkCommAssembly.start();\n }", "protected void setupUpnp() {\n try {\n GatewayDiscover discover = new GatewayDiscover();\n Map<InetAddress, GatewayDevice> devices = discover.discover();\n ...
[ "0.60917276", "0.6067609", "0.597763", "0.59736097", "0.58451104", "0.57749665", "0.57718724", "0.5727326", "0.57012564", "0.5691619", "0.56838524", "0.5667418", "0.5639933", "0.5639793", "0.56075454", "0.55772555", "0.55707604", "0.55665183", "0.5546755", "0.5541916", "0.553...
0.58662957
4
Instantiates a new button assignment table model.
public ButtonAssignmentTableModel() { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private ByaTableModel() {\n\t}", "public ViewModel(TableHomeFrame tableHomeFrame){\n dbActions = new Model();\n this.tableHomeFrame = tableHomeFrame;\n calculations = new Calculations();\n }", "public TableForm() {\n initComponents();\n \n setMyTable();\n }", "...
[ "0.59392035", "0.58435833", "0.57452196", "0.56921756", "0.5600858", "0.5556652", "0.5528755", "0.5507077", "0.54953426", "0.5471782", "0.5469893", "0.5448977", "0.54181695", "0.5397323", "0.5391419", "0.53656405", "0.53443235", "0.5326899", "0.53040403", "0.5291361", "0.5286...
0.82205945
0
Given a list, rotate the list to the right by k places, where k is nonnegative. For example: Given 1>2>3>4>5>NULL and k = 2, return 4>5>1>2>3>NULL.
public ListNode rotateRight(ListNode head, int n) { // Note: The Solution object is instantiated only once and is reused by // each test case. if (null == head) { return null; } ListNode p = head; int length = 0; while (null != p) { p = p.next; length++; } if (n % length == 0) { ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ListNode rotateRight(ListNode head, int k) {\r\n\t\tint size = listSize(head);\r\n\t\tif (head == null || k <= 0 || k == size) return head;\r\n\t\tif (k > size) k %= size;\r\n\t\tint count = 1;\r\n\t\tListNode curr = head;\r\n\t\tk = size - k;\r\n\t\twhile (count < k && curr != null) {\r\n\t\t\tcurr = curr....
[ "0.79899323", "0.78092986", "0.709814", "0.70708233", "0.6908003", "0.6853618", "0.684266", "0.67106795", "0.671035", "0.66838664", "0.6674179", "0.6619751", "0.6599626", "0.6573976", "0.65416676", "0.6537286", "0.6517001", "0.6476461", "0.64018804", "0.63721746", "0.6285117"...
0.63172954
20
demo2 send paramter to jobs.
@Test public void parameterTest () throws SchedulerException, InterruptedException { // define the job and tie it to our SimpleJob class JobDetail job = JobBuilder.newJob(DataParseJob.class) .withIdentity("dataParseJob", "group2") // name "dataParseJob", group "group2" ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void sendLocalParamData(){\n String json = gson.toJson(parameters);\n getJSON(hostUrl + sendLocalParamScript.getFilename() + \"?matchId=\" + matchId + \"&param=\" + json, 2000);\n }", "public void sendParameter(IPatch patch, SysexWidget.IParameter param) {\n }", "public...
[ "0.5746468", "0.5618469", "0.5528273", "0.5502024", "0.5396267", "0.539124", "0.5303409", "0.5281352", "0.5266018", "0.5251658", "0.5224951", "0.5219694", "0.5192203", "0.51861", "0.51722926", "0.5169697", "0.51624405", "0.5158753", "0.515413", "0.5150882", "0.514851", "0.5...
0.6626352
0
because we dont have default, we force to use the first child url for parent
private void setUrlAndSelectedOfParentBasedOnFirstChild(int parentId, Set<Integer> listMenu, Map<Integer, PageMenu> menuMap, Map<Integer, Integer> parentChildRelation) { menuMap.get(parentId).setUrl(listMenu.stream() .filter(x -> parentChildRelation.get(x) == parentId) .map(x -> menuMap....
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void initSelf(OrchidContext oc) throws OrchidException\n {\n super.initSelf(oc);\n\n try {\n BlogPolicy blog = getParentBlog();\n if (blog != null) {\n ContentId blogId = blog.getContentId().getContentId();\n\n parentBlogLin...
[ "0.58248585", "0.58086294", "0.58086294", "0.57331586", "0.5725167", "0.5718507", "0.5710851", "0.56819874", "0.5633966", "0.56176364", "0.55766684", "0.5538653", "0.55272716", "0.55211693", "0.5520924", "0.5507035", "0.5500808", "0.5500808", "0.549293", "0.5469177", "0.54488...
0.6283048
0
with pages, we have two types: page and button, real pages are the pages with url;
public List<Page> getRealPages() { List<Page> pages = new ArrayList<>(pageRepository.findByUrlIsNotNull().stream().filter(p -> !p.getUrl().equals("")).collect(Collectors.toList())); Comparator<Page> c = (a, b) -> a.getName().compareToIgnoreCase(b.getName()); pages.sort(c); return pages; ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Page getPage();", "public void setPage(Page page) {this.page = page;}", "public abstract void addCustomPages();", "public void addPages() {\t\t\n\t\tpage1 = new Opera2ActionsTransformationWizardPage1(selection, operaModel);\n\t\taddPage(page1);\t\n\t}", "Page createPage();", "PageAgent getPage();", "pu...
[ "0.65260774", "0.6433991", "0.64069325", "0.63193506", "0.62974274", "0.6125543", "0.6049352", "0.6049352", "0.60194266", "0.6014929", "0.599615", "0.5985092", "0.59816635", "0.59632957", "0.59619665", "0.59599406", "0.5924527", "0.591072", "0.5892174", "0.58795816", "0.58468...
0.5286883
95
array of Runnable tasks Create a new DoubleEnded Queue (DEQ)
public DEQueue(int size) { tasks = new Runnable[size]; top = new AtomicStampedReference<Integer>(0, 0); bottom = 0; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void runQueue();", "public TaskQueue(){\n this(\n new PrintWriter(System.out, true),\n new PrintWriter(System.err, true),\n DEFAULT_CONCURRENT_ACTIONS\n );\n }", "public static <T> UnboundedDEQueue<T> createUnboundedDoubleEndedQueue() {\n \t\treturn new UnboundedDEQueue<T>(LOG_CAPAC...
[ "0.6307935", "0.61120296", "0.6058602", "0.60142547", "0.60139674", "0.59263545", "0.5912718", "0.58068234", "0.5705508", "0.56984967", "0.56724054", "0.5669939", "0.5606326", "0.5565984", "0.55415654", "0.5520438", "0.5506868", "0.54951537", "0.5477894", "0.5476683", "0.5473...
0.68587136
0
Push a new job onto the end of the queue
public void pushBottom(Runnable r) { tasks[bottom] = r; // store task bottom++; // advance bottom }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void pipeStepQueueJob(final Job job) {\n synchronized(jobs_queue) {\n pipeStepLog(\"Queuing JOB #\" + job.getId());\n jobs_queue.add(job);\n jobs_queue.notifyAll();\n }\n }", "@Override\n protected void insertJobInQueueUponArrival (final J ...
[ "0.7608878", "0.70416665", "0.664222", "0.6566382", "0.6561256", "0.6559828", "0.6500165", "0.64855975", "0.64614236", "0.6400685", "0.6299896", "0.6297417", "0.62938553", "0.62636", "0.62599134", "0.6247446", "0.6226486", "0.6192183", "0.61636615", "0.61630094", "0.6160602",...
0.558879
100
Called by thieves to steal a thread
public Runnable popTop() { int[] stamp = new int[1]; int oldTop = top.get(stamp), newTop = oldTop + 1; int oldStamp = stamp[0], newStamp = oldStamp + 1; if (bottom <= oldTop) // empty return null; Runnable r = tasks[oldTop]; if (top.compareAndSet(oldTop, newTo...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void take(Thread usedBy)\n\t{\n\t\tthis.usedBy = usedBy;\n\t\t// System.out.println(usedBy.getName() + \": Taking \" + toString());\n\t}", "NetThread(){}", "public void toThread() {\n\t\t// TODO Auto-generated method stub\n\t\tnew Thread(this).start();\n\t\tclient.start();\n\t}", "private void esperar...
[ "0.6490456", "0.6120184", "0.6096856", "0.6081406", "0.5967913", "0.5967584", "0.5908735", "0.59029853", "0.5850739", "0.5836", "0.5834632", "0.5818376", "0.58139914", "0.58090466", "0.58074903", "0.579133", "0.57589465", "0.5721166", "0.5717393", "0.57145786", "0.57120043", ...
0.0
-1
Called by local thread to get more work
Runnable popBottom() { // is the queue empty? if (bottom == 0) // empty return null; bottom--; Runnable r = tasks[bottom]; int[] stamp = new int[1]; int oldTop = top.get(stamp), newTop = oldTop + 1; int oldStamp = stamp[0], newStamp = oldStamp + 1; ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void run() {\n\t\twhile (true) {\n\t\t\ttry {\n\t\t\t\tTask t = bq.take();\n\n\t\t\t\t\n\t\t\t\tThread.sleep(t.getProcessTime() * 1000);\n\t\t\t\twaitingTime.addAndGet((-1) * t.getProcessTime());\n\t\t\t\tSimulator.getFrame().displayData(\"Client \"+t.getNr()+\" left. \\n\");\n\t\t\t\tsize--;\n...
[ "0.6658683", "0.64603245", "0.63129306", "0.62228703", "0.61833787", "0.6152779", "0.61165905", "0.61124337", "0.610613", "0.60894656", "0.60565245", "0.6042018", "0.60262614", "0.6010486", "0.6010486", "0.59710777", "0.59637713", "0.5953472", "0.5922952", "0.5921765", "0.591...
0.0
-1
called by thieves to determine whether to try to steal
boolean isEmpty() { return (bottom < top.getReference()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic boolean canPassengerSteer() {\n\t\treturn false;\n\t}", "public boolean poolTransfer() {\n \t\treturn !isTransfering();\n \t}", "boolean isSneaking();", "public boolean canDoStealPlayerResource(Player victim) {\n\t\t if(victim == null || victim.getResourceCardHandSize() <= 0) {\n\t\t\t ...
[ "0.6164548", "0.5913162", "0.586361", "0.575072", "0.570324", "0.56490266", "0.56318843", "0.56073713", "0.5596204", "0.55650187", "0.55468994", "0.55248624", "0.5517645", "0.55099916", "0.5494194", "0.54787755", "0.54758704", "0.546735", "0.5463752", "0.54525685", "0.5452568...
0.0
-1
Gets the "asicIdentifier" element
public au.gov.asic.types.DocumentIdentifierType getAsicIdentifier() { synchronized (monitor()) { check_orphaned(); au.gov.asic.types.DocumentIdentifierType target = null; target = (au.gov.asic.types.DocumentIdentifierType)get_store().find_element_user(ASICIDENTIFI...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "ELEMENTIDENTIFIER getIdentifier();", "java.lang.String getIdentifier();", "String getIdentifier();", "String getIdentifier();", "String getIdentifier();", "String getIdentifier();", "String getIdentifier();", "String getIdentifier();", "String getIdentifier();", "public String getIdentifier();", ...
[ "0.74925435", "0.6774767", "0.6598246", "0.6598246", "0.6598246", "0.6598246", "0.6598246", "0.6598246", "0.6598246", "0.6522161", "0.6522161", "0.6437032", "0.6436733", "0.6420916", "0.6419796", "0.63952607", "0.6387311", "0.6376862", "0.636023", "0.63583595", "0.63536024", ...
0.7414263
1
Sets the "asicIdentifier" element
public void setAsicIdentifier(au.gov.asic.types.DocumentIdentifierType asicIdentifier) { synchronized (monitor()) { check_orphaned(); au.gov.asic.types.DocumentIdentifierType target = null; target = (au.gov.asic.types.DocumentIdentifierType)get_store().find_elemen...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setIdentifier(String value) {\n/* 214 */ setValue(\"identifier\", value);\n/* */ }", "public native void setIdentifier (String identifier);", "public void setIdentifier(IdentifierNode identifier);", "void setIdentifier(org.hl7.fhir.Identifier identifier);", "public void setIdentifier(...
[ "0.62265086", "0.61686224", "0.60503334", "0.5983001", "0.59594387", "0.5921621", "0.5917237", "0.5846487", "0.5800852", "0.57791835", "0.56719816", "0.5666698", "0.5664589", "0.56485015", "0.56119806", "0.5540877", "0.5534781", "0.5513515", "0.54933393", "0.5482873", "0.5471...
0.74489594
0
Appends and returns a new empty "asicIdentifier" element
public au.gov.asic.types.DocumentIdentifierType addNewAsicIdentifier() { synchronized (monitor()) { check_orphaned(); au.gov.asic.types.DocumentIdentifierType target = null; target = (au.gov.asic.types.DocumentIdentifierType)get_store().add_element_user(ASICIDENTI...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "org.hl7.fhir.Identifier addNewIdentifier();", "void addId(II identifier);", "private IIdentifierElement createIdentifier() throws RodinDBException {\n\t\tfinal IContextRoot ctx = createContext(\"ctx\");\n\t\treturn ctx.createChild(ICarrierSet.ELEMENT_TYPE, null, null);\n\t}", "public org.hl7.fhir.Identifier ...
[ "0.65159357", "0.6441017", "0.6239236", "0.5988104", "0.5988104", "0.5941594", "0.58949506", "0.5840526", "0.5759188", "0.5593056", "0.5517943", "0.54305774", "0.5404358", "0.5393065", "0.5362211", "0.53557605", "0.5355695", "0.53346586", "0.5287167", "0.5266715", "0.5196725"...
0.70441186
0
Gets the "customerIdentifier" element
public au.gov.asic.types.MessageIdentifierType.CustomerIdentifier getCustomerIdentifier() { synchronized (monitor()) { check_orphaned(); au.gov.asic.types.MessageIdentifierType.CustomerIdentifier target = null; target = (au.gov.asic.types.MessageIdentifierType.Cus...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "java.lang.String getCustomerId();", "java.lang.String getCustomerId();", "public Number getCustomerId() {\n return (Number)getAttributeInternal(CUSTOMERID);\n }", "public final String getCustomerId() {\n\t\treturn customerId;\n\t}", "com.google.protobuf.ByteString\n getCustomerIdBytes();", ...
[ "0.79665536", "0.79665536", "0.7720322", "0.75712603", "0.7471685", "0.7471685", "0.7455956", "0.74546707", "0.7450518", "0.7406557", "0.7401897", "0.7401897", "0.7178387", "0.7158159", "0.7143697", "0.7143697", "0.7136919", "0.71333724", "0.713101", "0.71283054", "0.7096155"...
0.8011796
0
Sets the "customerIdentifier" element
public void setCustomerIdentifier(au.gov.asic.types.MessageIdentifierType.CustomerIdentifier customerIdentifier) { synchronized (monitor()) { check_orphaned(); au.gov.asic.types.MessageIdentifierType.CustomerIdentifier target = null; target = (au.gov.asic.types.Me...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setCustomerId(Number value) {\n setAttributeInternal(CUSTOMERID, value);\n }", "public void setCustomer(au.gov.asic.types.AccountIdentifierType customer)\n {\n synchronized (monitor())\n {\n check_orphaned();\n au.gov.asic.types.Acc...
[ "0.75196534", "0.74732685", "0.7186412", "0.7124941", "0.70988864", "0.706155", "0.69436526", "0.6942416", "0.69176424", "0.69176424", "0.6911834", "0.6861866", "0.6718026", "0.6709276", "0.6704655", "0.66982156", "0.66468936", "0.6629284", "0.6618768", "0.6615948", "0.660040...
0.8058731
0
Appends and returns a new empty "customerIdentifier" element
public au.gov.asic.types.MessageIdentifierType.CustomerIdentifier addNewCustomerIdentifier() { synchronized (monitor()) { check_orphaned(); au.gov.asic.types.MessageIdentifierType.CustomerIdentifier target = null; target = (au.gov.asic.types.MessageIdentifierType....
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public au.gov.asic.types.AccountIdentifierType addNewCustomer()\n {\n synchronized (monitor())\n {\n check_orphaned();\n au.gov.asic.types.AccountIdentifierType target = null;\n target = (au.gov.asic.types.AccountIdentifierType)get_store().a...
[ "0.66319245", "0.6415931", "0.6222804", "0.6222804", "0.60353684", "0.6006578", "0.6006578", "0.5964601", "0.58092237", "0.5797888", "0.57850057", "0.57690483", "0.57690483", "0.57689005", "0.57437515", "0.5710422", "0.5704339", "0.5674424", "0.5665967", "0.5648252", "0.55839...
0.7262367
0
Gets the "customer" element
public au.gov.asic.types.AccountIdentifierType getCustomer() { synchronized (monitor()) { check_orphaned(); au.gov.asic.types.AccountIdentifierType target = null; target = (au.gov.asic.types.AccountIdentifierType)get_store().find_element_us...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public org.tempuri.Customers getCustomer() {\r\n return customer;\r\n }", "io.opencannabis.schema.commerce.OrderCustomer.Customer getCustomer();", "public String getCustomer() {\n return customer;\n }", "com.google.ads.googleads.v6.resources.Customer getCustomer();", "public Customer ge...
[ "0.79189175", "0.7762655", "0.76590014", "0.7461622", "0.7381701", "0.73805004", "0.73364383", "0.73364383", "0.7335258", "0.73228496", "0.7282946", "0.72184837", "0.7216172", "0.71658444", "0.71640486", "0.7152377", "0.711563", "0.71051025", "0.7040222", "0.70387185", "0.699...
0.7222446
11
Sets the "customer" element
public void setCustomer(au.gov.asic.types.AccountIdentifierType customer) { synchronized (monitor()) { check_orphaned(); au.gov.asic.types.AccountIdentifierType target = null; target = (au.gov.asic.types.AccountIdentifierType)get_store().fi...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setCustomer(org.tempuri.Customers customer) {\r\n this.customer = customer;\r\n }", "public void setCustomer(String Cus){\n\n this.customer = Cus;\n }", "protected void setCustomer(Customer customer) {\n this.customer = customer;\n }", "public void setCustomer(String...
[ "0.80080706", "0.79978585", "0.7804687", "0.7758025", "0.7415264", "0.73959476", "0.73418784", "0.7303237", "0.73002017", "0.7280485", "0.7179825", "0.7143211", "0.71374464", "0.7133433", "0.7075341", "0.7069475", "0.7060893", "0.70277935", "0.70221335", "0.7016082", "0.68638...
0.7785836
3
Appends and returns a new empty "customer" element
public au.gov.asic.types.AccountIdentifierType addNewCustomer() { synchronized (monitor()) { check_orphaned(); au.gov.asic.types.AccountIdentifierType target = null; target = (au.gov.asic.types.AccountIdentifierType)get_store().add_element_...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void addCustomer(String c){\n\t\tif(!containsCustomer(c)){\n\t\t\tCustomer e = new Customer(c);\n\t\t\tlist.add(e);\n\t\t}\n\t}", "public void addCustomer(){\n Customer customer = new Customer();\n customer.setId(data.numberOfCustomer());\n customer.setFirstName(GetChoiceFromUser.getS...
[ "0.64927197", "0.63325024", "0.6167998", "0.61589706", "0.6092417", "0.60605645", "0.60341287", "0.6000482", "0.59935725", "0.597708", "0.59674126", "0.59085137", "0.59017265", "0.5901165", "0.5866701", "0.5859122", "0.58441234", "0.5828063", "0.5810521", "0.579301", "0.57643...
0.6534403
0
Gets the "identifier" element
public au.gov.asic.types.MessageIdentifierType.CustomerIdentifier.Identifier getIdentifier() { synchronized (monitor()) { check_orphaned(); au.gov.asic.types.MessageIdentifierType.CustomerIdentifier.Identifier target = null; target = (au.go...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "ELEMENTIDENTIFIER getIdentifier();", "public String getIdentifier() {\n/* 222 */ return getValue(\"identifier\");\n/* */ }", "@XmlElement(name = \"identifier\", namespace = Namespaces.SRV)\n final String getIdentifier() {\n if (LEGACY_XML) {\n final ScopedName name = getScopedNam...
[ "0.8394923", "0.78019315", "0.76894236", "0.76889616", "0.74950004", "0.7369659", "0.7369659", "0.7369659", "0.7369659", "0.7369659", "0.7369659", "0.7369659", "0.7265748", "0.72475797", "0.72475797", "0.7225062", "0.72187847", "0.7189371", "0.71707714", "0.71707714", "0.7170...
0.6463394
87
Sets the "identifier" element
public void setIdentifier(au.gov.asic.types.MessageIdentifierType.CustomerIdentifier.Identifier identifier) { synchronized (monitor()) { check_orphaned(); au.gov.asic.types.MessageIdentifierType.CustomerIdentifier.Identifier target = null; ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setIdentifier(java.lang.String identifier)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(IDENTIFI...
[ "0.8096997", "0.80879486", "0.80256796", "0.7681518", "0.7563472", "0.7495325", "0.74720085", "0.72922605", "0.72912717", "0.7161567", "0.7161567", "0.7161567", "0.7161567", "0.7146684", "0.7062076", "0.69900745", "0.68710274", "0.68101853", "0.6721184", "0.67160803", "0.6708...
0.71902776
9
Appends and returns a new empty "identifier" element
public au.gov.asic.types.MessageIdentifierType.CustomerIdentifier.Identifier addNewIdentifier() { synchronized (monitor()) { check_orphaned(); au.gov.asic.types.MessageIdentifierType.CustomerIdentifier.Identifier target = null; target = (au...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "org.hl7.fhir.Identifier addNewIdentifier();", "void addId(II identifier);", "private IIdentifierElement createIdentifier() throws RodinDBException {\n\t\tfinal IContextRoot ctx = createContext(\"ctx\");\n\t\treturn ctx.createChild(ICarrierSet.ELEMENT_TYPE, null, null);\n\t}", "public org.hl7.fhir.Identifier ...
[ "0.6886522", "0.66834575", "0.6642423", "0.63788307", "0.63788307", "0.6278175", "0.6231199", "0.61596596", "0.6082333", "0.5937031", "0.5928795", "0.591666", "0.5844556", "0.58337677", "0.57493883", "0.57239896", "0.5714109", "0.5696818", "0.56882113", "0.5643739", "0.563178...
0.59713566
9
Gets the "browser" element
public au.gov.asic.types.BrowserIdentifierType getBrowser() { synchronized (monitor()) { check_orphaned(); au.gov.asic.types.BrowserIdentifierType target = null; target = (au.gov.asic.types.BrowserIdentifierType)get_...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Browser getBrowser() {\n return browser;\n }", "String getBrowser();", "public static String getBrowser(){\n\t\treturn browser;\n\t}", "public String getBrowserName(){\r\n\t\treturn rb.getProperty(\"browser\");\r\n\t}", "public WebElement game() { return driver.findElement(gameLocator); }"...
[ "0.70871806", "0.68712425", "0.6845584", "0.6687669", "0.665084", "0.6607588", "0.6580791", "0.6407876", "0.63730466", "0.631937", "0.6265182", "0.62231", "0.61682814", "0.6083777", "0.60737896", "0.6052819", "0.6002691", "0.5927305", "0.59028465", "0.58668596", "0.58571965",...
0.7008544
1
True if has "browser" element
public boolean isSetBrowser() { synchronized (monitor()) { check_orphaned(); return get_store().count_elements(BROWSER$0) != 0; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isSetBrowser() {\n return this.browser != null;\n }", "boolean hasElement();", "private boolean isElementPresent(By cssSelector) {\n\treturn false;\n}", "public boolean isDisplayed();", "boolean isDisplayed();", "@Override\n \tpublic boolean hasFirefox()\n \t{\n \t\tgetNavigateArgs...
[ "0.76625836", "0.703735", "0.62866", "0.6271926", "0.6268381", "0.62633586", "0.62584925", "0.622142", "0.6193551", "0.6184247", "0.61702365", "0.61702365", "0.6164341", "0.6156181", "0.6104204", "0.61022705", "0.6083578", "0.60569364", "0.60519034", "0.6040854", "0.60131454"...
0.7556806
1
Sets the "browser" element
public void setBrowser(au.gov.asic.types.BrowserIdentifierType browser) { synchronized (monitor()) { check_orphaned(); au.gov.asic.types.BrowserIdentifierType target = null; target = (au.gov.asic.types.BrowserIdentif...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void setBrowser(String browser);", "public static void setBrowser() {\n\t\t browser=\"Chrome\";\n\t }", "@Parameters(\"browser\")\n private void switchBrowser(String browser) {\n if (browser.equals(DRIVER_TYPE.IE.name())) {\n System.setProperty(\"webdriver.ie.driver\", \"src/test/resour...
[ "0.7676691", "0.71792895", "0.634559", "0.62207484", "0.6217566", "0.62086314", "0.6186711", "0.6168857", "0.60795903", "0.5975863", "0.5937617", "0.5923206", "0.5914601", "0.5853902", "0.58375823", "0.5835879", "0.5833385", "0.5806498", "0.58057064", "0.58029544", "0.5772251...
0.7013989
2
Appends and returns a new empty "browser" element
public au.gov.asic.types.BrowserIdentifierType addNewBrowser() { synchronized (monitor()) { check_orphaned(); au.gov.asic.types.BrowserIdentifierType target = null; target = (au.gov.asic.types.BrowserIdentifierType)g...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected Element createDivAndAddToDocument() {\r\n\t\tfinal Element div = DOM.createDiv();\r\n\t\tdiv.setInnerHTML(this.getCurrentTestName());\r\n\t\tDOM.setStyleAttribute(div, Css.BACKGROUND_COLOR, \"lime\");\r\n\t\tthis.addElement(div);\r\n\t\treturn div;\r\n\t}", "public <T extends TechnologyModelObject> Tec...
[ "0.6065335", "0.5744554", "0.5639845", "0.56354195", "0.5581692", "0.5538686", "0.54118335", "0.54099643", "0.54091626", "0.5399628", "0.53834575", "0.5381981", "0.5356825", "0.52648944", "0.5192104", "0.51597005", "0.5149352", "0.5148551", "0.5120857", "0.5119577", "0.510359...
0.580402
1
Unsets the "browser" element
public void unsetBrowser() { synchronized (monitor()) { check_orphaned(); get_store().remove_element(BROWSER$0, 0); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void unsetBrowse()\n {\n synchronized (monitor())\n {\n check_orphaned();\n get_store().remove_element(BROWSE$2, 0);\n }\n }", "public void clear()\n\t{\n\t if (logger.isTraceEnabled())\n\t logger.trace(\"clear() called for browser \" + this);\n\n\t //...
[ "0.70583683", "0.6595277", "0.6325062", "0.62126404", "0.61059165", "0.60283613", "0.59311104", "0.5924987", "0.5902227", "0.5875625", "0.58339626", "0.5803439", "0.58015305", "0.5784094", "0.5773937", "0.57647324", "0.57587004", "0.57540464", "0.57483256", "0.57386374", "0.5...
0.8207403
0
Gets the "soap" element
public au.gov.asic.types.SoapSoftwareIdentifierType getSoap() { synchronized (monitor()) { check_orphaned(); au.gov.asic.types.SoapSoftwareIdentifierType target = null; target = (au.gov.asic.types.SoapSoftwareIdentif...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract SOAPPart getSOAPPart();", "public abstract SOAPEnvelope getEnvelope() throws SOAPException;", "public String getSoapUrl() {\n return this.soapUrl;\n }", "public abstract Object getProperty(String property) throws SOAPException;", "public abstract SOAPHeader getSOAPHeader() throws SOAPEx...
[ "0.69987637", "0.61914206", "0.61111146", "0.6044563", "0.5931403", "0.58320564", "0.5747869", "0.5716203", "0.5686081", "0.56535006", "0.5633476", "0.56269944", "0.56228685", "0.56150734", "0.5606387", "0.5592658", "0.55619854", "0.5556512", "0.55564916", "0.5544004", "0.553...
0.6258885
1
True if has "soap" element
public boolean isSetSoap() { synchronized (monitor()) { check_orphaned(); return get_store().count_elements(SOAP$2) != 0; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isFromWSDL(String serviceName);", "boolean hasEndpoint();", "boolean hasService();", "boolean hasService();", "boolean hasService();", "boolean hasService();", "boolean hasService();", "boolean isSetListOfServiceElements();", "public boolean hasService() {\n return serviceBuil...
[ "0.68269664", "0.64947206", "0.63926023", "0.63926023", "0.63926023", "0.63926023", "0.63926023", "0.6354041", "0.6329357", "0.6329357", "0.6329357", "0.63232714", "0.63232714", "0.63232714", "0.6316215", "0.62004507", "0.6146002", "0.61000144", "0.60953695", "0.6094882", "0....
0.79863775
0
Sets the "soap" element
public void setSoap(au.gov.asic.types.SoapSoftwareIdentifierType soap) { synchronized (monitor()) { check_orphaned(); au.gov.asic.types.SoapSoftwareIdentifierType target = null; target = (au.gov.asic.types.SoapSoftwa...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void writeSoapMessage(SOAPMessage message);", "public void setSoapUrl(String url) {\n this.soapUrl = url;\n }", "public abstract void setProperty(String property, Object value)\n throws SOAPException;", "private void populateAxisService() throws org.apache.axis2.AxisFault {\n _se...
[ "0.62858003", "0.6113843", "0.60980874", "0.6059791", "0.587346", "0.5753474", "0.5693899", "0.56806374", "0.567971", "0.5658697", "0.55581003", "0.5558018", "0.5533239", "0.5517695", "0.5503035", "0.5477355", "0.545593", "0.5442554", "0.54414564", "0.54266405", "0.54061776",...
0.6946667
0
Appends and returns a new empty "soap" element
public au.gov.asic.types.SoapSoftwareIdentifierType addNewSoap() { synchronized (monitor()) { check_orphaned(); au.gov.asic.types.SoapSoftwareIdentifierType target = null; target = (au.gov.asic.types.SoapSoftwareIden...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private org.apache.axiom.soap.SOAPEnvelope toEnvelope(org.apache.axiom.soap.SOAPFactory factory, net.wit.webservice.TerminalServiceXmlServiceStub.QqCharge param, boolean optimizeContent, javax.xml.namespace.QName methodQName)\n throws org.apache.axis2.AxisFault{\n\n ...
[ "0.6466527", "0.64588964", "0.64550704", "0.6442585", "0.6442344", "0.64423156", "0.643035", "0.6413627", "0.64116323", "0.6399173", "0.6376937", "0.6375919", "0.62843937", "0.6192652", "0.61811596", "0.6147905", "0.61339223", "0.6132903", "0.6132549", "0.61120677", "0.609419...
0.5948357
27
Unsets the "soap" element
public void unsetSoap() { synchronized (monitor()) { check_orphaned(); get_store().remove_element(SOAP$2, 0); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void unsetListOfServiceElements();", "void unsetServiceId();", "@Override\n public void clearAll() {\n serviceProcessor.process(ClearAllSoapEventInput.builder().build());\n }", "private void reset() {\n // TODO add your handling code here:\n MyObject m = new Mockups().singlePayout(...
[ "0.64215314", "0.60987484", "0.5940472", "0.5874988", "0.5820606", "0.5790649", "0.5777495", "0.57717115", "0.57630354", "0.5742171", "0.5731225", "0.5725654", "0.57189053", "0.57189053", "0.5717604", "0.5700128", "0.56992525", "0.5695506", "0.56862", "0.567344", "0.56717604"...
0.84522206
0
Gets the "internal" element
public boolean getInternal() { synchronized (monitor()) { check_orphaned(); org.apache.xmlbeans.SimpleValue target = null; target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(INTERNAL$4, 0); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public InternalInstructionsElements getInternalInstructionsAccess() {\r\n\t\treturn pInternalInstructions;\r\n\t}", "public RTWElementRef getAsElement(int i);", "String getElem();", "Elem getElem();", "public String getInternalId() {\n\n return this.internalId;\n }", "Tag getInternal();", "public ...
[ "0.6442003", "0.6285699", "0.62844676", "0.627192", "0.61977416", "0.6175281", "0.6108633", "0.60334027", "0.6030262", "0.6019102", "0.60093915", "0.60041237", "0.59913886", "0.59863263", "0.597515", "0.5971399", "0.59632903", "0.5961241", "0.59541", "0.5933205", "0.59271884"...
0.6306517
1
Gets (as xml) the "internal" element
public au.gov.asic.types.TrueType xgetInternal() { synchronized (monitor()) { check_orphaned(); au.gov.asic.types.TrueType target = null; target = (au.gov.asic.types.TrueType)get_store().find_element_user(INTERNAL$4,...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Element get_xml_info() {\n\t\treturn _xml_info;\n\t}", "public String getXML() {\n\t\treturn getXML(false);\n\t}", "Element toXML();", "public java.lang.String getXml();", "public Element toXMLElement() {\n return null;\n }", "abstract protected String getOtherXml();", "public String g...
[ "0.660818", "0.62366694", "0.6155149", "0.6147639", "0.61047596", "0.60530806", "0.59518677", "0.5936243", "0.59045464", "0.58682704", "0.58682704", "0.5824992", "0.5788595", "0.57880855", "0.57145834", "0.5712746", "0.5704783", "0.5701926", "0.5697513", "0.5687782", "0.56877...
0.537832
76
True if has "internal" element
public boolean isSetInternal() { synchronized (monitor()) { check_orphaned(); return get_store().count_elements(INTERNAL$4) != 0; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "boolean isInternal();", "public boolean isInternal()\n {\n return m_fInternal;\n }", "boolean internal();", "public boolean getInternal()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xml...
[ "0.7746346", "0.71519905", "0.7042142", "0.6845759", "0.6598977", "0.65281653", "0.64517856", "0.6444378", "0.6378604", "0.6327865", "0.621297", "0.61939853", "0.6171264", "0.6159709", "0.6156842", "0.6154166", "0.6142302", "0.6135", "0.60972416", "0.6045406", "0.60355055", ...
0.72435087
1
Sets the "internal" element
public void setInternal(boolean internal) { synchronized (monitor()) { check_orphaned(); org.apache.xmlbeans.SimpleValue target = null; target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(INTERNAL...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void xsetInternal(au.gov.asic.types.TrueType internal)\n {\n synchronized (monitor())\n {\n check_orphaned();\n au.gov.asic.types.TrueType target = null;\n target = (au.gov.asic.types.TrueType)get_store().find_...
[ "0.77719194", "0.67222196", "0.6581571", "0.65580654", "0.6548127", "0.6223307", "0.6156045", "0.61459124", "0.607006", "0.60548276", "0.60250294", "0.5918828", "0.5856772", "0.5828114", "0.5826048", "0.58081055", "0.5787729", "0.5704201", "0.56199414", "0.5605569", "0.559237...
0.79857016
0
Sets (as xml) the "internal" element
public void xsetInternal(au.gov.asic.types.TrueType internal) { synchronized (monitor()) { check_orphaned(); au.gov.asic.types.TrueType target = null; target = (au.gov.asic.types.TrueType)get_store().find_element_use...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setInternal(boolean internal)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_us...
[ "0.72323126", "0.6191754", "0.60043675", "0.5987199", "0.59462756", "0.5920011", "0.5904695", "0.5846473", "0.5827439", "0.58058906", "0.57124794", "0.5704199", "0.5670073", "0.5561366", "0.55515057", "0.55499125", "0.54859686", "0.54372334", "0.5411704", "0.5404129", "0.5392...
0.71851164
1
Unsets the "internal" element
public void unsetInternal() { synchronized (monitor()) { check_orphaned(); get_store().remove_element(INTERNAL$4, 0); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void unsetGeneral()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n get_store().remove_element(GENERAL$20, 0);\r\n }\r\n }", "public void unsetRegular()\n {\n synchronized (monitor())\n {\n ...
[ "0.6724907", "0.6671418", "0.6482708", "0.6463698", "0.6422401", "0.63991505", "0.63827056", "0.6353578", "0.6332989", "0.6287599", "0.62680703", "0.6256071", "0.6251017", "0.6244327", "0.62284666", "0.6219965", "0.61930513", "0.6189858", "0.6178372", "0.6143889", "0.61425734...
0.8113258
0
Convert the given object to string with each line indented by 4 spaces (except the first line).
private String toIndentedString(java.lang.Object o) { if (o == null) { return "null"; } return o.toString().replace("\n", "\n "); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private String toIndentedString(Object object) {\n if (object == null) {\n return EndpointCentralConstants.NULL_STRING;\n }\n return object.toString().replace(EndpointCentralConstants.LINE_BREAK,\n EndpointCentralConstants.LINE_BREAK + EndpointCentralConstants.TAB_SPA...
[ "0.78847593", "0.75493765", "0.74971926", "0.746168", "0.746168", "0.746168", "0.746168", "0.746168", "0.746168", "0.746168", "0.746168", "0.746168", "0.746168", "0.746168", "0.746168", "0.746168", "0.746168", "0.746168", "0.746168", "0.746168", "0.746168", "0.746168", "0...
0.0
-1
Creates a new Weapon
public Weapon(Player player) { this.bullets=new ArrayList<Bullet>(); this.player=player; pause = cooldown; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void createWeapons()\n {\n woodSword = new Weapon(\"wood sword\", \" | does 12 damage\", 10, true); \n rustedSword = new Weapon(\"rusted sword\", \" | does 17 damage\", 15, true);\n silverSword = new Weapon(\"silver sword\", \" | does 32 damage\", 30, true);\n goldSword = new Weapon(...
[ "0.7464205", "0.7080562", "0.7079559", "0.70324314", "0.69149286", "0.6913856", "0.68848395", "0.6843473", "0.6717828", "0.671286", "0.6654764", "0.66408736", "0.6609298", "0.65947604", "0.6575996", "0.6347996", "0.632754", "0.62615734", "0.62480474", "0.61934215", "0.6096227...
0.63292056
16
Shoots the weapon and fires a bullet
public void shoot(float direction) { if(pause != 0) return; bullets.add(new Bullet(player.getPosition(),direction)); pause = cooldown; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void shoot()\n\t{\n\t\t//Speed movement of the bullet\n\t\tint speed = 0;\n\t\t//Damage dealt by the bullet\n\t\tint damage = 0;\n\t\t//Angle used to shoot. Used only by the vulcan weapon\n\t\tdouble angle = 0;\n\t\t\n\t\tif(weapon == PROTON_WEAPON)\n\t\t{\n\t\t\tspeed = 15;\n\t\t\tdamage = 10;\n\t\t\tbull...
[ "0.86478144", "0.831216", "0.8123065", "0.79446924", "0.7923171", "0.78919965", "0.7737296", "0.76091856", "0.7577883", "0.7413092", "0.7389919", "0.73835224", "0.7380243", "0.7380243", "0.73660046", "0.7334139", "0.7228242", "0.72205967", "0.72170675", "0.72063416", "0.71763...
0.7255779
16
Updates the Weapon and its bullets
public void update(int delta) { pause = Math.max(0, pause - 1); for(int i = 0; i < bullets.size(); i++) { boolean shoot = bullets.get(i).updateBullet(delta); if(shoot) { //bullets.get(i).killInstance(); bullets.remove(i); } } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void shootBullet( ){\n bulletsFired.add(new Bullet((short)(this.xPos + BOX_HEIGHT), (short)((this.getYPos() + (BOX_HEIGHT+15))), this.xPos, this.id, (byte) 0, (byte) 0, shootingDirection, currentWeapon.getKey()));\n\n byte weaponFired = currentWeapon.getKey();\n switch (weaponFired){\n ...
[ "0.7222405", "0.7006495", "0.6640137", "0.662332", "0.6585595", "0.65415454", "0.650772", "0.64451367", "0.64393127", "0.6417788", "0.6365561", "0.63588685", "0.63467586", "0.63439983", "0.6340393", "0.630186", "0.62157124", "0.6198342", "0.6187817", "0.6156027", "0.6155302",...
0.6192873
18
Returns all moving bullets in game
public Bullet[] getBullets() { return Arrays.copyOf(bullets.toArray(), bullets.size(), Bullet[].class); //return (Bullet[])bullets.toArray(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public List<AProjectile> getBullets() {\n return bullets;\n }", "public ArrayList<Bullet> getNewBullets()\r\n\t{\r\n\t\tArrayList<Bullet> fire = new ArrayList<Bullet>();\r\n\t\tfor (Bullet bullet : bullets)\r\n\t\t{\r\n\t\t\tif (bullet instanceof AvatarBullet)\r\n\t\t\t{\r\n\t\t\t\tfire.add(new AvatarBullet(...
[ "0.70579994", "0.6763896", "0.6715682", "0.665502", "0.66469204", "0.6559085", "0.6447752", "0.64438236", "0.6415278", "0.63409775", "0.63139606", "0.6283662", "0.6233119", "0.6216834", "0.6208461", "0.61205584", "0.60456085", "0.5956045", "0.59281874", "0.58920693", "0.58786...
0.60706836
16
TODO Autogenerated method stub
@Override public String getPath() { return "./gfx/weapon.png"; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public int getZ() { return 1000; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public Position getPosition() { return player.getPosition(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public float getRotation() { return player.getRotation(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public float getCenterOfRotationX() { return 0.25f; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public float getCenterOfRotationY() { return 0.5f; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public boolean isCameraRelated() { return true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
/Catalog catalog = LibApp.getInstance().getCurrentCatalog(); String locationName = catalog.getResourcedValue(catName, catalog.getLocationNamesMapping(), locationId);
public String getShowLocationName() { return showLocationName; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public native final String location() /*-{\n\t\treturn this[\"location\"];\n\t}-*/;", "java.lang.String getLocation();", "String getLocation();", "String getLocation();", "String getLocation();", "String location();", "String location();", "String location();", "String location();", "String locat...
[ "0.66332626", "0.6621894", "0.6433458", "0.6433458", "0.6433458", "0.6330677", "0.6330677", "0.6330677", "0.6330677", "0.6330677", "0.6330677", "0.6330677", "0.6330677", "0.6314807", "0.6244882", "0.6235153", "0.6228648", "0.61992615", "0.61992615", "0.6184785", "0.61806446",...
0.0
-1
/validateName(name); LocalDateTime now = LocalDateTime.now(); Account account = new Account(5000.0, now); entityManager.persist(account); Set set = new HashSet(); Customer customer = new Customer(name, account,set); dao.add(customer); return customer;
@Transactional @Override public Customer createCustomer(String name) { validateName(name); LocalDateTime now = LocalDateTime.now(); Account account = new Account(5000.0, now); accountRepository.save(account); Set<Item> set = new HashSet<>(); Customer customer = new Customer(name, account,set); custRe...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@PostMapping(\"/account\")\n public ResponseEntity addAccount(@RequestParam String name, @RequestParam Instant timestamp) {\n try {\n Account account = Account.create(name, timestamp);\n account = repository.save(account);\n return ResponseEntity.ok().body(account);\n ...
[ "0.6532466", "0.6477385", "0.6477385", "0.6477385", "0.6477385", "0.6404432", "0.6276533", "0.6156741", "0.61184084", "0.60430723", "0.60343206", "0.59624225", "0.59366894", "0.5911161", "0.5873297", "0.5825317", "0.58189225", "0.5804165", "0.57821095", "0.57671255", "0.57455...
0.73580134
0
/validateCustomerId(customerId); Customer customer = dao.findById(customerId); return customer;
@Override public Customer findById(Long customerId) { Optional<Customer> optional = custRepository.findById(customerId); if(!optional.isPresent()) { throw new CustomerNotFoundException("Customer with id "+customerId+" not found"); } return optional.get(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Customer getCustomerById(int customerId);", "public Customer findCustomerById(long id) throws DatabaseOperationException;", "@RequestMapping(value = \"/customer/{id}\",method=RequestMethod.GET)\n @ResponseStatus(HttpStatus.OK)\n public CustomerViewModel findCustomerById(@PathVariable(\"id\") int id){\n ...
[ "0.7682477", "0.75319767", "0.7414278", "0.73518866", "0.7154048", "0.7117283", "0.696073", "0.6942424", "0.68855613", "0.6868176", "0.68378735", "0.6821499", "0.67772275", "0.6762474", "0.67374814", "0.6641269", "0.6638454", "0.66060495", "0.65975434", "0.6589301", "0.658113...
0.69350123
8
/validateCustomerId(customerId); Customer customer = dao.findById(customerId); Account account=customer.getAccount(); account.setBalance(account.getBalance() + amount); entityManager.persist(account); customer.getAccount().setBalance(amount); customer = dao.update(customer); return customer;
@Transactional @Override public Customer addAmount(Long customerId, double amount) { validateCustomerId(customerId); Customer customer = findById(customerId); Account account=customer.getAccount(); account.setBalance(account.getBalance() + amount); accountRepository.save(account); customer.getAccount(...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "AccountModel addByCustomer(AccountModel account,String customerId) throws AccountException, CustomerException;", "CustomerDto updateCustomer(CustomerDto customerDto);", "CustomerOrder update(CustomerOrder customerOrder);", "void updateCustomerById(Customer customer);", "@Override\r\n\tpublic Customer updat...
[ "0.6748372", "0.66649127", "0.6638251", "0.6613099", "0.6524392", "0.6510147", "0.6483944", "0.6442071", "0.6441105", "0.63675874", "0.63626397", "0.6357284", "0.6321374", "0.62473804", "0.62401104", "0.623188", "0.62209946", "0.6219446", "0.62061167", "0.62055504", "0.618872...
0.6854561
0
/validateCustomerId(customerId); Customer customer = dao.findById(customerId); return customer.getBoughtItems();
@Transactional @Override public Set<Item> itemsBoughtByCustomer(Long customerId) { validateCustomerId(customerId); Optional<Customer> optional = custRepository.findById(customerId); if(!optional.isPresent()) { throw new CustomerNotFoundException("Customer with id "+customerId+" not found"); } Customer...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Customer getCustomerById(int customerId);", "public ResponseEntity<customer.controller.Customer> getCustomerById(Long id);", "@RequestMapping(value = \"/customer/{id}\",method=RequestMethod.GET)\n @ResponseStatus(HttpStatus.OK)\n public CustomerViewModel findCustomerById(@PathVariable(\"id\") int id){\n ...
[ "0.6848436", "0.660069", "0.6597413", "0.6565243", "0.63766116", "0.6354703", "0.63203526", "0.6297859", "0.62682503", "0.6186749", "0.6155789", "0.613269", "0.60867685", "0.60337055", "0.6028327", "0.5993979", "0.5982107", "0.5964447", "0.59619164", "0.5951819", "0.5934628",...
0.6847837
1
Creates a dataset, consisting of two series of data.
private static XYDataset createDataset(Double[] x, Double[] y) { logger.info("Creating Dataset"); XYSeries s1 = new XYSeries(Double.valueOf(1)); if (x.length != y.length) { logger.error("Error in createDataset of ScatterDialog. " + "Could not create a dataset for the scatter plot -- missing data"); ret...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private XYMultipleSeriesDataset getdemodataset() {\n\t\t\tdataset1 = new XYMultipleSeriesDataset();// xy轴数据源\n\t\t\tseries = new XYSeries(\"温度 \");// 这个事是显示多条用的,显不显示在上面render设置\n\t\t\t// 这里相当于初始化,初始化中无需添加数据,因为如果这里添加第一个数据的话,\n\t\t\t// 很容易使第一个数据和定时器中更新的第二个数据的时间间隔不为两秒,所以下面语句屏蔽\n\t\t\t// 这里可以一次更新五个数据,这样的话相当于开始的时候就把五个数...
[ "0.68856937", "0.67979383", "0.6652721", "0.64073414", "0.6402447", "0.6180309", "0.6122404", "0.611828", "0.60639745", "0.60335404", "0.5927443", "0.58862215", "0.5867566", "0.5854937", "0.58384985", "0.5809894", "0.57639587", "0.5761636", "0.574545", "0.5707251", "0.5694659...
0.708097
0
Constructor. Set count to 0.
public ShippingQueue() { first = null; count = 0; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setCountToZero() {\r\n \r\n // set count to 0\r\n count = 0;\r\n }", "public Counter() {\r\n this.count = 0;\r\n }", "public void resetCount() {\n count = 0;\n }", "public void resetCount() {\n\t\tcount = 0;\n\t}", "public BasicCounter() {\n ...
[ "0.82945275", "0.806277", "0.7737917", "0.7677657", "0.7625045", "0.75776595", "0.75355124", "0.75355124", "0.74891865", "0.74377054", "0.7400334", "0.72741365", "0.72162986", "0.71654093", "0.7153048", "0.7153048", "0.71119696", "0.7104472", "0.70761085", "0.70427203", "0.70...
0.0
-1
add. Add a Package to the queue. This is a priority queue, so the packages with the highest priority number should come first. When you add a Package, you must add it in sorted order. Don't forget to update the count variable
public void add(Package p) { if (first != null) p.next = first; first = p; count++; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void addToQueue (Parcel[] packagesAssigned){\n\n }", "public void add(DVDPackage dvd){\n\t\tqueue.addLast(dvd);\n\t}", "public void addProcess(Process p, PriorityQueue<Process> queue){\n \t\t// FCFS add's process directly to the end. \n\t\tp.setOrder(order);\n\t\torder++;\n\t\tqueue.add(p);\n\t}",...
[ "0.6877442", "0.6396917", "0.63136226", "0.6226027", "0.5927819", "0.5879001", "0.58273304", "0.5731696", "0.57239634", "0.5711024", "0.56995225", "0.56982625", "0.5679818", "0.5589292", "0.5561528", "0.5517952", "0.54421353", "0.54297405", "0.54087204", "0.54045755", "0.5392...
0.6778627
1
remove. Remove the Package at the first position and return it. This should be the package with the highest remaining priority. If first is null then return null. Don't forget to update the count variable
public Package remove() { if (first == null) return null; count--; return first.next; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public DVDPackage remove() {\n\t\t//The call to queue.removeFirst() will throw the NoSuchElementException if\n\t\t//the queue is empty. This exception is allowed to pass through this class.\n\t\treturn queue.removeFirst();\n\t}", "public Package removePackage(int index) {\r\n return (Package) myPackages....
[ "0.6781185", "0.67377275", "0.6489046", "0.63700837", "0.63606274", "0.6224886", "0.6218187", "0.61322325", "0.61274815", "0.59592676", "0.58955956", "0.58925825", "0.58653337", "0.58613807", "0.58233404", "0.5777961", "0.5767058", "0.57492095", "0.5735293", "0.5733629", "0.5...
0.8010009
0
Is there a next package?
@Override public boolean hasNext() { if (first.next == null) { return false; } else return true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "boolean usesNext() {\n return next != null;\n }", "public boolean getNext();", "private boolean isNextReady()\n {\n return __m_NextReady;\n }", "boolean hasPackageName();", "@Override\n public boolean packageExists(String name) {\n return head.packageExists(name) || tail....
[ "0.6050386", "0.5766345", "0.5638419", "0.56309056", "0.56294876", "0.55595654", "0.5420935", "0.53341424", "0.52937204", "0.527817", "0.5273309", "0.5269548", "0.5265253", "0.5261617", "0.5233677", "0.52185696", "0.5206354", "0.51807", "0.5180352", "0.51784736", "0.5159185",...
0.0
-1
Move to the next Package and return it
@Override public Package next() { if (first.next == null) return null; else return first.next; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Package getPackage(int i) {\r\n if (i >= myPackages.size())\r\n return null;\r\n return (Package) myPackages.get(i);\r\n }", "public T getNextItem();", "public Prism getNext() {\r\n\t\treturn next;\r\n\t}", "boolean nextItem();", "io.deniffel.dsl.useCase.useCase.Package g...
[ "0.60399187", "0.59794873", "0.58249086", "0.5792948", "0.5780671", "0.5778686", "0.57423866", "0.57393914", "0.5737101", "0.56965", "0.56952906", "0.56440705", "0.56306684", "0.55894345", "0.55894345", "0.5587637", "0.55812633", "0.55461097", "0.5538925", "0.553326", "0.5521...
0.75175315
0
You do NOT need to implement the remove method
@Override public void remove() { // YOU DO NOT NEED TO WRITE THIS }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\t\tpublic void remove() {\n\t\t\t\n\t\t}", "@Override\n\t\tpublic void remove() {\n\t\t\t\n\t\t}", "@Override\n\t\t\t\tpublic void remove() {\n\t\t\t\t\t\n\t\t\t\t}", "@Override\n\tpublic void remove() {\n\t\t\n\t}", "@Override\n\tpublic void remove() {\n\t\t\n\t}", "@Override\n\tpublic void ...
[ "0.89283675", "0.89283675", "0.89268494", "0.885117", "0.885117", "0.885117", "0.885117", "0.885117", "0.885117", "0.885117", "0.885117", "0.8846534", "0.88314474", "0.88314474", "0.8825139", "0.87793833", "0.86912537", "0.8675569", "0.8666081", "0.84955335", "0.84729934", ...
0.88975024
3
This method was generated by MyBatis Generator. This method returns the value of the database column service.ID
public Integer getId() { return id; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Integer getServiceid() {\r\n return serviceid;\r\n }", "public ID getServiceID() {\n\treturn serviceID;\n }", "public int getServiceID() {\n return serviceID;\n }", "public long getId() {\n return mServiceId;\n }", "public java.lang.Long getServiceId() {\n return ...
[ "0.7141871", "0.70337033", "0.7028771", "0.70162725", "0.68293226", "0.68107826", "0.68053603", "0.66616184", "0.657042", "0.6507261", "0.6468149", "0.64348686", "0.6412842", "0.6362864", "0.63353026", "0.6197762", "0.6157017", "0.61465013", "0.61062896", "0.6038029", "0.6036...
0.0
-1
This method was generated by MyBatis Generator. This method sets the value of the database column service.ID
public void setId(Integer id) { this.id = id; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setServiceID(int value) {\n this.serviceID = value;\n }", "public void setServiceID(java.lang.String serviceID)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xm...
[ "0.7239776", "0.696826", "0.6811905", "0.6626242", "0.6602266", "0.65651923", "0.65306336", "0.64472216", "0.63583374", "0.6304159", "0.6067487", "0.60432434", "0.60051614", "0.5999119", "0.59673536", "0.5905921", "0.58994883", "0.5891635", "0.5874202", "0.5857305", "0.585269...
0.0
-1
This method was generated by MyBatis Generator. This method returns the value of the database column service.MEMBER_ID
public Integer getMemberId() { return memberId; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic MemberVO getMemberId(String memberCode) {\n\t\treturn sqlSession.selectOne(namespace + \".getMemberId\", memberCode);\r\n\t}", "public String getMemberId() {\n return memberId;\n }", "public String getMemberId() {\n return memberId;\n }", "public String getMember_id(...
[ "0.7275783", "0.72658616", "0.72658616", "0.72363025", "0.72363025", "0.7171279", "0.7034988", "0.68868244", "0.6801195", "0.67679954", "0.67346334", "0.67154497", "0.6660772", "0.6584933", "0.641487", "0.63943243", "0.6343143", "0.6323696", "0.6299032", "0.6246355", "0.61495...
0.73752755
1
This method was generated by MyBatis Generator. This method sets the value of the database column service.MEMBER_ID
public void setMemberId(Integer memberId) { this.memberId = memberId; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setMemberID(String memberID){ this.memberID=memberID; }", "public void setMemberId(String memberId) {\n this.memberId = memberId == null ? null : memberId.trim();\n }", "public void setMemberId(String memberId) {\n this.memberId = memberId == null ? null : memberId.trim();\n }",...
[ "0.7081752", "0.68674374", "0.68674374", "0.6817978", "0.6808146", "0.66795665", "0.65809387", "0.65809387", "0.6476044", "0.6476044", "0.6457744", "0.6457744", "0.64403397", "0.64403397", "0.6283755", "0.6215626", "0.6157039", "0.61519533", "0.6088098", "0.6075843", "0.60666...
0.69091916
2
This method was generated by MyBatis Generator. This method returns the value of the database column service.NAME
public String getName() { return name; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getPropertyName(){\n return SimpleTableField.mapPropName(this.columnName);\n }", "@Override\n public String getName() {\n return columnInfo.getName();\n }", "public String getName() {\n return columnName;\n }", "public String getName(){\n\t\t\treturn columnName;...
[ "0.64198667", "0.6411954", "0.6332808", "0.6278795", "0.6269574", "0.6269574", "0.6158113", "0.61503065", "0.6130006", "0.6113603", "0.6113603", "0.6098556", "0.60482097", "0.6030593", "0.59816766", "0.5973456", "0.5973456", "0.59572566", "0.591039", "0.5898827", "0.58736724"...
0.0
-1
This method was generated by MyBatis Generator. This method sets the value of the database column service.NAME
public void setName(String name) { this.name = name == null ? null : name.trim(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract void setServiceName(String serviceName);", "@Override\n\tpublic void setName(java.lang.String name) {\n\t\t_expandoColumn.setName(name);\n\t}", "public void setServicename(java.lang.String newServicename) {\n\tservicename = newServicename;\n}", "public void setServiceName(String serviceName){...
[ "0.613375", "0.6129687", "0.61261165", "0.5971799", "0.5930493", "0.57969725", "0.57886344", "0.57881993", "0.57641137", "0.5741463", "0.5713868", "0.5683948", "0.56811625", "0.5678856", "0.5678856", "0.5677807", "0.56726664", "0.5670359", "0.56696033", "0.5664441", "0.564516...
0.0
-1
This method was generated by MyBatis Generator. This method returns the value of the database column service.INPUT_TIME
public Date getInputTime() { return inputTime; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setInputTime(Date inputTime) {\n this.inputTime = inputTime;\n }", "public void setInputTime(Date inputTime) {\n this.inputTime = inputTime;\n }", "public int getMatchTime() {\n return getIntegerProperty(\"Time\");\n }", "public String getTimeType() {\n\t\treturn timeType;...
[ "0.5636246", "0.5636246", "0.55321467", "0.55244577", "0.5499002", "0.5489463", "0.54762304", "0.5457447", "0.5336435", "0.53344077", "0.53344077", "0.53321445", "0.532674", "0.53176874", "0.52988267", "0.5298411", "0.52925247", "0.5288698", "0.52854836", "0.5283476", "0.5271...
0.69500554
1
This method was generated by MyBatis Generator. This method sets the value of the database column service.INPUT_TIME
public void setInputTime(Date inputTime) { this.inputTime = inputTime; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setTime(DateTime inputTime){\n time = inputTime.getMillis();\n timeZone = inputTime.getZone();\n }", "public Date getInputTime() {\n return inputTime;\n }", "public Date getInputTime() {\n return inputTime;\n }", "public abstract void setStartTime(Date startTi...
[ "0.65393203", "0.6148631", "0.6148631", "0.5623203", "0.5595647", "0.5489193", "0.5390222", "0.53574413", "0.5317599", "0.5303096", "0.5293666", "0.5290372", "0.52769315", "0.5269617", "0.5259286", "0.5250594", "0.5227649", "0.5227649", "0.5227649", "0.52270985", "0.5216545",...
0.70896614
1
This method was generated by MyBatis Generator. This method returns the value of the database column service.INPUT_USER
public String getInputUser() { return inputUser; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private String getUserId(JSONObject input) throws JSONException {\n String userId;\n\n if(input.has(\"user_id\")) { //$NON-NLS-1$\n userId = input.getString(\"user_id\"); //$NON-NLS-1$\n } else {\n userId = userSessionService.getUser().getUsername();\n }\n\n ...
[ "0.61117584", "0.60645044", "0.59860146", "0.5936701", "0.5874652", "0.5865695", "0.5786027", "0.55902547", "0.5580092", "0.5547726", "0.5528829", "0.5498316", "0.5498316", "0.5498316", "0.54955715", "0.54955715", "0.54955715", "0.54578733", "0.54354614", "0.54278165", "0.542...
0.7028351
0
This method was generated by MyBatis Generator. This method sets the value of the database column service.INPUT_USER
public void setInputUser(String inputUser) { this.inputUser = inputUser == null ? null : inputUser.trim(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getInputUser() {\n return inputUser;\n }", "public void setInput(String input);", "public void setUserinput(String userinput){\n String[] inputs = userinput.split(\" \");\n if(inputs.length > 1){\n this.userinput_var = inputs[1];\n }\n this.userinp...
[ "0.5958028", "0.552564", "0.5520919", "0.5461709", "0.54473495", "0.5405622", "0.5405341", "0.5390026", "0.5314518", "0.5310821", "0.52862906", "0.52787375", "0.5257808", "0.5240496", "0.5183795", "0.5137597", "0.5128658", "0.51259816", "0.51218593", "0.51188004", "0.51115", ...
0.657622
0
This method was generated by MyBatis Generator. This method returns the value of the database column service.UPDATE_TIME
public Date getUpdateTime() { return updateTime; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Long getUpdateDatetime() {\n return updateDatetime;\n }", "public java.sql.Timestamp getUpdateTime () {\r\n\t\treturn updateTime;\r\n\t}", "public Date getUpdate_time() {\n return update_time;\n }", "public Date getUpdate_time() {\n return update_time;\n }", "public com...
[ "0.7388682", "0.7335364", "0.7289034", "0.7289034", "0.7235728", "0.7135513", "0.7135513", "0.71105057", "0.7110121", "0.7110121", "0.7110121", "0.70965385", "0.70965385", "0.7030034", "0.7026784", "0.7001807", "0.69995344", "0.69667375", "0.6947762", "0.6947762", "0.69378257...
0.6791335
75
This method was generated by MyBatis Generator. This method sets the value of the database column service.UPDATE_TIME
public void setUpdateTime(Date updateTime) { this.updateTime = updateTime; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setUpdate_time(Date update_time) {\n this.update_time = update_time;\n }", "public void setUpdate_time(Date update_time) {\n this.update_time = update_time;\n }", "public void setUpdateTime (java.sql.Timestamp updateTime) {\r\n\t\tthis.updateTime = updateTime;\r\n\t}", "public...
[ "0.69530594", "0.69530594", "0.6909758", "0.6798521", "0.6771402", "0.66353154", "0.6623169", "0.6623169", "0.6623169", "0.6604971", "0.65987366", "0.65987366", "0.6581727", "0.6581727", "0.6581727", "0.6581727", "0.65768856", "0.6552457", "0.6512287", "0.65107894", "0.648527...
0.6501244
51
This method was generated by MyBatis Generator. This method returns the value of the database column service.UPDATE_USER
public String getUpdateUser() { return updateUser; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Integer getUpdateUser() {\n return updateUser;\n }", "public String getUpdateUser() {\r\n return updateUser;\r\n }", "public String getUpdateUser() {\r\n return updateUser;\r\n }", "public String getUpdateUser() {\n return updateUser; \n }", "public String get...
[ "0.7097959", "0.70296097", "0.70296097", "0.7026392", "0.7018426", "0.70060617", "0.6981443", "0.6975312", "0.6975312", "0.69450575", "0.6836204", "0.68208253", "0.6804073", "0.6785432", "0.67698455", "0.6524771", "0.646666", "0.6405054", "0.63301355", "0.62819636", "0.627603...
0.6991572
11
This method was generated by MyBatis Generator. This method sets the value of the database column service.UPDATE_USER
public void setUpdateUser(String updateUser) { this.updateUser = updateUser == null ? null : updateUser.trim(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void setUpdateUser(entity.User value) {\n __getInternalInterface().setFieldValue(UPDATEUSER_PROP.get(), value);\n }", "public void setUpdateUser(entity.User value) {\n __getInternalInterface().setFieldValue(UPDATEUSER_PROP.get(), value);\n }", "public void setUpdateUser(Integer updateUser) ...
[ "0.7211519", "0.70206976", "0.6912714", "0.677359", "0.6758798", "0.6715612", "0.66252893", "0.65910757", "0.65904486", "0.65721476", "0.65721476", "0.6567318", "0.6543391", "0.6517886", "0.6510833", "0.65031976", "0.64858526", "0.64848983", "0.64631593", "0.6460381", "0.6454...
0.6188918
54
This method was generated by MyBatis Generator. This method returns the value of the database column service.CONTEXT
public String getContext() { return context; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ColumnContext context() {\n\t\t\treturn context;\n\t\t}", "public ColumnContext context() {\n\t\t\treturn context;\n\t\t}", "@java.lang.Override public int getContextValue() {\n return context_;\n }", "@java.lang.Override public int getContextValue() {\n return context_;\n }", "public in...
[ "0.6933981", "0.6933981", "0.6902006", "0.68819714", "0.6864844", "0.6710542", "0.6688698", "0.65223044", "0.64504546", "0.64446616", "0.638721", "0.624525", "0.6235489", "0.6150329", "0.61075056", "0.60956645", "0.6070511", "0.6016485", "0.59874177", "0.5980187", "0.5980103"...
0.6313228
12
This method was generated by MyBatis Generator. This method sets the value of the database column service.CONTEXT
public void setContext(String context) { this.context = context == null ? null : context.trim(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "static void setActiveContext(ApplicationContext context) {\n SchemaCompilerApplicationContext.context = context;\n }", "public void setContext(String context) {\r\n\t\tthis.context = context;\r\n\t}", "public void setContext(String context) {\n\t\tthis.context = context;\n\t}", "@Override\r\n\tpubl...
[ "0.6158842", "0.6073568", "0.60556847", "0.58696944", "0.58510566", "0.58355623", "0.5807768", "0.5795783", "0.57854974", "0.5779765", "0.5749992", "0.5711723", "0.5699306", "0.56979066", "0.5687175", "0.5687175", "0.5685481", "0.56719935", "0.56508654", "0.56492174", "0.5634...
0.5669494
20
convertToUDate Chuyen ngay kieu java.util.Date thanh java.sql.Date
public static java.util.Date convertToUDate(java.sql.Date sDate) { if (sDate == null) { return null; } else { java.util.Date uDate = new Date(sDate.getTime()); return uDate; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private java.sql.Date convertirDeDateUtilaDateSql(java.util.Date uDate) {\r\n java.sql.Date sDate = new java.sql.Date(uDate.getTime());\r\n return sDate;\r\n }", "public static java.sql.Date convertToSDate(java.util.Date uDate) {\n\t\tif (uDate == null) {\n\t\t\treturn null;\n\t\t} else {\n\t\t\...
[ "0.85999125", "0.7387899", "0.7264083", "0.7222738", "0.707147", "0.695887", "0.67972684", "0.67660934", "0.67505777", "0.66991484", "0.6652503", "0.6598512", "0.6533969", "0.64430445", "0.6398552", "0.63924557", "0.6253982", "0.6197552", "0.61327827", "0.6132071", "0.6108615...
0.7638536
1
convertToSDate Chuyen ngay kieu java.util.Date thanh java.sql.Date
public static java.sql.Date convertToSDate(java.util.Date uDate) { if (uDate == null) { return null; } else { java.sql.Date sDate = new java.sql.Date(uDate.getTime()); return sDate; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private java.sql.Date convertirDeDateUtilaDateSql(java.util.Date uDate) {\r\n java.sql.Date sDate = new java.sql.Date(uDate.getTime());\r\n return sDate;\r\n }", "private java.sql.Date convert(Date datet) {\n\t\treturn null;\n\t}", "public java.sql.Date toSQLDate() {\r\n String isoStr =...
[ "0.7768294", "0.73605156", "0.7347047", "0.7245723", "0.70261204", "0.6998328", "0.69444513", "0.69426984", "0.6931486", "0.6893768", "0.6817637", "0.67105466", "0.66424173", "0.6598668", "0.6588941", "0.65768576", "0.6558136", "0.6431116", "0.6341536", "0.6331994", "0.629967...
0.76817745
1
convertToUDate Chuyen ngay kieu java.sql.Timestamp thanh java.util.Date
public static java.util.Date convertToUDate(java.sql.Timestamp timeStamp) { if (timeStamp == null) { return null; } else { java.util.Date uDate = new Date(timeStamp.getTime()); return uDate; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private java.sql.Date convertirDeDateUtilaDateSql(java.util.Date uDate) {\r\n java.sql.Date sDate = new java.sql.Date(uDate.getTime());\r\n return sDate;\r\n }", "public static java.sql.Timestamp convertToTimestamp(java.util.Date uDate) {\n\t\tif (uDate == null) {\n\t\t\treturn null;\n\t\t} else...
[ "0.7916452", "0.76112527", "0.7104301", "0.69808394", "0.6881047", "0.68468946", "0.6843865", "0.6795115", "0.6519672", "0.65087265", "0.6389383", "0.6385848", "0.61988586", "0.61726624", "0.6158701", "0.61560786", "0.6152446", "0.61156625", "0.61031634", "0.607575", "0.60439...
0.7466443
2
convertToTimestamp Chuyen ngay kieu java.util.Date thanh java.sql.Timestamp
public static java.sql.Timestamp convertToTimestamp(java.util.Date uDate) { if (uDate == null) { return null; } else { java.sql.Timestamp timeStamp = new Timestamp(uDate.getTime()); return timeStamp; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private java.sql.Timestamp convert(java.util.Date date){\r\n \tjava.sql.Timestamp result = null;\r\n \tif(date!=null){\r\n \t\tresult = new java.sql.Timestamp(date.getTime()); \t\t\r\n \t}\r\n \treturn result;\r\n }", "protected static java.sql.Timestamp getConvertedTimestamp(java.util.Date ...
[ "0.79029703", "0.7597293", "0.75040054", "0.74612635", "0.73595214", "0.6991251", "0.6893452", "0.67698693", "0.6631224", "0.644541", "0.6423869", "0.62786573", "0.6277829", "0.62777233", "0.6261875", "0.62159324", "0.6196392", "0.616592", "0.6151309", "0.611996", "0.6100724"...
0.76232606
1
convertToSDate Chuyen String dinh dang "dd/MM/yyyy" thanh ngay kieu java.sql.Date
public static java.sql.Date convertToSDate(String dateInString) { if (dateInString == null) { return null; } else { SimpleDateFormat dateFormat = new SimpleDateFormat("dd/MM/yyyy"); java.util.Date uDate = null; java.sql.Date sDate = null; try { uDate = dateFormat.parse(dateInString); sDate = ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String ConvertDate(){\r\n//\t\tDate date=JavaUtils.getSystemDate();\r\n//\t DateFormat df = new SimpleDateFormat(\"yyyy/MM/dd\");\r\n\t String pattern = \"yyyy-MM-dd\";\r\n\t SimpleDateFormat simpleDateFormat = new SimpleDateFormat(pattern);\r\n\r\n\t String date = simpleDateFormat.format(new Da...
[ "0.73841166", "0.7261501", "0.7012705", "0.69953525", "0.6977677", "0.6953687", "0.6919276", "0.6879902", "0.68765247", "0.68761504", "0.6834074", "0.6794119", "0.67821825", "0.6774365", "0.67610526", "0.67508173", "0.66371423", "0.6630946", "0.655122", "0.6538807", "0.653501...
0.7522534
0
convertToUDate Chuyen String dinh dang "dd/MM/yyyy" thanh ngay kieu java.util.Date
public static java.util.Date convertToUDate(String dateInString) { if (dateInString == null) { return null; } else { SimpleDateFormat dateFormat = new SimpleDateFormat("dd/MM/yyyy"); java.util.Date uDate = null; try { uDate = dateFormat.parse(dateInString); } catch (ParseException e) { return...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private String convertDate(String date){\r\n String arrDate[] = date.split(\"/\");\r\n date = arrDate[2] + \"-\" + arrDate[1] + \"-\" + arrDate[0];\r\n return date;\r\n }", "public String ConvertDate(){\r\n//\t\tDate date=JavaUtils.getSystemDate();\r\n//\t DateFormat df = new SimpleDateFormat(\"yyyy...
[ "0.7285206", "0.72417647", "0.7239355", "0.7131241", "0.6990004", "0.69402874", "0.68993306", "0.6885549", "0.67787564", "0.66300476", "0.6500829", "0.64982927", "0.64799345", "0.6474084", "0.64125276", "0.6405038", "0.63707393", "0.63148284", "0.6311314", "0.6298492", "0.625...
0.734186
0
convertToUDatetime Chuyen String dinh dang "dd/MM/yyyy HH:mm:ss" thanh ngay gio kieu java.util.Date
public static java.util.Date convertToUDatetime(String datetimeInString) { if (datetimeInString == null) { return null; } else { SimpleDateFormat dateFormat = new SimpleDateFormat("dd/MM/yyyy HH:mm:ss"); java.util.Date uDate = null; try { uDate = dateFormat.parse(datetimeInString); } catch (Parse...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static String formatDatetime(java.util.Date uDate) {\n\t\tif (uDate == null) {\n\t\t\treturn null;\n\t\t} else {\n\t\t\tSimpleDateFormat dateFormat = new SimpleDateFormat(\n\t\t\t\t\t\"dd/MM/yyyy HH:mm:ss\");\n\t\t\treturn dateFormat.format(uDate);\n\t\t}\n\t}", "private java.sql.Date convertirDeDateUtila...
[ "0.6882001", "0.6457713", "0.63499933", "0.6278048", "0.6169994", "0.6167355", "0.61659664", "0.61032295", "0.61019427", "0.60310596", "0.60223466", "0.5950323", "0.5945115", "0.59069026", "0.59006345", "0.5898275", "0.5888609", "0.5884131", "0.5877605", "0.5853823", "0.58527...
0.6260821
4
convertToTimestamp Chuyen String dinh dang "dd/MM/yyyy HH:mm:ss" thanh ngay gio kieu java.sql.Timestamp
public static java.sql.Timestamp convertToTimestamp(String timeStampInString) { if (timeStampInString == null) { return null; } else { SimpleDateFormat dateFormat = new SimpleDateFormat("dd/MM/yyyy HH:mm:ss"); java.util.Date uDate = null; java.sql.Timestamp timeStamp = null; try { uDate = dateFor...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\t\tpublic java.sql.Timestamp convert(String s) throws ParseException {\n\t\t\ts = supportHtml5DateTimePattern(s);\n\t\t\t\n\t\t\tif (timeStampWithoutSecPatternLen == s.length()) {\n\t\t\t\ts = s + \":00\";\n\t\t\t}\n\t\t\tif (s.length() > dateLen) {\n\t\t\t\treturn java.sql.Timestamp.valueOf(s);\n\t\t\...
[ "0.70784014", "0.6651805", "0.65048575", "0.6487308", "0.64831966", "0.6407316", "0.63662905", "0.63315344", "0.62704194", "0.6261193", "0.6261193", "0.61825323", "0.6177587", "0.6114078", "0.6074305", "0.6062768", "0.6046677", "0.6032757", "0.5998816", "0.5992103", "0.594219...
0.7142041
0
formatDate Dinh dang ngay kieu java.util.Date thanh String theo mau "dd/MM/yyyy"
public static String formatDate(java.util.Date uDate) { if (uDate == null) { return null; } else { SimpleDateFormat dateFormat = new SimpleDateFormat("dd/MM/yyyy"); return dateFormat.format(uDate); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private String formatDate(Date date) {\n String resultDate;\n SimpleDateFormat dateFormat;\n dateFormat = new SimpleDateFormat(\"dd/MM/yyyy\");\n resultDate = dateFormat.format(date);\n return resultDate;\n }", "public String format (Date date , String dateFormat) ;", "pu...
[ "0.8366179", "0.7811116", "0.7705036", "0.7580301", "0.7540596", "0.748867", "0.7452567", "0.7408051", "0.73609936", "0.7323963", "0.73035157", "0.7284197", "0.72756475", "0.72003305", "0.7179332", "0.7170215", "0.71633524", "0.7151514", "0.7148029", "0.71374375", "0.713371",...
0.7435738
7