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
Driver program to test above function
public static void main(String args[]) { String txt = "ABABDABACDABABCABAB"; String pat = "ABABCABAB"; new KMP().KMPSearch(pat, txt); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void main(String[] args) {\r\n // 2. Call your method in various ways to test it here.\r\n }", "private void test() {\n\n\t}", "public static void main(String[] args) {\n // PUT YOUR TEST CODE HERE\n }", "public void TestMain(){\n SampleStatements();\n TestMyPo...
[ "0.7135004", "0.6905942", "0.6684947", "0.6560713", "0.6545559", "0.6538317", "0.6483956", "0.64658284", "0.64559746", "0.6431122", "0.6414808", "0.6409539", "0.6396703", "0.63649297", "0.63646185", "0.63642824", "0.63627696", "0.6355217", "0.6335398", "0.6334076", "0.6310677...
0.0
-1
Complete the designerPdfViewer function below.
static int designerPdfViewer(int[] h, String word) { char c='a'; int maxHeight=0; Map<Character, Integer> alphabet = new HashMap<>(); for(int height:h) { alphabet.put(c, height); c++; } for(int i=0;i<word.length();i++) { if( alphabet.get( word.charAt(i) ) > ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void verPDFFrame(String filePath) {\n SwingController c = new SwingController();\n c.setIsEmbeddedComponent(true);\n\n PropertiesManager prop = new PropertiesManager(\n System.getProperties(),\n ResourceBundle.getBundle(PropertiesManager.DEFAULT_MESSAGE_BU...
[ "0.6688746", "0.63019055", "0.60245824", "0.6016898", "0.5899649", "0.58986115", "0.5798539", "0.57766587", "0.5766612", "0.5731059", "0.5715264", "0.5664184", "0.56434584", "0.5623889", "0.56130534", "0.558398", "0.55792105", "0.5577515", "0.55766743", "0.553359", "0.5531972...
0.0
-1
BufferedWriter bufferedWriter = new BufferedWriter(new FileWriter(System.getenv("OUTPUT_PATH")));
public static void main(String[] args) throws IOException { int[] h = new int[26]; String[] hItems = scanner.nextLine().split(" "); scanner.skip("(\r\n|[\n\r\u2028\u2029\u0085])?"); for (int i = 0; i < 26; i++) { int hItem = Integer.parseInt(hItems[i]); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void main(String[] args) throws IOException {\n\t\tBufferedWriter bufferedWriter = new BufferedWriter(new FileWriter(System.getenv(\"OUTPUT_PATH\")));\n\t\t\n\t\tbufferedWriter.write(\"Hello\");\n\n\t}", "private static void prepareOutputFile() {\n try {\n outputFileBuffer = new B...
[ "0.7209582", "0.6817599", "0.6046835", "0.60262144", "0.6007037", "0.5917299", "0.5893141", "0.58166444", "0.57778126", "0.5759957", "0.5615087", "0.56052816", "0.55831736", "0.557736", "0.5569164", "0.55371886", "0.5534559", "0.5509321", "0.54986763", "0.5494936", "0.5481345...
0.0
-1
Creates the track display
protected void displayTrack() { // Clear display first displayBox.getChildren().clear(); legendBox.getChildren().clear(); for (int i = 0; i < CTC.numTracks; i++) { for (final Block block: CTC.tracks[i]) { double startX = block.startX/10+10; double startY = block.startY/10+10; double endX = ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void initTracks() {\n ((javax.swing.plaf.basic.BasicInternalFrameUI)jInternalFrame1.getUI()).setNorthPane(null);\n jInternalFrame1.setVisible(false);\n ((javax.swing.plaf.basic.BasicInternalFrameUI)jInternalFrame2.getUI()).setNorthPane(null);\n jInternalFrame2.setVisible(false);...
[ "0.64957255", "0.627537", "0.6233153", "0.60340494", "0.60018593", "0.59833914", "0.5979079", "0.59789366", "0.59260005", "0.5917051", "0.59106785", "0.58810556", "0.58798915", "0.5873224", "0.585614", "0.58005303", "0.5772202", "0.5758838", "0.5749322", "0.57203585", "0.5695...
0.62306464
3
Creates new form musteriEkle
public MusteriEkle() { initComponents(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static Result newForm() {\n return ok(newForm.render(palletForm, setOfArticleForm));\n }", "public void CrearNew(ActionEvent e) {\n List<Pensum> R = ejbFacade.existePensumID(super.getSelected().getIdpensum());\n if(R.isEmpty()){\n super.saveNew(e);\n }else{\n ...
[ "0.6648423", "0.64866877", "0.64600986", "0.63095593", "0.6228693", "0.6163675", "0.61050004", "0.6064015", "0.60309124", "0.5959051", "0.59485435", "0.5920494", "0.5917129", "0.5872072", "0.5857797", "0.5846983", "0.5827796", "0.5809563", "0.5799122", "0.57632226", "0.575354...
0.5979862
9
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() { jPanel1 = new javax.swing.JPanel(); jLabel1 = new javax.swing.JLabel(); txtIsim = new javax.swing.JTextField(); jLabel2 = new ...
{ "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.73185146", "0.7290127", "0.7290127", "0.7290127", "0.7285798", "0.7247533", "0.7214021", "0.720785", "0.71952385", "0.71891224", "0.7184117", "0.7158779", "0.7147133", "0.70921415", "0.70792264", "0.7055538", "0.6986984", "0.6976409", "0.6955238", "0.69525516", "0.69452786...
0.0
-1
get ready after loading. Called only once after loading
void getReady(int posn) { if (this.name == null) { throw new ApplicationError( "Procedure parameter has an identity crisis. No name is given to it!!"); } this.myPosn = posn; if (this.recordName == null) { if (this.dataType == null) { throw new ApplicationError( "Procedure parameter should b...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public boolean isReady() {\n return true;\n }", "@Override\n public boolean isReady() {\n return true;\n }", "public abstract void ready();", "@Override\r\n\t\t\tpublic boolean isReady() {\n\t\t\t\treturn false;\r\n\t\t\t}", "public void setReady() {\n\t\tfadein = fadeout ...
[ "0.77806205", "0.7762654", "0.76602983", "0.7627439", "0.7526897", "0.7492966", "0.7492966", "0.7439696", "0.7426795", "0.7421551", "0.74112445", "0.7396286", "0.73512995", "0.7296535", "0.72726387", "0.7156201", "0.7127536", "0.71269894", "0.7116573", "0.7116573", "0.7093594...
0.0
-1
called before executing the statement. If this has input, we have to set its value. If it is for output, we have to register it
public boolean setParameter(CallableStatement stmt, FieldsInterface inputFields, ServiceContext ctx) throws SQLException { /* * register this param if it is out or in-out */ if (this.inOutType != InOutType.INPUT) { this.registerForOutput(stmt); } if (this.inOutType == InOutType.OUTPUT) { /*...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void setInput(Input arg0) {\n\t\t\n\t}", "public void setInput(Input param) {\r\n localInputTracker = param != null;\r\n\r\n this.localInput = param;\r\n }", "protected abstract void registerInput();", "@Override\n\tpublic void setInput(Input arg0) {\n\n\t}", ...
[ "0.62384653", "0.616985", "0.6130459", "0.61251676", "0.61017895", "0.6031991", "0.5975937", "0.5975937", "0.59415185", "0.5937769", "0.59000885", "0.58226836", "0.5815785", "0.58073705", "0.5787238", "0.57428104", "0.5726106", "0.56992686", "0.5656205", "0.56377345", "0.5622...
0.50600135
69
register this parameter for output
private void registerForOutput(CallableStatement stmt) throws SQLException { /* * array */ if (this.isArray) { stmt.registerOutParameter(this.myPosn, Types.ARRAY, this.sqlArrayType); return; } /* * struct */ if (this.recordName != null) { stmt.registerOutParameter(this.myPosn, Types...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void registerOutput( String pinName ) {\n\t//Bug: we do nothing about this here, it'll get more fun later\n }", "public void encode(Map outputParam, String name) {\n\n\t\tHashMap<String, String> globalStatus = new HashMap<String, String>();\n\t\tglobalStatus.put(PNAME_RETURNSTATUS_CODE, this.getStatusC...
[ "0.6419795", "0.62442774", "0.61508733", "0.595408", "0.5925059", "0.58742595", "0.58647794", "0.5862678", "0.58321786", "0.58003664", "0.5786619", "0.57506263", "0.5703437", "0.56713337", "0.56652296", "0.56651384", "0.562247", "0.56137687", "0.5600742", "0.56006485", "0.559...
0.65858763
0
extract output, if required, for this parameter
public void extractOutput(CallableStatement stmt, FieldsInterface outputFields, ServiceContext ctx) throws SQLException { if (this.inOutType == InOutType.INPUT) { return; } /* * simple value */ if (this.recordName == null && this.isArray == false) { Value value = this.getValueType().extract...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "java.lang.String getOutput();", "public TestOut getOutput() {\n\treturn(output);\n }", "String getOutput();", "public abstract Object getOutput ();", "Map<String, ?> getOutputData();", "public String getOutputFlag();", "boolean hasOutputParams();", "public void setOutput(String output) { this.outp...
[ "0.6908498", "0.671106", "0.65291625", "0.6395962", "0.6388175", "0.6338063", "0.618902", "0.6169051", "0.6144466", "0.61243415", "0.6121967", "0.60705495", "0.6016589", "0.6009594", "0.60034895", "0.5954342", "0.59375536", "0.59161156", "0.5890178", "0.5863682", "0.58546036"...
0.5535743
50
create a data sheet with the given struct as its only row
private DataSheet structToDs(Struct struct) throws SQLException { /* * struct is extracted into a data sheet with just one row */ DataSheet ds = ComponentManager.getRecord(this.recordName) .createSheet(true, false); ValueType[] types = ds.getValueTypes(); Value[] row = this.getRowFromStruct(struct.get...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Row createRow();", "private DataSheet structsToDs(Record record, Object[] array)\n\t\t\tthrows SQLException {\n\t\tDataSheet ds = record.createSheet(false, false);\n\t\tValueType[] types = ds.getValueTypes();\n\t\tfor (Object struct : array) {\n\t\t\tif (struct == null || struct instanceof Struct == false) {\n\t...
[ "0.6723849", "0.63762337", "0.63641024", "0.6048089", "0.59613407", "0.5951631", "0.5949136", "0.58724785", "0.58714646", "0.58447444", "0.5755584", "0.5754825", "0.5741866", "0.5666846", "0.5625543", "0.55837375", "0.5549381", "0.5536728", "0.5488751", "0.5485792", "0.544278...
0.6538392
1
create a data sheet out of an array of structs
private DataSheet structsToDs(Record record, Object[] array) throws SQLException { DataSheet ds = record.createSheet(false, false); ValueType[] types = ds.getValueTypes(); for (Object struct : array) { if (struct == null || struct instanceof Struct == false) { Tracer.trace( "Found an empty row or ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private DataSheet arrayToDs(Object[] row) throws SQLException {\n\t\tString[] columnNames = { this.name };\n\t\tValueType vt = this.getValueType();\n\t\tif (row.length == 0) {\n\t\t\tValueType[] types = { this.dataTypeObject.getValueType() };\n\t\t\treturn new MultiRowsSheet(columnNames, types);\n\t\t}\n\t\tValue[...
[ "0.6040826", "0.5966267", "0.5831606", "0.57870996", "0.54041123", "0.5329946", "0.5281186", "0.525293", "0.5240333", "0.523502", "0.52331704", "0.5229686", "0.52123344", "0.5206208", "0.51910794", "0.5122787", "0.51202506", "0.50925237", "0.5091305", "0.50821084", "0.5069116...
0.6912082
0
convert a struct into a row of a data sheet
private Value[] getRowFromStruct(Object[] struct, ValueType[] types) { /* * get values from struct as an array of objects */ Value[] row = new Value[struct.length]; int col = 0; for (Object val : struct) { row[col] = types[col].parseObject(val); col++; } return row; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private DataSheet structToDs(Struct struct) throws SQLException {\n\t\t/*\n\t\t * struct is extracted into a data sheet with just one row\n\t\t */\n\t\tDataSheet ds = ComponentManager.getRecord(this.recordName)\n\t\t\t\t.createSheet(true, false);\n\t\tValueType[] types = ds.getValueTypes();\n\t\tValue[] row = this...
[ "0.68541896", "0.65909517", "0.6204782", "0.61426616", "0.60087246", "0.5902246", "0.5807535", "0.56694394", "0.5579946", "0.55062354", "0.543986", "0.5432554", "0.5430943", "0.541545", "0.541368", "0.53946555", "0.5248956", "0.5236386", "0.52333564", "0.52285475", "0.5216889...
0.58721757
6
create a data sheet with the array of the only column in that
private DataSheet arrayToDs(Object[] row) throws SQLException { String[] columnNames = { this.name }; ValueType vt = this.getValueType(); if (row.length == 0) { ValueType[] types = { this.dataTypeObject.getValueType() }; return new MultiRowsSheet(columnNames, types); } Value[][] values = { vt.toValues(r...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Object[][] getData(File file, String sheetName, int maxColumn ) throws IOException {\n Object data[][] = null;\n\n // tao ra input tu file\n FileInputStream ExcelFile = new FileInputStream(file);\n // tao 1 workbook moi\n xf = new XSSFWorkbook(ExcelFile);\n // lay t...
[ "0.6063507", "0.59883267", "0.59491605", "0.5927502", "0.5749435", "0.5727935", "0.5652354", "0.5617173", "0.5612301", "0.55743235", "0.5542544", "0.55344373", "0.5530834", "0.55259717", "0.551975", "0.5508556", "0.5486929", "0.5467067", "0.5458883", "0.5427157", "0.5425451",...
0.62251383
0
validate the loaded attributes of this subcomponent
int validate(ValidationContext ctx) { int count = 0; if (this.name == null) { ctx.addError( "Parameter has to have a name. This need not be the same as the one in the db though."); count++; } count += ctx.checkDtExistence(this.dataType, "dataType", false); count += ctx.checkRecordExistence(this.rec...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void validate() {\n if (valid) return;\n \n layer = getAttValue(\"layer\").getString();\n hasFrame = getAttValue(\"hasframe\").getBoolean();\n\n valid = true;\n }", "@Override\n\tpublic void validate() {\n\t\tsuper.validate();\n\t}", "@Override\r\n\tpublic void vali...
[ "0.68911755", "0.68278253", "0.6612528", "0.65568024", "0.65454775", "0.64583683", "0.64498234", "0.6442942", "0.6416669", "0.64146435", "0.64007294", "0.630677", "0.62715906", "0.62715906", "0.6257582", "0.6256473", "0.6238839", "0.6238839", "0.6238839", "0.6208941", "0.6204...
0.0
-1
Register listener for MBean registration/unregistration
@Override public Set<ObjectName> doInBackground() { Register listener for MBean registration/unregistration // try { getMBeanServerConnection() .addNotificationListener(MBeanServerDelegate.DELEGATE_NAME, MBeansTab.this, null, null);...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void registerListeners();", "private void createMBeanNotificationListener(ObjectName mBeanName, NotificationListener listener) {\n log.debug(\"Adding notification listener for JMXClient \" + url.getURLPath());\n try {\n mbsc.addNotificationListener(mBeanName, listener, null, null);\n } catch (Insta...
[ "0.66832024", "0.6650512", "0.6593249", "0.63144296", "0.6246857", "0.6100858", "0.6068028", "0.6013596", "0.6006433", "0.5963576", "0.59157956", "0.5903877", "0.58935004", "0.58886063", "0.58854115", "0.58775777", "0.58603245", "0.5839592", "0.5814793", "0.58117527", "0.5796...
0.5598559
36
Ping the connection to see if it is still alive. At some point the ProxyClient class should centralize the connection aliveness monitoring and no longer rely on the custom tabs to ping the connections.
@Override public void update() { Ping the connection to see if it is still alive. At // some point the ProxyClient class should centralize // the connection aliveness monitoring and no longer // rely on the custom tabs to ping the connections. // try { getMBeanSer...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Boolean ping() throws CallError, InterruptedException {\n return (Boolean)service.call(\"ping\").get();\n }", "protected void ping() {\n\t\tpingCount ++;\n\t\tif(pingCount > 5) {\n\t\t\tlog.debug(\"pingCount is exceed, so close this connection.\");\n\t\t\tclose();\n\t\t\treturn;\n\t\t}\n\t\tsend...
[ "0.6522291", "0.6423118", "0.636203", "0.62654716", "0.61783093", "0.6164515", "0.59446526", "0.59213793", "0.5917195", "0.5859219", "0.5847075", "0.5834143", "0.5827577", "0.5820808", "0.5811301", "0.5808533", "0.5793275", "0.5788696", "0.5781533", "0.5772496", "0.57380915",...
0.7345656
0
set up the split pane with the MBean tree and MBean sheet panels
private void setupTab() { setLayout(new BorderLayout()); JSplitPane mainSplit = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT); mainSplit.setDividerLocation(160); mainSplit.setBorder(BorderFactory.createEmptyBorder()); // set up the MBean tree panel (left pane) tree = new X...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void initPane() {\n\t\tContainer localContainer = getContentPane();\n\t\tlocalContainer.setLayout(new BorderLayout());\n\t\t\n\t\tsplitpane_left_top.setBorder(BorderFactory.createTitledBorder(\"Training Data\"));\n\t\tsplitpane_left_bottom.setBorder(BorderFactory.createTitledBorder(\"Tree View\"));\n\t\tsp...
[ "0.73780185", "0.72181267", "0.70267993", "0.7024488", "0.68944865", "0.68267196", "0.6825124", "0.67861456", "0.67246217", "0.6721392", "0.671868", "0.6667367", "0.66375256", "0.6622511", "0.65946615", "0.6539102", "0.65093553", "0.65033823", "0.64687407", "0.64640844", "0.6...
0.8465644
0
/ notification listener: handleNotification
public void handleNotification(final Notification notification, Object handback) { EventQueue.invokeLater(new Runnable() { public void run() { if (notification instanceof MBeanServerNotification) { ObjectName mbean = ((MBeanServerNotification) notification).getMBe...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void notificationReceived(Notification notification);", "@Override\n public void handleNotification(Notification ntfctn, Object o) {\n\n logger.debug(\"Received notification \" + ntfctn);\n\n discover();\n\n }", "public void handleNotification(Notification notification)\n {\n rece...
[ "0.8407388", "0.74283636", "0.7408197", "0.73738647", "0.7355454", "0.73250836", "0.7283301", "0.72688335", "0.7249105", "0.7162415", "0.7122007", "0.7117959", "0.7074935", "0.70583904", "0.7050058", "0.7016916", "0.69867736", "0.68940985", "0.6820351", "0.6815526", "0.679459...
0.698426
17
/ property change listener: propertyChange
public void propertyChange(PropertyChangeEvent evt) { if (JConsoleContext.CONNECTION_STATE_PROPERTY.equals(evt.getPropertyName())) { boolean connected = (Boolean) evt.getNewValue(); if (connected) { buildMBeanServerView(); } else { sheet.dispos...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void propertyChange(PropertyChangeEvent arg0) {\n\t\t\n\t}", "@Override\r\n\tpublic void propertyChange(PropertyChangeEvent arg0) {\n\t\t\r\n\t}", "@Override\r\n\tpublic void propertyChange(PropertyChangeEvent arg0) {\n\t\t\r\n\t}", "@Override\n \tpublic void propertyChange(PropertyChange...
[ "0.84357685", "0.8410747", "0.8410747", "0.8385474", "0.8343974", "0.8314938", "0.83047014", "0.8188567", "0.79902107", "0.7931342", "0.7841269", "0.77489847", "0.7730267", "0.7724207", "0.7700965", "0.7698504", "0.7681836", "0.76622885", "0.764269", "0.74898624", "0.74854356...
0.0
-1
/ tree selection listener: valueChanged
public void valueChanged(TreeSelectionEvent e) { DefaultMutableTreeNode node = (DefaultMutableTreeNode) tree.getLastSelectedPathComponent(); sheet.displayNode(node); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void valueChanged (TreeSelectionEvent event)\n {\n updateSelection();\n }", "@Override\r\n public void valueChanged(TreeSelectionEvent e) {\n }", "public void valueChanged(TreeSelectionEvent e) {\n\t}", "@Override\n public void valueChanged(TreeSelectionEv...
[ "0.8790619", "0.8441967", "0.8407094", "0.8252554", "0.81498706", "0.81144375", "0.8080968", "0.78521454", "0.77540183", "0.77135414", "0.75699687", "0.7548815", "0.75450295", "0.74889654", "0.7380759", "0.73533934", "0.734021", "0.7322183", "0.7292364", "0.7284681", "0.72730...
0.81274253
5
/ tree will expand listener: treeWillExpand
public void treeWillExpand(TreeExpansionEvent e) throws ExpandVetoException { TreePath path = e.getPath(); if (!tree.hasBeenExpanded(path)) { DefaultMutableTreeNode node = (DefaultMutableTreeNode) path.getLastPathComponent(); if (sheet.isMBeanNode(node) && !tree.hasMetadataNodes(...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void expandTree() {\n tree.expand();\n }", "private TreeWillExpandListener createTreeWillExpandListener() {\n\t\treturn new TreeWillExpandListener() {\n\t\t\tpublic void treeWillCollapse(TreeExpansionEvent evt)\n\t\t\t\t\tthrows ExpandVetoException {\n\t\t\t\tDefaultMutableTreeNode node = (DefaultMut...
[ "0.7745738", "0.76037914", "0.75396335", "0.74562573", "0.7216393", "0.7164022", "0.71185493", "0.7095153", "0.6952269", "0.67677873", "0.6749441", "0.657456", "0.65324175", "0.65290236", "0.64670825", "0.6416053", "0.6389262", "0.63719875", "0.6366824", "0.6357331", "0.63573...
0.7679036
1
/ tree will expand listener: treeWillCollapse
public void treeWillCollapse(TreeExpansionEvent e) throws ExpandVetoException { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void treeWillCollapse(TreeExpansionEvent e) {\n saySomething(\"Tree-will-collapse event detected\", e);\n }", "@Override\n\t\t\t\tpublic void treeCollapsed(TreeExpansionEvent arg0) {\n\t\t\t\t}", "@Override\n\t\t\tpublic void treeExpanded(TreeExpansionEvent event) {\n\t\t\t\t// fireTableDataChan...
[ "0.7862558", "0.7797092", "0.7503156", "0.7381973", "0.73527056", "0.7344288", "0.72781855", "0.7203036", "0.68560934", "0.6786354", "0.6733394", "0.6588772", "0.6545156", "0.6544458", "0.65341306", "0.6516874", "0.65065914", "0.64889073", "0.6475658", "0.64225006", "0.641984...
0.7618243
2
TODO Autogenerated method stub
@Override public boolean contains(Rectangle2D arg0) { 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
TODO Autogenerated method stub
@Override public boolean contains(double arg0, double arg1, double arg2, double arg3) { 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
TODO Autogenerated method stub
@Override public Rectangle getBounds() { return new Rectangle(screen_x, screen_y, pinWidth, pinWidth); }
{ "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 Rectangle2D getBounds2D() { 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 PathIterator getPathIterator(AffineTransform arg0) { 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 PathIterator getPathIterator(AffineTransform arg0, double arg1) { 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 intersects(Rectangle2D arg0) { 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
TODO Autogenerated method stub
@Override public boolean intersects(double arg0, double arg1, double arg2, double arg3) { 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
Telefone celular do cliente
@ApiModelProperty(required = true, value = "Telefone celular do cliente") @JsonProperty("mobile") public String getMobile() { return mobile; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void tocarTelefone() {\n System.out.println(\"Telefone \" + getNumero() + \" está tocando!\");\n notificarTodos();\n }", "public void atenderTelefone() {\n System.out.println(\"Telefone \" + getNumero() + \" atendido!\");\n notificarTodos();\n }", "private void atualiza...
[ "0.77789676", "0.708051", "0.64222705", "0.63119704", "0.63085765", "0.6270152", "0.6246798", "0.6242941", "0.62291104", "0.6203916", "0.61854464", "0.6158519", "0.6136545", "0.6118974", "0.6114485", "0.6109834", "0.6108032", "0.6092941", "0.6075674", "0.60612", "0.60612", ...
0.55373615
93
Telefone residencial do cliente
@ApiModelProperty(required = true, value = "Telefone residencial do cliente") @JsonProperty("home") public String getHome() { return home; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void tocarTelefone() {\n System.out.println(\"Telefone \" + getNumero() + \" está tocando!\");\n notificarTodos();\n }", "java.lang.String getTelefon();", "public String getTelefone() {\n return telefone;\n }", "public String getTelefone() {\n\t\treturn telefone;\n\t}", "p...
[ "0.71744454", "0.6996243", "0.6958354", "0.6839051", "0.67344904", "0.6694547", "0.6380134", "0.6378449", "0.6355965", "0.63315433", "0.6274884", "0.6257647", "0.6252659", "0.6252659", "0.62155634", "0.6192717", "0.6189521", "0.6170305", "0.613307", "0.6102455", "0.60936666",...
0.0
-1
Telefone de trabalho do cliente
@ApiModelProperty(required = true, value = "Telefone de trabalho do cliente") @JsonProperty("office") public String getOffice() { return office; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void tocarTelefone() {\n System.out.println(\"Telefone \" + getNumero() + \" está tocando!\");\n notificarTodos();\n }", "public String getTelefone() {\n return telefone;\n }", "public String getTelefone() {\n\t\treturn telefone;\n\t}", "public void atenderTelefone() {\n ...
[ "0.76667094", "0.72750264", "0.72115976", "0.703398", "0.6984771", "0.6748284", "0.66853863", "0.65826344", "0.65221715", "0.65221715", "0.651297", "0.6499878", "0.64671344", "0.6376039", "0.63275146", "0.6246856", "0.6246283", "0.6240215", "0.62276256", "0.62250054", "0.6222...
0.0
-1
checks if stack is empty
public boolean isEmpty() { if (length == 0) { return true; } else { return false; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic boolean isEmpty() {\r\n\t\treturn stack.isEmpty();\r\n\t}", "public boolean isEmpty() {\n \treturn stack.size() == 0;\n }", "public boolean stackEmpty() {\r\n\t\treturn (top == -1) ? true : false;\r\n\t }", "public boolean isEmpty() {return stackList.isEmpty();}", "public boolea...
[ "0.86205834", "0.86011016", "0.85845524", "0.85611725", "0.85191804", "0.8476551", "0.8437041", "0.84172183", "0.83527434", "0.83170617", "0.8305479", "0.8268317", "0.8267061", "0.8267061", "0.8260317", "0.82591677", "0.82481295", "0.82427764", "0.81997484", "0.81927556", "0....
0.0
-1
remove and return the top element
public T pop() { StackNode tempNode = peekNode(); if(length > 1) { lastNode = peekNode().getParent(); tempNode.setParent(null); length--; return (T) tempNode.getTData(); } else if(length == 1) { lastNode = new StackNode(); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void removeTop()\n {\n \tif(first!=null)\t\t\t\n \t{\n \t\tfirst=first.next;\n \t\tif(first!=null)\n \t\t\tfirst.prev=null;\n \t}\n }", "protected T removeBeginning() {\r\n\t\tif (!this.isEmpty()) {\r\n\t\t\tSNode<T> startNode = this.getHead().getPrev();\r\n\t\t\tthis.getHead().setPrev(st...
[ "0.7545013", "0.7349618", "0.7335131", "0.7292299", "0.72124255", "0.7165298", "0.7144624", "0.7107783", "0.709278", "0.70496726", "0.70044804", "0.69877774", "0.6984144", "0.6933679", "0.6923668", "0.69235694", "0.6923484", "0.6919333", "0.69118243", "0.691016", "0.68985534"...
0.0
-1
look at the top node without removing
public StackNode peekNode() { return lastNode; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Node top() {\r\n\t\treturn start;\r\n\t}", "public Node<T> getTopNode() {\n\t\treturn topNode;\n\t}", "private void TopView(NodeTopView root) { \n\t\t\tclass QueueObj { \n\t\t\t\tNodeTopView NodeTopView; \n\t\t\t\tint hd; \n\n\t\t\t\tQueueObj(NodeTopView NodeTopView, int hd) { \n\t\t\t\t\tthis.NodeTopVi...
[ "0.72753", "0.6902521", "0.6855259", "0.68328243", "0.6794497", "0.677893", "0.6734927", "0.66963315", "0.6685683", "0.66590977", "0.65896344", "0.6578328", "0.6546299", "0.6531895", "0.6497644", "0.64687246", "0.64548624", "0.6426659", "0.639707", "0.6382668", "0.63713944", ...
0.0
-1
look at the top element without removing
public T peek() { return (T) peekNode().getTData(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int top() {\n return topElem;\n }", "public int top() { return 0; }", "public int topElement() {\n\t\tif(isEmpty()){\n\t\t\tthrow new AssertionError();\n\t\t}\n\t\telse {\n\t\t\treturn heap.get(0).element;\n\t\t\n\t\t}\n\t}", "public E peek(){\n\t\treturn top.element;\n\t}", "void ...
[ "0.6889561", "0.66392624", "0.6574659", "0.65692234", "0.65377915", "0.6506381", "0.6477635", "0.6476592", "0.6408169", "0.64002776", "0.6276411", "0.62306917", "0.6206019", "0.6199877", "0.6193394", "0.6193394", "0.61330354", "0.61236405", "0.61151385", "0.61005807", "0.6088...
0.0
-1
TODO Autogenerated method stub
@Override public void annotate(JCas arg0) throws AnalysisEngineProcessException { }
{ "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 Employee emp = new Employee("Harsh","Jaipur", LocalDate.of(1997, 12, 8), 100, 100000 ); emp.show(); /Student std = new Student(1, "Harsh","Jaipur", LocalDate.of(1997, 12, 8), 100); std.show(); Polymorphism
public static void main(String[] args) { Person p; System.out.println("----------------"); p= new Employee("Harsh","Jaipur", LocalDate.of(1997, 12, 8), 100, 100000); p.show(); System.out.println("----------------"); p= new Student(1, "Harsh","Jaipur", LocalDate.of(1997, 12, 8), 100); p.show(); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static void LessonInheritance() {\n Employee employee1 = new Employee();\n\n //Set Id , firstName and lastName of Employee from Person Class and BaseBO\n employee1.setId(13);\n employee1.setFirstName(\"Jordan(e)\");\n employee1.setLastName(\"Walker(e)\");\n\n //Pri...
[ "0.7153252", "0.71210814", "0.6827804", "0.681076", "0.6809306", "0.6569898", "0.6542944", "0.64718026", "0.635246", "0.63458276", "0.6328614", "0.6328614", "0.63012284", "0.62949634", "0.6273735", "0.62501794", "0.6237446", "0.62071085", "0.6206128", "0.6195971", "0.61894137...
0.6719995
5
Advantage of poly as we need only one method to show Employee,Student,Person as emp and stu are subclass of person.
static void operate(Person o){ o.show(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static void LessonPolymorphism() {\n Employee empOne = new Employee(\"Bob\");\n Employee empTwo = new Employee(\"Linda\", \"Belcher\");\n System.out.println(empOne.getFirstName());\n System.out.println(empTwo.getFirstName() + \" \" + empTwo.getLastName());\n // run-time p...
[ "0.60660934", "0.5976141", "0.58953995", "0.58277804", "0.5546649", "0.5546107", "0.54490334", "0.54403883", "0.5414647", "0.53747857", "0.5374667", "0.5374667", "0.53315836", "0.5247731", "0.5210803", "0.51958674", "0.5152838", "0.5152772", "0.51493204", "0.5136909", "0.5136...
0.0
-1
System.out.println("TRANSFORM " + className);
private byte[] transform(byte[] classfileBuffer, String onlyMethod, String className) { ClassReader cr = new ClassReader(classfileBuffer); ClassWriter cw = new ClassWriter(cr, ClassWriter.COMPUTE_FRAMES); ClassAdapter profiler = new ProfileClassAdapter(cw, className); // ClassVisitor cv = new LogMethodClassVisi...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Transform getTransform() {return transform;}", "public AffineTransform getTransform()\n/* */ {\n/* 194 */ return this.transform;\n/* */ }", "public String toString()\n\t{\n\t\treturn \"Base animation\";\n\t}", "@Override \n public String toString() {\n return getName() + \...
[ "0.5853609", "0.5606233", "0.5587068", "0.5464213", "0.5429277", "0.54157674", "0.53842837", "0.5380961", "0.5377257", "0.52698225", "0.52085716", "0.5201221", "0.5188436", "0.5170252", "0.5136503", "0.5135537", "0.51029927", "0.5100836", "0.5098184", "0.50881124", "0.506067"...
0.0
-1
method.addLocalVariable("__start", CtClass.longType); method.addLocalVariable("__stop", CtClass.longType); method.insertBefore(" __start = System.currentTimeMillis();"); method.insertAfter(" __stop = System.currentTimeMillis() __start;"); method.addLocalVariable("__start", CtClass.longType); method.addLocalVariable("__...
private void changeMethod(CtBehavior method) throws NotFoundException, CannotCompileException { // method.insertBefore(" __start = System.currentTimeMillis();"); // method.insertAfter(" __stop = System.currentTimeMillis() - // __start;"); // method.addLocalVariable("__start", CtClass.longType); // method.addL...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void method_1949() {\n this.field_1249 = System.nanoTime();\n }", "void takeBefore(){\n beforeTimeNs=System.nanoTime();\n }", "public static void startTimeMeasure() {\n \tstartTime = System.nanoTime();\n }", "public void setTimeInNs(long r1) {\n /*\n // Can...
[ "0.6320357", "0.60653317", "0.59308755", "0.5796102", "0.5691507", "0.5672769", "0.56481457", "0.55790454", "0.5501448", "0.5491386", "0.547683", "0.547582", "0.5470891", "0.54405904", "0.5437472", "0.54364187", "0.5433469", "0.5411764", "0.5393554", "0.53926915", "0.53788614...
0.6383563
0
Creates a new GameDataJPanel. When what's drawn is larger or smaller than the supplied width and height, the drawn image will stretch to meet the current container's size.
public GameDataJPanel(GameData gameData) { this.gameData = gameData; // Setting up the swing components; JPanel programTitlePanel = new JPanel(new FlowLayout()); JLabel title = new JLabel("Actively rendering graphics and Swing " + "Components!"); programTitlePanel.add(title); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public GamePanel(int width, int height) {\n\t\tthis.width = width;\n\t\tthis.height = height;\n\t\tthis.tileSize = 64;\n\n\t\tsetPreferredSize(new Dimension(width, height));\n\t\tsetFocusable(true);\n\t\tsetDoubleBuffered(true);\n\n\t\timg = new BufferedImage(width, height, BufferedImage.TYPE_INT_ARGB);\n\t\timgG2...
[ "0.645503", "0.6174674", "0.61267155", "0.61215585", "0.60640943", "0.5940505", "0.56944454", "0.5650408", "0.5543381", "0.5527421", "0.55037856", "0.542995", "0.5427556", "0.5380156", "0.5362844", "0.5353708", "0.5346767", "0.53465074", "0.53419566", "0.534192", "0.53371644"...
0.60257226
5
TODO: Fix maintaining aspect ratio
public void update(Bitmap bitmap) { bufferStrat = this.canvas.getBufferStrategy(); Graphics graphics = bufferStrat.getDrawGraphics(); graphics.drawImage(bitmap.getImage(), 0, 0, width * scale, height * scale, null); graphics.dispose(); bufferStrat.show(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setAspectRatio(float aspectRatio) {\n this.aspectRatio = aspectRatio;\n// float radiusX=radius/aspectRatio, radiusY=radius*aspectRatio;\n }", "public void setKeepAspectRatio(boolean keepAspect);", "@Override // com.master.cameralibrary.CameraViewImpl\n public AspectR...
[ "0.70048106", "0.69990337", "0.68064594", "0.67700344", "0.6760389", "0.66500777", "0.66416335", "0.65397704", "0.6497695", "0.6495487", "0.63865405", "0.63526374", "0.6272956", "0.6270851", "0.61926496", "0.6190802", "0.61496", "0.6138704", "0.60845196", "0.60687715", "0.602...
0.0
-1
Decide if response is supported by this strategy.
default boolean supports(final AuthenticationResponse response) { if (response != null) { LOGGER.debug("Authentication response [{}] is supported by password policy handling strategy [{}]", response, getClass().getSimpleName()); return true; } return false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isResponse(){\n return true;\n }", "boolean hasGenericResponse();", "private boolean responseAvailable() {\n return (responseBody != null) || (responseStream != null);\n }", "boolean hasResponse();", "boolean hasResponse();", "boolean hasResponse();", "boolean hasResponse...
[ "0.66443425", "0.64049786", "0.6327416", "0.6252401", "0.6252401", "0.6252401", "0.6252401", "0.6252401", "0.6252401", "0.6252401", "0.6252401", "0.6252401", "0.6215001", "0.61480343", "0.60704064", "0.6031045", "0.60145336", "0.60136545", "0.59983397", "0.5992304", "0.594672...
0.6763733
0
usage: / [ [ ]]
@Override protected boolean perform(final CommandSender sender, final Command command, final String label, final List<String> args, final Region region) { String owner = RegionExecutor.parse(args, 0, "<Owner>", sender); if (owner == null) return false; if (region.owners.contains(owner)...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void main(String[] args) {\n\t\tSystem.out.println(bb(\"{{}\"));\n\t\tSystem.out.println(bb(\"[[]\"));\n\t\tSystem.out.println(bb(\"({}[])\"));\n\t}", "public static void main(String[] args) {\n\t\tList<?>[] list = new ArrayList<?>[6];\n\t}", "public static void main(String[] args) {\n\n S...
[ "0.594408", "0.53911364", "0.53637487", "0.52456826", "0.5222029", "0.5108611", "0.5054018", "0.50005454", "0.4953553", "0.49429947", "0.48625648", "0.48423997", "0.48235714", "0.4820051", "0.4793678", "0.47671723", "0.4759232", "0.47512123", "0.47317153", "0.47270894", "0.47...
0.0
-1
/ access modifiers changed from: private
public void n() { this.f80658c.a(new f() { public void a(Object obj, boolean z) { p unused = m.this.f80658c = (p) obj; } }, "__ag_of"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private stendhal() {\n\t}", "@Override\n protected void prot() {\n }", "private Rekenhulp()\n\t{\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void func_104...
[ "0.70451087", "0.66481936", "0.66338545", "0.6534467", "0.6533057", "0.63756114", "0.6368523", "0.63063055", "0.6244554", "0.62261415", "0.62046665", "0.61776316", "0.6142759", "0.6131381", "0.6131381", "0.61274433", "0.610919", "0.610797", "0.60792845", "0.6062989", "0.60593...
0.0
-1
/ access modifiers changed from: private
public void q() { List<String> b2 = this.f80657b.b(); if (b2 != null) { this.l = b2; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private stendhal() {\n\t}", "@Override\n protected void prot() {\n }", "private Rekenhulp()\n\t{\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void func_104...
[ "0.70451087", "0.66481936", "0.66338545", "0.6534467", "0.6533057", "0.63756114", "0.6368523", "0.63063055", "0.6244554", "0.62261415", "0.62046665", "0.61776316", "0.6142759", "0.6131381", "0.6131381", "0.61274433", "0.610919", "0.610797", "0.60792845", "0.6062989", "0.60593...
0.0
-1
/ access modifiers changed from: private
public void h() { long currentTimeMillis = System.currentTimeMillis(); this.m.sendEmptyMessageDelayed(48, q.c(currentTimeMillis)); this.m.sendEmptyMessageDelayed(49, q.d(currentTimeMillis)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private stendhal() {\n\t}", "@Override\n protected void prot() {\n }", "private Rekenhulp()\n\t{\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void func_104...
[ "0.70451087", "0.66481936", "0.66338545", "0.6534467", "0.6533057", "0.63756114", "0.6368523", "0.63063055", "0.6244554", "0.62261415", "0.62046665", "0.61776316", "0.6142759", "0.6131381", "0.6131381", "0.61274433", "0.610919", "0.610797", "0.60792845", "0.6062989", "0.60593...
0.0
-1
/ access modifiers changed from: private
public void l() { SharedPreferences a2 = ba.a(k); this.f80660e = a2.getBoolean("main_fest_mode", false); this.f80661f = a2.getLong("main_fest_timestamp", 0); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private stendhal() {\n\t}", "@Override\n protected void prot() {\n }", "private Rekenhulp()\n\t{\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void func_104...
[ "0.70451087", "0.66481936", "0.66338545", "0.6534467", "0.6533057", "0.63756114", "0.6368523", "0.63063055", "0.6244554", "0.62261415", "0.62046665", "0.61776316", "0.6142759", "0.6131381", "0.6131381", "0.61274433", "0.610919", "0.610797", "0.60792845", "0.6062989", "0.60593...
0.0
-1
/ access modifiers changed from: private
public void m() { for (Map.Entry key : this.f80656a.a().entrySet()) { List list = (List) key.getKey(); if (!this.l.contains(list)) { this.l.add(d.a(list)); } } if (this.l.size() > 0) { this.f80657b.a(new f(), this.l); } ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private stendhal() {\n\t}", "@Override\n protected void prot() {\n }", "private Rekenhulp()\n\t{\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void func_104...
[ "0.70451087", "0.66481936", "0.66338545", "0.6534467", "0.6533057", "0.63756114", "0.6368523", "0.63063055", "0.6244554", "0.62261415", "0.62046665", "0.61776316", "0.6142759", "0.6131381", "0.6131381", "0.61274433", "0.610919", "0.610797", "0.60792845", "0.6062989", "0.60593...
0.0
-1
/ access modifiers changed from: private
public void o() { try { if (this.f80656a.a().size() > 0) { this.f80657b.c(new f() { public void a(Object obj, boolean z) { if (obj instanceof String) { m.this.f80656a.d(); } ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private stendhal() {\n\t}", "@Override\n protected void prot() {\n }", "private Rekenhulp()\n\t{\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void func_104...
[ "0.70451087", "0.66481936", "0.66338545", "0.6534467", "0.6533057", "0.63756114", "0.6368523", "0.63063055", "0.6244554", "0.62261415", "0.62046665", "0.61776316", "0.6142759", "0.6131381", "0.6131381", "0.61274433", "0.610919", "0.610797", "0.60792845", "0.6062989", "0.60593...
0.0
-1
/ access modifiers changed from: private
public void p() { try { if (this.f80656a.a().size() > 0) { this.f80657b.a((f) new f() { public void a(Object obj, boolean z) { } }, this.f80656a.a()); } if (this.f80658c.a().size() > 0) { ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private stendhal() {\n\t}", "@Override\n protected void prot() {\n }", "private Rekenhulp()\n\t{\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void func_104...
[ "0.70451087", "0.66481936", "0.66338545", "0.6534467", "0.6533057", "0.63756114", "0.6368523", "0.63063055", "0.6244554", "0.62261415", "0.62046665", "0.61776316", "0.6142759", "0.6131381", "0.6131381", "0.61274433", "0.610919", "0.610797", "0.60792845", "0.6062989", "0.60593...
0.0
-1
Create my location marker
public void initMapMarkers() { myMarkersCollection = new MapMarkersCollection(); MapMarkerBuilder myLocMarkerBuilder = new MapMarkerBuilder(); myLocMarkerBuilder.setMarkerId(MARKER_ID_MY_LOCATION); myLocMarkerBuilder.setIsAccuracyCircleSupported(true); myLocMarkerBuilder.setAccuracyCircleBaseColor(new FColorR...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void createMarker()\n {\n LocationMarker layoutLocationMarker = new LocationMarker(\n fLon.get(fLon.size()-1),\n fLat.get(fLat.size()-1),\n getExampleView()\n\n );\n\n finalLon = fLon.get(fLon.size()-1);\n finalLat = fLat.get(fLat....
[ "0.80976343", "0.7814771", "0.71024084", "0.7094355", "0.7047824", "0.7037042", "0.69868714", "0.69708914", "0.69266194", "0.69211483", "0.69054985", "0.69044816", "0.6883242", "0.6798756", "0.6781235", "0.6750478", "0.66908693", "0.66906977", "0.66830915", "0.66564304", "0.6...
0.62654275
44
Creates new form UserEmitirLicencia
public UserEmitirLicencia() { //Inicializacion de la ventana ImageIcon logo = new ImageIcon("src/res/drawable/sfc_logo.jpg"); Image icon = logo.getImage(); this.setIconImage(icon); initComponents(); Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize(); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public RenovarLicencia() {\n //borrar todo cuando este listo el metodo de abajo\n initComponents();\n setTitle(\"Renovar Licencia\");\n setLocationRelativeTo(null);\n //se pide al gestor y se muestra por pantalla los datos del administrativo registrado\n txt_user.setText(G...
[ "0.65295434", "0.6292501", "0.61832136", "0.5693625", "0.5649373", "0.5616681", "0.55986005", "0.5573216", "0.5563004", "0.55428797", "0.55081636", "0.54571605", "0.5422036", "0.5405338", "0.5404129", "0.5397651", "0.53787017", "0.53703076", "0.53700215", "0.5358131", "0.5352...
0.67060494
0
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() { radioGroup = new javax.swing.ButtonGroup(); lblSantaFe = new javax.swing.JLabel(); pnlTitulo = new javax.swing.JPanel(); lblEm...
{ "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.73191476", "0.72906625", "0.72906625", "0.72906625", "0.72860986", "0.7248112", "0.7213479", "0.72078276", "0.7195841", "0.71899796", "0.71840525", "0.7158498", "0.71477973", "0.7092748", "0.70800966", "0.70558053", "0.69871384", "0.69773406", "0.69548076", "0.69533914", "...
0.0
-1
TODO Autogenerated method stub
@Override public boolean register(String email, String id, String pw) { return jdbcTemplate.update("insert into s_member values(?,?,?," + "'normal',sysdate)",email,id,pw)>0; }
{ "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 register(MemberDto mem) { return register(mem.getEmail(),mem.getName(),mem.getPw()); }
{ "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 login(String email, String pw) { return jdbcTemplate.query( "select * from s_member where email=? and pw=?", extractor,email,pw)!=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 login(MemberDto mem) { return login(mem.getEmail(),mem.getPw()); }
{ "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 MemberDto myInfo(String email) { return jdbcTemplate.query("select * from s_member where email=?", extractor,email); }
{ "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 delete(String email, String pw) { return jdbcTemplate.update("delete s_member where email=?,pw=?", email,pw)>0; }
{ "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 delete(MemberDto mem) { return delete(mem.getEmail(),mem.getPw()); }
{ "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<MemberDto> list() { return jdbcTemplate.query("select * from s_member", mapper); }
{ "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 overlapCheck(String email) { return select("email", email).size()==0; }
{ "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<MemberDto> select(String col,String keyword) { return jdbcTemplate.query("select * from s_member where "+col+"=?", mapper,keyword); }
{ "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 Set<String> emailList() { return new HashSet<String>(jdbcTemplate.query("select * from s_member", (rs,idx)->{return rs.getString("email");})); }
{ "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 Map<String, MemberDto> nameList() { Map<String, MemberDto> list = new HashMap<>(); for (String email : emailList()) { list.put(email, myInfo(email)); } return list; }
{ "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
list each calculation result which can merge with this type of result
public boolean isCompatible(CalcResult targetResults) { if (targetResults instanceof BoundsResult || targetResults == CalcResult.NULL_RESULT) { return true; } return false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void aggregateResults()\n\t{\n\t\ttry {\n\t\t\tAggregateableEvaluation aggContNaive = new AggregateableEvaluation(this.evalNaiveBayesList.get(0));\n\t\t\tAggregateableEvaluation aggContSMO = new AggregateableEvaluation(this.evalSMOList.get(0));\n\t\t\tAggregateableEvaluation aggDonaNaive = new Aggregateable...
[ "0.67934626", "0.6618641", "0.6544018", "0.64243835", "0.63483876", "0.6308836", "0.6161013", "0.6153274", "0.6129737", "0.60887206", "0.5996882", "0.59237415", "0.58870184", "0.5716267", "0.5678678", "0.5657646", "0.56493026", "0.56466585", "0.56365275", "0.56297565", "0.562...
0.0
-1
Do some basic checks on the URI and name. Try to lookup the URI. See if the name is qualified.
private static String verifyXPathRoot(String schemaNS, String rootProp) throws XMPException { if (schemaNS == null || schemaNS.length() == 0) { throw new XMPException("Schema namespace URI is required", XMPError.BADSCHEMA); } if ((rootProp.charAt(0) == '?') || (rootProp.charAt(0) == '@')) { throw new XMPE...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "boolean hasUri();", "private void initialize(URI p_base, String p_uriSpec)\n throws MalformedURIException {\n \n String uriSpec = p_uriSpec;\n int uriSpecLen = (uriSpec != null) ? uriSpec.length() : 0;\n \n if (p_base == null && uriSpecLen == 0) {\n throw new Malf...
[ "0.66084146", "0.5936904", "0.5914554", "0.586109", "0.5844678", "0.58187443", "0.5811132", "0.576999", "0.5683028", "0.5629858", "0.56010085", "0.55975103", "0.5524592", "0.5516831", "0.54808366", "0.5477357", "0.54768324", "0.54545456", "0.54465", "0.5444912", "0.5429449", ...
0.0
-1
Create contents of the dialog.
private void createContents() { shell = new Shell(getParent(), getStyle()); shell.setSize(650, 300); shell.setText(getText()); shell.setLayout(new FormLayout()); lblSOName = new Label(shell, SWT.CENTER); lblSOName.setFont(SWTResourceManager.getFont("Segoe UI", 1...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void createContents() {\n\t\tshell = new Shell(getParent(), getStyle());\n\n\t\tshell.setSize(379, 234);\n\t\tshell.setText(\"\\u0410\\u043A\\u043A\\u0430\\u0443\\u043D\\u0442\");\n\t\tshell.setLayout(new BorderLayout(0, 0));\n\t\t\n\t\tLabel dialogAccountHeader = new Label(shell, SWT.NONE);\n\t\tdialogAcc...
[ "0.7465564", "0.71213424", "0.70750844", "0.7056892", "0.7035284", "0.6982003", "0.6966167", "0.6853646", "0.68448454", "0.6811343", "0.68096405", "0.6801873", "0.67985934", "0.6798088", "0.679386", "0.6789257", "0.67799765", "0.6769032", "0.6748607", "0.67194223", "0.6717503...
0.6509662
44
Identify the selected row
@Override public void widgetSelected(SelectionEvent e) { TableItem item = (TableItem) e.item; if (item == null) { return; } // The control that will be the editor must be a child of the Table IReplace...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getSelectedRow()\n {\n \treturn this.getSelectedIndex();\n }", "private void selectedRowInvoice(){\r\n //numOrdenInv = tb_factura.getSelectionModel().getSelectedIndex();\r\n }", "@Override\n public void mousePressed(MouseEvent e) {\n if (e.getButton() == MouseEve...
[ "0.77313715", "0.75973713", "0.7456303", "0.7342104", "0.7275112", "0.7261362", "0.72301644", "0.71423095", "0.6965468", "0.69533145", "0.69413996", "0.69397706", "0.6888303", "0.68720204", "0.68538153", "0.6736478", "0.67284685", "0.6700079", "0.66797966", "0.6654928", "0.66...
0.0
-1
1. slozhytj 2. Razdelitj na kolvo indeksov
private static double middleValueElementInArray(int[] arr) { double sum = sumElementArray(arr); return sum /arr.length; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void nastaviIgru() {\r\n\t\t// nastavi igru poslije pobjede\r\n\t\tigrajPoslijePobjede = true;\r\n\t}", "private String vylozZvieraZVozidla() {\r\n if (zoo.getPracovneVozidlo() == null) {\r\n return \"Pracovne vozidlo nie je pristavene\";\r\n }\r\n\r\n Integer pozicia = Moj...
[ "0.66134506", "0.6478026", "0.64030313", "0.63684064", "0.6340288", "0.6290669", "0.6279527", "0.6237544", "0.62161994", "0.6205577", "0.6196634", "0.614148", "0.61393267", "0.61326045", "0.6126462", "0.61073333", "0.6100119", "0.6087373", "0.60623467", "0.6037626", "0.602040...
0.0
-1
Creates the JPA Query Object based on current QueryBuilder
public Query createQuery() { String queryString = getQueryString(); if (debug == true) { logger.info( "Query String: {0}", queryString); logger.info( "Parameters: Max Results: {0}, First result: {1}, Order By: {2}, Restrictions: {3}, Joins: {4}", new Object[]{maxResults, firstR...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected JPAQuery<T> createQuery() {\n\t\tJPAQuery<T> query = new JPAQuery<>(entityManager);\n\t\tquery.from(getDslRoot());\n\t\treturn query;\n\t}", "SelectQuery createSelectQuery();", "public QueryBuilder buildQueryBuilder() {\n return dao.getQueryBuilder()\n .from(dao.getEntityClass()...
[ "0.79359955", "0.72442335", "0.6935934", "0.6551806", "0.6525471", "0.65198386", "0.6409184", "0.63781816", "0.6344", "0.63394326", "0.6337755", "0.63001573", "0.62837315", "0.6241862", "0.62414354", "0.623712", "0.6185779", "0.6164807", "0.61574894", "0.61550844", "0.6148507...
0.6956294
2
private static final JsonFactory JSON_FACTORY = JacksonFactory.getDefaultInstance();
private HttpRequestInitializer getCredentials(final NetHttpTransport HTTP_TRANSPORT, TCC tcc) throws IOException { logger.debug("Obtendo credenciais..."); String credentialsPath = CREDENTIALS_FILE_PATH + tcc.getAluno().getCurso().getCodigoCurso() + ".json"; logger.debug("Caminho do arquivo de credenciais: " + cre...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public JsonFactory() { this(null); }", "private JSONMessageFactory(){}", "private JSON() {\n\t}", "private JSONHelper() {\r\n\t\tsuper();\r\n\t}", "private JsonUtils() {}", "public JsonField() {\n }", "private JsonUtils()\r\n {\r\n // Private constructor to prevent instantiation\r\n }",...
[ "0.69471973", "0.68727916", "0.65082", "0.63999367", "0.6399163", "0.63474244", "0.63308114", "0.6251505", "0.62199163", "0.609235", "0.60515964", "0.5947603", "0.58889556", "0.58694464", "0.5833459", "0.5794363", "0.5775141", "0.5740572", "0.5643225", "0.5637818", "0.5622109...
0.0
-1
/ Transforma o id do tcc em uma string de pelo menos 5 caracteres, para ser aceito pelo google e identificar o evento do tcc
private String formatTccId(TCC tcc) { String id = Integer.toString(tcc.getIdTCC()); while (id.length() < 5) { id = "0" + id; } return id; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private String createId() {\n int idLength = 5;\n String possibleChars = \"1234567890\";\n Random random = new Random();\n StringBuilder newString = new StringBuilder();\n\n for (int i = 0; i < idLength; i++) {\n int randomInt = random.nextInt(10);\n newStri...
[ "0.69161457", "0.6819992", "0.64149386", "0.6382333", "0.6382333", "0.6213928", "0.61789644", "0.61467516", "0.6129651", "0.5999383", "0.5965071", "0.5867719", "0.58531886", "0.58162177", "0.5813796", "0.57818246", "0.57677335", "0.57647663", "0.57418233", "0.5738322", "0.572...
0.71991277
0
/ create a board
@PostMapping("/boards") public ResponseEntity<Board> createBoard(@RequestBody Board board) throws URISyntaxException { if(board.getId()!=null){ throw new BadRequestAlertException("A new Board cannot already have an ID", ENTITY_NAME, "idexists"); } Board result = boardRepository.s...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract void createBoard();", "public void createBoard() {\n\t\tboard = new Piece[8][8];\n\t\t\n\t\tfor(int i=0; i<8; i++) {\n\t\t\tfor(int j=0; j<8; j++) {\n\t\t\t\tboard[i][j] = null;\n\t\t\t}\n\t\t}\n\t}", "private void generateBoard(){\n\t}", "public static void createBoard() \n\t{\n\t\tfor (int ...
[ "0.8066814", "0.78090715", "0.7773242", "0.77587503", "0.7743665", "0.7698141", "0.7677991", "0.75875723", "0.754854", "0.737944", "0.7237815", "0.71994805", "0.7198578", "0.7086945", "0.70645213", "0.70584136", "0.70548636", "0.7031006", "0.7021675", "0.69898146", "0.6959950...
0.0
-1
/ read all boards
@GetMapping("/boards") public List<Board> getAllBoards(){ return boardRepository.findAll(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic ArrayList<Board1> getAll() {\n\t\treturn dao.selectAll();\r\n\t}", "List findall_board_info(Integer board_id);", "public BoardInterface[] getBoards();", "@Override\n\tpublic List<BoardVO> listAll() throws Exception {\n\t\treturn dao.listAll();\n\t}", "@Override\n\tpublic List<BoardVO>...
[ "0.66389674", "0.6483539", "0.6409841", "0.62914973", "0.62914973", "0.6204414", "0.6083559", "0.5995839", "0.5973431", "0.59012914", "0.58871883", "0.5861086", "0.58128124", "0.5788036", "0.5756602", "0.57131445", "0.56844497", "0.5668093", "0.56602734", "0.5617916", "0.5571...
0.62336695
5
/ read 'id' board
@GetMapping("/boards/{id}") public ResponseEntity<Board> getBoard(@PathVariable Long id){ Optional<Board> board = boardRepository.findById(id); return ResponseUtil.wrapOrNotFound(board); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "List findall_board_info(Integer board_id);", "@Override\n public Board getBoard(int id) {\n Board b = boardDataGateway.getBoardByID(id);\n if (b != null)\n b.setPins(getPinsOnBoard(b.getCreator().getUsername(), b.getName()));\n return b;\n }", "@Override\r\n\tpublic BoardD...
[ "0.68267477", "0.6617112", "0.6466417", "0.62636226", "0.62462413", "0.61631477", "0.61562234", "0.61562234", "0.5903055", "0.58683825", "0.58668786", "0.58637303", "0.58611137", "0.5749545", "0.57133067", "0.5707708", "0.5691934", "0.56786376", "0.5664885", "0.56051105", "0....
0.6282389
3
/ update a board
@PutMapping("/boards") public ResponseEntity<Board> updateBook(@RequestBody Board board) throws URISyntaxException { if(board.getId() == null){ throw new BadRequestAlertException("Invalid id", ENTITY_NAME, "idnull"); } Board result = boardRepository.save(board); return Re...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void updateBoard() {\n notifyBoardUpdate(board);\n }", "@Override\r\n\tpublic int updateBoard(Board board) {\n\t\treturn session.update(namespace+\"updateBoard\",board);\r\n\t}", "boolean updateBoard(String currentPlayerTurn, String newBoard);", "public void updateBoard(int[][] board, int p...
[ "0.8228504", "0.77267486", "0.7551644", "0.7433816", "0.7390509", "0.7364081", "0.7362419", "0.71481115", "0.7136472", "0.71355283", "0.7028588", "0.7007212", "0.6993796", "0.69007564", "0.68649876", "0.6848041", "0.6811383", "0.6805079", "0.67722535", "0.67710453", "0.674097...
0.6280421
48
/ delete a board
@DeleteMapping("/boards/{id}") public ResponseEntity<Void> deleteBoard(@PathVariable Long id){ boardRepository.deleteById(id); return ResponseEntity.noContent().headers(HeaderUtil.createEntityDeletionAlert(applicationName, false, ENTITY_NAME, id.toString())).build(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void deleteBoard(long id);", "@Override\n\tpublic int deleteBoard(int num) {\n\t\treturn 0;\n\t}", "@Override\r\n\tpublic int deleteBoard(BoardVO board) {\n\t\treturn 0;\r\n\t}", "public void deleteBoard(int no) {\n\t\t\r\n\t\ttry {\r\n\t\t\tcon = ds.getConnection();\r\n\t\t\t\r\n\t\t\t// no값인 게시글 삭제\r\n\t\t...
[ "0.84714663", "0.7882477", "0.7806124", "0.76576793", "0.75730175", "0.73737997", "0.71138644", "0.71098447", "0.70352054", "0.7034718", "0.69860977", "0.6910501", "0.68931", "0.67177975", "0.66270214", "0.6586703", "0.64991647", "0.6436907", "0.6357478", "0.631559", "0.62411...
0.68821394
13
Created by Development on 10/3/2016.
public interface IOutput <T> extends ITickable{ void setInputLocation(BlockPos pos); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private stendhal() {\n\t}", "@Override\n public void perish() {\n \n }", "public final void mo51373a() {\n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\r\n...
[ "0.613106", "0.60321885", "0.5894217", "0.58785516", "0.5849655", "0.5754965", "0.5708384", "0.5703583", "0.5670307", "0.56622535", "0.56622535", "0.5644392", "0.5619633", "0.5591663", "0.5586646", "0.55859244", "0.55768204", "0.55768204", "0.55768204", "0.55768204", "0.55768...
0.0
-1
/ Generated Methods Method execute
public ActionForward init(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) { HttpSession session = request.getSession(); if (session.getAttribute("admin") == null) { return mapping.findForward("wrong"); } else { MessageService messageService = new Message...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void execute() {}", "protected void execute() {\n \t\n }", "protected void execute() {\n \t\n }", "protected void execute() {\n\t\t\n\t}", "public void execute() {\n\t\t\n\t}", "public void execute(){\n\t\t\n\t}", "public void execute() {\n\t\t\r\n\t}", "public void execute() {\...
[ "0.8726473", "0.86474156", "0.86474156", "0.8585333", "0.8541966", "0.85416996", "0.85315204", "0.85315204", "0.85315204", "0.8510395", "0.8505068", "0.8505068", "0.8505068", "0.8505068", "0.8488018", "0.8487717", "0.8487717", "0.8487717", "0.8487717", "0.8487717", "0.8487717...
0.0
-1
Generated file Do NOT edit. It will be overwritten at next ServiceBuilder iteration.
public interface UserModel extends BaseModel<User> { public long getUserId(); public void setUserId(long userId); public String getFirstName(); public void setFirstName(String firstName); public String getLastName(); public void setLastName(String lastName); public String getPassword(); public void setPa...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "SourceBuilder createService();", "private ServiceGenerator() {\n }", "public interface ConfigurationServiceV1 {\n \n \n /**\n * Auto generated method signature\n * Documentation goes here.\n * @param getBSConfigRequest\n */\n\n ...
[ "0.68357426", "0.63158846", "0.6271252", "0.61748874", "0.6149566", "0.6149566", "0.61429805", "0.6067835", "0.60576725", "0.60509205", "0.6026895", "0.599443", "0.5977199", "0.59720445", "0.5933169", "0.59131753", "0.58940506", "0.58283675", "0.5822467", "0.5818653", "0.5803...
0.0
-1
Appends to the end of List, irrespective of value already existing. See addToReminders to add without duplicating.
public void appendToReminders(Date reminders);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void appendToReminders(List<Date> reminders);", "public void addToReminders(List<Date> reminders);", "private static final <T> List<T> append(List<T> list, T newElement) {\n List<T> newList = Lists.newArrayListWithCapacity(list.size() + 1);\n newList.addAll(list);\n newList.add(newElement);\n ...
[ "0.7021554", "0.6839598", "0.6290868", "0.62235326", "0.609829", "0.6077146", "0.6035155", "0.58638793", "0.58541656", "0.58211654", "0.5772183", "0.57244825", "0.5709445", "0.56625134", "0.5651758", "0.5628641", "0.56057054", "0.56056607", "0.5595989", "0.55938184", "0.55905...
0.6271668
3
Appends to the end of List, irrespective of value already existing. See addToReminders to add without duplicating.
public void appendToReminders(List<Date> reminders);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void addToReminders(List<Date> reminders);", "private static final <T> List<T> append(List<T> list, T newElement) {\n List<T> newList = Lists.newArrayListWithCapacity(list.size() + 1);\n newList.addAll(list);\n newList.add(newElement);\n return newList;\n }", "public void appendToReminders(...
[ "0.6841179", "0.62894505", "0.62732893", "0.622251", "0.60990995", "0.6078062", "0.60336494", "0.5863031", "0.5854998", "0.58211935", "0.5770839", "0.5723431", "0.57094866", "0.56615967", "0.56511337", "0.56266683", "0.5606705", "0.5606108", "0.5597009", "0.5592905", "0.55889...
0.7023691
0
Adds to the List by treating List as a Set. Thus adds only if not already exists in the List and avoids duplication. See appendToReminders to append to List.
public void addToReminders(Date reminders);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void addToReminders(List<Date> reminders);", "@SuppressWarnings(\"unchecked\")\n public static void addIfNotContained(List list, Object object) {\n if (!list.contains(object)) {\n list.add(object);\n }\n }", "public static <T> void addWithoutDuplicates(List<T> addedTo, T t...
[ "0.62397975", "0.56892645", "0.56024957", "0.5600687", "0.55234253", "0.5488476", "0.5478637", "0.5457563", "0.5454455", "0.54141694", "0.5359345", "0.5357492", "0.53417724", "0.5340514", "0.5320823", "0.5298024", "0.527885", "0.5256128", "0.5255245", "0.5242399", "0.52278185...
0.5464745
7
Adds to the List by treating List as a Set. Thus adds only if not already exists in the List and avoids duplication. See appendToReminders to append to List.
public void addToReminders(List<Date> reminders);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@SuppressWarnings(\"unchecked\")\n public static void addIfNotContained(List list, Object object) {\n if (!list.contains(object)) {\n list.add(object);\n }\n }", "public static <T> void addWithoutDuplicates(List<T> addedTo, T toBeAdded) {\n if (!addedTo.contains(toBeAdded))\...
[ "0.56876063", "0.5600921", "0.5598963", "0.55279535", "0.5484295", "0.5476159", "0.5469233", "0.5457268", "0.5454579", "0.5412375", "0.5359932", "0.5355137", "0.53431714", "0.53387266", "0.5318357", "0.52990955", "0.5276994", "0.5253919", "0.5253538", "0.5246291", "0.5225919"...
0.6244137
0
Removes all occurences of value from the List
public void removeFromReminders(Date reminders);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void removeAllWithValue(v val) {\n\t\tfor (int i = 0; i < buckets.length; i++) {\n\t\t\tNode<k,v> curr = buckets[i];\n\t\t\tNode<k,v> previous = null;\n\t\t\t\n\t\t\twhile (curr != null) {\n\t\t\t\tif (curr.getValue().equals(val)) {\n\t\t\t\t\t\n\t\t\t\t\tif (previous == null) {\n\t\t\t\t\t\tbuckets[i] = cu...
[ "0.6947017", "0.6750947", "0.66021454", "0.6526514", "0.64638007", "0.64427745", "0.6360537", "0.61673343", "0.61351264", "0.6115447", "0.6097846", "0.606517", "0.60465765", "0.60458964", "0.6008555", "0.5999753", "0.59915566", "0.5950291", "0.5942454", "0.59411395", "0.59388...
0.0
-1
Removes all occurences of all values from the List
public void removeFromReminders(List<Date> reminders);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void removeAllValues() {\n Map<String, ?> map = preferences.getAll();\n Iterator<String> iterator = map.keySet().iterator();\n while (iterator.hasNext()) {\n removeValue(iterator.next());\n }\n }", "protected void resetValues() {\n synchroni...
[ "0.6639631", "0.6507789", "0.63582087", "0.6356254", "0.63504463", "0.6336836", "0.6314781", "0.6314781", "0.6314781", "0.6314781", "0.6314781", "0.6314781", "0.6314781", "0.6314781", "0.6314781", "0.6314781", "0.6314781", "0.6314781", "0.6300363", "0.62967914", "0.6266169", ...
0.0
-1
Appends to the end of List, irrespective of value already existing. See addToLikedCars to add without duplicating.
public void appendToLikedCars(String likedCars);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void appendToLikedCars(List<String> likedCars);", "public void addToLikedCars(List<String> likedCars);", "public void addToLikedCars(String likedCars);", "public void addCar(Car c) {\n\t\tNode newNode = new Node(c);\n\t\t\n\t\t//if list is empty\n\t\tif (head == null) {\n\t\t\thead = newNode;\n\t\t\tc...
[ "0.6853713", "0.6790973", "0.62140197", "0.61237854", "0.6024272", "0.6005788", "0.5894917", "0.57918096", "0.57049054", "0.56900024", "0.56504077", "0.56442875", "0.5608386", "0.5585014", "0.55838114", "0.5577134", "0.55602825", "0.54894066", "0.548872", "0.5483906", "0.5483...
0.6155575
3
Appends to the end of List, irrespective of value already existing. See addToLikedCars to add without duplicating.
public void appendToLikedCars(List<String> likedCars);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void addToLikedCars(List<String> likedCars);", "public void addToLikedCars(String likedCars);", "public void appendToLikedCars(String likedCars);", "public void addCar(Car c) {\n\t\tNode newNode = new Node(c);\n\t\t\n\t\t//if list is empty\n\t\tif (head == null) {\n\t\t\thead = newNode;\n\t\t\tcount++...
[ "0.679116", "0.6215653", "0.6156824", "0.61248845", "0.6026339", "0.60031563", "0.5894522", "0.57918435", "0.5703571", "0.5686951", "0.5650092", "0.56438994", "0.5606573", "0.5582151", "0.5581498", "0.5576222", "0.5560757", "0.5489593", "0.54882497", "0.54825336", "0.54818726...
0.6853487
0
Adds to the List by treating List as a Set. Thus adds only if not already exists in the List and avoids duplication. See appendToLikedCars to append to List.
public void addToLikedCars(String likedCars);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void addToLikedCars(List<String> likedCars);", "@Override\n public void add(T car) {\n carsInGarage.add(car);\n }", "void add(Set<Card> cards);", "public void appendToLikedCars(List<String> likedCars);", "private static void populateList(List<UsedCar> carList) {\n carList.add(new...
[ "0.6465435", "0.5640678", "0.56199235", "0.55425715", "0.5541955", "0.5417418", "0.54094416", "0.53839874", "0.5309362", "0.5290005", "0.5288912", "0.5242084", "0.521322", "0.5191481", "0.5178043", "0.51663846", "0.5162123", "0.51590776", "0.51586765", "0.51529235", "0.514275...
0.55788505
3
Adds to the List by treating List as a Set. Thus adds only if not already exists in the List and avoids duplication. See appendToLikedCars to append to List.
public void addToLikedCars(List<String> likedCars);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void add(T car) {\n carsInGarage.add(car);\n }", "void add(Set<Card> cards);", "public void addToLikedCars(String likedCars);", "private static void populateList(List<UsedCar> carList) {\n carList.add(new UsedCar(\"Ford\", \"Fiesta ST\", 2016, 25000.00));\n carLi...
[ "0.5637952", "0.5617321", "0.5574295", "0.55405724", "0.5538671", "0.5418943", "0.540715", "0.5384398", "0.5308453", "0.5288815", "0.528754", "0.52409303", "0.52131325", "0.519", "0.5175531", "0.51649123", "0.5162506", "0.5159259", "0.5158791", "0.5151633", "0.5143294", "0....
0.6461219
0
Removes all occurences of value from the List
public void removeFromLikedCars(String likedCars);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void removeAllWithValue(v val) {\n\t\tfor (int i = 0; i < buckets.length; i++) {\n\t\t\tNode<k,v> curr = buckets[i];\n\t\t\tNode<k,v> previous = null;\n\t\t\t\n\t\t\twhile (curr != null) {\n\t\t\t\tif (curr.getValue().equals(val)) {\n\t\t\t\t\t\n\t\t\t\t\tif (previous == null) {\n\t\t\t\t\t\tbuckets[i] = cu...
[ "0.6947017", "0.6750947", "0.66021454", "0.6526514", "0.64638007", "0.64427745", "0.6360537", "0.61673343", "0.61351264", "0.6115447", "0.6097846", "0.606517", "0.60465765", "0.60458964", "0.6008555", "0.5999753", "0.59915566", "0.5950291", "0.5942454", "0.59411395", "0.59388...
0.0
-1
Removes all occurences of all values from the List
public void removeFromLikedCars(List<String> likedCars);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void removeAllValues() {\n Map<String, ?> map = preferences.getAll();\n Iterator<String> iterator = map.keySet().iterator();\n while (iterator.hasNext()) {\n removeValue(iterator.next());\n }\n }", "protected void resetValues() {\n synchroni...
[ "0.6639631", "0.6507789", "0.63582087", "0.6356254", "0.63504463", "0.6336836", "0.6314781", "0.6314781", "0.6314781", "0.6314781", "0.6314781", "0.6314781", "0.6314781", "0.6314781", "0.6314781", "0.6314781", "0.6314781", "0.6314781", "0.6300363", "0.62967914", "0.6266169", ...
0.0
-1
Appends to the end of List, irrespective of value already existing. See addToFollowedUsers to add without duplicating.
public void appendToFollowedUsers(String followedUsers);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void addToFollowedUsers(List<String> followedUsers);", "public void appendToFollowedUsers(List<String> followedUsers);", "public void addToFollowedUsers(String followedUsers);", "public void addFollowings(String following) {\n\tuserFollowings.add(following);\n }", "public void addFollower(Followe...
[ "0.7512701", "0.7337031", "0.70146644", "0.67485136", "0.65677506", "0.6374346", "0.6308492", "0.6234582", "0.620164", "0.59965235", "0.58261347", "0.5813774", "0.5804054", "0.5793152", "0.5750822", "0.57082564", "0.5690002", "0.56554514", "0.564455", "0.5629281", "0.5626154"...
0.6607962
4
Appends to the end of List, irrespective of value already existing. See addToFollowedUsers to add without duplicating.
public void appendToFollowedUsers(List<String> followedUsers);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void addToFollowedUsers(List<String> followedUsers);", "public void addToFollowedUsers(String followedUsers);", "public void addFollowings(String following) {\n\tuserFollowings.add(following);\n }", "public void appendToFollowedUsers(String followedUsers);", "public void addFollower(Follower foll...
[ "0.75117993", "0.70132756", "0.6748386", "0.660596", "0.65675765", "0.63731945", "0.6307834", "0.62353784", "0.62036467", "0.5996473", "0.5826584", "0.58142394", "0.58049744", "0.57936233", "0.575055", "0.5708191", "0.5690361", "0.5656327", "0.56456727", "0.5629946", "0.56293...
0.7335577
1
Adds to the List by treating List as a Set. Thus adds only if not already exists in the List and avoids duplication. See appendToFollowedUsers to append to List.
public void addToFollowedUsers(String followedUsers);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void addToFollowedUsers(List<String> followedUsers);", "public void appendToFollowedUsers(List<String> followedUsers);", "private void addUsers(List<String> userList, SubscriptionList subscriptionList, SubscriptionEventType eventType) {\n\t\tSubscription subscription = null;\n\t\t\n\t\tfor (Subscription...
[ "0.70345783", "0.6102445", "0.59052676", "0.58575386", "0.5850543", "0.58438385", "0.5730344", "0.57059544", "0.56787026", "0.56450546", "0.5606484", "0.5558827", "0.55513823", "0.5526995", "0.54997313", "0.5496355", "0.5445758", "0.5439074", "0.5424613", "0.5407507", "0.5368...
0.62874603
1