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
Creates new form SalesManagerWorkAreaJPanel
public SalesManagerWorkAreaJPanel(EmployeeDirectory employeeDirectory, SupplierDirectory supplierDirectory, MasterOrderCatalog moc, Order order, JPanel userProcessContainer) { initComponents(); this.userProcessContainer = userProcessContainer; this.employeeDirectory = employeeDirectory; ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void createSchedulePanel()\n\t{\n\t\t//newWeek=new Week(selectedId);\n\t\t//contentPane.add(newWeek,BorderLayout.SOUTH);\n\t\t//System.out.println(\"first time load:\"+selectedId);\n\t\tschedule=new Schedule(selectedId, isSprinklerSelected);\n\t\tschedulePane=new JPanel();\n\t\tschedulePane.setLayout(new F...
[ "0.6775105", "0.6657213", "0.6549741", "0.6493308", "0.6493308", "0.6454175", "0.636526", "0.63635206", "0.6336149", "0.63224536", "0.63065404", "0.63006353", "0.6298124", "0.62734056", "0.6268016", "0.6263956", "0.62225825", "0.6208218", "0.6202587", "0.6191717", "0.6177324"...
0.61334336
24
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() { btnManageCustomer = new javax.swing.JButton(); jLabel1 = new javax.swing.JLabel(); setLayout(new org.netbeans.lib.awtextra.AbsoluteLa...
{ "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.7321233", "0.72922724", "0.72922724", "0.72922724", "0.7287021", "0.7250113", "0.7214902", "0.7209478", "0.71973455", "0.71915394", "0.71855843", "0.71602577", "0.7149222", "0.70949143", "0.70813066", "0.70579875", "0.6988272", "0.6978623", "0.6956488", "0.6954857", "0.694...
0.0
-1
Only for dynamic instantiation.
public ChainOfSelectors() { this(Genotype.getStaticConfiguration()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Reproducible newInstance();", "@Override\r\n public void instantiate() {\r\n }", "@Override\n public boolean isInstantiable() {\n return false;\n }", "@Override\r\n\tpublic void init() {}", "@Override\n public void init() {}", "@Override\n protected void init() {\n ...
[ "0.7181825", "0.6741257", "0.6739774", "0.67308825", "0.67041826", "0.66886944", "0.6668921", "0.6664213", "0.66640586", "0.6655048", "0.6647821", "0.66172004", "0.65685624", "0.6552466", "0.64958507", "0.6478062", "0.64692545", "0.64487153", "0.64484835", "0.64456165", "0.64...
0.0
-1
Adds a natural selector to the chain.
public void addNaturalSelector(NaturalSelector a_selector) throws InvalidConfigurationException { if (a_selector == null) { throw new InvalidConfigurationException( "This Configuration object is locked. Settings may not be " + "altered."); } m_selectors.add(a_selector); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void addSelector( SelectorName symbol ) {\n if (symbol != null) selectors.add(symbol);\n }", "public void addSelector( SelectorName first,\n SelectorName second ) {\n if (first != null) selectors.add(first);\n if (second != null) selectors.add(second);\n...
[ "0.5201821", "0.5087096", "0.4787596", "0.47707045", "0.4761584", "0.47242138", "0.4585345", "0.45498875", "0.45498875", "0.45469356", "0.45469356", "0.451579", "0.451378", "0.4471383", "0.4462187", "0.4447696", "0.44445425", "0.44267544", "0.4415103", "0.44034478", "0.440085...
0.7034108
0
Returns a Selector with specific index in the list.
public NaturalSelector get(final int a_index) { return (NaturalSelector) m_selectors.get(a_index); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public SelectorPart(Class<?> type, int index) {\n this.type = type;\n this.index = index;\n }", "T getElementFromIndex(int index) throws ListException;", "void select(int index) throws InvalidValueException;", "public Path select(int index)\n\t{\n\t\tif(index < 0)\n\t\t{\n\t\t\tthis.select(this.length...
[ "0.66607636", "0.6266497", "0.6221715", "0.61636066", "0.60168654", "0.5940965", "0.59176314", "0.58283925", "0.5796479", "0.5729198", "0.5657033", "0.5657033", "0.56381375", "0.5567105", "0.55662376", "0.5564385", "0.55467075", "0.55363584", "0.5535097", "0.5516324", "0.5504...
0.6625361
1
Clears all registered selectors.
public void clear() { m_selectors.clear(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void clearSelector() {\n \n selector_ = getDefaultInstance().getSelector();\n }", "public void clear() {\n\t\thighlightsByToken.clear();\n\t}", "public void clearAll();", "public void clearAll();", "void clearHandlers();", "@Override\n public void clear() {\n elements.clear();\n ...
[ "0.71991116", "0.66898483", "0.6574645", "0.6574645", "0.6509738", "0.6506761", "0.6464893", "0.6454002", "0.64529085", "0.64529085", "0.6427103", "0.6427103", "0.6381398", "0.63182926", "0.6308831", "0.6220391", "0.61942303", "0.618255", "0.6179784", "0.6179784", "0.6174792"...
0.85824937
0
The compareTomethod. Here we simply compare the class names of the contained selectors as INaturalSelector does not contain interface Comparable.
public int compareTo(Object a_other) { if (a_other == null) { return 1; } else { ChainOfSelectors other = (ChainOfSelectors) a_other; int size = m_selectors.size(); if (other.m_selectors.size() < size) { return 1; } if (other.m_selectors.size() > m_selectors.size(...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic int compareTo(ClassificationLabel cmp) \n\t{\n\t\tif(this.label==cmp.getLabel()){\n\t\t\treturn 0;\n\t\t}\n\t\telse if(this.label>cmp.getLabel()){\n\t\t\treturn 1;\n\t\t}\n\t\telse\n\t\t\treturn -1;\n\t\t\n\t}", "@Override\r\n public int compare(Element e1, Element e2) {\r\n\t\t//FIXME !!!!...
[ "0.5985347", "0.57917356", "0.57689124", "0.5569817", "0.5544214", "0.5506749", "0.550286", "0.54988307", "0.5481259", "0.5463929", "0.53766775", "0.53561693", "0.5340386", "0.5339846", "0.5330478", "0.53216016", "0.5320512", "0.5320512", "0.5310843", "0.5306735", "0.53053546...
0.7804137
0
TODO Autogenerated method stub
@Override public void setTipo() { tipo = TipoPessoa.SUSPEITO; }
{ "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
public static void main(String[] args) { List<String> list = new ArrayList<String>(); list.add("A201550B"); list.add("ABB19991000Z"); list.add("XYZ200019Z"); list.add("ERF200220"); list.add("SCD203010T"); //list.add("abC200010E"); //countFakes(list); System.out.println(countFakes(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
static PanelFactory factory = new AWTPanelFactory();
public static void setButtonGroupFactory(ButtonGroupFactory newVal) { factory = newVal; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public DemoPanel() {\n }", "@Override\n public void setupPanel()\n {\n\n }", "public interface MenuTabButtonFactory {\n public void createTabButtonForMenuPanel(SplitControlPanel controlPanel, SplitPanel splitPanel, MenuPanel menuPanel, int orientation, MenuTabButtonAlternateAction alternateActio...
[ "0.67333513", "0.67229617", "0.63923746", "0.6386068", "0.6318389", "0.63137704", "0.6261972", "0.62581563", "0.6214439", "0.62099314", "0.62073845", "0.619093", "0.61827785", "0.6177057", "0.6158212", "0.6157307", "0.6146329", "0.6122573", "0.6122124", "0.60898066", "0.60637...
0.0
-1
DON'T EDIT ABOVE THIS LINE!!!
public void onButtonActionEvent(com.codename1.ui.events.ActionEvent ev) { new ListEvent().show(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private stendhal() {\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n public void func_104112_b() {\n \n }", "private void m50366E() {\n }", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "private void kk12() {\n\n\t}", "public void method_4270() {}", "p...
[ "0.6608129", "0.64002323", "0.6335223", "0.6321383", "0.62868553", "0.62682956", "0.626696", "0.616993", "0.61664337", "0.6159421", "0.613657", "0.6098686", "0.60801935", "0.6074298", "0.6020478", "0.6007319", "0.59992355", "0.59699553", "0.5969194", "0.59596175", "0.5957877"...
0.0
-1
TODO Autogenerated method stub
@Override public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override public void onPageScrollStateChanged(int state) { }
{ "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 onBackPressed() { 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
team constructor with arguments passed in to add a new team to the database
public team(int teamID, String teamName, String mascot, int games, int wins, int loses) throws SQLException { this.teamID = teamID; this.teamName = teamName; this.mascot = mascot; this.games = games; this.wins = wins; this.loses = loses; conn = DriverManager.getConnection(DB_URL); Statement stmt = conn....
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void newTeam(Team team);", "Team createTeam();", "void create(Team team);", "public Team(String name) {\n this.name = name;\n }", "public Team() {\n\t\tthis(null);\n\t}", "public Team() {\r\n id = \"\";\r\n abbreviation = \"\";\r\n name = \"\";\r\n conference ...
[ "0.7789264", "0.76729524", "0.76093256", "0.72660536", "0.7241614", "0.72267145", "0.71978647", "0.71859217", "0.69781184", "0.6923709", "0.68689513", "0.68370074", "0.67076474", "0.6677188", "0.65714556", "0.6534122", "0.64542556", "0.64248437", "0.6353128", "0.6333273", "0....
0.67939854
12
method to return all team names from the database.
public String[] getTeamNames() throws SQLException { // Create a connection to the database. conn = DriverManager.getConnection(DB_URL); // Create a Statement object for the query. Statement stmt = conn.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_READ_ONLY); // Execute the query. R...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ResultSet getTeamNames() {\n\t\tPreparedStatement statement = null;\n\t\tResultSet rs = null;\n\t\tString teamNamesRecords_sql = \"SELECT name FROM \" + team_table;\n\t\tconnection = connector.getConnection();\n\t\ttry {\n\t\t\tstatement = connection.prepareStatement(teamNamesRecords_sql);\n\t\t\trs = state...
[ "0.82739544", "0.80176604", "0.79691046", "0.698054", "0.6910622", "0.6879242", "0.6779701", "0.67464614", "0.6686124", "0.66755843", "0.65733075", "0.6558955", "0.6545147", "0.65185905", "0.64840007", "0.6446478", "0.63746494", "0.6357133", "0.63418347", "0.6292399", "0.6292...
0.77716523
3
method to set amount of games played.
public void setGamesPlayed(String teamName, int games) throws SQLException { // Create a connection to the database. conn = DriverManager.getConnection(DB_URL); // Create a Statement object for the query. Statement stmt = conn.createStatement(); // Execute the update. stmt.executeUp...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void incGamesPlayed() {\n gamesPlayed++;\n }", "public void setNumPlayed(int numPlayed)\n\t{\n\t\tthis.numPlayed = numPlayed;\n\t}", "public void incrementTimesPlayed() {\r\n\t\ttimesPlayed++;\r\n\t}", "@Override\n public void setNrPlayers(int value) {\n this.nrPlayers = value;\n ...
[ "0.72348994", "0.6963656", "0.68528265", "0.68377984", "0.68162", "0.66707814", "0.6542778", "0.6474092", "0.64015734", "0.6379028", "0.63176495", "0.6278189", "0.6226408", "0.62233275", "0.6169412", "0.6157059", "0.6153514", "0.60919577", "0.6053116", "0.60331273", "0.602113...
0.64462
8
method to set the amount of wins
public void setWins(String teamName, int wins) throws SQLException { // Create a connection to the database. conn = DriverManager.getConnection(DB_URL); // Create a Statement object for the query. Statement stmt = conn.createStatement(); // Execute the update. stmt.executeUpdate("UP...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setWins() {\r\n this.wins++;\r\n }", "public void setWins(int wins) {\n if (wins > 0) {\n this.wins = wins;\n }\n }", "public void setWins(int value) {\n this.wins = value;\n }", "private void wins(Player player){\n int win = 1;\n play...
[ "0.83896875", "0.8346442", "0.83126837", "0.7800926", "0.77556324", "0.76796347", "0.74562794", "0.73935735", "0.7359092", "0.72611123", "0.71546423", "0.7134175", "0.7089486", "0.7065421", "0.7028524", "0.70130754", "0.6894856", "0.6891728", "0.688055", "0.6836152", "0.68265...
0.7101372
12
method to set the amount of loses to the database
public void setLoses(String teamName, int loses) throws SQLException { // Create a connection to the database. conn = DriverManager.getConnection(DB_URL); // Create a Statement object for the query. Statement stmt = conn.createStatement(); // Execute the update. stmt.executeUpdate("...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setLoses() {\r\n this.losses++;\r\n }", "public void setLosses(int value) {\n this.losses = value;\n }", "public void Deposit(double ammount){\n abal = ammount + abal;\n UpdateDB();\n }", "void setExpenses(double amount);", "void setIncome(double amount);", "...
[ "0.70748967", "0.68728936", "0.6812243", "0.65871245", "0.6199139", "0.61919916", "0.61666334", "0.61450773", "0.61163735", "0.6092753", "0.60784066", "0.606286", "0.6051603", "0.60099006", "0.5981013", "0.5972179", "0.5964868", "0.58913285", "0.58886814", "0.58760333", "0.58...
0.69576806
1
method to return the result set of teamnames that equal the arguement passed through
public ResultSet getTeamInfo(String teamsname) throws SQLException { // Create a connection to the database. conn = DriverManager.getConnection(DB_URL); // Create a Statement object for the query. Statement stmt = conn.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_READ_ONLY); // Execut...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Set<String> getMemberSet(String teamName) throws RemoteException, InterruptedException;", "Set<String> getTeamSet(String userName) throws RemoteException, InterruptedException;", "@Override\n\tpublic HashSet<String> getTeams() {\n return new HashSet<String>();\n\t}", "public ResultSet getTeamNames() {...
[ "0.6880645", "0.65202576", "0.62041587", "0.6132686", "0.57763886", "0.57435215", "0.57417774", "0.5654043", "0.5642138", "0.56153136", "0.56030786", "0.5518785", "0.5490303", "0.5454364", "0.5443921", "0.5440527", "0.5384005", "0.5368198", "0.5355967", "0.53481257", "0.53307...
0.50264204
47
method to retrieve the teams name, wins and loses from the database
public ResultSet getStandings() throws SQLException { // Create a connection to the database. conn = DriverManager.getConnection(DB_URL); // Create a Statement object for the query. Statement stmt = conn.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_READ_ONLY); // Execute the query. ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ResultSet getTeamInfo(String teamsname) throws SQLException\n\t{\n\t\t// Create a connection to the database.\n\t\t conn = DriverManager.getConnection(DB_URL);\n\t\t// Create a Statement object for the query.\n\t\tStatement stmt = conn.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_READ...
[ "0.68279374", "0.6628758", "0.64461803", "0.64180326", "0.6360387", "0.6359614", "0.63321656", "0.6252729", "0.6241171", "0.62134856", "0.62011933", "0.6137459", "0.61249834", "0.6101", "0.60911745", "0.6088355", "0.60843056", "0.6072123", "0.60719466", "0.6071452", "0.604277...
0.68263197
1
TODO Autogenerated method stub
@Override public void run() { while (true) { try { String text = broadcastTexts.take(); for (int i = 0; i < 2; i++) { switch (text.substring(0, 1).hashCode()) { case 65: ...
{ "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 stub6
private void initTab() { linearLayoutCookingMethod = (AdvancedPagerSlidingTabStrip) findViewById(R.id.linearLayoutCookingMethod); mViewPager = (ViewPager) findViewById(R.id.viewPager_main_activity); if (mFragments != null) mFragments.clear(); else mFragments = ne...
{ "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\n\tpublic void anular() {\n\n\t}", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\r\n\tpublic void anularF...
[ "0.6793389", "0.66927624", "0.6656138", "0.65739644", "0.6572455", "0.6554804", "0.64453214", "0.64343405", "0.6406329", "0.63769", "0.63690484", "0.63515097", "0.63515097", "0.6326063", "0.6318276", "0.63178307", "0.63083535", "0.6303116", "0.62730414", "0.6237185", "0.62304...
0.0
-1
TODO Autogenerated method stub
@Override public void onItemClick(AdapterView<?> parent, View view, int position, long id) { Restaurant.usbDriver.setUsingPrinter(allPrinters.get(position)); printDialog.dismiss(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override protected void onDestroy() { super.onDestroy(); unregisterReceiver(myReceiver); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override protected void onResume() { super.onResume(); // queryTicket(); // timer = new Timer(); // timer.schedule(new TimerTask() { // // @Override // public void run() { // // TODO Auto-generated method stub // handler.sendEmptyMes...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override protected void onPause() { super.onPause(); // timer.cancel(); }
{ "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.66708666", "0.65675074", "0.65229905", "0.6481001", "0.64770633", "0.64584893", "0.6413091", "0.63764185", "0.6275735", "0.62541914", "0.6236919", "0.6223816", "0.62017626", "0.61944294", "0.61944294", "0.61920846", "0.61867654", "0.6173323", "0.61328775", "0.61276996", "0...
0.0
-1
Use this factory method to create a new instance of this fragment using the provided parameters.
public static WalletInfoDetailFragment newInstance(String param1, String param2) { WalletInfoDetailFragment fragment = new WalletInfoDetailFragment(); Bundle args = new Bundle(); args.putString(ARG_PARAM1, param1); args.putString(ARG_PARAM2, param2); fragment.setArguments(args); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static FragmentTousWanted newInstance() {\n FragmentTousWanted fragment = new FragmentTousWanted();\n Bundle args = new Bundle();\n fragment.setArguments(args);\n return fragment;\n }", "protected abstract Fragment createFragment();", "public void createFragment() {\n\n ...
[ "0.7259329", "0.72331375", "0.71140355", "0.69909847", "0.69902235", "0.6834592", "0.683074", "0.68134046", "0.6801526", "0.6801054", "0.67653185", "0.6739714", "0.6739714", "0.6727412", "0.6717231", "0.6705855", "0.6692112", "0.6691661", "0.66869426", "0.66606814", "0.664618...
0.0
-1
List list = viewModel.homeUseCase.makeCertificateList();
public void setAdapter() { binding.RvwalletAmount.setLayoutManager(new GridLayoutManager(getActivity(), 2)); binding.RvwalletAmount.setHasFixedSize(true); WalletAdapter kyCuploadAdapter = new WalletAdapter(getActivity(), getListWallet(), this); binding.RvwalletAmount.setAdapter(kyCupload...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "List<ListObject> getSupplimentalCodeList();", "public ArrayList <Course> getCourseList ()\n\n {\n\n // Returns courseList when called.\n return courseList;\n\n }", "public ArrayList getCourses();", "java.util.List<liubaninc.m0.pki.CertificateOuterClass.Certificate> \n getCertificat...
[ "0.5945385", "0.5885619", "0.5835563", "0.5771763", "0.57708997", "0.57496583", "0.57451534", "0.57374644", "0.5706779", "0.5701421", "0.5698938", "0.56972617", "0.5687018", "0.56780684", "0.5676437", "0.5666167", "0.5643659", "0.56384766", "0.5636862", "0.56266826", "0.55920...
0.0
-1
after crop image from gallery
@SuppressLint({"MissingPermission", "SetTextI18n"}) @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.user_area_activity); //-----------------Toolbar act as the action bar-----------------------------------------...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void startCropImage() {\n }", "public void cropImage() {\n if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) { // 마쉬멜로우 이상 버전일 때\n grantUriPermission(\"com.android.camera\", mImageCaptureUri,\n Intent.FLAG_GRANT_WRITE_URI_PERMISSION | Intent.FLAG_GRANT_READ_URI...
[ "0.7858506", "0.7747307", "0.77332485", "0.7719723", "0.7607748", "0.74913955", "0.7462657", "0.73957646", "0.7353673", "0.7145276", "0.711068", "0.7095792", "0.7086065", "0.7076566", "0.7036086", "0.6970019", "0.69562364", "0.69404024", "0.6835353", "0.68046635", "0.6737009"...
0.0
-1
To get selection item from spinner
@Override public void onNothingSelected(AdapterView<?> parent) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {\n SpinnerValue = (String)spinner.getSelectedItem();\n }", "public T getSelectedItem() {\n\t\tT selectedItem = null;\n\t\tint position = spinner.getSelectedItemPosition();\n\t\tif...
[ "0.7838047", "0.7752305", "0.75873756", "0.7515844", "0.7389098", "0.7379968", "0.73454463", "0.7331636", "0.7326538", "0.7230902", "0.7230902", "0.72119457", "0.72085124", "0.72067755", "0.72012466", "0.7201072", "0.7195014", "0.7177317", "0.7172398", "0.71603996", "0.716039...
0.0
-1
do nothing no select
private void invokeCameraSerialNumber() { // get a file reference pictureUri = FileProvider.getUriForFile(this, getApplicationContext().getPackageName(), createImageFile()); // Make Uri file example file://storage/emulated/0/Pictures/Civil_ID20180924_180619.jpg Intent intent = new Intent(Media...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void prepareExecuteNoSelect() {\n setCallFromStatement();\n // The statement is no longer require so can be released.\n clearStatement();\n\n super.prepareExecuteNoSelect();\n }", "protected void execute() {\n \t// literally still do nothing\n }", "public void doNoth...
[ "0.6777587", "0.6663586", "0.6484423", "0.6452379", "0.63142866", "0.62582046", "0.6237028", "0.60420513", "0.5976116", "0.5962437", "0.5902555", "0.58921045", "0.5878672", "0.5854584", "0.5821732", "0.5802151", "0.5800892", "0.5777293", "0.57761157", "0.57645893", "0.5763839...
0.0
-1
open camera for device serial number
private void selectImagesDeviceSerialNubmer() { Intent galleryIntent = new Intent(Intent.ACTION_PICK, MediaStore.Images.Media.INTERNAL_CONTENT_URI); startActivityForResult(galleryIntent, GALLERY_DEVICE_SERIAL_NUMBER); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void invokeCameraSerialNumber() {\n\n // get a file reference\n pictureUri = FileProvider.getUriForFile(this, getApplicationContext().getPackageName(), createImageFile()); // Make Uri file example file://storage/emulated/0/Pictures/Civil_ID20180924_180619.jpg\n\n Intent intent = new In...
[ "0.7717478", "0.72830886", "0.7043686", "0.69432056", "0.69061255", "0.68256986", "0.68050945", "0.6774917", "0.6768146", "0.67002374", "0.6611029", "0.65494055", "0.6515817", "0.6498392", "0.649753", "0.6404375", "0.6401769", "0.6390523", "0.63662136", "0.63464504", "0.63001...
0.6030502
46
To select image from gallery in device serial number
public File createImageFile() { // the public picture director File picturesDirectory = Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_PICTURES); // To get pictures directory from android system // timestamp makes unique name. @SuppressLint("SimpleDateFormat") Simpl...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void selectImagesDeviceSerialNubmer() {\n Intent galleryIntent = new Intent(Intent.ACTION_PICK, MediaStore.Images.Media.INTERNAL_CONTENT_URI);\n startActivityForResult(galleryIntent, GALLERY_DEVICE_SERIAL_NUMBER);\n }", "private void selectImageFromGallery() {\n Intent intent = ne...
[ "0.8623837", "0.75559235", "0.75305045", "0.7395445", "0.7346476", "0.72586054", "0.7228222", "0.7180121", "0.7094976", "0.7076991", "0.70708007", "0.70496154", "0.700753", "0.7006183", "0.7005055", "0.6978898", "0.6972888", "0.69494516", "0.6949101", "0.6940847", "0.69393945...
0.0
-1
Tp create file image with date title
@Override protected void onActivityResult(int requestCode, int resultCode, Intent data) { super.onActivityResult(requestCode, resultCode, data); if (resultCode == RESULT_OK) { //------------Received image from camera in device serial number------------------------ if ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private File createImageFileName() throws IOException {\n String timestamp = new SimpleDateFormat(\"yyyyMMdd_HHmmss\").format(new Date());\n //there are two types of SimpleDateFormat and Date()\n String prepend = \"JPEG_\" + timestamp + \"_\";\n File imageFile = File.createTempFile(prep...
[ "0.67900676", "0.6256257", "0.6235719", "0.6235719", "0.6197852", "0.61652815", "0.61529803", "0.6113348", "0.60774887", "0.60655135", "0.60645115", "0.60573053", "0.60124594", "0.5975949", "0.5929609", "0.5917437", "0.5915502", "0.5913176", "0.5911419", "0.59113085", "0.5896...
0.0
-1
Received image and crop image from camera or gallery
private void startCropImageActivity(Uri imageUri, int requestCode) { Intent vCropIntent = CropImage.activity(imageUri) .setGuidelines(CropImageView.Guidelines.ON) .setMultiTouchEnabled(true) .getIntent(this); startActivityForResult(vCropIntent, requestCod...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void cropImage() {\n\t\t// Use existing crop activity.\n\t\tIntent intent = new Intent(\"com.android.camera.action.CROP\");\n\t\tintent.setDataAndType(mImageCaptureUri, IMAGE_UNSPECIFIED);\n\n\t\t// Specify image size\n\t\tintent.putExtra(\"outputX\", 100);\n\t\tintent.putExtra(\"outputY\", 100);\n\n\t\t//...
[ "0.80573994", "0.7841507", "0.78106654", "0.7806732", "0.7762914", "0.7488133", "0.72875535", "0.724575", "0.7217617", "0.7208964", "0.70628345", "0.7031493", "0.69514716", "0.69400275", "0.6867375", "0.68578315", "0.68533486", "0.6827691", "0.6744015", "0.6724813", "0.671991...
0.59779763
53
To crop image from camera or gallery / To set cropped image in image view and get text or number from image and set it in edit text.
public void Croppedimage(CropImage.ActivityResult result, ImageView iv, EditText et ) { Uri resultUri = null; // get image uri if (result != null) { resultUri = result.getUri(); } //set image to image view iv.setImageURI(resultUri); //get drawable bitm...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void cropImage() {\n\t\t// Use existing crop activity.\n\t\tIntent intent = new Intent(\"com.android.camera.action.CROP\");\n\t\tintent.setDataAndType(mImageCaptureUri, IMAGE_UNSPECIFIED);\n\n\t\t// Specify image size\n\t\tintent.putExtra(\"outputX\", 100);\n\t\tintent.putExtra(\"outputY\", 100);\n\n\t\t//...
[ "0.765973", "0.7449422", "0.7433082", "0.7406832", "0.7346666", "0.7060954", "0.70276207", "0.70166314", "0.69276625", "0.68696356", "0.685827", "0.6750908", "0.6728456", "0.66951996", "0.66335166", "0.66140944", "0.6611718", "0.65832907", "0.6581336", "0.6545868", "0.6508359...
0.7473817
1
To get selected date and set it in text view then well open time picker
@Override public void onTimeSet(TimePicker view, int hourOfDay, int minute) { String time = hourOfDay+":"+minute; tvSelectedTime.setText(time); appSelectTime = time; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void onClick(View v) {\n\n TimePickerDialog timePickerDialog13 = new TimePickerDialog(add_sched.this, new TimePickerDialog.OnTimeSetListener() {\n @Override\n public void onTimeSet(TimePicker view, int hourOfDay1, int minute1) {\n ...
[ "0.7407775", "0.73857135", "0.73780286", "0.73777294", "0.73769027", "0.73714364", "0.73664564", "0.7357898", "0.7355884", "0.73532563", "0.7353141", "0.73484993", "0.73468703", "0.73457724", "0.7345592", "0.7344937", "0.7340589", "0.73385763", "0.7336171", "0.7335725", "0.73...
0.0
-1
To get selected time and set it in text view
private boolean checkEmptyEditText(EditText text, TextInputLayout TFB, String massage) { if (text.getText().toString().isEmpty()) { TFB.setErrorEnabled(true); TFB.setError(massage); return false; } else { TFB.setErrorEnabled(false...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void onTimeSet(TimePicker view, int hourOfDay1, int minute1) {\n\n t5Hour5 = hourOfDay1;\n t5Minute5 = minute1;\n\n Calendar calendar = Calendar.getInstance();\n\n //set hour and m...
[ "0.78114796", "0.7751186", "0.7741298", "0.77164996", "0.7710284", "0.7702009", "0.7692462", "0.7692112", "0.7690251", "0.76766205", "0.7673401", "0.767148", "0.76662004", "0.7664653", "0.7662537", "0.76611686", "0.7658395", "0.7657355", "0.7656952", "0.76565063", "0.76564294...
0.0
-1
To check empty edit text
private boolean checkLengthDeviceSerialEditText (EditText text, TextInputLayout TFB, String massage) { if(text.getText().toString().length() > 10 || text.getText().toString().length() < 10) { TFB.setErrorEnabled(true); TFB.setError(massage); return false; } ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "boolean isEmpty(EditText text){\n CharSequence check = text.getText().toString().trim();\n return TextUtils.isEmpty(check);\n }", "public boolean textboxIsEmpty(EditText editText) {\n return editText.getText().toString().trim().length() == 0;\n }", "private boolean isEmpty(EditText e...
[ "0.824133", "0.815842", "0.8101514", "0.80667645", "0.80134064", "0.79735434", "0.7840596", "0.7668422", "0.76490843", "0.76261675", "0.7571611", "0.7504824", "0.748611", "0.7449482", "0.73945504", "0.7297859", "0.72874", "0.7265835", "0.71428996", "0.71345884", "0.7108926", ...
0.0
-1
To check length of device serial number
private boolean checkLengthPlateNumber(EditText text, TextInputLayout TFB, String massage) { if(text.getText().toString().length() > 10) { TFB.setErrorEnabled(true); TFB.setError(massage); return false; } else { TFB.setErrorEnabled(...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Boolean checkLength(String detail);", "private boolean checkLengthDeviceSerialEditText (EditText text, TextInputLayout TFB, String massage) {\n if(text.getText().toString().length() > 10 || text.getText().toString().length() < 10)\n {\n TFB.setErrorEnabled(true);\n TFB.setErro...
[ "0.66446114", "0.62027276", "0.6129831", "0.6083508", "0.6083508", "0.6083508", "0.6083508", "0.6083508", "0.6067864", "0.6022701", "0.6022701", "0.6022701", "0.6022701", "0.6022701", "0.6022701", "0.6022701", "0.60202473", "0.59350926", "0.5920708", "0.59170985", "0.58859", ...
0.0
-1
To check length of plate number
private boolean checkOdometerNumber(EditText text, TextInputLayout TFB, String massage) { if(text.getText().toString().length() > 8) { TFB.setErrorEnabled(true); TFB.setError(massage); return false; } else { TFB.setErrorEnabled(fals...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static boolean checkLineLength(String matrice){\r\n String[] lignes = matrice.trim().split(\" {1,}\");\r\n int longeur = lignes[0].length();\r\n int i = 1;\r\n boolean memeLongeur = true;\r\n while(i < lignes.length && memeLongeur){\r\n memeLongeur = (longeur == ligne...
[ "0.6295943", "0.6132431", "0.6064659", "0.5983619", "0.59182096", "0.58265084", "0.57746863", "0.5763938", "0.57572156", "0.5718532", "0.5674809", "0.5671173", "0.56359774", "0.5628321", "0.56066877", "0.5594029", "0.55676514", "0.5566616", "0.5561893", "0.5560532", "0.556053...
0.0
-1
To check length of odometer number
private boolean checkVehicleModel(EditText text, TextInputLayout TFB, String massage) { if(text.getText().toString().length() > 4 || text.getText().toString().length() < 4) { TFB.setErrorEnabled(true); TFB.setError(massage); return false; } else ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Boolean checkLength(String detail);", "boolean testLength(Tester t) {\n return t.checkExpect(lob3.length(), 3) && t.checkExpect(los3.length(), 3)\n && t.checkExpect(los1.length(), 1) && t.checkExpect(new MtLoGamePiece().length(), 0);\n }", "private int validate(final String lcono) {\n\n if (l...
[ "0.64505404", "0.6257752", "0.6162069", "0.6107466", "0.6098424", "0.6007357", "0.5992223", "0.597656", "0.5894145", "0.5862251", "0.5854842", "0.58445233", "0.58445233", "0.5841243", "0.57988447", "0.57988447", "0.57988447", "0.57988447", "0.57988447", "0.57988447", "0.57988...
0.0
-1
To check length of vehicle model
private boolean checkSpinner(String postion, MaterialSpinner sp, String massage) { if(postion.equals("Select Task Type") || postion.equals("Select Device Type") || postion.equals("Select Customer")) { sp.setError(massage); return false; } else { ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Boolean checkLength(String detail);", "public int size() {\n\t\treturn vehicles.size();\n\t}", "public void testLength()\n {\n LinearSearch ls = new LinearSearch();\n\n assertFalse(ls.validLength(int [15] haystack));\n }", "public abstract long getLength() throws VlException;", "boolean...
[ "0.6689655", "0.6346375", "0.62649965", "0.6259721", "0.6203045", "0.6157886", "0.6140713", "0.61125165", "0.60522926", "0.60451806", "0.6022756", "0.60126305", "0.60015124", "0.6001286", "0.5974003", "0.59588283", "0.59484965", "0.5940637", "0.5940637", "0.5940637", "0.59298...
0.0
-1
To check spinner selection
private boolean checkGPS(double latitude, double longitude, String massage) { if(latitude == 0.0 && longitude == 0.0) { Toast.makeText(this, massage, Toast.LENGTH_LONG).show(); return false; } else { return true; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private boolean hasSpinnerPrompt(String value) {\n if (value.contains(\"select\")) {\n return true;\n }\n return false;\n }", "private void checkSpinnerText() {\n\n for (int i = 0; i < 8; i++) {\n\n // Opens the spinner\n onView(withId(R.id.notifyTi...
[ "0.7402322", "0.7217892", "0.68763053", "0.67927057", "0.6738477", "0.6737433", "0.6736291", "0.6664746", "0.66617656", "0.65885544", "0.65695906", "0.65677786", "0.65665114", "0.65653557", "0.6547873", "0.6508895", "0.65031326", "0.6441629", "0.6439371", "0.6439371", "0.6422...
0.0
-1
To check GPS number
private void getTaskSpinner() { StringRequest stringRequest = new StringRequest("https://cardtest10.000webhostapp.com/Sync_Spinner_T.php", new Response.Listener<String>() { @Override public void onResponse(String response) { try{ JSONObject jsonResp...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private boolean checkGPS(double latitude, double longitude, String massage) {\n if(latitude == 0.0 && longitude == 0.0)\n {\n Toast.makeText(this, massage, Toast.LENGTH_LONG).show();\n return false;\n }\n else\n {\n return true;\n }\n }"...
[ "0.67899436", "0.644099", "0.6308162", "0.6272038", "0.6266275", "0.62628907", "0.62576723", "0.62521327", "0.62521327", "0.62418306", "0.61657274", "0.61142695", "0.61142695", "0.60918975", "0.6041844", "0.60351634", "0.5971363", "0.5965859", "0.5964219", "0.59526604", "0.59...
0.0
-1
To get task type table from json file and but it in array
private void getDeviceSpinner() { StringRequest stringRequest = new StringRequest("https://cardtest10.000webhostapp.com/Sync_Spinner_D.php", new Response.Listener<String>() { @Override public void onResponse(String response) { try{ JSONObject jsonRe...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "ResponseEntity<List<Type>> findTaskTypes();", "@Override\n public String getAllTaskTaskType(String typeId) {\n try {\n Set<ITaskInstance> allTasks = dataAccessTosca.getTasksByTaskType(typeId);\n JSONArray fullResponse = new JSONArray();\n //if allTasks is null, then no ...
[ "0.64591706", "0.6201143", "0.55656314", "0.55627257", "0.5513964", "0.53881073", "0.5380187", "0.5364548", "0.5338349", "0.52886397", "0.5247803", "0.5217357", "0.52074826", "0.52004707", "0.51504743", "0.5128035", "0.5114161", "0.51071465", "0.5073683", "0.506773", "0.50665...
0.0
-1
To get device type table from json file and but it in array
private void getCustomerSpinner() { StringRequest stringRequest = new StringRequest("https://cardtest10.000webhostapp.com/Sunc_Spinner_C.php", new Response.Listener<String>() { @Override public void onResponse(String response) { try{ JSONObject json...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@GET\n @Produces(MediaType.APPLICATION_JSON)\n @Path(\"getAllDeviceCategories\")\n List<JsonType> types();", "@GET\n @Produces(MediaType.APPLICATION_JSON)\n @Path(\"getAllPlatformTypes\")\n List<JsonType> types();", "@SuppressWarnings(\"unchecked\")\n@RequestMapping(va...
[ "0.60408574", "0.5785698", "0.572008", "0.5689644", "0.56785154", "0.56009185", "0.5543668", "0.5463088", "0.54205793", "0.53897345", "0.5384857", "0.53707767", "0.53422105", "0.5321383", "0.52378607", "0.5207036", "0.519227", "0.5172228", "0.5147492", "0.5139838", "0.5131315...
0.0
-1
To get customer table form json file and but it in array
public static void hideKeyboard(Activity activity) { View view = activity.findViewById(android.R.id.content); if (view != null) { InputMethodManager imm = (InputMethodManager) activity.getSystemService(Context.INPUT_METHOD_SERVICE); imm.hideSoftInputFromWindow(view.getWindowToken...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tprotected JSONArray getTablero() {\n\t\tJSONArray jsa = new JSONArray();\r\n\t\tfor (int i = 0; i < this.tableroDomino.size(); i++) {\r\n\t\t\tjsa.put(this.tableroDomino.get(i).toJSON());\r\n\t\t}\r\n\t\treturn jsa;\r\n\t}", "List<Map<String, Object>> getTableValuesWithHeaders();", "public JSONA...
[ "0.6144989", "0.60714805", "0.59451795", "0.58702964", "0.574724", "0.5672867", "0.56135076", "0.5578144", "0.55554783", "0.5545911", "0.5538955", "0.5531744", "0.5491236", "0.54850054", "0.546581", "0.54578334", "0.5457565", "0.54334116", "0.53943884", "0.53828144", "0.53687...
0.0
-1
dob should be YYYYMMDD format, regex
@Constructor(name = "users") public AppUser(String username, String password, String email, String firstName, String lastName, String dob) { this.id = 0; this.username = username; this.password = password; this.email = email; this.firstName = firstName; this.lastName ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private boolean isDOBValid(String DOB) {\n SimpleDateFormat dateFormat = new SimpleDateFormat(\"dd/MM/yyyy\");\n dateFormat.setLenient(false);\n try {\n dateFormat.parse(DOB.trim());\n } catch (ParseException pe) {\n return false;\n }\n return true;\n...
[ "0.7101434", "0.70373446", "0.6969034", "0.67654216", "0.6486768", "0.63740325", "0.6355469", "0.6316476", "0.6310688", "0.62962604", "0.6267624", "0.6261589", "0.62177783", "0.6207839", "0.6191772", "0.61431104", "0.6075877", "0.6048912", "0.59950215", "0.59690255", "0.59524...
0.0
-1
This method determines, if the user is already explicitly logged in.
private boolean isUserExplicitlyLoggedIn() { // User is explicitly logged in, if his securityStatus is more than or equal to security status login. String securityStatusPropertyName = getStorePropertyManager().getSecurityStatusPropertyName(); int securityStatus = ((Integer) getProfile().getPropertyValue(sec...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic boolean isUserLoggedIn() {\n\t\treturn sessionService.getCurrentUserId() != null;\n\t}", "public boolean checkIfLoggedIn() \n {\n if(this.getLoggedUser() != null)\n {\n return true;\n }\n return false;\n }", "public boolean isLoggedIn() {\n ...
[ "0.8094628", "0.77023107", "0.77013254", "0.7637871", "0.7633376", "0.76103944", "0.74847007", "0.74445516", "0.7430621", "0.73701626", "0.7363476", "0.73403966", "0.7319253", "0.73189205", "0.73081744", "0.7295373", "0.72737485", "0.72148305", "0.7202661", "0.7199002", "0.71...
0.8089316
1
This method determines, if the user is anonym.
private boolean isUserAnonymous() { // User is anonymous, if his profile is transient. return getProfile().isTransient(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isAutonym() {\n return flags != null && flags.contains(NameFlag.AUTONYM);\n }", "private static boolean isAntonym(String text) {\n return text != null && text.equals(\"ant\");\n }", "public boolean isUser()\n\t{\n\t\treturn (id != -1);\n\t}", "@Override\n\tpublic boolean is...
[ "0.7020109", "0.6562604", "0.6356671", "0.6211596", "0.60577863", "0.6042811", "0.58444047", "0.584206", "0.5841918", "0.58340776", "0.58304983", "0.57551676", "0.5732776", "0.5732776", "0.5732776", "0.5732203", "0.5726665", "0.57086265", "0.57057524", "0.5702311", "0.5655008...
0.56728756
20
Get the verification base URL, to be used in sending a verification email to the user.
public String getVerificationUrl() { String verUrl = getUserWebappUrl(); return verUrl + (verUrl.endsWith("/") ? "" : "/") + "verify?code="; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static String getBaseURL() {\n\t\t\n\t\treturn (ZmailURI.getBaseURI().toString());\n\t\t\n\t}", "public String getBaseLinkUrl() {\n return (String) get(\"base_link_url\");\n }", "public String getBaseUrl() {\n return (String) get(\"base_url\");\n }", "String getServerBaseURL();", ...
[ "0.682627", "0.66308326", "0.6584515", "0.64825654", "0.64775854", "0.64584315", "0.6431874", "0.64307076", "0.6396477", "0.63625276", "0.63625276", "0.63483644", "0.6337484", "0.6331728", "0.6262535", "0.6244175", "0.6230792", "0.6213575", "0.62003064", "0.6197269", "0.61775...
0.8022928
0
Get the verification email subject line.
public String getVerificationEmailSubject() { return getValue( "eurekaclinical.userservice.email.verify.subject"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getSubject() {\n\t\treturn txtSubject.getText();\n\t}", "public String getSubject() {\n UnstructuredField field = obtainField(FieldName.SUBJECT);\n if (field == null)\n return null;\n\n return field.getValue();\n }", "public String getSmtpSubject() {\n re...
[ "0.7085212", "0.682611", "0.6814222", "0.6808599", "0.676907", "0.676907", "0.67473936", "0.6729765", "0.6729765", "0.6729765", "0.6684793", "0.6684793", "0.66715837", "0.66715837", "0.6665387", "0.6665387", "0.66493154", "0.66493154", "0.66241044", "0.66026163", "0.6538891",...
0.80025804
0
Get the activation email subject line.
public String getActivationEmailSubject() { return getValue( "eurekaclinical.userservice.email.activation.subject"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getSubject() {\n\t\treturn txtSubject.getText();\n\t}", "public String getVerificationEmailSubject() {\n return getValue(\n \"eurekaclinical.userservice.email.verify.subject\");\n }", "public String getSmtpSubject() {\n return smtpSubject;\n }", "public String...
[ "0.673796", "0.65561014", "0.65082777", "0.63088065", "0.6279037", "0.621627", "0.61826825", "0.61731315", "0.61731315", "0.61561906", "0.61561906", "0.60978234", "0.60978234", "0.6077835", "0.6068123", "0.6028315", "0.6028315", "0.6028315", "0.5988448", "0.5988448", "0.59803...
0.78589547
0
Get the password change email subject line.
public String getPasswordChangeEmailSubject() { return getValue( "eurekaclinical.userservice.email.password.subject"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getPasswordResetEmailSubject() {\n return getValue(\"eurekaclinical.userservice.email.reset.subject\");\n }", "public String getSubject() {\n\t\treturn txtSubject.getText();\n\t}", "public String getVerificationEmailSubject() {\n return getValue(\n \"eurekaclinical...
[ "0.75260895", "0.6732363", "0.6421067", "0.64088833", "0.6366892", "0.6322248", "0.6322248", "0.6322248", "0.6289807", "0.62487483", "0.62487483", "0.62344295", "0.62232685", "0.6208791", "0.62012756", "0.62012756", "0.6200532", "0.6200532", "0.61994237", "0.6169253", "0.6149...
0.83276343
0
Gets the subject line for a password reset email.
public String getPasswordResetEmailSubject() { return getValue("eurekaclinical.userservice.email.reset.subject"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getPasswordChangeEmailSubject() {\n return getValue(\n \"eurekaclinical.userservice.email.password.subject\");\n }", "public String getSmtpSubject() {\n return smtpSubject;\n }", "public String getSubject() {\n\t\treturn txtSubject.getText();\n\t}", "public St...
[ "0.7112001", "0.6850674", "0.66201127", "0.65138155", "0.64097613", "0.63402456", "0.632815", "0.63104063", "0.6258991", "0.6258991", "0.6257288", "0.6234522", "0.6234522", "0.6223107", "0.6193687", "0.6193687", "0.6193687", "0.6193116", "0.6193116", "0.6163469", "0.615147", ...
0.80093324
0
Get email address in the From header.
public String getFromEmailAddress() { return getValue("eurekaclinical.userservice.email.from"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getFromEmailAddress() {\n return this.fromEmailAddress;\n }", "public java.lang.String getSenderHeaderEmailAddress()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.ap...
[ "0.7335076", "0.7313966", "0.7084244", "0.7020923", "0.69425875", "0.69276255", "0.691072", "0.68755084", "0.6847214", "0.68041945", "0.67653054", "0.6763927", "0.675984", "0.6758908", "0.6751299", "0.6735161", "0.6734198", "0.6702536", "0.66928786", "0.66875386", "0.65772474...
0.8081247
0
Get the number of hours to keep a user registration without verification, before deleting it from the database.
public int getRegistrationTimeout() { return getIntValue("eurekaclinical.userservice.registration.timeout", 72); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getOccupiedHours(){\n \t\treturn getOccupiedMinutes()/60;\n \t}", "public int getUpHours() {\n return (int)((_uptime % 86400000) / 3600000);\n }", "int getExpiryTimeSecs();", "public static double hoursSpent()\r\n {\r\n double howlong = 24.0;\r\n return howlong;\r\n }...
[ "0.652856", "0.65205985", "0.6264112", "0.6191055", "0.60203147", "0.59926766", "0.5967123", "0.5926148", "0.5907421", "0.5845059", "0.583185", "0.58100253", "0.58000183", "0.5789214", "0.5763316", "0.57315487", "0.57237875", "0.5708381", "0.5704571", "0.5694263", "0.5685188"...
0.62346435
3
vamos a generar un usuario
@Override public void run(String... strings) throws Exception { Usuario u= new Usuario(1521L, "Viridiana Hernandez","ndzmviridiana@hotmail.com"); //la guardamos // repoUsu.save(u); //GENERAMOS LA DIRECCION QUE VAMOS A GUARDAR ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Utilizator createUser(String username, String password, String nume,\n\t\t\tString prenume, String tip, String aux);", "GenerateUserAccount () {\r\n }", "private String createUser(String name) {\n\t\treturn null;\n\t}", "public void createUtilisateur(UtilisateurBean u) {\n\t}", "public void creatUser(St...
[ "0.70780087", "0.7002394", "0.6890822", "0.688999", "0.6851866", "0.6835928", "0.6741145", "0.6706778", "0.6679745", "0.66711664", "0.66394836", "0.6512266", "0.64822996", "0.6464001", "0.6463955", "0.64431304", "0.6441072", "0.6414111", "0.6386283", "0.63781065", "0.63726133...
0.0
-1
/ Create a table
public static void createTable(String name, String[] familys) throws Exception { Connection cn = ConnectionFactory.createConnection(conf); try { TableName tableName = TableName.valueOf(name); Admin admin = cn.getAdmin(); if (admin.tableExists(tableName)) {...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "TABLE createTABLE();", "Table createTable();", "tbls createtbls();", "public void doCreateTable();", "public TableCreation(Table table) {\n this.table = table;\n }", "public void creatTable(String tableName,LinkedList<String> columnsName,LinkedList<String> columnsType );", "public void create...
[ "0.8760193", "0.85601187", "0.7993443", "0.79824233", "0.77957034", "0.7785464", "0.7748759", "0.770244", "0.765167", "0.7613674", "0.7584731", "0.752439", "0.74418765", "0.74066573", "0.74018896", "0.7400455", "0.73901016", "0.73888415", "0.73812175", "0.73571867", "0.734374...
0.0
-1
Put (or insert) a row
public static void addRecord(TableName tableName, String rowKey, String family, String qualifier, String value) throws IOException { Connection cn = ConnectionFactory.createConnection(conf); try { Table table = cn.getTable(tableName); Put put = ne...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int addRow(RowData row_data) throws IOException;", "private void insert(ByteBuffer rowKey,\n Clustering<?> clustering,\n Cell<?> cell,\n LivenessInfo info,\n WriteContext ctx)\n {\n DecoratedKey valueKey = getIn...
[ "0.65718156", "0.64670986", "0.6465298", "0.6425223", "0.6382653", "0.63141805", "0.6233362", "0.6181598", "0.61676246", "0.61609954", "0.6151328", "0.61348027", "0.612553", "0.6102507", "0.60792017", "0.60394263", "0.6016431", "0.60035324", "0.59992", "0.5994551", "0.5982947...
0.6003215
18
Scan (or list) a table
public static void getAllRecord(TableName tableName) throws IOException { Connection cn = ConnectionFactory.createConnection(conf); try { Table table = cn.getTable(tableName); Scan s = new Scan(); ResultScanner ss = table.getScanner(s); for (Result r : ss)...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static ResultScanner scanAll(HTable table) throws Exception {\n\t\tScan s = new Scan();\n\t\tResultScanner rs = table.getScanner(s);\n\t\treturn rs;\n\t}", "@Override\n public Status scan(String table, String startkey, int recordcount, Set<String> fields,\n Vector<HashMap<String, ByteIterator>> resu...
[ "0.66420984", "0.6205232", "0.6103092", "0.5856668", "0.57686526", "0.57122684", "0.5710639", "0.56739134", "0.56700915", "0.5651575", "0.5650807", "0.56421155", "0.5632268", "0.5625414", "0.5611578", "0.56075126", "0.5593862", "0.5581945", "0.5575635", "0.5567483", "0.553389...
0.58280486
4
/Customer customer = new Customer(); customer.setName("toto");
@Override public Map<String, Object> getResource() { List<Customer> customerList = customerRepository.findAllByName("toto"); Map<String,Object> model = new HashMap<String,Object>(); model.put("id", UUID.randomUUID().toString()); model.put("content", "Hello World"); return mod...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Customer(String name) {\n this.name=name;\n }", "public Customer(String name) {\n this.name = name;\n }", "public static void CreateCustomer() \r\n\t{\n\t\t\r\n\t}", "Customer createCustomer();", "Customer createCustomer();", "Customer createCustomer();", "Customer createCust...
[ "0.7013115", "0.68085015", "0.66856724", "0.6523806", "0.6523806", "0.6523806", "0.6523806", "0.6491621", "0.64771116", "0.64462763", "0.6424188", "0.63965565", "0.6377385", "0.63751596", "0.63014984", "0.6295195", "0.6257879", "0.6247681", "0.62381554", "0.6232889", "0.62209...
0.0
-1
Height Of Binary Tree Send Feedback Given a binary tree, find and return the height of given tree. Input format : Nodes in the level order form (separated by space). If any node does not have left or right child, take 1 in its place Output format : Height Constraints : 1 <= N <= 10^5 Sample Input : 10 9 4 1 1 5 8 1 6 1...
public static int height(BinaryTreeNode<Integer> root) { if(root == null){ return 0; } int sum = 0; if(root.leftChild != null){ sum = Math.max(sum, height(root.leftChild)); } if(root.rightChild != null){ sum = Math.max(sum, height(root....
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int height(Node tree){\n\t\tif(tree == null){\n\t\t\treturn 0;\n\t\t}\n\t\telse{\n\t\t\tint lheight = height(tree.getLeft());\n\t\t\tint rheight = height(tree.getRight());\n\t\t\t\n\t\t\t//take the branch which is longer\n\t\t\tif(lheight>rheight){\n\t\t\t\treturn (lheight+1);\n\t\t\t}\n\t\t\telse{\n\t\t\t\...
[ "0.78686976", "0.7537266", "0.75293905", "0.74037886", "0.73086315", "0.72430515", "0.72389066", "0.7235098", "0.722498", "0.7204507", "0.7116577", "0.7102735", "0.7094494", "0.7072089", "0.70382524", "0.69971406", "0.6977206", "0.69496965", "0.690603", "0.68616956", "0.68564...
0.69401455
18
puts the altitude to what the current altitude is
public void setAltitude(float altitude) { currentAltitude.setText(String.valueOf(altitude)); if(altitude>250){ currentAltitude.setBackground(Color.GREEN); } else if(altitude>25){ currentAltitude.setBackground(Color.YELLOW); } else{ currentAltitude.se...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void updateAltitude() {\n Altitude droneAltitude = this.drone.getAttribute(AttributeType.ALTITUDE);\n\n\n\n alt.setText(String.format(\"%3.1f\", droneAltitude.getAltitude()) + \"m\");\n // altitudeTextView.setText(String.format(\"%3.1f\", droneAltitude.getAltitude()) + \"m\");\n }"...
[ "0.7639913", "0.76076853", "0.7600675", "0.7234484", "0.7194461", "0.7119397", "0.69888544", "0.69888544", "0.69486713", "0.6943693", "0.6883898", "0.6845076", "0.6836", "0.6830708", "0.6768723", "0.6762687", "0.6714521", "0.67060995", "0.6703152", "0.6697464", "0.667091", ...
0.735763
3
remove dups /HashSet hashSet = new HashSet(); hashSet.addAll(contestItems); contestItems.removeAll(contestItems); contestItems.clear(); contestItems.addAll(hashSet); truncate
public static void syncItems() { ArrayList<Contest> keep = null; if (contestItems.size() > CONTEST_LIST_SIZE) { keep = new ArrayList<>(contestItems.subList(0, CONTEST_LIST_SIZE)); keep = removeDups(keep); // sort and redraw Collections.sort(keep, new Conte...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void restoreList() {\n\n if (copyList.isEmpty())\n return;\n\n\n getList().clear();\n\n for (Map<String, ?> item : copyList) {\n getList().add(item);\n }\n\n copyList.clear();\n //Log.d(\"test\", \"After restore: Champlist size \" + getS...
[ "0.5844915", "0.5834041", "0.5824481", "0.57925105", "0.57907796", "0.57733923", "0.57263505", "0.57108635", "0.567015", "0.56635576", "0.5645954", "0.5644675", "0.56443614", "0.5624734", "0.56219673", "0.5611099", "0.5598572", "0.5597579", "0.5588817", "0.5578976", "0.557488...
0.6503934
0
Inflate the layout for this fragment
@Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { mView = inflater.inflate(R.layout.fragment_contest, container, false); mCtx = getContext(); contestItems = removeDups(contestItems); adapter ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_main_allinfo, container, false);\n }", "@Override\r\n\tpublic View onCreateView(LayoutInflater inflater, ViewGroup...
[ "0.6739604", "0.67235583", "0.6721706", "0.6698254", "0.6691869", "0.6687986", "0.66869223", "0.6684548", "0.66766286", "0.6674615", "0.66654444", "0.66654384", "0.6664403", "0.66596216", "0.6653321", "0.6647136", "0.66423255", "0.66388357", "0.6637491", "0.6634193", "0.66251...
0.0
-1
TODO: Rename method, update argument and hook method into UI event
public void onButtonPressed(Uri uri) { /*if (mListener != null) { mListener.onFragmentInteraction(uri); }*/ }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\t\t\t\tpublic void handle(ActionEvent event) {\n\t\t\t\t}", "@Override\n\t\t\t\tpublic void handle(ActionEvent event) {\n\n\t\t\t\t}", "@Override\n\t\t\tpublic void handle(ActionEvent event) {\n\t\t\t\t\n\t\t\t}", "@Override\n\t\t\tpublic void handle(ActionEvent event) {\n\t\t\t\t\n\t\t\t}", "@...
[ "0.6619185", "0.65246344", "0.6473144", "0.6473144", "0.64351684", "0.6325494", "0.62368196", "0.6189416", "0.6158721", "0.61455715", "0.6123594", "0.6107332", "0.6101038", "0.6092755", "0.6049496", "0.6049496", "0.60442764", "0.604003", "0.604003", "0.6007846", "0.59999037",...
0.0
-1
This interface must be implemented by activities that contain this fragment to allow an interaction in this fragment to be communicated to the activity and potentially other fragments contained in that activity. See the Android Training lesson Communicating with Other Fragments for more information.
public interface OnFragmentInteractionListener { // TODO: Update argument type and name void onFragmentInteraction(Uri uri); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface OnFragmentInteractionListener {\n void onFragmentMessage(String TAG, Object data);\n}", "public interface FragmentInteraction {\n void switchToBoardView();\n void switchToPinsView();\n void switchToPins(PDKBoard pdkBoard);\n void switchToDescription(PDKPin pin);\n}", "public int...
[ "0.7324436", "0.7207491", "0.71337754", "0.7124179", "0.71227044", "0.70147455", "0.6976635", "0.6976635", "0.6976635", "0.69738007", "0.6967322", "0.69654423", "0.6960806", "0.69540006", "0.6943718", "0.6933451", "0.69287443", "0.6926101", "0.692234", "0.6910855", "0.6902918...
0.0
-1
TODO: Update argument type and name
void onFragmentInteraction(Uri uri);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n public String getFirstArg() {\n return name;\r\n }", "@Override\n public int getNumberArguments() {\n return 1;\n }", "java.lang.String getArg();", "@Override\n public int getArgLength() {\n return 4;\n }", "Argument createArgument();", "@Override\r\n\tpublic ...
[ "0.71620077", "0.69440025", "0.6711487", "0.6510869", "0.6395964", "0.637318", "0.6347982", "0.63172585", "0.626037", "0.6206126", "0.6206126", "0.6204428", "0.6196331", "0.61786395", "0.617723", "0.61509335", "0.614605", "0.61263025", "0.6074019", "0.6056265", "0.59894925", ...
0.0
-1
return number of keyvalue pairs in BST rooted at x
private Value size(Node x) { return (Value) x.value; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Integer countBST() {\n\n if (root == null) return 0;\n try {\n Integer x = (Integer)root.element;\n } catch (NumberFormatException e) {\n System.out.println(\"count BST works only with comparable values, AKA Integers.\" + e);\n return 0;\n }\n ...
[ "0.71649075", "0.7077162", "0.678476", "0.6747342", "0.674598", "0.674598", "0.6729832", "0.6712557", "0.66869444", "0.6647407", "0.6618658", "0.6617668", "0.65991914", "0.6554597", "0.6530286", "0.64778167", "0.64740294", "0.64704347", "0.6467204", "0.6465447", "0.645473", ...
0.66175485
12
get value of the given key searched in the given Node
private Value get(Node node, Key key ) { if ( node.key.equals( key ) ) { return (Value) node.value; } if ( key.compareTo( (Key)node.key ) < 0 ) { return node.left.value == null ? null : get(node.left,key); } else { return node.right.value == ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Object lookup(String key){\n ListNode<String,Object> temp = getNode(key);\n if(temp != null)\n return temp.value;\n else\n return null;\n }", "public Value get(String key) {\n Node x = get(root, key, 0);\n if (x == null) return null; //node does ...
[ "0.79290116", "0.78502595", "0.7718862", "0.7622201", "0.7608405", "0.75369954", "0.7514946", "0.7479482", "0.74271023", "0.7407064", "0.7400399", "0.7385766", "0.7364818", "0.7347168", "0.7336106", "0.73310155", "0.72238296", "0.7170962", "0.7132052", "0.70183754", "0.700927...
0.75235564
6
replaces oldKey with newKey only works if the tree is in order
@Override public void changeKey(Key oldKey, Key newKey){ changeKey(this.root, oldKey, newKey); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private Node getReplacementKeyNode(Key key, Node node) {\n\t\tNode ret = node.getChild(node.getDataNumber(key));\r\n\t\t\r\n\t\twhile (!ret.isLeaf()) {\r\n\t\t\tret = ret.getChild(ret.getChildren().size() - 1);\r\n\t\t}\r\n\t\t\r\n\t\treturn ret;\r\n\t}", "IntTree<V> changeKeysBelow(final long key, final int del...
[ "0.66113704", "0.649757", "0.6375237", "0.62670493", "0.6184537", "0.613751", "0.61107004", "0.6084023", "0.6057443", "0.6057036", "0.6016306", "0.5994365", "0.5977616", "0.5915628", "0.5888525", "0.5878909", "0.5866646", "0.58385134", "0.58205414", "0.580565", "0.5752016", ...
0.7776848
0
Sort properties using a map of strategies.
protected void sortProperties(final AccommodationSearchRequestData accommodationSearchRequest, final AccommodationSearchResponseData accommodationSearchResponse) { if (StringUtils.isBlank(accommodationSearchRequest.getCriterion().getSort())) { getSortStrategyMap().get(TravelfacadesConstants.ACCOMMODATION_SEA...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void sortElements(Comparator<TLProperty> comparator);", "@Required\n\tpublic void setSortStrategyMap(final Map<String, AccommodationOfferingSearchResponseSortStrategy> sortStrategyMap)\n\t{\n\t\tthis.sortStrategyMap = sortStrategyMap;\n\t}", "@Override\r\n\tpublic void setSortProperties(List<? extends I...
[ "0.63688105", "0.6066917", "0.5948234", "0.582271", "0.5698603", "0.5676037", "0.5666818", "0.5576189", "0.554335", "0.5473027", "0.5397445", "0.53341424", "0.5287268", "0.52854806", "0.5283315", "0.52715445", "0.5244768", "0.52417684", "0.52170724", "0.5196525", "0.5188481",...
0.55221283
9
Discard extra accommodation offerings.
protected void discardExtraAccommodationOfferings(final List<String> returnedAccommodationOfferings, final List<PropertyData> properties) { final List<String> propertyCodes = properties.stream() .map(PropertyData::getAccommodationOfferingCode).collect(Collectors.toList()); final Collection<String> property...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void discard(){\n for(int i = 1 ; i <= 110 ; i++) cardDeck.remove(i);\n }", "private void discardPrompt() {\r\n\t\tfor (int i = 0; i < mustDiscard.size(); i++) {\r\n\t\t\tString prompt = \"**[Discard]** a card \";\r\n\t\t\tif (mustDiscard.get(i).contentEquals(\"Sleight of Hand\")) {\r\n\t\t\t\tp...
[ "0.61442554", "0.610992", "0.60762566", "0.5942092", "0.5934237", "0.5879319", "0.58742577", "0.586777", "0.5827211", "0.581363", "0.5803406", "0.57657486", "0.56633085", "0.5588489", "0.55832535", "0.5581436", "0.5545129", "0.5537254", "0.5501156", "0.5468695", "0.5387936", ...
0.67444396
0
Update search response with the values from the given criterion data.
protected void updateSearchResponse(final AccommodationSearchResponseData searchResponseData, final CriterionData criterion) { searchResponseData.getCriterion().setFacets(criterion.getFacets()); searchResponseData.getCriterion().setSorts(criterion.getSorts()); searchResponseData.getCriterion().setQuery(criterion...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void setSearchResults(LazyDataModel<ReagentResult> searchResults);", "private void update_private(LatLngBounds bounds) {\n\t\tJSONObject response = null;\n\n\t\ttry {\n\t\t\tStringBuffer result = new StringBuffer();\n\n\t\t\tURL url = new URL(BASE_URL +\n\t\t\t\t\t\"lang=\" + mLang +\n\t\t\t\t\t\"&north=\" + bou...
[ "0.5388905", "0.5217741", "0.5203458", "0.51337713", "0.5123966", "0.5106701", "0.50754076", "0.5072813", "0.50608605", "0.5057221", "0.5048655", "0.49933058", "0.49858", "0.49815243", "0.49714527", "0.49550968", "0.4953637", "0.49105072", "0.49067742", "0.49046335", "0.48967...
0.77667564
0
Gets accommodation offering facade.
protected AccommodationOfferingFacade getAccommodationOfferingFacade() { return accommodationOfferingFacade; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Offer getOffer();", "AccommodationModel findAccommodationForAccommodationOffering(String accommodationOfferingCode, String accommodationCode);", "protected AccommodationOfferingSearchPipelineManager getAccommodationOfferingSearchPipelineManager()\n\t{\n\t\treturn accommodationOfferingSearchPipelineManager;\n\t...
[ "0.6656526", "0.64162743", "0.6338772", "0.6181529", "0.59185076", "0.5761924", "0.56531584", "0.54673535", "0.54353666", "0.5372721", "0.536121", "0.5299956", "0.52222246", "0.5220617", "0.52056473", "0.51702183", "0.516187", "0.51393545", "0.51174086", "0.5113514", "0.50675...
0.78523445
0
Sets accommodation offering facade.
@Required public void setAccommodationOfferingFacade(final AccommodationOfferingFacade accommodationOfferingFacade) { this.accommodationOfferingFacade = accommodationOfferingFacade; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected AccommodationOfferingFacade getAccommodationOfferingFacade()\n\t{\n\t\treturn accommodationOfferingFacade;\n\t}", "public void setOfferingDao(PriceMapOfferingEntityDao offeringDao) {\n this.offeringDao = offeringDao;\n }", "public void setBookOffering(java.lang.String value);", "public ProductO...
[ "0.6907282", "0.61398", "0.5914727", "0.54763335", "0.5433689", "0.5389988", "0.5293846", "0.52825385", "0.5272489", "0.52541023", "0.52030325", "0.5188383", "0.5154339", "0.51392573", "0.50908905", "0.50201106", "0.500248", "0.49356946", "0.493326", "0.48718336", "0.48685423...
0.6830932
1
Gets accommodation offering search pipeline manager.
protected AccommodationOfferingSearchPipelineManager getAccommodationOfferingSearchPipelineManager() { return accommodationOfferingSearchPipelineManager; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Required\n\tpublic void setAccommodationOfferingSearchPipelineManager(\n\t\t\tfinal AccommodationOfferingSearchPipelineManager accommodationOfferingSearchPipelineManager)\n\t{\n\t\tthis.accommodationOfferingSearchPipelineManager = accommodationOfferingSearchPipelineManager;\n\t}", "protected AccommodationOfferi...
[ "0.612297", "0.57861936", "0.5785389", "0.5662463", "0.5661841", "0.5226705", "0.5196434", "0.5123598", "0.51100785", "0.5079992", "0.5043808", "0.5015433", "0.4987161", "0.4954655", "0.4944692", "0.4887834", "0.4837927", "0.4836162", "0.48324633", "0.4772462", "0.47525898", ...
0.8361455
0
Sets accommodation offering search pipeline manager.
@Required public void setAccommodationOfferingSearchPipelineManager( final AccommodationOfferingSearchPipelineManager accommodationOfferingSearchPipelineManager) { this.accommodationOfferingSearchPipelineManager = accommodationOfferingSearchPipelineManager; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected AccommodationOfferingSearchPipelineManager getAccommodationOfferingSearchPipelineManager()\n\t{\n\t\treturn accommodationOfferingSearchPipelineManager;\n\t}", "public void setOfferingDao(PriceMapOfferingEntityDao offeringDao) {\n this.offeringDao = offeringDao;\n }", "@Required\n\tpublic void set...
[ "0.7157418", "0.5366128", "0.5344955", "0.524725", "0.5237639", "0.5080854", "0.50612783", "0.50086963", "0.4976597", "0.49432993", "0.49230328", "0.4884828", "0.48477256", "0.48127383", "0.47829244", "0.47644997", "0.4762147", "0.46804154", "0.4661933", "0.46581936", "0.4643...
0.72201926
0
Gets sort strategy map.
protected Map<String, AccommodationOfferingSearchResponseSortStrategy> getSortStrategyMap() { return sortStrategyMap; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Required\n\tpublic void setSortStrategyMap(final Map<String, AccommodationOfferingSearchResponseSortStrategy> sortStrategyMap)\n\t{\n\t\tthis.sortStrategyMap = sortStrategyMap;\n\t}", "public static Map<Integer,Planet> getPlanetsByOrder() { return planetsByOrder; }", "private static Map<String, Method> sortAs...
[ "0.57801455", "0.5779059", "0.560933", "0.54927886", "0.5251919", "0.5251248", "0.52348465", "0.5180141", "0.5177878", "0.51135594", "0.50998116", "0.50915956", "0.50336254", "0.49882603", "0.49724945", "0.49165556", "0.48968375", "0.48849016", "0.48829818", "0.48654166", "0....
0.8018704
0
Sets sort strategy map.
@Required public void setSortStrategyMap(final Map<String, AccommodationOfferingSearchResponseSortStrategy> sortStrategyMap) { this.sortStrategyMap = sortStrategyMap; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected Map<String, AccommodationOfferingSearchResponseSortStrategy> getSortStrategyMap()\n\t{\n\t\treturn sortStrategyMap;\n\t}", "@Override\r\n\tpublic void addSort() {\n\t\t\r\n\t}", "private static void populateArtworkSorts() {\r\n if (artworkSorts.isEmpty()) {\r\n artworkSorts.add(SO...
[ "0.72722757", "0.60478324", "0.60403156", "0.6020853", "0.59448", "0.5855135", "0.58515096", "0.5788757", "0.5764477", "0.5742159", "0.5735455", "0.5645088", "0.55936116", "0.5592843", "0.5590653", "0.5588176", "0.5581493", "0.55565286", "0.5549436", "0.554284", "0.5540613", ...
0.67522526
1
Gets update search criterion strategies.
protected List<UpdateSearchCriterionStrategy> getUpdateSearchCriterionStrategies() { return updateSearchCriterionStrategies; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Required\n\tpublic void setUpdateSearchCriterionStrategies(final List<UpdateSearchCriterionStrategy> updateSearchCriterionStrategies)\n\t{\n\t\tthis.updateSearchCriterionStrategies = updateSearchCriterionStrategies;\n\t}", "public Optimizer getOptimizedCriteria() {\r\n\r\n\t\tLog.d(\"Criteria\", \"Inside getOC:...
[ "0.6803775", "0.53008634", "0.51413363", "0.5035421", "0.5014869", "0.48625335", "0.47877315", "0.4772983", "0.47722057", "0.47484568", "0.47118318", "0.46816358", "0.46399257", "0.46290195", "0.4595818", "0.4592472", "0.45580617", "0.4540768", "0.4509568", "0.45043126", "0.4...
0.85005546
0
Sets update search criterion strategies.
@Required public void setUpdateSearchCriterionStrategies(final List<UpdateSearchCriterionStrategy> updateSearchCriterionStrategies) { this.updateSearchCriterionStrategies = updateSearchCriterionStrategies; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected List<UpdateSearchCriterionStrategy> getUpdateSearchCriterionStrategies()\n\t{\n\t\treturn updateSearchCriterionStrategies;\n\t}", "@Override\n\tpublic void changeCriterion(int index) {\n }", "public void prepareSearchForUpdate(Search search) {\r\n\t\tDouble rate = currencyService.getCurrencyRate(s...
[ "0.76015157", "0.52825534", "0.52363753", "0.5174204", "0.5172014", "0.5118527", "0.5106232", "0.51013273", "0.5076459", "0.5048095", "0.50155973", "0.50134486", "0.5001618", "0.4995985", "0.49115807", "0.4898508", "0.48965648", "0.48903543", "0.48842764", "0.48831633", "0.48...
0.73492026
1
Gets travel rules service.
protected TravelRulesService getTravelRulesService() { return travelRulesService; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final RuleBaseFacility getRules()\n{\n\treturn _rules;\n}", "public Rules getRules()\r\n {\r\n return rules;\r\n }", "@Required\n\tpublic void setTravelRulesService(final TravelRulesService travelRulesService)\n\t{\n\t\tthis.travelRulesService = travelRulesService;\n\t}", "public abstract List<NA...
[ "0.6109704", "0.59684515", "0.57032615", "0.56738174", "0.5554467", "0.5540429", "0.5522888", "0.5513994", "0.54754955", "0.5438232", "0.5400101", "0.5399919", "0.5344522", "0.5284211", "0.52825356", "0.52659523", "0.52583975", "0.5224783", "0.51791555", "0.5163884", "0.51432...
0.824247
0
Sets travel rules service.
@Required public void setTravelRulesService(final TravelRulesService travelRulesService) { this.travelRulesService = travelRulesService; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected TravelRulesService getTravelRulesService()\n\t{\n\t\treturn travelRulesService;\n\t}", "private void setService(Service service) {\n this.service = service;\n }", "@Required\n public void setRules(Set<Rule> rules)\n {\n this.rules = new TreeSet<Rule>(new RuleComparator());\n this.ru...
[ "0.68243146", "0.5738089", "0.5608989", "0.55810434", "0.5462927", "0.54063773", "0.5394017", "0.5394017", "0.5394017", "0.5375876", "0.5371444", "0.53569746", "0.53470063", "0.53193516", "0.53146", "0.52959347", "0.5279778", "0.52694184", "0.52633846", "0.52522707", "0.52149...
0.7749168
0
TODO Autogenerated method stub if statement!! declare price and if price is higher than expected price= dont buy it
public static void main(String[] args) { double shoePrice = 220.99; double allowance = 200.00; if (shoePrice > allowance) { System.out.println("We cant buy it :("); } else { System.out.println("We can buy it :D"); } //declare boolean variable its raining and if it is true your program should say...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setPrice(double price){\r\n Random chance = new Random();\r\n int crashChance = chance.nextInt(100);\r\n double droppedPrice = price * ThreadLocalRandom.current().nextDouble(0.6, 0.8);\r\n if (crashChance > 95) {\r\n setPlusMinus(\"Down\");\r\n System.o...
[ "0.7050795", "0.6963793", "0.6955515", "0.6890824", "0.6890748", "0.6885494", "0.68492097", "0.68040746", "0.6761648", "0.6748866", "0.67342585", "0.67241067", "0.66932946", "0.66932946", "0.66932946", "0.6692014", "0.6692014", "0.6692014", "0.6692014", "0.6692014", "0.669201...
0.0
-1
This method was generated by MyBatis Generator. This method returns the value of the database column expediente_consulta.idExpeConsul
public Integer getIdexpeconsul() { return idexpeconsul; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Integer getIdExperienciaEducativa() {\r\n return idExperienciaEducativa;\r\n }", "public BigDecimal getIdExpediente() {\r\n return idExpediente;\r\n }", "public E getConsulta() {\n\n\t\treturn this.consulta;\n\t}", "public String getCodigoExpediente() {\r\n return codigoExpediente...
[ "0.62118924", "0.6178489", "0.6025264", "0.592217", "0.5763005", "0.5750685", "0.57333094", "0.5690474", "0.5642623", "0.55369407", "0.55183953", "0.54816", "0.5447268", "0.5424143", "0.5335093", "0.53339857", "0.5302803", "0.52976197", "0.52952284", "0.5291211", "0.5272", ...
0.5015672
50
This method was generated by MyBatis Generator. This method sets the value of the database column expediente_consulta.idExpeConsul
public void setIdexpeconsul(Integer idexpeconsul) { this.idexpeconsul = idexpeconsul; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setIdExperienciaEducativa(Integer idExperienciaEducativa) {\r\n this.idExperienciaEducativa = idExperienciaEducativa;\r\n }", "public void setConsulta(final E consulta) {\n\n\t\tthis.consulta = consulta;\n\t}", "public void setIdExpediente(BigDecimal idExpediente) {\r\n this.idExpediente...
[ "0.62303156", "0.5938997", "0.5767884", "0.55878043", "0.5440234", "0.5338439", "0.5334201", "0.52910596", "0.52646697", "0.5247214", "0.52308524", "0.5150363", "0.51285416", "0.5123019", "0.5113426", "0.5111645", "0.5101229", "0.5082069", "0.507786", "0.507084", "0.5064236",...
0.45860848
94
This method was generated by MyBatis Generator. This method returns the value of the database column expediente_consulta.fechaConsulta
public Date getFechaconsulta() { return fechaconsulta; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setFechaconsulta(Date fechaconsulta) {\r\n this.fechaconsulta = fechaconsulta;\r\n }", "public E getConsulta() {\n\n\t\treturn this.consulta;\n\t}", "public String obtenerCampo(String sqlConsulta) throws SQLException {\n try {\n this.sqlConsulta = sqlConsulta;\n ...
[ "0.6809695", "0.6631502", "0.60851014", "0.6010665", "0.59884", "0.59427285", "0.5887496", "0.5794065", "0.5787027", "0.5785889", "0.57648647", "0.5752874", "0.57369065", "0.5721783", "0.57122964", "0.57003236", "0.56896573", "0.5675874", "0.5674387", "0.5674294", "0.5624949"...
0.7352444
0
This method was generated by MyBatis Generator. This method sets the value of the database column expediente_consulta.fechaConsulta
public void setFechaconsulta(Date fechaconsulta) { this.fechaconsulta = fechaconsulta; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Date getFechaconsulta() {\r\n return fechaconsulta;\r\n }", "public void setConsulta(final E consulta) {\n\n\t\tthis.consulta = consulta;\n\t}", "public static void guardarNuevaConsulta(Consulta consulta) throws SQLException {\n\t\tjava.sql.Date fechaSQL = new java.sql.Date(consulta.getFecha()...
[ "0.6946792", "0.6897344", "0.6437282", "0.63130397", "0.6185014", "0.61351156", "0.6065179", "0.6012994", "0.5984188", "0.5900904", "0.58643097", "0.58532643", "0.5784793", "0.5778032", "0.571276", "0.56899554", "0.5662991", "0.5662214", "0.56425035", "0.564213", "0.5635278",...
0.7876846
0
This method was generated by MyBatis Generator. This method returns the value of the database column expediente_consulta.idExpediente
public Integer getIdexpediente() { return idexpediente; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public BigDecimal getIdExpediente() {\r\n return idExpediente;\r\n }", "public Integer getIdExperienciaEducativa() {\r\n return idExperienciaEducativa;\r\n }", "public String getCodigoExpediente() {\r\n return codigoExpediente;\r\n }", "public E getConsulta() {\n\n\t\treturn this.cons...
[ "0.6918047", "0.66956884", "0.65858287", "0.61618507", "0.58381", "0.5774244", "0.5757953", "0.5730657", "0.5726359", "0.5726087", "0.5711568", "0.5711283", "0.56899196", "0.5685946", "0.5653265", "0.5640987", "0.56266296", "0.562636", "0.5590223", "0.55870914", "0.55853283",...
0.59860826
4
This method was generated by MyBatis Generator. This method sets the value of the database column expediente_consulta.idExpediente
public void setIdexpediente(Integer idexpediente) { this.idexpediente = idexpediente; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setIdExpediente(BigDecimal idExpediente) {\r\n this.idExpediente = idExpediente;\r\n }", "public void setIdExperienciaEducativa(Integer idExperienciaEducativa) {\r\n this.idExperienciaEducativa = idExperienciaEducativa;\r\n }", "void actualizarExpedienteReplicado(Long idExpediente) th...
[ "0.67815804", "0.6711943", "0.62946606", "0.60848755", "0.5981666", "0.58901906", "0.5783841", "0.5687306", "0.5599097", "0.55864114", "0.5521669", "0.55190086", "0.54764444", "0.5476096", "0.54055935", "0.5390356", "0.53810155", "0.53739643", "0.53703254", "0.5362436", "0.53...
0.54022485
15
This method was generated by MyBatis Generator. This method returns the value of the database column expediente_consulta.descripcion
public String getDescripcion() { return descripcion; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getDescripcion() {\n return this.descripcion.get();\n }", "public String getDescripcion() { return (this.descripcion == null) ? \"\" : this.descripcion; }", "public String getDescricao() {\n\t\treturn this.descricao;\n\t}", "public String getDescricao() {\n return descricao;\n ...
[ "0.6699607", "0.6660231", "0.66547453", "0.6614607", "0.6614607", "0.6605305", "0.6598634", "0.6598634", "0.6579935", "0.6507824", "0.6501784", "0.6466643", "0.6458968", "0.64529246", "0.64516586", "0.6426719", "0.64247715", "0.6404362", "0.6401586", "0.6354433", "0.6315603",...
0.6159743
28
This method was generated by MyBatis Generator. This method sets the value of the database column expediente_consulta.descripcion
public void setDescripcion(String descripcion) { this.descripcion = descripcion; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setDescripcion(String s) { this.descripcion = s; }", "public void setDescripcion(String p) { this.descripcion = p; }", "public void setDescripcion(String descripcion) {\n this.descripcion = descripcion;\n \n switch (descripcion) {\n case \"REFORMA\": {\n t...
[ "0.67125535", "0.6617872", "0.66133213", "0.65720916", "0.6557213", "0.65430146", "0.6536313", "0.65180206", "0.64580417", "0.6323754", "0.6289308", "0.6183729", "0.61612856", "0.6155154", "0.6111142", "0.610969", "0.6036673", "0.60288435", "0.6022711", "0.6009783", "0.598172...
0.6471044
9
This method was generated by MyBatis Generator. This method returns the value of the database column expediente_consulta.peso
public String getPeso() { return peso; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Pessoa getPessoa() {\r\n\t\treturn pessoa;\r\n\t}", "@Column(name = \"C_PUESTO\")\n public String getPuesto() {\n return puesto;\n }", "public int getCodPessoa() {\r\n\t\treturn this.codPessoa;\r\n\t}", "public java.sql.ResultSet consultaporespecialidad(String CodigoEspecialidad){\r\n ...
[ "0.628912", "0.6115855", "0.6050382", "0.59967226", "0.5864765", "0.5844554", "0.5840075", "0.58302987", "0.57919025", "0.5785644", "0.5785644", "0.5737686", "0.5725939", "0.5681736", "0.56223315", "0.55904186", "0.55904186", "0.5578872", "0.55727684", "0.5564916", "0.5557077...
0.583034
7
This method was generated by MyBatis Generator. This method sets the value of the database column expediente_consulta.peso
public void setPeso(String peso) { this.peso = peso; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setPeso(int peso) {\r\n this.peso = peso;\r\n }", "public void setPeso(int peso) {\r\n\t\tif(peso < 0){\r\n\t\t\tSystem.out.println(\"Error peso\");\r\n\t\t}else{\r\n\t\tthis.peso = peso;\r\n\t\t}\r\n\t}", "public void setPeso(double peso) {\r\n\t\tthis.peso = peso;\r\n\t}", "public voi...
[ "0.61601615", "0.6131892", "0.6127742", "0.5805275", "0.57628727", "0.57268506", "0.56727636", "0.56007755", "0.5576123", "0.5523897", "0.55122125", "0.5499038", "0.54901177", "0.5465794", "0.5465551", "0.54608333", "0.5423374", "0.5420528", "0.5420528", "0.5420528", "0.54165...
0.6386253
0
This method was generated by MyBatis Generator. This method returns the value of the database column expediente_consulta.p_mayor
public String getpMayor() { return pMayor; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getpMenor() {\r\n return pMenor;\r\n }", "public void setpMayor(String pMayor) {\r\n this.pMayor = pMayor;\r\n }", "public void setpMenor(String pMenor) {\r\n this.pMenor = pMenor;\r\n }", "public String getAPELLIDONombreDelAlumno() {\r\n\t\tString nombre = \"SURED...
[ "0.6237482", "0.5811239", "0.578955", "0.5500776", "0.54932785", "0.5444785", "0.540888", "0.5384615", "0.5347689", "0.5259483", "0.522279", "0.5222407", "0.52048695", "0.52029705", "0.5202463", "0.5199367", "0.5191434", "0.51913106", "0.51428264", "0.51370597", "0.5135642", ...
0.6363025
0
This method was generated by MyBatis Generator. This method sets the value of the database column expediente_consulta.p_mayor
public void setpMayor(String pMayor) { this.pMayor = pMayor; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setpMenor(String pMenor) {\r\n this.pMenor = pMenor;\r\n }", "public void setEmpresa(Empresa empresa)\r\n/* 89: */ {\r\n/* 90:141 */ this.empresa = empresa;\r\n/* 91: */ }", "public void setPatronAutorizacion(String patronAutorizacion)\r\n/* 219: */ {\r\n/* 220:369 *...
[ "0.6459354", "0.5700383", "0.55712533", "0.54503596", "0.5439192", "0.5439192", "0.5436573", "0.5436573", "0.5414873", "0.5372987", "0.53236485", "0.52824783", "0.52686274", "0.52228373", "0.5197082", "0.5162599", "0.51599187", "0.51460004", "0.51408786", "0.5123845", "0.5106...
0.65595806
0