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
This method was generated by MyBatis Generator. This method corresponds to the database table regsat_user
int countByExample(RegsatUserExample example);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ResultSet Reuser()throws SQLException {\n\trs=DbConnect.getStatement().executeQuery(\"select c.user_id,c.first_name,c.last_name from customer c,login l where l.login_id=c.login_id and l.usertype='user' and l.status='not approved'\");\r\n\treturn rs;\r\n}", "@Select({\r\n \"select\",\r\n \"us...
[ "0.6431035", "0.6423853", "0.6376848", "0.6282589", "0.62798", "0.6212124", "0.6039135", "0.6036067", "0.6030206", "0.6012071", "0.6009002", "0.59631777", "0.5883261", "0.58657753", "0.5858979", "0.58558846", "0.58474195", "0.5842998", "0.582437", "0.5806638", "0.579875", "...
0.0
-1
This method was generated by MyBatis Generator. This method corresponds to the database table regsat_user
int deleteByExample(RegsatUserExample example);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ResultSet Reuser()throws SQLException {\n\trs=DbConnect.getStatement().executeQuery(\"select c.user_id,c.first_name,c.last_name from customer c,login l where l.login_id=c.login_id and l.usertype='user' and l.status='not approved'\");\r\n\treturn rs;\r\n}", "@Select({\r\n \"select\",\r\n \"us...
[ "0.6431547", "0.6425608", "0.63792646", "0.62850165", "0.6281004", "0.6214239", "0.6041597", "0.60380906", "0.60308427", "0.6011952", "0.6008255", "0.5965338", "0.5883409", "0.5865151", "0.58625746", "0.5857249", "0.58492404", "0.58459264", "0.5825801", "0.5810322", "0.579881...
0.0
-1
This method was generated by MyBatis Generator. This method corresponds to the database table regsat_user
int deleteByPrimaryKey(Long userId);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ResultSet Reuser()throws SQLException {\n\trs=DbConnect.getStatement().executeQuery(\"select c.user_id,c.first_name,c.last_name from customer c,login l where l.login_id=c.login_id and l.usertype='user' and l.status='not approved'\");\r\n\treturn rs;\r\n}", "@Select({\r\n \"select\",\r\n \"us...
[ "0.64321023", "0.6425986", "0.6380037", "0.62856346", "0.62818813", "0.6214422", "0.6040247", "0.60387254", "0.60316265", "0.6011897", "0.6008111", "0.59660614", "0.5881345", "0.586566", "0.58617854", "0.5856937", "0.58483434", "0.5845667", "0.5825906", "0.5810018", "0.579992...
0.0
-1
This method was generated by MyBatis Generator. This method corresponds to the database table regsat_user
int insert(RegsatUser record);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ResultSet Reuser()throws SQLException {\n\trs=DbConnect.getStatement().executeQuery(\"select c.user_id,c.first_name,c.last_name from customer c,login l where l.login_id=c.login_id and l.usertype='user' and l.status='not approved'\");\r\n\treturn rs;\r\n}", "@Select({\r\n \"select\",\r\n \"us...
[ "0.6431547", "0.6425608", "0.63792646", "0.62850165", "0.6281004", "0.6214239", "0.6041597", "0.60380906", "0.60308427", "0.6011952", "0.6008255", "0.5965338", "0.5883409", "0.5865151", "0.58625746", "0.5857249", "0.58492404", "0.58459264", "0.5825801", "0.5810322", "0.579881...
0.0
-1
This method was generated by MyBatis Generator. This method corresponds to the database table regsat_user
int insertSelective(RegsatUser record);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ResultSet Reuser()throws SQLException {\n\trs=DbConnect.getStatement().executeQuery(\"select c.user_id,c.first_name,c.last_name from customer c,login l where l.login_id=c.login_id and l.usertype='user' and l.status='not approved'\");\r\n\treturn rs;\r\n}", "@Select({\r\n \"select\",\r\n \"us...
[ "0.6431035", "0.6423853", "0.6376848", "0.6282589", "0.62798", "0.6212124", "0.6039135", "0.6036067", "0.6030206", "0.6012071", "0.6009002", "0.59631777", "0.5883261", "0.58657753", "0.5858979", "0.58558846", "0.58474195", "0.5842998", "0.582437", "0.5806638", "0.579875", "...
0.0
-1
This method was generated by MyBatis Generator. This method corresponds to the database table regsat_user
List<RegsatUser> selectByExample(RegsatUserExample example);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ResultSet Reuser()throws SQLException {\n\trs=DbConnect.getStatement().executeQuery(\"select c.user_id,c.first_name,c.last_name from customer c,login l where l.login_id=c.login_id and l.usertype='user' and l.status='not approved'\");\r\n\treturn rs;\r\n}", "@Select({\r\n \"select\",\r\n \"us...
[ "0.6431547", "0.6425608", "0.63792646", "0.62850165", "0.6281004", "0.6214239", "0.6041597", "0.60380906", "0.60308427", "0.6011952", "0.6008255", "0.5965338", "0.5883409", "0.5865151", "0.58625746", "0.5857249", "0.58492404", "0.58459264", "0.5825801", "0.5810322", "0.579881...
0.0
-1
This method was generated by MyBatis Generator. This method corresponds to the database table regsat_user
RegsatUser selectByPrimaryKey(Long userId);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ResultSet Reuser()throws SQLException {\n\trs=DbConnect.getStatement().executeQuery(\"select c.user_id,c.first_name,c.last_name from customer c,login l where l.login_id=c.login_id and l.usertype='user' and l.status='not approved'\");\r\n\treturn rs;\r\n}", "@Select({\r\n \"select\",\r\n \"us...
[ "0.64321023", "0.6425986", "0.6380037", "0.62856346", "0.62818813", "0.6214422", "0.6040247", "0.60387254", "0.60316265", "0.6011897", "0.6008111", "0.59660614", "0.5881345", "0.586566", "0.58617854", "0.5856937", "0.58483434", "0.5845667", "0.5825906", "0.5810018", "0.579992...
0.5727265
26
This method was generated by MyBatis Generator. This method corresponds to the database table regsat_user
int updateByExampleSelective(@Param("record") RegsatUser record, @Param("example") RegsatUserExample example);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ResultSet Reuser()throws SQLException {\n\trs=DbConnect.getStatement().executeQuery(\"select c.user_id,c.first_name,c.last_name from customer c,login l where l.login_id=c.login_id and l.usertype='user' and l.status='not approved'\");\r\n\treturn rs;\r\n}", "@Select({\r\n \"select\",\r\n \"us...
[ "0.6431547", "0.6425608", "0.63792646", "0.62850165", "0.6281004", "0.6214239", "0.6041597", "0.60380906", "0.60308427", "0.6011952", "0.6008255", "0.5965338", "0.5883409", "0.5865151", "0.58625746", "0.5857249", "0.58492404", "0.58459264", "0.5825801", "0.5810322", "0.579881...
0.0
-1
This method was generated by MyBatis Generator. This method corresponds to the database table regsat_user
int updateByExample(@Param("record") RegsatUser record, @Param("example") RegsatUserExample example);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ResultSet Reuser()throws SQLException {\n\trs=DbConnect.getStatement().executeQuery(\"select c.user_id,c.first_name,c.last_name from customer c,login l where l.login_id=c.login_id and l.usertype='user' and l.status='not approved'\");\r\n\treturn rs;\r\n}", "@Select({\r\n \"select\",\r\n \"us...
[ "0.6431035", "0.6423853", "0.6376848", "0.6282589", "0.62798", "0.6212124", "0.6039135", "0.6036067", "0.6030206", "0.6012071", "0.6009002", "0.59631777", "0.5883261", "0.58657753", "0.5858979", "0.58558846", "0.58474195", "0.5842998", "0.582437", "0.5806638", "0.579875", "...
0.0
-1
This method was generated by MyBatis Generator. This method corresponds to the database table regsat_user
int updateByPrimaryKeySelective(RegsatUser record);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ResultSet Reuser()throws SQLException {\n\trs=DbConnect.getStatement().executeQuery(\"select c.user_id,c.first_name,c.last_name from customer c,login l where l.login_id=c.login_id and l.usertype='user' and l.status='not approved'\");\r\n\treturn rs;\r\n}", "@Select({\r\n \"select\",\r\n \"us...
[ "0.6431547", "0.6425608", "0.63792646", "0.62850165", "0.6281004", "0.6214239", "0.6041597", "0.60380906", "0.60308427", "0.6011952", "0.6008255", "0.5965338", "0.5883409", "0.5865151", "0.58625746", "0.5857249", "0.58492404", "0.58459264", "0.5825801", "0.5810322", "0.579881...
0.0
-1
This method was generated by MyBatis Generator. This method corresponds to the database table regsat_user
int updateByPrimaryKey(RegsatUser record);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ResultSet Reuser()throws SQLException {\n\trs=DbConnect.getStatement().executeQuery(\"select c.user_id,c.first_name,c.last_name from customer c,login l where l.login_id=c.login_id and l.usertype='user' and l.status='not approved'\");\r\n\treturn rs;\r\n}", "@Select({\r\n \"select\",\r\n \"us...
[ "0.64321023", "0.6425986", "0.6380037", "0.62856346", "0.62818813", "0.6214422", "0.6040247", "0.60387254", "0.60316265", "0.6011897", "0.6008111", "0.59660614", "0.5881345", "0.586566", "0.58617854", "0.5856937", "0.58483434", "0.5845667", "0.5825906", "0.5810018", "0.579992...
0.0
-1
Loads the theme from shared preferences for use by the app.
public ThemeManager(Context c) { SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(c); String guild = sp.getString("prefColorScheme", "Default"); if (guild.equalsIgnoreCase(c.getResources().getString(R.string.selesnya))) { this.drawable_background = R.drawable.std_...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void loadTheme() {\n runOnUiThread(new Runnable() {\n public void run() {\n try {\n //inspired by:https://stackoverflow.com/questions/15025369/changing-the-theme-of-an-android-app-using-preferences\n SharedPreferences data = getSharedPre...
[ "0.8257527", "0.7879101", "0.7412056", "0.6954439", "0.6806849", "0.66881204", "0.66287166", "0.6558897", "0.6471022", "0.6412601", "0.6363291", "0.6310577", "0.6279621", "0.6203688", "0.61393195", "0.6101627", "0.5980543", "0.59287494", "0.59238154", "0.59237915", "0.586923"...
0.6169253
14
Gets the currently set theme
public int getTheme() { return this.theme; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getTheme();", "public String getTheme() {\n return theme;\n }", "public String getTheme() {\n return theme;\n }", "public String getTheme() {\n return theme;\n }", "public String getTheme() {\r\n\t\treturn _theme;\r\n\t}", "public String getTheme() {\r\n\t\treturn the...
[ "0.8185565", "0.8141089", "0.8141089", "0.8141089", "0.8127494", "0.80618536", "0.80372816", "0.8032789", "0.8006022", "0.79392344", "0.77232516", "0.7571398", "0.74167395", "0.7369137", "0.7258693", "0.7070715", "0.69210845", "0.6856621", "0.6795448", "0.67841494", "0.678355...
0.81112915
5
Get the current background drawable resource for app
public int getDrawableBackground() { return this.drawable_background; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public UiBackground getBackground() {\n if (getBackground == null)\n getBackground = new UiBackground(jsBase + \".background()\");\n\n return getBackground;\n }", "private Optional<String> getBackgroundImage() {\n return Optional.ofNullable(this.currentStyle)\n .filt...
[ "0.69797534", "0.6895434", "0.66726786", "0.658442", "0.65838945", "0.6448492", "0.64481694", "0.6338102", "0.6316767", "0.62514305", "0.6247064", "0.6159881", "0.61533374", "0.6145642", "0.611775", "0.6109585", "0.6096706", "0.60852957", "0.6079901", "0.60641575", "0.6055303...
0.7674641
0
Get the primary light color for the app
public int getPrimaryLight(){ return this.lightColor; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "int getHighLightColor();", "public int getLightColor() {\n return this.lightColor;\n }", "private int getCurrentMainColor () {\n int translatedHue = 255 - ( int ) ( mCurrentHue * 255 / 360 );\n int index = 0;\n for ( float i = 0; i < 256; i += 256 / 42 ) {\n ...
[ "0.81458414", "0.7658152", "0.6979557", "0.6865407", "0.6861036", "0.674896", "0.66017306", "0.6554671", "0.6472142", "0.6456316", "0.6416", "0.64158523", "0.6390105", "0.6378501", "0.6369003", "0.63595146", "0.6333923", "0.6265352", "0.6228765", "0.62257564", "0.6193965", ...
0.77919406
1
TODO Autogenerated method stub
public static void main(String[] args) { int[] nums = {3,2,1,5,6,4}; KthLargestElementP215 p =new KthLargestElementP215(); p.findKthLargest(nums, 2); }
{ "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
Creates new form UbicacionesView
public UbicacionesView() { initComponents(); mostrarLugaresParqueo(); setLocationRelativeTo(null); comboEstadoUbic.setEnabled(false); comboTipoUbicacion.setEnabled(false); spinCantUbic.setEnabled(false); btnGuardar.setEnabled(false); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void agregarUbicacion(){\n\n\n\n }", "public ViewCreatePagamento() {\n initComponents();\n clientesDAO cDAO = DaoFactory.createClientesDao(); \n matriculaDAO mDAO = DaoFactory.createMatriculaDao();\n \n cmbIDClientes.addItem(null);\n cDAO.findAll().forEach((p...
[ "0.6481927", "0.6333549", "0.61039543", "0.60582227", "0.5998951", "0.58715886", "0.58283097", "0.5754598", "0.57449144", "0.5701209", "0.5669076", "0.5649135", "0.56307656", "0.5622959", "0.5586362", "0.55769825", "0.55661756", "0.556547", "0.55600405", "0.55553573", "0.5552...
0.6797771
0
This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.
@SuppressWarnings("unchecked") // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents private void initComponents() { jLabel1 = new javax.swing.JLabel(); jPanel3 = new javax.swing.JPanel(); jScrollPane1 = new javax.swing.JScrollPane(); tablaLug...
{ "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.7321342", "0.7292121", "0.7292121", "0.7292121", "0.72863305", "0.7249828", "0.7213628", "0.7209084", "0.7197292", "0.71912086", "0.7185135", "0.7159969", "0.7148876", "0.70944786", "0.70817256", "0.7057678", "0.69884527", "0.69786763", "0.69555986", "0.69548863", "0.69453...
0.0
-1
This method calls the DAO layer to register the new user
@Override public void registerUser(User user) { userDAO.createUser(user); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void register_user() {\n\n\t\tHttpRegister post = new HttpRegister();\n\t\tpost.execute(Config.URL + \"/api/newuser\");\n\n\t}", "void registerUser(User newUser);", "@Override\n public boolean userRegister(User user) \n { \n Connection conn = null;\n Statement stmt = null;\n tr...
[ "0.77477765", "0.7433891", "0.74287665", "0.74272114", "0.740418", "0.7299734", "0.7286501", "0.7224818", "0.71753633", "0.7171948", "0.71652067", "0.7151635", "0.71445066", "0.7075314", "0.7014496", "0.70036435", "0.6997548", "0.6974058", "0.69738764", "0.6968337", "0.695085...
0.73294497
5
This method calls the DAO layer method to get the user details
@Override public User getUser(String userId){ return userDAO.getUser(userId); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void getUser(){\n mainUser = DatabaseAccess.getUser();\n }", "User getUserInformation(Long user_id);", "UserInfoDao getUserInfoDao();", "@Override\n public String getUserPersonalInfo(String user_id)\n {\n String returnVal = null; \n Connection conn = null;\n Statemen...
[ "0.712097", "0.6961446", "0.69072205", "0.6893212", "0.6769849", "0.67371976", "0.6688938", "0.6688897", "0.66813964", "0.6673181", "0.66632706", "0.6651478", "0.6651466", "0.6631279", "0.66110265", "0.6596521", "0.6593511", "0.65893126", "0.6584141", "0.65778756", "0.6569565...
0.7240635
0
This method calls the DAO layer methods to update the expense limit.
@Override public boolean updateExpenseLimit(int userId, double limit){ return userDAO.updateExpenseLimit(userId,limit); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void update(Limit limit);", "boolean saveExpense(Expenses exp);", "public void update(Expence expence)\r\n/* 169: */ {\r\n/* 170:174 */ this.expenceDao.update(expence);\r\n/* 171: */ }", "public Notification editExpense(HttpServletRequest request, String expenseId) {\n ExpenseDAO ...
[ "0.6333252", "0.62406504", "0.6083341", "0.6017294", "0.60083646", "0.5946968", "0.59291434", "0.57956505", "0.5771031", "0.5732384", "0.5710995", "0.56665844", "0.5501727", "0.5487207", "0.54844326", "0.54690194", "0.5452421", "0.54477745", "0.54473794", "0.5434374", "0.5373...
0.6815825
0
This method calls the DAO layer methods to update the password.
@Override public boolean updatePassword(int userId, String password, String oldPassword){ return userDAO.updatePassword(userId,password, oldPassword); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void changePassword(String email, String pass) {\n\tStudentDAO studentDAO=new StudentDAO();\n\tstudentDAO.changePassword(email,pass);\n\t\n}", "public void updatePassword(String account, String password);", "void updateUserPassword(User user);", "@Override\r\n\tpublic void updatePassword(Integer id, S...
[ "0.7374688", "0.7177306", "0.71655506", "0.713015", "0.7029309", "0.69561017", "0.69421464", "0.6906042", "0.6895706", "0.6892299", "0.6862921", "0.6829984", "0.6707992", "0.6664439", "0.66147363", "0.6612638", "0.6561638", "0.65529054", "0.65492773", "0.6532778", "0.65318143...
0.6550362
18
TODO Autogenerated method stub
public static void main(String[] args) throws IOException, InterruptedException, ClassNotFoundException { Job job = new Job(); job.setJarByClass(EvideoJoinDMVIDFormatMR.class); job.setJobName("EvideoJoinDMVIDFormatETL"); job.getConfiguration().set("mapred.job.tracker", "local"); job.getConfiguration().set("fs.def...
{ "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
Default Constructor Method, sets size and all nodes to null.
public CustomSinglyLinkedList() { head = null; tail = head; size = 0; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public KdTree() {\n size = 0;\n }", "public KdTree()\n {\n root = null;\n size = 0;\n }", "public Node()\r\n {\r\n initialize(null);\r\n lbl = id;\r\n }", "private Node() {\n // Start empty.\n element = null;\n }", "public Graph...
[ "0.7289253", "0.71299016", "0.71177626", "0.70749044", "0.70526594", "0.7027703", "0.7012977", "0.70047367", "0.700179", "0.6995318", "0.6973295", "0.69710916", "0.6964381", "0.694689", "0.6913651", "0.6912384", "0.69093686", "0.6893137", "0.6864374", "0.6864374", "0.6840165"...
0.0
-1
method to add first node to linked list, takes a value and generates the node.
public void addFirst(String val) { ListNode newNode = new ListNode(); newNode.setData(val); newNode.setNext(head); head = newNode; if (tail == null) { tail = head; } size++; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void addFirst(Object value)\n {\n if(last == null && first == null)\n {\n ListNode temp = new ListNode(value, null);\n last = temp;\n first = temp;\n }\n else\n {\n first = new ListNode(value, first);\n }\n \n }", "public void addFirst(int value) {\n if (he...
[ "0.78831697", "0.7836188", "0.77733505", "0.7755663", "0.7044307", "0.7005978", "0.69981194", "0.698876", "0.6918293", "0.690463", "0.68765587", "0.6873741", "0.687208", "0.67688566", "0.6729057", "0.67207533", "0.6680387", "0.6678874", "0.66534555", "0.6650079", "0.6625141",...
0.7503298
4
method to add last node to linked list, takes a value and generates the node.
public void addLast(String val) { if (head != null) { ListNode newNode = new ListNode(); newNode.setData(val); newNode.setNext(null); tail.setNext(newNode); tail = newNode; size++; } else { ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void addLast(T value) {\n Node<T> node = new Node<T>(value);\n Node<T> prev = sentinel.prev;\n\n node.prev = prev;\n prev.next = node;\n sentinel.prev = node;\n node.next = sentinel;\n\n size += 1;\n }", "public Node<T> addLast(T t) { \r\n Node<T> cur...
[ "0.7986534", "0.72597766", "0.7086406", "0.70257795", "0.70006263", "0.696632", "0.6931771", "0.68847686", "0.68385243", "0.68159693", "0.67845786", "0.6777758", "0.6764346", "0.67464095", "0.6695191", "0.66629684", "0.66399443", "0.6567515", "0.6563676", "0.65400684", "0.652...
0.7408845
1
method to add node to a specified index of linked list, takes a value and generates the node.
public void addMiddle(String val, int index) { if (head != null) { ListNode newNode = new ListNode(); newNode.setData(val); if (index <= size) { ListNode indexNode = findIndexNode(index); newNode.setNext(indexNode.getNex...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void add(int index, Object value) {\n if (index > _size) {\n throw new ListIndexOutOfBoundsException(\"Error\");\n }\n ListNode node = new ListNode(value);\n if (index == 0) {\n node.next = start;\n start = node;\n } else {\n Lis...
[ "0.8293165", "0.7641848", "0.7439433", "0.74218404", "0.73591876", "0.7353965", "0.72988427", "0.72227806", "0.7194599", "0.71669835", "0.71496314", "0.7130091", "0.70717317", "0.69487983", "0.6944239", "0.69042593", "0.68616086", "0.68334097", "0.6760662", "0.67302185", "0.6...
0.0
-1
Method to return a string containing all values in the list.
public String display() { String displayString = "List Data:"; if (head != null) { ListNode itrNode = head; while (true) { displayString += (" " + itrNode.getData()); if (itrNode.getNext() != null) { ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String toString() {\n\t\tboolean first = true;\n\t\tStringWriter buf = new StringWriter();\n\t\tbuf.append('[');\n\t\tfor(String value : values) {\n\t\t\tif(first) { first = false; } else { buf.append(\",\"); }\n\t\t\tbuf.append(value);\n\t\t}\n\t\tbuf.append(']');\n\t\treturn buf.toString();\t\t\n\t}", "...
[ "0.76324964", "0.7608836", "0.7598299", "0.75544006", "0.7532293", "0.7503761", "0.7456896", "0.74309385", "0.74194795", "0.7346984", "0.734568", "0.72840375", "0.72198504", "0.7141129", "0.71220714", "0.7078183", "0.70392793", "0.7032979", "0.7031583", "0.70294183", "0.70288...
0.0
-1
Method to find a node at a specific index, does not remove said node.
public ListNode findIndexNode(int index) { //should probably hande this by throwing an exception when head == null rather than using the if statement. if (head != null) { int counter = 0; ListNode iteratorNode = head; do { i...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private Node findNode(int index){\n Node current = start;\n for(int i = 0; i < index; i++){\n current = current.getNext();\n }\n return current;\n }", "private Node find(int index)\n {\n Node curr = head;\n for(int i = 0; i < index; i++)\n {\n curr = curr.next...
[ "0.7702986", "0.75173813", "0.74573237", "0.7448458", "0.7386079", "0.7310753", "0.7055187", "0.695852", "0.6858636", "0.67709655", "0.6749627", "0.6737229", "0.6725942", "0.67165816", "0.6574192", "0.6558018", "0.65367097", "0.6535848", "0.65185136", "0.6470631", "0.6453799"...
0.7121454
6
Returns the head of the list.
public ListNode getHead() { return head; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public LinkedListNode<T> getFirstNode() {\n\t\t//return the head node of the list\n\t\treturn head;\t\t\n\t}", "public LinkedListNode<T> getFirstNode()\n\t{\n\t\treturn head;\n\t}", "public E first() {\n\r\n if (head == null) {\r\n return null;\r\n } else {\r\n return head.g...
[ "0.7798059", "0.75723565", "0.7537556", "0.7529219", "0.7523247", "0.7434988", "0.74119896", "0.73882085", "0.7365664", "0.73448855", "0.7342494", "0.7322352", "0.7321813", "0.7318258", "0.7276341", "0.7267195", "0.7231861", "0.7215346", "0.7215346", "0.7213084", "0.72106606"...
0.7294004
14
Returns the tail of the list.
public ListNode getTail() { return tail; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public synchronized ListNode getTail() {\n\t\treturn tail;\n\t}", "public node getLast() {\n\t\tif(head == null) {\n\t\t\treturn null;\n\t\t}\n\t\tnode tmp = head;\n\t\twhile(tmp.next !=null) {\n\t\t\ttmp = tmp.next;\n\t\t}\n\t\treturn tmp;\n\n\t\t//OR\n\t\t//getAt(size()-1);\n\t}", "public DoublyLinkedListNod...
[ "0.7567878", "0.7535687", "0.74990547", "0.74628997", "0.7438264", "0.7404451", "0.7394009", "0.73540765", "0.73286605", "0.73087037", "0.73087037", "0.72985476", "0.7296154", "0.72239625", "0.7215646", "0.7214527", "0.71941954", "0.7183275", "0.7165262", "0.71163523", "0.711...
0.7477618
3
Returns the size of the list.
public int getSize() { return size; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int getSize(){\n\t\tint size = list.size();\n\t\treturn size;\n\n\t}", "public int size()\n\t{\n\t\treturn listSize;\n\t}", "public int size()\n\t{\n\t\treturn list.size();\n\t}", "public int size()\n\t{\n\t\treturn list.size();\n\t}", "public int getSize() {\n return list.size();\n }", ...
[ "0.88597226", "0.8718416", "0.8652912", "0.8652912", "0.86475277", "0.8634148", "0.8628375", "0.8610432", "0.8600708", "0.8600708", "0.8600559", "0.85651475", "0.8519638", "0.85162616", "0.841852", "0.8395951", "0.8394911", "0.83945906", "0.83944285", "0.8341377", "0.83289754...
0.0
-1
removes a node from a specific index.
public void removeNode(int index) { ListNode nodeBefore = findIndexNode(index - 1); nodeBefore.setNext(nodeBefore.getNext().getNext()); size--; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic E remove(int index) {\n\t\trangeCheck(index);\n\t\t\n\t\treturn remove(node(index));\n\t}", "public void remove(int index) {\n\t\tif ((index < 1) || (index > size))\n\t\t\tthrow new IllegalArgumentException();\n\t\telse{\n\t\t\tremove(getNode(index));\n\t\t\t}\n\t}", "public E remove(int in...
[ "0.7614253", "0.747843", "0.7398502", "0.7382464", "0.7379236", "0.73769647", "0.73622555", "0.7317959", "0.7277855", "0.7245993", "0.7210379", "0.7210379", "0.7210379", "0.7210379", "0.7194477", "0.71713144", "0.7119336", "0.7110155", "0.7090861", "0.7078772", "0.70622754", ...
0.79502773
0
Sets a specific node to be the head of the linked list. If used incorrectlty could lose the rest of the list.
public void setHead(ListNode node) { head = node; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setHead(Node head) {\n\t\tthis.head = head;\n\t}", "private void moveToHead(DLinkedNode node){\n\t\tremoveNode(node);\n\t\taddNode(node);\n\t}", "private void moveToHead(DLinkedNode node){\n this.removeNode(node);\n this.addNode(node);\n }", "private void changeHead(Node node){\n...
[ "0.8032471", "0.7765591", "0.77411425", "0.7735928", "0.76960725", "0.75824386", "0.75681555", "0.7549083", "0.7405105", "0.7206079", "0.71752244", "0.70281917", "0.69303626", "0.69287676", "0.6919971", "0.6894634", "0.6866444", "0.6861346", "0.6799502", "0.6777201", "0.67753...
0.8249693
0
Sets a specific node to be the tail of the linked list. Important to do if things have been rearranged extensively.
public void setTail(ListNode node) { tail = node; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setTail(Node tail) {\n\t\tthis.tail = tail;\n\t}", "private void moveToTail(DoubleListNode node){\n \t\tnode.prev.next = node.next;\n \t\tnode.next.prev = node.prev;\n \t\ttail.prev.next = node;\n \t\tnode.prev = tail.prev;\n \t\ttail.prev = node;\n \t\tnode.next = tail;\n \t\n ...
[ "0.77922255", "0.7233892", "0.7188797", "0.694542", "0.68470126", "0.6841813", "0.6620408", "0.66057545", "0.65166086", "0.6514749", "0.6514689", "0.6490568", "0.6445392", "0.64450663", "0.64258593", "0.6407405", "0.64013684", "0.63975966", "0.6363155", "0.6347912", "0.634172...
0.8399949
0
Gets called when the find mode has changed for the foundset used by this property's component.
void findModeChanged(boolean newFindMode);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void tellChanged(SearchTool searchTool) {\n updateAll();\n }", "void changed(DiscoveryEvent e);", "public synchronized void setChanged() {\n super.setChanged();\n }", "protected synchronized void setChanged() {\n changed = true;\n }", "protected void checkForChange()\n ...
[ "0.587903", "0.5744352", "0.55734086", "0.5480957", "0.5475408", "0.5464506", "0.5457502", "0.5425187", "0.5353885", "0.5349046", "0.5335473", "0.5326909", "0.52638876", "0.5262578", "0.52166116", "0.51979727", "0.5196214", "0.5177237", "0.51419884", "0.5133482", "0.5104853",...
0.776471
0
Figure out whether a namespace: or absolute directory structure is specified If this doesn't match anything, it's a name search
protected void loadFromListing(ListedRoot listedRoot, String query) { boolean isNameSearch = (StringUtil.firstIndexOf(query, '/', '\\', ':') == -1); // A single name without / and \ and not ending in : was specified // Try to match (=contains) all entries recursively // If a directory n...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "boolean isNamespace(Object object);", "boolean hasDirName();", "boolean isNamespaceRunning(String namespace);", "private static boolean _inNamespace(Resource resource, String namespace) {\n\t\tString resourceNamespace = resource.getNameSpace();\n\t\t\n\t\tif ( namespace.endsWith(\"/\") || namespace.endsWith(...
[ "0.58574295", "0.5851318", "0.58113813", "0.58060485", "0.5694148", "0.56732243", "0.56700957", "0.56538147", "0.5641891", "0.56001556", "0.539115", "0.5351181", "0.5319222", "0.5315315", "0.52897835", "0.52025807", "0.5159465", "0.5131642", "0.5120784", "0.5117459", "0.51156...
0.0
-1
Hides everything except the lores we add
static void hideItemAttributes(ItemStack item) { CommonTagCompound nbt = ItemUtil.getMetaTag(item, true); if (nbt != null) { nbt.putValue("HideFlags", DEFAULT_HIDE_FLAGS); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void makeInvisible() {\n\t\t\n\t\theadShape.setVisible(false);\n\t\tspine.setVisible(false);\n\t\tleftArmLine.setVisible(false);\n\t\trightArmLine.setVisible(false);\n\t\tleftLegLine.setVisible(false);\n\t\trightLegLine.setVisible(false);\n\t\tplayAgain.setVisible(false);\n\t\trevealLabel.setVisible(false);...
[ "0.745419", "0.7371837", "0.7226267", "0.7128301", "0.7093693", "0.7079448", "0.7075208", "0.7064328", "0.70099145", "0.70099145", "0.70099145", "0.70099145", "0.70099145", "0.70099145", "0.70099145", "0.70099145", "0.70099145", "0.70099145", "0.70099145", "0.70099145", "0.70...
0.0
-1
TODO Autogenerated method stub
public static void main(String[] args) { Scanner sc = new Scanner (System.in); int a = 1; int b = 1; int num; System.out.println("Digite el numero del que desea obtener el factorial: "); num = sc.nextInt(); while (b <= num) { if (b <= num) { System.out.printl...
{ "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
Add Navigation Bottom Items listener.
private void applyListener(){ mBottomNavigationView.setOnNavigationItemSelectedListener((MenuItem item) -> { int id = item.getItemId(); for (Pair<FragmentNav, String> pair : mFragmentNavsHolder) { if (pair.first.getNavigationItem() == id) { super.load...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void updateBottomNavigationItems(boolean addItems) {\n\n\t\tif (useMenuResource) {\n\t\t\tif (addItems) {\n\t\t\t\tnavigationAdapter = new AHBottomNavigationAdapter(this, R.menu.bottom_navigation_manager);\n\t\t\t\tnavigationAdapter.setupWithBottomNavigation(bottomNavigation, tabColors);\n\t\t\t\tbottomNavi...
[ "0.67644244", "0.6731748", "0.647982", "0.6474342", "0.6274522", "0.626336", "0.6255851", "0.62531245", "0.62452257", "0.62452257", "0.61570907", "0.6078192", "0.5942741", "0.58614767", "0.5852536", "0.5850348", "0.5848641", "0.58227116", "0.5805867", "0.57899404", "0.5778794...
0.7189469
0
Launch Previous Selected Fragment After Rotation Or Set Default Fragment At Initial State.
public void launchCurrentFragment(){ mBottomNavigationView.setSelectedItemId(mCurrentSelectedFragment); try { FragmentIntent fragmentIntent = new FragmentIntent(getFragmentClassFromId(mCurrentSelectedFragment)); startFragment(fragmentIntent); } catch (FragmentIntent.InVa...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void initializeDefaultFragment(Bundle savedInstanceState, int itemIndex){\n if (savedInstanceState == null){\n MenuItem menuItem = navigationView.getMenu().getItem(itemIndex).setChecked(true);\n onNavigationItemSelected(menuItem);\n }\n }", "private void resetFragme...
[ "0.64121056", "0.6191731", "0.61529773", "0.59925526", "0.59742194", "0.5927781", "0.5896164", "0.588973", "0.58210677", "0.5775578", "0.5775578", "0.5775578", "0.5775578", "0.5775578", "0.5775578", "0.5760312", "0.5758638", "0.5746692", "0.573489", "0.57300884", "0.5727317",...
0.6687213
0
Constructor for objects of class Alumno
public Alumno(String nombre,int edad) { this.nombre = nombre; this.edad = edad; numClase = inicialVal; inicialVal++; notas = new ArrayListInt(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Alumno(String nombre, String apellido) {\n this.nombre = nombre;\n this.apellido = apellido;\n this.pagames=0;\n }", "private void mockAlumno() {\n\t\tthis.alumno = new Alumno();\n\t\tthis.alumno.setNombre(\"Pepe\");\n\t\tthis.alumno.setApellido(\"Gotera\");\n\t\tthis.alumno.setApr...
[ "0.7173066", "0.6586561", "0.65829176", "0.6571576", "0.65709174", "0.64622366", "0.6403605", "0.6359479", "0.63404", "0.632567", "0.6290987", "0.6240458", "0.6198164", "0.6168362", "0.60903347", "0.608045", "0.6073463", "0.6070628", "0.6052477", "0.60392445", "0.60284626", ...
0.61369544
14
Generates a List of all files in the package "/src/test/resources/net/sf/jabref/logic/importer/fileformat"
public List<Path> getTestFiles() throws Exception { try (Stream<Path> stream = Files.list(Paths.get(BibTeXMLImporterTest.class.getResource("").toURI()))) { return stream.filter(p -> !Files.isDirectory(p)).collect(Collectors.toList()); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void generateFileList() {\r\n \r\n for (FileSet fileSet : cmtFileSetList) {\r\n DirectoryScanner dirScanner = fileSet.getDirectoryScanner();\r\n dirScanner.scan();\r\n String[] filelist = dirScanner.getIncludedFiles();\r\n String lineSeparator = Sys...
[ "0.6616234", "0.63099456", "0.6052355", "0.60288066", "0.59883946", "0.5970067", "0.5900249", "0.5883573", "0.58523226", "0.5827351", "0.57797915", "0.57636815", "0.57603383", "0.57367015", "0.57178634", "0.57162887", "0.57131076", "0.57025194", "0.5701018", "0.5685267", "0.5...
0.64876646
1
/ Null Sets the next parameter of the given SQL type to null. =
@Impure public abstract void encodeNull(int typeCode) throws DatabaseException;
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void setNull(int index, int sqlType) throws SQLException;", "public void setNull (JaqyPreparedStatement stmt, int column, ParameterInfo paramInfo) throws Exception;", "public void setNull(int parameterIndex, int sqlType) throws SQLException {\n currentPreparedStatement.setNull(parameterIndex, sqlType);\...
[ "0.6747026", "0.6580875", "0.6503112", "0.6189467", "0.6117242", "0.5938629", "0.57389474", "0.5679848", "0.56030816", "0.55945945", "0.5541273", "0.5441854", "0.54345876", "0.5412078", "0.54120505", "0.53955805", "0.53881276", "0.5312721", "0.5301202", "0.52937216", "0.52714...
0.53251433
17
Returns the SQL type that corresponds to the given custom type.
@Pure public static int getSQLType(@Nonnull CustomType customType) { final @Nullable Integer result = TYPES.get(customType); if (result == null) { throw CaseExceptionBuilder.withVariable("customType").withValue(customType).build(); } else { return result; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "RelDataType getColumnType(String sql);", "String getSQLTypeName() throws SQLException;", "public abstract String toJavaType(int sqlType);", "public String getSqlType() {\n\t\treturn this.sqlType;\n\t}", "public int getSqlType() { return _type; }", "private String getSqLiteType(Class<?> value){\r\n\t\tStr...
[ "0.7058068", "0.704638", "0.6952493", "0.68796027", "0.68512595", "0.6720394", "0.66416824", "0.6558593", "0.6539594", "0.6391569", "0.63851005", "0.6324628", "0.6284801", "0.6279121", "0.61801505", "0.6143356", "0.6143356", "0.6141007", "0.6102009", "0.60939837", "0.6071043"...
0.77898407
0
Sets the next parameter of the given custom type to null. =
@Impure public void encodeNull(@Nonnull CustomType customType) throws DatabaseException { encodeNull(getSQLType(customType)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Builder clearNilValue() {\n if (typeCase_ == 1) {\n typeCase_ = 0;\n type_ = null;\n onChanged();\n }\n return this;\n }", "@Override\n public void setNull() {\n\n }", "@Override\n\tpublic Object visitType(Type type) {\n\t\treturn null;\n\t}", ...
[ "0.59840345", "0.58296144", "0.5783941", "0.5680275", "0.5640389", "0.56193197", "0.5602672", "0.5585975", "0.55420536", "0.5492627", "0.5490148", "0.54841936", "0.546236", "0.5440501", "0.5438935", "0.5416858", "0.5396342", "0.5392656", "0.5389127", "0.5349453", "0.53471243"...
0.0
-1
TODO Autogenerated method stub
public void render(Listitem item, Object data, int index) throws Exception { }
{ "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
Daten zum TestMovie, das angelegt werden soll
@Before public void setup(){ uuid = UUID.randomUUID(); title = "The Dark Knight"; description = "Nanananana Batmaaaaan!"; startDate = new Date(2008, 01, 01); tagLabel = "Test-Tag"; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\r\n public void testGetMovieInfo() throws MovieDbException {\r\n LOG.info(\"getMovieInfo\");\r\n String language = \"en\";\r\n MovieDb result = tmdb.getMovieInfo(ID_MOVIE_BLADE_RUNNER, language);\r\n assertEquals(\"Incorrect movie information\", \"Blade Runner\", result.ge...
[ "0.6694883", "0.61372447", "0.60348135", "0.5996306", "0.5993841", "0.59543884", "0.5948776", "0.59258103", "0.58780485", "0.5870225", "0.5862953", "0.58548295", "0.5845109", "0.5811461", "0.5776147", "0.573985", "0.5705791", "0.5704748", "0.57006943", "0.56826746", "0.564884...
0.0
-1
FirstSpeak =0; speakCV=0; speak("HI");
@Override public void onClick(View view) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void speak(){\n System.out.println(\"Shark bait oooh ha haa!\");\n }", "public void speak(){\n System.out.println(\"Smile and wave boys. Smile and wave.\");\n }", "public void speak(String text);", "private void speakout(String cname) \n{\n\t{t1.speak(cname,TextToSpeech.QUEUE_FLUSH...
[ "0.72377557", "0.70874316", "0.70518786", "0.68762183", "0.68338907", "0.682951", "0.68125945", "0.67424804", "0.6703354", "0.6640301", "0.661586", "0.6549831", "0.65450937", "0.6519525", "0.6511871", "0.65062195", "0.65051603", "0.6503427", "0.64770514", "0.64632237", "0.646...
0.0
-1
Set whether the targetOffset should be interpreted as percentage of the list or an offset into the list.
public void setOffsetPercentage(boolean isPercentage) { this.offsetPercentage = isPercentage; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void SetTargetOffset(int target_offset) {\n target_offset_ = target_offset;\n }", "void setOffset(double offset);", "public void setOffset(double offset) {\n this.offset = offset;\n }", "void setExactOffset(int offset)\n {\n m_source_.setIndex(offset);\n updateInte...
[ "0.65722364", "0.63855094", "0.5866816", "0.5740337", "0.57162064", "0.5707819", "0.57028365", "0.5690096", "0.5670674", "0.5646672", "0.5634407", "0.5623841", "0.5597709", "0.5544584", "0.5523549", "0.54716575", "0.5436641", "0.5369155", "0.5368515", "0.5362361", "0.5330959"...
0.646424
1
by now I am getting rather tired of static singleton classes
private JsonUtils() { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private Singleton(){}", "private Singleton()\n\t\t{\n\t\t}", "public static utilitys getInstance(){\n\r\n\t\treturn instance;\r\n\t}", "private SingletonEager(){\n \n }", "private Singleton() {\n\t}", "private Singleton() { }", "private SingletonSample() {}", "static void useSingleton(){\n\t\...
[ "0.743938", "0.7409383", "0.74059564", "0.7393092", "0.7328383", "0.72962576", "0.72701395", "0.7248649", "0.7186486", "0.7172246", "0.70777076", "0.7032814", "0.70108145", "0.6982138", "0.6976238", "0.6932358", "0.6875229", "0.6804931", "0.6795995", "0.67943144", "0.67700756...
0.0
-1
Creates a new HelpWindow.
private FinancialTrackerHelpWindow(Stage root) { super(FXML, root); helpMessage.setText(HELP_MESSAGE); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void newHelp() {\n\t\tif(helpWindow){\n\t\t\tJOptionPane.showMessageDialog(null, \"Une fenêtre d'aide est déjà ouverte.\");\n\t\t}\n\t\telse {\n\t\t\thelpWindow = true;\n\t\t\t\n\t\t\tJFrame aide = new JFrame();\n\t\t\t\n\t\t\taide.setTitle(\"Aide\");\n\t\t\taide.setDefaultCloseOperation(JFrame.DISPOSE_ON_C...
[ "0.7625907", "0.7393724", "0.73101604", "0.7267746", "0.68268436", "0.6807219", "0.6803219", "0.6740372", "0.6696599", "0.6661594", "0.65796226", "0.6539375", "0.65339065", "0.6526793", "0.6513183", "0.63774776", "0.63101363", "0.6278252", "0.6276799", "0.62568486", "0.625062...
0.57919306
55
Creates a new HelpWindow.
public FinancialTrackerHelpWindow() { this(new Stage()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void newHelp() {\n\t\tif(helpWindow){\n\t\t\tJOptionPane.showMessageDialog(null, \"Une fenêtre d'aide est déjà ouverte.\");\n\t\t}\n\t\telse {\n\t\t\thelpWindow = true;\n\t\t\t\n\t\t\tJFrame aide = new JFrame();\n\t\t\t\n\t\t\taide.setTitle(\"Aide\");\n\t\t\taide.setDefaultCloseOperation(JFrame.DISPOSE_ON_C...
[ "0.7625907", "0.7393724", "0.73101604", "0.7267746", "0.6807219", "0.6803219", "0.6740372", "0.6696599", "0.6661594", "0.65796226", "0.6539375", "0.65339065", "0.6526793", "0.6513183", "0.63774776", "0.63101363", "0.6278252", "0.6276799", "0.62568486", "0.62506235", "0.624273...
0.68268436
4
Returns true if the help window is currently being shown.
public boolean isShowing() { return getRoot().isShowing(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isHelpMode();", "public boolean isHelpRequested() {\n return m_commandLine.hasOption(m_helpOption);\n }", "protected boolean openHelp() {\r\n\t\tboolean rc = false;\r\n\t\tMPart helpPart = getHelpPart();\r\n\t\tif (helpPart != null) {\r\n\t\t\trc = partService.isPartVisible(helpPart);\r\n\t\...
[ "0.76573867", "0.75504714", "0.7373622", "0.72508216", "0.7205517", "0.71434486", "0.66802907", "0.6672322", "0.66206574", "0.6620231", "0.65728694", "0.6558633", "0.65537256", "0.6539233", "0.65209913", "0.650763", "0.64898944", "0.6487697", "0.6471687", "0.640849", "0.63966...
0.64705104
19
Hides the help window.
public void hide() { getRoot().hide(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void exitDiaButActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_exitDiaButActionPerformed\n helpBox.setVisible(false);\n }", "public void hideIt(){\n this.setVisible(false);\n }", "public static void ShowHelpScreen() {\n ToggleVisibility(HelpPage.window);\n }",...
[ "0.71950835", "0.7158244", "0.7116338", "0.7103821", "0.6875186", "0.6834211", "0.68322295", "0.68276644", "0.6792158", "0.67776316", "0.67747307", "0.67356175", "0.67322725", "0.67149425", "0.6710713", "0.6708931", "0.6683025", "0.66499645", "0.6648124", "0.6624255", "0.6606...
0.0
-1
Focuses on the help window.
public void focus() { getRoot().requestFocus(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void handleHelp() {\n if (!helpWindow.isShowing()) {\n helpWindow.show();\n } else {\n helpWindow.focus();\n }\n }", "private void showHelp() {\n\t\tif (_OpenHelpFrame != null) {\n\t\t\t_OpenHelpFrame.requestFocus();\n\t\t\treturn;\n\t\t}\n\n\t\tfinal JTextAre...
[ "0.73914963", "0.7249624", "0.71403205", "0.69492984", "0.6892498", "0.68386096", "0.6832194", "0.67968035", "0.6790515", "0.6787999", "0.6725753", "0.671827", "0.67131895", "0.6711002", "0.6688265", "0.6615877", "0.6560146", "0.65546876", "0.65402853", "0.6511483", "0.644113...
0.0
-1
Copies the URL to the user guide to the clipboard.
@FXML private void copyUrl() { final Clipboard clipboard = Clipboard.getSystemClipboard(); final ClipboardContent url = new ClipboardContent(); url.putString(HELP_URL); clipboard.setContent(url); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void copyLinkToClipboard() {\r\n\t\tapp.copyTextToSystemClipboard(getURL());\r\n\t\tlink.selectAll();\r\n\t}", "@FXML\n private void copyHelp() {\n final Clipboard clipboard = Clipboard.getSystemClipboard();\n final ClipboardContent url = new ClipboardContent();\n url.putString(...
[ "0.739909", "0.72581625", "0.69195867", "0.68654215", "0.6809825", "0.6476164", "0.6381688", "0.6207689", "0.61141545", "0.59724253", "0.59683657", "0.59604883", "0.585987", "0.58485705", "0.58239967", "0.58049285", "0.58015496", "0.579031", "0.5773804", "0.57489955", "0.5692...
0.8358771
0
Copies the summary command template to the clipboard.
@FXML private void copySummary() { final Clipboard clipboard = Clipboard.getSystemClipboard(); final ClipboardContent url = new ClipboardContent(); url.putString(SUMMARY_MESSAGE); clipboard.setContent(url); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@FXML\n private void copyHelp() {\n final Clipboard clipboard = Clipboard.getSystemClipboard();\n final ClipboardContent url = new ClipboardContent();\n url.putString(HELP);\n clipboard.setContent(url);\n }", "@FXML\n private void copyAdd() {\n final Clipboard clipboar...
[ "0.6501255", "0.59419143", "0.5904724", "0.58518094", "0.5788051", "0.5779048", "0.57343334", "0.5723931", "0.56599486", "0.564697", "0.5642164", "0.56285393", "0.56196964", "0.5604931", "0.55178994", "0.5502727", "0.54822284", "0.5473425", "0.54462534", "0.54409695", "0.5420...
0.7798677
0
Copies the summary command template to the clipboard.
@FXML private void copyHelp() { final Clipboard clipboard = Clipboard.getSystemClipboard(); final ClipboardContent url = new ClipboardContent(); url.putString(HELP); clipboard.setContent(url); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@FXML\n private void copySummary() {\n final Clipboard clipboard = Clipboard.getSystemClipboard();\n final ClipboardContent url = new ClipboardContent();\n url.putString(SUMMARY_MESSAGE);\n clipboard.setContent(url);\n }", "@FXML\n private void copyAdd() {\n final Clip...
[ "0.7798677", "0.59419143", "0.5904724", "0.58518094", "0.5788051", "0.5779048", "0.57343334", "0.5723931", "0.56599486", "0.564697", "0.5642164", "0.56285393", "0.56196964", "0.5604931", "0.55178994", "0.5502727", "0.54822284", "0.5473425", "0.54462534", "0.54409695", "0.5420...
0.6501255
1
Copies the goto command template to the clipboard.
@FXML private void copyGoto() { final Clipboard clipboard = Clipboard.getSystemClipboard(); final ClipboardContent url = new ClipboardContent(); url.putString(GOTO_MESSAGE); clipboard.setContent(url); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@FXML\n private void copyHelp() {\n final Clipboard clipboard = Clipboard.getSystemClipboard();\n final ClipboardContent url = new ClipboardContent();\n url.putString(HELP);\n clipboard.setContent(url);\n }", "@FXML\n private void copyUrl() {\n final Clipboard clipboar...
[ "0.6321796", "0.6267459", "0.61141753", "0.6029536", "0.5963395", "0.592423", "0.590071", "0.58734494", "0.58539194", "0.5680094", "0.5658891", "0.5639038", "0.56201684", "0.5594723", "0.5570436", "0.556202", "0.55546606", "0.5551313", "0.55439836", "0.5520377", "0.5467261", ...
0.81419176
0
Copies the exit command template to the clipboard.
@FXML private void copyExit() { final Clipboard clipboard = Clipboard.getSystemClipboard(); final ClipboardContent url = new ClipboardContent(); url.putString(EXIT_MESSAGE); clipboard.setContent(url); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@FXML\n private void copyGoto() {\n final Clipboard clipboard = Clipboard.getSystemClipboard();\n final ClipboardContent url = new ClipboardContent();\n url.putString(GOTO_MESSAGE);\n clipboard.setContent(url);\n }", "@FXML\n private void copyDelete() {\n final Clipboa...
[ "0.5998207", "0.5889289", "0.58858997", "0.58846086", "0.5866437", "0.5719539", "0.56693435", "0.56298274", "0.5586349", "0.5569679", "0.54773605", "0.545055", "0.54034007", "0.5349636", "0.53461355", "0.5342278", "0.53350955", "0.5335074", "0.5324426", "0.5315602", "0.528535...
0.8128807
0
Copies the add command template to the clipboard.
@FXML private void copyAdd() { final Clipboard clipboard = Clipboard.getSystemClipboard(); final ClipboardContent url = new ClipboardContent(); url.putString(ADD_MESSAGE); clipboard.setContent(url); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void addFromClipboard() { genericClipboard(SetOp.ADD); }", "@FXML\n private void copyEdit() {\n final Clipboard clipboard = Clipboard.getSystemClipboard();\n final ClipboardContent url = new ClipboardContent();\n url.putString(EDIT_MESSAGE);\n clipboard.setConten...
[ "0.7707083", "0.640371", "0.61188", "0.61133724", "0.6102817", "0.6074207", "0.6057975", "0.5856009", "0.58495337", "0.58453065", "0.5835919", "0.5825113", "0.5822863", "0.57591766", "0.5752159", "0.57446355", "0.57420164", "0.5671873", "0.5646452", "0.5640386", "0.56352997",...
0.77452916
0
Copies the delete command template to the clipboard.
@FXML private void copyDelete() { final Clipboard clipboard = Clipboard.getSystemClipboard(); final ClipboardContent url = new ClipboardContent(); url.putString(DELETE_MESSAGE); clipboard.setContent(url); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void removeFromClipboard() { genericClipboard(SetOp.REMOVE); }", "@FXML\n private void copyHelp() {\n final Clipboard clipboard = Clipboard.getSystemClipboard();\n final ClipboardContent url = new ClipboardContent();\n url.putString(HELP);\n clipboard.setContent(url);\...
[ "0.66294456", "0.59883654", "0.5885156", "0.5821725", "0.5719077", "0.568134", "0.56615293", "0.5654452", "0.5609992", "0.5580503", "0.5548912", "0.5536754", "0.5505573", "0.54532063", "0.54521155", "0.54281056", "0.5378924", "0.5320273", "0.52694005", "0.5239144", "0.5198244...
0.796584
0
Copies the delete command template to the clipboard.
@FXML private void copyEdit() { final Clipboard clipboard = Clipboard.getSystemClipboard(); final ClipboardContent url = new ClipboardContent(); url.putString(EDIT_MESSAGE); clipboard.setContent(url); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@FXML\n private void copyDelete() {\n final Clipboard clipboard = Clipboard.getSystemClipboard();\n final ClipboardContent url = new ClipboardContent();\n url.putString(DELETE_MESSAGE);\n clipboard.setContent(url);\n }", "public void removeFromClipboard() { genericClipboard(S...
[ "0.796584", "0.66294456", "0.59883654", "0.5885156", "0.5821725", "0.568134", "0.56615293", "0.5654452", "0.5609992", "0.5580503", "0.5548912", "0.5536754", "0.5505573", "0.54532063", "0.54521155", "0.54281056", "0.5378924", "0.5320273", "0.52694005", "0.5239144", "0.5198244"...
0.5719077
5
Constructor with a null value.
public BF() { super("Body Fat", "%"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public None()\n {\n \n }", "NullValue createNullValue();", "NullValue createNullValue();", "public NullUnit() {\n super(1, 0, new InvalidLocation(), 0);\n }", "private NullSafe()\n {\n super();\n }", "NullSt (int ln) { super (ln); }", "O() { super(null); }", "@SuppressWarnings(\...
[ "0.72591364", "0.7208181", "0.7208181", "0.69398594", "0.692445", "0.6820244", "0.67390966", "0.67222595", "0.66903555", "0.667213", "0.6655407", "0.66470414", "0.66263205", "0.6595447", "0.6454142", "0.64382285", "0.64202464", "0.64198446", "0.6412404", "0.6402575", "0.64015...
0.0
-1
Constructor with a defined value.
public BF(double o) { super(o, "Body Fat", "%"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Value(){}", "public Value() {}", "public Value() {\n }", "private Value() {\n\t}", "public BabbleValue() {}", "private Node(T value) {\n\t\t\tthis.value = value;\n\t\t}", "public Constant (int value){\r\n this.value = value;\r\n\r\n }", "private OptionalValue(final Value value) {\...
[ "0.7662044", "0.76552814", "0.7388168", "0.73431045", "0.7234933", "0.7069341", "0.70189226", "0.69183016", "0.6911452", "0.68686396", "0.68342674", "0.67973405", "0.6789961", "0.6767101", "0.6735059", "0.67182213", "0.67165285", "0.67126983", "0.66829157", "0.6675254", "0.66...
0.0
-1
Constructor: Sets up furniture with pricePerHour, workedHours
public Furniture (float pricePerHour, float workedHours) { this.pricePerHour = pricePerHour; this.workedHours = workedHours; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public WorkHours() {\n //default if not yet initialised\n this._startingHour=0.00;\n this._endingHour=0.00;\n }", "public HourlyWorker () {\r\n super ();\r\n hours = -1;\r\n hourlyRate = -1;\r\n salary = -1;\r\n }", "public HourlyWorker (String fName, Stri...
[ "0.68279725", "0.66843194", "0.6226486", "0.6118914", "0.6046997", "0.6040137", "0.6002102", "0.59263206", "0.57569075", "0.5748234", "0.574755", "0.57188076", "0.5716433", "0.5710255", "0.5654706", "0.56360704", "0.56328", "0.56164515", "0.55968755", "0.55609614", "0.5535768...
0.87059045
0
Convert the args to a job configuration
public static void main(String[] args) throws Exception { Configuration jobConfig = LoaderConfiguration.parseCommandLine(args); // If discovery enabled find the mongos list from the supplied URI ConnectionManager.configureMongoConnection(jobConfig); // Get the unique ID for this job String jobId = getJ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private Job getJobConf(String[] args) throws Exception {\n\n\t\tJobInfo jobInfo = new JobInfo() {\n\t\t\t@Override\n\t\t\tpublic Class<? extends Reducer> getCombinerClass() {\n\t\t\t\treturn null;\n\t\t\t}\n\n\t\t\t@Override\n\t\t\tpublic Class<?> getJarByClass() {\n\t\t\t\treturn TopologicalJob.class;\n\t\t\t}\n\...
[ "0.7084274", "0.6067014", "0.58038926", "0.56102836", "0.5606856", "0.5332739", "0.5315364", "0.52975726", "0.5260978", "0.51971173", "0.51427835", "0.5134715", "0.5102355", "0.5060291", "0.5053204", "0.50468606", "0.50368446", "0.50252604", "0.5024018", "0.50226295", "0.4972...
0.4853899
37
this function runs and reads update from server
public void run() { while(true){ //recieve new state //StoryFactory.getInstance().setAllLogs((ArrayList<ArrayList<UserStory>>) inputFromServer.readObject()); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void receivedUpdateFromServer();", "public void run()\n\t{\n\t\tString releaseFilename = null;\n\n\t\t// 1. Find the local release.xml file. Bail with exception if we cannot find it.\n\t\ttry\n\t\t{\n\t\t\treleaseFilename = _util.getLocalReleaseFile().getAbsolutePath();\n\t\t}\n\t\tcatch (Exception e)\n\t...
[ "0.7241228", "0.6410259", "0.6390899", "0.6289019", "0.6276581", "0.62474316", "0.618287", "0.6182455", "0.6173233", "0.6150821", "0.61025083", "0.6098798", "0.60905564", "0.6080969", "0.60704577", "0.6057467", "0.60466915", "0.60365456", "0.60167295", "0.6014184", "0.6008539...
0.63255525
3
wrapper func for observable class to call
@Override public void update(Observable o, Object arg) { updateUI(); StoryFactory.getInstance().saveState(); updateServer(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract void update(Observable o, java.lang.Object arg);", "@Override\n public void update(Observable o, Object arg) {\n\n }", "@Override\n public void update(Observable arg0, Object arg1) {\n \n }", "@Override\n public void update(Observable o, Object arg)\n {\n \n ...
[ "0.61192936", "0.60934156", "0.6074473", "0.6061904", "0.6059576", "0.6039604", "0.60338604", "0.6033052", "0.6021124", "0.60182124", "0.59915465", "0.59789693", "0.5943253", "0.5943253", "0.59335995", "0.58785975", "0.5878588", "0.5856322", "0.58333236", "0.58176816", "0.577...
0.0
-1
TODO Autogenerated method stub
@Override public void execute(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { User user = (User) request.getSession().getAttribute("user"); String redirect = "Controller?command=" + commandAnswer + "&message=" + user.getLogin() + " " + " logged out!&action=" +...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
This pass only runs once.
@Override protected int getNumRepetitions() { return 1; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void runBeforeIteration() {}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "@Override\n protected void runOneIteration() throws Exception {\n }", "@Override\n public void perish() {\n \n }", "@Override\r\n\tprotected void doFirst() {\n\t\t\r\n\t}", "@Override\n\tpubl...
[ "0.64521194", "0.6415122", "0.62942713", "0.6268014", "0.6241411", "0.6216513", "0.6176992", "0.6126", "0.60827416", "0.60812616", "0.6072991", "0.60489595", "0.60388434", "0.5997647", "0.59917665", "0.59917665", "0.5979024", "0.5938463", "0.5913719", "0.58811843", "0.5881184...
0.5800992
24
Default capacity of the ArrayList
public GenericDynamicArray() {this(11);}
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ArrayList() { // constructs list with default capacity\n this(CAPACITY);\n }", "public ArrayList() {\n elements = new Object[DEFAULT_CAPACITY];\n }", "public MyArrayList(int capacity) {\n\t\tarray = new Object[capacity];\n\t}", "@SuppressWarnings(\"unchecked\")\n public ArrayList...
[ "0.77067393", "0.76611495", "0.7655623", "0.7586232", "0.75079817", "0.74774534", "0.74644095", "0.74300414", "0.740219", "0.7400713", "0.737108", "0.7202292", "0.7172251", "0.7160732", "0.7156379", "0.71375746", "0.70872015", "0.70055395", "0.6940266", "0.6920733", "0.691419...
0.0
-1
Create a list with the specified capacity
public GenericDynamicArray(int initialCapacity) { if (initialCapacity < 0) throw new IllegalArgumentException("Illegal array size: " + initialCapacity); this.capacity = initialCapacity; genericArrayList = (T[]) new Object[initialCapacity]; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract protected Object newList( int capacity );", "public FixedSizeList(int capacity) {\n // YOUR CODE HERE\n }", "public SimpleList(int capacity) {\n this.values = new Object[capacity];\n }", "public MyArrayList(int capacity) {\r\n\t\t//checks if the capacity of the list exceeds the m...
[ "0.8557637", "0.7818464", "0.7662652", "0.72964305", "0.7256265", "0.72501504", "0.71995664", "0.71772194", "0.7169056", "0.7149062", "0.70738125", "0.70695543", "0.694623", "0.69375634", "0.69178516", "0.68859404", "0.68570155", "0.68033606", "0.6768668", "0.67645276", "0.67...
0.0
-1
set en element at a specified index
public void set(int index, T element) { genericArrayList[index] = element; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void set(int index, Object element);", "public void setElementAt(Object obj, int index);", "public E set(int index, E element);", "void setArrayElement(int index, Object value);", "void setArrayElement(int index, Object value);", "public void set(int index, Object wert) {\r\n\t\t// Das Element an der Ste...
[ "0.78796965", "0.75345254", "0.7532024", "0.74465334", "0.74465334", "0.74086744", "0.7338841", "0.71674025", "0.71491206", "0.71368253", "0.70993114", "0.7076895", "0.7073336", "0.7066456", "0.7051342", "0.7049846", "0.6989925", "0.6935735", "0.69328326", "0.6928253", "0.688...
0.6967079
17
assign all elements of the list to null
public void clear() { for (int i = 0; i < size; i++) genericArrayList[i] = null; size = 0; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setNull(){\n for (int i = 0; i < Nodes.size(); i++){\n this.References.add(null);\n }\n }", "public void removeAll() {\n this.arrayList = null;\n this.arrayList = new ArrayList<>();\n }", "public void clearListNotIndex(){\n for(int z=0; z<list.len...
[ "0.68063504", "0.6776266", "0.6756879", "0.6747042", "0.66814774", "0.66756237", "0.66374713", "0.65942734", "0.65889835", "0.65861875", "0.65853816", "0.65632206", "0.6560476", "0.6546563", "0.6526641", "0.6509424", "0.6505981", "0.6466335", "0.64607626", "0.6454176", "0.640...
0.6131863
49
Add an element to the list If the array capacity is full then the capacity is doubled
public void add(T element) { if (size + 1 >= capacity) { if (capacity == 0) capacity = 1; else capacity *= 2; // double the array size T[] tempArrayList = (T[]) new Object[capacity]; for (int i = 0; i < size; i++) tempArrayList[i] = genericArrayList[i]; ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void add(E element){\n if(size==capacity){\n capacity *=2;\n E[] array2 = (E[]) new Object[capacity];\n if (size >= 0) System.arraycopy(array, 0, array2, 0, size);\n array2[size]=element;\n array=array2;\n }else{\n array[size]=e...
[ "0.7973157", "0.7838693", "0.7642808", "0.7618745", "0.75495875", "0.74917066", "0.7406225", "0.7377062", "0.7376619", "0.7300359", "0.7288666", "0.72515434", "0.72347593", "0.7167525", "0.71549267", "0.7150793", "0.711741", "0.70862395", "0.70687675", "0.7038152", "0.7031842...
0.76769525
2
Removes an element at a specific index
public T removeAt(int index) { if (index >= size || index < 0) throw new IndexOutOfBoundsException(); T tempData = genericArrayList[index]; T[] tempArrayList = (T[]) new Object[size - 1]; for (int i = 0, j = 0; i < size; i++, j++) { if (i == index) j--; // skip over removeAtI...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void removeElementAt(int index);", "public void remove(int index);", "void remove( int index );", "void remove(int index);", "void remove(int index);", "void remove(int index);", "void remove(int index);", "public Type remove(int index);", "public void remove(int index) {\n\n\t}", "public ...
[ "0.8862821", "0.87313855", "0.8592786", "0.85292125", "0.85292125", "0.85292125", "0.85292125", "0.8480247", "0.84205616", "0.8410753", "0.83579385", "0.8290735", "0.8290735", "0.82351613", "0.81300926", "0.8120797", "0.8111432", "0.8111372", "0.80732334", "0.80705476", "0.80...
0.7493435
62
Checks the index of a specific object in the list
public int indexOf(Object object) { for (int i = 0; i < size; i++) { if (object == null) { if (genericArrayList[i] == null) return i; }else { if (object.equals(genericArrayList[i])) return i; } } return -1; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public int indexOf(Object obj)\r\n {\r\n int index = 0;\r\n for (E element : this)\r\n {\r\n if (Utilities.nullSafeEquals(element, obj))\r\n {\r\n return index;\r\n }\r\n ++index;\r\n }\r\n return BAD_POSITION;\r\n ...
[ "0.68670565", "0.68426603", "0.6807834", "0.67558765", "0.6643509", "0.6631969", "0.65955603", "0.65925264", "0.65048933", "0.64699435", "0.6414876", "0.64145863", "0.64067256", "0.63866496", "0.6296079", "0.6293708", "0.6284646", "0.62811744", "0.6240837", "0.6239018", "0.61...
0.63941985
13
Implemented methods of the Iterator interface
@Override public Iterator<T> iterator() { return new Iterator<T>() { int index = 0; @Override public boolean hasNext() { return index < size; } @Override public T next() { return genericArrayList[index+...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n Iterator<E> iterator();", "@Override\n Iterator<T> iterator();", "@Override\n @Nonnull Iterator<T> iterator();", "private static void iterator() {\n\t\t\r\n\t}", "@Override\n public Iterator<Integer> iterator() {\n return new IteratorImplementation();\n }", "@Override\...
[ "0.8298262", "0.82738686", "0.8096033", "0.79114455", "0.764319", "0.76224554", "0.761896", "0.75939065", "0.7490546", "0.7490546", "0.74562955", "0.74562955", "0.74562955", "0.74552083", "0.74552083", "0.74552083", "0.74552083", "0.7399855", "0.73982084", "0.7391862", "0.735...
0.67950517
98
return n > 0 && ((n & (n 1)) == 0);
public boolean isPowerOfTwo(int n) { return n > 0 && ((n & (-n)) == n); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "static boolean isPowerOfTwo(int n) \n{\n\tif (n==0) return false;\n \treturn (n & (n-1)) == 0;\n}", "boolean isOddOrEven(int n){\n return (n & 1) == 0;\n }", "bool isEven(int n)\r\n{\n\tif (n ^ 1 == n + 1)\r\n\t\treturn true;\r\n\telse\r\n\t\treturn false;\r\n}", "static boolean boolFrBit(int inpu...
[ "0.7316333", "0.72753173", "0.6960766", "0.6813097", "0.6780804", "0.6746147", "0.66639864", "0.6651463", "0.66502714", "0.66170275", "0.66015863", "0.66007495", "0.65780586", "0.6550442", "0.6550442", "0.64649224", "0.644216", "0.6438235", "0.6407379", "0.6406773", "0.640597...
0.6838621
3
Interface defining relation between collection and image.
public interface CollectionImageDAO extends GenericDAO<CollectionImage> { /** * Returns CollectionImage by filter collection owner id and image id. * @param ownerId * @param imageId */ CollectionImage findBy(Long ownerId, Long imageId); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Collection<GeneralImage> getGeneralImageCollection(){\n\t\treturn generalImageCollection;\n\t}", "public interface CollectionField extends RelationField {\n\n}", "public interface Image {\n /**\n * @return the image ID\n */\n String getId();\n\n /**\n * @return the image ID, or null...
[ "0.6381076", "0.6371345", "0.62880284", "0.62733", "0.62155527", "0.6138077", "0.6104884", "0.60602534", "0.60435426", "0.60213375", "0.6017991", "0.6000015", "0.5971298", "0.59633625", "0.5949011", "0.5943813", "0.59229696", "0.59138536", "0.5846388", "0.5809239", "0.5801900...
0.60396534
9
Returns CollectionImage by filter collection owner id and image id.
CollectionImage findBy(Long ownerId, Long imageId);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface CollectionImageDAO extends GenericDAO<CollectionImage> {\n\n /**\n * Returns CollectionImage by filter collection owner id and image id.\n * @param ownerId\n * @param imageId\n */\n CollectionImage findBy(Long ownerId, Long imageId);\n}", "CategoryImageDTO findOne(Long id);...
[ "0.62090313", "0.58091855", "0.5669504", "0.5513395", "0.5510923", "0.5505543", "0.54947793", "0.5344065", "0.5327158", "0.5308926", "0.52793986", "0.52767134", "0.5257847", "0.52497745", "0.5245832", "0.5208838", "0.52034557", "0.51780385", "0.51163995", "0.51136947", "0.510...
0.8084227
0
Converts a ProjectTeam object to XML.
public void convertProjectTeam2XML(ProjectTeam team, File xml) throws IOException, TransformerException { //Setup XSLT TransformerFactory factory = TransformerFactory.newInstance(); Transformer transformer = factory.newTransformer(); /* Note: We use the identi...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private String getTeamDeckXML(int teamId, int classId) {\n\t\t//get students, take each student's Deck XML, cocatenate on string\n\t\tArrayList<Integer> teamIds = DatabaseManager.loadTeamStudentIds(teamId/*, classId*/);\n\n\t\tString xml = \"<team_deck>\";\n\t\tfor(int studentId : teamIds) {\n\t\t\tString deck = g...
[ "0.5544175", "0.54592705", "0.53434193", "0.5341167", "0.5307367", "0.52505934", "0.52457106", "0.5242364", "0.5142376", "0.5081897", "0.5032315", "0.5006036", "0.5004982", "0.4995991", "0.49789503", "0.49431768", "0.49254242", "0.49223918", "0.49223918", "0.49223918", "0.491...
0.65243816
0
Creates a sample ProjectTeam instance for this demo.
public static ProjectTeam createSampleProjectTeam() { ProjectTeam team = new ProjectTeam(); team.setProjectName("Rule the Galaxy"); team.addMember(new ProjectMember( "Emperor Palpatine", "lead", "palpatine@empire.gxy")); team.addMember(new ProjectMember( "...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Team createTeam();", "void create(Team team);", "LectureProject createLectureProject();", "public void newTeam(Team team);", "public Team() {\r\n id = \"\";\r\n abbreviation = \"\";\r\n name = \"\";\r\n conference = \"\";\r\n division = \"\";\r\n address = null;\r\...
[ "0.7039396", "0.6798134", "0.63629365", "0.62618905", "0.61900526", "0.61730933", "0.615919", "0.6155381", "0.6142226", "0.6142226", "0.6142226", "0.60529613", "0.60044014", "0.5932901", "0.5914392", "0.59125555", "0.59080344", "0.58415073", "0.58354634", "0.58242476", "0.581...
0.82211065
0
Returns the data as an observable list of Jobs.
public ObservableList<Job> getJobData() { return jobData; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ArrayList<Job> getJobs(){\n return jobs;\n }", "public java.util.List<cb.Careerbuilder.Job> getJobsList() {\n return jobs_;\n }", "@Override\r\n\tpublic List<IncomingJobResponse> getJobList() {\n\t\tList<IncomingJobs> js = (List<IncomingJobs>)incomingRepository.fetchincomingJobs();\r\n...
[ "0.71686876", "0.7144819", "0.70352226", "0.7007252", "0.69736594", "0.6888961", "0.67132646", "0.6676999", "0.6673633", "0.6580212", "0.65175253", "0.648933", "0.6447429", "0.642749", "0.6129498", "0.6122778", "0.60780394", "0.6076013", "0.60672724", "0.60411817", "0.6011433...
0.7646578
0
Initializes the root layout and tries to load the last opened job file.
public void initRootLayout() { try { // Load root layout from fxml file. FXMLLoader loader = new FXMLLoader(); loader.setLocation(MainApp.class.getResource("view/RootLayout.fxml")); rootLayout = loader.load(); // Show the scene containing the root lay...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void initRootLayout() {\r\n try {\r\n // Load root layout from fxml file.\r\n FXMLLoader loader = new FXMLLoader();\r\n loader.setLocation(getClass().getResource(\"/view/rootlayout.fxml\"));\r\n rootLayout = (BorderPane) loader.load();\r\n \r\n ...
[ "0.59937334", "0.5956233", "0.58969706", "0.58254343", "0.5824313", "0.58124954", "0.57304436", "0.57167226", "0.57024634", "0.56382334", "0.55569124", "0.5519463", "0.5504225", "0.54798514", "0.54428303", "0.5440324", "0.53789634", "0.53658605", "0.53457844", "0.5343354", "0...
0.8127205
0
Shows the job overview inside the root layout.
public void showJobOverview() { try { // Load job overview. FXMLLoader loader = new FXMLLoader(); loader.setLocation(MainApp.class.getResource("view/JobOverview.fxml")); HBox jobOverview = loader.load(); // Set job overview into the center of root lay...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void EmployeeJob() {\r\n\t\t\r\n\t\tJLabel e4 = new JLabel(\"Employee's Job:\");\r\n\t\te4.setFont(f);\r\n\t\tGUI1Panel.add(e4);\r\n\t\tGUI1Panel.add(employeeJobType);\r\n\t\te4.setHorizontalAlignment(JLabel.LEFT);\r\n\t\tGUI1Panel.add(Box.createHorizontalStrut(5));\r\n\t}", "@Override\r\n\tpublic ...
[ "0.6121327", "0.6047068", "0.59862864", "0.5893406", "0.5775208", "0.57606876", "0.5672753", "0.56130236", "0.5475086", "0.54023117", "0.53850985", "0.5379471", "0.53080595", "0.5307389", "0.5281629", "0.5250622", "0.52295357", "0.52224106", "0.52159184", "0.52071923", "0.520...
0.82022166
0
Returns the main stage.
public Stage getPrimaryStage() { return primaryStage; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static Stage getMainStage() {\n return mainStage;\n }", "String getStage();", "public static Stage getMainStage(){\r\n return mainStage;\r\n }", "public static Stage getPrimaryStage()\n {\n return Main.primaryStage;\n }", "@Override\n\tpublic java.lang.String getStag...
[ "0.8080446", "0.7996165", "0.7922653", "0.7838635", "0.77958125", "0.77662057", "0.7757318", "0.7655074", "0.76437825", "0.76144445", "0.76144445", "0.7525303", "0.7523813", "0.75173116", "0.75173116", "0.75173116", "0.7493669", "0.7472586", "0.74619114", "0.7350271", "0.7266...
0.75050616
21
Opens a dialog to edit details for the specified job. If the user clicks OK, the changes are saved into the provided job object and true is returned.
public boolean showJobEditDialog(Job job) { try { // Load the fxml file and create a new stage for the popup dialog. FXMLLoader loader = new FXMLLoader(); loader.setLocation(MainApp.class.getResource("view/JobEditDialog.fxml")); AnchorPane page = loader.load(); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void updateBuildingButtonClicked() {\n Building building = tableBuilding.getSelectionModel().getSelectedItem();\n\n Alert alert = new Alert(Alert.AlertType.INFORMATION);\n alert.setTitle(\"Information Dialog\");\n alert.setHeaderText(null);\n String success = Buildi...
[ "0.59592706", "0.58830124", "0.5865307", "0.5729085", "0.56920093", "0.56008226", "0.5539123", "0.54551506", "0.5370646", "0.53285986", "0.52934146", "0.5283544", "0.5276769", "0.5273402", "0.5239845", "0.5236334", "0.51815224", "0.5172871", "0.51532173", "0.51476735", "0.514...
0.8401428
0
Returns the job file preference, i.e. the file that was last opened. The preference is read from the OS specific registry. If no such preference can be found, null is returned.
public File getJobFilePath() { Preferences prefs = Preferences.userNodeForPackage(MainApp.class); String filePath = prefs.get(powerdropshipDir, null); if (filePath != null) { return new File(filePath); } else { return null; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public File getPreferencesFile() {\n\t\treturn preferencesFile;\n\t}", "public String getOpenFilePath() {\n\t\treturn filePath.getText();\n\t}", "public static File loadFilePath() {\n Preferences prefs = Preferences.userNodeForPackage(Main.class);\n String filePath = prefs.get(\"filePath\", null)...
[ "0.62322545", "0.5852107", "0.57679975", "0.56159824", "0.55552053", "0.55423325", "0.55112445", "0.54659486", "0.54489064", "0.54090333", "0.53883696", "0.53880197", "0.5358085", "0.5331896", "0.5325218", "0.53218025", "0.5318299", "0.5241949", "0.52411765", "0.52372754", "0...
0.69265246
0
Sets the file path of the currently loaded file. The path is persisted in the OS specific registry.
public void setJobFilePath(File file) { Preferences prefs = Preferences.userNodeForPackage(MainApp.class); if (file != null) { prefs.put(powerdropshipDir, file.getPath()); primaryStage.setTitle("PowerDropship - " + file.getName()); } else { prefs.remove(power...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setPath(File path) {\n this.path = path;\n }", "void setPath(String path);", "void setFilePath(Path filePath);", "public void setPath(String path);", "public void setSystemPath(String path) {\r\n\t\ttry {\r\n\t\t\tPaths.get(path);\r\n\t\t} catch (InvalidPathException e) {\r\n\t\t\tSys...
[ "0.7123164", "0.70754147", "0.70558226", "0.701337", "0.687991", "0.68549585", "0.6797436", "0.67568195", "0.6719475", "0.6715272", "0.66718465", "0.66571957", "0.6635182", "0.6631033", "0.66277236", "0.6581739", "0.65716547", "0.6500651", "0.6418467", "0.6405708", "0.6397665...
0.6124712
49
Loads job data from the specified file. The current job data will be replaced.
public void loadJobDataFromFile(File file) { try { JAXBContext context = JAXBContext.newInstance(JobListWrapper.class); Unmarshaller um = context.createUnmarshaller(); // Reading XML from the file and unmarshalling. JobListWrapper wrapper = (JobListWrapper) um.u...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void reloadData() throws IOException\n {\n /* Reload data from file, if it is modified after last scan */\n long mtime = loader.getModificationTime();\n if (mtime < lastKnownMtime) {\n return;\n }\n lastKnownMtime = mtime;\n\n InputStream in = loader.getInputStream();\n BufferedR...
[ "0.60137486", "0.59387726", "0.5929463", "0.591692", "0.58967483", "0.5855435", "0.5773004", "0.5770762", "0.57638246", "0.5742887", "0.5684732", "0.5681876", "0.5667723", "0.5663167", "0.56471413", "0.5631598", "0.5621568", "0.56203777", "0.56136835", "0.56033844", "0.560152...
0.7878424
0
Saves the current job data to the specified file.
public void saveJobDataToFile(File file) { try { JAXBContext context = JAXBContext.newInstance(JobListWrapper.class); Marshaller m = context.createMarshaller(); m.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, true); // Wrapping our job data. JobListW...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void save() {\n UTILS.write(FILE.getAbsolutePath(), data);\n }", "synchronized public void saveToFile() {\n try {\n saveObjToFile(this, saveFilePath);\n } catch (IOException e) {\n e.printStackTrace();\n log(\"error saving resource to file\");\n ...
[ "0.7072972", "0.67661065", "0.6554848", "0.6546108", "0.65155715", "0.6466826", "0.6441862", "0.6432456", "0.6424418", "0.64090806", "0.63959444", "0.63312906", "0.63200164", "0.6297608", "0.6293703", "0.6280165", "0.62488115", "0.6241497", "0.6234123", "0.6224191", "0.621449...
0.716487
0
Instance of BaseAuditContestInterceptor should be created.
public void testConstructor() { assertNotNull(new BaseAuditContestInterceptor() { }); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void setUp() throws Exception {\r\n instance = new LoggingInterceptor();\r\n }", "public InterceptTest() {}", "public MyCustomInterceptor(UtilisateurDAO userDAO){\r\n this.userDAO = userDAO ;\r\n }", "private DocumentInterceptor(Context ctx) {\n }", "public DlyBilngCntrlAudit...
[ "0.6258704", "0.61400324", "0.5912247", "0.58044773", "0.5668828", "0.5612273", "0.5509345", "0.5406111", "0.5371192", "0.53436947", "0.53352654", "0.5274864", "0.5265117", "0.525936", "0.5243734", "0.5233076", "0.523177", "0.5222142", "0.5210758", "0.51894444", "0.5187096", ...
0.75183576
0
Get the unit name.
public String getUnitName() throws Exception { return (String) getField(BaseAuditContestInterceptor.class, this, "unitName"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getUnitName() {\r\n return unitName;\r\n }", "public String getUnitName() {\n return unitName;\n }", "public String getUnitName() {\n return unitName;\n }", "public String getUnitName () {\n return unitName;\n }", "public String getUnit() {\n\t\...
[ "0.8327177", "0.8320149", "0.8320149", "0.82967585", "0.76850444", "0.76715755", "0.753179", "0.7503496", "0.7492741", "0.7472996", "0.7472996", "0.7472996", "0.7397689", "0.73949844", "0.7346315", "0.73328274", "0.72955686", "0.71070135", "0.7041896", "0.69380444", "0.688785...
0.76849544
5
Check if result has been cached in meantime
@Override public void push(State s) throws RPLException { if (function.containsCachedValue(values)) { // Push out rest boolean start = false; for (RankedItem<Object> ci: getFunction().getCachedValue(values)) { State cs = new State(in.create(assignToVar, ci.item), ci.rank); if (!...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isCached() {\n return true;\n }", "boolean isCacheInitialized();", "public boolean isCacheResults() {\n return cacheResults;\n }", "public boolean existCache() {\n return false;\n }", "protected boolean checkCache()\n\t{\n\t\ttry {\n\t\t\tStream<String> lines = ...
[ "0.74296206", "0.70496094", "0.6910336", "0.6860877", "0.6839987", "0.67765844", "0.67235935", "0.6625674", "0.6622771", "0.6622546", "0.6573572", "0.6557994", "0.6557285", "0.6552146", "0.6528533", "0.6519285", "0.64936167", "0.648966", "0.6417368", "0.63802093", "0.6358763"...
0.0
-1
ORADB Procedure AINK_INT_ATU.ATUALIZA_IND_SAIDA_PAC Atualiza indicador de saida do paciente.
public Boolean atualizarIndicadorSaidaPaciente(final Date dtSaidaPaciente) { return dtSaidaPaciente == null ? false : true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void atualizaSolicitacoesEfetuadas(final Integer codigoPaciente, Boolean substituirProntuario)\r\n\t\t\tthrows ApplicationBusinessException {\r\n\t\t// ------------------------------------------------------------------------\r\n\t\t// -- Atualiza Solicitacoes Efetuadas\r\n\t\t// -- 1. Atualiza a solicitação...
[ "0.5401801", "0.53145146", "0.5309731", "0.5227338", "0.5134023", "0.50973094", "0.5067601", "0.5063046", "0.5035484", "0.49821317", "0.49659517", "0.49600315", "0.49558964", "0.48957008", "0.4877043", "0.48608643", "0.48606977", "0.4832042", "0.48213193", "0.4814595", "0.481...
0.5113563
5
ORADB Procedure/Function AINK_INT_ATU.ATU_SOLICITACOES_EFETUADAS Atualiza Solicitacoes Efetuadas.
public void atualizaSolicitacoesEfetuadas(final Integer codigoPaciente, Boolean substituirProntuario) throws ApplicationBusinessException { // ------------------------------------------------------------------------ // -- Atualiza Solicitacoes Efetuadas // -- 1. Atualiza a solicitação de internação como pe...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void main(String[] args){\n \r\n Log.registroTraza( \"Iniciando ejecución de la tarea SolicitudesAVencerse\");\r\n \r\n String strSQL, strFechaRecibo, strReqRpta, strRadicado, strIdResp = \"\";\r\n int totalSolAlertadas=0, totalSolVencidas=0;\r\n String[] strTemp = null;\r\n ...
[ "0.5593661", "0.5480337", "0.5433891", "0.5397028", "0.53852576", "0.5360762", "0.53431803", "0.5245186", "0.52125174", "0.516583", "0.5150019", "0.5143195", "0.5136136", "0.51335275", "0.5117802", "0.5116874", "0.5108907", "0.510395", "0.5094685", "0.5072829", "0.50647956", ...
0.56036234
0
ORADB Procedure AINK_INT_ATU.ATUALIZA_ALTA_OBITO Evento PA = Processo Alta
public void atualizaAltaObitoProcessaAlta( final AinTiposAltaMedica tipoAltaMedica, final AipPacientes paciente, final Date dataAltaMedica, String nomeMicrocomputador, final Date dataFimVinculoServidor) throws ApplicationBusinessException { final String codTipoAltaMedica = tipoAltaMedica == null ? null ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void acionarInadimplencia(InstrumentoFinanceiroDO ativo);", "public void anulaAvaluo() {\r\n try {\r\n if (\"\".equals(mBRadicacion.Radi.getObservacionAnulaAvaluo())) {\r\n mbTodero.setMens(\"Falta informacion por Llenar\");\r\n mbTodero.warn();\r\n ...
[ "0.56131524", "0.5608206", "0.5568132", "0.55632555", "0.5552268", "0.5518676", "0.54160327", "0.5395978", "0.53839767", "0.536161", "0.53548837", "0.5283136", "0.5267394", "0.5253762", "0.52416366", "0.52307546", "0.5229273", "0.52246666", "0.5218071", "0.5205119", "0.520046...
0.59791696
0