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
Add a first tab.
public void Add0(String[] ss, String s) { theList0 = Add(ss, s); theSelected0 = new boolean[ss.length]; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void addTab(Tab tab) {\n\t\t\n\t}", "public void addTab(String filename) {\n\t\t\n\t\tMinLFile nminl = new MinLFile(filename);\n\t\tJComponent panel = nminl;\n\t\t\n\t\ttabbedPane.addTab(filename, null, panel,\n\t\t\t\tfilename);\t\t\n\t\ttabbedPane.setMnemonicAt(0, 0);\n\t}", "private void...
[ "0.7016202", "0.7004047", "0.69706905", "0.6889334", "0.6874861", "0.68553925", "0.6822275", "0.6683881", "0.6630864", "0.6548178", "0.65428835", "0.6374662", "0.6315695", "0.6303467", "0.629407", "0.62188184", "0.62154824", "0.6194327", "0.6158398", "0.61498564", "0.60604286...
0.0
-1
Add a second tab.
public void Add1(String[] ss, String s) { theList1 = Add(ss, s); theSelected1 = new boolean[ss.length]; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void addTab(Tab tab) {\n\t\t\n\t}", "public void addNewTab() {\n int count = workspaceTabs.getComponentCount() + 1;\n String title = \"Workspace \" + count;\n WorkspacePanel panel = new WorkspacePanel(title);\n DropHandler dropHandler = searchMenu.createDropHandler...
[ "0.72846246", "0.7052276", "0.6992522", "0.69910526", "0.6879947", "0.6535454", "0.6511171", "0.6459328", "0.6428293", "0.64147145", "0.6408477", "0.63907903", "0.63609296", "0.62691283", "0.6252594", "0.615374", "0.61531657", "0.614245", "0.61360633", "0.61212766", "0.609459...
0.0
-1
Add a third tab.
public void Add2(String[] ss, String s) { theList2 = Add(ss, s); theSelected2 = new boolean[ss.length]; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void addTab(Tab tab, int position) {\n\t\t\n\t}", "@Override\n\tpublic void addTab(Tab tab) {\n\t\t\n\t}", "public void addNewTab() {\n int count = workspaceTabs.getComponentCount() + 1;\n String title = \"Workspace \" + count;\n WorkspacePanel panel = new WorkspacePane...
[ "0.70770913", "0.7049795", "0.689835", "0.67706245", "0.6611072", "0.6604117", "0.6598366", "0.6584225", "0.64079666", "0.64038765", "0.62979335", "0.6218183", "0.61731786", "0.6161303", "0.6156926", "0.6147759", "0.6094071", "0.6081948", "0.60573953", "0.60493284", "0.598508...
0.0
-1
Add a fourth tab.
public void Add3(String[] ss, String s) { theList3 = Add(ss, s); theSelected3 = new boolean[ss.length]; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void addTab(Tab tab, int position) {\n\t\t\n\t}", "@Override\n\tpublic void addTab(Tab tab) {\n\t\t\n\t}", "public void addTab(String filename) {\n\t\t\n\t\tMinLFile nminl = new MinLFile(filename);\n\t\tJComponent panel = nminl;\n\t\t\n\t\ttabbedPane.addTab(filename, null, panel,\n\t\t\t\tf...
[ "0.70048225", "0.6840428", "0.6640053", "0.6622929", "0.662043", "0.6444349", "0.64113957", "0.63789463", "0.6358721", "0.63323957", "0.6260171", "0.62406945", "0.6227377", "0.62190515", "0.60625386", "0.6017993", "0.59625155", "0.59558636", "0.5955161", "0.5934383", "0.59282...
0.0
-1
Add the Save tab.
public void Add9(String s) { // theFileChooser.setCurrentDirectory(new File(".")); // theFileChooser.setFileFilter(new CsvFileFilter()); // theFileChooser.setControlButtonsAreShown(false); // theFileChooser.setDialogType(JFileChooser.SAVE_DIALOG); // thePanel9.removeAll(); // thePanel9.add(theFileChooser, B...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void clickSaveFile(Editor editor, Tab tab) {\n editor.addSaveHandler(createClickSavaHandler(editor, tab));\n }", "void saveSet() {\n if( file==null ) {\n int returnVal = fc.showSaveDialog(this);\n if (returnVal != JFileChooser.APPROVE_OPTION) {\n Syst...
[ "0.68164235", "0.63112575", "0.62924504", "0.6269359", "0.62509906", "0.61960614", "0.60745764", "0.5986274", "0.5961428", "0.5961004", "0.59607804", "0.5929525", "0.591305", "0.5903476", "0.5877616", "0.5855774", "0.58321494", "0.58200055", "0.58132297", "0.5806771", "0.5787...
0.5992376
7
Return whether the ith item on the first tab is selected.
public boolean IsSelected0(int i) { return theSelected0[i]; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean IsSelected1(int i) {\n\t\treturn theSelected1[i];\n\t}", "public abstract boolean isIndexSelected(int i);", "public boolean isSelectedIndex(int index)\r\n {\r\n return (avatarIndex == index);\r\n }", "public boolean isIndexSelected(int idx) {\n return getElement().isIndexSe...
[ "0.7129192", "0.6849058", "0.65392596", "0.64286035", "0.63974434", "0.63263", "0.61729115", "0.6162143", "0.61548287", "0.61249715", "0.6103604", "0.61004084", "0.6087963", "0.6064352", "0.60270315", "0.60125655", "0.60125655", "0.60125655", "0.59964305", "0.59927225", "0.59...
0.6895708
1
Return whether the ith item on the second tab is selected.
public boolean IsSelected1(int i) { return theSelected1[i]; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean IsSelected2(int i) {\n\t\treturn theSelected2[i];\n\t}", "public abstract boolean isIndexSelected(int i);", "public boolean isSelectedIndex(int index)\r\n {\r\n return (avatarIndex == index);\r\n }", "public boolean isMultiSelection()\n\t{\n\t\treturn this.isMultiple();\n\t}", "...
[ "0.74508214", "0.63747656", "0.5943569", "0.5835749", "0.5807412", "0.5769542", "0.5766539", "0.5736588", "0.5720886", "0.57132", "0.5680804", "0.5669001", "0.56445885", "0.56445885", "0.56445885", "0.5639065", "0.563264", "0.55416816", "0.5497332", "0.54859936", "0.54859936"...
0.6404447
1
Return whether the ith item on the third tab is selected.
public boolean IsSelected2(int i) { return theSelected2[i]; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean IsSelected3(int i) {\n\t\treturn theSelected3[i];\n\t}", "public abstract boolean isIndexSelected(int i);", "public boolean IsSelected1(int i) {\n\t\treturn theSelected1[i];\n\t}", "public boolean isSelectedIndex(int index)\r\n {\r\n return (avatarIndex == index);\r\n }", "publi...
[ "0.7924765", "0.6757161", "0.63234174", "0.6085049", "0.60710955", "0.60356885", "0.5993026", "0.59505314", "0.5846112", "0.5834728", "0.5822951", "0.5759197", "0.5719274", "0.568443", "0.56658816", "0.5609672", "0.5609672", "0.5609672", "0.56058043", "0.55486506", "0.5521635...
0.6304233
3
Return whether the ith item on the fourth tab is selected.
public boolean IsSelected3(int i) { return theSelected3[i]; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract boolean isIndexSelected(int i);", "public boolean isIndexSelected(int idx) {\n return getElement().isIndexSelected(idx);\n }", "public boolean IsSelected1(int i) {\n\t\treturn theSelected1[i];\n\t}", "public boolean isSelectedIndex(int index)\r\n {\r\n return (avatarIndex ...
[ "0.700356", "0.63786227", "0.63684297", "0.632929", "0.6195744", "0.60482204", "0.5901595", "0.5830533", "0.5823425", "0.5785597", "0.5747695", "0.5747695", "0.5747695", "0.5741721", "0.57184076", "0.56176066", "0.56128174", "0.5606141", "0.5604915", "0.5594909", "0.5591742",...
0.72821534
0
Convert the array with selected indices to an array of booelans.
private boolean[] SetSelected(boolean[] selected, JList list) { int[] indices = list.getSelectedIndices(); for (int i = 0; i < selected.length; i++) { selected[i] = false; } for (int i = 0; i < indices.length; i++) { selected[indices[i]] = true; } return selected; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static byte[] b(int... array) {\n if (array == null) {\n return null;\n }\n byte[] ret = new byte[array.length];\n for (int i = 0; i < ret.length; i++) {\n ret[i] = (byte) array[i];\n }\n return ret;\n }", "public boolean[] getBooleans(){\...
[ "0.45825097", "0.45668283", "0.45382386", "0.44742066", "0.44473344", "0.44035313", "0.4396488", "0.43742397", "0.43623254", "0.4360441", "0.4338845", "0.4325342", "0.43195358", "0.43041152", "0.42920274", "0.4290712", "0.42815736", "0.42768618", "0.42757684", "0.42702082", "...
0.0
-1
Create the power system
private void setupPowerSystem() { ps = new PowerSystem(PowerSystemSolutionMethod.ANL_OPF); // Create nodes & register with power system NodeData nodeWindGenerator = new NodeData(1,1.0,0,false,true); ps.addNode(nodeWindGenerator); NodeData nodeSubstation2 = new NodeData(2,1.0,0,false); ps.addNode(no...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void createSignalSystems() {\r\n\r\n createSignalSystemAtNode(this.scenario.getNetwork().getNodes().get(Id.createNodeId(2)));\r\n createSignalSystemAtNode(this.scenario.getNetwork().getNodes().get(Id.createNodeId(3)));\r\n createSignalSystemAtNode(this.scenario.getNetwork().getNodes()....
[ "0.66570765", "0.6647398", "0.60286", "0.5980184", "0.5888061", "0.5800359", "0.5762194", "0.56893885", "0.5683429", "0.5612099", "0.56102633", "0.5603371", "0.5569284", "0.551225", "0.5507921", "0.5506984", "0.5503435", "0.5482771", "0.54630905", "0.5449776", "0.54374695", ...
0.7545964
0
This interface is used to gain access to descriptors of the Descriptor class which are associated with a JMX component, i.e. MBean, MBeanInfo, MBeanAttributeInfo, MBeanNotificationInfo, MBeanOperationInfo, MBeanParameterInfo. ModelMBeans make extensive use of this interface in ModelMBeanInfo classes.
public interface DescriptorAccess extends DescriptorRead { /** * Sets Descriptor (full replace). * * @param inDescriptor replaces the Descriptor associated with the * component implementing this interface. If the inDescriptor is invalid for the * type of Info object it is being set for, an excep...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final Descriptor getDescriptor() throws MdsException {\n return Descriptor.deserialize(this.getBuffer());\n }", "public MBeanInfo getMBeanInfo() {\n buildDynamicMBeanInfo();\n return dMBeanInfo;\n }", "public interface PaxosMBeanInfo {\n /**\n * @return a string identifying ...
[ "0.6440372", "0.64095664", "0.62361085", "0.61762846", "0.6174984", "0.6142447", "0.6057478", "0.60564375", "0.59977454", "0.5991215", "0.59877884", "0.5986581", "0.5986581", "0.596951", "0.59661657", "0.59661657", "0.5957587", "0.5944344", "0.5881747", "0.58244866", "0.58178...
0.5801921
21
Sets Descriptor (full replace).
public void setDescriptor(Descriptor inDescriptor);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setDescriptor(UtfConstant descriptor)\n {\n m_descriptor = descriptor;\n }", "public void setDescriptor(ClassDescriptor descriptor) {\n this.descriptor = descriptor;\n }", "public interface DescriptorAccess extends DescriptorRead\n{\n /**\n * Sets Descriptor (fu...
[ "0.69116277", "0.68341005", "0.64729065", "0.63811076", "0.63506377", "0.63045824", "0.6046589", "0.5922682", "0.5859617", "0.58417094", "0.5769108", "0.5732636", "0.5721456", "0.560782", "0.560782", "0.5563992", "0.5563992", "0.5552664", "0.5552664", "0.55506635", "0.5550274...
0.8088063
0
Declaratives Services activation of instance.
void activate(Map<String, Object> config) { this.config = config; log.debug(bundleMarker, "Activating..."); for (Map.Entry<String, Object> entry : config.entrySet()) { log.debug(bundleMarker, "Property key={} value={}", entry.getKey(), entry.getValue()); } this.animalTemplate = getAnimal(getConfigStri...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void activate()\n {\n }", "public void activate(IActivator activator);", "public void activate() {\n\t\t// TODO Auto-generated method stub\n\t}", "public void activate() {\n\t\tactivated = true;\n\t}", "public void activate() {\n\n serviceTracker = new ServiceTracker<>(bundleContext, Bluepr...
[ "0.6385781", "0.63394463", "0.63181734", "0.6317195", "0.6232299", "0.62172294", "0.61971974", "0.6195615", "0.61850584", "0.6133997", "0.61139673", "0.61139673", "0.59931463", "0.59803706", "0.59722465", "0.59579766", "0.59537524", "0.59343094", "0.59343094", "0.593338", "0....
0.0
-1
Declaratives Services activation of instance.
void deactivate() { animalTemplate = null; scope=null; triggerOnID=false; state = null; log.debug(bundleMarker, "deactivating..."); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void activate()\n {\n }", "public void activate(IActivator activator);", "public void activate() {\n\t\t// TODO Auto-generated method stub\n\t}", "public void activate() {\n\t\tactivated = true;\n\t}", "public void activate() {\n\n serviceTracker = new ServiceTracker<>(bundleContext, Bluepr...
[ "0.6385781", "0.63394463", "0.63181734", "0.6317195", "0.6232299", "0.62172294", "0.61971974", "0.6195615", "0.61850584", "0.6133997", "0.61139673", "0.61139673", "0.59931463", "0.59803706", "0.59722465", "0.59579766", "0.59537524", "0.59343094", "0.59343094", "0.593338", "0....
0.0
-1
Overrides the superclass to add all Position and Measurement types of envelopes and to allow for triggering on eids.
@Override public void add(Envelope envelope) { if ((envelope.getValue() instanceof State) && (!triggerOnID)) { if (state == null) { if (((State) envelope.getValue()).getValue() == 1) { forwardConditionMet(); } } else if (state.equals(envelope.getValue())) { forwardConditionMet(); } } else...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setEnvelope() {\n this.envelope = new Envelope(this.roomCards.get(0), this.weaponCards.get(0), this.suspectCards.get(0));\n }", "public void setEnvelope(Envelope envelope) {\n this.envelope = envelope;\n }", "public abstract SOAPEnvelope getEnvelope() throws SOAPException;", "public...
[ "0.6050284", "0.5697936", "0.5126551", "0.50544274", "0.5043509", "0.49930328", "0.4934741", "0.49139762", "0.48825184", "0.4862691", "0.4858354", "0.4841546", "0.48370582", "0.48303938", "0.4798459", "0.47628406", "0.46799448", "0.46592638", "0.46574646", "0.46418583", "0.46...
0.47665548
15
Output the event in an envelope that is tagged with the ID associated with the Transaction to the EventProducer
private void output(Animal animal) { Envelope envelope = new BasicEnvelope(animal, id.toString(), scope); transactionProducer.produce(envelope); int i = totalAnimals.incrementAndGet(); lastEnvelope = envelope; log.info(bundleMarker, "Sent animal #{} of type={} and id={} to the producer service with scope ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void output(String scope, Measurement measurement, Long id){\n\t\tmeasurementTransaction = \n\t\t\tMeasurementTransaction.newInstance(measurement, scope, id);\n\t\t\n\t\tMap<String, Object> table = new HashMap<String, Object>();\n\t\ttable.put(IROUTER_PAYLOAD.toProp(),\n\t\t\t\tmeasurementTransaction);\n\t...
[ "0.5746264", "0.54423183", "0.54031336", "0.5400106", "0.52861905", "0.52574027", "0.52113414", "0.5199271", "0.5170505", "0.5128102", "0.5123317", "0.5019437", "0.50020826", "0.4983364", "0.49581844", "0.49239928", "0.49131384", "0.4890231", "0.4886977", "0.48704824", "0.485...
0.5762931
0
use ASTParse to parse string
protected void parse(ComponentInstance componentInstance) { try { componentInstance.clearDependencies(); ICompilationUnit element = (ICompilationUnit) JavaCore.create(componentInstance.getResource()); ASTParser parser = ASTParser.newParser(AST.JLS8); parser.setSource(element); parser.setKind(ASTP...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void parse(String string) {\n\t\t\n\t}", "public abstract T parse(String str);", "public abstract T parse(String s);", "public static Expr parse(String str) {\r\n\t\tExprBinary at = new ExprBinary(null, null); // the root of the tree\r\n\t\tStringBuilder opstore = new StringBuilder(); // stores operat...
[ "0.6951169", "0.6890166", "0.68732315", "0.6750542", "0.65023917", "0.647148", "0.6410876", "0.63824457", "0.63534236", "0.62742764", "0.62720263", "0.6239982", "0.6158983", "0.6142368", "0.6127143", "0.6089197", "0.6088859", "0.60494673", "0.6014764", "0.5977628", "0.5957498...
0.0
-1
Inflate the menu; this adds items to the action bar if it is present.
@Override public boolean onCreateOptionsMenu(Menu menu) { getMenuInflater().inflate(R.menu.menu_main, menu); return true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n \tMenuInflater inflater = getMenuInflater();\n \tinflater.inflate(R.menu.main_activity_actions, menu);\n \treturn super.onCreateOptionsMenu(menu);\n }", "@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {...
[ "0.7246102", "0.7201358", "0.7194834", "0.7176498", "0.71066517", "0.7039537", "0.7037961", "0.70112145", "0.70094734", "0.69807225", "0.6944953", "0.69389373", "0.6933199", "0.6916928", "0.6916928", "0.6891486", "0.68831646", "0.68754137", "0.68745375", "0.68621665", "0.6862...
0.0
-1
Handle action bar item clicks here. The action bar will automatically handle clicks on the Home/Up button, so long as you specify a parent activity in AndroidManifest.xml.
@Override public boolean onOptionsItemSelected(MenuItem item) { int id = item.getItemId(); //noinspection SimplifiableIfStatement if (id == R.id.action_settings) { return true; } return super.onOptionsItemSelected(item); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public boolean onOptionsItemSelected(MenuItem item) { Handle action bar item clicks here. The action bar will\n // automatically handle clicks on the Home/Up button, so long\n // as you specify a parent activity in AndroidManifest.xml.\n\n //\n // HANDLE BACK BUTTON\n ...
[ "0.79043454", "0.7805307", "0.7766523", "0.7726966", "0.76315224", "0.7621912", "0.758477", "0.75306976", "0.74880254", "0.74575543", "0.74575543", "0.7438532", "0.7421883", "0.7402763", "0.73917615", "0.7386916", "0.7379295", "0.7370095", "0.7362524", "0.7355668", "0.7345373...
0.0
-1
Copyright (C) 2004 2019 UCWeb Inc. All Rights Reserved. Description : GitHubService.java Creation : 2019/8/4 Author : cangui.ccg
public interface GitHubService { @GET("users/{user}/repos") Call<String> listRepos(@Path("user") String user); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface GitHubApi {\n\nString CALL_BACK = \"gitdroid\";\n // GitHub开发者,申请就行\n String CLIENT_ID = \"42da7ad27e1072117a76\";\n String CLIENT_SECRET = \"0d6c0947115aa6ec24498e96fa912ca02fc0457a\";\n\n // 授权时申请的可访问域\n String INITIAL_SCOPE = \"user,public_repo,repo\";\n\n // WebView来加载此URL,用来...
[ "0.70986205", "0.67865497", "0.6572974", "0.6520631", "0.63442737", "0.63109964", "0.6282231", "0.62785107", "0.62624437", "0.6253412", "0.61390424", "0.59772074", "0.59680146", "0.59496194", "0.59407717", "0.5931927", "0.59089446", "0.5856665", "0.58512866", "0.58443063", "0...
0.6182047
10
TODO use a different step to check the home title
@Given("The dealer open the MilesWeb portal Dealer home page {string}") public void the_dealer_open_the_MilesWeb_portal_Dealer_home_page(String url) { navigateTo.milesWebHomePage(url, "MilesWeb portale Dealer"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test \n\tpublic void homePageTitleTest() {\n\t\tHomePage homePage = new HomePage(driver);\n\t\thomePage.OpenPage();\n\t\t\n\t\t//Fetch title \n\t\tString title = homePage.getTitle();\n\t\t\n\t\t//Assert title content \n\t\tAssert.assertTrue(title.equals(\"Lorem Ipsum - All the facts - Lipsum generator\"));\n\t}",...
[ "0.7704381", "0.7600453", "0.73747116", "0.7197442", "0.70769656", "0.7006296", "0.6937634", "0.6918983", "0.6907315", "0.6901001", "0.6900813", "0.684262", "0.6824472", "0.67961955", "0.6792222", "0.6755956", "0.67150176", "0.6680237", "0.66679037", "0.6643609", "0.66422623"...
0.0
-1
TODO Autogenerated method stub
protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { doGet(request, response); }
{ "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
This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.
@SuppressWarnings("unchecked") // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents private void initComponents() { jLabel1 = new javax.swing.JLabel(); jTextField1 = new javax.swing.JTextField(); jLabel2 = new javax.swing.JLabel(); jButton1 =...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Form() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n }", "public frmRectangulo() {\n initComponents();\n }", "public form() {\n ...
[ "0.7319975", "0.7291426", "0.7291426", "0.7291426", "0.7286372", "0.7249133", "0.72134817", "0.7208172", "0.7196412", "0.7190365", "0.7184679", "0.71593916", "0.7147999", "0.7093026", "0.7080469", "0.7056178", "0.69875216", "0.69774026", "0.69545585", "0.69538534", "0.6945255...
0.0
-1
allocate a new file (structure) table entry for this file name allocate/retrieve and register the corresponding inode using dir increment this inode's count immediately write back this inode to the disk return a reference to this file (structure) table entry
public synchronized FileTableEntry falloc( String filename, String mode ) { short iNum = -1; Inode inode = null; // if not directory assign to the inumber corresponding to the file if (filename.equals("/") == false){ iNum = directory.namei(filename); }else{ ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public synchronized FileTableEntry falloc(String filename, String mode) {\n\t\tshort iNumber = -1; //inode number\n\t\tInode inode = null;//set null for inode\n\t\t\n\t\twhile (true) {\n\t\t\t//get iNumber from file name\n\t\t\tiNumber = (filename.equals(\"/\")) ? (short) 0 : dir.namei(filename);\n\t\t\t\n\t\t\t//...
[ "0.7032593", "0.690927", "0.67638373", "0.6360543", "0.59841424", "0.5885336", "0.5760627", "0.56790465", "0.56427836", "0.55384475", "0.5507714", "0.5436079", "0.542415", "0.5417252", "0.5402111", "0.53985405", "0.53655815", "0.5354263", "0.5335675", "0.5311128", "0.5306201"...
0.7109772
0
receive a file table entry reference save the corresponding inode to the disk free this file table entry. return true if this file table entry found in my table
public synchronized boolean ffree(FileTableEntry ftEnt) { // count is zero so return false if (ftEnt.inode.count == 0) { return false; } // subtract 1 from the count ftEnt.inode.count -= 1; // if the count is zero after the decrement // then it can be...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public synchronized boolean ffree(FileTableEntry entry) {\n\t\tInode inode = new Inode(entry.iNumber);//set the reference from file table\n\t\t\n\t\t if (table.remove(entry))\n\t {\n\t\t\t //check the table for read data\n\t if (inode.flag == READ)\n\t {\n\t if (inode.co...
[ "0.81548893", "0.79867923", "0.77234733", "0.6464103", "0.59019226", "0.5840855", "0.57541823", "0.57195604", "0.55509895", "0.5326646", "0.5323786", "0.5312824", "0.53082764", "0.526155", "0.52170813", "0.51740175", "0.516526", "0.5152707", "0.51386946", "0.5099432", "0.5070...
0.7064114
3
copied from assignment description
public synchronized boolean fempty() { return table.isEmpty( ); // return if table is empty }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void assignment() {\n\n\t\t\t}", "public void getAssignment() {\n \n }", "assign_op getAssign_op();", "Assignment createAssignment();", "Assignment createAssignment();", "private void processAssignment(String line) {\n\t\t//TODO: fill\n\t}", "VarAssignment createVarAssignment();", "...
[ "0.79252124", "0.7136139", "0.68191004", "0.65520716", "0.65520716", "0.6419094", "0.6407437", "0.6398055", "0.63079405", "0.6277124", "0.6209967", "0.6182541", "0.61797273", "0.61609894", "0.61395305", "0.61274934", "0.6126531", "0.61262566", "0.6121327", "0.611859", "0.6095...
0.0
-1
Create an entity for this test. This is a static method, as tests for other entities might also need it, if they test an entity which requires the current entity.
public static TypeOeuvre createEntity(EntityManager em) { TypeOeuvre typeOeuvre = new TypeOeuvre() .intitule(DEFAULT_INTITULE); return typeOeuvre; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Entity createEntity();", "T createEntity();", "protected abstract ENTITY createEntity();", "void create(E entity);", "void create(T entity);", "E create(E entity);", "E create(E entity);", "TestEntity buildEntity () {\n TestEntity testEntity = new TestEntity();\n testEntity.setName(\"Te...
[ "0.772318", "0.75051135", "0.74880123", "0.7361846", "0.7314592", "0.71563506", "0.71563506", "0.715137", "0.7150589", "0.70789564", "0.70169926", "0.68033403", "0.6752896", "0.67390555", "0.67390555", "0.6711267", "0.6681522", "0.66659015", "0.6640632", "0.6624671", "0.66241...
0.6067396
66
Create an updated entity for this test. This is a static method, as tests for other entities might also need it, if they test an entity which requires the current entity.
public static TypeOeuvre createUpdatedEntity(EntityManager em) { TypeOeuvre typeOeuvre = new TypeOeuvre() .intitule(UPDATED_INTITULE); return typeOeuvre; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static Student createUpdatedEntity(EntityManager em) {\n Student student = new Student()\n .firstName(UPDATED_FIRST_NAME)\n .middleName(UPDATED_MIDDLE_NAME)\n .lastName(UPDATED_LAST_NAME)\n .studentRegNumber(UPDATED_STUDENT_REG_NUMBER)\n .dateOfB...
[ "0.69449216", "0.67896795", "0.67879814", "0.67179096", "0.6694456", "0.66922057", "0.66643107", "0.66368437", "0.6620929", "0.6514777", "0.6509406", "0.6446852", "0.6423282", "0.6420849", "0.6420615", "0.64165777", "0.6411613", "0.6408787", "0.6403848", "0.63932365", "0.6390...
0.6275718
31
Creates a new instance.
public ModelInstanceImpl(String name, String type, String uid) { super(name, uid); String splitName = CommonUtilities.splitCases(name); names = Lists.mutable.with(splitName.split(" ")); if (names.size() > 1) { names.add(name); } String splitType = CommonUtil...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Instance createInstance();", "public void create(){}", "public Instance() {\n }", "private Instantiation(){}", "private Object createInstance() throws InstantiationException, IllegalAccessException {\n\t\treturn classType.newInstance();\n\t}", "void create(T instance) throws IOException;", "public v...
[ "0.7834167", "0.72893584", "0.70771503", "0.7048765", "0.70209944", "0.6839274", "0.67782235", "0.6770133", "0.67429745", "0.6701039", "0.6690158", "0.6630354", "0.66046286", "0.6600776", "0.6600776", "0.6597608", "0.6592152", "0.6564594", "0.65268713", "0.652679", "0.6475239...
0.0
-1
Returns the longest name of the instance.
@Override public String getFullName() { return fullName; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getLongName();", "public static int LongestName () {\n int result = 0;\r\n\r\n // LOOP THROUGH THE PLAYERS\r\n for (int i = 0; i < player_count; i++) {\r\n // DID WE FIND A LONGER NAME?\r\n if (player[i].GetName().length() > result)\r\n result = pl...
[ "0.6664392", "0.6560489", "0.6556341", "0.6531818", "0.65237164", "0.65199894", "0.64980274", "0.6464121", "0.6439512", "0.6439512", "0.6434203", "0.64217144", "0.64217144", "0.6420784", "0.6409567", "0.6407535", "0.6391122", "0.6391122", "0.63305146", "0.6328148", "0.621718"...
0.0
-1
Returns the longest type of the instance.
@Override public String getFullType() { return fullType; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Class getType() {\n\t if ( type != null )\n\t return type;\n\t return long.class;\n\t }", "public MaximumLabelType getMaximumLabelType() {\n return this.maximumLabelType;\n }", "public MaxInstancesTypeElements getMaxInstancesTypeAccess() {\n\t\treturn pM...
[ "0.60414433", "0.603462", "0.5968782", "0.59248793", "0.59077966", "0.58757013", "0.58757013", "0.58757013", "0.58757013", "0.58757013", "0.58757013", "0.58757013", "0.58757013", "0.5841502", "0.5794731", "0.5794731", "0.5794731", "0.5794731", "0.5794731", "0.5794731", "0.579...
0.0
-1
Returns all name parts of the instance.
@Override public ImmutableList<String> getNameParts() { return names.toImmutable(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private String[] getNameParts() {\n return field.getName().split(\"_\");\n }", "EList<String> getQualifiedNameParts();", "Collection<String> names();", "@Override\n\tpublic String getName() {\n\t\treturn name + instanceName;\n\t}", "@Override\n public String toString() {\n String name = this....
[ "0.7629371", "0.7016057", "0.64321303", "0.63949746", "0.63635653", "0.62413764", "0.6176603", "0.6176603", "0.6176603", "0.6176603", "0.6176603", "0.6176603", "0.6176603", "0.6176603", "0.6176603", "0.6176603", "0.6176603", "0.6176603", "0.6176603", "0.6176603", "0.6176603",...
0.7259431
1
Returns all type parts of the instance.
@Override public ImmutableList<String> getTypeParts() { return types.toImmutable(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public List getTypeSpecifiers() {\n return member.getTypeSpecifiers();\n }", "public List<__Type> getTypes() {\n return (List<__Type>) get(\"types\");\n }", "UsedTypes getTypes();", "public List<Type> getAll();", "public String[] getTypes() {\n return impl.getTypes();\n }", ...
[ "0.64748585", "0.6460436", "0.6333992", "0.62716866", "0.620837", "0.6200934", "0.61635464", "0.61515963", "0.61079", "0.60887986", "0.60566324", "0.6052871", "0.6029943", "0.60271066", "0.596985", "0.59597844", "0.5948913", "0.59261286", "0.5877908", "0.5876592", "0.5872179"...
0.71395767
0
Returns the unique identifier of the instance.
@Override public String getUid() { return uid; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getInstanceID();", "public String getInstanceIdentifier();", "long getInstanceID();", "public java.lang.String getInstanceGuid() {\r\n return instanceGuid;\r\n }", "public String createUniqueScriptInstanceIdentifier() {\n\n\t\tLOGGER.debug(\"Creating a unique script instance identifier\");...
[ "0.7974227", "0.7918756", "0.77689433", "0.7642001", "0.7590915", "0.7580161", "0.75744563", "0.75338167", "0.7510794", "0.75075775", "0.746668", "0.7418938", "0.73841023", "0.73687804", "0.7368192", "0.7368192", "0.7368192", "0.7368192", "0.7368192", "0.7368192", "0.7368192"...
0.0
-1
this is a number guessing game that have 5 trials, the more trials left the more points the player can get
private static int guessing() { System.out.println("Guess a number between 1 and 100, you have 5 trials: "); int trials = 5; Scanner input = new Scanner(System.in); //set a random number as the number to be guessed int num = (int)(100 * Math.random()) + 1; int points = 0; //use a flag to check...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Main()\n {\n \n Random rand = new Random();\n int n = rand.nextInt(10);\n n+=1;\n \n Scanner sc = new Scanner(System.in);\n int i = 0;\n do {\n \n i = sc.nextInt();\n\n //System.out.println(i);\n if(i<n){\n System.out.println(\"too small\");...
[ "0.70052564", "0.670886", "0.66226816", "0.65950763", "0.659257", "0.6542861", "0.65351105", "0.6480482", "0.64619845", "0.6415861", "0.64106905", "0.6374987", "0.6364657", "0.63344073", "0.6307628", "0.6295152", "0.6291858", "0.6277281", "0.6270997", "0.62640613", "0.6248396...
0.8421666
0
this is a coin flip game to guess if a coin is head or tail set a random number as the coin result, 1 for h, 2 for tail
private static int coinFlip() { int num = (Math.random() <= 0.5) ? 1 : 2; String answer; if ( num == 1) { answer = "h"; }else { answer = "t"; } Scanner input = new Scanner(System.in); System.out.print("Enter you guess (h = heads, t = tails):"); String guess = input.next(); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void CoinFlip(int totalFlip) {\n\n //variables\n int count = 0;\n int head = 0;\n int tail = 0;\n\n //computation\n while (count != totalFlip) {\n double flip = Math.random();\n System.out.println(flip);\n\n if (flip < 0.5) {\n ...
[ "0.72804266", "0.7184349", "0.71302456", "0.70404977", "0.7035902", "0.7010875", "0.66937083", "0.6502938", "0.65000314", "0.6463962", "0.641587", "0.64142495", "0.6381827", "0.6182689", "0.6118211", "0.57360226", "0.57280135", "0.57164186", "0.5710599", "0.5705047", "0.56868...
0.75450724
0
CONSTRUCTORES TRAER TIPOS DE USUARIOS
public TipoUsuario(int id_tipousuario, String usuario) { this.id_tipousuario = id_tipousuario; this.usuario = usuario; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Tequisquiapan()\n {\n nivel = new Counter(\"Barrio Tequisquiapan: \");\n \n nivel.setValue(5);\n hombre.escenario=5;\n\n casa5.creaCasa(4);\n addObject(casa5, 2, 3);\n \n arbol2.creaArbol(2);\n addObject(arbol2, 20, 3);\n arbol3.creaAr...
[ "0.6177747", "0.595704", "0.58330077", "0.5821874", "0.5805115", "0.5775473", "0.57496256", "0.5719084", "0.56859255", "0.5680836", "0.5678049", "0.5648893", "0.56292003", "0.56227267", "0.5573949", "0.5557286", "0.5551808", "0.5517571", "0.5502964", "0.54862386", "0.5473774"...
0.5571585
15
PARA USAR EN CLASE USUARIO Y CREAR UN USUARIO NUEVO
public TipoUsuario(int id_tipousuario) { this.id_tipousuario = id_tipousuario; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void crearUsuario(String cedula,String name ,String lastname ,String phone , String city ,String email,String password) throws BLException;", "Secuencia createSecuencia();", "public void altaUsuario();", "OperacionColeccion createOperacionColeccion();", "Utilizator createUser(String username, String...
[ "0.7141991", "0.7066228", "0.6785011", "0.6732753", "0.67246777", "0.65717286", "0.6551392", "0.65411025", "0.6531841", "0.6516735", "0.65112484", "0.6498209", "0.6458662", "0.645543", "0.64391416", "0.6346701", "0.63249516", "0.63209534", "0.6319831", "0.6281222", "0.6276401...
0.0
-1
TODO Autogenerated method stub
private URL resolveRecaptcha(CharSequence content) { return null; }
{ "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 estaElemento(String elemento) { return false; }
{ "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
Use this factory method to create a new instance of this fragment using the provided parameters.
public static Fragment_home newInstance(String imei, String param2) { Fragment_home fragment = new Fragment_home(); Bundle bundle=new Bundle(); bundle.putString("imei",imei); fragment.setArguments(bundle); return fragment; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static FragmentTousWanted newInstance() {\n FragmentTousWanted fragment = new FragmentTousWanted();\n Bundle args = new Bundle();\n fragment.setArguments(args);\n return fragment;\n }", "protected abstract Fragment createFragment();", "public void createFragment() {\n\n ...
[ "0.72621447", "0.7232083", "0.7112217", "0.6991051", "0.6990589", "0.6834896", "0.6830138", "0.68136847", "0.6801746", "0.68014497", "0.67672217", "0.6741153", "0.6741153", "0.6730413", "0.6717659", "0.6707773", "0.6691707", "0.66907436", "0.6690217", "0.6663584", "0.6645943"...
0.0
-1
TODO Autogenerated method stub
@Override public void onClick(DialogInterface arg0, int arg1) { }
{ "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: Rename method, update argument and hook method into UI event
public void onButtonPressed(Uri uri) { if (mListener != null) { mListener.onFragmentInteraction(uri); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\t\t\t\tpublic void handle(ActionEvent event) {\n\t\t\t\t}", "@Override\n\t\t\t\tpublic void handle(ActionEvent event) {\n\n\t\t\t\t}", "@Override\n\t\t\tpublic void handle(ActionEvent event) {\n\t\t\t\t\n\t\t\t}", "@Override\n\t\t\tpublic void handle(ActionEvent event) {\n\t\t\t\t\n\t\t\t}", "@...
[ "0.6619879", "0.65252125", "0.64742106", "0.64742106", "0.6435789", "0.63233054", "0.6237398", "0.6190151", "0.61593384", "0.6144328", "0.6123186", "0.6107672", "0.61000156", "0.60933954", "0.6049657", "0.6049657", "0.6045916", "0.60418254", "0.60418254", "0.6007766", "0.5999...
0.0
-1
This interface must be implemented by activities that contain this fragment to allow an interaction in this fragment to be communicated to the activity and potentially other fragments contained in that activity. See the Android Training lesson Communicating with Other Fragments for more information.
public interface OnFragmentInteractionListener { // TODO: Update argument type and name void onFragmentInteraction(Uri uri); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface OnFragmentInteractionListener {\n void onFragmentMessage(String TAG, Object data);\n}", "public interface FragmentInteraction {\n void switchToBoardView();\n void switchToPinsView();\n void switchToPins(PDKBoard pdkBoard);\n void switchToDescription(PDKPin pin);\n}", "public int...
[ "0.732486", "0.7209621", "0.71364164", "0.7125353", "0.7123662", "0.7015166", "0.69779605", "0.69779605", "0.69779605", "0.6975094", "0.69687355", "0.6966749", "0.6961368", "0.6954976", "0.6944469", "0.693585", "0.6931194", "0.6928626", "0.69238746", "0.69117075", "0.6904201"...
0.0
-1
TODO: Update argument type and name
void onFragmentInteraction(Uri uri);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n public String getFirstArg() {\n return name;\r\n }", "@Override\n public int getNumberArguments() {\n return 1;\n }", "java.lang.String getArg();", "@Override\n public int getArgLength() {\n return 4;\n }", "Argument createArgument();", "@Override\r\n\tpublic ...
[ "0.7164074", "0.6946075", "0.6714363", "0.65115863", "0.63969076", "0.6375468", "0.63481104", "0.63162106", "0.6260299", "0.6208487", "0.6208487", "0.62070644", "0.6197276", "0.61806154", "0.6177103", "0.61530507", "0.61472267", "0.61243707", "0.60771817", "0.6054482", "0.599...
0.0
-1
TODO Autogenerated method stub
@Override public void handleMessage(Message msg) { super.handleMessage(msg); switch (msg.what) { case 911: queryMsg(); break; default: break; } }
{ "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
protected void queryMsg() { if (currentPosition == 0) {//LIVE obtainLiveData(true, currentPosition, liveMaxChatId); } else {//CHAT obtainChatData(true, currentPosition, chatModels.get(0).getChatId()); } }
{ "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 protected void initNavBar() { setTitle(R.string.live_detail); }
{ "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 protected void findViewById() { mIndicator = (SimpleViewPagerIndicator) findViewById(R.id.id_stickynavlayout_indicator); mViewPager = (ViewPager) findViewById(R.id.id_stickynavlayout_viewpager); stickyNavLayout = (StickyNavLayout) findViewById(R.id.stickynavlayout); iv_user_logo = (ImageVie...
{ "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 protected void initView() { setShuohuaTouchListener(); iv_shuohua.setOnClickListener(new OnClickListener() { @Override public void onClick(View v) { // TODO Auto-generated method stub iv_operate.setSelected(!iv_operate.isSelected()); iv_shuohua.setSelected(!iv_shuohua.isSelected());...
{ "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 void onClick(View v) { iv_operate.setSelected(!iv_operate.isSelected()); iv_shuohua.setSelected(!iv_shuohua.isSelected()); }
{ "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
protected void stopTimeTask() { if (chatAsyncTask!=null) { chatAsyncTask.cancel(true); } if (liveAsyncTask!=null) { liveAsyncTask.cancel(true); } if (timerTask!=null) { timerTask.cancel(); timerTask = null; } if (timer!=null) { timer.cancel(); timer = null; } }
{ "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 protected void initData() { isSearch = (boolean) getIntent().getExtras().getBoolean(Constant.IntentKey.isSearch,false); if (isSearch) {//非来自直播列表 articleID = getIntent().getExtras().getLong(Constant.IntentKey.articleID); // progressActivity.showLoading(); // 查询发现详情 obtainDetailRequest();...
{ "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 void onCallback(Exception e) { ToastUtils.showCustomToast(e.getLocalizedMessage()); // mPullRefreshListView.onRefreshComplete(); // String errorMsg = e.getMessage(); // if ("无网络".equals(errorMsg)) { // refreshComplete(true,true); // } else { // refreshComplete(true,false); //...
{ "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 void onCallback(String result) { squareLiveModel = (SquareLiveModel) GsonUtils.jsonToBean( result, SquareLiveModel.class); initLoadView(); }
{ "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
private void initTimerTask() { timerTask = new TimerTask() { @Override public void run() { // TODO Auto-generated method stub if (isCompleteQuery) { isCompleteQuery = !isCompleteQuery; Message message = new Message(); message.what =...
{ "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 void run() { if (isCompleteQuery) { isCompleteQuery = !isCompleteQuery; Message message = new Message(); message.what = 911; handler.sendMessage(message); LogUtils.i("*****************定时任务查询"); } ...
{ "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
private void initLayoutData() { ImageLoader.getInstance().displayImage(squareLiveModel.getVideoIco(), iv_user_logo, BaseApp.circleOptions); if (squareLiveModel!=null && squareLiveModel.getTitle().split(" ").length>1) { tv_main_title.setText(squareLiveModel.getTitle().split(" ")[1]); } else { tv_main_title.s...
{ "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
private void initFragments() { ZhiBoFragment zhiBoFragment = ZhiBoFragment.newInstance(null); zhiBoFragment.setSquareFragmentListener(this); LiaotianFragment liaotianFragment = LiaotianFragment.newInstance(null); liaotianFragment.setSquareFragmentListener(this); fragments.add(zhiBoFragment); fragments.add(l...
{ "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 startActivity(SquareFoundDetailReplyActivity.class);
@Override public void onItemClick(AdapterView<?> parent, View view, int position, long id) { Utily.go2Activity(this, SquareFoundDetailReplyActivity.class); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void onClick(View v) {\n Log.d(TAG, \"onResume: reply has been clicked \");\n ((globalShared) activity.getApplicationContext()).setPassingReply(tempReply);\n Intent profileViewer = new Intent(activity, activity_reply_reply.class);\n ...
[ "0.6427092", "0.589986", "0.57408214", "0.56974673", "0.56451744", "0.5614447", "0.5581406", "0.5555131", "0.5509728", "0.5479703", "0.54703933", "0.54276764", "0.5349837", "0.53010577", "0.52924687", "0.52762717", "0.5249224", "0.5247378", "0.5242783", "0.5242206", "0.523570...
0.7048732
0
TODO Autogenerated method stub
@Override public void onItemClick(int position) { mViewPager.setCurrentItem(position); }
{ "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 protected int getViewId() { return R.layout.layout_square_live; }
{ "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 void rightNavClick() { }
{ "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 protected void onDestroy() { if (timerTask!=null) { timerTask.cancel(); timerTask = null; } if (timer!=null) { timer.cancel(); timer = null; } super.onDestroy(); }
{ "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 ToastUtils.showMyToast(e.getLocalizedMessage());
@Override public void onCallback(Exception e) { fragment.refreshComplete(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\t\t\tpublic void onCallback(Exception e) {\n\t\t\t\t ToastUtils.showCustomToast(e.getLocalizedMessage());\n\t\t\t}", "@Override\n\t\t\tpublic void onCallback(Exception e) {\n\t\t\t\t ToastUtils.showCustomToast(e.getLocalizedMessage());\n\t\t\t}", "@Override\n\t\t\tpublic void onCallback(Exception e...
[ "0.77303106", "0.77303106", "0.77303106", "0.7236297", "0.70881593", "0.70879096", "0.69903", "0.69186294", "0.67032796", "0.6677052", "0.66751105", "0.66638976", "0.6660971", "0.66596824", "0.6650699", "0.6646778", "0.66296744", "0.6563662", "0.6559429", "0.6547665", "0.6547...
0.0
-1
TODO Autogenerated method stub
@SuppressWarnings("unchecked") @Override public void onCallback(String result) { LogUtils.i(result); fragment.refreshComplete(); isCompleteQuery = true; Type type = new TypeToken<ArrayList<SquareLiveChatModel>>() { }.getType(); ArrayList<SquareLiveChatModel> tempSquareLiveChatModels = (Ar...
{ "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
protected void obtainLiveMaxChatId() { for (int i = 0; i < liveModels.size();i++) { SquareLiveChatModel squareLiveChatModel = liveModels.get(i); if (squareLiveChatModel.getIsTop() == 0) {//置顶 long tempLiveMaxChatId = squareLiveChatModel.getChatId(); if (tempLiveMaxChatId>liveMaxChatId) { liveMaxCha...
{ "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
protected void removeTopDataFromLiveModels() { for (int i = 0; i < liveModels.size();) { SquareLiveChatModel squareLiveChatModel = liveModels.get(i); if (squareLiveChatModel.getIsTop() == 1) {//置顶 liveModels.remove(i); } else { i++; } } }
{ "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
private void squareLiveDetailChatRequest(final LiaotianFragment fragment, final boolean isRefresh, long chatId) { BaseRequest baseRequest = new BaseRequest();// 其它参数需要继承此类 // baseRequest.requestMethod = "get";//默认为get // 请求地址 String requestID; if (isRefresh) {//刷新 requestID = String.format( Constan...
{ "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 ToastUtils.showMyToast(e.getLocalizedMessage());
@Override public void onCallback(Exception e) { fragment.refreshComplete(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\t\t\tpublic void onCallback(Exception e) {\n\t\t\t\t ToastUtils.showCustomToast(e.getLocalizedMessage());\n\t\t\t}", "@Override\n\t\t\tpublic void onCallback(Exception e) {\n\t\t\t\t ToastUtils.showCustomToast(e.getLocalizedMessage());\n\t\t\t}", "@Override\n\t\t\tpublic void onCallback(Exception e...
[ "0.7730195", "0.7730195", "0.7730195", "0.7235426", "0.7087556", "0.70874023", "0.69886005", "0.6917642", "0.6702825", "0.66768456", "0.6674517", "0.66637546", "0.66613925", "0.6659124", "0.66497463", "0.6647045", "0.6629191", "0.65622276", "0.65591633", "0.6549591", "0.65460...
0.0
-1
TODO Autogenerated method stub
@SuppressWarnings("unchecked") @Override public void onCallback(String result) { LogUtils.i(result); fragment.refreshComplete(); isCompleteQuery = true; Type type = new TypeToken<ArrayList<SquareLiveChatModel>>() { }.getType(); ArrayList<SquareLiveChatModel> tempSquareLiveChatModels = (Ar...
{ "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 void onCallback(Exception e) { ToastUtils.showCustomToast(e.getLocalizedMessage()); }
{ "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 void onCallback(Exception e) { ToastUtils.showCustomToast(e.getLocalizedMessage()); }
{ "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
@SuppressWarnings("unchecked") @Override public void onCallback(String result) { LogUtils.i(result); QiNiuTokenModel qiNiuTokenModel = (QiNiuTokenModel) GsonUtils.jsonToBean(result, QiNiuTokenModel.class); //获取到 token 时,调用七牛接口把数据上传到七牛服务器 uploadAudio(qiNiuTokenModel); }
{ "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 void onCallback(Exception e) { ToastUtils.showCustomToast(e.getLocalizedMessage()); }
{ "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
private SquareLiveChatModel initLiveChatModel() { SquareLiveChatModel squareLiveChatModel = new SquareModel().new SquareLiveChatModel(); squareLiveChatModel.setArticleId(squareLiveModel.getArticleId()); squareLiveChatModel.setChatContent(null); squareLiveChatModel.setUserId(dataManager.userModel.UserId); squa...
{ "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
Instantiates a new CJ frame clump search.
public CJFrameClumpSearch(JFrameMain parent) { this.parent = parent; EventQueue.invokeLater(new Runnable() { @Override public void run() { try { view = new JFrameClumpSearch(); view.setVisible(true); vie...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Controller(FrameSearch frameSearch) {\n this.frameSearch = frameSearch;\n this.criteria = new Criteria();\n search = new Search();\n getCriteriaSaved();\n frameSearch.getTpDataBase().getBtLoad().addMouseListener(new MouseAdapter() {\n public void mouseClicked(Mo...
[ "0.5710311", "0.5692092", "0.5551521", "0.54911774", "0.5382751", "0.53346723", "0.5319655", "0.52824926", "0.52791786", "0.5276979", "0.5234525", "0.51970696", "0.5193646", "0.5159177", "0.5111848", "0.510405", "0.5103808", "0.51036364", "0.51036364", "0.51036364", "0.510363...
0.6161215
0
Sign up a Person in the system
@PostMapping public ResponseEntity<Response<SignUpPersonDto>> signUp(@Valid @RequestBody SignUpPersonDto signUpPersonDto, BindingResult result) throws NoSuchAlgorithmException{ Response<SignUpPersonDto> response = new Response<SignUpPersonDto>(); log.info("Signing up Person {}", signUpPersonDto); //chec...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void signUpAttempt(String email, String password, String firstName, String lastName);", "void signUp(SignUpRequest signupRequest);", "private void saveNewPerson() {\r\n\r\n\t\tSystem.out.println(\"Start Save new Patient...\");\r\n\r\n\t\ttry {\r\n\t\t\tIPerson p1 = new Person(\"admin\", new Role(Roles.ADMINIST...
[ "0.7220531", "0.7027089", "0.68611294", "0.6856639", "0.681934", "0.6804739", "0.6724218", "0.6715497", "0.6687072", "0.66854596", "0.6648085", "0.6628545", "0.65509343", "0.65281886", "0.6524966", "0.6512257", "0.64841765", "0.64791435", "0.64694226", "0.6464894", "0.6462192...
0.6346811
33
Created by Ezequiel Suarez Buitrago, Thomas Tibebu, Innocent Kateba, shuling he, Wenxin He, Tram Ly Date April 20, 2019
public interface AES { public String encrypt(String strToEncrypt); public String decrypt(String strToDecrypt); public String getSecretKeyWord(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static void cajas() {\n\t\t\n\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\n public void func_104112_b() {\n \n }", "public final void mo51373a() {\n }", "@Override\n protected void getExras() {\n }", "public void mo38117a() {\n }", "privat...
[ "0.5307462", "0.5288799", "0.5276887", "0.52583754", "0.5252223", "0.51988304", "0.51667124", "0.51580584", "0.5155413", "0.5149978", "0.5122967", "0.5113463", "0.5113463", "0.5113463", "0.5113463", "0.5113463", "0.5113463", "0.5113463", "0.5069121", "0.5052415", "0.503952", ...
0.0
-1
TODO Autogenerated method stub
@Override public List<String> viewAllProjects(String userId) { return fileDao.getUserAllProjectsName(userId); }
{ "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 List<String> viewUndoData(String userId, String projectId) { return fileDao.viewUndoData(userId, projectId); }
{ "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 List<String> viewDoneData(String userId, String projectId) { return fileDao.viewDoneData(userId, projectId); }
{ "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 String getAData(String userId, String projectId, String dataId) { return fileDao.getAData(userId, projectId, dataId); }
{ "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 Tag getATag(String userId, String projectId, String tagId) { return fileDao.getATag(userId, projectId, tagId); }
{ "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 String uploadDataSet(String userId, MultipartFile dataSet) { return null; }
{ "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 uploadTag(String userId, String projectId, String tagId, Tag tag) { return fileDao.uploadTag(userId, projectId, tagId, tag); }
{ "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
Name of the Test :QTH12_CQTValidateSoftwareLicenseFields Migration Author : Cigniti Technologies Date of Migration : OCT 2019 DESCRIPTION : This method is to perform Quote History search with date operations. Parameters : StartRow ,EndRow , nextTestJoin
@Parameters({ "StartRow", "EndRow", "nextTestJoin" }) @Test public void TC_QTH12(int StartRow, String EndRow, boolean nextTestJoin) throws Throwable { int counter = 0; try { int intStartRow = StartRow; int intEndRow = ReportControl.fnGetEndRowCunt(EndRow, "QTH12_CQTValidateSoftwareLicenseFie...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Parameters({ \"StartRow\", \"EndRow\", \"nextTestJoin\" })\n\t\t@Test\n\t\tpublic void TC_ROD06(int StartRow,String EndRow, boolean nextTestJoin) throws Throwable {\n\t\t\ttry {\n\t\t\t\tint intStartRow = StartRow;\n\t\t\t\tint intEndRow = ReportControl.fnGetEndRowCunt(EndRow, \"ROD06_FCTWebReviewExport\", TestDa...
[ "0.6488662", "0.58631366", "0.57328415", "0.5514515", "0.5484928", "0.54646856", "0.5439483", "0.543595", "0.5370049", "0.53562653", "0.53541386", "0.5335053", "0.53345424", "0.53304595", "0.533028", "0.53169775", "0.53082114", "0.53070676", "0.5303753", "0.5298044", "0.52842...
0.7776544
0
This method handles the case of making an already built SensorML aggregate process executable, hence it is not valid to provide an implementation of IProcessChainExec that already contains child processes and/or connections.
@Override public void setExecutableImpl(IProcessExec processExec) throws ProcessException { Asserts.checkArgument(processExec instanceof IProcessChainExec, "Executable implementation must be a process chain implementation"); // assign exec implementation IProcess...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static SimpleProcessExecutor newSimpleProcessExecutor() {\n return new SimpleProcessExecutor(new TestProcessManagerFactory().newProcessManager());\n }", "@Override\n public int execute(Parameters parameters) {\n\n final List<String> command = new ArrayList<>();\n final String b = bin...
[ "0.5629643", "0.5629049", "0.5590915", "0.55460286", "0.5530759", "0.55082667", "0.54307014", "0.54292786", "0.5396005", "0.5385172", "0.53674614", "0.5357244", "0.5275024", "0.5273018", "0.521717", "0.52160466", "0.5210161", "0.5179879", "0.5136753", "0.5134866", "0.51216626...
0.7150929
0
/ / Autogenerated Getters and Setters / Gets the list of components
@Override public OgcPropertyList<AbstractProcess> getComponentList() { return components; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public List<LComponent> getComponents()\n\t{\n\t\treturn this.components;\n\t}", "public List<GComponent> getComponents()\n {\n return this.components;\n }", "public ArrayList<String> getComponents() {\n\t\treturn this.components;\n\t}", "public CachetComponentList getComponents() {\n JsonNode ro...
[ "0.8236949", "0.811838", "0.80852693", "0.78121686", "0.77906746", "0.76757467", "0.7448924", "0.7377217", "0.72936106", "0.72503644", "0.7183993", "0.7136564", "0.7104413", "0.70481616", "0.70392334", "0.6967478", "0.68086404", "0.6793861", "0.67437017", "0.66933376", "0.665...
0.78153545
3
Returns number of components
@Override public int getNumComponents() { return components.size(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getNumberOfComponents();", "int countComponents() throws Exception;", "public int getNumberOfComponents() {\n return components;\n }", "public int components() {\n return numOfComponents;\n }", "public int getNumberOfComponents() {\n\t\t\treturn nComponents;\n\t\t}", "public a...
[ "0.88997597", "0.8379175", "0.8340667", "0.8154518", "0.81440556", "0.7704418", "0.717097", "0.71179265", "0.71179265", "0.7012394", "0.69865483", "0.6886258", "0.6878581", "0.6806332", "0.6771219", "0.6771219", "0.6769161", "0.67448825", "0.67333215", "0.67143655", "0.671436...
0.8082331
5
Gets the component with the given name
@Override public AbstractProcess getComponent(String name) { return components.get(name); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Component getComponent(String name) {\n Optional<Component> component = elements.getComponent(name);\n\n if(component.isPresent()) {\n return component.get();\n } else {\n Assert.fail(\"Missing component \" + name);\n return null;\n }\n\n }", ...
[ "0.84762293", "0.81886446", "0.73016566", "0.7175024", "0.71191114", "0.71162105", "0.71162105", "0.70095706", "0.69868517", "0.65870017", "0.6535281", "0.65247166", "0.64980406", "0.6464322", "0.6461174", "0.6443699", "0.6374033", "0.63552976", "0.6326128", "0.6322457", "0.6...
0.7449018
2
Adds a new component
@Override public void addComponent(String name, AbstractProcess component) { components.add(name, component); addProcessToExec(name, component); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void addComponent(Component component);", "public void addComponent(Component c);", "public void add(Component c){}", "public void addComponent(String name, Component newComp);", "public void addComponent(Component component){\n components.add(component);\n }", "public abstract void add(KitComp...
[ "0.87033427", "0.8512116", "0.838362", "0.81532234", "0.81275535", "0.79064685", "0.7683292", "0.76173997", "0.7454587", "0.72507477", "0.72488844", "0.716393", "0.7148656", "0.7142532", "0.71235055", "0.7005448", "0.6974088", "0.69133765", "0.69113916", "0.68856806", "0.6872...
0.67929417
26
Gets the list of connections
@Override public List<Link> getConnectionList() { return connections; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Connections getConnections();", "public ArrayList<Connection> getConnections(){\n\t\treturn manager.getConnectionsWith(this);\n\t}", "java.util.List<io.netifi.proteus.admin.om.Connection> \n getConnectionsList();", "public List<Connection> getConnections() {\n\t\treturn new ArrayList<Connection>(...
[ "0.87197834", "0.8686922", "0.86818206", "0.8448748", "0.84363765", "0.8153708", "0.81271815", "0.8082547", "0.8054896", "0.79367703", "0.7894477", "0.77921087", "0.7776632", "0.77171", "0.766136", "0.7644766", "0.76388335", "0.76248133", "0.761859", "0.7560383", "0.74985427"...
0.83074015
5
Returns number of connections
@Override public int getNumConnections() { return connections.size(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getConnectionsCount();", "public int numConnections(){\n return connections.size();\n }", "public int numofConnections() {\n\t\tint numberofconnection = 0;\n\t\tString node;\n\t\tfor (String key : Nodeswithconnect.keySet()) {\n\t\t\tfor (int i = 0; i < Nodeswithconnect.get(key).length; i++) {\n\t...
[ "0.9094433", "0.8916262", "0.86503065", "0.8643983", "0.86223054", "0.85591364", "0.8505418", "0.8337616", "0.8299881", "0.8252038", "0.81882906", "0.81455344", "0.8086504", "0.79566526", "0.7943946", "0.7898288", "0.7794246", "0.7672595", "0.7627449", "0.75910604", "0.751978...
0.83289933
8
Adds a new connection
@Override public void addConnection(Link link) { connections.add(link); if (executableProcess != null) addConnectionToExec(link); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void addConnection(Connection connection) {\n connection.start();\n connections.put(keyCounter, connection);\n keyCounter++;\n }", "@Override\n public void addConnection(Connection connection) {\n Connection originConn = this.connectionPoolTable.get(connection.getUniqueKe...
[ "0.75691175", "0.7479456", "0.7464365", "0.745639", "0.68760043", "0.675949", "0.669693", "0.6636009", "0.6561523", "0.65591085", "0.6500684", "0.63065183", "0.6215506", "0.62037086", "0.6170449", "0.60788316", "0.60508215", "0.6050774", "0.60395616", "0.6020729", "0.6014223"...
0.6781207
5
TODO Autogenerated method stub
@Override public void Write_text(String CustomerCode, String Device, String Lot, String CP, File DataSorce,String FileName) throws IOException { File[] Filelist=DataSorce.listFiles(); for (int k = 0; k < Filelist.length; k++) { parseRawdata parseRawdata=new parseRawdata(Filelist[k]); LinkedHashM...
{ "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
provide info for map
public GameMapHashMap() { HashMap<String, HashMap<String, String>> temporaryMap = new HashMap<>(); instantiateIndividualRooms(); temporaryMap.put("Atrium", atrium); temporaryMap.put("Breakfast Nook", breakfastNook); temporaryMap.put("Menagerie", menagerie); temporaryMap....
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Map<String, Object> getInfo();", "@Override\n\tpublic void getStat(Map<String, String> map) {\n\t\t\n\t}", "@Override\n public void addMapInfo(GameMapInfo mapInfo) {\n }", "@Override\r\n\tpublic IMapInfo getMapInfo() {\r\n\t\treturn replay.mapInfo;\r\n\t}", "public HashMap getMetaData() ;", ...
[ "0.77643716", "0.6903895", "0.68321526", "0.6805047", "0.668849", "0.66572595", "0.65730727", "0.6563462", "0.6520829", "0.6513654", "0.6511373", "0.6509486", "0.6503648", "0.64261883", "0.63935816", "0.6371588", "0.63591784", "0.62229156", "0.62165", "0.6207716", "0.61485463...
0.0
-1
8 / \ 6 10 / \ / \ 5 7 9 11
public static void main(String[] args) { BinaryTreeNode root = new BinaryTreeNode(); root.value = 8; root.left = new BinaryTreeNode(); root.left.value = 6; root.left.left = new BinaryTreeNode(); root.left.left.value = 5; root.left.right = new BinaryTreeNode(); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private int parent(int i){return (i-1)/2;}", "public static void main(String[] args) {\n TreeNode n0 = new TreeNode(0); \n TreeNode n1 = new TreeNode(1); \n TreeNode n2 = new TreeNode(2); \n TreeNode n3 = new TreeNode(3); \n TreeNode n4 = new TreeNode(4); \n TreeNode n5...
[ "0.5554225", "0.54051524", "0.5372197", "0.53655994", "0.53623027", "0.5302431", "0.5252153", "0.52521205", "0.5193881", "0.51376224", "0.5122183", "0.510819", "0.5082794", "0.5078782", "0.5072029", "0.50672853", "0.50450015", "0.5040706", "0.5033602", "0.50051695", "0.499349...
0.0
-1
Constructs a new board, that take no parameters, and initialize the game board as a 5 row game empty slot at (0,0). Added in Abstract model, thus passing in new Triangle board as parameter to super.
public TriangleSolitaireModelImpl() { super(new TriangleBoard()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Board()\r\n\t{\r\n\t\tsuper(8, 8);\r\n\t}", "public Board() {\n\t\tintializeBoard(_RowCountDefault, _ColumnCountDefault, _CountToWinDefault);\n\t}", "public Board() {\n initialize(3, null);\n }", "public Board()\r\n\t{\r\n\t\tfor(int x = 0; x < 9; x++)\r\n\t\t\tfor(int y = 0 ; y < 9; y++)\r\...
[ "0.7519167", "0.7218207", "0.71840733", "0.7054072", "0.70500326", "0.7048329", "0.698117", "0.69507855", "0.694428", "0.6922172", "0.6913548", "0.690321", "0.6855228", "0.683781", "0.681332", "0.68085176", "0.6785734", "0.67614305", "0.67604935", "0.6735923", "0.6724791", ...
0.6372326
64