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
POST /syscouponclassifies : Create a new sysCouponClassify.
@PostMapping("/sys-coupon-classifies") @Timed public ResponseEntity<SysCouponClassify> createSysCouponClassify(@RequestBody SysCouponClassify sysCouponClassify) throws URISyntaxException { log.debug("REST request to save SysCouponClassify : {}", sysCouponClassify); if (sysCouponClassify.getId() != null) { throw new BadRequestAlertException("A new sysCouponClassify cannot already have an ID", ENTITY_NAME, "idexists"); } SysCouponClassify result = sysCouponClassifyService.save(sysCouponClassify); return ResponseEntity.created(new URI("/api/sys-coupon-classifies/" + result.getId())) .headers(HeaderUtil.createEntityCreationAlert(ENTITY_NAME, result.getId().toString())) .body(result); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void createCoupon(Coupon coupon) throws DbException;", "@GetMapping(\"/sys-coupon-classifies/{id}\")\n @Timed\n public ResponseEntity<SysCouponClassify> getSysCouponClassify(@PathVariable Long id) {\n log.debug(\"REST request to get SysCouponClassify : {}\", id);\n Optional<SysCouponClassify> sysCouponClassify = sysCouponClassifyService.findOne(id);\n return ResponseUtil.wrapOrNotFound(sysCouponClassify);\n }", "@GetMapping(\"/sys-coupon-classifies\")\n @Timed\n public List<SysCouponClassify> getAllSysCouponClassifies() {\n log.debug(\"REST request to get all SysCouponClassifies\");\n return sysCouponClassifyService.findAll();\n }", "@Override\n\t/**\n\t * Accepts predefined Coupon object and writes it to Coupon table in the\n\t * database\n\t */\n\tpublic int createCoupon(Coupon coupon) throws CouponSystemException {\n\t\tConnection con = null;\n\t\t// Getting a connection from the Connection Pool\n\t\tcon = ConnectionPool.getInstance().getConnection();\n\t\t// Defining Coupon ID variable to return\n\t\tint couponID = -1;\n\n\t\ttry {\n\t\t\t// Checking if Coupon title already exists in DB\n\t\t\t// PreparedStatement pstmt1 = null;\n\t\t\t// String nameExist = \"SELECT * FROM Coupon where Title = ?\";\n\t\t\t// pstmt1 = con.prepareStatement(nameExist);\n\t\t\t// pstmt1.setString(1, coupon.getTitle());\n\t\t\t// ResultSet result = pstmt1.executeQuery();\n\t\t\t// if (result.next()) {\n\t\t\t// System.out.println(\"Coupon title already exists in Database,\n\t\t\t// please choose another one.\");\n\t\t\t// } else {\n\n\t\t\t// Defining SQL string to insert Coupon via prepared statement\n\t\t\tString createCouponSQL = \"insert into coupon (title, start_date, end_date, expired, type, message, price, image) values (?,?,?,?,?,?,?,?)\";\n\t\t\t// Creating prepared statement with predefined SQL string\n\t\t\tPreparedStatement pstmt = con.prepareStatement(createCouponSQL);\n\t\t\t// Fetching variables into SQL string via Coupon bean\n\t\t\tpstmt.setString(1, coupon.getTitle());\n\t\t\tpstmt.setDate(2, getSqlDate(coupon.getStart_date()));\n\t\t\tpstmt.setDate(3, getSqlDate(coupon.getEnd_date()));\n\t\t\tpstmt.setString(4, coupon.getExpired());\n\t\t\tpstmt.setString(5, coupon.getType());\n\t\t\tpstmt.setString(6, coupon.getMessage());\n\t\t\tpstmt.setInt(7, coupon.getPrice());\n\t\t\tpstmt.setString(8, coupon.getImage());\n\t\t\t// Executing prepared statement\n\t\t\tpstmt.executeUpdate();\n\t\t\tString fetchingID = \"select id from coupon where title = ? \";\n\t\t\tPreparedStatement pstmtID = con.prepareStatement(fetchingID);\n\t\t\tpstmtID.setString(1, coupon.getTitle());\n\t\t\tResultSet resCoupon = pstmtID.executeQuery();\n\t\t\tresCoupon.next();\n\t\t\t// Fetching newly created Coupon ID for a return\n\n\t\t\tcouponID = resCoupon.getInt(1);\n\t\t\tcoupon.setId(couponID);\n\t\t\t// Writing success confirmation to the console\n\t\t\tSystem.out.println(\"Coupon has been added successfully:\" + coupon);\n\n\t\t\t// }\n\t\t} catch (SQLException e) {\n\t\t\t// Handling SQL exception during Coupon writing into database\n\t\t\tthrow new CouponSystemException(\"SQL error - Coupon creation has been failed\", e);\n\t\t} finally {\n\t\t\t// In any case we return connection to the Connection Pool (at least\n\t\t\t// we try to)\n\t\t\tConnectionPool.getInstance().returnConnection(con);\n\t\t}\n\t\t// Return Coupon ID for future use\n\t\treturn couponID;\n\t}", "@Async\n @Transactional(transactionManager = \"couponDBTransactionManager\")\n public void createCoupon(CouponReq couponReq) {\n\n logger.info(\"[CouponService] create coupon start : {} {}\", couponReq.getCouponCount(), LocalDateTime.now());\n int createCount = 0;\n HashMap<String, Integer> createCouponMap = new HashMap<>();\n\n while (createCount < couponReq.getCouponCount()) {\n String couponCode = CouponGenerator.generateCoupon(couponReq.getCouponLength());\n\n if (createCouponMap.containsKey(couponCode)) {\n continue;\n }\n\n createCouponMap.put(couponCode, 1);\n\n CouponData couponData = new CouponData();\n couponData.setCouponCode(couponCode);\n couponData.setExpireDayCount(couponReq.getExpireDayCount());\n\n try {\n couponDataJpaRepository.save(couponData);\n } catch (DuplicateKeyException e) {\n //중복 쿠폰코드 삽입 exception 발생 시 다시 loop 수행\n continue;\n }\n\n createCount++;\n }\n\n logger.info(\"[CouponService] create coupon end : {} {}\", couponReq.getCouponCount(), LocalDateTime.now());\n }", "public long createCoupon(Coupon coupon) throws ApplicationException {\n\t\tcreateCouponValidation(coupon);\n\t\treturn couponsDao.createCoupon(coupon);\n\t}", "@Override\n\tpublic void createCoupon(Coupon coupon)\n\t\t\tthrows ClassNotFoundException, SQLException, ParseException, DuplicateNameException {\n\t\tConnection connection = ConnectionPool.getInstance().getConnection();\n\t\tboolean flag = true;\n\n\t\tPreparedStatement statement = connection.prepareStatement(SQLQueryRequest.GET_ALL_COUPON_TITLES);\n\t\tResultSet resultSet = statement.executeQuery();\n\t\twhile (resultSet.next()) {\n\t\t\tif (coupon.getTitle().equals(resultSet.getString(1))) {\n\t\t\t\tflag = false;\n\t\t\t\tConnectionPool.getInstance().returnConnection(connection);\n\t\t\t\tthrow new DuplicateNameException(\"Coupon title \" + coupon.getTitle() + \" is already exists\");\n\t\t\t}\n\t\t}\n\t\tif (flag) {\n\t\t\tstatement = connection.prepareStatement(SQLQueryRequest.ADD_NEW_COUPON_TO_DB);\n\t\t\tstatement.setString(1, coupon.getTitle());\n\t\t\tstatement.setDate(2, StringDateConvertor.convert(coupon.getStartDate().toString()));\n\t\t\tstatement.setDate(3, StringDateConvertor.convert(coupon.getEndDate().toString()));\n\t\t\tstatement.setInt(4, coupon.getAmount());\n\t\t\tstatement.setString(5, coupon.getType().toString());\n\t\t\tstatement.setString(6, coupon.getMessage());\n\t\t\tstatement.setDouble(7, coupon.getPrice());\n\t\t\tstatement.setString(8, coupon.getImage());\n\t\t\tstatement.executeUpdate();\n\n\t\t\tstatement = connection.prepareStatement(SQLQueryRequest.GET_COUPON_ID_BY_TITLE);\n\t\t\tstatement.setString(1, coupon.getTitle());\n\t\t\tResultSet thisCouponId = statement.executeQuery();\n\t\t\twhile (thisCouponId.next()) {\n\t\t\t\tthis.setCoupId(thisCouponId.getLong(1));\n\t\t\t}\n\n\t\t\tConnectionPool.getInstance().returnConnection(connection);\n\t\t\tSystem.out.println(\"Coupon added successfull\");\n\t\t}\n\n\t}", "@Override\n public CreateDocumentClassifierResult createDocumentClassifier(CreateDocumentClassifierRequest request) {\n request = beforeClientExecution(request);\n return executeCreateDocumentClassifier(request);\n }", "@Override\n\tpublic void addSystemCoupons(String couponcontent, String fitprice, String couponprice, String couponstarttime,\n\t\t\tString couponendtime) throws BaseException {\n\t\tSimpleDateFormat sdf = new SimpleDateFormat( \"yyyy-MM-dd HH:mm:ss\" );\n\t\tjava.util.Date date1 = null;\n\t\tjava.util.Date date2 = null;\n\t\ttry {\n\t\t\tdate1 = sdf.parse( couponstarttime );\n\t\t\t//System.out.print(date1);\n\t\t\tdate2 = sdf.parse( couponendtime );\n\t\t} catch (ParseException e1) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te1.printStackTrace();\n\t\t}\n\t\tlong ls = date1.getTime();\n//\t\tSystem.out.print(ls);\n//\t\tTimestamp t=new Timestamp(ls);\n//\t\tSystem.out.print(t);\n\t\tlong le = date2.getTime();\n\t\tBeanCoupon cp=new BeanCoupon();\n\t\tConnection conn=null;\n\t\tcp.setCoupon_content(couponcontent);\n\t\tfloat coupon_fitmoney=Float.parseFloat(fitprice);\n\t\tcp.setCoupon_fit_money(coupon_fitmoney);\n\t\tfloat coupon_price=Float.parseFloat(couponprice);\n\t\t//System.out.println(coupon_fitmoney);\n\t\tcp.setCoupon_price(coupon_price);\n\t\ttry {\n\t\t\tconn=DBUtil.getConnection();\n\t\t\tString sql=\"select max(coupon_id+0) from coupon\";\n\t\t\tjava.sql.PreparedStatement pst=conn.prepareStatement(sql);\n\t\t\tjava.sql.ResultSet rs=pst.executeQuery();\n\t\t\trs.next();\n\t\t\tif (rs.getString(1) != null) {\n\t\t\t\tcp.setCoupon_id(rs.getString(1));\n\t\t\t\tint num = Integer.parseInt(cp.getCoupon_id().trim());\n\t\t\t\tnum = num +1;\n\t\t\t\tcp.setCoupon_id(String.valueOf(num));\n\t\t\t}else {\n\t\t\t\tcp.setCoupon_id(\"1\");\n\t\t\t}\n\t\t\tsql=\"insert into coupon(coupon_id,coupon_content,coupon_fit_money,coupon_price,coupon_start_time, coupon_end_time) \"\n\t\t\t\t\t+ \"value(?,?,?,?,?,?)\";\n\t\t\tpst=conn.prepareStatement(sql);\n\t\t\tpst.setString(1, cp.getCoupon_id());\n\t\t\tpst.setString(2, cp.getCoupon_content());\n\t\t\tpst.setFloat(3, cp.getCoupon_fit_money());\n\t\t\tpst.setFloat(4, cp.getCoupon_price());\n\t\t\tpst.setTimestamp(6, new java.sql.Timestamp( ls ));\n\t\t\tpst.setTimestamp(5, new java.sql.Timestamp( le ));\n\t\t\t//pst.setDate(5, new java.sql.Date( ls ));\n//\t\t\tpst.setDate(6, new java.sql.Date(le));\n\t\t\tpst.execute();\n\t\t\tpst.close();\n\t\t} catch (SQLException e) {\n\t\t\te.printStackTrace();\n\t\t\tthrow new DbException(e);\n\t\t}\n\t\tfinally{\n\t\t\tif(conn!=null)\n\t\t\t\ttry {\n\t\t\t\t\tconn.close();\n\t\t\t\t} catch (SQLException e) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t}\n\t}", "@DeleteMapping(\"/sys-coupon-classifies/{id}\")\n @Timed\n public ResponseEntity<Void> deleteSysCouponClassify(@PathVariable Long id) {\n log.debug(\"REST request to delete SysCouponClassify : {}\", id);\n sysCouponClassifyService.delete(id);\n return ResponseEntity.ok().headers(HeaderUtil.createEntityDeletionAlert(ENTITY_NAME, id.toString())).build();\n }", "int insert(CmsCouponBatch record);", "void create(Discount discount) throws ServiceException;", "org.landxml.schema.landXML11.ClassificationDocument.Classification addNewClassification();", "public Coupon() {\n }", "@Override\n\tpublic void addUserCoupons(BeanUser user, BeanCoupon coupon) throws BaseException {\n\t\tConnection conn=null;\n\t\ttry {\n\t\t\tconn=DBUtil.getConnection();\n\t\t\tString sql=\"select * from user_coupon where coupon_id=?\";\n\t\t\tjava.sql.PreparedStatement pst=conn.prepareStatement(sql);\n\t\t\tpst.setString(1, coupon.getCoupon_id());\n\t\t\tjava.sql.ResultSet rs=pst.executeQuery();\n\t\t\tif(rs.next()) {\n\t\t\t\tJOptionPane.showMessageDialog(null, \"该优惠券您已领取\",\"提示\",JOptionPane.ERROR_MESSAGE);\n\t\t\t\tthrow new BaseException(\"该优惠券您已领取\");\n\t\t\t}\n\t\t\t//System.out.print(\"1.1\");\n\t\t\tsql=\"select * from commodity_order where user_id=? and coupon_id=?\";\n\t\t\tpst=conn.prepareStatement(sql);\n\t\t\tpst.setString(1, user.getUser_id());\n\t\t\tpst.setString(2, coupon.getCoupon_id());\n\t\t\trs=pst.executeQuery();\n\t\t\tif(rs.next()) {\n\t\t\t\tJOptionPane.showMessageDialog(null, \"该优惠券您已领取\",\"提示\",JOptionPane.ERROR_MESSAGE);\n\t\t\t\tthrow new BaseException(\"该优惠券您已领取\");\n\t\t\t};\n\t\t\tsql=\"insert into user_coupon(user_id,coupon_id) value(?,?)\";\n\t\t\tpst=conn.prepareStatement(sql);\n\t\t\tpst.setString(1, user.getUser_id());\n\t\t\tpst.setString(2, coupon.getCoupon_id());\n\t\t\tpst.execute();\n\t\t\trs.close();\n\t\t\tpst.close();\n\t\t} catch (SQLException e) {\n\t\t\te.printStackTrace();\n\t\t\tthrow new DbException(e);\n\t\t}\n\t\tfinally{\n\t\t\tif(conn!=null)\n\t\t\t\ttry {\n\t\t\t\t\tconn.close();\n\t\t\t\t} catch (SQLException e) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t}\n\t\t\n\t}", "org.landxml.schema.landXML11.ClassificationDocument.Classification insertNewClassification(int i);", "@RequestMapping( value = \"/\", method = RequestMethod.POST )\n public ClassesDTO create(@RequestBody ClassesDTO classes){\n return classService.create(classes);\n }", "public org.oep.usermgt.model.Citizen create(long citizenId);", "public String addCoupon(CouponForm couponForm) throws Exception {\n\t\tfinal CouponForm form = couponForm;\n\t\tStringBuilder sql = new StringBuilder();\n\t\tsql.append(\"INSERT INTO beiker_coupon_info(coupon_name,coupon_tagid,coupon_tagextid,coupon_end_time,coupon_logo,coupon_rules,coupon_branch_id,\");\n\t\tsql.append(\"coupon_modify_time,coupon_number,coupon_smstemplate,coupon_status,guest_id) VALUES(?,?,?,?,?,?,?,NOW(),?,?,?,?) \");\n\t\tint flag = this.getJdbcTemplate().update(sql.toString(),new PreparedStatementSetter() { \n\t\t\tpublic void setValues(PreparedStatement ps) throws SQLException {\n\t\t\t\tps.setString(1, form.getCouponName().trim());\n\t\t\t\tps.setInt(2, form.getCouponTagid());\n\t\t\t\tps.setString(3, form.getCouponTagextid());\n\t\t\t\tps.setTimestamp(4, form.getCouponEndTime());\n\t\t\t\tps.setString(5, form.getCouponLogo());\n\t\t\t\tps.setString(6, form.getCouponRules());\n\t\t\t\tps.setString(7, form.getCouponBranchId());\n\t\t\t\tps.setInt(8, form.getCouponNumber());\n\t\t\t\tps.setString(9, form.getCouponSmstemplate());\n\t\t\t\tps.setString(10, form.getCouponStatus());\n\t\t\t\tps.setInt(11, form.getGuestId());\n\t\t\t}\n\t\t});\n\t\treturn String.valueOf(flag);\n\t}", "int insertSelective(CmsCouponBatch record);", "@WebMethod public Coupon addCoupon(Integer amount, String code);", "public DiscountRegister() {\n\t\tthis.connection = Connection.ONLINE;\n\t\tthis.serverTyp = ServerTyp.DISCOUNT;\n\t\tDiscountDTO typ1 = new DiscountDTO(Category.ITEM, \"104\", 10, \"Campaing product\");\n\t\tDiscountDTO typ2 = new DiscountDTO(Category.CUSTOMER, \"456\", 12, \"12% discount \");\n\t\tDiscountDTO typ3 = new DiscountDTO(Category.CUSTOMER, \"111\", 25, \"Loyality Discount\");\n\t\tDiscountDTO typ4 = new DiscountDTO(Category.CUSTOMER, \"123\", 1, \"New member discount\");\n\t\tDiscountDTO typ5 = new DiscountDTO(Category.QUANTITY, \"101\", 3, 11, \"Buy 3 pay for 2\");\n\t\tdiscountRegister.add(typ1);\n\t\tdiscountRegister.add(typ2);\n\t\tdiscountRegister.add(typ3);\n\t\tdiscountRegister.add(typ4);\n\t\tdiscountRegister.add(typ5);\n\t}", "public void createClass(String className)\r\n\t{\r\n\t\tString longName;\r\n\t\tif(className.contains(\"#\"))\r\n\t\t\tlongName = className;\r\n\t\tif(className.contains(\":\"))\r\n\t\t\tlongName= ONT_MODEL.expandPrefix(className);\r\n\t\telse\r\n\t\t\tlongName = BASE_NS + className;\r\n\t\t\r\n\t\tONT_MODEL.createClass(longName);\r\n\t}", "@PostMapping(\"/add\")\n public EmptyResponse create(@Valid @RequestBody DiscountAddRequest request){\n discountAddService.createNewDiscount(request);\n\n return new EmptyResponse();\n }", "public void setClassify(Integer classify) {\n this.classify = classify;\n }", "@Override\r\n\tpublic int create(Object value) throws Exception {\r\n\t\t\t\t\t\r\n\t\t//Default error\r\n\t\tint result = Errors.NO_ERROR;\r\n\t\t\t\t\t\t\r\n\t\t//Verify class\t\t\r\n\t\tif (value.getClass()!=CentroVO.class) \r\n\t\t\tthrow (new Exception(\"Not valid class\")); \r\n\t\t\t\t\t\r\n\t\tCentroVO center = (CentroVO)value;\r\n\t\t\t\t\r\n\t\t// Verify used licenses\r\n\t\tLOG.info(\"Verifying licenses\");\r\n\t\t\r\n\t\t//Verificamos que existan suficientes licencias disponibles para \r\n\t\t//la solicitud realizada\t\t\r\n\t\tif (licenseService.getEnabledLicensesCenter(Constants.NOT_CREATED)<center.getLicencias()) {\r\n\t\t\tresult = Errors.MAX_LICENSES;\r\n\t\t}\t\t\r\n\t\t\r\n\t\tif (result >=0){\r\n\t\t\tLOG.debug(\"Calling create center\");\r\n\t \r\n\t //Calling service\r\n\t result = service.insertCentro(center);\r\n\t\t}\r\n\t\t\t\t \t\t\t\t\t\t\t\t\r\n\t\treturn result;\t\t\t\t\t\t\t\t\r\n\t}", "public String postCoupon(Product product) throws Exception {\n boolean result = api.postItem(\"https://koupon.chepa.net/api/secret\", product);\n\n if (result) {\n return \"POST-Success\";\n }\n return \"Failed\";\n }", "@Test\n public void testCreate() {\n\n List<JDBCDataObject> classList = new ArrayList<>();\n classList.add(new EnrollmentDTO(0, 5, 1, null));\n\n List<Integer> ids = manageClass.create(classList);\n assertEquals(1, ids.size());\n\n }", "@RequestMapping(value = \"/hrClassInfos\",\n method = RequestMethod.POST,\n produces = MediaType.APPLICATION_JSON_VALUE)\n @Timed\n public ResponseEntity<HrClassInfo> createHrClassInfo(@Valid @RequestBody HrClassInfo hrClassInfo) throws URISyntaxException {\n log.debug(\"REST request to save HrClassInfo : {}\", hrClassInfo);\n if (hrClassInfo.getId() != null) {\n return ResponseEntity.badRequest().headers(HeaderUtil.createFailureAlert(\"hrClassInfo\", \"idexists\", \"A new hrClassInfo cannot already have an ID\")).body(null);\n }\n HrClassInfo result = hrClassInfoRepository.save(hrClassInfo);\n hrClassInfoSearchRepository.save(result);\n return ResponseEntity.created(new URI(\"/api/hrClassInfos/\" + result.getId()))\n .headers(HeaderUtil.createEntityCreationAlert(\"hrClassInfo\", result.getId().toString()))\n .body(result);\n }", "Clase createClase();", "@PostMapping(\"/addcoupan\")\n\tpublic ResponseEntity<Coupan> insertCoupan(@RequestBody Coupan coupan){\n\t\tCoupan resultcoupan = iCoupanService.addCoupans(coupan);\n\t\treturn new ResponseEntity<Coupan>(resultcoupan,HttpStatus.OK);\n\t}", "public Complaint create(Complaint complaint) {\n\t\t//int employeeId,customerServiceId;\n\t\t//String employeeName=complaint.getEmployeeName();\n\t\t//String customerServiceName=complaint.getCustomerServiceName();\n\t\t//Employee employee=findByEmployeeName(employeeName);\n\t\t//Employee employee1=findByEmployeeName(customerServiceName);\n\t\t//employeeId=employee.getEmployeeId();\n\t\t//customerServiceId=employee1.getEmployeeId();\n\t\tSimpleDateFormat date=new SimpleDateFormat(\"dd/MM/yyyy\");\n \t\tDate dt=new Date();\n \t\t//complaint.setEmployeeId(complaint.getEmployeeId());\n \t\t//complaint.setCustomerServiceId(complaint.getCustomerServiceId());\n \t\tcomplaint.setCreatedDate(date.format(dt));\n \t\tcomplaint.setCreatedBy(complaint.getCustomerServiceId());\n \t\tcomplaint.setModifiedDate(date.format(dt));\n \t\tcomplaint.setModifiedBy(complaint.getCustomerServiceId());\n \t\tcomplaint.setDeletedFlag(\"Y\");\n\t\treturn complaintRepository.save(complaint);\n\t}", "public void updateCoupon(Coupon coupon) throws DbException;", "public com.alain.puntocoma.model.Catalogo create(long catalogoId);", "public static Set<Classification> getClassifications() throws Exception {\r\n String xmlRequest = \"<request><request-header><protocol-version>2</protocol-version></request-header></request>\";\r\n try {\r\n String responseXML = FSHelperLibrary.sendRequest(null, RequestType.RT_GET_CLASSIFICATIONS, xmlRequest);\r\n LoggerUtil.logDebug(\"Get Classificatios Response XML: \" + responseXML);\r\n\r\n Node rootNode = XMLUtil.getRootNode(responseXML);\r\n Node requestStatusNode = XMLUtil.parseNode(\"request-status\", rootNode);\r\n String returnValue = XMLUtil.parseString(\"return-value\", requestStatusNode);\r\n\r\n if (!\"1\".equals(returnValue)) {\r\n LoggerUtil.logError(\"Get Classificatios Response XML: \" + responseXML);\r\n String errorMsg = XMLUtil.parseString(\"error-message\", requestStatusNode);\r\n String dispMsg = XMLUtil.parseString(\"display-message\", requestStatusNode);\r\n if (dispMsg == null || dispMsg.trim().isEmpty()) {\r\n dispMsg = errorMsg;\r\n }\r\n throw new Exception(dispMsg);\r\n }\r\n\r\n NodeList lNodeList = XMLUtil.parseNodeList(\"classifications/classification\", rootNode);\r\n if (lNodeList != null && lNodeList.getLength() > 0) {\r\n Set<Classification> lClassifications = new LinkedHashSet<Classification>();\r\n for (int i = 0; i < lNodeList.getLength(); i++) {\r\n Node lNode = lNodeList.item(i);\r\n String lstrClassId = XMLUtil.parseString(\"id\", lNode);\r\n String lstrClassName = XMLUtil.parseString(\"name\", lNode);\r\n String lstrClassDesc = XMLUtil.parseString(\"description\", lNode);\r\n String lstrStatus = XMLUtil.parseString(\"status\", lNode);\r\n // Take only active classification\r\n if (\"1\".equals(lstrStatus)) {\r\n Classification lClassification = new Classification();\r\n lClassification.setId(lstrClassId);\r\n lClassification.setName(lstrClassName);\r\n lClassification.setDescription(lstrClassDesc);\r\n lClassifications.add(lClassification);\r\n }\r\n }\r\n XMLDBService.updateClassifications(lClassifications);\r\n return lClassifications;\r\n }\r\n } catch (FSHelperException e) {\r\n throw e;\r\n }\r\n return null;\r\n }", "ch.crif_online.www.webservices.crifsoapservice.v1_00.CompanyBaseData addNewCompanyBaseData();", "public Coupon addCoupon(Coupon coupon) throws CompanyDoesntExistException, CouponTitleAlreadyExistInThisCompanyException {\n Company comp = companyRepo.findById(this.companyID).get();\n if (comp == null) {\n //throw Exception\n throw new CompanyDoesntExistException(\"company doesn't exist!\");\n } else {\n coupon.setCompanyID(this.companyID); //if this company tries to add coupon to another company\n for (Coupon coup : comp.getCoupons()) {\n if (coup.getTitle().equals(coupon.getTitle())) {\n //throw Exception\n throw new CouponTitleAlreadyExistInThisCompanyException(\"coupon title is already exist!\");\n }\n }\n comp.getCoupons().add(coupon);\n companyRepo.save(comp);\n return coupon;\n }\n }", "@Test\n public void testPostCartsIdCouponsAction() throws ClientException, IOException, ProcessingException {\n CloudResponse response = this.actions.postCartsIdCouponsAction(\"{id}\", \"{code}\", \"{customerId}\");\n List<Integer> expectedResults = Arrays.asList(200, 400, 403, 404);\n LOG.info(\"Got status {}\", response.getStatusLine());\n Assert.assertTrue(expectedResults.contains(response.getStatusLine().getStatusCode()));\n\n if(response.getStatusLine().getStatusCode() == 200) {\n this.actions.checkResponseJSONSchema(\"#/definitions/Cart\", response.getContent());\n }\n if(response.getStatusLine().getStatusCode() == 400) {\n this.actions.checkResponseJSONSchema(\"#/definitions/ErrorResponse\", response.getContent());\n }\n if(response.getStatusLine().getStatusCode() == 403) {\n this.actions.checkResponseJSONSchema(\"#/definitions/ErrorResponse\", response.getContent());\n }\n if(response.getStatusLine().getStatusCode() == 404) {\n this.actions.checkResponseJSONSchema(\"#/definitions/ErrorResponse\", response.getContent());\n }\n \n }", "void create(Cart cart, User user) throws FlowerValidationException;", "int insert(TycCompanyCheckCrawler record);", "public CouponManager() {\n\t\tcouponManager = new HashMap<>();\n\t}", "public void addClass(Class c) { // adding a single class\n\t\tSQLiteDatabase db = this.getWritableDatabase();\n\n\t\tContentValues values = new ContentValues();\n\t\tvalues.put(KEY_ID, c.getID());\n\t\tvalues.put(KEY_TAKENIN, c.getTakenIn());\n\n\t\t/*\n\t\t * values.put(KEY_ID, 1234567890); values.put(KEY_MAJORN, \"123\");\n\t\t * values.put(KEY_CLASSN, \"123\"); values.put(KEY_TITLE, \"123\");\n\t\t * values.put(KEY_UNITS, 123); values.put(KEY_DESCRIPTION, \"123\");\n\t\t * values.put(KEY_FALL, 1); values.put(KEY_SPRING, 0);\n\t\t */\n\t\t// Inserting Row\n\t\tdb.insert(TABLE_USERCLASSES, null, values);\n\t\tdb.close(); // Closing database connection\n\t}", "hr.client.appuser.CouponCenter.AppCouponOrBuilder getCouponListOrBuilder(\n int index);", "@Override\n\tpublic void deleteSystemCoupons(BeanCoupon coupon) throws BaseException {\n\t\tConnection conn=null;\n\t\ttry {\n\t\t\tconn=DBUtil.getConnection();\n\t\t\tString sql=\"delete from user_coupon where coupon_id=?\";\n\t\t\tjava.sql.PreparedStatement pst=conn.prepareStatement(sql);\n\t\t\tpst.setString(1, coupon.getCoupon_id());\n\t\t\tpst.execute();\n\t\t\tsql=\"delete from coupon where coupon_id=?\";\n\t\t\tpst=conn.prepareStatement(sql);\n\t\t\tpst.setString(1, coupon.getCoupon_id());\n\t\t\tpst.execute();\n\t\t\tpst.close();\n\t\t\t\n\t\t} catch (SQLException e) {\n\t\t\te.printStackTrace();\n\t\t\tthrow new DbException(e);\n\t\t}\n\t\tfinally{\n\t\t\tif(conn!=null)\n\t\t\t\ttry {\n\t\t\t\t\tconn.close();\n\t\t\t\t} catch (SQLException e) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t}\n\t\t\n\t\t\n\t}", "public Coupon() {\n\t\tsuper();\n\t\tsetAvailable(true);\n\t}", "public void create(Customer c){\n Connection conn = ConnectionFactory.getConnection();\n PreparedStatement ppst = null;\n try {\n ppst = conn.prepareCall(\"INSERT INTO customer (name, id, phone) VALUES (?, ?, ?)\");\n ppst.setString(1, c.getName());\n ppst.setString(2, c.getId());\n ppst.setString(3, c.getPhone());\n ppst.executeUpdate();\n System.out.println(\"Customer created.\");\n } catch (SQLException e) {\n throw new RuntimeException(\"Creation error: \", e);\n } finally {\n ConnectionFactory.closeConnection(conn, ppst);\n }\n }", "private Classifier createDummyClassifier(String action, String con, Classifier[] parent_classifier ){\n String cName = \"DUMMY\";\n Classifier father = parent_classifier[0];\n Classifier mother = parent_classifier[1];\n double newPred = (father.getPrediction() + mother.getPrediction()) / 2;\n double newPreErr = (father.getPredictionError() + mother.getPredictionError()) / 2;\n double newFit = (father.getFitness() + mother.getFitness()) / 2;\n Classifier classifier_Child = new Classifier(\n cName,\n newPred,\n newPreErr,\n newFit,\n con,\n action);\n return classifier_Child;\n }", "@Override\r\n\tpublic int insertCio(CostIoOrderVO cioVO) {\n\t\treturn getSqlSession().insert(namespace+\".insertCio\", cioVO);\r\n\t}", "@PostMapping(\"coupon/{id}\")\r\n public ResponseEntity<?> getOneCoupon(@RequestHeader(name = \"Authorization\") String token, @PathVariable int id) throws MalformedJwtException, CouponException {\r\n if (jwtUtil.validateToken(token)) {\r\n return ResponseEntity.ok().headers(getHeaders(token)).body(companyService.getOneCoupon(id));\r\n }\r\n return new ResponseEntity<>(HttpStatus.UNAVAILABLE_FOR_LEGAL_REASONS);\r\n }", "@Override\n\t/**\n\t * Accepts predefined Coupon object and updates entry with relevant ID in\n\t * the database with values from accepted Coupon object\n\t */\n\tpublic void updateCoupon(Coupon coupon) throws CouponSystemException {\n\t\tConnection con = null;\n\t\t// Getting a connection from the Connection Pool\n\t\tcon = ConnectionPool.getInstance().getConnection();\n\n\t\ttry {\n\t\t\t// Defining SQL string to update Coupon via prepared statement\n\t\t\tString updateCouponSQL = \"update coupon set title=?, start_date=?, end_date=?, expired=?, type=?, message=?, price=?, image=? where id = ?\";\n\t\t\t// Creating prepared statement with predefined SQL string\n\t\t\tPreparedStatement pstmt = con.prepareStatement(updateCouponSQL);\n\t\t\t// Fetching variables into SQL string via Coupon bean plus ID as\n\t\t\t// method accepted variable\n\t\t\tpstmt.setString(1, coupon.getTitle());\n\t\t\tpstmt.setDate(2, getSqlDate(coupon.getStart_date()));\n\t\t\tpstmt.setDate(3, getSqlDate(coupon.getEnd_date()));\n\t\t\tpstmt.setString(4, coupon.getExpired());\n\t\t\tpstmt.setString(5, coupon.getType());\n\t\t\tpstmt.setString(6, coupon.getMessage());\n\t\t\tpstmt.setInt(7, coupon.getPrice());\n\t\t\tpstmt.setString(8, coupon.getImage());\n\t\t\tpstmt.setInt(9, coupon.getId());\n\t\t\t// Executing prepared statement and using its result for\n\t\t\t// post-execute check\n\t\t\tint rowCount = pstmt.executeUpdate();\n\t\t\tif (rowCount != 0) {\n\t\t\t\t// If result row count is not equal to zero - execution has been\n\t\t\t\t// successful\n\t\t\t\tSystem.out.println(\"Coupon has been updated successfully:\" + coupon);\n\t\t\t} else {\n\t\t\t\t// Otherwise execution failed due to Coupon not found in the\n\t\t\t\t// database\n\t\t\t\tSystem.out.println(\"Coupon update has been failed - subject entry not found in the database\");\n\t\t\t}\n\t\t} catch (SQLException e) {\n\t\t\t// Handling SQL exception during Coupon update in the database\n\t\t\tthrow new CouponSystemException(\"SQL error - Coupon update has been failed\", e);\n\t\t} finally {\n\t\t\t// In any case we return connection to the Connection Pool (at least\n\t\t\t// we try to)\n\t\t\tConnectionPool.getInstance().returnConnection(con);\n\t\t}\n\t}", "@PostMapping(\"/costo-servicios\")\n @Timed\n public ResponseEntity<CostoServicioDTO> createCostoServicio(@RequestBody CostoServicioDTO costoServicioDTO) throws URISyntaxException {\n log.debug(\"REST request to save CostoServicio : {}\", costoServicioDTO);\n if (costoServicioDTO.getId() != null) {\n throw new BadRequestAlertException(\"A new costoServicio cannot already have an ID\", ENTITY_NAME, \"idexists\");\n }\n CostoServicioDTO result = costoServicioService.save(costoServicioDTO);\n return ResponseEntity.created(new URI(\"/api/costo-servicios/\" + result.getId()))\n .headers(HeaderUtil.createEntityCreationAlert(ENTITY_NAME, result.getId().toString()))\n .body(result);\n }", "@PostMapping(\"/ap-constants\")\n @Timed\n public ResponseEntity<ApConstants> createApConstants(@RequestBody ApConstants apConstants) throws URISyntaxException {\n log.debug(\"REST request to save ApConstants : {}\", apConstants);\n if (apConstants.getId() != null) {\n throw new BadRequestAlertException(\"A new apConstants cannot already have an ID\", ENTITY_NAME, \"idexists\");\n }\n ApConstants result = apConstantsRepository.save(apConstants);\n return ResponseEntity.created(new URI(\"/api/ap-constants/\" + result.getId()))\n .headers(HeaderUtil.createEntityCreationAlert(ENTITY_NAME, result.getId().toString()))\n .body(result);\n }", "int getCouponType();", "@RequestMapping(path = \"/create\", method = RequestMethod.POST)\n\tpublic ResponseEntity<RestResponse<CompanyDTO>> create(@RequestBody CompanyDTO request) {\n\n\t\tCompanyDTO result = companyService.create(request);\n\t\t\n\t\tRestResponse<CompanyDTO> restResponse = \n\t\t\t\tnew RestResponse<CompanyDTO>(RestResponseCodes.OK.getCode(), RestResponseCodes.OK.getDescription(), result);\n\t\t\n\t\treturn new ResponseEntity<RestResponse<CompanyDTO>>(restResponse, HttpStatus.OK);\n\t\t\t\n\t}", "void createACustomer() {\r\n\t\tSystem.out.println(\"\\nCreating a customer:\");\r\n\t\tEntityManager em = emf.createEntityManager();\r\n\t\tEntityTransaction tx = em.getTransaction();\r\n\t\tCustomer2 c1 = new Customer2(\"Ali\", \"Telli\");\r\n\t\ttx.begin();\r\n\t\tem.persist(c1);\r\n\t\ttx.commit();\r\n\t\tem.close();\r\n\t}", "protected void insert(HttpServletRequest request, HttpServletResponse response) throws IOException {\n\t\t\r\n\t\tString s1= request.getParameter(\"req1\");\r\n\t\t\r\n\t\tString id4= request.getParameter(\"countid\");\r\n\t\t//Cat r1=new Cat();\r\n\t\t//r1.setId(Long.valueOf(id2));\r\n\t\t\r\n\t\r\n\t\tCountry r=new Country();\r\n\t\t\r\n\t\tr.setCountName(s1);\r\n\t\t\r\n\t\t\r\n\t\t\t\r\n\t\t\r\n\t\tAdd_count cu= new Add_count();\r\n\t\tcu.insert(r);\r\n\t\tresponse.sendRedirect(\"EH_Admin/manage_count.jsp\");\r\n\r\n\t\t\r\n\t\r\n\t}", "hr.client.appuser.CouponCenter.AppCoupon getCouponList(int index);", "@Override\n\t/** Marks all expired Coupons in the Coupon table in the database */\n\tpublic void markExpiredCoupons() throws CouponSystemException {\n\t\tConnection con = null;\n\t\t// Getting a connection from the Connection Pool\n\t\tcon = ConnectionPool.getInstance().getConnection();\n\n\t\ttry {\n\t\t\t// Defining SQL string to mark expired Coupons via prepared\n\t\t\t// statement\n\t\t\tString markExpiredCouponsSQL = \"update coupon set expired='expired' where end_date < current_date\";\n\t\t\t// Not working variants:\n\t\t\t// String markExpiredCouponsSQL = \"update coupon set\n\t\t\t// expired='expired' where end_date < 2017-05-21\";\n\t\t\t// String markExpiredCouponsSQL = \"update coupon set\n\t\t\t// expired='expired' where end_date < getdate()\";\n\t\t\t// String markExpiredCouponsSQL = \"update coupon set\n\t\t\t// expired='expired' where date < (format ( getdate(),\n\t\t\t// 'YYYY-MM-DD'))\";\n\t\t\t// String markExpiredCouponsSQL = \"update coupon set\n\t\t\t// expired='expired' where end_date < ?\";\n\t\t\t// Creating prepared statement with predefined SQL string\n\t\t\tPreparedStatement pstmt = con.prepareStatement(markExpiredCouponsSQL);\n\t\t\t// Executing prepared statement and using its result for\n\t\t\t// post-execute check\n\n\t\t\t// Not working (prepared statement variant)\n\t\t\t// java.util.Date todayDate = Calendar.getInstance().getTime();\n\t\t\t// SimpleDateFormat formatter = new SimpleDateFormat(\"YYYY-MM-DD\");\n\t\t\t// String todayString = formatter.format(todayDate);\n\t\t\t// pstmt.setString(1, todayString);\n\n\t\t\tint resExpired = pstmt.executeUpdate();\n\t\t\tif (resExpired != 0) {\n\t\t\t\t// If result row count is not equal to zero - execution has been\n\t\t\t\t// successful\n\t\t\t\tSystem.out.println(\"Expired coupons have been marked successfully\");\n\t\t\t} else {\n\t\t\t\t// Otherwise execution failed due to Coupons not found in the\n\t\t\t\t// database\n\t\t\t\tSystem.out.println(\"Coupons marking has been failed - subject entries not found in the database\");\n\t\t\t}\n\t\t} catch (SQLException e) {\n\t\t\t// Handling SQL exception during Coupon marking in the database\n\t\t\tthrow new CouponSystemException(\"SQL error - Coupons marking has been failed\", e);\n\t\t} finally {\n\t\t\t// In any case we return connection to the Connection Pool (at least\n\t\t\t// we try to)\n\t\t\tConnectionPool.getInstance().returnConnection(con);\n\t\t}\n\t}", "CounselorBiographyTemp create(CounselorBiographyTemp entity);", "@Override\n\tpublic void modifySystemCoupons(BeanCoupon coupon,String couponcontent, String fitprice, String couponprice,String couponstarttime, String couponendtime) throws BaseException {\n\t\tConnection conn=null;\n\t\tSimpleDateFormat sdf = new SimpleDateFormat( \"yyyy-MM-dd HH:mm:ss\" );\n\t\tjava.util.Date date1 = null;\n\t\tjava.util.Date date2 = null;\n\t\tBeanCoupon cp=new BeanCoupon();\n\t\tcp.setCoupon_content(couponcontent);\n\t\tfloat coupon_fitmoney=Float.parseFloat(fitprice);\n\t\tcp.setCoupon_fit_money(coupon_fitmoney);\n\t\tfloat coupon_price=Float.parseFloat(couponprice);\n\t\t//System.out.println(coupon_fitmoney);\n\t\tcp.setCoupon_price(coupon_price);\n\t\ttry {\n\t\t\tdate1 = sdf.parse( couponstarttime );\n\t\t\t//System.out.print(date1);\n\t\t\tdate2 = sdf.parse( couponendtime );\n\t\t} catch (ParseException e1) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te1.printStackTrace();\n\t\t}\n\t\tlong ls = date1.getTime();\n//\t\tSystem.out.print(ls);\n//\t\tTimestamp t=new Timestamp(ls);\n//\t\tSystem.out.print(t);\n\t\tlong le = date2.getTime();\n\t\ttry {\n\t\t\tconn=DBUtil.getConnection();\n\t\t\tString sql=\"update coupon set coupon_content=?,coupon_fit_money=?,coupon_price=?,\"\n\t\t\t\t\t+ \"coupon_start_time=?, coupon_end_time=? where coupon_id=?\";\n\t\t\tjava.sql.PreparedStatement pst=conn.prepareStatement(sql);\n\t\t\tpst.setString(1, cp.getCoupon_content());\n\t\t\tpst.setFloat(2, cp.getCoupon_fit_money());\n\t\t\tpst.setFloat(3, cp.getCoupon_price());\n\t\t\tpst.setTimestamp(4, new java.sql.Timestamp( ls ));\n\t\t\tpst.setTimestamp(5, new java.sql.Timestamp( le ));\n\t\t\tpst.setString(6, coupon.getCoupon_id());\n\t\t\tpst.execute();\n\t\t\tpst.close();\n\t\t} catch (SQLException e) {\n\t\t\te.printStackTrace();\n\t\t\tthrow new DbException(e);\n\t\t}\n\t\tfinally{\n\t\t\tif(conn!=null)\n\t\t\t\ttry {\n\t\t\t\t\tconn.close();\n\t\t\t\t} catch (SQLException e) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t}\n\t}", "OperacionColeccion createOperacionColeccion();", "public DuplicateCouponTypeException()\n\t{\n\n\t}", "public DuplicateCouponTypeException()\n\t{\n\n\t}", "@RequestMapping(\"/Cert_create\")\n\tpublic String process() {\n\t\tcertificateService.createCertificateDTO(cert);\n\t\treturn \"Certificate Done\";\n\n\t}", "public int getCouponType() {\n return couponType_;\n }", "@Override\n\tpublic String createCouponCode(CampaignActivity ca, String stringParams) {\n\t\tJSONObject params = new JSONObject(stringParams);\n\t\tif(!StringUtils.hasText(ca.getCouponCode())) {\n\t\t\tca.setCouponCode(Hash.generateAuthCode());\n\t\t\t\n\t\t\t//FIXME: Hardcoded Cinepolis code here!!!!\n\t\t\tif(StringUtils.hasText(ca.getDeviceUUID())) {\n\t\t\t\ttry {\n\t\t\t\t\tDeviceInfo device = deviceInfoDao.get(ca.getDeviceUUID(), true);\n\t\t\t\t\tif( device.getAppId().equals(\"cinepolis_mx\")) {\n\n\t\t\t\t\t\tJSONObject extras = new JSONObject(ca.getExtras() != null ? ca.getExtras().getValue() : \"\");\n\t\t\t\t\t\tJSONArray coupons = extras.has(\"suggestedCoupons\") ? extras.getJSONArray(\"suggestedCoupons\") : null;\n\n\t\t\t\t\t\tif( coupons != null ) {\n\n\t\t\t\t\t\t\tca.setCouponCode(coupons.getString(0));\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tif( params != null && params.has(\"couponCount\") && params.getInt(\"couponCount\") >= 2)\n\t\t\t\t\t\t\t\textras.put(\"extraCoupon1\", coupons.getString(1));\n\n\t\t\t\t\t\t\tif( params != null && params.has(\"couponCount\") && params.getInt(\"couponCount\") >= 3)\n\t\t\t\t\t\t\t\textras.put(\"extraCoupon2\", coupons.getString(2));\n\n\t\t\t\t\t\t\tif( params != null && params.has(\"couponCount\"))\n\t\t\t\t\t\t\t\textras.put(\"couponCount\", params.getInt(\"couponCount\"));\n\n\t\t\t\t\t\t\tca.setExtras(new Text(extras.toString()));\n\t\t\t\t\t\t\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tca.setCouponCode(\"000000000001\");\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tif( params != null && params.has(\"couponCount\") && params.getInt(\"couponCount\") >= 2)\n\t\t\t\t\t\t\t\textras.put(\"extraCoupon1\", \"000000000002\");\n\n\t\t\t\t\t\t\tif( params != null && params.has(\"couponCount\") && params.getInt(\"couponCount\") >= 3)\n\t\t\t\t\t\t\t\textras.put(\"extraCoupon2\", \"000000000003\");\n\n\t\t\t\t\t\t\tif( params != null && params.has(\"couponCount\"))\n\t\t\t\t\t\t\t\textras.put(\"couponCount\", params.getInt(\"couponCount\"));\n\n\t\t\t\t\t\t\tca.setExtras(new Text(extras.toString()));\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t} catch( ASException | JSONException e ) {\n\t\t\t\t\tlog.log(Level.SEVERE, e.getMessage(), e);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn ca.getCouponCode();\n\t}", "public static ClassifiedFeature createClassifiedFeature(Feature feature, Classifier classifier) {\n ClassifiedFeature classifiedFeature = ClassificationFactory.eINSTANCE.createClassifiedFeature();\n classifiedFeature.setFeature(feature);\n classifiedFeature.setClassified(classifier);\n return classifiedFeature;\n }", "private void createCouponValidation(Coupon coupon) throws ApplicationException {\n\n\t\t//Check if all the data is valid\n\t\tcouponInfoValidation(coupon);\t\n\t\t\n\t\t//Start date can't be before the coupon creation date\n\t\tif(coupon.getStartDate().before(new java.sql.Date(Calendar.getInstance().getTimeInMillis()))) {\n\t\t\tthrow new ApplicationException(ExceptionType.INVALID_DATE, \"Invalid start date: \" + coupon.getStartDate());\n\t\t}\n\t\t//Can't create two coupons with the same title for the same company\n\t\tif(couponsDao.isCouponTitleExists(coupon.getTitle(), coupon.getCompanyId())) {\n\t\t\tthrow new ApplicationException(ExceptionType.TITLE_ALREADY_EXISTS, \"Title already exists: \" + coupon.getTitle());\n\t\t}\n\t}", "public void setwPrIsCoupon(Integer wPrIsCoupon) {\n this.wPrIsCoupon = wPrIsCoupon;\n }", "@Override\n public void createTechnicalTestService(\n @RequestBody CreateProblemSetRequest createProblemSetRequest)\n {\n List<Problem> problemSet = createProblemSetService(createProblemSetRequest);\n TechnicalTest technicalTest = new TechnicalTest();\n\n technicalTest.setProblems(problemSet);\n technicalTest.setCv(cvRepository.findOne(createProblemSetRequest.getIdCV()));\n\n technicalTestRepository.save(technicalTest);\n\n }", "public int getCouponType() {\n return couponType_;\n }", "@PostMapping(\"/citizens\")\n @Timed\n public ResponseEntity<Citizen> createCitizen(@RequestBody Citizen citizen) throws URISyntaxException {\n log.debug(\"REST request to save Citizen : {}\", citizen);\n if (citizen.getId() != null) {\n return ResponseEntity.badRequest().headers(HeaderUtil.createFailureAlert(\"citizen\", \"idexists\", \"A new citizen cannot already have an ID\")).body(null);\n }\n Citizen result = citizenService.save(citizen);\n return ResponseEntity.created(new URI(\"/api/citizens/\" + result.getId()))\n .headers(HeaderUtil.createEntityCreationAlert(\"citizen\", result.getId().toString()))\n .body(result);\n }", "public void create() {\n String salt = PasswordUtils.getSalt(30);\n\n // Protect user's password. The generated value can be stored in DB.\n String mySecurePassword = PasswordUtils.generateSecurePassword(password, salt);\n\n // Print out protected password\n System.out.println(\"My secure password = \" + mySecurePassword);\n System.out.println(\"Salt value = \" + salt);\n Operator op = new Operator();\n op.setUsername(username);\n op.setDescription(description);\n op.setSalt(salt);\n op.setPassword(mySecurePassword);\n op.setRol(rol);\n operatorService.create(op);\n message = \"Se creo al usuario \" + username;\n username = \"\";\n description = \"\";\n password = \"\";\n rol = null;\n }", "public void create(SupplierCard supplier) {\n supplier_dao.create(supplier);\n }", "public void newConcert(DatabaseHandler dbh) throws SQLException {\n\t\tString query = \"INSERT INTO concert VALUES \" +\n\t\t\t\t\"(DEFAULT, ?, 5, ?, 0, ?, ?, ?)\";\n\t\tPreparedStatement prepStatement = dbh.prepareQuery(query);\n\t\tprepStatement.setObject(1, this.startDate, Types.DATE);\n\t\tprepStatement.setInt(2, this.ticketPrice);\n\t\tprepStatement.setInt(3, this.artistID);\n\t\tprepStatement.setInt(4, this.offerID);\n\t\tprepStatement.setInt(5, this.stageID);\n\n\t\tprepStatement.executeUpdate();\n\t}", "@WebMethod public Coupon getCoupon(String coupon);", "@PostMapping(\"/covs\")\n @Timed\n public ResponseEntity<Cov> createCov(@RequestBody Cov cov) throws URISyntaxException {\n log.debug(\"REST request to save Cov : {}\", cov);\n if (cov.getId() != null) {\n throw new BadRequestAlertException(\"A new cov cannot already have an ID\", ENTITY_NAME, \"idexists\");\n }\n Cov result = covService.save(cov);\n return ResponseEntity.created(new URI(\"/api/covs/\" + result.getId()))\n .headers(HeaderUtil.createEntityCreationAlert(ENTITY_NAME, result.getId().toString()))\n .body(result);\n }", "@Override\n\t/** Accepts Coupon ID and returns related Coupon object */\n\tpublic Coupon getCoupon(int id) throws CouponSystemException {\n\t\tConnection con = null;\n\t\t// Getting a connection from the Connection Pool\n\t\tcon = ConnectionPool.getInstance().getConnection();\n\t\t// Creating Coupon object to fill it later with data from SQL query\n\t\t// result and for method to return it afterwards\n\t\tCoupon coupon = new Coupon();\n\n\t\ttry {\n\t\t\t// Defining SQL string to retrieve Coupon via prepared statement\n\t\t\tString getCouponSQL = \"select * from coupon where id = ?\";\n\t\t\t// Creating prepared statement with predefined SQL string\n\t\t\tPreparedStatement pstmt = con.prepareStatement(getCouponSQL);\n\t\t\t// Putting method accepted ID into SQL string\n\t\t\tpstmt.setInt(1, id);\n\t\t\t// Executing prepared statement and using its result for\n\t\t\t// post-execute manipulations\n\t\t\tResultSet resCoup = pstmt.executeQuery();\n\t\t\t// If query result has data (if Coupon has been found) do\n\t\t\tif (resCoup.next()) {\n\t\t\t\t// Set Coupon object ID to ID variable that method received\n\t\t\t\tcoupon.setId(id);\n\t\t\t\t// Set Coupon attributes according to the results in the\n\t\t\t\t// ResultSet\n\t\t\t\tcoupon.setTitle(resCoup.getString(\"title\"));\n\t\t\t\tcoupon.setStart_date(resCoup.getDate(\"start_date\"));\n\t\t\t\tcoupon.setEnd_date(resCoup.getDate(\"end_date\"));\n\t\t\t\tcoupon.setExpired(resCoup.getString(\"expired\"));\n\t\t\t\tcoupon.setType(resCoup.getString(\"type\"));\n\t\t\t\tcoupon.setMessage(resCoup.getString(\"message\"));\n\t\t\t\tcoupon.setPrice(resCoup.getInt(\"price\"));\n\t\t\t\tcoupon.setImage(resCoup.getString(\"image\"));\n\t\t\t\t// // Write retrieval success confirmation to the console\n\t\t\t\t// System.out.println(\"Coupon has been found successfully:\" +\n\t\t\t\t// coupon);\n\t\t\t} else {\n\t\t\t\t// If query result is empty (Coupon hasn't been found) throw\n\t\t\t\t// exception\n\t\t\t\tSystem.out.println(\"Coupon retrieve has been failed - Coupon ID not found\");\n\t\t\t}\n\t\t} catch (SQLException e) {\n\t\t\t// Handling SQL exception during Coupon retrieval from the database\n\t\t\tthrow new CouponSystemException(\"SQL error - Coupon retrieve has been failed\", e);\n\t\t} finally {\n\t\t\t// In any case we return connection to the Connection Pool (at least\n\t\t\t// we try to)\n\t\t\tConnectionPool.getInstance().returnConnection(con);\n\t\t}\n\n\t\t// Return Coupon\n\t\treturn coupon;\n\t}", "@Override\r\n\tpublic void createStoreBalanceCardCostlog(SupplierStoreBalanceCardCostlogBean bean) {\n\t\tsupplierStoreDao.createStoreBalanceCardCostlog(bean);\r\n\t}", "@Override\n\tpublic Categories create(Categories cate) {\n\t\treturn categoriesDAO.create(cate);\n\t}", "@Override\n\tpublic void createResident(Resident resident) {\n\t\tgetSession().saveOrUpdate(resident);\n\t\tSystem.out.println(\"Resident stored successfully\");\n\t\t\n\t}", "public static void addNewClass(Class c, int userId)\n\t{\n\t\tString classCode = c.getClassCode();\n\t\tString className = c.getClassName();\n\t\tString sql = \"INSERT INTO Class (classCode, className, instructorID) \"\n\t\t\t\t+ \"VALUES (?, ?, ?)\";\n\t\ttry(Connection conn = DriverManager.getConnection(db, user, pwd);\n\t\t\t\tPreparedStatement ps = conn.prepareStatement(sql);)\n\t\t{\n\t\t\tps.setString(1, classCode);\n\t\t\tps.setString(2, className);\n\t\t\tps.setInt(3, userId);\n\t\t\tps.executeUpdate();\n\t\t} catch (SQLException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "@RequestMapping(value = \"/CSR\", method = RequestMethod.POST, headers = \"Content-Type=application/json\")\n\tpublic @ResponseBody\n\tResult createUserCSR(@RequestBody Map<String, String> userInfo,\n\t\t\tHttpServletRequest request) {\n\t\tif (userInfo == null || !userInfo.containsKey(\"email\")) {\n\t\t\treturn new Result().setErrCode(ErrorCode.INVALID_DATA).setErrMsg(\n\t\t\t\t\t\"Invalid regiestration information.\");\n\t\t}\n\t\tString paramCred = getParamCred(request);\n\t\tUserType cred2UserType = cred2UserType(paramCred);\n\t\tif (!UserType.ADM.equals(cred2UserType)) {\n\t\t\treturn new Result().setErrCode(ErrorCode.NO_PRIVILIEGE);\n\t\t}\n\n\t\tString email = userInfo.get(\"email\");\n\t\tWlsUser userByEmail = userService.getUserByEmail(email);\n\t\tResult result = new Result();\n\t\tif (userByEmail == null) {\n\t\t\tWlsUser user = new WlsUser();\n\t\t\tuser.setEmail(email);\n\t\t\t// CSR default password is 'pass'.\n\t\t\tuser.setPassword(SecurityUtil.sha1Encode(\"pass\"));\n\t\t\tuser.setFullName(userInfo.get(\"fullName\"));\n\t\t\tuser.setUserType(UserType.CSR.toString());\n\t\t\tuser.setStatus(UserStatusEnum.NORMAL_STATUS_ACTIVATED.value());\n\t\t\ttry {\n\t\t\t\tuserService.createUser(user);\n\t\t\t\tresult.setEntity(user);\n\t\t\t} catch (ServiceException e) {\n\t\t\t\tresult.setSuccess(false).setErrMsg(e.getMessage());\n\t\t\t\treturn result;\n\t\t\t}\n\t\t} else {\n\t\t\tuserByEmail.setUserType(UserType.CSR.toString());\n\t\t\tuserService.updateUser(userByEmail);\n\t\t\tresult.setEntity(userByEmail);\n\t\t}\n\t\treturn result;\n\t}", "public static int startnewClassification(String datasetName) {\n\t\tString path = NEW_CLASSIF + datasetName;\n\t\tHttpResponse<String> response = sendRequest(path);\n\t\tif(response == null) return 400;\n\t\treturn response.statusCode();\n\t}", "@RequestMapping(value = \"/clinicHistoryAddInfs\",\n method = RequestMethod.POST,\n produces = MediaType.APPLICATION_JSON_VALUE)\n @Timed\n public ResponseEntity<ClinicHistoryAddInf> create(@RequestBody ClinicHistoryAddInf clinicHistoryAddInf) throws URISyntaxException {\n log.debug(\"REST request to save ClinicHistoryAddInf : {}\", clinicHistoryAddInf);\n if (clinicHistoryAddInf.getId() != null) {\n return ResponseEntity.badRequest().header(\"Failure\", \"A new clinicHistoryAddInf cannot already have an ID\").body(null);\n }\n ClinicHistoryAddInf result = clinicHistoryAddInfRepository.save(clinicHistoryAddInf);\n return ResponseEntity.created(new URI(\"/api/clinicHistoryAddInfs/\" + result.getId()))\n .headers(HeaderUtil.createEntityCreationAlert(\"clinicHistoryAddInf\", result.getId().toString()))\n .body(result);\n }", "ch.crif_online.www.webservices.crifsoapservice.v1_00.ComplianceCheckResult addNewComplianceCheckResult();", "private void CreateOriginClass(String[] p) {\n String classname = p[2];\n int count = Integer.parseInt(p[1]);\n classt.maxid++;\n int classid = classt.maxid;\n for (int i = 0; i < count; i++) {\n classt.classTable.add(new ClassTableItem(classname, classid, count,i,p[2 * i + 3], p[2 * i + 4],\"ori\"));\n }\n }", "@Override\n\tpublic void create(String id, String code) {\n\t\tStringBuilder qString = new StringBuilder(\"INSERT INTO required_nomenclature (id_required_nomenclature, code) VALUES (?, ?)\");\n\t jdbcTemplate.update(qString.toString(), id, code);\n\t}", "@Override\n\tprotected void fixInstanceClass(EClassifier eClassifier) {\n\t\tif (eClassifier.getInstanceClassName() == null) {\n\t\t\teClassifier.setInstanceClassName(\"CIM15.IEC61970.Core.\" + eClassifier.getName());\n\t\t\tsetGeneratedClassName(eClassifier);\n\t\t}\n\t}", "Klassenstufe createKlassenstufe();", "public void create(Shipping3VO vo) throws Exception {\r\n\t\tthis.checkAndCompleteData(vo, true);\r\n\t\tthis.entityManager.persist(vo);\r\n\t}", "@PostMapping(\"/branches\")\n public ResponseEntity<Branch> createBranch(@RequestBody Branch branch)throws Exception{\n log.debug(\"REST request to create branch : {}\",branch);\n branch = branchService.save(branch);\n return ResponseEntity.created(new URI(\"/api/branches/\" + branch.getIfsc()))\n .headers(HeaderUtill.createEntityCreationAlert(\"Branch\", branch.getIfsc().toString()))\n .body(branch);\n }", "Coupon findByCompanyIdAndTitle(int companyId, String title);", "SUP createSUP();", "public void create(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.CreateClusterRequest request,\n io.grpc.stub.StreamObserver<yandex.cloud.api.operation.OperationOuterClass.Operation> responseObserver) {\n io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateMethod(), responseObserver);\n }", "@Override\r\n\tprotected void fixInstanceClass(EClassifier eClassifier) {\r\n\t\tif (eClassifier.getInstanceClassName() == null) {\r\n\t\t\teClassifier.setInstanceClassName(\"org.bimserver.models.store.\"\r\n\t\t\t\t\t+ eClassifier.getName());\r\n\t\t\tsetGeneratedClassName(eClassifier);\r\n\t\t}\r\n\t}", "Community createCommunity( String name, byte[] user_short_pid ) \r\n throws CommunityException;", "int insert(TycCompanyExecutiveCrawler record);", "public void create(yandex.cloud.api.mdb.clickhouse.v1.ClusterServiceOuterClass.CreateClusterRequest request,\n io.grpc.stub.StreamObserver<yandex.cloud.api.operation.OperationOuterClass.Operation> responseObserver) {\n io.grpc.stub.ClientCalls.asyncUnaryCall(\n getChannel().newCall(getCreateMethod(), getCallOptions()), request, responseObserver);\n }", "public Integer getClassify() {\n return classify;\n }" ]
[ "0.63451535", "0.5739468", "0.5728877", "0.57226074", "0.5687945", "0.5654656", "0.56533647", "0.5509735", "0.54681426", "0.52885723", "0.5240344", "0.52256125", "0.5055843", "0.49998626", "0.49351957", "0.49258068", "0.49192542", "0.4878291", "0.48263288", "0.4769921", "0.4717104", "0.46754628", "0.4575283", "0.45739007", "0.45656505", "0.4556876", "0.45459545", "0.4531731", "0.45279518", "0.4501231", "0.44785088", "0.4458046", "0.44538435", "0.44486013", "0.44280902", "0.4423075", "0.4409795", "0.44094735", "0.43889332", "0.4350139", "0.4337027", "0.4319008", "0.43008402", "0.42979777", "0.4295767", "0.42854676", "0.42849633", "0.4273313", "0.42652094", "0.42623055", "0.4257764", "0.42575076", "0.42547655", "0.42445752", "0.4244444", "0.42431834", "0.42371035", "0.4227169", "0.42243987", "0.42231017", "0.42214778", "0.4213616", "0.4213616", "0.42042452", "0.41822305", "0.4182034", "0.41786537", "0.41785082", "0.41760236", "0.41725355", "0.41723925", "0.4169305", "0.41679043", "0.41645414", "0.41637233", "0.4147848", "0.41319793", "0.41257885", "0.41239417", "0.41204926", "0.41169834", "0.41145048", "0.41137597", "0.410999", "0.41065708", "0.41029993", "0.410126", "0.40941635", "0.40923706", "0.40903977", "0.40850246", "0.4084995", "0.40708503", "0.40652382", "0.40620556", "0.40619877", "0.40574944", "0.4052894", "0.40526766", "0.4046426" ]
0.81144553
0
GET /syscouponclassifies : get all the sysCouponClassifies.
@GetMapping("/sys-coupon-classifies") @Timed public List<SysCouponClassify> getAllSysCouponClassifies() { log.debug("REST request to get all SysCouponClassifies"); return sysCouponClassifyService.findAll(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@GetMapping(\"/sys-coupon-classifies/{id}\")\n @Timed\n public ResponseEntity<SysCouponClassify> getSysCouponClassify(@PathVariable Long id) {\n log.debug(\"REST request to get SysCouponClassify : {}\", id);\n Optional<SysCouponClassify> sysCouponClassify = sysCouponClassifyService.findOne(id);\n return ResponseUtil.wrapOrNotFound(sysCouponClassify);\n }", "@Override\n\tpublic List<BeanCoupon> loadAllSystemCoupons() throws BaseException {\n\t\tList< BeanCoupon > result=new ArrayList<BeanCoupon>();\n\t\t\n\t\tConnection conn=null;\n\t\ttry {\n\t\t\tconn=DBUtil.getConnection();\n\t\t\tString sql=\"select * from coupon where coupon_end_time > now()\";\n\t\t\tjava.sql.PreparedStatement pst=conn.prepareStatement(sql);\n\t\t\tjava.sql.ResultSet rs=pst.executeQuery();\n\t\t\twhile(rs.next()) {\n\t\t\t\tBeanCoupon cp=new BeanCoupon();\n\t\t\t\tcp.setCoupon_id(rs.getString(1));\n\t\t\t\tcp.setCoupon_content(rs.getString(2));\n\t\t\t\tcp.setCoupon_fit_money(rs.getFloat(3));\n\t\t\t\tcp.setCoupon_price(rs.getFloat(4));\n\t\t\t\tcp.setCoupon_start_time(rs.getTimestamp(5));\n\t\t\t\tcp.setCoupon_end_time(rs.getTimestamp(6));\n\t\t\t\tresult.add(cp);\n\t\t\t}\n\t\t\t\n\t\t\treturn result;\n\t\t} catch (SQLException e) {\n\t\t\te.printStackTrace();\n\t\t\tthrow new DbException(e);\n\t\t}\n\t\tfinally{\n\t\t\tif(conn!=null)\n\t\t\t\ttry {\n\t\t\t\t\tconn.close();\n\t\t\t\t} catch (SQLException e) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t}\n\t\t\t\t\n\t}", "public static ArrayList<Classification> getAllClassifications() {\n\t\tString path = ALL_CLASSIF;\n\t\tHttpResponse<String> response = sendRequest(path);\n\t\tif(response == null) return null;\n\t\treturn getClassifications(response);\n\t}", "@Override\n\t/** Returns all Coupons as an array list */\n\tpublic Collection<Coupon> getAllCoupons() throws CouponSystemException {\n\t\tConnection con = null;\n\t\t// Getting a connection from the Connection Pool\n\t\tcon = ConnectionPool.getInstance().getConnection();\n\t\t// Create list object to fill it later with Coupons\n\t\tCollection<Coupon> colCoup = new ArrayList<>();\n\n\t\ttry {\n\t\t\t// Defining SQL string to retrieve all Coupons via prepared\n\t\t\t// statement\n\t\t\tString getAllCouponsSQL = \"select * from coupon\";\n\t\t\t// Creating prepared statement with predefined SQL string\n\t\t\tPreparedStatement pstmt = con.prepareStatement(getAllCouponsSQL);\n\t\t\t// Executing prepared statement and using its result for\n\t\t\t// post-execute manipulations\n\t\t\tResultSet resCoup = pstmt.executeQuery();\n\t\t\t// While there is result line in resCoup do lines below\n\t\t\twhile (resCoup.next()) {\n\t\t\t\t// Creating Coupon object to fill it later with data from SQL\n\t\t\t\t// query result and for method to add it to the list and return\n\t\t\t\t// it afterwards\n\t\t\t\tCoupon coupon = new Coupon();\n\t\t\t\t// Set Coupon attributes according to the results in the\n\t\t\t\t// ResultSet\n\t\t\t\tcoupon.setId(resCoup.getInt(\"id\"));\n\t\t\t\tcoupon.setTitle(resCoup.getString(\"title\"));\n\t\t\t\tcoupon.setStart_date(resCoup.getDate(\"start_date\"));\n\t\t\t\tcoupon.setEnd_date(resCoup.getDate(\"end_date\"));\n\t\t\t\tcoupon.setExpired(resCoup.getString(\"expired\"));\n\t\t\t\tcoupon.setType(resCoup.getString(\"type\"));\n\t\t\t\tcoupon.setMessage(resCoup.getString(\"message\"));\n\t\t\t\tcoupon.setPrice(resCoup.getInt(\"price\"));\n\t\t\t\tcoupon.setImage(resCoup.getString(\"image\"));\n\t\t\t\t// Add resulting Coupon to the list\n\t\t\t\tcolCoup.add(coupon);\n\t\t\t}\n\t\t} catch (SQLException e) {\n\t\t\t// Handling SQL exception during Coupon retrieval from the database\n\t\t\tthrow new CouponSystemException(\"SQL error - Coupon list retrieve has been failed\", e);\n\t\t} finally {\n\t\t\t// In any case we return connection to the Connection Pool (at least\n\t\t\t// we try to)\n\t\t\tConnectionPool.getInstance().returnConnection(con);\n\t\t}\n\n\t\t// Return resulted list of Coupons\n\t\treturn colCoup;\n\t}", "java.util.List<hr.client.appuser.CouponCenter.AppCoupon> \n getCouponListList();", "public static Set<Classification> getClassifications() throws Exception {\r\n String xmlRequest = \"<request><request-header><protocol-version>2</protocol-version></request-header></request>\";\r\n try {\r\n String responseXML = FSHelperLibrary.sendRequest(null, RequestType.RT_GET_CLASSIFICATIONS, xmlRequest);\r\n LoggerUtil.logDebug(\"Get Classificatios Response XML: \" + responseXML);\r\n\r\n Node rootNode = XMLUtil.getRootNode(responseXML);\r\n Node requestStatusNode = XMLUtil.parseNode(\"request-status\", rootNode);\r\n String returnValue = XMLUtil.parseString(\"return-value\", requestStatusNode);\r\n\r\n if (!\"1\".equals(returnValue)) {\r\n LoggerUtil.logError(\"Get Classificatios Response XML: \" + responseXML);\r\n String errorMsg = XMLUtil.parseString(\"error-message\", requestStatusNode);\r\n String dispMsg = XMLUtil.parseString(\"display-message\", requestStatusNode);\r\n if (dispMsg == null || dispMsg.trim().isEmpty()) {\r\n dispMsg = errorMsg;\r\n }\r\n throw new Exception(dispMsg);\r\n }\r\n\r\n NodeList lNodeList = XMLUtil.parseNodeList(\"classifications/classification\", rootNode);\r\n if (lNodeList != null && lNodeList.getLength() > 0) {\r\n Set<Classification> lClassifications = new LinkedHashSet<Classification>();\r\n for (int i = 0; i < lNodeList.getLength(); i++) {\r\n Node lNode = lNodeList.item(i);\r\n String lstrClassId = XMLUtil.parseString(\"id\", lNode);\r\n String lstrClassName = XMLUtil.parseString(\"name\", lNode);\r\n String lstrClassDesc = XMLUtil.parseString(\"description\", lNode);\r\n String lstrStatus = XMLUtil.parseString(\"status\", lNode);\r\n // Take only active classification\r\n if (\"1\".equals(lstrStatus)) {\r\n Classification lClassification = new Classification();\r\n lClassification.setId(lstrClassId);\r\n lClassification.setName(lstrClassName);\r\n lClassification.setDescription(lstrClassDesc);\r\n lClassifications.add(lClassification);\r\n }\r\n }\r\n XMLDBService.updateClassifications(lClassifications);\r\n return lClassifications;\r\n }\r\n } catch (FSHelperException e) {\r\n throw e;\r\n }\r\n return null;\r\n }", "public Collection<Coupon> getAllCoupon() throws DbException;", "hr.client.appuser.CouponCenter.AppCoupon getCouponList(int index);", "@Override\n\tpublic HashSet<Coupon> getAllCoupon() throws ClassNotFoundException, SQLException, ParseException {\n\t\tConnection connection = ConnectionPool.getInstance().getConnection();\n\t\tHashSet<Coupon> collectionCoupon = new HashSet<Coupon>();\n\t\tPreparedStatement statement = connection.prepareStatement(SQLQueryRequest.GET_ALL_COUPON_ID);\n\t\tResultSet resultSet = statement.executeQuery();\n\t\twhile (resultSet.next()) {\n\t\t\tcollectionCoupon.add(getCoupon(resultSet.getLong(1)));\n\t\t}\n\t\tConnectionPool.getInstance().returnConnection(connection);\n\t\treturn collectionCoupon;\n\t}", "public Collection<Coupon> getCouponByType(CouponType type) throws DbException;", "@javax.annotation.Nullable\n @ApiModelProperty(value = \"Maps the coupon value to a key-value list of that coupons attributes.\")\n\n public Object getCoupons() {\n return coupons;\n }", "public Collection<Coupon> getCompanyCoupons() {\n return couponRepo.findCouponsByCompanyID(this.companyID);\n }", "java.util.List<org.landxml.schema.landXML11.ClassificationDocument.Classification> getClassificationList();", "public java.util.List<org.oep.usermgt.model.Citizen> findAll()\n\t\tthrows com.liferay.portal.kernel.exception.SystemException;", "@Override\n\t/** Returns all Coupons of selected Company as an array list */\n\tpublic Collection<Coupon> getCouponsByCompany(int compID) throws CouponSystemException {\n\t\tConnection con = null;\n\t\t// Getting a connection from the Connection Pool\n\t\tcon = ConnectionPool.getInstance().getConnection();\n\t\t// Create list object to fill it later with Coupons\n\t\tCollection<Coupon> colCoup = new ArrayList<>();\n\n\t\ttry {\n\t\t\t// Defining SQL string to retrieve Coupons via prepared statement\n\t\t\tString getCouponsByCompanySQL = \"select * from coupon where id in (select couponid from compcoupon where companyid = ?)\";\n\t\t\t// Creating prepared statement with predefined SQL string\n\t\t\tPreparedStatement pstmt = con.prepareStatement(getCouponsByCompanySQL);\n\t\t\t// Set Company ID variable that method received into prepared\n\t\t\t// statement\n\t\t\tpstmt.setInt(1, compID);\n\t\t\t// Executing prepared statement and using its result for\n\t\t\t// post-execute manipulations\n\t\t\tResultSet resCoup = pstmt.executeQuery();\n\t\t\t// While there is result line in resCoup do lines below\n\t\t\twhile (resCoup.next()) {\n\t\t\t\t// Creating Coupon object to fill it later with data from SQL\n\t\t\t\t// query result and for method to add it to the list and return\n\t\t\t\t// it afterwards\n\t\t\t\tCoupon coupon = new Coupon();\n\t\t\t\t// Set Coupon attributes according to the results in the\n\t\t\t\t// ResultSet\n\t\t\t\tcoupon.setId(resCoup.getInt(\"id\"));\n\t\t\t\tcoupon.setTitle(resCoup.getString(\"title\"));\n\t\t\t\tcoupon.setStart_date(resCoup.getDate(\"start_date\"));\n\t\t\t\tcoupon.setEnd_date(resCoup.getDate(\"end_date\"));\n\t\t\t\tcoupon.setExpired(resCoup.getString(\"expired\"));\n\t\t\t\tcoupon.setType(resCoup.getString(\"type\"));\n\t\t\t\tcoupon.setMessage(resCoup.getString(\"message\"));\n\t\t\t\tcoupon.setPrice(resCoup.getInt(\"price\"));\n\t\t\t\tcoupon.setImage(resCoup.getString(\"image\"));\n\t\t\t\t// Add resulting Coupon to the list\n\t\t\t\tcolCoup.add(coupon);\n\t\t\t}\n\t\t} catch (SQLException e) {\n\t\t\t// Handling SQL exception during Coupon retrieval from the database\n\t\t\tthrow new CouponSystemException(\"SQL error - Coupon list retrieve has been failed\", e);\n\t\t} finally {\n\t\t\t// In any case we return connection to the Connection Pool (at least\n\t\t\t// we try to)\n\t\t\tConnectionPool.getInstance().returnConnection(con);\n\t\t}\n\n\t\t// Return resulted list of Coupons\n\t\treturn colCoup;\n\t}", "public ArrayList<Coupon> getCustomerCoupons() throws Exception {\n\n\t\treturn customersDBDAO.getAllCustomerCoupons(this.getCustomerId());\n\n\t}", "public java.util.List<hr.client.appuser.CouponCenter.AppCoupon> getCouponListList() {\n return couponList_;\n }", "@Override\r\n\tpublic List<Classified> getAllClassified() {\n\t\treturn null;\r\n\t}", "@Override\n\t/** Returns all Coupons of selected type as an array list */\n\tpublic Collection<Coupon> getCouponsByType(String coupType, int compID) throws CouponSystemException {\n\t\tConnection con = null;\n\t\t// Getting a connection from the Connection Pool\n\t\tcon = ConnectionPool.getInstance().getConnection();\n\t\t// Create list object to fill it later with Coupons\n\t\tCollection<Coupon> colCoup = new ArrayList<>();\n\n\t\ttry {\n\t\t\t// Defining SQL string to retrieve Coupons via prepared statement\n\t\t\tString getCouponsByTypeSQL = \"select * from coupon where type = ? and id in(select couponid from compcoupon where companyid = ?)\";\n\t\t\t// Creating prepared statement with predefined SQL string\n\t\t\tPreparedStatement pstmt = con.prepareStatement(getCouponsByTypeSQL);\n\t\t\t// Set Coupon object type to coupType variable that method received\n\t\t\tpstmt.setString(1, coupType);\n\t\t\tpstmt.setInt(2, compID);\n\t\t\t// Executing prepared statement and using its result for\n\t\t\t// post-execute manipulations\n\t\t\tResultSet resCoup = pstmt.executeQuery();\n\t\t\t// While there is result line in resCoup do lines below\n\t\t\twhile (resCoup.next()) {\n\t\t\t\t// Creating Coupon object to fill it later with data from SQL\n\t\t\t\t// query result and for method to add it to the list and return\n\t\t\t\t// it afterwards\n\t\t\t\tCoupon coupon = new Coupon();\n\t\t\t\t// Set Coupon attributes according to the results in the\n\t\t\t\t// ResultSet\n\t\t\t\tcoupon.setId(resCoup.getInt(\"id\"));\n\t\t\t\tcoupon.setTitle(resCoup.getString(\"title\"));\n\t\t\t\tcoupon.setStart_date(resCoup.getDate(\"start_date\"));\n\t\t\t\tcoupon.setEnd_date(resCoup.getDate(\"end_date\"));\n\t\t\t\tcoupon.setExpired(resCoup.getString(\"expired\"));\n\t\t\t\tcoupon.setType(resCoup.getString(\"type\"));\n\t\t\t\tcoupon.setMessage(resCoup.getString(\"message\"));\n\t\t\t\tcoupon.setPrice(resCoup.getInt(\"price\"));\n\t\t\t\tcoupon.setImage(resCoup.getString(\"image\"));\n\t\t\t\t// Add resulting Coupon to the list\n\t\t\t\tcolCoup.add(coupon);\n\t\t\t}\n\t\t} catch (SQLException e) {\n\t\t\t// Handling SQL exception during Coupon retrieval from the database\n\t\t\tthrow new CouponSystemException(\"SQL error - Coupon list retrieve has been failed\", e);\n\t\t} finally {\n\t\t\t// In any case we return connection to the Connection Pool (at least\n\t\t\t// we try to)\n\t\t\tConnectionPool.getInstance().returnConnection(con);\n\t\t}\n\n\t\t// Return resulted list of Coupons\n\t\treturn colCoup;\n\t}", "Collection<String> getAllSupportedCurrenciesByShops();", "@PostMapping(\"/sys-coupon-classifies\")\n @Timed\n public ResponseEntity<SysCouponClassify> createSysCouponClassify(@RequestBody SysCouponClassify sysCouponClassify) throws URISyntaxException {\n log.debug(\"REST request to save SysCouponClassify : {}\", sysCouponClassify);\n if (sysCouponClassify.getId() != null) {\n throw new BadRequestAlertException(\"A new sysCouponClassify cannot already have an ID\", ENTITY_NAME, \"idexists\");\n }\n SysCouponClassify result = sysCouponClassifyService.save(sysCouponClassify);\n return ResponseEntity.created(new URI(\"/api/sys-coupon-classifies/\" + result.getId()))\n .headers(HeaderUtil.createEntityCreationAlert(ENTITY_NAME, result.getId().toString()))\n .body(result);\n }", "@Override\r\n\tpublic List<ClassificationVO> selectClassificationList() {\n\t\treturn getSqlSession().selectList(namespace+\".selectClassificationList\");\r\n\t}", "public Collection<Coupon> getAllPurchasedCoupons() {\r\n\t\treturn db.getCustomer(cust).getCouponHistory();\r\n\t}", "public hr.client.appuser.CouponCenter.AppCoupon getCouponList(int index) {\n return couponList_.get(index);\n }", "public final ArrayList<ProductCoupon> getCouponList() {\n return (ArrayList) this.couponList$delegate.getValue();\n }", "java.util.List<? extends hr.client.appuser.CouponCenter.AppCouponOrBuilder> \n getCouponListOrBuilderList();", "private static ArrayList<Classification> getClassifications(HttpResponse<String> response){\n\t\tArrayList<Classification> classifications;\n\t\ttry {\n\t\t\tclassifications = new ObjectMapper().readValue(response.body(), new TypeReference<ArrayList<Classification>>(){});\n\t\t\treturn classifications;\n\t\t} catch (JsonMappingException e) {\n\t\t\te.printStackTrace();\n\t\t} catch (JsonProcessingException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\t//return null;\n\t\treturn new ArrayList<Classification>();\n\t}", "@GetMapping(\"/allcoupans\")\n\tpublic ResponseEntity<List<Coupan>> getAllCoupan(){\n\t\tList<Coupan> resultCoupan = iCoupanService.getAllCoupans();\n\t\treturn new ResponseEntity<List<Coupan>>(resultCoupan, HttpStatus.OK);\n\t}", "public List<BotClassification> getClassifications() {\n return classifications;\n }", "hr.client.appuser.CouponCenter.AppCouponOrBuilder getCouponListOrBuilder(\n int index);", "public ArrayList<Coupon> getCustomerCouponsByMaxPrice(int maxPrice) throws Exception {\n\n\t\treturn customersDBDAO.getAllCustomerCouponsByMaxPrice(customerId, maxPrice);\n\n\t}", "public List<Coupon> getAllCoupons(double minPrice, double maxPrice, String typeName) {\n\t\tList<Coupon> coupons;\n\t\tif (typeName != null && !typeName.trim().isEmpty())\n\t\t\tcoupons = couponRepository.findActiveCouponsByParams(minPrice, maxPrice, typeName);\n\t\telse\n\t\t\tcoupons = couponRepository.findActiveCouponsByPriceRange(minPrice, maxPrice);\n\t\treturn Validations.VerifyNotEmpty(coupons);\n\t}", "@Override\n\tpublic ArrayList<Coupon> getCouponByType(Coupon.CouponType type, Company c) throws CouponSystemException {\n\t\tConnection con = cp.getConnection(); // Get the connection\n\n\t\tCoupon coup = new Coupon();\n\t\tArrayList<Coupon> couponList = new ArrayList<>();\n\t\ttry (Statement st = con.createStatement();\n\t\t\t\tResultSet rs = st.executeQuery(\n\t\t\t\t\t\t\"SELECT coupon.* from company_coupon right join coupon on company_coupon.coupon_id = coupon.id where company_coupon.comp_id=\"\n\t\t\t\t\t\t\t\t+ c.getId() + \"and type= '\" + type + \"'\")) {\n\n\t\t\twhile (rs.next()) {\n\t\t\t\tcoup = new Coupon(rs.getString(2), rs.getDate(3), rs.getDate(4), rs.getInt(5),\n\t\t\t\t\t\tCoupon.CouponType.valueOf(rs.getString(6)), rs.getString(7), rs.getDouble(8), rs.getString(9));\n\t\t\t\tcoup.setId(rs.getLong(1));\n\t\t\t\tcouponList.add(coup);\n\t\t\t}\n\n\t\t} catch (SQLException e) {\n\t\t\tthrow new CouponSystemException(\"can not read the coupons\", e);\n\t\t} finally {\n\t\t\tcp.returnConnection(con); // return the connection to the Connection pool\n\t\t}\n\t\treturn couponList;\n\t}", "public abstract Class<?>[] getCoClasses();", "public java.util.List<hr.client.appuser.CouponCenter.AppCoupon> getCouponListList() {\n if (couponListBuilder_ == null) {\n return java.util.Collections.unmodifiableList(couponList_);\n } else {\n return couponListBuilder_.getMessageList();\n }\n }", "int getCouponListCount();", "public double[] fetchClassificationRates() \n {\n\n double[] classificationRates = new double[10];\n \n for (int digit = 0; digit < 10; digit++) \n {\n \tclassificationRates[digit] = fetchConfusionMatrix()[digit][digit];\n }\n\n return classificationRates;\n }", "private static Collection<EClass> getAllClasses(String model)\n {\n Collection<EClass> result;\n if (Constants.SYSML_EXTENSION.equals(model.toLowerCase()))\n {\n result = new LinkedList<EClass>(SysMLPackage.Literals.REQUIREMENT.getEAllSuperTypes());\n result.add(SysMLPackage.Literals.REQUIREMENT);\n }\n else\n {\n result = new LinkedList<EClass>(UMLPackage.Literals.CLASS.getEAllSuperTypes());\n result.add(UMLPackage.Literals.CLASS);\n }\n\n return result;\n }", "public ArrayList<Coupon> getCompanyCoupons() throws SQLException {\r\n\t\tArrayList<Coupon> coupons = couponsDAO.getAllCoupons();\r\n\t\tArrayList<Coupon> coups = new ArrayList<>();\r\n\t\tfor (Coupon coupon : coupons) {\r\n\t\t\tif (companyID == coupon.getCompanyID())\r\n\t\t\t\tcoups.add(coupon);\r\n\t\t}\r\n\t\treturn coups;\r\n\t}", "@Override\n\tpublic List<Get_coupons> findGetcouponsByUserid(String userid) {\n\t\tList<Get_coupons> list=getcouponsDAO.findGetcouponsByUserid(userid);\n\t\treturn list;\n\t}", "public static ArrayList<Classification> getLastClassifications() {\n\t\tString path = LAST_CLASSIF;\n\t\tHttpResponse<String> response = sendRequest(path);\n\t\tif(response == null) return null;\n\t\treturn getClassifications(response);\n\t}", "@GetMapping(\"/customer/discount\")\n\tpublic List<Customer> getCustomerByDiscount(){\n\t\treturn customerRepository.getCustomerByDiscount(true);\n\t}", "@Override\n\tpublic List<Classe> getClasses() {\n\t\treturn classeRepo.findAll();\n\t}", "public hr.client.appuser.CouponCenter.AppCoupon getCouponList(int index) {\n if (couponListBuilder_ == null) {\n return couponList_.get(index);\n } else {\n return couponListBuilder_.getMessage(index);\n }\n }", "public void getAllPurchasedCoupons() throws DBException\n {\n\t customerDBDAO.getCoupons();\n }", "@Override\n\tpublic HashSet<Coupon> getCouponByType(CouponType couponType)\n\t\t\tthrows ClassNotFoundException, SQLException, ParseException {\n\t\tConnection connection = ConnectionPool.getInstance().getConnection();\n\t\tHashSet<Coupon> collectionCoupon = new HashSet<Coupon>();\n\t\tPreparedStatement statement = connection.prepareStatement(SQLQueryRequest.GET_ALL_COUPON_ID_BY_TYPE);\n\t\tResultSet resultSet = statement.executeQuery();\n\t\twhile (resultSet.next()) {\n\t\t\tcollectionCoupon.add(getCoupon(resultSet.getLong(1)));\n\t\t}\n\t\tConnectionPool.getInstance().returnConnection(connection);\n\t\treturn collectionCoupon;\n\t}", "public Collection<Coupon> getCompanyCoupons(double maxPrice) {\n return couponRepo.findCouponsByCompanyIDAndPriceLessThanEqual(this.companyID, maxPrice);\n }", "public List<String> getConstituencies() throws HttpNotFoundException, HttpBadRequestException, HttpForbiddenException, HttpFetchException, JsonProcessingException, IOException, URISyntaxException {\n\t\tURIBuilder url = setupUrlFor(GET_CONSTITUENCIES);\n\t\t\n\t\tfinal List<String> constituencyNames = Lists.newArrayList();\t\n\t\tfinal Iterator<JsonNode> elements = objectMapper.readTree(httpFetcher.get(url.build())).elements();\n\t\twhile(elements.hasNext()) {\n\t\t\tJsonNode next = elements.next();\n\t\t\tconstituencyNames.add(next.get(NAME).asText());\n\t\t}\t\t\n\t\treturn constituencyNames;\n\t}", "@DeleteMapping(\"/sys-coupon-classifies/{id}\")\n @Timed\n public ResponseEntity<Void> deleteSysCouponClassify(@PathVariable Long id) {\n log.debug(\"REST request to delete SysCouponClassify : {}\", id);\n sysCouponClassifyService.delete(id);\n return ResponseEntity.ok().headers(HeaderUtil.createEntityDeletionAlert(ENTITY_NAME, id.toString())).build();\n }", "public Result viewCoupons() {\n CouponReceiveCenter receiveCenter = CouponReceiveCenter.find.byId(session().get(\"email\"));\n return ok(\n views.html.allcoupons.render(receiveCenter)\n );\n }", "public java.util.List<? extends hr.client.appuser.CouponCenter.AppCouponOrBuilder> \n getCouponListOrBuilderList() {\n return couponList_;\n }", "public List<CntConfiguracionCentrocosto> getListaCntConfiguracionCentrocosto() {\n return listaCntConfiguracionCentrocosto;\n }", "List<Coupon> findAllByCategory(Category category);", "@Override\n\tpublic List<Classe> getClasses() {\n\t\treturn classeRepository.findAll();\n\t}", "public List<String> getClassesList() {\n\t\tCursor c = theDb.rawQuery(\"SELECT * \" +\n\t\t\t\t\t\t\t\t \"FROM \" + DbContract.Classes.TABLE_NAME, null);\n\t\t\n\t\t//Read cursor into an ArrayList\n\t\tList<String> classesList = new ArrayList<String>();\n\t\tclassesList.add( context.getString(R.string.all_classes) );\t\t\t//Add \"All classes\"\n\t\t\n\t\twhile (c.moveToNext()) {\n\t\t\tclassesList.add( c.getString( c.getColumnIndex(DbContract.Classes.ATTRIBUTE_NAME)));\n\t\t}\n\t\t\n\t\treturn classesList;\n\t}", "public ArrayList<Coupon> getCoupons(ArrayList<Long> id) {\n\t\treturn couponRepository.getCoupons(id);\n\t}", "public ArrayList<CategorySupplier> getCategorySupplierList(){\n\t\tSession session = HibernateUtils.getSessionFactory().openSession();\n\t\tArrayList<CategorySupplier> list = new ArrayList<CategorySupplier>();\n\t\ttry{\n\t\t\tCriteria cr = session.createCriteria(TblCategorySupplier.class);\n\t\t\tList<TblCategorySupplier> categorysuppliers = cr.list();\n\t\t\tif (categorysuppliers.size() > 0){\n\t\t\t\tfor (Iterator<TblCategorySupplier> iterator = categorysuppliers.iterator(); iterator.hasNext();){\n\t\t\t\t\tTblCategorySupplier tblcategorysupplier = iterator.next();\n\t\t\t\t\tCategorySupplier categorysupplier = new CategorySupplier();\n\t\t\t\t\tcategorysupplier.convertFromTable(tblcategorysupplier);\n\t\t\t\t\tlist.add(categorysupplier);\n\t\t\t\t}\n\t\t\t}\n\t\t}catch(HibernateException e){\n\t\t\tSystem.err.println(\"ERROR IN LIST!!!!!!\");\n\t\t\te.printStackTrace();\n\t\t\tthrow new ExceptionInInitializerError(e);\n\t\t}finally{\n\t\t\tsession.close();\n\t\t}\n\t\treturn list;\n\t}", "public hr.client.appuser.CouponCenter.AppCouponOrBuilder getCouponListOrBuilder(\n int index) {\n return couponList_.get(index);\n }", "org.landxml.schema.landXML11.ClassificationDocument.Classification[] getClassificationArray();", "@Override\n\tpublic List<BeanCoupon> loadAllUserCoupons(BeanUser u) throws BaseException {\n\t\tList< BeanCoupon > result=new ArrayList<BeanCoupon>();\n\t\t\n\t\tConnection conn=null;\n\t\ttry {\n\t\t\n\t\t\tconn=DBUtil.getConnection();\n\t\t\tString sql=\"SELECT * FROM coupon WHERE coupon_id in\"\n\t\t\t\t\t+ \"(SELECT coupon_id FROM user_coupon WHERE user_id=?) \"\n\t\t\t\t\t+ \"and coupon_end_time > now()\";\n\t\t\tjava.sql.PreparedStatement pst=conn.prepareStatement(sql);\n\t\t\tpst.setString(1, u.getUser_id());\n\t\t\tjava.sql.ResultSet rs=pst.executeQuery();\n\t\t\t\n\t\t\twhile(rs.next()) {\n\t\t\t\tBeanCoupon cp=new BeanCoupon();\n\t\t\t\tcp.setCoupon_id(rs.getString(1));\n\t\t\t\tcp.setCoupon_content(rs.getString(2));\n\t\t\t\tcp.setCoupon_fit_money(rs.getFloat(3));\n\t\t\t\tcp.setCoupon_price(rs.getFloat(4));\n\t\t\t\tcp.setCoupon_start_time(rs.getTimestamp(5));\n\t\t\t\tcp.setCoupon_end_time(rs.getTimestamp(6));\n\t\t\t\tresult.add(cp);\n\t\t\t}\n\t\t\t\n\t\t\t\n\t\t} catch (SQLException e) {\n\t\t\te.printStackTrace();\n\t\t\tthrow new DbException(e);\n\t\t}\n\t\tfinally{\n\t\t\tif(conn!=null)\n\t\t\t\ttry {\n\t\t\t\t\tconn.close();\n\t\t\t\t} catch (SQLException e) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t}\n\t\treturn result;\t\n\t}", "public List<Classinfo> list() {\n\t\treturn null;\r\n\t}", "public List<SerCj> listCj() {\n\t\treturn sercjmapper.listCj();\n\t}", "public SortedSet<ClassificationPair> getClassifications() {\n\t\treturn this.classifications;\n\t}", "@Override\r\n\tpublic ArrayList<Company> getAllCompanies() throws CouponSystemException {\r\n\t\tConnection con = null;\r\n\t\ttry {\r\n\t\t\tcon = ConnectionPool.getInstance().getConnection();\r\n\t\t\tArrayList<Company> allCompanies = new ArrayList<>();\r\n\t\t\tString sql = \"select * from companies\";\r\n\t\t\tStatement stmt = con.createStatement();\r\n\t\t\tResultSet rs = stmt.executeQuery(sql);\r\n\r\n\t\t\twhile (rs.next()) {\r\n\t\t\t\tCompany comp = new Company(rs.getInt(\"companyId\"), rs.getString(\"companyName\"),\r\n\t\t\t\t\t\trs.getString(\"companyEmail\"), rs.getString(\"companyPass\"));\r\n\t\t\t\tallCompanies.add(comp);\r\n\t\t\t}\r\n\t\t\treturn allCompanies;\r\n\r\n\t\t} catch (SQLException e) {\r\n\t\t\tthrow new CouponSystemException(\"getAllCompanies Failed\", e);\r\n\t\t} finally {\r\n\t\t\tif (con != null) {\r\n\t\t\t\tConnectionPool.getInstance().restoreConnection(con);\r\n\t\t\t}\r\n\t\t}\r\n\t}", "public java.util.List<? extends hr.client.appuser.CouponCenter.AppCouponOrBuilder> \n getCouponListOrBuilderList() {\n if (couponListBuilder_ != null) {\n return couponListBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(couponList_);\n }\n }", "@ServiceMethod(returns = ReturnType.COLLECTION)\n public PagedIterable<DeviceClass> getAllDeviceClasses(Context context) {\n return this.serviceClient.getAllDeviceClasses(context);\n }", "@GET\r\n\t@Produces(MediaType.APPLICATION_JSON)\r\n\tpublic List<CohabitRequestInfo> listAllCohabitRequests(){\r\n\t\t\r\n\t\tEntityManager em = getEntityManager();\r\n\t\tManageRequestService service = new ManageRequestService(em);\r\n\t\tList<CohabitRequest> cohabitRequests = service.viewAllRequests();\r\n\t\tList<CohabitRequestInfo> requests = CohabitRequestInfo.wrap(cohabitRequests);\r\n\t\tem.close();\r\n\t\t\r\n\t\treturn requests;\r\n\t}", "public ArrayList<Concert> getConcerts(){\n\t\treturn concerts;\n\t}", "@RequestMapping(value = \"/tiposdiscapacidad/\", \n\t method = RequestMethod.GET, \n\t headers=\"Accept=application/json\"\n\t ) \n\tpublic List<TipoDiscapacidad> getTipos(){\n\t\treturn tipoDiscapacidadRepository.findAll();\n\t}", "public java.util.List<com.alain.puntocoma.model.Catalogo> findAll()\n throws com.liferay.portal.kernel.exception.SystemException;", "@GetMapping\n\t public List<Categories> touslescategories() {\n\t\treturn catsociete.findAll();}", "@WebMethod public Coupon getCoupon(String coupon);", "List<Coupon> findByCompanyId(int companyId);", "public String[] getAllCopiers();", "@Override\r\n\tpublic List<ClasseStandard> getAllClasseStandard() {\r\n\t\tSession s=sf.getCurrentSession();\r\n\t\tString req=\"from ClasseStandard\";\r\n\t\tQuery query=s.createQuery(req);\r\n\t\treturn query.list();\r\n\t}", "@Override\n\t/**\n\t * Returns all Coupons with price less than value method received as an\n\t * array list sorted descended\n\t */\n\tpublic Collection<Coupon> getCouponsByPrice(int price, int compID) throws CouponSystemException {\n\t\tConnection con = null;\n\t\t// Getting a connection from the Connection Pool\n\t\tcon = ConnectionPool.getInstance().getConnection();\n\t\t// Create list object to fill it later with Coupons\n\t\tCollection<Coupon> colCoup = new ArrayList<>();\n\n\t\ttry {\n\t\t\t// Defining SQL string to retrieve Coupons via prepared statement\n\n\t\t\tString getCouponsByPriceSQL = \"select * from coupon where price < ? and id in(select couponid from compcoupon where companyid = ?) order by price desc\";\n\t\t\t// Creating prepared statement with predefined SQL string\n\t\t\tPreparedStatement pstmt = con.prepareStatement(getCouponsByPriceSQL);\n\t\t\t// Set price variable that method received into prepared statement\n\t\t\tpstmt.setInt(1, price);\n\t\t\tpstmt.setInt(2, compID);\n\t\t\t// Executing prepared statement and using its result for\n\t\t\t// post-execute manipulations\n\t\t\tResultSet resCoup = pstmt.executeQuery();\n\t\t\t// While there is result line in resCoup do lines below\n\t\t\twhile (resCoup.next()) {\n\t\t\t\t// Creating Coupon object to fill it later with data from SQL\n\t\t\t\t// query result and for method to add it to the list and return\n\t\t\t\t// it afterwards\n\t\t\t\tCoupon coupon = new Coupon();\n\t\t\t\t// Set Coupon attributes according to the results in the\n\t\t\t\t// ResultSet\n\t\t\t\tcoupon.setId(resCoup.getInt(\"id\"));\n\t\t\t\tcoupon.setTitle(resCoup.getString(\"title\"));\n\t\t\t\tcoupon.setStart_date(resCoup.getDate(\"start_date\"));\n\t\t\t\tcoupon.setEnd_date(resCoup.getDate(\"end_date\"));\n\t\t\t\tcoupon.setExpired(resCoup.getString(\"expired\"));\n\t\t\t\tcoupon.setType(resCoup.getString(\"type\"));\n\t\t\t\tcoupon.setMessage(resCoup.getString(\"message\"));\n\t\t\t\tcoupon.setPrice(resCoup.getInt(\"price\"));\n\t\t\t\tcoupon.setImage(resCoup.getString(\"image\"));\n\t\t\t\t// Add resulting Coupon to the list\n\t\t\t\tcolCoup.add(coupon);\n\t\t\t}\n\t\t} catch (SQLException e) {\n\t\t\t// Handling SQL exception during Coupon retrieval from the database\n\t\t\tthrow new CouponSystemException(\"SQL error - Coupon list retrieve has been failed\", e);\n\t\t} finally {\n\t\t\t// In any case we return connection to the Connection Pool (at least\n\t\t\t// we try to)\n\t\t\tConnectionPool.getInstance().returnConnection(con);\n\t\t}\n\n\t\t// Return resulted list of Coupons\n\t\treturn colCoup;\n\t}", "public Future<List<String>> getTelephonyProvidersEdgesSiteNumberplansClassificationsAsync(GetTelephonyProvidersEdgesSiteNumberplansClassificationsRequest request, final AsyncApiCallback<List<String>> callback) {\n try {\n final SettableFuture<List<String>> future = SettableFuture.create();\n final boolean shouldThrowErrors = pcapiClient.getShouldThrowErrors();\n pcapiClient.invokeAsync(request.withHttpInfo(), new TypeReference<List<String>>() {}, new AsyncApiCallback<ApiResponse<List<String>>>() {\n @Override\n public void onCompleted(ApiResponse<List<String>> response) {\n notifySuccess(future, callback, response.getBody());\n }\n\n @Override\n public void onFailed(Throwable exception) {\n if (shouldThrowErrors) {\n notifyFailure(future, callback, exception);\n }\n else {\n notifySuccess(future, callback, null);\n }\n }\n });\n return future;\n }\n catch (Throwable exception) {\n return Futures.immediateFailedFuture(exception);\n }\n }", "public int getCouponListCount() {\n return couponList_.size();\n }", "public ArrayList<Coupon> getCompanyCoupons(double maxPrice) throws SQLException {\r\n\t\tArrayList<Coupon> coupons = couponsDAO.getAllCoupons();\r\n\t\tArrayList<Coupon> coups = new ArrayList<>();\r\n\t\tfor (Coupon coupon : coupons) {\r\n\t\t\tif (companyID == coupon.getCompanyID())\r\n\t\t\t\tif (coupon.getPrice() <= maxPrice)\r\n\t\t\t\t\tcoups.add(coupon);\r\n\t\t}\r\n\t\treturn coups;\r\n\t}", "List<NotificacionInfo> findAll();", "public List<InfoServicio> getInfoServicios(){\n\t\treturn infoServicios;\n\t}", "public List<ColaTicket> obtenerTodasLasColas() {\n return this.colaFacade.findAll();\n }", "@ApiModelProperty(example = \"null\", value = \"Set of possible classes identified by the classifier\")\n public java.util.List<VbClass> getClasses() {\n return classes;\n }", "public java.lang.String CC_GetCallCenters(java.lang.String accessToken) throws java.rmi.RemoteException;", "public List<StudentCOOP> getStudentCOOP() {\n List<StudentCOOP> studentco = new ArrayList<StudentCOOP>();\n openConnection();\n try {\n getAllStudent = conn.prepareStatement(\"select * from APP.STUDENTCOOP\");\n rs = getAllStudent.executeQuery();\n while (rs.next()) {\n studentco.add(\n new StudentCOOP(rs.getString(\"ZID\"), rs.getString(\"FIRSTNAME\"), rs.getString(\"LASTNAME\"),\n rs.getString(\"GENDER\"), rs.getString(\"ADDRESS\"), rs.getInt(\"CONTACT\"), rs.getString(\"EMAIL\"),\n rs.getString(\"WORKEMAIL\"), rs.getString(\"NOTES\"), rs.getString(\"SUBJECT\"), \n rs.getInt(\"SEMESTERCOMPLETED\"), rs.getDouble(\"MARK\"), rs.getDouble(\"WAM\"))\n );\n }\n rs.close();\n getAllStudent.close();\n } catch (SQLException ex) {\n ex.printStackTrace();\n }\n closeConnection();\n return studentco;\n }", "@Query(value = \"SELECT coupons_id FROM customers_coupons ORDER BY coupons_id ASC\", nativeQuery = true)\n List<Integer> findByPopularity();", "public List<Company> companies() {\n StandardServiceRegistry registry = new StandardServiceRegistryBuilder().configure().build();\n SessionFactory sessionFactory = null;\n try {\n\n sessionFactory = new MetadataSources(registry).buildMetadata().buildSessionFactory();\n Session session = sessionFactory.getCurrentSession();\n session.beginTransaction();\n List<Company> listOfCompanies = session.createQuery(\"FROM Company\").getResultList();\n session.getTransaction().commit();\n return listOfCompanies;\n\n } finally {\n if (sessionFactory != null) {\n sessionFactory.close();\n }\n }\n }", "org.landxml.schema.landXML11.ClassificationDocument.Classification getClassificationArray(int i);", "@Override\n protected List<MarketingCoupon> callInner(CommonQueryPageRequest<MarketingCouponReq> request) throws Exception {\n List<MarketingCoupon> marketingCoupons = marketingCouponMapper.queryCouponPage(request.getRequest());\n\n return marketingCoupons;\n }", "@SuppressWarnings({\"checkstyle:WhitespaceAround\", \"checkstyle:DesignForExtension\", \"checkstyle:MissingJavadocMethod\"})\n @GetMapping(\"/findAllComplaint\")\n public List<Complaint> findAll() {\n\n return complaintService.findAll();\n }", "@NotNull\n List<? extends ClassInfo> getAllClasses();", "@Transactional(readOnly = true)\n public List<ConfigSystem> findAll() {\n log.debug(\"Request to get all ConfigSystems\");\n return configSystemRepository.findAll();\n }", "public List<PoliticsClassBean> findAllPoliticsClass() {\n\t\treturn this.politicsClassDAO.findAllPoliticsClass();\n\t}", "@NotNull\n List<? extends ClassInfo> getClasses();", "public MediaAiAnalysisClassificationItem [] getClassificationSet() {\n return this.ClassificationSet;\n }", "@GET\n\t@Produces(MediaType.APPLICATION_JSON)\n\tpublic Response getCpus() {\n\t\tList<CPU> itemList = ItemList.getInstance().getItemList();\n\t\treturn Response.ok(itemList).build();\n\t}", "public static List<StockInfoCategory> getInvoiceCategoryList(){\r\n\t\treturn InvoiceCategoryList;\r\n\t}", "public hr.client.appuser.CouponCenter.AppCouponOrBuilder getCouponListOrBuilder(\n int index) {\n if (couponListBuilder_ == null) {\n return couponList_.get(index); } else {\n return couponListBuilder_.getMessageOrBuilder(index);\n }\n }", "private List getOCCList(String xmlResponse) {\r\n\r\n\t\tList occList = new ArrayList();\r\n\t\tOccVO occVo;\r\n\t\tElement root;\r\n\t\t\r\n\t\ttry {\t\t\t\r\n\t\t\troot = DOMUtils.openDocument(new ByteArrayInputStream(xmlResponse.getBytes()));\r\n\t\t\tElement element = DOMUtils.getElement(root, \"data\", true);\r\n\r\n\t\t\tNodeList nodeList = DOMUtils.getElements(element, \"occ\");\r\n\t\t\t\r\n\t\t\tElement subElement;\r\n\t\t\tfor (int i = 0; i < nodeList.getLength(); i++) {\r\n\t\t\t\telement = (Element) nodeList.item(i);\r\n\t\t\t\toccVo = new OccVO();\r\n\t\t\t\tsubElement = DOMUtils.getElement(element, \"desc\", true);\r\n\t\t\t\toccVo.setDescription(DOMUtils.getText(subElement).toString());\r\n\t\t\t\tsubElement = DOMUtils.getElement(element, \"value\", true);\r\n\t\t\t\toccVo.setValue(DOMUtils.getText(subElement).toString());\r\n\t\t\t\tsubElement = DOMUtils.getElement(element, \"qtd-billed\", true);\r\n\t\t\t\toccVo.setChargedQty(DOMUtils.getText(subElement).toString());\r\n\t\t\t\tsubElement = DOMUtils.getElement(element, \"qtd-not-billed\", true);\r\n\t\t\t\toccVo.setNotChargedQty(DOMUtils.getText(subElement).toString());\r\n\t\t\t\toccList.add(occVo);\r\n\t\t\t}\r\n\t\r\n\t\t} catch(Exception e) {\r\n\t\t\tlog.error(\"Error parsing xml response from Infobus\", e);\r\n\t\t\tthrow new ErrorMessageException(e);\r\n\t\t}\r\n\t\t\r\n\t\treturn occList;\r\n\t\t\r\n\t}", "@GetMapping(\"/covs\")\n @Timed\n public List<Cov> getAllCovs() {\n log.debug(\"REST request to get all Covs\");\n return covService.findAll();\n }" ]
[ "0.6270653", "0.61505795", "0.5914174", "0.58650744", "0.5838262", "0.5829855", "0.5637154", "0.5491089", "0.54427904", "0.5325083", "0.5319772", "0.53022456", "0.5293177", "0.52652603", "0.5251514", "0.52174693", "0.5167303", "0.5140044", "0.5114669", "0.51049197", "0.5023365", "0.5009682", "0.49866772", "0.49743238", "0.49602598", "0.4959549", "0.49578056", "0.49536136", "0.4940219", "0.49306774", "0.49206683", "0.4916055", "0.4913159", "0.49126798", "0.49031895", "0.4855896", "0.48541695", "0.48410365", "0.4834203", "0.47978616", "0.4787558", "0.4764117", "0.47621757", "0.4761336", "0.47456032", "0.47390538", "0.47270042", "0.471865", "0.46968967", "0.4695258", "0.46937397", "0.46930245", "0.467613", "0.46681753", "0.46676564", "0.46668562", "0.4653809", "0.46136975", "0.45999885", "0.45974916", "0.4597117", "0.45860523", "0.45839196", "0.45836732", "0.458037", "0.4579634", "0.45677602", "0.45632216", "0.45585516", "0.45455837", "0.4522616", "0.45178983", "0.45087826", "0.44994277", "0.4492062", "0.4489881", "0.44790906", "0.4472118", "0.44656834", "0.44457847", "0.44368908", "0.44342676", "0.44340995", "0.4432961", "0.44226593", "0.44211107", "0.44209087", "0.44188753", "0.44034457", "0.43982586", "0.43913895", "0.4386365", "0.43850282", "0.43848374", "0.437512", "0.4363175", "0.43617105", "0.43614414", "0.4358062", "0.43580064" ]
0.85990334
0
GET /syscouponclassifies/:id : get the "id" sysCouponClassify.
@GetMapping("/sys-coupon-classifies/{id}") @Timed public ResponseEntity<SysCouponClassify> getSysCouponClassify(@PathVariable Long id) { log.debug("REST request to get SysCouponClassify : {}", id); Optional<SysCouponClassify> sysCouponClassify = sysCouponClassifyService.findOne(id); return ResponseUtil.wrapOrNotFound(sysCouponClassify); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@GetMapping(\"/sys-coupon-classifies\")\n @Timed\n public List<SysCouponClassify> getAllSysCouponClassifies() {\n log.debug(\"REST request to get all SysCouponClassifies\");\n return sysCouponClassifyService.findAll();\n }", "@DeleteMapping(\"/sys-coupon-classifies/{id}\")\n @Timed\n public ResponseEntity<Void> deleteSysCouponClassify(@PathVariable Long id) {\n log.debug(\"REST request to delete SysCouponClassify : {}\", id);\n sysCouponClassifyService.delete(id);\n return ResponseEntity.ok().headers(HeaderUtil.createEntityDeletionAlert(ENTITY_NAME, id.toString())).build();\n }", "public Coupon getCoupon(int id) throws DbException;", "@Override\n\t/** Accepts Coupon ID and returns related Coupon object */\n\tpublic Coupon getCoupon(int id) throws CouponSystemException {\n\t\tConnection con = null;\n\t\t// Getting a connection from the Connection Pool\n\t\tcon = ConnectionPool.getInstance().getConnection();\n\t\t// Creating Coupon object to fill it later with data from SQL query\n\t\t// result and for method to return it afterwards\n\t\tCoupon coupon = new Coupon();\n\n\t\ttry {\n\t\t\t// Defining SQL string to retrieve Coupon via prepared statement\n\t\t\tString getCouponSQL = \"select * from coupon where id = ?\";\n\t\t\t// Creating prepared statement with predefined SQL string\n\t\t\tPreparedStatement pstmt = con.prepareStatement(getCouponSQL);\n\t\t\t// Putting method accepted ID into SQL string\n\t\t\tpstmt.setInt(1, id);\n\t\t\t// Executing prepared statement and using its result for\n\t\t\t// post-execute manipulations\n\t\t\tResultSet resCoup = pstmt.executeQuery();\n\t\t\t// If query result has data (if Coupon has been found) do\n\t\t\tif (resCoup.next()) {\n\t\t\t\t// Set Coupon object ID to ID variable that method received\n\t\t\t\tcoupon.setId(id);\n\t\t\t\t// Set Coupon attributes according to the results in the\n\t\t\t\t// ResultSet\n\t\t\t\tcoupon.setTitle(resCoup.getString(\"title\"));\n\t\t\t\tcoupon.setStart_date(resCoup.getDate(\"start_date\"));\n\t\t\t\tcoupon.setEnd_date(resCoup.getDate(\"end_date\"));\n\t\t\t\tcoupon.setExpired(resCoup.getString(\"expired\"));\n\t\t\t\tcoupon.setType(resCoup.getString(\"type\"));\n\t\t\t\tcoupon.setMessage(resCoup.getString(\"message\"));\n\t\t\t\tcoupon.setPrice(resCoup.getInt(\"price\"));\n\t\t\t\tcoupon.setImage(resCoup.getString(\"image\"));\n\t\t\t\t// // Write retrieval success confirmation to the console\n\t\t\t\t// System.out.println(\"Coupon has been found successfully:\" +\n\t\t\t\t// coupon);\n\t\t\t} else {\n\t\t\t\t// If query result is empty (Coupon hasn't been found) throw\n\t\t\t\t// exception\n\t\t\t\tSystem.out.println(\"Coupon retrieve has been failed - Coupon ID not found\");\n\t\t\t}\n\t\t} catch (SQLException e) {\n\t\t\t// Handling SQL exception during Coupon retrieval from the database\n\t\t\tthrow new CouponSystemException(\"SQL error - Coupon retrieve has been failed\", e);\n\t\t} finally {\n\t\t\t// In any case we return connection to the Connection Pool (at least\n\t\t\t// we try to)\n\t\t\tConnectionPool.getInstance().returnConnection(con);\n\t\t}\n\n\t\t// Return Coupon\n\t\treturn coupon;\n\t}", "java.lang.String getCouponId();", "@PostMapping(\"/sys-coupon-classifies\")\n @Timed\n public ResponseEntity<SysCouponClassify> createSysCouponClassify(@RequestBody SysCouponClassify sysCouponClassify) throws URISyntaxException {\n log.debug(\"REST request to save SysCouponClassify : {}\", sysCouponClassify);\n if (sysCouponClassify.getId() != null) {\n throw new BadRequestAlertException(\"A new sysCouponClassify cannot already have an ID\", ENTITY_NAME, \"idexists\");\n }\n SysCouponClassify result = sysCouponClassifyService.save(sysCouponClassify);\n return ResponseEntity.created(new URI(\"/api/sys-coupon-classifies/\" + result.getId()))\n .headers(HeaderUtil.createEntityCreationAlert(ENTITY_NAME, result.getId().toString()))\n .body(result);\n }", "public Coupon getCoupon(long id) {\n\t\treturn Validations.verifyNotNull(couponRepository.findOne(id));\n\t}", "@Override\n\tpublic Coupon getCoupon(long id) throws ClassNotFoundException, SQLException, ParseException {\n\t\tCoupon coupon = new Coupon();\n\t\tConnection connection = ConnectionPool.getInstance().getConnection();\n\t\tPreparedStatement statement;\n\t\tstatement = connection.prepareStatement(SQLQueryRequest.GET_COUPON_BY_ID);\n\t\tstatement.setLong(1, id);\n\t\tResultSet resultSet = statement.executeQuery();\n\n\t\twhile (resultSet.next()) {\n\t\t\tcoupon.setId(resultSet.getLong(1));\n\t\t\tcoupon.setTitle(resultSet.getString(2));\n\t\t\tcoupon.setStartDate(StringDateConvertor.convert(resultSet.getString(3)));\n\t\t\tcoupon.setEndDate(StringDateConvertor.convert(resultSet.getString(4)));\n\t\t\tcoupon.setAmount(resultSet.getInt(5));\n\t\t\tcoupon.setType(CouponType.valueOf(resultSet.getString(6)));\n\t\t\tcoupon.setMessage(resultSet.getString(7));\n\t\t\tcoupon.setPrice(resultSet.getDouble(8));\n\t\t\tcoupon.setImage(resultSet.getString(9));\n\t\t\tConnectionPool.getInstance().returnConnection(connection);\n\t\t\treturn coupon;\n\t\t}\n\n\t\tConnectionPool.getInstance().returnConnection(connection);\n\t\treturn null;\n\t}", "@Override\r\n\tpublic Classified getClassified(String classifiedId)throws Exception{\r\n\t\tlogger.info(\"inside getClassified()\");\r\n\t\tlogger.info(\"classifiedId ==>\"+ classifiedId);\r\n\t\tClassified cfd = null;\r\n\t\tString qry = \"Select Object(c) from Classified c where c.id = :classifiedId\";\r\n\t\tQuery query = entityManager.createQuery(qry);\r\n\t\tquery.setParameter(\"classifiedId\", new Long(classifiedId).longValue()); \r\n\t\ttry{\r\n\t\t\tcfd = (Classified)query.getSingleResult();\r\n\t\t}catch(Exception e){\r\n\t\t\tlogger.error(\"Error while reteriving classified\",e);\r\n\t\t\tthrow e;\r\n\t\t}\r\n\t\treturn cfd;\r\n\t}", "@RequestMapping(method = RequestMethod.GET, value = \"/{id}\")\n\tpublic ResponseEntity<?> getClassById(@PathVariable Integer id) {\n\t\tif (classRepository.existsById(id)) {\n\t\t\tClassEntity classEntity = classRepository.findById(id).get();\n\t\t\tlogger.info(\"Viewed class with id number \" + id);\n\t\t\treturn new ResponseEntity<ClassEntity>(classEntity, HttpStatus.OK);\n\t\t} else {\n\t\t\treturn new ResponseEntity<RESTError>(\n\t\t\t\t\tnew RESTError(HttpStatus.NOT_FOUND.value(), \"Class with id number \" + id + \" not found\"),\n\t\t\t\t\tHttpStatus.NOT_FOUND);\n\t\t}\n\t}", "@RequestMapping(value = \"/getGoodsByClassifyId\",method = RequestMethod.GET)\n public List<GoodsVo> getGoodsByClassifyID(int classifyID){\n return goodsService.getGoodsVoByClassifyId(classifyID);\n }", "public ArrayList<Coupon> getCoupons(ArrayList<Long> id) {\n\t\treturn couponRepository.getCoupons(id);\n\t}", "@PostMapping(\"coupon/{id}\")\r\n public ResponseEntity<?> getOneCoupon(@RequestHeader(name = \"Authorization\") String token, @PathVariable int id) throws MalformedJwtException, CouponException {\r\n if (jwtUtil.validateToken(token)) {\r\n return ResponseEntity.ok().headers(getHeaders(token)).body(companyService.getOneCoupon(id));\r\n }\r\n return new ResponseEntity<>(HttpStatus.UNAVAILABLE_FOR_LEGAL_REASONS);\r\n }", "int getCouponNum();", "@RequestMapping(value = \"/hrClassInfos/{id}\",\n method = RequestMethod.GET,\n produces = MediaType.APPLICATION_JSON_VALUE)\n @Timed\n public ResponseEntity<HrClassInfo> getHrClassInfo(@PathVariable Long id) {\n log.debug(\"REST request to get HrClassInfo : {}\", id);\n HrClassInfo hrClassInfo = hrClassInfoRepository.findOne(id);\n return Optional.ofNullable(hrClassInfo)\n .map(result -> new ResponseEntity<>(\n result,\n HttpStatus.OK))\n .orElse(new ResponseEntity<>(HttpStatus.NOT_FOUND));\n }", "@GetMapping(\"/coupan/{id}\")\n\tpublic ResponseEntity<Coupan> findCoupan(@PathVariable String id) throws CoupanServiceException{\n\t\tCoupan resultCoupan = iCoupanService.getCoupan(id);\n\t\treturn new ResponseEntity<Coupan>(resultCoupan, HttpStatus.OK);\n\t}", "List<Coupon> findByCompanyId(int companyId);", "@WebMethod public Coupon getCoupon(String coupon);", "public java.lang.String getCouponId() {\n java.lang.Object ref = couponId_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n couponId_ = s;\n return s;\n }\n }", "public Beneficios fetchBeneficiosById(FetchByIdRequest request);", "public Integer getClassified_id() {\n\t\treturn classified_id;\n\t}", "public java.lang.String getCouponId() {\n java.lang.Object ref = couponId_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n couponId_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "int getCouponType();", "@Override\n\t/** Returns all Coupons of selected Company as an array list */\n\tpublic Collection<Coupon> getCouponsByCompany(int compID) throws CouponSystemException {\n\t\tConnection con = null;\n\t\t// Getting a connection from the Connection Pool\n\t\tcon = ConnectionPool.getInstance().getConnection();\n\t\t// Create list object to fill it later with Coupons\n\t\tCollection<Coupon> colCoup = new ArrayList<>();\n\n\t\ttry {\n\t\t\t// Defining SQL string to retrieve Coupons via prepared statement\n\t\t\tString getCouponsByCompanySQL = \"select * from coupon where id in (select couponid from compcoupon where companyid = ?)\";\n\t\t\t// Creating prepared statement with predefined SQL string\n\t\t\tPreparedStatement pstmt = con.prepareStatement(getCouponsByCompanySQL);\n\t\t\t// Set Company ID variable that method received into prepared\n\t\t\t// statement\n\t\t\tpstmt.setInt(1, compID);\n\t\t\t// Executing prepared statement and using its result for\n\t\t\t// post-execute manipulations\n\t\t\tResultSet resCoup = pstmt.executeQuery();\n\t\t\t// While there is result line in resCoup do lines below\n\t\t\twhile (resCoup.next()) {\n\t\t\t\t// Creating Coupon object to fill it later with data from SQL\n\t\t\t\t// query result and for method to add it to the list and return\n\t\t\t\t// it afterwards\n\t\t\t\tCoupon coupon = new Coupon();\n\t\t\t\t// Set Coupon attributes according to the results in the\n\t\t\t\t// ResultSet\n\t\t\t\tcoupon.setId(resCoup.getInt(\"id\"));\n\t\t\t\tcoupon.setTitle(resCoup.getString(\"title\"));\n\t\t\t\tcoupon.setStart_date(resCoup.getDate(\"start_date\"));\n\t\t\t\tcoupon.setEnd_date(resCoup.getDate(\"end_date\"));\n\t\t\t\tcoupon.setExpired(resCoup.getString(\"expired\"));\n\t\t\t\tcoupon.setType(resCoup.getString(\"type\"));\n\t\t\t\tcoupon.setMessage(resCoup.getString(\"message\"));\n\t\t\t\tcoupon.setPrice(resCoup.getInt(\"price\"));\n\t\t\t\tcoupon.setImage(resCoup.getString(\"image\"));\n\t\t\t\t// Add resulting Coupon to the list\n\t\t\t\tcolCoup.add(coupon);\n\t\t\t}\n\t\t} catch (SQLException e) {\n\t\t\t// Handling SQL exception during Coupon retrieval from the database\n\t\t\tthrow new CouponSystemException(\"SQL error - Coupon list retrieve has been failed\", e);\n\t\t} finally {\n\t\t\t// In any case we return connection to the Connection Pool (at least\n\t\t\t// we try to)\n\t\t\tConnectionPool.getInstance().returnConnection(con);\n\t\t}\n\n\t\t// Return resulted list of Coupons\n\t\treturn colCoup;\n\t}", "com.google.protobuf.ByteString\n getCouponIdBytes();", "@RequestMapping(value=\"/comic/json/{id}\", method=RequestMethod.GET, headers=\"Accept=application/xml, application/json\")\n\tpublic @ResponseBody Comic getComicFromDB(@PathVariable String id) {\n\t\t\n\t\tComic comic = new Comic();\n\t\tcomic.setId(id);\n\t\tcomic.getComicFromDB();\n\t\t\n\t\treturn comic;\n\t\t\n\t}", "public com.google.protobuf.ByteString\n getCouponIdBytes() {\n java.lang.Object ref = couponId_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n couponId_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "@Override\n\tpublic Classe getClasse(String id) {\n\t\treturn classeRepository.findById(id).get();\n\t}", "@Override\n\tpublic void updateCoupon(long id, Coupon coupon)\n\t\t\tthrows ClassNotFoundException, SQLException, IOException, ParseException {\n\t\tConnection connection = ConnectionPool.getInstance().getConnection();\n\n\t\tPreparedStatement statement = connection.prepareStatement(SQLQueryRequest.GET_COUPON_BY_ID);\n\t\tResultSet resultSet = statement.executeQuery();\n\t\twhile (resultSet.next()) {\n\t\t\tif (id == resultSet.getInt(1)) {\n\n\t\t\t\tstatement = connection.prepareStatement(SQLQueryRequest.SET_COUPON_TITLE_BY_ID);\n\t\t\t\tstatement.setString(1, coupon.getTitle());\n\t\t\t\tstatement.setLong(2, id);\n\t\t\t\tstatement.executeUpdate();\n\n\t\t\t\tstatement = connection.prepareStatement(SQLQueryRequest.SET_COUPON_START_DATE_BY_ID);\n\t\t\t\tstatement.setDate(1, (Date) coupon.getStartDate());\n\t\t\t\tstatement.setLong(2, id);\n\t\t\t\tstatement.executeUpdate();\n\n\t\t\t\tstatement = connection.prepareStatement(SQLQueryRequest.SET_COUPON_END_DATE_BY_ID);\n\t\t\t\tstatement.setDate(1, (Date) coupon.getEndDate());\n\t\t\t\tstatement.setLong(2, id);\n\t\t\t\tstatement.executeUpdate();\n\n\t\t\t\tstatement = connection.prepareStatement(SQLQueryRequest.SET_COUPON_AMOUNT_BY_ID);\n\t\t\t\tstatement.setInt(1, coupon.getAmount());\n\t\t\t\tstatement.setLong(2, id);\n\t\t\t\tstatement.executeUpdate();\n\n\t\t\t\tstatement = connection.prepareStatement(SQLQueryRequest.SET_COUPON_TYPE_BY_ID);\n\t\t\t\tstatement.setString(1, coupon.getType().toString());\n\t\t\t\tstatement.setLong(2, id);\n\t\t\t\tstatement.executeUpdate();\n\n\t\t\t\tstatement = connection.prepareStatement(SQLQueryRequest.SET_COUPON_MESSAGE_BY_ID);\n\t\t\t\tstatement.setString(1, coupon.getMessage());\n\t\t\t\tstatement.setLong(2, id);\n\t\t\t\tstatement.executeUpdate();\n\n\t\t\t\tstatement = connection.prepareStatement(SQLQueryRequest.SET_COUPON_PRICE_BY_ID);\n\t\t\t\tstatement.setDouble(1, coupon.getPrice());\n\t\t\t\tstatement.setLong(2, id);\n\t\t\t\tstatement.executeUpdate();\n\n\t\t\t\tstatement = connection.prepareStatement(SQLQueryRequest.SET_COUPON_IMAGE_BY_ID);\n\t\t\t\tstatement.setString(1, coupon.getImage());\n\t\t\t\tstatement.setLong(2, id);\n\n\t\t\t\tSystem.out.println(\"Coupon updated successfull\");\n\t\t\t}\n\n\t\t}\n\t\tConnectionPool.getInstance().returnConnection(connection);\n\t}", "public Coupon getCouponByID(int couponId) throws Exception {\n\n\t\treturn couponsDBDAO.getOneCoupon(couponId);\n\n\t}", "public com.google.protobuf.ByteString\n getCouponIdBytes() {\n java.lang.Object ref = couponId_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n couponId_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "@Override\n\t/** Returns all Coupons of selected type as an array list */\n\tpublic Collection<Coupon> getCouponsByType(String coupType, int compID) throws CouponSystemException {\n\t\tConnection con = null;\n\t\t// Getting a connection from the Connection Pool\n\t\tcon = ConnectionPool.getInstance().getConnection();\n\t\t// Create list object to fill it later with Coupons\n\t\tCollection<Coupon> colCoup = new ArrayList<>();\n\n\t\ttry {\n\t\t\t// Defining SQL string to retrieve Coupons via prepared statement\n\t\t\tString getCouponsByTypeSQL = \"select * from coupon where type = ? and id in(select couponid from compcoupon where companyid = ?)\";\n\t\t\t// Creating prepared statement with predefined SQL string\n\t\t\tPreparedStatement pstmt = con.prepareStatement(getCouponsByTypeSQL);\n\t\t\t// Set Coupon object type to coupType variable that method received\n\t\t\tpstmt.setString(1, coupType);\n\t\t\tpstmt.setInt(2, compID);\n\t\t\t// Executing prepared statement and using its result for\n\t\t\t// post-execute manipulations\n\t\t\tResultSet resCoup = pstmt.executeQuery();\n\t\t\t// While there is result line in resCoup do lines below\n\t\t\twhile (resCoup.next()) {\n\t\t\t\t// Creating Coupon object to fill it later with data from SQL\n\t\t\t\t// query result and for method to add it to the list and return\n\t\t\t\t// it afterwards\n\t\t\t\tCoupon coupon = new Coupon();\n\t\t\t\t// Set Coupon attributes according to the results in the\n\t\t\t\t// ResultSet\n\t\t\t\tcoupon.setId(resCoup.getInt(\"id\"));\n\t\t\t\tcoupon.setTitle(resCoup.getString(\"title\"));\n\t\t\t\tcoupon.setStart_date(resCoup.getDate(\"start_date\"));\n\t\t\t\tcoupon.setEnd_date(resCoup.getDate(\"end_date\"));\n\t\t\t\tcoupon.setExpired(resCoup.getString(\"expired\"));\n\t\t\t\tcoupon.setType(resCoup.getString(\"type\"));\n\t\t\t\tcoupon.setMessage(resCoup.getString(\"message\"));\n\t\t\t\tcoupon.setPrice(resCoup.getInt(\"price\"));\n\t\t\t\tcoupon.setImage(resCoup.getString(\"image\"));\n\t\t\t\t// Add resulting Coupon to the list\n\t\t\t\tcolCoup.add(coupon);\n\t\t\t}\n\t\t} catch (SQLException e) {\n\t\t\t// Handling SQL exception during Coupon retrieval from the database\n\t\t\tthrow new CouponSystemException(\"SQL error - Coupon list retrieve has been failed\", e);\n\t\t} finally {\n\t\t\t// In any case we return connection to the Connection Pool (at least\n\t\t\t// we try to)\n\t\t\tConnectionPool.getInstance().returnConnection(con);\n\t\t}\n\n\t\t// Return resulted list of Coupons\n\t\treturn colCoup;\n\t}", "public Integer getClassify() {\n return classify;\n }", "public static Set<Classification> getClassifications() throws Exception {\r\n String xmlRequest = \"<request><request-header><protocol-version>2</protocol-version></request-header></request>\";\r\n try {\r\n String responseXML = FSHelperLibrary.sendRequest(null, RequestType.RT_GET_CLASSIFICATIONS, xmlRequest);\r\n LoggerUtil.logDebug(\"Get Classificatios Response XML: \" + responseXML);\r\n\r\n Node rootNode = XMLUtil.getRootNode(responseXML);\r\n Node requestStatusNode = XMLUtil.parseNode(\"request-status\", rootNode);\r\n String returnValue = XMLUtil.parseString(\"return-value\", requestStatusNode);\r\n\r\n if (!\"1\".equals(returnValue)) {\r\n LoggerUtil.logError(\"Get Classificatios Response XML: \" + responseXML);\r\n String errorMsg = XMLUtil.parseString(\"error-message\", requestStatusNode);\r\n String dispMsg = XMLUtil.parseString(\"display-message\", requestStatusNode);\r\n if (dispMsg == null || dispMsg.trim().isEmpty()) {\r\n dispMsg = errorMsg;\r\n }\r\n throw new Exception(dispMsg);\r\n }\r\n\r\n NodeList lNodeList = XMLUtil.parseNodeList(\"classifications/classification\", rootNode);\r\n if (lNodeList != null && lNodeList.getLength() > 0) {\r\n Set<Classification> lClassifications = new LinkedHashSet<Classification>();\r\n for (int i = 0; i < lNodeList.getLength(); i++) {\r\n Node lNode = lNodeList.item(i);\r\n String lstrClassId = XMLUtil.parseString(\"id\", lNode);\r\n String lstrClassName = XMLUtil.parseString(\"name\", lNode);\r\n String lstrClassDesc = XMLUtil.parseString(\"description\", lNode);\r\n String lstrStatus = XMLUtil.parseString(\"status\", lNode);\r\n // Take only active classification\r\n if (\"1\".equals(lstrStatus)) {\r\n Classification lClassification = new Classification();\r\n lClassification.setId(lstrClassId);\r\n lClassification.setName(lstrClassName);\r\n lClassification.setDescription(lstrClassDesc);\r\n lClassifications.add(lClassification);\r\n }\r\n }\r\n XMLDBService.updateClassifications(lClassifications);\r\n return lClassifications;\r\n }\r\n } catch (FSHelperException e) {\r\n throw e;\r\n }\r\n return null;\r\n }", "Optional<Discount> findById(Long id) throws ServiceException;", "public void getCategoryById(io.reactivesw.catalog.grpc.LongValue request,\n io.grpc.stub.StreamObserver<io.reactivesw.catalog.grpc.GrpcCategory> responseObserver) {\n asyncUnaryCall(\n getChannel().newCall(METHOD_GET_CATEGORY_BY_ID, getCallOptions()), request, responseObserver);\n }", "@Override\n\tpublic List<Coupon> getAllPurchasedCoupons(int id) throws CustomDateBaseExepation {\n\n\t\tif (customerRipository.findById(id) == null) {\n\t\t\tthrow new CustomDateBaseExepation(\"no customer with this id - \" + id);\n\t\t}\n\n\t\tList<Coupon> c = customerRipository.getAllPurchasedCoupons(id);\n\n\t\tif (c.isEmpty()) {\n\t\t\tthrow new CustomDateBaseExepation(\"no purchased coupons for this customer \");\n\t\t}\n\n\t\treturn c;\n\t}", "@WebMethod public boolean findCoupon(String coupon);", "public Class getClass(int id) {\n\t\tSQLiteDatabase db = this.getReadableDatabase();\n\n\t\tCursor cursor = db.query(TABLE_USERCLASSES, new String[] { KEY_ID, KEY_TAKENIN }, KEY_ID + \"=?\",\n\t\t\t\tnew String[] { String.valueOf(id) }, null, null, null, null);\n\t\tif (cursor != null) {\n\t\t\tcursor.moveToFirst();\n\n\t\t\tClass c = new Class(Integer.parseInt(cursor.getString(0)), cursor.getString(1));\n\t\t\tdb.close();\n\t\t\treturn c;\n\n\t\t} // return class\n\t\tdb.close();\n\t\treturn null;\n\n\t}", "hr.client.appuser.CouponCenter.AppCoupon getCouponList(int index);", "Coupon findByCompanyIdAndTitle(int companyId, String title);", "@Override\n\t/**\n\t * Returns all Coupons with price less than value method received as an\n\t * array list sorted descended\n\t */\n\tpublic Collection<Coupon> getCouponsByPrice(int price, int compID) throws CouponSystemException {\n\t\tConnection con = null;\n\t\t// Getting a connection from the Connection Pool\n\t\tcon = ConnectionPool.getInstance().getConnection();\n\t\t// Create list object to fill it later with Coupons\n\t\tCollection<Coupon> colCoup = new ArrayList<>();\n\n\t\ttry {\n\t\t\t// Defining SQL string to retrieve Coupons via prepared statement\n\n\t\t\tString getCouponsByPriceSQL = \"select * from coupon where price < ? and id in(select couponid from compcoupon where companyid = ?) order by price desc\";\n\t\t\t// Creating prepared statement with predefined SQL string\n\t\t\tPreparedStatement pstmt = con.prepareStatement(getCouponsByPriceSQL);\n\t\t\t// Set price variable that method received into prepared statement\n\t\t\tpstmt.setInt(1, price);\n\t\t\tpstmt.setInt(2, compID);\n\t\t\t// Executing prepared statement and using its result for\n\t\t\t// post-execute manipulations\n\t\t\tResultSet resCoup = pstmt.executeQuery();\n\t\t\t// While there is result line in resCoup do lines below\n\t\t\twhile (resCoup.next()) {\n\t\t\t\t// Creating Coupon object to fill it later with data from SQL\n\t\t\t\t// query result and for method to add it to the list and return\n\t\t\t\t// it afterwards\n\t\t\t\tCoupon coupon = new Coupon();\n\t\t\t\t// Set Coupon attributes according to the results in the\n\t\t\t\t// ResultSet\n\t\t\t\tcoupon.setId(resCoup.getInt(\"id\"));\n\t\t\t\tcoupon.setTitle(resCoup.getString(\"title\"));\n\t\t\t\tcoupon.setStart_date(resCoup.getDate(\"start_date\"));\n\t\t\t\tcoupon.setEnd_date(resCoup.getDate(\"end_date\"));\n\t\t\t\tcoupon.setExpired(resCoup.getString(\"expired\"));\n\t\t\t\tcoupon.setType(resCoup.getString(\"type\"));\n\t\t\t\tcoupon.setMessage(resCoup.getString(\"message\"));\n\t\t\t\tcoupon.setPrice(resCoup.getInt(\"price\"));\n\t\t\t\tcoupon.setImage(resCoup.getString(\"image\"));\n\t\t\t\t// Add resulting Coupon to the list\n\t\t\t\tcolCoup.add(coupon);\n\t\t\t}\n\t\t} catch (SQLException e) {\n\t\t\t// Handling SQL exception during Coupon retrieval from the database\n\t\t\tthrow new CouponSystemException(\"SQL error - Coupon list retrieve has been failed\", e);\n\t\t} finally {\n\t\t\t// In any case we return connection to the Connection Pool (at least\n\t\t\t// we try to)\n\t\t\tConnectionPool.getInstance().returnConnection(con);\n\t\t}\n\n\t\t// Return resulted list of Coupons\n\t\treturn colCoup;\n\t}", "public void getCategoryById(io.reactivesw.catalog.grpc.LongValue request,\n io.grpc.stub.StreamObserver<io.reactivesw.catalog.grpc.GrpcCategory> responseObserver) {\n asyncUnimplementedUnaryCall(METHOD_GET_CATEGORY_BY_ID, responseObserver);\n }", "public Categorie getCategorieById(long id);", "@GetMapping(\"/selo-cartaos/{id}\")\n public ResponseEntity<SeloCartao> getSeloCartao(@PathVariable Long id) {\n log.debug(\"REST request to get SeloCartao : {}\", id);\n Optional<SeloCartao> seloCartao = seloCartaoService.findOne(id);\n return ResponseUtil.wrapOrNotFound(seloCartao);\n }", "@Override\n\tpublic List<Get_coupons> findGetcouponsByUserid(String userid) {\n\t\tList<Get_coupons> list=getcouponsDAO.findGetcouponsByUserid(userid);\n\t\treturn list;\n\t}", "int getCouponStat();", "public int get(String item) {\n\t\treturn couponManager.get(item);\n\t}", "@GetMapping(\"/covs/{id}\")\n @Timed\n public ResponseEntity<Cov> getCov(@PathVariable Long id) {\n log.debug(\"REST request to get Cov : {}\", id);\n Optional<Cov> cov = covService.findOne(id);\n return ResponseUtil.wrapOrNotFound(cov);\n }", "int getClassID();", "public CompetitionClassification searchForCompetitionClassificationById(Integer tempId) {\n\t\tEntityManager em = emfactory.createEntityManager();\n\t\tem.getTransaction().begin();\n\t\tCompetitionClassification found = em.find(CompetitionClassification.class, tempId);\n\t\tem.close();\n\t\treturn found;\n\t}", "@GetMapping(\"/citizens/{id}\")\n @Timed\n public ResponseEntity<Citizen> getCitizen(@PathVariable Long id) {\n log.debug(\"REST request to get Citizen : {}\", id);\n Citizen citizen = citizenService.findOne(id);\n return Optional.ofNullable(citizen)\n .map(result -> new ResponseEntity<>(\n result,\n HttpStatus.OK))\n .orElse(new ResponseEntity<>(HttpStatus.NOT_FOUND));\n }", "@RequestMapping( value = \"/{id}\", method = RequestMethod.GET )\n public ClassesDTO read(@PathVariable(value=\"id\") long id){\n return classService.read(id);\n }", "@Override\n public ResultSet getByID(String id) throws SQLException {\n return db.getConnection().createStatement().executeQuery(\"select * from comic where idcomic=\"+id);\n }", "public String getIeClassId();", "@GetMapping(value=\"/listProduits/{id}\")\n public Produit produitById(@PathVariable(name = \"id\") Long id){\n return produitRepository.findById(id).get();\n }", "public int getCouponNum() {\n return couponNum_;\n }", "java.util.List<hr.client.appuser.CouponCenter.AppCoupon> \n getCouponListList();", "public void setClassified_id(Integer classified_id) {\n\t\tthis.classified_id = classified_id;\n\t}", "@Override\n\tpublic List<Coupon> getAllPurchaseCouponsByType(CouponType type, int id) throws CustomDateBaseExepation {\n\n\t\tList<Coupon> c = customerRipository.getAllCouponsByType(id, type);\n\t\tif (c.isEmpty()) {\n\t\t\tthrow new CustomDateBaseExepation(\"no coupons in this categorie for this customer \");\n\t\t}\n\n\t\treturn c;\n\t}", "java.lang.String getCouponVendor();", "@ModelAttribute(\"comic\")\n\tpublic Comic getComic(@RequestParam(value = \"id\", required = false) String id) {\n\t\tComic comic = null;\n\n\t\tif (id != null) {\n\t\t\tcomic = comicService.restart().filterBy(\"id\", Integer.parseInt(id)).pick();\n\t\t} else {\n\t\t\tcomic = new Comic();\n\t\t}\n\n\t\treturn comic;\n\t}", "public Notifiche get(int id){\n\t\tSession session = sessionFactory.getCurrentSession();\r\n\t\t\t\r\n\t\t//Recupero il cpe\r\n\t\tNotifiche notifica = (Notifiche) session.get(Notifiche.class, id );\r\n\t\t\r\n\t\t//Restituisco il cpe trovato\r\n\t\treturn notifica;\r\n\t}", "public Company findCompany(long id);", "public int getCouponNum() {\n return couponNum_;\n }", "List<Coupon> findByCompanyIdAndCategory(int companyId, Category category);", "public Integer getClassid() {\n return classid;\n }", "public int getCouponType() {\n return couponType_;\n }", "public static void updateCoupon(Context context, String id, final Coupon c)\n {\n Query reff;\n reff= FirebaseDatabase.getInstance().getReference().child(\"coupon\").orderByChild(\"seri\").equalTo(id);\n reff.addListenerForSingleValueEvent(new ValueEventListener() {\n @Override\n public void onDataChange(@NonNull DataSnapshot dataSnapshot) {\n for (DataSnapshot snapshot: dataSnapshot.getChildren())\n {\n Coupon coupon=snapshot.getValue(Coupon.class);\n DatabaseReference ref = FirebaseDatabase.getInstance().getReference().child(\"coupon\").child(coupon.getIdcoupon());\n c.setIdcoupon(coupon.getIdcoupon());\n ref.setValue(c);\n }\n }\n @Override\n public void onCancelled(@NonNull DatabaseError databaseError) {\n\n }\n });\n }", "public Object getById(Request request) {\n\t\tDbHandler db = Config.getConfig().getHandler();\n\t\ttry {\n\t\t\treturn db.clinics.queryForId((int) request.getParam(\"cid\"));\n\t\t} catch (SQLException e) {\n\t\t\tConfig.getConfig().getLogger().exception(e);\n\t\t\treturn null;\n\t\t}\n\t}", "public Integer getClassid() {\r\n return classid;\r\n }", "public Conge find( Integer idConge ) ;", "@CrossOrigin(origins = \"http://localhost:8080\")\r\n @GetMapping(\"/{id}\")\r\n public ResponseEntity<Category> get(@PathVariable Integer id) {\r\n try {\r\n Category category = categoryService.getCategoryById(id);\r\n return new ResponseEntity<Category>(category, HttpStatus.OK);\r\n } catch (NoSuchElementException e) {\r\n return new ResponseEntity<Category>(HttpStatus.NOT_FOUND);\r\n \r\n }\r\n }", "public Integer getClsId() {\n\t\treturn clsId;\n\t}", "Company getCompany(int id);", "@GetMapping(value = \"/{id}\")\n\tpublic ResponseEntity<Product> findById(@PathVariable Long id) {\n\t\tProduct cat = categoryRepository.findById(id).get();\n\t\treturn ResponseEntity.ok().body(cat);\n\t}", "ProductCategory find(int id)throws IllegalArgumentException;", "List<StudentClass> findClassesBySchoolId(int id) throws TechnicalException;", "@Override\n\tpublic int jysc(int id) {\n\t\treturn deal.jysc(id);\n\t}", "@GetMapping(\"/costo-servicios/{id}\")\n @Timed\n public ResponseEntity<CostoServicioDTO> getCostoServicio(@PathVariable Long id) {\n log.debug(\"REST request to get CostoServicio : {}\", id);\n CostoServicioDTO costoServicioDTO = costoServicioService.findOne(id);\n return ResponseUtil.wrapOrNotFound(Optional.ofNullable(costoServicioDTO));\n }", "public String getClassid() {\n return classid;\n }", "@Override\n\tpublic Iscrizioni findById(Integer id)\n\t\t\tthrows ClassNotFoundException, SQLException, NotHandledTypeException, NamingException, ParseException {\n\t\treturn em.find(Iscrizioni.class, id);\n//\t\tIscrizioni corso = new Iscrizioni();\n//\n//\t\tObject[] campi = { id };\n//\n//\t\tString sql = \"SELECT * FROM `iscrizioni` WHERE `idIscrizione` = ? \";\n//\t\tDBHandler dbHandler = new DBHandler();\n//\t\tdbHandler.sql(sql, campi);\n//\t\tList<Object> objs = dbHandler.getResponse();\n//\t\tfor (Object obj : objs) {\n//\t\t\tObject[] tmp = (Object[]) obj;\n//\t\t\tcorso = new Iscrizioni((int) tmp[0],(int) tmp[1], (int) tmp[2], (int) tmp[3]);\n//\t\t}\n//\t\treturn corso;\n\t}", "public int getCouponType() {\n return couponType_;\n }", "public interface ClassifyService {\n\n Classify create(Classify item);\n\n int delete(Integer id);\n\n int update(Classify item);\n\n Classify get(Integer id);\n\n PageInfo<Classify> getListWithPaging(Integer pageNum, Integer pageSize,\n String sortItem, String sortOrder, Classify item);\n\n //获取所有\n List<Classify> getAll();\n}", "public Collection<Coupon> getCouponByType(CouponType type) throws DbException;", "public CouponEntity getCouponByCouponId(String couponUuid) {\n try {\n CouponEntity couponEntity = entityManager.createNamedQuery(\"getCouponByCouponId\",CouponEntity.class).setParameter(\"uuid\",couponUuid).getSingleResult();\n return couponEntity;\n }catch (NoResultException nre){\n return null;\n }\n }", "@GetMapping(\"/{id}\")\n\tpublic ResponseEntity<Contato> getById(@PathVariable long id) \n\t{\n\t\tContato contato = contatoService.getById(id);\n\n\t\tif(contato == null) \n\t\t{\n\t\t\treturn ResponseEntity.notFound().build();\n\t\t}\n\t\treturn ResponseEntity.ok(contato);\n\t}", "@Query(value = \"select * from curso where id\" + \"=:id\", nativeQuery = true)\n\tTaller findCursoById(@Param(\"id\") Long id);", "public Notificacion getNotificacion(long id) {\n\t\tlogger.info(\"Get Notificacion\");\n\n\t\tWebResource webResource = client.resource(this.config\n\t\t\t\t.getProperty(\"API_URL\")\n\t\t\t\t+ this.config.getProperty(\"API_RESOURCE_NOTIFICACION\") + id);\n\n\t\tClientResponse response = webResource\n\t\t\t\t.accept(MediaType.APPLICATION_JSON)\n\t\t\t\t.header(\"ApiKey\", this.apiKey).get(ClientResponse.class);\n\n\t\thandleResponse(response);\n\n\t\tNotificacion result = response.getEntity(Notificacion.class);\n\n\t\tresponse.close();\n\n\t\treturn result;\n\t}", "@Override\n\tpublic Clazz getClazz(int id) {\n\t\treturn clazzDao.getClazz(id);\n\t}", "@Override\n\tpublic HashSet<Coupon> getAllCoupon() throws ClassNotFoundException, SQLException, ParseException {\n\t\tConnection connection = ConnectionPool.getInstance().getConnection();\n\t\tHashSet<Coupon> collectionCoupon = new HashSet<Coupon>();\n\t\tPreparedStatement statement = connection.prepareStatement(SQLQueryRequest.GET_ALL_COUPON_ID);\n\t\tResultSet resultSet = statement.executeQuery();\n\t\twhile (resultSet.next()) {\n\t\t\tcollectionCoupon.add(getCoupon(resultSet.getLong(1)));\n\t\t}\n\t\tConnectionPool.getInstance().returnConnection(connection);\n\t\treturn collectionCoupon;\n\t}", "@Override\n\t/**\n\t * Accepts predefined Coupon object and writes it to Coupon table in the\n\t * database\n\t */\n\tpublic int createCoupon(Coupon coupon) throws CouponSystemException {\n\t\tConnection con = null;\n\t\t// Getting a connection from the Connection Pool\n\t\tcon = ConnectionPool.getInstance().getConnection();\n\t\t// Defining Coupon ID variable to return\n\t\tint couponID = -1;\n\n\t\ttry {\n\t\t\t// Checking if Coupon title already exists in DB\n\t\t\t// PreparedStatement pstmt1 = null;\n\t\t\t// String nameExist = \"SELECT * FROM Coupon where Title = ?\";\n\t\t\t// pstmt1 = con.prepareStatement(nameExist);\n\t\t\t// pstmt1.setString(1, coupon.getTitle());\n\t\t\t// ResultSet result = pstmt1.executeQuery();\n\t\t\t// if (result.next()) {\n\t\t\t// System.out.println(\"Coupon title already exists in Database,\n\t\t\t// please choose another one.\");\n\t\t\t// } else {\n\n\t\t\t// Defining SQL string to insert Coupon via prepared statement\n\t\t\tString createCouponSQL = \"insert into coupon (title, start_date, end_date, expired, type, message, price, image) values (?,?,?,?,?,?,?,?)\";\n\t\t\t// Creating prepared statement with predefined SQL string\n\t\t\tPreparedStatement pstmt = con.prepareStatement(createCouponSQL);\n\t\t\t// Fetching variables into SQL string via Coupon bean\n\t\t\tpstmt.setString(1, coupon.getTitle());\n\t\t\tpstmt.setDate(2, getSqlDate(coupon.getStart_date()));\n\t\t\tpstmt.setDate(3, getSqlDate(coupon.getEnd_date()));\n\t\t\tpstmt.setString(4, coupon.getExpired());\n\t\t\tpstmt.setString(5, coupon.getType());\n\t\t\tpstmt.setString(6, coupon.getMessage());\n\t\t\tpstmt.setInt(7, coupon.getPrice());\n\t\t\tpstmt.setString(8, coupon.getImage());\n\t\t\t// Executing prepared statement\n\t\t\tpstmt.executeUpdate();\n\t\t\tString fetchingID = \"select id from coupon where title = ? \";\n\t\t\tPreparedStatement pstmtID = con.prepareStatement(fetchingID);\n\t\t\tpstmtID.setString(1, coupon.getTitle());\n\t\t\tResultSet resCoupon = pstmtID.executeQuery();\n\t\t\tresCoupon.next();\n\t\t\t// Fetching newly created Coupon ID for a return\n\n\t\t\tcouponID = resCoupon.getInt(1);\n\t\t\tcoupon.setId(couponID);\n\t\t\t// Writing success confirmation to the console\n\t\t\tSystem.out.println(\"Coupon has been added successfully:\" + coupon);\n\n\t\t\t// }\n\t\t} catch (SQLException e) {\n\t\t\t// Handling SQL exception during Coupon writing into database\n\t\t\tthrow new CouponSystemException(\"SQL error - Coupon creation has been failed\", e);\n\t\t} finally {\n\t\t\t// In any case we return connection to the Connection Pool (at least\n\t\t\t// we try to)\n\t\t\tConnectionPool.getInstance().returnConnection(con);\n\t\t}\n\t\t// Return Coupon ID for future use\n\t\treturn couponID;\n\t}", "@Override\n public Complaint getComplaintById(int id) {\n DataConnection db = new DataConnection();\n Connection conn = db.getConnection();\n\n String query = \"SELECT * FROM Complaint WHERE id = ?\";\n ResultSet rs = null;\n try {\n PreparedStatement ps = conn.prepareStatement(query);\n ps.setInt(1, id);\n rs = ps.executeQuery();\n if (rs.next()) {\n return this.createComplaintObj(rs);\n }\n } catch (SQLException ex) {\n Logger.getLogger(DefaultComplaintsManagements.class.getName()).log(Level.SEVERE, null, ex);\n }\n return null;\n }", "@GetMapping(\"/ap-constants/{id}\")\n @Timed\n public ResponseEntity<ApConstants> getApConstants(@PathVariable Long id) {\n log.debug(\"REST request to get ApConstants : {}\", id);\n ApConstants apConstants = apConstantsRepository.findOne(id);\n return ResponseUtil.wrapOrNotFound(Optional.ofNullable(apConstants));\n }", "public com.platform.chorus.db.tables.pojos.ClassModel fetchOneById(Integer value) {\n return fetchOne(ClassModel.CLASS_MODEL.ID, value);\n }", "@Override\n\t/** Returns all Coupons as an array list */\n\tpublic Collection<Coupon> getAllCoupons() throws CouponSystemException {\n\t\tConnection con = null;\n\t\t// Getting a connection from the Connection Pool\n\t\tcon = ConnectionPool.getInstance().getConnection();\n\t\t// Create list object to fill it later with Coupons\n\t\tCollection<Coupon> colCoup = new ArrayList<>();\n\n\t\ttry {\n\t\t\t// Defining SQL string to retrieve all Coupons via prepared\n\t\t\t// statement\n\t\t\tString getAllCouponsSQL = \"select * from coupon\";\n\t\t\t// Creating prepared statement with predefined SQL string\n\t\t\tPreparedStatement pstmt = con.prepareStatement(getAllCouponsSQL);\n\t\t\t// Executing prepared statement and using its result for\n\t\t\t// post-execute manipulations\n\t\t\tResultSet resCoup = pstmt.executeQuery();\n\t\t\t// While there is result line in resCoup do lines below\n\t\t\twhile (resCoup.next()) {\n\t\t\t\t// Creating Coupon object to fill it later with data from SQL\n\t\t\t\t// query result and for method to add it to the list and return\n\t\t\t\t// it afterwards\n\t\t\t\tCoupon coupon = new Coupon();\n\t\t\t\t// Set Coupon attributes according to the results in the\n\t\t\t\t// ResultSet\n\t\t\t\tcoupon.setId(resCoup.getInt(\"id\"));\n\t\t\t\tcoupon.setTitle(resCoup.getString(\"title\"));\n\t\t\t\tcoupon.setStart_date(resCoup.getDate(\"start_date\"));\n\t\t\t\tcoupon.setEnd_date(resCoup.getDate(\"end_date\"));\n\t\t\t\tcoupon.setExpired(resCoup.getString(\"expired\"));\n\t\t\t\tcoupon.setType(resCoup.getString(\"type\"));\n\t\t\t\tcoupon.setMessage(resCoup.getString(\"message\"));\n\t\t\t\tcoupon.setPrice(resCoup.getInt(\"price\"));\n\t\t\t\tcoupon.setImage(resCoup.getString(\"image\"));\n\t\t\t\t// Add resulting Coupon to the list\n\t\t\t\tcolCoup.add(coupon);\n\t\t\t}\n\t\t} catch (SQLException e) {\n\t\t\t// Handling SQL exception during Coupon retrieval from the database\n\t\t\tthrow new CouponSystemException(\"SQL error - Coupon list retrieve has been failed\", e);\n\t\t} finally {\n\t\t\t// In any case we return connection to the Connection Pool (at least\n\t\t\t// we try to)\n\t\t\tConnectionPool.getInstance().returnConnection(con);\n\t\t}\n\n\t\t// Return resulted list of Coupons\n\t\treturn colCoup;\n\t}", "@Override\r\n\tpublic Company getOneCompanyById(int compId) throws CouponSystemException {\r\n\t\tConnection con = null;\r\n\t\ttry {\r\n\t\t\tcon = ConnectionPool.getInstance().getConnection();\r\n\t\t\tString sql = \"select * from companies where companyId=\" + compId;\r\n\t\t\tStatement stmt = con.createStatement();\r\n\t\t\tResultSet rs = stmt.executeQuery(sql);\r\n\r\n\t\t\tif (rs.next()) {\r\n\t\t\t\tCompany comp = new Company();\r\n\t\t\t\tcomp.setCompId(compId);\r\n\t\t\t\tcomp.setCompName(rs.getString(\"companyName\"));\r\n\t\t\t\tcomp.setCompEmail(rs.getString(\"companyEmail\"));\r\n\t\t\t\tcomp.setCompPass(rs.getString(\"companyPass\"));\r\n\r\n\t\t\t\treturn comp;\r\n\t\t\t} else {\r\n\t\t\t\tSystem.out.println(\"Couldn't find any company by this ID: \" + compId);\r\n\t\t\t}\r\n\r\n\t\t} catch (SQLException e) {\r\n\t\t\tthrow new CouponSystemException(\"getOneCompanyById Failed\", e);\r\n\t\t} finally {\r\n\t\t\tif (con != null) {\r\n\t\t\t\tConnectionPool.getInstance().restoreConnection(con);\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn null;\r\n\t}", "public Cvcategory findCvcategoryById(Long id);", "List<Coupon> findAllByCategory(Category category);", "public PoliticsClassBean findPoliticsClassById(int id) {\n\t\treturn this.politicsClassDAO.findPoliticsClassById(id);\n\t}" ]
[ "0.6795285", "0.6779834", "0.63128185", "0.61902755", "0.59398925", "0.58824515", "0.5872701", "0.5819611", "0.562677", "0.5516771", "0.55129224", "0.5419652", "0.53605705", "0.5358928", "0.53148425", "0.5295841", "0.5273718", "0.5269744", "0.5166119", "0.5151052", "0.5141446", "0.5133509", "0.510176", "0.5074776", "0.50720847", "0.50412816", "0.5036245", "0.50260824", "0.5016366", "0.50095576", "0.4986384", "0.49810088", "0.49736947", "0.49515516", "0.49428096", "0.49367446", "0.49357256", "0.49317256", "0.4885845", "0.48854688", "0.48798308", "0.48642915", "0.48618594", "0.4856316", "0.48369464", "0.4821598", "0.4808185", "0.4779095", "0.47687638", "0.47671717", "0.4764644", "0.47598445", "0.47285303", "0.47161603", "0.47125363", "0.47077435", "0.4701546", "0.46904117", "0.4680217", "0.46762955", "0.4671894", "0.4668693", "0.46585333", "0.4657882", "0.46558782", "0.46532807", "0.46382195", "0.46377257", "0.46370587", "0.46338147", "0.46316296", "0.46299663", "0.46289107", "0.46222615", "0.4620203", "0.46142328", "0.46027705", "0.4599492", "0.459449", "0.4590018", "0.45889872", "0.45814466", "0.45806572", "0.45785096", "0.45778114", "0.45775825", "0.45721465", "0.4570154", "0.45660183", "0.45567828", "0.4554222", "0.45529884", "0.45512894", "0.45488602", "0.45450115", "0.45407408", "0.4538539", "0.45307225", "0.45302972", "0.45300198" ]
0.85158145
0
DELETE /syscouponclassifies/:id : delete the "id" sysCouponClassify.
@DeleteMapping("/sys-coupon-classifies/{id}") @Timed public ResponseEntity<Void> deleteSysCouponClassify(@PathVariable Long id) { log.debug("REST request to delete SysCouponClassify : {}", id); sysCouponClassifyService.delete(id); return ResponseEntity.ok().headers(HeaderUtil.createEntityDeletionAlert(ENTITY_NAME, id.toString())).build(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@GetMapping(\"/sys-coupon-classifies/{id}\")\n @Timed\n public ResponseEntity<SysCouponClassify> getSysCouponClassify(@PathVariable Long id) {\n log.debug(\"REST request to get SysCouponClassify : {}\", id);\n Optional<SysCouponClassify> sysCouponClassify = sysCouponClassifyService.findOne(id);\n return ResponseUtil.wrapOrNotFound(sysCouponClassify);\n }", "@Override\n\tpublic void deleteSystemCoupons(BeanCoupon coupon) throws BaseException {\n\t\tConnection conn=null;\n\t\ttry {\n\t\t\tconn=DBUtil.getConnection();\n\t\t\tString sql=\"delete from user_coupon where coupon_id=?\";\n\t\t\tjava.sql.PreparedStatement pst=conn.prepareStatement(sql);\n\t\t\tpst.setString(1, coupon.getCoupon_id());\n\t\t\tpst.execute();\n\t\t\tsql=\"delete from coupon where coupon_id=?\";\n\t\t\tpst=conn.prepareStatement(sql);\n\t\t\tpst.setString(1, coupon.getCoupon_id());\n\t\t\tpst.execute();\n\t\t\tpst.close();\n\t\t\t\n\t\t} catch (SQLException e) {\n\t\t\te.printStackTrace();\n\t\t\tthrow new DbException(e);\n\t\t}\n\t\tfinally{\n\t\t\tif(conn!=null)\n\t\t\t\ttry {\n\t\t\t\t\tconn.close();\n\t\t\t\t} catch (SQLException e) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t}\n\t\t\n\t\t\n\t}", "@DeleteMapping(\"/deletecoupan/{id}\")\n\tpublic void deleteCoupan(@PathVariable String id) throws CoupanServiceException{\n\tiCoupanService.removeCoupans(id);\n\t}", "public static void deleteCoupon(final Context context, String id)\n {\n Query reff;\n reff= FirebaseDatabase.getInstance().getReference().child(\"coupon\").orderByChild(\"seri\").equalTo(id);\n reff.addListenerForSingleValueEvent(new ValueEventListener() {\n @Override\n public void onDataChange(@NonNull DataSnapshot dataSnapshot) {\n for (DataSnapshot snapshot: dataSnapshot.getChildren())\n {\n Coupon coupon=snapshot.getValue(Coupon.class);\n DatabaseReference ref = FirebaseDatabase.getInstance().getReference().child(\"coupon\").child(coupon.getIdcoupon());\n ref.removeValue();\n }\n }\n @Override\n public void onCancelled(@NonNull DatabaseError databaseError) {\n\n }\n });\n }", "@RequestMapping( value = \"/{id}\", method = RequestMethod.DELETE )\n public void delete(@PathVariable(value=\"id\") int id){\n classService.delete(id);\n }", "public void removeCompanyCoupon(Coupon coupon) throws DbException;", "public void removeCoupon(Coupon coupon) throws DbException;", "public void removeCustomerCoupon(Coupon coupon) throws DbException;", "@RequestMapping(value = \"/shopressource/{id}\", method = RequestMethod.DELETE)\n String deleteShopRessourceById(@PathVariable Integer id);", "@Override\n\t/**\n\t * Accepts predefined Coupon object and deletes described entry from the\n\t * Coupon table in the database\n\t */\n\tpublic void removeCoupon(Coupon coupon) throws CouponSystemException {\n\t\tConnection con = null;\n\t\t// Getting a connection from the Connection Pool\n\t\tcon = ConnectionPool.getInstance().getConnection();\n\n\t\ttry {\n\t\t\t// Defining SQL string to delete Coupon via prepared statement\n\t\t\tString removeCouponSQL = \"delete from coupon where title = ?\";\n\t\t\t// Creating prepared statement with predefined SQL string\n\t\t\tPreparedStatement pstmt = con.prepareStatement(removeCouponSQL);\n\t\t\t// Fetching variable into SQL string via Coupon bean\n\t\t\tpstmt.setString(1, coupon.getTitle());\n\t\t\t// Executing prepared statement and using its result for\n\t\t\t// post-execute check\n\t\t\tint rowCount = pstmt.executeUpdate();\n\t\t\tif (rowCount != 0) {\n\t\t\t\t// If result row count is not equal to zero - execution has been\n\t\t\t\t// successful\n\t\t\t\tSystem.out.println(\"Coupon has been removed successfully:\" + coupon);\n\t\t\t} else {\n\t\t\t\t// Otherwise execution failed due to Coupon not found in the\n\t\t\t\t// database\n\t\t\t\tSystem.out.println(\"Coupon removal has been failed - subject entry not found in the database\");\n\t\t\t}\n\t\t} catch (SQLException e) {\n\t\t\t// Handling SQL exception during Coupon removal from the database\n\t\t\tthrow new CouponSystemException(\"SQL error - Coupon remove has been failed\", e);\n\t\t} finally {\n\t\t\t// In any case we return connection to the Connection Pool (at least\n\t\t\t// we try to)\n\t\t\tConnectionPool.getInstance().returnConnection(con);\n\t\t}\n\t}", "public void deleteClass(String classId) {\n\t\t\r\n\t}", "@RequestMapping(value = \"/hrClassInfos/{id}\",\n method = RequestMethod.DELETE,\n produces = MediaType.APPLICATION_JSON_VALUE)\n @Timed\n public ResponseEntity<Void> deleteHrClassInfo(@PathVariable Long id) {\n log.debug(\"REST request to delete HrClassInfo : {}\", id);\n hrClassInfoRepository.delete(id);\n hrClassInfoSearchRepository.delete(id);\n return ResponseEntity.ok().headers(HeaderUtil.createEntityDeletionAlert(\"hrClassInfo\", id.toString())).build();\n }", "public void delete(Coupon coupon) {\n\t\tcouponRepository.delete(coupon);\n\t\t\n\t}", "@Override\n\t/**\n\t * Removes all Coupons from the Coupon table in the database related to\n\t * Company ID received\n\t */\n\tpublic void deleteCouponsByCompanyID(int compID) throws CouponSystemException {\n\t\tConnection con = null;\n\t\t// Getting a connection from the Connection Pool\n\t\tcon = ConnectionPool.getInstance().getConnection();\n\n\t\ttry {\n\t\t\t// Defining SQL string to remove Coupons related to specified\n\t\t\t// Company ID from the Coupon table via prepared statement\n\t\t\tString deleteCouponsByCompanyIDSQL = \"delete from coupon where id in (select couponid from compcoupon where companyid = ?)\";\n\t\t\t// Creating prepared statement with predefined SQL string\n\t\t\tPreparedStatement pstmt = con.prepareStatement(deleteCouponsByCompanyIDSQL);\n\t\t\t// Set Company ID from variable that method received\n\t\t\tpstmt.setInt(1, compID);\n\t\t\t// Executing prepared statement and using its result for\n\t\t\t// post-execute check\n\t\t\tint resRemByComp3 = pstmt.executeUpdate();\n\t\t\tif (resRemByComp3 != 0) {\n\t\t\t\t// If result row count is not equal to zero - execution has been\n\t\t\t\t// successful\n\t\t\t\tSystem.out.println(\"Coupons of specified Company have been deleted from Coupon table successfully\");\n\t\t\t} else {\n\t\t\t\t// Otherwise execution failed due to Coupons related to\n\t\t\t\t// specified Company not found in the database\n\t\t\t\tSystem.out.println(\"Coupons removal has been failed - subject entries not found in the database\");\n\t\t\t}\n\t\t} catch (SQLException e) {\n\t\t\t// Handling SQL exception during Coupon removal from the database\n\t\t\tthrow new CouponSystemException(\"SQL error - Coupons removal has been failed\", e);\n\t\t} finally {\n\t\t\t// In any case we return connection to the Connection Pool (at least\n\t\t\t// we try to)\n\t\t\tConnectionPool.getInstance().returnConnection(con);\n\t\t}\n\t}", "public void DeleteCust(String id);", "@DeleteMapping(\"/costo-servicios/{id}\")\n @Timed\n public ResponseEntity<Void> deleteCostoServicio(@PathVariable Long id) {\n log.debug(\"REST request to delete CostoServicio : {}\", id);\n costoServicioService.delete(id);\n return ResponseEntity.ok().headers(HeaderUtil.createEntityDeletionAlert(ENTITY_NAME, id.toString())).build();\n }", "@Override\n public void delete(Long id) {\n log.debug(\"Request to delete Costo : {}\", id);\n costoRepository.delete(id);\n costoSearchRepository.delete(id);\n }", "@PostMapping(\"/sys-coupon-classifies\")\n @Timed\n public ResponseEntity<SysCouponClassify> createSysCouponClassify(@RequestBody SysCouponClassify sysCouponClassify) throws URISyntaxException {\n log.debug(\"REST request to save SysCouponClassify : {}\", sysCouponClassify);\n if (sysCouponClassify.getId() != null) {\n throw new BadRequestAlertException(\"A new sysCouponClassify cannot already have an ID\", ENTITY_NAME, \"idexists\");\n }\n SysCouponClassify result = sysCouponClassifyService.save(sysCouponClassify);\n return ResponseEntity.created(new URI(\"/api/sys-coupon-classifies/\" + result.getId()))\n .headers(HeaderUtil.createEntityCreationAlert(ENTITY_NAME, result.getId().toString()))\n .body(result);\n }", "@Override\n\tpublic void deleteClasse(String id) {\n\t\tclasseRepo.deleteById(id);\n\t}", "@Override\n\t/**\n\t * Removes all Coupons from the Coupon table in the database related to\n\t * Customer ID received\n\t */\n\tpublic void deleteCouponsByCustomerID(int custID) throws CouponSystemException {\n\t\tConnection con = null;\n\t\t// Getting a connection from the Connection Pool\n\t\tcon = ConnectionPool.getInstance().getConnection();\n\n\t\ttry {\n\t\t\t// Defining SQL string to remove Coupons related to specified\n\t\t\t// Customer ID from the Coupon table via prepared statement\n\t\t\tString deleteCouponsByCustomerIDSQL = \"delete from coupon where id in (select couponid from custcoupon where customerid = ?)\";\n\t\t\t// Creating prepared statement with predefined SQL string\n\t\t\tPreparedStatement pstmt = con.prepareStatement(deleteCouponsByCustomerIDSQL);\n\t\t\t// Set Customer ID from variable that method received\n\t\t\tpstmt.setInt(1, custID);\n\t\t\t// Executing prepared statement and using its result for\n\t\t\t// post-execute check\n\t\t\tint resRemByCust3 = pstmt.executeUpdate();\n\t\t\tif (resRemByCust3 != 0) {\n\t\t\t\t// If result row count is not equal to zero - execution has been\n\t\t\t\t// successful\n\t\t\t\tSystem.out.println(\"Coupons of specified Customer have been deleted from Coupon table successfully\");\n\t\t\t} else {\n\t\t\t\t// Otherwise execution failed due to Coupons related to\n\t\t\t\t// specified Customer not found in the database\n\t\t\t\tSystem.out.println(\"Coupons removal has been failed - subject entries not found in the database\");\n\t\t\t}\n\t\t} catch (SQLException e) {\n\t\t\t// Handling SQL exception during Coupon removal from the database\n\t\t\tthrow new CouponSystemException(\"SQL error - Coupons removal has been failed\", e);\n\t\t} finally {\n\t\t\t// In any case we return connection to the Connection Pool (at least\n\t\t\t// we try to)\n\t\t\tConnectionPool.getInstance().returnConnection(con);\n\t\t}\n\t}", "void deleteCategoryProducts(long id);", "@DeleteMapping(\"/selo-cartaos/{id}\")\n public ResponseEntity<Void> deleteSeloCartao(@PathVariable Long id) {\n log.debug(\"REST request to delete SeloCartao : {}\", id);\n seloCartaoService.delete(id);\n return ResponseEntity.ok().headers(HeaderUtil.createEntityDeletionAlert(ENTITY_NAME, id.toString())).build();\n }", "public void removeCouponByCompany(Company company) throws DbException;", "@DeleteMapping(\"/clases/{id}\")\r\n\tpublic ResponseEntity<Clase> eliminar(@PathVariable Long id) {\n\t\tOptional<Clase> a = claseRepo.findById(id);\r\n\t\t\r\n\t\t// Evaluate if exists\r\n\t\tif (!a.isPresent()) {\r\n\t\t\t// Return 404\r\n\t\t\treturn ResponseEntity.notFound().build();\r\n\t\t}\r\n\t\t\r\n\t\t// Remove the Order from database\r\n\t\tclaseRepo.delete(a.get());\r\n\t\t\r\n\t\treturn ResponseEntity.noContent().build();\r\n\r\n\t\t\r\n\t}", "@RequestMapping(value = \"/free-cfdis/{id}\",\n method = RequestMethod.DELETE,\n produces = MediaType.APPLICATION_JSON_VALUE)\n @Timed\n public ResponseEntity<Void> deleteFree_cfdi(@PathVariable Long id) {\n log.debug(\"REST request to delete Free_cfdi : {}\", id);\n free_cfdiService.delete(id);\n return ResponseEntity.ok().headers(HeaderUtil.createEntityDeletionAlert(\"free_cfdi\", id.toString())).build();\n }", "public void removeCustomerCoupon(Company company) throws DbException;", "@Override\n\tpublic void delete_from_DB() throws CouponSiteMsg\n\t{\n\t\t\n\t}", "@Test\n public void testDeleteCartsIdCouponsCouponIdAction() throws ClientException, IOException, ProcessingException {\n CloudResponse response = this.actions.deleteCartsIdCouponsCouponIdAction(\"{id}\", \"{couponId}\", \"{customerId}\");\n List<Integer> expectedResults = Arrays.asList(200, 400, 403, 404);\n LOG.info(\"Got status {}\", response.getStatusLine());\n Assert.assertTrue(expectedResults.contains(response.getStatusLine().getStatusCode()));\n\n if(response.getStatusLine().getStatusCode() == 200) {\n this.actions.checkResponseJSONSchema(\"#/definitions/Cart\", response.getContent());\n }\n if(response.getStatusLine().getStatusCode() == 400) {\n this.actions.checkResponseJSONSchema(\"#/definitions/ErrorResponse\", response.getContent());\n }\n if(response.getStatusLine().getStatusCode() == 403) {\n this.actions.checkResponseJSONSchema(\"#/definitions/ErrorResponse\", response.getContent());\n }\n if(response.getStatusLine().getStatusCode() == 404) {\n this.actions.checkResponseJSONSchema(\"#/definitions/ErrorResponse\", response.getContent());\n }\n \n }", "void deletePriorityClass(@NotNull String priorityClassId);", "@Override\r\n\tpublic void deleteCompany(int compId) throws CouponSystemException {\r\n\t\tConnection con = null;\r\n\t\ttry {\r\n\t\t\tcon = ConnectionPool.getInstance().getConnection();\r\n\t\t\tString sql = \"delete from companies where companyId=\" + compId;\r\n\t\t\tStatement stmt = con.createStatement();\r\n\t\t\tstmt.executeUpdate(sql);\r\n\t\t\tSystem.out.println(\"Company with ID: \" + compId + \" was deleted\");\r\n\r\n\t\t} catch (SQLException e) {\r\n\t\t\tthrow new CouponSystemException(\"deleteCompany Failed\", e);\r\n\t\t} finally {\r\n\t\t\tif (con != null) {\r\n\t\t\t\tConnectionPool.getInstance().restoreConnection(con);\r\n\t\t\t}\r\n\t\t}\r\n\t}", "@DeleteMapping(\"/statuts/{id}\")\n public void deletStatut(@PathVariable(\"id\") int id) {\n \tserviceStatut.deletStatut(id);\n }", "@Override\n\tpublic int delete(String id) {\n\t\treturn st.delete(\"couplens.delete\",id);\n\t}", "@DeleteMapping(\"/modelo-exclusivos/{id}\")\n @Timed\n public ResponseEntity<Void> deleteModeloExclusivo(@PathVariable Long id) {\n log.debug(\"REST request to delete ModeloExclusivo : {}\", id);\n modeloExclusivoRepository.delete(id);\n return ResponseEntity.ok().headers(HeaderUtil.createEntityDeletionAlert(ENTITY_NAME, id.toString())).build();\n }", "@Override\n public void delete(String id) {\n log.debug(\"Request to delete ClarifaiProcess : {}\", id);\n clarifaiProcessRepository.delete(id);\n clarifaiProcessSearchRepository.delete(id);\n }", "public void delete(Long id) {\n log.debug(\"Request to delete SolicitacaoExame : {}\", id);\n solicitacaoExameRepository.deleteById(id);\n solicitacaoExameSearchRepository.deleteById(id);\n }", "public void delete (long id ){\n\t\treclamationRepository.deleteById(id);}", "@DeleteMapping(\"/convites/{id}\")\n @Timed\n public ResponseEntity<Void> deleteConvite(@PathVariable Long id) {\n log.debug(\"REST request to delete Convite : {}\", id);\n conviteService.delete(id);\n return ResponseEntity.ok().headers(HeaderUtil.createEntityDeletionAlert(ENTITY_NAME, id.toString())).build();\n }", "@Override\n\tpublic void deleteById(Integer id) throws Exception {\n\t\tcomproRepository.deleteById(id);\n\t}", "public void deleteById(String id);", "public long deleteByCatalogueId(String catalogueId);", "@Override\n\tpublic void deleteById(Integer id) throws Exception {\n\t\topcionRepository.deleteById(id);\n\t}", "@Override\n\tpublic int deleCartById(int id) {\n\t\treturn sqlSessionTemplate.delete(sqlId(\"deleteById\"),id);\n\t}", "void deleteProduct(Long id);", "void deleteById(String id);", "void deleteById(String id);", "void deleteById(String id);", "void deleteById(String id);", "void deleteById(String id);", "void deleteById(String id);", "void deleteById(String id);", "void deleteById(String id);", "void deleteById(String id);", "void deleteById(String id);", "void delete(Long shopId);", "@Override\n\tpublic void deleteById(String id) throws Exception {\n\t\t\n\t}", "public void delete(Long id) {\n log.debug(\"Request to delete Clinic : {}\", id);\n clinicRepository.delete(id);\n }", "public void deleteCategory(Long id) throws BusinessException;", "Task<Void> DeleteCoupon(String id) throws FirebaseAuthInvalidCredentialsException {\n if (auth.getCurrentUser() != null) {\n String uid = auth.getCurrentUser().getUid();\n\n final DocumentReference couponRef = db.collection(uid).document(id);\n\n return couponRef.delete();\n } else {\n throw new FirebaseAuthInvalidCredentialsException(\"Auth error\", \"User not logged in\");\n }\n }", "@Override\r\n\tpublic int delete(int id) {\n\t\treturn jdbcTemplate.update(\"call PKG_ESTADO_CIVIL.PR_DEL_ESTADO_CIVIL(?)\", id);\r\n\t}", "@Override\n\tpublic void deleteById(int id) {\n\t\t trainningSystemServiceImpl.deleteById(id);\n\t}", "public int deleteSupplier(int id) {\n\t\t\t String deleteQuery=\"delete from registration_customer_data where id='\"+id+\"' \";\n\t\t\t return template.update(deleteQuery); \n\t\t}", "@Override\n public void delete(Long id) {\n log.debug(\"Request to delete DSCorrespondence : {}\", id);\n dSCorrespondenceRepository.deleteById(id);\n }", "@Override\n public void delete(Long id) {\n log.debug(\"Request to delete MantisApprover : {}\", id);\n mantisApproverRepository.delete(id);\n }", "@Override\n public void delete(Long id) {\n log.debug(\"Request to delete RefSite : {}\", id); refSiteRepository.deleteById(id);\n }", "@Override\r\n\tpublic void deleteConcursoContrataById(int id) {\n\r\n\t}", "public void eliminarProyecto(int id) {\n\t\t\tRestTemplate plantilla = new RestTemplate();\n\t\t\tplantilla.delete(\"http://localhost:5000/proyectos/\" + id);\n\t\t}", "@DeleteMapping(\"/citizens/{id}\")\n @Timed\n public ResponseEntity<Void> deleteCitizen(@PathVariable Long id) {\n log.debug(\"REST request to delete Citizen : {}\", id);\n citizenService.delete(id);\n return ResponseEntity.ok().headers(HeaderUtil.createEntityDeletionAlert(\"citizen\", id.toString())).build();\n }", "@Override\n\tpublic void deleteCateogry(int id) {\n\t\tcategoryRepository.deleteById(id);\n\t\t\n\t}", "void deleteCategory(long id);", "void deleteCategory(Integer id);", "@DeleteMapping(\"/covs/{id}\")\n @Timed\n public ResponseEntity<Void> deleteCov(@PathVariable Long id) {\n log.debug(\"REST request to delete Cov : {}\", id);\n covService.delete(id);\n return ResponseEntity.ok().headers(HeaderUtil.createEntityDeletionAlert(ENTITY_NAME, id.toString())).build();\n }", "@DeleteMapping(\"/buy-types/{id}\")\n @Timed\n @Secured({AuthoritiesConstants.ROLE_ADMIN, AuthoritiesConstants.DELETE_BUY_TYPE})\n public ResponseEntity<Void> deleteBuyType(@PathVariable Long id) {\n log.debug(\"REST request to delete BuyType : {}\", id);\n buyTypeService.delete(id);\n return ResponseEntity.ok().headers(HeaderUtil.createEntityDeletionAlert(ENTITY_NAME, id.toString())).build();\n }", "@DeleteMapping(path=\"{id}\")\n public void deleteUserById(@PathVariable(\"id\") int id){\n ReviewDAOService.deleteUserById(id);\n }", "public void delete(Long id) {\n log.debug(\"Request to delete TipoSituacao : {}\", id);\n tipoSituacaoRepository.delete(id);\n }", "public void deleteById(Long id);", "@DeleteMapping(\"/class-groups/{id}\")\n @Timed\n public ResponseEntity<Void> deleteClassGroup(@PathVariable Long id) {\n log.debug(\"REST request to delete ClassGroup : {}\", id);\n classGroupService.delete(id);\n return ResponseEntity.ok().headers(HeaderUtil.createEntityDeletionAlert(ENTITY_NAME, id.toString())).build();\n }", "public void delete(Long id) {\n log.debug(\"Request to delete ConfigSystem : {}\", id);\n configSystemRepository.deleteById(id);\n }", "void deleteById(Integer id);", "void deleteById(Integer id);", "void stopDiscountById(Long id) throws ServiceException;", "public void delete(String id);", "public void delete(String id);", "public void delete(String id);", "public void delete(String id);", "public void delete(String id);", "@Override\n public void delete(Long id) {\n log.debug(\"Request to delete CustomProcess : {}\", id);\n customProcessRepository.deleteById(id);\n }", "public void deleteEntry(int id) {\n\t\tString sql=\"delete from suppplierpayments where supplierpayId=\"+id+\"\"; \n\t template.update(sql); \n\t\t\n\t}", "public void deleteById(Integer id) {\n\n\t}", "void deleteById(Long id);", "void deleteById(Long id);", "void deleteById(Long id);", "void deleteById(Long id);", "@Override\n\tpublic void deleteById(String id) {\n\t\t\n\t}", "@DeleteMapping(\"/jpa/users/{username}/suppliers/{id}\")\n public ResponseEntity<Void> deleteSupplier(@PathVariable String username,\n @PathVariable Long id){\n supplierJpaRepo.deleteById(id);\n\n\n return ResponseEntity.noContent().build();\n\n\n //return ResponseEntity.notFound().build();\n }", "@Override\n\tpublic void delete(String id) throws Exception {\n\n\t}", "void deleteById(final String id);", "@Override\n public void delete(Long id) {\n log.debug(\"Request to delete CashReceive : {}\", id);\n cashReceiveRepository.delete(id);\n }", "void deleteCustomerDDPayById(int id);", "public void unlinkAllCompanyCoupon(long companyId) throws SQLException;", "@Override\n\tpublic void removeCoupon(Coupon coupon) throws ClassNotFoundException, SQLException, NotExistException {\n\t\tConnection connection = ConnectionPool.getInstance().getConnection();\n\n\t\tPreparedStatement statement = connection.prepareStatement(SQLQueryRequest.GET_ALL_COUPON_TITLES);\n\t\tResultSet resultSet = statement.executeQuery();\n\n\t\tif (!resultSet.first()) {\n\t\t\tConnectionPool.getInstance().returnConnection(connection);\n\t\t\tthrow new NotExistException(\"Coupon title \" + coupon.getTitle() + \" is not exist\");\n\t\t}\n\t\tstatement = connection.prepareStatement(SQLQueryRequest.REMOVE_COUPON_BY_ID);\n\t\tstatement.setLong(1, coupon.getId());\n\t\tstatement.executeUpdate();\n\t\tstatement = connection.prepareStatement(SQLQueryRequest.REMOVE_COUPON_FROM_COMPANY_COUPON_BY_COUPON_ID);\n\t\tstatement.setLong(1, coupon.getId());\n\t\tstatement.executeUpdate();\n\n\t\tConnectionPool.getInstance().returnConnection(connection);\n\t}" ]
[ "0.62895507", "0.62725174", "0.6166877", "0.59702975", "0.5872594", "0.58566743", "0.5803839", "0.57763916", "0.57637405", "0.57285106", "0.57252693", "0.5707146", "0.568603", "0.56824297", "0.56743735", "0.56525797", "0.5647503", "0.56255925", "0.55952835", "0.557872", "0.55574954", "0.555033", "0.5545736", "0.55412495", "0.5540745", "0.5539374", "0.5537697", "0.5531985", "0.55234766", "0.551871", "0.5477514", "0.54762757", "0.5467681", "0.5448711", "0.5445673", "0.54398423", "0.5433338", "0.54114693", "0.54111946", "0.54026294", "0.5398777", "0.53978777", "0.5397041", "0.5391742", "0.5391742", "0.5391742", "0.5391742", "0.5391742", "0.5391742", "0.5391742", "0.5391742", "0.5391742", "0.5391742", "0.5386395", "0.53811985", "0.5380819", "0.53780884", "0.5373034", "0.53712827", "0.5364648", "0.53611493", "0.5355813", "0.53504014", "0.53469265", "0.53230596", "0.5318647", "0.53182065", "0.5309925", "0.5306185", "0.52967286", "0.5290124", "0.5289254", "0.52892214", "0.5288261", "0.52878237", "0.5279294", "0.52773184", "0.52761716", "0.52761716", "0.5274574", "0.52703863", "0.52703863", "0.52703863", "0.52703863", "0.52703863", "0.5266851", "0.5263203", "0.5255703", "0.525569", "0.525569", "0.525569", "0.525569", "0.5238343", "0.52327764", "0.5229021", "0.52227366", "0.5221142", "0.52187854", "0.521734", "0.52147406" ]
0.86651623
0
list the family members
public List<FamilyMember> listAllFamilyMembers() { if (isFamilyMemberMapNullOrEmpty(familyMemberMap)) { return new ArrayList<>(); } return new ArrayList<>(familyMemberMap.values()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String displayFamilyMembers() {\n int i = 1;\n StringBuilder ret = new StringBuilder();\n for (FamilyMember fam : this.famMemberList) {\n ret.append(i + \".\" + \" \" + fam.getSkinColour() + \" -> \" + fam.getActionValue());\n ret.append(\" | \");\n i++;\n }\n return ret.toString();\n }", "public ArrayList<Familymember> getMyFamilymembers() {\n\t\treturn myFamilymembers;\n\t}", "@Override\r\n\tpublic int getCount() {\n\t\treturn HHFamilyMember.size();\r\n\t}", "public String memberList() {\n\treturn roomMembers.stream().map(id -> {\n\t try {\n\t\treturn api.getUserById(id).get().getNicknameMentionTag();\n\t } catch (InterruptedException | ExecutionException e) {\n\t\te.printStackTrace();\n\t }\n\t return \"\";\n\t}).collect(Collectors.joining(\"\\n\"));\n }", "public void showMembers() {\r\n\t\tfor(Member m: members) {\r\n\t\t\tm.show();\r\n\t\t}\r\n\t}", "public void printMembers() {\n\t\tthis.getListUsers().printList();\n\t}", "public List<Person> getFamilyMembers(String name) {\n\t\tMap<String, Object> parameters = new HashMap<>();\n\t\tparameters.put(\"name\", name);\n\t\tString cypher = GraphQueries.GET_PERSONS_BY_FAMILY_NAME;\n\t\t\n\t\tResult result = session.query(cypher, parameters);\n\t\tIterator<Map<String, Object>> it = result.iterator();\n\t\tlogger.info(\"Cypher query [\" + cypher + \" with parameters \" + parameters);\n\t\tint n = 0;\n\t\tList<Person> list = new ArrayList<Person>();\n\t\twhile (it.hasNext()) {\n\t\t\tn++;\n\t\t\tMap<String, Object> row = it.next();\n\t\t\tlogger.debug(\"result row \" + n + \" \" + row);\n\t\t\tString key = \"n\";\n\t\t\tPerson p = Person.class.cast(row.get(key));\n\t\t\tlogger.debug(\"row has key (\" + key + \") with value \" + p + \" of \" + p.getClass()\n\t\t\t+ \" and id \" + p.getId());\n\t\t\tPerson x = session.load(Person.class, p.getId());\n\t\t\tlist.add(x);\n\t\t\tlogger.debug(\"person \" + x);\n\t\t}\n\t\treturn list;\n\t}", "public List<String> getMembers() {\n return this.members;\n }", "public GetMembers(String fn,String ln){\r\n\t\tfname = fn;\r\n\t\tlname = ln;\r\n\t\tmembers ++;\r\n\t\t\r\n\t\tSystem.out.printf(\"Constructor for %s %s, Members in the club %d.\\n\", fname,lname,members);\r\n\t}", "public void setMyFamilymembers(ArrayList<Familymember> myFamilymembers) {\n\t\tthis.myFamilymembers = myFamilymembers;\n\t}", "@Override\r\n\tpublic List<Member> getAllMember() {\n\t\tSession session = sessionFactory.getCurrentSession();\r\n\t\tList<Member> list = session.createCriteria(Member.class).list();\r\n\t\treturn list;\r\n\t}", "public String getMembers() {\r\n \t\tString members = _creator;\r\n \t\tfor (String member : _otherMembersList) {\r\n \t\t\tmembers.concat(\", \" + member);\r\n \t\t}\r\n \t\treturn members;\r\n \t}", "@Override\n\tpublic List<Member> getAllMember() {\n\t\tSession session =sessionFactory.getCurrentSession();\n\t\tString hql = \"from Member\";\n\t\tList<Member> listMember = session.createQuery(hql).list();\n\t\t\n\t\tif(listMember.isEmpty()) {\n\t\t\t\treturn new ArrayList<>();\n\t\t}\n\t\t\n\t\treturn listMember;\n\t}", "public List<DN> getMembers() {\n\t\treturn members;\n\t}", "@Override\r\n\tpublic List<MemberDTO> list() {\n\t\treturn session.selectList(NAMESPACE+\".list\");\r\n\t}", "public List<User> getMembers() {\n return members;\n }", "@Override\r\n\tpublic List<MemberVo> listAll() throws SQLException {\n\t\treturn client.selectList(\"member.listAll\");\r\n\t}", "public List<StaffMember> getTeamMembers(){\n\t\tSet<StaffMember> team = teamleader.getDirectSubordinates();\n\t\tStaffMemberIterator iterator = new StaffMemberIterator(team);\n\t\tList<StaffMember> listOfMembers = iterator.listOfStaffMember;\n\t\tlistOfMembers.add(teamleader);\n\t\tCollections.sort(listOfMembers);\n\t\treturn listOfMembers;\n\t}", "@Override\n\tpublic List<Member> getAllMember() {\n\t\treturn null;\n\t}", "public List<Member> members() {\n return list;\n }", "String[] getFamilyNames() {\n\t\treturn this.familyMap.keySet().toArray(new String[this.familyMap.size()]);\n\t}", "public List<Member> findAll() {\n CriteriaBuilder criteriaBuilder = entityManager.getCriteriaBuilder();\n\n CriteriaQuery<Member> criteriaQuery = criteriaBuilder.createQuery(Member.class);\n\n Root<Member> m = criteriaQuery.from(Member.class);\n criteriaQuery.select(m);\n\n TypedQuery<Member> query = entityManager.createQuery(criteriaQuery);\n List<Member> members = query.getResultList();\n return members;\n }", "@Override\n\tpublic List<Member> getMemberList() {\n\t\treturn null;\n\t}", "public FamilyInfo[] getFamilyInfo() {\n return familyInfo;\n }", "public synchronized Membership.MembershipList getMembershipList() {\n Membership.MembershipList.Builder builder = Membership.MembershipList.newBuilder().addMember(localMemberHealth.toMember());\n for (MemberHealth memberHealth : memberHealths) {\n if (!memberHealth.hasLeft() && !memberHealth.hasFailed()) {\n builder.addMember(memberHealth.toMember());\n }\n }\n return builder.build();\n }", "@Override\r\n\tpublic List<Member> getAllMembers(int start, int numberOfRecords)\r\n\t\t\tthrows NotFoundException, ExistException, MissingParameter,\r\n\t\t\tInvalidParameter {\n\t\treturn null;\r\n\t}", "public ImmutableList<Member> getMembers() {\n return ImmutableList.copyOf(members);\n }", "@Override\n\tpublic List<MemberDTO> getListMember() {\n\t\treturn mdao.getListMember();\n\t}", "java.util.List<com.ljzn.grpc.personinfo.PersoninfoMessage> \n getPersonInfoList();", "public ArrayList<Member> getAllMembers() {\n return memberDAO.getAllMembers();\n }", "public List<Staff> findAllStaffMembers(){\n\t\treturn staffRepository.findAll();\n\t}", "public ArrayList getMembers()\n\t{\n\t\treturn this.members;\n\t}", "public String getFamilyName()\r\n {\r\n return familyName;\r\n }", "public final ArrayList<Account> getMemberList()\n\t{\n\t\treturn members;\n\t}", "public List<Annotation> getMembers();", "@Nonnull\n List<ResourceMember> getMembers(@Nonnull final Telegraf telegraf);", "Item[] getMembers() throws AccessManagementException;", "public List<String> getAllMembers() {\n\t\tMap<String, List<String>> dictMap = getDictionary();\n\t\tList<String> resultValues = null;\n\t\tif (dictMap != null && dictMap.isEmpty() != true) {\n\t\t\tresultValues = new ArrayList<String>();\n\t\t\tfor (Map.Entry<String, List<String>> map : dictMap.entrySet()) {\n\t\t\t\tList<String> valueList = map.getValue();\n\t\t\t\tresultValues.addAll(valueList);\n\t\t\t}\n\t\t}\n\t\treturn resultValues;\n\t}", "java.util.List<People>\n getFriendListList();", "List memberClasses();", "List<S> memberOf(String memberUuid);", "public ArrayList<Member> getAllMembers() {\n\t\t\n\t\tArrayList<Member> returnArr = new ArrayList<Member>();\n\t\tfor (Iterator<Member> it = db.iterator(); it.hasNext(); ) {\n\t\t\tMember m = it.next();\n\t\t\treturnArr.add(m);\n\t\t\t\n\t\t}\n\t\t \n\t\treturn returnArr;\n\t}", "@Override\r\n\tpublic List<MemberDto> list() {\n\t\treturn jdbcTemplate.query(\"select * from s_member\", mapper);\r\n\t}", "protected Runnable listMembers() {\n return () -> {\n while (enableHa) {\n try {\n if (Thread.currentThread().isInterrupted()) {\n break;\n }\n NotificationServiceOuterClass.ListMembersRequest request =\n NotificationServiceOuterClass.ListMembersRequest.newBuilder()\n .setTimeoutSeconds(listMemberIntervalMs / 1000)\n .build();\n NotificationServiceOuterClass.ListMembersResponse response = notificationServiceStub.listMembers(request);\n if (response.getReturnCode() == NotificationServiceOuterClass.ReturnStatus.SUCCESS) {\n livingMembers = new HashSet<>(response.getMembersList());\n } else {\n logger.warn(response.getReturnMsg());\n selectValidServer();\n }\n } catch (Exception e) {\n e.printStackTrace();\n logger.warn(\"Error while listening notification\");\n selectValidServer();\n }\n }\n };\n }", "People getFriendList(int index);", "public List<String> getMemberList()\n\t{\n\t\treturn source.getMemberList();\n\t}", "public Roster getListofFriends(){\n\n\t\treturn friendsList;\n\t}", "@Override\r\n\tpublic Map<String, MemberDto> nameList() {\n\t\tMap<String, MemberDto> list = new HashMap<>();\r\n\t\tfor (String email : emailList()) {\r\n\t\t\tlist.put(email, myInfo(email));\r\n\t\t}\r\n\t\treturn list;\r\n\t}", "public ArrayList<Member> getMemberWholeList() {\n\t\t return dao.selectMemberwholeList();\r\n\t}", "@Override\n\tpublic List<DiscoveredMember> list() throws DiscoveryException {\n\t\tif(this.myself == null) {\n\t\t\tthrow new DiscoveryException(\"Jmdns not yet registered!!!\");\n\t\t}\n\t\t\n\t\tServiceInfo[] list = this.jmDns.list(this.type);\n\t\tList<DiscoveredMember> members = new ArrayList<DiscoveredMember>();\n\n\t\tfor (ServiceInfo info : list) {\n\t\t\tif (!info.getName().equals(this.myself.getName())\n\t\t\t\t\t&& info.getName().startsWith(this.cloudName)) {\n\t\t\t\t//todo-discovery: it could lead to problems if it retunrs multiple inetAdresses\n\t\t\t\tfor (InetAddress ad : info.getInetAddresses()) {\n\t\t\t\t\tDiscoveredMember member = discoveredMemberProvider.get();\n\t\t\t\t\tmember.setInetAdresses(ad);\n\t\t\t\t\tmember.setPort(info.getPort());\n\t\t\t\t\tmember.setName(info.getName());\n\t\t\t\t\tmembers.add(member);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tPieLogger.trace(this.getClass(), \"We discovered {} members!\", members.size());\n\n\t\treturn members;\n\t}", "@Override\n\tpublic void getAllFamilies() {\n\n\t}", "@Override\n\tpublic List<MemberVO> selectAllMembers() {\n\t\treturn sqlSession.selectList(\"com.coderdy.myapp.member.dao.mapper.MemberMapper.selectAllMembers\");\n\t}", "List<GroupMembers> findAll();", "public static int getMembers() {\n\t\treturn members; \n\t}", "@SuppressWarnings(\"serial\")\n\tpublic HashMap<String,ArrayList<String>> getMembers() throws Exception{\n\t\treturn new HashMap<String,ArrayList<String>>(){{\n\t\t\tUserRegistry ur = UserRegistry.findOrCreate(doc);\n\t\t\tGroups groups = Groups.findOrCreate(ur);\n\t\t\tfor(Group g:Group.list(groups)){\n\t\t\t\tfinal Group tmp=g;\n\t\t\t\tput(g.getAttribute(\"name\"),new ArrayList<String>(){{\n\t\t\t\t\tfor (Member m:Member.list(tmp))\n\t\t\t\t\t\tadd(m.getAttribute(\"username\"));\t\t\t\t\n\t\t\t\t}});\n\t\t\t}\n\t\t}};\n\t}", "public ArrayList<Entry> getMembers(){\n return members;\n }", "public ArrayList<String> getMembers() {\n if(!members.isEmpty()){\n return new ArrayList(members.keySet());\n }else{\n return null;\n }\n }", "@Get\n public String getMembers(){\n ArrayList<String> members = new ArrayList<>();\n try {\n members.addAll(controller.getMembers(getQueryValue(\"id\")));\n }catch(MenuException e){\n System.out.println(e.getMessage());\n }\n return new YaGson().toJson(members, ArrayList.class);\n }", "public int getMembers() {\n\t\treturn members;\n\t}", "List<User> getMembers(String companyId, String name);", "String getFamily();", "String getFamily();", "private static void getMember() {\n\t\toutput(\"\");\r\n\t\tfor (member member : library.getMember()) {// variable name LIB to library and MEMBER to getMember()\r\n\t\t\toutput(member + \"\\n\");\r\n\t\t}\t\t\r\n\t}", "List<Member> findAll();", "public List<XmlsonMember> getMembers() {\n\t\treturn Collections.unmodifiableList(members);\n\t}", "public final List<Member> getSlicerMembers() {\n return slicerMembers;\n }", "private static List<Member> extractMembers(HttpResponse response) {\n List<Member> members = new ArrayList<>();\n try {\n Gson gson = new Gson();\n Type listType = new TypeToken<ArrayList<Member>>() {\n }.getType();\n members = gson.fromJson(EntityUtils.toString(response.getEntity()), listType);\n } catch (IOException e) {\n e.printStackTrace();\n }\n return members;\n }", "public Collection<AccessUser> getMembers()\n {\n return username_to_profile.values();\n }", "public ArrayList<Character> getMembers() {\n\t\tArrayList<Character> lista = new ArrayList<Character>();\r\n\t\tfor(Character chr : guildArray) {\r\n\t\t\tlista.add(chr);\r\n\t\t}\r\n\t\treturn lista;\r\n\t}", "@GET\n @Path(\"all\")\n public Response GetAllMembers() {\n List<Member> memberList = new ArrayList<>();\n DBConnector db = new DBConnector();\n try {\n db.createConnection();\n memberList = db.GetAllMembers();\n db.closeConnection();\n } catch (SQLException | ClassNotFoundException ex) {\n Logger.getLogger(GetMembersREST.class.getName()).log(Level.SEVERE, null, ex);\n }\n if (memberList.isEmpty()) {\n return Response.status(Response.Status.NOT_FOUND).entity(\"No members found\").build();\n }\n String json = new Gson().toJson(memberList);\n\n return Response.ok(json, MediaType.APPLICATION_JSON).build();\n }", "java.util.List<com.vine.vinemars.net.pb.SocialMessage.FriendObj> \n getFriendListList();", "public String getFamilyName() {\n return familyName;\n }", "public ImmutableList<String> getMemberNames() {\n return members.stream().map(m -> m.getName()).collect(ImmutableList.toImmutableList());\n }", "List<T> membershipRoster(String membershipName);", "java.util.List<POGOProtos.Rpc.GetFriendsListOutProto.FriendProto> \n getFriendList();", "public Family getFamily() {\n return family;\n }", "public String getFamilyName() {\n return familyName;\n }", "public List<DataSetMember<t>> getMembers()\n\t{\n\t\treturn _data;\n\t}", "String family();", "public static LinkedList<Person> allFemalePerson() {\n LinkedList<Person> femaleList = new LinkedList<>();\n femaleList.add(ALICE);\n femaleList.add(ELLE);\n femaleList.add(FIONA);\n return femaleList;\n }", "@Override\n\tpublic int nbMembers() {\n\t\treturn 0;\n\t}", "public String getFamilyname() {\n\t\treturn this.family_name;\n\t}", "@GetMapping( value = \"/getMembersByAvailability\")\n\tpublic List<Employee> getAllMembers()\n\t{\n\t\treturn this.integrationClient.getAllMembers();\n\t}", "public void showFriends(){\n\t /*condition to check if friend list is empty*/ \n\t if(friend.isEmpty()){\n\t System.out.println(\"Sorry !! You Don't have any friend in your Friend list\\n\");\n\t }\n\t /*printing friend list*/\n\t else{\n\t System.out.println(\"\\nYour Friend List ---\");\n\t int p=0;\n\t for(Map.Entry<String,String>entry:friend.entrySet()){\n\t \n\t System.out.println(++p+\" \"+entry.getKey());\n\t \n\t }\n\t }\n\t }", "public List<String> nicknames();", "java.util.List<protocol.Data.Friend.FriendItem> \n getFriendList();", "public static List<Member> getGroupMembers(String groupId) {\n try {\n String url = BASE_URL + \"groups/\" + groupId + \"/members\";\n return extractMembers(sendAuthenticated(new HttpGet(url)));\n } catch (Exception e) {\n e.printStackTrace();\n }\n return new ArrayList<>();\n }", "@Override\n\tpublic List<Members> selectAll() throws Exception {\n\t\tList<Members> membersList = session.getCurrentSession().createQuery(\"from Members\").getResultList();\n\t\treturn membersList;\n\t}", "public Stream<Long> members() {\n\treturn roomMembers.stream();\n }", "public List<String> getMembersVerboseList(List<Member> members) throws WorkShopException {\n List<String> verboseList = new ArrayList<String>();\n try {\n for (Member member : members) {\n String verboseInfo = \"member name : \" + member.getName() + \", personal number: \" + member.getPersonalNumber() + \", member id: \" + member.getMemberId() + \", boats info: \\n\";\n Iterator<Boat> boatIterator = member.getBoats();\n while ( boatIterator.hasNext()) {\n Boat boat = boatIterator.next();\n verboseInfo += \"boat id: \" + boat.getId() + \", boat size: \" + boat.getSize() + \", boat type: \" + boat.getType() + \"\\n\";\n }\n verboseList.add(verboseInfo);\n }\n } catch (Exception e) {\n throw new WorkShopException(e);\n }\n return verboseList;\n }", "@Override\n\tpublic String getResult()\n\t{\n\t\tString ret = \"\";\n\t\tfor (Friend x : Session.getInstance().getPerson().getFriends()) {\n\t\t\tif (!ret.equals(\"\")) {\n\t\t\t\tret = ret + \",\";\n\t\t\t}\n\t\t\tret = ret + x.getDisplayName();\n\t\t}\n\t\treturn ret;\n\t}", "public void display()\n {\n System.out.println(name);\n System.out.println(status);\n if (friendslist.size ==0){\n System.out.println(\"User has no friends :(\");\n for(String i: friendslist.size){\n System.out.println(friendslist.get(i));\n }\n }\n }", "public java.lang.String getFamilyName() {\n return FamilyName;\n }", "public Set<TopLevel> getMembers() {\n\t\tSet<TopLevel> result = new HashSet<>();\n\t\tfor (URI memberURI : members) {\n\t\t\tTopLevel member = this.getSBOLDocument().getTopLevel(memberURI);\n\t\t\tif(member != null) {\n\t\t\t\tresult.add(member);\n\t\t\t}\n\t\t}\n\t\treturn result;\n\t}", "public void displayGenderFirstNames(char g){\n g=Character.toUpperCase(g);\n ObjectListNode p;\n p=payroll.getFirstNode();\n Employee e;\n if(g=='M'){\n System.out.print(\"\\nAll Men:\\n\");\n pw.print(\"\\nAll Men:\\n\");\n }\n if(g=='F'){\n System.out.print(\"\\nAll Women:\\n\");\n pw.print(\"\\nAll Women:\\n\");\n }\n while(p!=null){\n e=(Employee)p.getInfo();\n if(e.getGender()==g){\n System.out.print(e.getFirstName()+\"\\n\");\n pw.print(e.getFirstName()+\"\\n\");\n }\n p=p.getNext();\n }\n }", "List<Member> list(long now);", "private List<Member> generateList(Member member, Gender gender) {\n List<Member> list = context.getService().getCurrentFamily().getMembers().stream()\n .filter(m -> !m.equals(member))\n .filter(m -> m.getGender() != gender)\n .collect(Collectors.toList());\n\n /*\n Protection to not set my child as my parent\n */\n list = removeDescends(list, member);\n // list = removeAscends(list, member);\n\n /*\n Remove siblings\n */\n try {\n Relation born = context.getService().getCurrentFamily().findBornRelation(member);\n\n for (Member sibling : born.getChildren()) {\n list = list.stream().filter(p -> !p.equals(sibling)).collect(Collectors.toList());\n }\n } catch (Exception e) {\n log.error(e.getMessage());\n e.printStackTrace();\n }\n return list;\n }", "public FriendList[] getFriendsLists();", "public java.util.List<People> getFriendListList() {\n return java.util.Collections.unmodifiableList(\n instance.getFriendListList());\n }", "public String getFamily()\n {\n return _family;\n }" ]
[ "0.77732134", "0.72791475", "0.6957581", "0.68951803", "0.680821", "0.67263716", "0.6707438", "0.6611514", "0.6590633", "0.65759563", "0.65607184", "0.65311366", "0.6530898", "0.6482362", "0.6452424", "0.6436021", "0.6422678", "0.638357", "0.6370933", "0.6303676", "0.6265149", "0.62621653", "0.6240218", "0.61975116", "0.61929446", "0.6192586", "0.6173315", "0.61679006", "0.61510694", "0.614749", "0.61331356", "0.61312115", "0.61184996", "0.61175716", "0.61091906", "0.6101336", "0.6101124", "0.60886574", "0.608802", "0.6083281", "0.6080669", "0.6074644", "0.6055964", "0.60465264", "0.6040401", "0.60349935", "0.6030803", "0.6028786", "0.6021644", "0.601071", "0.59939307", "0.599144", "0.599007", "0.59628415", "0.5955637", "0.5935487", "0.5928246", "0.59267455", "0.5919581", "0.5917541", "0.59118193", "0.59118193", "0.59108126", "0.589423", "0.5889068", "0.58760816", "0.5853297", "0.5845793", "0.5842319", "0.58412325", "0.5835946", "0.5833699", "0.58336234", "0.5824048", "0.58216554", "0.5818405", "0.5805925", "0.58004713", "0.57992435", "0.57946795", "0.57852906", "0.5773018", "0.5772752", "0.5762785", "0.5754058", "0.5747595", "0.5746068", "0.5743505", "0.57369316", "0.57318866", "0.5711038", "0.5708494", "0.5706692", "0.5698418", "0.5685014", "0.5682724", "0.5664342", "0.565889", "0.565539", "0.5654793" ]
0.76723814
1
get a single family member
public FamilyMember fetchFamilyMember(String id) throws FamilyMemberNotFoundException { if (isFamilyMemberMapNullOrEmpty(familyMemberMap) || !familyMemberMap.containsKey(id)) { LOGGER.error("Exception Occurred"); throw new FamilyMemberNotFoundException("family member does not exist with the given id " + id); } return familyMemberMap.get(id); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getFamilyPerson(String familyId);", "String getFamily();", "String getFamily();", "public Family getFamily() {\n return family;\n }", "public Member getMember(int index) {\n return members.get(index);\n }", "String getMemberOf();", "@Override\r\n\tpublic Member getMember(Long id) throws NotFoundException, ExistException,\r\n\t\t\tMissingParameter, InvalidParameter {\n\t\treturn null;\r\n\t}", "public String getFamily()\n {\n return _family;\n }", "public String getFamilyName()\r\n {\r\n return familyName;\r\n }", "Member findById(Long id);", "@Override\n\tpublic Member getMember(int id) {\n\t\treturn null;\n\t}", "public int getMember(){\n String memberString = member.getSelectedItem().toString();\n int memberId = this.memberMap.get(memberString);\n \n System.out.println(\"getMember2: \"+ memberString +\",\"+ memberId);\n return memberId;\n }", "public Member getMember()\n {\n return m_member;\n }", "public Member getMember() {\n\t\treturn member; ////changed 'MeMbEr' to 'member'\r\n\t}", "String family();", "public Optional<String> getMember() {\n return Optional.ofNullable(member);\n }", "public final int getFamily() {\n return family;\n }", "public Family getFamily() {\r\n return pic_.getFamily();\r\n }", "public String getFamily() {\n return this.family;\n }", "public com.jspgou.cms.entity.ShopMember getMember () {\r\n\t\treturn member;\r\n\t}", "@Override\n\tpublic Member getMemberById(int id) {\n\t\tSession session = sessionFactory.getCurrentSession();\n\t\tString hql = \"from Member m where m.id = :id\";\n\t\tQuery query = session.createQuery(hql);\n\t\tquery.setParameter(\"id\", id);\n\t\tList<Member> listMember = query.list();\n\t\t\n\t\tif(listMember.isEmpty()) {\n\t\t\treturn new Member();\n\t\t}\n\t\t\n\t\treturn listMember.get(0);\n\t}", "@Override\r\n\tpublic Member getMemberById(int id) {\n\t\tSession session = sessionFactory.getCurrentSession();\r\n\t\tMember member = session.get(Member.class, id);\r\n\t\treturn member;\r\n\t}", "public SubFamily getSubFamily() {\r\n return pic_.getSubFamily();\r\n }", "public Member getMember(int id){\n super.open();\n\n // 2. build query\n Cursor cursor =\n db.query(TABLE_MEMBER, // a. table\n COLUMNS, // b. column names\n \" id = ?\", // c. selections\n new String[] { String.valueOf(id) }, // d. selections args\n null, // e. group by\n null, // f. having\n null, // g. order by\n null); // h. limit\n\n // 3. if we got results get the first one\n if (cursor != null)\n cursor.moveToFirst();\n\n // 4. build Member object\n Member member = new Member();\n member.id = Integer.parseInt(cursor.getString(0));\n member.nickName = cursor.getString(1);\n member.type = cursor.getInt(2);\n member.joinDate = cursor.getString(3);\n\n\n Log.d(\"getNotice(\" + id + \")\", member.toString());\n\n // 5. return member\n return member;\n }", "public Vertex getFamily() {\n\t\treturn family;\n\t}", "public String getFamilyName() {\n return familyName;\n }", "public MemberPo findMember(final String id);", "public String familyId() {\n return this.familyId;\n }", "public String family() {\n return this.family;\n }", "public Integer getFamilyId() {\r\n return familyId;\r\n }", "@ApiModelProperty(readOnly = true, value = \"Unique Identifier of the family member\")\n\n\n public String getFamilyMemberId() {\n return familyMemberId;\n }", "private BonusMember findMember(int memberNo) {\n\t\tfor (BonusMember member : members) {\n\t\t\tif (member.getMemberNo() == memberNo)\n\t\t\t\treturn member;\n\t\t}\n\t\treturn null;\n\t}", "@Override\n\tpublic void getFamilyById(int id) {\n\n\t}", "public Member getMember(int memberId) {\r\n\t\tfor(Member m : members) {\r\n\t\t\tif(m.getMemberNumber() == memberId) {\r\n\t\t\t\treturn m;\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\treturn null;\r\n\t}", "public String getFamilyName() {\n return familyName;\n }", "@Override\r\n\tpublic Member getMember(String memberId) throws Exception {\n\t\treturn memberDao.getMember(memberId);\r\n\t}", "@Override\n\tpublic MemberDTO getMember(MemberDTO mdto) {\n\t\treturn mdao.getMember(mdto);\n\t}", "default Member getNormalMember(Long memberSn) {\n return new Member();\n }", "@Override\n\tpublic List<GymMember> getMyMember(int tid) {\n\t\t@SuppressWarnings({ \"deprecation\", \"rawtypes\" })\n\t\tQuery query = factory.getCurrentSession().createSQLQuery(\"CALL getMember(:tid1)\").setParameter(\"tid1\",tid).addEntity(GymMember.class);\n\t\t@SuppressWarnings({ \"deprecation\", \"unchecked\" })\n\t\tList<GymMember> list = query.list();\n\t\treturn list;\n\t}", "public AccessUser getMember(EntityPlayer player)\n {\n if (player != null)\n {\n //try UUID first\n UUID id = player.getGameProfile().getId();\n if (uuid_to_profile.containsKey(id))\n {\n return uuid_to_profile.get(id);\n }\n\n //try username last\n return getMember(player.getCommandSenderName());\n }\n return null;\n }", "int getMemberId1();", "ConferenceMember getConferenceMember(CallPeer peer, Component visualComponent);", "public Integer getMemberId() {\n return (Integer) get(2);\n }", "public Member getMemberById(int id) {\n\t\tfor (Iterator<Member> it = db.iterator(); it.hasNext(); ) {\n\t\t\tMember m = it.next();\n\t\t\tif (m.getId() == id) {\n\t\t\t\treturn m;\n\t\t\t}\n\t\t}\n\t\treturn null;\n\t}", "public java.lang.String getFamilyName() {\n return FamilyName;\n }", "int getMemberId2();", "public Optional<GroupMember> findOne(String id) {\n log.debug(\"Request to get GroupMember : {}\", id);\n return groupMemberRepository.findById(id);\n }", "@Override\n\tpublic Member findMemberId(long memberId) {\n\t\treturn null;\n\t}", "@Override\r\n\tpublic Member getMemberByName(String name) throws NotFoundException,\r\n\t\t\tExistException, MissingParameter, InvalidParameter {\n\t\treturn null;\r\n\t}", "Member getWidenedMatchingMember(String memberPath);", "public Friend findFriend(Address addr);", "@Nullable\n public Member findMember(String memberName) {\n if (memberName == null)\n return null;\n\n return members.stream().filter(m -> m.name.equals(memberName)).findFirst().orElse(null);\n }", "@Override\r\n\tpublic Member getMemberByPin(String pinMember) {\n\t\tSession session = sessionFactory.getCurrentSession();\r\n\t\tQuery query = session.createQuery(\"FROM Member WHERE pinMember =:pinMember\");\r\n\t\tquery.setString(\"pinMember\", pinMember);\r\n\t\tList<Member> member = query.list();\r\n\t\tif(!member.isEmpty())\r\n\t\treturn member.get(0);\r\n\t\telse\r\n\t\t\treturn null;\r\n\t}", "Optional<GroupMembers> findOne(Long id);", "@Override\n\tpublic String getFamilyName() {\n\t\treturn user.getUserInfo().getFamilyName();\n\t}", "private Creature findLeader(Game game){\n Creature lead = facCreatures.firstElement();\n // App.log(\"Leader of \" + fFaction.getName() + \" is \" + lead);\n return lead;\n }", "Member getWidenedMatchingMember(String[] memberPath);", "public Member retrieveMember(String token) {\n Client client = ClientBuilder.newClient();\n\n Member response = client.target(buildUserSessionMeUrl(oneClickUrl))\n .request()\n .header(\"Authorization\", \"Bearer \" + token)\n .get(Member.class);\n\n return response;\n }", "public IMember getParentMember();", "public String getFamilyname() {\n\t\treturn this.family_name;\n\t}", "public ArrayList<Familymember> getMyFamilymembers() {\n\t\treturn myFamilymembers;\n\t}", "@Override\r\n\tpublic MemberRefGd getMemberRef(String id) {\r\n\t\t//\r\n\r\n\t\treturn this.memberRefDgMap.getValue(id);\r\n\r\n\t}", "public String getFamilyName() {\n\t\treturn familyName;\n\t}", "@Override\n\tpublic List<Member> findMemberFirstname(String memberFirstname) {\n\t\treturn null;\n\t}", "public Member GetMember(final String memberEmail) throws Exception {\n if (members.containsKey(memberEmail)) {\n\n final Member member = members.get(memberEmail);\n\n // Only get token when the member is used. \n // Not all members are active, so lets not waste tokens\n if (member.token == null) {\n \n final JamConfig.ConfigInfo fromConfig = JamConfig.getInstance().getFromConfig();\n member.token = JamTokenManager.getInstance().getTokenForMember(fromConfig.host,\n fromConfig.proxy,\n member.email,\n fromConfig.clientId,\n fromConfig.clientSecret,\n fromConfig.grantType,\n fromConfig.samlConfig);\n }\n\n return members.get(memberEmail);\n }\n\n return null;\n }", "List<S> memberOf(String memberUuid);", "@Override\r\n\tpublic MemberVO getMemberId(String memberCode) {\n\t\treturn sqlSession.selectOne(namespace + \".getMemberId\", memberCode);\r\n\t}", "Member selectByPrimaryKey(Long id);", "protocol.Data.Friend.FriendItem getFriend(int index);", "private Optional<AnnotatedMember> getMemberForType(AnnotatedType annotatedType) {\n\n String currentPropertyName = annotatedType.getPropertyName();\n\n if (currentPropertyName != null && annotatedType.getParent() != null) {\n\n JavaType parentType = definedTypes.get(annotatedType.getParent().getName());\n\n if (parentType != null) {\n\n BeanDescription parentBeanDescription = _mapper.getSerializationConfig().introspect(parentType);\n\n return parentBeanDescription.findProperties().stream()\n .filter(property -> property.getName().equals(currentPropertyName))\n .findFirst()\n .map(BeanPropertyDefinition::getPrimaryMember);\n }\n }\n\n return Optional.empty();\n }", "com.zzsong.netty.protobuff.two.ProtoData.Person.Gender getGender();", "@Override\r\n\tpublic GridMemberI getLocalMember() {\r\n\t\t//\r\n\t\treturn this.top.find(GridMemberI.class, true);\r\n\r\n\t}", "public RoomMember getMember(Collection<RoomMember> members, String userID) {\n if (isAlive()) {\n for (RoomMember member : members) {\n if (TextUtils.equals(userID, member.getUserId())) {\n return member;\n }\n }\n } else {\n Log.e(LOG_TAG, \"getMember : the session is not anymore active\");\n }\n return null;\n }", "public String getFamilyName() throws PDFNetException {\n/* 550 */ return GetFamilyName(this.a);\n/* */ }", "public MinecartMember<?> getEnteredMember() {\n return this.newSeat.getMember();\n }", "@Override\n public com.ext.portlet.model.StaffMember getStaffMember(long id)\n throws com.liferay.portal.kernel.exception.PortalException,\n com.liferay.portal.kernel.exception.SystemException {\n return _staffMemberLocalService.getStaffMember(id);\n }", "java.lang.String getFriendId();", "java.lang.String getFriendId();", "com.zzsong.netty.protobuff.two.ProtoData.Person getPerson();", "public DataSetMember<t> getRandomMember()\n\t{\n\t\tRandom R = new Random();\n\t\tint i = R.nextInt(_data.size());\n\t\treturn _data.get(i);\n\t}", "public Membership get() {\n return new Membership(this);\n }", "public MallMember selectOne(String id) {\n\t\tMallMember member = null;\n\t\tlogger.info(\"idcheck 시작\");\n\t\tMemberMapper mapper = sqlsession.getMapper(MemberMapper.class);\n\t\t\n\t\ttry{\n\t\t\tmember = mapper.selectOne(id);\n\t\t\t\n\t\t\t\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t\tlogger.info(\"idcheck 종료\");\n\t\treturn member;\n\t}", "Get<K, C> addFamily(String family);", "public String getMemberId() {\n return memberId;\n }", "public String getMemberId() {\n return memberId;\n }", "protected Membership getMembership(Group group) {\n \tMembership temp = memberships.get(group.getTitle());\n \tif(temp == null)\n \t\treturn null;\n return temp;\n }", "public FamilyInfo[] getFamilyInfo() {\n return familyInfo;\n }", "public XsglTabParty getPartyMemberByFId(int FId) {\n\t\treturn xsglTabPartyDAO.getPartyMemberByFId(FId);\n\t}", "public Integer getMemberId() {\n return memberId;\n }", "public Integer getMemberId() {\n return memberId;\n }", "public Family getFamilyByName(String name) {\n\t\tMap<String, Object> params = new HashMap<>();\n\t\tparams.put(\"name\", name);\n\t\tFilter filter = new Filter(\"name\", ComparisonOperator.EQUALS, name);\n\t\tCollection<Family> f = session.loadAll(Family.class, filter);\n\t\tif (f.isEmpty()) {\n\t\t\tthrow new RuntimeException(\"family with name [\" + name + \"] not found\");\n\t\t}\n\t\treturn f.iterator().next();\n\t}", "public String getMember_id() {\r\n return member_id;\r\n }", "public String getMember_id() {\r\n return member_id;\r\n }", "public java.util.Map<java.lang.CharSequence,java.lang.CharSequence> getFamily2() {\n\t throw new java.lang.UnsupportedOperationException(\"Get is not supported on tombstones\");\n\t }", "public String getFamilyRoot(String familyId);", "List<Member> findByName(String name);", "@Override\n\tpublic Person findSelf() {\n\t\tString pName= ctx.getCallerPrincipal().getName();\n\t\tPerson p=userEJB.findPerson(pName);\n\t\treturn p;\n\t}", "IMemberDto getMember(/*old :String searchMember*/Integer id);", "People getUser();", "public IMemberInfo get(IMember member) {\n\t\tString key = getParentKey(member);\n\t\tIMemberSet children = _map.get(key);\n\t\tif (children == null) {\n\t\t\tchildren = new MemberSet();\n\t\t\t_map.put(key,children);\n\t\t}\n\t\tIMemberInfo info = children.getInfo(member); \n\t\tif (info == null) {\n\t\t\tinfo = MemberInfo.createInfo(member);\n\t\t\tchildren.add(info);\n\t\t}\n\t\treturn info;\n\t}" ]
[ "0.7227589", "0.6982331", "0.6982331", "0.6758791", "0.6650184", "0.6547017", "0.6430961", "0.64295256", "0.63989687", "0.63655704", "0.63654613", "0.63550633", "0.6348829", "0.63480973", "0.6330434", "0.6303344", "0.63032424", "0.6296805", "0.62810767", "0.6197137", "0.6192235", "0.6187103", "0.61544174", "0.6144006", "0.6134411", "0.61335856", "0.61318004", "0.6129873", "0.6125752", "0.6125384", "0.6119158", "0.61148995", "0.61136115", "0.6102925", "0.60738325", "0.606936", "0.6051454", "0.6044399", "0.60342693", "0.6033019", "0.5963721", "0.5951432", "0.59503484", "0.59435356", "0.5943129", "0.5932173", "0.59232277", "0.5921472", "0.5915457", "0.59124374", "0.591137", "0.5911168", "0.5884553", "0.58823884", "0.5860383", "0.5856897", "0.5840098", "0.58303094", "0.5829801", "0.58119214", "0.58045053", "0.57925653", "0.5769347", "0.5763312", "0.576145", "0.575029", "0.57496834", "0.5744659", "0.57385516", "0.5729061", "0.5724264", "0.5723195", "0.5721703", "0.56989497", "0.5688991", "0.562293", "0.56194335", "0.56194335", "0.561484", "0.561169", "0.55968475", "0.55949736", "0.55822796", "0.556355", "0.556355", "0.55530983", "0.55502117", "0.55416805", "0.554001", "0.554001", "0.5528582", "0.5523799", "0.5523799", "0.5523342", "0.55231065", "0.5518533", "0.55145496", "0.55134386", "0.5506257", "0.5505319" ]
0.7283692
0
add a family member
public void addFamilyMember(FamilyMember familyMember) throws FamilyMemberAlreadyPresentException { if (familyMember == null || familyMemberMap.containsKey(familyMember.getId())) { LOGGER.error("Exception Occurred"); throw new FamilyMemberAlreadyPresentException("family member already present with the given id " + familyMember.getId()); } FamilyMember newFamilyMember = new FamilyMember(familyMember.getId(), familyMember.getName()); familyMemberMap.put(familyMember.getId(), newFamilyMember); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public <T> void addFamily(Family f) {\n\t\tassert f != null;\n\t\tMap<String, Object> parameters = new HashMap<>();\n\t\tparameters.put(\"name\", f.getName());\n\t\tsession.query(GraphQueries.ADD_FAMILY, parameters);\n\t}", "void addMember(final PartyMember member);", "public void addFamiliarIn(FamilyMember f){\r\n\t\tthis.familiarIn.add(f);\r\n\t}", "ClassBody addMember(ClassMember member);", "protected void addMember(MondrianMember member) {\r\n aMembers.add(member);\r\n }", "public void addMember(Person person) {\n\t\tmembers.add(person);\n\t}", "protected void addMember() {\n\t\tString mPhoneNumber = phoneEditView.getText().toString();\n\t\t\n\t\tApiProxy apiProxy = new ApiProxy(this);\n\t\tapiProxy.addMember(mPhoneNumber);\n\t\t\n\t\tgoToFriendListPage();\n\t}", "public void addMember(IMember member);", "public void addMember()\r\n\t{\r\n\t\tlistOfMembers.add(new Member(\r\n\t\t\t\tgetUserString(\"Enter Member's First Name\"),\r\n\t\t\t\tgetUserString(\"Enter Member's Surname\"),\r\n\t\t\t\tgetUserString(\"Enter Member's Email\"),\r\n\t\t\t\tgetUserString(\"Enter Member's Telephone\"),\r\n\t\t\t\tgetUserInt(\"Enter Member's Number\"),\r\n\t\t\t\tgetUserString(\"Enter Member's Type\")\r\n\t\t\t\t));\r\n\t\t\r\n\t}", "private void sendAddMember(String groupName, Host leader, Host newMember) throws RemoteException, NotBoundException, MalformedURLException, UnknownHostException {\n NameServiceClient stub = (NameServiceClient) Naming.lookup(\"rmi://\" + leader + \"/\" + NameServiceClient.class.getSimpleName());\n stub.addMember(groupName, newMember);\n }", "public void addMember(Member m) {\n\t\tmembers.add(m);\n\t}", "void addFriendWithPhoneNumber(Friend friend, String phoneNumber);", "Get<K, C> addFamily(String family);", "public void addFamilyModifier(String newFamily) {\n\t\tif (family != null) {\n\t\t\tthrow new IllegalStateException(\"Multiple font family names specified\");\n\t\t}\n\t\tthis.family = newFamily;\n\t}", "@Override\n public void add(User member) {\n super.add(member);\n members.add(member);\n }", "User addMember(final User user, GroupAssociation groupAssociation);", "@Override\n\tpublic void add() {\n\t\tperson.addRelationship(\"Friend\", friend);\n\t}", "private void addNewMember(Event x) {\r\n \r\n \r\n \r\n }", "public void add(String name)\n/* 15: */ {\n/* 16:14 */ this.members.add(name);\n/* 17: */ }", "public String createFamily(String name);", "public boolean addMember(final MemberPo po);", "void add(Member node, long now);", "public String addMember()//value=\"addmember\", method=RequestMethod.)\n\t{\n\t\treturn \"addmember\";\n\t}", "public void addMember(Member member) {\r\n\t\tmember.setParentTypeDeclaration(this);\r\n\t\tmemberList.add(member);\r\n\t}", "public void AddMember(final Member member) {\n members.put(member.email, member);\n }", "public void add(\n final MemberType member)\n {\n ArgumentChecker.assertIsNotNull(\"member\", member);\n this.getMembers().add(member);\n }", "@Put\n public void addMember(){\n try {\n controller.addMember(getQueryValue(\"id\"), getQueryValue(\"name\"));\n }catch(MenuException e){\n System.out.println(e.getMessage());\n }\n }", "public void addMember (String name) {\r\n\t\tgetMemberList().add(name);\r\n\t\tsaveMemberList();\r\n\t}", "public void addPerson(Person thePerson) {\r\n staff.add(thePerson);\r\n }", "public void addMember(Annotation member);", "void memberAdded(final String id);", "private static void addMember() {\n\t\ttry {\r\n\t\t\tString lastName = input(\"Enter last name: \"); // variable name changes LN to lastName\r\n\t\t\tString firstName = input(\"Enter first name: \"); // variable name changes FN to firstName\r\n\t\t\tString email = input(\"Enter email: \"); // varible name changes EM to email\r\n\t\t\tint phoneNumber = Integer.valueOf(input(\"Enter phone number: \")).intValue(); // variable name changes PN to phoneNumber\r\n\t\t\tmember M = library.Add_mem( lastName, firstName, email, phoneNumber); // variable name changes LIB library , LN to lastName, FN to firstName,EM to email\r\n\t\t\toutput(\"\\n\" + M + \"\\n\");\r\n\t\t\t\r\n\t\t} catch (NumberFormatException e) {\r\n\t\t\t output(\"\\nInvalid phone number\\n\");\r\n\t\t}\r\n\t\t\r\n\t}", "public void addMember(String uuid) {\n this.members.add(uuid);\n }", "Builder addIsFamilyFriendly(String value);", "public void setFamily(String family) {\n this.family = family;\n }", "public Member addMember(String surName, String firstName, String secondName) {\r\n\t\tcurrentNumber++;\r\n\t\tMember m = new Member(surName, firstName, secondName, currentNumber);\r\n\t\tmembers.add(m);\r\n\t\t\r\n\t\treturn m;\r\n\t}", "public void addMember(Member m) {\r\n\t\tint index=isDuplicate(m);\r\n\t\tif((index==-1)&&(!m.getName().equals(\"000\"))) {ms.add(m);}\r\n\t\tif(index!=-1) {\r\n\t\t\tif(!m.getName().equals(\"000\")) {ms.get(index).setName(m.getName());}\r\n\t\t\tif(m.hasAddress()) {ms.get(index).setAddress(m.getAddress());ms.get(index).setHasAddress();}\r\n\t\t\tif(m.hasBirthday()) {ms.get(index).setBirthday(Member.updateBirthday(m.getBirthday()));ms.get(index).setHasBirthday();}\r\n\t\t\tif(m.hasPoints()) {ms.get(index).setPoints(m.getPoints());ms.get(index).setHasPoints();}\r\n\t\t\tif(m.hasMileage()) {ms.get(index).setMileage(m.getMileage());ms.get(index).setHasMileage();}\r\n\t\t\tif(m.hasTier()) {ms.get(index).setTier(m.getTier());ms.get(index).setHasTier();}\r\n\t\t}\r\n\t}", "public void addFriend(String friend){\n friends.add(friend);\n }", "void addMember(Item item) throws AccessManagementException;", "void addHasGender(Integer newHasGender);", "public void add(Mention mention, int sentenceOffset);", "private void addMember(String firstName, String lastName, String emailId) {\n Log.e(\"AddMember\", \"Fn \" + firstName + \", Ln \" + lastName + \"eid \" + emailId);\n\n\n// myRef.setValue(\"Hello, World!\");\n String key = myRef.push().getKey();\n Log.e(\"AddMember\", \"key \" + key);\n\n CoreMember member = new CoreMember(firstName, lastName, emailId);\n myRef.child(key).setValue(member, new DatabaseReference.CompletionListener() {\n @Override\n public void onComplete(DatabaseError databaseError, DatabaseReference databaseReference) {\n if (databaseError != null) {\n System.out.println(\"Data could not be saved \" + databaseError.getMessage());\n } else {\n System.out.println(\"Data saved successfully.\" + databaseReference.toString());\n memberKey = databaseReference.getKey();\n hideInputForm(true);\n\n }\n }\n });\n }", "@Nonnull\n ResourceMember addMember(@Nonnull final User member, @Nonnull final Telegraf telegraf);", "@Override\n\tpublic void addMember(String login, String password, String profile)\n\t\t\tthrows BadEntryException, MemberAlreadyExistsException {\n\n\t}", "public void addMember(Player player) {\n this.members.add(player.getUniqueId().toString());\n }", "public void addMember(List<Member> members , Member member) throws WorkShopException {\n try {\n members.add(member);\n fileService.writeMembers(members);\n } catch (WorkShopException e) {\n throw e;\n } catch (Exception e) {\n throw new WorkShopException(e);\n }\n }", "Builder addIsFamilyFriendly(Boolean value);", "public void updateFamilyMember(String id, String name) throws FamilyMemberNotFoundException, IOException {\n if (isFamilyMemberMapNullOrEmpty(familyMemberMap) || !familyMemberMap.containsKey(id)) {\n LOGGER.error(\"Exception Occurred\");\n throw new FamilyMemberNotFoundException(\"family member does not exist with the given id \" + id);\n }\n ObjectMapper objectMapper = new ObjectMapper();\n HashMap hashMap = objectMapper.readValue(name, HashMap.class);\n String value = (String)hashMap.get(\"name\");\n FamilyMember newFamilyMember = new FamilyMember(id, value);\n familyMemberMap.put(id, newFamilyMember); // Parse Json from name\n\n }", "public AnyDelete addFamily(String family) {\r\n delete.addFamily(toFamilyQualifierBytes(family));\r\n\r\n return this;\r\n }", "@Deprecated\n public void addFriend(Friend fr);", "public void addBoatToMember(Member m, String type, String length, String name) {\n\t\tif(m != null) {\n\t\t\tm.addBoat(type, length, name);\n\t\t\tthis.saveDatabase();\n\t\t} else {\n\t\t\tSystem.err.println(\"ERROR: No member with that id...\");\n\t\t}\n\t\tthis.saveDatabase();\n\t}", "public void addRecipient(){\n //mRATable.insert();\n }", "private void add_family_tree(String personName, String motherName, String fatherName) {\n\n Person p = getPerson(personName);\n if (!motherName.equals(\"Not known\")) {\n Person mother = getPerson(motherName);\n\n if(mother == null){\n System.out.println(\"Wrong input for mother\");\n System.exit(1);\n }\n\n p.setMother(mother);\n mother.addChildren(p);\n } else\n p.setMother(new Person(\"Not known\", \"Not known\"));\n\n if (!fatherName.equals(\"Not known\")) {\n Person father = getPerson(fatherName);\n\n if(father == null){\n System.out.println(\"Wrong input for father\");\n System.exit(1);\n }\n\n p.setFather(father);\n father.addChildren(p);\n }else\n p.setFather(new Person(\"Not known\", \"Not known\"));\n }", "@SuppressWarnings(\"serial\")\n\tpublic Member addMember(final String name,final String group,Boolean force_unique) throws Exception{\n\t\tif(force_unique)\n\t\t\tdelAllMember(name);\n\t\tGroup grp=addGroup(group);\t\t\n\t\treturn Member.findOrCreate(grp,new HashMap<String, String>(){{\n\t\t\tput(\"username\",name);\n\t\t}});\t\t\t\t\n\t}", "void addMentionedIn(Hadith newMentionedIn);", "public boolean addMember(Account cl)\n\t{\n\t\treturn members.add(cl);\n\t}", "public void addFriend(Profile p)\n {\n\n friendslist.add(p);\n }", "public void addPerson(Person p);", "public void addMember(Player player) {\n\t\tif (members.isEmpty()) {\n\t\t\tcacheParty(this); // Caches the party if it went from empty to not empty\n\t\t}\n\t\tmembers.add(player.getUniqueId());\n\t}", "@Override\n\tpublic boolean addMember(MemberDTO member) {\n\t\treturn false;\n\t}", "@Override\n\tpublic void insert(Member mem) {\n\t\t\n\t}", "@Nonnull\n ResourceMember addMember(@Nonnull final String memberID, @Nonnull final String telegrafID);", "User addMember(String companyId, String name, String memberEmail, boolean isGroupLead)\n throws InvalidRequestException;", "@Override\n\tpublic void insertMember(MemberDTO mdto) {\n\t\tmdao.insertMember(mdto);\n\t}", "@Override\n\tpublic void addPerson(User pUser) {\n\t\t\n\t}", "public GoldenContactBuilder familyName(String value) {\n familyName = value;\n return this;\n }", "@Override\n\tpublic void addMember(User user, UserProfile profileTemplate)\n\t\t\tthrows Exception {\n\n\t}", "@Override\n public void insertEntry(Entry entry) {\n members.add(entry);\n\n }", "public void addFriendShip(String firstPerson, String secondPerson) {\n Integer fromIndex = this.vertexNames.get(firstPerson);\n if (fromIndex == null) {\n fromIndex = this.indexCounter;\n this.indexCounter++;\n this.vertexNames.put(firstPerson, fromIndex);\n }\n Integer toIndex = this.vertexNames.get(secondPerson);\n if (toIndex == null) {\n toIndex = this.indexCounter;\n this.indexCounter++;\n this.vertexNames.put(secondPerson, toIndex);\n }\n super.addEdge(fromIndex, toIndex, 1.0);\n }", "@Override\r\n\tpublic void add() {\n\t\tif(alreadyAdded()) {\r\n\t\t\tJOptionPane.showMessageDialog(null, \"Member is already added\");\r\n\t\t}else {\r\n\t\t\t\r\n\t\t\t\ttry(Connection connection= db.getConnection();) {\r\n\t \t\r\n\t\t\t\t\r\n\t\t\t\tString addString=\"INSERT INTO members VALUES(?,?,?,?)\";\r\n\t\t\t\tpreparedStatement=connection.prepareStatement(addString);\r\n\t\t\t\tpreparedStatement.setString(1, super.getIdString());\r\n\t\t\t\tpreparedStatement.setString(2, super.getNameString());\r\n\t\t\t\tpreparedStatement.setString(3, super.getSurnameString());\r\n\t\t\t\tpreparedStatement.setString(4, super.getEmailString());\r\n\t\t\t\t\r\n\t\t\t\tpreparedStatement.executeUpdate();\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t} catch (SQLException e) {\r\n\t\t\t\tJOptionPane.showMessageDialog(null, \"Something went wrong\");\r\n\t\t\t\te.printStackTrace();\r\n\t\t\t}\r\n\t\t}\r\n\t\t \r\n\t\t\r\n\t}", "void addHasAddress(String newHasAddress);", "public void setFamily(Vertex family) {\n\t\tthis.family = family;\n\t}", "@Transactional(readOnly = false)\n public void addToEveryone(Member member) {\n MemberGroup memberGroup = new MemberGroup();\n memberGroup.setStatus(Constants.STATUS_ACTIVE);\n memberGroup.setDateCreated(new Date());\n memberGroup.setGroupName(Group.EVERYONE.name());//default group\n memberGroup.setMember(member);\n saveMemberGroup(memberGroup);\n }", "public static void add(MemberSession ms) {\n//\t\taddMemberSession(ms, GPortalExecutionContext.getRequest().getSessionContext().getId());\n\t\tadd(ms, GPortalExecutionContext.getRequest().getSessionContext().getId());\n\t}", "public void addActor(CastMember actor)\n\t{\n\t\tpeopleAct.add(actor);\n\t}", "public static void addGuestMemberPermission(String permission)\r\n throws CreateException, DatabaseException, ForeignKeyNotFoundException {\r\n \r\n MemberXML.addGuestMemberPermission(permission);\r\n }", "public Team addMember(Contestant contestant) {\r\n\t\tif (members.size() == MAX_MEMBERS)\r\n\t\t\tthrow new UnsupportedOperationException(\"team is full!\");\r\n\t\tmembers.add(contestant);\r\n\t\treturn this;\r\n\t}", "void create(Member member);", "@Deprecated\n public void addMember(int pos, Member m) {\n members.add(pos, m);\n }", "public void addTeamMember(String teamMember)\r\n\t{\r\n\t\tteamMembers.add(teamMember);\r\n\t}", "public synchronized void addGroupMember(String groupName, String member) {\n\t\t\tgroupList.get(groupName).addMember(member);\n\t\t}", "public static void addThief() {\r\n playerTeam.clearDead();\r\n if (playerTeam.teamSize() >= 4) {\r\n updateMessage(\"Time cheio\");\r\n return;\r\n }\r\n\r\n Thief newMember = new Thief(getPersonName(), 0);\r\n playerTeam.addMember(newMember);\r\n\r\n updateMessage(\"Adiocionado Ladrao\" + newMember.getName());\r\n }", "public void add( Bacteria child) {\n\t\tinds.add(child);\n\t\tpopSize++;\n\t}", "Builder addContributor(Person value);", "public void addMember(Account account) {\n\t\tthis.members.add(account);\n\t}", "Builder addProvider(Person value);", "@Test\r\n\tpublic void testAddFriend() {\r\n\t\tPerson p1 = new Person(0);\r\n\t\tFriend p2 = new Friend(\"Dave\");\r\n\t\tassertTrue(p1.addFriend(p2));\r\n\t\tassertFalse(p1.addFriend(p2));\r\n\t}", "void addParticipant(Participant participant);", "public void addMember(Character c) {\r\n\t\tguildArray.add(c);\r\n\t}", "Builder addAccountablePerson(String value);", "public boolean register(Person person) { \n // TODO 1\n return members.add(person);\n }", "public boolean execute(FamilyMember f){\r\n\t\tif(check(f)){\r\n\t\t\tif (this.bonus!=null) {\r\n\t\t\t\tfor (Effect effect : this.bonus){\r\n\t\t\t\t\teffect.executeEffect(f);\r\n\t\t\t\t\tSystem.out.println(\"bonus in this action space is \"+effect.toString());\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\telse{\r\n\t\t\t\tSystem.out.println(\"no bonus here to take!\");\r\n\t\t\t}\r\n\t\t\tthis.getFamiliarIn().add(f);\r\n\t\t\tf.setAlreadyPlaced(true);\r\n\t\t\tf.setFamilyMemberPosition(this);\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\telse return false;\r\n\t}", "public void createMember(Memberr member) {\n\t\tmemberrepo.save(member);\n\t}", "public boolean addMember(AccessUser obj)\n {\n if (isValid(obj))\n {\n if (obj.getUserID() != null)\n {\n uuid_to_profile.put(obj.getUserID(), obj);\n }\n username_to_profile.put(obj.username.toLowerCase(), obj);\n obj.setGroup(this);\n return true;\n }\n return false;\n }", "public Family(){\n super();\n }", "public abstract void grantMembership(String nickname);", "public void setFamilyName(String familyName)\r\n {\r\n this.familyName = familyName;\r\n }", "public void addFriendList(FriendList list);", "Builder addContributor(Person.Builder value);", "Builder addCreator(Person value);" ]
[ "0.7149371", "0.7133615", "0.6947701", "0.65930706", "0.6489049", "0.6458649", "0.6453413", "0.6445147", "0.6418835", "0.6412083", "0.63675004", "0.6366208", "0.63606113", "0.6359275", "0.63460404", "0.63302803", "0.62931293", "0.62852335", "0.6250171", "0.6201487", "0.61626285", "0.61602575", "0.6134089", "0.60562474", "0.60467076", "0.6022517", "0.60187423", "0.6006628", "0.5977784", "0.5968803", "0.596231", "0.5949108", "0.59394073", "0.592274", "0.5913191", "0.58990264", "0.587067", "0.5841542", "0.5818255", "0.5815235", "0.5812367", "0.58040607", "0.5799618", "0.5772568", "0.57709926", "0.57318324", "0.5729381", "0.5709973", "0.57033664", "0.57032645", "0.5698463", "0.5683937", "0.56794953", "0.56739104", "0.567388", "0.5673712", "0.56719726", "0.56664693", "0.5655394", "0.5632301", "0.5617814", "0.56122565", "0.5608688", "0.5607399", "0.5606809", "0.56046367", "0.56002885", "0.5600258", "0.5596094", "0.5594573", "0.5590854", "0.5571114", "0.555858", "0.55508953", "0.55481845", "0.55441", "0.5526791", "0.55262375", "0.5521665", "0.5520959", "0.5517627", "0.5506196", "0.5498424", "0.54944026", "0.54937726", "0.54910254", "0.54650265", "0.5454525", "0.5450096", "0.54396516", "0.5436251", "0.5434183", "0.54155374", "0.5414174", "0.5403663", "0.5402155", "0.54004735", "0.5391654", "0.5385135", "0.5382792" ]
0.6093951
23
update a family member
public void updateFamilyMember(String id, String name) throws FamilyMemberNotFoundException, IOException { if (isFamilyMemberMapNullOrEmpty(familyMemberMap) || !familyMemberMap.containsKey(id)) { LOGGER.error("Exception Occurred"); throw new FamilyMemberNotFoundException("family member does not exist with the given id " + id); } ObjectMapper objectMapper = new ObjectMapper(); HashMap hashMap = objectMapper.readValue(name, HashMap.class); String value = (String)hashMap.get("name"); FamilyMember newFamilyMember = new FamilyMember(id, value); familyMemberMap.put(id, newFamilyMember); // Parse Json from name }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void update(Member member);", "@Override\n\tpublic void updateMember(MemberDTO mdto) {\n\t\tmdao.updateMember(mdto);\n\t}", "@Override\r\n\tpublic void update(Member member) {\n\t\tSession session = sessionFactory.getCurrentSession();\r\n\t\tsession.update(member);\r\n\t\tsession.flush();\r\n\t}", "@Override\n\tpublic void update(Member member) {\n\t\tSession session = sessionFactory.getCurrentSession();\n\t\tsession.update(member);\n\t}", "public boolean updateMember(final MemberPo po);", "@Override\r\n\tpublic void update(WechatMember member) {\n\t\t\r\n\t}", "@Override\n\tpublic void updateSnsMember(SnsMemberVO snsMember) {\n\t\tsqlSession.update(\"com.coderdy.myapp.member.dao.mapper.MemberMapper.updateSnsMember\", snsMember);\n\t}", "public void updateMember(Memberr member) {\n\t\tmemberrepo.save(member);\n\t}", "@Override\r\n\tpublic void updateMember(Member member) throws Exception {\n\t\tmemberDao.updateMember(member);\r\n\t}", "@Override\n\tpublic void updateMember(MemberVO member) {\n\t\tsqlSession.update(\"com.coderdy.myapp.member.dao.mapper.MemberMapper.updateMember\", member);\n\t}", "@Override\n\tpublic void update(Member mem) {\n\t\t\n\t}", "@Override\r\n\tpublic int updateMember(MemberVO member) {\n\t\tMemberMapper mapper = sqlSession.getMapper(MemberMapper.class);\r\n\t\treturn mapper.updateMember(member);\r\n\t}", "@Override\r\n\tpublic int updateMember(Member member) {\n\t\treturn memberDAO.updateMember(member);\r\n\t}", "@Override\r\n\tpublic void MemberUpdate() {\n\r\n\t}", "@Override\n\tpublic void update(Member member) {\n\t\tConnection conn = null;\n\t\ttry {\n\t\t\tconn = DbcpConnectionPool.getConnection();\n\t\t\tCallableStatement cstmt = conn.prepareCall(\"{call Member_update(?,?,?,?)}\");\n\t\t\tcstmt.setString(1,member.getMemberID());\n\t\t\tcstmt.setString(2, member.getMemberCard());\n\t\t\tcstmt.setDouble(3, member.getTotalCost());\n\t\t\tcstmt.setString(4, new SimpleDateFormat(\"yyyy-MM-dd HH:mm:ss\").format(member.getRegDate()));\n\t\t\tcstmt.executeUpdate();\n\t\t\tcstmt.close();\n\t\t\tconn.close();\n\t\t} catch (SQLException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t}", "int updateByPrimaryKey(ScPartyMember record);", "int updateByPrimaryKey(OrgMemberRecord record);", "public void updateMember(List<Member> members,Member member,List<Boat> boats) throws WorkShopException {\n try {\n Member beforeChange = searchMemberByMemberId(members,member.getMemberId());\n deleteMember(members,beforeChange,boats);\n addMember(members,member);\n } catch (WorkShopException e) {\n throw e;\n } catch (Exception e) {\n throw new WorkShopException(e);\n }\n }", "int updateByPrimaryKey(Member record);", "@Override\n\tpublic boolean update(GymMembers member) throws GymMembersException {\n\t\tboolean isDone = false;\n\t\tif (member != null) {\n\t\t\ttry (Connection con = conProvider.getConnection();\n\t\t\t\t\tPreparedStatement pUpdate = con\n\t\t\t\t\t\t\t.prepareStatement(IQueryMapper.MODIFY_MEMBER_QRY)) {\n\n\t\t\t\t\n\t\t\t\tpUpdate.setString(1, member.getName());\n\t\t\t\tpUpdate.setDouble(2, member.getFees());\n\t\t\t\tpUpdate.setDate(3, Date.valueOf(member.getJoiningDate()));\n\t\t\t\tpUpdate.setString(4, member.getMId());\n\t\t\t\t\n\n\t\t\t\tint rowCount = pUpdate.executeUpdate();\n\n\t\t\t\tif (rowCount == 1) {\n\t\t\t\t\tisDone = true;\n\t\t\t\t}\n\t\t\t} catch (SQLException exp) {\n\t\t\t\t//log.error(exp);\n\t\t\t\tthrow new GymMembersException(\"Member details not updated.\");\n\t\t\t}\n\t\t}\n\t\treturn isDone;\n\t}", "@Override\r\n\tpublic void update(GroupMember groupMember) {\n\t\tcacheDataImpl.save(CacheConfig.GROUPMEMBER_USERNAME, String.valueOf(groupMember.getId()),groupMember.getUsername());\r\n\t\tcacheDataImpl.save(CacheConfig.GROUPMEMBER_GROUPID,String.valueOf(groupMember.getId()),String.valueOf(groupMember.getGroupId()));\r\n\t\tcacheDataImpl.save(CacheConfig.GROUPMEMBER_GRADE, String.valueOf(groupMember.getId()),String.valueOf(groupMember.getGrade()));\r\n\t}", "@PUT\n\t@Path(\"/{groupid}/membership\")\n\t\n\tpublic void updateMember(@PathParam(\"groupid\") final String group_id,\n\t\t\t@QueryParam(\"userid\") final String user_id,\n\t\t\t@QueryParam(\"type\") final Permissions permission\n\t\t\t) throws \n\t\t\tObjectNotFoundException, NdexException, SQLException {\n\n\t\tUUID groupId = UUID.fromString(group_id) ;\n\t\tUUID userId = UUID.fromString(user_id);\n\t\tif ( userId ==null)\n\t\t\tthrow new NdexException(\"userid is required in URL.\");\n\t\tif ( permission== null)\n\t\t\tthrow new NdexException(\"pamameter 'type' is required in URL.\");\n\t\t\n\t\ttry (GroupDAO dao = new GroupDAO()) {\n\t\t\t\n\t\t\tif ( !dao.isGroupAdmin(groupId, getLoggedInUserId()))\n\t\t\t\tthrow new NdexException(\"Only group admin can update membership.\");\n\t\t\t\n\t\t\t//check for resource name? but it can be a network. Not really important, the code uses external id's\n\t\t\tdao.updateMember(groupId, userId, permission, this.getLoggedInUser().getExternalId());\n\t\t\tdao.commit();\n\t\t} \n\t}", "@Override\r\n\tpublic void update(Person p) \r\n\t{\n\t\t\r\n\t}", "int updateByPrimaryKeySelective(MemberFav record);", "int updateByPrimaryKey(MemberFav record);", "@Override\n\tpublic boolean updateMember(MemberDTO member) {\n\t\treturn false;\n\t}", "public void update(Person p) {\n Session session = getSessionFactory().openSession();\n\n try {\n session.beginTransaction();\n Person person = session.load(Person.class, p.getId());\n person.setGivenName(p.getGivenName());\n person.setFamilyName(p.getFamilyName());\n session.getTransaction().commit();\n LOGGER.log(Level.INFO,\"Successfully updated \" + p.toString());\n }\n catch(Exception e){\n if (session.getTransaction() != null)\n session.getTransaction().rollback();\n LOGGER.log(Level.INFO, \"Upadate on \" + p.toString() + \" failed\");\n }\n finally {\n session.close();\n }\n }", "@Test\n public void testUpdatePerson() {\n final AuthenticationToken myToken = login(\"finland@iaeste.fi\", \"finland\");\n final Group memberGroup = findMemberGroup(myToken);\n final FetchGroupRequest groupRequest = new FetchGroupRequest(memberGroup.getGroupId());\n groupRequest.setUsersToFetch(FetchGroupRequest.UserFetchType.ACTIVE);\n final FetchGroupResponse groupResponse1 = administration.fetchGroup(myToken, groupRequest);\n assertThat(groupResponse1.isOk(), is(true));\n assertThat(groupResponse1.getMembers().size(), is(1));\n\n // Now, let's update the Object, and send it into the IWS\n final User myself = groupResponse1.getMembers().get(0).getUser();\n final Person person = myself.getPerson();\n final Address address = new Address();\n address.setStreet1(\"Mainstreet 1\");\n address.setPostalCode(\"12345\");\n address.setCity(\"Cooltown\");\n address.setState(\"Coolstate\");\n person.setAddress(address);\n person.setFax(\"My fax\");\n person.setBirthday(new Date(\"01-JAN-1980\"));\n person.setMobile(\"+1 1234567890\");\n person.setGender(Gender.UNKNOWN);\n person.setPhone(\"+1 0987654321\");\n person.setUnderstoodPrivacySettings(true);\n person.setAcceptNewsletters(false);\n myself.setPerson(person);\n final UserRequest updateRequest = new UserRequest();\n updateRequest.setUser(myself);\n final Response updateResult = administration.controlUserAccount(myToken, updateRequest);\n assertThat(updateResult.isOk(), is(true));\n\n // Let's find the account again, and verify that the updates were applied\n final FetchUserRequest userRequest = new FetchUserRequest();\n userRequest.setUserId(myself.getUserId());\n final FetchUserResponse userResponse = administration.fetchUser(myToken, userRequest);\n assertThat(userResponse.isOk(), is(true));\n final User myUpdate = userResponse.getUser();\n final Person updatedPerson = myUpdate.getPerson();\n assertThat(updatedPerson.getAlternateEmail(), is(person.getAlternateEmail()));\n assertThat(updatedPerson.getBirthday(), is(person.getBirthday()));\n assertThat(updatedPerson.getFax(), is(person.getFax()));\n assertThat(updatedPerson.getGender(), is(person.getGender()));\n assertThat(updatedPerson.getMobile(), is(person.getMobile()));\n assertThat(updatedPerson.getPhone(), is(person.getPhone()));\n assertThat(updatedPerson.getUnderstoodPrivacySettings(), is(person.getUnderstoodPrivacySettings()));\n assertThat(updatedPerson.getAcceptNewsletters(), is(person.getAcceptNewsletters()));\n\n final Address updatedAddress = updatedPerson.getAddress();\n assertThat(updatedAddress.getStreet1(), is(address.getStreet1()));\n assertThat(updatedAddress.getStreet2(), is(address.getStreet2()));\n assertThat(updatedAddress.getPostalCode(), is(address.getPostalCode()));\n assertThat(updatedAddress.getCity(), is(address.getCity()));\n assertThat(updatedAddress.getState(), is(address.getState()));\n\n // Wrapup... logout\n logout(myToken);\n }", "@Override\n public void updateExtensionUsingName(String surname, String newNumber) {\n for (int i=0; i<members.size(); i++) {\n if (members.get(i).getSurname().equals(surname)) {\n members.get(i).setExtension(newNumber);\n }\n }\n\n }", "int updateByPrimaryKeySelective(OrgMemberRecord record);", "public Mono<Family> update(String id, Family family) {\n return familyRepository.findById(id).flatMap(previousFamily -> {\n previousFamily.setFamilyName(family.getFamilyName());\n previousFamily.setHeadOfFamilyParentId(family.getHeadOfFamilyParentId());\n return familyRepository.save(previousFamily);\n }).switchIfEmpty(Mono.error(new NotFoundException(\"Not found family by id \" + id)));\n }", "@Override\r\n\tpublic void update(FollowUp followup) {\n\t\t\r\n\t}", "public int updateMember(Member m) {\n\t\tConnection conn = null;//추가\n\t\tint resultrow=0;\n\t\tPreparedStatement pstmt = null;\n\t\ttry {\n\t\t\tconn= ConnectionHelper.getConnection(\"oracle\");//추가\n\t\t\tString sql = \"update koreamember set name=? , age=? , email=? , gender=? where id=?\";\n\t\t\tpstmt = conn.prepareStatement(sql);\n\t\t\tpstmt.setString(1, m.getName());\n\t\t\tpstmt.setInt(2, m.getAge());\n\t\t\tpstmt.setString(3, m.getEmail());\n\t\t\tpstmt.setString(4, m.getGender());\n\t\t\tpstmt.setString(5, m.getId());\n\t\t\tresultrow = pstmt.executeUpdate();\n\t\t\t\t\n\t\t}catch(Exception e) {\n\t\t\tSystem.out.println(\"update : \" + e.getMessage());\n\t\t}finally {\n\t\t\tConnectionHelper.close(pstmt);\n\t\t\tConnectionHelper.close(conn);\n\t\t\ttry {\n\t\t\t\tconn.close(); //반환하기\n\t\t\t} catch (SQLException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t\treturn resultrow;\n\t}", "private void updateFriend(DatabaseReference friendsReference) {\n String name = \"John Jones\";\n int number = 654321;\n String key = \"2\";\n friendsReference.child(key).child(\"friendName\").setValue(name);\n friendsReference.child(key).child(\"telephoneNumber\").setValue(number);\n }", "@Override\r\n\tpublic void update(Person person) {\n\r\n\t}", "@Override\r\n\tpublic Member updateMember(Member member, String principalId)\r\n\t\t\tthrows NotFoundException, ExistException, MissingParameter,\r\n\t\t\tInvalidParameter {\n\t\treturn null;\r\n\t}", "int updateByPrimaryKey(UcMembers record);", "public void update() throws ValidationException, SQLException {\n validate(false);\n boolean success = false;\n Connection conn = null;\n Statement stmt = null;\n StringBuffer sqlUpdate = new StringBuffer(\"UPDATE Member set MemberName='\");\n sqlUpdate.append(SqlHelper.escapeForSql(memberName));\n sqlUpdate.append(\"', EmailAddressVisibleToOthers=\");\n sqlUpdate.append((emailAddressVisibleToOthers ? 1 : 0));\n sqlUpdate.append(\" where LoginName = '\");\n sqlUpdate.append(SqlHelper.escapeForSql(loginName));\n sqlUpdate.append(\"'\");\n if (log.isInfoEnabled()) log.info(sqlUpdate.toString());\n try {\n conn = PoolManager.getConnection();\n conn.setAutoCommit(false);\n stmt = conn.createStatement();\n stmt.execute(sqlUpdate.toString());\n EmailAddress.update(this, emailAddressList, conn);\n conn.commit();\n } catch (SQLException se) {\n try {\n conn.rollback();\n } catch (SQLException ser) {\n }\n if (log.isErrorEnabled()) log.error(\"Sql Error on Update Member\", se);\n throw se;\n } finally {\n try {\n if (stmt != null) {\n stmt.close();\n stmt = null;\n }\n } catch (SQLException se) {\n }\n try {\n if (conn != null) {\n conn.setAutoCommit(true);\n PoolManager.freeConnection(conn);\n conn = null;\n }\n } catch (SQLException se) {\n }\n }\n }", "public void updateData(MemberBean b) {\n\t\tem.merge(b);\n\t}", "void update(String userName, String password, String userFullname,\r\n\t\tString userSex, int userTel, String role);", "public void updateUser(Person user) {\n\t\t\n\t}", "@Override\n\tpublic void update(ERS_USERS entity) {\n\t\t\n\t}", "@Override\r\n\tpublic void updateBusiMemberInfo(BusiMemberInfo busiMemberInfo) {\n\t\tbusiMemberInfoDao.saveOrUpdate(busiMemberInfo);\r\n\t}", "public void updateGroup(GroupUser group) {\n try{\n PreparedStatement s = sql.prepareStatement(\"UPDATE Groups SET members=? WHERE groupName=?\");\n\n s.setString(2, group.getId());\n\n System.out.println(group.getMembers().toString());\n s.setString(1, group.getMembers().toString());\n s.execute();\n\n s.close();\n } catch (SQLException e) {\n sqlException(e);\n }\n }", "int updateByPrimaryKey(MemberTag record);", "@Override\r\n\tpublic void update(PartyType entity) {\n\t\t\r\n\t}", "@Override\n\tpublic String updateSelective(Familynames record, Model m, BindingResult b, String id, Integer delFlag)\n\t\t\tthrows Exception {\n\t\treturn null;\n\t}", "E update(E entiry);", "public void updatePerson() {\n\t\tSystem.out.println(\"update person\");\n\t}", "@Override\n @Transactional\n public void update(Surname changedSurname) {\n \n }", "public void editBoatOfMember(Member m, int boatNr, String type, String length, String name) {\n\t\tif(m != null) {\n\t\t\tm.editBoat(boatNr, type, length, name);\n\t\t\tthis.saveDatabase();\n\t\t} else {\n\t\t\tSystem.err.println(\"ERROR: No member with that id...\");\n\t\t}\n\t\tthis.saveDatabase();\n\t}", "@Override\n\tpublic void change(MemberBean member) {\n\n\t}", "@Override\n\tpublic String updateByPrimaryKey(Familynames record, Model m, BindingResult b) throws Exception {\n\t\treturn null;\n\t}", "int updateByPrimaryKeySelective(UcMembers record);", "public void editMember(Member oldMember, Member changedMember) {\n\t\ttry {\n\t\t\toldMember = getMemberById(oldMember.getId()); // TODO This line might be unnecessary.\n\t\t\t\n\t\t\toldMember.setName(changedMember.getName());\n\t\t\tboolean isRegistered = false;\n\t\t\tfor (Iterator<Member> it = db.iterator(); it.hasNext(); ) {\n\t\t\t\tMember m = it.next();\n\t\t\t\tif (m.getPersonalNumber().contentEquals(changedMember.getPersonalNumber())) {\n\t\t\t\t\tisRegistered = true;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tif(!isRegistered) {\n\t\t\t\toldMember.setPersonalNumber(changedMember.getPersonalNumber());\n\t\t\t\tthis.saveDatabase();\n\t\t\t} else {\n\t\t\t\tSystem.err.println(\"ERROR: ID: \" + changedMember.getPersonalNumber() + \" is already an registered user\");\n\t\t\t}\n\t\t\t\n\t\t} catch (NullPointerException e) {\n\t\t\tSystem.err.println(\"ERROR: Couldn't find a member with that ID\");\n\t\t}\n\t}", "public void update(User obj) {\n\t\t\n\t}", "@Override\n\tpublic void Update(PersonelContract entity) {\n\n\t}", "public void update() throws NotFoundException {\n\tUserDA.update(this);\n }", "@Override\r\n\tpublic void update(List<GroupMember> list) {\n\t\tif(list == null) return;\r\n\t\tfor(int i=0;i<list.size();i++)\r\n\t\t\tupdate(list.get(i));\r\n\t}", "public void update(User user);", "public void setFamily(String family) {\n this.family = family;\n }", "int updateNameNmNameLast(String nmNameLast, int idName, int idPerson);", "public int update(MemberInfoDTO dto) {\n\t\treturn sqlSessionTemplate.update(\"memberInfo.update\", dto);\r\n\t}", "public void update(User u) {\n\r\n\t}", "@Override\n\tpublic void updatePass(MemberBean param) {\n\t\t\n\t}", "@Override\n public void update(String name, String surname) {\n this.name = name;\n this.surname = surname;\n }", "int updateByPrimaryKey(ImMyFriend record);", "void update(User user);", "void update(User user);", "public void setFamily(Vertex family) {\n\t\tthis.family = family;\n\t}", "int updateByPrimaryKeySelective(ImMyFriend record);", "public abstract void grantMembership(String nickname);", "public int updateMember(MallMember mallmember) {\n\t\tint result = 0;\n\t\tlogger.info(\"회원정보 수정 DAO 시작\");\n\t\tMemberMapper mapper = sqlsession.getMapper(MemberMapper.class);\n\t\ttry{\n\t\t\tresult = mapper.updateMember(mallmember);\n\t\t\t\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t}\n\t\tlogger.info(\"회원정보 수정 DAO 종료\");\n\t\treturn result;\n\t}", "void addMember(final PartyMember member);", "public boolean updateSickPerson(SickPerson sickPerson) throws SQLException;", "@Override\r\n\tpublic void update(String idNumber) {\n\t\tString addString=\"UPDATE members set id=?, name=?, surname=?,email=? WHERE id=? \";\r\n\t\ttry(Connection connection=db.getConnection();) {\r\n\t\t\t\r\n\t\t\tpreparedStatement=connection.prepareStatement(addString);\r\n\t\t\tpreparedStatement.setString(1, super.getIdString());\r\n\t\t\tpreparedStatement.setString(2, super.getNameString());\r\n\t\t\tpreparedStatement.setString(3, super.getSurnameString());\r\n\t\t\tpreparedStatement.setString(4, super.getEmailString());\r\n\t\t\tpreparedStatement.setString(5, idNumber);\r\n\t\t\tpreparedStatement.executeUpdate();\r\n\t\t\tJOptionPane.showMessageDialog(null, \"Transaction successful\");\r\n\t\t\t\r\n\t\t} catch (Exception e) {\r\n\t\t\te.printStackTrace();\r\n\t\t\tJOptionPane.showMessageDialog(null, \"Something went wrong\");\r\n\t\t}\r\n\t\t\r\n\t}", "@Override\n\tpublic void updateMileage(MemberVO mvo) {\n\t\tsql.update(\"updateMileage\", mvo);\n\t}", "@Override\n public com.ext.portlet.model.StaffMember updateStaffMember(\n com.ext.portlet.model.StaffMember staffMember)\n throws com.liferay.portal.kernel.exception.SystemException {\n return _staffMemberLocalService.updateStaffMember(staffMember);\n }", "public boolean updatePartyMember(XsglTabParty partyMember) {\n\t\treturn xsglTabPartyDAO.updatePartyMember(partyMember);\n\t}", "@Override\n\tpublic void update(Unidade obj) {\n\n\t}", "public User update(User updatedInfo);", "int updateByExample(@Param(\"record\") UcMembers record, @Param(\"example\") UcMembersExample example);", "@Override\r\n\tpublic int update(SpUser t) {\n\t\treturn 0;\r\n\t}", "int updateByPrimaryKey(UserGroup record);", "public int updateMemberById(Map<String, Object> param) {\n\t\treturn getBaseDao().updateMemberById(param);\n\t}", "public void setMemberID(String memberID){ this.memberID=memberID; }", "public void update(int index, RichMember object, RichMember value) {\n session.getTabManager().addTab(new MemberDetailTabItem(object.getId(), 0));\n }", "public void update(int index, RichMember object, RichMember value) {\n session.getTabManager().addTab(new MemberDetailTabItem(object.getId(), 0));\n }", "public Address update(Address entity);", "void updateInvitationForSendingUser(Invitation invitation);", "private static Consumer<InternalGroupUpdate.Builder> setCurrentMembership(GroupBundle bundle) {\n return b ->\n b.setMemberModification(\n in ->\n bundle.members().stream().map(m -> m.getAccountId()).collect(toImmutableSet()))\n .setSubgroupModification(\n in ->\n bundle.byId().stream().map(m -> m.getIncludeUUID()).collect(toImmutableSet()));\n }", "@Override\n\tpublic boolean updateProfile(String name, String address, String dob, String gender, String phone, String email,\n\t\t\t String status, int id) {\n\t\treturn false;\n\t}", "@Override\n\tpublic String updateBatch(List<Familynames> record, Model m, BindingResult b) throws Exception {\n\t\treturn null;\n\t}", "private void addMember(String firstName, String lastName, String emailId) {\n Log.e(\"AddMember\", \"Fn \" + firstName + \", Ln \" + lastName + \"eid \" + emailId);\n\n\n// myRef.setValue(\"Hello, World!\");\n String key = myRef.push().getKey();\n Log.e(\"AddMember\", \"key \" + key);\n\n CoreMember member = new CoreMember(firstName, lastName, emailId);\n myRef.child(key).setValue(member, new DatabaseReference.CompletionListener() {\n @Override\n public void onComplete(DatabaseError databaseError, DatabaseReference databaseReference) {\n if (databaseError != null) {\n System.out.println(\"Data could not be saved \" + databaseError.getMessage());\n } else {\n System.out.println(\"Data saved successfully.\" + databaseReference.toString());\n memberKey = databaseReference.getKey();\n hideInputForm(true);\n\n }\n }\n });\n }", "@Override\n\tpublic void updateUser(user theUser) {\n\t}", "public static void upsertPerson(NodePerson p) {\n ArangoDatabase db = client.db(dbName);\n db.query(p.upsertAql(vertexColls[1]), null);\n }", "@Override\r\n\tpublic void save(Member member) {\n\t\tSession session = sessionFactory.getCurrentSession();\r\n\t\tsession.save(member);\r\n\t\tsession.flush();\r\n\t}", "public void update() throws Exception {\n\t HaUserDao.getInstance().updateUser(this);\n\t}", "@Override\n\tpublic void updateProfile(patient pupdate) {\n\t\t// TODO Auto-generated method stub\n\t\tString query = \" UPDATE pmohan_patient_details SET firstname = ? , lastname = ? , gender = ? , dob = ?, age =? WHERE pid = ?;\";\n\t\ttry(PreparedStatement statement = connection.prepareStatement(query))\n\t\t{ \n\t\t\t statement.setString(1, pupdate.getFirstname());\n\t\t\t statement.setString(2, pupdate.getLastname());\n\t\t\t statement.setString(3, pupdate.getGender());\n\t\t\t statement.setString(4, pupdate.getDob());\n\t\t\t statement.setInt(5, pupdate.getAge());\n\t\t\t statement.setInt(6, pupdate.getPid());\n\t\t\tstatement.executeUpdate();\n\t\t\t System.out.println(\"update done\");\n\t\t}\n\t\tcatch(Exception e){\n\t\t\tSystem.out.println(\"update problem \" + e);\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}", "public void updateStaff(String name, String dob, String email, String number, String address, String password) throws SQLException {\n st.executeUpdate(\"UPDATE IOTBAY.STAFF SET \"\n + \"NAME ='\" + name \n + \"DATEOFBIRTH ='\" + dob \n + \"PHONENUMBER ='\" + number \n + \"ADDRESS ='\" + address \n + \"PASSWORD ='\" + password \n + \"' WHERE EMAIL='\" + email + \"'\" );\n\n }" ]
[ "0.7097073", "0.6846593", "0.68315744", "0.67719775", "0.67548555", "0.6609054", "0.6483375", "0.64538455", "0.6452561", "0.64387155", "0.6429631", "0.6363114", "0.63247395", "0.6149428", "0.61241823", "0.61240107", "0.6123984", "0.6118609", "0.61095625", "0.61079", "0.61078113", "0.61015296", "0.6101069", "0.6081407", "0.6071352", "0.6070636", "0.6050342", "0.5941121", "0.59340364", "0.58952236", "0.5892954", "0.5855319", "0.5845234", "0.58278245", "0.5812824", "0.57852465", "0.57838184", "0.57677746", "0.5744998", "0.5739344", "0.57304025", "0.5729069", "0.5728394", "0.5716371", "0.57077664", "0.5683451", "0.56463104", "0.5635908", "0.5629147", "0.56251836", "0.5622453", "0.56020623", "0.55992013", "0.55973434", "0.5595644", "0.5586448", "0.55774313", "0.55686814", "0.5566206", "0.5564277", "0.55499804", "0.5543883", "0.55232114", "0.5518454", "0.5516752", "0.55031496", "0.55009687", "0.54982543", "0.54982543", "0.5493595", "0.54890525", "0.54822433", "0.5477728", "0.54739344", "0.54653597", "0.5455449", "0.5454772", "0.54458857", "0.54450077", "0.544021", "0.54398966", "0.5429725", "0.54265296", "0.5423923", "0.54193443", "0.5417155", "0.5411578", "0.5411578", "0.54086787", "0.540778", "0.540607", "0.5404774", "0.540436", "0.5401597", "0.5399312", "0.5396052", "0.5386554", "0.5381121", "0.5369931", "0.5359519" ]
0.6924052
1
delete a family member
public void removeFamilyMember(String id) throws FamilyMemberNotFoundException { if (isFamilyMemberMapNullOrEmpty(familyMemberMap) || !familyMemberMap.containsKey(id)) { LOGGER.error("Exception Occurred"); throw new FamilyMemberNotFoundException("family member does not exist with the given id " + id); } familyMemberMap.remove(id); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void delete(Member member);", "public void deleteMember(IMember member);", "@Override\n\tpublic void delete(long memberId) {\n\t\t\n\t}", "@Override\r\n\tpublic void MemberDelete() {\n\r\n\t}", "@Override\n\tpublic void deleteMember(MemberDTO mdto) {\n\t\tmdao.deleteMember(mdto);\n\t}", "void deleteMember(@Nonnull final User member, @Nonnull final Telegraf telegraf);", "@Override\n\tpublic void deleteMember(MemberBean param) {\n\t\t\n\t}", "@Override\n\tpublic void delete(Member member) {\n\t\tConnection conn = null;\n\t\ttry {\n\t\t\tconn = DbcpConnectionPool.getConnection();\n\t\t\tCallableStatement cstmt = conn.prepareCall(\"{call Member_delete(?)}\");\n\t\t\tcstmt.setString(1, member.getMemberID());\n\t\t\tcstmt.executeUpdate();\n\t\t\tcstmt.close();\n\t\t\tconn.close();\n\t\t} catch (SQLException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "void removeMember(final PartyMember member);", "UserGroup removeMember(String companyId, String name, String memberEmail);", "void deleteMember(@Nonnull final String memberID, @Nonnull final String telegrafID);", "public boolean deleteMember(final String id);", "@SuppressWarnings(\"serial\")\n\tpublic void delMember(final String name,String group) throws Exception{\n\t\tGroup grp=addGroup(group);\n\t\tgrp.deleteChildren(Member.TAG, new HashMap<String, String>(){{\n\t\t\tput(\"username\",name);\n\t\t}});\n\t}", "@Override\r\n\tpublic void delete(FollowUp followup) {\n\t\t\r\n\t}", "public void deletemember(int id) {\n\t\tmemberrepo.deleteById(id);\n\t}", "public static void deleteMember (Long memberid) {\n Trainer trainer = Accounts.getLoggedInTrainer();\n Member member = Member.findById(memberid);\n\n Logger.info(\"Removing member \" + member.name);\n\n trainer.memberList.remove(member);\n trainer.save();\n member.delete();\n redirect(\"/trainer\");\n }", "@Override\n protected void removeMember() {\n }", "UserGroup removeMember(String companyId, String name, String memberEmail, boolean isGroupLead);", "@Override\n\tpublic void deleteGerant(Gerant g) {\n\t\t\n\t}", "int deleteByExample(OrgMemberRecordExample example);", "@Override\r\n\tpublic void delete(Person p) \r\n\t{\n\t\t\r\n\t}", "public boolean deleteMember(Account cl)\n\t{\n\t\treturn members.remove(cl);\n\t}", "private AsyncFuture<Void> deleteMembersNode(final String memberId) {\n return bind(op -> op.delete()::inBackground,\n op -> op.forPath(MEMBERS + \"/\" + memberId)).directTransform(event -> null);\n }", "@Override\r\n\tpublic void delete(int id) {\n\t\tSession session = sessionFactory.getCurrentSession();\r\n\t\tMember member = new Member();\r\n\t\tmember.setId(id);\r\n\t\tmember.setNamaMember(\"lulu\");\r\n\t\tsession.delete(member);\r\n\t\tsession.flush();\r\n\t}", "public void deleteFriend(String friend){\n friends.remove(friend);\n }", "@Override\r\n\tpublic boolean delete(MemberDto mem) {\n\t\treturn delete(mem.getEmail(),mem.getPw());\r\n\t}", "@Override\n\tpublic int deleteMembers(String idx) throws Exception {\n\t\treturn 0;\n\t}", "public DeleteMember() {\n\t\tsuper(\"delete_member\", de.piratenpartei.berlin.ldadmin.dbaccess.generated.DefaultSchema.DEFAULT_SCHEMA);\n\t\taddInParameter(MEMBER_ID_P);\n\t}", "int deleteByExample(UcMembersExample example);", "public void delete(String id) {\n log.debug(\"Request to delete GroupMember : {}\", id);\n groupMemberRepository.deleteById(id);\n }", "@Override\r\n public void removeMember(MemberBase member) {\n throw new UnsupportedOperationException(\"Not supported yet.\"); //To change body of generated methods, choose Tools | Templates.\r\n }", "protected void takeFamilyMember(FamilyMember famMember) {\n this.famMemberList.remove(famMember);\n }", "@Override\r\n\tpublic void delete() {\n\t\tString delete=\"DELETE FROM members WHERE id =?\";\r\n\t\t try(Connection connection=db.getConnection();) {\r\n\t\t\t\t\r\n\t\t\t\tpreparedStatement=connection.prepareStatement(delete);\r\n\t\t\t\tpreparedStatement.setString(1, super.getIdString());\r\n\t\t \tpreparedStatement.executeUpdate();\r\n\t\t\t\tJOptionPane.showMessageDialog(null, \"Transaction successful\");\r\n\t\t\t\t\r\n\t\t\t} catch (Exception e) {\r\n\t\t\t\te.printStackTrace();\r\n\t\t\t\tJOptionPane.showMessageDialog(null, \"Something went wrong\");\r\n\t\t\t}\r\n\t}", "public void deleteAllMember()\n\t{\n\t\tmembers.clear();\n\t}", "public void deleteMember(List<Member> members,Member member,List<Boat> boats) throws WorkShopException {\n try {\n members.remove(member);\n Iterator<Boat> boatIterator = member.getBoats();\n while ( boatIterator.hasNext()) {\n Boat boat = boatIterator.next();\n boats.remove(boat);\n }\n fileService.writeBoats(boats);\n fileService.writeMembers(members);\n } catch (WorkShopException e) {\n throw e;\n } catch (Exception e) {\n throw new WorkShopException(e);\n }\n }", "@Override\n\tpublic void deletePerson(Person p) {\n\n\t}", "@Override\r\n\tpublic void delete(Person person) {\n\r\n\t}", "void memberRemoved(final String id);", "public void removeMember(CrewMember member) {\r\n\t\tcrewMembers.remove(member);\r\n\t}", "void removeMember(Item item) throws AccessManagementException;", "public int DeleteOneMember(Member member) {\n\t\treturn memberDAO.DeleteOneMember(member);\r\n\t}", "@Override\n\tpublic void remove(MemberBean member) {\n\n\t}", "@Override\r\n\tpublic void deleteByMember(int memberId) {\n\t\tString sql = \"DELETE FROM executetask WHERE et_member_id = ?\";\r\n\t\tupdate(sql,memberId);\r\n\t}", "@Test\n public void testDeleteMember() throws Exception {\n }", "@Override\n\tpublic void delete(int id) {\n\t\tSession session = sessionFactory.getCurrentSession();\n\t\tMember member = new Member();\n\t\tmember.setId(id);\n\t\tsession.delete(member);\n\t}", "@Override\n\tpublic String deleteByPrimaryKey(Familynames record, Model m) throws Exception {\n\t\treturn null;\n\t}", "@Override\r\n\tpublic void boardDeleteWithMember(int memberNo) {\n\t\tsqlSession.delete(namespace +\"boardDeleteWithMember\", memberNo);\r\n\t}", "public void deleteGroup(Group group);", "@Override\r\n\tpublic void hitsDeleteWithMember(int memberNo) {\n\t\tsqlSession.delete(namespace +\"hitsDeleteWithMember\", memberNo);\r\n\t}", "@Override\n\tpublic void delete(CelPhone celphone) {\n\t\t\n\t}", "@Override\n\tpublic String deleteByPrimaryKey(Familybranch record, Model m) throws Exception {\n\t\treturn null;\n\t}", "public void deleteMember(String s) {\r\n\t\tif(Member.isValidNumber(s)) {\r\n\t\t\tfor(int i=0;i<ms.size();i++) {\r\n\t\t\t\tif(ms.get(i).getNumber().equals(s)) {ms.remove(i);}\r\n\t\t\t}\r\n\t\t}\r\n\t\tif(Member.isValidName(s)) {\r\n\t\t\tfor(int i=0;i<ms.size();i++) {\r\n\t\t\t\tif(ms.get(i).getName().equals(s)) {ms.remove(i);i=i-1;}\r\n\t\t\t}\r\n\t\t}\r\n\t}", "public void deleteData(Integer id) {\n\t\tMemberBean delBean = new MemberBean(id);\n//\t\tsession.delete(delBean);\n\t\tem.remove(delBean);\n\t}", "@Override\n\tpublic void removeMember(User user) throws Exception {\n\n\t}", "public void removePerson(Person p);", "@Override\n\tpublic void delete(FxzfLane entity) {\n\t\t\n\t}", "@Test\r\n\tpublic void testDeleteFriend() {\r\n\t\tPerson p1 = new Person(0);\r\n\t\tFriend p2 = new Friend(\"Dave\");\r\n\t\tassertTrue(p1.addFriend(p2));\r\n\t\tassertTrue(p1.deleteFriend(p2));\r\n\t\tassertFalse(p1.deleteFriend(p2));\r\n\t}", "public abstract void delete(VisitorProfile profile);", "@Override\n\t\tpublic void delete() {\n\n\t\t}", "@Override\n public void deleteFaction(@NotNull Faction faction) throws IllegalStateException {\n ((MassiveCoreFactionsFaction) faction).getFaction().detach();\n }", "private void delete() {\n\n\t}", "public void delete() {\n\n\t}", "void deletePersonById( final Long id );", "public void deletePerson() {\n\t\t\n\n\t\tString code = selectedPerson.getCode();\n\t\tString nameKey = selectedPerson.getName()+code;\n\t\tString lastnameKey = selectedPerson.getLastName()+code;\n\t\tString fullNameKey = nameKey+lastnameKey+code;\n\t\ttreeName.removeE(nameKey);\n\t\ttreeLastname.removeE(lastnameKey);\n\t\ttreeFullName.removeE(fullNameKey);\n\t\ttreeCode.removeE(code);\n\n\t\t\n\t}", "int deleteByExample(CxBasStaffExample example);", "@Override\n public void removeMember(DavResource member) throws DavException {\n Session session = getRepositorySession();\n try {\n String itemPath = member.getLocator().getRepositoryPath();\n if (!exists() || !session.itemExists(itemPath)) {\n throw new DavException(DavServletResponse.SC_NOT_FOUND);\n }\n if (!getResourcePath().equals(Text.getRelativeParent(member.getResourcePath(), 1))) {\n throw new DavException(DavServletResponse.SC_CONFLICT, member.getResourcePath() + \"is not member of this resource (\" + getResourcePath() + \")\");\n }\n getRepositorySession().getItem(itemPath).remove();\n complete();\n } catch (RepositoryException e) {\n log.error(\"Unexpected error: \" + e.getMessage());\n throw new JcrDavException(e);\n }\n }", "@Override\n\tpublic void delete(Phone phone) {\n\t\t\n\t}", "@Override\n\tpublic void delete(Phone phone) {\n\t\t\n\t}", "public abstract void revokeMembership(String nickname);", "@Override\n\tpublic void delete(Pessoa arg0) {\n\t\t\n\t}", "void deletePatient(Patient target);", "@Override\n\tpublic void delete(Facture y) {\n\t\t\n\t}", "int deleteByExample(ImMyFriendExample example);", "@Override\n\tpublic void del() {\n\t\ttarget.del();\n\t}", "@Override\n\tpublic void delete(Unidade obj) {\n\n\t}", "public void delete(Address entity);", "public void delete();", "public void delete();", "public void delete();", "public void delete();", "public void delete();", "public void delete();", "@Override\n public void deleteEntryUsingName(String surname) {\n for (int i=0; i<members.size(); i++) {\n if (members.get(i).getSurname().equals(surname)) {\n members.remove(i);\n break;\n }\n }\n\n\n }", "public void deleteUlIdPerson()\r\n {\r\n this._has_ulIdPerson= false;\r\n }", "@Override\n\tpublic boolean removeMember(String name, String phone) {\n\t\treturn false;\n\t}", "@Override\r\n\tpublic void delete(PartyType entity) {\n\t\t\r\n\t}", "@Override\n\tpublic void delete(String arg0) {\n\t\t\n\t}", "void deletePerson(ReadOnlyPerson target) throws UniquePersonList.PersonNotFoundException;", "private void removeOldMember(InternalDistributedMember id) {\n super.markDepartedMember(id);\n }", "@Override\r\n\tpublic void remove(GroupMember groupMember) {\n\t\tcacheDataImpl.del(CacheConfig.GROUPMEMBER_USERNAME, String.valueOf(groupMember.getId()));\r\n\t\tcacheDataImpl.del(CacheConfig.GROUPMEMBER_GROUPID, String.valueOf(groupMember.getId()));\r\n\t\tcacheDataImpl.del(CacheConfig.GROUPMEMBER_GRADE, String.valueOf(groupMember.getId()));\r\n\t}", "public void removeMember(Annotation member);", "@Override\r\n\tpublic void delContact(Contact contact) {\n\t\tsuper.delete(contact);\r\n\t}", "public int delete(String id) {\n\t\treturn sqlSessionTemplate.delete(\"memberInfo.delete\", id);\r\n\t}", "@Override\r\n\tpublic void deleBusiMemberInfo(Long id) {\n\t\tbusiMemberInfoDao.deleteByKey(id);\r\n\t}", "@Override\n\tpublic void delete() {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t}", "public void deleteAllMember() {\n super.open();\n\n // 2. delete\n db.execSQL(\"delete from \"+ TABLE_MEMBER);\n\n // 3. close\n db.close();\n\n Log.d(\"deleteAllNotice\", \"success\");\n }", "@Override\n\tpublic void delete() {\n\n\t}", "@Override\n\tpublic void delete() {\n\t\t\n\t}", "@Override\n\tpublic void delete() {\n\t\t\n\t}", "public void deleteCrime(UUID id) {\n\n }" ]
[ "0.755824", "0.73243433", "0.73020625", "0.72937715", "0.7125629", "0.70801985", "0.7066264", "0.7060227", "0.6985816", "0.689929", "0.6842512", "0.6836802", "0.67416614", "0.6741311", "0.66359705", "0.6598239", "0.65713304", "0.6568458", "0.65518546", "0.6433448", "0.6426451", "0.6413492", "0.6398284", "0.63942206", "0.6376354", "0.63574487", "0.635256", "0.63473254", "0.6339057", "0.632397", "0.63215077", "0.6299887", "0.62980753", "0.62980574", "0.6295674", "0.6293774", "0.6286727", "0.62768215", "0.62735504", "0.6272839", "0.6266104", "0.6238385", "0.62236667", "0.62181056", "0.62153673", "0.6202603", "0.6194008", "0.6191328", "0.6161964", "0.61437476", "0.61362725", "0.61183465", "0.6116382", "0.61043936", "0.6097428", "0.6093546", "0.60928017", "0.6074236", "0.60583556", "0.60477424", "0.604531", "0.6041137", "0.60207766", "0.59961057", "0.59883916", "0.5988074", "0.59859973", "0.59859973", "0.59770286", "0.5975435", "0.5971946", "0.5965864", "0.5960159", "0.59575045", "0.5954857", "0.5948188", "0.59459585", "0.59459585", "0.59459585", "0.59459585", "0.59459585", "0.59459585", "0.5942479", "0.5936599", "0.5934477", "0.59284073", "0.59206957", "0.5919388", "0.5912373", "0.5906875", "0.5900194", "0.58989674", "0.58949244", "0.58944386", "0.58917856", "0.58892685", "0.58738935", "0.58718634", "0.58718634", "0.587117" ]
0.63575065
25
/ access modifiers changed from: private
public MmTelFeature.MmTelCapabilities convertCapabilities(int[] enabledFeatures) { boolean[] featuresEnabled = new boolean[enabledFeatures.length]; int i = 0; while (i <= 5 && i < enabledFeatures.length) { if (enabledFeatures[i] == i) { featuresEnabled[i] = true; } else if (enabledFeatures[i] == -1) { featuresEnabled[i] = false; } i++; } MmTelFeature.MmTelCapabilities capabilities = new MmTelFeature.MmTelCapabilities(); if (featuresEnabled[0] || featuresEnabled[2]) { capabilities.addCapabilities(1); } if (featuresEnabled[1] || featuresEnabled[3]) { capabilities.addCapabilities(2); } if (featuresEnabled[4] || featuresEnabled[5]) { capabilities.addCapabilities(4); } Log.i(TAG, "convertCapabilities - capabilities: " + capabilities); return capabilities; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private stendhal() {\n\t}", "@Override\n protected void prot() {\n }", "private Rekenhulp()\n\t{\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void anular() {\n\n\t}", "public void smell() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "public final void mo51373a() {\n }", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "private TMCourse() {\n\t}", "private void m50366E() {\n }", "private PropertyAccess() {\n\t\tsuper();\n\t}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "public void method_4270() {}", "public abstract Object mo26777y();", "@Override\n protected void init() {\n }", "@Override\n\tprotected void interr() {\n\t}", "private MApi() {}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "public void mo38117a() {\n }", "private void someUtilityMethod() {\n }", "private void someUtilityMethod() {\n }", "private Infer() {\n\n }", "protected abstract Set method_1559();", "@Override\n void init() {\n }", "@Override\n public void init() {\n\n }", "private void kk12() {\n\n\t}", "public abstract void mo70713b();", "@Override\n public void init() {\n }", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "@Override\r\n\tprotected void func03() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@SuppressWarnings(\"unused\")\n private void _read() {\n }", "private Singletion3() {}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "@Override\n\tprotected void getExras() {\n\n\t}", "private ChainingMethods() {\n // private constructor\n\n }", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "private abstract void privateabstract();", "protected boolean func_70814_o() { return true; }", "private Get() {}", "private Get() {}", "public void m23075a() {\n }", "private Util() { }", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\n protected void getExras() {\n }", "@Override\n\tpublic void einkaufen() {\n\t}", "public void mo21779D() {\n }", "private test5() {\r\n\t\r\n\t}", "public void mo21825b() {\n }", "@Override\n public void memoria() {\n \n }", "private MigrationInstantiationUtil() {\n\t\tthrow new IllegalAccessError();\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "protected Doodler() {\n\t}", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "private FlyWithWings(){\n\t\t\n\t}", "private MetallicityUtils() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\r\n\t\t\tpublic void test() {\n\t\t\t}", "@Override\r\n\tpublic void init() {}", "@Override\n public void init() {}", "@Override\n public boolean isPrivate() {\n return true;\n }", "@Override\n protected void initialize() {\n }", "@Override\n protected void initialize() {\n }", "@Override\n protected void initialize() {\n }", "@Override\n protected void initialize() {\n }", "@Override\n protected void initialize() {\n }", "@Override\n protected void initialize() {\n }", "public abstract void mo56925d();", "public abstract void mo27386d();", "@Override\r\n\t\t\tpublic void buscar() {\n\r\n\t\t\t}", "private RepositorioAtendimentoPublicoHBM() {\r\t}", "public void mo21877s() {\n }", "private Utils() {}", "private Utils() {}", "private Utils() {}", "private Utils() {}", "@DSComment(\"Private Method\")\n @DSBan(DSCat.PRIVATE_METHOD)\n @DSGenerator(tool_name = \"Doppelganger\", tool_version = \"2.0\", generated_on = \"2013-12-30 13:00:49.426 -0500\", hash_original_method = \"26D71A046B8A5E21DEFC65FB89CD9FDA\", hash_generated_method = \"2293476E78FCC8BDA181F927AEA93BD1\")\n \nprivate void copyTables ()\n {\n if (prefixTable != null) {\n prefixTable = (Hashtable)prefixTable.clone();\n } else {\n prefixTable = new Hashtable();\n }\n if (uriTable != null) {\n uriTable = (Hashtable)uriTable.clone();\n } else {\n uriTable = new Hashtable();\n }\n elementNameTable = new Hashtable();\n attributeNameTable = new Hashtable();\n declSeen = true;\n }", "@Override\n public void get() {}", "private SimpleRepository() {\n \t\t// private ct to disallow external object creation\n \t}", "private void ss(){\n }", "public void mo21782G() {\n }", "public abstract void mo27385c();", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "protected void h() {}", "private void init() {\n\n\t}", "private final void i() {\n }" ]
[ "0.70451087", "0.66481936", "0.66338545", "0.6534467", "0.6533057", "0.63756114", "0.6368523", "0.63063055", "0.6244554", "0.62261415", "0.62046665", "0.61776316", "0.6142759", "0.6131381", "0.6131381", "0.61274433", "0.610919", "0.610797", "0.60792845", "0.6062989", "0.6059318", "0.60447836", "0.6037732", "0.6033637", "0.6028711", "0.60249", "0.6015989", "0.6015989", "0.6010123", "0.5991239", "0.5977965", "0.59756213", "0.59711885", "0.59652776", "0.59562653", "0.59491456", "0.5947999", "0.5942879", "0.5941421", "0.59406793", "0.5936351", "0.5936351", "0.5934477", "0.5934473", "0.59311885", "0.59261817", "0.592184", "0.59162307", "0.59162307", "0.5915696", "0.5908215", "0.5903059", "0.5903059", "0.5894341", "0.5887855", "0.58869827", "0.5884463", "0.5881538", "0.588023", "0.5879579", "0.58791363", "0.58698714", "0.58686715", "0.5857818", "0.5855094", "0.5851806", "0.58393794", "0.58365846", "0.58286095", "0.5816463", "0.58148336", "0.58144826", "0.5814171", "0.5814171", "0.5814171", "0.5814171", "0.5814171", "0.5814171", "0.5809802", "0.5802026", "0.57927555", "0.5792171", "0.5790551", "0.5786574", "0.5786574", "0.5786574", "0.5786574", "0.5786161", "0.578553", "0.5785096", "0.57780075", "0.5774098", "0.57732016", "0.57683206", "0.57683206", "0.57683206", "0.57683206", "0.57683206", "0.5763271", "0.57621974", "0.57540506" ]
0.0
-1
Created by Sai on 15/8/9.
public interface OnAlertItemClickListener { public void onAlertItemClick(Object o, int position); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void perish() {\n \n }", "private stendhal() {\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "private static void cajas() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "public void gored() {\n\t\t\n\t}", "private void poetries() {\n\n\t}", "@Override\n\tpublic void anular() {\n\n\t}", "public final void mo51373a() {\n }", "public void mo38117a() {\n }", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "private void kk12() {\n\n\t}", "private void strin() {\n\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "public void mo4359a() {\n }", "protected boolean func_70814_o() { return true; }", "@Override\n\tprotected void getExras() {\n\n\t}", "private void m50366E() {\n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "@Override\n\tpublic void nghe() {\n\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "@Override\n public void init() {\n\n }", "private void init() {\n\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\n protected void initialize() {\n\n \n }", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "public void mo6081a() {\n }", "@Override\n\tpublic void jugar() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "public void mo21877s() {\n }", "public void mo55254a() {\n }", "@Override\n\tpublic void one() {\n\t\t\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}", "public void skystonePos4() {\n }", "public void method_4270() {}", "@Override\n public void init() {\n }", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "@Override\n public void init() {\n\n }", "@Override\n public void init() {\n\n }", "public void mo12628c() {\n }", "@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}", "protected void mo6255a() {\n }", "public void skystonePos6() {\n }", "public void mo12930a() {\n }", "@Override\n protected void initialize() \n {\n \n }", "@Override\n\tpublic void nefesAl() {\n\n\t}", "@Override\n void init() {\n }", "static void feladat9() {\n\t}", "private void init() {\n\n\n\n }", "@Override\r\n\tprotected void doF8() {\n\t\t\r\n\t}", "public void mo21779D() {\n }", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "@Override\n protected void getExras() {\n }", "@Override\r\n\tpublic void init()\r\n\t{\n\t}", "public void m23075a() {\n }", "@Override\n\tpublic void init()\n\t{\n\n\t}", "@Override\n protected void init() {\n }", "public abstract void mo70713b();", "private Rekenhulp()\n\t{\n\t}", "@Override\n\tprotected void initialize() {\n\n\t}", "static void feladat4() {\n\t}", "public void mo3376r() {\n }", "@Override\n\tpublic int mettreAJour() {\n\t\treturn 0;\n\t}", "@Override\n public int retroceder() {\n return 0;\n }", "@Override\n\tpublic void init() {\n\t}", "@Override\r\n\tprotected void func03() {\n\t\t\r\n\t}" ]
[ "0.61072004", "0.59652597", "0.59380245", "0.5935243", "0.5839717", "0.5839717", "0.5834207", "0.5810916", "0.5801875", "0.58016765", "0.57703835", "0.5768854", "0.57621616", "0.5754691", "0.5753322", "0.5752433", "0.57505953", "0.574385", "0.57332414", "0.5710812", "0.5701847", "0.5699297", "0.5696402", "0.568544", "0.56757396", "0.5670921", "0.56576914", "0.56320107", "0.56320107", "0.56320107", "0.56320107", "0.56320107", "0.56268775", "0.56135076", "0.5595024", "0.5593731", "0.5593731", "0.5593731", "0.5593731", "0.5593731", "0.5593731", "0.5593731", "0.5591875", "0.55671203", "0.55630875", "0.55466056", "0.5533014", "0.5525397", "0.5524681", "0.5508527", "0.55055845", "0.55040205", "0.55040205", "0.5501777", "0.5501777", "0.5501777", "0.5496169", "0.5492904", "0.5481475", "0.5476243", "0.5476243", "0.5466283", "0.5466283", "0.5466283", "0.5466011", "0.5452363", "0.54520833", "0.54508376", "0.5448469", "0.5448469", "0.5448469", "0.54472715", "0.54400736", "0.54400736", "0.54388165", "0.5436748", "0.5428154", "0.5418586", "0.5413706", "0.5411475", "0.5410321", "0.5407561", "0.540591", "0.54047376", "0.5403446", "0.53992873", "0.53960514", "0.53956234", "0.5395238", "0.53938335", "0.5393551", "0.5392826", "0.5390555", "0.5389099", "0.53882945", "0.53804183", "0.53742504", "0.53696734", "0.5367375", "0.5366684", "0.5364161" ]
0.0
-1
v2.7 Replaced String += with StringBuilder
public static String attackerOfPrisme(int id, short MapId, int FightId) { StringBuilder str=new StringBuilder("+"); str.append(Integer.toString(id,36)); GameMap gameMap=Main.world.getMap(MapId); if(gameMap!=null) { for(Fight fight : gameMap.getFights()) { if(fight.getId()==FightId) { for(Fighter fighter : fight.getFighters(1)) { if(fighter.getPersonnage()==null) continue; str.append("|"); str.append(Integer.toString(fighter.getPersonnage().getId(),36)+";"); str.append(fighter.getPersonnage().getName()+";"); str.append(fighter.getPersonnage().getLevel()+";"); str.append("0;"); } } } } return str.toString(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void append(String str) {\n ta.append(str);\n\n }", "ILoString append(String that);", "public XMLString concat(String str) {\n/* 673 */ return new XMLStringDefault(this.m_str.concat(str));\n/* */ }", "protected Pair<JilExpr,List<JilStmt>> doStringConcat(Expr.BinOp bop){\n \t\tString builderLab = \"$builder\" + stringbuilder_label++;\r\n \t\tPair<JilExpr,List<JilStmt>> lhs = doExpression(bop.lhs());\r\n \t\tPair<JilExpr,List<JilStmt>> rhs = doExpression(bop.rhs());\r\n \t\t\r\n \t\tList<JilStmt> stmts = lhs.second();\r\n \t\tstmts.addAll(lhs.second());\r\n \t\tstmts.addAll(rhs.second());\r\n \t\t\r\n \t\tType.Clazz builder = new Type.Clazz(\"java.lang\",\r\n \t\t\t\t\"StringBuilder\");\r\n \t\t\t\t\t\t\r\n \t\tstmts.add(new JilStmt.Assign(new JilExpr.Variable(builderLab, builder),\r\n \t\t\t\tnew JilExpr.New(builder, new ArrayList<JilExpr>(),\r\n \t\t\t\t\t\tnew Type.Function(T_VOID), bop.attributes())));\t\t\t\t\t\r\n \t\t\r\n \t\tType lhs_t = lhs.first().type(); \r\n \t\tif(lhs_t instanceof Type.Primitive || isString(lhs_t)) {\r\n \t\t\tArrayList<JilExpr> params = new ArrayList<JilExpr>();\r\n \t\t\tparams.add(lhs.first());\r\n \t\t\tstmts.add(new JilExpr.Invoke(new JilExpr.Variable(builderLab, builder), \"append\",\r\n \t\t\t\t\tparams, new Type.Function(new Type.Clazz(\"java.lang\",\r\n \t\t\t\t\t\"StringBuilder\"), lhs.first().type()), new Type.Clazz(\r\n \t\t\t\t\t\t\t\"java.lang\", \"StringBuilder\")));\r\n \t\t} else {\r\n \t\t\tArrayList<JilExpr> params = new ArrayList<JilExpr>();\r\n \t\t\tparams.add(lhs.first());\r\n \t\t\tstmts.add(new JilExpr.Invoke(new JilExpr.Variable(builderLab, builder),\r\n \t\t\t\t\t\"append\", params, new Type.Function(new Type.Clazz(\r\n \t\t\t\t\t\t\t\"java.lang\", \"StringBuilder\"),\r\n \t\t\t\t\tJAVA_LANG_OBJECT), new Type.Clazz(\"java.lang\",\r\n \t\t\t\t\t\"StringBuilder\")));\t\r\n \t\t}\r\n \r\n \t\t// Now, do the right hand side\r\n \t\tJilExpr r;\r\n \t\tType rhs_t = rhs.first().type(); \r\n \t\tif(rhs_t instanceof Type.Primitive || isString(rhs_t)) {\r\n \t\t\tArrayList<JilExpr> params = new ArrayList<JilExpr>();\r\n \t\t\tparams.add(rhs.first());\r\n \t\t\tr = new JilExpr.Invoke(new JilExpr.Variable(builderLab, builder), \"append\",\r\n \t\t\t\t\tparams, new Type.Function(new Type.Clazz(\"java.lang\",\r\n \t\t\t\t\t\"StringBuilder\"), rhs_t), new Type.Clazz(\r\n \t\t\t\t\t\t\t\"java.lang\", \"StringBuilder\"));\r\n \t\t} else {\r\n \t\t\tArrayList<JilExpr> params = new ArrayList<JilExpr>();\r\n \t\t\tparams.add(rhs.first());\r\n \t\t\tr = new JilExpr.Invoke(new JilExpr.Variable(builderLab, builder),\r\n \t\t\t\t\t\"append\", params, new Type.Function(new Type.Clazz(\r\n \t\t\t\t\t\t\t\"java.lang\", \"StringBuilder\"), JAVA_LANG_OBJECT),\r\n \t\t\t\t\tnew Type.Clazz(\"java.lang\", \"StringBuilder\"));\r\n \t\t}\r\n \r\n \t\tr = new JilExpr.Invoke(r, \"toString\", new ArrayList<JilExpr>(),\r\n \t\t\t\tnew Type.Function(JAVA_LANG_STRING), JAVA_LANG_STRING);\r\n \t\t\r\n \t\treturn new Pair<JilExpr,List<JilStmt>>(r,stmts);\r\n \t}", "public ILoString append(String that) {\n return new ConsLoString(that, new MtLoString()); \n }", "public abstract void append(String s);", "private void createStringConcat( AOpExpr node){\n\t\til.append(fi.createNew(\"java.lang.StringBuilder\"));\n \til.append(InstructionConstants.DUP);\n \tnode.getLeft().apply(this); //Load the left string.\n \til.append(fi.createInvoke(\"java.lang.StringBuilder\", \"<init>\", org.apache.bcel.generic.Type.VOID, new org.apache.bcel.generic.Type[] { org.apache.bcel.generic.Type.STRING }, Constants.INVOKESPECIAL));\n \tnode.getRight().apply(this); \n \til.append(fi.createInvoke(\"java.lang.StringBuilder\", \"append\", new org.apache.bcel.generic.ObjectType(\"java.lang.StringBuilder\"), new org.apache.bcel.generic.Type[] { org.apache.bcel.generic.Type.STRING }, Constants.INVOKEVIRTUAL));\n \til.append(fi.createInvoke(\"java.lang.StringBuilder\", \"toString\", org.apache.bcel.generic.Type.STRING, org.apache.bcel.generic.Type.NO_ARGS, Constants.INVOKEVIRTUAL));\n\t}", "ILoLoString append(ILoString that);", "@Override\n public String str() {\n return \"append\";\n }", "public static String myConcatenator(String str1, String str2)\r\n {\r\n str1 += str2;\r\n return str1;\r\n }", "public MyStringBuilder2 append(String s)\n\t{\n\t\t\n\t\tif(length == 0) {\n\t\t\t\n\t\t\tfirstC = new CNode(s.charAt(0));\n\t\t\tlength = 1;\n\t\t\tCNode currNode = firstC;\n\t\t\t\n\t\t\tlastC = currNode;\n\t\t\trecursiveAppendString(s, 1);\n\t\t\t\n\t\t} else {\n\t\t\t\n\t\t\trecursiveAppendString(s, 0);\n\t\t}\n\t\treturn this;\n\t\t\n\t}", "public AppendableCharSequence append(CharSequence csq)\r\n/* 61: */ {\r\n/* 62: 73 */ return append(csq, 0, csq.length());\r\n/* 63: */ }", "void append(CharSequence s) throws IOException;", "StringBuilder toString(StringBuilder str);", "public void append(String toAppend) {\n if (toAppend == null) {\n toAppend = \"null\";\n }\n int appendLength = toAppend.length();\n if (appendLength > 0) {\n stringArray[arrayLen++] = toAppend;\n stringLength += appendLength;\n /*\n * If we hit 1k elements, let's do a join to reduce the array size. This\n * number was arrived at experimentally through benchmarking.\n */\n if (arrayLen > 1024) {\n toString();\n // Preallocate the next 1024 (faster on FF).\n setLength(stringArray, 1024);\n }\n }\n }", "void append(String text);", "void append(String text);", "protected void append(String value) {\n\t\tthis.sb.append(value);\n\t}", "public ILoString append(String that) {\n return new ConsLoString(this.first, this.rest.append(that)); \n }", "private static void stringBuff() {\n StringBuffer s1 = new StringBuffer(\"Shubham Dhage\");\n StringBuffer newString = s1.append(\"!!!\");\n StringBuffer insertString = s1.insert(0, 'B');\n\n System.out.println(newString);\n System.out.println(insertString);\n }", "public AttributedStringBuilder append(CharSequence csq) {\n/* 92 */ return append(new AttributedString(csq, this.current));\n/* */ }", "private void append(StringBuffer result, String string, FieldDelegate delegate, FieldPosition[] positions, Format.Field signAttribute) {\n int start = result.length();\n\n if (string.length() > 0) {\n result.append(string);\n for (int counter = 0, max = positions.length; counter < max; counter++) {\n FieldPosition fp = positions[counter];\n Format.Field attribute = fp.getFieldAttribute();\n\n if (attribute == Field.SIGN) {\n attribute = signAttribute;\n }\n delegate.formatted(attribute, attribute, start + fp.getBeginIndex(), start + fp.getEndIndex(), result);\n }\n }\n }", "private void appendStrBufToLongStrBuf() {\n for (int i = 0; i < strBufLen; i++) {\n appendLongStrBuf(strBuf[i]);\n }\n }", "@Test\n void StringBuffer() {\n StringBuilder builder = new StringBuilder();\n for (int i = 0; i < 10; i++) {\n builder.append(i).append(\" \");\n }\n assertThat(builder.toString()).isEqualTo(\"0 1 2 3 4 5 6 7 8 9 \");\n }", "public synchronized void AddCharacters(String s) {\n\t buffer += s;\n\t}", "private static void subBuild(String string, StringBuilder builder) {\r\n\t\tbuilder.append(\"[\");\r\n\t\tbuilder.append(string);\r\n\t\tbuilder.append(\"] \");\r\n\t}", "public void append(String textString) {\n\t\tif (cacheSize == (stringCache.length - 1)) {\n\t\t\t// Need to resize the array if we max out the buffer\n\t\t\tresizeCache();\n\t\t}\n\t\tstringCache[cacheSize] = textString;\n\t\tcacheSize++;\n\t\tlength += textString.length();\n\t}", "private void appendStrBuf(char c) {\n if (strBufLen == strBuf.length) {\n char[] newBuf = new char[strBuf.length + BUFFER_GROW_BY];\n System.arraycopy(strBuf, 0, newBuf, 0, strBuf.length);\n strBuf = newBuf;\n }\n strBuf[strBufLen++] = c;\n }", "public void append(String fragment);", "public ILoLoString append(ILoString that) {\n return new ConsLoLoString(that, new MtLoLoString());\n }", "public void mo43852a(StringBuilder aLog) {\n }", "private void addNewLine(StringBuilder builder, String line){\r\n\t\tbuilder.append(line);\r\n\t\tbuilder.append(\"\\n\");\r\n\t}", "private String appendString(String randomDigitRid, String currentTimeStamp, String centreId, String dongleId) {\n\t\tStringBuilder stringBuilder = new StringBuilder();\n\t\tstringBuilder.append(centreId).append(dongleId).append(randomDigitRid).append(currentTimeStamp);\n\t\treturn (stringBuilder.toString().trim());\n\t}", "public TypescriptStringBuilder appendln() {\n return appendln(\"\");\n }", "public void append(String op) throws Exception \r\n\t{\n\t oWriter.write(lastString); \r\n\t lastString = new String(op); \r\n\t}", "public void append(MConstText srcText) {\r\n replace(length(), length(), srcText, 0, srcText.length());\r\n }", "private void appendLongStrBuf(char c) {\n if (longStrBufLen == longStrBuf.length) {\n char[] newBuf = new char[longStrBuf.length + BUFFER_GROW_BY];\n System.arraycopy(longStrBuf, 0, newBuf, 0, longStrBuf.length);\n longStrBuf = newBuf;\n }\n longStrBuf[longStrBufLen++] = c;\n }", "private void _add(final String value) {\n appended();\n\n buffer.encode(value);\n }", "public String plus(Object value) {\n return this.theString + value;\n }", "public static void append(final StringBuilder sbString,\n\t\t\tfinal String... strings) {\n\t\tsbString.ensureCapacity(sbString.length() + getLength(strings));\n\n\t\tfor (final String string : strings) {\n\t\t\tsbString.append(string);\n\t\t}\n\t}", "public void cogerLetra(String letra){\r\n sb.append(letra);\r\n }", "public MyStringBuilder2 append(MyStringBuilder2 b)\n\t{\n\t\tString str = b.toString();\n\t\t\n\t\tif(length == 0 && str != null) {\n\t\t\tCNode newNode = new CNode(str.charAt(0));\n\t\t\tfirstC = newNode;\n\t\t\tlastC = newNode;\n\t\t\tlength++;\n\t\t\trecursiveAppendString(str, 1);\n\t\t} else {\n\t\t\trecursiveAppendString(str, 0);\n\t\t}\n\t\t\n\t\tappend(str);\n\t\treturn this;\n\t\t\n\t}", "protected StringBuffer inlineValueSB(Environment env,\n Context ctx,\n StringBuffer buffer) {\n if (type != Type.tString) {\n // This isn't a concatenation. It is actually an addition\n // of some sort. Call the generic inlineValueSB()\n return super.inlineValueSB(env, ctx, buffer);\n }\n\n buffer = left.inlineValueSB(env, ctx, buffer);\n if (buffer != null) {\n buffer = right.inlineValueSB(env, ctx, buffer);\n }\n return buffer;\n }", "String concat(String... text);", "public static void main(String args[]){\n StringBuffer s1=new StringBuffer(\"Java\");\n System.out.println(s1); \n System.out.println(s1.capacity()); //Prints 16+4\n\n s1.append(\"Course\");\n s1.append(1); //Methods of String Buffer Class are overloaded for all primitive data types.\n s1.append(true);\n System.out.println(s1);\n\n StringBuffer s2=new StringBuffer(\"Learn \");\n s2.append(\"Java\").append(\" \").append(\"Happily\"); //Method Chaining\n System.out.println(s2);\n\n// Unlike String Class, + operator is not overloaded for concatenation in String Buffer Class. Hence s1+s2 results error. Only append can be used\n\n s1.delete(10,15); //Deletes from [10,15)\n System.out.println(s1);\n\n s1.insert(4,\" \");\n s1.insert(0,\"Fun \");\n s1.insert(4,\"with \");\n System.out.println(s1);\n\n //public synchronized StringBuffer replace(int startIndex, int endIndex)\n s1=s1.replace(3,14,\" \"); //Replaces everything between [start,end) with passed string\n System.out.println(s1);\n\n //public synchronized StringBuffer reverse(). No reverse method in String Class\n StringBuffer s3=s1.reverse();\n System.out.println(s3);\n System.out.println(s1); //s1 is also modified\n }", "public StringBuilder add(StringBuilder m, StringBuilder n)\n {\n \n int carryover=0 , sum=0;\n StringBuilder result=new StringBuilder();\n if(m.length()>=n.length())\n {\n n=align(n,m.length());\n }\n else{\n m=align(m,n.length());\n }\n \n String temp1=new String();\n String temp2=new String();\n for (int i=m.length()-1;i>=0;i--) {\n \n \n temp1=temp1+m.charAt(i);\n temp2=temp2+n.charAt(i);\n sum=Integer.parseInt(temp1)+Integer.parseInt(temp2)+carryover;\n //sum=(int) m.charAt(i)+(int)n.charAt(i)+carryover;\n if (sum>=10)\n {\n carryover=1;\n sum=sum-10;\n result.insert(0,sum);\n temp1=\"\";\n temp2=\"\";\n }\n else{\n carryover=0;\n result.insert(0,sum);\n temp1=\"\";\n temp2=\"\";\n } \n }\n if (carryover==1) {\n result.insert(0,carryover);\n }\n //int value=Integer.parseInt(result.toString());\n //result.delete(0,result.length());\n //result.append(value);\n //if (result.length()<m.length())\n // result=align(result,m);\n \n return result;\n \n }", "@Override\n public StringBuilder createAccumulator() {\n return null;\n }", "private void appendLongStrBuf(char[] arr) {\n for (int i = 0; i < arr.length; i++) {\n appendLongStrBuf(arr[i]);\n }\n }", "public static StringBuffer appendURL(StringBuffer buffer, String url) {\n\n\t\tByteBuffer byteBuffer = xmiCharset.encode(url);\n\t\tint limit = byteBuffer.limit();\n\t\tbyte[] bytes;\n\t\tint offset = 0;\n\n\t\tif (byteBuffer.hasArray()) {\n\t\t\tbytes = byteBuffer.array();\n\t\t\toffset = byteBuffer.arrayOffset();\n\t\t} else {\n\t\t\tbyteBuffer.get(bytes = new byte[limit], 0, limit);\n\t\t}\n\n\t\twhile (--limit >= 0) {\n\n\t\t\tchar c = (char) bytes[offset++];\n\n\t\t\tif (c == ' ')\n\t\t\t\tc = '+';\n\n\t\t\telse if (c < nonEncodedMin || nonEncodedMax < c\n\t\t\t\t|| !nonEncoded[c - nonEncodedMin]) {\n\t\t\t\tbuffer.append('%');\n\t\t\t\tbuffer.append(hexChars[(c >>> 4) & 0xF]);\n\t\t\t\tc = hexChars[c & 0xF];\n\t\t\t}\n\n\t\t\tbuffer.append(c);\n\t\t}\n\n\t\treturn buffer;\n\t}", "public ILoLoString append(ILoString that) {\n if (that.length() < 1) {\n return this;\n }\n else {\n return new ConsLoLoString(this.first, this.rest.append(that)); \n }\n }", "public static void main(String[] args) {\n\n\n String str = null;\n StringBuffer sb = new StringBuffer();\n sb.append(str);\n System.out.println(sb.length());//\n System.out.println(sb);//\n StringBuffer sb1 = new StringBuffer(str);\n System.out.println(sb1);//\n\n }", "public void append(String str) {\r\n\t\ttry {\r\n\t\t\tdoc.insertString(doc.getLength(), str, null);\r\n\t\t} catch (BadLocationException e) {\r\n\t\t\tSystem.err.println(e);\r\n\t\t}\r\n\t}", "private void consoleAppend(String string){\r\n sbCommandHistory.append(string);\r\n sbCommandHistory.append(\"\\n\");\r\n }", "@Override\n\tpublic final CharTerm append(CharSequence csq) { \n\t\tif (csq == null) // needed for Appendable compliance\n\t\t\treturn appendNull();\n\t\t\n\t\treturn append(csq, 0, csq.length());\n\t}", "private static void stringConcat(String[] ss, int n) {\n Timer t = new Timer(); \n String res = \"\";\n for (int i=0; i<n; i++) \n res += ss[i];\n System.out.format(\"Result length:%7d; time:%8.3f sec\\n\" , res.length(), t.Check());\n }", "public void append(String str) {\n\t\tta.append(str);\n\t\tta.setCaretPosition(ta.getText().length() - 1);\n\t}", "private void append (String str)\n {\n\tsynchronized (myToBeAppended)\n\t{\n\t myToBeAppended.append (str);\n\t myToBeAppended.notifyAll ();\n\t}\n }", "private static Object Stringbuilder() {\n\t\treturn null;\n\t}", "@Override\n\tpublic String toString() {\n\t\treturn \"append \" + maxCount + \" words to a StringBuilder\";\n\t}", "private static void encodeStringForAuditFieldReplaceString(StringBuilder sb, String oldString, String newString) {\n\n\t\tint index = sb.indexOf(oldString);\n\t\twhile (index >= 0) {\n\t\t\tsb.delete(index, index + oldString.length());\n\t\t\tsb.insert(index, newString);\n\t\t\tindex = sb.indexOf(oldString, index + newString.length());\n\t\t}\n\n\t}", "public native String appendItem(String newItem);", "private void add(String thestring) {\n\t\t\n\t}", "public static void fill(StringBuilder s, String d)\r\n\t{\r\n\t\tlong time = 0;\r\n\t\tlong t1 = 0;\r\n\t\tint character;\r\n\t\tBufferedReader br = null;\r\n\t\tint nc = 0;\r\n\t\ttry \r\n\t\t{\r\n\t\t\tbr = new BufferedReader(new FileReader(d));\r\n\t\t} \r\n\t\tcatch (FileNotFoundException e1) \r\n\t\t{\r\n\t\t\te1.printStackTrace();\r\n\t\t}\r\n\t\ttry \r\n\t\t{\r\n\t\t\tlong st1 = System.nanoTime();\r\n\t\t\tnc = 0;\r\n\t\t\twhile ((character = br.read()) != -1) \r\n\t\t\t{\r\n\t\t\t s.append((char)character); \r\n\t\t\t nc++;\r\n\t\t\t}\r\n\t\t\tlong et1 = System.nanoTime();\r\n\t\t\tt1 = et1 - st1;\r\n\t\t\ttime = t1/nc;\r\n\t\t} \r\n\t\tcatch (IOException e) \r\n\t\t{\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\tSystem.out.println(\"Average time for appending with StringBuilder: \" + time+ \"ns\" + \" for \" + nc + \" operations\");\r\n\t\tSystem.out.println(\"Total time for appending with StringBuilder: \" + t1+ \"ns\" + \" for \" + nc + \" operations\");\r\n\t}", "@Override\n protected ImpValue plusStr(StringValue sv) {\n return vf.makeStr(sv.getStrValue() + this.boolValue.toString());\n }", "private void append(String sAppend) throws Exception {\n\n\tString sFilename = null;\n\tFileWriter fw = null;\n\n\ttry {\n\t // Define the filename.\n\t sFilename = getMeasurementsFilename();\n\n\t // Append.\n\t fw = new FileWriter(sFilename, true);\n\t fw.write(sAppend);\n\t fw.close();\n\n\t} catch (Exception e) {\n\n\t // try writing to the /tmp file system.\n\t FileWriter fw2 = null;\n\t try {\n\t\tsFilename = \"/tmp/cqServiceUsage\";\n\t\tfw2 = new FileWriter(sFilename, true);\n\t\tfw2.write(sAppend);\n\t\tfw2.close();\n\t } catch (Exception e2) {\n\t\tthrow (e2);\n\t } finally {\n\t\tfw2 = null;\n\t }\n\t} finally {\n\t fw = null;\n\t}\n }", "public static void main(String[] args) {\n\t\tString s=\"abc\";\n\t\ts=s.concat(\"defg\");\n\t\ts.concat(\"ghi\");\n\t\tString s1=s,s2=s,s3=s,s4=s,s5=s;\n\t\tSystem.out.println(s);\n\t\tSystem.out.println(s1);\n\t\tSystem.out.println(s2);\n\t\tSystem.out.println(s3);\n\t\tSystem.out.println(s3);\n\t\tSystem.out.println(s4);\n\t\tSystem.out.println(s5);\n\t\t\n\t\t\n\t\tStringBuffer sb= new StringBuffer(\"abc\");\n\t\tsb.append(\"ABC\");\n\t\tStringBuffer sb1=sb,sb2=sb;\n\t\tSystem.out.println(sb);\n\t\tSystem.out.println(sb1);\n\t\tSystem.out.println(sb2);\n\t\t\n\t}", "public static void main(String[] args) {\n StringBuilder sb = new StringBuilder(\"Eu Programando\");\r\n StringBuilder sb2 = sb.append(\" nessa aula\");\r\n sb.append(\" mais uma coisa\");\r\n sb.append(\" e mais outra\");\r\n sb2.append(\" e mais uma pra finalizar\");\r\n\r\n // \"Eu programando\"\r\n // \"Eu programando nessa aula\"\r\n // \"Eu \"\r\n // \"Amando\"\r\n String s1 = \"Eu programando\";\r\n String s2 = s1.concat(\" nessa aula\");\r\n s1.substring(0,2);\r\n s1.replace(\"Eu Progra\", \"A\");\r\n\r\n System.out.println(\"#####################################\");\r\n System.out.println(\"StringBuilder sb: \" + sb);\r\n System.out.println(\"StringBuilder sb2: \" + sb2);\r\n System.out.println(\"String s1: \" + s1);\r\n System.out.println(\"String s2: \" + s2);\r\n }", "public static void fill(MyStringBuilder s, String d)\r\n\t{\r\n\t\tlong time = 0;\r\n\t\tlong t1 = 0;\r\n\t\tint character;\r\n\t\tBufferedReader br = null;\r\n\t\tint nc = 0;\r\n\t\ttry \r\n\t\t{\r\n\t\t\tbr = new BufferedReader(new FileReader(d));\r\n\t\t} \r\n\t\tcatch (FileNotFoundException e1) \r\n\t\t{\r\n\t\t\te1.printStackTrace();\r\n\t\t}\r\n\t\ttry \r\n\t\t{\r\n\t\t\tlong st1 = System.nanoTime();\r\n\t\t\tnc = 0;\r\n\t\t\twhile ((character = br.read()) != -1) \r\n\t\t\t{\r\n\t\t\t s.append((char)character); \r\n\t\t\t nc++;\r\n\t\t\t \r\n\t\t\t}\r\n\t\t\tlong et1 = System.nanoTime();\r\n\t\t\tt1 = et1 - st1;\r\n\t\t\ttime = t1/nc;\r\n\t\t} \r\n\t\tcatch (IOException e) \r\n\t\t{\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\tSystem.out.println(\"Average time for appending with MyStringBuilder: \" + time+ \"ns\" + \" for \" + nc + \" operations\");\r\n\t\tSystem.out.println(\"Total time for appending with MyStringBuilder: \" + t1+ \"ns\" + \" for \" + nc + \" operations\");\r\n\t\t\r\n\t}", "public void append(String str) {\r\n\t\tint i, length = str.length();\r\n\t\tfor (i = 0; i < length; i++) {\r\n\t\t\tchar ch = str.charAt(i); // get next character\r\n\r\n\t\t\t// skip escaped new_line\r\n\t\t\tif (ch == '\\\\' && i < length - 1) {\r\n\t\t\t\tif (str.charAt(i + 1) == LINE_SEPARATOR) {\r\n\t\t\t\t\ti = i + 2;\r\n\t\t\t\t\tcontinue;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t// update line-index\r\n\t\t\ttext.append(ch);\r\n\t\t\tif (ch == LINE_SEPARATOR)\r\n\t\t\t\tline_index.add(text.length());\r\n\t\t} // end for\r\n\t}", "private static StringBuilder addParamPrefix(String string2, StringBuilder stringBuilder) {\n int n = string2.indexOf(63);\n int n2 = stringBuilder.length() - 1;\n if (n == -1) {\n stringBuilder.append('?');\n return stringBuilder;\n } else {\n if (n >= n2 || string2.charAt(n2) == '&') return stringBuilder;\n {\n stringBuilder.append('&');\n return stringBuilder;\n }\n }\n }", "private static void append(String text) {\n // Print the same text to STDOUT\n System.out.println(text);\n\n try {\n outputFileBuffer.write(text+\"\\n\");\n outputFileBuffer.flush();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "public LinkedString concat(LinkedString str)\n {\n int num = this.length();\n for(int i = 0; i < str.length(); i++)\n {\n this.insert(num + i, str.charAt(i));\n }\n \n return this;\n }", "@Override\n public void getValueString(StringBuffer stringBuffer)\n {\n stringBuffer.append(val);\n\n }", "private String stringShortener(String str) {\n if (str.length() <= 5) {\n return str;\n }\n str = str.substring(0, 5);\n str = str + \"...\";\n return str;\n }", "public void concat2Strings(String s1, String s2)\r\n {\r\n // s1.concat(s2);\r\n ///sau\r\n s1=s1+s2;\r\n System.out.println(\"Stringurile concatenate sunt \"+s1);\r\n }", "private String fill(String[] chain) {\r\n\t\tString result = new String();\r\n\t\tfor (int i = 0; i < chain.length; i++) {\r\n\t\t\tresult += chain[i];\r\n\t\t}\r\n\t\treturn result;\r\n\t}", "private void collapse(StringBuffer result, String text) {\n \n }", "private void appendHex( StringBuffer buffer, int chars, String hex) {\n\t\tfor (int i=0; i < chars-hex.length(); i++) {\n\t\t\tbuffer.append(\"0\");\n\t\t}\n\t\tbuffer.append(hex);\n\t}", "public StringConcat(Block block, StringResult arg1, StringResult arg2) {\n\t\tsuper(block, arg1, arg2);\n\t}", "public static void appendValue(final StringBuilder stringBuilder, final Object obj) {\n if (!appendSpecificTypes(stringBuilder, obj)) {\n stringBuilder.append(obj);\n }\n }", "public StringBuilder target() { return out; }", "private void appendSetsToStringBuilder(StringBuilder stringBuilder) {\n\t\tfor (PayloadBuilderSet set : sets) {\n\t\t\tstringBuilder.append(\"\\n\");\n\t\t\tset.appendToStringBuilder(stringBuilder);\n\t\t}\n\t}", "public String toString() {\n\t\treturn String.format(\"Append \" + result.length() + \" chars to String\\n\" + \"final string length = \" + result.length());\n\t}", "private void createString(){\n for(int i=0;i<this.textPalindrome.length;i++){\n this.joinedTextPalindrome=this.joinedTextPalindrome.concat(this.textPalindrome[i]);\n }\n }", "public static void main(String[] args) {\n String string = \"test\";\n concat(string);\n System.out.println(string); // test \n}", "public MyStringBuilder2(String s)\n\t{\n\t\tif (s == null || s.length() == 0) // Special case for empty String\n\t\t{\t\t\t\t\t \t\t\t // or null reference\n\t\t\tfirstC = null;\n\t\t\tlastC = null;\n\t\t\tlength = 0;\n\t\t} else {\n\t\tthis.append(s);\n\t\t}\n\t}", "public static void main(String args[]) {\r\n\t\r\n\tString x=new String(\"kajol\");\r\n\tx.concat(\"kk\");\r\n\tSystem.out.println(x);\r\n\tString z=new String(\"kedia\");\r\n\tz=z.concat(\"k\");\r\n\tSystem.out.println(z);\r\n}", "public TypescriptStringBuilder appendln(final String chunk) {\n if (!chunk.endsWith(\"\\n\")) {\n return append(chunk + \"\\n\");\n }\n\n return append(chunk);\n }", "public static void shift(StringBuilder s){\n\t\t\n\t\t\n\t\t\n\t}", "public void appendLine() {\n\t\t\tmBuilder.append(NewLineChar);\n\t\t\tlastAppendNewLine = true;\n\t\t}", "public static void main(String[] args) {\n //StringCircularBuffer buffer = new StringCircularBuffer(10);\n CircularBuffer buffer = new CircularBuffer(10);\n buffer.offer(\"a\");\n buffer.offer(\"b\");\n buffer.offer(\"cd\");\n //buffer.offer(1);\n String value = concatenate(buffer);\n //System.out.println(value);\n\n }", "public void append(String newText) {\n getLock().getWriteLock();\n try {\n SelectionSetter noChange = new SelectionSetter(SelectionSetter.DO_NOT_CHANGE);\n PTextBuffer buffer = getTextBuffer();\n buffer.replace(noChange, buffer.length(), 0, newText, noChange);\n } finally {\n getLock().relinquishWriteLock();\n }\n }", "public IDnaStrand append(String dna);", "public void toStringBuilder(final StringBuilder sb) {\r\n sb.append(this.m_current);\r\n }", "public AppendableCharSequence append(CharSequence csq, int start, int end)\r\n/* 66: */ {\r\n/* 67: 78 */ if (csq.length() < end) {\r\n/* 68: 79 */ throw new IndexOutOfBoundsException();\r\n/* 69: */ }\r\n/* 70: 81 */ int length = end - start;\r\n/* 71: 82 */ if (length > this.chars.length - this.pos) {\r\n/* 72: 83 */ this.chars = expand(this.chars, this.pos + length, this.pos);\r\n/* 73: */ }\r\n/* 74: 85 */ if ((csq instanceof AppendableCharSequence))\r\n/* 75: */ {\r\n/* 76: 87 */ AppendableCharSequence seq = (AppendableCharSequence)csq;\r\n/* 77: 88 */ char[] src = seq.chars;\r\n/* 78: 89 */ System.arraycopy(src, start, this.chars, this.pos, length);\r\n/* 79: 90 */ this.pos += length;\r\n/* 80: 91 */ return this;\r\n/* 81: */ }\r\n/* 82: 93 */ for (int i = start; i < end; i++) {\r\n/* 83: 94 */ this.chars[(this.pos++)] = csq.charAt(i);\r\n/* 84: */ }\r\n/* 85: 97 */ return this;\r\n/* 86: */ }", "public static void buf(String text)\r\n\t{\r\n\t\tbuffer.append(text);\r\n\t}", "public static void addCDXElementToStringBuffer(Object element, StringBuilder sb) {\n\t\tif(element == null) {\n\t\t\tsb.append(\"-\");\n\t\t} else {\n\t\t\tString s = (element instanceof String) ? (String) element : element.toString();\n\t\t\tif(s.isEmpty()) {\n\t\t\t\tsb.append(\"-\");\n\t\t\t} else {\n\t\t\t\tsb.append(s);\n\t\t\t}\n\t\t}\n\t}", "protected StringBuilder toStringBuilder()\r\n/* 741: */ {\r\n/* 742:808 */ StringBuilder buf = new StringBuilder(64);\r\n/* 743:809 */ buf.append(StringUtil.simpleClassName(this));\r\n/* 744:810 */ buf.append('@');\r\n/* 745:811 */ buf.append(Integer.toHexString(hashCode()));\r\n/* 746: */ \r\n/* 747:813 */ Object result = this.result;\r\n/* 748:814 */ if (result == SUCCESS)\r\n/* 749: */ {\r\n/* 750:815 */ buf.append(\"(success)\");\r\n/* 751: */ }\r\n/* 752:816 */ else if (result == UNCANCELLABLE)\r\n/* 753: */ {\r\n/* 754:817 */ buf.append(\"(uncancellable)\");\r\n/* 755: */ }\r\n/* 756:818 */ else if ((result instanceof CauseHolder))\r\n/* 757: */ {\r\n/* 758:819 */ buf.append(\"(failure(\");\r\n/* 759:820 */ buf.append(((CauseHolder)result).cause);\r\n/* 760:821 */ buf.append(')');\r\n/* 761: */ }\r\n/* 762: */ else\r\n/* 763: */ {\r\n/* 764:823 */ buf.append(\"(incomplete)\");\r\n/* 765: */ }\r\n/* 766:825 */ return buf;\r\n/* 767: */ }", "public final void visit(final BinStringConcatenationExpression expression) {\n }", "org.hl7.fhir.String addNewValueString();", "public void setString(String line)\n {\n tempString = new StringBuilder(line);\n }" ]
[ "0.6632325", "0.65804356", "0.6515596", "0.6450851", "0.644939", "0.6428441", "0.63447756", "0.632565", "0.6261846", "0.62315387", "0.62123716", "0.62043244", "0.6193129", "0.6135519", "0.61315006", "0.61248595", "0.61248595", "0.6098165", "0.6080222", "0.6069861", "0.60690063", "0.6001672", "0.5983122", "0.596985", "0.5951301", "0.5899783", "0.5878733", "0.58627206", "0.58529276", "0.58515465", "0.585006", "0.584974", "0.5849068", "0.5769454", "0.5768892", "0.5762849", "0.5714014", "0.56414396", "0.5625979", "0.5617595", "0.56016314", "0.5576443", "0.55516917", "0.5539338", "0.55314875", "0.5516277", "0.5507394", "0.5481269", "0.54762936", "0.5466578", "0.5451484", "0.5444516", "0.54251444", "0.5421009", "0.5418672", "0.53986305", "0.5389731", "0.5381928", "0.5371056", "0.5368228", "0.5361156", "0.5348802", "0.5344918", "0.533514", "0.5328137", "0.53243256", "0.53190947", "0.53133416", "0.5301994", "0.5293311", "0.52921474", "0.52769554", "0.52752465", "0.5273812", "0.5270538", "0.5262565", "0.5257865", "0.52543867", "0.5232879", "0.52213633", "0.52160525", "0.5215607", "0.521008", "0.52055216", "0.5200157", "0.5196097", "0.51910985", "0.5184242", "0.5175672", "0.51690626", "0.5163004", "0.51495844", "0.51481473", "0.5142786", "0.51392215", "0.513899", "0.5135164", "0.5134338", "0.5134223", "0.5128565", "0.512616" ]
0.0
-1
v2.7 Replaced String += with StringBuilder
public static String defenderOfPrisme(int id, short MapId, int FightId) { StringBuilder str=new StringBuilder("+"); String stra; str.append(Integer.toString(id,36)); GameMap gameMap=Main.world.getMap(MapId); if(gameMap!=null) { for(Fight fight : gameMap.getFights()) { if(fight.getId()==FightId) { for(Fighter fighter : fight.getFighters(2)) { if(fighter.getPersonnage()==null) continue; str.append("|"); str.append(Integer.toString(fighter.getPersonnage().getId(),36)+";"); str.append(fighter.getPersonnage().getName()+";"); str.append(fighter.getPersonnage().getGfxId()+";"); str.append(fighter.getPersonnage().getLevel()+";"); str.append(Integer.toString(fighter.getPersonnage().getColor1(),36)+";"); str.append(Integer.toString(fighter.getPersonnage().getColor2(),36)+";"); str.append(Integer.toString(fighter.getPersonnage().getColor3(),36)+";"); if(fight.getFighters(2).size()>7) str.append("1;"); else str.append("0;"); } stra=str.toString().substring(1); stra="-"+stra; fight.setDefenders(stra); } } } return str.toString(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void append(String str) {\n ta.append(str);\n\n }", "ILoString append(String that);", "public XMLString concat(String str) {\n/* 673 */ return new XMLStringDefault(this.m_str.concat(str));\n/* */ }", "protected Pair<JilExpr,List<JilStmt>> doStringConcat(Expr.BinOp bop){\n \t\tString builderLab = \"$builder\" + stringbuilder_label++;\r\n \t\tPair<JilExpr,List<JilStmt>> lhs = doExpression(bop.lhs());\r\n \t\tPair<JilExpr,List<JilStmt>> rhs = doExpression(bop.rhs());\r\n \t\t\r\n \t\tList<JilStmt> stmts = lhs.second();\r\n \t\tstmts.addAll(lhs.second());\r\n \t\tstmts.addAll(rhs.second());\r\n \t\t\r\n \t\tType.Clazz builder = new Type.Clazz(\"java.lang\",\r\n \t\t\t\t\"StringBuilder\");\r\n \t\t\t\t\t\t\r\n \t\tstmts.add(new JilStmt.Assign(new JilExpr.Variable(builderLab, builder),\r\n \t\t\t\tnew JilExpr.New(builder, new ArrayList<JilExpr>(),\r\n \t\t\t\t\t\tnew Type.Function(T_VOID), bop.attributes())));\t\t\t\t\t\r\n \t\t\r\n \t\tType lhs_t = lhs.first().type(); \r\n \t\tif(lhs_t instanceof Type.Primitive || isString(lhs_t)) {\r\n \t\t\tArrayList<JilExpr> params = new ArrayList<JilExpr>();\r\n \t\t\tparams.add(lhs.first());\r\n \t\t\tstmts.add(new JilExpr.Invoke(new JilExpr.Variable(builderLab, builder), \"append\",\r\n \t\t\t\t\tparams, new Type.Function(new Type.Clazz(\"java.lang\",\r\n \t\t\t\t\t\"StringBuilder\"), lhs.first().type()), new Type.Clazz(\r\n \t\t\t\t\t\t\t\"java.lang\", \"StringBuilder\")));\r\n \t\t} else {\r\n \t\t\tArrayList<JilExpr> params = new ArrayList<JilExpr>();\r\n \t\t\tparams.add(lhs.first());\r\n \t\t\tstmts.add(new JilExpr.Invoke(new JilExpr.Variable(builderLab, builder),\r\n \t\t\t\t\t\"append\", params, new Type.Function(new Type.Clazz(\r\n \t\t\t\t\t\t\t\"java.lang\", \"StringBuilder\"),\r\n \t\t\t\t\tJAVA_LANG_OBJECT), new Type.Clazz(\"java.lang\",\r\n \t\t\t\t\t\"StringBuilder\")));\t\r\n \t\t}\r\n \r\n \t\t// Now, do the right hand side\r\n \t\tJilExpr r;\r\n \t\tType rhs_t = rhs.first().type(); \r\n \t\tif(rhs_t instanceof Type.Primitive || isString(rhs_t)) {\r\n \t\t\tArrayList<JilExpr> params = new ArrayList<JilExpr>();\r\n \t\t\tparams.add(rhs.first());\r\n \t\t\tr = new JilExpr.Invoke(new JilExpr.Variable(builderLab, builder), \"append\",\r\n \t\t\t\t\tparams, new Type.Function(new Type.Clazz(\"java.lang\",\r\n \t\t\t\t\t\"StringBuilder\"), rhs_t), new Type.Clazz(\r\n \t\t\t\t\t\t\t\"java.lang\", \"StringBuilder\"));\r\n \t\t} else {\r\n \t\t\tArrayList<JilExpr> params = new ArrayList<JilExpr>();\r\n \t\t\tparams.add(rhs.first());\r\n \t\t\tr = new JilExpr.Invoke(new JilExpr.Variable(builderLab, builder),\r\n \t\t\t\t\t\"append\", params, new Type.Function(new Type.Clazz(\r\n \t\t\t\t\t\t\t\"java.lang\", \"StringBuilder\"), JAVA_LANG_OBJECT),\r\n \t\t\t\t\tnew Type.Clazz(\"java.lang\", \"StringBuilder\"));\r\n \t\t}\r\n \r\n \t\tr = new JilExpr.Invoke(r, \"toString\", new ArrayList<JilExpr>(),\r\n \t\t\t\tnew Type.Function(JAVA_LANG_STRING), JAVA_LANG_STRING);\r\n \t\t\r\n \t\treturn new Pair<JilExpr,List<JilStmt>>(r,stmts);\r\n \t}", "public ILoString append(String that) {\n return new ConsLoString(that, new MtLoString()); \n }", "public abstract void append(String s);", "private void createStringConcat( AOpExpr node){\n\t\til.append(fi.createNew(\"java.lang.StringBuilder\"));\n \til.append(InstructionConstants.DUP);\n \tnode.getLeft().apply(this); //Load the left string.\n \til.append(fi.createInvoke(\"java.lang.StringBuilder\", \"<init>\", org.apache.bcel.generic.Type.VOID, new org.apache.bcel.generic.Type[] { org.apache.bcel.generic.Type.STRING }, Constants.INVOKESPECIAL));\n \tnode.getRight().apply(this); \n \til.append(fi.createInvoke(\"java.lang.StringBuilder\", \"append\", new org.apache.bcel.generic.ObjectType(\"java.lang.StringBuilder\"), new org.apache.bcel.generic.Type[] { org.apache.bcel.generic.Type.STRING }, Constants.INVOKEVIRTUAL));\n \til.append(fi.createInvoke(\"java.lang.StringBuilder\", \"toString\", org.apache.bcel.generic.Type.STRING, org.apache.bcel.generic.Type.NO_ARGS, Constants.INVOKEVIRTUAL));\n\t}", "ILoLoString append(ILoString that);", "@Override\n public String str() {\n return \"append\";\n }", "public static String myConcatenator(String str1, String str2)\r\n {\r\n str1 += str2;\r\n return str1;\r\n }", "public MyStringBuilder2 append(String s)\n\t{\n\t\t\n\t\tif(length == 0) {\n\t\t\t\n\t\t\tfirstC = new CNode(s.charAt(0));\n\t\t\tlength = 1;\n\t\t\tCNode currNode = firstC;\n\t\t\t\n\t\t\tlastC = currNode;\n\t\t\trecursiveAppendString(s, 1);\n\t\t\t\n\t\t} else {\n\t\t\t\n\t\t\trecursiveAppendString(s, 0);\n\t\t}\n\t\treturn this;\n\t\t\n\t}", "public AppendableCharSequence append(CharSequence csq)\r\n/* 61: */ {\r\n/* 62: 73 */ return append(csq, 0, csq.length());\r\n/* 63: */ }", "void append(CharSequence s) throws IOException;", "StringBuilder toString(StringBuilder str);", "public void append(String toAppend) {\n if (toAppend == null) {\n toAppend = \"null\";\n }\n int appendLength = toAppend.length();\n if (appendLength > 0) {\n stringArray[arrayLen++] = toAppend;\n stringLength += appendLength;\n /*\n * If we hit 1k elements, let's do a join to reduce the array size. This\n * number was arrived at experimentally through benchmarking.\n */\n if (arrayLen > 1024) {\n toString();\n // Preallocate the next 1024 (faster on FF).\n setLength(stringArray, 1024);\n }\n }\n }", "void append(String text);", "void append(String text);", "protected void append(String value) {\n\t\tthis.sb.append(value);\n\t}", "public ILoString append(String that) {\n return new ConsLoString(this.first, this.rest.append(that)); \n }", "private static void stringBuff() {\n StringBuffer s1 = new StringBuffer(\"Shubham Dhage\");\n StringBuffer newString = s1.append(\"!!!\");\n StringBuffer insertString = s1.insert(0, 'B');\n\n System.out.println(newString);\n System.out.println(insertString);\n }", "public AttributedStringBuilder append(CharSequence csq) {\n/* 92 */ return append(new AttributedString(csq, this.current));\n/* */ }", "private void append(StringBuffer result, String string, FieldDelegate delegate, FieldPosition[] positions, Format.Field signAttribute) {\n int start = result.length();\n\n if (string.length() > 0) {\n result.append(string);\n for (int counter = 0, max = positions.length; counter < max; counter++) {\n FieldPosition fp = positions[counter];\n Format.Field attribute = fp.getFieldAttribute();\n\n if (attribute == Field.SIGN) {\n attribute = signAttribute;\n }\n delegate.formatted(attribute, attribute, start + fp.getBeginIndex(), start + fp.getEndIndex(), result);\n }\n }\n }", "private void appendStrBufToLongStrBuf() {\n for (int i = 0; i < strBufLen; i++) {\n appendLongStrBuf(strBuf[i]);\n }\n }", "@Test\n void StringBuffer() {\n StringBuilder builder = new StringBuilder();\n for (int i = 0; i < 10; i++) {\n builder.append(i).append(\" \");\n }\n assertThat(builder.toString()).isEqualTo(\"0 1 2 3 4 5 6 7 8 9 \");\n }", "public synchronized void AddCharacters(String s) {\n\t buffer += s;\n\t}", "private static void subBuild(String string, StringBuilder builder) {\r\n\t\tbuilder.append(\"[\");\r\n\t\tbuilder.append(string);\r\n\t\tbuilder.append(\"] \");\r\n\t}", "public void append(String textString) {\n\t\tif (cacheSize == (stringCache.length - 1)) {\n\t\t\t// Need to resize the array if we max out the buffer\n\t\t\tresizeCache();\n\t\t}\n\t\tstringCache[cacheSize] = textString;\n\t\tcacheSize++;\n\t\tlength += textString.length();\n\t}", "private void appendStrBuf(char c) {\n if (strBufLen == strBuf.length) {\n char[] newBuf = new char[strBuf.length + BUFFER_GROW_BY];\n System.arraycopy(strBuf, 0, newBuf, 0, strBuf.length);\n strBuf = newBuf;\n }\n strBuf[strBufLen++] = c;\n }", "public void append(String fragment);", "public ILoLoString append(ILoString that) {\n return new ConsLoLoString(that, new MtLoLoString());\n }", "public void mo43852a(StringBuilder aLog) {\n }", "private void addNewLine(StringBuilder builder, String line){\r\n\t\tbuilder.append(line);\r\n\t\tbuilder.append(\"\\n\");\r\n\t}", "private String appendString(String randomDigitRid, String currentTimeStamp, String centreId, String dongleId) {\n\t\tStringBuilder stringBuilder = new StringBuilder();\n\t\tstringBuilder.append(centreId).append(dongleId).append(randomDigitRid).append(currentTimeStamp);\n\t\treturn (stringBuilder.toString().trim());\n\t}", "public TypescriptStringBuilder appendln() {\n return appendln(\"\");\n }", "public void append(String op) throws Exception \r\n\t{\n\t oWriter.write(lastString); \r\n\t lastString = new String(op); \r\n\t}", "public void append(MConstText srcText) {\r\n replace(length(), length(), srcText, 0, srcText.length());\r\n }", "private void appendLongStrBuf(char c) {\n if (longStrBufLen == longStrBuf.length) {\n char[] newBuf = new char[longStrBuf.length + BUFFER_GROW_BY];\n System.arraycopy(longStrBuf, 0, newBuf, 0, longStrBuf.length);\n longStrBuf = newBuf;\n }\n longStrBuf[longStrBufLen++] = c;\n }", "private void _add(final String value) {\n appended();\n\n buffer.encode(value);\n }", "public String plus(Object value) {\n return this.theString + value;\n }", "public static void append(final StringBuilder sbString,\n\t\t\tfinal String... strings) {\n\t\tsbString.ensureCapacity(sbString.length() + getLength(strings));\n\n\t\tfor (final String string : strings) {\n\t\t\tsbString.append(string);\n\t\t}\n\t}", "public void cogerLetra(String letra){\r\n sb.append(letra);\r\n }", "public MyStringBuilder2 append(MyStringBuilder2 b)\n\t{\n\t\tString str = b.toString();\n\t\t\n\t\tif(length == 0 && str != null) {\n\t\t\tCNode newNode = new CNode(str.charAt(0));\n\t\t\tfirstC = newNode;\n\t\t\tlastC = newNode;\n\t\t\tlength++;\n\t\t\trecursiveAppendString(str, 1);\n\t\t} else {\n\t\t\trecursiveAppendString(str, 0);\n\t\t}\n\t\t\n\t\tappend(str);\n\t\treturn this;\n\t\t\n\t}", "protected StringBuffer inlineValueSB(Environment env,\n Context ctx,\n StringBuffer buffer) {\n if (type != Type.tString) {\n // This isn't a concatenation. It is actually an addition\n // of some sort. Call the generic inlineValueSB()\n return super.inlineValueSB(env, ctx, buffer);\n }\n\n buffer = left.inlineValueSB(env, ctx, buffer);\n if (buffer != null) {\n buffer = right.inlineValueSB(env, ctx, buffer);\n }\n return buffer;\n }", "String concat(String... text);", "public static void main(String args[]){\n StringBuffer s1=new StringBuffer(\"Java\");\n System.out.println(s1); \n System.out.println(s1.capacity()); //Prints 16+4\n\n s1.append(\"Course\");\n s1.append(1); //Methods of String Buffer Class are overloaded for all primitive data types.\n s1.append(true);\n System.out.println(s1);\n\n StringBuffer s2=new StringBuffer(\"Learn \");\n s2.append(\"Java\").append(\" \").append(\"Happily\"); //Method Chaining\n System.out.println(s2);\n\n// Unlike String Class, + operator is not overloaded for concatenation in String Buffer Class. Hence s1+s2 results error. Only append can be used\n\n s1.delete(10,15); //Deletes from [10,15)\n System.out.println(s1);\n\n s1.insert(4,\" \");\n s1.insert(0,\"Fun \");\n s1.insert(4,\"with \");\n System.out.println(s1);\n\n //public synchronized StringBuffer replace(int startIndex, int endIndex)\n s1=s1.replace(3,14,\" \"); //Replaces everything between [start,end) with passed string\n System.out.println(s1);\n\n //public synchronized StringBuffer reverse(). No reverse method in String Class\n StringBuffer s3=s1.reverse();\n System.out.println(s3);\n System.out.println(s1); //s1 is also modified\n }", "public StringBuilder add(StringBuilder m, StringBuilder n)\n {\n \n int carryover=0 , sum=0;\n StringBuilder result=new StringBuilder();\n if(m.length()>=n.length())\n {\n n=align(n,m.length());\n }\n else{\n m=align(m,n.length());\n }\n \n String temp1=new String();\n String temp2=new String();\n for (int i=m.length()-1;i>=0;i--) {\n \n \n temp1=temp1+m.charAt(i);\n temp2=temp2+n.charAt(i);\n sum=Integer.parseInt(temp1)+Integer.parseInt(temp2)+carryover;\n //sum=(int) m.charAt(i)+(int)n.charAt(i)+carryover;\n if (sum>=10)\n {\n carryover=1;\n sum=sum-10;\n result.insert(0,sum);\n temp1=\"\";\n temp2=\"\";\n }\n else{\n carryover=0;\n result.insert(0,sum);\n temp1=\"\";\n temp2=\"\";\n } \n }\n if (carryover==1) {\n result.insert(0,carryover);\n }\n //int value=Integer.parseInt(result.toString());\n //result.delete(0,result.length());\n //result.append(value);\n //if (result.length()<m.length())\n // result=align(result,m);\n \n return result;\n \n }", "@Override\n public StringBuilder createAccumulator() {\n return null;\n }", "private void appendLongStrBuf(char[] arr) {\n for (int i = 0; i < arr.length; i++) {\n appendLongStrBuf(arr[i]);\n }\n }", "public static StringBuffer appendURL(StringBuffer buffer, String url) {\n\n\t\tByteBuffer byteBuffer = xmiCharset.encode(url);\n\t\tint limit = byteBuffer.limit();\n\t\tbyte[] bytes;\n\t\tint offset = 0;\n\n\t\tif (byteBuffer.hasArray()) {\n\t\t\tbytes = byteBuffer.array();\n\t\t\toffset = byteBuffer.arrayOffset();\n\t\t} else {\n\t\t\tbyteBuffer.get(bytes = new byte[limit], 0, limit);\n\t\t}\n\n\t\twhile (--limit >= 0) {\n\n\t\t\tchar c = (char) bytes[offset++];\n\n\t\t\tif (c == ' ')\n\t\t\t\tc = '+';\n\n\t\t\telse if (c < nonEncodedMin || nonEncodedMax < c\n\t\t\t\t|| !nonEncoded[c - nonEncodedMin]) {\n\t\t\t\tbuffer.append('%');\n\t\t\t\tbuffer.append(hexChars[(c >>> 4) & 0xF]);\n\t\t\t\tc = hexChars[c & 0xF];\n\t\t\t}\n\n\t\t\tbuffer.append(c);\n\t\t}\n\n\t\treturn buffer;\n\t}", "public ILoLoString append(ILoString that) {\n if (that.length() < 1) {\n return this;\n }\n else {\n return new ConsLoLoString(this.first, this.rest.append(that)); \n }\n }", "public static void main(String[] args) {\n\n\n String str = null;\n StringBuffer sb = new StringBuffer();\n sb.append(str);\n System.out.println(sb.length());//\n System.out.println(sb);//\n StringBuffer sb1 = new StringBuffer(str);\n System.out.println(sb1);//\n\n }", "public void append(String str) {\r\n\t\ttry {\r\n\t\t\tdoc.insertString(doc.getLength(), str, null);\r\n\t\t} catch (BadLocationException e) {\r\n\t\t\tSystem.err.println(e);\r\n\t\t}\r\n\t}", "private void consoleAppend(String string){\r\n sbCommandHistory.append(string);\r\n sbCommandHistory.append(\"\\n\");\r\n }", "@Override\n\tpublic final CharTerm append(CharSequence csq) { \n\t\tif (csq == null) // needed for Appendable compliance\n\t\t\treturn appendNull();\n\t\t\n\t\treturn append(csq, 0, csq.length());\n\t}", "private static void stringConcat(String[] ss, int n) {\n Timer t = new Timer(); \n String res = \"\";\n for (int i=0; i<n; i++) \n res += ss[i];\n System.out.format(\"Result length:%7d; time:%8.3f sec\\n\" , res.length(), t.Check());\n }", "public void append(String str) {\n\t\tta.append(str);\n\t\tta.setCaretPosition(ta.getText().length() - 1);\n\t}", "private void append (String str)\n {\n\tsynchronized (myToBeAppended)\n\t{\n\t myToBeAppended.append (str);\n\t myToBeAppended.notifyAll ();\n\t}\n }", "private static Object Stringbuilder() {\n\t\treturn null;\n\t}", "@Override\n\tpublic String toString() {\n\t\treturn \"append \" + maxCount + \" words to a StringBuilder\";\n\t}", "private static void encodeStringForAuditFieldReplaceString(StringBuilder sb, String oldString, String newString) {\n\n\t\tint index = sb.indexOf(oldString);\n\t\twhile (index >= 0) {\n\t\t\tsb.delete(index, index + oldString.length());\n\t\t\tsb.insert(index, newString);\n\t\t\tindex = sb.indexOf(oldString, index + newString.length());\n\t\t}\n\n\t}", "public native String appendItem(String newItem);", "private void add(String thestring) {\n\t\t\n\t}", "public static void fill(StringBuilder s, String d)\r\n\t{\r\n\t\tlong time = 0;\r\n\t\tlong t1 = 0;\r\n\t\tint character;\r\n\t\tBufferedReader br = null;\r\n\t\tint nc = 0;\r\n\t\ttry \r\n\t\t{\r\n\t\t\tbr = new BufferedReader(new FileReader(d));\r\n\t\t} \r\n\t\tcatch (FileNotFoundException e1) \r\n\t\t{\r\n\t\t\te1.printStackTrace();\r\n\t\t}\r\n\t\ttry \r\n\t\t{\r\n\t\t\tlong st1 = System.nanoTime();\r\n\t\t\tnc = 0;\r\n\t\t\twhile ((character = br.read()) != -1) \r\n\t\t\t{\r\n\t\t\t s.append((char)character); \r\n\t\t\t nc++;\r\n\t\t\t}\r\n\t\t\tlong et1 = System.nanoTime();\r\n\t\t\tt1 = et1 - st1;\r\n\t\t\ttime = t1/nc;\r\n\t\t} \r\n\t\tcatch (IOException e) \r\n\t\t{\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\tSystem.out.println(\"Average time for appending with StringBuilder: \" + time+ \"ns\" + \" for \" + nc + \" operations\");\r\n\t\tSystem.out.println(\"Total time for appending with StringBuilder: \" + t1+ \"ns\" + \" for \" + nc + \" operations\");\r\n\t}", "@Override\n protected ImpValue plusStr(StringValue sv) {\n return vf.makeStr(sv.getStrValue() + this.boolValue.toString());\n }", "private void append(String sAppend) throws Exception {\n\n\tString sFilename = null;\n\tFileWriter fw = null;\n\n\ttry {\n\t // Define the filename.\n\t sFilename = getMeasurementsFilename();\n\n\t // Append.\n\t fw = new FileWriter(sFilename, true);\n\t fw.write(sAppend);\n\t fw.close();\n\n\t} catch (Exception e) {\n\n\t // try writing to the /tmp file system.\n\t FileWriter fw2 = null;\n\t try {\n\t\tsFilename = \"/tmp/cqServiceUsage\";\n\t\tfw2 = new FileWriter(sFilename, true);\n\t\tfw2.write(sAppend);\n\t\tfw2.close();\n\t } catch (Exception e2) {\n\t\tthrow (e2);\n\t } finally {\n\t\tfw2 = null;\n\t }\n\t} finally {\n\t fw = null;\n\t}\n }", "public static void main(String[] args) {\n\t\tString s=\"abc\";\n\t\ts=s.concat(\"defg\");\n\t\ts.concat(\"ghi\");\n\t\tString s1=s,s2=s,s3=s,s4=s,s5=s;\n\t\tSystem.out.println(s);\n\t\tSystem.out.println(s1);\n\t\tSystem.out.println(s2);\n\t\tSystem.out.println(s3);\n\t\tSystem.out.println(s3);\n\t\tSystem.out.println(s4);\n\t\tSystem.out.println(s5);\n\t\t\n\t\t\n\t\tStringBuffer sb= new StringBuffer(\"abc\");\n\t\tsb.append(\"ABC\");\n\t\tStringBuffer sb1=sb,sb2=sb;\n\t\tSystem.out.println(sb);\n\t\tSystem.out.println(sb1);\n\t\tSystem.out.println(sb2);\n\t\t\n\t}", "public static void main(String[] args) {\n StringBuilder sb = new StringBuilder(\"Eu Programando\");\r\n StringBuilder sb2 = sb.append(\" nessa aula\");\r\n sb.append(\" mais uma coisa\");\r\n sb.append(\" e mais outra\");\r\n sb2.append(\" e mais uma pra finalizar\");\r\n\r\n // \"Eu programando\"\r\n // \"Eu programando nessa aula\"\r\n // \"Eu \"\r\n // \"Amando\"\r\n String s1 = \"Eu programando\";\r\n String s2 = s1.concat(\" nessa aula\");\r\n s1.substring(0,2);\r\n s1.replace(\"Eu Progra\", \"A\");\r\n\r\n System.out.println(\"#####################################\");\r\n System.out.println(\"StringBuilder sb: \" + sb);\r\n System.out.println(\"StringBuilder sb2: \" + sb2);\r\n System.out.println(\"String s1: \" + s1);\r\n System.out.println(\"String s2: \" + s2);\r\n }", "public static void fill(MyStringBuilder s, String d)\r\n\t{\r\n\t\tlong time = 0;\r\n\t\tlong t1 = 0;\r\n\t\tint character;\r\n\t\tBufferedReader br = null;\r\n\t\tint nc = 0;\r\n\t\ttry \r\n\t\t{\r\n\t\t\tbr = new BufferedReader(new FileReader(d));\r\n\t\t} \r\n\t\tcatch (FileNotFoundException e1) \r\n\t\t{\r\n\t\t\te1.printStackTrace();\r\n\t\t}\r\n\t\ttry \r\n\t\t{\r\n\t\t\tlong st1 = System.nanoTime();\r\n\t\t\tnc = 0;\r\n\t\t\twhile ((character = br.read()) != -1) \r\n\t\t\t{\r\n\t\t\t s.append((char)character); \r\n\t\t\t nc++;\r\n\t\t\t \r\n\t\t\t}\r\n\t\t\tlong et1 = System.nanoTime();\r\n\t\t\tt1 = et1 - st1;\r\n\t\t\ttime = t1/nc;\r\n\t\t} \r\n\t\tcatch (IOException e) \r\n\t\t{\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\tSystem.out.println(\"Average time for appending with MyStringBuilder: \" + time+ \"ns\" + \" for \" + nc + \" operations\");\r\n\t\tSystem.out.println(\"Total time for appending with MyStringBuilder: \" + t1+ \"ns\" + \" for \" + nc + \" operations\");\r\n\t\t\r\n\t}", "public void append(String str) {\r\n\t\tint i, length = str.length();\r\n\t\tfor (i = 0; i < length; i++) {\r\n\t\t\tchar ch = str.charAt(i); // get next character\r\n\r\n\t\t\t// skip escaped new_line\r\n\t\t\tif (ch == '\\\\' && i < length - 1) {\r\n\t\t\t\tif (str.charAt(i + 1) == LINE_SEPARATOR) {\r\n\t\t\t\t\ti = i + 2;\r\n\t\t\t\t\tcontinue;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t// update line-index\r\n\t\t\ttext.append(ch);\r\n\t\t\tif (ch == LINE_SEPARATOR)\r\n\t\t\t\tline_index.add(text.length());\r\n\t\t} // end for\r\n\t}", "private static StringBuilder addParamPrefix(String string2, StringBuilder stringBuilder) {\n int n = string2.indexOf(63);\n int n2 = stringBuilder.length() - 1;\n if (n == -1) {\n stringBuilder.append('?');\n return stringBuilder;\n } else {\n if (n >= n2 || string2.charAt(n2) == '&') return stringBuilder;\n {\n stringBuilder.append('&');\n return stringBuilder;\n }\n }\n }", "private static void append(String text) {\n // Print the same text to STDOUT\n System.out.println(text);\n\n try {\n outputFileBuffer.write(text+\"\\n\");\n outputFileBuffer.flush();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "public LinkedString concat(LinkedString str)\n {\n int num = this.length();\n for(int i = 0; i < str.length(); i++)\n {\n this.insert(num + i, str.charAt(i));\n }\n \n return this;\n }", "@Override\n public void getValueString(StringBuffer stringBuffer)\n {\n stringBuffer.append(val);\n\n }", "private String stringShortener(String str) {\n if (str.length() <= 5) {\n return str;\n }\n str = str.substring(0, 5);\n str = str + \"...\";\n return str;\n }", "public void concat2Strings(String s1, String s2)\r\n {\r\n // s1.concat(s2);\r\n ///sau\r\n s1=s1+s2;\r\n System.out.println(\"Stringurile concatenate sunt \"+s1);\r\n }", "private String fill(String[] chain) {\r\n\t\tString result = new String();\r\n\t\tfor (int i = 0; i < chain.length; i++) {\r\n\t\t\tresult += chain[i];\r\n\t\t}\r\n\t\treturn result;\r\n\t}", "private void collapse(StringBuffer result, String text) {\n \n }", "private void appendHex( StringBuffer buffer, int chars, String hex) {\n\t\tfor (int i=0; i < chars-hex.length(); i++) {\n\t\t\tbuffer.append(\"0\");\n\t\t}\n\t\tbuffer.append(hex);\n\t}", "public StringConcat(Block block, StringResult arg1, StringResult arg2) {\n\t\tsuper(block, arg1, arg2);\n\t}", "public static void appendValue(final StringBuilder stringBuilder, final Object obj) {\n if (!appendSpecificTypes(stringBuilder, obj)) {\n stringBuilder.append(obj);\n }\n }", "public StringBuilder target() { return out; }", "private void appendSetsToStringBuilder(StringBuilder stringBuilder) {\n\t\tfor (PayloadBuilderSet set : sets) {\n\t\t\tstringBuilder.append(\"\\n\");\n\t\t\tset.appendToStringBuilder(stringBuilder);\n\t\t}\n\t}", "public String toString() {\n\t\treturn String.format(\"Append \" + result.length() + \" chars to String\\n\" + \"final string length = \" + result.length());\n\t}", "private void createString(){\n for(int i=0;i<this.textPalindrome.length;i++){\n this.joinedTextPalindrome=this.joinedTextPalindrome.concat(this.textPalindrome[i]);\n }\n }", "public static void main(String[] args) {\n String string = \"test\";\n concat(string);\n System.out.println(string); // test \n}", "public MyStringBuilder2(String s)\n\t{\n\t\tif (s == null || s.length() == 0) // Special case for empty String\n\t\t{\t\t\t\t\t \t\t\t // or null reference\n\t\t\tfirstC = null;\n\t\t\tlastC = null;\n\t\t\tlength = 0;\n\t\t} else {\n\t\tthis.append(s);\n\t\t}\n\t}", "public static void main(String args[]) {\r\n\t\r\n\tString x=new String(\"kajol\");\r\n\tx.concat(\"kk\");\r\n\tSystem.out.println(x);\r\n\tString z=new String(\"kedia\");\r\n\tz=z.concat(\"k\");\r\n\tSystem.out.println(z);\r\n}", "public TypescriptStringBuilder appendln(final String chunk) {\n if (!chunk.endsWith(\"\\n\")) {\n return append(chunk + \"\\n\");\n }\n\n return append(chunk);\n }", "public static void shift(StringBuilder s){\n\t\t\n\t\t\n\t\t\n\t}", "public void appendLine() {\n\t\t\tmBuilder.append(NewLineChar);\n\t\t\tlastAppendNewLine = true;\n\t\t}", "public static void main(String[] args) {\n //StringCircularBuffer buffer = new StringCircularBuffer(10);\n CircularBuffer buffer = new CircularBuffer(10);\n buffer.offer(\"a\");\n buffer.offer(\"b\");\n buffer.offer(\"cd\");\n //buffer.offer(1);\n String value = concatenate(buffer);\n //System.out.println(value);\n\n }", "public void append(String newText) {\n getLock().getWriteLock();\n try {\n SelectionSetter noChange = new SelectionSetter(SelectionSetter.DO_NOT_CHANGE);\n PTextBuffer buffer = getTextBuffer();\n buffer.replace(noChange, buffer.length(), 0, newText, noChange);\n } finally {\n getLock().relinquishWriteLock();\n }\n }", "public IDnaStrand append(String dna);", "public void toStringBuilder(final StringBuilder sb) {\r\n sb.append(this.m_current);\r\n }", "public AppendableCharSequence append(CharSequence csq, int start, int end)\r\n/* 66: */ {\r\n/* 67: 78 */ if (csq.length() < end) {\r\n/* 68: 79 */ throw new IndexOutOfBoundsException();\r\n/* 69: */ }\r\n/* 70: 81 */ int length = end - start;\r\n/* 71: 82 */ if (length > this.chars.length - this.pos) {\r\n/* 72: 83 */ this.chars = expand(this.chars, this.pos + length, this.pos);\r\n/* 73: */ }\r\n/* 74: 85 */ if ((csq instanceof AppendableCharSequence))\r\n/* 75: */ {\r\n/* 76: 87 */ AppendableCharSequence seq = (AppendableCharSequence)csq;\r\n/* 77: 88 */ char[] src = seq.chars;\r\n/* 78: 89 */ System.arraycopy(src, start, this.chars, this.pos, length);\r\n/* 79: 90 */ this.pos += length;\r\n/* 80: 91 */ return this;\r\n/* 81: */ }\r\n/* 82: 93 */ for (int i = start; i < end; i++) {\r\n/* 83: 94 */ this.chars[(this.pos++)] = csq.charAt(i);\r\n/* 84: */ }\r\n/* 85: 97 */ return this;\r\n/* 86: */ }", "public static void buf(String text)\r\n\t{\r\n\t\tbuffer.append(text);\r\n\t}", "public static void addCDXElementToStringBuffer(Object element, StringBuilder sb) {\n\t\tif(element == null) {\n\t\t\tsb.append(\"-\");\n\t\t} else {\n\t\t\tString s = (element instanceof String) ? (String) element : element.toString();\n\t\t\tif(s.isEmpty()) {\n\t\t\t\tsb.append(\"-\");\n\t\t\t} else {\n\t\t\t\tsb.append(s);\n\t\t\t}\n\t\t}\n\t}", "protected StringBuilder toStringBuilder()\r\n/* 741: */ {\r\n/* 742:808 */ StringBuilder buf = new StringBuilder(64);\r\n/* 743:809 */ buf.append(StringUtil.simpleClassName(this));\r\n/* 744:810 */ buf.append('@');\r\n/* 745:811 */ buf.append(Integer.toHexString(hashCode()));\r\n/* 746: */ \r\n/* 747:813 */ Object result = this.result;\r\n/* 748:814 */ if (result == SUCCESS)\r\n/* 749: */ {\r\n/* 750:815 */ buf.append(\"(success)\");\r\n/* 751: */ }\r\n/* 752:816 */ else if (result == UNCANCELLABLE)\r\n/* 753: */ {\r\n/* 754:817 */ buf.append(\"(uncancellable)\");\r\n/* 755: */ }\r\n/* 756:818 */ else if ((result instanceof CauseHolder))\r\n/* 757: */ {\r\n/* 758:819 */ buf.append(\"(failure(\");\r\n/* 759:820 */ buf.append(((CauseHolder)result).cause);\r\n/* 760:821 */ buf.append(')');\r\n/* 761: */ }\r\n/* 762: */ else\r\n/* 763: */ {\r\n/* 764:823 */ buf.append(\"(incomplete)\");\r\n/* 765: */ }\r\n/* 766:825 */ return buf;\r\n/* 767: */ }", "public final void visit(final BinStringConcatenationExpression expression) {\n }", "org.hl7.fhir.String addNewValueString();", "public void setString(String line)\n {\n tempString = new StringBuilder(line);\n }" ]
[ "0.6632325", "0.65804356", "0.6515596", "0.6450851", "0.644939", "0.6428441", "0.63447756", "0.632565", "0.6261846", "0.62315387", "0.62123716", "0.62043244", "0.6193129", "0.6135519", "0.61315006", "0.61248595", "0.61248595", "0.6098165", "0.6080222", "0.6069861", "0.60690063", "0.6001672", "0.5983122", "0.596985", "0.5951301", "0.5899783", "0.5878733", "0.58627206", "0.58529276", "0.58515465", "0.585006", "0.584974", "0.5849068", "0.5769454", "0.5768892", "0.5762849", "0.5714014", "0.56414396", "0.5625979", "0.5617595", "0.56016314", "0.5576443", "0.55516917", "0.5539338", "0.55314875", "0.5516277", "0.5507394", "0.5481269", "0.54762936", "0.5466578", "0.5451484", "0.5444516", "0.54251444", "0.5421009", "0.5418672", "0.53986305", "0.5389731", "0.5381928", "0.5371056", "0.5368228", "0.5361156", "0.5348802", "0.5344918", "0.533514", "0.5328137", "0.53243256", "0.53190947", "0.53133416", "0.5301994", "0.5293311", "0.52921474", "0.52769554", "0.52752465", "0.5273812", "0.5270538", "0.5262565", "0.5257865", "0.52543867", "0.5232879", "0.52213633", "0.52160525", "0.5215607", "0.521008", "0.52055216", "0.5200157", "0.5196097", "0.51910985", "0.5184242", "0.5175672", "0.51690626", "0.5163004", "0.51495844", "0.51481473", "0.5142786", "0.51392215", "0.513899", "0.5135164", "0.5134338", "0.5134223", "0.5128565", "0.512616" ]
0.0
-1
/ Long version int lastPrisoner = (prisonerID + sweets 1) % prisoners; lastPrisoner = (lastPrisoner == 0) ? prisoners : lastPrisoner;
private static void saveThePrisoner(int prisoners, int sweets, int prisonerID) { int lastPrisoner = (((prisonerID - 1 + sweets - 1) % prisoners) + 1); System.out.println(lastPrisoner); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "static int roll() {\n\t\tRandom rand = new Random();\t\t\t\t//get large random number\n\t\tint num2 = rand.nextInt();\t\t\t\t//convert from long to int\n\t\treturn Math.abs(num2%6)+1;\t\t\t\t//num between 1 and 6\n\t}", "public long calHurt() {\n/* 82 */ return 0L;\n/* */ }", "private int getNextPlayer() {\n int nextPlayerID = ((currentTurn + turnOrder) % numPlayers);\n nextPlayerID = (((nextPlayerID + numPlayers) % numPlayers)); // handles negative numbers\n return nextPlayerID;\n }", "protected abstract long getNextID(long ID);", "public static final int followUp() {\n // 36^5 < 2^31 - 1 (range of int)\n return 5;\n }", "final int wrap(int p) {\n int r = p % size();\n if (r < 0) {\n r += size();\n }\n return r;\n }", "public void incrementCount () {\n count = count + 1; // == count++ == count += 1 \n if (count == modulus) {\n count = 0;\n }\n }", "public abstract long nextLong();", "public int nextHashForEqual() {\n\t/* This actually needs to roll over the UInt32 limit. */\n\tmyCount = myCount + 1;\n\treturn myCount;\n/*\nudanax-top.st:16757:FakePacker methodsFor: 'shepherds'!\n{UInt32} nextHashForEqual\n\t\"Shepherds use a sequence number for their hash. Return the next one\n\t and increment. This should actually spread the hashes.\"\n\t\"This actually needs to roll over the UInt32 limit.\"\n\tmyCount _ myCount + 1.\n\t^ myCount!\n*/\n}", "int pacemodulator() {\n int buckpacedirector = ((rand.nextInt() >> rightshift) & 7);\n int rbuckpacedirector = 0;\n\n rbuckpacedirector = switch (buckpacedirector)\n {\n case 0 -> 2;\n case 1 -> 3;\n case 2 -> 4;\n case 3 -> 5;\n case 4 -> 6;\n case 5 -> 7;\n case 6 -> 8;\n default -> 1;\n };\n return rbuckpacedirector;\n }", "@Override\n public String solve() {\n\n long firstCoin = 1504170715041707L;\n long modValue = 4503599627370517L;\n //System.out.println(\"Second Coin \" + (firstCoin - (4503599627370517L % firstCoin)));\n long secondCoin = firstCoin - (modValue % firstCoin);\n long ans = firstCoin + secondCoin;\n while(secondCoin > 1) {\n modValue = firstCoin;\n firstCoin = secondCoin;\n secondCoin = firstCoin - (modValue % firstCoin);\n //System.out.println(secondCoin);\n ans += secondCoin;\n }\n return Long.toString(ans);\n }", "@Override\n\tpublic Long getNextPjpeNo(Long pjId) {\n\t\tSession session = sessionAnnotationFactory.getCurrentSession();\t\t\n\t\tQuery query =session.createQuery( \"select max(pstJobPayExt.id.pjpeNo) from PstJobPayExt pstJobPayExt where pstJobPayExt.id.pjId=\"+pjId);\n\t\tObject obj=query.uniqueResult();\n\t\tif(obj!=null){\n\t\t\treturn ((Long)obj)+1;\n\t\t}\n\t\treturn 1l;\n\t}", "public static void main(String[] args) {\n long number = 6857;\n long i = 2;\n while ((number / i != 1) || (number % i != 0)) {\n if (number % i == 0) {\n number = number / i;\n } else {\n i++;\n }\n }\n System.out.println(i);\n\n }", "private static long finishUp(long hash) {\n hash ^= hash >>> 33;\n hash *= P2;\n hash ^= hash >>> 29;\n hash *= P3;\n hash ^= hash >>> 32;\n return hash;\n }", "long getFromRank();", "@Override\n\t\tpublic int hashCode() {\n\t\t\tSystem.out.println(\"hashCode for \" + roll_no);\n\t\t\treturn roll_no % 10;\n\t\t}", "public synchronized long nextPm(){\n\t\treturn pm++;\n\t}", "long nextLong();", "long nextLong();", "long getAndIncrement();", "@Override\n public long nextLong() {\n return super.nextLong();\n }", "private int getLastIDRisposte() {\n\n\t\tArrayList<Integer> risposteIdList = new ArrayList<>();\n\t\trisposteIdList.add(0);\n\t\tDB db = getDB();\t\t\n\t\tMap<Long, Risposta> risposte = db.getTreeMap(\"risposte\");\n\t\t\n\t\tfor(Map.Entry<Long, Risposta> risposta : risposte.entrySet())\n\t\t\tif(risposta.getValue() instanceof Risposta)\n\t\t\t\trisposteIdList.add(risposta.getValue().getId());\n\t\t\n\t\tInteger id = Collections.max(risposteIdList);\n\t\treturn id;\n\t}", "long getAndDecrement();", "private void m15513b(long j) {\n if (mo9140c() != null) {\n this.f13396d.f11688z = System.currentTimeMillis();\n int intValue = ((Integer) this.f13396d.get(\"data_pk_anchor_score\")).intValue();\n int intValue2 = ((Integer) this.f13396d.get(\"data_pk_guest_score\")).intValue();\n if (intValue > intValue2) {\n this.f13396d.lambda$put$1$DataCenter(\"data_pk_result\", PkResult.LEFT_WON);\n } else if (intValue < intValue2) {\n this.f13396d.lambda$put$1$DataCenter(\"data_pk_result\", PkResult.RIGHT_WON);\n } else {\n this.f13396d.lambda$put$1$DataCenter(\"data_pk_result\", PkResult.EVEN);\n }\n this.f13396d.lambda$put$1$DataCenter(\"data_pk_state\", PkState.PENAL);\n if (j <= 0) {\n this.f13396d.lambda$put$1$DataCenter(\"data_pk_state\", PkState.FINISHED);\n }\n int i = (int) (j / 1000);\n int i2 = (int) (j % 1000);\n if (this.f13399i != null) {\n this.f13399i.dispose();\n this.f13399i = null;\n }\n this.f13399i = C9057b.m27050a(0, 1, TimeUnit.SECONDS).mo19305c((long) (i + 1)).mo19320e((long) i2, TimeUnit.MILLISECONDS).mo19317d((C7327h<? super T, ? extends R>) new C4703fw<Object,Object>(i)).mo19294a(C47549a.m148327a()).mo19280a((C7326g<? super T>) new C4704fx<Object>(this), (C7326g<? super Throwable>) new C4705fy<Object>(this));\n }\n }", "@Test\n public void test(){\n int a = 3;\n int b = 6;\n System.out.println(a % b);\n System.out.println(Long.MAX_VALUE);\n }", "public static int getPollNumber(int p) {\n int adCount = 0;\n p++;\n if(p <= 10) return (p-1);\n int tmp = p - 11;\n adCount++;\n while (tmp >= 5) {\n tmp -= 6;\n if(tmp >= 0)\n adCount++;\n }\n if(tmp%5 == 0) return -1;\n return (p - adCount - 1);\n }", "private int previousLongPrimary(int ce)\n {\n m_CEBufferSize_ = 0;\n m_CEBuffer_[m_CEBufferSize_ ++] =\n ((ce & 0xFFFF00) << 8) | (CE_BYTE_COMMON_ << 8) | CE_BYTE_COMMON_;\n m_CEBuffer_[m_CEBufferSize_ ++] = ((ce & 0xFF) << 24)\n | RuleBasedCollator.CE_CONTINUATION_MARKER_;\n m_CEBufferOffset_ = m_CEBufferSize_ - 1;\n return m_CEBuffer_[m_CEBufferOffset_];\n }", "static void pregenFact() \n\t{ \n\t\tfact[0] = fact[1] = 1; \n\t\tfor (int i = 1; i <= 1000000; ++i) \n\t\t{ \n\t\t\tfact[i] = (int) ((long) fact[i - 1] * i % mod); \n\t\t} \n\t}", "protected int nextInt(int p_75902_1_) {\n/* 135 */ int var2 = (int)((this.chunkSeed >> 24) % p_75902_1_);\n/* */ \n/* 137 */ if (var2 < 0)\n/* */ {\n/* 139 */ var2 += p_75902_1_;\n/* */ }\n/* */ \n/* 142 */ this.chunkSeed *= (this.chunkSeed * 6364136223846793005L + 1442695040888963407L);\n/* 143 */ this.chunkSeed += this.worldGenSeed;\n/* 144 */ return var2;\n/* */ }", "private int getNum() {\r\n int i = currentNum.incrementAndGet();\r\n if (i < 0)\r\n i = -i;\r\n return i % n;\r\n }", "private int rankMethod()\r\n {\r\n\treturn spinTheWheel();\r\n }", "public long getUniversalDeal() {\r\n/* 275 */ return this._universalDeal;\r\n/* */ }", "private static int getNextID() {\n return persons.get(persons.size() - 1).getId() + 1;\n }", "long getSpokes();", "private int aleatorizarNaipe() {\n\t\tint aux;\n\t\taux = r.getIntRand(4);\n\t\treturn aux;\n\t}", "private int h1(int p){\n\t\t return p % table.length;\n\t}", "@Override\n public String run() {\n long sum = 0;\n int limit = 2000000;\n for (int num = 2; num < limit; num++){\n if(isPrime(num)){\n sum += num;\n }\n }\n return Long.toString(sum);\n }", "long sum(long[] a, int l, int r) {\n return l <= 0 ? a[r] : (a[r] + mod - a[l - 1]) % mod;\n }", "protected static void endPartial(long[] h) {\n h[11] += h[1]; \n h[2] ^= h[11]; \n h[1] = (h[1] << 44) | (h[1] >>> 20);\n h[0] += h[2]; \n h[3] ^= h[0]; \n h[2] = (h[2] << 15) | (h[2] >>> 49);\n h[1] += h[3]; \n h[4] ^= h[1]; \n h[3] = (h[3] << 34) | (h[3] >>> 30);\n h[2] += h[4]; \n h[5] ^= h[2]; \n h[4] = (h[4] << 21) | (h[4] >>> 43);\n h[3] += h[5]; \n h[6] ^= h[3]; \n h[5] = (h[5] << 38) | (h[5] >>> 26);\n h[4] += h[6]; \n h[7] ^= h[4]; \n h[6] = (h[6] << 33) | (h[6] >>> 31);\n h[5] += h[7]; \n h[8] ^= h[5]; \n h[7] = (h[7] << 10) | (h[7] >>> 54);\n h[6] += h[8]; \n h[9] ^= h[6]; \n h[8] = (h[8] << 13) | (h[8] >>> 51);\n h[7] += h[9]; \n h[10] ^= h[7]; \n h[9] = (h[9] << 38) | (h[9] >>> 26);\n h[8] += h[10]; \n h[11] ^= h[8]; \n h[10] = (h[10] << 53) | (h[10] >>> 11);\n h[9] += h[11]; \n h[0] ^= h[9]; \n h[11] = (h[11] << 42) | (h[11] >>> 22);\n h[10] += h[0]; \n h[1] ^= h[10]; \n h[0] = (h[0] << 54) | (h[0] >>> 10);\t\t\n\t}", "public long getUserID() {\n //userID++;\n return userID++;\n }", "public static long nextIdAlergia() {\r\n long ret = 0;\r\n for (int i = 0; i < Utilidades.ALERGIAS.length; i++) {\r\n if (Utilidades.ALERGIAS[i].id > ret);\r\n ret = Utilidades.ALERGIAS[i].id;\r\n }\r\n return ret + 1;\r\n }", "private long nextLong(long n) {\n long bits;\n long val;\n do {\n bits = (rnd.nextLong() << 1) >>> 1;\n val = bits % n;\n } while (bits - val + (n - 1) < 0L);\n return val;\n }", "protected final long seedRoll() {\r\n Long time = System.currentTimeMillis();\r\n String hexSeed = String.format(\"%x\", new BigInteger(1, mGame.getSeed().getBytes()));\r\n Long seed = Long.parseLong(hexSeed, 16);\r\n\r\n return time + seed;\r\n }", "public String getNextRoundLeader(int a_round)\n {\n int i = 0;\n for (; i < m_roundLeaders.size(); i++)\n {\n if (getInitiator().equals(m_roundLeaders.get(i)))\n break;\n }\n int index = (i + a_round) % m_roundLeaders.size();\n String g = (String) m_roundLeaders.get(index);\n return g;\n }", "public void setNumDeparting() {\n if (isStopped() && !embarkingPassengersSet){\n \tRandom rand = new Random();\n \tint n = rand.nextInt(this.numPassengers+1);\n \tif (this.numPassengers - n <= 0) {\n \t\tthis.numPassengers = 0;\n n = this.numPassengers;\n \t} else {\n this.numPassengers = this.numPassengers - n;\n }\n trkMdl.passengersUnboarded(trainID, n);\n }\n \t//return 0;\n }", "private int nextLongPrimary(int ce)\n {\n m_CEBuffer_[1] = ((ce & 0xFF) << 24)\n | RuleBasedCollator.CE_CONTINUATION_MARKER_;\n m_CEBufferOffset_ = 1;\n m_CEBufferSize_ = 2;\n m_CEBuffer_[0] = ((ce & 0xFFFF00) << 8) | (CE_BYTE_COMMON_ << 8) |\n CE_BYTE_COMMON_;\n return m_CEBuffer_[0];\n }", "private int roulette()\r\n {\r\n\treturn spinTheWheel();\r\n }", "public int roll() {\n int result = ThreadLocalRandom.current().nextInt(SIDES+1) + 1;// standard 1-7\n if(result == 7){ //LoadedDie 6 occurs twice as often\n return 6;\n } else{\n return result;\n }\n }", "private synchronized static String getNextNumber() {\n String toReturn;\n String number = String.valueOf(Math.round(Math.random() * 89999) + 10000);\n if(meetings.containsKey(number)) {\n toReturn = getNextNumber();\n } else {\n toReturn = number;\n }\n return toReturn;\n }", "private String getNext() {\n \t\t\n \t\tArrayList<String> reel = game.getType().getReel();\n \t\t\n \t\tRandom generator = new Random();\n \t\tint id = generator.nextInt(reel.size());\n \t\t\n \t\tString nextID = reel.get(id);\n \t\tString[] idSplit = nextID.split(\"\\\\:\");\n \t\t\n \t\tif (idSplit.length == 2) {\n \t\t\treturn nextID;\n \t\t}else {\n \t\t\tString newID;\n \t\t\tnewID = Integer.parseInt(idSplit[0]) + \":0\";\n \t\t\t\n \t\t\treturn newID;\n \t\t}\n \t}", "public int nextPlayer() {\n// int count = 0;\n// for (int i = 0; i < playersArray.length; i++)\n// if (playersArray[i]<0)\n// count++;\n//\n// if (\n do {\n player = (player + 1) % numberPlayers;\n } while (playersArray[player] < 0);\n return player;\n }", "@Override\r\n\tpublic int computeNextVal(boolean prediction) {\n\t\treturn (int) (Math.random()*10)%3;\r\n\t}", "long getLaenge() {\n long leange = 0;\n for (Song song : songlist) {\n if (song != null)\n leange += song.getLeange();\n }\n return leange;\n }", "public static void main(String[] args) {\n\r\n\t\tlong ln= 6008514751431L;\r\n\t\tint max=0;\r\n\t\tfor (int i=2; i<= ln;i++)\r\n\t\t\twhile (ln % i == 0)\r\n\t\t\t{\r\n\t\t\t\tif(i>max)\r\n\t\t\t\tmax=i;\r\n\t\t\t\tln/=i;\r\n\t\t\t}\t\r\n\t\tSystem.out.println(\"the greatest prime factor of the given number is :\"+max);\r\n\t\t}", "public int getNewNumber() {\r\n int num;\r\n num=unusedLockers.get(0);\r\n unusedLockers.remove(0);\r\n return num;\r\n }", "private static int cprModFunction(int a, int b) {\n\t\tint res = a % b;\n\t\tif (res < 0)\n\t\t\tres += b;\n\t\treturn res;\n\t}", "long buscarUltimo();", "public static void main(String[] args) {\n\t\tint limit = 100000;\n\t\tint num = 10000;\n\t\tint counter = num;\n\t\tint extraNum = 0;\n\n\t\t//Cheking which numbers from 10000 to 99999 are palyndroms and prime numbers\n\t\twhile (counter < limit) {\n\t\t\t// Making reversed number\n\t\t\tnum = counter;\n\t\t\textraNum = 0;\n\t\t\twhile (num / 10 > 0) {\n\t\t\t\textraNum = extraNum * 10 + num % 10;\n\t\t\t\tnum /= 10;\n\t\t\t}\n\n\t\t\t// Adding last digit\n\t\t\textraNum = extraNum * 10 + num % 10;\n\n\t\t\t// Checking if number is palyndrom\n\t\t\tif (counter == extraNum) {\n\t\t\t\t//Checking if palyndrom is prime number\n\t\t\t\tint counter2 = 2;\n\t\t\t\twhile(counter % counter2 != 0){\n\t\t\t\t\tcounter2++;\n\t\t\t\t}\n\t\t\t\tif (counter2 == counter){\t\t\n\t\t\t\t\tSystem.out.println(\"Number \" + counter + \" is prime number and palyndrom.\");\n\t\t\t\t}\t\t\n\t\t\t}\n\t\t\t\n\t\t\tcounter++;\n\t\t}\n\t}", "public long method_4106() {\n return 0L;\n }", "public static void main(String[] args) {\n\t\tBigInteger number = new BigInteger(Long.MAX_VALUE + \"\");\r\n\t\tnumber = number.add(BigInteger.ONE);\r\n\t\t\r\n\t\tint count = 0;\r\n\t\twhile (count < 5){\r\n\t\t\tif (isPrime(number)){\r\n\t\t\t\tcount++;\r\n\t\t\t\tSystem.out.println(number);\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t//increment number by 1\r\n\t\t\tnumber = number.add(BigInteger.ONE);\r\n\t\t\t\r\n\t\t}\r\n\t}", "public long getHurtVal() {\n/* 133 */ return this.hurtVal;\n/* */ }", "public static int getLastPesananID(){\n return LAST_PESANAN_ID;\n }", "public void prlns(long a) {\n\t\tSystem.out.println(a);\r\n\t}", "private static int lpf(int i) {\n\t\tint j = i-1;\n\t\twhile(j>=2) {\n\t\t\tif (i%j == 0 && checkifprime(j)) {\n\t\t\t\treturn j;\n\t\t\t}\n\t\t\tj--;\n\t\t}\n\t\treturn 2;\n\t}", "protected long getUniqueLong(FieldDescriptor field) throws SequenceManagerException\n {\n return ++tempKey;\n }", "public int getNextWormholeID()\n \t{\n \t\tint maxId = -1;\n \t\tfor (final Integer id : aWormholes.keySet()) {\n \t\t\tmaxId = Math.max(maxId, id);\n \t\t}\n \t\treturn maxId + 1;\n \t}", "protected final int calculateInterst1(int pr){\n\t\t return pr*10*1/100;\n\t }", "public int privousPlayer() {\n do {\n if (player != 0) {\n player --;\n } else {\n player = playersArray[playersArray.length - 1];\n }\n } while (playersArray[player] < 0);\n return player;\n }", "public long getLongLE(int index)\r\n/* 405: */ {\r\n/* 406:419 */ ensureAccessible();\r\n/* 407:420 */ return _getLongLE(index);\r\n/* 408: */ }", "private static int nextID() {\r\n\t\treturn ID++;\r\n\t}", "public int rollResult(){\r\n return rand.nextInt(6) + 1;\r\n }", "public long method_4107() {\n return 0L;\n }", "private void roll() {\n value = (int) (Math.random() * MAXVALUE) + 1;\n }", "static int random(int mod)\n {\n Random rand = new Random();\n int l= (rand.nextInt());\n if(l<0)\n l=l*-1;\n l=l%mod;\n return l;\n }", "public UUID rollWinner() {\r\n\t\tint ticketCount = 0;\r\n\t\tfor(int value : tickets.values()) {\r\n\t\t\tticketCount += value;\r\n\t\t}\r\n\t\tif(ticketCount < minParticipantCount) {\r\n\t\t\treturn null;\r\n\t\t}\r\n\t\r\n\t\tList<UUID> ticketList = getParticipants();\r\n\t\tRandom r = new Random();\r\n\t\tUUID winner = ticketList.get(r.nextInt(ticketList.size()));\r\n\t\treturn winner;\r\n\t}", "private int nextValidID() {\n return nextId++;\n }", "private static int wrap(int a, int b)\n {\n return (a < 0) ? (a % b + b) : (a % b);\n }", "static public Long randomval() {\n Random rand = new Random();\n Long val = rand.nextLong() % p;\n return val;\n }", "public void setpremiumcounter() {\n\t\tmPref.edit().putInt(PREF_CONVERTED, -1).commit();\r\n\t}", "int getNextProcessor(Job newJob) {\n if (Tasks[newJob.identifier].fixed == true) {\r\n return (0);\r\n\r\n } else {\r\n\r\n int processor = 0;\r\n int identifier = newJob.identifier;\r\n double tempLag = -10; //needs to be big at first, so that it chooses the \r\n\r\n for (int i = 0; i < this.Tasks[newJob.identifier].numMigrations; i++) {\r\n \r\n this.Tasks[identifier].lag[this.Tasks[identifier].index[i]] = this.Tasks[identifier].lag[this.Tasks[identifier].index[i]]+ this.Tasks[identifier].f[this.Tasks[identifier].index[i]];\r\n double tempLag2 = this.Tasks[identifier].lag[this.Tasks[identifier].index[i]];\r\n\r\n if (tempLag2 > tempLag) { //tempLag will be 0 the first time, and thus smaller\r\n tempLag = tempLag2;\r\n processor = i;\r\n }\r\n }\r\n\r\n Tasks[identifier].lag[this.Tasks[identifier].index[processor]] = Tasks[identifier].lag[this.Tasks[identifier].index[processor]] - 1;\r\n return (processor);\r\n }\r\n }", "public abstract long mo9743h();", "final int getShareOfOne() { return getPlayerId() == 0 ? 1 : 0; }", "public abstract long mo24409b();", "public long getPurityReportID() {\n //purityReportID++;\n return purityReportID++;\n }", "private void getLastId() {\n for (int i = 0; i < remindersTable.getRowCount(); i++) {\n if (parseInt(remindersTable.getValueAt(i, 7).toString()) > maxId) {\n maxId = parseInt(remindersTable.getValueAt(i, 7).toString());\n }\n }\n }", "private int grabANewNumberForTest() {\n clockPanel.updateTestClock(testNumbersList);\n if (testNumbersList.size() == 0) {\n testOver();\n }\n return testNumbersList.remove((int)(Math.random()*testNumbersList.size()));\n }", "private int rollDie() {\r\n final SecureRandom random = new SecureRandom();\r\n return random.nextInt(6 - 1) + 1;\r\n }", "public void geldCheat() {\n if (geld + 1000000 < Long.MAX_VALUE) {\n geld = geld + 1000000;\n ticker.neueNachricht(\"Korruptionsverdacht bei Stadtwerken!\");\n }\n }", "java.lang.Long getToasterDoneness();", "public void setPlayerRoll20()\r\n {\r\n \r\n roll2 = ((int)(Math.random() * 100) % HIGHEST_DIE_VALUE20 + LOWEST_DIE_VALUE20);\r\n \r\n }", "void milestone3(){\n for(int i = 2; i <= 100; i++){\n int count = 0;\n for(int j = 1; j <= i; j++)\n if(i % j == 0) count += 1;\n if(count > 2) continue;\n else System.out.print(i + \" \");\n }\n System.out.println();\n }", "public static int getMyLuckyNum() {\n\t\treturn 7;\n\t}", "public abstract long mo20901UQ();", "private static synchronized String getNextID() {\r\n\t\tlastID = lastID.add(BigInteger.valueOf(1));\r\n\t\t\r\n\t\treturn lastID.toString();\r\n\t}", "public Long getRemainNum() {\n return remainNum;\n }", "private void m19310n(Long l) {\n if (l.longValue() > 0) {\n String by = C8759b.m25586by(l.longValue());\n if (!TextUtils.isEmpty(by)) {\n ((C6637c) getMvpView()).mo29960i(mo30015io(by));\n }\n }\n }", "int getParticipantNum(long runningSportId);", "public int getModCount() {\n return 1;\n }", "@Override\n public final long nextLong() { \n final long b = (stateB += 0x9E3779B97F4A7C15L) | 1L, z;\n if(b <= 0xBC6EF372FE94F82CL) stateA += 0x6C8E9CF570932BD5L;\n z = (stateA ^ stateA >>> 28) * b;\n return z ^ z >>> 28;\n// final long s = (stateA += 0x9E3779B97F4A7C15L);\n// if(s == 0L)\n// stateB -= 0x6C8E9CF570932BD5L;\n// final long z = (s ^ s >>> 28) * ((stateB += 0x6C8E9CF570932BD5L) | 1L);\n// return z ^ z >>> 28;\n\n }", "private int getNextMutator()\n\t{\n\t\t\n\t\tif (mutatingHeuristics.size()==0)\n\t\t\treturn -1;\n\t\telse\n\t\t\treturn mutatingHeuristics.get(rng.nextInt(mutatingHeuristics.size()));\n\t}" ]
[ "0.5934001", "0.5522569", "0.5492331", "0.54538846", "0.5437437", "0.53837734", "0.53767335", "0.53757435", "0.53582406", "0.53571075", "0.53215456", "0.531683", "0.5305705", "0.5257391", "0.5253495", "0.52311057", "0.5228881", "0.52256477", "0.52256477", "0.52175736", "0.5212226", "0.5202402", "0.519738", "0.5188956", "0.51817685", "0.5175827", "0.51694345", "0.5165527", "0.5151119", "0.5134468", "0.51317805", "0.51196885", "0.51195973", "0.51154363", "0.51129675", "0.5107665", "0.5106738", "0.50974435", "0.5081806", "0.5080572", "0.50769293", "0.50430626", "0.50375074", "0.50362337", "0.50257826", "0.50221866", "0.501941", "0.5015579", "0.50141025", "0.5010412", "0.5001131", "0.49918884", "0.4977971", "0.4973504", "0.4963035", "0.49568903", "0.49567974", "0.49543747", "0.4951594", "0.4946402", "0.49426", "0.49419066", "0.4941153", "0.49369773", "0.4933281", "0.49257475", "0.49212164", "0.49204704", "0.49201196", "0.49187312", "0.4916947", "0.49158403", "0.49136102", "0.49119663", "0.49044225", "0.49016827", "0.48970446", "0.48946866", "0.48803952", "0.48800892", "0.48784345", "0.48750156", "0.48739275", "0.48731816", "0.48726887", "0.48720554", "0.48671106", "0.48664048", "0.48643988", "0.48621818", "0.48618022", "0.48573276", "0.48544833", "0.4849844", "0.4849365", "0.48492408", "0.4847667", "0.4846265", "0.4845245", "0.48436165" ]
0.724769
0
TODO Autogenerated method stub
public String getDailyFortune() { return ifortune.getFortune(); }
{ "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 getExras() {\n\n\t}", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n protected void getExras() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\tpublic void nefesAl() {\n\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "@Override\n\tprotected void initdata() {\n\n\t}", "@Override\n\tpublic void nghe() {\n\n\t}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "public final void mo51373a() {\n }", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\n\tprotected void initData() {\n\t\t\n\t}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}", "public void designBasement() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}", "public void gored() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\r\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "@Override\n protected void initialize() {\n\n \n }", "public void mo38117a() {\n }", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "Constructor() {\r\n\t\t \r\n\t }", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\n\tpublic void one() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "private stendhal() {\n\t}", "@Override\n\tprotected void update() {\n\t\t\n\t}", "@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n public void init() {\n\n }", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "public contrustor(){\r\n\t}", "@Override\n\tprotected void initialize() {\n\n\t}", "@Override\r\n\tpublic void dispase() {\n\r\n\t}", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "@Override\n\tpublic void dtd() {\n\t\t\n\t}", "@Override\n\tprotected void logic() {\n\n\t}", "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "public void mo4359a() {\n }", "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "@Override\n public void memoria() {\n \n }", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "private RepositorioAtendimentoPublicoHBM() {\r\t}", "@Override\n protected void initialize() \n {\n \n }", "@Override\r\n\tpublic void getProposition() {\n\r\n\t}", "@Override\n\tpublic void particular1() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n protected void prot() {\n }", "@Override\r\n\tpublic void init()\r\n\t{\n\t}", "@Override\n\tprotected void initValue()\n\t{\n\n\t}", "public void mo55254a() {\n }" ]
[ "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.6080161", "0.6077022", "0.6041561", "0.6024072", "0.6020252", "0.59984857", "0.59672105", "0.59672105", "0.5965777", "0.59485507", "0.5940904", "0.59239364", "0.5910017", "0.5902906", "0.58946234", "0.5886006", "0.58839184", "0.58691067", "0.5857751", "0.58503544", "0.5847024", "0.58239377", "0.5810564", "0.5810089", "0.5806823", "0.5806823", "0.5800025", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5790187", "0.5789414", "0.5787092", "0.57844025", "0.57844025", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5761362", "0.57596046", "0.57596046", "0.575025", "0.575025", "0.575025", "0.5747959", "0.57337177", "0.57337177", "0.57337177", "0.5721452", "0.5715831", "0.57142824", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.5711723", "0.57041645", "0.56991017", "0.5696783", "0.56881124", "0.56774884", "0.56734604", "0.56728", "0.56696945", "0.5661323", "0.5657007", "0.5655942", "0.5655942", "0.5655942", "0.56549734", "0.5654792", "0.5652974", "0.5650185" ]
0.0
-1
/ renamed from: a
public void mo2186a(Canvas canvas, RectF rectF, float f, Paint paint) { Canvas canvas2 = canvas; RectF rectF2 = rectF; float f2 = 2.0f * f; float width = (rectF.width() - f2) - 1.0f; float height = (rectF.height() - f2) - 1.0f; if (f >= 1.0f) { float f3 = f + 0.5f; float f4 = -f3; C0315c.this.f1366a.set(f4, f4, f3, f3); int save = canvas.save(); canvas2.translate(rectF2.left + f3, rectF2.top + f3); Paint paint2 = paint; canvas.drawArc(C0315c.this.f1366a, 180.0f, 90.0f, true, paint2); canvas2.translate(width, 0.0f); canvas2.rotate(90.0f); canvas.drawArc(C0315c.this.f1366a, 180.0f, 90.0f, true, paint2); canvas2.translate(height, 0.0f); canvas2.rotate(90.0f); canvas.drawArc(C0315c.this.f1366a, 180.0f, 90.0f, true, paint2); canvas2.translate(width, 0.0f); canvas2.rotate(90.0f); canvas.drawArc(C0315c.this.f1366a, 180.0f, 90.0f, true, paint2); canvas2.restoreToCount(save); float f5 = (rectF2.left + f3) - 1.0f; float f6 = rectF2.top; canvas.drawRect(f5, f6, (rectF2.right - f3) + 1.0f, f6 + f3, paint2); float f7 = (rectF2.left + f3) - 1.0f; float f8 = rectF2.bottom; canvas.drawRect(f7, f8 - f3, (rectF2.right - f3) + 1.0f, f8, paint2); } canvas.drawRect(rectF2.left, rectF2.top + f, rectF2.right, rectF2.bottom - f, paint); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed from: a */\n void mo85415a(String str);\n }", "interface C10331b {\n /* renamed from: a */\n void mo26876a(int i);\n }", "public interface C0779a {\n /* renamed from: a */\n void mo2311a();\n}", "public interface C6788a {\n /* renamed from: a */\n void mo20141a();\n }", "public interface C0237a {\n /* renamed from: a */\n void mo1791a(String str);\n }", "public interface C35013b {\n /* renamed from: a */\n void mo88773a(int i);\n}", "public interface C11112n {\n /* renamed from: a */\n void mo38026a();\n }", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "public interface C23407b {\n /* renamed from: a */\n void mo60892a();\n\n /* renamed from: b */\n void mo60893b();\n }", "interface C0312e {\n /* renamed from: a */\n void mo4671a(View view, int i, int i2, int i3, int i4);\n }", "public interface C34379a {\n /* renamed from: a */\n void mo46242a(bmc bmc);\n }", "public interface C32456b<T> {\n /* renamed from: a */\n void mo83696a(T t);\n }", "private String convertir(String a) {\n StringBuilder atributo = new StringBuilder(a);\n atributo.insert(0, Character.toUpperCase(atributo.charAt(0)));\n return atributo.deleteCharAt(1).toString();\n }", "protected m a(String name) {\n/* 42 */ return this.a.get(name);\n/* */ }", "public interface AbstractC23925a {\n /* renamed from: a */\n void mo105476a();\n }", "private interface C0257a {\n /* renamed from: a */\n float mo196a(ViewGroup viewGroup, View view);\n\n /* renamed from: b */\n float mo195b(ViewGroup viewGroup, View view);\n }", "public interface C3598a {\n /* renamed from: a */\n void mo11024a(int i, int i2, String str);\n }", "public interface C2459d {\n /* renamed from: a */\n C2451d mo3408a(C2457e c2457e);\n}", "public interface am extends ak {\r\n /* renamed from: a */\r\n void mo194a(int i) throws RemoteException;\r\n\r\n /* renamed from: a */\r\n void mo195a(List<LatLng> list) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo196b(float f) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo197b(boolean z);\r\n\r\n /* renamed from: c */\r\n void mo198c(boolean z) throws RemoteException;\r\n\r\n /* renamed from: g */\r\n float mo199g() throws RemoteException;\r\n\r\n /* renamed from: h */\r\n int mo200h() throws RemoteException;\r\n\r\n /* renamed from: i */\r\n List<LatLng> mo201i() throws RemoteException;\r\n\r\n /* renamed from: j */\r\n boolean mo202j();\r\n\r\n /* renamed from: k */\r\n boolean mo203k();\r\n}", "public interface C32459e<T> {\n /* renamed from: a */\n void mo83698a(T t);\n }", "public interface C32458d<T> {\n /* renamed from: a */\n void mo83695a(T t);\n }", "public interface C5482b {\n /* renamed from: a */\n void mo27575a();\n\n /* renamed from: a */\n void mo27576a(int i);\n }", "public interface C27084a {\n /* renamed from: a */\n void mo69874a();\n\n /* renamed from: a */\n void mo69875a(List<Aweme> list, boolean z);\n }", "public void a() {\n ((a) this.a).a();\n }", "public interface C1153a {\n /* renamed from: a */\n void mo4520a(byte[] bArr);\n }", "public interface C13373b {\n /* renamed from: a */\n void mo32681a(String str, int i, boolean z);\n}", "public interface C40453c {\n /* renamed from: a */\n void mo100442a(C40429b bVar);\n\n /* renamed from: a */\n void mo100443a(List<String> list);\n\n /* renamed from: b */\n void mo100444b(List<C40429b> list);\n}", "public interface AbstractC17367b {\n /* renamed from: a */\n void mo84655a();\n }", "@Override\r\n\tpublic void a() {\n\t\t\r\n\t}", "public interface C43270a {\n /* renamed from: a */\n void mo64942a(String str, long j, long j2);\n}", "public interface C18928d {\n /* renamed from: a */\n void mo50320a(C18924b bVar);\n\n /* renamed from: b */\n void mo50321b(C18924b bVar);\n}", "public interface C0087c {\n /* renamed from: a */\n String mo150a(String str);\n}", "public interface C1529m {\n /* renamed from: a */\n void mo3767a(int i);\n\n /* renamed from: a */\n void mo3768a(String str);\n}", "interface C4483e {\n /* renamed from: a */\n boolean mo34114a();\n}", "public interface C1234b {\r\n /* renamed from: a */\r\n void m8367a();\r\n\r\n /* renamed from: b */\r\n void m8368b();\r\n}", "public interface C10965j<T> {\n /* renamed from: a */\n T mo26439a();\n}", "public interface C28772a {\n /* renamed from: a */\n View mo73990a(View view);\n }", "@Override\n\tpublic void a() {\n\t\t\n\t}", "public interface C8326b {\n /* renamed from: a */\n C8325a mo21498a(String str);\n\n /* renamed from: a */\n void mo21499a(C8325a aVar);\n}", "void metodo1(int a, int[] b) {\r\n\t\ta += 5;//Par\\u00e1metro con el mismo nombre que el campo de la clase.\r\n\t\tb[0] += 7;//se produce un env\\u00edo por referencia, apunta a una copia de un objeto, que se asigna aqu\\u00ed.\r\n\t}", "public interface C2367a {\n /* renamed from: a */\n C2368d mo1698a();\n }", "interface C30585a {\n /* renamed from: b */\n void mo27952b(C5379a c5379a, int i, C46650a c46650a, C7620bi c7620bi);\n }", "public interface C4211a {\n\n /* renamed from: com.iab.omid.library.oguryco.c.a$a */\n public interface C4212a {\n /* renamed from: a */\n void mo28760a(View view, C4211a aVar, JSONObject jSONObject);\n }\n\n /* renamed from: a */\n JSONObject mo28758a(View view);\n\n /* renamed from: a */\n void mo28759a(View view, JSONObject jSONObject, C4212a aVar, boolean z);\n}", "public interface C4697a extends C5595at {\n /* renamed from: a */\n void mo12634a();\n\n /* renamed from: a */\n void mo12635a(String str);\n\n /* renamed from: a */\n void mo12636a(boolean z);\n\n /* renamed from: b */\n void mo12637b();\n\n /* renamed from: c */\n void mo12638c();\n }", "public interface C4773c {\n /* renamed from: a */\n void m15858a(int i);\n\n /* renamed from: a */\n void m15859a(int i, int i2);\n\n /* renamed from: a */\n void m15860a(int i, int i2, int i3);\n\n /* renamed from: b */\n void m15861b(int i, int i2);\n}", "public interface C4869f {\n /* renamed from: a */\n C4865b mo6249a();\n}", "public interface C1799a {\n /* renamed from: b */\n void mo3314b(String str);\n }", "public interface C43499b {\n /* renamed from: a */\n void mo8445a(int i, String str, int i2, byte[] bArr);\n}", "public interface C0601aq {\n /* renamed from: a */\n void mo9148a(int i, ArrayList<C0889x> arrayList);\n}", "public interface C45101e {\n /* renamed from: b */\n void mo3796b(int i);\n}", "public interface AbstractC6461g {\n /* renamed from: a */\n String mo42332a();\n}", "public interface AbstractC1645a {\n /* renamed from: a */\n String mo17375a();\n }", "public interface C6178c {\n /* renamed from: a */\n Map<String, String> mo14888a();\n}", "public interface C5101b {\n /* renamed from: a */\n void mo5289a(C5102c c5102c);\n\n /* renamed from: b */\n void mo5290b(C5102c c5102c);\n}", "public interface C19045k {\n /* renamed from: a */\n void mo50368a(int i, Object obj);\n\n /* renamed from: b */\n void mo50369b(int i, Object obj);\n}", "public b a()\r\n/* 12: */ {\r\n/* 13:13 */ return this.a;\r\n/* 14: */ }", "public interface C7720a {\n /* renamed from: a */\n long mo20406a();\n}", "public String a()\r\n/* 25: */ {\r\n/* 26:171 */ return \"dig.\" + this.a;\r\n/* 27: */ }", "public interface ayt {\n /* renamed from: a */\n int mo1635a(long j, List list);\n\n /* renamed from: a */\n long mo1636a(long j, alb alb);\n\n /* renamed from: a */\n void mo1637a();\n\n /* renamed from: a */\n void mo1638a(long j, long j2, List list, ayp ayp);\n\n /* renamed from: a */\n void mo1639a(ayl ayl);\n\n /* renamed from: a */\n boolean mo1640a(ayl ayl, boolean z, Exception exc, long j);\n}", "public interface C24221b extends C28343z<C28318an> {\n /* renamed from: a */\n void mo62991a(int i);\n\n String aw_();\n\n /* renamed from: e */\n Aweme mo62993e();\n}", "public interface C4051c {\n /* renamed from: a */\n boolean mo23707a();\n}", "public interface C45112b {\n /* renamed from: a */\n List<C45111a> mo107674a(Integer num);\n\n /* renamed from: a */\n List<C45111a> mo107675a(Integer num, Integer num2);\n\n /* renamed from: a */\n void mo107676a(C45111a aVar);\n\n /* renamed from: b */\n void mo107677b(Integer num);\n\n /* renamed from: c */\n long mo107678c(Integer num);\n}", "public void acionou(int a){\n\t\t\tb=a;\n\t\t}", "public interface C44963i {\n /* renamed from: a */\n void mo63037a(int i, int i2);\n\n void aA_();\n\n /* renamed from: b */\n void mo63039b(int i, int i2);\n}", "public interface C32457c<T> {\n /* renamed from: a */\n void mo83699a(T t, int i, int i2, String str);\n }", "public interface C5861g {\n /* renamed from: a */\n void mo18320a(C7251a aVar);\n\n @Deprecated\n /* renamed from: a */\n void mo18321a(C7251a aVar, String str);\n\n /* renamed from: a */\n void mo18322a(C7252b bVar);\n\n /* renamed from: a */\n void mo18323a(C7253c cVar);\n\n /* renamed from: a */\n void mo18324a(C7260j jVar);\n}", "public interface C0937a {\n /* renamed from: a */\n void mo3807a(C0985po[] poVarArr);\n }", "public interface C8466a {\n /* renamed from: a */\n void mo25956a(int i);\n\n /* renamed from: a */\n void mo25957a(long j, long j2);\n }", "public interface C39684b {\n /* renamed from: a */\n void mo98969a();\n\n /* renamed from: a */\n void mo98970a(C29296g gVar);\n\n /* renamed from: a */\n void mo98971a(C29296g gVar, int i);\n }", "public interface C43470b {\n /* renamed from: a */\n void mo61496a(C43469a aVar, C43471c cVar);\n }", "public interface AbstractC18255a {\n /* renamed from: a */\n void mo88521a();\n\n /* renamed from: a */\n void mo88522a(String str);\n\n /* renamed from: b */\n void mo88523b();\n\n /* renamed from: c */\n void mo88524c();\n }", "public interface C1436d {\n /* renamed from: a */\n C1435c mo1754a(C1433a c1433a, C1434b c1434b);\n}", "public interface C4150sl {\n /* renamed from: a */\n void mo15005a(C4143se seVar);\n}", "public void a(nm paramnm)\r\n/* 28: */ {\r\n/* 29:45 */ paramnm.a(this);\r\n/* 30: */ }", "public interface C19351a {\n /* renamed from: b */\n void mo30633b(int i, String str, byte[] bArr);\n }", "public interface C11113o {\n /* renamed from: a */\n void mo37759a(String str);\n }", "public interface C39504az {\n /* renamed from: a */\n int mo98207a();\n\n /* renamed from: a */\n void mo98208a(boolean z);\n\n /* renamed from: b */\n int mo98209b();\n\n /* renamed from: c */\n int mo98355c();\n\n /* renamed from: d */\n int mo98356d();\n\n /* renamed from: e */\n int mo98357e();\n\n /* renamed from: f */\n int mo98358f();\n}", "protected a<T> a(Tag.e<T> var0) {\n/* 80 */ Tag.a var1 = b(var0);\n/* 81 */ return new a<>(var1, this.c, \"vanilla\");\n/* */ }", "public interface C35565a {\n /* renamed from: a */\n C45321i mo90380a();\n }", "public interface C21298a {\n /* renamed from: a */\n void mo57275a();\n\n /* renamed from: a */\n void mo57276a(Exception exc);\n\n /* renamed from: b */\n void mo57277b();\n\n /* renamed from: c */\n void mo57278c();\n }", "public interface C40108b {\n /* renamed from: a */\n void mo99838a(boolean z);\n }", "public interface C0456a {\n /* renamed from: a */\n void mo2090a(C0455b bVar);\n\n /* renamed from: a */\n boolean mo2091a(C0455b bVar, Menu menu);\n\n /* renamed from: a */\n boolean mo2092a(C0455b bVar, MenuItem menuItem);\n\n /* renamed from: b */\n boolean mo2093b(C0455b bVar, Menu menu);\n }", "public interface C4724o {\n /* renamed from: a */\n void mo4872a(int i, String str);\n\n /* renamed from: a */\n void mo4873a(C4718l c4718l);\n\n /* renamed from: b */\n void mo4874b(C4718l c4718l);\n}", "public interface C7654b {\n /* renamed from: a */\n C7904c mo24084a();\n\n /* renamed from: b */\n C7716a mo24085b();\n }", "public interface C2603a {\n /* renamed from: a */\n String mo1889a(String str, String str2, String str3, String str4);\n }", "public interface afp {\n /* renamed from: a */\n C0512sx mo169a(C0497si siVar, afj afj, afr afr, Context context);\n}", "public interface C0615ja extends b<HomeFragment> {\n\n /* renamed from: c.c.a.h.b.ja$a */\n /* compiled from: FragmentModule_HomeFragment$app_bazaarRelease */\n public static abstract class a extends b.a<HomeFragment> {\n }\n}", "public interface a {\n\n /* renamed from: c.b.a.c.b.b.a$a reason: collision with other inner class name */\n /* compiled from: DiskCache */\n public interface C0054a {\n a build();\n }\n\n /* compiled from: DiskCache */\n public interface b {\n boolean a(File file);\n }\n\n File a(c cVar);\n\n void a(c cVar, b bVar);\n}", "public interface C0940d {\n /* renamed from: a */\n void mo3305a(boolean z);\n }", "public interface AbstractC17368c {\n /* renamed from: a */\n void mo84656a(float f);\n }", "interface C0932a {\n /* renamed from: a */\n void mo7438a(int i, int i2);\n\n /* renamed from: b */\n void mo7439b(C0933b bVar);\n\n /* renamed from: c */\n void mo7440c(int i, int i2, Object obj);\n\n /* renamed from: d */\n void mo7441d(C0933b bVar);\n\n /* renamed from: e */\n RecyclerView.ViewHolder mo7442e(int i);\n\n /* renamed from: f */\n void mo7443f(int i, int i2);\n\n /* renamed from: g */\n void mo7444g(int i, int i2);\n\n /* renamed from: h */\n void mo7445h(int i, int i2);\n }", "public interface C10330c {\n /* renamed from: a */\n C7562b<C10403b, C10328a> mo25041a();\n}", "public interface C3819a {\n /* renamed from: a */\n void mo23214a(Message message);\n }", "private Proof atoAImpl(Expression a) {\n Proof where = axm2(a, arrow(a, a), a); //a->(a->a) -> (a->(a->a)->a) -> (a -> a)\n Proof one = axm1(a, a); //a->a->a\n Proof two = axm1(a, arrow(a, a)); //a->(a->a)->A\n return mpTwice(where, one, two);\n }", "interface C1939a {\n /* renamed from: a */\n Bitmap mo1406a(Bitmap bitmap, float f);\n}", "public interface a extends com.bankeen.d.b.b.a {\n void a();\n\n void b();\n }", "public b[] a() {\n/* 95 */ return this.a;\n/* */ }", "interface C8361a {\n /* renamed from: b */\n float mo18284b(ViewGroup viewGroup, View view);\n\n /* renamed from: c */\n float mo18281c(ViewGroup viewGroup, View view);\n }" ]
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064", "0.5794689", "0.57890314", "0.57838726", "0.5775679", "0.57694733", "0.5769128", "0.57526815", "0.56907034", "0.5677874", "0.5670547", "0.56666386", "0.56592244", "0.5658682", "0.56574154", "0.5654324", "0.5644676", "0.56399715", "0.5638734", "0.5630582", "0.56183887", "0.5615435", "0.56069666", "0.5605207", "0.56005067", "0.559501", "0.55910283", "0.5590222", "0.55736613", "0.5556682", "0.5554544", "0.5550076", "0.55493855", "0.55446684", "0.5538079", "0.5529058", "0.5528109", "0.552641", "0.5525864", "0.552186", "0.5519972", "0.5509587", "0.5507195", "0.54881203", "0.5485328", "0.54826045", "0.5482066", "0.5481586", "0.5479751", "0.54776895", "0.54671466", "0.5463307", "0.54505056", "0.54436916", "0.5440517", "0.5439747", "0.5431944", "0.5422869", "0.54217863", "0.5417556", "0.5403905", "0.5400223", "0.53998446", "0.5394735", "0.5388649", "0.5388258", "0.5374842", "0.5368887", "0.53591394", "0.5357029", "0.5355688", "0.535506", "0.5355034", "0.53494394", "0.5341044", "0.5326166", "0.53236824", "0.53199095", "0.53177035", "0.53112453", "0.5298229" ]
0.0
-1
/ renamed from: j
private C0320g m1278j(C0317d dVar) { return (C0320g) dVar.mo2181b(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void j() {\n }", "public int j() {\n \treturn j; \n }", "protected float j()\r\n/* 67: */ {\r\n/* 68: 80 */ return 1.5F;\r\n/* 69: */ }", "public abstract void mo4383c(long j);", "void mo1638a(long j, long j2, List list, ayp ayp);", "void mo30290d(long j);", "void mo30275a(long j);", "public abstract void mo9243b(long j);", "void mo80454a(File file, long j);", "void mo24142a(long j);", "public abstract void mo9813b(long j);", "static void jinfo() {\n\n }", "@Override\n\tpublic void jugar() {\n\t\t\n\t}", "static void jmap() {\n\n }", "static void jstat() {\n\n }", "static void jcmd() {\n\n }", "public final void mo7668gn(long j) {\n }", "public final void mo7668gn(long j) {\n }", "public abstract void mo4369a(long j);", "public void golpearJugador(Jugador j) {\n\t\t\n\t}", "public int j()\r\n/* 60: */ {\r\n/* 61: 79 */ for (int i = 0; i < this.a.length; i++) {\r\n/* 62: 80 */ if (this.a[i] == null) {\r\n/* 63: 81 */ return i;\r\n/* 64: */ }\r\n/* 65: */ }\r\n/* 66: 84 */ return -1;\r\n/* 67: */ }", "public abstract C7035a mo24417b(long j);", "public abstract AbstractC5663d mo39570a(long j, int i);", "int mo1635a(long j, List list);", "private void m50957b(long j) {\n if (!this.f36886a.isEmpty()) {\n C8785fs.m51740a(new C8671cf(this), j);\n }\n }", "private void kk12() {\n\n\t}", "void mo18324a(C7260j jVar);", "public abstract AbstractC5665f mo39571a(long j);", "private void pojedi (int i, int j) {\n\t\trezultat++;\n\t\tthis.zmija.add(0, new Cvor(i,j));\n\t\tthis.dodajZmiju();\n\t\tthis.dodajHranu();\n\t}", "public String func_176882_c() {\n/* */ return this.field_176891_j;\n/* */ }", "@Override\n\tpublic void jugar() {}", "public abstract void mo9811b(int i, long j);", "void mo1941j();", "public abstract void mo4382c(int i, long j);", "public RamasserArtefact(Joueur j) {\r\n\t\tsuper(j);\r\n\t}", "private int m150332e(long j) {\n return m150326a(this.f111579b, j);\n }", "C3579d mo19716j(long j) throws IOException;", "public void mo21785J() {\n }", "private static void cajas() {\n\t\t\n\t}", "public final void mo7667gm(long j) {\n }", "public long mo1597a(long j) {\n return 0;\n }", "void mo708a(long j) throws RemoteException;", "public abstract void mo9803a(int i, C3635j jVar);", "public void mo9223a(long j, int i, int i2) {\n }", "void mo723b(long j) throws RemoteException;", "void mo13371a(int i, long j);", "public synchronized float j() {\n return this.j;\n }", "public abstract void mo20156a(long j);", "public static jn J(Context param0) {\n }", "static void jstack() {\n\n }", "public void mo5335a(int i, C0268jw jwVar) {\n }", "protected void mo1603c(long j) {\n this.f7046g = j;\n }", "void mo25957a(long j, long j2);", "public abstract void mo2624j();", "static int type_of_jnz(String passed){\n\t\treturn 1;\n\t}", "public abstract void mo4363a(int i, long j);", "private void m50953a(long j) {\n C8667b peek = this.f36886a.peek();\n if (peek != null && peek.mo54372d()) {\n m50957b(j);\n }\n }", "static void jhat() {\n\n }", "public abstract void mo9812b(int i, C3635j jVar);", "public byte[] getJ() {\n return j;\n }", "public abstract boolean mo43853a(long j);", "JPackage _package();", "public void setJ(boolean j) {\n\tthis.j = j;\n }", "static void setX(int j) {\n\t\tpy = j;\n\t}", "void mo28891b(int i, long j) throws zzlm;", "void mo5870a(C1111j jVar);", "private final void m27242i(long j) {\n this.f20661c.position((int) (j - this.f20662d));\n }", "@Override\n public String toString() {\n\t\treturn i+\",\"+j; \n }", "public abstract void mo9247b(String str, long j, List<String> list);", "void m6858a(long j) {\n this.f5234e = j;\n }", "public static int getIndex(int i,int j){\r\n\t\t return i+(Variables.N+2)*j;\r\n\t }", "final void jbk()\n\t{\n\t\tfor(int i=0;i<5;i++)\n\t\t\tSystem.out.println(\"value of i=n\"+i);\n\t\t}", "private final void m691a(long j) {\n akl akl = this.f531p.f601d;\n if (akl != null) {\n j = akl.mo435a(j);\n }\n this.f513D = j;\n this.f528m.f443a.mo2108a(j);\n for (akx a : this.f535t) {\n a.mo348a(this.f513D);\n }\n for (akl akl2 = this.f531p.f601d; akl2 != null; akl2 = akl2.f583g) {\n for (bgl bgl : akl2.f585i.f3835c.mo1862a()) {\n if (bgl != null) {\n bgl.mo1839i();\n }\n }\n }\n }", "static /* synthetic */ void m34120F(int i, long j) {\n AppMethodBeat.m2504i(114776);\n C22440b c22440b;\n if (i == 11) {\n c22440b = new C22440b();\n c22440b.startTime = System.currentTimeMillis();\n sJR.put(Long.valueOf(j), c22440b);\n AppMethodBeat.m2505o(114776);\n return;\n }\n if (i == 12) {\n if (!sJR.containsKey(Long.valueOf(j))) {\n new C22440b().startTime = System.currentTimeMillis();\n AppMethodBeat.m2505o(114776);\n return;\n }\n } else if (i == 13) {\n c22440b = (C22440b) sJR.get(Long.valueOf(j));\n if (c22440b != null) {\n c22440b.endTime = System.currentTimeMillis();\n sJT.add(c22440b);\n sJR.remove(Long.valueOf(j));\n }\n }\n AppMethodBeat.m2505o(114776);\n }", "public boolean j(long j2) {\n return false;\n }", "public int func_70297_j_()\n/* */ {\n/* 71 */ return 64;\n/* */ }", "public abstract void mo9801a(int i, long j);", "static void perform_jpo(String passed){\n\t\tint type = type_of_jpo(passed);\n\t\tswitch(type){\n\t\tcase 1:\n\t\t\tjump_when_parity_not(passed);\n\t\t\tbreak;\n\t\t}\n\t}", "void mo54410a(int i, int i2, long j);", "@Nullable\r\n/* */ public ji Z_() {\r\n/* 257 */ return new ji(this.d_, 3, aa_());\r\n/* */ }", "public List<BlockPosition> e()\r\n/* 228: */ {\r\n/* 229:238 */ return this.j;\r\n/* 230: */ }", "public void mo41813c(long j) {\n this.f39214N.mo41813c(j);\n }", "static void jps() {\n\n }", "static void jhsdb() {\n\n }", "public void mo63648e(Class cls, long j) {\n }", "void jugar(Jugada jugada);", "public void mo55286a(long j) {\n mo55578b(j);\n }", "private int matrixColToV1(int j) \n {\n return (j % dimSquared) / gDim + 1;\n }", "public void mo41813c(long j) {\n this.f39210N.mo41813c(j);\n }", "@WorkerThread\n public final void zza(long j) {\n if (this.zza.zzs().zza(zzat.zzbk)) {\n this.zzb = new zzkf(this, this.zza.zzl().currentTimeMillis(), j);\n this.zza.zzc.postDelayed(this.zzb, AdaptiveTrackSelection.DEFAULT_MIN_TIME_BETWEEN_BUFFER_REEVALUTATION_MS);\n }\n }", "void mo54409a(int i, int i2, int i3, long j);", "void mo5875b(String str, long j);", "public void mo130971b(long j) {\n SinkDefaults.m149820a((AbstractC32394bh) this, j);\n }", "String mo30285c(long j);", "public final void zza(long j) {\n if (this.zza.zzt().zza(zzas.zzbp)) {\n this.zzb = new zzjw(this, this.zza.zzm().currentTimeMillis(), j);\n this.zza.zzc.postDelayed(this.zzb, AdLoader.RETRY_DELAY);\n }\n }", "static int type_of_jpo(String passed){\n\t\treturn 1;\n\t}", "public abstract void mo9807a(long j);", "public final void mo45606a(long j) {\n long[] jArr = this.f42592d;\n int a = mo45659a();\n mo45661a(a + 1);\n jArr[a] = j;\n }", "private void y(long j, int i) {\n AppMethodBeat.i(111255);\n com.tencent.mm.plugin.downloader.f.a hv = c.hv(j);\n if (hv != null) {\n b bVar = (b) mVU.get(hv.field_downloadUrl);\n int i2 = 0;\n switch (i) {\n case 1:\n i2 = 1;\n com.tencent.mm.game.report.api.b.eBF.j(hv.field_appId, 0);\n if (bVar != null) {\n if (!bVar.mVY) {\n com.tencent.mm.game.report.api.b.eBF.j(hv.field_appId, 2);\n break;\n } else {\n com.tencent.mm.game.report.api.b.eBF.j(hv.field_appId, 1);\n break;\n }\n }\n break;\n case 2:\n i2 = 6;\n com.tencent.mm.game.report.api.b.eBF.j(hv.field_appId, 3);\n break;\n case 3:\n i2 = 3;\n com.tencent.mm.game.report.api.b.eBF.j(hv.field_appId, 6);\n break;\n case 4:\n i2 = 2;\n com.tencent.mm.game.report.api.b.eBF.j(hv.field_appId, 5);\n break;\n case 5:\n i2 = 8;\n com.tencent.mm.game.report.api.b.eBF.j(hv.field_appId, 7);\n break;\n case 6:\n break;\n case 7:\n i2 = 7;\n com.tencent.mm.game.report.api.b.eBF.j(hv.field_appId, 4);\n break;\n }\n }\n AppMethodBeat.o(111255);\n }", "private void m2250a(long j, String str) {\n this.f2955d = j;\n this.f2954c = (double) j;\n this.f2953b = str;\n this.f2952a = ValueType.longValue;\n }", "public final void mo4383c(long j) {\n this.f20661c.putLong((int) (this.f20666h - this.f20662d), j);\n this.f20666h += 8;\n }" ]
[ "0.6920922", "0.6371147", "0.62772214", "0.62051874", "0.6196064", "0.61860317", "0.61813456", "0.61330765", "0.612021", "0.6117321", "0.60567325", "0.6037512", "0.6028698", "0.6012394", "0.60016197", "0.59795195", "0.59551346", "0.59551346", "0.59095114", "0.5901377", "0.58654326", "0.5850215", "0.5848516", "0.58406955", "0.58376837", "0.58231217", "0.5816042", "0.58083224", "0.5805999", "0.5781714", "0.5779426", "0.57651263", "0.57576513", "0.5751878", "0.57502306", "0.57305235", "0.5724092", "0.5721408", "0.57169926", "0.57142895", "0.57082576", "0.5689641", "0.56709594", "0.56662416", "0.56538963", "0.5650623", "0.5644059", "0.564363", "0.5641206", "0.5638489", "0.5633938", "0.5633441", "0.56331617", "0.5620591", "0.5609695", "0.5603794", "0.559072", "0.55898005", "0.55892336", "0.5580859", "0.5580648", "0.55729127", "0.5571454", "0.55711466", "0.5566113", "0.5562708", "0.5549191", "0.5536386", "0.5534856", "0.55241644", "0.55182606", "0.55117303", "0.5511151", "0.5498748", "0.5495115", "0.54897016", "0.54886824", "0.54766834", "0.547588", "0.5474448", "0.54613054", "0.54601675", "0.54601073", "0.5446704", "0.5437747", "0.5433653", "0.5428909", "0.5411171", "0.5406155", "0.54037815", "0.54023516", "0.5397151", "0.53934664", "0.53870785", "0.53749967", "0.5374616", "0.5361992", "0.5351139", "0.5350617", "0.5346173", "0.534467" ]
0.0
-1
/ renamed from: a
public void mo2185a() { C0320g.f1380r = new C0316a(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed from: a */\n void mo85415a(String str);\n }", "interface C10331b {\n /* renamed from: a */\n void mo26876a(int i);\n }", "public interface C0779a {\n /* renamed from: a */\n void mo2311a();\n}", "public interface C6788a {\n /* renamed from: a */\n void mo20141a();\n }", "public interface C0237a {\n /* renamed from: a */\n void mo1791a(String str);\n }", "public interface C35013b {\n /* renamed from: a */\n void mo88773a(int i);\n}", "public interface C11112n {\n /* renamed from: a */\n void mo38026a();\n }", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "public interface C23407b {\n /* renamed from: a */\n void mo60892a();\n\n /* renamed from: b */\n void mo60893b();\n }", "interface C0312e {\n /* renamed from: a */\n void mo4671a(View view, int i, int i2, int i3, int i4);\n }", "public interface C34379a {\n /* renamed from: a */\n void mo46242a(bmc bmc);\n }", "public interface C32456b<T> {\n /* renamed from: a */\n void mo83696a(T t);\n }", "private String convertir(String a) {\n StringBuilder atributo = new StringBuilder(a);\n atributo.insert(0, Character.toUpperCase(atributo.charAt(0)));\n return atributo.deleteCharAt(1).toString();\n }", "protected m a(String name) {\n/* 42 */ return this.a.get(name);\n/* */ }", "public interface AbstractC23925a {\n /* renamed from: a */\n void mo105476a();\n }", "private interface C0257a {\n /* renamed from: a */\n float mo196a(ViewGroup viewGroup, View view);\n\n /* renamed from: b */\n float mo195b(ViewGroup viewGroup, View view);\n }", "public interface C3598a {\n /* renamed from: a */\n void mo11024a(int i, int i2, String str);\n }", "public interface C2459d {\n /* renamed from: a */\n C2451d mo3408a(C2457e c2457e);\n}", "public interface am extends ak {\r\n /* renamed from: a */\r\n void mo194a(int i) throws RemoteException;\r\n\r\n /* renamed from: a */\r\n void mo195a(List<LatLng> list) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo196b(float f) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo197b(boolean z);\r\n\r\n /* renamed from: c */\r\n void mo198c(boolean z) throws RemoteException;\r\n\r\n /* renamed from: g */\r\n float mo199g() throws RemoteException;\r\n\r\n /* renamed from: h */\r\n int mo200h() throws RemoteException;\r\n\r\n /* renamed from: i */\r\n List<LatLng> mo201i() throws RemoteException;\r\n\r\n /* renamed from: j */\r\n boolean mo202j();\r\n\r\n /* renamed from: k */\r\n boolean mo203k();\r\n}", "public interface C32459e<T> {\n /* renamed from: a */\n void mo83698a(T t);\n }", "public interface C32458d<T> {\n /* renamed from: a */\n void mo83695a(T t);\n }", "public interface C5482b {\n /* renamed from: a */\n void mo27575a();\n\n /* renamed from: a */\n void mo27576a(int i);\n }", "public interface C27084a {\n /* renamed from: a */\n void mo69874a();\n\n /* renamed from: a */\n void mo69875a(List<Aweme> list, boolean z);\n }", "public void a() {\n ((a) this.a).a();\n }", "public interface C1153a {\n /* renamed from: a */\n void mo4520a(byte[] bArr);\n }", "public interface C13373b {\n /* renamed from: a */\n void mo32681a(String str, int i, boolean z);\n}", "public interface C40453c {\n /* renamed from: a */\n void mo100442a(C40429b bVar);\n\n /* renamed from: a */\n void mo100443a(List<String> list);\n\n /* renamed from: b */\n void mo100444b(List<C40429b> list);\n}", "public interface AbstractC17367b {\n /* renamed from: a */\n void mo84655a();\n }", "@Override\r\n\tpublic void a() {\n\t\t\r\n\t}", "public interface C43270a {\n /* renamed from: a */\n void mo64942a(String str, long j, long j2);\n}", "public interface C18928d {\n /* renamed from: a */\n void mo50320a(C18924b bVar);\n\n /* renamed from: b */\n void mo50321b(C18924b bVar);\n}", "public interface C0087c {\n /* renamed from: a */\n String mo150a(String str);\n}", "public interface C1529m {\n /* renamed from: a */\n void mo3767a(int i);\n\n /* renamed from: a */\n void mo3768a(String str);\n}", "interface C4483e {\n /* renamed from: a */\n boolean mo34114a();\n}", "public interface C1234b {\r\n /* renamed from: a */\r\n void m8367a();\r\n\r\n /* renamed from: b */\r\n void m8368b();\r\n}", "public interface C10965j<T> {\n /* renamed from: a */\n T mo26439a();\n}", "public interface C28772a {\n /* renamed from: a */\n View mo73990a(View view);\n }", "@Override\n\tpublic void a() {\n\t\t\n\t}", "public interface C8326b {\n /* renamed from: a */\n C8325a mo21498a(String str);\n\n /* renamed from: a */\n void mo21499a(C8325a aVar);\n}", "void metodo1(int a, int[] b) {\r\n\t\ta += 5;//Par\\u00e1metro con el mismo nombre que el campo de la clase.\r\n\t\tb[0] += 7;//se produce un env\\u00edo por referencia, apunta a una copia de un objeto, que se asigna aqu\\u00ed.\r\n\t}", "public interface C2367a {\n /* renamed from: a */\n C2368d mo1698a();\n }", "interface C30585a {\n /* renamed from: b */\n void mo27952b(C5379a c5379a, int i, C46650a c46650a, C7620bi c7620bi);\n }", "public interface C4211a {\n\n /* renamed from: com.iab.omid.library.oguryco.c.a$a */\n public interface C4212a {\n /* renamed from: a */\n void mo28760a(View view, C4211a aVar, JSONObject jSONObject);\n }\n\n /* renamed from: a */\n JSONObject mo28758a(View view);\n\n /* renamed from: a */\n void mo28759a(View view, JSONObject jSONObject, C4212a aVar, boolean z);\n}", "public interface C4697a extends C5595at {\n /* renamed from: a */\n void mo12634a();\n\n /* renamed from: a */\n void mo12635a(String str);\n\n /* renamed from: a */\n void mo12636a(boolean z);\n\n /* renamed from: b */\n void mo12637b();\n\n /* renamed from: c */\n void mo12638c();\n }", "public interface C4773c {\n /* renamed from: a */\n void m15858a(int i);\n\n /* renamed from: a */\n void m15859a(int i, int i2);\n\n /* renamed from: a */\n void m15860a(int i, int i2, int i3);\n\n /* renamed from: b */\n void m15861b(int i, int i2);\n}", "public interface C4869f {\n /* renamed from: a */\n C4865b mo6249a();\n}", "public interface C1799a {\n /* renamed from: b */\n void mo3314b(String str);\n }", "public interface C43499b {\n /* renamed from: a */\n void mo8445a(int i, String str, int i2, byte[] bArr);\n}", "public interface C0601aq {\n /* renamed from: a */\n void mo9148a(int i, ArrayList<C0889x> arrayList);\n}", "public interface C45101e {\n /* renamed from: b */\n void mo3796b(int i);\n}", "public interface AbstractC6461g {\n /* renamed from: a */\n String mo42332a();\n}", "public interface AbstractC1645a {\n /* renamed from: a */\n String mo17375a();\n }", "public interface C6178c {\n /* renamed from: a */\n Map<String, String> mo14888a();\n}", "public interface C5101b {\n /* renamed from: a */\n void mo5289a(C5102c c5102c);\n\n /* renamed from: b */\n void mo5290b(C5102c c5102c);\n}", "public interface C19045k {\n /* renamed from: a */\n void mo50368a(int i, Object obj);\n\n /* renamed from: b */\n void mo50369b(int i, Object obj);\n}", "public b a()\r\n/* 12: */ {\r\n/* 13:13 */ return this.a;\r\n/* 14: */ }", "public interface C7720a {\n /* renamed from: a */\n long mo20406a();\n}", "public String a()\r\n/* 25: */ {\r\n/* 26:171 */ return \"dig.\" + this.a;\r\n/* 27: */ }", "public interface ayt {\n /* renamed from: a */\n int mo1635a(long j, List list);\n\n /* renamed from: a */\n long mo1636a(long j, alb alb);\n\n /* renamed from: a */\n void mo1637a();\n\n /* renamed from: a */\n void mo1638a(long j, long j2, List list, ayp ayp);\n\n /* renamed from: a */\n void mo1639a(ayl ayl);\n\n /* renamed from: a */\n boolean mo1640a(ayl ayl, boolean z, Exception exc, long j);\n}", "public interface C24221b extends C28343z<C28318an> {\n /* renamed from: a */\n void mo62991a(int i);\n\n String aw_();\n\n /* renamed from: e */\n Aweme mo62993e();\n}", "public interface C4051c {\n /* renamed from: a */\n boolean mo23707a();\n}", "public interface C45112b {\n /* renamed from: a */\n List<C45111a> mo107674a(Integer num);\n\n /* renamed from: a */\n List<C45111a> mo107675a(Integer num, Integer num2);\n\n /* renamed from: a */\n void mo107676a(C45111a aVar);\n\n /* renamed from: b */\n void mo107677b(Integer num);\n\n /* renamed from: c */\n long mo107678c(Integer num);\n}", "public void acionou(int a){\n\t\t\tb=a;\n\t\t}", "public interface C44963i {\n /* renamed from: a */\n void mo63037a(int i, int i2);\n\n void aA_();\n\n /* renamed from: b */\n void mo63039b(int i, int i2);\n}", "public interface C32457c<T> {\n /* renamed from: a */\n void mo83699a(T t, int i, int i2, String str);\n }", "public interface C5861g {\n /* renamed from: a */\n void mo18320a(C7251a aVar);\n\n @Deprecated\n /* renamed from: a */\n void mo18321a(C7251a aVar, String str);\n\n /* renamed from: a */\n void mo18322a(C7252b bVar);\n\n /* renamed from: a */\n void mo18323a(C7253c cVar);\n\n /* renamed from: a */\n void mo18324a(C7260j jVar);\n}", "public interface C0937a {\n /* renamed from: a */\n void mo3807a(C0985po[] poVarArr);\n }", "public interface C8466a {\n /* renamed from: a */\n void mo25956a(int i);\n\n /* renamed from: a */\n void mo25957a(long j, long j2);\n }", "public interface C39684b {\n /* renamed from: a */\n void mo98969a();\n\n /* renamed from: a */\n void mo98970a(C29296g gVar);\n\n /* renamed from: a */\n void mo98971a(C29296g gVar, int i);\n }", "public interface C43470b {\n /* renamed from: a */\n void mo61496a(C43469a aVar, C43471c cVar);\n }", "public interface AbstractC18255a {\n /* renamed from: a */\n void mo88521a();\n\n /* renamed from: a */\n void mo88522a(String str);\n\n /* renamed from: b */\n void mo88523b();\n\n /* renamed from: c */\n void mo88524c();\n }", "public interface C1436d {\n /* renamed from: a */\n C1435c mo1754a(C1433a c1433a, C1434b c1434b);\n}", "public interface C4150sl {\n /* renamed from: a */\n void mo15005a(C4143se seVar);\n}", "public void a(nm paramnm)\r\n/* 28: */ {\r\n/* 29:45 */ paramnm.a(this);\r\n/* 30: */ }", "public interface C19351a {\n /* renamed from: b */\n void mo30633b(int i, String str, byte[] bArr);\n }", "public interface C11113o {\n /* renamed from: a */\n void mo37759a(String str);\n }", "public interface C39504az {\n /* renamed from: a */\n int mo98207a();\n\n /* renamed from: a */\n void mo98208a(boolean z);\n\n /* renamed from: b */\n int mo98209b();\n\n /* renamed from: c */\n int mo98355c();\n\n /* renamed from: d */\n int mo98356d();\n\n /* renamed from: e */\n int mo98357e();\n\n /* renamed from: f */\n int mo98358f();\n}", "protected a<T> a(Tag.e<T> var0) {\n/* 80 */ Tag.a var1 = b(var0);\n/* 81 */ return new a<>(var1, this.c, \"vanilla\");\n/* */ }", "public interface C35565a {\n /* renamed from: a */\n C45321i mo90380a();\n }", "public interface C21298a {\n /* renamed from: a */\n void mo57275a();\n\n /* renamed from: a */\n void mo57276a(Exception exc);\n\n /* renamed from: b */\n void mo57277b();\n\n /* renamed from: c */\n void mo57278c();\n }", "public interface C40108b {\n /* renamed from: a */\n void mo99838a(boolean z);\n }", "public interface C0456a {\n /* renamed from: a */\n void mo2090a(C0455b bVar);\n\n /* renamed from: a */\n boolean mo2091a(C0455b bVar, Menu menu);\n\n /* renamed from: a */\n boolean mo2092a(C0455b bVar, MenuItem menuItem);\n\n /* renamed from: b */\n boolean mo2093b(C0455b bVar, Menu menu);\n }", "public interface C4724o {\n /* renamed from: a */\n void mo4872a(int i, String str);\n\n /* renamed from: a */\n void mo4873a(C4718l c4718l);\n\n /* renamed from: b */\n void mo4874b(C4718l c4718l);\n}", "public interface C7654b {\n /* renamed from: a */\n C7904c mo24084a();\n\n /* renamed from: b */\n C7716a mo24085b();\n }", "public interface C2603a {\n /* renamed from: a */\n String mo1889a(String str, String str2, String str3, String str4);\n }", "public interface afp {\n /* renamed from: a */\n C0512sx mo169a(C0497si siVar, afj afj, afr afr, Context context);\n}", "public interface C0615ja extends b<HomeFragment> {\n\n /* renamed from: c.c.a.h.b.ja$a */\n /* compiled from: FragmentModule_HomeFragment$app_bazaarRelease */\n public static abstract class a extends b.a<HomeFragment> {\n }\n}", "public interface a {\n\n /* renamed from: c.b.a.c.b.b.a$a reason: collision with other inner class name */\n /* compiled from: DiskCache */\n public interface C0054a {\n a build();\n }\n\n /* compiled from: DiskCache */\n public interface b {\n boolean a(File file);\n }\n\n File a(c cVar);\n\n void a(c cVar, b bVar);\n}", "public interface C0940d {\n /* renamed from: a */\n void mo3305a(boolean z);\n }", "public interface AbstractC17368c {\n /* renamed from: a */\n void mo84656a(float f);\n }", "interface C0932a {\n /* renamed from: a */\n void mo7438a(int i, int i2);\n\n /* renamed from: b */\n void mo7439b(C0933b bVar);\n\n /* renamed from: c */\n void mo7440c(int i, int i2, Object obj);\n\n /* renamed from: d */\n void mo7441d(C0933b bVar);\n\n /* renamed from: e */\n RecyclerView.ViewHolder mo7442e(int i);\n\n /* renamed from: f */\n void mo7443f(int i, int i2);\n\n /* renamed from: g */\n void mo7444g(int i, int i2);\n\n /* renamed from: h */\n void mo7445h(int i, int i2);\n }", "public interface C10330c {\n /* renamed from: a */\n C7562b<C10403b, C10328a> mo25041a();\n}", "public interface C3819a {\n /* renamed from: a */\n void mo23214a(Message message);\n }", "private Proof atoAImpl(Expression a) {\n Proof where = axm2(a, arrow(a, a), a); //a->(a->a) -> (a->(a->a)->a) -> (a -> a)\n Proof one = axm1(a, a); //a->a->a\n Proof two = axm1(a, arrow(a, a)); //a->(a->a)->A\n return mpTwice(where, one, two);\n }", "interface C1939a {\n /* renamed from: a */\n Bitmap mo1406a(Bitmap bitmap, float f);\n}", "public interface a extends com.bankeen.d.b.b.a {\n void a();\n\n void b();\n }", "public b[] a() {\n/* 95 */ return this.a;\n/* */ }", "interface C8361a {\n /* renamed from: b */\n float mo18284b(ViewGroup viewGroup, View view);\n\n /* renamed from: c */\n float mo18281c(ViewGroup viewGroup, View view);\n }" ]
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064", "0.5794689", "0.57890314", "0.57838726", "0.5775679", "0.57694733", "0.5769128", "0.57526815", "0.56907034", "0.5677874", "0.5670547", "0.56666386", "0.56592244", "0.5658682", "0.56574154", "0.5654324", "0.5644676", "0.56399715", "0.5638734", "0.5630582", "0.56183887", "0.5615435", "0.56069666", "0.5605207", "0.56005067", "0.559501", "0.55910283", "0.5590222", "0.55736613", "0.5556682", "0.5554544", "0.5550076", "0.55493855", "0.55446684", "0.5538079", "0.5529058", "0.5528109", "0.552641", "0.5525864", "0.552186", "0.5519972", "0.5509587", "0.5507195", "0.54881203", "0.5485328", "0.54826045", "0.5482066", "0.5481586", "0.5479751", "0.54776895", "0.54671466", "0.5463307", "0.54505056", "0.54436916", "0.5440517", "0.5439747", "0.5431944", "0.5422869", "0.54217863", "0.5417556", "0.5403905", "0.5400223", "0.53998446", "0.5394735", "0.5388649", "0.5388258", "0.5374842", "0.5368887", "0.53591394", "0.5357029", "0.5355688", "0.535506", "0.5355034", "0.53494394", "0.5341044", "0.5326166", "0.53236824", "0.53199095", "0.53177035", "0.53112453", "0.5298229" ]
0.0
-1
/ renamed from: b
public void mo2192b(C0317d dVar, float f) { m1278j(dVar).mo2226c(f); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void mo2508a(bxb bxb);", "@Override\n public void func_104112_b() {\n \n }", "@Override\n public void b() {\n }", "public interface C19351a {\n /* renamed from: b */\n void mo30633b(int i, String str, byte[] bArr);\n }", "@Override\n\tpublic void b2() {\n\t\t\n\t}", "void metodo1(int a, int[] b) {\r\n\t\ta += 5;//Par\\u00e1metro con el mismo nombre que el campo de la clase.\r\n\t\tb[0] += 7;//se produce un env\\u00edo por referencia, apunta a una copia de un objeto, que se asigna aqu\\u00ed.\r\n\t}", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "@Override\n\tpublic void b() {\n\n\t}", "interface C30585a {\n /* renamed from: b */\n void mo27952b(C5379a c5379a, int i, C46650a c46650a, C7620bi c7620bi);\n }", "public bb b() {\n return a(this.a);\n }", "@Override\n\tpublic void b1() {\n\t\t\n\t}", "public void b() {\r\n }", "@Override\n\tpublic void bbb() {\n\t\t\n\t}", "public interface C34379a {\n /* renamed from: a */\n void mo46242a(bmc bmc);\n }", "public abstract void b(StringBuilder sb);", "public void b() {\n }", "public void b() {\n }", "protected b(int mb) {\n/* 87 */ this.b = mb;\n/* */ }", "public u(b paramb)\r\n/* 7: */ {\r\n/* 8: 9 */ this.a = paramb;\r\n/* 9: */ }", "public interface b {\n void H_();\n\n void I_();\n\n void J_();\n\n void a(C0063d dVar);\n\n void a(byte[] bArr);\n\n void b(boolean z);\n }", "public b[] a() {\n/* 95 */ return this.a;\n/* */ }", "public interface C7654b {\n /* renamed from: a */\n C7904c mo24084a();\n\n /* renamed from: b */\n C7716a mo24085b();\n }", "public interface C1153a {\n /* renamed from: a */\n void mo4520a(byte[] bArr);\n }", "public interface C43499b {\n /* renamed from: a */\n void mo8445a(int i, String str, int i2, byte[] bArr);\n}", "public void b() {\n ((a) this.a).b();\n }", "public np a()\r\n/* 33: */ {\r\n/* 34:49 */ return this.b;\r\n/* 35: */ }", "b(a aVar) {\n super(0);\n this.this$0 = aVar;\n }", "public t b() {\n return a(this.a);\n }", "public interface C32456b<T> {\n /* renamed from: a */\n void mo83696a(T t);\n }", "public static String a(int c) {\n/* 89 */ return b.a(c);\n/* */ }", "private void m678b(byte b) {\n byte[] bArr = this.f523r;\n bArr[0] = b;\n this.f552g.mo502b(bArr);\n }", "public interface C23407b {\n /* renamed from: a */\n void mo60892a();\n\n /* renamed from: b */\n void mo60893b();\n }", "public abstract T zzm(B b);", "public b a()\r\n/* 12: */ {\r\n/* 13:13 */ return this.a;\r\n/* 14: */ }", "public void b(World paramaqu, BlockPosition paramdt, Block parambec)\r\n/* 27: */ {\r\n/* 28: 47 */ bcm localbcm = paramaqu.s(paramdt);\r\n/* 29: 48 */ if ((localbcm instanceof bdv)) {\r\n/* 30: 49 */ ((bdv)localbcm).h();\r\n/* 31: */ } else {\r\n/* 32: 51 */ super.b(paramaqu, paramdt, parambec);\r\n/* 33: */ }\r\n/* 34: */ }", "public abstract void zzc(B b, int i, int i2);", "public interface b {\n}", "public interface b {\n}", "private void m10263b(byte b) throws cf {\r\n this.f6483r[0] = b;\r\n this.g.m10347b(this.f6483r);\r\n }", "BSubstitution createBSubstitution();", "public void b(ahd paramahd) {}", "void b();", "public interface C18928d {\n /* renamed from: a */\n void mo50320a(C18924b bVar);\n\n /* renamed from: b */\n void mo50321b(C18924b bVar);\n}", "B database(S database);", "public interface C0615ja extends b<HomeFragment> {\n\n /* renamed from: c.c.a.h.b.ja$a */\n /* compiled from: FragmentModule_HomeFragment$app_bazaarRelease */\n public static abstract class a extends b.a<HomeFragment> {\n }\n}", "public abstract C0631bt mo9227aB();", "public an b() {\n return a(this.a);\n }", "protected abstract void a(bru parambru);", "static void go(Base b) {\n\t\tb.add(8);\n\t}", "void mo46242a(bmc bmc);", "public interface b extends c {\n void a(Float f);\n\n void a(Integer num);\n\n void b(Float f);\n\n void c(Float f);\n\n String d();\n\n void d(Float f);\n\n void d(String str);\n\n void e(Float f);\n\n void e(String str);\n\n void f(String str);\n\n void g(String str);\n\n Long j();\n\n LineChart k();\n }", "public interface bca extends bbn {\n bca a();\n\n bca a(String str);\n\n bca b(String str);\n\n bca c(String str);\n}", "public interface a extends com.bankeen.d.b.b.a {\n void a();\n\n void b();\n }", "public abstract BoundType b();", "public void b(amj paramamj)\r\n/* 538: */ {\r\n/* 539:579 */ this.f = paramamj;\r\n/* 540: */ }", "b(a aVar, com.bytedance.jedi.model.h.a aVar2) {\n super(aVar2);\n this.f21531a = aVar;\n this.f21532b = new com.bytedance.jedi.model.h.f(aVar);\n }", "private void b(int paramInt)\r\n/* 193: */ {\r\n/* 194:203 */ this.h.a(a(paramInt));\r\n/* 195: */ }", "public void b(ahb paramahb)\r\n/* 583: */ {\r\n/* 584:625 */ for (int i = 0; i < this.a.length; i++) {\r\n/* 585:626 */ this.a[i] = amj.b(paramahb.a[i]);\r\n/* 586: */ }\r\n/* 587:628 */ for (i = 0; i < this.b.length; i++) {\r\n/* 588:629 */ this.b[i] = amj.b(paramahb.b[i]);\r\n/* 589: */ }\r\n/* 590:631 */ this.c = paramahb.c;\r\n/* 591: */ }", "interface b {\n\n /* compiled from: CreditAccountContract */\n public interface a extends com.bankeen.d.b.b.a {\n void a();\n\n void b();\n }\n\n /* compiled from: CreditAccountContract */\n public interface b extends c {\n void a(Float f);\n\n void a(Integer num);\n\n void b(Float f);\n\n void c(Float f);\n\n String d();\n\n void d(Float f);\n\n void d(String str);\n\n void e(Float f);\n\n void e(String str);\n\n void f(String str);\n\n void g(String str);\n\n Long j();\n\n LineChart k();\n }\n}", "@Override\n\tpublic void visit(PartB partB) {\n\n\t}", "public abstract void zzb(B b, int i, long j);", "public abstract void zza(B b, int i, zzeh zzeh);", "int metodo2(int a, int b) {\r\n\r\n\t\tthis.a += 5; // se modifica el campo del objeto, el uso de la palabra reservada this se utiliza para referenciar al campo.\r\n\t\tb += 7;\r\n\t\treturn a; // modifica en la asignaci\\u00f3n\r\n\t}", "private void internalCopy(Board b) {\n for (int i = 0; i < SIDE * SIDE; i += 1) {\n set(i, b.get(i));\n }\n\n _directions = b._directions;\n _whoseMove = b._whoseMove;\n _history = b._history;\n }", "public int b()\r\n/* 69: */ {\r\n/* 70:74 */ return this.b;\r\n/* 71: */ }", "public void b(StringBuilder sb) {\n sb.append(this.a);\n sb.append(')');\n }", "public void b() {\n e$a e$a;\n try {\n e$a = this.b;\n }\n catch (IOException iOException) {\n return;\n }\n Object object = this.c;\n e$a.b(object);\n }", "public abstract void a(StringBuilder sb);", "public interface C45101e {\n /* renamed from: b */\n void mo3796b(int i);\n}", "public abstract void zzf(Object obj, B b);", "public interface bdp {\n\n /* renamed from: a */\n public static final bdp f3422a = new bdo();\n\n /* renamed from: a */\n bdm mo1784a(akh akh);\n}", "@Override\n\tpublic void parse(Buffer b) {\n\t\t\n\t}", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "public abstract void a(b paramb, int paramInt1, int paramInt2);", "public void mo1945a(byte b) throws cf {\r\n m10263b(b);\r\n }", "void mo83703a(C32456b<T> bVar);", "public void a(String str) {\n ((b.b) this.b).d(str);\n }", "public void selectB() { }", "BOperation createBOperation();", "void metodo1(int a, int b) {\r\n\t\ta += 5;//par\\u00e1metro con el mismo nombre que el campo.\r\n\t\tb += 7;\r\n\t}", "private static void m2196a(StringBuffer stringBuffer, byte b) {\n stringBuffer.append(\"0123456789ABCDEF\".charAt((b >> 4) & 15)).append(\"0123456789ABCDEF\".charAt(b & 15));\n }", "public interface C1799a {\n /* renamed from: b */\n void mo3314b(String str);\n }", "public void b(fv paramfv)\r\n/* 408: */ {\r\n/* 409:423 */ this.a = new amj[36];\r\n/* 410:424 */ this.b = new amj[4];\r\n/* 411:425 */ for (int i = 0; i < paramfv.c(); i++)\r\n/* 412: */ {\r\n/* 413:426 */ fn localfn = paramfv.b(i);\r\n/* 414:427 */ int j = localfn.d(\"Slot\") & 0xFF;\r\n/* 415:428 */ amj localamj = amj.a(localfn);\r\n/* 416:429 */ if (localamj != null)\r\n/* 417: */ {\r\n/* 418:430 */ if ((j >= 0) && (j < this.a.length)) {\r\n/* 419:431 */ this.a[j] = localamj;\r\n/* 420: */ }\r\n/* 421:433 */ if ((j >= 100) && (j < this.b.length + 100)) {\r\n/* 422:434 */ this.b[(j - 100)] = localamj;\r\n/* 423: */ }\r\n/* 424: */ }\r\n/* 425: */ }\r\n/* 426: */ }", "public void b(String str) {\n ((b.b) this.b).e(str);\n }", "public String b()\r\n/* 35: */ {\r\n/* 36:179 */ return a();\r\n/* 37: */ }", "public abstract void zza(B b, int i, T t);", "public Item b(World paramaqu, BlockPosition paramdt)\r\n/* 189: */ {\r\n/* 190:220 */ return null;\r\n/* 191: */ }", "public abstract void zza(B b, int i, long j);", "public interface C5101b {\n /* renamed from: a */\n void mo5289a(C5102c c5102c);\n\n /* renamed from: b */\n void mo5290b(C5102c c5102c);\n}", "private interface C0257a {\n /* renamed from: a */\n float mo196a(ViewGroup viewGroup, View view);\n\n /* renamed from: b */\n float mo195b(ViewGroup viewGroup, View view);\n }", "public abstract void mo9798a(byte b);", "public void mo9798a(byte b) {\n if (this.f9108f == this.f9107e) {\n mo9827i();\n }\n byte[] bArr = this.f9106d;\n int i = this.f9108f;\n this.f9108f = i + 1;\n bArr[i] = b;\n this.f9109g++;\n }", "public interface C1234b {\r\n /* renamed from: a */\r\n void m8367a();\r\n\r\n /* renamed from: b */\r\n void m8368b();\r\n}", "private void m676a(TField bkVar, byte b) {\n if (b == -1) {\n b = m687e(bkVar.f538b);\n }\n short s = bkVar.f539c;\n short s2 = this.f519n;\n if (s <= s2 || s - s2 > 15) {\n m678b(b);\n mo446a(bkVar.f539c);\n } else {\n m686d(b | ((s - s2) << 4));\n }\n this.f519n = bkVar.f539c;\n }", "private static void m831a(C0741g<?> gVar, C0747b bVar) {\n gVar.mo9477a(C0743i.f718b, (C0739e<? super Object>) bVar);\n gVar.mo9476a(C0743i.f718b, (C0738d) bVar);\n gVar.mo9474a(C0743i.f718b, (C0736b) bVar);\n }", "public interface C40453c {\n /* renamed from: a */\n void mo100442a(C40429b bVar);\n\n /* renamed from: a */\n void mo100443a(List<String> list);\n\n /* renamed from: b */\n void mo100444b(List<C40429b> list);\n}", "private void j()\n/* */ {\n/* 223 */ c localc = this.b;\n/* 224 */ this.b = this.c;\n/* 225 */ this.c = localc;\n/* 226 */ this.c.b();\n/* */ }", "public lj ar(byte b) {\n throw new Runtime(\"d2j fail translate: java.lang.RuntimeException: can not merge I and Z\\r\\n\\tat com.googlecode.dex2jar.ir.TypeClass.merge(TypeClass.java:100)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeRef.updateTypeClass(TypeTransformer.java:174)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.provideAs(TypeTransformer.java:780)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.e1expr(TypeTransformer.java:496)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.exExpr(TypeTransformer.java:713)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.exExpr(TypeTransformer.java:703)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.enexpr(TypeTransformer.java:698)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.exExpr(TypeTransformer.java:719)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.exExpr(TypeTransformer.java:703)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.s1stmt(TypeTransformer.java:810)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.sxStmt(TypeTransformer.java:840)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.analyze(TypeTransformer.java:206)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer.transform(TypeTransformer.java:44)\\r\\n\\tat com.googlecode.d2j.dex.Dex2jar$2.optimize(Dex2jar.java:162)\\r\\n\\tat com.googlecode.d2j.dex.Dex2Asm.convertCode(Dex2Asm.java:414)\\r\\n\\tat com.googlecode.d2j.dex.ExDex2Asm.convertCode(ExDex2Asm.java:42)\\r\\n\\tat com.googlecode.d2j.dex.Dex2jar$2.convertCode(Dex2jar.java:128)\\r\\n\\tat com.googlecode.d2j.dex.Dex2Asm.convertMethod(Dex2Asm.java:509)\\r\\n\\tat com.googlecode.d2j.dex.Dex2Asm.convertClass(Dex2Asm.java:406)\\r\\n\\tat com.googlecode.d2j.dex.Dex2Asm.convertDex(Dex2Asm.java:422)\\r\\n\\tat com.googlecode.d2j.dex.Dex2jar.doTranslate(Dex2jar.java:172)\\r\\n\\tat com.googlecode.d2j.dex.Dex2jar.to(Dex2jar.java:272)\\r\\n\\tat com.googlecode.dex2jar.tools.Dex2jarCmd.doCommandLine(Dex2jarCmd.java:108)\\r\\n\\tat com.googlecode.dex2jar.tools.BaseCmd.doMain(BaseCmd.java:288)\\r\\n\\tat com.googlecode.dex2jar.tools.Dex2jarCmd.main(Dex2jarCmd.java:32)\\r\\n\");\n }", "public interface AbstractC10485b {\n /* renamed from: a */\n void mo64153a(boolean z);\n }", "public interface C40108b {\n /* renamed from: a */\n void mo99838a(boolean z);\n }", "interface C8361a {\n /* renamed from: b */\n float mo18284b(ViewGroup viewGroup, View view);\n\n /* renamed from: c */\n float mo18281c(ViewGroup viewGroup, View view);\n }" ]
[ "0.64558864", "0.6283203", "0.6252635", "0.6250949", "0.6244743", "0.6216273", "0.6194491", "0.6193556", "0.61641675", "0.6140157", "0.60993093", "0.60974354", "0.6077849", "0.6001867", "0.5997364", "0.59737104", "0.59737104", "0.5905105", "0.5904295", "0.58908087", "0.5886636", "0.58828026", "0.5855491", "0.584618", "0.5842517", "0.5824137", "0.5824071", "0.58097327", "0.5802052", "0.58012927", "0.579443", "0.5792392", "0.57902914", "0.5785124", "0.57718205", "0.57589084", "0.5735892", "0.5735892", "0.5734873", "0.5727929", "0.5720821", "0.5712531", "0.5706813", "0.56896514", "0.56543154", "0.5651059", "0.5649904", "0.56496733", "0.5647035", "0.5640965", "0.5640109", "0.563993", "0.5631903", "0.5597427", "0.55843794", "0.5583287", "0.557783", "0.55734867", "0.55733293", "0.5572254", "0.55683887", "0.55624336", "0.55540246", "0.5553985", "0.55480546", "0.554261", "0.5535739", "0.5529958", "0.5519634", "0.5517503", "0.55160624", "0.5511545", "0.5505353", "0.5500533", "0.5491741", "0.5486198", "0.5481978", "0.547701", "0.54725856", "0.5471632", "0.5463497", "0.5460805", "0.5454913", "0.5454885", "0.54519916", "0.5441594", "0.5436747", "0.5432453", "0.5425923", "0.5424724", "0.54189867", "0.54162544", "0.54051477", "0.53998184", "0.53945845", "0.53887725", "0.5388146", "0.5387678", "0.53858143", "0.53850687", "0.5384439" ]
0.0
-1
/ renamed from: c
public ColorStateList mo2193c(C0317d dVar) { return m1278j(dVar).mo2218a(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void mo5289a(C5102c c5102c);", "public static void c0() {\n\t}", "void mo57278c();", "private static void cajas() {\n\t\t\n\t}", "void mo5290b(C5102c c5102c);", "void mo80457c();", "void mo12638c();", "void mo28717a(zzc zzc);", "void mo21072c();", "@Override\n\tpublic void ccc() {\n\t\t\n\t}", "public void c() {\n }", "void mo17012c();", "C2451d mo3408a(C2457e c2457e);", "void mo88524c();", "void mo86a(C0163d c0163d);", "void mo17021c();", "public abstract void mo53562a(C18796a c18796a);", "void mo4874b(C4718l c4718l);", "void mo4873a(C4718l c4718l);", "C12017a mo41088c();", "public abstract void mo70702a(C30989b c30989b);", "void mo72114c();", "public void mo12628c() {\n }", "C2841w mo7234g();", "public interface C0335c {\n }", "public void mo1403c() {\n }", "public static void c3() {\n\t}", "public static void c1() {\n\t}", "void mo8712a(C9714a c9714a);", "void mo67924c();", "public void mo97906c() {\n }", "public abstract void mo27385c();", "String mo20731c();", "public int c()\r\n/* 74: */ {\r\n/* 75:78 */ return this.c;\r\n/* 76: */ }", "public interface C0939c {\n }", "void mo1582a(String str, C1329do c1329do);", "void mo304a(C0366h c0366h);", "void mo1493c();", "private String getString(byte c) {\n\t\treturn c==1? \"$ \": \" \";\n\t}", "java.lang.String getC3();", "C45321i mo90380a();", "public interface C11910c {\n}", "void mo57277b();", "String mo38972c();", "static int type_of_cnc(String passed){\n\t\treturn 1;\n\t}", "public static void CC2_1() {\n\t}", "static int type_of_cc(String passed){\n\t\treturn 1;\n\t}", "public interface C7654b {\n /* renamed from: a */\n C7904c mo24084a();\n\n /* renamed from: b */\n C7716a mo24085b();\n }", "public void mo56167c() {\n }", "public interface C0136c {\n }", "private void kk12() {\n\n\t}", "abstract String mo1748c();", "public abstract void mo70710a(String str, C24343db c24343db);", "public interface C0303q extends C0291e {\n /* renamed from: a */\n void mo1747a(int i);\n\n /* renamed from: a */\n void mo1749a(C0288c cVar);\n\n /* renamed from: a */\n void mo1751a(byte[] bArr);\n\n /* renamed from: b */\n void mo1753b(int i);\n\n /* renamed from: c */\n void mo1754c(int i);\n\n /* renamed from: d */\n void mo1755d(int i);\n\n /* renamed from: e */\n int mo1756e(int i);\n\n /* renamed from: g */\n int mo1760g();\n\n /* renamed from: g */\n void mo1761g(int i);\n\n /* renamed from: h */\n void mo1763h(int i);\n}", "C3577c mo19678C();", "public abstract int c();", "public abstract int c();", "public final void mo11687c() {\n }", "byte mo30283c();", "private java.lang.String c(java.lang.String r7) {\n /*\n r6 = this;\n r2 = \"\";\n r0 = r6.e;\t Catch:{ FileNotFoundException -> 0x0052 }\n if (r0 == 0) goto L_0x0050;\n L_0x0006:\n r0 = new java.lang.StringBuilder;\t Catch:{ FileNotFoundException -> 0x0052 }\n r1 = java.lang.String.valueOf(r7);\t Catch:{ FileNotFoundException -> 0x0052 }\n r0.<init>(r1);\t Catch:{ FileNotFoundException -> 0x0052 }\n r1 = \".\";\n r0 = r0.append(r1);\t Catch:{ FileNotFoundException -> 0x0052 }\n r1 = r6.e;\t Catch:{ FileNotFoundException -> 0x0052 }\n r0 = r0.append(r1);\t Catch:{ FileNotFoundException -> 0x0052 }\n r0 = r0.toString();\t Catch:{ FileNotFoundException -> 0x0052 }\n L_0x001f:\n r1 = r6.d;\t Catch:{ FileNotFoundException -> 0x0052 }\n r1 = r1.openFileInput(r0);\t Catch:{ FileNotFoundException -> 0x0052 }\n L_0x0025:\n r3 = new java.io.BufferedReader;\n r4 = new java.io.InputStreamReader;\n r0 = r1;\n r0 = (java.io.InputStream) r0;\n r5 = \"UTF-8\";\n r5 = java.nio.charset.Charset.forName(r5);\n r4.<init>(r0, r5);\n r3.<init>(r4);\n r0 = new java.lang.StringBuffer;\n r0.<init>();\n L_0x003d:\n r4 = r3.readLine();\t Catch:{ IOException -> 0x0065, all -> 0x0073 }\n if (r4 != 0) goto L_0x0061;\n L_0x0043:\n r0 = r0.toString();\t Catch:{ IOException -> 0x0065, all -> 0x0073 }\n r1 = (java.io.InputStream) r1;\t Catch:{ IOException -> 0x007d }\n r1.close();\t Catch:{ IOException -> 0x007d }\n r3.close();\t Catch:{ IOException -> 0x007d }\n L_0x004f:\n return r0;\n L_0x0050:\n r0 = r7;\n goto L_0x001f;\n L_0x0052:\n r0 = move-exception;\n r0 = r6.d;\t Catch:{ IOException -> 0x005e }\n r0 = r0.getAssets();\t Catch:{ IOException -> 0x005e }\n r1 = r0.open(r7);\t Catch:{ IOException -> 0x005e }\n goto L_0x0025;\n L_0x005e:\n r0 = move-exception;\n r0 = r2;\n goto L_0x004f;\n L_0x0061:\n r0.append(r4);\t Catch:{ IOException -> 0x0065, all -> 0x0073 }\n goto L_0x003d;\n L_0x0065:\n r0 = move-exception;\n r1 = (java.io.InputStream) r1;\t Catch:{ IOException -> 0x0070 }\n r1.close();\t Catch:{ IOException -> 0x0070 }\n r3.close();\t Catch:{ IOException -> 0x0070 }\n r0 = r2;\n goto L_0x004f;\n L_0x0070:\n r0 = move-exception;\n r0 = r2;\n goto L_0x004f;\n L_0x0073:\n r0 = move-exception;\n r1 = (java.io.InputStream) r1;\t Catch:{ IOException -> 0x007f }\n r1.close();\t Catch:{ IOException -> 0x007f }\n r3.close();\t Catch:{ IOException -> 0x007f }\n L_0x007c:\n throw r0;\n L_0x007d:\n r1 = move-exception;\n goto L_0x004f;\n L_0x007f:\n r1 = move-exception;\n goto L_0x007c;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.tencent.a.b.b.c(java.lang.String):java.lang.String\");\n }", "@Override\n\tpublic void compile(CodeBlock c, CompilerEnvironment environment) {\n\n\t}", "public interface C3196it extends C3208jc {\n /* renamed from: a */\n void mo30275a(long j);\n\n /* renamed from: b */\n C3197iu mo30281b(long j);\n\n /* renamed from: b */\n boolean mo30282b();\n\n /* renamed from: c */\n byte mo30283c();\n\n /* renamed from: c */\n String mo30285c(long j);\n\n /* renamed from: d */\n void mo30290d(long j);\n\n /* renamed from: e */\n int mo30291e();\n\n /* renamed from: f */\n long mo30295f();\n}", "public static void mmcc() {\n\t}", "java.lang.String getCit();", "public abstract C mo29734a();", "C15430g mo56154a();", "void mo41086b();", "@Override\n public void func_104112_b() {\n \n }", "public interface C9223b {\n }", "public abstract String mo11611b();", "void mo27952b(C5379a c5379a, int i, C46650a c46650a, C7620bi c7620bi);", "String getCmt();", "interface C30585a {\n /* renamed from: b */\n void mo27952b(C5379a c5379a, int i, C46650a c46650a, C7620bi c7620bi);\n }", "interface C2578d {\n}", "public interface C1803l extends C1813t {\n /* renamed from: b */\n C1803l mo7382b(C2778au auVar);\n\n /* renamed from: f */\n List<C1700ar> mo7233f();\n\n /* renamed from: g */\n C2841w mo7234g();\n\n /* renamed from: q */\n C1800i mo7384q();\n}", "double fFromC(double c) {\n return (c * 9 / 5) + 32;\n }", "void mo72113b();", "void mo1749a(C0288c cVar);", "public interface C0764b {\n}", "void mo41083a();", "String[] mo1153c();", "C1458cs mo7613iS();", "public interface C0333a {\n }", "public abstract int mo41077c();", "public interface C8843g {\n}", "public abstract void mo70709a(String str, C41018cm c41018cm);", "void mo28307a(zzgd zzgd);", "public static void mcdc() {\n\t}", "public interface C2459d {\n /* renamed from: a */\n C2451d mo3408a(C2457e c2457e);\n}", "C1435c mo1754a(C1433a c1433a, C1434b c1434b);", "public interface C0389gj extends C0388gi {\n}", "C5727e mo33224a();", "C12000e mo41087c(String str);", "public abstract String mo118046b();", "public interface C11113o {\n /* renamed from: a */\n void mo37759a(String str);\n }", "public interface C0938b {\n }", "void mo80455b();", "public interface C0385a {\n }", "public interface C5527c {\n /* renamed from: a */\n int mo4095a(int i);\n\n /* renamed from: b */\n C5537g mo4096b(int i);\n}", "public interface C32231g {\n /* renamed from: a */\n void mo8280a(int i, int i2, C1207m c1207m);\n}", "public interface C11994b {\n /* renamed from: a */\n C11996a mo41079a(String str);\n\n /* renamed from: a */\n C11996a mo41080a(String str, C11997b bVar, String... strArr);\n\n /* renamed from: a */\n C11998c mo41081a(String str, C11999d dVar, String... strArr);\n\n /* renamed from: a */\n C12000e mo41082a(String str, C12001f fVar, String... strArr);\n\n /* renamed from: a */\n void mo41083a();\n\n /* renamed from: a */\n void mo41084a(C12018b bVar, ConnectionState... connectionStateArr);\n\n /* renamed from: b */\n C11996a mo41085b(String str);\n\n /* renamed from: b */\n void mo41086b();\n\n /* renamed from: c */\n C12000e mo41087c(String str);\n\n /* renamed from: c */\n C12017a mo41088c();\n\n /* renamed from: d */\n void mo41089d(String str);\n\n /* renamed from: e */\n C11998c mo41090e(String str);\n\n /* renamed from: f */\n C12000e mo41091f(String str);\n\n /* renamed from: g */\n C11998c mo41092g(String str);\n}" ]
[ "0.64592767", "0.644052", "0.6431582", "0.6418656", "0.64118475", "0.6397491", "0.6250796", "0.62470585", "0.6244832", "0.6232792", "0.618864", "0.61662376", "0.6152657", "0.61496663", "0.6138441", "0.6137171", "0.6131197", "0.6103783", "0.60983956", "0.6077118", "0.6061723", "0.60513836", "0.6049069", "0.6030368", "0.60263443", "0.60089093", "0.59970635", "0.59756917", "0.5956231", "0.5949343", "0.5937446", "0.5911776", "0.59034705", "0.5901311", "0.5883238", "0.5871533", "0.5865361", "0.5851141", "0.581793", "0.5815705", "0.58012", "0.578891", "0.57870495", "0.5775621", "0.57608724", "0.5734331", "0.5731584", "0.5728505", "0.57239383", "0.57130504", "0.57094604", "0.570793", "0.5697671", "0.56975955", "0.56911296", "0.5684489", "0.5684489", "0.56768984", "0.56749034", "0.5659463", "0.56589085", "0.56573", "0.56537443", "0.5651912", "0.5648272", "0.5641736", "0.5639226", "0.5638583", "0.56299245", "0.56297386", "0.56186295", "0.5615729", "0.56117755", "0.5596015", "0.55905765", "0.55816257", "0.55813104", "0.55723965", "0.5572061", "0.55696625", "0.5566985", "0.55633485", "0.555888", "0.5555646", "0.55525774", "0.5549722", "0.5548184", "0.55460495", "0.5539394", "0.5535825", "0.55300397", "0.5527975", "0.55183905", "0.5517322", "0.5517183", "0.55152744", "0.5514932", "0.55128884", "0.5509501", "0.55044043", "0.54984957" ]
0.0
-1
/ renamed from: d
public float mo2195d(C0317d dVar) { return m1278j(dVar).mo2227d(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void d() {\n }", "@Override\n\tpublic void dtd() {\n\t\t\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "public int d()\r\n/* 79: */ {\r\n/* 80:82 */ return this.d;\r\n/* 81: */ }", "public String d_()\r\n/* 445: */ {\r\n/* 446:459 */ return \"container.inventory\";\r\n/* 447: */ }", "public abstract int d();", "private void m2248a(double d, String str) {\n this.f2954c = d;\n this.f2955d = (long) d;\n this.f2953b = str;\n this.f2952a = ValueType.doubleValue;\n }", "public int d()\n {\n return 1;\n }", "public interface C19512d {\n /* renamed from: dd */\n void mo34676dd(int i, int i2);\n }", "void mo21073d();", "@Override\n public boolean d() {\n return false;\n }", "int getD();", "public void dor(){\n }", "public int getD() {\n\t\treturn d;\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "public String getD() {\n return d;\n }", "@Override\n\tpublic void dibuja() {\n\t\t\n\t}", "public final void mo91715d() {\n }", "public D() {}", "void mo17013d();", "public int getD() {\n return d_;\n }", "void mo83705a(C32458d<T> dVar);", "public void d() {\n\t\tSystem.out.println(\"d method\");\n\t}", "double d();", "public float d()\r\n/* 15: */ {\r\n/* 16:163 */ return this.b;\r\n/* 17: */ }", "protected DNA(Population pop, DNA d) {\n\t\t// TODO: implement this\n\t}", "public ahb(ahd paramahd)\r\n/* 12: */ {\r\n/* 13: 36 */ this.d = paramahd;\r\n/* 14: */ }", "public abstract C17954dh<E> mo45842a();", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "@Override\n\tpublic void visitTdetree(Tdetree p) {\n\n\t}", "public abstract void mo56925d();", "void mo54435d();", "public void mo21779D() {\n }", "public void d() {\n this.f20599d.a(this.f20598c);\n this.f20598c.a(this);\n this.f20601f = new a(new d());\n d.a(this.f20596a, this.f20597b, this.f20601f);\n this.f20596a.setLayoutManager(new NPALinearLayoutManager(getContext()));\n ((s) this.f20596a.getItemAnimator()).setSupportsChangeAnimations(false);\n this.f20596a.setAdapter(this.f20601f);\n this.f20598c.a(this.f20602g);\n }", "@Override\r\n public String getStringRepresentation()\r\n {\r\n return \"D\";\r\n }", "void mo28307a(zzgd zzgd);", "List<String> d();", "d(l lVar, m mVar, b bVar) {\n super(mVar);\n this.f11484d = lVar;\n this.f11483c = bVar;\n }", "public int getD() {\n return d_;\n }", "public void addDField(String d){\n\t\tdfield.add(d);\n\t}", "public void mo3749d() {\n }", "public a dD() {\n return new a(this.HG);\n }", "public String amd_to_dma(java.sql.Date d)\n {\n String resp = \"\";\n if (d!=null)\n {\n String sdat = d.toString();\n String sano = sdat.substring(0,4);\n String smes = sdat.substring(5,7);\n String sdia = sdat.substring(8,10);\n resp = sdia+\"/\"+smes+\"/\"+sano;\n }\n return resp;\n }", "public void mo130970a(double d) {\n SinkDefaults.m149818a(this, d);\n }", "public abstract int getDx();", "public void mo97908d() {\n }", "public com.c.a.d.d d() {\n return this.k;\n }", "private static String toPsString(double d) {\n return \"(\" + d + \")\";\n }", "public boolean d() {\n return false;\n }", "void mo17023d();", "String dibujar();", "@Override\n\tpublic void setDurchmesser(int d) {\n\n\t}", "public void mo2470d() {\n }", "public abstract VH mo102583a(ViewGroup viewGroup, D d);", "public abstract String mo41079d();", "public void setD ( boolean d ) {\n\n\tthis.d = d;\n }", "public Dx getDx() {\n/* 32 */ return this.dx;\n/* */ }", "DoubleNode(int d) {\n\t data = d; }", "DD createDD();", "@java.lang.Override\n public float getD() {\n return d_;\n }", "public void setD(String d) {\n this.d = d == null ? null : d.trim();\n }", "public int d()\r\n {\r\n return 20;\r\n }", "float getD();", "public static int m22546b(double d) {\n return 8;\n }", "void mo12650d();", "String mo20732d();", "static void feladat4() {\n\t}", "void mo130799a(double d);", "public void mo2198g(C0317d dVar) {\n }", "@Override\n public void d(String TAG, String msg) {\n }", "private double convert(double d){\n\t\tDecimalFormatSymbols symbols = DecimalFormatSymbols.getInstance();\n\t\tsymbols.setDecimalSeparator('.');\n\t\tDecimalFormat df = new DecimalFormat(\"#.##\",symbols); \n\t\treturn Double.valueOf(df.format(d));\n\t}", "public void d(String str) {\n ((b.b) this.b).g(str);\n }", "public abstract void mo42329d();", "public abstract long mo9229aD();", "public abstract String getDnForPerson(String inum);", "public interface ddd {\n public String dan();\n\n}", "@Override\n public void func_104112_b() {\n \n }", "public Nodo (String d){\n\t\tthis.dato = d;\n\t\tthis.siguiente = null; //para que apunte el nodo creado a nulo\n\t}", "public void mo5117a(C0371d c0371d, double d) {\n new C0369b(this, c0371d, d).start();\n }", "public interface C27442s {\n /* renamed from: d */\n List<EffectPointModel> mo70331d();\n}", "public final void m22595a(double d) {\n mo4383c(Double.doubleToRawLongBits(d));\n }", "public void d() {\n this.f23522d.a(this.f23521c);\n this.f23521c.a(this);\n this.i = new a();\n this.i.a(new ae(this.f23519a));\n this.f23519a.setAdapter(this.i);\n this.f23519a.setOnItemClickListener(this);\n this.f23521c.e();\n this.h.a(hashCode(), this.f23520b);\n }", "public Vector2d(double d) {\n\t\tthis.x = d;\n\t\tthis.y = d;\n\t}", "DomainHelper dh();", "private Pares(PLoc p, PLoc s, int d){\n\t\t\tprimero=p;\n\t\t\tsegundo=s;\n\t\t\tdistancia=d;\n\t\t}", "static double DEG_to_RAD(double d) {\n return d * Math.PI / 180.0;\n }", "@java.lang.Override\n public float getD() {\n return d_;\n }", "private final VH m112826b(ViewGroup viewGroup, D d) {\n return mo102583a(viewGroup, d);\n }", "public Double getDx();", "public void m25658a(double d) {\n if (d <= 0.0d) {\n d = 1.0d;\n }\n this.f19276f = (float) (50.0d / d);\n this.f19277g = new C4658a(this, this.f19273c);\n }", "boolean hasD();", "public abstract void mo27386d();", "MergedMDD() {\n }", "@ReflectiveMethod(name = \"d\", types = {})\n public void d(){\n NMSWrapper.getInstance().exec(nmsObject);\n }", "@Override\n public Chunk d(int i0, int i1) {\n return null;\n }", "public void d(World paramaqu, BlockPosition paramdt, Block parambec)\r\n/* 47: */ {\r\n/* 48: 68 */ BlockPosition localdt = paramdt.offset(((EnumDirection)parambec.getData(a)).opposite());\r\n/* 49: 69 */ Block localbec = paramaqu.getBlock(localdt);\r\n/* 50: 70 */ if (((localbec.getType() instanceof bdq)) && (((Boolean)localbec.getData(bdq.b)).booleanValue())) {\r\n/* 51: 71 */ paramaqu.g(localdt);\r\n/* 52: */ }\r\n/* 53: */ }", "double defendre();", "public static int setDimension( int d ) {\n int temp = DPoint.d;\n DPoint.d = d;\n return temp;\n }", "public Datum(Datum d) {\n this.dan = d.dan;\n this.mesec = d.mesec;\n this.godina = d.godina;\n }", "public Nodo (String d, Nodo n){\n\t\tdato = d;\n\t\tsiguiente=n;\n\t}" ]
[ "0.63810617", "0.616207", "0.6071929", "0.59959275", "0.5877492", "0.58719957", "0.5825175", "0.57585526", "0.5701679", "0.5661244", "0.5651699", "0.56362265", "0.562437", "0.5615328", "0.56114155", "0.56114155", "0.5605659", "0.56001145", "0.5589302", "0.5571578", "0.5559222", "0.5541367", "0.5534182", "0.55326", "0.550431", "0.55041796", "0.5500838", "0.54946786", "0.5475938", "0.5466879", "0.5449981", "0.5449007", "0.54464436", "0.5439673", "0.543565", "0.5430978", "0.5428843", "0.5423923", "0.542273", "0.541701", "0.5416963", "0.54093426", "0.53927654", "0.53906536", "0.53793144", "0.53732955", "0.53695524", "0.5366731", "0.53530186", "0.535299", "0.53408253", "0.5333639", "0.5326304", "0.53250664", "0.53214055", "0.53208005", "0.5316437", "0.53121597", "0.52979535", "0.52763224", "0.5270543", "0.526045", "0.5247397", "0.5244388", "0.5243049", "0.5241726", "0.5241194", "0.523402", "0.5232349", "0.5231111", "0.5230985", "0.5219358", "0.52145815", "0.5214168", "0.5209237", "0.52059376", "0.51952434", "0.5193699", "0.51873696", "0.5179743", "0.5178796", "0.51700175", "0.5164517", "0.51595956", "0.5158281", "0.51572365", "0.5156627", "0.5155795", "0.51548296", "0.51545656", "0.5154071", "0.51532024", "0.5151545", "0.5143571", "0.5142079", "0.5140048", "0.51377696", "0.5133826", "0.5128858", "0.5125679", "0.5121545" ]
0.0
-1
/ renamed from: e
public void mo2196e(C0317d dVar) { m1278j(dVar).mo2222a(dVar.mo2182c()); mo2201i(dVar); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void e() {\n\n\t}", "public void e() {\n }", "@Override\n\tpublic void processEvent(Event e) {\n\n\t}", "@Override\n public void e(String TAG, String msg) {\n }", "public String toString()\r\n {\r\n return e.toString();\r\n }", "@Override\n\t\t\t\t\t\t\tpublic void error(Exception e) {\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t}", "public Object element() { return e; }", "@Override\n public void e(int i0, int i1) {\n\n }", "@Override\r\n\t\t\tpublic void execute(LiftEvent e) {\n\t\t\t\t\r\n\t\t\t}", "@Override\r\n\t\t\tpublic void execute(LiftEvent e) {\n\t\t\t\t\r\n\t\t\t}", "private static Throwable handle(final Throwable e) {\r\n\t\te.printStackTrace();\r\n\r\n\t\tif (e.getCause() != null) {\r\n\t\t\te.getCause().printStackTrace();\r\n\t\t}\r\n\t\tif (e instanceof SAXException) {\r\n\t\t\t((SAXException) e).getException().printStackTrace();\r\n\t\t}\r\n\t\treturn e;\r\n\t}", "void event(Event e) throws Exception;", "Event getE();", "public int getE() {\n return e_;\n }", "@Override\n\tpublic void onException(Exception e) {\n\n\t}", "@Override\r\n\t\t\tpublic void keyPressed(KeyEvent e) {\n\t\t\t\tevent(e, et.get(2));\r\n\t\t\t}", "public byte e()\r\n/* 84: */ {\r\n/* 85:86 */ return this.e;\r\n/* 86: */ }", "@Override\r\n\t\t\tpublic void keyPressed(KeyEvent e) {\n\t\t\t\tevent(e, et.get(1));\r\n\t\t\t}", "public void toss(Exception e);", "private void log(IndexObjectException e) {\n\t\t\r\n\t}", "public int getE() {\n return e_;\n }", "@Override\n\tpublic void einkaufen() {\n\t}", "private String getStacktraceFromException(Exception e) {\n\t\tByteArrayOutputStream baos = new ByteArrayOutputStream();\n\t\tPrintStream ps = new PrintStream(baos);\n\t\te.printStackTrace(ps);\n\t\tps.close();\n\t\treturn baos.toString();\n\t}", "protected void processEdge(Edge e) {\n\t}", "@Override\n\tpublic String toString() {\n\t\treturn \"E \" + super.toString();\n\t}", "@Override\r\n\t\t\tpublic void keyPressed(KeyEvent e) {\n\t\t\t\tevent(e, et.get(0));\r\n\t\t\t}", "public Element getElement() {\n/* 78 */ return this.e;\n/* */ }", "@Override\r\n public void actionPerformed( ActionEvent e )\r\n {\n }", "void mo57276a(Exception exc);", "@Override\r\n\tpublic void onEvent(Object e) {\n\t}", "public Throwable getOriginalException()\n/* 28: */ {\n/* 29:56 */ return this.originalE;\n/* 30: */ }", "@Override\r\n\t\t\tpublic void onError(Throwable e) {\n\r\n\t\t\t}", "private void sendOldError(Exception e) {\n }", "private V e() throws com.amap.api.col.n3.gh {\n /*\n r6 = this;\n r0 = 0\n r1 = 0\n L_0x0002:\n int r2 = r6.b\n if (r1 >= r2) goto L_0x00cd\n com.amap.api.col.n3.ki r2 = com.amap.api.col.n3.ki.c() // Catch:{ ic -> 0x0043, gh -> 0x0032, Throwable -> 0x002a }\n android.content.Context r3 = r6.d // Catch:{ ic -> 0x0043, gh -> 0x0032, Throwable -> 0x002a }\n java.net.Proxy r3 = com.amap.api.col.n3.ik.a(r3) // Catch:{ ic -> 0x0043, gh -> 0x0032, Throwable -> 0x002a }\n r6.a((java.net.Proxy) r3) // Catch:{ ic -> 0x0043, gh -> 0x0032, Throwable -> 0x002a }\n byte[] r2 = r2.a((com.amap.api.col.n3.kj) r6) // Catch:{ ic -> 0x0043, gh -> 0x0032, Throwable -> 0x002a }\n java.lang.Object r2 = r6.a((byte[]) r2) // Catch:{ ic -> 0x0043, gh -> 0x0032, Throwable -> 0x002a }\n int r0 = r6.b // Catch:{ ic -> 0x0025, gh -> 0x0020, Throwable -> 0x002a }\n r1 = r0\n r0 = r2\n goto L_0x0002\n L_0x0020:\n r0 = move-exception\n r5 = r2\n r2 = r0\n r0 = r5\n goto L_0x0033\n L_0x0025:\n r0 = move-exception\n r5 = r2\n r2 = r0\n r0 = r5\n goto L_0x0044\n L_0x002a:\n com.amap.api.col.n3.gh r0 = new com.amap.api.col.n3.gh\n java.lang.String r1 = \"未知错误\"\n r0.<init>(r1)\n throw r0\n L_0x0032:\n r2 = move-exception\n L_0x0033:\n int r1 = r1 + 1\n int r3 = r6.b\n if (r1 < r3) goto L_0x0002\n com.amap.api.col.n3.gh r0 = new com.amap.api.col.n3.gh\n java.lang.String r1 = r2.a()\n r0.<init>(r1)\n throw r0\n L_0x0043:\n r2 = move-exception\n L_0x0044:\n int r1 = r1 + 1\n int r3 = r6.b\n if (r1 >= r3) goto L_0x008a\n int r3 = r6.e // Catch:{ InterruptedException -> 0x0053 }\n int r3 = r3 * 1000\n long r3 = (long) r3 // Catch:{ InterruptedException -> 0x0053 }\n java.lang.Thread.sleep(r3) // Catch:{ InterruptedException -> 0x0053 }\n goto L_0x0002\n L_0x0053:\n java.lang.String r0 = \"http连接失败 - ConnectionException\"\n java.lang.String r1 = r2.getMessage()\n boolean r0 = r0.equals(r1)\n if (r0 != 0) goto L_0x0082\n java.lang.String r0 = \"socket 连接异常 - SocketException\"\n java.lang.String r1 = r2.getMessage()\n boolean r0 = r0.equals(r1)\n if (r0 != 0) goto L_0x0082\n java.lang.String r0 = \"服务器连接失败 - UnknownServiceException\"\n java.lang.String r1 = r2.getMessage()\n boolean r0 = r0.equals(r1)\n if (r0 == 0) goto L_0x0078\n goto L_0x0082\n L_0x0078:\n com.amap.api.col.n3.gh r0 = new com.amap.api.col.n3.gh\n java.lang.String r1 = r2.a()\n r0.<init>(r1)\n throw r0\n L_0x0082:\n com.amap.api.col.n3.gh r0 = new com.amap.api.col.n3.gh\n java.lang.String r1 = \"http或socket连接失败 - ConnectionException\"\n r0.<init>(r1)\n throw r0\n L_0x008a:\n java.lang.String r0 = \"http连接失败 - ConnectionException\"\n java.lang.String r1 = r2.getMessage()\n boolean r0 = r0.equals(r1)\n if (r0 != 0) goto L_0x00c5\n java.lang.String r0 = \"socket 连接异常 - SocketException\"\n java.lang.String r1 = r2.getMessage()\n boolean r0 = r0.equals(r1)\n if (r0 != 0) goto L_0x00c5\n java.lang.String r0 = \"未知的错误\"\n java.lang.String r1 = r2.a()\n boolean r0 = r0.equals(r1)\n if (r0 != 0) goto L_0x00c5\n java.lang.String r0 = \"服务器连接失败 - UnknownServiceException\"\n java.lang.String r1 = r2.getMessage()\n boolean r0 = r0.equals(r1)\n if (r0 == 0) goto L_0x00bb\n goto L_0x00c5\n L_0x00bb:\n com.amap.api.col.n3.gh r0 = new com.amap.api.col.n3.gh\n java.lang.String r1 = r2.a()\n r0.<init>(r1)\n throw r0\n L_0x00c5:\n com.amap.api.col.n3.gh r0 = new com.amap.api.col.n3.gh\n java.lang.String r1 = \"http或socket连接失败 - ConnectionException\"\n r0.<init>(r1)\n throw r0\n L_0x00cd:\n return r0\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.amap.api.col.n3.gi.e():java.lang.Object\");\n }", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\n\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent e) {\n\t\t\t\t\n\t\t\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\t\r\n\t\t\t}", "@Override\n protected void processMouseEvent(MouseEvent e) {\n super.processMouseEvent(e);\n }", "private void printInfo(SAXParseException e) {\n\t}", "@Override\n\t\tpublic void onError(Throwable e) {\n\t\t\tSystem.out.println(\"onError\");\n\t\t}", "String exceptionToStackTrace( Exception e ) {\n StringWriter stringWriter = new StringWriter();\n PrintWriter printWriter = new PrintWriter(stringWriter);\n e.printStackTrace( printWriter );\n return stringWriter.toString();\n }", "public <E> E getE(E e){\n return e;\n }", "@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t}", "@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t}", "@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t}", "@PortedFrom(file = \"tSignatureUpdater.h\", name = \"vE\")\n private void vE(NamedEntity e) {\n sig.add(e);\n }", "@Override\n\t\tpublic void onException(Exception arg0) {\n\t\t\t\n\t\t}", "@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\t\n\t\t\t}", "@Override\r\n\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\r\n\t\t}", "protected E eval()\n\t\t{\n\t\tE e=this.e;\n\t\tthis.e=null;\n\t\treturn e;\n\t\t}", "void showResultMoError(String e);", "public int E() {\n \treturn E;\n }", "@Override\r\n public void processEvent(IAEvent e) {\n\r\n }", "@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\n\t\t\t}", "@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\n\t\t\t}", "@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\n\t\t\t}", "@Override\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\n\t\t\t}", "static public String getStackTrace(Exception e) {\n java.io.StringWriter s = new java.io.StringWriter(); \n e.printStackTrace(new java.io.PrintWriter(s));\n String trace = s.toString();\n \n if(trace==null || trace.length()==0 || trace.equals(\"null\"))\n return e.toString();\n else\n return trace;\n }", "@Override\n public String toString() {\n return \"[E]\" + super.toString() + \"(at: \" + details + \")\";\n }", "public static void error(boolean e) {\n E = e;\n }", "public void out_ep(Edge e) {\r\n\r\n\t\tif (triangulate == 0 & plot == 1) {\r\n\t\t\tclip_line(e);\r\n\t\t}\r\n\r\n\t\tif (triangulate == 0 & plot == 0) {\r\n\t\t\tSystem.err.printf(\"e %d\", e.edgenbr);\r\n\t\t\tSystem.err.printf(\" %d \", e.ep[le] != null ? e.ep[le].sitenbr : -1);\r\n\t\t\tSystem.err.printf(\"%d\\n\", e.ep[re] != null ? e.ep[re].sitenbr : -1);\r\n\t\t}\r\n\r\n\t}", "public void m58944a(E e) {\n this.f48622a = e;\n }", "void mo43357a(C16726e eVar) throws RemoteException;", "@Override\n\t\t\tpublic void mouseDown(MouseEvent e) {\n\t\t\t\t\n\t\t\t}", "@Override\n\t\t\tpublic void mouseDown(MouseEvent e) {\n\t\t\t\t\n\t\t\t}", "@Override\n\t\t\tpublic void mouseDown(MouseEvent e) {\n\t\t\t\t\n\t\t\t}", "@Override\n\t\t\tpublic void mouseDown(MouseEvent e) {\n\t\t\t\t\n\t\t\t}", "@Override\n\t\t\tpublic void mouseDown(MouseEvent e) {\n\t\t\t\t\n\t\t\t}", "@Override\n\t\t\tpublic void mouseDown(MouseEvent e) {\n\t\t\t\t\n\t\t\t}", "@Override\n\t\t\tpublic void mouseDown(MouseEvent e) {\n\t\t\t\t\n\t\t\t}", "@Override\n\t\t\tpublic void mouseDown(MouseEvent e) {\n\t\t\t\t\n\t\t\t}", "@Override\n\t\t\tpublic void mouseDown(MouseEvent e) {\n\t\t\t\t\n\t\t\t}", "@Override\n\t\t\tpublic void mouseDown(MouseEvent e) {\n\t\t\t\t\n\t\t\t}", "@Override\n\tpublic void erstellen() {\n\t\t\n\t}", "@Override\n\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t}", "@Override\n\tpublic void actionPerformed(java.awt.event.ActionEvent e) {\n\n\t}", "public void actionPerformed(ActionEvent e) {\n\t\t\t\t}", "static String getElementText(Element e) {\n if (e.getChildNodes().getLength() == 1) {\n Text elementText = (Text) e.getFirstChild();\n return elementText.getNodeValue();\n }\n else\n return \"\";\n }", "public RuntimeException processException(RuntimeException e)\n\n {\n\treturn new RuntimeException(e);\n }", "@Override\n\t\t\tpublic void mouseDown(MouseEvent e) {\n\n\t\t\t}", "@java.lang.Override\n public java.lang.String getE() {\n java.lang.Object ref = e_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n e_ = s;\n return s;\n }\n }", "protected void onEvent(DivRepEvent e) {\n\t\t}", "protected void onEvent(DivRepEvent e) {\n\t\t}", "protected void logException(Exception e) {\r\n if (log.isErrorEnabled()) {\r\n log.logError(LogCodes.WPH2004E, e, e.getClass().getName() + \" processing field \");\r\n }\r\n }", "@Override\r\n\t\t\tpublic void keyPressed(KeyEvent e) {\n\t\t\t\tevent(e, vt.get(2));\r\n\t\t\t}", "@Override\n\t\t\t\t\t\t\t\t\t\t\tpublic void keyPressed(KeyEvent e) {\n\n\t\t\t\t\t\t\t\t\t\t\t}", "com.walgreens.rxit.ch.cda.EIVLEvent getEvent();", "@Override\n protected void getExras() {\n }", "@Override\r\n\t\t\tpublic void keyPressed(KeyEvent e) {\n\t\t\t\tevent(e, vt.get(4));\r\n\t\t\t}", "public void actionPerformed(ActionEvent e) {\n\t\t\t}", "public void actionPerformed(ActionEvent e) {\n\t\t\t}", "public void actionPerformed(ActionEvent e) {\n\t\t\t}", "public void actionPerformed(ActionEvent e) {\n\t\t\t}", "public void actionPerformed(ActionEvent e) {\n\t\t\t}", "public void actionPerformed(ActionEvent e) {\n\t\t\t}", "public void actionPerformed(ActionEvent e) {\n\t\t\t}", "public void actionPerformed(ActionEvent e) {\n\t\t\t}", "@Override\r\n\t\t\tpublic void keyPressed(KeyEvent e) {\n\t\t\t\t\r\n\t\t\t}", "public e o() {\r\n return k();\r\n }", "@Override\n\t\t\tpublic void focusGained(FocusEvent e) {\n\t\t\t\t\n\t\t\t}" ]
[ "0.72328156", "0.66032064", "0.6412127", "0.6362734", "0.633999", "0.62543726", "0.6232265", "0.6159535", "0.61226326", "0.61226326", "0.60798717", "0.6049423", "0.60396963", "0.60011584", "0.5998842", "0.59709895", "0.59551716", "0.5937381", "0.58854383", "0.5870234", "0.5863486", "0.58606255", "0.58570576", "0.5832809", "0.57954526", "0.5784194", "0.57723534", "0.576802", "0.57466", "0.57258075", "0.5722709", "0.5722404", "0.57134414", "0.56987166", "0.5683048", "0.5671214", "0.5650087", "0.56173986", "0.56142104", "0.56100404", "0.5604611", "0.55978096", "0.5597681", "0.55941516", "0.55941516", "0.55941516", "0.5578516", "0.55689955", "0.5568649", "0.5564652", "0.5561944", "0.5561737", "0.5560318", "0.555748", "0.5550611", "0.5550611", "0.5550611", "0.5550611", "0.5547971", "0.55252135", "0.5523029", "0.55208814", "0.5516037", "0.5512", "0.55118424", "0.55118424", "0.55118424", "0.55118424", "0.55118424", "0.55118424", "0.55118424", "0.55118424", "0.55118424", "0.55118424", "0.55118227", "0.5509796", "0.5509671", "0.5503605", "0.55015326", "0.5499632", "0.54921895", "0.54892236", "0.5483562", "0.5483562", "0.5482999", "0.54812574", "0.5479943", "0.54787004", "0.54778624", "0.5472073", "0.54695076", "0.54695076", "0.54695076", "0.54695076", "0.54695076", "0.54695076", "0.54695076", "0.54695076", "0.5468417", "0.54673034", "0.54645115" ]
0.0
-1
/ renamed from: f
public float mo2197f(C0317d dVar) { return m1278j(dVar).mo2230f(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void func_70305_f() {}", "public static Forca get_f(){\n\t\treturn f;\n\t}", "void mo84656a(float f);", "public final void mo8765a(float f) {\n }", "@Override\n public int f() {\n return 0;\n }", "public void f() {\n }", "void mo9704b(float f, float f2, int i);", "void mo56155a(float f);", "public void f() {\n }", "void mo9696a(float f, float f2, int i);", "@Override\n\tpublic void f2() {\n\t\t\n\t}", "public void f() {\n Message q_ = q_();\n e.c().a(new f(255, a(q_.toByteArray())), getClass().getSimpleName(), i().a(), q_);\n }", "void mo72112a(float f);", "void mo9694a(float f, float f2);", "void f1() {\r\n\t}", "public amj p()\r\n/* 543: */ {\r\n/* 544:583 */ return this.f;\r\n/* 545: */ }", "double cFromF(double f) {\n return (f-32) * 5 / 9;\n }", "void mo34547J(float f, float f2);", "@Override\n\tpublic void f1() {\n\n\t}", "public void f() {\n this.f25459e.J();\n }", "public abstract void mo70718c(String str, float f);", "public byte f()\r\n/* 89: */ {\r\n/* 90:90 */ return this.f;\r\n/* 91: */ }", "C3579d mo19694a(C3581f fVar) throws IOException;", "public abstract void mo70714b(String str, float f);", "void mo9705c(float f, float f2);", "FunctionCall getFc();", "@Override\n\tpublic void af(String t) {\n\n\t}", "void mo9695a(float f, float f2, float f3, float f4, float f5);", "public abstract void mo70705a(String str, float f);", "void mo21075f();", "static double transform(int f) {\n return (5.0 / 9.0 * (f - 32));\n\n }", "private int m216e(float f) {\n int i = (int) (f + 0.5f);\n return i % 2 == 1 ? i - 1 : i;\n }", "void mo9703b(float f, float f2);", "public abstract int mo123247f();", "void mo6072a(float f) {\n this.f2347q = this.f2342e.mo6054a(f);\n }", "public float mo12718a(float f) {\n return f;\n }", "public abstract void mo70706a(String str, float f, float f2);", "@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}", "protected float l()\r\n/* 72: */ {\r\n/* 73: 84 */ return 0.0F;\r\n/* 74: */ }", "public int getF() {\n\t\treturn f;\n\t}", "public void f()\r\n {\r\n float var1 = 0.5F;\r\n float var2 = 0.125F;\r\n float var3 = 0.5F;\r\n this.a(0.5F - var1, 0.5F - var2, 0.5F - var3, 0.5F + var1, 0.5F + var2, 0.5F + var3);\r\n }", "void mo9698a(String str, float f);", "private static float m82748a(float f) {\n if (f == 0.0f) {\n return 1.0f;\n }\n return 0.0f;\n }", "static void feladat4() {\n\t}", "public int getf(){\r\n return f;\r\n}", "private static double FToC(double f) {\n\t\treturn (f-32)*5/9;\n\t}", "public void a(Float f) {\n ((b.b) this.b).a(f);\n }", "public Flt(float f) {this.f = new Float(f);}", "static double f(double x){\n \treturn Math.sin(x);\r\n }", "private float m23258a(float f, float f2, float f3) {\n return f + ((f2 - f) * f3);\n }", "public double getF();", "protected float m()\r\n/* 234: */ {\r\n/* 235:247 */ return 0.03F;\r\n/* 236: */ }", "final void mo6072a(float f) {\n this.f2349i = this.f2348h.mo6057b(f);\n }", "private float m87322b(float f) {\n return (float) Math.sin((double) ((float) (((double) (f - 0.5f)) * 0.4712389167638204d)));\n }", "public void colores(int f) {\n this.f = f;\n }", "static float m51586b(float f, float f2, float f3) {\n return ((f2 - f) * f3) + f;\n }", "void mo3193f();", "public void mo3777a(float f) {\n this.f1443S = f;\n }", "@Override\r\n\tprotected void doF6() {\n\t\t\r\n\t}", "static void feladat9() {\n\t}", "private double f2c(double f)\n {\n return (f-32)*5/9;\n }", "public void e(Float f) {\n ((b.b) this.b).e(f);\n }", "int mo9691a(String str, String str2, float f);", "void mo196b(float f) throws RemoteException;", "public void d(Float f) {\n ((b.b) this.b).d(f);\n }", "static void feladat7() {\n\t}", "public void b(Float f) {\n ((b.b) this.b).b(f);\n }", "long mo54439f(int i);", "public void c(Float f) {\n ((b.b) this.b).c(f);\n }", "@java.lang.Override\n public java.lang.String getF() {\n java.lang.Object ref = f_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n f_ = s;\n return s;\n }\n }", "public static void detectComponents(String f) {\n\t\t\n\t}", "public void b(amj paramamj)\r\n/* 538: */ {\r\n/* 539:579 */ this.f = paramamj;\r\n/* 540: */ }", "public void f() {\n if (this instanceof b) {\n b bVar = (b) this;\n Message q_ = bVar.q_();\n e.c().a(new f(bVar.b(), q_.toByteArray()), getClass().getSimpleName(), i().a(), q_);\n return;\n }\n f a2 = a();\n if (a2 != null) {\n e.c().a(a2, getClass().getSimpleName(), i().a(), (Message) null);\n }\n }", "void mo54440f();", "public int F()\r\n/* 24: */ {\r\n/* 25: 39 */ return aqt.a(0.5D, 1.0D);\r\n/* 26: */ }", "@Override\r\n\tprotected void doF8() {\n\t\t\r\n\t}", "public abstract int mo9741f();", "void testMethod() {\n f();\n }", "public static int m22547b(float f) {\n return 4;\n }", "public float mo12728b(float f) {\n return f;\n }", "public void mo1963f() throws cf {\r\n }", "public abstract File mo41087j();", "@Override\n\tpublic void visit(Function arg0) {\n\t\t\n\t}", "public abstract int f(int i2);", "static void feladat6() {\n\t}", "public void furyo ()\t{\n }", "long mo30295f();", "public void a(zf zfVar, Canvas canvas, float f, float f2) {\n }", "public T fjern();", "public static void feec() {\n\t}", "@Override\n\tdouble f(double x) {\n\t\treturn x;\n\t}", "static void feladat3() {\n\t}", "static void feladat8() {\n\t}", "public void mo3797c(float f) {\n this.f1455ad[0] = f;\n }", "public abstract double fct(double x);", "public interface b {\n boolean f(@NonNull File file);\n }", "public void setF(){\n\t\tf=calculateF();\n\t}", "public FI_() {\n }", "static void feladat5() {\n\t}", "private final void m57544f(int i) {\n this.f47568d.m63092a(new C15335a(i, true));\n }", "public abstract long f();" ]
[ "0.7323683", "0.65213245", "0.649907", "0.64541733", "0.6415534", "0.63602704", "0.6325114", "0.63194084", "0.630473", "0.62578535", "0.62211406", "0.6209556", "0.6173324", "0.61725706", "0.61682224", "0.6135272", "0.6130462", "0.6092916", "0.6089471", "0.6073019", "0.6069227", "0.6045645", "0.60285485", "0.6017334", "0.60073197", "0.59810024", "0.59757596", "0.5967885", "0.5942414", "0.59418225", "0.5939683", "0.59241796", "0.58987755", "0.5894165", "0.58801377", "0.5879881", "0.5830818", "0.57981277", "0.5790314", "0.578613", "0.5775656", "0.5772591", "0.57630384", "0.5752546", "0.5752283", "0.5735288", "0.5733957", "0.57191586", "0.57179475", "0.57131994", "0.57131445", "0.5706053", "0.5689441", "0.56773764", "0.5667179", "0.56332076", "0.5623908", "0.56229013", "0.5620846", "0.5620233", "0.5616687", "0.5610022", "0.5601161", "0.55959773", "0.5594083", "0.55762523", "0.5570697", "0.5569185", "0.5552703", "0.55498457", "0.5549487", "0.5540512", "0.55403346", "0.5538902", "0.5538738", "0.55373883", "0.55234814", "0.55215186", "0.551298", "0.5508332", "0.5507449", "0.55046654", "0.550407", "0.55029416", "0.5494386", "0.5493873", "0.54900146", "0.5487203", "0.54866016", "0.54843825", "0.5478175", "0.547722", "0.54764897", "0.5472811", "0.54662675", "0.5460087", "0.5458977", "0.54567033", "0.54565614", "0.5454854", "0.5442333" ]
0.0
-1
/ renamed from: g
public void mo2198g(C0317d dVar) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void g() {\n }", "public void gored() {\n\t\t\n\t}", "public boolean g()\r\n/* 94: */ {\r\n/* 95:94 */ return this.g;\r\n/* 96: */ }", "public int g()\r\n/* 173: */ {\r\n/* 174:198 */ return 0;\r\n/* 175: */ }", "public void stg() {\n\n\t}", "public xm n()\r\n/* 274: */ {\r\n/* 275:287 */ if ((this.g == null) && (this.h != null) && (this.h.length() > 0)) {\r\n/* 276:288 */ this.g = this.o.a(this.h);\r\n/* 277: */ }\r\n/* 278:290 */ return this.g;\r\n/* 279: */ }", "int getG();", "private final zzgy zzgb() {\n }", "public int g()\r\n/* 601: */ {\r\n/* 602:645 */ return 0;\r\n/* 603: */ }", "private static void g() {\n h h10 = q;\n synchronized (h10) {\n h10.f();\n Object object = h10.e();\n object = object.iterator();\n boolean bl2;\n while (bl2 = object.hasNext()) {\n Object object2 = object.next();\n object2 = (g)object2;\n Object object3 = ((g)object2).getName();\n object3 = i.h.d.j((String)object3);\n ((g)object2).h((i.h.c)object3);\n }\n return;\n }\n }", "public int g()\r\n {\r\n return 1;\r\n }", "void mo28307a(zzgd zzgd);", "void mo21076g();", "void mo56163g();", "void mo98971a(C29296g gVar, int i);", "public int getG();", "void mo98970a(C29296g gVar);", "public abstract long g();", "public com.amap.api.col.n3.al g(java.lang.String r6) {\n /*\n r5 = this;\n r0 = 0\n if (r6 == 0) goto L_0x003a\n int r1 = r6.length()\n if (r1 > 0) goto L_0x000a\n goto L_0x003a\n L_0x000a:\n java.util.List<com.amap.api.col.n3.al> r1 = r5.c\n monitor-enter(r1)\n java.util.List<com.amap.api.col.n3.al> r2 = r5.c // Catch:{ all -> 0x0037 }\n java.util.Iterator r2 = r2.iterator() // Catch:{ all -> 0x0037 }\n L_0x0013:\n boolean r3 = r2.hasNext() // Catch:{ all -> 0x0037 }\n if (r3 == 0) goto L_0x0035\n java.lang.Object r3 = r2.next() // Catch:{ all -> 0x0037 }\n com.amap.api.col.n3.al r3 = (com.amap.api.col.n3.al) r3 // Catch:{ all -> 0x0037 }\n java.lang.String r4 = r3.getCity() // Catch:{ all -> 0x0037 }\n boolean r4 = r6.equals(r4) // Catch:{ all -> 0x0037 }\n if (r4 != 0) goto L_0x0033\n java.lang.String r4 = r3.getPinyin() // Catch:{ all -> 0x0037 }\n boolean r4 = r6.equals(r4) // Catch:{ all -> 0x0037 }\n if (r4 == 0) goto L_0x0013\n L_0x0033:\n monitor-exit(r1) // Catch:{ all -> 0x0037 }\n return r3\n L_0x0035:\n monitor-exit(r1)\n return r0\n L_0x0037:\n r6 = move-exception\n monitor-exit(r1)\n throw r6\n L_0x003a:\n return r0\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.amap.api.col.n3.am.g(java.lang.String):com.amap.api.col.n3.al\");\n }", "public int getG() {\r\n\t\treturn g;\r\n\t}", "private Gng() {\n }", "void mo57277b();", "int mo98967b(C29296g gVar);", "public void mo21782G() {\n }", "public final void mo74763d(C29296g gVar) {\n }", "private final java.lang.String m14284g() {\n /*\n r3 = this;\n b.h.b.a.b.b.ah r0 = r3.f8347b\n b.h.b.a.b.b.m r0 = r0.mo7065b()\n b.h.b.a.b.b.ah r1 = r3.f8347b\n b.h.b.a.b.b.az r1 = r1.mo7077p()\n b.h.b.a.b.b.az r2 = p073b.p085h.p087b.p088a.p090b.p094b.C1710ay.f5339d\n boolean r1 = p073b.p079e.p081b.C1489j.m6971a(r1, r2)\n if (r1 == 0) goto L_0x0056\n boolean r1 = r0 instanceof p073b.p085h.p087b.p088a.p090b.p127j.p128a.p129a.C2608e\n if (r1 == 0) goto L_0x0056\n b.h.b.a.b.j.a.a.e r0 = (p073b.p085h.p087b.p088a.p090b.p127j.p128a.p129a.C2608e) r0\n b.h.b.a.b.e.a$c r0 = r0.mo9643H()\n b.h.b.a.b.g.i$c r0 = (p073b.p085h.p087b.p088a.p090b.p117g.C2383i.C2387c) r0\n b.h.b.a.b.g.i$f<b.h.b.a.b.e.a$c, java.lang.Integer> r1 = p073b.p085h.p087b.p088a.p090b.p112e.p114b.C2330b.f7137i\n java.lang.String r2 = \"JvmProtoBuf.classModuleName\"\n p073b.p079e.p081b.C1489j.m6969a(r1, r2)\n java.lang.Object r0 = p073b.p085h.p087b.p088a.p090b.p112e.p113a.C2288f.m11197a(r0, r1)\n java.lang.Integer r0 = (java.lang.Integer) r0\n if (r0 == 0) goto L_0x003e\n b.h.b.a.b.e.a.c r1 = r3.f8350e\n java.lang.Number r0 = (java.lang.Number) r0\n int r0 = r0.intValue()\n java.lang.String r0 = r1.mo8811a(r0)\n if (r0 == 0) goto L_0x003e\n goto L_0x0040\n L_0x003e:\n java.lang.String r0 = \"main\"\n L_0x0040:\n java.lang.StringBuilder r1 = new java.lang.StringBuilder\n r1.<init>()\n java.lang.String r2 = \"$\"\n r1.append(r2)\n java.lang.String r0 = p073b.p085h.p087b.p088a.p090b.p116f.C2361g.m11709a(r0)\n r1.append(r0)\n java.lang.String r0 = r1.toString()\n return r0\n L_0x0056:\n b.h.b.a.b.b.ah r1 = r3.f8347b\n b.h.b.a.b.b.az r1 = r1.mo7077p()\n b.h.b.a.b.b.az r2 = p073b.p085h.p087b.p088a.p090b.p094b.C1710ay.f5336a\n boolean r1 = p073b.p079e.p081b.C1489j.m6971a(r1, r2)\n if (r1 == 0) goto L_0x00a0\n boolean r0 = r0 instanceof p073b.p085h.p087b.p088a.p090b.p094b.C1680ab\n if (r0 == 0) goto L_0x00a0\n b.h.b.a.b.b.ah r0 = r3.f8347b\n if (r0 == 0) goto L_0x0098\n b.h.b.a.b.j.a.a.j r0 = (p073b.p085h.p087b.p088a.p090b.p127j.p128a.p129a.C2638j) r0\n b.h.b.a.b.j.a.a.f r0 = r0.mo9635N()\n boolean r1 = r0 instanceof p073b.p085h.p087b.p088a.p090b.p100d.p110b.C2129i\n if (r1 == 0) goto L_0x00a0\n b.h.b.a.b.d.b.i r0 = (p073b.p085h.p087b.p088a.p090b.p100d.p110b.C2129i) r0\n b.h.b.a.b.i.d.b r1 = r0.mo8045e()\n if (r1 == 0) goto L_0x00a0\n java.lang.StringBuilder r1 = new java.lang.StringBuilder\n r1.<init>()\n java.lang.String r2 = \"$\"\n r1.append(r2)\n b.h.b.a.b.f.f r0 = r0.mo8042b()\n java.lang.String r0 = r0.mo9039a()\n r1.append(r0)\n java.lang.String r0 = r1.toString()\n return r0\n L_0x0098:\n b.u r0 = new b.u\n java.lang.String r1 = \"null cannot be cast to non-null type org.jetbrains.kotlin.serialization.deserialization.descriptors.DeserializedPropertyDescriptor\"\n r0.<init>(r1)\n throw r0\n L_0x00a0:\n java.lang.String r0 = \"\"\n return r0\n */\n throw new UnsupportedOperationException(\"Method not decompiled: p073b.p085h.p087b.p088a.C3008g.C3011c.m14284g():java.lang.String\");\n }", "void mo16687a(T t, C4621gg ggVar) throws IOException;", "public final void mo74759a(C29296g gVar) {\n }", "int mo98966a(C29296g gVar);", "void mo57278c();", "public double getG();", "public boolean h()\r\n/* 189: */ {\r\n/* 190:187 */ return this.g;\r\n/* 191: */ }", "private void kk12() {\n\n\t}", "gp(go goVar, String str) {\n super(str);\n this.f82115a = goVar;\n }", "@Override\n\tpublic void nghe() {\n\n\t}", "@Override\n\tpublic void draw(Graphics g) {\n\t\t\n\t}", "@Override\n\tpublic void draw(Graphics g) {\n\t\t\n\t}", "C2841w mo7234g();", "public abstract long g(int i2);", "public final h.c.b<java.lang.Object> g() {\n /*\n r2 = this;\n h.c.b<java.lang.Object> r0 = r2.f15786a\n if (r0 == 0) goto L_0x0005\n goto L_0x001d\n L_0x0005:\n h.c.e r0 = r2.b()\n h.c.c$b r1 = h.c.c.f14536c\n h.c.e$b r0 = r0.get(r1)\n h.c.c r0 = (h.c.c) r0\n if (r0 == 0) goto L_0x001a\n h.c.b r0 = r0.c(r2)\n if (r0 == 0) goto L_0x001a\n goto L_0x001b\n L_0x001a:\n r0 = r2\n L_0x001b:\n r2.f15786a = r0\n L_0x001d:\n return r0\n */\n throw new UnsupportedOperationException(\"Method not decompiled: kotlin.coroutines.jvm.internal.ContinuationImpl.g():h.c.b\");\n }", "void mo41086b();", "public abstract int mo123248g();", "public void getK_Gelisir(){\n K_Gelistir();\r\n }", "int mo54441g(int i);", "private static String m11g() {\n StringBuilder stringBuilder = new StringBuilder();\n stringBuilder.append(\"sh\");\n stringBuilder.append(\"el\");\n stringBuilder.append(\"la\");\n stringBuilder.append(\"_ve\");\n stringBuilder.append(\"rs\");\n stringBuilder.append(\"i\");\n stringBuilder.append(\"on\");\n return stringBuilder.toString();\n }", "@Override\n\tpublic void jugar() {\n\t\t\n\t}", "Groepen maakGroepsindeling(Groepen aanwezigheidsGroepen);", "public String getGg() {\n return gg;\n }", "public void g() {\n this.f25459e.Q();\n }", "void mo1761g(int i);", "public abstract void bepaalGrootte();", "public void referToGP(){\r\n\t\t//here is some code that we do not have access to\r\n\t}", "public final i g() {\n return new i();\n }", "public abstract void mo42331g();", "@Override\n public void func_104112_b() {\n \n }", "public int g2dsg(int v) { return g2dsg[v]; }", "void NhapGT(int thang, int nam) {\n }", "Gruppo getGruppo();", "public void method_4270() {}", "public abstract String mo41079d();", "public abstract String mo118046b();", "public void setGg(String gg) {\n this.gg = gg;\n }", "public abstract CharSequence mo2161g();", "void mo119582b();", "private void strin() {\n\n\t}", "public String a()\r\n/* 25: */ {\r\n/* 26:171 */ return \"dig.\" + this.a;\r\n/* 27: */ }", "public String BFS(int g) {\n\t\t//TODO\n\t}", "void mo21073d();", "private stendhal() {\n\t}", "public void golpearJugador(Jugador j) {\n\t\t\n\t}", "public void ganar() {\n // TODO implement here\n }", "public static Object gvRender(Object... arg) {\r\nUNSUPPORTED(\"e2g1sf67k7u629a0lf4qtd4w8\"); // int gvRender(GVC_t *gvc, graph_t *g, const char *format, FILE *out)\r\nUNSUPPORTED(\"erg9i1970wdri39osu8hx2a6e\"); // {\r\nUNSUPPORTED(\"1bh3yj957he6yv2dkeg4pzwdk\"); // int rc;\r\nUNSUPPORTED(\"1ag9dz4apxn0w3cz8w2bfm6se\"); // GVJ_t *job;\r\nUNSUPPORTED(\"8msotrfl0cngiua3j57ylm26b\"); // g = g->root;\r\nUNSUPPORTED(\"exts51afuertju5ed5v7pdpg7\"); // /* create a job for the required format */\r\nUNSUPPORTED(\"dn6z1r1bbrtmr58m8dnfgfnm0\"); // rc = gvjobs_output_langname(gvc, format);\r\nUNSUPPORTED(\"5apijrijm2r8b1g2l4x7iee7s\"); // job = gvc->job;\r\nUNSUPPORTED(\"5wvj0ph8uqfgg8jl3g39jsf51\"); // if (rc == 999) {\r\nUNSUPPORTED(\"4lkoedjryn54aff3fyrsewwu5\"); // agerr (AGERR, \"Format: \\\"%s\\\" not recognized. Use one of:%s\\n\",\r\nUNSUPPORTED(\"2pjgp86rkudo6mihbako5yps2\"); // format, gvplugin_list(gvc, API_device, format));\r\nUNSUPPORTED(\"f3a98gxettwtewduvje9y3524\"); // return -1;\r\nUNSUPPORTED(\"dvgyxsnyeqqnyzq696k3vskib\"); // }\r\nUNSUPPORTED(\"ect62lxc3zm51lhzifift55m\"); // job->output_lang = gvrender_select(job, job->output_langname);\r\nUNSUPPORTED(\"ewlceg1k4gs2e6syq4ear5kzo\"); // if (!(agbindrec(g, \"Agraphinfo_t\", 0, NOT(0)) && GD_drawing(g)) && !(job->flags & (1<<26))) {\r\nUNSUPPORTED(\"3yo4xyapbp7osp8uyz4kff98s\"); // \tagerrorf( \"Layout was not done\\n\");\r\nUNSUPPORTED(\"8d9xfgejx5vgd6shva5wk5k06\"); // \treturn -1;\r\nUNSUPPORTED(\"dvgyxsnyeqqnyzq696k3vskib\"); // }\r\nUNSUPPORTED(\"2ai20uylya195fbdqwjy9bz0n\"); // job->output_file = out;\r\nUNSUPPORTED(\"10kpqi6pvibjsxjyg0g76lix3\"); // if (out == NULL)\r\nUNSUPPORTED(\"d47ukby9krmz2k8ycmzzynnfr\"); // \tjob->flags |= (1<<27);\r\nUNSUPPORTED(\"9szsye4q9jykqvtk0bc1r91d0\"); // rc = gvRenderJobs(gvc, g);\r\nUNSUPPORTED(\"7l8ugws8ptgtlxc1ymmh3cf18\"); // gvrender_end_job(job);\r\nUNSUPPORTED(\"a9p7yonln7g91ge7xab3xf9dr\"); // gvjobs_delete(gvc);\r\nUNSUPPORTED(\"5bc9k4vsl6g7wejc5xefc5964\"); // return rc;\r\nUNSUPPORTED(\"c24nfmv9i7o5eoqaymbibp7m7\"); // }\r\n\r\nthrow new UnsupportedOperationException();\r\n}", "void mo41083a();", "@VisibleForTesting\n public final long g(long j) {\n long j2 = j - this.f10062b;\n this.f10062b = j;\n return j2;\n }", "void mo72113b();", "@Override\n\tpublic void render(Graphics g) {\n\t\t\n\t}", "@Override\n\tpublic void render(Graphics g) {\n\t\t\n\t}", "public void b(gy ☃) {}\r\n/* */ \r\n/* */ \r\n/* */ \r\n/* */ public void a(gy ☃) {}", "Gtr createGtr();", "TGG createTGG();", "public abstract String mo9239aw();", "public void setG(boolean g) {\n\tthis.g = g;\n }", "private static C8504ba m25889b(C2272g gVar) throws Exception {\n return m25888a(gVar);\n }", "void mo21074e();", "private String pcString(String g, String d) {\n return g+\"^part_of(\"+d+\")\";\n }", "public abstract String mo13682d();", "public void mo38117a() {\n }", "public abstract void mo70713b();", "public Gitlet(int a) {\n\n\t}", "protected boolean func_70814_o() { return true; }", "@Override\n\tpublic void draw(Graphics2D g) {\n\t\t\n\t}", "public abstract T zzg(T t, T t2);", "public int mo9232aG() {\n return 0;\n }", "public void mo3286a(C0813g gVar) {\n this.f2574g = gVar;\n }", "public void mo21787L() {\n }", "@Override\n public String toString(){\n return \"G(\"+this.getVidas()+\")\";\n }", "public String DFS(int g) {\n\t\t//TODO\n\t}", "public static Object gvRenderContext(Object... arg) {\r\nUNSUPPORTED(\"6bxfu9f9cshxn0i97berfl9bw\"); // int gvRenderContext(GVC_t *gvc, graph_t *g, const char *format, void *context)\r\nUNSUPPORTED(\"erg9i1970wdri39osu8hx2a6e\"); // {\r\nUNSUPPORTED(\"1bh3yj957he6yv2dkeg4pzwdk\"); // int rc;\r\nUNSUPPORTED(\"1ag9dz4apxn0w3cz8w2bfm6se\"); // GVJ_t *job;\r\nUNSUPPORTED(\"8msotrfl0cngiua3j57ylm26b\"); // g = g->root;\r\nUNSUPPORTED(\"exts51afuertju5ed5v7pdpg7\"); // /* create a job for the required format */\r\nUNSUPPORTED(\"dn6z1r1bbrtmr58m8dnfgfnm0\"); // rc = gvjobs_output_langname(gvc, format);\r\nUNSUPPORTED(\"5apijrijm2r8b1g2l4x7iee7s\"); // job = gvc->job;\r\nUNSUPPORTED(\"5wvj0ph8uqfgg8jl3g39jsf51\"); // if (rc == 999) {\r\nUNSUPPORTED(\"8r1a6szpsnku0jhatqkh0qo75\"); // \t\tagerr(AGERR, \"Format: \\\"%s\\\" not recognized. Use one of:%s\\n\",\r\nUNSUPPORTED(\"2pj79j8toe6bactkaedt54xcv\"); // \t\t\t format, gvplugin_list(gvc, API_device, format));\r\nUNSUPPORTED(\"b0epxudfxjm8kichhaautm2qi\"); // \t\treturn -1;\r\nUNSUPPORTED(\"dvgyxsnyeqqnyzq696k3vskib\"); // }\r\nUNSUPPORTED(\"ect62lxc3zm51lhzifift55m\"); // job->output_lang = gvrender_select(job, job->output_langname);\r\nUNSUPPORTED(\"ewlceg1k4gs2e6syq4ear5kzo\"); // if (!(agbindrec(g, \"Agraphinfo_t\", 0, NOT(0)) && GD_drawing(g)) && !(job->flags & (1<<26))) {\r\nUNSUPPORTED(\"3yo4xyapbp7osp8uyz4kff98s\"); // \tagerrorf( \"Layout was not done\\n\");\r\nUNSUPPORTED(\"b0epxudfxjm8kichhaautm2qi\"); // \t\treturn -1;\r\nUNSUPPORTED(\"dvgyxsnyeqqnyzq696k3vskib\"); // }\r\nUNSUPPORTED(\"ex1rhur9nlj950oe8r621uxxk\"); // job->context = context;\r\nUNSUPPORTED(\"3hvm1mza6yapsb3hi7bkw03cs\"); // job->external_context = NOT(0);\r\nUNSUPPORTED(\"9szsye4q9jykqvtk0bc1r91d0\"); // rc = gvRenderJobs(gvc, g);\r\nUNSUPPORTED(\"7l8ugws8ptgtlxc1ymmh3cf18\"); // gvrender_end_job(job);\r\nUNSUPPORTED(\"dql0bth0nzsrpiu9vnffonrhf\"); // gvdevice_finalize(job);\r\nUNSUPPORTED(\"a9p7yonln7g91ge7xab3xf9dr\"); // gvjobs_delete(gvc);\r\nUNSUPPORTED(\"5bc9k4vsl6g7wejc5xefc5964\"); // return rc;\r\nUNSUPPORTED(\"c24nfmv9i7o5eoqaymbibp7m7\"); // }\r\n\r\nthrow new UnsupportedOperationException();\r\n}", "private static void cajas() {\n\t\t\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "void mo54435d();" ]
[ "0.678414", "0.67709124", "0.6522526", "0.64709187", "0.6450875", "0.62853396", "0.6246107", "0.6244691", "0.6212993", "0.61974055", "0.61380696", "0.6138033", "0.6105423", "0.6057178", "0.60355175", "0.60195917", "0.59741", "0.596904", "0.59063077", "0.58127505", "0.58101356", "0.57886875", "0.5771653", "0.57483286", "0.57415104", "0.5739937", "0.5737405", "0.5734033", "0.5716611", "0.5702987", "0.5702633", "0.568752", "0.5673585", "0.5656889", "0.5654594", "0.56383264", "0.56383264", "0.5633443", "0.5619376", "0.56107736", "0.55950445", "0.55687404", "0.5560633", "0.5544451", "0.553233", "0.55284953", "0.5526995", "0.5523609", "0.5522537", "0.5520261", "0.5508765", "0.54931", "0.5475987", "0.5471256", "0.5469798", "0.54696023", "0.5466119", "0.5450189", "0.5445573", "0.54424983", "0.54304206", "0.5423924", "0.54234356", "0.5420949", "0.54093313", "0.53971386", "0.53892636", "0.53887594", "0.5388692", "0.53799766", "0.5377014", "0.5375743", "0.53676707", "0.53666615", "0.53654546", "0.536411", "0.536411", "0.5361922", "0.53584075", "0.5357915", "0.53526837", "0.53503513", "0.534265", "0.5342214", "0.53399533", "0.533597", "0.5332819", "0.5331027", "0.5329743", "0.5329616", "0.5325393", "0.53252953", "0.5323291", "0.53207254", "0.5314264", "0.53122807", "0.53109974", "0.5310432", "0.53044266", "0.5304416", "0.5302328" ]
0.0
-1
/ renamed from: h
public float mo2199h(C0317d dVar) { return m1278j(dVar).mo2229e(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void h() {}", "public void h() {\n }", "public abstract long h();", "float getH() {\n return _h;\n }", "H1 createH1();", "@Override\n public String toString() {\n return \"H\";\n }", "public void add2Hash( Hashtable h, String source ) {\n \n AstCursor c = new AstCursor();\n \n for ( c.FirstElement( this ); c.MoreElement(); c.NextElement() ) {\n Es es = ( Es ) c.node;\n es.add2Hash( h, source );\n }\n }", "public Husdjurshotell(){}", "public abstract int mo123249h();", "public int getH() {\n\t\treturn h;\n\t}", "public ho e_()\r\n/* 455: */ {\r\n/* 456:469 */ if (k_()) {\r\n/* 457:470 */ return new hy(d_());\r\n/* 458: */ }\r\n/* 459:472 */ return new hz(d_(), new Object[0]);\r\n/* 460: */ }", "public H(String a, String b, String c, String d, String e, String f, String g, String h, X x) {\n super(a, b, c, d, e, f, g, x);\n this.h = h;\n }", "@Override\n\tpublic void nghe() {\n\n\t}", "@Override\n\tpublic int getH() {\n\t\treturn 100;\n\t}", "public double getH();", "static int hash(int h) {\n\t\t // This function ensures that hashCodes that differ only by constant \n\t\t // multiples at each bit position have a bounded number of collisions \n\t\t // (approximately 8 at default load factor).\n\t\th ^= (h >>> 20) ^ (h >>> 12);\n\t\treturn h ^ (h >>> 7) ^ (h >>> 4);\n\t}", "public boolean h()\r\n/* 189: */ {\r\n/* 190:187 */ return this.g;\r\n/* 191: */ }", "public void setH(int h) {\n\t\tthis.H = h;\n\t}", "private int hash(String str, int h){\n int v=0;\n\n /* FILL IN HERE */\n v = Math.floorMod(MurmurHash.hash32(str, seeds[h]) >>> h, 1 << logNbOfBuckets);\n\n return v;\n }", "public double utilisation(int h)\n {\n \tDouble result;\n \tDouble n1=(Math.pow(2,h))-1;\n \tresult=size()/n1;\n \treturn result;\n \t \t\n }", "public void setH(int h) {\n this.H = h;\n\n }", "public void setH(double h) {\n this.h = h;\n }", "public void mo21783H() {\n }", "public int hash2(int h, int m) {\r\n//\t\tint m = this.capability>>1 + 1;\r\n\t\treturn 1+(h%(m-1));\r\n\t}", "public double getH_() {\n\t\treturn h_;\n\t}", "H4 createH4();", "public abstract long mo9743h();", "private int h1(int p){\n\t\t return p % table.length;\n\t}", "public void applyHorn() {\n\t\t\r\n\t}", "public double getH() {\n return h;\n }", "public double getH() {\n return h;\n }", "public amj h()\r\n/* 17: */ {\r\n/* 18: 41 */ if ((this.c < 9) && (this.c >= 0)) {\r\n/* 19: 42 */ return this.a[this.c];\r\n/* 20: */ }\r\n/* 21: 44 */ return null;\r\n/* 22: */ }", "public int indexFor(int h) {\n\t\treturn (int) (h & (allLength - 1));\n\t}", "@Override\n\tpublic void visit(Have h) {\n\t\t// Reception de l'entier indiquant\n\t\t// l'index de la piŹce possédée par\n\t\t// le pair.\n\t\tSystem.out.println(\"visit have\");\n\t\tif (pieces == null) {\n\t\t\tpieces = new ArrayList<Integer>();\n\t\t}\n\t\tpieces.add(byteArrayToInt(h.getIndex()));\n\t}", "public abstract C17954dh<E> mo45842a();", "void mo1501h();", "static int indexFor(int h, int length) {\n return h & (length-1);\r\n }", "public int getH() {\n\t\treturn this.H;\n\t}", "public void setH_(double h_) {\n\t\tthis.h_ = h_;\n\t}", "public void setH(boolean h) {\n\tthis.h = h;\n }", "protected abstract void calculateH(Node node);", "private void attachHeader(SIPHeader h) {\n if (h == null) throw new IllegalArgumentException(\"null header!\");\n try {\n if (h instanceof SIPHeaderList) {\n SIPHeaderList hl = (SIPHeaderList) h;\n if (hl.isEmpty()) {\n return;\n }\n }\n attachHeader(h,false,false);\n } catch ( SIPDuplicateHeaderException ex) {\n // InternalErrorHandler.handleException(ex);\n }\n }", "void mo304a(C0366h c0366h);", "static int indexFor(int h, int length) {\n return h & (length - 1);\n }", "public final j h() {\n return new d(this);\n }", "C32446a mo21077h() throws Exception;", "private HSBC() {\n\t\t\n\t\t\n\t}", "@Hide\n private final zzs zzahx() {\n }", "public void mo9233aH() {\n }", "public abstract String header();", "abstract public void header();", "public static void hehe(){\n \n }", "H3 createH3();", "public void setH(Double h);", "private HeaderUtil() {}", "public void visit(Have h);", "private stendhal() {\n\t}", "private void add0(int h, int i, final String name, final String value) {\n HeaderEntry e = entries[i];\n HeaderEntry newEntry;\n entries[i] = newEntry = new HeaderEntry(h, name, value);\n newEntry.next = e;\n\n // Update the linked list.\n newEntry.addBefore(head);\n }", "int numberofhc()\n{\n\treturn hc.size();}", "static void dad_with_hl_internal(int h,int l){\n\t\tl+=hexa_to_deci(registers.get('L'));\n\t\tint carry = l>255?1:0;\n\t\tregisters.put('L',decimel_to_hexa_8bit(l));\n\t\th+=hexa_to_deci(registers.get('H'));\n\t\th+=carry;\n\t\tCS = h>255?true:false;\n\t\tregisters.put('H',decimel_to_hexa_8bit(h));\n\t}", "public Void mo7069h() {\n return null;\n }", "public Lechuga(Hamburguesa h){\n this.hamburguesa = h;\n }", "double normalizeHeading(double h) {\n double nh = h;\n if( h>-180 && h<180 ) {\n } else if( h <= -180 ) {\n nh = h+360;\n } else if( h > 180 ) {\n nh = h-360;\n }\n return nh;\n }", "@java.lang.Override\n public java.lang.String getH() {\n java.lang.Object ref = h_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n h_ = s;\n return s;\n }\n }", "private static String printH(Tuple[] h){\n\t\tString answer = \"ISOMORPHISM:\\t{\";\n\t\tfor(int i = 0; i < h.length; i++){\n\t\t\tanswer = answer + h[i] + (i < h.length-1? \",\": \"\");\n\t\t}\n\t\t\n\t\tanswer = answer + \"}\";\n\t\treturn answer;\n\t}", "double getStartH();", "private void rehash()\n {\n int hTmp = 37;\n\n if ( isHR != null )\n {\n hTmp = hTmp * 17 + isHR.hashCode();\n }\n\n if ( id != null )\n {\n hTmp = hTmp * 17 + id.hashCode();\n }\n\n if ( attributeType != null )\n {\n hTmp = hTmp * 17 + attributeType.hashCode();\n }\n \n h = hTmp;\n }", "public String createH() {\n\t\t// Create H per the algorithm\n\t\t// Create vertices of X --- The number of vertices in X is taken from the paper\n\t\t// k = (2 + epsilon)log n\n\t\tthis.createXVertices();\n\t\t// Create edges within X (both successive and random)\n\t\tthis.createXEdges();\n\n\t\treturn \"H Created (X Vertices)\";\n\n\t}", "public ahb(ahd paramahd)\r\n/* 12: */ {\r\n/* 13: 36 */ this.d = paramahd;\r\n/* 14: */ }", "protected void b(dh paramdh) {}", "public interface HTableWrapper {\n\n /**\n * To get the table name.\n * \n * @return\n */\n public byte[] getName();\n\n /**\n * To get a row.\n * \n * @param get\n * @return\n * @throws IOException\n */\n public Result get(Get get) throws IOException;\n\n /**\n * To get a row using lockId.\n * \n * @param get\n * @param lockId\n * @return\n * @throws IOException\n */\n public Result get(Get get, Integer lockId) throws IOException;\n\n /**\n * To rollback a row.\n * \n * @param row\n * @param startId\n * @param lockId\n * @throws IOException\n */\n public void rollbackRow(byte[] row, long startId, Integer lockId)\n throws IOException;\n\n /**\n * To commit a row.\n * \n * @param row\n * @param startId\n * @param commitId\n * @param isDelete\n * @param lockId\n * @throws IOException\n */\n public void commitRow(byte[] row, long startId, long commitId,\n boolean isDelete, Integer lockId) throws IOException;\n\n}", "@java.lang.Override\n public com.google.protobuf.ByteString\n getHBytes() {\n java.lang.Object ref = h_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n h_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "HEAD createHEAD();", "private void insertItem(Hashtable<String, List<Integer>> h, Element e) {\n\t\tString key = e.attribute(\"sourcefilepath\").getValue().replace('/', '\\\\') + e.attribute(\"sourcefile\").getValue();\r\n\t\tint line = Integer.parseInt(e.attribute(\"line\").getValue().trim());\r\n\t\tList<Integer> l = h.get(key);\r\n\t\tif(l==null){\r\n\t\t\tl = new ArrayList<Integer>();\r\n\t\t\th.put(key, l);\r\n\t\t}\r\n\t\tl.add(line);\r\n\t}", "private Parser(FScript h,HashMap l,HashMap g, HashMap f) {\n vars=l;\n gVars=g;\n funcs=f;\n host=h;\n }", "String getHashControl();", "public static void printHHSV(FqImage imh){\n\t\tint\ti,j;\r\n\t\tfor( i = 0 ; i < imh.width ; i++ ){\r\n\t\t\tfor( j = 0 ; j < imh.height ; j++ ){\r\n\t\t\t\tSystem.out.print(\"h\"+imh.points[i][j].getHHSV() );\r\n\t\t\t}\r\n\t\t\tSystem.out.println();\r\n\t\t}\r\n\t\t\r\n\t}", "String mo7388hl() throws RemoteException;", "static String d(NetLoginHandler var0)\n {\n return var0.h;\n }", "private static char toHexDigit(int h) {\n char out;\n if (h <= 9) out = (char) (h + 0x30);\n else out = (char) (h + 0x37);\n //System.err.println(h + \": \" + out);\n return out;\n }", "void mo7372a(C0802fh fhVar) throws RemoteException;", "double getEndH();", "public String getParameterFromH();", "public interface C22383h {\n}", "public void setH(double value) {\n this.h = value;\n }", "public void b(ahd paramahd) {}", "void mo35722a(C14235h hVar);", "public abstract void mo102585a(VH vh, int i);", "SmilHead getHead();", "@Override\n public void computeHash(Hasher hasher) {\n }", "HSet entrySet();", "public HELPFit getHF(){\n return HF;\n }", "protected MetadataUGWD() {/* intentionally empty block */}", "void reconstruct(HashMap<Integer, Vertex> h, Vertex next) {\n while (h.containsKey(next.toIdentifier())) {\n next.path = true;\n next = h.get(next.toIdentifier());\n }\n }", "void reconstruct(HashMap<Integer, Vertex> h, Vertex next) {\n while (h.containsKey(next.toIdentifier())) {\n next.path = true;\n next = h.get(next.toIdentifier());\n }\n }", "H getProfile();", "@Override\n\tpublic String getHead(Handler h) {\n\t\tStringBuffer buf = new StringBuffer(10000);\n\t\tbuf.append(\"<!DOCTYPE html>\\n\");\n\t\t\n\t\tbuf.append(\"\\t<head>\\n\");\n\t\tbuf.append(\"\\t\\t<style>\\n\");\n\t\tbuf.append(\"\\t\\ttable { width: 100% }\\n\");\n\t\tbuf.append(\"\\t\\tth { font: bold 10pt Tahoma; }\\n\");\n\t\tbuf.append(\"\\t\\ttd { font: normal 10pt Tahoma; }\\n\");\n\t\tbuf.append(\"\\t\\th1 { font: normal 11pt Tahoma; }\\n\");\n\t\tbuf.append(\"\\t\\t</style>\\n\");\n\t\tbuf.append(\"\\t</head>\\n\");\n\t\t\n\t\tbuf.append(\"\\t<body>\\n\");\n\t\tbuf.append(\"\\t\\t<h1>\" + (new Date()) + \"\\n\");\n\t\tbuf.append(\"\\t\\t<table border=\\\"0\\\" cellpadding=\\\"5\\\" cellspacing=\\\"3\\\">\\n\");\n\t\tbuf.append(\"\\t\\t\\t<tr align=\\\"left\\\">\\n\");\n\t\tbuf.append(\"\\t\\t\\t\\t<th style=\\\"width:10%\\\">LogLevel</th>\\n\");\n\t\tbuf.append(\"\\t\\t\\t\\t<th style=\\\"width:15%\\\">Time</th>\\n\");\n\t\tbuf.append(\"\\t\\t\\t\\t<th style=\\\"width:75%\\\">LogMessage</th>\\n\");\n\t\tbuf.append(\"\\t\\t\\t</tr>\\n\");\n\t\t\n\t\treturn buf.toString();\n\t}", "protected void a(dh paramdh) {}", "public com.google.protobuf.ByteString\n getHBytes() {\n java.lang.Object ref = h_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n h_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "@Override\n\tprotected void interr() {\n\t}", "public int func_176881_a() {\n/* */ return this.field_176893_h;\n/* */ }" ]
[ "0.7006457", "0.6376803", "0.6152193", "0.6099337", "0.599903", "0.5976422", "0.5881053", "0.5878019", "0.5851139", "0.5840173", "0.58104765", "0.57935345", "0.5784397", "0.577195", "0.5760394", "0.5758641", "0.57195157", "0.5717094", "0.5712681", "0.57083744", "0.5691357", "0.5675319", "0.5654622", "0.5647394", "0.5633566", "0.5630044", "0.5611922", "0.5607437", "0.55959165", "0.55954385", "0.55954385", "0.5585786", "0.55847657", "0.5573256", "0.5557641", "0.55522007", "0.55487716", "0.55462223", "0.55379975", "0.55343676", "0.55202854", "0.55091685", "0.5500832", "0.54957825", "0.5495365", "0.548653", "0.5483489", "0.54801226", "0.5476092", "0.54691756", "0.5457996", "0.5454038", "0.54173815", "0.54168785", "0.5415112", "0.54006886", "0.53944254", "0.53781533", "0.5358132", "0.5352097", "0.5350295", "0.53456247", "0.53152686", "0.5314088", "0.5306762", "0.53060544", "0.5305655", "0.5299146", "0.52944684", "0.52934664", "0.5282273", "0.52762216", "0.52678543", "0.52643436", "0.5263177", "0.52619565", "0.52585053", "0.5258431", "0.5251732", "0.5248985", "0.524418", "0.52275395", "0.5224416", "0.5206976", "0.5205791", "0.5202667", "0.5201214", "0.5192617", "0.5188043", "0.5187125", "0.51868486", "0.5182988", "0.51596665", "0.5158084", "0.5158084", "0.51560694", "0.5155596", "0.51440835", "0.5138143", "0.51342785", "0.51331306" ]
0.0
-1
/ renamed from: i
public void mo2201i(C0317d dVar) { Rect rect = new Rect(); m1278j(dVar).mo2221a(rect); dVar.mo2178a((int) Math.ceil((double) mo2199h(dVar)), (int) Math.ceil((double) mo2195d(dVar))); dVar.setShadowPadding(rect.left, rect.top, rect.right, rect.bottom); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void mo17022c(int i);", "public final void mo5394iy(int i) {\n }", "void mo88773a(int i);", "void mo32046rn(int i);", "void mo54447l(int i);", "public final void mo91727g(int i) {\n }", "void mo1761g(int i);", "void mo54406a(int i);", "void mo23327tY(int i);", "void mo1753b(int i);", "@Override\n\tpublic void aumenta(int i) {\n\t\t\n\t}", "private void info3(int i) {\n\t\t\n\t}", "void mo54436d(int i);", "void mo6247nm(int i);", "void mo1933b(int i);", "void mo1494c(int i);", "void m15858a(int i);", "void mo54437e(int i);", "void mo1754c(int i);", "public int i() {\n \treturn i; \n }", "public final int getPos() { return i; }", "void mo1755d(int i);", "void mo54452q(int i);", "void mo1747a(int i);", "static int fixIndex(int i)\r\n {\r\n return i >= 0 ? i : -(i + 1);\r\n }", "void mo21050ml(int i);", "void mo37668e(int i);", "public final void mo91947k(int i) {\n }", "public abstract void mo4376b(int i);", "public void mo5332a(int i) {\n }", "void mo38565a(int i);", "public String select(int i)\r\n\t {\t\t \r\n\t\t String[] arr = this.infoToArray();\r\n\t\t if(i > arr.length)\r\n\t\t {\r\n\t\t\t return \"-1\";\r\n\t\t }\r\n\t\t return arr[i-1];\r\n\t }", "void mo22044oA(int i);", "void mo3796b(int i);", "void mo54446k(int i);", "void mo66998a(int i);", "private Index(int i) {\r\n _value = i;\r\n }", "void mo1485a(int i);", "void mo54448m(int i);", "private int elementNC(int i) {\n return first + i * stride;\n }", "public void setIndex(int i) {\n\t\t\n\t}", "public abstract void mo4385d(int i);", "void mo26876a(int i);", "void mo122221a(int i);", "private final void i() {\n }", "public abstract void mo9814c(int i);", "protected void dataTablePlan2(int i) {\n\t\t\r\n\t}", "void mo27576a(int i);", "public void mo44231a(int i) {\n }", "void mo85a(int i);", "void mo63039b(int i, int i2);", "void mo17020b(int i);", "void mo62991a(int i);", "public void mo3350a(int i) {\n }", "public int index(int i){\n \t\tif (i < 0 || i >= length()) throw new IllegalArgumentException();\n \t\treturn csa[i];\n \t}", "public abstract int mo12581RU(int i);", "public abstract void mo2156b(int i);", "private final int m28109e(int i) {\n return i + i;\n }", "public abstract void mo9809b(int i);", "@Override\n public String apply(Integer i) {\n //kombinowałem długo ale nie udało mi sie wykminić jak zrobić to zadanie przy użuciu tego interfejsu funkcyjnego\n //i zrobiłem to iteracyjnie\n return null;\n }", "public abstract int mo12574RN(int i);", "public abstract int mo12579RS(int i);", "void mo1763h(int i);", "public void mo23980a(int i, String str) {\n }", "void mo13163e(int i);", "private int advance(int[] n, int i) {\n i += n[i];\n i%=len;\n while (i<0) i+=len;\n return i;\n }", "public final void mo91724f(int i) {\n }", "private int parentIndex(int i) {\n return i / 2;\n }", "public void worked(int i) {\n\t\t\n\t}", "public int nextIndex(int i) {\n\t\treturn (i + 1) % data.length;\n\t}", "void mo17016a(int i);", "public abstract void mo4361a(int i);", "void mo1491b(int i);", "void mo7304b(int i, int i2);", "public int index(int i) {\n\t\tif (i < 0 || i >= text.length) throw new IndexOutOfBoundsException();\n\t\treturn r2p[i];\n\t}", "public abstract int start(int i);", "private int rightIndex(int i) {\n return i * 2 + 1;\n }", "public abstract void mo9734b(int i);", "void mo3767a(int i);", "protected void dataTableleibie(int i) {\n\t\r\n}", "void mo34684de(int i, int i2);", "public void mo29749op(int i) {\n if (i == 0) {\n C6638d.this.daT.mo29698og(0);\n }\n }", "private int leftIndex(int i) {\n return i * 2;\n }", "public abstract AbstractC5666g mo39572a(int i);", "C3579d mo19710g(int i) throws IOException;", "void mo7306c(int i, int i2);", "public abstract C14407a mo11609c(int i);", "void mo54424b(int i);", "public abstract int mo12582RV(int i);", "void mo63037a(int i, int i2);", "public abstract void mo4377b(int i, int i2);", "public void processed(int i);", "private int convertX(int i) {\n return i % width;\n }", "public abstract void mo4379b(int i, zzwt zzwt);", "public item getI() {\n return i;\n }", "public void getResult (int i){\n\t\tString result = items.get(i).toString();\n\t\tformatText(result);\n\t System.out.println(result);\n\t}", "public int index(int i) {\n if (i < 0 || i >= lng) {\n throw new IllegalArgumentException(\"index out of range.\");\n }\n\n return arr[i];\n }", "void setIdx(int i);", "public int withdraw(int i) {\n\t\treturn i;\n\t}", "public abstract C14407a mo11604a(int i);", "void mo54408a(int i, int i2, int i3, int i4);" ]
[ "0.6814251", "0.6791054", "0.67141014", "0.67082477", "0.6697361", "0.6696495", "0.66768324", "0.66522545", "0.66506225", "0.66473114", "0.6642119", "0.66363925", "0.6592755", "0.65895766", "0.65869564", "0.65632737", "0.6560748", "0.65470266", "0.6536829", "0.65297914", "0.65127593", "0.64910436", "0.6475078", "0.6474579", "0.6453788", "0.6449947", "0.64423084", "0.643925", "0.64370835", "0.6435097", "0.6393611", "0.6377644", "0.63709825", "0.6361261", "0.63309604", "0.6324192", "0.63111883", "0.6308764", "0.6303613", "0.62915045", "0.6283118", "0.6279513", "0.6277226", "0.6260732", "0.6252936", "0.6244241", "0.62374526", "0.62289596", "0.6224372", "0.62223464", "0.6217344", "0.62157923", "0.6201605", "0.6201401", "0.6192293", "0.6187045", "0.61829", "0.6181645", "0.61738485", "0.6170852", "0.617046", "0.61667144", "0.6165859", "0.61595744", "0.6159086", "0.6144851", "0.61408836", "0.6139398", "0.61274415", "0.6116618", "0.6108977", "0.6104106", "0.60988563", "0.60880226", "0.6079969", "0.60698235", "0.60688525", "0.606842", "0.60552436", "0.60544693", "0.60476667", "0.6044652", "0.60406977", "0.603512", "0.6025365", "0.6022614", "0.60220104", "0.6019621", "0.5996024", "0.5991862", "0.5989539", "0.598887", "0.5987865", "0.5970536", "0.5967256", "0.5967037", "0.59660614", "0.5965706", "0.59619015", "0.595908", "0.5954689" ]
0.0
-1
/ renamed from: a
public void mo2189a(C0317d dVar, Context context, ColorStateList colorStateList, float f, float f2, float f3) { C0320g a = m1277a(context, colorStateList, f, f2, f3); a.mo2222a(dVar.mo2182c()); dVar.mo2179a(a); mo2201i(dVar); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed from: a */\n void mo85415a(String str);\n }", "interface C10331b {\n /* renamed from: a */\n void mo26876a(int i);\n }", "public interface C0779a {\n /* renamed from: a */\n void mo2311a();\n}", "public interface C6788a {\n /* renamed from: a */\n void mo20141a();\n }", "public interface C0237a {\n /* renamed from: a */\n void mo1791a(String str);\n }", "public interface C35013b {\n /* renamed from: a */\n void mo88773a(int i);\n}", "public interface C11112n {\n /* renamed from: a */\n void mo38026a();\n }", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "public interface C23407b {\n /* renamed from: a */\n void mo60892a();\n\n /* renamed from: b */\n void mo60893b();\n }", "interface C0312e {\n /* renamed from: a */\n void mo4671a(View view, int i, int i2, int i3, int i4);\n }", "public interface C34379a {\n /* renamed from: a */\n void mo46242a(bmc bmc);\n }", "public interface C32456b<T> {\n /* renamed from: a */\n void mo83696a(T t);\n }", "private String convertir(String a) {\n StringBuilder atributo = new StringBuilder(a);\n atributo.insert(0, Character.toUpperCase(atributo.charAt(0)));\n return atributo.deleteCharAt(1).toString();\n }", "protected m a(String name) {\n/* 42 */ return this.a.get(name);\n/* */ }", "public interface AbstractC23925a {\n /* renamed from: a */\n void mo105476a();\n }", "private interface C0257a {\n /* renamed from: a */\n float mo196a(ViewGroup viewGroup, View view);\n\n /* renamed from: b */\n float mo195b(ViewGroup viewGroup, View view);\n }", "public interface C3598a {\n /* renamed from: a */\n void mo11024a(int i, int i2, String str);\n }", "public interface C2459d {\n /* renamed from: a */\n C2451d mo3408a(C2457e c2457e);\n}", "public interface am extends ak {\r\n /* renamed from: a */\r\n void mo194a(int i) throws RemoteException;\r\n\r\n /* renamed from: a */\r\n void mo195a(List<LatLng> list) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo196b(float f) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo197b(boolean z);\r\n\r\n /* renamed from: c */\r\n void mo198c(boolean z) throws RemoteException;\r\n\r\n /* renamed from: g */\r\n float mo199g() throws RemoteException;\r\n\r\n /* renamed from: h */\r\n int mo200h() throws RemoteException;\r\n\r\n /* renamed from: i */\r\n List<LatLng> mo201i() throws RemoteException;\r\n\r\n /* renamed from: j */\r\n boolean mo202j();\r\n\r\n /* renamed from: k */\r\n boolean mo203k();\r\n}", "public interface C32459e<T> {\n /* renamed from: a */\n void mo83698a(T t);\n }", "public interface C32458d<T> {\n /* renamed from: a */\n void mo83695a(T t);\n }", "public interface C5482b {\n /* renamed from: a */\n void mo27575a();\n\n /* renamed from: a */\n void mo27576a(int i);\n }", "public interface C27084a {\n /* renamed from: a */\n void mo69874a();\n\n /* renamed from: a */\n void mo69875a(List<Aweme> list, boolean z);\n }", "public void a() {\n ((a) this.a).a();\n }", "public interface C1153a {\n /* renamed from: a */\n void mo4520a(byte[] bArr);\n }", "public interface C13373b {\n /* renamed from: a */\n void mo32681a(String str, int i, boolean z);\n}", "public interface C40453c {\n /* renamed from: a */\n void mo100442a(C40429b bVar);\n\n /* renamed from: a */\n void mo100443a(List<String> list);\n\n /* renamed from: b */\n void mo100444b(List<C40429b> list);\n}", "public interface AbstractC17367b {\n /* renamed from: a */\n void mo84655a();\n }", "@Override\r\n\tpublic void a() {\n\t\t\r\n\t}", "public interface C43270a {\n /* renamed from: a */\n void mo64942a(String str, long j, long j2);\n}", "public interface C18928d {\n /* renamed from: a */\n void mo50320a(C18924b bVar);\n\n /* renamed from: b */\n void mo50321b(C18924b bVar);\n}", "public interface C0087c {\n /* renamed from: a */\n String mo150a(String str);\n}", "public interface C1529m {\n /* renamed from: a */\n void mo3767a(int i);\n\n /* renamed from: a */\n void mo3768a(String str);\n}", "interface C4483e {\n /* renamed from: a */\n boolean mo34114a();\n}", "public interface C1234b {\r\n /* renamed from: a */\r\n void m8367a();\r\n\r\n /* renamed from: b */\r\n void m8368b();\r\n}", "public interface C10965j<T> {\n /* renamed from: a */\n T mo26439a();\n}", "public interface C28772a {\n /* renamed from: a */\n View mo73990a(View view);\n }", "@Override\n\tpublic void a() {\n\t\t\n\t}", "public interface C8326b {\n /* renamed from: a */\n C8325a mo21498a(String str);\n\n /* renamed from: a */\n void mo21499a(C8325a aVar);\n}", "void metodo1(int a, int[] b) {\r\n\t\ta += 5;//Par\\u00e1metro con el mismo nombre que el campo de la clase.\r\n\t\tb[0] += 7;//se produce un env\\u00edo por referencia, apunta a una copia de un objeto, que se asigna aqu\\u00ed.\r\n\t}", "public interface C2367a {\n /* renamed from: a */\n C2368d mo1698a();\n }", "interface C30585a {\n /* renamed from: b */\n void mo27952b(C5379a c5379a, int i, C46650a c46650a, C7620bi c7620bi);\n }", "public interface C4211a {\n\n /* renamed from: com.iab.omid.library.oguryco.c.a$a */\n public interface C4212a {\n /* renamed from: a */\n void mo28760a(View view, C4211a aVar, JSONObject jSONObject);\n }\n\n /* renamed from: a */\n JSONObject mo28758a(View view);\n\n /* renamed from: a */\n void mo28759a(View view, JSONObject jSONObject, C4212a aVar, boolean z);\n}", "public interface C4697a extends C5595at {\n /* renamed from: a */\n void mo12634a();\n\n /* renamed from: a */\n void mo12635a(String str);\n\n /* renamed from: a */\n void mo12636a(boolean z);\n\n /* renamed from: b */\n void mo12637b();\n\n /* renamed from: c */\n void mo12638c();\n }", "public interface C4773c {\n /* renamed from: a */\n void m15858a(int i);\n\n /* renamed from: a */\n void m15859a(int i, int i2);\n\n /* renamed from: a */\n void m15860a(int i, int i2, int i3);\n\n /* renamed from: b */\n void m15861b(int i, int i2);\n}", "public interface C4869f {\n /* renamed from: a */\n C4865b mo6249a();\n}", "public interface C1799a {\n /* renamed from: b */\n void mo3314b(String str);\n }", "public interface C43499b {\n /* renamed from: a */\n void mo8445a(int i, String str, int i2, byte[] bArr);\n}", "public interface C0601aq {\n /* renamed from: a */\n void mo9148a(int i, ArrayList<C0889x> arrayList);\n}", "public interface C45101e {\n /* renamed from: b */\n void mo3796b(int i);\n}", "public interface AbstractC6461g {\n /* renamed from: a */\n String mo42332a();\n}", "public interface AbstractC1645a {\n /* renamed from: a */\n String mo17375a();\n }", "public interface C6178c {\n /* renamed from: a */\n Map<String, String> mo14888a();\n}", "public interface C5101b {\n /* renamed from: a */\n void mo5289a(C5102c c5102c);\n\n /* renamed from: b */\n void mo5290b(C5102c c5102c);\n}", "public interface C19045k {\n /* renamed from: a */\n void mo50368a(int i, Object obj);\n\n /* renamed from: b */\n void mo50369b(int i, Object obj);\n}", "public b a()\r\n/* 12: */ {\r\n/* 13:13 */ return this.a;\r\n/* 14: */ }", "public interface C7720a {\n /* renamed from: a */\n long mo20406a();\n}", "public String a()\r\n/* 25: */ {\r\n/* 26:171 */ return \"dig.\" + this.a;\r\n/* 27: */ }", "public interface ayt {\n /* renamed from: a */\n int mo1635a(long j, List list);\n\n /* renamed from: a */\n long mo1636a(long j, alb alb);\n\n /* renamed from: a */\n void mo1637a();\n\n /* renamed from: a */\n void mo1638a(long j, long j2, List list, ayp ayp);\n\n /* renamed from: a */\n void mo1639a(ayl ayl);\n\n /* renamed from: a */\n boolean mo1640a(ayl ayl, boolean z, Exception exc, long j);\n}", "public interface C24221b extends C28343z<C28318an> {\n /* renamed from: a */\n void mo62991a(int i);\n\n String aw_();\n\n /* renamed from: e */\n Aweme mo62993e();\n}", "public interface C4051c {\n /* renamed from: a */\n boolean mo23707a();\n}", "public interface C45112b {\n /* renamed from: a */\n List<C45111a> mo107674a(Integer num);\n\n /* renamed from: a */\n List<C45111a> mo107675a(Integer num, Integer num2);\n\n /* renamed from: a */\n void mo107676a(C45111a aVar);\n\n /* renamed from: b */\n void mo107677b(Integer num);\n\n /* renamed from: c */\n long mo107678c(Integer num);\n}", "public void acionou(int a){\n\t\t\tb=a;\n\t\t}", "public interface C44963i {\n /* renamed from: a */\n void mo63037a(int i, int i2);\n\n void aA_();\n\n /* renamed from: b */\n void mo63039b(int i, int i2);\n}", "public interface C32457c<T> {\n /* renamed from: a */\n void mo83699a(T t, int i, int i2, String str);\n }", "public interface C5861g {\n /* renamed from: a */\n void mo18320a(C7251a aVar);\n\n @Deprecated\n /* renamed from: a */\n void mo18321a(C7251a aVar, String str);\n\n /* renamed from: a */\n void mo18322a(C7252b bVar);\n\n /* renamed from: a */\n void mo18323a(C7253c cVar);\n\n /* renamed from: a */\n void mo18324a(C7260j jVar);\n}", "public interface C0937a {\n /* renamed from: a */\n void mo3807a(C0985po[] poVarArr);\n }", "public interface C8466a {\n /* renamed from: a */\n void mo25956a(int i);\n\n /* renamed from: a */\n void mo25957a(long j, long j2);\n }", "public interface C39684b {\n /* renamed from: a */\n void mo98969a();\n\n /* renamed from: a */\n void mo98970a(C29296g gVar);\n\n /* renamed from: a */\n void mo98971a(C29296g gVar, int i);\n }", "public interface C43470b {\n /* renamed from: a */\n void mo61496a(C43469a aVar, C43471c cVar);\n }", "public interface AbstractC18255a {\n /* renamed from: a */\n void mo88521a();\n\n /* renamed from: a */\n void mo88522a(String str);\n\n /* renamed from: b */\n void mo88523b();\n\n /* renamed from: c */\n void mo88524c();\n }", "public interface C1436d {\n /* renamed from: a */\n C1435c mo1754a(C1433a c1433a, C1434b c1434b);\n}", "public interface C4150sl {\n /* renamed from: a */\n void mo15005a(C4143se seVar);\n}", "public void a(nm paramnm)\r\n/* 28: */ {\r\n/* 29:45 */ paramnm.a(this);\r\n/* 30: */ }", "public interface C19351a {\n /* renamed from: b */\n void mo30633b(int i, String str, byte[] bArr);\n }", "public interface C11113o {\n /* renamed from: a */\n void mo37759a(String str);\n }", "public interface C39504az {\n /* renamed from: a */\n int mo98207a();\n\n /* renamed from: a */\n void mo98208a(boolean z);\n\n /* renamed from: b */\n int mo98209b();\n\n /* renamed from: c */\n int mo98355c();\n\n /* renamed from: d */\n int mo98356d();\n\n /* renamed from: e */\n int mo98357e();\n\n /* renamed from: f */\n int mo98358f();\n}", "protected a<T> a(Tag.e<T> var0) {\n/* 80 */ Tag.a var1 = b(var0);\n/* 81 */ return new a<>(var1, this.c, \"vanilla\");\n/* */ }", "public interface C35565a {\n /* renamed from: a */\n C45321i mo90380a();\n }", "public interface C21298a {\n /* renamed from: a */\n void mo57275a();\n\n /* renamed from: a */\n void mo57276a(Exception exc);\n\n /* renamed from: b */\n void mo57277b();\n\n /* renamed from: c */\n void mo57278c();\n }", "public interface C40108b {\n /* renamed from: a */\n void mo99838a(boolean z);\n }", "public interface C0456a {\n /* renamed from: a */\n void mo2090a(C0455b bVar);\n\n /* renamed from: a */\n boolean mo2091a(C0455b bVar, Menu menu);\n\n /* renamed from: a */\n boolean mo2092a(C0455b bVar, MenuItem menuItem);\n\n /* renamed from: b */\n boolean mo2093b(C0455b bVar, Menu menu);\n }", "public interface C4724o {\n /* renamed from: a */\n void mo4872a(int i, String str);\n\n /* renamed from: a */\n void mo4873a(C4718l c4718l);\n\n /* renamed from: b */\n void mo4874b(C4718l c4718l);\n}", "public interface C7654b {\n /* renamed from: a */\n C7904c mo24084a();\n\n /* renamed from: b */\n C7716a mo24085b();\n }", "public interface C2603a {\n /* renamed from: a */\n String mo1889a(String str, String str2, String str3, String str4);\n }", "public interface afp {\n /* renamed from: a */\n C0512sx mo169a(C0497si siVar, afj afj, afr afr, Context context);\n}", "public interface C0615ja extends b<HomeFragment> {\n\n /* renamed from: c.c.a.h.b.ja$a */\n /* compiled from: FragmentModule_HomeFragment$app_bazaarRelease */\n public static abstract class a extends b.a<HomeFragment> {\n }\n}", "public interface a {\n\n /* renamed from: c.b.a.c.b.b.a$a reason: collision with other inner class name */\n /* compiled from: DiskCache */\n public interface C0054a {\n a build();\n }\n\n /* compiled from: DiskCache */\n public interface b {\n boolean a(File file);\n }\n\n File a(c cVar);\n\n void a(c cVar, b bVar);\n}", "public interface C0940d {\n /* renamed from: a */\n void mo3305a(boolean z);\n }", "public interface AbstractC17368c {\n /* renamed from: a */\n void mo84656a(float f);\n }", "interface C0932a {\n /* renamed from: a */\n void mo7438a(int i, int i2);\n\n /* renamed from: b */\n void mo7439b(C0933b bVar);\n\n /* renamed from: c */\n void mo7440c(int i, int i2, Object obj);\n\n /* renamed from: d */\n void mo7441d(C0933b bVar);\n\n /* renamed from: e */\n RecyclerView.ViewHolder mo7442e(int i);\n\n /* renamed from: f */\n void mo7443f(int i, int i2);\n\n /* renamed from: g */\n void mo7444g(int i, int i2);\n\n /* renamed from: h */\n void mo7445h(int i, int i2);\n }", "public interface C10330c {\n /* renamed from: a */\n C7562b<C10403b, C10328a> mo25041a();\n}", "public interface C3819a {\n /* renamed from: a */\n void mo23214a(Message message);\n }", "private Proof atoAImpl(Expression a) {\n Proof where = axm2(a, arrow(a, a), a); //a->(a->a) -> (a->(a->a)->a) -> (a -> a)\n Proof one = axm1(a, a); //a->a->a\n Proof two = axm1(a, arrow(a, a)); //a->(a->a)->A\n return mpTwice(where, one, two);\n }", "interface C1939a {\n /* renamed from: a */\n Bitmap mo1406a(Bitmap bitmap, float f);\n}", "public interface a extends com.bankeen.d.b.b.a {\n void a();\n\n void b();\n }", "public b[] a() {\n/* 95 */ return this.a;\n/* */ }", "interface C8361a {\n /* renamed from: b */\n float mo18284b(ViewGroup viewGroup, View view);\n\n /* renamed from: c */\n float mo18281c(ViewGroup viewGroup, View view);\n }" ]
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064", "0.5794689", "0.57890314", "0.57838726", "0.5775679", "0.57694733", "0.5769128", "0.57526815", "0.56907034", "0.5677874", "0.5670547", "0.56666386", "0.56592244", "0.5658682", "0.56574154", "0.5654324", "0.5644676", "0.56399715", "0.5638734", "0.5630582", "0.56183887", "0.5615435", "0.56069666", "0.5605207", "0.56005067", "0.559501", "0.55910283", "0.5590222", "0.55736613", "0.5556682", "0.5554544", "0.5550076", "0.55493855", "0.55446684", "0.5538079", "0.5529058", "0.5528109", "0.552641", "0.5525864", "0.552186", "0.5519972", "0.5509587", "0.5507195", "0.54881203", "0.5485328", "0.54826045", "0.5482066", "0.5481586", "0.5479751", "0.54776895", "0.54671466", "0.5463307", "0.54505056", "0.54436916", "0.5440517", "0.5439747", "0.5431944", "0.5422869", "0.54217863", "0.5417556", "0.5403905", "0.5400223", "0.53998446", "0.5394735", "0.5388649", "0.5388258", "0.5374842", "0.5368887", "0.53591394", "0.5357029", "0.5355688", "0.535506", "0.5355034", "0.53494394", "0.5341044", "0.5326166", "0.53236824", "0.53199095", "0.53177035", "0.53112453", "0.5298229" ]
0.0
-1
/ renamed from: b
public float mo2191b(C0317d dVar) { return m1278j(dVar).mo2225c(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void mo2508a(bxb bxb);", "@Override\n public void func_104112_b() {\n \n }", "@Override\n public void b() {\n }", "public interface C19351a {\n /* renamed from: b */\n void mo30633b(int i, String str, byte[] bArr);\n }", "@Override\n\tpublic void b2() {\n\t\t\n\t}", "void metodo1(int a, int[] b) {\r\n\t\ta += 5;//Par\\u00e1metro con el mismo nombre que el campo de la clase.\r\n\t\tb[0] += 7;//se produce un env\\u00edo por referencia, apunta a una copia de un objeto, que se asigna aqu\\u00ed.\r\n\t}", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "@Override\n\tpublic void b() {\n\n\t}", "interface C30585a {\n /* renamed from: b */\n void mo27952b(C5379a c5379a, int i, C46650a c46650a, C7620bi c7620bi);\n }", "public bb b() {\n return a(this.a);\n }", "@Override\n\tpublic void b1() {\n\t\t\n\t}", "public void b() {\r\n }", "@Override\n\tpublic void bbb() {\n\t\t\n\t}", "public interface C34379a {\n /* renamed from: a */\n void mo46242a(bmc bmc);\n }", "public abstract void b(StringBuilder sb);", "public void b() {\n }", "public void b() {\n }", "protected b(int mb) {\n/* 87 */ this.b = mb;\n/* */ }", "public u(b paramb)\r\n/* 7: */ {\r\n/* 8: 9 */ this.a = paramb;\r\n/* 9: */ }", "public interface b {\n void H_();\n\n void I_();\n\n void J_();\n\n void a(C0063d dVar);\n\n void a(byte[] bArr);\n\n void b(boolean z);\n }", "public b[] a() {\n/* 95 */ return this.a;\n/* */ }", "public interface C7654b {\n /* renamed from: a */\n C7904c mo24084a();\n\n /* renamed from: b */\n C7716a mo24085b();\n }", "public interface C1153a {\n /* renamed from: a */\n void mo4520a(byte[] bArr);\n }", "public interface C43499b {\n /* renamed from: a */\n void mo8445a(int i, String str, int i2, byte[] bArr);\n}", "public void b() {\n ((a) this.a).b();\n }", "public np a()\r\n/* 33: */ {\r\n/* 34:49 */ return this.b;\r\n/* 35: */ }", "b(a aVar) {\n super(0);\n this.this$0 = aVar;\n }", "public t b() {\n return a(this.a);\n }", "public interface C32456b<T> {\n /* renamed from: a */\n void mo83696a(T t);\n }", "public static String a(int c) {\n/* 89 */ return b.a(c);\n/* */ }", "private void m678b(byte b) {\n byte[] bArr = this.f523r;\n bArr[0] = b;\n this.f552g.mo502b(bArr);\n }", "public interface C23407b {\n /* renamed from: a */\n void mo60892a();\n\n /* renamed from: b */\n void mo60893b();\n }", "public abstract T zzm(B b);", "public b a()\r\n/* 12: */ {\r\n/* 13:13 */ return this.a;\r\n/* 14: */ }", "public void b(World paramaqu, BlockPosition paramdt, Block parambec)\r\n/* 27: */ {\r\n/* 28: 47 */ bcm localbcm = paramaqu.s(paramdt);\r\n/* 29: 48 */ if ((localbcm instanceof bdv)) {\r\n/* 30: 49 */ ((bdv)localbcm).h();\r\n/* 31: */ } else {\r\n/* 32: 51 */ super.b(paramaqu, paramdt, parambec);\r\n/* 33: */ }\r\n/* 34: */ }", "public abstract void zzc(B b, int i, int i2);", "public interface b {\n}", "public interface b {\n}", "private void m10263b(byte b) throws cf {\r\n this.f6483r[0] = b;\r\n this.g.m10347b(this.f6483r);\r\n }", "BSubstitution createBSubstitution();", "public void b(ahd paramahd) {}", "void b();", "public interface C18928d {\n /* renamed from: a */\n void mo50320a(C18924b bVar);\n\n /* renamed from: b */\n void mo50321b(C18924b bVar);\n}", "B database(S database);", "public interface C0615ja extends b<HomeFragment> {\n\n /* renamed from: c.c.a.h.b.ja$a */\n /* compiled from: FragmentModule_HomeFragment$app_bazaarRelease */\n public static abstract class a extends b.a<HomeFragment> {\n }\n}", "public abstract C0631bt mo9227aB();", "public an b() {\n return a(this.a);\n }", "protected abstract void a(bru parambru);", "static void go(Base b) {\n\t\tb.add(8);\n\t}", "void mo46242a(bmc bmc);", "public interface b extends c {\n void a(Float f);\n\n void a(Integer num);\n\n void b(Float f);\n\n void c(Float f);\n\n String d();\n\n void d(Float f);\n\n void d(String str);\n\n void e(Float f);\n\n void e(String str);\n\n void f(String str);\n\n void g(String str);\n\n Long j();\n\n LineChart k();\n }", "public interface bca extends bbn {\n bca a();\n\n bca a(String str);\n\n bca b(String str);\n\n bca c(String str);\n}", "public interface a extends com.bankeen.d.b.b.a {\n void a();\n\n void b();\n }", "public abstract BoundType b();", "public void b(amj paramamj)\r\n/* 538: */ {\r\n/* 539:579 */ this.f = paramamj;\r\n/* 540: */ }", "b(a aVar, com.bytedance.jedi.model.h.a aVar2) {\n super(aVar2);\n this.f21531a = aVar;\n this.f21532b = new com.bytedance.jedi.model.h.f(aVar);\n }", "private void b(int paramInt)\r\n/* 193: */ {\r\n/* 194:203 */ this.h.a(a(paramInt));\r\n/* 195: */ }", "public void b(ahb paramahb)\r\n/* 583: */ {\r\n/* 584:625 */ for (int i = 0; i < this.a.length; i++) {\r\n/* 585:626 */ this.a[i] = amj.b(paramahb.a[i]);\r\n/* 586: */ }\r\n/* 587:628 */ for (i = 0; i < this.b.length; i++) {\r\n/* 588:629 */ this.b[i] = amj.b(paramahb.b[i]);\r\n/* 589: */ }\r\n/* 590:631 */ this.c = paramahb.c;\r\n/* 591: */ }", "interface b {\n\n /* compiled from: CreditAccountContract */\n public interface a extends com.bankeen.d.b.b.a {\n void a();\n\n void b();\n }\n\n /* compiled from: CreditAccountContract */\n public interface b extends c {\n void a(Float f);\n\n void a(Integer num);\n\n void b(Float f);\n\n void c(Float f);\n\n String d();\n\n void d(Float f);\n\n void d(String str);\n\n void e(Float f);\n\n void e(String str);\n\n void f(String str);\n\n void g(String str);\n\n Long j();\n\n LineChart k();\n }\n}", "@Override\n\tpublic void visit(PartB partB) {\n\n\t}", "public abstract void zzb(B b, int i, long j);", "public abstract void zza(B b, int i, zzeh zzeh);", "int metodo2(int a, int b) {\r\n\r\n\t\tthis.a += 5; // se modifica el campo del objeto, el uso de la palabra reservada this se utiliza para referenciar al campo.\r\n\t\tb += 7;\r\n\t\treturn a; // modifica en la asignaci\\u00f3n\r\n\t}", "private void internalCopy(Board b) {\n for (int i = 0; i < SIDE * SIDE; i += 1) {\n set(i, b.get(i));\n }\n\n _directions = b._directions;\n _whoseMove = b._whoseMove;\n _history = b._history;\n }", "public int b()\r\n/* 69: */ {\r\n/* 70:74 */ return this.b;\r\n/* 71: */ }", "public void b(StringBuilder sb) {\n sb.append(this.a);\n sb.append(')');\n }", "public void b() {\n e$a e$a;\n try {\n e$a = this.b;\n }\n catch (IOException iOException) {\n return;\n }\n Object object = this.c;\n e$a.b(object);\n }", "public abstract void a(StringBuilder sb);", "public interface C45101e {\n /* renamed from: b */\n void mo3796b(int i);\n}", "public abstract void zzf(Object obj, B b);", "public interface bdp {\n\n /* renamed from: a */\n public static final bdp f3422a = new bdo();\n\n /* renamed from: a */\n bdm mo1784a(akh akh);\n}", "@Override\n\tpublic void parse(Buffer b) {\n\t\t\n\t}", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "public abstract void a(b paramb, int paramInt1, int paramInt2);", "public void mo1945a(byte b) throws cf {\r\n m10263b(b);\r\n }", "void mo83703a(C32456b<T> bVar);", "public void a(String str) {\n ((b.b) this.b).d(str);\n }", "public void selectB() { }", "BOperation createBOperation();", "void metodo1(int a, int b) {\r\n\t\ta += 5;//par\\u00e1metro con el mismo nombre que el campo.\r\n\t\tb += 7;\r\n\t}", "private static void m2196a(StringBuffer stringBuffer, byte b) {\n stringBuffer.append(\"0123456789ABCDEF\".charAt((b >> 4) & 15)).append(\"0123456789ABCDEF\".charAt(b & 15));\n }", "public interface C1799a {\n /* renamed from: b */\n void mo3314b(String str);\n }", "public void b(fv paramfv)\r\n/* 408: */ {\r\n/* 409:423 */ this.a = new amj[36];\r\n/* 410:424 */ this.b = new amj[4];\r\n/* 411:425 */ for (int i = 0; i < paramfv.c(); i++)\r\n/* 412: */ {\r\n/* 413:426 */ fn localfn = paramfv.b(i);\r\n/* 414:427 */ int j = localfn.d(\"Slot\") & 0xFF;\r\n/* 415:428 */ amj localamj = amj.a(localfn);\r\n/* 416:429 */ if (localamj != null)\r\n/* 417: */ {\r\n/* 418:430 */ if ((j >= 0) && (j < this.a.length)) {\r\n/* 419:431 */ this.a[j] = localamj;\r\n/* 420: */ }\r\n/* 421:433 */ if ((j >= 100) && (j < this.b.length + 100)) {\r\n/* 422:434 */ this.b[(j - 100)] = localamj;\r\n/* 423: */ }\r\n/* 424: */ }\r\n/* 425: */ }\r\n/* 426: */ }", "public void b(String str) {\n ((b.b) this.b).e(str);\n }", "public String b()\r\n/* 35: */ {\r\n/* 36:179 */ return a();\r\n/* 37: */ }", "public abstract void zza(B b, int i, T t);", "public Item b(World paramaqu, BlockPosition paramdt)\r\n/* 189: */ {\r\n/* 190:220 */ return null;\r\n/* 191: */ }", "public abstract void zza(B b, int i, long j);", "public interface C5101b {\n /* renamed from: a */\n void mo5289a(C5102c c5102c);\n\n /* renamed from: b */\n void mo5290b(C5102c c5102c);\n}", "private interface C0257a {\n /* renamed from: a */\n float mo196a(ViewGroup viewGroup, View view);\n\n /* renamed from: b */\n float mo195b(ViewGroup viewGroup, View view);\n }", "public abstract void mo9798a(byte b);", "public void mo9798a(byte b) {\n if (this.f9108f == this.f9107e) {\n mo9827i();\n }\n byte[] bArr = this.f9106d;\n int i = this.f9108f;\n this.f9108f = i + 1;\n bArr[i] = b;\n this.f9109g++;\n }", "public interface C1234b {\r\n /* renamed from: a */\r\n void m8367a();\r\n\r\n /* renamed from: b */\r\n void m8368b();\r\n}", "private void m676a(TField bkVar, byte b) {\n if (b == -1) {\n b = m687e(bkVar.f538b);\n }\n short s = bkVar.f539c;\n short s2 = this.f519n;\n if (s <= s2 || s - s2 > 15) {\n m678b(b);\n mo446a(bkVar.f539c);\n } else {\n m686d(b | ((s - s2) << 4));\n }\n this.f519n = bkVar.f539c;\n }", "private static void m831a(C0741g<?> gVar, C0747b bVar) {\n gVar.mo9477a(C0743i.f718b, (C0739e<? super Object>) bVar);\n gVar.mo9476a(C0743i.f718b, (C0738d) bVar);\n gVar.mo9474a(C0743i.f718b, (C0736b) bVar);\n }", "public interface C40453c {\n /* renamed from: a */\n void mo100442a(C40429b bVar);\n\n /* renamed from: a */\n void mo100443a(List<String> list);\n\n /* renamed from: b */\n void mo100444b(List<C40429b> list);\n}", "private void j()\n/* */ {\n/* 223 */ c localc = this.b;\n/* 224 */ this.b = this.c;\n/* 225 */ this.c = localc;\n/* 226 */ this.c.b();\n/* */ }", "public lj ar(byte b) {\n throw new Runtime(\"d2j fail translate: java.lang.RuntimeException: can not merge I and Z\\r\\n\\tat com.googlecode.dex2jar.ir.TypeClass.merge(TypeClass.java:100)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeRef.updateTypeClass(TypeTransformer.java:174)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.provideAs(TypeTransformer.java:780)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.e1expr(TypeTransformer.java:496)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.exExpr(TypeTransformer.java:713)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.exExpr(TypeTransformer.java:703)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.enexpr(TypeTransformer.java:698)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.exExpr(TypeTransformer.java:719)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.exExpr(TypeTransformer.java:703)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.s1stmt(TypeTransformer.java:810)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.sxStmt(TypeTransformer.java:840)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer$TypeAnalyze.analyze(TypeTransformer.java:206)\\r\\n\\tat com.googlecode.dex2jar.ir.ts.TypeTransformer.transform(TypeTransformer.java:44)\\r\\n\\tat com.googlecode.d2j.dex.Dex2jar$2.optimize(Dex2jar.java:162)\\r\\n\\tat com.googlecode.d2j.dex.Dex2Asm.convertCode(Dex2Asm.java:414)\\r\\n\\tat com.googlecode.d2j.dex.ExDex2Asm.convertCode(ExDex2Asm.java:42)\\r\\n\\tat com.googlecode.d2j.dex.Dex2jar$2.convertCode(Dex2jar.java:128)\\r\\n\\tat com.googlecode.d2j.dex.Dex2Asm.convertMethod(Dex2Asm.java:509)\\r\\n\\tat com.googlecode.d2j.dex.Dex2Asm.convertClass(Dex2Asm.java:406)\\r\\n\\tat com.googlecode.d2j.dex.Dex2Asm.convertDex(Dex2Asm.java:422)\\r\\n\\tat com.googlecode.d2j.dex.Dex2jar.doTranslate(Dex2jar.java:172)\\r\\n\\tat com.googlecode.d2j.dex.Dex2jar.to(Dex2jar.java:272)\\r\\n\\tat com.googlecode.dex2jar.tools.Dex2jarCmd.doCommandLine(Dex2jarCmd.java:108)\\r\\n\\tat com.googlecode.dex2jar.tools.BaseCmd.doMain(BaseCmd.java:288)\\r\\n\\tat com.googlecode.dex2jar.tools.Dex2jarCmd.main(Dex2jarCmd.java:32)\\r\\n\");\n }", "public interface AbstractC10485b {\n /* renamed from: a */\n void mo64153a(boolean z);\n }", "public interface C40108b {\n /* renamed from: a */\n void mo99838a(boolean z);\n }", "interface C8361a {\n /* renamed from: b */\n float mo18284b(ViewGroup viewGroup, View view);\n\n /* renamed from: c */\n float mo18281c(ViewGroup viewGroup, View view);\n }" ]
[ "0.64558864", "0.6283203", "0.6252635", "0.6250949", "0.6244743", "0.6216273", "0.6194491", "0.6193556", "0.61641675", "0.6140157", "0.60993093", "0.60974354", "0.6077849", "0.6001867", "0.5997364", "0.59737104", "0.59737104", "0.5905105", "0.5904295", "0.58908087", "0.5886636", "0.58828026", "0.5855491", "0.584618", "0.5842517", "0.5824137", "0.5824071", "0.58097327", "0.5802052", "0.58012927", "0.579443", "0.5792392", "0.57902914", "0.5785124", "0.57718205", "0.57589084", "0.5735892", "0.5735892", "0.5734873", "0.5727929", "0.5720821", "0.5712531", "0.5706813", "0.56896514", "0.56543154", "0.5651059", "0.5649904", "0.56496733", "0.5647035", "0.5640965", "0.5640109", "0.563993", "0.5631903", "0.5597427", "0.55843794", "0.5583287", "0.557783", "0.55734867", "0.55733293", "0.5572254", "0.55683887", "0.55624336", "0.55540246", "0.5553985", "0.55480546", "0.554261", "0.5535739", "0.5529958", "0.5519634", "0.5517503", "0.55160624", "0.5511545", "0.5505353", "0.5500533", "0.5491741", "0.5486198", "0.5481978", "0.547701", "0.54725856", "0.5471632", "0.5463497", "0.5460805", "0.5454913", "0.5454885", "0.54519916", "0.5441594", "0.5436747", "0.5432453", "0.5425923", "0.5424724", "0.54189867", "0.54162544", "0.54051477", "0.53998184", "0.53945845", "0.53887725", "0.5388146", "0.5387678", "0.53858143", "0.53850687", "0.5384439" ]
0.0
-1
/ renamed from: c
public void mo2194c(C0317d dVar, float f) { m1278j(dVar).mo2224b(f); mo2201i(dVar); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void mo5289a(C5102c c5102c);", "public static void c0() {\n\t}", "void mo57278c();", "private static void cajas() {\n\t\t\n\t}", "void mo5290b(C5102c c5102c);", "void mo80457c();", "void mo12638c();", "void mo28717a(zzc zzc);", "void mo21072c();", "@Override\n\tpublic void ccc() {\n\t\t\n\t}", "public void c() {\n }", "void mo17012c();", "C2451d mo3408a(C2457e c2457e);", "void mo88524c();", "void mo86a(C0163d c0163d);", "void mo17021c();", "public abstract void mo53562a(C18796a c18796a);", "void mo4874b(C4718l c4718l);", "void mo4873a(C4718l c4718l);", "C12017a mo41088c();", "public abstract void mo70702a(C30989b c30989b);", "void mo72114c();", "public void mo12628c() {\n }", "C2841w mo7234g();", "public interface C0335c {\n }", "public void mo1403c() {\n }", "public static void c3() {\n\t}", "public static void c1() {\n\t}", "void mo8712a(C9714a c9714a);", "void mo67924c();", "public void mo97906c() {\n }", "public abstract void mo27385c();", "String mo20731c();", "public int c()\r\n/* 74: */ {\r\n/* 75:78 */ return this.c;\r\n/* 76: */ }", "public interface C0939c {\n }", "void mo1582a(String str, C1329do c1329do);", "void mo304a(C0366h c0366h);", "void mo1493c();", "private String getString(byte c) {\n\t\treturn c==1? \"$ \": \" \";\n\t}", "java.lang.String getC3();", "C45321i mo90380a();", "public interface C11910c {\n}", "void mo57277b();", "String mo38972c();", "static int type_of_cnc(String passed){\n\t\treturn 1;\n\t}", "public static void CC2_1() {\n\t}", "static int type_of_cc(String passed){\n\t\treturn 1;\n\t}", "public interface C7654b {\n /* renamed from: a */\n C7904c mo24084a();\n\n /* renamed from: b */\n C7716a mo24085b();\n }", "public void mo56167c() {\n }", "public interface C0136c {\n }", "private void kk12() {\n\n\t}", "abstract String mo1748c();", "public abstract void mo70710a(String str, C24343db c24343db);", "public interface C0303q extends C0291e {\n /* renamed from: a */\n void mo1747a(int i);\n\n /* renamed from: a */\n void mo1749a(C0288c cVar);\n\n /* renamed from: a */\n void mo1751a(byte[] bArr);\n\n /* renamed from: b */\n void mo1753b(int i);\n\n /* renamed from: c */\n void mo1754c(int i);\n\n /* renamed from: d */\n void mo1755d(int i);\n\n /* renamed from: e */\n int mo1756e(int i);\n\n /* renamed from: g */\n int mo1760g();\n\n /* renamed from: g */\n void mo1761g(int i);\n\n /* renamed from: h */\n void mo1763h(int i);\n}", "C3577c mo19678C();", "public abstract int c();", "public abstract int c();", "public final void mo11687c() {\n }", "byte mo30283c();", "private java.lang.String c(java.lang.String r7) {\n /*\n r6 = this;\n r2 = \"\";\n r0 = r6.e;\t Catch:{ FileNotFoundException -> 0x0052 }\n if (r0 == 0) goto L_0x0050;\n L_0x0006:\n r0 = new java.lang.StringBuilder;\t Catch:{ FileNotFoundException -> 0x0052 }\n r1 = java.lang.String.valueOf(r7);\t Catch:{ FileNotFoundException -> 0x0052 }\n r0.<init>(r1);\t Catch:{ FileNotFoundException -> 0x0052 }\n r1 = \".\";\n r0 = r0.append(r1);\t Catch:{ FileNotFoundException -> 0x0052 }\n r1 = r6.e;\t Catch:{ FileNotFoundException -> 0x0052 }\n r0 = r0.append(r1);\t Catch:{ FileNotFoundException -> 0x0052 }\n r0 = r0.toString();\t Catch:{ FileNotFoundException -> 0x0052 }\n L_0x001f:\n r1 = r6.d;\t Catch:{ FileNotFoundException -> 0x0052 }\n r1 = r1.openFileInput(r0);\t Catch:{ FileNotFoundException -> 0x0052 }\n L_0x0025:\n r3 = new java.io.BufferedReader;\n r4 = new java.io.InputStreamReader;\n r0 = r1;\n r0 = (java.io.InputStream) r0;\n r5 = \"UTF-8\";\n r5 = java.nio.charset.Charset.forName(r5);\n r4.<init>(r0, r5);\n r3.<init>(r4);\n r0 = new java.lang.StringBuffer;\n r0.<init>();\n L_0x003d:\n r4 = r3.readLine();\t Catch:{ IOException -> 0x0065, all -> 0x0073 }\n if (r4 != 0) goto L_0x0061;\n L_0x0043:\n r0 = r0.toString();\t Catch:{ IOException -> 0x0065, all -> 0x0073 }\n r1 = (java.io.InputStream) r1;\t Catch:{ IOException -> 0x007d }\n r1.close();\t Catch:{ IOException -> 0x007d }\n r3.close();\t Catch:{ IOException -> 0x007d }\n L_0x004f:\n return r0;\n L_0x0050:\n r0 = r7;\n goto L_0x001f;\n L_0x0052:\n r0 = move-exception;\n r0 = r6.d;\t Catch:{ IOException -> 0x005e }\n r0 = r0.getAssets();\t Catch:{ IOException -> 0x005e }\n r1 = r0.open(r7);\t Catch:{ IOException -> 0x005e }\n goto L_0x0025;\n L_0x005e:\n r0 = move-exception;\n r0 = r2;\n goto L_0x004f;\n L_0x0061:\n r0.append(r4);\t Catch:{ IOException -> 0x0065, all -> 0x0073 }\n goto L_0x003d;\n L_0x0065:\n r0 = move-exception;\n r1 = (java.io.InputStream) r1;\t Catch:{ IOException -> 0x0070 }\n r1.close();\t Catch:{ IOException -> 0x0070 }\n r3.close();\t Catch:{ IOException -> 0x0070 }\n r0 = r2;\n goto L_0x004f;\n L_0x0070:\n r0 = move-exception;\n r0 = r2;\n goto L_0x004f;\n L_0x0073:\n r0 = move-exception;\n r1 = (java.io.InputStream) r1;\t Catch:{ IOException -> 0x007f }\n r1.close();\t Catch:{ IOException -> 0x007f }\n r3.close();\t Catch:{ IOException -> 0x007f }\n L_0x007c:\n throw r0;\n L_0x007d:\n r1 = move-exception;\n goto L_0x004f;\n L_0x007f:\n r1 = move-exception;\n goto L_0x007c;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: com.tencent.a.b.b.c(java.lang.String):java.lang.String\");\n }", "@Override\n\tpublic void compile(CodeBlock c, CompilerEnvironment environment) {\n\n\t}", "public interface C3196it extends C3208jc {\n /* renamed from: a */\n void mo30275a(long j);\n\n /* renamed from: b */\n C3197iu mo30281b(long j);\n\n /* renamed from: b */\n boolean mo30282b();\n\n /* renamed from: c */\n byte mo30283c();\n\n /* renamed from: c */\n String mo30285c(long j);\n\n /* renamed from: d */\n void mo30290d(long j);\n\n /* renamed from: e */\n int mo30291e();\n\n /* renamed from: f */\n long mo30295f();\n}", "public static void mmcc() {\n\t}", "java.lang.String getCit();", "public abstract C mo29734a();", "C15430g mo56154a();", "void mo41086b();", "@Override\n public void func_104112_b() {\n \n }", "public interface C9223b {\n }", "public abstract String mo11611b();", "void mo27952b(C5379a c5379a, int i, C46650a c46650a, C7620bi c7620bi);", "String getCmt();", "interface C30585a {\n /* renamed from: b */\n void mo27952b(C5379a c5379a, int i, C46650a c46650a, C7620bi c7620bi);\n }", "interface C2578d {\n}", "public interface C1803l extends C1813t {\n /* renamed from: b */\n C1803l mo7382b(C2778au auVar);\n\n /* renamed from: f */\n List<C1700ar> mo7233f();\n\n /* renamed from: g */\n C2841w mo7234g();\n\n /* renamed from: q */\n C1800i mo7384q();\n}", "double fFromC(double c) {\n return (c * 9 / 5) + 32;\n }", "void mo72113b();", "void mo1749a(C0288c cVar);", "public interface C0764b {\n}", "void mo41083a();", "String[] mo1153c();", "C1458cs mo7613iS();", "public interface C0333a {\n }", "public abstract int mo41077c();", "public interface C8843g {\n}", "public abstract void mo70709a(String str, C41018cm c41018cm);", "void mo28307a(zzgd zzgd);", "public static void mcdc() {\n\t}", "public interface C2459d {\n /* renamed from: a */\n C2451d mo3408a(C2457e c2457e);\n}", "C1435c mo1754a(C1433a c1433a, C1434b c1434b);", "public interface C0389gj extends C0388gi {\n}", "C5727e mo33224a();", "C12000e mo41087c(String str);", "public abstract String mo118046b();", "public interface C11113o {\n /* renamed from: a */\n void mo37759a(String str);\n }", "public interface C0938b {\n }", "void mo80455b();", "public interface C0385a {\n }", "public interface C5527c {\n /* renamed from: a */\n int mo4095a(int i);\n\n /* renamed from: b */\n C5537g mo4096b(int i);\n}", "public interface C32231g {\n /* renamed from: a */\n void mo8280a(int i, int i2, C1207m c1207m);\n}", "public interface C11994b {\n /* renamed from: a */\n C11996a mo41079a(String str);\n\n /* renamed from: a */\n C11996a mo41080a(String str, C11997b bVar, String... strArr);\n\n /* renamed from: a */\n C11998c mo41081a(String str, C11999d dVar, String... strArr);\n\n /* renamed from: a */\n C12000e mo41082a(String str, C12001f fVar, String... strArr);\n\n /* renamed from: a */\n void mo41083a();\n\n /* renamed from: a */\n void mo41084a(C12018b bVar, ConnectionState... connectionStateArr);\n\n /* renamed from: b */\n C11996a mo41085b(String str);\n\n /* renamed from: b */\n void mo41086b();\n\n /* renamed from: c */\n C12000e mo41087c(String str);\n\n /* renamed from: c */\n C12017a mo41088c();\n\n /* renamed from: d */\n void mo41089d(String str);\n\n /* renamed from: e */\n C11998c mo41090e(String str);\n\n /* renamed from: f */\n C12000e mo41091f(String str);\n\n /* renamed from: g */\n C11998c mo41092g(String str);\n}" ]
[ "0.64592767", "0.644052", "0.6431582", "0.6418656", "0.64118475", "0.6397491", "0.6250796", "0.62470585", "0.6244832", "0.6232792", "0.618864", "0.61662376", "0.6152657", "0.61496663", "0.6138441", "0.6137171", "0.6131197", "0.6103783", "0.60983956", "0.6077118", "0.6061723", "0.60513836", "0.6049069", "0.6030368", "0.60263443", "0.60089093", "0.59970635", "0.59756917", "0.5956231", "0.5949343", "0.5937446", "0.5911776", "0.59034705", "0.5901311", "0.5883238", "0.5871533", "0.5865361", "0.5851141", "0.581793", "0.5815705", "0.58012", "0.578891", "0.57870495", "0.5775621", "0.57608724", "0.5734331", "0.5731584", "0.5728505", "0.57239383", "0.57130504", "0.57094604", "0.570793", "0.5697671", "0.56975955", "0.56911296", "0.5684489", "0.5684489", "0.56768984", "0.56749034", "0.5659463", "0.56589085", "0.56573", "0.56537443", "0.5651912", "0.5648272", "0.5641736", "0.5639226", "0.5638583", "0.56299245", "0.56297386", "0.56186295", "0.5615729", "0.56117755", "0.5596015", "0.55905765", "0.55816257", "0.55813104", "0.55723965", "0.5572061", "0.55696625", "0.5566985", "0.55633485", "0.555888", "0.5555646", "0.55525774", "0.5549722", "0.5548184", "0.55460495", "0.5539394", "0.5535825", "0.55300397", "0.5527975", "0.55183905", "0.5517322", "0.5517183", "0.55152744", "0.5514932", "0.55128884", "0.5509501", "0.55044043", "0.54984957" ]
0.0
-1
/ renamed from: a
private C0320g m1277a(Context context, ColorStateList colorStateList, float f, float f2, float f3) { C0320g gVar = new C0320g(context.getResources(), colorStateList, f, f2, f3); return gVar; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed from: a */\n void mo85415a(String str);\n }", "interface C10331b {\n /* renamed from: a */\n void mo26876a(int i);\n }", "public interface C0779a {\n /* renamed from: a */\n void mo2311a();\n}", "public interface C6788a {\n /* renamed from: a */\n void mo20141a();\n }", "public interface C0237a {\n /* renamed from: a */\n void mo1791a(String str);\n }", "public interface C35013b {\n /* renamed from: a */\n void mo88773a(int i);\n}", "public interface C11112n {\n /* renamed from: a */\n void mo38026a();\n }", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "public interface C23407b {\n /* renamed from: a */\n void mo60892a();\n\n /* renamed from: b */\n void mo60893b();\n }", "interface C0312e {\n /* renamed from: a */\n void mo4671a(View view, int i, int i2, int i3, int i4);\n }", "public interface C34379a {\n /* renamed from: a */\n void mo46242a(bmc bmc);\n }", "public interface C32456b<T> {\n /* renamed from: a */\n void mo83696a(T t);\n }", "private String convertir(String a) {\n StringBuilder atributo = new StringBuilder(a);\n atributo.insert(0, Character.toUpperCase(atributo.charAt(0)));\n return atributo.deleteCharAt(1).toString();\n }", "protected m a(String name) {\n/* 42 */ return this.a.get(name);\n/* */ }", "public interface AbstractC23925a {\n /* renamed from: a */\n void mo105476a();\n }", "private interface C0257a {\n /* renamed from: a */\n float mo196a(ViewGroup viewGroup, View view);\n\n /* renamed from: b */\n float mo195b(ViewGroup viewGroup, View view);\n }", "public interface C3598a {\n /* renamed from: a */\n void mo11024a(int i, int i2, String str);\n }", "public interface C2459d {\n /* renamed from: a */\n C2451d mo3408a(C2457e c2457e);\n}", "public interface am extends ak {\r\n /* renamed from: a */\r\n void mo194a(int i) throws RemoteException;\r\n\r\n /* renamed from: a */\r\n void mo195a(List<LatLng> list) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo196b(float f) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo197b(boolean z);\r\n\r\n /* renamed from: c */\r\n void mo198c(boolean z) throws RemoteException;\r\n\r\n /* renamed from: g */\r\n float mo199g() throws RemoteException;\r\n\r\n /* renamed from: h */\r\n int mo200h() throws RemoteException;\r\n\r\n /* renamed from: i */\r\n List<LatLng> mo201i() throws RemoteException;\r\n\r\n /* renamed from: j */\r\n boolean mo202j();\r\n\r\n /* renamed from: k */\r\n boolean mo203k();\r\n}", "public interface C32459e<T> {\n /* renamed from: a */\n void mo83698a(T t);\n }", "public interface C32458d<T> {\n /* renamed from: a */\n void mo83695a(T t);\n }", "public interface C5482b {\n /* renamed from: a */\n void mo27575a();\n\n /* renamed from: a */\n void mo27576a(int i);\n }", "public interface C27084a {\n /* renamed from: a */\n void mo69874a();\n\n /* renamed from: a */\n void mo69875a(List<Aweme> list, boolean z);\n }", "public void a() {\n ((a) this.a).a();\n }", "public interface C1153a {\n /* renamed from: a */\n void mo4520a(byte[] bArr);\n }", "public interface C13373b {\n /* renamed from: a */\n void mo32681a(String str, int i, boolean z);\n}", "public interface C40453c {\n /* renamed from: a */\n void mo100442a(C40429b bVar);\n\n /* renamed from: a */\n void mo100443a(List<String> list);\n\n /* renamed from: b */\n void mo100444b(List<C40429b> list);\n}", "public interface AbstractC17367b {\n /* renamed from: a */\n void mo84655a();\n }", "@Override\r\n\tpublic void a() {\n\t\t\r\n\t}", "public interface C43270a {\n /* renamed from: a */\n void mo64942a(String str, long j, long j2);\n}", "public interface C18928d {\n /* renamed from: a */\n void mo50320a(C18924b bVar);\n\n /* renamed from: b */\n void mo50321b(C18924b bVar);\n}", "public interface C0087c {\n /* renamed from: a */\n String mo150a(String str);\n}", "public interface C1529m {\n /* renamed from: a */\n void mo3767a(int i);\n\n /* renamed from: a */\n void mo3768a(String str);\n}", "interface C4483e {\n /* renamed from: a */\n boolean mo34114a();\n}", "public interface C1234b {\r\n /* renamed from: a */\r\n void m8367a();\r\n\r\n /* renamed from: b */\r\n void m8368b();\r\n}", "public interface C10965j<T> {\n /* renamed from: a */\n T mo26439a();\n}", "public interface C28772a {\n /* renamed from: a */\n View mo73990a(View view);\n }", "@Override\n\tpublic void a() {\n\t\t\n\t}", "public interface C8326b {\n /* renamed from: a */\n C8325a mo21498a(String str);\n\n /* renamed from: a */\n void mo21499a(C8325a aVar);\n}", "void metodo1(int a, int[] b) {\r\n\t\ta += 5;//Par\\u00e1metro con el mismo nombre que el campo de la clase.\r\n\t\tb[0] += 7;//se produce un env\\u00edo por referencia, apunta a una copia de un objeto, que se asigna aqu\\u00ed.\r\n\t}", "public interface C2367a {\n /* renamed from: a */\n C2368d mo1698a();\n }", "interface C30585a {\n /* renamed from: b */\n void mo27952b(C5379a c5379a, int i, C46650a c46650a, C7620bi c7620bi);\n }", "public interface C4211a {\n\n /* renamed from: com.iab.omid.library.oguryco.c.a$a */\n public interface C4212a {\n /* renamed from: a */\n void mo28760a(View view, C4211a aVar, JSONObject jSONObject);\n }\n\n /* renamed from: a */\n JSONObject mo28758a(View view);\n\n /* renamed from: a */\n void mo28759a(View view, JSONObject jSONObject, C4212a aVar, boolean z);\n}", "public interface C4697a extends C5595at {\n /* renamed from: a */\n void mo12634a();\n\n /* renamed from: a */\n void mo12635a(String str);\n\n /* renamed from: a */\n void mo12636a(boolean z);\n\n /* renamed from: b */\n void mo12637b();\n\n /* renamed from: c */\n void mo12638c();\n }", "public interface C4773c {\n /* renamed from: a */\n void m15858a(int i);\n\n /* renamed from: a */\n void m15859a(int i, int i2);\n\n /* renamed from: a */\n void m15860a(int i, int i2, int i3);\n\n /* renamed from: b */\n void m15861b(int i, int i2);\n}", "public interface C4869f {\n /* renamed from: a */\n C4865b mo6249a();\n}", "public interface C1799a {\n /* renamed from: b */\n void mo3314b(String str);\n }", "public interface C43499b {\n /* renamed from: a */\n void mo8445a(int i, String str, int i2, byte[] bArr);\n}", "public interface C0601aq {\n /* renamed from: a */\n void mo9148a(int i, ArrayList<C0889x> arrayList);\n}", "public interface C45101e {\n /* renamed from: b */\n void mo3796b(int i);\n}", "public interface AbstractC6461g {\n /* renamed from: a */\n String mo42332a();\n}", "public interface AbstractC1645a {\n /* renamed from: a */\n String mo17375a();\n }", "public interface C6178c {\n /* renamed from: a */\n Map<String, String> mo14888a();\n}", "public interface C5101b {\n /* renamed from: a */\n void mo5289a(C5102c c5102c);\n\n /* renamed from: b */\n void mo5290b(C5102c c5102c);\n}", "public interface C19045k {\n /* renamed from: a */\n void mo50368a(int i, Object obj);\n\n /* renamed from: b */\n void mo50369b(int i, Object obj);\n}", "public b a()\r\n/* 12: */ {\r\n/* 13:13 */ return this.a;\r\n/* 14: */ }", "public interface C7720a {\n /* renamed from: a */\n long mo20406a();\n}", "public String a()\r\n/* 25: */ {\r\n/* 26:171 */ return \"dig.\" + this.a;\r\n/* 27: */ }", "public interface ayt {\n /* renamed from: a */\n int mo1635a(long j, List list);\n\n /* renamed from: a */\n long mo1636a(long j, alb alb);\n\n /* renamed from: a */\n void mo1637a();\n\n /* renamed from: a */\n void mo1638a(long j, long j2, List list, ayp ayp);\n\n /* renamed from: a */\n void mo1639a(ayl ayl);\n\n /* renamed from: a */\n boolean mo1640a(ayl ayl, boolean z, Exception exc, long j);\n}", "public interface C24221b extends C28343z<C28318an> {\n /* renamed from: a */\n void mo62991a(int i);\n\n String aw_();\n\n /* renamed from: e */\n Aweme mo62993e();\n}", "public interface C4051c {\n /* renamed from: a */\n boolean mo23707a();\n}", "public interface C45112b {\n /* renamed from: a */\n List<C45111a> mo107674a(Integer num);\n\n /* renamed from: a */\n List<C45111a> mo107675a(Integer num, Integer num2);\n\n /* renamed from: a */\n void mo107676a(C45111a aVar);\n\n /* renamed from: b */\n void mo107677b(Integer num);\n\n /* renamed from: c */\n long mo107678c(Integer num);\n}", "public void acionou(int a){\n\t\t\tb=a;\n\t\t}", "public interface C44963i {\n /* renamed from: a */\n void mo63037a(int i, int i2);\n\n void aA_();\n\n /* renamed from: b */\n void mo63039b(int i, int i2);\n}", "public interface C32457c<T> {\n /* renamed from: a */\n void mo83699a(T t, int i, int i2, String str);\n }", "public interface C5861g {\n /* renamed from: a */\n void mo18320a(C7251a aVar);\n\n @Deprecated\n /* renamed from: a */\n void mo18321a(C7251a aVar, String str);\n\n /* renamed from: a */\n void mo18322a(C7252b bVar);\n\n /* renamed from: a */\n void mo18323a(C7253c cVar);\n\n /* renamed from: a */\n void mo18324a(C7260j jVar);\n}", "public interface C0937a {\n /* renamed from: a */\n void mo3807a(C0985po[] poVarArr);\n }", "public interface C8466a {\n /* renamed from: a */\n void mo25956a(int i);\n\n /* renamed from: a */\n void mo25957a(long j, long j2);\n }", "public interface C39684b {\n /* renamed from: a */\n void mo98969a();\n\n /* renamed from: a */\n void mo98970a(C29296g gVar);\n\n /* renamed from: a */\n void mo98971a(C29296g gVar, int i);\n }", "public interface C43470b {\n /* renamed from: a */\n void mo61496a(C43469a aVar, C43471c cVar);\n }", "public interface AbstractC18255a {\n /* renamed from: a */\n void mo88521a();\n\n /* renamed from: a */\n void mo88522a(String str);\n\n /* renamed from: b */\n void mo88523b();\n\n /* renamed from: c */\n void mo88524c();\n }", "public interface C1436d {\n /* renamed from: a */\n C1435c mo1754a(C1433a c1433a, C1434b c1434b);\n}", "public interface C4150sl {\n /* renamed from: a */\n void mo15005a(C4143se seVar);\n}", "public void a(nm paramnm)\r\n/* 28: */ {\r\n/* 29:45 */ paramnm.a(this);\r\n/* 30: */ }", "public interface C19351a {\n /* renamed from: b */\n void mo30633b(int i, String str, byte[] bArr);\n }", "public interface C11113o {\n /* renamed from: a */\n void mo37759a(String str);\n }", "public interface C39504az {\n /* renamed from: a */\n int mo98207a();\n\n /* renamed from: a */\n void mo98208a(boolean z);\n\n /* renamed from: b */\n int mo98209b();\n\n /* renamed from: c */\n int mo98355c();\n\n /* renamed from: d */\n int mo98356d();\n\n /* renamed from: e */\n int mo98357e();\n\n /* renamed from: f */\n int mo98358f();\n}", "protected a<T> a(Tag.e<T> var0) {\n/* 80 */ Tag.a var1 = b(var0);\n/* 81 */ return new a<>(var1, this.c, \"vanilla\");\n/* */ }", "public interface C35565a {\n /* renamed from: a */\n C45321i mo90380a();\n }", "public interface C21298a {\n /* renamed from: a */\n void mo57275a();\n\n /* renamed from: a */\n void mo57276a(Exception exc);\n\n /* renamed from: b */\n void mo57277b();\n\n /* renamed from: c */\n void mo57278c();\n }", "public interface C40108b {\n /* renamed from: a */\n void mo99838a(boolean z);\n }", "public interface C0456a {\n /* renamed from: a */\n void mo2090a(C0455b bVar);\n\n /* renamed from: a */\n boolean mo2091a(C0455b bVar, Menu menu);\n\n /* renamed from: a */\n boolean mo2092a(C0455b bVar, MenuItem menuItem);\n\n /* renamed from: b */\n boolean mo2093b(C0455b bVar, Menu menu);\n }", "public interface C4724o {\n /* renamed from: a */\n void mo4872a(int i, String str);\n\n /* renamed from: a */\n void mo4873a(C4718l c4718l);\n\n /* renamed from: b */\n void mo4874b(C4718l c4718l);\n}", "public interface C7654b {\n /* renamed from: a */\n C7904c mo24084a();\n\n /* renamed from: b */\n C7716a mo24085b();\n }", "public interface C2603a {\n /* renamed from: a */\n String mo1889a(String str, String str2, String str3, String str4);\n }", "public interface afp {\n /* renamed from: a */\n C0512sx mo169a(C0497si siVar, afj afj, afr afr, Context context);\n}", "public interface C0615ja extends b<HomeFragment> {\n\n /* renamed from: c.c.a.h.b.ja$a */\n /* compiled from: FragmentModule_HomeFragment$app_bazaarRelease */\n public static abstract class a extends b.a<HomeFragment> {\n }\n}", "public interface a {\n\n /* renamed from: c.b.a.c.b.b.a$a reason: collision with other inner class name */\n /* compiled from: DiskCache */\n public interface C0054a {\n a build();\n }\n\n /* compiled from: DiskCache */\n public interface b {\n boolean a(File file);\n }\n\n File a(c cVar);\n\n void a(c cVar, b bVar);\n}", "public interface C0940d {\n /* renamed from: a */\n void mo3305a(boolean z);\n }", "public interface AbstractC17368c {\n /* renamed from: a */\n void mo84656a(float f);\n }", "interface C0932a {\n /* renamed from: a */\n void mo7438a(int i, int i2);\n\n /* renamed from: b */\n void mo7439b(C0933b bVar);\n\n /* renamed from: c */\n void mo7440c(int i, int i2, Object obj);\n\n /* renamed from: d */\n void mo7441d(C0933b bVar);\n\n /* renamed from: e */\n RecyclerView.ViewHolder mo7442e(int i);\n\n /* renamed from: f */\n void mo7443f(int i, int i2);\n\n /* renamed from: g */\n void mo7444g(int i, int i2);\n\n /* renamed from: h */\n void mo7445h(int i, int i2);\n }", "public interface C10330c {\n /* renamed from: a */\n C7562b<C10403b, C10328a> mo25041a();\n}", "public interface C3819a {\n /* renamed from: a */\n void mo23214a(Message message);\n }", "private Proof atoAImpl(Expression a) {\n Proof where = axm2(a, arrow(a, a), a); //a->(a->a) -> (a->(a->a)->a) -> (a -> a)\n Proof one = axm1(a, a); //a->a->a\n Proof two = axm1(a, arrow(a, a)); //a->(a->a)->A\n return mpTwice(where, one, two);\n }", "interface C1939a {\n /* renamed from: a */\n Bitmap mo1406a(Bitmap bitmap, float f);\n}", "public interface a extends com.bankeen.d.b.b.a {\n void a();\n\n void b();\n }", "public b[] a() {\n/* 95 */ return this.a;\n/* */ }", "interface C8361a {\n /* renamed from: b */\n float mo18284b(ViewGroup viewGroup, View view);\n\n /* renamed from: c */\n float mo18281c(ViewGroup viewGroup, View view);\n }" ]
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064", "0.5794689", "0.57890314", "0.57838726", "0.5775679", "0.57694733", "0.5769128", "0.57526815", "0.56907034", "0.5677874", "0.5670547", "0.56666386", "0.56592244", "0.5658682", "0.56574154", "0.5654324", "0.5644676", "0.56399715", "0.5638734", "0.5630582", "0.56183887", "0.5615435", "0.56069666", "0.5605207", "0.56005067", "0.559501", "0.55910283", "0.5590222", "0.55736613", "0.5556682", "0.5554544", "0.5550076", "0.55493855", "0.55446684", "0.5538079", "0.5529058", "0.5528109", "0.552641", "0.5525864", "0.552186", "0.5519972", "0.5509587", "0.5507195", "0.54881203", "0.5485328", "0.54826045", "0.5482066", "0.5481586", "0.5479751", "0.54776895", "0.54671466", "0.5463307", "0.54505056", "0.54436916", "0.5440517", "0.5439747", "0.5431944", "0.5422869", "0.54217863", "0.5417556", "0.5403905", "0.5400223", "0.53998446", "0.5394735", "0.5388649", "0.5388258", "0.5374842", "0.5368887", "0.53591394", "0.5357029", "0.5355688", "0.535506", "0.5355034", "0.53494394", "0.5341044", "0.5326166", "0.53236824", "0.53199095", "0.53177035", "0.53112453", "0.5298229" ]
0.0
-1
/ renamed from: a
public void mo2190a(C0317d dVar, ColorStateList colorStateList) { m1278j(dVar).mo2220a(colorStateList); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed from: a */\n void mo85415a(String str);\n }", "interface C10331b {\n /* renamed from: a */\n void mo26876a(int i);\n }", "public interface C0779a {\n /* renamed from: a */\n void mo2311a();\n}", "public interface C6788a {\n /* renamed from: a */\n void mo20141a();\n }", "public interface C0237a {\n /* renamed from: a */\n void mo1791a(String str);\n }", "public interface C35013b {\n /* renamed from: a */\n void mo88773a(int i);\n}", "public interface C11112n {\n /* renamed from: a */\n void mo38026a();\n }", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "public interface C23407b {\n /* renamed from: a */\n void mo60892a();\n\n /* renamed from: b */\n void mo60893b();\n }", "interface C0312e {\n /* renamed from: a */\n void mo4671a(View view, int i, int i2, int i3, int i4);\n }", "public interface C34379a {\n /* renamed from: a */\n void mo46242a(bmc bmc);\n }", "public interface C32456b<T> {\n /* renamed from: a */\n void mo83696a(T t);\n }", "private String convertir(String a) {\n StringBuilder atributo = new StringBuilder(a);\n atributo.insert(0, Character.toUpperCase(atributo.charAt(0)));\n return atributo.deleteCharAt(1).toString();\n }", "protected m a(String name) {\n/* 42 */ return this.a.get(name);\n/* */ }", "public interface AbstractC23925a {\n /* renamed from: a */\n void mo105476a();\n }", "private interface C0257a {\n /* renamed from: a */\n float mo196a(ViewGroup viewGroup, View view);\n\n /* renamed from: b */\n float mo195b(ViewGroup viewGroup, View view);\n }", "public interface C3598a {\n /* renamed from: a */\n void mo11024a(int i, int i2, String str);\n }", "public interface C2459d {\n /* renamed from: a */\n C2451d mo3408a(C2457e c2457e);\n}", "public interface am extends ak {\r\n /* renamed from: a */\r\n void mo194a(int i) throws RemoteException;\r\n\r\n /* renamed from: a */\r\n void mo195a(List<LatLng> list) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo196b(float f) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo197b(boolean z);\r\n\r\n /* renamed from: c */\r\n void mo198c(boolean z) throws RemoteException;\r\n\r\n /* renamed from: g */\r\n float mo199g() throws RemoteException;\r\n\r\n /* renamed from: h */\r\n int mo200h() throws RemoteException;\r\n\r\n /* renamed from: i */\r\n List<LatLng> mo201i() throws RemoteException;\r\n\r\n /* renamed from: j */\r\n boolean mo202j();\r\n\r\n /* renamed from: k */\r\n boolean mo203k();\r\n}", "public interface C32459e<T> {\n /* renamed from: a */\n void mo83698a(T t);\n }", "public interface C32458d<T> {\n /* renamed from: a */\n void mo83695a(T t);\n }", "public interface C5482b {\n /* renamed from: a */\n void mo27575a();\n\n /* renamed from: a */\n void mo27576a(int i);\n }", "public interface C27084a {\n /* renamed from: a */\n void mo69874a();\n\n /* renamed from: a */\n void mo69875a(List<Aweme> list, boolean z);\n }", "public void a() {\n ((a) this.a).a();\n }", "public interface C1153a {\n /* renamed from: a */\n void mo4520a(byte[] bArr);\n }", "public interface C13373b {\n /* renamed from: a */\n void mo32681a(String str, int i, boolean z);\n}", "public interface C40453c {\n /* renamed from: a */\n void mo100442a(C40429b bVar);\n\n /* renamed from: a */\n void mo100443a(List<String> list);\n\n /* renamed from: b */\n void mo100444b(List<C40429b> list);\n}", "public interface AbstractC17367b {\n /* renamed from: a */\n void mo84655a();\n }", "@Override\r\n\tpublic void a() {\n\t\t\r\n\t}", "public interface C43270a {\n /* renamed from: a */\n void mo64942a(String str, long j, long j2);\n}", "public interface C18928d {\n /* renamed from: a */\n void mo50320a(C18924b bVar);\n\n /* renamed from: b */\n void mo50321b(C18924b bVar);\n}", "public interface C0087c {\n /* renamed from: a */\n String mo150a(String str);\n}", "public interface C1529m {\n /* renamed from: a */\n void mo3767a(int i);\n\n /* renamed from: a */\n void mo3768a(String str);\n}", "interface C4483e {\n /* renamed from: a */\n boolean mo34114a();\n}", "public interface C1234b {\r\n /* renamed from: a */\r\n void m8367a();\r\n\r\n /* renamed from: b */\r\n void m8368b();\r\n}", "public interface C10965j<T> {\n /* renamed from: a */\n T mo26439a();\n}", "public interface C28772a {\n /* renamed from: a */\n View mo73990a(View view);\n }", "@Override\n\tpublic void a() {\n\t\t\n\t}", "public interface C8326b {\n /* renamed from: a */\n C8325a mo21498a(String str);\n\n /* renamed from: a */\n void mo21499a(C8325a aVar);\n}", "void metodo1(int a, int[] b) {\r\n\t\ta += 5;//Par\\u00e1metro con el mismo nombre que el campo de la clase.\r\n\t\tb[0] += 7;//se produce un env\\u00edo por referencia, apunta a una copia de un objeto, que se asigna aqu\\u00ed.\r\n\t}", "public interface C2367a {\n /* renamed from: a */\n C2368d mo1698a();\n }", "interface C30585a {\n /* renamed from: b */\n void mo27952b(C5379a c5379a, int i, C46650a c46650a, C7620bi c7620bi);\n }", "public interface C4211a {\n\n /* renamed from: com.iab.omid.library.oguryco.c.a$a */\n public interface C4212a {\n /* renamed from: a */\n void mo28760a(View view, C4211a aVar, JSONObject jSONObject);\n }\n\n /* renamed from: a */\n JSONObject mo28758a(View view);\n\n /* renamed from: a */\n void mo28759a(View view, JSONObject jSONObject, C4212a aVar, boolean z);\n}", "public interface C4697a extends C5595at {\n /* renamed from: a */\n void mo12634a();\n\n /* renamed from: a */\n void mo12635a(String str);\n\n /* renamed from: a */\n void mo12636a(boolean z);\n\n /* renamed from: b */\n void mo12637b();\n\n /* renamed from: c */\n void mo12638c();\n }", "public interface C4773c {\n /* renamed from: a */\n void m15858a(int i);\n\n /* renamed from: a */\n void m15859a(int i, int i2);\n\n /* renamed from: a */\n void m15860a(int i, int i2, int i3);\n\n /* renamed from: b */\n void m15861b(int i, int i2);\n}", "public interface C4869f {\n /* renamed from: a */\n C4865b mo6249a();\n}", "public interface C1799a {\n /* renamed from: b */\n void mo3314b(String str);\n }", "public interface C43499b {\n /* renamed from: a */\n void mo8445a(int i, String str, int i2, byte[] bArr);\n}", "public interface C0601aq {\n /* renamed from: a */\n void mo9148a(int i, ArrayList<C0889x> arrayList);\n}", "public interface C45101e {\n /* renamed from: b */\n void mo3796b(int i);\n}", "public interface AbstractC6461g {\n /* renamed from: a */\n String mo42332a();\n}", "public interface AbstractC1645a {\n /* renamed from: a */\n String mo17375a();\n }", "public interface C6178c {\n /* renamed from: a */\n Map<String, String> mo14888a();\n}", "public interface C5101b {\n /* renamed from: a */\n void mo5289a(C5102c c5102c);\n\n /* renamed from: b */\n void mo5290b(C5102c c5102c);\n}", "public interface C19045k {\n /* renamed from: a */\n void mo50368a(int i, Object obj);\n\n /* renamed from: b */\n void mo50369b(int i, Object obj);\n}", "public b a()\r\n/* 12: */ {\r\n/* 13:13 */ return this.a;\r\n/* 14: */ }", "public interface C7720a {\n /* renamed from: a */\n long mo20406a();\n}", "public String a()\r\n/* 25: */ {\r\n/* 26:171 */ return \"dig.\" + this.a;\r\n/* 27: */ }", "public interface ayt {\n /* renamed from: a */\n int mo1635a(long j, List list);\n\n /* renamed from: a */\n long mo1636a(long j, alb alb);\n\n /* renamed from: a */\n void mo1637a();\n\n /* renamed from: a */\n void mo1638a(long j, long j2, List list, ayp ayp);\n\n /* renamed from: a */\n void mo1639a(ayl ayl);\n\n /* renamed from: a */\n boolean mo1640a(ayl ayl, boolean z, Exception exc, long j);\n}", "public interface C24221b extends C28343z<C28318an> {\n /* renamed from: a */\n void mo62991a(int i);\n\n String aw_();\n\n /* renamed from: e */\n Aweme mo62993e();\n}", "public interface C4051c {\n /* renamed from: a */\n boolean mo23707a();\n}", "public interface C45112b {\n /* renamed from: a */\n List<C45111a> mo107674a(Integer num);\n\n /* renamed from: a */\n List<C45111a> mo107675a(Integer num, Integer num2);\n\n /* renamed from: a */\n void mo107676a(C45111a aVar);\n\n /* renamed from: b */\n void mo107677b(Integer num);\n\n /* renamed from: c */\n long mo107678c(Integer num);\n}", "public void acionou(int a){\n\t\t\tb=a;\n\t\t}", "public interface C44963i {\n /* renamed from: a */\n void mo63037a(int i, int i2);\n\n void aA_();\n\n /* renamed from: b */\n void mo63039b(int i, int i2);\n}", "public interface C32457c<T> {\n /* renamed from: a */\n void mo83699a(T t, int i, int i2, String str);\n }", "public interface C5861g {\n /* renamed from: a */\n void mo18320a(C7251a aVar);\n\n @Deprecated\n /* renamed from: a */\n void mo18321a(C7251a aVar, String str);\n\n /* renamed from: a */\n void mo18322a(C7252b bVar);\n\n /* renamed from: a */\n void mo18323a(C7253c cVar);\n\n /* renamed from: a */\n void mo18324a(C7260j jVar);\n}", "public interface C0937a {\n /* renamed from: a */\n void mo3807a(C0985po[] poVarArr);\n }", "public interface C8466a {\n /* renamed from: a */\n void mo25956a(int i);\n\n /* renamed from: a */\n void mo25957a(long j, long j2);\n }", "public interface C39684b {\n /* renamed from: a */\n void mo98969a();\n\n /* renamed from: a */\n void mo98970a(C29296g gVar);\n\n /* renamed from: a */\n void mo98971a(C29296g gVar, int i);\n }", "public interface C43470b {\n /* renamed from: a */\n void mo61496a(C43469a aVar, C43471c cVar);\n }", "public interface AbstractC18255a {\n /* renamed from: a */\n void mo88521a();\n\n /* renamed from: a */\n void mo88522a(String str);\n\n /* renamed from: b */\n void mo88523b();\n\n /* renamed from: c */\n void mo88524c();\n }", "public interface C1436d {\n /* renamed from: a */\n C1435c mo1754a(C1433a c1433a, C1434b c1434b);\n}", "public interface C4150sl {\n /* renamed from: a */\n void mo15005a(C4143se seVar);\n}", "public void a(nm paramnm)\r\n/* 28: */ {\r\n/* 29:45 */ paramnm.a(this);\r\n/* 30: */ }", "public interface C19351a {\n /* renamed from: b */\n void mo30633b(int i, String str, byte[] bArr);\n }", "public interface C11113o {\n /* renamed from: a */\n void mo37759a(String str);\n }", "public interface C39504az {\n /* renamed from: a */\n int mo98207a();\n\n /* renamed from: a */\n void mo98208a(boolean z);\n\n /* renamed from: b */\n int mo98209b();\n\n /* renamed from: c */\n int mo98355c();\n\n /* renamed from: d */\n int mo98356d();\n\n /* renamed from: e */\n int mo98357e();\n\n /* renamed from: f */\n int mo98358f();\n}", "protected a<T> a(Tag.e<T> var0) {\n/* 80 */ Tag.a var1 = b(var0);\n/* 81 */ return new a<>(var1, this.c, \"vanilla\");\n/* */ }", "public interface C35565a {\n /* renamed from: a */\n C45321i mo90380a();\n }", "public interface C21298a {\n /* renamed from: a */\n void mo57275a();\n\n /* renamed from: a */\n void mo57276a(Exception exc);\n\n /* renamed from: b */\n void mo57277b();\n\n /* renamed from: c */\n void mo57278c();\n }", "public interface C40108b {\n /* renamed from: a */\n void mo99838a(boolean z);\n }", "public interface C0456a {\n /* renamed from: a */\n void mo2090a(C0455b bVar);\n\n /* renamed from: a */\n boolean mo2091a(C0455b bVar, Menu menu);\n\n /* renamed from: a */\n boolean mo2092a(C0455b bVar, MenuItem menuItem);\n\n /* renamed from: b */\n boolean mo2093b(C0455b bVar, Menu menu);\n }", "public interface C4724o {\n /* renamed from: a */\n void mo4872a(int i, String str);\n\n /* renamed from: a */\n void mo4873a(C4718l c4718l);\n\n /* renamed from: b */\n void mo4874b(C4718l c4718l);\n}", "public interface C7654b {\n /* renamed from: a */\n C7904c mo24084a();\n\n /* renamed from: b */\n C7716a mo24085b();\n }", "public interface C2603a {\n /* renamed from: a */\n String mo1889a(String str, String str2, String str3, String str4);\n }", "public interface afp {\n /* renamed from: a */\n C0512sx mo169a(C0497si siVar, afj afj, afr afr, Context context);\n}", "public interface C0615ja extends b<HomeFragment> {\n\n /* renamed from: c.c.a.h.b.ja$a */\n /* compiled from: FragmentModule_HomeFragment$app_bazaarRelease */\n public static abstract class a extends b.a<HomeFragment> {\n }\n}", "public interface a {\n\n /* renamed from: c.b.a.c.b.b.a$a reason: collision with other inner class name */\n /* compiled from: DiskCache */\n public interface C0054a {\n a build();\n }\n\n /* compiled from: DiskCache */\n public interface b {\n boolean a(File file);\n }\n\n File a(c cVar);\n\n void a(c cVar, b bVar);\n}", "public interface C0940d {\n /* renamed from: a */\n void mo3305a(boolean z);\n }", "public interface AbstractC17368c {\n /* renamed from: a */\n void mo84656a(float f);\n }", "interface C0932a {\n /* renamed from: a */\n void mo7438a(int i, int i2);\n\n /* renamed from: b */\n void mo7439b(C0933b bVar);\n\n /* renamed from: c */\n void mo7440c(int i, int i2, Object obj);\n\n /* renamed from: d */\n void mo7441d(C0933b bVar);\n\n /* renamed from: e */\n RecyclerView.ViewHolder mo7442e(int i);\n\n /* renamed from: f */\n void mo7443f(int i, int i2);\n\n /* renamed from: g */\n void mo7444g(int i, int i2);\n\n /* renamed from: h */\n void mo7445h(int i, int i2);\n }", "public interface C10330c {\n /* renamed from: a */\n C7562b<C10403b, C10328a> mo25041a();\n}", "public interface C3819a {\n /* renamed from: a */\n void mo23214a(Message message);\n }", "private Proof atoAImpl(Expression a) {\n Proof where = axm2(a, arrow(a, a), a); //a->(a->a) -> (a->(a->a)->a) -> (a -> a)\n Proof one = axm1(a, a); //a->a->a\n Proof two = axm1(a, arrow(a, a)); //a->(a->a)->A\n return mpTwice(where, one, two);\n }", "interface C1939a {\n /* renamed from: a */\n Bitmap mo1406a(Bitmap bitmap, float f);\n}", "public interface a extends com.bankeen.d.b.b.a {\n void a();\n\n void b();\n }", "public b[] a() {\n/* 95 */ return this.a;\n/* */ }", "interface C8361a {\n /* renamed from: b */\n float mo18284b(ViewGroup viewGroup, View view);\n\n /* renamed from: c */\n float mo18281c(ViewGroup viewGroup, View view);\n }" ]
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064", "0.5794689", "0.57890314", "0.57838726", "0.5775679", "0.57694733", "0.5769128", "0.57526815", "0.56907034", "0.5677874", "0.5670547", "0.56666386", "0.56592244", "0.5658682", "0.56574154", "0.5654324", "0.5644676", "0.56399715", "0.5638734", "0.5630582", "0.56183887", "0.5615435", "0.56069666", "0.5605207", "0.56005067", "0.559501", "0.55910283", "0.5590222", "0.55736613", "0.5556682", "0.5554544", "0.5550076", "0.55493855", "0.55446684", "0.5538079", "0.5529058", "0.5528109", "0.552641", "0.5525864", "0.552186", "0.5519972", "0.5509587", "0.5507195", "0.54881203", "0.5485328", "0.54826045", "0.5482066", "0.5481586", "0.5479751", "0.54776895", "0.54671466", "0.5463307", "0.54505056", "0.54436916", "0.5440517", "0.5439747", "0.5431944", "0.5422869", "0.54217863", "0.5417556", "0.5403905", "0.5400223", "0.53998446", "0.5394735", "0.5388649", "0.5388258", "0.5374842", "0.5368887", "0.53591394", "0.5357029", "0.5355688", "0.535506", "0.5355034", "0.53494394", "0.5341044", "0.5326166", "0.53236824", "0.53199095", "0.53177035", "0.53112453", "0.5298229" ]
0.0
-1
/ renamed from: a
public void mo2188a(C0317d dVar, float f) { m1278j(dVar).mo2219a(f); mo2201i(dVar); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed from: a */\n void mo85415a(String str);\n }", "interface C10331b {\n /* renamed from: a */\n void mo26876a(int i);\n }", "public interface C0779a {\n /* renamed from: a */\n void mo2311a();\n}", "public interface C6788a {\n /* renamed from: a */\n void mo20141a();\n }", "public interface C0237a {\n /* renamed from: a */\n void mo1791a(String str);\n }", "public interface C35013b {\n /* renamed from: a */\n void mo88773a(int i);\n}", "public interface C11112n {\n /* renamed from: a */\n void mo38026a();\n }", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "public interface C23407b {\n /* renamed from: a */\n void mo60892a();\n\n /* renamed from: b */\n void mo60893b();\n }", "interface C0312e {\n /* renamed from: a */\n void mo4671a(View view, int i, int i2, int i3, int i4);\n }", "public interface C34379a {\n /* renamed from: a */\n void mo46242a(bmc bmc);\n }", "public interface C32456b<T> {\n /* renamed from: a */\n void mo83696a(T t);\n }", "private String convertir(String a) {\n StringBuilder atributo = new StringBuilder(a);\n atributo.insert(0, Character.toUpperCase(atributo.charAt(0)));\n return atributo.deleteCharAt(1).toString();\n }", "protected m a(String name) {\n/* 42 */ return this.a.get(name);\n/* */ }", "public interface AbstractC23925a {\n /* renamed from: a */\n void mo105476a();\n }", "private interface C0257a {\n /* renamed from: a */\n float mo196a(ViewGroup viewGroup, View view);\n\n /* renamed from: b */\n float mo195b(ViewGroup viewGroup, View view);\n }", "public interface C3598a {\n /* renamed from: a */\n void mo11024a(int i, int i2, String str);\n }", "public interface C2459d {\n /* renamed from: a */\n C2451d mo3408a(C2457e c2457e);\n}", "public interface am extends ak {\r\n /* renamed from: a */\r\n void mo194a(int i) throws RemoteException;\r\n\r\n /* renamed from: a */\r\n void mo195a(List<LatLng> list) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo196b(float f) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo197b(boolean z);\r\n\r\n /* renamed from: c */\r\n void mo198c(boolean z) throws RemoteException;\r\n\r\n /* renamed from: g */\r\n float mo199g() throws RemoteException;\r\n\r\n /* renamed from: h */\r\n int mo200h() throws RemoteException;\r\n\r\n /* renamed from: i */\r\n List<LatLng> mo201i() throws RemoteException;\r\n\r\n /* renamed from: j */\r\n boolean mo202j();\r\n\r\n /* renamed from: k */\r\n boolean mo203k();\r\n}", "public interface C32459e<T> {\n /* renamed from: a */\n void mo83698a(T t);\n }", "public interface C32458d<T> {\n /* renamed from: a */\n void mo83695a(T t);\n }", "public interface C5482b {\n /* renamed from: a */\n void mo27575a();\n\n /* renamed from: a */\n void mo27576a(int i);\n }", "public interface C27084a {\n /* renamed from: a */\n void mo69874a();\n\n /* renamed from: a */\n void mo69875a(List<Aweme> list, boolean z);\n }", "public void a() {\n ((a) this.a).a();\n }", "public interface C1153a {\n /* renamed from: a */\n void mo4520a(byte[] bArr);\n }", "public interface C13373b {\n /* renamed from: a */\n void mo32681a(String str, int i, boolean z);\n}", "public interface C40453c {\n /* renamed from: a */\n void mo100442a(C40429b bVar);\n\n /* renamed from: a */\n void mo100443a(List<String> list);\n\n /* renamed from: b */\n void mo100444b(List<C40429b> list);\n}", "public interface AbstractC17367b {\n /* renamed from: a */\n void mo84655a();\n }", "@Override\r\n\tpublic void a() {\n\t\t\r\n\t}", "public interface C43270a {\n /* renamed from: a */\n void mo64942a(String str, long j, long j2);\n}", "public interface C18928d {\n /* renamed from: a */\n void mo50320a(C18924b bVar);\n\n /* renamed from: b */\n void mo50321b(C18924b bVar);\n}", "public interface C0087c {\n /* renamed from: a */\n String mo150a(String str);\n}", "public interface C1529m {\n /* renamed from: a */\n void mo3767a(int i);\n\n /* renamed from: a */\n void mo3768a(String str);\n}", "interface C4483e {\n /* renamed from: a */\n boolean mo34114a();\n}", "public interface C1234b {\r\n /* renamed from: a */\r\n void m8367a();\r\n\r\n /* renamed from: b */\r\n void m8368b();\r\n}", "public interface C10965j<T> {\n /* renamed from: a */\n T mo26439a();\n}", "public interface C28772a {\n /* renamed from: a */\n View mo73990a(View view);\n }", "@Override\n\tpublic void a() {\n\t\t\n\t}", "public interface C8326b {\n /* renamed from: a */\n C8325a mo21498a(String str);\n\n /* renamed from: a */\n void mo21499a(C8325a aVar);\n}", "void metodo1(int a, int[] b) {\r\n\t\ta += 5;//Par\\u00e1metro con el mismo nombre que el campo de la clase.\r\n\t\tb[0] += 7;//se produce un env\\u00edo por referencia, apunta a una copia de un objeto, que se asigna aqu\\u00ed.\r\n\t}", "public interface C2367a {\n /* renamed from: a */\n C2368d mo1698a();\n }", "interface C30585a {\n /* renamed from: b */\n void mo27952b(C5379a c5379a, int i, C46650a c46650a, C7620bi c7620bi);\n }", "public interface C4211a {\n\n /* renamed from: com.iab.omid.library.oguryco.c.a$a */\n public interface C4212a {\n /* renamed from: a */\n void mo28760a(View view, C4211a aVar, JSONObject jSONObject);\n }\n\n /* renamed from: a */\n JSONObject mo28758a(View view);\n\n /* renamed from: a */\n void mo28759a(View view, JSONObject jSONObject, C4212a aVar, boolean z);\n}", "public interface C4697a extends C5595at {\n /* renamed from: a */\n void mo12634a();\n\n /* renamed from: a */\n void mo12635a(String str);\n\n /* renamed from: a */\n void mo12636a(boolean z);\n\n /* renamed from: b */\n void mo12637b();\n\n /* renamed from: c */\n void mo12638c();\n }", "public interface C4773c {\n /* renamed from: a */\n void m15858a(int i);\n\n /* renamed from: a */\n void m15859a(int i, int i2);\n\n /* renamed from: a */\n void m15860a(int i, int i2, int i3);\n\n /* renamed from: b */\n void m15861b(int i, int i2);\n}", "public interface C4869f {\n /* renamed from: a */\n C4865b mo6249a();\n}", "public interface C1799a {\n /* renamed from: b */\n void mo3314b(String str);\n }", "public interface C43499b {\n /* renamed from: a */\n void mo8445a(int i, String str, int i2, byte[] bArr);\n}", "public interface C0601aq {\n /* renamed from: a */\n void mo9148a(int i, ArrayList<C0889x> arrayList);\n}", "public interface C45101e {\n /* renamed from: b */\n void mo3796b(int i);\n}", "public interface AbstractC6461g {\n /* renamed from: a */\n String mo42332a();\n}", "public interface AbstractC1645a {\n /* renamed from: a */\n String mo17375a();\n }", "public interface C6178c {\n /* renamed from: a */\n Map<String, String> mo14888a();\n}", "public interface C5101b {\n /* renamed from: a */\n void mo5289a(C5102c c5102c);\n\n /* renamed from: b */\n void mo5290b(C5102c c5102c);\n}", "public interface C19045k {\n /* renamed from: a */\n void mo50368a(int i, Object obj);\n\n /* renamed from: b */\n void mo50369b(int i, Object obj);\n}", "public b a()\r\n/* 12: */ {\r\n/* 13:13 */ return this.a;\r\n/* 14: */ }", "public interface C7720a {\n /* renamed from: a */\n long mo20406a();\n}", "public String a()\r\n/* 25: */ {\r\n/* 26:171 */ return \"dig.\" + this.a;\r\n/* 27: */ }", "public interface ayt {\n /* renamed from: a */\n int mo1635a(long j, List list);\n\n /* renamed from: a */\n long mo1636a(long j, alb alb);\n\n /* renamed from: a */\n void mo1637a();\n\n /* renamed from: a */\n void mo1638a(long j, long j2, List list, ayp ayp);\n\n /* renamed from: a */\n void mo1639a(ayl ayl);\n\n /* renamed from: a */\n boolean mo1640a(ayl ayl, boolean z, Exception exc, long j);\n}", "public interface C24221b extends C28343z<C28318an> {\n /* renamed from: a */\n void mo62991a(int i);\n\n String aw_();\n\n /* renamed from: e */\n Aweme mo62993e();\n}", "public interface C4051c {\n /* renamed from: a */\n boolean mo23707a();\n}", "public interface C45112b {\n /* renamed from: a */\n List<C45111a> mo107674a(Integer num);\n\n /* renamed from: a */\n List<C45111a> mo107675a(Integer num, Integer num2);\n\n /* renamed from: a */\n void mo107676a(C45111a aVar);\n\n /* renamed from: b */\n void mo107677b(Integer num);\n\n /* renamed from: c */\n long mo107678c(Integer num);\n}", "public void acionou(int a){\n\t\t\tb=a;\n\t\t}", "public interface C44963i {\n /* renamed from: a */\n void mo63037a(int i, int i2);\n\n void aA_();\n\n /* renamed from: b */\n void mo63039b(int i, int i2);\n}", "public interface C32457c<T> {\n /* renamed from: a */\n void mo83699a(T t, int i, int i2, String str);\n }", "public interface C5861g {\n /* renamed from: a */\n void mo18320a(C7251a aVar);\n\n @Deprecated\n /* renamed from: a */\n void mo18321a(C7251a aVar, String str);\n\n /* renamed from: a */\n void mo18322a(C7252b bVar);\n\n /* renamed from: a */\n void mo18323a(C7253c cVar);\n\n /* renamed from: a */\n void mo18324a(C7260j jVar);\n}", "public interface C0937a {\n /* renamed from: a */\n void mo3807a(C0985po[] poVarArr);\n }", "public interface C8466a {\n /* renamed from: a */\n void mo25956a(int i);\n\n /* renamed from: a */\n void mo25957a(long j, long j2);\n }", "public interface C39684b {\n /* renamed from: a */\n void mo98969a();\n\n /* renamed from: a */\n void mo98970a(C29296g gVar);\n\n /* renamed from: a */\n void mo98971a(C29296g gVar, int i);\n }", "public interface C43470b {\n /* renamed from: a */\n void mo61496a(C43469a aVar, C43471c cVar);\n }", "public interface AbstractC18255a {\n /* renamed from: a */\n void mo88521a();\n\n /* renamed from: a */\n void mo88522a(String str);\n\n /* renamed from: b */\n void mo88523b();\n\n /* renamed from: c */\n void mo88524c();\n }", "public interface C1436d {\n /* renamed from: a */\n C1435c mo1754a(C1433a c1433a, C1434b c1434b);\n}", "public interface C4150sl {\n /* renamed from: a */\n void mo15005a(C4143se seVar);\n}", "public void a(nm paramnm)\r\n/* 28: */ {\r\n/* 29:45 */ paramnm.a(this);\r\n/* 30: */ }", "public interface C19351a {\n /* renamed from: b */\n void mo30633b(int i, String str, byte[] bArr);\n }", "public interface C11113o {\n /* renamed from: a */\n void mo37759a(String str);\n }", "public interface C39504az {\n /* renamed from: a */\n int mo98207a();\n\n /* renamed from: a */\n void mo98208a(boolean z);\n\n /* renamed from: b */\n int mo98209b();\n\n /* renamed from: c */\n int mo98355c();\n\n /* renamed from: d */\n int mo98356d();\n\n /* renamed from: e */\n int mo98357e();\n\n /* renamed from: f */\n int mo98358f();\n}", "protected a<T> a(Tag.e<T> var0) {\n/* 80 */ Tag.a var1 = b(var0);\n/* 81 */ return new a<>(var1, this.c, \"vanilla\");\n/* */ }", "public interface C35565a {\n /* renamed from: a */\n C45321i mo90380a();\n }", "public interface C21298a {\n /* renamed from: a */\n void mo57275a();\n\n /* renamed from: a */\n void mo57276a(Exception exc);\n\n /* renamed from: b */\n void mo57277b();\n\n /* renamed from: c */\n void mo57278c();\n }", "public interface C40108b {\n /* renamed from: a */\n void mo99838a(boolean z);\n }", "public interface C0456a {\n /* renamed from: a */\n void mo2090a(C0455b bVar);\n\n /* renamed from: a */\n boolean mo2091a(C0455b bVar, Menu menu);\n\n /* renamed from: a */\n boolean mo2092a(C0455b bVar, MenuItem menuItem);\n\n /* renamed from: b */\n boolean mo2093b(C0455b bVar, Menu menu);\n }", "public interface C4724o {\n /* renamed from: a */\n void mo4872a(int i, String str);\n\n /* renamed from: a */\n void mo4873a(C4718l c4718l);\n\n /* renamed from: b */\n void mo4874b(C4718l c4718l);\n}", "public interface C7654b {\n /* renamed from: a */\n C7904c mo24084a();\n\n /* renamed from: b */\n C7716a mo24085b();\n }", "public interface C2603a {\n /* renamed from: a */\n String mo1889a(String str, String str2, String str3, String str4);\n }", "public interface afp {\n /* renamed from: a */\n C0512sx mo169a(C0497si siVar, afj afj, afr afr, Context context);\n}", "public interface C0615ja extends b<HomeFragment> {\n\n /* renamed from: c.c.a.h.b.ja$a */\n /* compiled from: FragmentModule_HomeFragment$app_bazaarRelease */\n public static abstract class a extends b.a<HomeFragment> {\n }\n}", "public interface a {\n\n /* renamed from: c.b.a.c.b.b.a$a reason: collision with other inner class name */\n /* compiled from: DiskCache */\n public interface C0054a {\n a build();\n }\n\n /* compiled from: DiskCache */\n public interface b {\n boolean a(File file);\n }\n\n File a(c cVar);\n\n void a(c cVar, b bVar);\n}", "public interface C0940d {\n /* renamed from: a */\n void mo3305a(boolean z);\n }", "public interface AbstractC17368c {\n /* renamed from: a */\n void mo84656a(float f);\n }", "interface C0932a {\n /* renamed from: a */\n void mo7438a(int i, int i2);\n\n /* renamed from: b */\n void mo7439b(C0933b bVar);\n\n /* renamed from: c */\n void mo7440c(int i, int i2, Object obj);\n\n /* renamed from: d */\n void mo7441d(C0933b bVar);\n\n /* renamed from: e */\n RecyclerView.ViewHolder mo7442e(int i);\n\n /* renamed from: f */\n void mo7443f(int i, int i2);\n\n /* renamed from: g */\n void mo7444g(int i, int i2);\n\n /* renamed from: h */\n void mo7445h(int i, int i2);\n }", "public interface C10330c {\n /* renamed from: a */\n C7562b<C10403b, C10328a> mo25041a();\n}", "public interface C3819a {\n /* renamed from: a */\n void mo23214a(Message message);\n }", "private Proof atoAImpl(Expression a) {\n Proof where = axm2(a, arrow(a, a), a); //a->(a->a) -> (a->(a->a)->a) -> (a -> a)\n Proof one = axm1(a, a); //a->a->a\n Proof two = axm1(a, arrow(a, a)); //a->(a->a)->A\n return mpTwice(where, one, two);\n }", "interface C1939a {\n /* renamed from: a */\n Bitmap mo1406a(Bitmap bitmap, float f);\n}", "public interface a extends com.bankeen.d.b.b.a {\n void a();\n\n void b();\n }", "public b[] a() {\n/* 95 */ return this.a;\n/* */ }", "interface C8361a {\n /* renamed from: b */\n float mo18284b(ViewGroup viewGroup, View view);\n\n /* renamed from: c */\n float mo18281c(ViewGroup viewGroup, View view);\n }" ]
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064", "0.5794689", "0.57890314", "0.57838726", "0.5775679", "0.57694733", "0.5769128", "0.57526815", "0.56907034", "0.5677874", "0.5670547", "0.56666386", "0.56592244", "0.5658682", "0.56574154", "0.5654324", "0.5644676", "0.56399715", "0.5638734", "0.5630582", "0.56183887", "0.5615435", "0.56069666", "0.5605207", "0.56005067", "0.559501", "0.55910283", "0.5590222", "0.55736613", "0.5556682", "0.5554544", "0.5550076", "0.55493855", "0.55446684", "0.5538079", "0.5529058", "0.5528109", "0.552641", "0.5525864", "0.552186", "0.5519972", "0.5509587", "0.5507195", "0.54881203", "0.5485328", "0.54826045", "0.5482066", "0.5481586", "0.5479751", "0.54776895", "0.54671466", "0.5463307", "0.54505056", "0.54436916", "0.5440517", "0.5439747", "0.5431944", "0.5422869", "0.54217863", "0.5417556", "0.5403905", "0.5400223", "0.53998446", "0.5394735", "0.5388649", "0.5388258", "0.5374842", "0.5368887", "0.53591394", "0.5357029", "0.5355688", "0.535506", "0.5355034", "0.53494394", "0.5341044", "0.5326166", "0.53236824", "0.53199095", "0.53177035", "0.53112453", "0.5298229" ]
0.0
-1
/ renamed from: a
public float mo2187a(C0317d dVar) { return m1278j(dVar).mo2223b(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed from: a */\n void mo85415a(String str);\n }", "interface C10331b {\n /* renamed from: a */\n void mo26876a(int i);\n }", "public interface C0779a {\n /* renamed from: a */\n void mo2311a();\n}", "public interface C6788a {\n /* renamed from: a */\n void mo20141a();\n }", "public interface C0237a {\n /* renamed from: a */\n void mo1791a(String str);\n }", "public interface C35013b {\n /* renamed from: a */\n void mo88773a(int i);\n}", "public interface C11112n {\n /* renamed from: a */\n void mo38026a();\n }", "@Override\n\t\t\t\tpublic void a() {\n\n\t\t\t\t}", "public interface C23407b {\n /* renamed from: a */\n void mo60892a();\n\n /* renamed from: b */\n void mo60893b();\n }", "interface C0312e {\n /* renamed from: a */\n void mo4671a(View view, int i, int i2, int i3, int i4);\n }", "public interface C34379a {\n /* renamed from: a */\n void mo46242a(bmc bmc);\n }", "public interface C32456b<T> {\n /* renamed from: a */\n void mo83696a(T t);\n }", "private String convertir(String a) {\n StringBuilder atributo = new StringBuilder(a);\n atributo.insert(0, Character.toUpperCase(atributo.charAt(0)));\n return atributo.deleteCharAt(1).toString();\n }", "protected m a(String name) {\n/* 42 */ return this.a.get(name);\n/* */ }", "public interface AbstractC23925a {\n /* renamed from: a */\n void mo105476a();\n }", "private interface C0257a {\n /* renamed from: a */\n float mo196a(ViewGroup viewGroup, View view);\n\n /* renamed from: b */\n float mo195b(ViewGroup viewGroup, View view);\n }", "public interface C3598a {\n /* renamed from: a */\n void mo11024a(int i, int i2, String str);\n }", "public interface C2459d {\n /* renamed from: a */\n C2451d mo3408a(C2457e c2457e);\n}", "public interface am extends ak {\r\n /* renamed from: a */\r\n void mo194a(int i) throws RemoteException;\r\n\r\n /* renamed from: a */\r\n void mo195a(List<LatLng> list) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo196b(float f) throws RemoteException;\r\n\r\n /* renamed from: b */\r\n void mo197b(boolean z);\r\n\r\n /* renamed from: c */\r\n void mo198c(boolean z) throws RemoteException;\r\n\r\n /* renamed from: g */\r\n float mo199g() throws RemoteException;\r\n\r\n /* renamed from: h */\r\n int mo200h() throws RemoteException;\r\n\r\n /* renamed from: i */\r\n List<LatLng> mo201i() throws RemoteException;\r\n\r\n /* renamed from: j */\r\n boolean mo202j();\r\n\r\n /* renamed from: k */\r\n boolean mo203k();\r\n}", "public interface C32459e<T> {\n /* renamed from: a */\n void mo83698a(T t);\n }", "public interface C32458d<T> {\n /* renamed from: a */\n void mo83695a(T t);\n }", "public interface C5482b {\n /* renamed from: a */\n void mo27575a();\n\n /* renamed from: a */\n void mo27576a(int i);\n }", "public interface C27084a {\n /* renamed from: a */\n void mo69874a();\n\n /* renamed from: a */\n void mo69875a(List<Aweme> list, boolean z);\n }", "public void a() {\n ((a) this.a).a();\n }", "public interface C1153a {\n /* renamed from: a */\n void mo4520a(byte[] bArr);\n }", "public interface C13373b {\n /* renamed from: a */\n void mo32681a(String str, int i, boolean z);\n}", "public interface C40453c {\n /* renamed from: a */\n void mo100442a(C40429b bVar);\n\n /* renamed from: a */\n void mo100443a(List<String> list);\n\n /* renamed from: b */\n void mo100444b(List<C40429b> list);\n}", "public interface AbstractC17367b {\n /* renamed from: a */\n void mo84655a();\n }", "@Override\r\n\tpublic void a() {\n\t\t\r\n\t}", "public interface C43270a {\n /* renamed from: a */\n void mo64942a(String str, long j, long j2);\n}", "public interface C18928d {\n /* renamed from: a */\n void mo50320a(C18924b bVar);\n\n /* renamed from: b */\n void mo50321b(C18924b bVar);\n}", "public interface C0087c {\n /* renamed from: a */\n String mo150a(String str);\n}", "public interface C1529m {\n /* renamed from: a */\n void mo3767a(int i);\n\n /* renamed from: a */\n void mo3768a(String str);\n}", "interface C4483e {\n /* renamed from: a */\n boolean mo34114a();\n}", "public interface C1234b {\r\n /* renamed from: a */\r\n void m8367a();\r\n\r\n /* renamed from: b */\r\n void m8368b();\r\n}", "public interface C10965j<T> {\n /* renamed from: a */\n T mo26439a();\n}", "public interface C28772a {\n /* renamed from: a */\n View mo73990a(View view);\n }", "@Override\n\tpublic void a() {\n\t\t\n\t}", "public interface C8326b {\n /* renamed from: a */\n C8325a mo21498a(String str);\n\n /* renamed from: a */\n void mo21499a(C8325a aVar);\n}", "void metodo1(int a, int[] b) {\r\n\t\ta += 5;//Par\\u00e1metro con el mismo nombre que el campo de la clase.\r\n\t\tb[0] += 7;//se produce un env\\u00edo por referencia, apunta a una copia de un objeto, que se asigna aqu\\u00ed.\r\n\t}", "public interface C2367a {\n /* renamed from: a */\n C2368d mo1698a();\n }", "interface C30585a {\n /* renamed from: b */\n void mo27952b(C5379a c5379a, int i, C46650a c46650a, C7620bi c7620bi);\n }", "public interface C4211a {\n\n /* renamed from: com.iab.omid.library.oguryco.c.a$a */\n public interface C4212a {\n /* renamed from: a */\n void mo28760a(View view, C4211a aVar, JSONObject jSONObject);\n }\n\n /* renamed from: a */\n JSONObject mo28758a(View view);\n\n /* renamed from: a */\n void mo28759a(View view, JSONObject jSONObject, C4212a aVar, boolean z);\n}", "public interface C4697a extends C5595at {\n /* renamed from: a */\n void mo12634a();\n\n /* renamed from: a */\n void mo12635a(String str);\n\n /* renamed from: a */\n void mo12636a(boolean z);\n\n /* renamed from: b */\n void mo12637b();\n\n /* renamed from: c */\n void mo12638c();\n }", "public interface C4773c {\n /* renamed from: a */\n void m15858a(int i);\n\n /* renamed from: a */\n void m15859a(int i, int i2);\n\n /* renamed from: a */\n void m15860a(int i, int i2, int i3);\n\n /* renamed from: b */\n void m15861b(int i, int i2);\n}", "public interface C4869f {\n /* renamed from: a */\n C4865b mo6249a();\n}", "public interface C1799a {\n /* renamed from: b */\n void mo3314b(String str);\n }", "public interface C43499b {\n /* renamed from: a */\n void mo8445a(int i, String str, int i2, byte[] bArr);\n}", "public interface C0601aq {\n /* renamed from: a */\n void mo9148a(int i, ArrayList<C0889x> arrayList);\n}", "public interface C45101e {\n /* renamed from: b */\n void mo3796b(int i);\n}", "public interface AbstractC6461g {\n /* renamed from: a */\n String mo42332a();\n}", "public interface AbstractC1645a {\n /* renamed from: a */\n String mo17375a();\n }", "public interface C6178c {\n /* renamed from: a */\n Map<String, String> mo14888a();\n}", "public interface C5101b {\n /* renamed from: a */\n void mo5289a(C5102c c5102c);\n\n /* renamed from: b */\n void mo5290b(C5102c c5102c);\n}", "public interface C19045k {\n /* renamed from: a */\n void mo50368a(int i, Object obj);\n\n /* renamed from: b */\n void mo50369b(int i, Object obj);\n}", "public b a()\r\n/* 12: */ {\r\n/* 13:13 */ return this.a;\r\n/* 14: */ }", "public interface C7720a {\n /* renamed from: a */\n long mo20406a();\n}", "public String a()\r\n/* 25: */ {\r\n/* 26:171 */ return \"dig.\" + this.a;\r\n/* 27: */ }", "public interface ayt {\n /* renamed from: a */\n int mo1635a(long j, List list);\n\n /* renamed from: a */\n long mo1636a(long j, alb alb);\n\n /* renamed from: a */\n void mo1637a();\n\n /* renamed from: a */\n void mo1638a(long j, long j2, List list, ayp ayp);\n\n /* renamed from: a */\n void mo1639a(ayl ayl);\n\n /* renamed from: a */\n boolean mo1640a(ayl ayl, boolean z, Exception exc, long j);\n}", "public interface C24221b extends C28343z<C28318an> {\n /* renamed from: a */\n void mo62991a(int i);\n\n String aw_();\n\n /* renamed from: e */\n Aweme mo62993e();\n}", "public interface C4051c {\n /* renamed from: a */\n boolean mo23707a();\n}", "public interface C45112b {\n /* renamed from: a */\n List<C45111a> mo107674a(Integer num);\n\n /* renamed from: a */\n List<C45111a> mo107675a(Integer num, Integer num2);\n\n /* renamed from: a */\n void mo107676a(C45111a aVar);\n\n /* renamed from: b */\n void mo107677b(Integer num);\n\n /* renamed from: c */\n long mo107678c(Integer num);\n}", "public void acionou(int a){\n\t\t\tb=a;\n\t\t}", "public interface C44963i {\n /* renamed from: a */\n void mo63037a(int i, int i2);\n\n void aA_();\n\n /* renamed from: b */\n void mo63039b(int i, int i2);\n}", "public interface C32457c<T> {\n /* renamed from: a */\n void mo83699a(T t, int i, int i2, String str);\n }", "public interface C5861g {\n /* renamed from: a */\n void mo18320a(C7251a aVar);\n\n @Deprecated\n /* renamed from: a */\n void mo18321a(C7251a aVar, String str);\n\n /* renamed from: a */\n void mo18322a(C7252b bVar);\n\n /* renamed from: a */\n void mo18323a(C7253c cVar);\n\n /* renamed from: a */\n void mo18324a(C7260j jVar);\n}", "public interface C0937a {\n /* renamed from: a */\n void mo3807a(C0985po[] poVarArr);\n }", "public interface C8466a {\n /* renamed from: a */\n void mo25956a(int i);\n\n /* renamed from: a */\n void mo25957a(long j, long j2);\n }", "public interface C39684b {\n /* renamed from: a */\n void mo98969a();\n\n /* renamed from: a */\n void mo98970a(C29296g gVar);\n\n /* renamed from: a */\n void mo98971a(C29296g gVar, int i);\n }", "public interface C43470b {\n /* renamed from: a */\n void mo61496a(C43469a aVar, C43471c cVar);\n }", "public interface AbstractC18255a {\n /* renamed from: a */\n void mo88521a();\n\n /* renamed from: a */\n void mo88522a(String str);\n\n /* renamed from: b */\n void mo88523b();\n\n /* renamed from: c */\n void mo88524c();\n }", "public interface C1436d {\n /* renamed from: a */\n C1435c mo1754a(C1433a c1433a, C1434b c1434b);\n}", "public interface C4150sl {\n /* renamed from: a */\n void mo15005a(C4143se seVar);\n}", "public void a(nm paramnm)\r\n/* 28: */ {\r\n/* 29:45 */ paramnm.a(this);\r\n/* 30: */ }", "public interface C19351a {\n /* renamed from: b */\n void mo30633b(int i, String str, byte[] bArr);\n }", "public interface C11113o {\n /* renamed from: a */\n void mo37759a(String str);\n }", "public interface C39504az {\n /* renamed from: a */\n int mo98207a();\n\n /* renamed from: a */\n void mo98208a(boolean z);\n\n /* renamed from: b */\n int mo98209b();\n\n /* renamed from: c */\n int mo98355c();\n\n /* renamed from: d */\n int mo98356d();\n\n /* renamed from: e */\n int mo98357e();\n\n /* renamed from: f */\n int mo98358f();\n}", "protected a<T> a(Tag.e<T> var0) {\n/* 80 */ Tag.a var1 = b(var0);\n/* 81 */ return new a<>(var1, this.c, \"vanilla\");\n/* */ }", "public interface C35565a {\n /* renamed from: a */\n C45321i mo90380a();\n }", "public interface C21298a {\n /* renamed from: a */\n void mo57275a();\n\n /* renamed from: a */\n void mo57276a(Exception exc);\n\n /* renamed from: b */\n void mo57277b();\n\n /* renamed from: c */\n void mo57278c();\n }", "public interface C40108b {\n /* renamed from: a */\n void mo99838a(boolean z);\n }", "public interface C0456a {\n /* renamed from: a */\n void mo2090a(C0455b bVar);\n\n /* renamed from: a */\n boolean mo2091a(C0455b bVar, Menu menu);\n\n /* renamed from: a */\n boolean mo2092a(C0455b bVar, MenuItem menuItem);\n\n /* renamed from: b */\n boolean mo2093b(C0455b bVar, Menu menu);\n }", "public interface C4724o {\n /* renamed from: a */\n void mo4872a(int i, String str);\n\n /* renamed from: a */\n void mo4873a(C4718l c4718l);\n\n /* renamed from: b */\n void mo4874b(C4718l c4718l);\n}", "public interface C7654b {\n /* renamed from: a */\n C7904c mo24084a();\n\n /* renamed from: b */\n C7716a mo24085b();\n }", "public interface C2603a {\n /* renamed from: a */\n String mo1889a(String str, String str2, String str3, String str4);\n }", "public interface afp {\n /* renamed from: a */\n C0512sx mo169a(C0497si siVar, afj afj, afr afr, Context context);\n}", "public interface C0615ja extends b<HomeFragment> {\n\n /* renamed from: c.c.a.h.b.ja$a */\n /* compiled from: FragmentModule_HomeFragment$app_bazaarRelease */\n public static abstract class a extends b.a<HomeFragment> {\n }\n}", "public interface a {\n\n /* renamed from: c.b.a.c.b.b.a$a reason: collision with other inner class name */\n /* compiled from: DiskCache */\n public interface C0054a {\n a build();\n }\n\n /* compiled from: DiskCache */\n public interface b {\n boolean a(File file);\n }\n\n File a(c cVar);\n\n void a(c cVar, b bVar);\n}", "public interface C0940d {\n /* renamed from: a */\n void mo3305a(boolean z);\n }", "public interface AbstractC17368c {\n /* renamed from: a */\n void mo84656a(float f);\n }", "interface C0932a {\n /* renamed from: a */\n void mo7438a(int i, int i2);\n\n /* renamed from: b */\n void mo7439b(C0933b bVar);\n\n /* renamed from: c */\n void mo7440c(int i, int i2, Object obj);\n\n /* renamed from: d */\n void mo7441d(C0933b bVar);\n\n /* renamed from: e */\n RecyclerView.ViewHolder mo7442e(int i);\n\n /* renamed from: f */\n void mo7443f(int i, int i2);\n\n /* renamed from: g */\n void mo7444g(int i, int i2);\n\n /* renamed from: h */\n void mo7445h(int i, int i2);\n }", "public interface C10330c {\n /* renamed from: a */\n C7562b<C10403b, C10328a> mo25041a();\n}", "public interface C3819a {\n /* renamed from: a */\n void mo23214a(Message message);\n }", "private Proof atoAImpl(Expression a) {\n Proof where = axm2(a, arrow(a, a), a); //a->(a->a) -> (a->(a->a)->a) -> (a -> a)\n Proof one = axm1(a, a); //a->a->a\n Proof two = axm1(a, arrow(a, a)); //a->(a->a)->A\n return mpTwice(where, one, two);\n }", "interface C1939a {\n /* renamed from: a */\n Bitmap mo1406a(Bitmap bitmap, float f);\n}", "public interface a extends com.bankeen.d.b.b.a {\n void a();\n\n void b();\n }", "public b[] a() {\n/* 95 */ return this.a;\n/* */ }", "interface C8361a {\n /* renamed from: b */\n float mo18284b(ViewGroup viewGroup, View view);\n\n /* renamed from: c */\n float mo18281c(ViewGroup viewGroup, View view);\n }" ]
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064", "0.5794689", "0.57890314", "0.57838726", "0.5775679", "0.57694733", "0.5769128", "0.57526815", "0.56907034", "0.5677874", "0.5670547", "0.56666386", "0.56592244", "0.5658682", "0.56574154", "0.5654324", "0.5644676", "0.56399715", "0.5638734", "0.5630582", "0.56183887", "0.5615435", "0.56069666", "0.5605207", "0.56005067", "0.559501", "0.55910283", "0.5590222", "0.55736613", "0.5556682", "0.5554544", "0.5550076", "0.55493855", "0.55446684", "0.5538079", "0.5529058", "0.5528109", "0.552641", "0.5525864", "0.552186", "0.5519972", "0.5509587", "0.5507195", "0.54881203", "0.5485328", "0.54826045", "0.5482066", "0.5481586", "0.5479751", "0.54776895", "0.54671466", "0.5463307", "0.54505056", "0.54436916", "0.5440517", "0.5439747", "0.5431944", "0.5422869", "0.54217863", "0.5417556", "0.5403905", "0.5400223", "0.53998446", "0.5394735", "0.5388649", "0.5388258", "0.5374842", "0.5368887", "0.53591394", "0.5357029", "0.5355688", "0.535506", "0.5355034", "0.53494394", "0.5341044", "0.5326166", "0.53236824", "0.53199095", "0.53177035", "0.53112453", "0.5298229" ]
0.0
-1
interface defining the methods for DataWriters. Implementors are responsible for transforming a DataRecord into the desired format and writing it to whatever output is required.
public interface DataWriter extends DataAdapter { /** * add an item to the list of pending work to be written. * * @param record DataRecord to add */ void addItem(DataRecord record); /** * flush the list of work to be written */ void flushBatch(); /** * called by the system just prior to a normal shutdown. */ void finish(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface DataWriter {\n\n\t/**\n\t * Prepare the data writer\n\t * \n\t * @param fields\n\t * the field names\n\t * @throws TransportException\n\t * if fields are invalid\n\t */\n\tvoid prepare(List<String> fields) throws TransportException;\n\n\t/**\n\t * Write the specified values\n\t * \n\t * @param values\n\t * the values to write\n\t * @throws TransportException\n\t * if writing fails\n\t */\n\tvoid write(List<Object> values) throws TransportException;\n\n\t/**\n\t * Commit the data\n\t * \n\t * @throws TransportException\n\t * if commit fails\n\t */\n\tvoid commit() throws TransportException;\n\n}", "public void setDataWriter(DataWriter dataWriter);", "public abstract void writeData(DataOutput dout) throws IOException;", "public interface IDataExporter <T> extends IDataFormatter <T>{\n\n\t/**Format the data so that it can be written to a plain text file appropriate to the datatype\n\t * \n\t */\n\tpublic IDataExporter<CRBBase> setInvoiceDate(LocalDate invoiceDate);\n\n\tpublic IDataExporter<CRBBase> setBillingParty(String billingParty);\n\n\tpublic IDataExporter<CRBBase> setBilledParty(String billedParty);\n\n\tpublic IDataExporter<CRBBase> setAccountDate(LocalDate accountDate);\n\n\tpublic IDataExporter<CRBBase> setInvoiceNumber(String invoiceNumber);\n\n\tpublic IDataExporter<CRBBase> setPriceMaster(char priceMaster);\n\n\tpublic IDataExporter<CRBBase> setTaxPayerId(String taxPayerId);\n\n\tpublic IDataExporter<CRBBase> setPaymentTerms(int paymentTerms);\n\n\tpublic IDataExporter<CRBBase> setPaymentDueDate(LocalDate paymentDueDate);\n\t\n\tpublic IDataExporter<CRBBase> setInquiryContact(CRBContactInfo inquiryContact);\n\n\tpublic IDataExporter<CRBBase> setRemitToContact(CRBContactInfo remitToContact);\n\n\tpublic IDataExporter<CRBBase> setExceptionsContact(CRBContactInfo exceptionsContact);\n\n\tpublic IDataExporter<CRBBase> setBillingContact(CRBContactInfo billingContact);\n\n\tpublic IDataExporter<CRBBase> setBilledContact(CRBContactInfo billedContact);\n\n\tvoid formatForPlainText() throws IllegalArgumentException;\n}", "public interface DataHandler {\n\n\tpublic String formatData(DataResponse dr);\n}", "public abstract void write(T dataElement);", "@FunctionalInterface\n protected interface StreamWriter<TargetType> {\n void accept(TargetType source, RevisionDataOutput output) throws IOException;\n }", "public interface DataWriter {\n\n /*\n * Program waits until the entire game is over to ensure that the moves from the previous game\n * are not used in any of the decision making. Should only look at past, complete games as the\n * current game would not be useful anyways.\n */\n void writeGame(Game game, List<File> existingFiles) throws MoveAlreadyWrittenException, ResultAlreadyWrittenException;\n\n void deleteAllMoves(List<File> existingFiles);\n\n void deleteStats(String fileName);\n\n boolean initStatsFile();\n\n boolean writeStats(String fileName);\n}", "public void write(DataOutput dataOutput) throws IOException {\n }", "public interface IDataIO<RESULT, DATA>\n{\n\t/**\n\t * @param data\n\t * Input data.\n\t * @return Output value.\n\t */\n\tpublic DATA write(RESULT data);\n\n\t/**\n\t * @param data\n\t * Input data.\n\t * @return Output value.\n\t */\n\tpublic RESULT read(DATA data);\n}", "public abstract void writeToStream(DataOutputStream dataOutputStream);", "public interface Output {\n\n void putString(String string);\n\n // Basic Data Types\n /**\n * Write number\n *\n * @param num\n * Number\n */\n void writeNumber(Number num);\n\n /**\n * Write boolean\n *\n * @param bol\n * Boolean\n */\n void writeBoolean(Boolean bol);\n\n /**\n * Write string\n *\n * @param string\n * String\n */\n void writeString(String string);\n\n /**\n * Write date\n *\n * @param date\n * Date\n */\n void writeDate(Date date);\n\n void writeNull();\n\n /**\n * Write array.\n *\n * @param array\n * Array to write\n */\n void writeArray(Collection<?> array);\n\n /**\n * Write array.\n *\n * @param array\n * Array to write\n */\n void writeArray(Object[] array);\n\n /**\n * Write primitive array.\n *\n * @param array\n * Array to write\n */\n void writeArray(Object array);\n\n /**\n * Write map.\n *\n * @param map\n * Map to write\n */\n void writeMap(Map<Object, Object> map);\n\n /**\n * Write array as map.\n *\n * @param array\n * Array to write\n */\n void writeMap(Collection<?> array);\n\n /**\n * Write object.\n *\n * @param object\n * Object to write\n */\n void writeObject(Object object);\n\n /**\n * Write map as object.\n *\n * @param map\n * Map to write\n */\n void writeObject(Map<Object, Object> map);\n\n /**\n * Write recordset.\n *\n * @param recordset\n * Recordset to write\n */\n void writeRecordSet(RecordSet recordset);\n\n /**\n * Write XML object\n *\n * @param xml\n * XML document\n */\n void writeXML(Document xml);\n\n /**\n * Write ByteArray object (AMF3 only).\n *\n * @param array\n * object to write\n */\n void writeByteArray(ByteArray array);\n\n /**\n * Write a Vector&lt;int&gt;.\n *\n * @param vector\n * vector\n */\n void writeVectorInt(Vector<Integer> vector);\n\n /**\n * Write a Vector&lt;uint&gt;.\n *\n * @param vector\n * vector\n */\n void writeVectorUInt(Vector<Long> vector);\n\n /**\n * Write a Vector&lt;Number&gt;.\n *\n * @param vector\n * vector\n */\n void writeVectorNumber(Vector<Double> vector);\n\n /**\n * Write a Vector&lt;Object&gt;.\n *\n * @param vector\n * vector\n */\n void writeVectorObject(Vector<Object> vector);\n\n /**\n * Write reference to complex data type\n *\n * @param obj\n * Referenced object\n */\n void writeReference(Object obj);\n\n /**\n * Whether object is custom\n *\n * @param custom\n * Object\n * @return true if object is of user type, false otherwise\n */\n boolean isCustom(Object custom);\n\n /**\n * Write custom (user) object\n *\n * @param custom\n * Custom data type object\n */\n void writeCustom(Object custom);\n\n /**\n * Clear references\n */\n void clearReferences();\n}", "public abstract void write(DataOutput out) throws IOException;", "public interface TableWriter {\n \n /** Sets the details of a column. Fails if col is bigger than the existing internal\n * array; use setColumnMetadata(array) to set the size */\n// public void setColumnMetadata(int col, ColumnInfo columnInfo) throws IOException;\n\n /** Starts the writer */\n public void open() throws IOException;\n \n /** Sets all the column details */\n public void startTable(ColumnInfo[] colInfo) throws IOException;\n\n /** Writes the given array of values out */\n public void writeRow(Object[] colValues) throws IOException;\n\n /** Ends a table (eg closes tags) */\n public void endTable() throws IOException;\n \n /** Close the writer */\n public void close() throws IOException;\n \n /** If the writer needs to stop before normal completion, call this. It will,\n * if appropriate, write some message to indicate that the table is incomplete */\n public void abort() throws IOException;\n \n /** Returns the mime type that this writer produces */\n public String getMimeType();\n\n /** Writes a table wrapping error output */ \n public void writeErrorTable(String errorMessage) throws IOException;\n}", "void writeTo(DataSink dataSink) throws IOException;", "public interface ModelWriter {\n\t\n\t/**\n\t * Writes a model to a file.\n\t * \n\t * @param file\n\t * the file to write the model to.\n\t * @param model\n\t * the model to write.\n\t */\n\tpublic void saveToFile(File file, Model model) throws IOException;\n\n\t/**\n\t * Writes a model to a stream.\n\t * \n\t * @param stream\n\t * the stream to write the model to.\n\t * @param model\n\t * the model to write.\n\t */\n\tpublic void saveToStream(OutputStream stream, Model model);\n\n}", "public interface Writer {\n\n void write(ResultEntry resultEntry) throws IOException;\n\n}", "public interface ICsvListWriter extends ICsvWriter {\n\t\n\t/**\n\t * Writes a List of Objects as columns of a CSV file. <tt>toString()</tt> will be called on each element prior to\n\t * writing.\n\t * \n\t * @param columns\n\t * the columns to write\n\t * @throws IllegalArgumentException\n\t * if columns.size == 0\n\t * @throws IOException\n\t * If an I/O error occurs\n\t * @throws NullPointerException\n\t * if columns is null\n\t * @throws SuperCsvException\n\t * if there was a general exception while writing\n\t * @since 1.0\n\t */\n\tvoid write(List<?> columns) throws IOException;\n\t\n\t/**\n\t * Writes a List of Objects as columns of a CSV file, performing any necessary processing beforehand.\n\t * <tt>toString()</tt> will be called on each (processed) element prior to writing.\n\t * \n\t * @param columns\n\t * the columns to write\n\t * @param processors\n\t * an array of CellProcessors used to further process data before it is written (each element in the\n\t * processors array corresponds with a CSV column - the number of processors should match the number of\n\t * columns). A <tt>null</tt> entry indicates no further processing is required (the value returned by\n\t * toString() will be written as the column value).\n\t * @throws IllegalArgumentException\n\t * if columns.size == 0\n\t * @throws IOException\n\t * If an I/O error occurs\n\t * @throws NullPointerException\n\t * if columns or processors is null\n\t * @throws SuperCsvConstraintViolationException\n\t * if a CellProcessor constraint failed\n\t * @throws SuperCsvException\n\t * if there was a general exception while writing/processing\n\t * @since 1.0\n\t */\n\tvoid write(List<?> columns, CellProcessor[] processors) throws IOException;\n\t\n\t/**\n\t * Writes a array of Objects as columns of a CSV file. <tt>toString()</tt> will be called on each element prior to\n\t * writing.\n\t * \n\t * @param columns\n\t * the columns to write\n\t * @throws IllegalArgumentException\n\t * if columns.length == 0\n\t * @throws IOException\n\t * If an I/O error occurs\n\t * @throws NullPointerException\n\t * if columns is null\n\t * @throws SuperCsvException\n\t * if there was a general exception while writing\n\t * @since 1.0\n\t */\n\tvoid write(Object... columns) throws IOException;\n\t\n\t/**\n\t * Writes an array of strings as columns of a CSV file.\n\t * \n\t * @param columns\n\t * the columns to write\n\t * @throws IllegalArgumentException\n\t * if columns.length == 0\n\t * @throws IOException\n\t * If an I/O error occurs\n\t * @throws NullPointerException\n\t * if columns is null\n\t * @throws SuperCsvException\n\t * if there was a general exception while writing\n\t * @since 1.0\n\t */\n\tvoid write(String... columns) throws IOException;\n\t\n}", "public interface ObjectOutput extends DataOutput, AutoCloseable {\n /**\n * Write an object to the underlying storage or stream. The class that implements this interface\n * defines how the object is written.\n *\n * @param obj the object to be written\n * @exception IOException Any of the usual Input/Output related exceptions.\n */\n public void writeObject(Object obj) throws IOException;\n\n /**\n * Writes a byte. This method will block until the byte is actually written.\n * \n * @param b the byte\n * @exception IOException If an I/O error has occurred.\n */\n public void write(int b) throws IOException;\n\n /**\n * Writes an array of bytes. This method will block until the bytes are actually written.\n * \n * @param b the data to be written\n * @exception IOException If an I/O error has occurred.\n */\n public void write(byte b[]) throws IOException;\n\n /**\n * Writes a sub array of bytes.\n * \n * @param b the data to be written\n * @param off the start offset in the data\n * @param len the number of bytes that are written\n * @exception IOException If an I/O error has occurred.\n */\n public void write(byte b[], int off, int len) throws IOException;\n\n /**\n * Flushes the stream. This will write any buffered output bytes.\n * \n * @exception IOException If an I/O error has occurred.\n */\n public void flush() throws IOException;\n\n /**\n * Closes the stream. This method must be called to release any resources associated with the\n * stream.\n * \n * @exception IOException If an I/O error has occurred.\n */\n public void close() throws IOException;\n}", "public interface IOData<T> {\n\t/**\n\t * An abstract method to write/overwrite class object data to text file.\n\t * \n\t * @param fileName The name of the file to write to.\n\t * @param overwrite To indicate whether to overwrite the file or to simply\n\t * append at the bottom of the text file.\n\t * @return boolean value to confirm if writing is successful.\n\t */\n\tpublic abstract boolean writeDataToFile(String fileName, boolean overwrite);\n\n\t/**\n\t * To read each line of data from the text file.\n\t * \n\t * @param fileLine To indicate which line of code to read from.\n\t * @return relevant information.\n\t */\n\tpublic abstract T readDataFile(String fileLine);\n}", "@Provides\r\n public DataOutput provideOutputWriter() {\r\n DataOutput out = null;\r\n final PrintWriter oWriter = outWriter;\r\n if ((oWriter != null) && (outputFormat != null)) {\r\n if (\"csv\".equalsIgnoreCase(outputFormat)) {\r\n out = new CSVDataOutput(oWriter);\r\n } else if (\"json\".equalsIgnoreCase(outputFormat)) {\r\n out = new JSONDataOutput(oWriter);\r\n } else\r\n throw new IllegalArgumentException(\"Output format \"\r\n + outputFormat + \" not supported.\"\r\n + \" Valid types are csv, json\");\r\n out.verboseOptions(verboseStream, verbose);\r\n }\r\n return out;\r\n }", "protected abstract void _write(DataOutput output) throws IOException;", "public abstract void serialize(DataOutputStream dataOutputStream) throws IOException;", "public abstract AbstractLineWriter newWriter(OutputStream datastream)\r\n\t\t\tthrows IOException;", "@Override\n\tpublic void WriteData(String obj) {\n\t\t\n\t}", "public static interface Writer {\n /**\n * Write object.\n *\n * @param writer Writer.\n * @param obj Object.\n * @param err Error.\n */\n public void write(BinaryRawWriterEx writer, Object obj, Throwable err);\n\n /**\n * Determines whether this writer can write given data.\n *\n * @param obj Object.\n * @param err Error.\n * @return Value indicating whether this writer can write given data.\n */\n public boolean canWrite(Object obj, Throwable err);\n }", "protected void writeRecordData(RecordHeader header, RecordWriter rw) throws IOException {\n if (rw.getDataLength() > header.dataCapacity) {\n throw new IOException (\"Record data does not fit\");\n }\n header.dataCount = rw.getDataLength();\n file.seek(header.dataPointer);\n rw.writeTo(file);\n }", "public void getData(OutputRecord record)\n throws SQLException\n {\n super.getData(record);\n record.setLong(\"resource_class_id\", resourceClass.getId());\n if(parentId != -1)\n {\n record.setLong(\"parent\", parentId);\n }\n else\n {\n record.setNull(\"parent\");\n }\n record.setLong(\"created_by\", creator.getId());\n record.setTimestamp(\"creation_time\", created);\n record.setLong(\"owned_by\", owner.getId());\n record.setLong(\"modified_by\", modifier.getId());\n record.setTimestamp(\"modification_time\", modified);\n }", "public interface IDatFileEditor {\n\n /**\n * Close the file at the end of editing.\n * @throws IOException if there is an I/O failure.\n */\n void close() throws IOException;\n\n /**\n * Writes the records to the dat file one by one.\n * @param recordList the record list\n * @throws IOException if there is an I/O failure\n */\n void writeRecordsToFile(List<IRecord> recordList) throws IOException;\n}", "public interface Writable {\n void readData(DataInput input) throws IOException;\n void writeData(DataOutput output) throws IOException;\n}", "protected RecordWriter<WritableComparable<?>,\n HCatRecord> getRecordWriter() {\n return hCatRecordWriter;\n }", "public interface FileWritable {\n\n /**\n * The required path and fileName where the report should be saved\n * @return the required FileName\n */\n String getFileName();\n\n /**\n * The required content to be shown on the report\n * @return content to be included\n */\n String getContent();\n}", "Write createWrite();", "@Override\n public void writeRow(final Object... columnData) {\n TextOutputFormat outputFormat = this.outputFormat;\n if (outputFormat == TextOutputFormat.text) {\n outputFormat = TextOutputFormat.tsv;\n }\n final Tag row = tableRow().make();\n for (final Object element : columnData) {\n final TagBuilder tableCell = tableCell().withEscapedText(toString(element));\n if (element == null) {\n tableCell.withStyleClass(\"data_null\");\n } else if (element instanceof BinaryData) {\n tableCell.withStyleClass(\"data_binary\");\n } else if (element instanceof Number) {\n tableCell.withStyleClass(\"data_number\");\n }\n row.addInnerTag(tableCell.make());\n }\n\n out.println(row.render(TagOutputFormat.valueOf(outputFormat.name())));\n }", "@Override\n public void write(Data dataPacket) throws IOException {\n }", "String saveToFile(Object data, String fileName, FileFormat fileFormat) throws IOException;", "@Override\n public void write(DataOutput dataOutput) throws IOException {\n dataOutput.writeUTF(logTimestamp);\n dataOutput.writeUTF(logID);\n dataOutput.writeUTF(userNumber);\n dataOutput.writeUTF(menuName);\n }", "public interface WritableObject {\n\n\t/** Write this object to the specified {@link DataTransferOutput} stream.\n\t * @param outputStream the data output stream to write the data to\n\t * @throws IOException if there is an error writing data to the output stream\n\t */\n\tpublic void writeData(DataTransferOutput outputStream) throws IOException;\n\n}", "public void record_data(String filename, String data_type) throws IOException {\t\t\n\t\tString _filename;\n\t\tVector<svm_node[]> _set;\n\t\t/* set file name for record */\n\t\tif (data_type.toLowerCase() == ORIGINAL) {\n\t\t\t_filename = \"./datasets/data.\" + filename + \"_original\";\n\t\t\t_set = original_set;\n\t\t} else if (data_type.toLowerCase() == SCALED) {\n\t\t\t_filename = \"./datasets/data.\" + filename + \"_scaled\";\n\t\t\t_set = scaled_set;\n\t\t} else {\n\t\t\tSystem.out.println(\"wrong data type, record failed\");\n\t\t\treturn;\n\t\t}\n\t\tFile file = new File(_filename);\n\t\tFileOutputStream fos = new FileOutputStream(file);\n\t\tOutputStreamWriter writer = new OutputStreamWriter(fos, \"UTF-8\");\n\t\t\n\t svm_node[] sample;\n\t for (int i = 0; i < this.sample_num; i++) {\n\t \twriter.append(labels.get(i) + \" \");\n\t \tsample = _set.get(i);\n\t \tfor (int j = 0; j < this.feature_num; j++) {\n\t \t\twriter.append(sample[j].index + \":\" + sample[j].value + \" \");\n\t \t}\n\t \twriter.append(\"\\n\");\n\t }\n\t System.out.println(\"Data record done! see \" + _filename);\n\t if (writer != null) {\n\t \twriter.close();\n\t }\n\t\tif (fos != null) {\n\t\t\tfos.close();\n\t\t}\n\t}", "void writeRecordsToFile(List<IRecord> recordList) throws IOException;", "@Override\n public int writeData(OutputStream out, T data) throws Exception\n {\n OutputStreamWriter w = new OutputStreamWriter(out, \"UTF-8\");\n w.write(_serializer.deepSerialize(data));\n w.close();\n return -1;\n }", "public interface Writer extends Transformer {\n\n /**\n * Writes an entity to the outputstream\n *\n * @param response an outcoming response\n * @param request an incoming provider\n */\n void writeTo(InternalResponse<?> response, InternalRequest<?> request);\n\n /**\n * Figures out whether is writer compatible for the given route\n *\n * @param route compared route\n * @return returns {@code true} if the writer is compatible with the given route\n */\n boolean isWriterCompatible(InternalRoute route);\n\n}", "public void write(DataOutputStream writer) throws Exception\r\n\t{\n\r\n\t}", "public void writeRecord(String key, RecordData data) {\n\t\tsynchronized (key.intern()) {\n\t\t\tRecordData oldData = records.get(key);\n\t\t\tif (oldData == null || oldData.compareTo(data) < 0) {\n\t\t\t\trecords.put(key, data);\n\t\t\t}\n\t\t}\n\t}", "public abstract boolean writeDataItem(BDTuple tuple) throws RollbackException;", "@Override\n public void write() {\n\n }", "DataFrameWrite<R,C> write();", "public interface ContentWriter {\n\t// *** Class Members ***\n\n\t// *** Public Methods ***\n\t\n\t// --- Writer State ---\n\tpublic Name getName();\n\tpublic List<Name> getElementNameStack();\n\t\n\t// --- Escaped Text Content ---\n\tpublic void text(Text text) throws IOException;\n\tpublic void text(String text) throws IOException;\n\tpublic Writer text() throws IOException;\n\tpublic Writer cdata() throws IOException;\n\t\n\t// --- Character Data Content---\n\tpublic void characters(CharData charData) throws IOException;\n\tpublic void cdata(CData cdata) throws IOException;\n\t\n\t// --- Reference Content ---\n\tpublic void reference(CharRef charRef) throws IOException;\n\tpublic void reference(Name entityName) throws IOException;\n\t\n\t// --- Namespaces ---\n\tpublic void defaultNamespace(NamespaceURI uri) throws IOException;\n\tpublic void namespace(NamespaceURI uri) throws IOException;\n\t\n\t// --- Element Content ---\n\tpublic ContentWriter element(Name elementName) throws IOException;\n\tpublic ContentWriter element(Name elementName, Attribute... attributes) throws IOException;\n\t\n\t// --- Misc Content ---\n\tpublic void comment(Comment c) throws IOException;\n\tpublic void pi(Target target, Instruction instruction) throws IOException;\n\tpublic void space(Whitespace space) throws IOException;\n\t\n\t// --- Custom Content ---\n\tpublic void content(Content c) throws IOException;\n}", "public interface CSVDataRow\n{\n String toLine();\n}", "public interface RecordReader {\r\n\r\n /**\r\n * Reads a single record from this input stream. The type of object\r\n * returned depends on the format of the stream.\r\n * @return the record value, or null if the end of the stream was reached.\r\n * @throws IOException if an I/O error occurs reading from the stream\r\n * @throws RecordIOException if the record is malformed and cannot\r\n * \t be parsed, but subsequent reads may still be possible\r\n */\r\n public Object read() throws IOException, RecordIOException;\r\n\r\n /**\r\n * Closes this input stream.\r\n * @throws IOException if an I/O error occurs closing the stream\r\n */\r\n public void close() throws IOException;\r\n\r\n /**\r\n * Returns the line number of the last record from this input stream. If a\r\n * record spans multiple lines, the line number at the beginning of the\r\n * record is returned. May return -1 if the end of the stream was reached,\r\n * or 0 if new lines are not used to terminate records.\r\n * @return the beginning line number of the last record read\r\n */\r\n public int getRecordLineNumber();\r\n\r\n /**\r\n * Returns the unparsed record text of the last record read.\r\n * @return the unparsed text of the last record read\r\n */\r\n public String getRecordText();\r\n\r\n}", "public abstract void writeToStream(java.io.DataOutputStream output) throws java.io.IOException;", "protected void writeRecordData(RecordHeader header, byte[] data) throws IOException {\n if (data.length > header.dataCapacity) {\n throw new IOException (\"Record data does not fit\");\n }\n header.dataCount = data.length;\n file.seek(header.dataPointer);\n file.write(data, 0, data.length);\n }", "public void putRecord(String recId, String recordXml, String xmlFormat, DcsDataRecord dcsDataRecord)\n\t\t throws RepositoryWriterPluginException {\n\n\t\t/*\n\t\t\tupdate the dcsDataRecord for records in Collections Of CollectionRecords\n\t\t*/\n\t\tif (xmlFormat.equals(\"ncs_collect\")) {\n\t\t\ttry {\n\n\t\t\t\tRepositoryService repositoryService = getRepositoryService();\n\t\t\t\tXMLDocReader docReader = repositoryService.getXMLDocReader(recId);\n\t\t\t\tif (docReader == null)\n\t\t\t\t\tthrow new Exception(\"docReader not found for \" + recId);\n\t\t\t\tString collection = docReader.getCollection();\n\n\t\t\t\tif (repositoryService.isCollectionOfCollectionRecords(collection)) {\n\t\t\t\t\tString handleServiceBaseUrl = repositoryService.getHandleServiceBaseUrl(collection);\n\t\t\t\t\tassignMetadataHandle(recordXml, collection, dcsDataRecord, handleServiceBaseUrl);\n\t\t\t\t}\n\t\t\t} catch (Exception e) {\n\t\t\t\t// prtlnErr (\"putRecord ERROR: \" + e.getMessage());\n\t\t\t\t// e.printStackTrace();\n\t\t\t\tthrow makeErr(\"putRecord\", e);\n\t\t\t}\n\t\t}\n\t}", "void writeObj(MyAllTypesSecond aRecord, StrategyI xmlStrat);", "@Override\n\t\tpublic void write(DataOutput arg0) throws IOException {\n\t\t\tk.write(arg0);\n\t\t\tv.write(arg0);\n\t\t}", "@Override\n public void writeFile(String arg0, Map result) {\n\n // Initial variables\n ArrayList<HashMap> records;\n ArrayList<HashMap> recordT;\n ArrayList<HashMap> observeRecords; // Array of data holder for time series data\n BufferedWriter bwT; // output object\n StringBuilder sbData = new StringBuilder(); // construct the data info in the output\n HashMap<String, String> altTitleList = new HashMap(); // Define alternative fields for the necessary observation data fields; key is necessary field\n // P.S. Add alternative fields here\n HashMap titleOutput; // contain output data field id\n DssatObservedData obvDataList = DssatObservedData.INSTANCE; // Varibale list definition\n\n try {\n\n // Set default value for missing data\n setDefVal();\n\n // Get Data from input holder\n Object tmpData = getObjectOr(result, \"observed\", new Object());\n if (tmpData instanceof ArrayList) {\n records = (ArrayList) tmpData;\n } else if (tmpData instanceof HashMap) {\n records = new ArrayList();\n records.add((HashMap) tmpData);\n } else {\n return;\n }\n if (records.isEmpty()) {\n return;\n }\n\n observeRecords = new ArrayList();\n for (HashMap record : records) {\n recordT = getObjectOr(record, \"timeSeries\", new ArrayList());\n String trno = getValueOr(record, \"trno\", \"1\");\n if (!recordT.isEmpty()) {\n String[] sortIds = {\"date\"};\n Collections.sort(recordT, new DssatSortHelper(sortIds));\n for (HashMap recordT1 : recordT) {\n recordT1.put(\"trno\", trno);\n }\n observeRecords.addAll(recordT);\n }\n }\n\n // Initial BufferedWriter\n String fileName = getFileName(result, \"T\");\n if (fileName.endsWith(\".XXT\")) {\n String crid = DssatCRIDHelper.get2BitCrid(getValueOr(result, \"crid\", \"XX\"));\n fileName = fileName.replaceAll(\"XX\", crid);\n }\n arg0 = revisePath(arg0);\n outputFile = new File(arg0 + fileName);\n bwT = new BufferedWriter(new FileWriter(outputFile));\n\n // Output Observation File\n // Titel Section\n sbError.append(String.format(\"*EXP.DATA (T): %1$-10s %2$s\\r\\n\\r\\n\",\n fileName.replaceAll(\"\\\\.\", \"\").replaceAll(\"T$\", \"\"),\n getObjectOr(result, \"local_name\", defValBlank)));\n\n titleOutput = new HashMap();\n // TODO get title for output\n // Loop all records to find out all the titles\n for (HashMap record : observeRecords) {\n // Check if which field is available\n for (Object key : record.keySet()) {\n // check which optional data is exist, if not, remove from map\n if (obvDataList.isTimeSeriesData(key)) {\n titleOutput.put(key, key);\n\n } // check if the additional data is too long to output\n else if (key.toString().length() <= 5) {\n if (!key.equals(\"date\") && !key.equals(\"trno\")) {\n titleOutput.put(key, key);\n }\n\n } // If it is too long for DSSAT, give a warning message\n else {\n sbError.append(\"! Waring: Unsuitable data for DSSAT observed data (too long): [\").append(key).append(\"]\\r\\n\");\n }\n }\n // Check if all necessary field is available // P.S. conrently unuseful\n for (String title : altTitleList.keySet()) {\n\n // check which optional data is exist, if not, remove from map\n if (getValueOr(record, title, \"\").equals(\"\")) {\n\n if (!getValueOr(record, altTitleList.get(title), \"\").equals(\"\")) {\n titleOutput.put(title, altTitleList.get(title));\n } else {\n sbError.append(\"! Waring: Incompleted record because missing data : [\").append(title).append(\"]\\r\\n\");\n }\n\n } else {\n }\n }\n }\n\n // decompress observed data\n// decompressData(observeRecords);\n // Observation Data Section\n Object[] titleOutputId = titleOutput.keySet().toArray();\n Arrays.sort(titleOutputId);\n String pdate = getPdate(result);\n for (int i = 0; i < (titleOutputId.length / 39 + titleOutputId.length % 39 == 0 ? 0 : 1); i++) {\n\n sbData.append(\"@TRNO DATE\");\n int limit = Math.min(titleOutputId.length, (i + 1) * 39);\n for (int j = i * 39; j < limit; j++) {\n sbData.append(String.format(\"%1$6s\", titleOutput.get(titleOutputId[j]).toString().toUpperCase()));\n }\n sbData.append(\"\\r\\n\");\n\n for (HashMap record : observeRecords) {\n \n if (record.keySet().size() <= 2 && record.containsKey(\"trno\") && record.containsKey(\"date\")) {\n continue;\n }\n sbData.append(String.format(\" %1$5s\", getValueOr(record, \"trno\", \"1\")));\n sbData.append(String.format(\" %1$5s\", formatDateStr(getObjectOr(record, \"date\", defValI))));\n for (int k = i * 39; k < limit; k++) {\n\n if (obvDataList.isDapDateType(titleOutputId[k], titleOutput.get(titleOutputId[k]))) {\n sbData.append(String.format(\"%1$6s\", formatDateStr(pdate, getObjectOr(record, titleOutput.get(titleOutputId[k]).toString(), defValI))));\n } else if (obvDataList.isDateType(titleOutputId[k])) {\n sbData.append(String.format(\"%1$6s\", formatDateStr(getObjectOr(record, titleOutput.get(titleOutputId[k]).toString(), defValI))));\n } else {\n sbData.append(\" \").append(formatNumStr(5, record, titleOutput.get(titleOutputId[k]), defValI));\n }\n\n }\n sbData.append(\"\\r\\n\");\n }\n }\n // Add section deviding line\n sbData.append(\"\\r\\n\");\n\n // Output finish\n bwT.write(sbError.toString());\n bwT.write(sbData.toString());\n bwT.close();\n } catch (IOException e) {\n LOG.error(DssatCommonOutput.getStackTrace(e));\n }\n }", "public interface CDFFileWriter {\n\t\n\t/**\n\t * \n\t * @param model\n\t * @param filename\n\t * @return a registry to the cdf components that get written for \"model\"\n\t * @throws IOException\n\t */\n\tpublic void saveFile(ElectricPowerModel model, String filename) throws IOException;\t\n}", "public abstract void write (DataOutputStream outStream)\r\n throws IOException;", "public interface JavaWriter \r\n{\r\n /**\r\n * Abstract method that takes a WSDLHolder\r\n * and returns back the Java representation.\r\n * The Java representation is returned as\r\n * a SerializedHolder array. Each element\r\n * of the array is a SerializedHolder that\r\n * contains the byte[] representing the Java\r\n * class and the name of the file in the file\r\n * system to write to.\r\n */\r\n public SerializedHolder[] toJava(WSDLHolder wsdl, Options options)\r\n throws JavaHolderException, IOException, WSDLException;\r\n \r\n}", "public DataRecord() {\n super(DataTable.DATA);\n }", "@Override\r\n\tpublic void write() {\n\t\t\r\n\t}", "@Override\n\tpublic void write(DataOutputStream dataOutStream) throws IOException {\n\t\tdataOutStream.writeLong(id);\n\t\tsuper.write(dataOutStream);\n\t}", "public interface DboCsvTransformer<DBO extends DatabaseObject<?>> extends DboFileTransformer<DBO> {\n\n String COMMA_IN_QUOTES_REGEX = \",(?=(?:[^\\\\\\\"]*\\\\\\\"[^\\\\\\\"]*\\\\\\\")*[^\\\\\\\"]*$)\";\n\n /**\n * This method consumes a single line of CSV to produce a DatabaseObject.\n *\n * @param csv the single line of CSV representing a single DatabaseObject\n * @return the DatabaseObject represented\n * @throws TransformerException if the object cannot be produced\n */\n @Override\n DBO consume(String csv) throws TransformerException;\n\n /**\n * This method consumes a DatabaseObject to produce a String in CSV format.\n *\n * @param object the DatabaseObject\n * @return a String in CSV format\n * @throws TransformerException if the object cannot be consumed\n */\n @Override\n String produce(DBO object) throws TransformerException;\n\n}", "public void write()\n {\n getCsvParser().parse(getReader());\n }", "public interface IFormatter {\n /**\n * refactor code\n * @param reader input code\n * @param writer output code\n * @throws StreamException if input or output errors\n */\n void format(IReader reader, IWriter writer) throws StreamException;\n}", "@Override\n\tpublic void write(DataOutput arg0) throws IOException {\n\t\targ0.writeUTF(first);\n\t\targ0.writeUTF(second);\n\t}", "public abstract void writeToFile( );", "@Override\n public void write(DataAdaptor snkData) {\n \n DataAdaptor daptDev = snkData.createChild( this.dataLabel() );\n daptDev.setValue(STR_ATTR_TYPID, this.strTypId);\n daptDev.setValue(STR_ATTR_DEVID, this.strDevId);\n daptDev.setValue(STR_ATTR_FMTVER, LNG_VAL_FMTVER);\n \n this.cfgDevice.write(daptDev);\n \n this.datRaw.write(daptDev);\n this.datFit.write(daptDev);\n \n this.sigFitAttrs.write(daptDev);\n }", "private void writeData(Employee[] employees, DataOutput out) throws IOException {\n // write number of employees\n out.writeInt(employees.length);\n\n for (Employee e : employees) {\n out.writeInt(e.getName().length());\n out.writeChars(e.getName());\n out.writeInt(e.getHireDay().toString().length());\n out.writeChars(e.getHireDay().toString());\n out.writeDouble(e.getSalary());\n }\n }", "public boolean writeDataFile();", "public interface ISchemaIOBuilder extends INewLineCreator {\r\n\r\n\t/**\r\n\t * Create new empty Line \r\n\t * \r\n\t * @return the new Line\r\n\t * \r\n\t * @throws IOException\r\n\t */\r\n\tpublic abstract AbstractLine newLine() throws IOException;\r\n\r\n\t/**\r\n\t * Create line for supplied data\r\n\t * \r\n\t * @param data data to be store in the line\r\n\t * \r\n\t * @return new line\r\n\t */\r\n\tpublic abstract AbstractLine newLine(byte[] data) throws IOException;\r\n\r\n\t/**\r\n\t * \r\n\t * @return the layout or File-Schema (File Description)\r\n\t */\r\n\tpublic abstract LayoutDetail getLayout() throws\tIOException;\r\n\r\n\t/**\r\n\t * Create a new LineReader for a specified file\r\n\t * \r\n\t * @param filename name of the file to create the reader for\r\n\t * @return Requested LineReader\r\n\t *<pre>\r\n\t *<b>Example:</b>\r\n\t * \r\n * AbstractLineReader reader = JRecordInterface1.COBOL\r\n * .newIOBuilder(\"file-name\")\r\n * .setFileOrganization(Constants.IO_FIXED_LENGTH)\r\n * .<b>newReader(\"Data-Filename\")</b>;\r\n * \r\n * while ((l = reader.read()) != null) { ... }\r\n * reader.close()\r\n *</pre>\r\n\t * \r\n\t * @throws FileNotFoundException\r\n\t * @throws IOException anyIoexception that occurs\r\n\t */\r\n\tpublic abstract AbstractLineReader newReader(String filename)\r\n\t\t\tthrows FileNotFoundException, IOException;\r\n\r\n\t/**\r\n\t * Create a new LineReader for a supplied input stream\r\n\t * \r\n\t * @param datastream input datastream\r\n\t * @return Requested LineReader\r\n\t * <pre>\r\n\t *<b>Example:</b>\r\n * AbstractLineReader reader = JRecordInterface1.COBOL\r\n * .newIOBuilder(\"file-name\")\r\n * .setFileOrganization(Constants.IO_FIXED_LENGTH)\r\n * .<b>newReader(dataStream)</b>;\r\n * \r\n * while ((l = reader.read()) != null) { ... }\r\n * reader.close()\r\n * </pre>\r\n\t * @throws IOException \r\n\t */\r\n\tpublic abstract AbstractLineReader newReader(InputStream datastream)\r\n\t\t\tthrows IOException;\r\n\r\n\t/**\r\n\t * Create LineWriter for a supplied filename\r\n\t * \r\n\t * @param filename output filename\r\n\t * @return Requested LineWriter\r\n\t * <pre>\r\n\t * \r\n * ICobolIOBuilder ioBldr = RecordInterface1.COBOL\r\n * .newIOBuilder(\"CoboolCopybook)\r\n * .setFileOrganization(Constants.IO_FIXED_LENGTH);\r\n * LaytoutDetail schema = ioBldr.getLayout();\r\n * AbstractLineWriter writer = ioBldr.<b>newWriter(\"DataFileName\")</b>;\r\n * Line line = new Line(schema);\r\n * \r\n * line.getFieldValue(\"fieldName\").set(\"Field Value\");\r\n * ....\r\n * writer.write(line);\r\n * ...\r\n * \r\n * writer.close\r\n *\r\n *</pre>\r\n *\r\n\t * \r\n\t * @throws FileNotFoundException\r\n\t * @throws IOException\r\n\t */\r\n\tpublic abstract AbstractLineWriter newWriter(String filename)\r\n\t\t\tthrows FileNotFoundException, IOException;\r\n\r\n\t/**\r\n\t * Create LineWriter for a supplied stream\r\n\t * @param datastream output stream where the file is going to be written\r\n\t * @return the Requested LineWriter\r\n\t * \r\n\t * <pre>\r\n\t * \r\n * ICobolIOBuilder ioBldr = RecordInterface1.COBOL\r\n * .newIOBuilder(\"CoboolCopybook)\r\n * .setFileOrganization(Constants.IO_FIXED_LENGTH);\r\n * LaytoutDetail schema = ioBldr.getLayout();\r\n * AbstractLineWriter writer = ioBldr.<b>newWriter(dataStream)</b>;\r\n * Line line = new Line(schema);\r\n * \r\n * line.getFieldValue(\"fieldName\").set(\"Field Value\");\r\n * ....\r\n * writer.write(line);\r\n * ...\r\n * \r\n * writer.close\r\n *\r\n *</pre>\r\n\t * \r\n\t * @throws IOException\r\n\t */\r\n\tpublic abstract AbstractLineWriter newWriter(OutputStream datastream)\r\n\t\t\tthrows IOException;\r\n\r\n}", "SDDFOutputStream(DataFile df) {\n this.df = df;\n }", "public interface SerializationAdapter {\n\t\n\t/**\n\t * Tells plate model to save given plate specifications.\n\t * @param nickname - name to later refer to this specification as\n\t * @param plateSpecs - object encompassing all datasheet information\n\t */\n\tpublic void saveSpecs(String nickname, PlateSpecifications plateSpecs);\n\n\t/**\n\t * Loads the previously saved PlateSpecifications with the given filename.\n\t * @param nickname - name of the file specifications are actually saved in\n\t */\n\tpublic PlateSpecifications loadSpecs(String nickname);\n\t\n\t/**\n\t * Load workflow from a file.\n\t */\n\tpublic void loadWorkflow(String filename);\n\t\n\t/**\n\t * Save workflow to a file.\n\t */\n\tpublic void saveWorkflow(String filename);\n\t\n\t/**\n\t * Deletes previously saved data that matches the given filename and type.\n\t * @param filename - name of the data to delete\n\t */\n\tpublic void deleteData(String filename, SaveType type);\n\t\n\t/**\n\t * Gets all data of a certain type that are saved.\n\t * @return Iterable of each file name\n\t */\n\tpublic Iterable<String> updateDataList(SaveType type);\n\t\n}", "public interface DataVisitor { \n\n /**\n * Visits a {@link DataMap}\n * \n * @param node the node to visit\n * @param parent the immediate parent of the node which is being visited\n * @param field if parent is a {@link DataMap}, the name of the field under\n * which the node to be visited lies. Otherwise it is unspecified.\n * @param pos If the parent node is a {@link DataArray}, pos is the position\n * in such list. Otherwise it is zero.\n */\n void visit(DataMap node, TraceData parent, String field, int pos);\n\n /**\n * Visits a {@link DataObject}\n * \n * @param node the node to visit\n * @param parent the immediate parent of the node which is being visited\n * @param field if parent is a {@link DataMap}, the name of the field under\n * which the node to be visited lies. Otherwise it is unspecified.\n * @param pos If the parent node is a {@link DataArray}, pos is the position\n * in such list. Otherwise it is zero.\n */\n void visit(DataObject node, TraceData parent, String field, int pos);\n \n \n /**\n * Visits a {@link DataList}\n * \n * @param node the node to visit\n * @param parent the immediate parent of the node which is being visited\n * @param field if parent is a {@link DataMap}, the name of the field under\n * which the node to be visited lies. Otherwise it is unspecified.\n * @param pos If the parent node is a {@link DataArray}, pos is the position\n * in such list. Otherwise it is zero.\n */ \n void visit(DataArray node, TraceData parent, String field, int pos);\n\n /**\n * Visits a {@link DataValue}\n * \n * @param node the node to visit\n * @param parent the immediate parent of the node which is being visited\n * @param field if parent is a {@link DataMap}, the name of the field under\n * which the node to be visited lies. Otherwise it is unspecified.\n * @param pos If the parent node is a {@link DataArray}, pos is the position\n * in such list. Otherwise it is zero.\n */ \n void visit(DataValue node, TraceData parent, String field, int pos);\n}", "public void writeObject ();", "@Override\n protected void doWriteTo(StreamOutput out) throws IOException {\n }", "public interface IOAdapter {\n /** Returns the IOAdapter identifier string.\n *\n */\n public String getIdentifierString();\n \n /** Attempts to read an object from the provided input stream.\n *\n * This method attempt to read an object to an input stream. The method\n * should construct an object, if possible, from the stream.\n *\n * @exception IOException Thown if the Stream is not in the correct format.\n *\n * @return Object created from stream.\n */\n public Object readObject(File file, int format) throws IOException, FileNotFoundException;\n \n /** Attempts to write an object to the provided output stream.\n *\n * This method should write the object to the output stream. \n *\n * @exception IOException thrown if the object fails to write for any reason.\n *\n */\n public void writeObject(OutputStream stream, Object object, int format) throws IOException;\n \n /** Returns the number of supported formats.\n\n */\n public int getReadFormatCount();\n \n /** Returns the file extensions of the indicated type. \n *\n */\n public String getReadFileExtension(int formatIndex);\n \n /** Returns the mime type of the indicated type. \n *\n */\n public String getReadMimeType(int formatIndex);\n \n /** Return the class of the indicated type.\n *\n */\n public Class getReadClass(int formatIndex);\n \n /** Returns the Description for the indicated type.\n *\n */\n public String getReadFormatDescription(int formatIndex);\n \n /** Looks up the file extention and returns the type index.\n */\n public int lookupReadFileExtension(String extension);\n \n /** Looks up the mine type and returns the type index.\n */\n public int lookupReadMimeType(String mimeType);\n \n /** Returns the number of supported formats.\n *\n */\n public int getWriteFormatCount();\n \n /** Returns the file extensions of the indicated type. \n *\n */\n public String getWriteFileExtension(int formatIndex);\n \n /** Returns the mime type of the indicated type. \n *\n */\n public String getWriteMimeType(int formatIndex);\n \n /** Return the class of the indicated type.\n *\n */\n public Class getWriteClass(int formatIndex);\n \n /** Returns the Description for the indicated type.\n *\n */\n public String getWriteFormatDescription(int formatIndex);\n \n /** Looks up the file extention and returns the type index.\n */\n public int lookupWriteFileExtension(String extension);\n \n /** Looks up the mine type and returns the type index.\n */\n public int lookupWriteMimeType(String mimeType);\n}", "public interface ReportExporter {\n\n /**\n * @param jasperPrint printable report object to export as associated format\n * @param file the destination file to export\n */\n void exportToFile(JasperPrint jasperPrint, File file) throws JRException;\n}", "public interface IWriter {\n void write(int b) throws WriterException;\n}", "void encodeResourceToWriter(IBaseResource theResource, Writer theWriter) throws IOException, DataFormatException;", "public interface Data extends Bookmarkable, Closeable {\n\n /**\n * Returns custom metadata that will be available to processor with prefix 'c_'.\n */\n Map<String, String> getCustomMetadata();\n\n /**\n * Identifies type of data in {@link Data#getInputStream()}. Typically it will be a string including provider type and\n * data type - i.e 'ALM/tests'. A result processor will be selected based on the data type.\n */\n @NotNull\n String getDataType();\n\n /**\n * MIME type value (i.e application/xml, text/plain).\n */\n @NotNull\n String getMimeType();\n\n /**\n * Returns charset of the content. If the content is binary then returns null.\n */\n String getCharset();\n\n /**\n * Returns input stream for reading data. The data may be binary, textual etc. Its content type is identified by\n * {@link Data#getMimeType()}.\n */\n @NotNull\n InputStream getInputStream() throws IOException;\n}", "public RecordWriter<ImmutableBytesWritable, KeyValue> getRecordWriter(TaskAttemptContext context)\n throws IOException, InterruptedException {\n final Path outputPath = FileOutputFormat.getOutputPath(context);\n final Path outputdir = new FileOutputCommitter(outputPath, context).getWorkPath();\n Configuration conf = context.getConfiguration();\n final FileSystem fs = outputdir.getFileSystem(conf);\n // These configs. are from hbase-*.xml\n final long maxsize = conf.getLong(\"hbase.hregion.max.filesize\", 268435456);\n final int blocksize = conf.getInt(\"hfile.min.blocksize.size\", 65536);\n // Invented config. Add to hbase-*.xml if other than default compression.\n final String compression = conf.get(\"hfile.compression\",\n Compression.Algorithm.NONE.getName());\n\n return new RecordWriter<ImmutableBytesWritable, KeyValue>() {\n // Map of families to writers and how much has been output on the writer.\n private final Map<byte [], WriterLength> writers =\n new TreeMap<byte [], WriterLength>(Bytes.BYTES_COMPARATOR);\n private byte [] previousRow = HConstants.EMPTY_BYTE_ARRAY;\n private final byte [] now = Bytes.toBytes(System.currentTimeMillis());\n\n public void write(ImmutableBytesWritable row, KeyValue kv)\n throws IOException {\n long length = kv.getLength();\n byte [] family = kv.getFamily();\n WriterLength wl = this.writers.get(family);\n if (wl == null || ((length + wl.written) >= maxsize) &&\n Bytes.compareTo(this.previousRow, 0, this.previousRow.length,\n kv.getBuffer(), kv.getRowOffset(), kv.getRowLength()) != 0) {\n // Get a new writer.\n Path basedir = new Path(outputdir, Bytes.toString(family));\n if (wl == null) {\n wl = new WriterLength();\n this.writers.put(family, wl);\n if (this.writers.size() > 1) throw new IOException(\"One family only\");\n // If wl == null, first file in family. Ensure family dir exits.\n if (!fs.exists(basedir)) fs.mkdirs(basedir);\n }\n wl.writer = getNewWriter(wl.writer, basedir);\n Log.info(\"Writer=\" + wl.writer.getPath() +\n ((wl.written == 0)? \"\": \", wrote=\" + wl.written));\n wl.written = 0;\n }\n kv.updateLatestStamp(this.now);\n wl.writer.append(kv);\n wl.written += length;\n // Copy the row so we know when a row transition.\n this.previousRow = kv.getRow();\n }\n\n /* Create a new HFile.Writer. Close current if there is one.\n * @param writer\n * @param familydir\n * @return A new HFile.Writer.\n * @throws IOException\n */\n private HFile.Writer getNewWriter(final HFile.Writer writer,\n final Path familydir)\n throws IOException {\n close(writer);\n return new HFile.Writer(fs, StoreFile.getUniqueFile(fs, familydir),\n blocksize, compression, KeyValue.KEY_COMPARATOR);\n }\n\n private void close(final HFile.Writer w) throws IOException {\n if (w != null) {\n StoreFile.appendMetadata(w, System.currentTimeMillis(), true);\n w.close();\n }\n }\n\n public void close(TaskAttemptContext c)\n throws IOException, InterruptedException {\n for (Map.Entry<byte [], WriterLength> e: this.writers.entrySet()) {\n close(e.getValue().writer);\n }\n }\n };\n }", "void writeTo(DataSink dataSink, boolean overWrite) throws IOException;", "void saveObject(DataObject sdo, XMLStreamWriter writer) throws XMLStreamException;", "@Override\n public void writeTo(DataOutput dout) throws IOException {\n\n if (!isHeadless()) {\n dout.writeShort(getTransactionID());\n dout.writeShort(getProtocolID());\n dout.writeShort(getDataLength());\n }\n dout.writeByte(getUnitID());\n dout.writeByte(getFunctionCode());\n writeData(dout);\n }", "protected abstract void write (Object val);", "public interface IDataset extends Serializable{\n\t\n\t/**\n\t * Retrieve the data of the data set.\n\t * \n\t * @return an iterator over all data set items in the data set.\n\t */\n\tpublic Iterator<IDatasetItem> iterateOverDatasetItems();\n\t\n\t/**\n\t * Gets a normalizer for the data set.\n\t * \n\t * @return the corresponding normalizer.\n\t */\n\tpublic INormalizer getNormalizer();\n\t\n\t/**\n\t * Gets a immutable map that indicates for each attribute (-tag) if it should be used for clustering.\n\t * @return map of attribute-tags to boolean values \n\t */\n\tpublic ImmutableMap<String, Boolean> getAttributeClusteringConfig();\n\t\n\t/**\n\t * Scales the passed value to the range defined in the data set property files.\n\t * @param value a normalized value\n\t * @param attributeTag the identifier of the attribute\n\t * @return the attribute value in the original scale\n\t */\n\tpublic double denormalize(double value, String attributeTag);\n\t\n}", "@Override\n\tprotected void setData(DataStream dataStream) throws IOException {\n\t\t\n\t}", "@Override\n\tpublic RecordWriter<K, V> getRecordWriter(TaskAttemptContext job) throws IOException, InterruptedException {\n\t\treturn new SortRecordWriter<K,V>();\n\t}", "public interface IFormatter {\r\n /**\r\n * Formatting a code.\r\n * @param source source of code\r\n * @param destination where the result will be recorded\r\n * @throws FormatException when there is formatting error\r\n */\r\n void format(ISource<String> source, IDestination destination)\r\n throws FormatException;\r\n}", "@Override\n public void writeToDb(List<String> data) {\n\n try {\n openConnection();\n if (validateData((ArrayList<String>) data)) {\n for (String datum : data) {\n bufferedWriter.write(getDate() + \" - \" + datum);\n bufferedWriter.newLine();\n }\n bufferedWriter.write(\"==================\\n\");\n System.out.println(\"All data is written to MS SQL DB\");\n closeConnection();\n }\n } catch (IOException e) {\n System.err.println(\"ERROR!!!\");\n e.printStackTrace();\n }\n\n }", "public interface RecordStamper\n{\n /**\n * get the string which lists the record stamping fields seperated by\n * the given delimiter\n * @param delimiter the delimiter to use\n * @return the string of record stamping fields seperated by the given\n * delimiter\n * @throws BCPException thrown if there is an excption trying to\n * determine the values for the record stamp\n */\n public String getStamp(String delimiter) throws BCPException;\n\n /**\n * get the number of fields used for record stamping\n * @return the number of fields used for record stamping\n */\n public int getStampFieldCount();\n}", "int writeTo(byte[] iStream, int pos, ORecordVersion version);", "public interface Data {\n\n int DATA_TYPE_HEADER = 1;\n int DATA_TYPE_ITEM = 2;\n\n String getData();\n void setData(String data);\n int getDataType();\n long getTime();\n}", "public void onEncodeSerialData(StreamWriter streamWriter) {\n }", "public interface DataContentHandler {\n /**\n * Returns an array of DataFlavor objects indicating the flavors the\n * data can be provided in. The array should be ordered according to\n * preference for providing the data (from most richly descriptive to\n * least descriptive).\n *\n * @return The DataFlavors.\n */\n public ActivationDataFlavor[] getTransferDataFlavors();\n\n /**\n * Returns an object which represents the data to be transferred.\n * The class of the object returned is defined by the representation class\n * of the flavor.\n *\n * @param df The DataFlavor representing the requested type.\n * @param ds The DataSource representing the data to be converted.\n * @return The constructed Object.\n * @exception IOException\tif the data can't be accessed\n */\n public Object getTransferData(ActivationDataFlavor df, DataSource ds)\n\t\t\t\tthrows /*UnsupportedFlavorException,*/ IOException;\n\n /**\n * Return an object representing the data in its most preferred form.\n * Generally this will be the form described by the first DataFlavor\n * returned by the <code>getTransferDataFlavors</code> method.\n *\n * @param ds The DataSource representing the data to be converted.\n * @return The constructed Object.\n * @exception IOException\tif the data can't be accessed\n */\n public Object getContent(DataSource ds) throws IOException;\n\n /**\n * Convert the object to a byte stream of the specified MIME type\n * and write it to the output stream.\n *\n * @param obj\tThe object to be converted.\n * @param mimeType\tThe requested MIME type of the resulting byte stream.\n * @param os\tThe output stream into which to write the converted\n *\t\t\tbyte stream.\n * @exception IOException\terrors writing to the stream\n */\n public void writeTo(Object obj, String mimeType, OutputStream os)\n\t throws IOException;\n}", "private void writeToFile(List<Record> records) {\n try (\n FileWriter writer = new FileWriter(FILE_PATH);\n BufferedWriter bufferedWriter =\n new BufferedWriter(writer);\n PrintWriter out = new PrintWriter(bufferedWriter)\n\n ) {\n\n for (Record record : records) {\n out.format(\"%d;%s;%s;%s;%s;%s\\n\",\n record.getId(),\n record.getFirstName(),\n record.getLastName(),\n record.getPhone().getNumber(),\n record.getPhone().getType(),\n record.getCategory().getId());\n }\n// writer.close();\n out.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n\n\n }", "public interface SentenceWriterInterface {\n\t\n\n\tvoid writeSentence(Sentence sentence) throws IOException;\n\n\tvoid writeHeader() throws IOException ;\n\tvoid writeFooterAndClose() throws IOException ;\n\n\t\n}", "interface RowFormatter {\n char[] NULL_STRING = new char[]{'\\\\', 'N'};\n char[] EMPTY_STRING = new char[0];\n\n String format(char[][] row);\n\n String getFormat();\n\n static RowFormatter newInstance(String format, ResultSetSchema rsSchema) throws SQLException {\n if (format.equals(\"csv\")) return new CSVRowFormatter(rsSchema.getColumnTypes().size());\n if (format.equals(\"tsv\")) return new TSVRowFormatter(rsSchema.getColumnTypes().size());\n if (format.equals(\"json\")) return new JSONRowFormatter(rsSchema);\n throw new IllegalArgumentException(\"\\\"\" + format + \"\\\" is not supported. Use csv, tsv or json.\");\n }\n}", "protected void storeDataPath(FSDataOutputStream output, DataEntry storageEntry) throws IOException {\n OBJECT_MAPPER.writeValue(output, storageEntry);\n }" ]
[ "0.6973807", "0.6643611", "0.6433661", "0.6174475", "0.611647", "0.6081993", "0.5929263", "0.5857366", "0.5856432", "0.5759462", "0.5755962", "0.5706037", "0.57016426", "0.5666834", "0.56209904", "0.55572283", "0.5556614", "0.5552894", "0.5525884", "0.5509346", "0.5493484", "0.548233", "0.5474536", "0.54481244", "0.5395943", "0.53479224", "0.5339554", "0.53372574", "0.532038", "0.5311394", "0.5310344", "0.5298202", "0.52908856", "0.5280408", "0.52628255", "0.5252188", "0.5249016", "0.5245008", "0.523238", "0.5219894", "0.5218461", "0.5211529", "0.51918155", "0.51748383", "0.5160426", "0.5160013", "0.5158509", "0.5148181", "0.51331884", "0.51274174", "0.5126228", "0.5126192", "0.5123374", "0.51122344", "0.51077217", "0.5105295", "0.51041585", "0.5085684", "0.5080422", "0.5076976", "0.50758106", "0.50625396", "0.5053449", "0.50529736", "0.50327766", "0.5020305", "0.5020212", "0.5016665", "0.50049496", "0.500068", "0.49985334", "0.4996059", "0.49859244", "0.4984881", "0.4982429", "0.49810073", "0.49805295", "0.49802873", "0.49777725", "0.49717796", "0.49625933", "0.4960968", "0.49588063", "0.49465334", "0.4943791", "0.49321675", "0.4930159", "0.4917823", "0.4906916", "0.4902245", "0.48909798", "0.48791605", "0.4876714", "0.48765802", "0.4875596", "0.487446", "0.48711476", "0.48705617", "0.48700756", "0.48692194" ]
0.6456632
2
add an item to the list of pending work to be written.
void addItem(DataRecord record);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public synchronized void add(Integer item) {\r\n while (true) {\r\n if (buffer.size() == SIZE) {\r\n try {\r\n wait();\r\n } catch (InterruptedException e) {\r\n e.printStackTrace();\r\n }\r\n }\r\n buffer.add(item);\r\n notifyAll();\r\n return;\r\n }\r\n }", "public void enqueue(E item) {\n addLast(item);\n }", "public void addItem(QueueItem item) {\n qItems.add(item);\n\n //long previousItemSize=item.getSize();\n long previousItemSize = ((QueueItem) qItems.lastElement()).getSize();\n long rate = calculateDelay(item.getSize());\n QueueWorkerThread worker = new QueueWorkerThread(getContext(), item);\n\n synchronized (fileGroupToItemMap) {\n fileGroupToItemMap.put(item.getName(), worker);\n }\n\n if (qItems.size() == 1) {\n Debug.log(\n this,\n \"CollabQueue, item: \" + item.getName() + //NoI18n\t\n \" scheduling with nodelay and with rate: \" + rate\n ); //NoI18n\t\t\t\t\n worker.scheduleAtFixedRate(0, rate);\n } else {\n long delay = calculateDelay(previousItemSize);\n Debug.log(\n this,\n \"CollabQueue, item: \" + item.getName() + //NoI18n\n \" scheduling for: \" + delay + \" with rate: \" + rate\n ); //NoI18n\t\t\t\n worker.scheduleAtFixedRate(delay, rate);\n }\n }", "public void push(Object item) {\r\n\t\tdata.add(item);\r\n\r\n\t}", "public void addInvokeLater(DirItem item) {\n\t\tsynchronized (stack) {\n\t\t\tstack.add(0, item);\n\t\t}\n\n\t\tsynchronized (thread) {\n\t\t\t// Starts the worker thread if waiting\n\t\t\tthread.notify();\n\t\t}\n\t}", "public void store(Item item) {\n this.items.add(item);\n }", "public void additem(String item){\n\t\trep.takeitem(\"take \" + item);\n\t}", "void addItem (Item toAdd){\n\t\t\tthis.items.add(toAdd);}", "public void addReservable(Reservable item){\n // Adds an item to the manager\n listI.add(item);\n }", "void enqueue(T item) {\n contents.addAtTail(item);\n }", "void add(Item item);", "@Override\n public void add(Object item)\n {\n if (size == list.length)\n {\n Object [] itemInListCurrently = deepCopy();\n list = new Object[size * 2];\n\n System.arraycopy(itemInListCurrently, 0, list, 0, size);\n }\n\n list[size++] = item;\n }", "public void addItem(Object obj) {\n items.add(obj);\n }", "public void addWork(Work w) {\r\n\t\twork.add(w);\t\t\r\n\t}", "@SuppressWarnings(\"unchecked\")\n\tpublic void add(T item){\n\t\t\n\n\t\tif(currentsize == data.length-1){\n\t\t\tgrow();\n\t\t}\n\n\t\t\n\t\tdata[currentsize] = item;\n\t\tcurrentsize++;\n\n\n\t}", "public void add( int item ) \n {\n\t//queue is empty\n\tif ( queue.isEmpty() ) {\n\t queue.add( item );\n\t return;\n\t}\n\t\n\t//queue is not empty\n\telse {\n\t //find spot of insetion\n\t for ( int i = 0; i < queue.size(); i++ ) {\t\t\t \n\t\tif ( (int) queue.get(i) < item ) {\n\t\t queue.add( i, item );\n\t\t return;\n\t\t}\t\t\n\t }\n\t}\n }", "public void add(final int item) {\n if (!contains(item)) {\n set[size] = item;\n size += 1;\n }\n }", "public void addItem(Item item) {\n items.add(item);\n }", "public void addItem(Item item) {\n items.add(item);\n }", "public synchronized void put(T item) {\n\t\twhile(size == items.length) {\n\t\t\ttry {\n\t\t\t\tthis.wait();\n\t\t\t} catch (InterruptedException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\t\t\t\t\n\t\tint next = (end+1)%items.length;\n\t\titems[next] = item;\n\t\tend = next;\t\t\n\t\tsize++;\n\t\tif(size == 1) {\n\t\t\tthis.notifyAll();\n\t\t}\n\t}", "public void add(Object o) {\n Logger.log(\"DEBUG\", \"Data to add to queue: \" + o.toString());\n while(isLocked()) {\n try {\n Thread.sleep(10);\n }\n catch(InterruptedException ie) {\n // do nothing\n }\n }\n addToTail(o);\n LAST_WRITE_TIME = now();\n }", "public void append(Object item);", "public void addLast(Object item) {\r\n\t\tdata.add(item);\r\n\r\n\t}", "void push(T item) {\n contents.addAtHead(item);\n }", "public void add(T item) {\n\t\tcounts.put(item, counts.getOrDefault(item, 0) + 1);\n\t}", "public void addItem(final Item item) {\n\t\tnumberOfItems++;\n\t}", "public void addItem(Item item) {\n\t\tObjects.requireNonNull(item);\n\t\titems.add(item);\n\t}", "public void add(T ob) throws ToDoListException;", "public void addItem(Item i) {\n this.items.add(i);\n }", "public void addItemToList(String[] item) {\n \t\n \tcurrentTaskItems.add(item);\n }", "public void addItem(Item item) {\n if (winner(item)) {\n listItems.add(item);\n }\n }", "public void add(Task task){ this.tasks.add(task);}", "public Item addItem(Item item) {\r\n uniqueCounter++;\r\n items.add(item);\r\n return item;\r\n }", "public void add(int item) {\r\n if (!contains(item)) {\r\n items[NumItems++] = item;\r\n } else if (NumItems == MAX_LIST) {\r\n throw new ListFullException(\"List is full\");\r\n }\r\n }", "public void addTodoItem(TodoItem item) {\n todoItems.add(item);\n }", "@Override\r\n\tpublic void addItem(AbstractItemAPI item) {\n\t\titems.add(item);\r\n\t\t\r\n\t}", "public void addItem( Item anItem) {\n currentItems.add(anItem);\n }", "public void addItem(Item item) {\r\n\t\titems.add(item);\r\n\t}", "public void addItem(Item item) {\n _items.add(item);\n }", "public void add(E item)\n {\n\n Node<E> node = new Node<E>(item);\n // if it is the first item in the list, it sets the current item to the\n // new item\n if (size == 0)\n {\n current = node;\n current.join(current);\n size++;\n return;\n }\n\n Node<E> previous = current.previous();\n previous.split();\n node.join(current);\n previous.join(node);\n current = node;\n\n size++;\n }", "public void add(AuctionItem item) {\n logger.info(\"Scheduling AuctionItem %d for closing\",\n item.getItemInfo().getId());\n\n statusTimer.schedule(new AuctionExpiresTask(item.getItemInfo().getId()),\n item.getItemInfo().getEndTime());\n }", "void push(int item) {\r\n\t\tif (tos == 9)\r\n\t\t\tSystem.out.println(\"Stos jest pełny\");\r\n\t\telse\r\n\t\t\tstck[++tos] = item;\r\n\t}", "public void addItem(Item item){\n if(ChronoUnit.DAYS.between(LocalDate.now(), item.getBestBefore()) <= 2){\n //testInfoMessage = true; //ONLY FOR TESTING\n infoMessage(item.getName(), item.getBestBefore()); // DISABLE FOR TESTING\n }\n itemList.add(item);\n totalCost += item.getPrice();\n }", "public void add(int index, Object item)\n {\n items[index] = item;\n numItems++;\n }", "public void addItem(Item item) {\n\t\titems.add(item);\n\t}", "private void add(GroceryItem itemObj, String itemName) {\n\t\tbag.add(itemObj);\n\t\tSystem.out.println(itemName + \" added to the bag.\");\n\t}", "public void addItem(Item toAdd) {\n\t\tthis.items.add(toAdd);\n\t}", "public void push(E item) {\n addFirst(item);\n }", "public void addItem(Item itemToAdd){\n\t\tif(!isFull()){\n\t\t\tint index = findFreeSlot();\n\t\t\tinventoryItems[index] = itemToAdd;\n\t\t}\n\t\telse{\n\t\t\tSystem.out.println(\"Inventory full.\");\n\t\t}\n\t\t\n\t}", "public void addItem(SoldItem item) {\n\n items.add(item);\n log.debug(\"Added \" + item.getName() + \" quantity of \" + item.getQuantity());\n\n }", "public void addItem(Item item) {\n inventory.add(item);\n Thread updateUserThread = userController.new UpdateUserThread(LoginActivity.USERLOGIN);\n updateUserThread.start();\n synchronized (updateUserThread) {\n try {\n updateUserThread.wait();\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n }\n }", "public void add(T item) {\n if (nextindex >= list.length) {\n resize();\n }\n list[nextindex] = item;\n nextindex++;\n }", "protected void applyPendingAdds ()\n {\n while (!m_aAddStack.isEmpty ())\n addMonitoredFile (m_aAddStack.pop ());\n }", "public void addItem(Item item){\r\n items.add(item);\r\n total = items.getTotal();\r\n }", "public boolean add(T item) {\n boolean addSuccessful = items.add(item);\n if (addSuccessful) {\n currentSize = -1.0;\n inCapacitySize = -1.0;\n }\n return addSuccessful;\n }", "synchronized void putWork(PartialSolution sp) {\n\t\ttasks.add(sp);\n\t\t/* anuntam unul dintre workerii care asteptau */\n\t\tthis.notify();\n\n\t}", "public void add(Thing newThing)\r\n {\r\n \titems.add(newThing);\r\n }", "void add(T item);", "public synchronized void push(Object o) {\n itemcount++;\n addElement(o);\n notify();\n }", "public void enqueue(T item) {\n\t\tif(rear == capacity)\n\t\t\treSize();\n\t\tarr[rear] = item;\n\t\tSystem.out.println(\"Added: \" + item);\n\t\trear++;\n\t\tsize++;\n\t}", "public void add(Item item) {\n for (int i = 0; i < items.length; i++) {\n if (items[i] == null) {\n items[i] = item;\n break;\n }\n }\n }", "public void add(ItemInfo item) {\n\t\tsynchronized (mContents) {\n\t\t\titem.registerObserver(this);\n\t\t\tmContents.add(item);\n\t\t\tif (item instanceof ShortCutInfo) {\n\t\t\t\tif (((ShortCutInfo) item).getRelativeItemInfo() == null) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tmTotleUnreadCount += ((ShortCutInfo) item).getRelativeItemInfo().getUnreadCount();\n\t\t\t}\n\t\t}\n\t}", "@Override\n\tpublic void addToQueue() {\n\t}", "public void enqueue(E e) {\n\t\tlist.addLast(e);\n\t}", "public long insertWorkoutItem(String item) {\n\n ContentValues itemValues = new ContentValues();\n itemValues.put(KEY_WORKOUT, item);\n return db.insert(DATABASE_TABLE_WORKOUTS, null, itemValues);\n }", "public int addItem(Item i);", "public void add(Runnable task) {\n synchronized (mComIOQueue) {\n mComIOQueue.add(task);\n mComIOQueue.notify();\n }\n }", "@Override\n\tpublic void addTask(ISimpleTask task) {\n\t\ttry {\n\t\t\tqueue.put(task);\n\t\t} catch (InterruptedException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "public boolean add(T item) {\n\t\treturn list.add(item);\n\t}", "@Override\n public void addItem(ItemType item) {\n if (curArrayIndex > items.length - 1) {\n System.out.println(item.getDetails() + \" - This bin is full. Item cannot be added!\");\n }\n else if (item.getWeight() + curWeight <= maxWeight) {\n curWeight += item.getWeight();\n items[curArrayIndex++] = item;\n }\n else {\n System.out.println(item.getDetails() + \" - Overweighted. This item cannot be added!\");\n }\n if (item.isFragile()) {\n setLabel(\"Fragile - Handle with Care\");\n }\n\n }", "public void addToDoEntry(String toDoItem) {\n\t\t// adds a new item at the end of the list\n\t\ttoDoList.add(new ToDoEntry(toDoItem));\n\t}", "public void addLast(Item x);", "@Override\r\n public boolean add(Item item){\r\n if(item.stackable&&contains(item)){\r\n stream().filter(i -> i.name.endsWith(item.name)).forEach(i -> {\r\n i.quantity += item.quantity;\r\n });\r\n }else if(capacity<=size()) return false;\r\n else super.add(item);\r\n return true;\r\n }", "public void enqueue (Item item){\n Node<Item> oldLast = last;\n last = new Node<Item>();\n last.item = item;\n last.next = null;\n if(isEmpty()) {first = last;}\n else oldLast.next = last;\n N++;\n }", "public void enqueue(T item) {\n\t\tNode<T> oldlast = last;\n\t\tlast = new Node<>();\n\t\tlast.item = item;\n\t\tlast.next = null;\n\t\tif (isEmpty()) first = last;\n\t\telse oldlast.next = last;\n\t\tN++;\n\t}", "private void addItem(UndoItem item, RefactoringSession session) {\n if (wasUndo) {\n LinkedList<UndoItem> redo = redoList.get(session);\n redo.addFirst(item);\n } else {\n if (transactionStart) {\n undoList.put(session, new LinkedList<UndoItem>());\n descriptionMap.put(undoList.get(session), description);\n transactionStart = false;\n }\n LinkedList<UndoItem> undo = this.undoList.get(session);\n undo.addFirst(item);\n }\n if (!(wasUndo || wasRedo)) {\n redoList.clear();\n }\n }", "@Override\r\n\tpublic void push(String item) {\n\t\tvector.addElement(item);\r\n\t\t\r\n\t}", "public void addQueuedObject(Obstacle obj) {\n\t\tassert inBounds(obj) : \"Object is not in bounds\";\n\t\taddQueue.add(obj);\n\t}", "public void addItem(Collectable item){\n \tif (!(item instanceof Token)) {\n \t\titems.add(item);\n \t}\n }", "public void put(Item item) {\n for (; ; ) {\n\n if (!isResizing.get()) {\n //if a resize is currently not happening\n\n if (itemCount.get() > (0.75f * items.length)) {\n isResizing.getAndSet(true);\n resize();\n isResizing.getAndSet(false);\n }\n\n\n int index = item.hash() & (items.length - 1);\n Item current = items[index];\n\n if (current == null) {\n itemCount.compareAndSet(itemCount.get(), itemCount.get() + 1);\n items[index] = item;\n System.out.println(\"Successfully added: \" + item.toString());\n\n break;\n } else {\n itemCount.compareAndSet(itemCount.get(), itemCount.get() + 1);\n System.out.println(\"Successfully added: \" + item.toString());\n current.addToEnd(item);\n break;\n }\n\n }\n }\n\n }", "@Override\n public void add(E work) {\n if(isFull()) {\n throw new IllegalStateException();\n }\n array[end] = work;\n end = (end + 1) % capacity();\n size++;\n }", "@Override\n\tpublic void push(E item) {\n\t\t\n\t}", "public void addToQueue(Unit unit) {\n if (units.size() < maxStock) {\n endTime = System.currentTimeMillis() + unit.getBuildTime();\n units.add(unit);\n }\n }", "public void add(ToDoItem item) {\n mItems.add(item);\n notifyDataSetChanged();\n }", "private void insertItem() {\n System.out.println(\"What is the priority level of the task: \\n\\tH -> high \\n\\tM -> medium \\n\\tL -> low\");\n char priorityLevel = scanner.next().toUpperCase().charAt(0);\n\n priorityLevel = checkPriorityLevel(priorityLevel);\n Categories category;\n if (priorityLevel == 'H') {\n category = Categories.HIGHPRIORITY;\n } else if (priorityLevel == 'M') {\n category = Categories.MIDPRIORITY;\n } else {\n category = Categories.LOWPRIORITY;\n }\n\n System.out.println(\"Enter the name of the task:\");\n scanner.nextLine();\n String name = scanner.nextLine();\n\n String daysBeforeDue = acceptDaysBeforeDue();\n\n Item item = new Item(name, daysBeforeDue, category);\n toDoList.insert(item);\n System.out.println(\"Added successfully!\");\n\n System.out.println(\"Updated to-do list:\");\n viewList();\n }", "public void addProduct(Product item)\n {\n stock.add(item);\n }", "public void Add(String item) {\n byte[] bites = Utils.hexToBytes(item);\n mpBuffer += Utils.bytesToHex(bites);\n mLenght += bites.length;\n mBackOffset = mLenght;\n }", "public void addLast(E item);", "public int addTask(Item item) {\n try (Session session = this.factory.openSession()) {\n session.beginTransaction();\n session.save(item);\n session.getTransaction().commit();\n } catch (Exception e) {\n this.factory.getCurrentSession().getTransaction().rollback();\n }\n return item.getId();\n }", "void push(Object item);", "void addDoneTasks(List<Task> task);", "public void addLast(Item item) {\n this.doublyLinkedList.addLast(item);\n\n }", "public void enqueue(Item item){\n if (item == null){ throw new NullPointerException(\"Cannot add a null item\"); }\n\n // fill the nulls\n if(itemCount < array.length) {\n for(int i=0;i<array.length;i++) {\n if(array[i] == null) {\n array[i] = item;\n break;\n }\n }\n }\n // resize when too big\n if(itemCount == array.length){\n resize(2*itemCount);\n array[itemCount] = item;\n }\n itemCount++; // Item added!!\n }", "void addFruit(Fruit item){\n\t\tfruitList.add(item);\n\t}", "public boolean add(T item) {\n // offer(T e) is used here simply to eliminate exceptions. add returns false only\n // if adding the item would have exceeded the capacity of a bounded queue.\n return q.offer(item);\n }", "public void enqueue(Item item) \n {\n stack1.push(item);\n }", "public void addCommandMutable(ListItem task) {\n this.listItems.add(task);\n }", "void push(Recycler.DefaultHandle<?> item)\r\n/* 519: */ {\r\n/* 520:554 */ Thread currentThread = Thread.currentThread();\r\n/* 521:555 */ if (this.threadRef.get() == currentThread) {\r\n/* 522:557 */ pushNow(item);\r\n/* 523: */ } else {\r\n/* 524:562 */ pushLater(item, currentThread);\r\n/* 525: */ }\r\n/* 526: */ }", "public void add(Item item) {\r\n Node x = current.prev; //prev node\r\n Node y = new Node(); //new node\r\n Node z = current; //current node\r\n y.item = item;\r\n x.next = y;\r\n y.next = z;\r\n z.prev = y;\r\n y.prev = x;\r\n n++;\r\n index++;\r\n lastAccessed = null;\r\n }", "public void enqueue (T item) {\n leftStack.push(item);\n }", "public void add(E item) {\n\t\tDblListnode<E> tmp = lastNode;\n\t\tlastNode.setNext(new DblListnode<E>(item));\n\t lastNode = lastNode.getNext();\n\t lastNode.setPrev(tmp);\n\t numItems++;\n\t}" ]
[ "0.6752151", "0.65343773", "0.6494882", "0.6438706", "0.64367515", "0.6427262", "0.6396314", "0.63757336", "0.6342091", "0.6328771", "0.6324141", "0.6309452", "0.63034284", "0.62853974", "0.6229313", "0.6225419", "0.6223917", "0.62077624", "0.62077624", "0.61983085", "0.6171362", "0.6127933", "0.6120599", "0.6114359", "0.6108761", "0.6101341", "0.609969", "0.6084096", "0.6068196", "0.6056546", "0.6054263", "0.60496217", "0.60486645", "0.6043371", "0.60402954", "0.6024531", "0.6001851", "0.5988271", "0.5987059", "0.59854496", "0.59753054", "0.59723324", "0.5948361", "0.5932218", "0.5926247", "0.59254766", "0.591892", "0.5913291", "0.5912309", "0.5909956", "0.5908672", "0.5904466", "0.59014416", "0.58711374", "0.58615214", "0.5859896", "0.58544624", "0.5844095", "0.584382", "0.5837246", "0.58292264", "0.58279634", "0.5826485", "0.5820701", "0.58083534", "0.5807669", "0.5805979", "0.58041835", "0.5801588", "0.57973933", "0.579417", "0.57923627", "0.578933", "0.578712", "0.57652146", "0.5765114", "0.57598376", "0.5756316", "0.5755939", "0.57524264", "0.574999", "0.57490677", "0.57459545", "0.5744113", "0.5734308", "0.5729099", "0.57248306", "0.57187384", "0.57152104", "0.57120776", "0.5704458", "0.5699146", "0.5698279", "0.569396", "0.5683673", "0.568308", "0.5681894", "0.5679143", "0.5673921", "0.5672744", "0.56718135" ]
0.0
-1
flush the list of work to be written
void flushBatch();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void flush() {\n\t\t\n\t}", "public void flush();", "public void flush();", "public void flush();", "public void flush();", "public abstract void flush();", "@Override\r\n\tpublic void flush() {\n\t\t\r\n\t}", "@Override\n public void flush()\n {\n }", "@Override\r\n\tpublic void flush() {\n\t}", "@Override\r\n public void flush ()\r\n {\r\n }", "public void flush() {\n flushed = true;\n }", "@Override\r\n\tpublic void flushAll() {\n\t\t\r\n\t}", "@Override\n\tpublic void flush() {\n\t}", "@Override\n public void flush() {\n }", "@Override\n public void flush() {\n }", "@Override\n public void flush() {\n }", "public void flush() {\n wasFlushed = true;\n }", "@Override\n\tpublic void flush() {\n\t\t\n\t}", "@Override\n\tpublic void flush() {\n\t\t\n\t}", "@Override\n\tpublic void flush() {\n\t\t\n\t}", "@Override\n\tpublic void flush() {\n\t\t\n\t}", "void flush() {\r\n synchronized (sync) {\r\n updatedFiles.clear();\r\n }\r\n }", "public void flush () {\n\t\ttracker.flush();\n\t}", "boolean flush_all();", "void flush();", "void flush();", "void flush();", "void flush();", "void flush();", "void flush();", "void flush();", "void flush();", "synchronized void flushAll(int txnum) {\n\t \n for (ExerciseBuffer buff : bufferpool)\n if (buff.isModifiedBy(txnum))\n buff.flush();\n }", "public void flush() throws IOException;", "public void flush() throws IOException;", "public void flush() throws IOException;", "@Override\r\n public void flush() {\n\r\n }", "public synchronized void flush() {\n\t\ttry {\n\t\t\tcloseWriter();\n\t\t} catch(IOException ioe ) {\n\t\t\tioe.printStackTrace();\n\t\t}\n\n\t\ttry {\n\t\t\topenWriter(true);\n\t\t} catch(IOException ioe ) {\n\t\t\tioe.printStackTrace();\n\t\t}\n\t}", "public void flush() {\r\n\t\ttry {\r\n\t\t\tdos.flush();\r\n\t\t} catch (IOException e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}", "void flush() throws Exception;", "public void flush() {\n writer.flush();\n }", "@Override\r\n public void flush() {\n\r\n }", "@Override\n public void flush() throws IOException {\n }", "public void flush() {\n mMessages.postToServer();\n }", "synchronized void flushAll(int txnum) {\n for (Buffer buff : bufferpool)\n if (buff.isModifiedBy(txnum))\n buff.flush();\n }", "void flush() throws IOException;", "void flush() throws IOException;", "void flush() throws IOException;", "void flushBlocking();", "public void flush() {\n\t\tupdateCounter++;\n//\t\trules.update();\n\t}", "void flushAll() {\n dirtyS = true;\n dirtyD = true;\n modelRoot.incrementNumberOfDirtySNodes();\n modelRoot.incrementNumberOfDirtyDNodes();\n }", "public void flush() throws IOException {\n\t\t// TODO implement me\n\t}", "public void flush() throws IOException\n {\n getStream().flush();\n }", "private void flushData()\n {\n try\n {\n while(state.get().ordinal() < SimulationState.TEARING_DOWN.ordinal() || !flushing.isEmpty())\n {\n ICardinality cardinality = flushing.poll(1, TimeUnit.MILLISECONDS);\n if (cardinality == null)\n continue;\n\n long numToFlush = cardinality.cardinality();\n counters.numFlushed.addAndGet(numToFlush);\n generateSSTables(cardinality, numToFlush, partitioner.getMinimumToken(), partitioner.getMaximumToken(), \"flushing\", true);\n }\n }\n catch (InterruptedException e)\n {\n logger.error(\"Exception happen during flushing\", e);\n }\n }", "public void flush()\r\n {\r\n if ( content != null )\r\n {\r\n content.flush();\r\n }\r\n }", "public int flush()\n/* */ {\n/* 145 */ return 0;\n/* */ }", "public void flushStreamSpecs();", "public void flush(){\r\n mBufferData.clear();\r\n }", "@Override\r\n public synchronized void flush() throws IOException {\r\n\t\tif ( count != 0 ) {\r\n\t\t writeBuffer(buf, 0, count );\r\n\t\t count = 0;\r\n\t\t}\r\n\t}", "@Override\n public void hflush() throws IOException {\n hsync();\n }", "public void flushAndSubmit() {\n nFlushAndSubmit(mNativeInstance);\n }", "public synchronized void flush() throws IOException {\n\t\tcheckNotClosed();\n\t\ttrimToSize();\n\t\tjournalWriter.flush();\n\t}", "public void flush() {\n\t\tGson gson = new GsonBuilder().serializeNulls().setPrettyPrinting().create();\n\t\tPath systemsFile = this.dir.resolve(SYSTEMS_FILE);\n\t\ttry (var writer = Files.newBufferedWriter(systemsFile)) {\n\t\t\tgson.toJson(this.systemsConfig, writer);\n\t\t\twriter.flush();\n\t\t} catch (IOException e) {\n\t\t\tlog.error(\"Could not save systems config.\", e);\n\t\t}\n\t\tfor (var config : this.guilds.values()) {\n\t\t\tconfig.flush();\n\t\t}\n\t}", "public void flush()\r\n\tthrows IOException\r\n\t{\r\n\tgetWriter().flush();\r\n\treturn;\r\n\t}", "private void flushOutbound0() {\n/* 454 */ runPendingTasks();\n/* */ \n/* 456 */ flush();\n/* */ }", "public synchronized void flush() throws java.io.IOException { throw new RuntimeException(\"Stub!\"); }", "@Override\n\tpublic void flushCars() {\n\t\tinList.flush();\n\t}", "public void flush() throws Exception{\r\n\tout.flush();\r\n}", "@Override\n public void flush() throws IOException {\n checkStreamState();\n flushIOBuffers();\n }", "private void flush() {\n\t\ttry {\n\t\t\tif (mResultSet != null) {\n\t\t\t\tmResultSet.close();\n\t\t\t}\n\n\t\t\tif (mStatement != null) {\n\t\t\t\tmStatement.close();\n\t\t\t}\n\t\t} catch (Exception e) {\n\n\t\t}\n\t}", "public synchronized void flushAll()\n {\n profiles.clear();\n flushProfileNames();\n flushUserProfileAssignments();\n profilePerms.clear();\n nameToId.clear();\n }", "public void flush(){\n\t\ttry{\n\t\t\tse.write(buffer, 0, bufferPos);\n\t\t\tbufferPos = 0;\n\t\t\tse.flush();\n\t\t}catch(IOException ioex){\n\t\t\tfailures = true;\n\t\t}\n\t}", "protected void deferFlush()\n {\n // push next flush out to avoid attempts at multiple simultaneous\n // flushes\n m_lNextFlush = Long.MAX_VALUE;\n }", "public void flushAndClose() throws TxnBatchFailure, TxnFailure, CommitFailure,\n IOException, InterruptedException {\n flush(false);\n close();\n }", "void flushDB();", "public static void flush() {\n try {\n sDiskLruCache.flush();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "public void flush()\n/* */ throws IOException\n/* */ {\n/* 833 */ _flushBuffer();\n/* 834 */ if ((this._writer != null) && \n/* 835 */ (isEnabled(JsonGenerator.Feature.FLUSH_PASSED_TO_STREAM))) {\n/* 836 */ this._writer.flush();\n/* */ }\n/* */ }", "public void flushBuffers()\n throws IOException\n {\n pool.moveToStart();\n Buffer buffer;\n while (pool.getValue() != null)\n {\n buffer = pool.remove();\n if (buffer.isDirty())\n {\n file.seek(buffer.getBlockNumber() * BLOCK_SIZE);\n file.write(buffer.readBlock());\n diskWrites++;\n }\n }\n }", "public void flush() {\r\n // Flushing is required only if there are written bytes in\r\n // the current data element.\r\n if (bytenum != 0) {\r\n data[offset] = elem;\r\n }\r\n }", "public void forceFlush() throws IOException {\n flushCurrentIndexBlock();\n }", "public void flush() throws IOException {\n mPrintWriter.flush();\n }", "private void flush() throws IOException {\n if (!rates.isEmpty()) {\n writeRates();\n rates.clear();\n firstBatch = false;\n }\n }", "public void flush() throws IOException {\n dos.flush();\n }", "@Override\n public void flushFlows() {\n LOG.info(\"flushFlows: creating flowWriter task, writing [{}] flows.\",\n setOfFlowsToAdd.size());\n\n FlowSetWriterTask writerThread = new FlowSetWriterTask(setOfFlowsToAdd);\n\n try {\n threadPoolExecutorService.execute(writerThread);\n } catch (Exception ex) {\n LOG.error(LOGSTR_THREAD_EXCEPTION, ex.toString());\n }\n\n // Clear the entries\n setOfFlowsToAdd.clear();\n }", "public void flushData (){\n\t\tTransaction tx = this.pm.currentTransaction();\n\t\ttry {\n\t\t\tif (this.pm.currentTransaction().isActive ()){\n\t\t\t\tthis.pm.currentTransaction().commit();\n\t\t\t}\n\t\t} catch (Exception e){\n\t\t\tApplication.getLogger ().error (\"Error flushing data for persistence. \", e);\n\t\t\te.printStackTrace();\n\t\t\ttx.rollback();\n\t\t}\n//\t\ttx.begin();\n\t}", "private void flush() {\n try {\n output.write(digits);\n } catch (IOException e) {\n throw new RuntimeException(e.toString());\n }\n digits = 0;\n numDigits = 0;\n }", "private void commitAll(){\n if(isDiskBufferEnabled && persistenceService != null){\n persistenceService.commit(WIKIDATA_SYNONYMY_BUFFER);\n persistenceService.commit(WIKIDATA_HYPERNYMY_BUFFER);\n persistenceService.commit(WIKIDATA_ASK_BUFFER);\n }\n }", "public void flush() {\n trans.set(kernel.get().asArray());\n actions.forEach(Runnable::run);\n actions.clear();\n kernel.free();\n kernel = Matrix4F.ident();\n }", "public void flush() {\r\n if (SwingUtilities.isEventDispatchThread()) {\r\n flushImpl();\r\n } else {\r\n synchronized (this) {\r\n if (!flusherRunning) {\r\n SwingUtilities.invokeLater(flusher);\r\n flusherRunning = true;\r\n }\r\n }\r\n }\r\n }", "@Override\n public void flush() {\n new QueueConsumer().run();\n }", "public void flush() {\n synchronized (getLock()) {\n sIndexWritersCache.flush(this);\n sIndexReadersCache.removeIndexReader(this);\n }\n }", "public void flushAllTables() {\n\t}", "@Override\n public void flush() throws IOException{\n HBasePlatformUtils.flush(region);\n }", "public void flush() {\n\t\tgetSession().flush();\n\t}", "public static void sync() {\n // write out superblock if updated\n // write out free list blocks if updated\n // write out inode blocks if updated\n // write out data blocks if updated\n\n // at present, all changes to inodes, data blocks, \n // and free list blocks\n // are written as they go, so this method does nothing.\n }", "@Override\r\n\tpublic void flushAll(Date date) {\n\t\t\r\n\t}", "private synchronized void flush() {\r\n\t\tif (!buffer.isEmpty()) {\r\n\t\t\tfor (final LoggingRecord record : buffer) {\r\n\t\t\t\thandler.handle(record);\r\n\t\t\t}\r\n\t\t\tbuffer.clear();\r\n\t\t}\r\n\t}", "public void flush() {\n\t\tthis.getCurrentSession().flush();\r\n\t}", "public void flush() {\n // all getAndSet will not be synchronous but it's ok since metrics will\n // be spread out among processor worker and we flush every 5s by\n // default\n\n processor.send(new TelemetryMessage(this.metricsSentMetric, this.metricsSent.getAndSet(0), tags));\n processor.send(new TelemetryMessage(this.eventsSentMetric, this.eventsSent.getAndSet(0), tags));\n processor.send(new TelemetryMessage(this.serviceChecksSentMetric, this.serviceChecksSent.getAndSet(0), tags));\n processor.send(new TelemetryMessage(this.bytesSentMetric, this.bytesSent.getAndSet(0), tags));\n processor.send(new TelemetryMessage(this.bytesDroppedMetric, this.bytesDropped.getAndSet(0), tags));\n processor.send(new TelemetryMessage(this.packetsSentMetric, this.packetsSent.getAndSet(0), tags));\n processor.send(new TelemetryMessage(this.packetsDroppedMetric, this.packetsDropped.getAndSet(0), tags));\n processor.send(new TelemetryMessage(this.packetsDroppedQueueMetric, this.packetsDroppedQueue.getAndSet(0), tags));\n processor.send(new TelemetryMessage(this.aggregatedContextsMetric, this.aggregatedContexts.getAndSet(0), tags));\n }", "public void flush() throws SolrServerException, IOException {\n if (adds > 0) {\n Map<Integer, Map<String, SolrInputDocument>> maps = writeBuffers.asMap();\n for (Map.Entry<Integer, Map<String, SolrInputDocument>> entry : maps.entrySet()) {\n if (entry.getValue().size() > 0) {\n delegateWriter.add(entry.getKey(), ImmutableMap.copyOf(entry.getValue()));\n }\n }\n docOutputCounter.increment(adds);\n docBatchCounter.increment(1L);\n adds = 0;\n writeBuffers.invalidateAll();\n }\n }" ]
[ "0.77768123", "0.77741313", "0.77741313", "0.77741313", "0.77741313", "0.7543172", "0.75250006", "0.7520394", "0.7489378", "0.7479214", "0.746288", "0.74584895", "0.7450706", "0.7441393", "0.7441393", "0.7441393", "0.74365056", "0.7421355", "0.7421355", "0.7421355", "0.7421355", "0.73833764", "0.7345806", "0.7255761", "0.7240851", "0.7240851", "0.7240851", "0.7240851", "0.7240851", "0.7240851", "0.7240851", "0.7240851", "0.7173014", "0.7004177", "0.7004177", "0.7004177", "0.6978502", "0.6969891", "0.6933215", "0.69227004", "0.6922381", "0.69083565", "0.68740857", "0.685188", "0.68277156", "0.67851883", "0.67851883", "0.67851883", "0.677842", "0.67661715", "0.67383623", "0.672816", "0.66780704", "0.6662012", "0.665948", "0.6651758", "0.6643669", "0.6625887", "0.65794766", "0.6577756", "0.65756536", "0.653948", "0.6502928", "0.64973664", "0.64556354", "0.6455604", "0.64545274", "0.64469033", "0.64207536", "0.6418854", "0.6417103", "0.64122504", "0.63992274", "0.6396875", "0.63932157", "0.63885206", "0.6386855", "0.6369024", "0.63613224", "0.63510334", "0.6346145", "0.63132405", "0.6311997", "0.6297766", "0.6266239", "0.6232527", "0.62301296", "0.6219255", "0.6210106", "0.6198636", "0.61922514", "0.61887276", "0.61825186", "0.6159877", "0.61542743", "0.6150371", "0.614457", "0.6143641", "0.6133099", "0.6131637" ]
0.72993326
23
called by the system just prior to a normal shutdown.
void finish();
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void abnormalShutDown() {\n\t}", "void prepareForShutdown();", "public void shutdown() {\n/* 188 */ this.shutdown = true;\n/* */ }", "@Override\n public void shutdownNow() {\n }", "public void cleanShutDown () {\n shutdown = true;\n }", "public void shutdownNow() {\n }", "public void shutdown() {\n // no-op\n }", "public void shutdown()\n {\n // nothing to do here\n }", "@Override\n\t\tprotected void shutdown() {\n\n\t\t}", "@Override\r\n\tprotected void shutdownSpecific() {\n\r\n\t}", "public static void shutdown() {\n\t\t// Ignore\n\t}", "@Override\n public void shutdown()\n {\n // nothing to do\n }", "@Override\n public void waitShutdown() {\n // Do nothing.\n }", "public void shutdown()\n {\n // todo\n }", "public void shutdown() {\n this.isShutdown = true;\n }", "protected void shutdown() {\n\r\n }", "public void shutdown() {\n\t\t\n\t}", "@Override\n public void shutdown() {\n }", "@Override\n public void shutdown() {\n }", "@Override\n public void shutdown() {\n }", "public void shutdown() {\n // For now, do nothing\n }", "@Override\n public void postEnvCall() {\n shutdown(this.getEnvironment());\n }", "public static void shutdown() {\n\t}", "@Override\n public void shutdown() {\n }", "protected abstract void shutdown();", "public void shutdown(){\n \tSystem.out.println(\"SHUTTING DOWN..\");\n \tSystem.exit(0);\n }", "public void shutdown() {\n shutdown(false);\n }", "@Override\n\tpublic void shutdown() {\n\t\t\n\t}", "@Override\n\tpublic void shutdown()\n\t{\n\t}", "@Override\n protected void shutdown() {\n super.shutdown();\n // Now perform any other shutdown tasks you need.\n // ...\n }", "public void shutdown() {\n }", "@Override\n public void shutdown() {\n // Do nothing.\n }", "@Override\n\tpublic void shutdown() {\n\t}", "@Override\n\tpublic void shutdown() {\n\t}", "@Override\n protected void shutDown() {\n }", "public void shutdown() {\n this.dontStop = false;\n }", "@Override\n\tprotected void shutdown() throws Throwable {\n\t\t\n\t}", "public void forceShutdown() {\n shutdown(true);\n }", "@Override\n\tpublic void shutdown() {\n\n\t}", "public void shutdown() {\n this.shallRun = false;\n this.interrupt();\n Log.getLog().info(\"catched caretaker termination signal\");\n }", "public void shutdown()\n\t{\n\t\t; // do nothing\n\t}", "private static void shutdownGracefully() {\n //record out file time for the last access to the stream.\n try {\n disruptor.shutdown();\n setLastReadTime();\n closeCouchbaseClient();\n } catch (Exception ex) {\n //not much we can do, what if our logging is already shutdown or not up\n // when this happens?\n ex.printStackTrace();\n }\n\n }", "public abstract void shutdown();", "public abstract void shutdown();", "public abstract void shutdown();", "public abstract void shutdown();", "void shutdown();", "void shutdown();", "void shutdown();", "void shutdown();", "void shutdown();", "void shutdown();", "void shutdown();", "void shutdown();", "void shutdown();", "void shutdown();", "void shutdown();", "void shutdown();", "void shutdown();", "void shutdown();", "void shutdown();", "void shutdown();", "void shutdown();", "public void shutdown();", "public void shutdown();", "public void shutdown();", "public void shutdown();", "@Override\n public void shutDown() {\n }", "public void shutdown() {\r\n System.exit(0);\r\n }", "void shutdown() throws Exception;", "public void shutDown()\n {\n // Runtime.getRuntime().removeShutdownHook(shutdownListener);\n //shutdownListener.run();\n }", "public synchronized void terminate () {\n shutdown = true;\n }", "public void shutdownSilently() {\n shutdownSilently(true);\n }", "@Programmatic\n public void shutdown() {\n LOG.info(\"shutting down {}\", this);\n\n cache.clear();\n }", "@Override\n public void postBootSetup() {\n }", "@Override\n protected void shutdownService() {\n }", "@Override\n\tpublic void shutDown() {\n\t\tSystem.out.println(\"disk shutdown!\");\n\t}", "public void doMyStartupStuffDestroy() {\n System.out.println(\"destroy method\");\n }", "@Override\n\tprotected void onShutdown(ApplicationEvent event) {\n\t\t\n\t}", "@Override\n\tpublic boolean isShutdown() {\n\t\treturn false;\n\t}", "@Override\r\n\tpublic void shutdown() {\n\t\tunRigisterMBean();\r\n\t}", "public static void systemShutdown() throws IOException {\n\t\t/*Runtime runtime = Runtime.getRuntime();\n\t\tProcess proc = runtime.exec(\"shutdown -l -t 30\");//.exec(\"shutdown -l\");//.exec(\"shutdown -l -t 0\").exec(\"shutdown -r\");\t\t\n\t\tSystem.out.println(\"\"+proc);\n\t\tSystem.exit(0);*/\n\t}", "private static void addShutdownHook() {\n Runtime.getRuntime().addShutdownHook(new Thread() {\n @Override\n public void run() {\n System.out.println(\"I'm packing my stuff together.\");\n shutdown = true;\n Utility.sleep(WAIT_TIME_TO_SHUTDOWN);\n System.out.println(\"I'm going home.\");\n }\n });\n }", "void shutdown() {\n\t\t\tshutdown = true;\n\t\t\tsel.wakeup();\n\t\t}", "public void shutdownNow() {\n\t\tupdater.shutdownNow();\n\t}", "private void shutdown() {\n log.info(\"Shutting down\");\n kafka.shutdown();\n zookeeper.shutdown();\n }", "public void shutdown()\n {\n shutdown = true;\n cil.shutdown();\n }", "public static void shutdown() {\n resetCache();\n listeningForChanges = false;\n }", "public synchronized void shutDown() {\n\t state.shutDown();\n\t}", "@Override\r\n protected void shutdownInternal() {\r\n service.stop();\r\n }", "public void shutDown();", "public void runShutdown() {\n readCharacteristic(blecharMap, GattAttributes.SHUTDOWN);\n }", "protected void shutdown()\n throws SwiftletException {\n if (config == null)\n return;\n if (traceSpace.enabled) traceSpace.trace(getName(), \"shutdown ...\");\n rlgroups.clear();\n groups.clear();\n users.clear();\n publicRLGroup = null;\n publicGroup = null;\n authenticationOff = true;\n config = null;\n if (traceSpace.enabled) traceSpace.trace(getName(), \"shutdown: done.\");\n }", "public static void triggerImmediateForcefulShutdown() {\n triggerImmediateForcefulShutdown(1);\n }", "@PreDestroy\r\n\tpublic void doMyCleanupStuff() {\r\n\t\tSystem.out.println(\">> TennisCoach: inside of doMyCleanupStuff()\");\r\n\t}", "@PreDestroy\n\tpublic void doMyCleanupStfff() {\n\t\tSystem.out.println(\">> TennisCoach: inside of doMyCleanupStuff\");\n\t}", "@Override\n public void shutdown() {\n debugLogger.finest(\"enter\");\n userLogger.info(\"Initiating shutdown\");\n\n if (state == SMState.RUNNING) {\n debugLogger.info(\"state == RUNNING\");\n state = SMState.STARTED;\n interruptThread(runThread);\n }\n\n if (state == SMState.STARTED) {\n debugLogger.info(\"state == STARTED\");\n sessionPool.empty();\n\n state = SMState.STOPPED;\n }\n\n debugLogger.info(\"state == STOPPED\");\n\n userLogger.info(\"Shutdown complete\");\n debugLogger.finest(\"exit\");\n }", "protected void onDispose() {\n\t\t/* Shutdown procedure */\n\t\tshutDown();\n\t}", "public void notifyShutdown();", "void shutDown();", "public void earlyStartup() {\r\n\t\ttry {\r\n\t\t\tearlyStartupInternal();\r\n\t\t} catch (Throwable t) {\r\n\t\t\tlogger.error(\"Unexpected Error\", t);\r\n\t\t}\r\n\t}" ]
[ "0.773165", "0.76510054", "0.7468604", "0.74063843", "0.73485845", "0.7282885", "0.72025967", "0.71448386", "0.7091498", "0.7041888", "0.7035124", "0.70278746", "0.70035464", "0.7003387", "0.69664824", "0.69542515", "0.6925028", "0.69130296", "0.69130296", "0.69130296", "0.69102466", "0.689959", "0.6897658", "0.6856136", "0.6850703", "0.6831244", "0.6828334", "0.68199927", "0.6783582", "0.6776671", "0.6762977", "0.67559016", "0.67469615", "0.67469615", "0.6746759", "0.6746476", "0.6732925", "0.6715505", "0.669942", "0.6678574", "0.662679", "0.657026", "0.6566321", "0.6566321", "0.6566321", "0.6566321", "0.6551442", "0.6551442", "0.6551442", "0.6551442", "0.6551442", "0.6551442", "0.6551442", "0.6551442", "0.6551442", "0.6551442", "0.6551442", "0.6551442", "0.6551442", "0.6551442", "0.6551442", "0.6551442", "0.6551442", "0.6542337", "0.6542337", "0.6542337", "0.6542337", "0.6529844", "0.65208703", "0.65086037", "0.6477721", "0.6470153", "0.6468293", "0.6462781", "0.642541", "0.64023906", "0.6352901", "0.6346969", "0.63437927", "0.63383555", "0.6318316", "0.6316411", "0.63043857", "0.6292598", "0.6292217", "0.6278786", "0.6276656", "0.6274661", "0.626314", "0.6259538", "0.6255898", "0.62544763", "0.62529635", "0.6240612", "0.6232136", "0.6225458", "0.6218686", "0.6209055", "0.6187716", "0.61779135", "0.6171354" ]
0.0
-1
Use the current date as the default date in the picker
@Override public Dialog onCreateDialog(Bundle savedInstanceState) { final Calendar c = Calendar.getInstance(); int year = c.get(Calendar.YEAR); int month = c.get(Calendar.MONTH); int day = c.get(Calendar.DAY_OF_MONTH); // Create a new instance of DatePickerDialog and return it return new DatePickerDialog(getActivity(), this, year, month, day); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setTodayDate() {\n\t\tfinal Calendar c = Calendar.getInstance();\r\n\t\tmYear = c.get(Calendar.YEAR);\r\n\t\tmMonth = c.get(Calendar.MONTH);\r\n\t\tmDay = c.get(Calendar.DAY_OF_MONTH);\r\n\r\n\t\tmaxYear = mYear - 10;\r\n\t\tmaxMonth = mMonth;\r\n\t\tmaxDay = mDay;\r\n\r\n\t\tminYear = mYear - 110;\r\n\t\tminMonth = mMonth;\r\n\t\tminDay = mDay;\r\n\t\t// display the current date (this method is below)\r\n\t\t// updateDisplay();\r\n\t\t updateDisplay(maxYear, maxMonth, maxDay);\r\n\t}", "public void set_value_to_default() {\n this.selectionListStrike.setText(\"\");\n this.selectionListCal_iv.setText(\"\");\n this.selectionListUlast.setText(\"\");\n String format = new SimpleDateFormat(\"dd/MM/yyyy\").format(new Date());\n int parseInt = Integer.parseInt(format.substring(6, 10));\n int parseInt2 = Integer.parseInt(format.substring(3, 5));\n int parseInt3 = Integer.parseInt(format.substring(0, 2));\n this.selectedDate = parseInt + \"-\" + parseInt2 + \"-\" + parseInt3;\n this.selectionListExpiry.setSelectedText(format);\n this.selectionListExpiry.initItems(R.string.set_date, SelectionList.PopTypes.DATE, parseInt, parseInt2, parseInt3);\n if (!this.wtype.equals(\"C\")) {\n this.callputbutton.callOnClick();\n }\n }", "public void setDate() {\n DatePickerDialog dateDialog = new DatePickerDialog(this, myDateListener,\n calendar.get(Calendar.YEAR), calendar.get(Calendar.MONTH), calendar.get(Calendar.DATE));\n //set the date limits so user cannot pick a date outside of game scope\n dateDialog.getDatePicker().setMinDate(System.currentTimeMillis() + MILLIS_IN_DAY);\n dateDialog.getDatePicker().setMaxDate(System.currentTimeMillis() + (MILLIS_IN_DAY * MAX_END_DAY_COUNT));\n dateDialog.show();\n }", "public Date getSelectedDate();", "public void setSysDate()\r\n\t{\r\n\t\tSimpleDateFormat sdf=new SimpleDateFormat(\"dd/MM/yyyy\");\r\n txtPDate.setText(sdf.format(new java.util.Date()));\r\n\t}", "private void setCurrentDateOnButton() {\n\t\t\tfinal Calendar c = Calendar.getInstance();\n\t\t\tyear = c.get(Calendar.YEAR);\n\t\t\tmonth = c.get(Calendar.MONTH);\n\t\t\tday = c.get(Calendar.DAY_OF_MONTH);\n\t\t\t//set current date to registration button\n\t\t\tbtnRegDate.setText(new StringBuilder()\n\t\t\t// Month is 0 based, just add 1\n\t\t\t.append(day).append(\"-\").append(month + 1).append(\"-\")\n\t\t\t.append(year));\n\t\t\t//set current date to FCRA registration button\n\t\t\tbtnFcraDate.setText(new StringBuilder()\n\t\t\t// Month is 0 based, just add 1\n\t\t\t.append(day).append(\"-\").append(month + 1).append(\"-\")\n\t\t\t.append(year));\n\t\t}", "private void initDatePicker() {\n pickDateBox.setDayCellFactory(picker -> new DateCell() {\n public void updateItem(LocalDate date, boolean empty) {\n super.updateItem(date, empty);\n LocalDate today = LocalDate.now();\n\n setDisable(empty || date.compareTo(today) < 0 );\n }\n });\n }", "public void initializeDate() {\n //Get current date elements from Calendar object\n day = cal.get(Calendar.DAY_OF_MONTH);\n month = cal.get(Calendar.MONTH); //Note months are indexed starting at zero (Jan -> 0)\n year = cal.get(Calendar.YEAR);\n\n //Pair EditText to local variable and set input type\n date = (EditText) findViewById(R.id.textSetDate);\n date.setInputType(InputType.TYPE_NULL);\n\n //Set EditText text to be current time\n date.setText((month + 1) + \"/\" + day + \"/\" + year);\n\n //Create onClick listener on date variable\n date.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n datePicker = new DatePickerDialog(ControlCenterActivity.this, new DatePickerDialog.OnDateSetListener() {\n @Override\n public void onDateSet(DatePicker datePicker, int year, int month, int dayOfMonth) {\n date.setText((month + 1) + \"/\" + dayOfMonth + \"/\" + year);\n }\n }, year, month, day);\n\n datePicker.show();\n }\n });\n }", "abstract Date getDefault();", "private void setupCalendarView() {\n // Set the default date shown to be today\n DateFormat df = new SimpleDateFormat(\"dd/MM/yyyy\", Locale.UK);\n String todayDate = df.format(Calendar.getInstance().getTime());\n\n mTextView.setText(todayDate);\n }", "protected String getSelectedDate()\n {\n String startsOnDate = String.valueOf(selectedYear);\n if(selectedMonth<10)startsOnDate+=\"-0\"+String.valueOf(selectedMonth);\n else startsOnDate+=\"-\"+String.valueOf(selectedMonth);\n if(selectedDay<10)startsOnDate+=\"-0\"+String.valueOf(selectedDay);\n else startsOnDate+=\"-\"+String.valueOf(selectedDay);\n\n return startsOnDate;\n }", "public String getDefaultDate() {\n\t\t\t\tDateFormat dateFormat = new SimpleDateFormat(\"MMMM d, yyyy\");\n\t\t\t\tDate date = new Date();\n\t\t\t\treturn dateFormat.format(date);\n\t\t\t}", "private void setDate() {\n Date date = new Date();\n SimpleDateFormat sdf = new SimpleDateFormat(\"yyyy-MM-dd\");\n datetxt2.setText(sdf.format(date));\n }", "private void selectDate() {\n Calendar calendar = Calendar.getInstance();\n int year = calendar.get(Calendar.YEAR);\n int month = calendar.get(Calendar.MONTH);\n int day = calendar.get(Calendar.DAY_OF_MONTH);\n DatePickerDialog datePickerDialog = new DatePickerDialog(this, new DatePickerDialog.OnDateSetListener() {\n @Override\n public void onDateSet(DatePicker datePicker, int year, int month, int day) {\n mDatebtn.setText(day + \"-\" + (month + 1) + \"-\" + year); //sets the selected date as test for button\n }\n }, year, month, day);\n datePickerDialog.show();\n }", "public void setCurrentDate(String currentDate) {\n this.currentDate = currentDate;\n }", "public void openDatePicker() {\n\n Calendar now = Calendar.getInstance();\n DatePickerDialog dpd = DatePickerDialog.newInstance(\n this,\n now.get(Calendar.YEAR),\n now.get(Calendar.MONTH),\n now.get(Calendar.DAY_OF_MONTH)\n );\n dpd.show(getActivity().getFragmentManager(), StringConstants.KEY_DATEPICKER_DIALOG);\n //dpd.setAccentColor(R.color.hb_medication_history);\n dpd.showYearPickerFirst(true);\n dpd.setMaxDate(now);\n dpd.setYearRange(StaticConstants.MIN_DATE, now.get(Calendar.YEAR));\n }", "private void chooseDateDialog() {\n Calendar c = Calendar.getInstance();\n int year = c.get(Calendar.YEAR);\n int month = c.get(Calendar.MONTH);\n int day = c.get(Calendar.DATE);\n\n DatePickerDialog datePickerDialog =\n new DatePickerDialog(Objects.requireNonNull(getContext()), this, year, month, day);\n datePickerDialog.show();\n }", "private void configDate(){\n Date date = new Date();\n DateFormat dateFormat = new SimpleDateFormat(\"yyyy/MM/dd\");\n tvDateLost.setText(dateFormat.format(date));\n }", "@Override\n public void onClick(View v) {\n DatePickerDialog datePickerDialog = new DatePickerDialog(getActivity(), new DatePickerDialog.OnDateSetListener() {\n @Override\n public void onDateSet(android.widget.DatePicker view, int year, int month, int dayOfMonth) {\n month = month + 1;\n String date =String.format(\"%02d/%02d/%d\", dayOfMonth,month, year);\n TextViewCheckIn.setText(date);\n\n }\n },year,month,day);\n long today = Calendar.getTimeInMillis();\n datePickerDialog.getDatePicker().setMinDate(today);\n datePickerDialog.show();\n }", "private void dateOfBirthPicker() {\n _nextActionDate.setOnClickListener(new View.OnClickListener() {\n @Override\n public void onClick(View v) {\n final Calendar c = Calendar.getInstance();\n int mYear = c.get(Calendar.YEAR);\n int mMonth = c.get(Calendar.MONTH);\n int mDay = c.get(Calendar.DAY_OF_MONTH);\n DatePickerDialog dateDialog = new DatePickerDialog(v.getContext(), new DatePickerDialog.OnDateSetListener() {\n @Override\n public void onDateSet(DatePicker view, int year, int month, int dayOfMonth) {\n Time chosenDate = new Time();\n chosenDate.set(dayOfMonth, month, year);\n long dtDob = chosenDate.toMillis(true);\n\n String format = new SimpleDateFormat(\"yyyy-MM-dd\").format(dtDob);\n _nextActionDate.setText(format);\n\n }\n }, mYear, mMonth, mDay);\n //dateDialog.getDatePicker().setMaxDate(new Date().getTime());\n dateDialog.show();\n }\n });\n }", "public void setCurrentDate(String d) {\n currentDate = d;\n }", "@Override\n public void onClick(View v) {\n DatePickerDialog datePickerDialog = new DatePickerDialog(getActivity(), new DatePickerDialog.OnDateSetListener() {\n @Override\n public void onDateSet(android.widget.DatePicker view, int year, int month, int dayOfMonth) {\n month = month + 1;\n String date =String.format(\"%02d/%02d/%d\", dayOfMonth,month, year);\n TextViewCheckOut.setText(date);\n long today = Calendar.getTimeInMillis();\n view.setMinDate(today);\n }\n },year,month,day);\n long today = Calendar.getTimeInMillis();\n datePickerDialog.getDatePicker().setMinDate(today);\n //memunculkan pilihan pada UI\n datePickerDialog.show();\n }", "public void setTodayCalendar()\n {\n this.currentCalendar = Calendar.getInstance();\n }", "public void setPickerDate(@NonNull final LocalDateTime date) {\n onView(viewMatcher).perform(click());\n onView(withClassName(equalTo(DatePicker.class.getName())))\n .perform(PickerActions.setDate(date.getYear(), date.getMonth().getValue(), date.getDayOfMonth()));\n new Dialog().confirmDialog();\n }", "public Date getSelectDate();", "public void selectDate(){\r\n\t\tcloseDateText.sendKeys(ConvertDate());\r\n\t}", "public void setDate(Calendar currentDate) {\r\n this.currentDate = currentDate;\r\n }", "public void setTodayDate() {\r\n int oldMonthValue = getMonth();\r\n int oldYearValue = getYear();\r\n calendarTable.getCalendarModel().setTodayDate();\r\n updateControlsFromTable();\r\n // fire property change\r\n int newMonthValue = getMonth();\r\n if (oldMonthValue != newMonthValue) {\r\n firePropertyChange(MONTH_PROPERTY, oldMonthValue, newMonthValue);\r\n }\r\n int newYearValue = getYear();\r\n if (oldYearValue != newYearValue) {\r\n firePropertyChange(YEAR_PROPERTY, oldYearValue, newYearValue);\r\n }\r\n // clear selection when changing the month in view\r\n if (oldMonthValue != newMonthValue && oldYearValue != newYearValue) {\r\n calendarTable.getSelectionModel().clearSelection();\r\n }\r\n }", "public void selectDate()\r\n\t{\r\n\t\tsetLayout(new FlowLayout());\r\n\t\t\r\n\t\t// Create the DatePicker\r\n\t\tUtilDateModel model = new UtilDateModel();\r\n\t\tProperties properties = new Properties();\r\n\t\tproperties.put(\"text.today\", \"Today\");\r\n\t\tproperties.put(\"text.month\", \"Month\");\r\n\t\tproperties.put(\"text.year\", \"Year\");\r\n\t\tJDatePanelImpl datePanel = new JDatePanelImpl(model,properties);\r\n\t\tdatePicker = new JDatePickerImpl(datePanel, new DateFormatter());\r\n\t\t\r\n\t\t// Add confirmation button\r\n\t\tbutton = new JButton(\"OK\");\r\n\t\tbutton.addActionListener(this);\r\n\t\t\r\n\t\t// Display the DatePicker\r\n\t\tadd(datePicker);\r\n\t\tadd(button);\r\n setSize(300,300);\r\n setLocationRelativeTo(null);\r\n setVisible(true);\r\n\t}", "private DatePicker createDatePicker(boolean veto) {\r\n DatePickerSettings datePickerSettings = new DatePickerSettings();\r\n datePickerSettings.setAllowEmptyDates(false);\r\n datePickerSettings.setAllowKeyboardEditing(false);\r\n DatePicker datePicker = new DatePicker(datePickerSettings);\r\n if (veto) {\r\n // If today is Saturday or Sunday, this sets the default\r\n // to the following Monday\r\n if (LocalDate.now().getDayOfWeek() == DayOfWeek.SATURDAY) {\r\n datePicker.setDate(LocalDate.now().plusDays(3));\r\n } else if (LocalDate.now().getDayOfWeek() == DayOfWeek.SUNDAY) {\r\n datePicker.setDate(LocalDate.now().plusDays(2));\r\n } else datePicker.setDate(LocalDate.now().plusDays(1));\r\n // Veto Policy to disallow weekends\r\n datePickerSettings.setVetoPolicy(new VetoDates());\r\n } else datePicker.setDate(LocalDate.now());\r\n return datePicker;\r\n }", "public void setDefaultDateRange() {\n SimpleDateFormat dateFormat = new SimpleDateFormat(\"dd/MM/yyyy\");\n\n Calendar todaysDate = Calendar.getInstance();\n toDateField.setText(dateFormat.format(todaysDate.getTime()));\n\n todaysDate.set(Calendar.DAY_OF_MONTH, 1);\n fromDateField.setText(dateFormat.format(todaysDate.getTime()));\n }", "public void setCurrentDate(Date currentDate)\r\n {\r\n m_currentDate = currentDate;\r\n }", "public void SetCurrentDate(CalendarWidget kCal) {\n\t\tfor(int i = 0; i < 42; ++i)\n\t\t{\n\t\t\tif(kCal.cell[i].date.getText().toString().length() == 0)\n\t\t\t\tcontinue;\n\t\t\tkCal.checkForCurrentData(kCal.cell[i]);\n\t\t}\n\t}", "private Date getCurrentDate() {\n return Date.from(LocalDate.now().atStartOfDay(ZoneId.systemDefault()).toInstant());\n }", "@SuppressLint(\"InlinedApi\")\n @Override\n public void onClick(View v) {\n @SuppressLint({\"NewApi\", \"LocalSuppress\"}) final Calendar mcurrentDate = Calendar.getInstance();\n int mYear = mcurrentDate.get(Calendar.YEAR);\n int mMonth = mcurrentDate.get(Calendar.MONTH);\n int mDay = mcurrentDate.get(Calendar.DAY_OF_MONTH);\n\n DatePickerDialog mDatePicker = new DatePickerDialog(Addnewuser.this, new DatePickerDialog.OnDateSetListener() {\n\n public void onDateSet(DatePicker datepicker, int selectedyear, int selectedmonth, int selectedday) {\n mybirthday = new GregorianCalendar(selectedyear, selectedmonth, selectedday).getTime();\n birthday = \"\" + selectedday + \"/\" + (selectedmonth + 1) + \"/\" + selectedyear + \"\";\n dob.setText(birthday);\n // Toast.makeText(Addnewuser.this, \"\"+birthday+\"\\n\" +\n // \"\"+date.toString(), Toast.LENGTH_SHORT).show();\n\n\n }\n }, mYear, mMonth, mDay);\n mDatePicker.setTitle(\"Select date\");\n mDatePicker.show();\n }", "@Override\r\n public void onClick(View v) {\n final Calendar c = Calendar.getInstance();\r\n int mYear = c.get(Calendar.YEAR); // current year\r\n int mMonth = c.get(Calendar.MONTH); // current month\r\n int mDay = c.get(Calendar.DAY_OF_MONTH); // current day\r\n\r\n\r\n // date picker dialog\r\n datePickerDialog = new DatePickerDialog(task_setting.this,\r\n new DatePickerDialog.OnDateSetListener() {\r\n\r\n\r\n @Override\r\n public void onDateSet(DatePicker view, int year,\r\n int monthOfYear, int dayOfMonth) {\r\n // set day of month , month and year value in the edit text\r\n\r\n final String[] MONTHS = {\"January\", \"February\", \"March\", \"April\", \"May\", \"June\", \"July\", \"August\", \"September\", \"October\", \"November\", \"December\"};\r\n String mon = MONTHS[monthOfYear];\r\n date.setText(mon + \" \" + dayOfMonth + \", \" + year);\r\n }\r\n }, mYear, mMonth, mDay);\r\n datePickerDialog.getDatePicker().setMinDate(System.currentTimeMillis() - 1000);\r\n datePickerDialog.show();\r\n }", "public Date getSelectedDate() {\n\t\treturn date.getValue();\n\t}", "public GregorianCalendar getSelectedDate(){\n int day = Integer.parseInt(this.date_day.getSelectedItem().toString());\n int month = Integer.parseInt(this.date_month.getSelectedItem().toString());\n int year = Integer.parseInt(this.date_year.getSelectedItem().toString());\n\n GregorianCalendar date = new GregorianCalendar();\n date.setTimeInMillis(0);\n \n date.set(Calendar.DAY_OF_MONTH, day);\n date.set(Calendar.MONTH, month -1);\n date.set(Calendar.YEAR, year);\n\n return date;\n }", "private void setCurrentDate(Date date)\n {\n date.setTime(System.currentTimeMillis());\n }", "public void setCurrentDate(CurrentDate pCurrentDate) { \n mCurrentDate = pCurrentDate; \n }", "public void setDateStart_CouponsTab_Marketing() {\r\n\t\tthis.dateStart_CouponsTab_Marketing.clear();\r\n\t\tSimpleDateFormat formattedDate = new SimpleDateFormat(\"yyyy-MM-dd\");\r\n\t\tCalendar c = Calendar.getInstance();\r\n\t\tString today1 = (String) (formattedDate.format(c.getTime()));\r\n\t\tthis.dateStart_CouponsTab_Marketing.sendKeys(today1);\r\n\t}", "private String setDate() {\n SimpleDateFormat sdf = new SimpleDateFormat(\"yyyy-MM-dd\");\n return sdf.format(new Date());\n }", "public DatePickerDialog(@NonNull Context context) {\n this(context, 0, null, Calendar.getInstance(), -1, -1, -1);\n }", "public void onDateSet(DatePicker view, int year, int month, int day) {\n Calendar cal = Calendar.getInstance();\n cal.setTimeInMillis(0);\n cal.set(year, month, day, 0, 0, 0);\n Date chosenDate = cal.getTime();\n\n // Format the date using style and locale\n DateFormat df = DateFormat.getDateInstance();\n String formattedDate = df.format(chosenDate);\n\n // Display the chosen date to app interface\n C_birthdate.setText(formattedDate);\n //C_reg_date.setText(formattedDate);\n }", "@Override\n public void onDateSet(DatePicker view, int year,\n int monthOfYear, int dayOfMonth) {\n CharSequence strDate = null;\n Time chosenDate = new Time();\n chosenDate.set(dayOfMonth, monthOfYear, year);\n\n long dateAttendance = chosenDate.toMillis(true);\n strDate = DateFormat.format(\"dd-MM-yyyy\", dateAttendance);\n\n edt_std_leave_eDate.setText(strDate);\n currentDate = String.valueOf(strDate);\n }", "@Override\n public void onDateSet(DatePicker view, int year,\n int monthOfYear, int dayOfMonth) {\n\n CharSequence strDate = null;\n Time chosenDate = new Time();\n chosenDate.set(dayOfMonth, monthOfYear, year);\n\n long dateAttendance = chosenDate.toMillis(true);\n strDate = DateFormat.format(\"dd-MM-yyyy\", dateAttendance);\n\n edt_std_leave_sDate.setText(strDate);\n currentDate = String.valueOf(strDate);\n }", "public Main() {\n initComponents();\n setColor(btn_home);\n String date = new SimpleDateFormat(\"yyyy-MM-dd hh:mm:ss\").format(new Date());\n jcurrentDate.setText(date);\n \n }", "@Override\n public void onDateSet(DatePicker datePicker, int year, int month, int day) {\n mDateField.setText(year + \"/\" + (month + 1) + \"/\" + day);\n }", "public static void setDate() {\r\n\t\tDate.set(DateFormat.getDateTimeInstance(DateFormat.SHORT,\r\n\t\t\t\tDateFormat.LONG, Locale.getDefault()).format(\r\n\t\t\t\tnew java.util.Date()));\r\n\t}", "private void initializeDate() {\n\t\tfinal Calendar c = Calendar.getInstance();\n\t\tmYear = c.get(Calendar.YEAR);\n\t\tmMonth = c.get(Calendar.MONTH);\n\t\tmDay = c.get(Calendar.DAY_OF_MONTH);\n\t\t\n\t\texpense.setDate(c.getTime());\n\n\t\t// display the current date\n\t\tupdateDateDisplay();\n\t}", "private void setDate() {\n java.util.Date d1 = new java.util.Date();\n SimpleDateFormat df = new SimpleDateFormat(\"YYYY-MM-dd\");\n String formateDate = df.format(d1);\n lblDate.setText(formateDate); \n }", "private void chooseDateFromCalendar(Button dateButton){\n DateFormat sdf = new SimpleDateFormat(\"dd/MM/yyyy\");\n Calendar nowCalendar = formatCalendar(Calendar.getInstance());\n\n DatePickerDialog datePickerDialog = new DatePickerDialog(getContext(),\n R.style.Theme_TrainClimbing_DatePicker,\n (v, y, m, d) -> {\n inputCalendar.set(y, m, d);\n if (inputCalendar.after(nowCalendar))\n dateButton.setText(R.string.ad_button_date);\n else\n dateButton.setText(sdf.format(inputCalendar.getTime()));\n }, inputCalendar.get(Calendar.YEAR),\n inputCalendar.get(Calendar.MONTH),\n inputCalendar.get(Calendar.DAY_OF_MONTH));\n\n datePickerDialog.getDatePicker().setFirstDayOfWeek(Calendar.MONDAY);\n datePickerDialog.getDatePicker().setMinDate(formatCalendar(\n new GregorianCalendar(2000, 7, 19)).getTimeInMillis());\n datePickerDialog.getDatePicker().setMaxDate(nowCalendar.getTimeInMillis());\n datePickerDialog.show();\n }", "@Override\n public void onClick(View v) {\n\n new DatePickerDialog(CompoffActivity.this, date, currentDate\n .get(Calendar.YEAR), currentDate.get(Calendar.MONTH),\n currentDate.get(Calendar.DAY_OF_MONTH)).show();\n }", "@TargetApi(Build.VERSION_CODES.O)\n public LocalDate getTodayDate() {\n LocalDate date;\n date = LocalDate.now();\n return date;\n }", "private void setCurrentDay() {\n Calendar c = Calendar.getInstance();\n\n year = c.get(Calendar.YEAR);\n month = c.get(Calendar.MONTH);\n day = c.get(Calendar.DAY_OF_MONTH);\n hour = c.get(Calendar.HOUR_OF_DAY);\n minute = c.get(Calendar.MINUTE);\n }", "public static void dateDue() {\n Date date = new Date();\r\n SimpleDateFormat formatter = new SimpleDateFormat(\"dd/MM/yyyy\");\r\n String strDate = formatter.format(date);\r\n NewProject.due_date = getInput(\"Please enter the due date for this project(dd/mm/yyyy): \");\r\n\r\n UpdateData.updateDueDate();\r\n updateMenu();\t//Return back to previous menu.\r\n }", "public String getCurrentDate() {\n return currentDate;\n }", "public static String getCurrentDate() {\n\t\tDateFormat df = new SimpleDateFormat(\"yyyy-MM-dd\");\n\t\tDate dateobj = new Date();\n\t\treturn df.format(dateobj);\n\t}", "DateFormatPanel() {\r\n\t\tfDateFormat = DateFormat.getTimeInstance(DateFormat.DEFAULT);\r\n\t}", "public void setSelectedDate(Date selectedDate);", "public DateChooser(Locale locale) {\r\n this.locale = locale;\r\n currentDate = Calendar.getInstance(locale);\r\n }", "@Override\n public void onClick(View v) {\n new DatePickerDialog(MainActivity.this, date, myCalendar\n .get(Calendar.YEAR), myCalendar.get(Calendar.MONTH),\n myCalendar.get(Calendar.DAY_OF_MONTH)).show();\n }", "public static Date today() // should it be void?\n {\n GregorianCalendar currentDate = new GregorianCalendar();\n int day = currentDate.get(GregorianCalendar.DATE);\n int month = currentDate.get(GregorianCalendar.MONTH) + 1;\n int year = currentDate.get(GregorianCalendar.YEAR);\n int hour = currentDate.get(GregorianCalendar.HOUR_OF_DAY);\n int minute = currentDate.get(GregorianCalendar.MINUTE);\n return new Date(day, month, year, hour, minute);\n }", "public static String getCurrentDate() {\n DateTimeFormatter dtf = DateTimeFormatter.ofPattern(\"dd/MM/yyyy\"); \n LocalDateTime now = LocalDateTime.now(); \n return dtf.format(now);\n }", "@SuppressLint(\"SetTextI18n\")\n private void setTransactionDate() {\n // used to get the name of the month from the calendar\n HashMap<String, String> months = new HashMap<>();\n String[] mnths = {\"\", \"Jan\", \"Feb\", \"March\", \"April\", \"May\", \"June\", \"July\", \"August\", \"Sept\", \"Oct\", \"Nov\", \"Dec\"};\n for (int i = 1; i <= 12; i++) {\n if (i < 10) {\n months.put(mnths[i], Integer.toString(i));\n } else {\n\n months.put(mnths[i], Integer.toString(i));\n }\n }\n\n // set the date when somehting is selected from the DatePicker\n dateText.setText(months.get(transaction.getMonth()) + '-' + Integer.toString(transaction.getDay()) + '-' + transaction.getYear());\n findViewById(R.id.transaction_date).setOnClickListener(new View.OnClickListener() {\n @Override\n // show DatePicker on field click\n public void onClick(View v) {\n showDatePickerDialog();\n }\n });\n }", "@Override\n public void onClick(View v) {\n new DatePickerDialog(getActivity(), startdatepicker, trigger.getStarttime().get(Calendar.YEAR), trigger.getStarttime().get(Calendar.MONTH), trigger.getStarttime().get(Calendar.DAY_OF_MONTH)).show();\n }", "private void setDefaultExpiryDate() {\n int twoWeeks = 14;\n Calendar calendar = Calendar.getInstance();\n calendar.setTime(new Date());\n calendar.add(Calendar.DAY_OF_YEAR, twoWeeks);\n this.expiryDate = calendar.getTime();\n }", "public String getCurrentDate() {\n\t\t\t\tDateFormat dateFormat = new SimpleDateFormat(\"dd/MM/yy\");\n\t\t\t\tDate date = new Date();\n\t\t\t\treturn dateFormat.format(date);\n\t\t\t}", "public static Date getCurrentDate() {\n return new Date();\n }", "private void showDateDialog(){\n final Calendar newCalendar = Calendar.getInstance();\n\n /**\n * Initiate DatePicker dialog\n */\n datePickerDialog = new DatePickerDialog(this, new DatePickerDialog.OnDateSetListener() {\n\n @Override\n public void onDateSet(DatePicker view, int year, int monthOfYear, int dayOfMonth) {\n\n /**\n * Method ini dipanggil saat kita selesai memilih tanggal di DatePicker\n */\n\n /**\n * Set Calendar untuk menampung tanggal yang dipilih\n */\n Calendar newDate = Calendar.getInstance();\n newDate.set(year, monthOfYear, dayOfMonth);\n\n\n if(!newDate.before(newCalendar)){\n /**\n * Update TextView with choosen date\n */\n newDate.set(Calendar.HOUR_OF_DAY, 0);\n newDate.set(Calendar.MINUTE, 0);\n newDate.set(Calendar.SECOND, 0);\n newDate.set(Calendar.MILLISECOND,0);\n mDateTextView.setTextColor(Color.BLACK);\n String day = mDateFormatter.getDayName(newDate.getTime());\n String date = mDateFormatter.getOnlyDate(newDate.getTime());\n String month = mDateFormatter.getMonth(newDate.getTime());\n mDateTextView.setText(day + \" \" + date + \",\" + month);\n mChoosenSaveDate = newDate;\n }else{\n mDateTextView.setText(\"Deadline has to be at leats same as current date\");\n mDateTextView.setTextColor(Color.RED);\n Toast.makeText(view.getContext(),\"invalid choosen date\",\n Toast.LENGTH_LONG).show();\n }\n\n\n }\n\n },newCalendar.get(Calendar.YEAR), newCalendar.get(Calendar.MONTH), newCalendar.get(Calendar.DAY_OF_MONTH));\n\n /**\n * Tampilkan DatePicker dialog\n */\n datePickerDialog.show();\n\n }", "@Override\n\tpublic Calendar getInitialDate() {\n\t\treturn Calendar.getInstance();\n\t}", "public Date getCurrentDate() {\n Calendar cal = Calendar.getInstance();\n cal.set(Calendar.HOUR_OF_DAY, 0); // ! clear would not reset the hour of day !\n cal.clear(Calendar.MINUTE);\n cal.clear(Calendar.SECOND);\n cal.clear(Calendar.MILLISECOND);\n\n Date currentDate = cal.getTime();\n return currentDate;\n }", "private void pickDate(final Calendar initDate){\n //callback for when a date is picked\n DatePickerDialog.OnDateSetListener setDate = new DatePickerDialog.OnDateSetListener() {\n @Override\n public void onDateSet(DatePicker view, int year, int month, int dayOfMonth) {\n initDate.set(year, month, dayOfMonth,\n initDate.get(Calendar.HOUR_OF_DAY),\n initDate.get(Calendar.MINUTE),\n initDate.get(Calendar.SECOND));\n setDateTimeViews();\n }\n };\n\n DatePickerDialog datePickerDialog = new DatePickerDialog(this,\n setDate, //callback\n initDate.get(Calendar.YEAR), //initial values\n initDate.get(Calendar.MONTH),\n initDate.get(Calendar.DAY_OF_MONTH));\n datePickerDialog.show(); //shows the dialogue\n }", "public void setDate() {\n this.date = new Date();\n }", "@Override\n public void onDateSet(DatePicker datePicker, int year, int month, int day) {\n final String selectedDate = year + \"-\" + String.format(\"%02d\", (month+1)) + \"-\" + String.format(\"%02d\", day);\n mDateSession.setText(selectedDate);\n dateFormatted=year+\"\"+String.format(\"%02d\", (month+1))+\"\"+String.format(\"%02d\", day);\n }", "public CurrentDate getCurrentDate() { \n return mCurrentDate; \n }", "@Override\n public void onClick(View v) {\n new DatePickerDialog(MainActivity.this, date, myCalendar\n .get(Calendar.YEAR), myCalendar.get(Calendar.MONTH),\n myCalendar.get(Calendar.DAY_OF_MONTH)).show();\n }", "public void promptDate(String date)\n {\n this.date = date;\n }", "public Date getCurrentDate()\r\n {\r\n return (m_currentDate);\r\n }", "public void onDateSet(DatePicker view, int year, int month, int day){\n TextView tv = getActivity().findViewById(R.id.textBornAdult);\n\n // Create a Date variable/object with user chosen date\n Calendar cal = Calendar.getInstance(SBFApplication.config.locale);\n cal.setTimeInMillis(0);\n cal.set(year, month, day, 0, 0, 0);\n Date chosenDate = cal.getTime();\n\n // Format the date using style and locale\n // DateFormat df = DateFormat.getDateInstance(DateFormat.MEDIUM, BaseActivity.getInstance().config.locale);\n String formattedDateShow = formatterBornShow.format(chosenDate);\n String formattedDate = formatterTrain.format(chosenDate);\n // formatter.format(date.getDate()\n\n\n // Display the chosen date to app interface\n tv.setText(formattedDateShow);\n dateBorn=formattedDate;\n // MemoryStore.set(getActivity(), \"adultBorn\", formattedDate);\n // MemoryStore.set(getActivity(), \"adultBornShow\", formattedDateShow);\n }", "public Date getCurrentDate() {\n\t\treturn new Date();\n\t}", "@Override\n\tprotected void setDate() {\n\n\t}", "@Override\r\n public void onDateSet(DatePicker view, int selectedYear, int selectedMonth, int selectedDay) {\r\n year = selectedYear;\r\n month = selectedMonth;\r\n day = selectedDay;\r\n\r\n // Show selected date\r\n W_date.setText(new StringBuilder().append(month + 1).append(\"-\").append(day)\r\n .append(\"-\").append(year).append(\" \"));\r\n }", "private void initPopupDate() {\n editDate = findViewById(R.id.date_depense);\n date = new DatePickerDialog.OnDateSetListener() {\n\n public void onDateSet(DatePicker view, int year, int monthOfYear,\n int dayOfMonth) {\n // TODO Auto-generated method stub\n myCalendar.set(Calendar.YEAR, year);\n myCalendar.set(Calendar.MONTH, monthOfYear);\n myCalendar.set(Calendar.DAY_OF_MONTH, dayOfMonth);\n updateDate();\n }\n\n };\n\n // onclick - popup datepicker\n editDate.setOnClickListener(new View.OnClickListener() {\n\n @Override\n public void onClick(View v) {\n // TODO Auto-generated method stub\n new DatePickerDialog(context, date, myCalendar\n .get(Calendar.YEAR), myCalendar.get(Calendar.MONTH),\n myCalendar.get(Calendar.DAY_OF_MONTH)).show();\n }\n });\n }", "private void show_Date_Picker() {\n final Calendar c = Calendar.getInstance();\r\n mYear = c.get(Calendar.YEAR);\r\n mMonth = c.get(Calendar.MONTH);\r\n mDay = c.get(Calendar.DAY_OF_MONTH);\r\n android.app.DatePickerDialog datePickerDialog = new android.app.DatePickerDialog(this,\r\n new android.app.DatePickerDialog.OnDateSetListener() {\r\n\r\n @Override\r\n public void onDateSet(DatePicker view, int year,\r\n int monthOfYear, int dayOfMonth)\r\n {\r\n\r\n txt_mfgdate_text.setText(dayOfMonth + \"-\" + (monthOfYear + 1) + \"-\" + year);\r\n\r\n }\r\n }, mYear, mMonth, mDay);\r\n datePickerDialog.show();\r\n\r\n }", "@Override\n public void onClick(View v) {\n new DatePickerDialog(merchantHome, date, myCalendar\n .get(Calendar.YEAR), myCalendar.get(Calendar.MONTH),\n myCalendar.get(Calendar.DAY_OF_MONTH)).show();\n }", "public static Date getCurrentDate() {\r\n\t\tCalendar calendar = Calendar.getInstance();\r\n\t\tjava.util.Date currentDate = calendar.getTime();\r\n\t\tDate date = new Date(currentDate.getTime());\r\n\t\treturn date;\r\n\t}", "@Override\n\t\t\tpublic void setValue(Date value) {\n\t\t\t\tsuper.setValue(value);\n\t\t\t\tstart_cal_date = value.getTime();\n\t\t\t\tinfo_loader.load();\n\t\t\t}", "public void setDate(Date newDate) {\n this.currentDate = newDate;\n }", "public void setRequestedDate(Date date) {\n requestedDate.setText(formatDate(date));\n }", "@SuppressLint(\"InlinedApi\")\n @Override\n public void onClick(final View v) {\n @SuppressLint({\"NewApi\", \"LocalSuppress\"}) final Calendar mcurrentDate = Calendar.getInstance();\n int mYear = mcurrentDate.get(Calendar.YEAR);\n int mMonth = mcurrentDate.get(Calendar.MONTH);\n int mDay = mcurrentDate.get(Calendar.DAY_OF_MONTH);\n\n DatePickerDialog mDatePicker = new DatePickerDialog(UserRegister.this, new DatePickerDialog.OnDateSetListener() {\n\n public void onDateSet(DatePicker datepicker, int selectedyear, int selectedmonth, int selectedday) {\n mybirthday = new GregorianCalendar(selectedyear, selectedmonth, selectedday).getTime();\n\n String birthday = \"\" + selectedday + \"/\" + (selectedmonth + 1) + \"/\" + selectedyear + \"\";\n // String dob = birthday;\n et_dob.setText(birthday);\n\n\n if (validatedate(mybirthday)) {\n Snackbar.make(v, birthday + \" is not possible\", Snackbar.LENGTH_LONG).show();\n et_dob.setText(\"\");\n return;\n }\n if (validateage(mybirthday)) {\n Snackbar.make(v, \"You have to be above 15 years old\", Snackbar.LENGTH_LONG)\n .setAction(\"Help\", new View.OnClickListener() {\n @Override\n public void onClick(View view) {\n //visitwebsite();\n }\n })\n .show();\n et_dob.setText(\"\");\n }\n\n }\n }, mYear, mMonth, mDay);\n mDatePicker.setTitle(\"Select date\");\n mDatePicker.show();\n\n\n }", "@Override\n public void onClick(View v) {\n final Calendar c = Calendar.getInstance();\n int mYear = c.get(Calendar.YEAR); // current year\n int mMonth = c.get(Calendar.MONTH); // current month\n int mDay = c.get(Calendar.DAY_OF_MONTH); // current day\n // date picker dialog\n datePickerDialog = new DatePickerDialog(ChangeProfileActivity.this,\n new DatePickerDialog.OnDateSetListener() {\n\n @Override\n public void onDateSet(DatePicker view, int year,\n int monthOfYear, int dayOfMonth) {\n // set day of month , month and year value in the edit text\n txtdate.setText(dayOfMonth + \"/\"\n + (monthOfYear + 1) + \"/\" + year);\n\n }\n }, mYear, mMonth, mDay);\n datePickerDialog.show();\n }", "private void setToday() {\r\n\t\tmTime = new Date().getTime();\r\n\t}", "public void resetDates() {\r\n selectedDate = null;\r\n currentDate = Calendar.getInstance();\r\n }", "public void saveCalenderDate() {\r\n\t\tdate = getDateToDisplay(null);\r\n\t}", "@RequiresApi(api = Build.VERSION_CODES.N)\n @Override\n public Dialog onCreateDialog(Bundle savedInstanceState) {\n // Use the current date as the default date in the picker\n final Calendar c = Calendar.getInstance();\n int year = c.get(Calendar.YEAR);\n int month = c.get(Calendar.MONTH);\n int day = c.get(Calendar.DAY_OF_MONTH);\n\n // Create a new instance of DatePickerDialog and return it\n return new DatePickerDialog(getActivity(), this, year, month, day);\n }", "public Date getDate(Date defaultVal) {\n return get(ContentType.DateType, defaultVal);\n }", "public void selectDateToMeet(View view) {\n int day;\n int month;\n int year;\n\n /* if the date button has tag of DATE_PICKED then set the date on dialog to date picked earlier,\n otherwise display todays date on the dialog */\n if (dateText.getText().toString().equals(\"\") || !dateText.getText().toString().toLowerCase().contains(\"date\")) {\n String dates[] = dateText.getText().toString().split(\"-\");\n\n day = Integer.parseInt(dates[2]);\n //minus 1 to get the month index\n month = Integer.parseInt(dates[1]) - 1;\n year = Integer.parseInt(dates[0]);\n\n } else {\n //get todays date\n Calendar cal = Calendar.getInstance();\n\n day = cal.get(Calendar.DAY_OF_MONTH);\n month = cal.get(Calendar.MONTH);\n year = cal.get(Calendar.YEAR);\n }\n\n //set the dialog with the date and show it\n DatePickerDialog dialog = new DatePickerDialog(BookPlanActivity.this,\n android.R.style.Theme_Holo_Light_Dialog_MinWidth,\n mDataSetListener, year, month, day);\n\n dialog.setButton(DialogInterface.BUTTON_NEUTRAL, \"Clear Date\", new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int which) {\n dialog.dismiss();\n dateText.setText(\"Select a date\");\n }\n });\n\n dialog.getWindow().setBackgroundDrawable(new ColorDrawable(Color.TRANSPARENT));\n dialog.show();\n }", "private static String setDate() {\n mDate = new Date();\n DateFormat dateFormat = DateFormat.getDateInstance();\n String dateString = dateFormat.format(mDate);\n return dateString;\n }", "public void goToToday() {\n goToDate(today());\n }", "@Override\n public void onClick(View v) {\n new DatePickerDialog(UserUpdate.this, date, cal\n .get(Calendar.YEAR), cal.get(Calendar.MONTH), cal\n .get(Calendar.DAY_OF_MONTH)).show();\n }" ]
[ "0.7570866", "0.7052404", "0.6975466", "0.68639815", "0.67990696", "0.6789898", "0.6783088", "0.6780454", "0.670162", "0.6687505", "0.66742736", "0.6661783", "0.66408455", "0.6629506", "0.6622046", "0.6614785", "0.66132003", "0.65635", "0.6558133", "0.65395504", "0.65298307", "0.65156174", "0.6510428", "0.6485256", "0.648461", "0.64734167", "0.64591086", "0.6439087", "0.64362216", "0.64352", "0.6425105", "0.64064705", "0.64024687", "0.6393669", "0.63908446", "0.637432", "0.63651586", "0.6359516", "0.63401186", "0.63357407", "0.632999", "0.63193524", "0.63104266", "0.63042456", "0.62969303", "0.6276454", "0.62764436", "0.62690413", "0.62551206", "0.62495565", "0.6243641", "0.62392336", "0.62359583", "0.6220534", "0.6207687", "0.6200541", "0.61888283", "0.6177189", "0.61749333", "0.6163734", "0.6161484", "0.615686", "0.6150765", "0.61318576", "0.6123813", "0.6115902", "0.609712", "0.6087521", "0.60867393", "0.6079668", "0.6078085", "0.6077477", "0.607349", "0.6068905", "0.6047426", "0.6044209", "0.6043971", "0.60376734", "0.60356957", "0.60304505", "0.602971", "0.6022028", "0.6019977", "0.6016815", "0.6011811", "0.6000793", "0.59980947", "0.5995633", "0.59946495", "0.59938633", "0.59934145", "0.5984254", "0.5983004", "0.5982952", "0.5980931", "0.5977113", "0.5972836", "0.59721", "0.5970178", "0.59692395", "0.59642744" ]
0.0
-1
/ AnsattEAO AnsattService=new AnsattEAO(); Ansatt Adrian=AnsattService.finnAnsattMedPK(1); Adrian.skrivUt(); Adrian.setStilling("Teknikker"); AnsattService.updateAnsatt(Adrian); Adrian.skrivUt();
public static void main(String[] args) { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void updateAveria(Averia averia) throws BusinessException;", "public String updateStudent(int id, String ime, String prezime, String adresa, int kredit, String lozinka)throws Exception{\n\t\ttry{\n\t\t\tDatabase database= new Database();\n\t\t Connection connection = database.Get_Connection();\n\t\t\tProject project= new Project();\n\t\t\t//System.out.println(\"hey\");\n\t\t//ArrayList<Student> tmp = new ArrayList();\n\t\t\n\t\t\treturn project.updateStudent(connection, id, ime, prezime, adresa, kredit, lozinka);\n\t\t\t\n\t\t\t\n\t\t\n\t\t}catch(Exception e){\n\t\t\tthrow e;\n\t\t}\n\t}", "public ApAccountRec updateApAccount(ApAccountRec acntRec,String view){\n \n if(!trans.isActive()){\n trans.begin();\n }\n ApAccount acnt = this.buildApAccount(acntRec, view);\n if(acntRec.getId() == null){\n acntRec.setId(acnt.getId());\n }\n LOGGER.log(INFO, \"ApAccountDM.updateApAccount returns id {0}\", acntRec.getId());\n trans.commit();\n return acntRec;\n}", "int updateByPrimaryKey(RepStuLearning record);", "int updateByPrimaryKey(NeeqCompanyAccountingFirmOnline record);", "@Test\r\n public void testUpdate() throws Exception {\r\n System.out.println(\"update\");\r\n Bureau obj = new Bureau(0,\"Test\",\"000000000\",\"\");\r\n BureauDAO instance = new BureauDAO();\r\n instance.setConnection(dbConnect);\r\n obj = instance.create(obj);\r\n obj.setSigle(\"Test2\");\r\n //etc\r\n obj.setTel(\"000000001\");\r\n //etc\r\n Bureau expResult=obj;\r\n Bureau result = instance.update(obj);\r\n assertEquals(expResult.getSigle(), result.getSigle());\r\n //etc\r\n assertEquals(expResult.getTel(), result.getTel());\r\n //etc\r\n instance.delete(obj);\r\n //TODO verifier que si met à jour vers un doublé sigle-tel déjà existant, on a une exception\r\n }", "int updateByPrimaryKey(AutoAssessDetail record);", "@Override\r\npublic int update(Detalle_pedido d) {\n\treturn detalle_pedidoDao.update(d);\r\n}", "AdPartner updateAdPartner(AdPartner adPartner);", "int updateByPrimaryKey(StudentGuardian record);", "int updateByPrimaryKey(HrMscChaAssig record);", "int updateByPrimaryKey(Assist_table record);", "public void updateByEntity(Paciente paciente) {\n\t\n}", "int updateByPrimaryKey(EcsAd record);", "public RespuestaBD modificarRegistro(int codigoFlujo, int secuencia, int servicioInicio, int accion, int codigoEstado, int servicioDestino, String nombreProcedimiento, String correoDestino, String enviar, String mismoProveedor, String mismomismoCliente, String estado, int caracteristica, int caracteristicaValor, int caracteristicaCorreo, String metodoSeleccionProveedor, String indCorreoCliente, String indHermana, String indHermanaCerrada, String indfuncionario, String usuarioModificacion) {\n/* 437 */ RespuestaBD rta = new RespuestaBD();\n/* */ \n/* */ try {\n/* 440 */ String s = \"update wkf_detalle set servicio_inicio=\" + servicioInicio + \",\" + \" accion=\" + accion + \",\" + \" codigo_estado=\" + codigoEstado + \",\" + \" servicio_destino=\" + ((servicioDestino == 0) ? \"null\" : Integer.valueOf(servicioDestino)) + \",\" + \" nombre_procedimiento='\" + nombreProcedimiento + \"',\" + \" correo_destino='\" + correoDestino + \"',\" + \" enviar_solicitud='\" + enviar + \"',\" + \" ind_mismo_proveedor='\" + mismoProveedor + \"',\" + \" ind_mismo_cliente='\" + mismomismoCliente + \"',\" + \" estado='\" + estado + \"',\" + \" caracteristica=\" + ((caracteristica == 0) ? \"null\" : (\"\" + caracteristica)) + \",\" + \" valor_caracteristica=\" + ((caracteristicaValor == 0) ? \"null\" : (\"\" + caracteristicaValor)) + \",\" + \" caracteristica_correo=\" + ((caracteristicaCorreo == 0) ? \"null\" : (\"\" + caracteristicaCorreo)) + \",\" + \" metodo_seleccion_proveedor=\" + ((metodoSeleccionProveedor.length() == 0) ? \"null\" : (\"'\" + metodoSeleccionProveedor + \"'\")) + \",\" + \" ind_correo_clientes=\" + ((indCorreoCliente.length() == 0) ? \"null\" : (\"'\" + indCorreoCliente + \"'\")) + \",\" + \" enviar_hermana=\" + ((indHermana.length() == 0) ? \"null\" : (\"'\" + indHermana + \"'\")) + \",\" + \" enviar_si_hermana_cerrada=\" + ((indHermanaCerrada.length() == 0) ? \"null\" : (\"'\" + indHermanaCerrada + \"'\")) + \",\" + \" ind_cliente_inicial=\" + ((indfuncionario.length() == 0) ? \"null\" : (\"'\" + indfuncionario + \"'\")) + \",\" + \" usuario_modificacion='\" + usuarioModificacion + \"',\" + \" fecha_modificacion=\" + Utilidades.getFechaBD() + \"\" + \" where\" + \" codigo_flujo=\" + codigoFlujo + \" and secuencia=\" + secuencia + \"\";\n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* 465 */ rta = this.dat.executeUpdate2(s);\n/* */ }\n/* 467 */ catch (Exception e) {\n/* 468 */ e.printStackTrace();\n/* 469 */ Utilidades.writeError(\"FlujoDetalleDAO:modificarRegistro \", e);\n/* 470 */ rta.setMensaje(e.getMessage());\n/* */ } \n/* 472 */ return rta;\n/* */ }", "public void updateforwadentry(String amit, String id) {\n\t\tContentValues up=new ContentValues();\n\t \n\t up.put(Sales_Amt, amit);\n\t \n\t\tourDatabase.update(DATABASE_TABLE5, up, Sales_Id+\" = \"+id, null);\n\t\t\t\n\t\t\n\t}", "Account.Update update();", "int updateByPrimaryKey(DepAcctDO record);", "int updateEstancia(final Long srvcId);", "public boolean updAiccAu(Connection con, String domain, loginProfile prof, String aicc_crs_filename, String aicc_cst_filename, String aicc_des_filename, String aicc_au_filename, String aicc_ort_filename)\n throws IOException, SQLException, qdbException, qdbErrMessage, cwSysMessage {\n//System.out.println(\"mod_in_eff_start_datetime:\" + mod_in_eff_start_datetime);\n//System.out.println(\"mod_in_eff_end_datetime:\" + mod_in_eff_end_datetime);\n//System.out.println(\"mod_max_score:\" + mod_max_score);\n//System.out.println(\"res_subtype:\" + res_subtype);\n//System.out.println(\"res_src_type:\" + res_src_type);\n//System.out.println(\"res_src_link:\" + res_src_link);\n // only used for calling aicc methods\n dbCourse dbCos = new dbCourse();\n dbCos.cos_res_id = getCosId(con, mod_res_id);\n\n try {\n String mod_import_xml = null;\n\n Vector vtCosDescriptor = null;\n Vector vtCosStructure = null;\n Vector vtObjectiveRelation = null;\n\n Vector vtTemp = null;\n\n crsIniFile iniFileCRS = null;\n try {\n iniFileCRS = new crsIniFile(aicc_crs_filename);\n } catch(IOException e) {\n \tCommonLog.error(\"Error in loading the iniFileCRS:\" + e.toString());\n throw new IOException(e.toString());\n }\n\n vtCosDescriptor = dbCos.buildCosDescriptorVector(aicc_des_filename);\n vtCosStructure = dbCos.getCosStructureVector(aicc_cst_filename);\n if (aicc_ort_filename != null) {\n vtObjectiveRelation = dbCos.getCosObjectiveVector(aicc_ort_filename);\n }\n Hashtable htBlockElements = dbCos.buildAiccBlockElements(dbCos.getMemberRelationLst(aicc_cst_filename));\n\n Hashtable htAuModID = new Hashtable();\n Hashtable htObjObjID = new Hashtable();\n\n BufferedReader in = null;\n try {\n in = new BufferedReader(new InputStreamReader(new FileInputStream(new File(aicc_au_filename))));\n } catch(Exception e) {\n throw new IOException(e.toString());\n }\n String line = null;\n String systemID = null;\n String type = null;\n String command_line = null;\n String file_name = null;\n String max_score = null;\n String mastery_score = null;\n String max_time_allowed = null;\n String time_limit_action = null;\n String system_vendor = null;\n String core_vendor = null;\n String web_launch = null;\n String au_password = null;\n\n String tempStr = null;\n\n Hashtable htAuFieldOrder = null;\n Hashtable htAuFieldValue = null;\n\n StringTokenizer st = null;\n // the first line is used to determine the field order\n for (;;) {\n try {\n line = in.readLine();\n } catch(Exception e) {\n throw new IOException(e.toString());\n }\n if (line == null) {\n break;\n }\n else if (line.trim().length() > 0 && line.trim().equalsIgnoreCase(\"\") == false) {\n htAuFieldOrder = new Hashtable();\n\n int index = 1;\n\n Vector vtRecord = dbCos.buildTableRecord(line);\n String recordElement = null;\n for (int i=0; i<vtRecord.size(); i++) {\n recordElement = (String)vtRecord.elementAt(i);\n htAuFieldOrder.put(recordElement.toLowerCase(), new Integer(index));\n index++;\n }\n\n break;\n }\n }\n\n //actually there should be only one AU record in the .au file for skillsoft course\n for (;;) {\n String mod_desc = null;\n\n try {\n line = in.readLine();\n } catch(Exception e) {\n throw new IOException(e.toString());\n }\n if (line == null) {\n break;\n }\n else if (line.trim().length() == 0 || line.trim().equalsIgnoreCase(\"\") == true) {\n continue;\n }\n else {\n htAuFieldValue = new Hashtable();\n\n int index = 1;\n\n Vector vtRecord = dbCos.buildTableRecord(line);\n String recordElement = null;\n for (int i=0; i<vtRecord.size(); i++) {\n recordElement = (String)vtRecord.elementAt(i);\n htAuFieldValue.put(new Integer(index), recordElement);\n index++;\n }\n\n Integer fieldIndex = null;\n\n fieldIndex = (Integer)htAuFieldOrder.get(\"system_id\");\n systemID = (String)htAuFieldValue.get(fieldIndex);\n\n fieldIndex = (Integer)htAuFieldOrder.get(\"type\");\n type = (String)htAuFieldValue.get(fieldIndex);\n\n fieldIndex = (Integer)htAuFieldOrder.get(\"command_line\");\n command_line = (String)htAuFieldValue.get(fieldIndex);\n\n fieldIndex = (Integer)htAuFieldOrder.get(\"file_name\");\n file_name = (String)htAuFieldValue.get(fieldIndex);\n\n fieldIndex = (Integer)htAuFieldOrder.get(\"max_score\");\n max_score = (String)htAuFieldValue.get(fieldIndex);\n\n fieldIndex = (Integer)htAuFieldOrder.get(\"mastery_score\");\n mastery_score = (String)htAuFieldValue.get(fieldIndex);\n\n fieldIndex = (Integer)htAuFieldOrder.get(\"max_time_allowed\");\n max_time_allowed = (String)htAuFieldValue.get(fieldIndex);\n\n fieldIndex = (Integer)htAuFieldOrder.get(\"time_limit_action\");\n time_limit_action = (String)htAuFieldValue.get(fieldIndex);\n\n fieldIndex = (Integer)htAuFieldOrder.get(\"system_vendor\");\n system_vendor = (String)htAuFieldValue.get(fieldIndex);\n\n fieldIndex = (Integer)htAuFieldOrder.get(\"core_vendor\");\n core_vendor = (String)htAuFieldValue.get(fieldIndex);\n\n fieldIndex = (Integer)htAuFieldOrder.get(\"web_launch\");\n web_launch = (String)htAuFieldValue.get(fieldIndex);\n\n fieldIndex = (Integer)htAuFieldOrder.get(\"au_password\");\n au_password = (String)htAuFieldValue.get(fieldIndex);\n\n vtTemp = null;\n for (int i=0; i<vtCosDescriptor.size(); i++) {\n vtTemp = (Vector)vtCosDescriptor.elementAt(i);\n if (systemID.equalsIgnoreCase((String)vtTemp.elementAt(0)) == true) {\n break;\n }\n else {\n vtTemp = null;\n }\n }\n\n mod_import_xml = \"<assignable_unit system_id=\\\"\";\n mod_import_xml += dbUtils.esc4XML(systemID);\n mod_import_xml += \"\\\" type=\\\"\";\n mod_import_xml += dbUtils.esc4XML(type);\n mod_import_xml += \"\\\" command_line=\\\"\";\n mod_import_xml += dbUtils.esc4XML(command_line);\n mod_import_xml += \"\\\" file_name=\\\"\";\n mod_import_xml += dbUtils.esc4XML(file_name);\n mod_import_xml += \"\\\" max_score=\\\"\";\n mod_import_xml += dbUtils.esc4XML(max_score);\n mod_import_xml += \"\\\" mastery_score=\\\"\";\n mod_import_xml += dbUtils.esc4XML(mastery_score);\n mod_import_xml += \"\\\" max_time_allowed=\\\"\";\n mod_import_xml += dbUtils.esc4XML(max_time_allowed);\n mod_import_xml += \"\\\" time_limit_action=\\\"\";\n mod_import_xml += dbUtils.esc4XML(time_limit_action);\n mod_import_xml += \"\\\" system_vendor=\\\"\";\n mod_import_xml += dbUtils.esc4XML(system_vendor);\n mod_import_xml += \"\\\" core_vendor=\\\"\";\n mod_import_xml += dbUtils.esc4XML(core_vendor);\n mod_import_xml += \"\\\" web_launch=\\\"\";\n mod_import_xml += web_launch;\n mod_import_xml += \"\\\" au_password=\\\"\";\n mod_import_xml += au_password;\n\n mod_import_xml += \"\\\" />\";\n\n if (max_score.length() > 0) {\n mod_max_score = Float.parseFloat(max_score);;\n }\n else {\n }\n\n if (mastery_score.length() > 0) {\n mod_pass_score = Float.parseFloat(mastery_score);\n }\n else {\n }\n\n if (max_time_allowed.equalsIgnoreCase(\"\") == true || max_time_allowed.length() == 0) {\n }\n else {\n int hr = 0;\n int min = 0;\n int sec = 0;\n String strTime = null;\n StringTokenizer stTime = new StringTokenizer(max_time_allowed,\":\");\n\n strTime = stTime.nextToken();\n strTime = strTime.trim();\n hr = Integer.parseInt(strTime);\n\n strTime = stTime.nextToken();\n strTime = strTime.trim();\n min = Integer.parseInt(strTime);\n\n strTime = stTime.nextToken();\n strTime = strTime.trim();\n sec = Integer.parseInt(strTime);\n\n res_duration = hr*60 + min + sec/60;\n }\n\n res_type = \"MOD\";\n// res_lan = \"ISO-8859-1\";\n res_subtype = \"AICC_AU\";\n res_src_type = \"AICC_FILES\";\n res_src_link = file_name;\n// mod_in_eff_end_datetime = Timestamp.valueOf(dbUtils.MAX_TIMESTAMP);\n// mod_in_eff_start_datetime = Timestamp.valueOf(dbUtils.MIN_TIMESTAMP);\n\n // truncate the length of the description\n //if (res_desc.length() > 200) {\n //res_desc = res_desc.substring(0, 200);\n //}\n\n upd(con, prof);\n updAicc(con, prof, core_vendor, au_password, mod_import_xml, time_limit_action, web_launch, iniFileCRS.getValue(\"Course_Creator\"), res_desc, iniFileCRS.getValue(\"Version\"));\n\n htAuModID.put(systemID, new Long(mod_res_id));\n }\n\n }\n\n in.close();\n\n Vector vtElement = null;\n\n // input AICC objectives into DB\n for (int i=0; i<vtCosDescriptor.size(); i++) {\n String objSystemID = null;\n String objDeveloperID = null;\n String objTitle = null;\n String objDesc = null;\n dbObjective dbObj = null;\n\n vtElement = (Vector)vtCosDescriptor.elementAt(i);\n objSystemID = (String)vtElement.elementAt(0);\n if (objSystemID.toLowerCase().startsWith(\"j\") == true) {\n objDeveloperID = (String)vtElement.elementAt(1);\n objTitle = (String)vtElement.elementAt(2);\n objDesc = (String)vtElement.elementAt(3);\n\n dbObj = new dbObjective();\n dbObj.obj_type = \"AICC\";\n dbObj.obj_desc = dbCos.trimObjDesc(dbUtils.esc4XML(objDesc));\n dbObj.obj_title = objTitle;\n dbObj.obj_developer_id = objDeveloperID;\n dbObj.obj_import_xml = \"<objective developer_id=\\\"\";\n dbObj.obj_import_xml += objDeveloperID;\n dbObj.obj_import_xml += \"\\\" />\";\n int obj_id = (int)dbObj.insAicc(con, prof);\n htObjObjID.put(objSystemID, new Integer(obj_id));\n }\n }\n\n if (vtObjectiveRelation != null) {\n vtElement = null;\n for (int i=0; i<vtObjectiveRelation.size(); i++) {\n vtElement = (Vector)vtObjectiveRelation.elementAt(i);\n String parentSystemID = (String)vtElement.elementAt(0);\n\n Vector vtObjID = new Vector();\n String childSystemID = null;\n for (int j=1; j<vtElement.size(); j++) {\n childSystemID = (String)vtElement.elementAt(j);\n vtObjID.addElement((Integer)htObjObjID.get(childSystemID));\n }\n\n long[] intObjID = new long[vtObjID.size()];\n for (int k=0; k<vtObjID.size(); k++) {\n intObjID[k] = ((Integer) vtObjID.elementAt(k)).longValue();\n }\n\n long[] int_parent_mod_id_lst = null;\n if (parentSystemID.startsWith(\"A\") == true || parentSystemID.startsWith(\"a\") == true) {\n int_parent_mod_id_lst = new long[] { ((Long)htAuModID.get(parentSystemID)).longValue() };\n }\n // collect all AU's mod_id in that AICC Block\n else if (parentSystemID.startsWith(\"B\") == true || parentSystemID.startsWith(\"b\") == true) {\n Vector vtBlockElements = (Vector)htBlockElements.get(parentSystemID);\n int_parent_mod_id_lst = new long[vtBlockElements.size()];\n String tempSystemID = null;\n for (int m=0; m<vtBlockElements.size(); m++) {\n tempSystemID = (String)vtBlockElements.elementAt(m);\n int_parent_mod_id_lst[m] = ((Long)htAuModID.get(tempSystemID)).longValue();\n }\n }\n dbResourceObjective dbResObj = new dbResourceObjective();\n // remove the previous objective relations\n dbResObj.removeResObj(con, int_parent_mod_id_lst);\n // add new objective relations\n dbResObj.insResObj(con, int_parent_mod_id_lst, intObjID);\n\n }\n }\n\n // update the cos corresponding fields, or reset the fields that is previously set\n // during importing an AICC course which should be reset when inserting/updating an AICC AU\n dbCos.updAiccCos(con, prof, null, null, null, -1, false, false);\n\n return true;\n\n } catch(qdbErrMessage e) {\n // rollback at qdbAction\n //con.rollback();\n throw new qdbErrMessage(e.toString());\n }\n }", "int updateByPrimaryKey(NjProductTaticsRelation record);", "public int Edbroker(Long broker_id, String firstname, String lastname,\r\n\t\tString address, String gender, String eMail, Long phone,\r\n\t\tString experience) throws SQLException {\n\tint i=DbConnect.getStatement().executeUpdate(\"update broker set first_name='\"+firstname+\"',last_name='\"+lastname+\"',address='\"+address+\"',gender='\"+gender+\"',e_mail='\"+eMail+\"',phone=\"+phone+\",experience='\"+experience+\"' where broker_id=\"+broker_id+\"\");\r\n\treturn i;\r\n}", "public void asetaTeksti(){\n }", "int updateByPrimaryKey(DisFans record);", "int updateByPrimaryKey(ErpOaLicKey record);", "int updateByPrimaryKey(Disproduct record);", "@Test\n public void updateTest14() throws SQLException {\n manager = new TableServizioManager(mockDb);\n Servizio servizio = manager.retriveById(2);\n servizio.setBeach_volley(true);\n manager.update(servizio);\n servizio = manager.retriveById(2);\n assertEquals(true, servizio.isBeach_volley() ,\"Should return true if update Servizio\");\n }", "public void actualizaAntNoPato(String id_antNP, String religion_antNP, String lugarNaci_antNP, String estaCivil_antNP, \n String escolaridad_antNP, String higiene_antNP, String actividadFisica_antNP, int frecuencia_antNP, \n String sexualidad_antNP, int numParejas_antNP, String sangre_antNP, String alimentacion_antNP, String id_paciente,\n boolean escoCompInco_antNP, String frecVeces_antNP, Connection conex){\n String sqlst = \" UPDATE `antnopato`\\n\" +\n \"SET\\n\" +\n \"`id_antNP` = ?,\\n\" +\n \"`religion_antNP` = ?,\\n\" +\n \"`lugarNaci_antNP` = ?,\\n\" +\n \"`estaCivil_antNP` = ?,\\n\" +\n \"`escolaridad_antNP` = ?,\\n\" +\n \"`higiene_antNP` = ?,\\n\" +\n \"`actividadFisica_antNP` = ?,\\n\" +\n \"`frecuencia_antNP` = ?,\\n\" +\n \"`sexualidad_antNP` = ?,\\n\" +\n \"`numParejas_antNP` = ?,\\n\" +\n \"`sangre_antNP` = ?,\\n\" +\n \"`alimentacion_antNP` = ?,\\n\" +\n \"`id_paciente` = ?,\\n\" +\n \"`escoCompInco_antNP` = ?,\\n\" +\n \"`frecVeces_antNP` = ?\\n\" +\n \"WHERE `id_antNP` = ?;\";\n try(PreparedStatement sttm = conex.prepareStatement(sqlst)) {\n conex.setAutoCommit(false);\n sttm.setString (1, id_antNP);\n sttm.setString (2, religion_antNP);\n sttm.setString (3, lugarNaci_antNP);\n sttm.setString (4, estaCivil_antNP);\n sttm.setString (5, escolaridad_antNP);\n sttm.setString (6, higiene_antNP);\n sttm.setString (7, actividadFisica_antNP);\n sttm.setInt (8, frecuencia_antNP);\n sttm.setString (9, sexualidad_antNP);\n sttm.setInt (10, numParejas_antNP);\n sttm.setString (11, sangre_antNP);\n sttm.setString (12, alimentacion_antNP);\n sttm.setString (13, id_paciente);\n sttm.setBoolean (14, escoCompInco_antNP);\n sttm.setString (15, frecVeces_antNP);\n sttm.setString (16, id_antNP);\n sttm.addBatch();\n sttm.executeBatch();\n conex.commit();\n aux.informacionUs(\"Antecedentes personales no patológicos modificados\", \n \"Antecedentes personales no patológicos modificados\", \n \"Antecedentes personales no patológicos han sido modificados exitosamente en la base de datos\");\n } catch (SQLException ex) {\n ex.printStackTrace();\n }\n }", "@Test\n public void updateTest11() throws SQLException {\n manager = new TableServizioManager(mockDb);\n Servizio servizio = manager.retriveById(2);\n servizio.setRistorante(true);\n manager.update(servizio);\n servizio = manager.retriveById(2);\n assertEquals(true, servizio.isRistorante() ,\"Should return true if update Servizio\");\n }", "int updateByPrimaryKey(Drug_OutWarehouse record);", "private static void LessonDAOUpdate() {\n PersonDAO personDAO = new PersonDAOImpl();\n\n Person person = personDAO.getPersonById(7);\n person.setFirstName(\"Teddy\");\n\n if(personDAO.updatePerson(person)) {\n System.out.println(\"Person Update Success!\");\n } else {\n System.out.println(\"Person Update Fail!\");\n }\n }", "public void modificarPaciente(String idpac, String dni, String nom, String ape, String dir, String ubig, String tel1, String tel2, String edad)\n {\n try\n {\n PreparedStatement pstm=(PreparedStatement)\n con.getConnection().prepareStatement(\"UPDATE paciente SET DNI='\"+dni+\"' , nombres='\"+nom+\"', apellidos='\"+ape+\"', direccion='\"+dir+\"', ubigeo='\"+ubig+\"', telefono1='\"+tel1+\"', telefono2='\"+tel2+\"', edad='\"+edad+\"' WHERE IdPaciente='\"+idpac+\"'\");\n pstm.executeUpdate();\n pstm.close();\n }\n catch(SQLException e)\n {\n System.out.println(e);\n }\n }", "int updateByPrimaryKey(Prueba record);", "@Test\n public void updateTest9() throws SQLException {\n manager = new TableServizioManager(mockDb);\n Servizio servizio = manager.retriveById(2);\n servizio.setCabina(true);\n manager.update(servizio);\n servizio = manager.retriveById(2);\n assertEquals(true, servizio.isCabina() ,\"Should return true if update Servizio\");\n }", "Patient update(Patient patient);", "int updateByPrimaryKey(AccuseInfo record);", "int updateByPrimaryKey(TCpySpouse record);", "int updateByPrimaryKey(ResPartnerBankEntity record);", "private void EditiereKontakt(Kontakt k) throws Exception{\n\t\tKontaktService service = (KontaktService) Naming.lookup (\"rmi://localhost:1099/KontaktService\");\r\n\t\t\r\n\t\tk = service.editKontakt(k);\r\n\t\t\r\n\t\tSystem.out.println(\"Kontakt geändert\");\r\n\t\t\r\n\t}", "int updateByPrimaryKeySelective(NeeqCompanyAccountingFirmOnline record);", "int updateByPrimaryKey(FinancialManagement record);", "@Test\n public void updateTest1() throws SQLException {\n manager = new TableServizioManager(mockDb);\n Servizio servizio = manager.retriveById(2);\n servizio.setCabina(false);\n manager.update(servizio);\n servizio = manager.retriveById(2);\n assertEquals(false, servizio.isCabina() ,\"Should return true if update Servizio\");\n }", "@Test\n public void updateTest8() throws SQLException {\n manager = new TableServizioManager(mockDb);\n Servizio servizio = manager.retriveById(2);\n servizio.setCanoa(true);\n manager.update(servizio);\n servizio = manager.retriveById(2);\n assertEquals(true, servizio.isCanoa() ,\"Should return true if update Servizio\");\n }", "@Test\n public void updateTest6() throws SQLException {\n manager = new TableServizioManager(mockDb);\n Servizio servizio = manager.retriveById(2);\n servizio.setBeach_volley(false);\n manager.update(servizio);\n servizio = manager.retriveById(2);\n assertEquals(false, servizio.isBeach_volley() ,\"Should return true if update Servizio\");\n }", "public int a(double newbal, Long ano, Long reqId, Double double1, Long compId,\r\n\t\tLong noShare,Long userid)throws SQLException {\n\tint i=DbConnect.getStatement().executeUpdate(\"update bank set balance=\"+newbal+\"where accno=\"+ano+\"\");\r\n\tint j=DbConnect.getStatement().executeUpdate(\"update requested set status='processed',remark='bought'wherereq_id=\"+reqId+\"\");\r\n\tint k=DbConnect.getStatement().executeUpdate(\"insert into transaction values(trans_seq.nextval,\"+userid+\",sysdate,\"+double1+\",'purchase','broker',\"+compId+\",\"+noShare+\"\");\r\n\tint m=DbConnect.getStatement().executeUpdate(\"update moreshare set no_share=\"+noShare+\"where comp_id=\"+compId+\"\");\r\n\t\r\n\treturn i;\r\n}", "@Test\r\n public void testUpdate() {\r\n System.out.println(\"update\");\r\n String doc = \"\";\r\n String xml = \"\";\r\n IwRepoDAOMarkLogicImplStud instance = new IwRepoDAOMarkLogicImplStud();\r\n boolean expResult = false;\r\n boolean result = instance.update(doc, xml);\r\n assertEquals(expResult, result);\r\n // TODO review the generated test code and remove the default call to fail.\r\n fail(\"The test case is a prototype.\");\r\n }", "int updateByPrimaryKey(Kaiwa record);", "int updateByPrimaryKey(R_dept_trade record);", "public int Edshare(Long cid, Long shareamt,String datee, Long shareno, Long sindex) throws SQLException,ClassNotFoundException{\n\tint i=DbConnect.getStatement().executeUpdate(\"update share_details set no_share=\"+shareno+\",shareprice=\"+shareamt+\",shareindex=\"+sindex+\" where comp_id=\"+cid+\" and DATEOFTRANS='\"+datee+\"'\");\r\n\treturn i;\r\n\t\r\n}", "@Test\n public void updateTest3() throws SQLException {\n manager = new TableServizioManager(mockDb);\n Servizio servizio = manager.retriveById(2);\n servizio.setRistorante(false);\n manager.update(servizio);\n servizio = manager.retriveById(2);\n assertEquals(false, servizio.isRistorante() ,\"Should return true if update Servizio\");\n }", "public void update_istransfer(Integer id,String advert, String userWhoGive,String userWhoGet,Date date,Boolean payment,Boolean isreturn,Boolean istransfer,Date start,Date finish,Float price,Boolean istnew);", "int updateByPrimaryKey(Ad record);", "int updateByPrimaryKey(WayShopCateRoot record);", "int updateByPrimaryKey(AccessModelEntity record);", "int updateByPrimaryKey(Disease record);", "int updateByPrimaryKey(FctWorkguide record);", "int updateByPrimaryKey(CraftAdvReq record);", "int updateByPrimaryKey(ProSchoolWare record);", "public void salvar() {\n\n try {\n ClienteDao fdao = new ClienteDao();\n fdao.Salvar(cliente);\n\n cliente = new Cliente();\n//mesagem para saber se foi salvo com sucesso\n JSFUtil.AdicionarMensagemSucesso(\"Clente salvo com sucesso!\");\n\n } catch (RuntimeException e) {\n JSFUtil.AdicionarMensagemErro(\"ex.getMessage()\");\n e.printStackTrace();\n }\n }", "public void updateAccountingSystem(Sale sale)\n {\n \n }", "int updateByPrimaryKey(DangerMerchant record);", "int updateByPrimaryKey(ExamRoom record);", "int updateByPrimaryKey(Dress record);", "int updateByPrimaryKey(SupplyNeed record);", "int updateByPrimaryKey(FundManagerDo record);", "int updateByPrimaryKey(TLinkman record);", "public interface EscalaDAO {\r\n\r\n /**\r\n * Select numero manifiesto aeat.\r\n *\r\n * @param srvcId\r\n * the srvc id\r\n * @return the string\r\n */\r\n String selectNumeroManifiestoAeat(final Long srvcId);\r\n\r\n /**\r\n * Modificacion del estado de una escala a partir del estado de sus atraques.\r\n *\r\n * @param srvcId\r\n * Identificador del servicio de escala.\r\n * @return Numero de filas modificadas.\r\n */\r\n int updateRecalcularEstado(final Long srvcId);\r\n\r\n /**\r\n * Modificacion del codigo de exencion de una escala a partir del codigo de exencion de sus atraques.\r\n *\r\n * @param srvcId\r\n * Identificador del servicio de escala.\r\n * @return Numero de filas modificadas.\r\n */\r\n int updateExencion(final Long srvcId);\r\n\r\n /**\r\n * Modificacion del tipo de estancia de una escala a partir del tipo de estancia de sus atraques.\r\n *\r\n * @param srvcId\r\n * Identificador del servicio de escala.\r\n * @return Numero de filas modificadas.\r\n */\r\n int updateEstancia(final Long srvcId);\r\n\r\n /**\r\n * Modificacion del tipo de navegacion de entrada de una escala a partir del puerto anterior.\r\n *\r\n * @param srvcId\r\n * Identificador del servicio de escala.\r\n * @return Numero de filas modificadas.\r\n */\r\n int updateNavegacionEntrada(final Long srvcId);\r\n\r\n /**\r\n * Modificacion del tipo de navegacion de salida de una escala a partir del puerto siguiente.\r\n *\r\n * @param srvcId\r\n * Identificador del servicio de escala.\r\n * @return Numero de filas modificadas.\r\n */\r\n int updateNavegacionSalida(final Long srvcId);\r\n\r\n /**\r\n * Modificacion del tipo de IVA de una escala a partir de datos de la escala.\r\n *\r\n * @param srvcId\r\n * Identificador del servicio de escala.\r\n * @return Numero de filas modificadas.\r\n */\r\n int updateTipoIva(final Long srvcId);\r\n\r\n /**\r\n * Modificacion de las fechas de inicio/fin de una escala a partir las fechas de inicio/fin de sus\r\n * atraques.\r\n *\r\n * @param srvcId\r\n * Identificador del servicio de escala.\r\n * @return Numero de filas modificadas.\r\n */\r\n int updateRecalcularFechas(final Long srvcId);\r\n}", "@Test\n public void updateTest10() throws SQLException {\n manager = new TableServizioManager(mockDb);\n Servizio servizio = manager.retriveById(2);\n servizio.setBar(true);\n manager.update(servizio);\n servizio = manager.retriveById(2);\n assertEquals(true, servizio.isBar() ,\"Should return true if update Servizio\");\n }", "@Test\n public void updateTest7() throws SQLException {\n manager = new TableServizioManager(mockDb);\n Servizio servizio = manager.retriveById(2);\n servizio.setCanoa(false);\n manager.update(servizio);\n servizio = manager.retriveById(2);\n assertEquals(false, servizio.isCanoa() ,\"Should return true if update Servizio\");\n }", "public void crudOperationStudent(){\n //Retrieve Student\n Student student=entityManager.find(Student.class,2L);\n // persistence Context have Student\n //Retrieve Passport\n Passport passport=student.getPassport();\n // persistence Context have Student,passport\n //Update passport number for student\n passport.setPassportNo(\"ZX132322\");\n // persistence Context have Student, updated-passport\n //update Student details\n student.setAge(25);\n // persistence Context have updated-Student, updated-passport\n entityManager.persist(student);\n\n }", "int updateByPrimaryKeySelective(RepStuLearning record);", "@Test\n public void updateTest12() throws SQLException {\n manager = new TableServizioManager(mockDb);\n Servizio servizio = manager.retriveById(2);\n servizio.setAnimazione(true);\n manager.update(servizio);\n servizio = manager.retriveById(2);\n assertEquals(true, servizio.isAnimazione() ,\"Should return true if update Servizio\");\n }", "private void saveAT() \n {\n // get DatabaseConnector to interact with the SQLite database\n\t AnimalDatabase db = new AnimalDatabase(this);\n\t AnimalList al = new AnimalList (db);\n\t \n // insert the contact information into the database\n al.Update(id, amount, comments);\n\n }", "int updateByPrimaryKey(BusinessRepayment record);", "public void actualizar(Dia dia) {\n Session session = sessionFactory.openSession();\n //la transaccion a relizar\n Transaction tx = null;\n try {\n tx = session.beginTransaction();\n //actualizar el Dia\n session.update(dia);\n \n tx.commit();\n }\n catch (Exception e) {\n //Se regresa a un estado consistente \n if (tx!=null){ \n tx.rollback();\n }\n e.printStackTrace(); \n }\n finally {\n //cerramos siempre la sesion\n session.close();\n }\n}", "int updateByPrimaryKey(SsPaymentBillPerson record);", "public void ustaw(){\n\t driver.initialize(this);\n\t driver.edit(new DodajSerwisDTO());\n\t }", "int updateByPrimaryKey(ac_teacher_instrument record);", "int updateByPrimaryKey(DictDoseUnit record);", "@Test\r\n public void testUpdate() throws Exception {\r\n MonitoriaEntity entity = data.get(0);\r\n PodamFactory pf = new PodamFactoryImpl();\r\n MonitoriaEntity nuevaEntity = pf.manufacturePojo(MonitoriaEntity.class);\r\n nuevaEntity.setId(entity.getId());\r\n persistence.update(nuevaEntity);\r\n// Assert.assertEquals(nuevaEntity.getName(), resp.getName());\r\n }", "int updateByPrimaryKey(GoodsPo record);", "int updateByPrimaryKey(Online record);", "@Test\n public void updateTest13() throws SQLException {\n manager = new TableServizioManager(mockDb);\n Servizio servizio = manager.retriveById(2);\n servizio.setWifi(true);\n manager.update(servizio);\n servizio = manager.retriveById(2);\n assertEquals(true , servizio.isWifi() ,\"Should return true if update Servizio\");\n }", "int updateByPrimaryKey(Abum record);", "@Test\r\n public void testBUpdate() throws Exception {\r\n System.out.println(\"update\");\r\n \r\n UsuarioDao instance = new UsuarioDao();\r\n \r\n Usuario obj = instance.login(\"admin\", \"admin\");\r\n obj.setFullName(\"Kevin Duran\");\r\n \r\n int expResult = 1;\r\n int result = instance.update(obj);\r\n assertEquals(expResult, result);\r\n }", "int updateByPrimaryKey(Depart record);", "int updateByPrimaryKey(SPerms record);", "int updateByPrimaryKey(LawPerson record);", "public void saveORUpdateObra(Obra obra) throws Exception;", "int updateByPrimaryKey(DashboardGoods record);", "@Test\npublic void testUpdateAStudentInformation() {\n//TODO: Test goes here...\n System.out.println(StudentDao.updateAStudentInformation(1006, \"6\", 99, 99, 99));\n}", "int updateByPrimaryKey(PrhFree record);", "@Test\n public void update() {\n try{\n repo.save(s);\n repot.save(t);\n repon.save(n);\n Tema t2 = new Tema(1, 0, 6, \"GUI\");\n Student s2 = new Student(1,221, \"Pop Ion\",\"pop.ion@gmail.com\",\"prof\");\n Nota n2 = new Nota(1, 1, \"prof\", 10, \"Irelevant\");\n repo.save(s2);\n repot.save(t2);\n repon.save(n2);\n repo.update(s2);\n repot.update(t2);\n repon.update(n2);\n assert repo.findOne(1).getGrupa()==221;\n assert repot.findOne(1).getDeadline()==8;\n assert repon.findOne(\"11\").getFeedback()==\"Irelevant\";\n\n }\n catch (ValidationException e){\n }\n }", "int updateByExample(Disproduct record, DisproductExample example);", "@PUT\n @JWTTokenNeeded\n @Consumes({MediaType.APPLICATION_JSON})\n @Produces({MediaType.APPLICATION_JSON})\n public Response update(EscenarioDTO entidad) {\n logger.log(Level.INFO, \"entidad:{0}\", entidad);\n \n try {\n \tConciliacion entidadPadreJPA = null;\n if (entidad.getIdConciliacion() != null) {\n entidadPadreJPA = padreDAO.find(entidad.getIdConciliacion());\n if (entidadPadreJPA == null) {\n throw new DataNotFoundException(Response.Status.NOT_FOUND.getReasonPhrase() + entidad.getIdConciliacion());\n }\n }\n //Hallar La entidad actual para actualizarla\n Escenario entidadJPA = managerDAO.find(entidad.getId());\n if (entidadJPA != null) {\n entidadJPA.setFechaActualizacion(Date.from(Instant.now()));\n entidadJPA.setNombre(entidad.getNombre() != null ? entidad.getNombre() : entidadJPA.getNombre());\n entidadJPA.setImpacto(entidad.getImpacto() != null ? entidad.getImpacto() : entidadJPA.getImpacto());\n entidadJPA.setDescripcion(entidad.getDescripcion() != null ? entidad.getDescripcion() : entidadJPA.getDescripcion());\n \n Boolean actualizarConciliacion = false;\n entidadJPA.setConciliacion(entidad.getIdConciliacion() != null ? (entidadPadreJPA != null ? entidadPadreJPA : null) : entidadJPA.getConciliacion());\n \n Conciliacion conciliacionpadreactual = null;\n \n \n if (entidadJPA.getConciliacion() != null && !Objects.equals(entidadJPA.getConciliacion().getId(), entidad.getIdConciliacion())){\n actualizarConciliacion = true;\n conciliacionpadreactual = padreDAO.find(entidadJPA.getConciliacion().getId());\n }\n //entidadJPA.setConciliacion(entidad.getIdConciliacion() != null ? (entidadPadreJPA != null ? entidadPadreJPA : null) : entidadJPA.getConciliacion());\n managerDAO.edit(entidadJPA);\n if (actualizarConciliacion){\n if ((entidadPadreJPA != null)) {\n entidadPadreJPA.addEscenario(entidadJPA);\n padreDAO.edit(entidadPadreJPA);\n conciliacionpadreactual.removeEscenario(entidadJPA);\n padreDAO.edit(conciliacionpadreactual);\n }\n }\n LogAuditoria logAud = new LogAuditoria(this.modulo, Constantes.Acciones.EDITAR.name(), Date.from(Instant.now()), entidad.getUsername(), entidadJPA.toString());\n logAuditoriaDAO.create(logAud);\n \n ResponseWrapper wraper = new ResponseWrapper(true,I18N.getMessage(\"escenario.update\", entidad.getNombre()) ,entidadJPA.toDTO());\n \treturn Response.ok(wraper,MediaType.APPLICATION_JSON).build();\n }\n \n ResponseWrapper wraper = new ResponseWrapper(false,I18N.getMessage(\"escenario.notfound\", entidad.getNombre()));\n \treturn Response.ok(wraper,MediaType.APPLICATION_JSON).build();\n }catch (Exception e) {\n \tif(e.getCause() != null && (e.getCause() instanceof DataAlreadyExistException || e.getCause() instanceof DataNotFoundException)) {\n \t\tlogger.log(Level.SEVERE, e.getMessage(), e);\n \t\tResponseWrapper wraper = new ResponseWrapper(false, e.getCause().getMessage(), 500);\n \t\treturn Response.ok(wraper,MediaType.APPLICATION_JSON).build();\n \t}else {\n \t\tlogger.log(Level.SEVERE, e.getMessage(), e);\n \t\tResponseWrapper wraper = new ResponseWrapper(false, I18N.getMessage(\"general.readerror\"), 500);\n \t\treturn Response.ok(wraper,MediaType.APPLICATION_JSON).build();\n \t}\n }\n }", "int updateByPrimaryKey(Access record);", "int updateByPrimaryKey(R_dept_user record);", "@Test\n public void testUpdateApartmentStatus() {\n System.out.println(\"updateApartmentStatus\");\n String status = \"Unavailable\";\n int apartmentid = 2;\n ApartmentBLL instance = new ApartmentBLL();\n instance.updateApartmentStatus(status, apartmentid);\n }", "int updateByPrimaryKey(StudentInfo record);", "int updateByPrimaryKey(StudentEntity record);", "int updateByPrimaryKey(TCar record);" ]
[ "0.6471519", "0.6318721", "0.625215", "0.62214017", "0.61729544", "0.60812014", "0.6025843", "0.60196704", "0.5987684", "0.5986102", "0.5977046", "0.5965663", "0.5964698", "0.5962011", "0.59508026", "0.594679", "0.5945459", "0.59291077", "0.59246576", "0.5923186", "0.5917149", "0.59081024", "0.59044963", "0.58998185", "0.58921134", "0.58841234", "0.58522946", "0.5850781", "0.5849877", "0.5844461", "0.5836286", "0.5828959", "0.5824788", "0.5821248", "0.58176893", "0.58171666", "0.5815104", "0.5805645", "0.58002657", "0.5799843", "0.5797296", "0.5793455", "0.5792516", "0.578944", "0.5788783", "0.57848614", "0.57807815", "0.5776443", "0.57740873", "0.5770707", "0.57698184", "0.5768834", "0.57649684", "0.5763655", "0.5760672", "0.575669", "0.5752297", "0.575181", "0.5751189", "0.5744358", "0.5743072", "0.5739121", "0.57376456", "0.57373947", "0.57322645", "0.5731983", "0.5731819", "0.5729495", "0.5726492", "0.57219553", "0.57205904", "0.5717263", "0.5716996", "0.5714905", "0.5709134", "0.57074434", "0.57036066", "0.5702854", "0.5702198", "0.57020706", "0.5700825", "0.56984854", "0.5695336", "0.5694712", "0.5693569", "0.5692173", "0.5689693", "0.5687864", "0.56857157", "0.5683897", "0.5682643", "0.56771064", "0.5675111", "0.567174", "0.56647974", "0.56615734", "0.56575614", "0.56448114", "0.564329", "0.56378293", "0.5637425" ]
0.0
-1
will need appropriate parameterized constructor, accessors and mutators
public GoogleMarker(double l, double lg, String c, String lab, String cat){ latitude = l; longitude = lg; color = c; label = lab; category = cat; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Constructor() {\r\n\t\t \r\n\t }", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "@Override\n protected void init() {\n }", "public Constructor(){\n\t\t\n\t}", "private SimpleRepository() {\n \t\t// private ct to disallow external object creation\n \t}", "private TMCourse() {\n\t}", "@Override\r\n\tpublic void init() {}", "@Override\n void init() {\n }", "@Override\n public void init() {}", "@Override\n public void init() {\n }", "private AccessorModels() {\n // Private constructor to prevent instantiation\n }", "@Override\n\t\tpublic void init() {\n\t\t}", "protected GeometricObject() \n\t{\n\t\tdateCreated = new java.util.Date();\n\t}", "protected abstract void construct();", "@Override\n public void init() {\n\n }", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\n protected void initialize() {\n }", "@Override\n protected void initialize() {\n }", "@Override\n protected void initialize() {\n }", "@Override\n protected void initialize() {\n }", "@Override\n protected void initialize() {\n }", "@Override\n protected void initialize() {\n }", "@Override\n public void init() {\n }", "protected Product() {\n\t\t\n\t}", "private Converter()\n\t{\n\t\tsuper();\n\t}", "private PropertyAccess() {\n\t\tsuper();\n\t}", "@Override public void init()\n\t\t{\n\t\t}", "@Override\r\n\tpublic void init()\r\n\t{\n\t}", "public Pitonyak_09_02() {\r\n }", "public void init() {\r\n\t\t// to override\r\n\t}", "private MApi() {}", "@Override\n public void init() {\n\n }", "@Override\n public void init() {\n\n }", "Reproducible newInstance();", "private Rekenhulp()\n\t{\n\t}", "public BaseParameters(){\r\n\t}", "@Override\n protected void initData() {\n }", "@Override\n protected void initData() {\n }", "@Override\r\n\tprotected void initSelfData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initSelfData() {\n\t\t\r\n\t}", "public Pojo1110110(){\r\n\t}", "@Override\n\tprotected void initData() {\n\t\t\n\t}", "private TigerData() {\n initFields();\n }", "public Data() {\n \n }", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "protected SourceDocumentInformation() {\n }", "private Item(){}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "public void init() {\n \n }", "@Override\n\tpublic void init()\n\t{\n\n\t}", "@Override\r\n\tpublic final void init() {\r\n\r\n\t}", "public CyanSus() {\n\n }", "public Parameters() {\n\t}", "private MappingReader() {\n\t}", "public ChangeData()\r\n\t\t{\r\n\t\t}", "@Override\n protected void initialize() \n {\n \n }", "private Values(){}", "private Infer() {\n\n }", "protected VersionData() {}", "private Params()\n {\n }", "private Instantiation(){}", "protected void init() {\n // to override and use this method\n }", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "private IndexBitmapObject() {\n\t}", "protected Coord() {\n\t}", "@Override\n protected void initialize() {\n\n \n }", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n public void init() {\n\n super.init();\n\n }", "@Override\n\tpublic void init() {\n\t}", "protected Doodler() {\n\t}", "public Data() {}", "private Marinator() {\n }", "private Marinator() {\n }", "@Override // opcional\n public void init(){\n\n }", "public Data() {\n }", "public Data() {\n }", "public contrustor(){\r\n\t}", "protected Product()\n\t{\n\t}", "public OOP_207(){\n\n }", "protected void initialize() {}", "protected void initialize() {}", "public Clade() {}", "private Store() {\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "public Model(DataHandler data){\n //assign the data parameter to the instance\n //level variable data. The scope of the parameter\n //is within the method and that is where the JVM \n //looks first for a variable or parameter so we \n //need to specify that the instance level variable \n //is to be used by using the keyword 'this' followed \n //by the '.' operator.\n this.data = data;\n }" ]
[ "0.6904466", "0.65096986", "0.6417955", "0.6407203", "0.6367757", "0.63534427", "0.63407505", "0.6337893", "0.6295332", "0.629175", "0.62694603", "0.6266531", "0.6257086", "0.62332237", "0.6227682", "0.622755", "0.622755", "0.622755", "0.61832714", "0.61832714", "0.61832714", "0.61832714", "0.61832714", "0.61832714", "0.61819535", "0.6174649", "0.61651534", "0.6163452", "0.6153356", "0.61496586", "0.6144521", "0.6142061", "0.6130479", "0.6126278", "0.6126278", "0.61201453", "0.6108178", "0.6089181", "0.60883856", "0.60883856", "0.60878235", "0.60878235", "0.6081329", "0.6072262", "0.6062781", "0.60612154", "0.60606855", "0.60606855", "0.60606855", "0.60606855", "0.60606855", "0.6060459", "0.60452783", "0.604383", "0.604383", "0.604383", "0.604383", "0.604383", "0.604383", "0.60419095", "0.60370874", "0.60335064", "0.6033335", "0.6029619", "0.6020331", "0.6018269", "0.6018163", "0.6015471", "0.6012244", "0.60115886", "0.59978884", "0.5997867", "0.5993362", "0.5988923", "0.5988923", "0.5988923", "0.5984894", "0.5976788", "0.5974536", "0.59716356", "0.59716356", "0.5963628", "0.5961442", "0.5958899", "0.59556", "0.5953906", "0.5953906", "0.5951588", "0.5950854", "0.5950854", "0.5949979", "0.5942173", "0.5940045", "0.5934234", "0.5934234", "0.5930955", "0.593002", "0.5927791", "0.5927791", "0.5927791", "0.5925256" ]
0.0
-1
will need toString that outputs in format of ex. &markers=color:red%7Clabel:A%7C40.729961,73.590879 A is the value of the label or name there is "%7C" separating the value of the color and the word label there is "%7C" separating the value of the label and the latitude
public String toString() { String str = "&markers=color:" + color + "%7Clabel:" + label + "%7C" + latitude + "," + longitude; return str; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public String toString()\n {\n return id + \"*\" + name + \"|\" + lat + \"&\"+lon + \"\\n\";\n }", "@Override\n public String toString() {\n if (this.map.getMap().isEmpty()) return \"\";\n final StringBuilder param = new StringBuilder(this.map.getMap().size() * 40);\n for (final Map.Entry<String, String> entry: entrySet()) {\n param.append(MultiProtocolURL.escape(entry.getKey()))\n .append('=')\n .append(MultiProtocolURL.escape(entry.getValue()))\n .append('&');\n }\n param.setLength(param.length() - 1);\n return param.toString();\n }", "public String toString() {\n\t\treturn String.format(\"%-28s%-16f%-17f\", city,location.getLat(),location.getLng());\n\t}", "private String format(ArrayList<Location> locs) {\n String res = \"\";\n for (Location loc : locs) {\n res += loc.getLatitude() + \"-\" + loc.getLongitude() + \";\";\n }\n return res;\n }", "public String toString() {\n checkRep();\n return \"(latitude,longitude)=(\" + this.latitude + \",\" + this.longitude + \") \\n\";\n\n }", "public String toString()\n\t{\n\t\treturn Double.toString(latitude)+\", \"+Double.toString(longitude);\n\t}", "public String toString(){\n if(trackLat != null && trackLon != null)\n return (trackNumber+\"; lat=\" + trackLat.getValue() + \";lon=\" + trackLon.getValue());\n else\n return (trackNumber+\" No location detail\");\n }", "public String toString()\n {\n return super.toString() + \":\\n\" + getMap();\n }", "@Override\n public String toString() {\n // [Durga,CEO,30000.00,Hyderabad, THEJA,COO,29000.00,Bangalore]\n // String string = String.format(\"%s,%s,%.2f,%s\", name, designation, salary, city);\n String string = String.format(\"(%s,%s,%.2f,%s)\", name, designation, salary, city);\n return string;\n }", "public String makeString(){\n\t\tString title = getTitle();\n\t\tString xlabel = getXLabel();\n\t\tString ylabel = getYLabel();\n\t\tString GraphableDataInfoString = (\"<\" + title + \",\" + xlabel + \",\" + ylabel + \">\");\n\t\treturn GraphableDataInfoString;\n\t}", "public String toString()\n {\n String ret = \"\";\n String s = adjMaps.toString();\n String[] parts = s.split(\"},\");\n for(int i=0; i< parts.length; i++){\n ret += parts[i] + \"}\\n\";\n }\n return ret;\n }", "@Override\n public String toString() {\n double longDeg = Math.toDegrees(this.longitude);\n double latDeg = Math.toDegrees(this.latitude);\n Locale l = null;\n String s = String.format(l, \"(%.4f,%.4f)\", longDeg, latDeg);\n return s;\n }", "public String toString()\n {\n return this.j2ksec + \",\" + this.eid + \",\" + this.lat + \",\" + this.lon + \",\" + this.depth + \",\" + this.prefmag;\n }", "public String toString() {\n\t\treturn geoCoordinate.toString() + \" | \" + name + \" | \" + description;\n\t}", "public String toString()\n {\n return \"Label: \" + label + \", Value: \" + value + \", List: \"+linkString()\n + \", Edges: \" + edgeString() + \", Visited: \" + visited + \", Previous: \"\n + previous.getLabel() + \", Distance From Source: \" + distanceFromSource;\n }", "@Override\n public String toString() {\n return title +\" \"+ gpsX+\" \"+gpsY+\" \"+address+\" \"+newAddress+\" \"+category;\n }", "@Override\n @Nonnull\n public String toString() {\n final StringBuilder sb = new StringBuilder(\"GpsInfo{\");\n sb.append(\"latitude=\").append(latitude);\n sb.append(\", longitude=\").append(longitude);\n sb.append(\", altitude=\").append(altitude);\n sb.append(\", dateTimeZone='\").append(dateTimeZone).append('\\'');\n sb.append(\", datum='\").append(datum).append('\\'');\n sb.append('}');\n return sb.toString();\n }", "@Override\n\tpublic String toString() {\n\t\treturn String.format(\"(%f, %f, %f)\", x, y, z);\n\t}", "@Override\n public String toString() {\n if (isValid()) {\n return String.format(\n Locale.US,\n \"%+02f%+02f%s/\",\n coordinates.get(1), coordinates.get(0), coordinateSystem.toString());\n }\n return \"\";\n }", "public static String getLatLng(LatLng currentLocation, int color) {\n // If the location is valid\n if (currentLocation != null) {\n return \"@long\" +\n String.valueOf(currentLocation.longitude) +\n \"gnol@\" +\n \"@lat\" +\n String.valueOf(currentLocation.latitude) +\n \"tal@\" +\n \"#\" + color + \"#\";\n } else {\n // Otherwise, return the empty string\n return EMPTY_STRING;\n }\n }", "public String toString() {\n\t\treturn \"[Location] Operator: \" + this.operator + \" Longitude: \" + this.longitude +\n\t\t\t \" Latitude: \" + this.latitude;\n\t}", "@Override\n public String toString() \n\t{\n\t\t// This is just for the output format\n\t\tString sg = \"\";\n\t\tsg = sg + \"(\";\n\t\tsg = sg + x;\n\t\tsg = sg + \", \";\n\t\tsg = sg + y;\n\t\tsg = sg + \") \";\n\t\t\n\t\treturn sg;\n\n\t}", "String toStringStartValues();", "private String createCustomInfoString() {\r\n String CustomInfo = \"\";\r\n Iterator<String> iterator = mCustomParameters.keySet().iterator();\r\n while (iterator.hasNext()) {\r\n String CurrentKey = iterator.next();\r\n String CurrentVal = mCustomParameters.get(CurrentKey);\r\n CustomInfo += CurrentKey + \" = \" + CurrentVal + \"\\n\";\r\n }\r\n return CustomInfo;\r\n }", "@Override\n\tpublic String toString() {\n\t\treturn zip + \"-\" + street;\n\t}", "public String toString() {\r\n\t\tString s = String.format(\"%6.1f :\", this.distance);\r\n\t\tfor (int i = 0; i < this.length(); i++) {\r\n\t\t\ts += String.format(\"%3d\", index[i]);\r\n\t\t}\r\n\t\treturn s;\r\n\t}", "public void displayPilgrim(TextView selectedCoord, MarkerOptions markerOptions, DecimalFormat formater) {\n selectedCoord.setText(\"Selected Park: 41.9589° N, -70.6622° W\");\n locationImage.setImageResource(R.drawable.pilgrim);\n markerOptions\n .position(arrayList.get(3))\n .title(\"Pilgrim Memorial State Park:\\n\" + formater.format(arrayList.get(3).latitude) + \"° N\" + \", \" + formater.format(arrayList.get(3).longitude) + \"° W\");\n //Zoom the Marker\n gMap.animateCamera(CameraUpdateFactory.newLatLngZoom(arrayList.get(3), 15));\n //Add Marker On Map\n gMap.addMarker(markerOptions);\n }", "public String toString() {\n return\n getLatitude(\"\") + \"|\" +\n getLongitude(\"\") + \"|\" +\n getDepth(\"\") + \"|\" +\n getTemperatureMin(\"\") + \"|\" +\n getTemperatureMax(\"\") + \"|\" +\n getSalinityMin(\"\") + \"|\" +\n getSalinityMax(\"\") + \"|\" +\n getOxygenMin(\"\") + \"|\" +\n getOxygenMax(\"\") + \"|\" +\n getNitrateMin(\"\") + \"|\" +\n getNitrateMax(\"\") + \"|\" +\n getPhosphateMin(\"\") + \"|\" +\n getPhosphateMax(\"\") + \"|\" +\n getSilicateMin(\"\") + \"|\" +\n getSilicateMax(\"\") + \"|\" +\n getChlorophyllMin(\"\") + \"|\" +\n getChlorophyllMax(\"\") + \"|\";\n }", "public String toString() {\n\t\treturn \"[\" + this.type + \n\t\t\t\t\" | rate:\" + this.rate + \n\t\t\t\t\" | err:\" + this.error + \n\t\t\t\t\" | loc:\" + this.localisation.x + \",\" + this.localisation.y + \"]\" + \n\t\t\t\t\" | range:\" + this.range + \"\\n\";\n\t}", "@Override\n public CharSequence convertToString(Cursor cursor) {\n int j = cursor.getColumnIndex(\"LONGITUDE\");\n return cursor.getString(j);\n }", "public String toString()\n {\n StringBuilder builder = new StringBuilder();\n builder.append( \"origin=\" );\n builder.append( origin.toString() );\n builder.append( \",color=\" );\n builder.append( \n color == null ? \n \"null\" : \n String.format(\"#%02x%02x%02x\", color.getRed(), color.getGreen(), color.getBlue() ) \n );\n \n return builder.toString();\n }", "public GoogleMarker(double l, double lg, String c, String lab, String cat){\r\n\t\tlatitude = l;\r\n\t\tlongitude = lg;\r\n\t\tcolor = c;\r\n\t\tlabel = lab;\r\n\t\tcategory = cat;\r\n\t\t\r\n\t}", "@Override\n public String toString() {\n return \"(\" + label + \", \" + dist + \")\";\n }", "@Override\n\tpublic String toString(){\n\t\treturn B_number+\",\"+left+\",\"+right+\",\"+filterType;\n\t}", "public String getCoordinatesAsString() {\r\n return String.format(\"%s, %s, %s, %s\\n\", p1, p2, p3, p4);\r\n }", "public String toString() {\n return super.toString() + \", radius:\" + radius;\r\n }", "@Override\r\n\tpublic String toString() {\n\t\treturn \"(\" + Double.toString(x) + \", \" + Double.toString(y) + \", \" + Double.toString(z) + \")\";\r\n\t\t// String.format is cleaner, but Double.toString appears to have behavior closer to that of the old editor\r\n//\t\treturn String.format(\"(%f, %f, %f)\", x, y, z);\r\n\t}", "public String toString(){\n return \"Neo[\"+getName()+\"]: CRS:\"+getCRS()+\" Bounds:\"+getBounds();\n }", "public String formatData() {\n\t\tStringBuilder builder = new StringBuilder();\n\t\n\t\t\tbuilder.append(this.iataCode);\n\t\t\tbuilder.append(\"|\");\n\t\t\tbuilder.append(this.latitude);\n\t\t\tbuilder.append(\",\");\n\t\t\tbuilder.append(this.longitude);\n\t\t\tbuilder.append(\",\");\n\t\t\tbuilder.append(this.altitude);\n\t\t\tbuilder.append(\"|\");\n\t\t\tbuilder.append(this.localTime);\n\t\t\tbuilder.append(\"|\");\n\t\t\tbuilder.append(this.condition);\n\t\t\tbuilder.append(\"|\");\n\t\t\tbuilder.append(this.temperature);\n\t\t\tbuilder.append(\"|\");\n\t\t\tbuilder.append(this.pressure);\n\t\t\tbuilder.append(\"|\");\n\t\t\tbuilder.append(this.humidity);\n\t\t\tbuilder.append(\"\\n\");\n\t\t\n\n\t\treturn builder.toString();\n\n\t}", "public String getLocationString(){\n return \"(\" + x + \", \" + y + \")\";\n }", "public String toString() {\n\t\tString stringList = Arrays.toString(this.facets.toArray());\n\t\treturn \"solid \" + name + stringList.replace(\"[\", \"\").replace(\"]\", \"\").replace(\",\", \"\") + \"\\nendsolid \" + name;\n\t}", "public String toString()\r\n {\r\n StringBuffer buffer = new StringBuffer(30);\r\n\r\n buffer.append(this.url);\r\n\r\n if (this.parameters.size() > 0)\r\n {\r\n buffer.append('?');\r\n Set parameterSet = this.parameters.entrySet();\r\n\r\n Iterator iterator = parameterSet.iterator();\r\n\r\n while (iterator.hasNext())\r\n {\r\n Map.Entry entry = (Map.Entry) iterator.next();\r\n\r\n Object key = entry.getKey();\r\n Object value = entry.getValue();\r\n\r\n if (value == null)\r\n {\r\n buffer.append(key).append('='); // no value\r\n }\r\n else if (value.getClass().isArray())\r\n {\r\n Object[] values = (Object[]) value;\r\n for (int i = 0; i < values.length; i++)\r\n {\r\n if (i > 0)\r\n {\r\n buffer.append(TagConstants.AMPERSAND);\r\n }\r\n\r\n buffer.append(key).append('=').append(values[i]);\r\n }\r\n }\r\n else\r\n {\r\n buffer.append(key).append('=').append(value);\r\n }\r\n\r\n if (iterator.hasNext())\r\n {\r\n buffer.append(TagConstants.AMPERSAND);\r\n }\r\n }\r\n }\r\n\r\n if (this.anchor != null)\r\n {\r\n buffer.append('#');\r\n buffer.append(this.anchor);\r\n }\r\n\r\n return buffer.toString();\r\n }", "public String toString() {\n\t\treturn GrilleLoader.serialize(this, false); //isGrlFormat=false\n\t}", "public String toString(){\n\t\tString s = new String();\n\t\tif( x != null ){\n\t\t\ts = s+\"x: \"+x.toString()+\" \";\n\t\t}\n\t\tif( y != null ){\n\t\t\ts = s+\"y: \"+y.toString()+\" \";\n\t\t}\n\t\tif( z != null ){\n\t\t\ts = s+\"z: \"+z.toString()+\" \";\n\t\t}\n\t\tif( intensity != null){\n\t\t\ts = s+\"Intensity: \";\n\t\t\tfor( int i=0; i<intensity.length; i++){\n\t\t\t\ts = s+intensity[i]+\" \";\n\t\t\t}\n\t\t}\n\t\treturn s;\n\t}", "private void plottingMarkers(){\r\n if (nameList.size()==0) {\r\n }\r\n else {\r\n for (int i = 0; i < nameList.size(); i++) {\r\n Loc2LatLng = new LatLng(Double.parseDouble(latList.get(i)), Double.parseDouble(lngList.get(i)));\r\n MarkerOptions markerSavedLocations = new MarkerOptions();\r\n markerSavedLocations.title(nameList.get(i));\r\n markerSavedLocations.position(Loc2LatLng);\r\n map.addMarker(markerSavedLocations);\r\n }\r\n }\r\n }", "@Override\n\tpublic String toString()\n\t{\n\t\t/* output looks like this\n\t\t * \n\t\t * 20 - 10, 30 20 has edges with 10 and 30\n\t\t * 40 - 10, 30 \t\t40 has edges with 10 and 30\n\t\t * 10 - 20, 40 \t\t\t10 has edges with 20 and 40\n\t\t * 30 - 20, 40 \t\t\t30 has edges with 20 and 40\n\t\t */\n\t\tString str = new String();\n\t\tfor(Map.Entry<Object, SinglyLinkedList> vertex : map.entrySet())\n\t\t\tstr += vertex.getKey() + \" - \" + vertex.getValue() + '\\n';\t\t\t\t\n\t\treturn str;\n\t}", "public String toString()\n {\n return \"(\"+getType()+\")\"+getLocation(); \n }", "public String toString()\n {\n String s = \"\";\n for (Point2D.Float p : points) {\n if (s.length() > 0) s += \", \";\n s += round(p.x) + \"f\" + \",\" + round(p.y) + \"f\";\n }\n return s;\n }", "public String toString() {\n\t\treturn \"\" + type + \",\" + (rempli ? \"p\" : \"v\") + \",\" +\n\t\t\t\tx + \",\" + y + \",\" + largeur + \",\" + hauteur + \",\"\n\t\t\t\t+ Integer.toHexString(couleur.getRGB() & 0xffffff);\n\t}", "private String getCompleteAddressString(double LATITUDE, double LONGITUDE) {\n String strAdd = \"\";\n Geocoder geocoder = new Geocoder(getActivity(), Locale.getDefault());\n try {\n List<Address> addresses = geocoder.getFromLocation(LATITUDE, LONGITUDE, 1);\n if (addresses != null) {\n Address returnedAddress = addresses.get(0);\n StringBuilder strReturnedAddress = new StringBuilder(\"\");\n\n for (int i = 0; i <= returnedAddress.getMaxAddressLineIndex(); i++) {\n strReturnedAddress.append(returnedAddress.getAddressLine(i)).append(\"\\n\");\n }\n strAdd = strReturnedAddress.toString();\n } else {\n Log.e(\"Current loction address\", \"No Address returned!\");\n }\n } catch (Exception e) {\n e.printStackTrace();\n Log.e(\"Current loction address\", \"Canont get Address!\");\n }\n return strAdd;\n }", "private String getLocationForPrint(double latitude, double longitude) {\n int latDegree = (new Double(Math.floor(latitude))).intValue();\n int longDegree = (new Double(Math.floor(longitude))).intValue();\n String latEnd = getString(R.string.latitude_south);\n String longEnd = getString(R.string.longitude_west);\n if (latDegree > 0) {\n latEnd = getString(R.string.latitude_north);\n\n }\n if (longDegree > 0) {\n longEnd = getString(R.string.longitude_east);\n }\n double latSecond = (latitude - latDegree) * 100;\n double latMinDouble = (latSecond * 3d / 5d);\n int latMinute = new Double(Math.floor(latMinDouble)).intValue();\n\n double longSecond = (longitude - longDegree) * 100;\n double longMinDouble = (longSecond * 3d / 5d);\n int longMinute = new Double(Math.floor(longMinDouble)).intValue();\n// return String.format(getString(R.string.geo_location_info), latDegree,\n// latMinute, latEnd, longDegree, longMinute, longEnd);\n return getString(R.string.geo_location_info);\n\n }", "@Override\n public String toString() {\n return address[1] + \".\" + address[2] + \".\" + address[3] + \".\" + address[4];\n }", "public java.lang.String getMarkerNameAsString()\n {\n return getMarkerName().toString();\n }", "public String toString() {\r\n\t\tString str = color.substring(0,1).toUpperCase()\r\n\t\t\t\t + color.substring(1) + \" \" \r\n\t\t\t\t + name.substring(0,1).toUpperCase()\r\n\t\t\t\t + name.substring(1);\r\n\t\treturn str;\r\n\t}", "String toString(boolean legend) {\n Formatter out = new Formatter();\n if (!legend) {\n for (char i = '5'; i >= '1'; i = (char) (i - 1)) {\n out.format(\" \");\n for (char j = 'a'; j <= 'e'; j = (char) (j + 1)) {\n out.format(\" \");\n out.format(\"%s\", get(j, i).shortName());\n }\n if (i != '1') {\n out.format(\"%n\");\n }\n }\n } else {\n if (legend) {\n int s = SIDE;\n for (char i = '5'; i >= '1'; i = (char) (i - 1)) {\n out.format(\"%s \", i);\n for (char j = 'a'; j <= 'e'; j = (char) (j + 1)) {\n out.format(\" \");\n out.format(\"%s\", get(j, i).shortName());\n }\n if (i != '1') {\n out.format(\"%n\");\n }\n }\n out.format(\" a b c d e\");\n }\n }\n return out.toString();\n }", "public String toString(){\r\n return \"Local : \"+ idLocal + \" sigle : \"+ sigle +\" places : \"+ places + \" description : \"+ description;\r\n }", "public String toString() {\n\t\tString toString = null;\n\t\ttoString = \"[\" + this.px() + \", \" + this.py() + \", \" + this.pz() + \", \" + this.e() + \"]\";\n\t\treturn toString;\n\t}", "public void displayBrewster(TextView selectedCoord, MarkerOptions markerOptions, DecimalFormat formater) {\n selectedCoord.setText(\"Selected Park: 41.9556° N, -70.6623° W\");\n locationImage.setImageResource(R.drawable.brewster);\n markerOptions\n .position(arrayList.get(4))\n .title(\"Brewster Gardens:\\n\" + formater.format(arrayList.get(4).latitude) + \"° N\" + \", \" + formater.format(arrayList.get(4).longitude) + \"° W\");\n //Zoom the Marker\n gMap.animateCamera(CameraUpdateFactory.newLatLngZoom(arrayList.get(4), 15));\n //Add Marker On Map\n gMap.addMarker(markerOptions);\n }", "public void displayEllis(TextView selectedCoord, MarkerOptions markerOptions, DecimalFormat formater) {\n selectedCoord.setText(\"Selected Park: 41.8453° N, -70.5413° W\");\n locationImage.setImageResource(R.drawable.ellisville);\n markerOptions\n .position(arrayList.get(1))\n .title(\"Ellisville Harbor State Park:\\n\" + formater.format(arrayList.get(1).latitude) + \"° N\" + \", \" + formater.format(arrayList.get(1).longitude) + \"° W\");\n //Zoom the Marker\n gMap.animateCamera(CameraUpdateFactory.newLatLngZoom(arrayList.get(1), 15));\n //Add Marker On Map\n gMap.addMarker(markerOptions);\n }", "public String toString() {\n \t\tStringBuffer retval = new StringBuffer();\r\n \t\tretval.append(address.toString());\r\n \t\tif ( parameters.size() != 0 ) retval.append(\";\").append(parameters.toString());\r\n \t\treturn retval.toString();\r\n \t}", "private String vertexNamesAndCoordsToString() {\n \n //make empty string\n String s = \"\";\n \n //add # of vertices & line break\n s += N + \"\\n\";\n \n //for loop to add names/coords to it\n for (int i = 0; i < arrayOfVertices.length; i++) {\n \n //add vertex name, xcoord, & ycoord separated by spaces \n s += arrayOfVertices[i].getName() + \" \" \n + arrayOfVertices[i].getX() + \" \" \n + arrayOfVertices[i].getY() + \"\\n\"; \n \n }\n \n //return the string\n return s;\n \n }", "public String toString(){\r\n\t\t\r\n\t\tString x =\"\";\r\n\t\t\r\n\t\tfor(int i=0; i < param.size() ; i++ ){\r\n\t\t\t\r\n\t\t\tx += param.get(i) + \"\\n\" ; \r\n\t\t\t\r\n\t\t}\r\n\t\t\r\n\t\treturn x;\r\n\t}", "public static String string() {\n\t\t\tString s = \"\";\n\t\t\ts += \"Locaux :\\n\";\n\t\t\tfor(String key : locaux.keySet()) {\n\t\t\t\tIdent i = locaux.get(key);\n\t\t\t\ts += key+\", \"+i.toString()+\"\\n\";\n\t\t\t}\n\t\t\ts += \"Globaux :\\n\";\n\t\t\tfor(String key : globaux.keySet()) {\n\t\t\t\tIdent i = globaux.get(key);\n\t\t\t\ts += key+\", \"+i.toString()+\"\\n\";\n\t\t\t}\n\n\t\t\treturn s;\n\t\t}", "String toString(boolean coordinates) {\r\n Formatter out = new Formatter();\r\n for (int r = SIZE - 1; r >= 0; r -= 1) {\r\n if (coordinates) {\r\n out.format(\"%2d\", r + 1);\r\n } else {\r\n out.format(\" \");\r\n }\r\n for (int c = 0; c < SIZE; c += 1) {\r\n out.format(\" %s\", get(c, r));\r\n }\r\n out.format(\"%n\");\r\n }\r\n if (coordinates) {\r\n out.format(\" \");\r\n for (char c = 'a'; c <= 'i'; c += 1) {\r\n out.format(\" %c\", c);\r\n }\r\n out.format(\"%n\");\r\n }\r\n return out.toString();\r\n }", "private String latitudeConversion() {\n int lat = record[1];\n if (lat >= 0) {\n lat = lat & 255;\n }\n lat = (lat << 8) + (record[0] & 255);\n float flat = Float.parseFloat((\"\" + lat + \".\" + (((record[3] & 255) << 8) + (record[2] & 255))));\n int degs = (int) flat / 100;\n float min = flat - degs * 100;\n String retVal = \"\" + (degs + min / 60);\n\n if (retVal.compareTo(\"200.0\") == 0) {\n return \"\";\n } else {\n return retVal;\n }\n }", "@Override\n public String toString() {\n String out = \"Distance =\" + distance + \" Path : \" + getPoints().get(0);\n for (int i = 1; i < getPoints().size(); i++) {\n out += \" -> \" + getPoints().get(way[i]);\n }\n return out;\n }", "public void mapToString() {\r\n for (Square[] x : map) {\r\n for (Square y : x) {\r\n System.out.print(y.getVisual() + \" \");\r\n }\r\n System.out.println();\r\n }\r\n }", "@Override\n public String toString()\n {\n return String.format(\"(%f,%f,%f,%f)\", kP, kI, kD, kF);\n }", "@Override\n\tpublic String toString()\n\t\t{\n\t\tStringBuilder stringBuilder = new StringBuilder();\n\t\tstringBuilder.append(\"[\");\n\t\tstringBuilder.append(a);\n\t\tstringBuilder.append(\",\");\n\t\tstringBuilder.append(b);\n\t\tstringBuilder.append(\"]\");\n\t\treturn stringBuilder.toString();\n\t\t}", "public String toString() {\n return label + \"(\" + MathUtil.doubleString(value, 1) + \")\\tweight: \" + MathUtil.doubleString(weight, 2) + \"\\tFeatureVector: \" + featureVector.toString();\n }", "public String toString() {\n\t\tif (label1 == null) return \"(\" + end + \")\";\n\t\tif (label2 == null) return \"(\" + label1 + \",\" + end + \")\";\n\t\treturn \"(\" + label1 + \",\" + label2 + \",\" + end + \")\";\n\t}", "@Override\n\tpublic String toString() {\n\t\tString str_a, str_b, str_c, str_d;\n\t\tstr_a = (a==null)?\"\":a.toString();\n\t\tstr_b = (b==null)?\"\":b.toString();\n\t\tstr_c = (c==null)?\"\":c.toString();\n\t\tstr_d = (d==null)?\"\":d.toString();\n\t\t\n\t\treturn String.format(\"%d(%s)(%s)(%s)(%s)\", this.color, str_a, str_b, str_c, str_d);\n\t}", "public static String convertCoordinatesArrayToString(ArrayList<LatLng> coordsArray){\n String result = \"\";\n LatLng coord;\n for (int i=0; i < coordsArray.size(); i+=1) {\n coord = coordsArray.get(i);\n result += coord.latitude + \",\";\n result += coord.longitude;\n if (i+1 < coordsArray.size()){\n result += \",\";\n }\n }\n return result;\n }", "public String toString(MapStringToInt map){\n\t\tStringBuffer s = new StringBuffer(\"digraph G_T {\\n\");\n\t\tfor ( int i = 0; i< this.graph.size(); i++){\n\t\t\tString original = map.getString(i);\n\t\t\tString modified = avoidErrorChar( original );\n\t\t\ts.append(String.format(\"%d [label=\\\"%s\\\"];\\n\", i, modified));\n\t\t}\n\t\tfor ( int m = 0; m< this.graph.size(); m++){\n\t\t\tfor ( int n = 0; n< this.graph.elementAt(m).size(); n++){\n\t\t\t\ts.append(String.format(\"%d -> %d;\\n\", m, this.graph.elementAt(m).elementAt(n) ));\n\t\t\t}\n\t\t}\n\t\ts.append(\"}\");\n\t\treturn s.toString();\n\t}", "@Override\n public String toString() {\n Gson gson = new Gson();\n String s = gson.toJson(this);\n return s;\n\n// return \"Pair: (\" + key + \",\" + value + \")\";\n }", "public String toString(){\n\t\treturn name + \", \" + address;\n\t}", "@Override\n public String toString()\n {\n\n String str = String.format(\"%5d %-20s %2c %11.2f\",id,name,rarity,value);\n\n return str;\n }", "public String toString() {\n return(\"[\"+point1+\",\"+point2+\"]\");\n }", "@Override\n\tpublic String toString()\n\t{\n\t\tfinal AppendingStringBuffer buffer = new AppendingStringBuffer();\n\t\tboolean first = true;\n\t\tfor (Map.Entry<String, Object> entry : entrySet())\n\t\t{\n\t\t\tif (first == false)\n\t\t\t{\n\t\t\t\tbuffer.append(' ');\n\t\t\t}\n\t\t\tfirst = false;\n\n\t\t\tbuffer.append(entry.getKey());\n\t\t\tbuffer.append(\" = \\\"\");\n\t\t\tfinal Object value = entry.getValue();\n\t\t\tif (value == null)\n\t\t\t{\n\t\t\t\tbuffer.append(\"null\");\n\t\t\t}\n\t\t\telse if (value.getClass().isArray())\n\t\t\t{\n\t\t\t\tbuffer.append(Arrays.asList((Object[])value));\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tbuffer.append(value);\n\t\t\t}\n\n\t\t\tbuffer.append('\\\"');\n\t\t}\n\t\treturn buffer.toString();\n\t}", "@Override\n\tpublic String toString() {\n\t\treturn (\"\"+label);\n\t}", "@Override\r\n public String toString() {\r\n// ritorna una stringa\r\n return \"pollo\";\r\n }", "public void displayNelson(TextView selectedCoord, MarkerOptions markerOptions, DecimalFormat formater) {\n selectedCoord.setText(\"Selected Park: 41.9667° N, -70.6715° W\");\n locationImage.setImageResource(R.drawable.nelson);\n markerOptions\n .position(arrayList.get(0))\n .title(\"Nelson Memorial Park:\\n\" + formater.format(arrayList.get(0).latitude) + \"° N\" + \", \" + formater.format(arrayList.get(0).longitude) + \"° W\");\n //Zoom the Marker\n gMap.animateCamera(CameraUpdateFactory.newLatLngZoom(arrayList.get(0), 15));\n //Add Marker On Map\n gMap.addMarker(markerOptions);\n }", "@Override\r\n public String toString(){\n return x + \", \" + y + \", \" + z ;\r\n }", "@Override\n\tpublic String toString() {\n\t\treturn new StringBuffer(\"Street: \")\n\t\t.append(this.street)\n\t\t.append(\"country: \").append(this.country).toString();\n\t}", "public String toString(){\r\n\t\tStringBuilder sb=new StringBuilder();\r\n\t\t\r\n\t\tsb.append(String.format(\" initial pairs: %8d\\n\",num[0]));\r\n\t\t\r\n\t\tsb.append(\" time(day) samples Dxx(km) Dyy(km) Dis(km) Kxx(10^7cm^2/s) Kyy(10^7cm^2/s)\\n\");\r\n\t\t\r\n\t\tfor(int l=0,L=num.length;l<L;l++)\r\n\t\tsb.append(String.format(\r\n\t\t\t\" %5.1f %6d %7.3f %7.3f %7.3f %7.3f %7.3f\\n\",\r\n\t\t\tl*dt/86400f,num[l],Dxx[l]/1e6,Dyy[l]/1e6,Dis[l]/1e6,Kxx[l],Kyy[l]\r\n\t\t));\r\n\t\t\r\n\t\treturn sb.toString();\r\n\t}", "@Override\n public String toString()\n {\n final StringBuilder sb = new StringBuilder(12);\n sb.append('(');\n sb.append(this.parameter.toString());\n sb.append(\")%\");\n return sb.toString();\n }", "public String paramString() {\n\t\tString tail = super.paramString();\n\t\ttail = tail.substring(tail.indexOf(')') + 1);\n\t\treturn \"points=\" + points + \", lineWidth=\" + getLineWidth() + tail;\n\t}", "public String getVals(){\n return (\"a: \" + a + \"\\nr: \" + r + \"\\nb: \" + b + \"\\ng: \" + g);\n }", "public void getLegendLabels(List labels, int legendType) {\n super.getLegendLabels(labels, legendType);\n if ((lat != lat) || (lon != lon)) {\n return;\n }\n labels.add(\"Position: \" + getDisplayConventions().formatLatLon(lat)\n + \" \" + getDisplayConventions().formatLatLon(lon));\n }", "public String toString(){\r\n\t\tString str = \"|\";\r\n\t\tArrayNode<T> temp = beginMarker.next;\r\n\t\twhile (temp != endMarker){\r\n\t\t\tstr+= temp.toString() + \"|\";\r\n\t\t\ttemp = temp.next;\r\n\t\t}\r\n\t\treturn str;\r\n\t}", "public String toString() {\n\t\tString result=\"\";\n\t\tString a = street;\n\t\tString b = Integer.toString(number);\n\t\tString c = zipCode;\n\t\tString d = city;\n\t\tresult = a + \" \"+ b+\" \"+ c + \" \"+d;\n\t\t\n\t\treturn result;\n\t}", "@Override\n\tpublic String toString()\n\t{\n\t\tStringBuilder buffer = new StringBuilder(128);\n\t\tIterator<Map.Entry<String, AbstractNode>> it = pairs.entrySet().iterator();\n\t\twhile (it.hasNext())\n\t\t{\n\t\t\tMap.Entry<String, AbstractNode> pair = it.next();\n\t\t\tbuffer.append(keyToString(pair.getKey()));\n\t\t\tbuffer.append(KEY_VALUE_SEPARATOR_CHAR);\n\t\t\tbuffer.append(' ');\n\t\t\tbuffer.append(pair.getValue());\n\t\t\tif (it.hasNext())\n\t\t\t{\n\t\t\t\tbuffer.append(PAIR_SEPARATOR_CHAR);\n\t\t\t\tbuffer.append(' ');\n\t\t\t}\n\t\t}\n\t\treturn buffer.toString();\n\t}", "public void plotCoordinatesFromText(String text){\n String[] coords = text.split(\",\");\r\n float lat = Float.parseFloat(coords[1]);\r\n float lng = Float.parseFloat(coords[0]);\r\n float ticks = Float.parseFloat(coords[2]);\r\n\r\n double total = (4400.0 - 0.1707*ticks)/44.00;//computers battery life\r\n int total_ = (int)(total + 0.5);\r\n\r\n VariablesSingleton.getInstance().setBATTERY(Double.toString(total_));\r\n TextView t = (TextView)findViewById(R.id.textView2);\r\n t.setText(VariablesSingleton.getInstance().getBATTERY()+\"%\");//displays battery life\r\n\r\n LatLng pos = new LatLng(lat,lng);//\r\n points.add(pos);//adds the point on the google maps\r\n //BikePath = mMap.addPolyline(new PolylineOptions());\r\n BikePath.setPoints(points);//adds the line connecting the markers\r\n\r\n mMap.addMarker(new MarkerOptions()//displays the marker on google map\r\n .title(\"Position\")\r\n .position(pos)\r\n );\r\n Log.d(TAG,coords[0]);\r\n Log.d(TAG,coords[1]);\r\n }", "public String toString(){\r\n\t\tString theString= \"\";\r\n\t\t\r\n\t\t//loop through and add values to the string\r\n\t\tfor (int i = 0; i < this.data.length; i++)\r\n\t\t{\r\n\t\t\ttheString = theString + this.data[i];\r\n\t\t\tif (i != this.data.length - 1)\r\n\t\t\t{\r\n\t\t\t\ttheString = theString + \", \";\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\treturn \"[\" + theString + \"]\";\r\n\t}", "public String toString() {\n\t\t// WRITE YOUR CODE HERE!\n\t\tStringBuffer buffer = new StringBuffer();\n\t\tbuffer.append(\"Virtual dataset with \" +attributes.length+\" attribute(s) and \"+map.length+\" row(s)\"+ System.lineSeparator());\n\t\tbuffer.append(\"Dataset is a view over weather-nominal.csv\"+System.lineSeparator());\n\t\tbuffer.append(\"Row indices in this dataset (w.r.t its source dataset) [\");\n\n\t\tfor(int i = 0; i < map.length; i++){\n\t\t\tbuffer.append(map[i]);\n\t\t\tif(i!=map.length-1)\n\t\t\t\tbuffer.append(\",\");\n\t\t}\n\t\tbuffer.append(\"]\").append(System.lineSeparator());\n\t\tfor(int i =0; i<attributes.length; i++){\n\t\t\tbuffer.append(attributes[i]);\n\t\t\tbuffer.append(System.lineSeparator());\n\t\t}\n\t\treturn buffer.toString();\n\t}", "public String toString(){\n\n return \"circle [radio =\"+ radius + \", color =\" + color +\" ]\";\n }", "public void displayMyCoords(TextView txtCoord, MarkerOptions markerOptions, DecimalFormat formater, double myLatitude, double myLongitude) {\n txtCoord.setText(\"Your Coordinates: \" + formater.format(myLatitude) + \"° N\" + \", \" + formater.format(myLongitude) + \"° W\");\n LatLng userCoords = new LatLng(myLatitude, myLongitude);\n gMap.addMarker(new MarkerOptions()\n .position(userCoords)\n .title(\"Your Coordinates: \" + formater.format(myLatitude) + \"° N\" + \", \" + formater.format(myLongitude) + \"° W\"));\n gMap.animateCamera(CameraUpdateFactory.newLatLngZoom(userCoords, 15));\n }", "@Override\n public String toString() {\n return String.format(\"(%d,%d)\", x, y);\n }", "@Override\n public String toString() {\n return location.getJsonPointerFragment() + \" -> \" + wrapped;\n }", "public String toString() {\n // DecimalFormat class is used to format the output\n DecimalFormat df = new DecimalFormat(\".0\");\n return \"\\nCoordinates of Parallelogram are:\\n\"\n + super.toString()\n + \"\\nWidth is :\"\n + df.format(width)\n + \"\\nHeight is :\"\n + df.format(height)\n + \"\\nArea is :\"\n + df.format(area());\n }" ]
[ "0.6799747", "0.6250169", "0.6247078", "0.62455803", "0.61595196", "0.6099194", "0.6053786", "0.5954043", "0.5842412", "0.58017266", "0.5791553", "0.5734281", "0.5709931", "0.5703899", "0.5686638", "0.56715834", "0.5669749", "0.5643101", "0.56365746", "0.5631691", "0.560368", "0.56009394", "0.55985856", "0.5537459", "0.55224526", "0.5517345", "0.5513212", "0.5505", "0.5499163", "0.5498669", "0.54788494", "0.5469612", "0.54505306", "0.5449108", "0.5447181", "0.541281", "0.5398958", "0.5398643", "0.5392425", "0.53657204", "0.5360821", "0.53447235", "0.53440654", "0.53423625", "0.5340986", "0.5340887", "0.5339169", "0.5331911", "0.5331378", "0.53276014", "0.53270155", "0.5321538", "0.53157675", "0.53112125", "0.5307447", "0.5306235", "0.5304881", "0.5303755", "0.52973247", "0.5296702", "0.5291533", "0.52816635", "0.52787113", "0.5277826", "0.52721745", "0.5269993", "0.5267225", "0.5266229", "0.5264045", "0.52640384", "0.52602017", "0.5256118", "0.525304", "0.5250395", "0.52450633", "0.52379286", "0.52352256", "0.5228419", "0.5225238", "0.5218706", "0.5216654", "0.52146304", "0.5213448", "0.5209313", "0.5207597", "0.52065045", "0.52058995", "0.5199979", "0.5190189", "0.5189459", "0.5186238", "0.5184603", "0.5180312", "0.5175659", "0.5170083", "0.51695937", "0.5168043", "0.51663804", "0.5164232", "0.51623493" ]
0.85336715
0
filter line base on header value to skip header
public void map(LongWritable key, Text value, Context context) throws IOException, InterruptedException{ if(!value.toString().contains("ARRONDISSEMENT")){ Text district = new Text(value.toString().split(";")[1]); context.write(district,NullWritable.get()); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void skipHeader() throws IOException {\n // The header contains two dashed lines; the data begins\n // immediately after the second dashed line...\n //\n readToDashedLine();\n readToDashedLine();\n }", "private boolean shouldCleanHeader(String header) {\n for(String skipHeader : CLEAN_HEADERS) {\n if(header.contains(skipHeader)){\n return true;\n }\n }\n return false;\n }", "@Test\n public void testIncludeHeaderDelimited() throws Throwable {\n testIncludeHeaderDelimited(false);\n }", "abstract protected boolean isSkippableLine(String line);", "public boolean skipHeader() {\n return skipHeader;\n }", "@Test\n public void testIncludeHeaderCSV() throws Throwable {\n testIncludeHeaderCSV(false);\n }", "public int skipWhitelines()\r\n {\r\n int i = 0;\r\n \r\n boolean success;\r\n do\r\n {\r\n String str = feed.findWithinHorizon( WHITELINE_PATTERN, 0 );\r\n \r\n if( (str != null) && (str.length() > 0) )\r\n {\r\n success = true;\r\n ++i;\r\n ++lineNum;\r\n }\r\n else\r\n success = false;\r\n }\r\n while( success );\r\n \r\n return i;\r\n }", "public void skipToken() {\t\t\n\t\t//remove token from line\n\t\tif (token != null)\n\t\t{\n\t\t\tline = line.substring(token.length());\n\t\t}\n\t\t//check if new token in line\n\t\tint pos = findFirstNotWhitespace(line.toCharArray());\n\t\t\n\t\t//read line until next token found\n\t\twhile (pos == -1 && s.hasNextLine())\n\t\t{\n\t\t\t//read next line\n\t\t\tline = s.nextLine();\n\t\t\t//check for start of token\n\t\t\tpos = findFirstNotWhitespace(line.toCharArray());\n\t\t}\n\t\t\n\t\t//no token found till eof\n\t\tif (pos == -1)\n\t\t{\n\t\t\t//set EOF tag\n\t\t\tline = null;\n\t\t}\n\t\t//reset token values\n\t\ttoken = null;\n\t\ttType = null;\n\t}", "private Token source_skipline(boolean white)\r\n throws IOException,\r\n LexerException {\r\n // (new Exception(\"skipping line\")).printStackTrace(System.out);\r\n Source s = getSource();\r\n Token tok = s.skipline(white);\r\n /* XXX Refactor with source_token() */\r\n if (tok.getType() == EOF && s.isAutopop()) {\r\n // System.out.println(\"Autopop \" + s);\r\n Token mark = pop_source(true);\r\n if (mark != null)\r\n return mark;\r\n }\r\n return tok;\r\n }", "public void cut_header()\n {\n String [] content= header.split(\"-\"); //cut one of the header when forward message back\n header=null;\n for(int i=0;i<content.length-1;i++)\n {\n header=header+\"-\"+content[i];\n }\n }", "@Test\n\t@SuppressWarnings(\"unchecked\")\n\tpublic void test_headerSplitOnNofLinesWithRegex() throws StageException, IOException {\n\t\tprocessor.headerConfig = getHeaderConfig(null, NOF_HEADER_LINES);\n\n\t\t// prepare details config\n\t\tprocessor.detailsConfig.detailsColumnHeaderType = DetailsColumnHeaderType.USE_HEADER;\n\t\tprocessor.detailsConfig.separatorAsRegex = true;\n\t\tprocessor.parserConfig.splitDetails = true;\n\t\t\n\t\trunner = new ProcessorRunner.Builder(HeaderDetailParserDProcessor.class, processor)\n\t\t\t\t.setExecutionMode(ExecutionMode.STANDALONE)\n\t\t\t\t.setResourcesDir(\"/tmp\")\n\t\t\t\t.addOutputLane(\"header\").addOutputLane(\"headerDetails\")\n\t\t\t\t.build();\n\t\trunner.runInit();\n\n\t\t// run the test\n\t\tList<Record> op = null;\n\t\ttry {\n\t\t\tList<Record> input = prepareInput(TEST_FILE_WITH_HEADER_AND_DETAILS_HEADER);\n\t\t \n\t\t\tlong startTime = System.currentTimeMillis();\n\t\t\t\n\t\t\tStageRunner.Output output = runner.runProcess(input);\n\t\t\t\n\t\t System.out.println(\"test_headerSplitOnNofLinesWithRegex - Total execution time: \" + (System.currentTimeMillis()-startTime) + \"ms\"); \n\t\t\t\n\t\t op = output.getRecords().get(\"headerDetails\");\n\n\t\t} finally {\n\t\t\trunner.runDestroy();\n\t\t}\n\n\t\t// assert\n\t\tassertEquals(42324, op.size());\n//\t\tassertEquals(\"11:02:12.000\", StringUtils.substring(op.get(0).get(\"/detail\").getValueAsString(), 0, 12));\n\t}", "abstract protected boolean isHeaderLine(String line);", "private String skipEmptyLines(String line, Scanner myReader){\n while (myReader.hasNextLine()){\n if (line.length() == 0){\n line = myReader.nextLine();\n }\n else{\n String[] tokens = line.split(\" \");\n if (tokens.length > 0){\n return line;\n }\n }\n }\n return \"\";\n }", "public List<VCFFilterHeaderLine> headerLines();", "public void filterLine(String line){\n linesToFilter.put(line, line);\n }", "public void mapHeader(){\r\n\t\tString header = readNextLine();\r\n\t\tif (header == null) return;\r\n\t\t\r\n\t\tString split[] = header.split(Constants.SPLIT_MARK);\r\n\t\tfor (int i=0; i < Constants.HEADER.length; i++){\r\n\t\t\tmapHeader.put(Constants.HEADER[i], Constants.UNKNOWN);\r\n\t\t\tfor (int j = 0; j < split.length; j++){\r\n\t\t\t\tif (Constants.HEADER[i].equals(split[j])){\r\n\t\t\t\t\tmapHeader.put(Constants.HEADER[i], j);\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}", "private void skipCommentLine() {\n while (position < length) {\n int c = data.charAt(position);\n if (c == '\\r' || c == '\\n') {\n return;\n }\n position++;\n }\n }", "private Object[][] removeSkippedHeaderColumns(List<Object[]> originalRows){\n\n if( ! hasHeaderRow )\n return originalRows.toArray(new Object[originalRows.size()][]);\n\n List<Object> temp = new ArrayList<>();\n List<Integer> headerIndices = convertHeadersToReverseSortIndices();\n\n for( Object[] originalRow : originalRows ){\n\n List<Object> copiedRow = new ArrayList<>(Arrays.asList(originalRow));\n\n for(int headerIndice : headerIndices ){\n copiedRow.remove(headerIndice);\n }\n\n temp.add(copiedRow.toArray(new Object[copiedRow.size()]));\n }\n return temp.toArray(new Object[temp.size()][]);\n }", "private void skipWhitespaces() {\n\t\twhile(currentIndex < data.length) {\n\t\t\tif (isWhitespace(data[currentIndex])) {\n\t\t\t\tcurrentIndex++;\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tbreak;\t\n\t\t}\n\t}", "private void skipWhitespaces() {\n\t\twhile(currentIndex < data.length) {\n\t\t\tif (isWhitespace(data[currentIndex])) {\n\t\t\t\tcurrentIndex++;\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tbreak;\t\n\t\t}\n\t}", "public abstract boolean isFirstLineHeader();", "public VCFFilterHeaderLine(final String name) {\n super(\"FILTER\", name, name);\n }", "protected String skip(BufferedReader br, Predicate p) throws IOException\n {\n while (br.ready())\n {\n String curLine = br.readLine();\n if (curLine == null)\n break;\n curLine = curLine.trim();\n if (p.evaluate(curLine))\n return curLine;\n }\n return null;\n }", "@Test\n\tpublic void testBadHeaders() {\n\t\tassertNull( SectionHeaderTokenizer.checkLineForSectionHeader( null ) );\n\t\tassertNull( SectionHeaderTokenizer.checkLineForSectionHeader( \"\" ) );\n\t\tassertNull( SectionHeaderTokenizer.checkLineForSectionHeader( \" \" ) );\n\t\tassertNull( SectionHeaderTokenizer.checkLineForSectionHeader( \"A random string\" ) );\n\t\tassertNull( SectionHeaderTokenizer.checkLineForSectionHeader( \"Section: Conveyor System\" ) );\n\t\tassertNull( SectionHeaderTokenizer.checkLineForSectionHeader( \"Section:\" ) );\n\t}", "public void filterTsv() throws IOException {\n\t\tList<List<String>> rows = new ArrayList<>();\n\t\tList<String> cols = new ArrayList<String>();\n\t\tList<String> head = new ArrayList<String>();\n\n\t\ttry {\n\t\t\tbuf = new BufferedReader(new FileReader(inputFile)); \n\t\t\t\n\t\t\t// determine which column to filter based on columnMap\n\t\t\tString strRead = buf.readLine();\n\t\t\tString[] myline = strRead.split(\"\\t\");\n\n\t\t\tfor (int i = 0; i < myline.length; i++) {\n\t\t\t\tString mappedValue = columnMap.get(myline[i]);\n\t\t\t\tif (mappedValue != null) {\n\t\t\t\t\tcolIndex.add(i);\n\t\t\t\t\thead.add(mappedValue);\n\t\t\t\t}\n\t\t\t}\n\t\t\trows.add(head);\n\n\t\t\twhile ((strRead = buf.readLine()) != null) {\n\t\t\t\tcols = new ArrayList<String>();\n\t\t\t\tmyline = strRead.split(\"\\t\");\n\t\t\t\t\n\t\t\t\t//skip row if not in rowMap\n\t\t\t\tif (rowMap.get(myline[0]) == null)\n\t\t\t\t\tcontinue;\n\t\t\t\t\n\t\t\t\tfor (Integer index : colIndex) {\n\t\t\t\t\tif (index < myline.length) {\n\t\t\t\t\t\tif (index == 0)\n\t\t\t\t\t\t\tcols.add(rowMap.get(myline[0]));\n\t\t\t\t\t\telse\n\t\t\t\t\t\t\tcols.add(myline[index]);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\trows.add(cols);\n\t\t\t}\n\n\t\t\twriteTsv(rows, outputFile);\n\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t} finally {\n\t\t\tbuf.close();\n\t\t}\n\t}", "protected boolean ignoreLinesStartWith(char a) {\r\n if (!this.hasNextToken()) return false;\r\n boolean b = false;\r\n while (true) {\r\n char c = this.stream.peek();\r\n if (c==a) {\r\n this.getUntilMeetChar('\\n');\r\n b = true;\r\n continue;\r\n }\r\n return b;\r\n }\r\n }", "@Test\n\t@SuppressWarnings(\"unchecked\")\n\tpublic void test_headerSplitOnNofLines() throws StageException, IOException {\n\t\tprocessor.headerConfig = getHeaderConfig(null, NOF_HEADER_LINES);\n\n\t\t// prepare details config\n\t\tprocessor.detailsConfig.detailsColumnHeaderType = DetailsColumnHeaderType.USE_HEADER;\n\t\tprocessor.detailsConfig.separatorAsRegex = false;\n\t\tprocessor.parserConfig.splitDetails = true;\n\t\t\n\t\trunner = new ProcessorRunner.Builder(HeaderDetailParserDProcessor.class, processor)\n\t\t\t\t.setExecutionMode(ExecutionMode.STANDALONE)\n\t\t\t\t.setResourcesDir(\"/tmp\")\n\t\t\t\t.addOutputLane(\"header\").addOutputLane(\"headerDetails\")\n\t\t\t\t.build();\n\t\trunner.runInit();\n\n\t\t// run the test\n\t\tList<Record> op = null;\n\t\ttry {\n\t\t\tList<Record> input = prepareInput(TEST_FILE_WITH_HEADER_AND_DETAILS_HEADER);\n\t\t\t\n\t\t\tlong startTime = System.currentTimeMillis();\n\n\t\t\tStageRunner.Output output = runner.runProcess(input);\n\t\t\t\n\t\t System.out.println(\"test_headerSplitOnNofLines - Total execution time: \" + (System.currentTimeMillis()-startTime) + \"ms\"); \n\n\t\t\top = output.getRecords().get(\"headerDetails\");\n\n\t\t} finally {\n\t\t\trunner.runDestroy();\n\t\t}\n\n\t\t// assert\n\t\tassertEquals(42324, op.size());\n//\t\tassertEquals(\"11:02:12.000\", StringUtils.substring(op.get(0).get(\"/detail\").getValueAsString(), 0, 12));\n\t}", "public void forceNotInsideHeader() {\n insideHeader = false;\n }", "private void skipEmptyLines() throws IOException {\n for (;;) {\n if (nextChar != ';') {\n do {\n readNextChar();\n } while (isWhitespace(nextChar));\n if (nextChar != ';') return;\n }\n do {\n readNextChar();\n if (nextChar == -1) return;\n } while (nextChar != '\\n');\n }\n }", "private static void getRidOfComma(String individualLine, int index) {\n }", "private void skipWhitespaces() {\n\t\twhile (currentIndex < data.length) {\n\t\t\tchar ch = data[currentIndex];\n\t\t\tif (Character.isWhitespace(ch)) {\n\t\t\t\t++currentIndex;\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tbreak;\n\t\t}\n\t}", "public static void SkipLines(Scanner fileScanner,int lineNumber)\n {\n for(int index = 0; index < lineNumber;index++)\n {\n if(fileScanner.hasNextLine())\n {\n //Skip the line\n fileScanner.nextLine();\n }\n }\n }", "@Test(timeout=100)\r\n\tpublic void testSkipEmptyLines() {\r\n\t\tString [] r1 = {\"aaa\",\"bbb\",\"ccc\"};\r\n\t\tString [] r2 = {\"AAA\",\"BBB\"};\r\n\t\tString [] r3 = {\"the-end\"};\r\n\t\twriteArrayToLine(r1);\r\n\t\twriteline(\"\"); // empty line\r\n\t\twriteline(\"\"); // another empty line\r\n\t\twriteArrayToLine(r2);\r\n\t\twriteline(\"\");\r\n\t\twriteArrayToLine(r3);\r\n\t\tout.close();\r\n\t\t\r\n\t\tCSVReader csv = new CSVReader(getInstream());\r\n\t\tassertTrue( csv.hasNext() );\r\n\t\tString [] next = csv.next();\r\n\t\tassertEquals( r1.length, next.length );\r\n\t\tassertArrayEquals( r1, next );\r\n\t\tassertTrue( csv.hasNext() );\r\n\t\tassertArrayEquals( r2, csv.next() );\r\n\t\tassertTrue( csv.hasNext() );\r\n\t\tassertArrayEquals( r3, csv.next() );\r\n\t\tassertFalse( csv.hasNext() );\r\n\t}", "@Override\r\n\tpublic boolean skipExport(int col)\r\n\t{\n\t\treturn col == sortIndex;\r\n\t}", "protected void scanNoSkip() throws TableFunctionMalformedException {\r\n\t\t\t\r\n\t\tint kw;\r\n\t\t\r\n\t\tgetName();\r\n\t\t\r\n\t\tkw = lookup(value);\r\n\t\tif (kw == -1)\r\n\t\t\ttoken = 'x';\r\n\t\telse\r\n\t\t\ttoken = kwcode[kw];\r\n\t\t// Debug.println(\"\\n!!!Value = \" + value);\r\n\t}", "private int ignore(int nextVal) throws java.io.IOException {\n\t\tboolean end = false;\n\n\t\twhile (!end) {\n\t\t\tif (isComment(nextVal)) {\n\t\t\t\tnextVal = ignoreComment(nextVal);\n\t\t\t} else if (isIgnoredCharacter(nextVal)){\n\t\t\t\tnextVal = ignoreCharacters(nextVal);\n\t\t\t} else {\n\t\t\t\tend = true;\n\t\t\t}\n\t\t}\n\t\treturn nextVal;\n\t}", "private int skipPreamble(char[] input,\n int offset,\n int end,\n int[] lineNr)\n throws XMLParseException {\n char ch;\n\n do {\n offset = this.skipWhitespace(input, offset, end, lineNr);\n\n if (input[offset] != '<') {\n this.expectedInput(\"'<'\", lineNr[0]);\n }\n\n offset++;\n\n if (offset >= end) {\n throw this.unexpectedEndOfData(lineNr[0]);\n }\n\n ch = input[offset];\n\n if ((ch == '!') || (ch == '?')) {\n offset = this.skipBogusTag(input, offset, end, lineNr);\n }\n } while (!isIdentifierChar(ch));\n\n return offset;\n }", "private void skipWhitespace() {\n while (currentPos < endPos && filterString.charAt(currentPos) == ' ') {\n currentPos++;\n }\n }", "private int skipLeadingWhite( List content, int start) {\r\n if (start < 0) {\r\n start = 0;\r\n }\r\n\r\n int index = start;\r\n int size = content.size();\r\n if (currentFormat.trimAllWhite\r\n || currentFormat.textNormalize\r\n || currentFormat.textTrim) {\r\n while( index < size) {\r\n if ( !isAllWhitespace( content.get(index))) {\r\n return index;\r\n }\r\n index++;\r\n }\r\n }\r\n return index;\r\n }", "List<String[]> readCsv(String inputFilePath,int skipLine)throws IOException;", "public ReturnCode filterKeyValue(KeyValue kv) {\r\n\t\tif ( ACL_BYTE == kv.getQualifier()[0]) { // Match ACL\r\n\t\t\tif ( -1 == this.amfc.allowAccess(kv.getValue(),0)) {\r\n\t\t\t\treturn ReturnCode.NEXT_ROW;\r\n\t\t\t}\r\n\t\t} else if (META_BYTE == kv.getQualifier()[0]) {\r\n\t\t\tif ( -1 == this.amfc.allowMeta(kv.getValue(),0)) {\r\n\t\t\t\treturn ReturnCode.NEXT_ROW;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn ReturnCode.INCLUDE;\r\n\t}", "private String filter(String line) {\n return line.toLowerCase().replaceAll(\"[^a-z]\", \"\");\n }", "@Override\n public boolean containsHeader(String arg0) {\n return false;\n }", "public static void skipWhile() {\n Observable.fromIterable(sData)\n .skipWhile((item) -> {\n System.out.println(\"item = \" + item);\n return item.equalsIgnoreCase(\"abc\");\n }).subscribe(new MyObserver<>());\n }", "void skip();", "protected void skipWhitespace(CharArrayBuffer buffer, ParserCursor cursor) {\n/* 453 */ int pos = cursor.getPos();\n/* 454 */ int indexTo = cursor.getUpperBound();\n/* 455 */ while (pos < indexTo && HTTP.isWhitespace(buffer.charAt(pos)))\n/* */ {\n/* 457 */ pos++;\n/* */ }\n/* 459 */ cursor.updatePos(pos);\n/* */ }", "protected long skipLines(FSDataInputStream in, BufferedReader reader, \n long numLines) \n throws IOException {\n long lineNum = 0;\n while (lineNum != numLines) {\n String line = reader.readLine();\n if (line == null) {\n break;\n }\n lineNum++;\n }\n LOG.info(\"Skipped \" + lineNum + \" lines\");\n if (lineNum != numLines) {\n LOG.warn(\"Skipped wrong number of lines\");\n }\n return lineNum;\n }", "private int skipTrialingWhite( List content, int start) {\r\n int size = content.size();\r\n if (start > size) {\r\n start = size;\r\n }\r\n\r\n int index = start;\r\n if (currentFormat.trimAllWhite\r\n || currentFormat.textNormalize\r\n || currentFormat.textTrim) {\r\n while( index >= 0) {\r\n if ( !isAllWhitespace( content.get(index - 1)))\r\n break;\r\n --index;\r\n }\r\n }\r\n return index;\r\n }", "protected int skipBogusTag(char[] input,\n int offset,\n int end,\n int[] lineNr) {\n int level = 1;\n\n while (offset < end) {\n char ch = input[offset++];\n\n switch (ch) {\n case '\\r':\n if ((offset < end) && (input[offset] == '\\n')) {\n offset++;\n }\n\n lineNr[0]++;\n break;\n case '\\n':\n lineNr[0]++;\n break;\n case '<':\n level++;\n break;\n case '>':\n level--;\n\n if (level == 0) {\n return offset;\n }\n\n break;\n default:\n }\n }\n\n throw this.unexpectedEndOfData(lineNr[0]);\n }", "@Test(expected=RuntimeException.class)\n public void missingPartOfHeader(){\n Header h;\n SimpleReader sr = new SimpleReader();\n String fileForLexer = sr.FileToString(\"sample_abc/invalid_for_testing.abc\");\n abcLexer lex = new abcLexer(fileForLexer);\n abcParser parser = new abcParser(lex);\n h=parser.parseHeader();}", "public void removeUnparseableExtraFieldData() {\n writeline(\"/home/ubuntu/results/coverage/ZipArchiveEntry/ZipArchiveEntry_5_10.coverage\", \"c3763808-2050-4e13-a0c1-1c775bd5e0ee\");\n if (unparseableExtra == null) {\n writeline(\"/home/ubuntu/results/coverage/ZipArchiveEntry/ZipArchiveEntry_5_10.coverage\", \"4003f30c-e5f3-4c15-b6da-adb3b7a4a1a1\");\n throw new java.util.NoSuchElementException();\n }\n writeline(\"/home/ubuntu/results/coverage/ZipArchiveEntry/ZipArchiveEntry_5_10.coverage\", \"c7621793-4ba2-47c3-8bce-7c8b5c05ed8e\");\n unparseableExtra = null;\n writeline(\"/home/ubuntu/results/coverage/ZipArchiveEntry/ZipArchiveEntry_5_10.coverage\", \"daca2b5a-ddf7-4a9f-b64f-153927dc0b18\");\n setExtra();\n }", "public VCFFilterHeaderLine(final String name, final String description) {\n super(\"FILTER\", name, description);\n }", "public Enumeration getNonMatchingHeaderLines(String[] names) throws MessagingException {\n/* 532 */ if (this.headers == null)\n/* 533 */ loadHeaders(); \n/* 534 */ return this.headers.getNonMatchingHeaderLines(names);\n/* */ }", "private void cleanHeaders(Element e) {\n for (int headerIndex = 1; headerIndex < 3; headerIndex++) {\n Elements headers = e.getElementsByTag(\"h\" + headerIndex);\n for (int i = headers.size() - 1; i >= 0; i--) {\n if (getClassWeight(headers.get(i)) < 0 || getLinkDensity(headers.get(i)) > 0.33) {\n headers.get(i).remove();\n }\n }\n }\n }", "public static void checkValidHeader(String header)\n throws DataConversionException {\n String[] headerCheck = header.split(\";\", CsvAdaptedPerson.ATTRIBUTE_ORDERING.keySet().size());\n String[] headerValid = CsvAdaptedPerson.headerOrder();\n\n if (headerCheck.length == 1) {\n throw new DataConversionException(\"Wrong delimiter, Refer to user guide to use correct \"\n + \"delimiter.\\nEach row should have \"\n + (CsvAdaptedPerson.ATTRIBUTE_ORDERING.keySet().size() - 1) + \" ';' \");\n }\n\n if (headerCheck.length != headerValid.length) {\n throw new DataConversionException(\"Missing/Extra Headers, Please check file\");\n }\n\n for (int i = 0; i < headerValid.length; i++) {\n String upperHeader = headerCheck[i].toUpperCase(Locale.ROOT);\n String upperValidHeader = headerValid[i].toUpperCase(Locale.ROOT);\n\n if (!(upperHeader.contains(upperValidHeader))) {\n throw new DataConversionException(\"Wrong header detected,\"\n + \"please double check file\\nFirst row of csv must contain valid headers \"\n + Arrays.toString(headerValid) + \" in that order.\");\n }\n }\n }", "public void skipValue() {\n switch (peek()) {\n case BOOLEAN:\n nextBoolean();\n break;\n\n case NAME:\n nextName();\n break;\n\n case NULL:\n nextNull();\n break;\n\n case NUMBER:\n nextNumber();\n break;\n\n case START_COLLECTION:\n beginArray();\n while (hasNext()) {\n skipValue();\n }\n endArray();\n break;\n\n case START_MAP:\n beginObject();\n while (hasNext()) {\n nextName();\n skipValue();\n }\n endObject();\n break;\n\n case STRING:\n nextString();\n break;\n\n default:\n throw new JsonException(\"Cannot skip \" + peek() + \". \" + input);\n }\n }", "java.lang.String getHeader();", "@Override\n public int filterOrder() {\n return 1;\n }", "@Override\n public int filterOrder() {\n return 1;\n }", "@Override\n\tpublic void skip() {\n\t}", "public void metodoSkip() {\n List<Dish> dishes = menu.stream()\n .filter(d -> d.getCalories() > 300)\n .skip(2)\n .collect(toList());\n\n List<Dish> dishes1 =\n menu.stream()\n .filter(dish -> dish.getType() == (Dish.Type.MEAT))\n .limit(2)\n .collect(toList());\n }", "private boolean scanLine()\r\n\t{\r\n\t\tboolean isLine=true;\r\n\t\t\r\n\t\t//Implement Filter here.\r\n\t\t\r\n\t\treturn isLine;\r\n\t}", "protected char skipTo(char... delims) throws java.io.IOException {\n char c = currentChar;\n while (true) {\n if (c == '\\n' || c == '\\r') throw error();\n for (char delim : delims) {\n if (c == delim) return delim;\n }\n c = next();\n }\n }", "public void removeExtraHeader(final String name) {\n extraHeaders.remove(name);\n }", "public abstract Iterator getNonMatchingMimeHeaders(String names[]);", "public void skipComments() {\r\n this.ignoreLinesStartWith(this.charComment);\r\n }", "public void testRemoveDescriptionHeader_15() {\n checkRemoveDescriptionHeader(\n \"Description. Multiple Line\\nDescription.\\nSomething.\",\n \"\\nHeader of PHPDoc comment.\\n\\nDescription. Multiple Line\\nDescription.\\nSomething.\"\n );\n }", "private void skipBlankSpaces() {\n while (currentIndex < this.data.length) {\n if (!Character.isWhitespace(data[currentIndex])) {\n break;\n }\n currentIndex++;\n }\n }", "private void readHeader() throws IOException {\n\t\tString line = this.readLine();\n\t\tSystem.out.println(String.format(\"header->{%s}\", line));\n\t\tthis.columnNames = line.split(DEFAULT_DELIMITER);\n\t}", "public VCFFilterHeaderLine(final String line, final VCFHeaderVersion version) {\n super(line, version, \"FILTER\", Arrays.asList(\"ID\", \"Description\"));\n }", "public void setNoTokensByLine(final int noTokensByLine) {\r\n\t\tthis.noTokensByLine = noTokensByLine;\r\n\t}", "void skip(int index) throws NoSuchRecordException;", "private int skipWhitespace() {\n int prev = '\\n';\n while (position < length) {\n int c = data.charAt(position);\n switch (c) {\n case '\\t': case ' ':\n prev = c;\n position++;\n break;\n case '\\n':\n // handle \\r\\n\n if (prev != '\\r') {\n lineNumber++;\n }\n prev = c;\n position++;\n break;\n case '\\r':\n prev = c;\n position++;\n lineNumber++;\n break;\n default:\n return prev;\n }\n }\n return prev;\n }", "public void processHeader()\n {\n try{\n String line = oReader.readLine();\n String regrex = line.replaceAll(\"[^0-9]+\",\"\"); //only looking at the numbers\n this.maxmem = Integer.parseInt(regrex.substring(4, 8), 16);\n mem = new MainMemory(maxmem);\n\n } catch(IOException e)\n {\n e.printStackTrace();\n }\n }", "public void readValuesfromtableWithoutHeadings()\n\t {\n\t\t open();\n\t\t List<Map<Object, String>> tab1= withColumns(\"Last Name \" ,\"First Name\",\"Email\", \"Due\" , \"Web Site\" , \"My Test\") \n\t\t\t\t .readRowsFrom(table);\n\t\t System.out.println(tab1);\n\t }", "List<String[]> readCsv(String inputFilePath,int skipLine,char separator)throws IOException;", "private void skipBlankSpaces() {\n\t\twhile(currentIndex < data.length) {\n\t\t\tchar c = data[currentIndex];\n\t\t\tif(c == ' ' || c == '\\t' || c =='\\n' || c == '\\r') {\n\t\t\t\tcurrentIndex++;\n\t\t\t\t\n\t\t\t} else {\n\t\t\t\tbreak;\n\t\t\t\t\n\t\t\t}\n\t\t}\n\t}", "@Override\n\tpublic int filterOrder() {\n\t\treturn 1;\n\t}", "private void removeHeaderItems(final List<ItemBO> itemList)\n\t{\n\t\tif (itemList != null && (!itemList.isEmpty()))\n\t\t{\n\t\t\tfinal Iterator<ItemBO> itemListIterator = itemList.iterator();\n\t\t\twhile (itemListIterator.hasNext())\n\t\t\t{\n\t\t\t\tfinal ItemBO itemBO = itemListIterator.next();\n\t\t\t\tif (itemBO.isHeader())\n\t\t\t\t{\n\t\t\t\t\titemListIterator.remove();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "void removeExternalOrderLine(int i);", "void removeHeader(String headerName);", "public void startswithNot(String value)\n\t\t{\n\t\t\tboolean result=value.startsWith(\"not\");\n\t\t\t\n\t\t\tif(result)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"String start with not\" + value);\n\t\t\t\t\n\t\t\t}else\n\t\t\t{\n\t\t\t\tSystem.out.println(\"String does not start with not\" + value);\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t}\n\t\t}", "static void printHeader(String fn, PrintWriter out) throws IOException\n{\n\t@SuppressWarnings(\"resource\")\n\tScanner input = new Scanner(new FileInputStream(new File(fn)));\n\twhile(input.hasNext())\n\t{\n\t\tString line = input.nextLine();\n\t\tif(line.length() == 0) continue;\n\t\tif(line.charAt(0) == '#') out.println(line);\n\t\telse break;\n\t}\n}", "@Override\n\t\tpublic String getHeader(String name) {\n\t\t\treturn null;\n\t\t}", "private void processHeader(String header) {\n this.header = header + System.lineSeparator(); // Store the header for writing back.\n\n String[] headers = header.split(\"\\\",\\\"\");\n for (int i = 0; i < headers.length; i++) {\n String columnName = headers[i].replaceAll(\"\\\"\", \"\");\n this.headerMap.put(i, columnName);\n }\n }", "private static List<String> readData(String path) throws IOException{\n ArrayList<String> data = new ArrayList<>();\n try (\n Reader reader = Files.newBufferedReader(Paths.get(path), StandardCharsets.UTF_8);\n CSVReader csvReader = new CSVReader(reader)\n ){\n String[] nextRecord;\n while ((nextRecord = csvReader.readNext()) != null) {\n if (nextRecord[0].contains(\"name\")){\n System.out.println(\"Skipping column headers...\");\n }else {\n data.add(nextRecord[0]);\n// System.out.println(nextRecord[0]);\n }\n }\n }\n return data;\n }", "private void validateRows(List<? extends Row> rows, int line) {\n if (rows.size() == 1) {\n throw new IllegalArgumentException(\"DataTable section in feature \"\n + testedFeature.getFeatureMetadata().getModule()\n + \"/\"\n + testedFeature.getFeatureMetadata().getFilename()\n + \" starting at line \"\n + line\n + \" contains only headers??\");\n }\n }", "public ListIterator getUnrecognizedHeaders() {\n return this.unrecognizedHeaders.listIterator();\n }", "public void removeHeader(String name) {\n for (Header header : mHeaderList) {\n if (header.getName().equalsIgnoreCase(name)) {\n mHeaderList.remove(header);\n break;\n }\n }\n }", "public static void filterGRASSOutput(String line) throws GrassExecutionException {\r\n\r\n boolean skip = false;\r\n\r\n //just process output if we are running grass form a sextante algorithm\r\n if (m_Alg == null) {\r\n return;\r\n }\r\n\r\n //Speedhack: if this is a progress info line, we can skip 99% of the remaining checks!\r\n if (!line.contains(\"GRASS_INFO_PERCENT\")) {\r\n //All other lines need to be processed more elaborately\r\n if ((line.length() < 2)) {\r\n if ((lastWasEmpty == true) || (lastWasInfoEnd == true)) {\r\n skip = true;\r\n }\r\n lastWasEmpty = true;\r\n }\r\n else {\r\n lastWasEmpty = false;\r\n }\r\n\r\n if (insideRegPrimitives == true) {\r\n skip = true;\r\n }\r\n\r\n //substitute lengthy temporary map names\r\n if (line.contains(GrassUtils.TEMP_PREFIX) || line.contains(\"_\")) {\r\n for (int i = 0; i < m_Alg.getMapNames().size(); i++) {\r\n line = line.replace(m_Alg.getMapNames().get(i), \"<\" + m_Alg.getFileNames().get(i) + \">\");\r\n }\r\n //Use a regular expression for those internal map names that cannot be fully resolved\r\n line = line.replaceAll(\"([_][a-z0-9]{8}[_][a-z0-9]{4}[_][a-z0-9]{4}[_][a-z0-9]{4}[_][a-z0-9]{12})\", \"[TMP]\");\r\n }\r\n\r\n //remove the startup script lines\r\n if (line.startsWith(\"set\") || line.startsWith(\"if\") || line.startsWith(\"FOR\")) {\r\n skip = true;\r\n }\r\n //There are some lines that we can always skip (chatter from the\r\n //GRASS batch job script, etc.)\r\n if (line.contains(\"Welcome to GRASS\")) {\r\n skip = true;\r\n }\r\n if (line.contains(\"Closing monitors ...\")) {\r\n skip = true;\r\n }\r\n if (line.contains(\"Cleaning up temporary files ...\")) {\r\n skip = true;\r\n }\r\n if (line.contains(\"(defined in GRASS_BATCH_JOB variable) was executed.\")) {\r\n skip = true;\r\n }\r\n if (line.contains(\"d.mon: not found\")) {\r\n skip = true;\r\n }\r\n if (line.contains(\"Goodbye from GRASS GIS\")) {\r\n skip = true;\r\n }\r\n if (line.contains(\"Starting GRASS ...\")) {\r\n skip = true;\r\n }\r\n if (line.contains(\"Executing '\") && line.contains(\"' ...\")) {\r\n skip = true;\r\n }\r\n if (line.contains(\"Executing '\") && line.contains(\"' ...\")) {\r\n skip = true;\r\n }\r\n if (line.contains(\"r.out.gdal complete.\")) {\r\n skip = true;\r\n }\r\n\r\n //Some data import/export chit-chat about temporary files we may want to shorten...\r\n if (line.contains(\"Building topology for vector map <\")) {\r\n line = \"Building topology for vector map...\";\r\n skip = true;\r\n }\r\n if (line.contains(\"Registering primitives...\")) {\r\n insideRegPrimitives = true;\r\n }\r\n if (line.contains(\" primitives registered\")) {\r\n insideRegPrimitives = false;\r\n skip = false;\r\n }\r\n\r\n //Format GRASS INFO type messages\r\n if (line.contains(\"GRASS_INFO_MESSAGE\")) {\r\n if (!line.contains(\":\")) {\r\n skip = true;\r\n }\r\n else {\r\n if (line.length() >= (line.indexOf(\":\") + 3)) {\r\n line = line.substring(line.indexOf(\":\") + 2);\r\n }\r\n else {\r\n line = \" \";\r\n }\r\n }\r\n }\r\n //If we get an error, we cancel the running module\r\n if (line.contains(\"GRASS_INFO_ERROR\") || line.startsWith(\"ERROR:\")) {\r\n if (!line.contains(\":\")) {\r\n skip = true;\r\n }\r\n else {\r\n if (line.length() >= (line.indexOf(\":\") + 3)) {\r\n line = \"ERROR: \" + line.substring(line.indexOf(\":\") + 2);\r\n }\r\n else {\r\n line = \" \";\r\n }\r\n }\r\n JOptionPane.showMessageDialog(null, line, Sextante.getText(\"grass_error_title\"), JOptionPane.ERROR_MESSAGE);\r\n GrassAlgorithmProvider.addMessage(line);\r\n m_bProcCanceled = true;//simulate a cancellation\r\n Sextante.addErrorToLog(\"SEXTANTE GRASS interface: \" + line);\r\n throw new GrassExecutionException();\r\n }\r\n if (line.contains(\"GRASS_INFO_WARNING\")) {\r\n if (!line.contains(\":\")) {\r\n skip = true;\r\n }\r\n else {\r\n if (line.length() >= (line.indexOf(\":\") + 3)) {\r\n line = \"WARNING: \" + line.substring(line.indexOf(\":\") + 2);\r\n }\r\n else {\r\n line = \" \";\r\n }\r\n }\r\n }\r\n\r\n //After the GRASS_INFO_END tag, there is an annoying newline which we\r\n //want to skip...\r\n if (line.contains(\"GRASS_INFO_END\")) {\r\n lastWasInfoEnd = true;\r\n }\r\n else {\r\n lastWasInfoEnd = false;\r\n }\r\n\r\n //Some warning and error messages that can safely be skipped...\r\n if (line.contains(\"<PROJ_INFO> file not found\")) {\r\n skip = true;\r\n }\r\n if (line.contains(\"<PROJ_UNITS> file not found\")) {\r\n skip = true;\r\n }\r\n if (line.contains(\"ERROR 6: SetColorTable() only supported\")) {\r\n skip = true;\r\n }\r\n if (line.contains(\"Unable to set projection\")) {\r\n skip = true;\r\n }\r\n }\r\n\r\n //Output whatever is left after filtering.\r\n if (!skip) {\r\n {//Progress monitor output\r\n if (line.contains(\"GRASS_INFO_PERCENT\")) {\r\n //if (Sextante.isUnix() || Sextante.isMacOSX()) {\r\n m_Alg.updateProgress(Integer.valueOf(line.substring(line.indexOf(\":\") + 2)), 100);\r\n //}\r\n }\r\n }\r\n\r\n {//Log output\r\n //For the log, we may need to skip a few more lines.\r\n if (line.contains(\"GRASS_INFO_PERCENT\")) {\r\n if (line.contains(\": 100\")) {\r\n line = \"(100%)\";\r\n }\r\n else {\r\n skip = true;\r\n }\r\n }\r\n if (line.contains(\"GRASS_INFO_END\")) {\r\n skip = true;\r\n }\r\n if (!skip) {\r\n GrassAlgorithmProvider.addMessage(line);\r\n }\r\n }\r\n }\r\n else {\r\n lastWasEmpty = true;\r\n }\r\n }", "private static int skipLines(int noOfLines, DataInputStream dis){\n\t\tint len = -1;\n\t\tfor(int i = 0; i < noOfLines; i++){\n\t\t\tint templen = readLine(dis);\n\t\t\tif(templen > 0){\n\t\t\t\tlen = templen;\n\t\t\t}\n\t\t}\n\t\treturn len;\n\t}", "boolean isHeader(int position);", "private void skipBadChar() throws IOException {\n while (!isValid()) {\n if (c == -1 || isSpace() || shouldStop()) {\n return;\n }\n c = r.read();\n }\n }", "private int ignoreComment(int nextVal) throws java.io.IOException {\n\t\tint c = nextVal;\n\t\twhile (!isNewLine(c) && c != EOF) {\n\t\t\tc = reader.read();\n\t\t}\n\t\treturn c;\n\t}", "public void testRemoveDescriptionHeader_13() {\n checkRemoveDescriptionHeader(\"Description.\", \"\\nHeader of PHPDoc comment\\n\\nDescription.\");\n }", "@Test\r\n \tpublic void testQualifiedValues() {\n \t\t\r\n \t\tParameters params = (Parameters) filter.getParameters();\r\n \t\tparams.detectColumnsMode = Parameters.DETECT_COLUMNS_NONE;\r\n \t\t\r\n \t\tInputStream input = TableFilterTest.class.getResourceAsStream(\"/csv_test3.txt\");\r\n \t\tassertNotNull(input);\r\n \t\t\r\n \t\tparams.wrapMode = WrapMode.NONE; // !!!\r\n \t\tparams.removeQualifiers = true;\r\n \t\t\r\n //\t\tparams.valuesStartLineNum = 9;\r\n //\t\tparams.sendHeaderMode = 0;\r\n \r\n \t\t\r\n \t\tfilter.open(new RawDocument(input, \"UTF-8\", locEN));\r\n \t\t\r\n \t\ttestEvent(EventType.START_DOCUMENT, null);\r\n \t\t\r\n \t\t// Line 1\r\n \t\ttestEvent(EventType.START_GROUP, null);\r\n \t\ttestEvent(EventType.TEXT_UNIT, \"Value11\");\r\n \t\ttestEvent(EventType.TEXT_UNIT, \"Value12\");\r\n \t\ttestEvent(EventType.TEXT_UNIT, \"Value13\");\r\n \t\ttestEvent(EventType.TEXT_UNIT, \"Value14\");\t\t\r\n \t\ttestEvent(EventType.END_GROUP, null);\r\n \t\t\r\n \t\t// Line 2\r\n \t\ttestEvent(EventType.START_GROUP, null);\r\n \t\ttestEvent(EventType.TEXT_UNIT, \"Value21\");\r\n \t\ttestEvent(EventType.TEXT_UNIT, \"Value22.1,Value22.2, Value22.3\");\r\n \t\ttestEvent(EventType.TEXT_UNIT, \"Value23\");\r\n \t\ttestEvent(EventType.TEXT_UNIT, \"Value24\");\t\t\r\n \t\ttestEvent(EventType.END_GROUP, null);\r\n \t\t\t\t\r\n \t\t// Line 4-7\r\n \t\ttestEvent(EventType.START_GROUP, null);\r\n \t\ttestEvent(EventType.TEXT_UNIT, \"Value31\");\r\n \t\ttestEvent(EventType.TEXT_UNIT, \"Value32\");\r\n \t\ttestEvent(EventType.TEXT_UNIT, \"Value33\");\r\n \t\ttestEvent(EventType.TEXT_UNIT, \"Value34.1\\nValue34.2\\nValue34.3\\nValue34.4,Value34.5\");\r\n \t\ttestEvent(EventType.TEXT_UNIT, \"Value35\");\r\n \t\ttestEvent(EventType.END_GROUP, null);\r\n \t\t\r\n \t\t// Line 9-12\r\n \t\ttestEvent(EventType.START_GROUP, null);\t\t\r\n \t\ttestEvent(EventType.TEXT_UNIT, \"Value41\");\r\n \t\ttestEvent(EventType.TEXT_UNIT, \"Value42\");\r\n \t\ttestEvent(EventType.TEXT_UNIT, \"Value43\");\r\n \t\ttestEvent(EventType.TEXT_UNIT, \"Value44.1\\nValue44.2\\nValue44.3\\nValue44.4\");\r\n \t\ttestEvent(EventType.TEXT_UNIT, \"Value45.1,Value45.2\");\r\n \t\ttestEvent(EventType.END_GROUP, null);\t\t\r\n \t\t\r\n \t\t// Line 14-18\r\n \t\ttestEvent(EventType.START_GROUP, null);\t\t\r\n \t\ttestEvent(EventType.TEXT_UNIT, \"Value51\");\r\n \t\ttestEvent(EventType.TEXT_UNIT, \"Value52\");\r\n \t\ttestEvent(EventType.TEXT_UNIT, \"Value53\");\r\n \t\ttestEvent(EventType.TEXT_UNIT, \"Value54.1\\nValue54.2\\nValue54.3\\nValue54.4,Value55.1,Value55.2\\nValue55.3,Value55.4\");\r\n \t\ttestEvent(EventType.END_GROUP, null);\r\n \t\t\r\n \t\t// Line 20-25\r\n \t\ttestEvent(EventType.START_GROUP, null);\r\n \t\ttestEvent(EventType.TEXT_UNIT, \"Value61\");\r\n \t\ttestEvent(EventType.TEXT_UNIT, \"Value62\");\r\n \t\ttestEvent(EventType.TEXT_UNIT, \"Value63\");\r\n \t\ttestEvent(EventType.TEXT_UNIT, \"Value64.1\\nValue64.2\\nValue64.3\\nValue64.4,Value65.1,Value65.2\\nValue65.3,Value65.4\\n\" +\r\n \t\t\t\t\"Value65.5,Value66\");\r\n \t\ttestEvent(EventType.END_GROUP, null);\t\t\r\n \t\t// -------------------------------------------------\r\n \t\t\r\n \t\t// Line 27-31\r\n \t\ttestEvent(EventType.START_GROUP, null);\t\t\r\n \t\ttestEvent(EventType.TEXT_UNIT, \"Value71\");\r\n \t\ttestEvent(EventType.TEXT_UNIT, \"Value72 aaa quoted part 1, then quoted part 2 value,Value73,Value74\\n\" +\r\n \t\t\t\t\"Value81,Value82 with unclosed quote\\nValue91,Value92\\nValueA1,ValueA2\\nValueB1\");\r\n \t\ttestEvent(EventType.TEXT_UNIT, \"ValueB2,ValueB3\");\t\t// If quotation marks are not around field, preserve them \r\n \t\ttestEvent(EventType.TEXT_UNIT, \"ValueB4\");\r\n \t\ttestEvent(EventType.END_GROUP, null);\r\n \t\t\r\n \t\t// Line 32\r\n \t\ttestEvent(EventType.START_GROUP, null);\t\t\r\n \t\ttestEvent(EventType.TEXT_UNIT, \"ValueC1\");\r\n \t\ttestEvent(EventType.TEXT_UNIT, \"ValueC2\");\t\t \r\n \t\ttestEvent(EventType.TEXT_UNIT, \"ValueC3\");\t\t\t\r\n \t\ttestEvent(EventType.TEXT_UNIT, \"ValueC4\");\r\n \t\ttestEvent(EventType.TEXT_UNIT, \"ValueC5\");\r\n \t\ttestEvent(EventType.END_GROUP, null);\r\n \t\t\r\n \t\ttestEvent(EventType.END_DOCUMENT, null);\r\n \t\tfilter.close();\r\n \t\t\r\n \t\t\r\n \t\t// Unwrap lines\r\n \t\tinput = TableFilterTest.class.getResourceAsStream(\"/csv_test3.txt\");\r\n \t\tassertNotNull(input);\r\n \t\t\r\n \t\tparams.wrapMode = WrapMode.SPACES; // !!!\r\n \t\tfilter.open(new RawDocument(input, \"UTF-8\", locEN));\r\n \t\t\r\n \t\ttestEvent(EventType.START_DOCUMENT, null);\r\n \t\t\r\n \t\t// Line 1\r\n \t\ttestEvent(EventType.START_GROUP, null);\r\n \t\ttestEvent(EventType.TEXT_UNIT, \"Value11\");\r\n \t\ttestEvent(EventType.TEXT_UNIT, \"Value12\");\r\n \t\ttestEvent(EventType.TEXT_UNIT, \"Value13\");\r\n \t\ttestEvent(EventType.TEXT_UNIT, \"Value14\");\t\t\r\n \t\ttestEvent(EventType.END_GROUP, null);\r\n \t\t\r\n \t\t// Line 2\r\n \t\ttestEvent(EventType.START_GROUP, null);\r\n \t\ttestEvent(EventType.TEXT_UNIT, \"Value21\");\r\n \t\ttestEvent(EventType.TEXT_UNIT, \"Value22.1,Value22.2, Value22.3\");\r\n \t\ttestEvent(EventType.TEXT_UNIT, \"Value23\");\r\n \t\ttestEvent(EventType.TEXT_UNIT, \"Value24\");\t\t\r\n \t\ttestEvent(EventType.END_GROUP, null);\r\n \t\t\t\t\r\n \t\t// Line 4-7\r\n \t\ttestEvent(EventType.START_GROUP, null);\r\n \t\ttestEvent(EventType.TEXT_UNIT, \"Value31\");\r\n \t\ttestEvent(EventType.TEXT_UNIT, \"Value32\");\r\n \t\ttestEvent(EventType.TEXT_UNIT, \"Value33\");\r\n \t\ttestEvent(EventType.TEXT_UNIT, \"Value34.1 Value34.2 Value34.3 Value34.4,Value34.5\");\r\n \t\ttestEvent(EventType.TEXT_UNIT, \"Value35\");\r\n \t\ttestEvent(EventType.END_GROUP, null);\r\n \t\t\r\n \t\t// Line 9-12\r\n \t\ttestEvent(EventType.START_GROUP, null);\t\t\r\n \t\ttestEvent(EventType.TEXT_UNIT, \"Value41\");\r\n \t\ttestEvent(EventType.TEXT_UNIT, \"Value42\");\r\n \t\ttestEvent(EventType.TEXT_UNIT, \"Value43\");\r\n \t\ttestEvent(EventType.TEXT_UNIT, \"Value44.1 Value44.2 Value44.3 Value44.4\");\r\n \t\ttestEvent(EventType.TEXT_UNIT, \"Value45.1,Value45.2\");\r\n \t\ttestEvent(EventType.END_GROUP, null);\t\t\r\n \t\t\r\n \t\t// Line 14-18\r\n \t\ttestEvent(EventType.START_GROUP, null);\t\t\r\n \t\ttestEvent(EventType.TEXT_UNIT, \"Value51\");\r\n \t\ttestEvent(EventType.TEXT_UNIT, \"Value52\");\r\n \t\ttestEvent(EventType.TEXT_UNIT, \"Value53\");\r\n \t\ttestEvent(EventType.TEXT_UNIT, \"Value54.1 Value54.2 Value54.3 Value54.4,Value55.1,Value55.2 Value55.3,Value55.4\");\r\n \t\ttestEvent(EventType.END_GROUP, null);\r\n \t\t\r\n \t\t// Line 20\r\n \t\t// Line 20-25\r\n \t\ttestEvent(EventType.START_GROUP, null);\r\n \t\ttestEvent(EventType.TEXT_UNIT, \"Value61\");\r\n \t\ttestEvent(EventType.TEXT_UNIT, \"Value62\");\r\n \t\ttestEvent(EventType.TEXT_UNIT, \"Value63\");\r\n \t\ttestEvent(EventType.TEXT_UNIT, \"Value64.1 Value64.2 Value64.3 Value64.4,Value65.1,Value65.2 Value65.3,Value65.4 \" +\r\n \t\t\t\t\"Value65.5,Value66\");\r\n \t\ttestEvent(EventType.END_GROUP, null);\r\n \t\t// -------------------------------------------------\r\n \t\t\r\n \t\t// Line 27-31\r\n \t\ttestEvent(EventType.START_GROUP, null);\t\t\r\n \t\ttestEvent(EventType.TEXT_UNIT, \"Value71\");\r\n \t\ttestEvent(EventType.TEXT_UNIT, \"Value72 aaa quoted part 1, then quoted part 2 value,Value73,Value74 \" +\r\n \t\t\t\t\"Value81,Value82 with unclosed quote Value91,Value92 ValueA1,ValueA2 ValueB1\");\r\n \t\ttestEvent(EventType.TEXT_UNIT, \"ValueB2,ValueB3\");\t\t// If quotation marks are not around field, preserve them \r\n \t\ttestEvent(EventType.TEXT_UNIT, \"ValueB4\");\r\n \t\ttestEvent(EventType.END_GROUP, null);\r\n \t\t\r\n \t\t// Line 32\r\n \t\ttestEvent(EventType.START_GROUP, null);\t\t\r\n \t\ttestEvent(EventType.TEXT_UNIT, \"ValueC1\");\r\n \t\ttestEvent(EventType.TEXT_UNIT, \"ValueC2\");\t\t \r\n \t\ttestEvent(EventType.TEXT_UNIT, \"ValueC3\");\t\t\t\r\n \t\ttestEvent(EventType.TEXT_UNIT, \"ValueC4\");\r\n \t\ttestEvent(EventType.TEXT_UNIT, \"ValueC5\");\r\n \t\ttestEvent(EventType.END_GROUP, null);\r\n \t\t\r\n \t\ttestEvent(EventType.END_DOCUMENT, null);\r\n \t\tfilter.close();\r\n \t}", "public void skip()\n {\n skip(1);\n }", "public void testRemoveDescriptionHeader_11() {\n checkRemoveDescriptionHeader(\"\", \"\\nHeader of PHPDoc comment\\nDescription.\");\n }", "public void filtro() {\n int columnaABuscar = 0;\n \n \n if (comboFiltro.getSelectedItem() == \"nombre\") {\n columnaABuscar = 0;\n }\n if (comboFiltro.getSelectedItem().toString() == \"Apellido\") {\n columnaABuscar = 1;\n }\n \n trsFiltro.setRowFilter(RowFilter.regexFilter(txtfiltro.getText(), columnaABuscar));\n }", "public void testRemoveDescriptionHeader_02() {\n checkRemoveDescriptionHeader(\"\", \"Header of PHPDoc comment.\\n\");\n }", "public boolean csvHeaderChecker(String filePath) throws IOException, CustomizedExceptions {\r\n FileReaderWriter fileReaderWriter = new FileReaderWriter();\r\n ArrayList<String> stringArrayList = new ArrayList<>(Arrays.asList(\"State\",\"Population\",\"Area\",\"Density\"));\r\n boolean flag = fileReaderWriter.checkCSVHeader(filePath, stringArrayList);\r\n return flag;\r\n }" ]
[ "0.7163902", "0.5891174", "0.5842571", "0.58368087", "0.5691709", "0.56182736", "0.5589296", "0.5479561", "0.547305", "0.54502875", "0.5379043", "0.5372742", "0.5370255", "0.5368152", "0.53557825", "0.5351013", "0.5315767", "0.53156817", "0.531359", "0.531359", "0.5288326", "0.52643514", "0.52635545", "0.5251657", "0.5242554", "0.5208411", "0.51903504", "0.5170679", "0.51592046", "0.51546115", "0.5125148", "0.5109065", "0.50923544", "0.50850105", "0.50630593", "0.5057313", "0.50300896", "0.5019214", "0.5013716", "0.4985302", "0.49838832", "0.49826828", "0.49582022", "0.49540356", "0.4952148", "0.4949123", "0.49263957", "0.49157396", "0.48983973", "0.48905385", "0.48904404", "0.48810583", "0.48622438", "0.48484394", "0.48477018", "0.4843386", "0.48385575", "0.48262796", "0.48262796", "0.48127186", "0.48060736", "0.47932506", "0.47900307", "0.47791517", "0.4763804", "0.47634858", "0.47624874", "0.4752113", "0.47442868", "0.47393376", "0.47368494", "0.47357294", "0.4731023", "0.47132412", "0.47080752", "0.47037", "0.46988785", "0.4693604", "0.468952", "0.46876392", "0.46836966", "0.46778104", "0.46505314", "0.46443087", "0.46283874", "0.4628256", "0.4620267", "0.46074304", "0.46030533", "0.45988384", "0.45986775", "0.45979387", "0.45976493", "0.45964283", "0.45876417", "0.45745656", "0.4573665", "0.4569375", "0.45554152", "0.45542198", "0.4551551" ]
0.0
-1
find the right ExecutionType.
@Override public void afterExecute(Task task, TaskState taskState) { String taskImpl = task.getClass().getSimpleName(); if (taskImpl.endsWith("_Decorated")) { taskImpl = taskImpl.substring(0, taskImpl.length() - "_Decorated".length()); } String potentialExecutionTypeName = "TASK_" + CaseFormat.LOWER_CAMEL.converterTo(CaseFormat.UPPER_UNDERSCORE). convert(taskImpl); ExecutionType executionType; try { executionType = ExecutionType.valueOf(potentialExecutionTypeName); } catch (IllegalArgumentException ignored) { executionType = ExecutionType.GENERIC_TASK_EXECUTION; } List<Recorder.Property> properties = new ArrayList<Recorder.Property>(); properties.add(new Recorder.Property("project", task.getProject().getName())); properties.add(new Recorder.Property("task", task.getName())); if (task instanceof DefaultAndroidTask) { String variantName = ((DefaultAndroidTask) task).getVariantName(); if (variantName == null) { throw new IllegalStateException("Task with type " + task.getClass().getName() + " does not include a variantName"); } if (!variantName.isEmpty()) { properties.add(new Recorder.Property("variant", variantName)); } } TaskRecord taskRecord = taskRecords.get(task.getName()); mRecorder.closeRecord(new ExecutionRecord( taskRecord.recordId, 0 /* parentId */, taskRecord.startTime, System.currentTimeMillis() - taskRecord.startTime, executionType, properties)); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getExecutionType() {\n\t\treturn executionType;\n\t}", "public int getExecutionType() {\n\t\treturn 0;\n\t}", "public ExecutionType executionType() {\n return this.executionType;\n }", "public void setExecutionType(String executionType) {\n\t\tthis.executionType = executionType;\n\t}", "public Class getRunTimeType() {\n return lho.getRuntimeType();\n }", "public Executable.ExecKind getExecKind() {\n\t\t\treturn ((TSExecutable)this.getTypeSpec()).getExecKind();\n\t\t}", "private TaskType getType(String type) {\r\n\t\tfor (TaskType tt : taskTypes) {\r\n\t\t\tif (tt.name.equals(type))\r\n\t\t\t\treturn tt;\r\n\t\t}\r\n\t\treturn null;\r\n\t}", "@Override\n\tpublic String getRunType() {\n\t\treturn model.getRunType();\n\t}", "public Executable.ExecKind getExecKind() {\n\t\t\treturn (Executable.ExecKind)this.getData(Index_ExecKind);\n\t\t}", "public Class getEvaluationType() {\n return lho.getOperandType();\n }", "protected WorkflowExecutor getWorkflowExecutor(String workflowType) throws APIManagementException {\n try {\n return WorkflowExecutorFactory.getInstance().getWorkflowExecutor(workflowType);\n } catch (WorkflowException e) {\n handleException(\"Error while obtaining WorkflowExecutor instance for workflow type :\" + workflowType);\n }\n return null;\n }", "@Override\n\tpublic java.lang.String getRunType() {\n\t\treturn _scienceApp.getRunType();\n\t}", "public RunType runType() {\n return this.runType;\n }", "String primaryImplementationType();", "@JsonCreator\n public static QueryExecutionType fromString(String value) {\n QueryExecutionType[] items = QueryExecutionType.values();\n for (QueryExecutionType item : items) {\n if (item.toString().equalsIgnoreCase(value)) {\n return item;\n }\n }\n return null;\n }", "public TaskType getTaskType() {\n return (TaskType) commandData.get(CommandProperties.TASK_TYPE);\n }", "private @CheckForNull CpsFlowExecution getExecutionBlocking() {\n FlowExecutionOwner owner = ((FlowExecutionOwner.Executable) run).asFlowExecutionOwner();\n if (owner == null) {\n return null;\n }\n try {\n FlowExecution exec = owner.get();\n return exec instanceof CpsFlowExecution ? (CpsFlowExecution) exec : null;\n } catch (IOException ioe) {\n LOGGER.log(Level.WARNING, \"Error fetching execution for replay\", ioe);\n }\n return null;\n }", "int getProblemType();", "public String determineTaskTypeFromFileLine(String line) {\n int indexOfFirstSquareBracket = line.indexOf(\"[\");\n String taskType = String.valueOf(line.charAt(indexOfFirstSquareBracket + 5));\n return taskType;\n }", "MachineType getType();", "ActionExecutor get(SimpleTypeName name) {\n // Check the action name to determine if it belongs to Lumen.\n String ns = name.getNamespace();\n String sparkNs = LumenProcedureExecutor.getNamespace();\n if (sparkNs.equals(ns)) {\n LumenProcedureExecutor sparkExec = (LumenProcedureExecutor) bridge\n .getPALExecutor();\n return sparkExec;\n }\n\n synchronized (this) {\n return executors.get(name);\n }\n }", "public String getScriptExecution() {\n StringBuffer script = new StringBuffer(\"#!/bin/bash\\n\");\n script.append(\"if [ $# -ne \" + workflowInputTypeStates.size() + \" ]\\n\\tthen\\n\");\n script\n .append(\"\\t\\techo \\\"\" + workflowInputTypeStates.size() + \" argument(s) expected.\\\"\\n\\t\\texit\\nfi\\n\");\n int in = 1;\n for (TypeNode input : workflowInputTypeStates) {\n script.append(input.getShortNodeID() + \"=$\" + (in++) + \"\\n\");\n }\n script.append(\"\\n\");\n for (ModuleNode operation : moduleNodes) {\n String code = operation.getUsedModule().getExecutionCode();\n if (code == null || code.equals(\"\")) {\n script.append(\"\\\"Error. Tool '\" + operation.getNodeLabel() + \"' is missing the execution code.\\\"\")\n .append(\"\\n\");\n } else {\n for (int i = 0; i < operation.getInputTypes().size(); i++) {\n code = code.replace(\"@input[\" + i + \"]\", operation.getInputTypes().get(i).getShortNodeID());\n }\n for (int i = 0; i < operation.getOutputTypes().size(); i++) {\n code = code.replace(\"@output[\" + i + \"]\", operation.getOutputTypes().get(i).getShortNodeID());\n }\n script.append(code).append(\"\\n\");\n }\n }\n int out = 1;\n for (TypeNode output : workflowOutputTypeStates) {\n script.append(\"echo \\\"\" + (out++) + \". output is: $\" + output.getShortNodeID() + \"\\\"\");\n }\n\n return script.toString();\n }", "public InvocationType getInvocationType() {\n return invocationType;\n }", "protected abstract String statementType();", "java.lang.String getMachineType();", "private String typeUse(final ExecutableTypeUse use) {\n try {\n return StringUtils.repeat(\"[\", use.arity()) + use.logicalType() + StringUtils.repeat(\"]\", use.arity());\n }\n catch (final Exception ex) {\n ex.printStackTrace();\n return \"???\";\n }\n }", "public int getExecutionInstance() {\n return executionInstance;\n }", "private String toOSTypeId(String osTypeName) throws Exception {\n try {\n List<CloudStackOsType> osTypes = getApi().listOsTypes(null, null, null);\n for (CloudStackOsType osType : osTypes) {\n if (osType.getDescription().toLowerCase().indexOf(osTypeName.toLowerCase()) != -1)\n return osType.getId();\n }\n return null;\n } catch (Exception e) {\n logger.error(\"List OS Types - \", e);\n throw new Exception(e.getMessage() != null ? e.getMessage() : e.toString());\n }\n\n }", "public abstract Class<?> getExpectedType();", "public static SimulationType getSimulationType(String str) {\n for(SimulationType type: SimulationType.values()) {\n if(type.name().equalsIgnoreCase(str)) {\n return type;\n }\n }\n return null;\n }", "public final ExperimentWorkflow getWorkflow( String etype ) {\r\n \r\n // Workflow, depending on the experiment type:\r\n if( AdminManagerImpl.IDENTIFY.equals(etype)) {\r\n log.info(\"Running an Identify experiment.\");\r\n if( ewfCache == null || ( ! (ewfCache instanceof IdentifyWorkflow) ) )\r\n ewfCache = new IdentifyWorkflow();\r\n \r\n } else if( AdminManagerImpl.MIGRATE.equals(etype)) {\r\n log.info(\"Running a Migrate experiment.\");\r\n if( ewfCache == null || ( ! (ewfCache instanceof MigrateWorkflow) ) )\r\n ewfCache = new MigrateWorkflow();\r\n \r\n } else if( AdminManagerImpl.EMULATE.equals(etype)) {\r\n log.info(\"Running a Emulate experiment.\");\r\n if( ewfCache == null || ( ! (ewfCache instanceof ViewerWorkflow) ) )\r\n ewfCache = new ViewerWorkflow();\r\n \r\n } else if( AdminManagerImpl.EXECUTABLEPP.equals(etype)) {\r\n log.info(\"Running an Executable PP experiment.\");\r\n if( ewfCache == null || ( ! (ewfCache instanceof ExecutablePPWorkflow) ) )\r\n ewfCache = new ExecutablePPWorkflow();\r\n \r\n } else {\r\n log.error(\"Unknown experiment type: \"+etype);\r\n \r\n }\r\n\r\n // Ensure the parameters are stored/remembered:\r\n if( ewfCache != null ) {\r\n ExperimentBean expBean = (ExperimentBean)JSFUtil.getManagedObject(\"ExperimentBean\");\r\n try {\r\n \tif(ewfCache.getParameters().equals(expBean.getExperiment().getExperimentExecutable().getParameters())){\r\n \t\t//no update - don't call the time consuming ewfCache.setParameters\r\n \t}else{\r\n \t\tewfCache.setParameters(expBean.getExperiment().getExperimentExecutable().getParameters());\r\n \t}\r\n \r\n } catch (Exception e) {\r\n //Version v1.0 - the ExperimentExecutable().getParameters() aren't any longer used! All Information is encoded in a WFConf object\r\n \t//TODO AL remove the Parameters from the ExperimentExecutable AND the ExpTypeBackingBean\r\n }\r\n }\r\n return ewfCache;\r\n }", "public String getRuntimeClass();", "public Executor getExecutor() {\n Object o = getReference(\"ant.executor\");\n if (o == null) {\n String classname = getProperty(\"ant.executor.class\");\n if (classname == null) {\n classname = DefaultExecutor.class.getName();\n }\n log(\"Attempting to create object of type \" + classname, MSG_DEBUG);\n try {\n o = Class.forName(classname, true, coreLoader).newInstance();\n } catch (ClassNotFoundException seaEnEfEx) {\n //try the current classloader\n try {\n o = Class.forName(classname).newInstance();\n } catch (Exception ex) {\n log(ex.toString(), MSG_ERR);\n }\n } catch (Exception ex) {\n log(ex.toString(), MSG_ERR);\n }\n if (o == null) {\n throw new BuildException(\n \"Unable to obtain a Target Executor instance.\");\n }\n setExecutor((Executor) o);\n }\n return (Executor) o;\n }", "public Class<?> getTargetType()\n/* */ {\n/* 266 */ if (this.resolvedTargetType != null) {\n/* 267 */ return this.resolvedTargetType;\n/* */ }\n/* 269 */ return this.targetType != null ? this.targetType.resolve() : null;\n/* */ }", "@SuppressWarnings(\"unchecked\")\n\tpublic T getTarget() {\n\t\t\n\t\tif (cachedValue != null)\n\t\t\treturn cachedValue;\n\t\t\n\t\tif (canonicalTypeName.equals(\"tv.amwa.maj.meta.impl.TypeDefinitionImpl\")) {\n\t\t\tcachedValue = (T) Warehouse.lookForType(identifier);\n\t\t\tif (cachedValue != null) return cachedValue;\n\t\t}\n\t\tClassDefinition targetType = Warehouse.lookForClass(canonicalTypeName);\n\t\ttry {\n\t\t\tMethod staticResolver = targetType.getJavaImplementation().getMethod(\n\t\t\t\t\t\"forAUID\", AUID.class);\n\t\t\tcachedValue = (T) staticResolver.invoke(null, identifier);\n\t\t\tif (cachedValue != null) return cachedValue;\n\t\t}\n\t\tcatch (Exception e) {\n\t\t\t// Method is not found ... try the generic resolver\n\t\t}\n\t\t\n\t\ttry {\n\t\t\treturn (T) genericTable.get(identifier);\n\t\t}\n\t\tcatch (ClassCastException cce) {\n\t\t\treturn null;\n\t\t}\n\t}", "public long getExecutionForTest() throws IOException, URISyntaxException {\n ConnectionManager.refreshSession();\n executionCycleDOM = ConnectionManager.getTestExecutionForIssue(issue.getIdAsLong());\n executionId = executionCycleDOM.getIdByVersion(versionId);\n logger.info(\"EXECUTION ID : \" + executionId);\n return executionId;\n }", "private TYPE getType(final String type) {\n String temp = type.replaceAll(\"-\", \"_\");\n TYPE answer = Arrays.stream(\n TYPE.values()\n )\n .filter(value -> value.name().equals(temp))\n .findFirst()\n .orElse(TYPE.unknown);\n return answer;\n }", "String getResultClass();", "public ObjectType getJVMType();", "cn.infinivision.dataforce.busybee.pb.meta.Execution getExecution();", "String type();", "String type();", "String type();", "String type();", "String type();", "String type();", "String type();", "String type();", "String type();", "String type();", "String type();", "String type();", "String type();", "String type();", "String type();", "String type();", "String type();", "String type();", "String type();", "String type();", "public ExportExecutionProperties withExecutionType(ExecutionType executionType) {\n this.executionType = executionType;\n return this;\n }", "java.math.BigInteger getInstallmentType();", "public com.google.wireless.android.sdk.stats.UIActionStats.InvocationKind getInvocationKind() {\n @SuppressWarnings(\"deprecation\")\n com.google.wireless.android.sdk.stats.UIActionStats.InvocationKind result = com.google.wireless.android.sdk.stats.UIActionStats.InvocationKind.valueOf(invocationKind_);\n return result == null ? com.google.wireless.android.sdk.stats.UIActionStats.InvocationKind.UNKNOWN_INVOCATION_KIND : result;\n }", "public Integer getInstType() {\n return instType;\n }", "ViolationType getViolationType(int violationTypeId);", "public Type getType() {\n \t\tif(type == null) {\n \t\t\ttry {\n \t\t\t\tsetType(B3BackendActivator.instance.getBundle().loadClass(getQualifiedName()));\n \t\t\t} catch (ClassNotFoundException e) {\n\t\t\t\t// TODO: ?? Need to handle this, so the \"not found\" surfaces to the user...\n\t\t\t\t// Handled via model validation - type can not be null\n \t\t\t}\n \t\t}\n \t\treturn type;\n \t}", "public UUID executionId();", "private Integer mapParameterType(String parameterStr) {\n\n\t\tswitch (parameterStr) {\n\n\t\tcase Parameter.PRIORITY_ARGUMENT:\n\t\t\treturn Parameter.PRIORITY_ARGUMENT_TYPE;\n\n\t\tcase Parameter.START_DATE_ARGUMENT:\n\t\t\treturn Parameter.START_DATE_ARGUMENT_TYPE;\n\n\t\tcase Parameter.PLACE_ARGUMENT:\n\t\t\treturn Parameter.PLACE_ARGUMENT_TYPE;\n\t\tcase Parameter.END_DATE_ARGUMENT:\n\t\t\treturn Parameter.END_DATE_ARGUMENT_TYPE;\n\t\tcase Parameter.TYPE_ARGUMENT:\n\t\t\treturn Parameter.TYPE_ARGUMENT_TYPE;\n\n\t\tdefault:\n\t\t\treturn ERROR_COMMAND_TYPE;\n\n\t\t}\n\n\t}", "public com.google.wireless.android.sdk.stats.UIActionStats.InvocationKind getInvocationKind() {\n @SuppressWarnings(\"deprecation\")\n com.google.wireless.android.sdk.stats.UIActionStats.InvocationKind result = com.google.wireless.android.sdk.stats.UIActionStats.InvocationKind.valueOf(invocationKind_);\n return result == null ? com.google.wireless.android.sdk.stats.UIActionStats.InvocationKind.UNKNOWN_INVOCATION_KIND : result;\n }", "public JvmType getClassx();", "@DISPID(91)\r\n\t// = 0x5b. The runtime will prefer the VTID if present\r\n\t@VTID(89)\r\n\tjava.lang.String expectedRunTime();", "public String getTargetTypeAsString() {\n\t\tString type = null;\n\t\t\n\t\tswitch (targetType) {\n\t\tcase PROCEDURE:\n\t\t\ttype = \"procedure\";\n\t\t\tbreak;\n\t\tcase POLICY:\n\t\t\ttype = \"policy\";\n\t\t\tbreak;\n\t\tcase PROCESS:\n\t\t\ttype = \"process\";\n\t\t\tbreak;\n\t\tcase EXTERNAL:\n\t\t\ttype = \"external\";\n\t\t\tbreak;\n\t\tcase NOT_SET:\n\t\t\ttype = \"procedure\";\n\t\t\tbreak;\n\t\tdefault:\n\t\t\ttype = \"procedure\";\n\t\t\tbreak;\n\t\t}\n\t\treturn type;\n\t}", "public final slm.proxies.ProcessType getProcessType()\r\n\t{\r\n\t\treturn getProcessType(getContext());\r\n\t}", "Type getResultType();", "public ProcessType getType() {\n\t\treturn this.type;\n\t}", "String getExecId();", "public PlanNode findAtOrBelow( Type typeToFind ) {\n return findAtOrBelow(EnumSet.of(typeToFind));\n }", "@TestMethod(value=\"testGetParameterType_String\")\n public Object getParameterType(String name) {\n \tif (\"maxIterations\".equals(name)) return Integer.MAX_VALUE;\n \tif (\"lpeChecker\".equals(name)) return Boolean.TRUE;\n \tif (\"maxResonStruc\".equals(name)) return Integer.MAX_VALUE;\n return null;\n }", "public String get_type() throws Exception {\n\t\treturn this.type;\n\t}", "@DISPID(47)\r\n\t// = 0x2f. The runtime will prefer the VTID if present\r\n\t@VTID(52)\r\n\tasci.activebatch.enumJobTypeEx type();", "@TestMethod(value=\"testGetParameterType_String\")\n public Object getParameterType(String name) {\n \tif (\"maxIterations\".equals(name)) return Integer.MAX_VALUE;\n return null;\n }", "public int getOperandType(String operand) {\n\t\t// empty\n\t\tif (operand == null) {\n\t\t\treturn Op.NULL;\n\t\t}\n\t\tif (operand.equals(\"\")) {\n\t\t\treturn Op.NULL;\n\t\t}\n\t\t// comma\n\t\tif (operand.equals(\",\")) {\n\t\t\treturn Op.COMMA;\n\t\t}\n\t\t// memory address\n\t\tif (pMemory.matcher(operand).matches()) {\n\t\t\treturn Op.MU;\n\t\t}\n\t\t// register\n\t\tif (CalculatedAddress.pRegisters.matcher(operand).matches()) {\n\t\t\treturn Op.getDefinition(Op.REG, dataspace.getRegisterSize(operand));\n\t\t}\n\t\t// (decimal) immediate\n\t\tif (pDecimal.matcher(operand).matches()) {\n\t\t\ttry {\n\t\t\t\tLong.valueOf(operand);\n\t\t\t} catch (NumberFormatException e) {\n\t\t\t\treturn Op.ERROR;\n\t\t\t}\n\t\t\treturn Op.getDefinition(Op.IMM, getOperandSize(Long.parseLong(operand)));\n\t\t}\n\t\t// floating-point constant\n\t\tif (pFloat.matcher(operand).matches()) {\n\t\t\ttry {\n\t\t\t\tDouble.valueOf(operand);\n\t\t\t} catch (NumberFormatException e) {\n\t\t\t\treturn Op.ERROR;\n\t\t\t}\n\t\t\treturn Op.FLOAT;\n\t\t}\n\t\t// variable\n\t\tif (dataspace.isVariable(operand)) {\n\t\t\treturn Op.VARIABLE;\n\t\t}\n\t\t// constant (defined by EQU)\n\t\tif (dataspace.isConstant(operand)) {\n\t\t\treturn Op.CONST;\n\t\t}\n\t\t// label (target for jump-commands)\n\t\tif (doc.getLabelLine(operand) != -1) {\n\t\t\treturn Op.LABEL;\n\t\t}\n\t\t// size qualifier\n\t\tif (pSizeQuali.matcher(operand).matches()) {\n\t\t\treturn Op.SIZEQUALI;\n\t\t}\n\t\t// prefix\n\t\tif (DataSpace.prefixesMatchingPattern.matcher(operand).matches()) {\n\t\t\treturn Op.PREFIX;\n\t\t}\n\t\t// string/character constant\n\t\tif (pString.matcher(operand).matches()) {\n\t\t\t// string: up to four characters (short) or arbitrarily long\n\t\t\tif (operand.length() <= 6) {\n\t\t\t\treturn Op.CHARS;\n\t\t\t} else {\n\t\t\t\treturn Op.STRING;\n\t\t\t}\n\t\t}\n\t\t// FPU register\n\t\tif (Fpu.pRegisters.matcher(operand).matches()) {\n\t\t\treturn Op.FPUREG;\n\t\t}\n\t\t// FPU qualifier\n\t\tif (Fpu.pQualifiers.matcher(operand).matches()) {\n\t\t\treturn Op.FPUQUALI;\n\t\t}\n\t\treturn Op.ERROR;\n\t}", "@Override\n public int getProcessorType() {\n return OperationExecutors.HIGH_PRIORITY_EXECUTOR;\n }", "public PlatformType getPlatformType();", "public abstract jq_Type getDeclaredType();", "public Type getExpressionType();", "Integer getOperationTypeId();", "public abstract int getTipoByName(TipoActividad tipoAct) throws PersistenceException, ClassNotFoundException;", "private EventType getEventType(Transition transition) {\n\t\tEventType result = EventType.COMPLETE;\n\t\t// get associated log event type\n\t\tLogEvent le = transition.getLogEvent();\n\n\t\t// check for invisible tasks\n\t\tif (le != null) {\n\t\t\tString type = le.getEventType();\n\t\t\tif (type.equals(\"schedule\")) {\n\t\t\t\tresult = EventType.SCHEDULE;\n\t\t\t} else if (type.equals(\"start\")) {\n\t\t\t\tresult = EventType.START;\n\t\t\t} else if (type.equals(\"complete\")) {\n\t\t\t\tresult = EventType.COMPLETE;\n\t\t\t}\n\t\t}\n\t\treturn result;\n\t}", "protected String getTargetTypeParameter() {\n if (!notEmpty(targetType)) {\n return null;\n }\n if (targetType.equals(\"exe\")) {\n return \"/exe\";\n } else if (targetType.equals(\"library\")) {\n return \"/dll\";\n } else {\n return null;\n }\n }", "java.lang.String getPkiType();", "public String getType() {\n return theTaskType ;\n }", "public java.lang.String getEXECUTION()\n {\n \n return __EXECUTION;\n }", "java.lang.String getAppType();", "public abstract PartitionType getType();", "@Override\r\n\tpublic List<ExecuteTask> getByOrgByType(int organizationId, String taskType) {\n\t\tString sql = \"SELECT et_id id,et_member_id memberId,et_task_id taskId,et_comments comments FROM executetask \"\r\n\t\t\t\t+ \"WHERE et_task_id IN(SELECT task_id FROM task WHERE task_organization_id IN\"\r\n\t\t\t\t+ \"(SELECT org_id FROM organization WHERE org_id = ? OR org_parent_organization_id = ?) \"\r\n\t\t\t\t+ \" AND task_type = ?)\";\r\n\t\treturn getForList(sql,organizationId,organizationId,taskType);\r\n\t}", "String getType();", "String getType();", "String getType();", "String getType();", "String getType();" ]
[ "0.7001195", "0.68638533", "0.6812398", "0.65353644", "0.59099025", "0.5786631", "0.57091075", "0.5635127", "0.5626344", "0.55366415", "0.5507162", "0.5368626", "0.5363566", "0.53546137", "0.5190825", "0.51543766", "0.5130472", "0.51117444", "0.5077496", "0.50694156", "0.5061892", "0.505193", "0.5040457", "0.5030952", "0.5029413", "0.5005334", "0.49869", "0.49820226", "0.49802503", "0.4974608", "0.49658558", "0.49622992", "0.4952377", "0.49379227", "0.49333736", "0.493289", "0.49042517", "0.49021822", "0.4899997", "0.48972625", "0.4893104", "0.4893104", "0.4893104", "0.4893104", "0.4893104", "0.4893104", "0.4893104", "0.4893104", "0.4893104", "0.4893104", "0.4893104", "0.4893104", "0.4893104", "0.4893104", "0.4893104", "0.4893104", "0.4893104", "0.4893104", "0.4893104", "0.4893104", "0.4891191", "0.48702416", "0.4869654", "0.4865174", "0.48628762", "0.4849512", "0.48358583", "0.48318794", "0.48312673", "0.48269576", "0.48262393", "0.48225334", "0.48145476", "0.48128426", "0.4812352", "0.47646943", "0.47591975", "0.4746278", "0.47404298", "0.47374964", "0.4730173", "0.47019017", "0.469885", "0.46975467", "0.46934682", "0.46931377", "0.4692732", "0.46893853", "0.46878836", "0.46813738", "0.46772215", "0.46745002", "0.46629226", "0.46599528", "0.4657627", "0.46551424", "0.46498787", "0.46498787", "0.46498787", "0.46498787", "0.46498787" ]
0.0
-1
One of three ways to construct a SolverTaskDescription. This constructor is used when creating a SolverTaskDescription from the database.
public SolverTaskDescription(Simulation simulation, CommentStringTokenizer tokenizer) throws DataAccessException { super(); addPropertyChangeListener(this); setSimulation(simulation); readVCML(tokenizer); resetSolverTaskDescriptionIfNecessary(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public SolverTaskDescription(Simulation simulation, SolverTaskDescription solverTaskDescription) {\n\t\tsuper();\n\t\taddPropertyChangeListener(this);\n\n\t\tsetSimulation(simulation);\n\t\t//\n\t\tfieldTaskType = solverTaskDescription.getTaskType();\n\t\tfieldTimeBounds = new TimeBounds(solverTaskDescription.getTimeBounds());\n\t\tfieldTimeStep = new TimeStep(solverTaskDescription.getTimeStep());\n\t\tfieldErrorTolerance = new ErrorTolerance(solverTaskDescription.getErrorTolerance());\n\t\ttry {\n\t\t\tfieldOutputTimeSpec = (OutputTimeSpec)BeanUtils.cloneSerializable(solverTaskDescription.getOutputTimeSpec());\n\t\t}catch (Exception e){\n\t\t\tthrow new RuntimeException(e.getMessage(), e);\n\t\t}\n\t\tfieldSensitivityParameter = solverTaskDescription.getSensitivityParameter();\n\t\tfieldSolverDescription = solverTaskDescription.getSolverDescription();\n\t\tfieldUseSymbolicJacobian = solverTaskDescription.getUseSymbolicJacobian();\n\t\tif (solverTaskDescription.stopAtSpatiallyUniformErrorTolerance != null) {\n\t\t\tstopAtSpatiallyUniformErrorTolerance = new ErrorTolerance(solverTaskDescription.stopAtSpatiallyUniformErrorTolerance);\n\t\t}\n\t\tbSerialParameterScan = solverTaskDescription.bSerialParameterScan;\n\t\tbTimeoutDisabled = solverTaskDescription.bTimeoutDisabled;\n\t\tbBorderExtrapolationDisabled = solverTaskDescription.bBorderExtrapolationDisabled;\n\n\t\tif (simulation.getMathDescription().isNonSpatialStoch() && (solverTaskDescription.getStochOpt() != null))\n\t\t{\n\t\t\tsetStochOpt(solverTaskDescription.getStochOpt());\n\t\t}\n\t\telse {\n\t\t\tsetStochOpt(null);\n\t\t}\n\t\tif (simulation.getMathDescription().isNonSpatialStoch() && \n\t\t\t(!solverTaskDescription.getSolverDescription().isGibsonSolver()) &&\n\t\t\t(solverTaskDescription.getStochHybridOpt() != null))\n\t\t{\n\t\t\tsetStochHybridOpt(solverTaskDescription.getStochHybridOpt());\n\t\t}\n\t\telse {\n\t\t\tsetStochHybridOpt(null);\n\t\t}\n\t\tif (simulation.getMathDescription().isSpatialStoch() || simulation.getMathDescription().isSpatialHybrid()) {\n\t\t\tsmoldynSimulationOptions = new SmoldynSimulationOptions(solverTaskDescription.smoldynSimulationOptions);\n\t\t} else {\n\t\t\tsmoldynSimulationOptions = null;\n\t\t}\n\t\tif (simulation.getMathDescription().isRuleBased()) {\n\t\t\tif(solverTaskDescription.nfsimSimulationOptions != null) {\n\t\t\t\tnfsimSimulationOptions = new NFsimSimulationOptions(solverTaskDescription.nfsimSimulationOptions);\n\t\t\t} else {\n\t\t\t\tnfsimSimulationOptions = new NFsimSimulationOptions();\n\t\t\t}\n\t\t} else {\n\t\t\tnfsimSimulationOptions = null;\n\t\t}\n\t\tif (simulation.getMathDescription().isLangevin()) {\n\t\t\tif(solverTaskDescription.langevinSimulationOptions != null) {\n\t\t\t\tlangevinSimulationOptions = new LangevinSimulationOptions(solverTaskDescription.langevinSimulationOptions);\n\t\t\t} else {\n\t\t\t\tlangevinSimulationOptions = new LangevinSimulationOptions();\n\t\t\t}\n\t\t} else {\n\t\t\tlangevinSimulationOptions = null;\n\t\t}\n\t\tif (fieldSolverDescription.equals(SolverDescription.SundialsPDE)) {\n\t\t\tsundialsPdeSolverOptions = new SundialsPdeSolverOptions(solverTaskDescription.sundialsPdeSolverOptions);\n\t\t} else {\n\t\t\tsundialsPdeSolverOptions = null;\n\t\t}\n\t\tif (solverTaskDescription.chomboSolverSpec != null) {\n\t\t\tchomboSolverSpec = new ChomboSolverSpec(solverTaskDescription.chomboSolverSpec);\n\t\t} else {\n\t\t\tchomboSolverSpec = null;\n\t\t}\n\t\tif (solverTaskDescription.movingBoundarySolverOptions != null)\n\t\t{\n\t\t\tmovingBoundarySolverOptions = new MovingBoundarySolverOptions(solverTaskDescription.movingBoundarySolverOptions);\n\t\t}\n\t\telse\n\t\t{\n\t\t\tmovingBoundarySolverOptions = null;\n\t\t}\n\t\tnumProcessors = solverTaskDescription.numProcessors;\n\t}", "public Task(String description) {\n this.description = description;\n this.isDone = false;\n this.taskType = \"\";\n }", "public Task(String taskDescription) {\n this.taskDescription = taskDescription;\n this.isDone = false;\n this.completed = \"0\";\n }", "protected Task(String description) {\n this.description = description;\n this.isComplete = false;\n this.tags = new ArrayList<>();\n }", "public Task(String creator) {\r\n \t\tthis(creator, \"Untitled\", \"\", true, false);\r\n \t}", "public Task(String description) {\n this.description = description;\n this.isDone = false;\n this.tag = \"\";\n }", "public Task(String description){\n this.description = description;\n this.isDone = false;\n }", "public Task(String description){\n this.description = description;\n this.isDone = false;\n }", "public Task(String taskDescription) {\n this.taskDescription = taskDescription;\n this.isDone = false;\n }", "public Task(String description) {\n this.description = description;\n this.isDone = false;\n }", "public Task(String description) {\n this.description = description;\n this.isDone = false;\n }", "public SolverTaskDescription(Simulation simulation) {\n\t\tsuper();\n\t\taddPropertyChangeListener(this);\n\t\tsetSimulation(simulation);\n\t\tresetSolverTaskDescriptionIfNecessary();\n\t}", "public Task(String description) {\n this.description = description;\n this.isDone = false;\n this.logo = \"N\";\n }", "public Task(String creator, String name, String description,\r\n \t\t\tboolean requiresText, boolean requiresPhoto) {\r\n \r\n\t\t_creationDate = new SimpleDateFormat(\"MMM dd, yyyy | HH:mm\").format(Calendar\r\n \t\t\t\t.getInstance().getTime());\r\n\t\t\r\n\t\t// Store date as hex string with hex prefix.\r\n\t\t_dateHex = \"0x\" + Long.toHexString(Calendar.getInstance().getTimeInMillis());\r\n \r\n \t\t_creator = creator;\r\n \t\t_name = name;\r\n \t\t_requiresText = requiresText;\r\n \t\t_requiresPhoto = requiresPhoto;\r\n \t\t_fulfilled = false;\r\n \r\n \t\t_photos = new ArrayList<PhotoRequirement>();\r\n \t}", "public Task(String description) {\n this.description = description.trim();\n this.isDone = false;\n }", "public Task(String description) {\n this.description = description;\n this.isDone = false;\n this.tag = \"\";\n this.isTagged = false;\n }", "public Task(String description) {\n\n this.description = description;\n this.isDone = false;\n taskCounter++;\n }", "public TaskDefinition() {\n\t\tthis.started = Boolean.FALSE; // default\n\t\tthis.startTime = new Date(); // makes it easier during task creation\n\t\t// as we have a default date populated\n\t\tthis.properties = new HashMap<>();\n\t}", "public ToDoTask(String description, int id) {\n super(description, id);\n }", "private Task makeTask(String taskType, Optional<String> taskDescription, \r\n Optional<LocalDateTime> taskDeadline, \r\n Optional<LocalDateTime> taskStartDateTime,\r\n Optional<LocalDateTime> taskEndDateTime) {\r\n \r\n Task task;\r\n \r\n if (taskDescription.get().isBlank()) {\r\n throw new InvalidTaskArgumentException(\r\n MESSAGE_ADD_COMMAND_INVALID_TASK_DESCRIPTION);\r\n }\r\n \r\n switch(taskType) {\r\n case \"todo\": \r\n task = new ToDos(TaskList.taskIdCounter, taskDescription.get());\r\n break;\r\n case \"deadline\":\r\n if (taskDeadline.isEmpty()) {\r\n throw new InvalidTaskArgumentException(\r\n MESSAGE_ADD_COMMAND_INVALID_TASK_REQUIREMENT_DEADLINES);\r\n }\r\n \r\n task = new Deadlines(TaskList.taskIdCounter, taskDescription.get(), \r\n taskDeadline.get()); \r\n break;\r\n case \"event\":\r\n if (taskStartDateTime.isEmpty() || taskEndDateTime.isEmpty()) {\r\n throw new InvalidTaskArgumentException(\r\n MESSAGE_ADD_COMMAND_INVALID_TASK_REQUIREMENT_EVENTS);\r\n }\r\n task = new Events(TaskList.taskIdCounter, taskDescription.get(), \r\n taskStartDateTime.get(), taskEndDateTime.get());\r\n break;\r\n default:\r\n throw new InvalidTaskArgumentException(MESSAGE_INVALID_TASK_TYPE);\r\n }\r\n return task;\r\n }", "public Task(String original, @Nullable String other) {\n this(original, other, -1, -1);\n \n }", "private Tasks createKeywordTask(Tasks task, String descriptionOfTask, ArrayList<String> timeArray) {\n timeArray.set(0, timeArray.get(0).toLowerCase());\n ArrayList<String> formattedTimeArray = new ArrayList<String>();\n createFormattedTimeArray(timeArray, formattedTimeArray);\n assert(formattedTimeArray.size() < 5);\n if (formattedTimeArray.size() == 2) { //deadline task\n createFormattedTimeArray(timeArray, formattedTimeArray);\n task = createDeadlineTask(task, descriptionOfTask, formattedTimeArray);\n } else if (formattedTimeArray.size() == 4) { //duration task\n createFormattedTimeArray(timeArray, formattedTimeArray);\n task = createDurationTask(task, descriptionOfTask, formattedTimeArray);\n }\n return task;\n }", "public Task(String original) {\n this(original, null);\n }", "public Task(Task task) {\n id = task.id;\n taskType = task.taskType;\n title = task.title;\n period = task.period;\n deadline = task.deadline;\n wcet = task.wcet;\n //execTime = task.execTime;\n priority = task.priority;\n initialOffset = task.initialOffset;\n nextReleaseTime = task.nextReleaseTime;\n isSporadicTask = task.isSporadicTask;\n }", "public Task() {\n\t}", "public Task(String id, String nameandpoints, String desc) {\n this.id = id;\n this.assignedMembers = new ArrayList<>();\n this.requiredSkills = new ArrayList<>();\n nameandpoints.trim();\n if (nameandpoints.startsWith(\"(\")) {\n try {\n this.name = nameandpoints.substring(4);\n String temp = nameandpoints.substring(1, 2);\n this.storyPoints = Integer.parseInt(temp);\n } catch (Exception e) {\n System.out.println(e.getMessage());\n this.name = nameandpoints;\n this.storyPoints = 0;\n }\n } else {\n this.name = nameandpoints;\n }\n\n if (!desc.isEmpty()) {\n if (desc.contains(\"Required Skills\")) {\n try {\n String skills = desc.substring(desc.lastIndexOf(\":\") + 1);\n addRequiredSkill(skills);\n System.out.println(requiredSkills);\n this.description = desc.substring(0, desc.indexOf(\"Required\"));\n } catch (Exception e) {\n Log.e(\"Task Creation\", \"Not expected format for desc in Task: \" + name);\n }\n } else this.description = desc;\n }\n\n }", "public Task (String name, Priority priority, String description, Status status)\n\t{\n\t\tif (name.trim().length() > 0)\n\t\t{\n\t\t\tthis.name = name;\n\t\t}\n\t\tif (description.length() <= 255 && description.length() > 0)\n\t\t{\n\t\t\tthis.setDescription(description);\n\t\t}\n\t\telse\n\t\t{\n\t\t\tthis.description = \"No description added !!!!!\";\n\t\t}\n\t\tthis.priority = priority;\n\t\tthis.status = status;\n\t}", "public Task(Task source) {\n if (source.Application != null) {\n this.Application = new Application(source.Application);\n }\n if (source.TaskName != null) {\n this.TaskName = new String(source.TaskName);\n }\n if (source.TaskInstanceNum != null) {\n this.TaskInstanceNum = new Long(source.TaskInstanceNum);\n }\n if (source.ComputeEnv != null) {\n this.ComputeEnv = new AnonymousComputeEnv(source.ComputeEnv);\n }\n if (source.EnvId != null) {\n this.EnvId = new String(source.EnvId);\n }\n if (source.RedirectInfo != null) {\n this.RedirectInfo = new RedirectInfo(source.RedirectInfo);\n }\n if (source.RedirectLocalInfo != null) {\n this.RedirectLocalInfo = new RedirectLocalInfo(source.RedirectLocalInfo);\n }\n if (source.InputMappings != null) {\n this.InputMappings = new InputMapping[source.InputMappings.length];\n for (int i = 0; i < source.InputMappings.length; i++) {\n this.InputMappings[i] = new InputMapping(source.InputMappings[i]);\n }\n }\n if (source.OutputMappings != null) {\n this.OutputMappings = new OutputMapping[source.OutputMappings.length];\n for (int i = 0; i < source.OutputMappings.length; i++) {\n this.OutputMappings[i] = new OutputMapping(source.OutputMappings[i]);\n }\n }\n if (source.OutputMappingConfigs != null) {\n this.OutputMappingConfigs = new OutputMappingConfig[source.OutputMappingConfigs.length];\n for (int i = 0; i < source.OutputMappingConfigs.length; i++) {\n this.OutputMappingConfigs[i] = new OutputMappingConfig(source.OutputMappingConfigs[i]);\n }\n }\n if (source.EnvVars != null) {\n this.EnvVars = new EnvVar[source.EnvVars.length];\n for (int i = 0; i < source.EnvVars.length; i++) {\n this.EnvVars[i] = new EnvVar(source.EnvVars[i]);\n }\n }\n if (source.Authentications != null) {\n this.Authentications = new Authentication[source.Authentications.length];\n for (int i = 0; i < source.Authentications.length; i++) {\n this.Authentications[i] = new Authentication(source.Authentications[i]);\n }\n }\n if (source.FailedAction != null) {\n this.FailedAction = new String(source.FailedAction);\n }\n if (source.MaxRetryCount != null) {\n this.MaxRetryCount = new Long(source.MaxRetryCount);\n }\n if (source.Timeout != null) {\n this.Timeout = new Long(source.Timeout);\n }\n if (source.MaxConcurrentNum != null) {\n this.MaxConcurrentNum = new Long(source.MaxConcurrentNum);\n }\n if (source.RestartComputeNode != null) {\n this.RestartComputeNode = new Boolean(source.RestartComputeNode);\n }\n if (source.ResourceMaxRetryCount != null) {\n this.ResourceMaxRetryCount = new Long(source.ResourceMaxRetryCount);\n }\n }", "public Task(String description, Boolean isCompleted, ArrayList<String> tags) {\n this.description = description;\n this.completionStatus = isCompleted;\n this.tags = tags;\n }", "public Task(String description, boolean done) {\r\n this.description = description;\r\n this.isDone = done;\r\n }", "public AddCommand(String taskType, Optional<String> taskDescription) { \r\n this.taskType = taskType;\r\n this.taskDescription = taskDescription;\r\n this.taskDeadline = Optional.empty();\r\n this.taskStartDateTime = Optional.empty();\r\n this.taskEndDateTime = Optional.empty();\r\n this.task = makeTask(taskType, taskDescription, taskDeadline, \r\n taskStartDateTime, taskEndDateTime); \r\n }", "public Task(String name) {\r\n this(name, false);\r\n }", "public Task(Task T){\n\n\t\tcmd = T.cmd;\n\t\ttasknum = T.tasknum;\n\t\tterminated = T.terminated;\n\t\tcycle_term = T.cycle_term;\n\t\taborted = T.aborted;\n\t\twaiting = T.waiting;\n\t\ttime_wait = T.time_wait;\n\t\trunning = T.running;\n\n\t\tfor (int i = 0; i < T.actions.size(); i++){\n\n\t\t\tactions.add(T.actions.get(i));\n\t\t\tres_needed.add(T.res_needed.get(i));\n\t\t\treq_num.add(T.req_num.get(i));\n\t\t}\n\n\t\tfor(int i = 0; i < T.claims.size(); i++){\n\n\t\t\tclaims.add(T.claims.get(i));\n\t\t\tallocation.add(T.allocation.get(i));\n\t\t}\n\n\t}", "public Todo(String task) {\n super(task);\n }", "public StudentTask() {\n\t\tthis(\"student_task\", null);\n\t}", "public Task(boolean isDone, String description) {\n this.description = description;\n this.isDone = isDone;\n }", "public ToDo(String description) {\n super(description);\n }", "public Task(TaskName taskName, Body body, DateTime startDateTime, DateTime endDateTime,\n Priority priority, Set<Tag> tags) {\n requireAllNonNull(taskName, body, startDateTime, endDateTime, priority, tags);\n this.taskName = taskName;\n this.body = body;\n this.startDateTime = startDateTime;\n this.endDateTime = endDateTime;\n this.priority = priority;\n this.tags.addAll(tags);\n }", "public SchematicBuildTask(Schematic schematic, Location location) {\n super(schematicToTaskList(schematic, location));\n }", "public SolverTaskDescription(CommentStringTokenizer tokenizer) throws DataAccessException {\n\t\tsuper();\n\t\taddPropertyChangeListener(this);\n\t\treadVCML(tokenizer);\n\t}", "public Task(String description, boolean isDone, String tag) {\n this.description = description;\n this.isDone = isDone;\n this.tag = tag;\n }", "public Tasks() {\n }", "public Task() {\r\n }", "public Task createTask(final String description) {\n final Task t = new Task(taskid, description, this);\n taskid++;\n tasks.put(t.getId(), t);\n\n return t;\n }", "public Task(String description, LocalDate date) {\n this.description = description;\n isDone = false;\n this.date = date;\n }", "public Task createTask(long userId, String description, String groupId, String dueTimeStr, int priority, String labels, \n\t\t\tString parentId, long owner);", "public Task(Task task) {\r\n\t\tthis.id = task.id;\r\n\t\tthis.description = task.description;\r\n\t\tthis.processor = task.processor;\r\n\t\tthis.status = task.status;\r\n\r\n\t\tthis.dueDate = new GregorianCalendar(task.dueDate.get(GregorianCalendar.YEAR), \r\n\t\t\t\ttask.dueDate.get(GregorianCalendar.MONTH), \r\n\t\t\t\ttask.dueDate.get(GregorianCalendar.DAY_OF_MONTH));\r\n\r\n\t\tSimpleDateFormat sdf = new SimpleDateFormat(\"dd.MM.yyyy\");\r\n\t\tthis.formatedDueDate = sdf.format(dueDate.getTime());\r\n\t\tthis.next = task.next;\r\n\t}", "public AddCommand(String taskType, Optional<String> taskDescription, \r\n Optional<LocalDateTime> taskStartDateTime,\r\n Optional<LocalDateTime> taskEndDateTime) {\r\n \r\n this.taskType = taskType;\r\n this.taskDescription = taskDescription;\r\n this.taskDeadline = Optional.empty();\r\n this.taskStartDateTime = taskStartDateTime;\r\n this.taskEndDateTime = taskEndDateTime;\r\n this.task = makeTask(taskType, taskDescription, taskDeadline, \r\n taskStartDateTime, taskEndDateTime); \r\n }", "public Todo(String description) {\n super(description);\n }", "public Todo(String description) {\n super(description);\n }", "public Todo(String description) {\n super(description);\n }", "public AddCommand(String taskType, Optional<String> taskDescription, \r\n Optional<LocalDateTime> taskDeadline) {\r\n \r\n this.taskType = taskType;\r\n this.taskDescription = taskDescription;\r\n this.taskDeadline = taskDeadline;\r\n this.taskStartDateTime = Optional.empty();\r\n this.taskEndDateTime = Optional.empty();\r\n this.task = makeTask(taskType, taskDescription, taskDeadline, \r\n taskStartDateTime, taskEndDateTime); \r\n }", "public ConvertTextUnitsTask() {\n \n super();\n \n Label = LABEL;\n TaskParameterClassName = TASK_PARAMETER_CLASS_NAME;\n TaskResultClassName = TASK_RESULT_CLASS_NAME;\n ControlPanelClassName = CONTROL_PANEL_CLASS_NAME;\n ProjectPropertyData = PROJECT_PROPERTY_DATA;\n \n }", "private Tasks createNoKeywordTask(Tasks task, String descriptionOfTask, ArrayList<String> timeArray,\n int numberOfArguments) {\n if (numberOfArguments == 1 || numberOfArguments == 2) { //deadline tasks\n task = createDeadlineTask(task, descriptionOfTask, timeArray);\n } else { //duration tasks\n task = createDurationTask(task, descriptionOfTask, timeArray);\n }\n return task;\n }", "public ToDoCommand(String description) {\n ToDoCommand.description = description;\n }", "public Command (String description, TaskList tasks) {\n this.description = description;\n this.tasks = tasks;\n this.isExit = false;\n }", "public Task() { }", "public Task() {\n }", "public Task(String description, String logo) {\n this.description = description;\n this.isDone = false;\n this.logo = logo;\n }", "private int createTask() {\n Calendar cal = Calendar.getInstance();\n String taskName = \"Task-\" + cal.getTimeInMillis();\n\n return TaskServiceClient.createTask(\n projObjKey, // projObjKey-新建立工作項目所在的專案key值\n parentObjKey, // parentObjKey-新建立工作項目所屬的子專案/專案key值\n \"工作敘述永不變\", // taskDesc-工作Memo區,\n 100, // taskOwnerKey-工作項目負責人, 填入使用者Key值 ,\n 0, // udaSet-在何組工作之下\n 0, // sdaSet-套用哪一組預設欄位,填0即可\n \"\", // sda0-系統預設欄位\n \"\", // sda1-系統預設欄位\n \"\", // sda2-系統預設欄位\n \"\", // sda3-系統預設欄位\n \"\", // sda4-系統預設欄位\n \"\", // sda5-系統預設欄位\n \"\", // sda6-系統預設欄位\n \"\", // sda7-系統預設欄位\n \"\", // sda8-系統預設欄位\n taskName, // sda9-系統預設欄位\n \"\", // sda10-系統預設欄位\n \"\", // sda11-系統預設欄位\n \"\", // sda12-系統預設欄位\n \"\", // sda13-系統預設欄位\n \"\", // sda14-系統預設欄位\n \"\", // sda15-系統預設欄位\n \"\", // sda16-系統預設欄位\n \"\", // sda17-系統預設欄位\n \"\", // sda18-系統預設欄位\n \"\", // sda19-系統預設欄位\n \"\", // uda0-自定欄位\n \"\", // uda1-自定欄位\n \"\", // uda2-自定欄位\n \"\", // uda3-自定欄位\n \"\", // uda4-自定欄位\n \"\", // uda5-自定欄位\n \"\", // uda6-自定欄位\n \"\", // uda7-自定欄位\n \"\", // uda8-自定欄位\n \"\", // uda9-自定欄位\n \"\", // uda10-自定欄位\n \"\", // uda11-自定欄位\n \"\", // uda12-自定欄位\n \"\", // uda13-自定欄位\n \"\", // uda14-自定欄位\n \"\", // uda15-自定欄位\n \"\", // uda16-自定欄位\n \"\", // uda17-自定欄位\n \"\", // uda18-自定欄位\n \"\", // uda19-自定欄位\n \"\", // uda60-自定欄位\n \"\", // uda61-自定欄位\n \"\", // uda62-自定欄位\n \"\", // uda63-自定欄位\n \"\", // uda64-自定欄位\n \"\", // uda65-自定欄位\n \"\", // uda66-自定欄位\n \"\", // uda67-自定欄位\n \"\", // uda68-自定欄位\n \"\", // uda69-自定欄位\n \"\", // uda70-自定欄位\n \"\", // uda71-自定欄位\n \"\", // uda72-自定欄位\n \"\", // uda73-自定欄位\n \"\", // uda74-自定欄位\n \"\", // uda75-自定欄位\n \"\", // uda76-自定欄位\n \"\", // uda77-自定欄位\n \"\", // uda78-自定欄位\n \"\", // uda79-自定欄位\n \"\", // accessList-存取成員,(userID,userID,userID)\n \"\", // userGroupAccessList-存取群組, (群組ID,群組ID)\n \"\", // subTeamAccessList-存取子團隊,(subTeamObjKey,subTeamObjKey)\n \"N\", // isMilestoneFlag-里程碑 (Y/N)\n 999999, // seqNO-序列編號\n \"admin\" // userID-建立者ID\n );\n }", "public Task(){\n super();\n }", "private Tasks createDeadlineTask(Tasks task, String descriptionOfTask, ArrayList<String> timeArray) {\n if (timeArray.size() == 1) {\n String endDate = timeArray.get(0);\n task = createDeadlineTaskForInputWithoutTime(task, descriptionOfTask, endDate);\n } else {\n String endDate = timeArray.get(0);\n String endTime = timeArray.get(1);\n task = createDeadlineTaskForInputWithTime(task, descriptionOfTask, endDate, endTime);\n }\n return task;\n }", "public Tasks(int id,String des, String type) {\n this.id = id;\n this.des = des;\n this.type = type;\n isChecked = false;\n }", "public Test() {\n super(0, \"A task\");\n this.answersArray = new String[]{\"a\", \"b\", \"c\"};\n }", "public Task(String title, int time)\n {\n try\n {\n check(time);\n\n setTitle(title);\n setTime(time);\n setActive(false);\n }\n catch (IllegalArgumentException e)\n {\n System.out.println(\"Incorrect data for a one-time tasks\");\n throw e;\n }\n }", "public RawTask(long taskId, boolean isCompleted, String title, String description, Integer priority, Long createdBy, Long deadlineMS, Long dateCreatedMS, Long masterTaskId, long[] assignedEmployees, long[] boards) {\n this.taskId = taskId;\n this.isCompleted = isCompleted;\n this.title = title;\n this.description = description;\n this.priority = priority;\n this.createdBy = createdBy;\n this.deadlineMS = deadlineMS;\n this.dateCreatedMS = dateCreatedMS;\n this.masterTaskId = masterTaskId;\n this.assignedEmployees = assignedEmployees;\n this.boards = boards;\n }", "public abstract AbstractTask createTask(String repositoryUrl, String id, String summary);", "public Task(String taskName, String dueDate)\r\n {\r\n this.dueDate=dueDate;\r\n this.taskName=taskName;\r\n }", "public Solution() {\n this(DSL.name(\"solution\"), null);\n }", "public ToDos(String description) {\r\n super(description);\r\n }", "public NodeConstraints createNodeConstraintsObject() {\n NodeConstraints c = new NodeConstraints(getClass().getCanonicalName(), getReturnTypes(), numChildren, NodeConstraints.ERC);\n Object[] args = getConstructorArgs();\n if (args != null) {\n c.setArgs(args);\n }\n return c;\n }", "protected Task(String s) {\n title = s;\n status = \"\\u2717\"; // A cross symbol indicating the task has not been done.\n }", "Task createTask();", "Task createTask();", "Task createTask();", "public CustomEntitiesTaskParameters() {}", "public ConstraintDefinition() {\n\t\tthis(\"\");\n\t}", "public ServiceTask() {\n\t}", "Task(String description, boolean isDone) throws DateTimeException {\n this.description = description;\n this.isDone = isDone;\n }", "public JobDescription(SoftwareDescription softwareDescription) {\n this.softwareDescription = softwareDescription;\n }", "public ToDos(String description) {\n super(description);\n this.type = 'T';\n }", "public LinearConstraint() {\n\n }", "public AddTasks() {\n }", "public Task(int taskNumber){\n instructionList = new ArrayList<>();\n this.taskNumber = taskNumber;\n this.resourceHoldings = new int [ResourceManager.numResources];\n this.claimsArr = new int [ResourceManager.numResources];\n }", "private TaskItem()\n {\n }", "public ToDoCommand(String desc) {\n this.desc = desc;\n }", "public Task(){}", "private Tasks createDurationTask(Tasks task, String descriptionOfTask, ArrayList<String> timeArray) {\n if (timeArray.size() == 3) {\n String date = timeArray.get(0);\n String startTime = timeArray.get(1);\n String endTime = timeArray.get(2);\n task = createDurationTaskForSameDayEvent(task, descriptionOfTask, date, startTime, endTime);\n } else {\n String startDate = timeArray.get(0);\n String startTime = timeArray.get(1);\n String endDate = timeArray.get(2);\n String endTime = timeArray.get(3);\n task = createDurationTaskForFullInputCommand(task, descriptionOfTask, startDate, startTime, endDate, endTime);\n }\n return task;\n }", "public Task(String name) {\n\t\tthis.name=name;\n\t}", "public Task(String original, @Nullable String other, int author, int review) {\n Preconditions.checkNotNull(original);\n this.original = original;\n this.other = other;\n this.author = author;\n this.review = review;\n numberOfWordsOriginal = Utils.getNumberOfWords(original);\n }", "public TaskItem(String title, String description, String date_string, boolean completion_status)\n {\n\n // PREVENT TASKITEM CREATION IF ILLEGAL TITLE\n if(title.length() < 1)\n {\n throw new IllegalArgumentException(\"Error - Title can not be blank\");\n } // END if\n\n /**************************************************/\n\n // COULD THROW 'DateTimeParseException'\n LocalDate local_date_ref = LocalDate.parse(date_string);\n\n this.task_title = title;\n this.task_description = description;\n this.task_due_date = local_date_ref;\n this.task_completion_boolean = completion_status;\n\n }", "public XmlAdaptedTask() {\n\t}", "public TaskList() {\n }", "Task(String name) {\n this.name = name;\n }", "@Override\n\tpublic Task constructInstance(Robot robot) {\n\t\treturn null;\n\t}", "public Task(String task, Date dueDate) {\n this.task = task;\n this.dueDate = dueDate;\n }", "private static Task convertITaskToTask(ITask iTask) {\r\n Task task = new Task();\r\n task.setId(iTask.getId());\r\n task.setCaseId(iTask.getCase().getId());\r\n task.setDescription(iTask.getDescription());\r\n task.setCaseDescription(iTask.getCase().getDescription());\r\n task.setCreatedOn(iTask.getStartTimestamp());\r\n task.setState(iTask.getState().toString());\r\n task.setActivator(iTask.getActivator());\r\n task.setIvyTask(iTask);\r\n return task;\r\n }", "public task ()\n\t{\n\tthis.msg = msg;\n\tthis.level = level;\n\n\tif (level == 1)\n\tpriority = \"Critical\";\n\tif (level == 2)\n\tpriority = \"Very Important\";\n\tif (level == 3)\n\tpriority = \"Normal\";\n\tif (level == 4)\n\tpriority = \"Low\";\n\tif (level == 5)\n\tpriority = \"Not Important\";\n\t}", "public Parser(TaskList tasks) {\n this.tasks = tasks;\n }", "public Task(DateTime deadline, String name, int priority) {\r\n\t\tthis.deadline = deadline;\r\n\t\tthis.name = name;\r\n\t\tthis.priority = priority;\r\n\t\tstart = new DateTime();\r\n\t}" ]
[ "0.64618975", "0.6351871", "0.6336825", "0.6256047", "0.61321765", "0.6130792", "0.6108128", "0.6108128", "0.6096157", "0.606032", "0.606032", "0.60415936", "0.6019519", "0.59862447", "0.5980774", "0.5975465", "0.5940193", "0.5844073", "0.581022", "0.57905513", "0.575757", "0.57171077", "0.5710065", "0.5673996", "0.5653611", "0.56517446", "0.5649758", "0.5629396", "0.55702734", "0.5547363", "0.55420405", "0.55394095", "0.55319744", "0.55116326", "0.54958105", "0.5494382", "0.54663545", "0.54663324", "0.5453383", "0.543346", "0.54259956", "0.5418948", "0.5400902", "0.5382178", "0.5373163", "0.5370007", "0.5369753", "0.53605896", "0.5354181", "0.5354181", "0.5354181", "0.5323753", "0.5307689", "0.52935183", "0.52899486", "0.52814347", "0.52556443", "0.52517456", "0.5246223", "0.5237919", "0.52232695", "0.52206254", "0.52136844", "0.52019984", "0.5186527", "0.51827836", "0.5159277", "0.5158758", "0.5158037", "0.51568305", "0.51418483", "0.5133461", "0.5127109", "0.5127109", "0.5127109", "0.51270217", "0.5115107", "0.5103613", "0.5099864", "0.5081556", "0.50805104", "0.5067927", "0.50667524", "0.5058102", "0.50568414", "0.5051061", "0.5049424", "0.50430727", "0.50378805", "0.50221765", "0.5017674", "0.5015855", "0.50115716", "0.50084376", "0.4996698", "0.49947733", "0.49795172", "0.49748933", "0.4965137", "0.49562496" ]
0.5583223
28
This constructor is for management console and VCell API only.
public SolverTaskDescription(CommentStringTokenizer tokenizer) throws DataAccessException { super(); addPropertyChangeListener(this); readVCML(tokenizer); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Terminal() {\n initComponents();\n }", "public CommandMAN() {\n super();\n }", "private AlgorithmRegistryCLI() {\n super();\n }", "private Command() {\n initFields();\n }", "private CommandLine() {\n\t}", "public CPRCommand()\r\n {\r\n }", "public ModifyVirtualMachine(){\r\n\t\t super(COMMAND);\r\n\t}", "protected VboUtil() {\n }", "public CLI()\r\n\t{\r\n\t\t//lvl = new Level();\r\n\t\tthis.inputCommand = \"\";\r\n\t\t//this.exitStr = exitStr;\r\n\t\tin = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\r\n\t}", "public DriveSubsystem() {\n }", "public PnuematicSubsystem() {\n\n }", "public ConsoleController() {\n\t\tcommandDispatch = new CommandDispatch();\n\t}", "public VITACareer()\r\n {\r\n }", "public VMProcess() \n\t{\n\t\tsuper();\n\t}", "private AbstractTerminal()\n\t{\n\t\tio = new SwingTextTerminal();\n\t}", "public Shell() {\n commandNumber = 0;\n prevPID = -1;\n command = \"\";\n }", "public VMProcess() {\n\t\tsuper();\n\t}", "public RemoteControl() {\n onCommands = new ArrayList<Command>(7); // concrete command.Command registers itself with the invoker\n offCommands = new ArrayList<Command>(7);\n\n Command noCommand = new NoCommand(); //Good programming practice to create dummy objects like this\n for (int i = 0;i < 7;i++) {\n onCommands.add(noCommand);\n }\n\n //Initialize the off command objects\n for (int i = 0;i < 7;i++) {\n offCommands.add(noCommand);\n }\n\n undoCommand = noCommand;\n }", "public Command() {\n }", "Constructor() {\r\n\t\t \r\n\t }", "PSConsoleCommand(String cmdArgs)\n {\n super();\n m_cmdArgs = cmdArgs;\n }", "public Console() {\n initComponents();\n }", "protected IPCGCallDetailCreator()\r\n {\r\n // empty\r\n }", "private Shell() { }", "public AbstractCommand()\n {\n this.logger = new ConsoleLogger();\n }", "public Command() {\r\n\t\t// If default, use a local one.\r\n\t\tmYCommandRegistry = LocalCommandRegistry.getGlobalRegistryStatic();\r\n\t}", "private CommandBrocker() {}", "private InfoCommand()\n\t{\n\t\t\n\t\t\n\t}", "public VMWareDriver() {\n }", "public LSystemBuilderImpl() {\n\t\tthis.commands = new Dictionary();\n\t\tthis.productions = new Dictionary();\n\t\tunitLength = 0.1;\n\t\tunitLengthDegreeScaler = 1;\n\t\torigin = new Vector2D(0, 0);\n\t\tangle = 0;\n\t\taxiom = \"\";\n\t}", "public SystemCommandRequest()\r\n\t{\r\n\t}", "public MyEnvironment() {\n\t\t\t\tscan = new Scanner(System.in);\n\t\t\t\tscanClosed = false;\n\t\t\t\tmultilineSymbol = '|';\n\t\t\t\tpromptSymbol = '>';\n\t\t\t\tmorelinesSymbol = '\\\\';\n\t\t\t\tcommands = new TreeMap<>();\n\t\t\t\tcommands.put(\"cat\", new CatShellCommand());\n\t\t\t\tcommands.put(\"charsets\", new CharsetsShellCommand());\n\t\t\t\tcommands.put(\"copy\", new CopyShellCommand());\n\t\t\t\tcommands.put(\"exit\", new ExitShellCommand());\n\t\t\t\tcommands.put(\"hexdump\", new HexdumpShellCommand());\n\t\t\t\tcommands.put(\"ls\", new LsShellCommand());\n\t\t\t\tcommands.put(\"mkdir\", new MkdirShellCommand());\n\t\t\t\tcommands.put(\"tree\", new TreeShellCommand());\n\t\t\t\tcommands.put(\"symbol\", new SymbolShellCommand());\n\t\t\t\tcommands.put(\"help\", new HelpShellCommand());\n\t\t\t\tcommands.put(\"cd\", new CdShellCommand());\n\t\t\t\tcommands.put(\"pwd\", new PwdShellCommand());\n\t\t\t\tcommands.put(\"dropd\", new DropdShellCommand());\n\t\t\t\tcommands.put(\"pushd\", new PushdShellCommand());\n\t\t\t\tcommands.put(\"listd\", new ListdShellCommand());\n\t\t\t\tcommands.put(\"popd\", new PopdShellCommand());\n\t\t\t\tcommands.put(\"massrename\", new MassrenameShellCommand());\n\t\t\t\tcurrentDirectory = Paths.get(\".\");\n\t\t\t\tsharedData = new HashMap<>();\n\t\t\t}", "public Avontool() {\n initComponents();\n }", "public DriveSystem() {\n \t\n \tsuper(\"DriveSystem\", 0.5, 0.3, 1.0);//Must be first line of constructor!\n \tultraRangeFinder.setAutomaticMode(true);\n \tultraRangeFinder.setEnabled(true);\n \tultraRangeFinderBack.setAutomaticMode(true);\n \tultraRangeFinderBack.setEnabled(true);\n //double kp = 0.0001;\n \t//double ki = 0.001;\n \t//double kd = 0.01;\n \t//getPIDController().setPID(kp,ki,kd);//Set the PID controller gains.\n this.setInputRange(-180.0, 180.0);//Sets the MIN and MAX values expected from the input and setPoint!\n this.setOutputRange(-1.0, 1.0);//Sets the the MIN and MAX values to write to output\n //this.setAbsoluteTolerance(5.0);//Set the absolute error which is considered tolerable for use with OnTarget()\n //this.setPercentTolerance(10);//Set the percentage error which is considered tolerable for use with OnTarget()\n //this.setSetpoint(45);//Set the where to go to, clears GetAvgError()\n getPIDController().setContinuous(true);//True=input is continuous, calculates shortest route to setPoint()\n //this.enable();//Begin running the PID Controller.\n \n LiveWindow.addActuator(\"DriveSystem\", \"PID DriveSystem\", getPIDController());\n \n // getPIDController().startLiveWindowMode();//Start having this object automatically respond to value changes.\n }", "public DiskPoolVolume() {\n }", "private Main() {\n\n super();\n }", "public CLI(String inputCommand)\r\n\t{\r\n\t\t//lvl = new Level();\r\n\t\tthis.inputCommand = inputCommand;\r\n\t\tin = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\r\n\t}", "public DeviceDataRequestCommand()\n {\n }", "public VCRStateAdapter() {}", "protected Commands (MyStringBuilder obj) {\n\t\t_objMyStringBuilder = obj;\n\t\t_size = obj.size();\n\t\t\n\t\t\n}", "public VMKernel()\n {\n super();\n }", "public BatchControl() {\n super();\n }", "public void instantiateCommand() throws SystemException {\r\n\t\t// Check the definitation.\r\n\t\tdefinitionCheck();\r\n\t\t\r\n\t\t// Create the fresh instance.\r\n\t\tcommandInstance = new ReadWriteableAttributes();\r\n\t}", "private TerminalProperties() {\n this(new TerminalPropertiesBuilder());\n }", "public CMD(String mFilename)\n {\n //Set the line index to -1, if the file cannot be opened\n this.LineIndex = -1;\n this.FileLines = new LinkedList<>();\n this.Filename = mFilename;\n }", "public CommandLineBuilder()\n {\n m_commandLine = new String[0];\n }", "public GetMotorPositionCommand ()\r\n {\r\n }", "public VisionSubsystem() {\n\n }", "public Os() {\n osBO = new OsBO();\n }", "@Model\r\n\tpublic Vector() {\r\n\t\tthis(50,50);\r\n\t}", "public Vector() {\n construct();\n }", "public Vin() {\n super(\"Vin\");\n\n }", "public BasicDriveTeleOp() {\n\n }", "protected void initialize() { \n param1 = SmartDashboard.getNumber(\"param1\");\n param2 = SmartDashboard.getNumber(\"param2\");\n param3 = SmartDashboard.getNumber(\"param3\");\n param4 = SmartDashboard.getNumber(\"param4\");\n command = new C_DriveBasedOnEncoderWithTwist(param1, param2, param3);\n }", "public LVInfo() {\r\n }", "public Cli() {\r\n\t\tthis.retValue = 0;\r\n\t}", "private HYCOM() {\n }", "public VMKernel() {\n }", "public Vaccine() {\n\t}", "public Console() {\n instance = this;\n\n this.setPrefViewportHeight(300);\n lb = new Label();\n lb.setWrapText(true);\n instance.setContent(lb);\n\n }", "public EmoticonBO()\n {}", "private CLUtil()\n {\n }", "public Main() {\n\t\tsuper();\n\t}", "protected VmCommand(Guid commandId) {\n super(commandId);\n }", "public DriveSubsystem() {\n leftFrontMotor = new TalonSRX(RobotMap.leftFrontMotor);\n rightFrontMotor = new TalonSRX(RobotMap.rightFrontMotor);\n leftBackMotor = new TalonSRX(RobotMap.leftBackMotor);\n rightBackMotor = new TalonSRX(RobotMap.rightBackMotor);\n // rightMotor.setInverted(true); \n direction = 0.75;\n SmartDashboard.putString(\"Direction\", \"Shooter side\");\n }", "public RobotInfo() {\n }", "public LineStroker() {\n }", "public ScreenMonitor(){\n this(Configuration.SCREEN_MONITOR_UPDATE_DELAY,\n\t \t\tConfiguration.SCREEN_MONITOR_LOGS_SIZE, \n\t \t\tConfiguration.SCREEN_MONITOR_LINE_SEPERATOR,\n\t \t\tConfiguration.SCREEN_MONITOR_DATA_MEMORY,\n\t \t\tConfiguration.SCREEN_MONITOR_DATA_POWER);\n }", "public HangerSubsystem() {\n // WRITE CODE BETWEEN THESE LINES -------------------------------------------------------- //\n // TODO: configure and initialize motor (if necessary)\n\n // TODO: configure and initialize sensor (if necessary)\n\n // ^^-----------------------------------------------------------------------------------^^ //\n }", "private ConsoleUtils(String name) {\n instance = this;\n fConsole = new IOConsole(\"Mobius\" + name + \" Console\", EImages.TOOL.getDescriptor());\n fConsole.activate();\n ConsolePlugin.getDefault().getConsoleManager().addConsoles(new IConsole[]{fConsole});\n final Display display = PlatformUI.getWorkbench().getDisplay();\n fRed = new Color(display, RED);\n fBlue = new Color(display, BLUE);\n fPurple = new Color(display, PURPLE);\n fBlack = new Color(display, BLACK);\n }", "public CommandDetail() {\n this.commandType = CommandType.UNKNOWN;\n commandData = new HashMap<String, Object>();\n }", "public GetPriceCmd() {\n\n\t}", "public device() {\n\t\tsuper();\n\t}", "public Verif() {\n\t\tenv = new Environ();\n\t}", "public BoxEnterprise() {\n super();\n }", "public AbstractTtcsCommandController() {\n\t}", "public ListCommand() {\n super();\n }", "public VerInfoSerieAdmin() {\r\n initComponents();\r\n }", "public Cli (BufferedReader in,PrintWriter out , Controller thecontroller) {\r\n\t\tsuper(thecontroller);\r\n\t\tthis.in=in;\r\n\t\tthis.out=out;\r\n\t\tthis.commandsSet= controller.getCommandSet();\r\n\t}", "public CommandManager() {}", "public TacChrtypmstVOImpl() {\n }", "public TerminalScanReceiver() {\n\t super(StorageLevel.MEMORY_ONLY());\n\t }", "private UI()\n {\n this(null, null);\n }", "protected ClientStatus() {\n }", "public SmartRobot(char name, Grid grid, int row, int col, int energyUnits) {\n\t\tsuper(name,grid,row,col,energyUnits);\n\t}", "public ItemCommand() {\n }", "private Supervisor() {\r\n\t}", "public Launcher() {\n //instantiate motors and djustment value using robot map constants\n m_masterMotor = new TalonSRX(RobotMap.MASTER_LAUNCHER_ID);\n m_closeSlaveMotor = new VictorSPX(RobotMap.CLOSE_LAUNCHER_SLAVE_ID);\n m_farSlaveMotor1 = new VictorSPX(RobotMap.FAR_LAUNCHER_SLAVE1_ID);\n m_farSlaveMotor2 = new VictorSPX(RobotMap.FAR_LAUNCHER_SLAVE2_ID);\n\n //Sets the far motors to be inverted so that they don't work against the close ones\n m_farSlaveMotor1.setInverted(RobotMap.LAUNCHER_FAR_SLAVE1_INVERTED);\n m_farSlaveMotor2.setInverted(RobotMap.LAUNCHER_FAR_SLAVE2_INVERTED);\n\n //Instantiates the encoder as the encoder plugged into the master\n m_encoder = new SensorCollection(m_masterMotor);\n\n //run the config methods to set up velocity control\n configVelocityControl();\n }", "public Communicator() {\n\t}", "public Main() {\r\n\t\tsuper();\r\n\t\tinitialize();\r\n\r\n\t}", "public SupportSystem()\n {\n reader = new InputReader();\n responder = new Responder();\n }", "public MSCCommander(String CLIServer, String CLIUser, String LocalUser) {\n\n hostname = CLIServer;\n username = CLIUser;\n localUsername = LocalUser;\n execMode = remoteMode;\n rexec = new Rsh(hostname,username,localUsername,null,false);\n }", "protected IBDS()\r\n {\r\n \tthis.modifyBuffer = new StringBuffer(300); // all update operations belong to this only\r\n this.nodeList = new ArrayList<int []>(50);\r\n this.lastUpdated = System.nanoTime();\r\n //this.objectArray = new ArrayList();\r\n }", "public IRSensorSubsystem() {\n\n }", "public Overview() {\n\t\t// It will work whenever i create object with using no parameter const\n\t\tSystem.out.println(\"This is constructor\");\n\t}", "private ExampleSubsystem()\n {\n\n }", "public Excellon ()\n {}", "public RLDiskDrive() {\n }", "public InternalInformationPortController() {\r\n\t\t\r\n\t}", "public CommandsFactoryImpl() {\r\n\t\tsuper();\r\n\t}", "public VectorGridSlice() {\n\n }" ]
[ "0.65201724", "0.64820355", "0.6402914", "0.63563824", "0.63323736", "0.6266192", "0.62426454", "0.6222651", "0.6200581", "0.6196131", "0.6183623", "0.61534595", "0.61128503", "0.61074215", "0.60866106", "0.6083902", "0.605235", "0.60341537", "0.6021935", "0.6019851", "0.6017086", "0.6011325", "0.5990852", "0.59861964", "0.59725803", "0.5970177", "0.5961782", "0.5950525", "0.5947482", "0.59443706", "0.5935331", "0.5934583", "0.58979255", "0.5891588", "0.5880813", "0.5879629", "0.5868485", "0.5856538", "0.58551186", "0.5849439", "0.5837367", "0.5833777", "0.58336294", "0.5831471", "0.5824946", "0.5821608", "0.5821482", "0.5820147", "0.5817677", "0.5808616", "0.58079654", "0.57995397", "0.5798187", "0.57896364", "0.5787001", "0.5775775", "0.57730573", "0.57729894", "0.57694113", "0.57657933", "0.57577527", "0.57544684", "0.57489294", "0.5746446", "0.57426035", "0.5730289", "0.57278", "0.57251656", "0.5717656", "0.5717588", "0.57129246", "0.57049674", "0.5698326", "0.5696326", "0.56914586", "0.5688117", "0.56876945", "0.56869406", "0.5681751", "0.56803817", "0.56746197", "0.5673448", "0.5670793", "0.56690705", "0.56680626", "0.56635815", "0.5663171", "0.565398", "0.5649933", "0.5648103", "0.5645975", "0.5642882", "0.5638219", "0.5636371", "0.56339544", "0.5633114", "0.56289357", "0.5626253", "0.56229", "0.56167746", "0.5616484" ]
0.0
-1
One of three ways to construct a SolverTaskDescription. This constructor is used when creating a new SolverTaskDescription.
public SolverTaskDescription(Simulation simulation) { super(); addPropertyChangeListener(this); setSimulation(simulation); resetSolverTaskDescriptionIfNecessary(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public SolverTaskDescription(Simulation simulation, SolverTaskDescription solverTaskDescription) {\n\t\tsuper();\n\t\taddPropertyChangeListener(this);\n\n\t\tsetSimulation(simulation);\n\t\t//\n\t\tfieldTaskType = solverTaskDescription.getTaskType();\n\t\tfieldTimeBounds = new TimeBounds(solverTaskDescription.getTimeBounds());\n\t\tfieldTimeStep = new TimeStep(solverTaskDescription.getTimeStep());\n\t\tfieldErrorTolerance = new ErrorTolerance(solverTaskDescription.getErrorTolerance());\n\t\ttry {\n\t\t\tfieldOutputTimeSpec = (OutputTimeSpec)BeanUtils.cloneSerializable(solverTaskDescription.getOutputTimeSpec());\n\t\t}catch (Exception e){\n\t\t\tthrow new RuntimeException(e.getMessage(), e);\n\t\t}\n\t\tfieldSensitivityParameter = solverTaskDescription.getSensitivityParameter();\n\t\tfieldSolverDescription = solverTaskDescription.getSolverDescription();\n\t\tfieldUseSymbolicJacobian = solverTaskDescription.getUseSymbolicJacobian();\n\t\tif (solverTaskDescription.stopAtSpatiallyUniformErrorTolerance != null) {\n\t\t\tstopAtSpatiallyUniformErrorTolerance = new ErrorTolerance(solverTaskDescription.stopAtSpatiallyUniformErrorTolerance);\n\t\t}\n\t\tbSerialParameterScan = solverTaskDescription.bSerialParameterScan;\n\t\tbTimeoutDisabled = solverTaskDescription.bTimeoutDisabled;\n\t\tbBorderExtrapolationDisabled = solverTaskDescription.bBorderExtrapolationDisabled;\n\n\t\tif (simulation.getMathDescription().isNonSpatialStoch() && (solverTaskDescription.getStochOpt() != null))\n\t\t{\n\t\t\tsetStochOpt(solverTaskDescription.getStochOpt());\n\t\t}\n\t\telse {\n\t\t\tsetStochOpt(null);\n\t\t}\n\t\tif (simulation.getMathDescription().isNonSpatialStoch() && \n\t\t\t(!solverTaskDescription.getSolverDescription().isGibsonSolver()) &&\n\t\t\t(solverTaskDescription.getStochHybridOpt() != null))\n\t\t{\n\t\t\tsetStochHybridOpt(solverTaskDescription.getStochHybridOpt());\n\t\t}\n\t\telse {\n\t\t\tsetStochHybridOpt(null);\n\t\t}\n\t\tif (simulation.getMathDescription().isSpatialStoch() || simulation.getMathDescription().isSpatialHybrid()) {\n\t\t\tsmoldynSimulationOptions = new SmoldynSimulationOptions(solverTaskDescription.smoldynSimulationOptions);\n\t\t} else {\n\t\t\tsmoldynSimulationOptions = null;\n\t\t}\n\t\tif (simulation.getMathDescription().isRuleBased()) {\n\t\t\tif(solverTaskDescription.nfsimSimulationOptions != null) {\n\t\t\t\tnfsimSimulationOptions = new NFsimSimulationOptions(solverTaskDescription.nfsimSimulationOptions);\n\t\t\t} else {\n\t\t\t\tnfsimSimulationOptions = new NFsimSimulationOptions();\n\t\t\t}\n\t\t} else {\n\t\t\tnfsimSimulationOptions = null;\n\t\t}\n\t\tif (simulation.getMathDescription().isLangevin()) {\n\t\t\tif(solverTaskDescription.langevinSimulationOptions != null) {\n\t\t\t\tlangevinSimulationOptions = new LangevinSimulationOptions(solverTaskDescription.langevinSimulationOptions);\n\t\t\t} else {\n\t\t\t\tlangevinSimulationOptions = new LangevinSimulationOptions();\n\t\t\t}\n\t\t} else {\n\t\t\tlangevinSimulationOptions = null;\n\t\t}\n\t\tif (fieldSolverDescription.equals(SolverDescription.SundialsPDE)) {\n\t\t\tsundialsPdeSolverOptions = new SundialsPdeSolverOptions(solverTaskDescription.sundialsPdeSolverOptions);\n\t\t} else {\n\t\t\tsundialsPdeSolverOptions = null;\n\t\t}\n\t\tif (solverTaskDescription.chomboSolverSpec != null) {\n\t\t\tchomboSolverSpec = new ChomboSolverSpec(solverTaskDescription.chomboSolverSpec);\n\t\t} else {\n\t\t\tchomboSolverSpec = null;\n\t\t}\n\t\tif (solverTaskDescription.movingBoundarySolverOptions != null)\n\t\t{\n\t\t\tmovingBoundarySolverOptions = new MovingBoundarySolverOptions(solverTaskDescription.movingBoundarySolverOptions);\n\t\t}\n\t\telse\n\t\t{\n\t\t\tmovingBoundarySolverOptions = null;\n\t\t}\n\t\tnumProcessors = solverTaskDescription.numProcessors;\n\t}", "public Task(String taskDescription) {\n this.taskDescription = taskDescription;\n this.isDone = false;\n this.completed = \"0\";\n }", "public Task(String description) {\n this.description = description;\n this.isDone = false;\n this.taskType = \"\";\n }", "public Task(String creator) {\r\n \t\tthis(creator, \"Untitled\", \"\", true, false);\r\n \t}", "protected Task(String description) {\n this.description = description;\n this.isComplete = false;\n this.tags = new ArrayList<>();\n }", "public Task(String description){\n this.description = description;\n this.isDone = false;\n }", "public Task(String description){\n this.description = description;\n this.isDone = false;\n }", "public Task(String description) {\n this.description = description;\n this.isDone = false;\n this.tag = \"\";\n }", "public Task(String taskDescription) {\n this.taskDescription = taskDescription;\n this.isDone = false;\n }", "public Task(String description) {\n this.description = description;\n this.isDone = false;\n }", "public Task(String description) {\n this.description = description;\n this.isDone = false;\n }", "public Task(String description) {\n this.description = description;\n this.isDone = false;\n this.logo = \"N\";\n }", "public Task(String creator, String name, String description,\r\n \t\t\tboolean requiresText, boolean requiresPhoto) {\r\n \r\n\t\t_creationDate = new SimpleDateFormat(\"MMM dd, yyyy | HH:mm\").format(Calendar\r\n \t\t\t\t.getInstance().getTime());\r\n\t\t\r\n\t\t// Store date as hex string with hex prefix.\r\n\t\t_dateHex = \"0x\" + Long.toHexString(Calendar.getInstance().getTimeInMillis());\r\n \r\n \t\t_creator = creator;\r\n \t\t_name = name;\r\n \t\t_requiresText = requiresText;\r\n \t\t_requiresPhoto = requiresPhoto;\r\n \t\t_fulfilled = false;\r\n \r\n \t\t_photos = new ArrayList<PhotoRequirement>();\r\n \t}", "public Task(String description) {\n\n this.description = description;\n this.isDone = false;\n taskCounter++;\n }", "public Task(String description) {\n this.description = description.trim();\n this.isDone = false;\n }", "public Task(String original, @Nullable String other) {\n this(original, other, -1, -1);\n \n }", "public Task(String description) {\n this.description = description;\n this.isDone = false;\n this.tag = \"\";\n this.isTagged = false;\n }", "public TaskDefinition() {\n\t\tthis.started = Boolean.FALSE; // default\n\t\tthis.startTime = new Date(); // makes it easier during task creation\n\t\t// as we have a default date populated\n\t\tthis.properties = new HashMap<>();\n\t}", "public Task(String original) {\n this(original, null);\n }", "private Tasks createKeywordTask(Tasks task, String descriptionOfTask, ArrayList<String> timeArray) {\n timeArray.set(0, timeArray.get(0).toLowerCase());\n ArrayList<String> formattedTimeArray = new ArrayList<String>();\n createFormattedTimeArray(timeArray, formattedTimeArray);\n assert(formattedTimeArray.size() < 5);\n if (formattedTimeArray.size() == 2) { //deadline task\n createFormattedTimeArray(timeArray, formattedTimeArray);\n task = createDeadlineTask(task, descriptionOfTask, formattedTimeArray);\n } else if (formattedTimeArray.size() == 4) { //duration task\n createFormattedTimeArray(timeArray, formattedTimeArray);\n task = createDurationTask(task, descriptionOfTask, formattedTimeArray);\n }\n return task;\n }", "private Task makeTask(String taskType, Optional<String> taskDescription, \r\n Optional<LocalDateTime> taskDeadline, \r\n Optional<LocalDateTime> taskStartDateTime,\r\n Optional<LocalDateTime> taskEndDateTime) {\r\n \r\n Task task;\r\n \r\n if (taskDescription.get().isBlank()) {\r\n throw new InvalidTaskArgumentException(\r\n MESSAGE_ADD_COMMAND_INVALID_TASK_DESCRIPTION);\r\n }\r\n \r\n switch(taskType) {\r\n case \"todo\": \r\n task = new ToDos(TaskList.taskIdCounter, taskDescription.get());\r\n break;\r\n case \"deadline\":\r\n if (taskDeadline.isEmpty()) {\r\n throw new InvalidTaskArgumentException(\r\n MESSAGE_ADD_COMMAND_INVALID_TASK_REQUIREMENT_DEADLINES);\r\n }\r\n \r\n task = new Deadlines(TaskList.taskIdCounter, taskDescription.get(), \r\n taskDeadline.get()); \r\n break;\r\n case \"event\":\r\n if (taskStartDateTime.isEmpty() || taskEndDateTime.isEmpty()) {\r\n throw new InvalidTaskArgumentException(\r\n MESSAGE_ADD_COMMAND_INVALID_TASK_REQUIREMENT_EVENTS);\r\n }\r\n task = new Events(TaskList.taskIdCounter, taskDescription.get(), \r\n taskStartDateTime.get(), taskEndDateTime.get());\r\n break;\r\n default:\r\n throw new InvalidTaskArgumentException(MESSAGE_INVALID_TASK_TYPE);\r\n }\r\n return task;\r\n }", "public Task(Task source) {\n if (source.Application != null) {\n this.Application = new Application(source.Application);\n }\n if (source.TaskName != null) {\n this.TaskName = new String(source.TaskName);\n }\n if (source.TaskInstanceNum != null) {\n this.TaskInstanceNum = new Long(source.TaskInstanceNum);\n }\n if (source.ComputeEnv != null) {\n this.ComputeEnv = new AnonymousComputeEnv(source.ComputeEnv);\n }\n if (source.EnvId != null) {\n this.EnvId = new String(source.EnvId);\n }\n if (source.RedirectInfo != null) {\n this.RedirectInfo = new RedirectInfo(source.RedirectInfo);\n }\n if (source.RedirectLocalInfo != null) {\n this.RedirectLocalInfo = new RedirectLocalInfo(source.RedirectLocalInfo);\n }\n if (source.InputMappings != null) {\n this.InputMappings = new InputMapping[source.InputMappings.length];\n for (int i = 0; i < source.InputMappings.length; i++) {\n this.InputMappings[i] = new InputMapping(source.InputMappings[i]);\n }\n }\n if (source.OutputMappings != null) {\n this.OutputMappings = new OutputMapping[source.OutputMappings.length];\n for (int i = 0; i < source.OutputMappings.length; i++) {\n this.OutputMappings[i] = new OutputMapping(source.OutputMappings[i]);\n }\n }\n if (source.OutputMappingConfigs != null) {\n this.OutputMappingConfigs = new OutputMappingConfig[source.OutputMappingConfigs.length];\n for (int i = 0; i < source.OutputMappingConfigs.length; i++) {\n this.OutputMappingConfigs[i] = new OutputMappingConfig(source.OutputMappingConfigs[i]);\n }\n }\n if (source.EnvVars != null) {\n this.EnvVars = new EnvVar[source.EnvVars.length];\n for (int i = 0; i < source.EnvVars.length; i++) {\n this.EnvVars[i] = new EnvVar(source.EnvVars[i]);\n }\n }\n if (source.Authentications != null) {\n this.Authentications = new Authentication[source.Authentications.length];\n for (int i = 0; i < source.Authentications.length; i++) {\n this.Authentications[i] = new Authentication(source.Authentications[i]);\n }\n }\n if (source.FailedAction != null) {\n this.FailedAction = new String(source.FailedAction);\n }\n if (source.MaxRetryCount != null) {\n this.MaxRetryCount = new Long(source.MaxRetryCount);\n }\n if (source.Timeout != null) {\n this.Timeout = new Long(source.Timeout);\n }\n if (source.MaxConcurrentNum != null) {\n this.MaxConcurrentNum = new Long(source.MaxConcurrentNum);\n }\n if (source.RestartComputeNode != null) {\n this.RestartComputeNode = new Boolean(source.RestartComputeNode);\n }\n if (source.ResourceMaxRetryCount != null) {\n this.ResourceMaxRetryCount = new Long(source.ResourceMaxRetryCount);\n }\n }", "public ToDoTask(String description, int id) {\n super(description, id);\n }", "public Task() {\n\t}", "public Task(String name) {\r\n this(name, false);\r\n }", "public Task(Task task) {\n id = task.id;\n taskType = task.taskType;\n title = task.title;\n period = task.period;\n deadline = task.deadline;\n wcet = task.wcet;\n //execTime = task.execTime;\n priority = task.priority;\n initialOffset = task.initialOffset;\n nextReleaseTime = task.nextReleaseTime;\n isSporadicTask = task.isSporadicTask;\n }", "public Task (String name, Priority priority, String description, Status status)\n\t{\n\t\tif (name.trim().length() > 0)\n\t\t{\n\t\t\tthis.name = name;\n\t\t}\n\t\tif (description.length() <= 255 && description.length() > 0)\n\t\t{\n\t\t\tthis.setDescription(description);\n\t\t}\n\t\telse\n\t\t{\n\t\t\tthis.description = \"No description added !!!!!\";\n\t\t}\n\t\tthis.priority = priority;\n\t\tthis.status = status;\n\t}", "public Task(String id, String nameandpoints, String desc) {\n this.id = id;\n this.assignedMembers = new ArrayList<>();\n this.requiredSkills = new ArrayList<>();\n nameandpoints.trim();\n if (nameandpoints.startsWith(\"(\")) {\n try {\n this.name = nameandpoints.substring(4);\n String temp = nameandpoints.substring(1, 2);\n this.storyPoints = Integer.parseInt(temp);\n } catch (Exception e) {\n System.out.println(e.getMessage());\n this.name = nameandpoints;\n this.storyPoints = 0;\n }\n } else {\n this.name = nameandpoints;\n }\n\n if (!desc.isEmpty()) {\n if (desc.contains(\"Required Skills\")) {\n try {\n String skills = desc.substring(desc.lastIndexOf(\":\") + 1);\n addRequiredSkill(skills);\n System.out.println(requiredSkills);\n this.description = desc.substring(0, desc.indexOf(\"Required\"));\n } catch (Exception e) {\n Log.e(\"Task Creation\", \"Not expected format for desc in Task: \" + name);\n }\n } else this.description = desc;\n }\n\n }", "public SchematicBuildTask(Schematic schematic, Location location) {\n super(schematicToTaskList(schematic, location));\n }", "public Todo(String task) {\n super(task);\n }", "public SolverTaskDescription(Simulation simulation, CommentStringTokenizer tokenizer) throws DataAccessException {\n\t\tsuper();\n\t\taddPropertyChangeListener(this);\n\t\tsetSimulation(simulation);\n\t\treadVCML(tokenizer);\n\t\tresetSolverTaskDescriptionIfNecessary();\n\t}", "public Task(Task T){\n\n\t\tcmd = T.cmd;\n\t\ttasknum = T.tasknum;\n\t\tterminated = T.terminated;\n\t\tcycle_term = T.cycle_term;\n\t\taborted = T.aborted;\n\t\twaiting = T.waiting;\n\t\ttime_wait = T.time_wait;\n\t\trunning = T.running;\n\n\t\tfor (int i = 0; i < T.actions.size(); i++){\n\n\t\t\tactions.add(T.actions.get(i));\n\t\t\tres_needed.add(T.res_needed.get(i));\n\t\t\treq_num.add(T.req_num.get(i));\n\t\t}\n\n\t\tfor(int i = 0; i < T.claims.size(); i++){\n\n\t\t\tclaims.add(T.claims.get(i));\n\t\t\tallocation.add(T.allocation.get(i));\n\t\t}\n\n\t}", "public AddCommand(String taskType, Optional<String> taskDescription) { \r\n this.taskType = taskType;\r\n this.taskDescription = taskDescription;\r\n this.taskDeadline = Optional.empty();\r\n this.taskStartDateTime = Optional.empty();\r\n this.taskEndDateTime = Optional.empty();\r\n this.task = makeTask(taskType, taskDescription, taskDeadline, \r\n taskStartDateTime, taskEndDateTime); \r\n }", "public Task(String description, boolean done) {\r\n this.description = description;\r\n this.isDone = done;\r\n }", "public Task(String description, Boolean isCompleted, ArrayList<String> tags) {\n this.description = description;\n this.completionStatus = isCompleted;\n this.tags = tags;\n }", "public Task(boolean isDone, String description) {\n this.description = description;\n this.isDone = isDone;\n }", "public Task() {\r\n }", "public StudentTask() {\n\t\tthis(\"student_task\", null);\n\t}", "private Tasks createNoKeywordTask(Tasks task, String descriptionOfTask, ArrayList<String> timeArray,\n int numberOfArguments) {\n if (numberOfArguments == 1 || numberOfArguments == 2) { //deadline tasks\n task = createDeadlineTask(task, descriptionOfTask, timeArray);\n } else { //duration tasks\n task = createDurationTask(task, descriptionOfTask, timeArray);\n }\n return task;\n }", "public ConvertTextUnitsTask() {\n \n super();\n \n Label = LABEL;\n TaskParameterClassName = TASK_PARAMETER_CLASS_NAME;\n TaskResultClassName = TASK_RESULT_CLASS_NAME;\n ControlPanelClassName = CONTROL_PANEL_CLASS_NAME;\n ProjectPropertyData = PROJECT_PROPERTY_DATA;\n \n }", "public Tasks() {\n }", "public Task(String description, boolean isDone, String tag) {\n this.description = description;\n this.isDone = isDone;\n this.tag = tag;\n }", "public Test() {\n super(0, \"A task\");\n this.answersArray = new String[]{\"a\", \"b\", \"c\"};\n }", "public Task(TaskName taskName, Body body, DateTime startDateTime, DateTime endDateTime,\n Priority priority, Set<Tag> tags) {\n requireAllNonNull(taskName, body, startDateTime, endDateTime, priority, tags);\n this.taskName = taskName;\n this.body = body;\n this.startDateTime = startDateTime;\n this.endDateTime = endDateTime;\n this.priority = priority;\n this.tags.addAll(tags);\n }", "public ToDo(String description) {\n super(description);\n }", "public Task() { }", "public Task() {\n }", "public AddCommand(String taskType, Optional<String> taskDescription, \r\n Optional<LocalDateTime> taskStartDateTime,\r\n Optional<LocalDateTime> taskEndDateTime) {\r\n \r\n this.taskType = taskType;\r\n this.taskDescription = taskDescription;\r\n this.taskDeadline = Optional.empty();\r\n this.taskStartDateTime = taskStartDateTime;\r\n this.taskEndDateTime = taskEndDateTime;\r\n this.task = makeTask(taskType, taskDescription, taskDeadline, \r\n taskStartDateTime, taskEndDateTime); \r\n }", "public SolverTaskDescription(CommentStringTokenizer tokenizer) throws DataAccessException {\n\t\tsuper();\n\t\taddPropertyChangeListener(this);\n\t\treadVCML(tokenizer);\n\t}", "public Task(Task task) {\r\n\t\tthis.id = task.id;\r\n\t\tthis.description = task.description;\r\n\t\tthis.processor = task.processor;\r\n\t\tthis.status = task.status;\r\n\r\n\t\tthis.dueDate = new GregorianCalendar(task.dueDate.get(GregorianCalendar.YEAR), \r\n\t\t\t\ttask.dueDate.get(GregorianCalendar.MONTH), \r\n\t\t\t\ttask.dueDate.get(GregorianCalendar.DAY_OF_MONTH));\r\n\r\n\t\tSimpleDateFormat sdf = new SimpleDateFormat(\"dd.MM.yyyy\");\r\n\t\tthis.formatedDueDate = sdf.format(dueDate.getTime());\r\n\t\tthis.next = task.next;\r\n\t}", "public Task createTask(long userId, String description, String groupId, String dueTimeStr, int priority, String labels, \n\t\t\tString parentId, long owner);", "public Task(){\n super();\n }", "public Command (String description, TaskList tasks) {\n this.description = description;\n this.tasks = tasks;\n this.isExit = false;\n }", "Task createTask();", "Task createTask();", "Task createTask();", "private int createTask() {\n Calendar cal = Calendar.getInstance();\n String taskName = \"Task-\" + cal.getTimeInMillis();\n\n return TaskServiceClient.createTask(\n projObjKey, // projObjKey-新建立工作項目所在的專案key值\n parentObjKey, // parentObjKey-新建立工作項目所屬的子專案/專案key值\n \"工作敘述永不變\", // taskDesc-工作Memo區,\n 100, // taskOwnerKey-工作項目負責人, 填入使用者Key值 ,\n 0, // udaSet-在何組工作之下\n 0, // sdaSet-套用哪一組預設欄位,填0即可\n \"\", // sda0-系統預設欄位\n \"\", // sda1-系統預設欄位\n \"\", // sda2-系統預設欄位\n \"\", // sda3-系統預設欄位\n \"\", // sda4-系統預設欄位\n \"\", // sda5-系統預設欄位\n \"\", // sda6-系統預設欄位\n \"\", // sda7-系統預設欄位\n \"\", // sda8-系統預設欄位\n taskName, // sda9-系統預設欄位\n \"\", // sda10-系統預設欄位\n \"\", // sda11-系統預設欄位\n \"\", // sda12-系統預設欄位\n \"\", // sda13-系統預設欄位\n \"\", // sda14-系統預設欄位\n \"\", // sda15-系統預設欄位\n \"\", // sda16-系統預設欄位\n \"\", // sda17-系統預設欄位\n \"\", // sda18-系統預設欄位\n \"\", // sda19-系統預設欄位\n \"\", // uda0-自定欄位\n \"\", // uda1-自定欄位\n \"\", // uda2-自定欄位\n \"\", // uda3-自定欄位\n \"\", // uda4-自定欄位\n \"\", // uda5-自定欄位\n \"\", // uda6-自定欄位\n \"\", // uda7-自定欄位\n \"\", // uda8-自定欄位\n \"\", // uda9-自定欄位\n \"\", // uda10-自定欄位\n \"\", // uda11-自定欄位\n \"\", // uda12-自定欄位\n \"\", // uda13-自定欄位\n \"\", // uda14-自定欄位\n \"\", // uda15-自定欄位\n \"\", // uda16-自定欄位\n \"\", // uda17-自定欄位\n \"\", // uda18-自定欄位\n \"\", // uda19-自定欄位\n \"\", // uda60-自定欄位\n \"\", // uda61-自定欄位\n \"\", // uda62-自定欄位\n \"\", // uda63-自定欄位\n \"\", // uda64-自定欄位\n \"\", // uda65-自定欄位\n \"\", // uda66-自定欄位\n \"\", // uda67-自定欄位\n \"\", // uda68-自定欄位\n \"\", // uda69-自定欄位\n \"\", // uda70-自定欄位\n \"\", // uda71-自定欄位\n \"\", // uda72-自定欄位\n \"\", // uda73-自定欄位\n \"\", // uda74-自定欄位\n \"\", // uda75-自定欄位\n \"\", // uda76-自定欄位\n \"\", // uda77-自定欄位\n \"\", // uda78-自定欄位\n \"\", // uda79-自定欄位\n \"\", // accessList-存取成員,(userID,userID,userID)\n \"\", // userGroupAccessList-存取群組, (群組ID,群組ID)\n \"\", // subTeamAccessList-存取子團隊,(subTeamObjKey,subTeamObjKey)\n \"N\", // isMilestoneFlag-里程碑 (Y/N)\n 999999, // seqNO-序列編號\n \"admin\" // userID-建立者ID\n );\n }", "public NodeConstraints createNodeConstraintsObject() {\n NodeConstraints c = new NodeConstraints(getClass().getCanonicalName(), getReturnTypes(), numChildren, NodeConstraints.ERC);\n Object[] args = getConstructorArgs();\n if (args != null) {\n c.setArgs(args);\n }\n return c;\n }", "public AddCommand(String taskType, Optional<String> taskDescription, \r\n Optional<LocalDateTime> taskDeadline) {\r\n \r\n this.taskType = taskType;\r\n this.taskDescription = taskDescription;\r\n this.taskDeadline = taskDeadline;\r\n this.taskStartDateTime = Optional.empty();\r\n this.taskEndDateTime = Optional.empty();\r\n this.task = makeTask(taskType, taskDescription, taskDeadline, \r\n taskStartDateTime, taskEndDateTime); \r\n }", "public Task(String description, LocalDate date) {\n this.description = description;\n isDone = false;\n this.date = date;\n }", "public Solution() {\n this(DSL.name(\"solution\"), null);\n }", "public task ()\n\t{\n\tthis.msg = msg;\n\tthis.level = level;\n\n\tif (level == 1)\n\tpriority = \"Critical\";\n\tif (level == 2)\n\tpriority = \"Very Important\";\n\tif (level == 3)\n\tpriority = \"Normal\";\n\tif (level == 4)\n\tpriority = \"Low\";\n\tif (level == 5)\n\tpriority = \"Not Important\";\n\t}", "Task(String name) {\n this.name = name;\n }", "public Todo(String description) {\n super(description);\n }", "public Todo(String description) {\n super(description);\n }", "public Todo(String description) {\n super(description);\n }", "public Task createTask(final String description) {\n final Task t = new Task(taskid, description, this);\n taskid++;\n tasks.put(t.getId(), t);\n\n return t;\n }", "public Task(String taskName, String dueDate)\r\n {\r\n this.dueDate=dueDate;\r\n this.taskName=taskName;\r\n }", "public Task(String name) {\n\t\tthis.name=name;\n\t}", "@Override\n\tpublic Task constructInstance(Robot robot) {\n\t\treturn null;\n\t}", "public Task(String description, String logo) {\n this.description = description;\n this.isDone = false;\n this.logo = logo;\n }", "public ToDoCommand(String description) {\n ToDoCommand.description = description;\n }", "private Tasks createDeadlineTask(Tasks task, String descriptionOfTask, ArrayList<String> timeArray) {\n if (timeArray.size() == 1) {\n String endDate = timeArray.get(0);\n task = createDeadlineTaskForInputWithoutTime(task, descriptionOfTask, endDate);\n } else {\n String endDate = timeArray.get(0);\n String endTime = timeArray.get(1);\n task = createDeadlineTaskForInputWithTime(task, descriptionOfTask, endDate, endTime);\n }\n return task;\n }", "public Task(){}", "private TaskItem()\n {\n }", "public ServiceTask() {\n\t}", "protected Task(String s) {\n title = s;\n status = \"\\u2717\"; // A cross symbol indicating the task has not been done.\n }", "public XmlAdaptedTask() {\n\t}", "public Task(String title, int time)\n {\n try\n {\n check(time);\n\n setTitle(title);\n setTime(time);\n setActive(false);\n }\n catch (IllegalArgumentException e)\n {\n System.out.println(\"Incorrect data for a one-time tasks\");\n throw e;\n }\n }", "public abstract AbstractTask createTask(String repositoryUrl, String id, String summary);", "Task(String description, boolean isDone) throws DateTimeException {\n this.description = description;\n this.isDone = isDone;\n }", "public Task(int taskNumber){\n instructionList = new ArrayList<>();\n this.taskNumber = taskNumber;\n this.resourceHoldings = new int [ResourceManager.numResources];\n this.claimsArr = new int [ResourceManager.numResources];\n }", "public ConstraintDefinition() {\n\t\tthis(\"\");\n\t}", "public Tasks(int id,String des, String type) {\n this.id = id;\n this.des = des;\n this.type = type;\n isChecked = false;\n }", "public Task(String msg) {\n this.msg = msg;\n completed = false;\n }", "public Task(String original, @Nullable String other, int author, int review) {\n Preconditions.checkNotNull(original);\n this.original = original;\n this.other = other;\n this.author = author;\n this.review = review;\n numberOfWordsOriginal = Utils.getNumberOfWords(original);\n }", "public LinearConstraint() {\n\n }", "public AddTasks() {\n }", "private Tasks createDurationTask(Tasks task, String descriptionOfTask, ArrayList<String> timeArray) {\n if (timeArray.size() == 3) {\n String date = timeArray.get(0);\n String startTime = timeArray.get(1);\n String endTime = timeArray.get(2);\n task = createDurationTaskForSameDayEvent(task, descriptionOfTask, date, startTime, endTime);\n } else {\n String startDate = timeArray.get(0);\n String startTime = timeArray.get(1);\n String endDate = timeArray.get(2);\n String endTime = timeArray.get(3);\n task = createDurationTaskForFullInputCommand(task, descriptionOfTask, startDate, startTime, endDate, endTime);\n }\n return task;\n }", "public Parser(TaskList tasks) {\n this.tasks = tasks;\n }", "Task(String n, int s, int c, boolean f,\n\t\t String m, int w)\n\t\t{\n\t\t\tmaster = m;\n\t\t\tweight = w;\n\n\t\t\tname = n;\n\t\t\ts_reqt = s;\n\t\t\tcmb_rec = c;\n\t\t\tfblock = f;\n\t\t}", "public RawTask(long taskId, boolean isCompleted, String title, String description, Integer priority, Long createdBy, Long deadlineMS, Long dateCreatedMS, Long masterTaskId, long[] assignedEmployees, long[] boards) {\n this.taskId = taskId;\n this.isCompleted = isCompleted;\n this.title = title;\n this.description = description;\n this.priority = priority;\n this.createdBy = createdBy;\n this.deadlineMS = deadlineMS;\n this.dateCreatedMS = dateCreatedMS;\n this.masterTaskId = masterTaskId;\n this.assignedEmployees = assignedEmployees;\n this.boards = boards;\n }", "private TaskProtocol(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public ToDos(String description) {\r\n super(description);\r\n }", "public AddCommand(Task task){\r\n this.task = task;\r\n }", "public Task makeTask() {\n Task new_task = new Task();\n new_task.setAction(this);\n new_task.setDeadline(\n new Date(System.currentTimeMillis() + deadlineSeconds() * 1000L));\n\n return new_task;\n }", "public Task(String taskName, int startHour, int startMinute, int finishHour, int finishMinute) {\n this.taskName = taskName;\n this.startHour = startHour;\n this.startMinute = startMinute;\n this.finishHour = finishHour;\n this.finishMinute = finishMinute;\n }", "public ToDoCommand(String desc) {\n this.desc = desc;\n }", "public Task(String task, Date dueDate) {\n this.task = task;\n this.dueDate = dueDate;\n }", "public ToDos(String description) {\n super(description);\n this.type = 'T';\n }" ]
[ "0.6721609", "0.6300999", "0.62969685", "0.62457293", "0.61325836", "0.61182743", "0.61182743", "0.6100135", "0.60855687", "0.6050905", "0.6050905", "0.6016534", "0.5985468", "0.5940974", "0.5935758", "0.59355927", "0.593007", "0.59287935", "0.58530635", "0.58419085", "0.5819395", "0.57969785", "0.5779195", "0.57396954", "0.57165664", "0.5695352", "0.569014", "0.5649417", "0.56463027", "0.5639798", "0.560591", "0.5602004", "0.55834484", "0.55630654", "0.5562099", "0.5542113", "0.552357", "0.54953957", "0.549248", "0.54845464", "0.5466034", "0.5465986", "0.54644793", "0.5460156", "0.54088974", "0.5406846", "0.5390942", "0.5388791", "0.5375605", "0.53672624", "0.5355198", "0.53543884", "0.53486174", "0.5335265", "0.5335265", "0.5335265", "0.53299946", "0.5329805", "0.5326021", "0.53189164", "0.5308487", "0.52953166", "0.5291819", "0.5285381", "0.5285381", "0.5285381", "0.5266665", "0.52628845", "0.52569443", "0.5255702", "0.5251816", "0.5246666", "0.52153546", "0.52026033", "0.51960874", "0.519569", "0.51914716", "0.51880825", "0.5186621", "0.51680934", "0.5160944", "0.51406646", "0.5140274", "0.5139047", "0.5137963", "0.51361555", "0.51349175", "0.51348245", "0.5121454", "0.512051", "0.51080245", "0.51062363", "0.5097029", "0.50955", "0.50873995", "0.5084837", "0.5079906", "0.5074851", "0.50579107", "0.5046454" ]
0.62604654
3
One of three ways to construct a SolverTaskDescription. This constructor is used when copying a SolverTaskDescription from an existing one.
public SolverTaskDescription(Simulation simulation, SolverTaskDescription solverTaskDescription) { super(); addPropertyChangeListener(this); setSimulation(simulation); // fieldTaskType = solverTaskDescription.getTaskType(); fieldTimeBounds = new TimeBounds(solverTaskDescription.getTimeBounds()); fieldTimeStep = new TimeStep(solverTaskDescription.getTimeStep()); fieldErrorTolerance = new ErrorTolerance(solverTaskDescription.getErrorTolerance()); try { fieldOutputTimeSpec = (OutputTimeSpec)BeanUtils.cloneSerializable(solverTaskDescription.getOutputTimeSpec()); }catch (Exception e){ throw new RuntimeException(e.getMessage(), e); } fieldSensitivityParameter = solverTaskDescription.getSensitivityParameter(); fieldSolverDescription = solverTaskDescription.getSolverDescription(); fieldUseSymbolicJacobian = solverTaskDescription.getUseSymbolicJacobian(); if (solverTaskDescription.stopAtSpatiallyUniformErrorTolerance != null) { stopAtSpatiallyUniformErrorTolerance = new ErrorTolerance(solverTaskDescription.stopAtSpatiallyUniformErrorTolerance); } bSerialParameterScan = solverTaskDescription.bSerialParameterScan; bTimeoutDisabled = solverTaskDescription.bTimeoutDisabled; bBorderExtrapolationDisabled = solverTaskDescription.bBorderExtrapolationDisabled; if (simulation.getMathDescription().isNonSpatialStoch() && (solverTaskDescription.getStochOpt() != null)) { setStochOpt(solverTaskDescription.getStochOpt()); } else { setStochOpt(null); } if (simulation.getMathDescription().isNonSpatialStoch() && (!solverTaskDescription.getSolverDescription().isGibsonSolver()) && (solverTaskDescription.getStochHybridOpt() != null)) { setStochHybridOpt(solverTaskDescription.getStochHybridOpt()); } else { setStochHybridOpt(null); } if (simulation.getMathDescription().isSpatialStoch() || simulation.getMathDescription().isSpatialHybrid()) { smoldynSimulationOptions = new SmoldynSimulationOptions(solverTaskDescription.smoldynSimulationOptions); } else { smoldynSimulationOptions = null; } if (simulation.getMathDescription().isRuleBased()) { if(solverTaskDescription.nfsimSimulationOptions != null) { nfsimSimulationOptions = new NFsimSimulationOptions(solverTaskDescription.nfsimSimulationOptions); } else { nfsimSimulationOptions = new NFsimSimulationOptions(); } } else { nfsimSimulationOptions = null; } if (simulation.getMathDescription().isLangevin()) { if(solverTaskDescription.langevinSimulationOptions != null) { langevinSimulationOptions = new LangevinSimulationOptions(solverTaskDescription.langevinSimulationOptions); } else { langevinSimulationOptions = new LangevinSimulationOptions(); } } else { langevinSimulationOptions = null; } if (fieldSolverDescription.equals(SolverDescription.SundialsPDE)) { sundialsPdeSolverOptions = new SundialsPdeSolverOptions(solverTaskDescription.sundialsPdeSolverOptions); } else { sundialsPdeSolverOptions = null; } if (solverTaskDescription.chomboSolverSpec != null) { chomboSolverSpec = new ChomboSolverSpec(solverTaskDescription.chomboSolverSpec); } else { chomboSolverSpec = null; } if (solverTaskDescription.movingBoundarySolverOptions != null) { movingBoundarySolverOptions = new MovingBoundarySolverOptions(solverTaskDescription.movingBoundarySolverOptions); } else { movingBoundarySolverOptions = null; } numProcessors = solverTaskDescription.numProcessors; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Task(String description) {\n this.description = description;\n this.isDone = false;\n this.taskType = \"\";\n }", "public Task(String taskDescription) {\n this.taskDescription = taskDescription;\n this.isDone = false;\n this.completed = \"0\";\n }", "public Task(String original, @Nullable String other) {\n this(original, other, -1, -1);\n \n }", "protected Task(String description) {\n this.description = description;\n this.isComplete = false;\n this.tags = new ArrayList<>();\n }", "public Task(String taskDescription) {\n this.taskDescription = taskDescription;\n this.isDone = false;\n }", "public Task(String description) {\n this.description = description;\n this.isDone = false;\n this.tag = \"\";\n }", "public SolverTaskDescription(Simulation simulation) {\n\t\tsuper();\n\t\taddPropertyChangeListener(this);\n\t\tsetSimulation(simulation);\n\t\tresetSolverTaskDescriptionIfNecessary();\n\t}", "public Task(String description){\n this.description = description;\n this.isDone = false;\n }", "public Task(String description){\n this.description = description;\n this.isDone = false;\n }", "public Task(String description) {\n this.description = description;\n this.isDone = false;\n }", "public Task(String description) {\n this.description = description;\n this.isDone = false;\n }", "public Task(String creator) {\r\n \t\tthis(creator, \"Untitled\", \"\", true, false);\r\n \t}", "public Task(String original) {\n this(original, null);\n }", "public Task(String description) {\n this.description = description.trim();\n this.isDone = false;\n }", "public Task(String description) {\n this.description = description;\n this.isDone = false;\n this.tag = \"\";\n this.isTagged = false;\n }", "public Task(String description) {\n\n this.description = description;\n this.isDone = false;\n taskCounter++;\n }", "public Task(String description) {\n this.description = description;\n this.isDone = false;\n this.logo = \"N\";\n }", "public ToDoTask(String description, int id) {\n super(description, id);\n }", "public Task(Task task) {\n id = task.id;\n taskType = task.taskType;\n title = task.title;\n period = task.period;\n deadline = task.deadline;\n wcet = task.wcet;\n //execTime = task.execTime;\n priority = task.priority;\n initialOffset = task.initialOffset;\n nextReleaseTime = task.nextReleaseTime;\n isSporadicTask = task.isSporadicTask;\n }", "public Task(Task source) {\n if (source.Application != null) {\n this.Application = new Application(source.Application);\n }\n if (source.TaskName != null) {\n this.TaskName = new String(source.TaskName);\n }\n if (source.TaskInstanceNum != null) {\n this.TaskInstanceNum = new Long(source.TaskInstanceNum);\n }\n if (source.ComputeEnv != null) {\n this.ComputeEnv = new AnonymousComputeEnv(source.ComputeEnv);\n }\n if (source.EnvId != null) {\n this.EnvId = new String(source.EnvId);\n }\n if (source.RedirectInfo != null) {\n this.RedirectInfo = new RedirectInfo(source.RedirectInfo);\n }\n if (source.RedirectLocalInfo != null) {\n this.RedirectLocalInfo = new RedirectLocalInfo(source.RedirectLocalInfo);\n }\n if (source.InputMappings != null) {\n this.InputMappings = new InputMapping[source.InputMappings.length];\n for (int i = 0; i < source.InputMappings.length; i++) {\n this.InputMappings[i] = new InputMapping(source.InputMappings[i]);\n }\n }\n if (source.OutputMappings != null) {\n this.OutputMappings = new OutputMapping[source.OutputMappings.length];\n for (int i = 0; i < source.OutputMappings.length; i++) {\n this.OutputMappings[i] = new OutputMapping(source.OutputMappings[i]);\n }\n }\n if (source.OutputMappingConfigs != null) {\n this.OutputMappingConfigs = new OutputMappingConfig[source.OutputMappingConfigs.length];\n for (int i = 0; i < source.OutputMappingConfigs.length; i++) {\n this.OutputMappingConfigs[i] = new OutputMappingConfig(source.OutputMappingConfigs[i]);\n }\n }\n if (source.EnvVars != null) {\n this.EnvVars = new EnvVar[source.EnvVars.length];\n for (int i = 0; i < source.EnvVars.length; i++) {\n this.EnvVars[i] = new EnvVar(source.EnvVars[i]);\n }\n }\n if (source.Authentications != null) {\n this.Authentications = new Authentication[source.Authentications.length];\n for (int i = 0; i < source.Authentications.length; i++) {\n this.Authentications[i] = new Authentication(source.Authentications[i]);\n }\n }\n if (source.FailedAction != null) {\n this.FailedAction = new String(source.FailedAction);\n }\n if (source.MaxRetryCount != null) {\n this.MaxRetryCount = new Long(source.MaxRetryCount);\n }\n if (source.Timeout != null) {\n this.Timeout = new Long(source.Timeout);\n }\n if (source.MaxConcurrentNum != null) {\n this.MaxConcurrentNum = new Long(source.MaxConcurrentNum);\n }\n if (source.RestartComputeNode != null) {\n this.RestartComputeNode = new Boolean(source.RestartComputeNode);\n }\n if (source.ResourceMaxRetryCount != null) {\n this.ResourceMaxRetryCount = new Long(source.ResourceMaxRetryCount);\n }\n }", "private Tasks createKeywordTask(Tasks task, String descriptionOfTask, ArrayList<String> timeArray) {\n timeArray.set(0, timeArray.get(0).toLowerCase());\n ArrayList<String> formattedTimeArray = new ArrayList<String>();\n createFormattedTimeArray(timeArray, formattedTimeArray);\n assert(formattedTimeArray.size() < 5);\n if (formattedTimeArray.size() == 2) { //deadline task\n createFormattedTimeArray(timeArray, formattedTimeArray);\n task = createDeadlineTask(task, descriptionOfTask, formattedTimeArray);\n } else if (formattedTimeArray.size() == 4) { //duration task\n createFormattedTimeArray(timeArray, formattedTimeArray);\n task = createDurationTask(task, descriptionOfTask, formattedTimeArray);\n }\n return task;\n }", "private Task makeTask(String taskType, Optional<String> taskDescription, \r\n Optional<LocalDateTime> taskDeadline, \r\n Optional<LocalDateTime> taskStartDateTime,\r\n Optional<LocalDateTime> taskEndDateTime) {\r\n \r\n Task task;\r\n \r\n if (taskDescription.get().isBlank()) {\r\n throw new InvalidTaskArgumentException(\r\n MESSAGE_ADD_COMMAND_INVALID_TASK_DESCRIPTION);\r\n }\r\n \r\n switch(taskType) {\r\n case \"todo\": \r\n task = new ToDos(TaskList.taskIdCounter, taskDescription.get());\r\n break;\r\n case \"deadline\":\r\n if (taskDeadline.isEmpty()) {\r\n throw new InvalidTaskArgumentException(\r\n MESSAGE_ADD_COMMAND_INVALID_TASK_REQUIREMENT_DEADLINES);\r\n }\r\n \r\n task = new Deadlines(TaskList.taskIdCounter, taskDescription.get(), \r\n taskDeadline.get()); \r\n break;\r\n case \"event\":\r\n if (taskStartDateTime.isEmpty() || taskEndDateTime.isEmpty()) {\r\n throw new InvalidTaskArgumentException(\r\n MESSAGE_ADD_COMMAND_INVALID_TASK_REQUIREMENT_EVENTS);\r\n }\r\n task = new Events(TaskList.taskIdCounter, taskDescription.get(), \r\n taskStartDateTime.get(), taskEndDateTime.get());\r\n break;\r\n default:\r\n throw new InvalidTaskArgumentException(MESSAGE_INVALID_TASK_TYPE);\r\n }\r\n return task;\r\n }", "public Task(String creator, String name, String description,\r\n \t\t\tboolean requiresText, boolean requiresPhoto) {\r\n \r\n\t\t_creationDate = new SimpleDateFormat(\"MMM dd, yyyy | HH:mm\").format(Calendar\r\n \t\t\t\t.getInstance().getTime());\r\n\t\t\r\n\t\t// Store date as hex string with hex prefix.\r\n\t\t_dateHex = \"0x\" + Long.toHexString(Calendar.getInstance().getTimeInMillis());\r\n \r\n \t\t_creator = creator;\r\n \t\t_name = name;\r\n \t\t_requiresText = requiresText;\r\n \t\t_requiresPhoto = requiresPhoto;\r\n \t\t_fulfilled = false;\r\n \r\n \t\t_photos = new ArrayList<PhotoRequirement>();\r\n \t}", "public Task(String description, boolean done) {\r\n this.description = description;\r\n this.isDone = done;\r\n }", "public TaskDefinition() {\n\t\tthis.started = Boolean.FALSE; // default\n\t\tthis.startTime = new Date(); // makes it easier during task creation\n\t\t// as we have a default date populated\n\t\tthis.properties = new HashMap<>();\n\t}", "public Todo(String task) {\n super(task);\n }", "public Task(Task T){\n\n\t\tcmd = T.cmd;\n\t\ttasknum = T.tasknum;\n\t\tterminated = T.terminated;\n\t\tcycle_term = T.cycle_term;\n\t\taborted = T.aborted;\n\t\twaiting = T.waiting;\n\t\ttime_wait = T.time_wait;\n\t\trunning = T.running;\n\n\t\tfor (int i = 0; i < T.actions.size(); i++){\n\n\t\t\tactions.add(T.actions.get(i));\n\t\t\tres_needed.add(T.res_needed.get(i));\n\t\t\treq_num.add(T.req_num.get(i));\n\t\t}\n\n\t\tfor(int i = 0; i < T.claims.size(); i++){\n\n\t\t\tclaims.add(T.claims.get(i));\n\t\t\tallocation.add(T.allocation.get(i));\n\t\t}\n\n\t}", "public Task(String name) {\r\n this(name, false);\r\n }", "public Task(boolean isDone, String description) {\n this.description = description;\n this.isDone = isDone;\n }", "public Task (String name, Priority priority, String description, Status status)\n\t{\n\t\tif (name.trim().length() > 0)\n\t\t{\n\t\t\tthis.name = name;\n\t\t}\n\t\tif (description.length() <= 255 && description.length() > 0)\n\t\t{\n\t\t\tthis.setDescription(description);\n\t\t}\n\t\telse\n\t\t{\n\t\t\tthis.description = \"No description added !!!!!\";\n\t\t}\n\t\tthis.priority = priority;\n\t\tthis.status = status;\n\t}", "public Task(String description, boolean isDone, String tag) {\n this.description = description;\n this.isDone = isDone;\n this.tag = tag;\n }", "public Task(String description, Boolean isCompleted, ArrayList<String> tags) {\n this.description = description;\n this.completionStatus = isCompleted;\n this.tags = tags;\n }", "public Task(Task task) {\r\n\t\tthis.id = task.id;\r\n\t\tthis.description = task.description;\r\n\t\tthis.processor = task.processor;\r\n\t\tthis.status = task.status;\r\n\r\n\t\tthis.dueDate = new GregorianCalendar(task.dueDate.get(GregorianCalendar.YEAR), \r\n\t\t\t\ttask.dueDate.get(GregorianCalendar.MONTH), \r\n\t\t\t\ttask.dueDate.get(GregorianCalendar.DAY_OF_MONTH));\r\n\r\n\t\tSimpleDateFormat sdf = new SimpleDateFormat(\"dd.MM.yyyy\");\r\n\t\tthis.formatedDueDate = sdf.format(dueDate.getTime());\r\n\t\tthis.next = task.next;\r\n\t}", "public AddCommand(String taskType, Optional<String> taskDescription) { \r\n this.taskType = taskType;\r\n this.taskDescription = taskDescription;\r\n this.taskDeadline = Optional.empty();\r\n this.taskStartDateTime = Optional.empty();\r\n this.taskEndDateTime = Optional.empty();\r\n this.task = makeTask(taskType, taskDescription, taskDeadline, \r\n taskStartDateTime, taskEndDateTime); \r\n }", "public Task(String id, String nameandpoints, String desc) {\n this.id = id;\n this.assignedMembers = new ArrayList<>();\n this.requiredSkills = new ArrayList<>();\n nameandpoints.trim();\n if (nameandpoints.startsWith(\"(\")) {\n try {\n this.name = nameandpoints.substring(4);\n String temp = nameandpoints.substring(1, 2);\n this.storyPoints = Integer.parseInt(temp);\n } catch (Exception e) {\n System.out.println(e.getMessage());\n this.name = nameandpoints;\n this.storyPoints = 0;\n }\n } else {\n this.name = nameandpoints;\n }\n\n if (!desc.isEmpty()) {\n if (desc.contains(\"Required Skills\")) {\n try {\n String skills = desc.substring(desc.lastIndexOf(\":\") + 1);\n addRequiredSkill(skills);\n System.out.println(requiredSkills);\n this.description = desc.substring(0, desc.indexOf(\"Required\"));\n } catch (Exception e) {\n Log.e(\"Task Creation\", \"Not expected format for desc in Task: \" + name);\n }\n } else this.description = desc;\n }\n\n }", "public SchematicBuildTask(Schematic schematic, Location location) {\n super(schematicToTaskList(schematic, location));\n }", "public Task createTask(final String description) {\n final Task t = new Task(taskid, description, this);\n taskid++;\n tasks.put(t.getId(), t);\n\n return t;\n }", "public ToDo(String description) {\n super(description);\n }", "public Task() {\n\t}", "public Todo(String description) {\n super(description);\n }", "public Todo(String description) {\n super(description);\n }", "public Todo(String description) {\n super(description);\n }", "private Tasks createNoKeywordTask(Tasks task, String descriptionOfTask, ArrayList<String> timeArray,\n int numberOfArguments) {\n if (numberOfArguments == 1 || numberOfArguments == 2) { //deadline tasks\n task = createDeadlineTask(task, descriptionOfTask, timeArray);\n } else { //duration tasks\n task = createDurationTask(task, descriptionOfTask, timeArray);\n }\n return task;\n }", "public SolverTaskDescription(Simulation simulation, CommentStringTokenizer tokenizer) throws DataAccessException {\n\t\tsuper();\n\t\taddPropertyChangeListener(this);\n\t\tsetSimulation(simulation);\n\t\treadVCML(tokenizer);\n\t\tresetSolverTaskDescriptionIfNecessary();\n\t}", "public ToDoCommand(String description) {\n ToDoCommand.description = description;\n }", "public Task(String description, LocalDate date) {\n this.description = description;\n isDone = false;\n this.date = date;\n }", "public Task(TaskName taskName, Body body, DateTime startDateTime, DateTime endDateTime,\n Priority priority, Set<Tag> tags) {\n requireAllNonNull(taskName, body, startDateTime, endDateTime, priority, tags);\n this.taskName = taskName;\n this.body = body;\n this.startDateTime = startDateTime;\n this.endDateTime = endDateTime;\n this.priority = priority;\n this.tags.addAll(tags);\n }", "public Command (String description, TaskList tasks) {\n this.description = description;\n this.tasks = tasks;\n this.isExit = false;\n }", "public AddCommand(String taskType, Optional<String> taskDescription, \r\n Optional<LocalDateTime> taskStartDateTime,\r\n Optional<LocalDateTime> taskEndDateTime) {\r\n \r\n this.taskType = taskType;\r\n this.taskDescription = taskDescription;\r\n this.taskDeadline = Optional.empty();\r\n this.taskStartDateTime = taskStartDateTime;\r\n this.taskEndDateTime = taskEndDateTime;\r\n this.task = makeTask(taskType, taskDescription, taskDeadline, \r\n taskStartDateTime, taskEndDateTime); \r\n }", "private Tasks createDeadlineTask(Tasks task, String descriptionOfTask, ArrayList<String> timeArray) {\n if (timeArray.size() == 1) {\n String endDate = timeArray.get(0);\n task = createDeadlineTaskForInputWithoutTime(task, descriptionOfTask, endDate);\n } else {\n String endDate = timeArray.get(0);\n String endTime = timeArray.get(1);\n task = createDeadlineTaskForInputWithTime(task, descriptionOfTask, endDate, endTime);\n }\n return task;\n }", "public Task(String description, String logo) {\n this.description = description;\n this.isDone = false;\n this.logo = logo;\n }", "public StudentTask() {\n\t\tthis(\"student_task\", null);\n\t}", "public Task() {\r\n }", "public Task(String original, @Nullable String other, int author, int review) {\n Preconditions.checkNotNull(original);\n this.original = original;\n this.other = other;\n this.author = author;\n this.review = review;\n numberOfWordsOriginal = Utils.getNumberOfWords(original);\n }", "public AddCommand(String taskType, Optional<String> taskDescription, \r\n Optional<LocalDateTime> taskDeadline) {\r\n \r\n this.taskType = taskType;\r\n this.taskDescription = taskDescription;\r\n this.taskDeadline = taskDeadline;\r\n this.taskStartDateTime = Optional.empty();\r\n this.taskEndDateTime = Optional.empty();\r\n this.task = makeTask(taskType, taskDescription, taskDeadline, \r\n taskStartDateTime, taskEndDateTime); \r\n }", "public Task createTask(long userId, String description, String groupId, String dueTimeStr, int priority, String labels, \n\t\t\tString parentId, long owner);", "public Tasks() {\n }", "public Task() { }", "@Override\n\tpublic Task constructInstance(Robot robot) {\n\t\treturn null;\n\t}", "@Override\n protected Task updateTaskDescription(String newDescription) {\n Todo newTodo = new Todo(newDescription);\n if (this.getStatus()) {\n newTodo.markAsDone();\n }\n return newTodo;\n\n }", "Task(String description, boolean isDone) throws DateTimeException {\n this.description = description;\n this.isDone = isDone;\n }", "public SolverTaskDescription(CommentStringTokenizer tokenizer) throws DataAccessException {\n\t\tsuper();\n\t\taddPropertyChangeListener(this);\n\t\treadVCML(tokenizer);\n\t}", "public Task() {\n }", "private Tasks createDurationTask(Tasks task, String descriptionOfTask, ArrayList<String> timeArray) {\n if (timeArray.size() == 3) {\n String date = timeArray.get(0);\n String startTime = timeArray.get(1);\n String endTime = timeArray.get(2);\n task = createDurationTaskForSameDayEvent(task, descriptionOfTask, date, startTime, endTime);\n } else {\n String startDate = timeArray.get(0);\n String startTime = timeArray.get(1);\n String endDate = timeArray.get(2);\n String endTime = timeArray.get(3);\n task = createDurationTaskForFullInputCommand(task, descriptionOfTask, startDate, startTime, endDate, endTime);\n }\n return task;\n }", "public Task makeTask() {\n Task new_task = new Task();\n new_task.setAction(this);\n new_task.setDeadline(\n new Date(System.currentTimeMillis() + deadlineSeconds() * 1000L));\n\n return new_task;\n }", "public ConvertTextUnitsTask() {\n \n super();\n \n Label = LABEL;\n TaskParameterClassName = TASK_PARAMETER_CLASS_NAME;\n TaskResultClassName = TASK_RESULT_CLASS_NAME;\n ControlPanelClassName = CONTROL_PANEL_CLASS_NAME;\n ProjectPropertyData = PROJECT_PROPERTY_DATA;\n \n }", "public Task(){\n super();\n }", "protected Task(String s) {\n title = s;\n status = \"\\u2717\"; // A cross symbol indicating the task has not been done.\n }", "public ToDos(String description) {\r\n super(description);\r\n }", "public Task(String title, int time)\n {\n try\n {\n check(time);\n\n setTitle(title);\n setTime(time);\n setActive(false);\n }\n catch (IllegalArgumentException e)\n {\n System.out.println(\"Incorrect data for a one-time tasks\");\n throw e;\n }\n }", "public Task(String taskName, String dueDate)\r\n {\r\n this.dueDate=dueDate;\r\n this.taskName=taskName;\r\n }", "public TaskInstanceView(TaskInstanceView source) {\n if (source.TaskInstanceIndex != null) {\n this.TaskInstanceIndex = new Long(source.TaskInstanceIndex);\n }\n if (source.TaskInstanceState != null) {\n this.TaskInstanceState = new String(source.TaskInstanceState);\n }\n if (source.ExitCode != null) {\n this.ExitCode = new Long(source.ExitCode);\n }\n if (source.StateReason != null) {\n this.StateReason = new String(source.StateReason);\n }\n if (source.ComputeNodeInstanceId != null) {\n this.ComputeNodeInstanceId = new String(source.ComputeNodeInstanceId);\n }\n if (source.CreateTime != null) {\n this.CreateTime = new String(source.CreateTime);\n }\n if (source.LaunchTime != null) {\n this.LaunchTime = new String(source.LaunchTime);\n }\n if (source.RunningTime != null) {\n this.RunningTime = new String(source.RunningTime);\n }\n if (source.EndTime != null) {\n this.EndTime = new String(source.EndTime);\n }\n if (source.RedirectInfo != null) {\n this.RedirectInfo = new RedirectInfo(source.RedirectInfo);\n }\n if (source.StateDetailedReason != null) {\n this.StateDetailedReason = new String(source.StateDetailedReason);\n }\n }", "public Task(String msg) {\n this.msg = msg;\n completed = false;\n }", "Task(String name) {\n this.name = name;\n }", "public ToDoCommand(String desc) {\n this.desc = desc;\n }", "public Solution() {\n this(DSL.name(\"solution\"), null);\n }", "public Test() {\n super(0, \"A task\");\n this.answersArray = new String[]{\"a\", \"b\", \"c\"};\n }", "private static Task convertITaskToTask(ITask iTask) {\r\n Task task = new Task();\r\n task.setId(iTask.getId());\r\n task.setCaseId(iTask.getCase().getId());\r\n task.setDescription(iTask.getDescription());\r\n task.setCaseDescription(iTask.getCase().getDescription());\r\n task.setCreatedOn(iTask.getStartTimestamp());\r\n task.setState(iTask.getState().toString());\r\n task.setActivator(iTask.getActivator());\r\n task.setIvyTask(iTask);\r\n return task;\r\n }", "Task createTask();", "Task createTask();", "Task createTask();", "public NodeConstraints createNodeConstraintsObject() {\n NodeConstraints c = new NodeConstraints(getClass().getCanonicalName(), getReturnTypes(), numChildren, NodeConstraints.ERC);\n Object[] args = getConstructorArgs();\n if (args != null) {\n c.setArgs(args);\n }\n return c;\n }", "private TaskProtocol(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }", "public abstract AbstractTask createTask(String repositoryUrl, String id, String summary);", "public ToDos(String description) {\n super(description);\n this.type = 'T';\n }", "private TaskItem()\n {\n }", "public XmlAdaptedTask() {\n\t}", "public Task(String task, Date dueDate) {\n this.task = task;\n this.dueDate = dueDate;\n }", "private int createTask() {\n Calendar cal = Calendar.getInstance();\n String taskName = \"Task-\" + cal.getTimeInMillis();\n\n return TaskServiceClient.createTask(\n projObjKey, // projObjKey-新建立工作項目所在的專案key值\n parentObjKey, // parentObjKey-新建立工作項目所屬的子專案/專案key值\n \"工作敘述永不變\", // taskDesc-工作Memo區,\n 100, // taskOwnerKey-工作項目負責人, 填入使用者Key值 ,\n 0, // udaSet-在何組工作之下\n 0, // sdaSet-套用哪一組預設欄位,填0即可\n \"\", // sda0-系統預設欄位\n \"\", // sda1-系統預設欄位\n \"\", // sda2-系統預設欄位\n \"\", // sda3-系統預設欄位\n \"\", // sda4-系統預設欄位\n \"\", // sda5-系統預設欄位\n \"\", // sda6-系統預設欄位\n \"\", // sda7-系統預設欄位\n \"\", // sda8-系統預設欄位\n taskName, // sda9-系統預設欄位\n \"\", // sda10-系統預設欄位\n \"\", // sda11-系統預設欄位\n \"\", // sda12-系統預設欄位\n \"\", // sda13-系統預設欄位\n \"\", // sda14-系統預設欄位\n \"\", // sda15-系統預設欄位\n \"\", // sda16-系統預設欄位\n \"\", // sda17-系統預設欄位\n \"\", // sda18-系統預設欄位\n \"\", // sda19-系統預設欄位\n \"\", // uda0-自定欄位\n \"\", // uda1-自定欄位\n \"\", // uda2-自定欄位\n \"\", // uda3-自定欄位\n \"\", // uda4-自定欄位\n \"\", // uda5-自定欄位\n \"\", // uda6-自定欄位\n \"\", // uda7-自定欄位\n \"\", // uda8-自定欄位\n \"\", // uda9-自定欄位\n \"\", // uda10-自定欄位\n \"\", // uda11-自定欄位\n \"\", // uda12-自定欄位\n \"\", // uda13-自定欄位\n \"\", // uda14-自定欄位\n \"\", // uda15-自定欄位\n \"\", // uda16-自定欄位\n \"\", // uda17-自定欄位\n \"\", // uda18-自定欄位\n \"\", // uda19-自定欄位\n \"\", // uda60-自定欄位\n \"\", // uda61-自定欄位\n \"\", // uda62-自定欄位\n \"\", // uda63-自定欄位\n \"\", // uda64-自定欄位\n \"\", // uda65-自定欄位\n \"\", // uda66-自定欄位\n \"\", // uda67-自定欄位\n \"\", // uda68-自定欄位\n \"\", // uda69-自定欄位\n \"\", // uda70-自定欄位\n \"\", // uda71-自定欄位\n \"\", // uda72-自定欄位\n \"\", // uda73-自定欄位\n \"\", // uda74-自定欄位\n \"\", // uda75-自定欄位\n \"\", // uda76-自定欄位\n \"\", // uda77-自定欄位\n \"\", // uda78-自定欄位\n \"\", // uda79-自定欄位\n \"\", // accessList-存取成員,(userID,userID,userID)\n \"\", // userGroupAccessList-存取群組, (群組ID,群組ID)\n \"\", // subTeamAccessList-存取子團隊,(subTeamObjKey,subTeamObjKey)\n \"N\", // isMilestoneFlag-里程碑 (Y/N)\n 999999, // seqNO-序列編號\n \"admin\" // userID-建立者ID\n );\n }", "public Task(String name) {\n\t\tthis.name=name;\n\t}", "public AddCommand(Task task){\r\n this.task = task;\r\n }", "TaskDetail add() {\n taskDetails.put(task, this);\n return this;\n }", "public TaskOrder(TaskOrderDetails details){\n\t\tthis.details = details;\n\t}", "public RawTask(long taskId, boolean isCompleted, String title, String description, Integer priority, Long createdBy, Long deadlineMS, Long dateCreatedMS, Long masterTaskId, long[] assignedEmployees, long[] boards) {\n this.taskId = taskId;\n this.isCompleted = isCompleted;\n this.title = title;\n this.description = description;\n this.priority = priority;\n this.createdBy = createdBy;\n this.deadlineMS = deadlineMS;\n this.dateCreatedMS = dateCreatedMS;\n this.masterTaskId = masterTaskId;\n this.assignedEmployees = assignedEmployees;\n this.boards = boards;\n }", "public ToDo(String description, boolean isDone) {\n super(TaskType.TODO, description, null, isDone);\n }", "public Task(){}", "public Task(String task, boolean isDone) {\n this.task = task;\n this.isDone = isDone;\n }", "public JobDescription(SoftwareDescription softwareDescription) {\n this.softwareDescription = softwareDescription;\n }", "public Solution(Name alias) {\n this(alias, SOLUTION);\n }", "public Task(String taskName, int startHour, int startMinute, int finishHour, int finishMinute) {\n this.taskName = taskName;\n this.startHour = startHour;\n this.startMinute = startMinute;\n this.finishHour = finishHour;\n this.finishMinute = finishMinute;\n }" ]
[ "0.62708545", "0.6267982", "0.61503524", "0.611779", "0.61061513", "0.60917854", "0.607938", "0.6047401", "0.6047401", "0.6041088", "0.6041088", "0.6017624", "0.59871745", "0.59798455", "0.5959402", "0.59383905", "0.59062874", "0.5729517", "0.5721976", "0.56700504", "0.56676227", "0.56555194", "0.5655272", "0.5566694", "0.5534866", "0.5534239", "0.55281746", "0.54973656", "0.54848635", "0.5474839", "0.54340607", "0.54319435", "0.5425064", "0.542136", "0.54103786", "0.5397047", "0.5387204", "0.53664947", "0.53474134", "0.52949303", "0.52949303", "0.52949303", "0.52921593", "0.5272959", "0.52481", "0.52243876", "0.5222229", "0.52041596", "0.5181669", "0.5179882", "0.5176616", "0.51588124", "0.5158323", "0.51542777", "0.5152833", "0.51076174", "0.50936025", "0.50851136", "0.5068474", "0.5061117", "0.5058371", "0.5042761", "0.50418496", "0.5040959", "0.50407326", "0.50365674", "0.50306594", "0.50267947", "0.501447", "0.5009185", "0.50071025", "0.4994733", "0.4994474", "0.49931705", "0.4984909", "0.49845874", "0.49830672", "0.49827063", "0.49813515", "0.49813515", "0.49813515", "0.49789104", "0.4975869", "0.49745554", "0.4950708", "0.49480325", "0.49403763", "0.49352628", "0.49256167", "0.49233937", "0.49190462", "0.4906702", "0.49052605", "0.49015477", "0.4895056", "0.48746932", "0.48721838", "0.48679942", "0.48624608", "0.48604724" ]
0.6576802
0
The addPropertyChangeListener method was generated to support the propertyChange field.
public synchronized void addPropertyChangeListener(java.beans.PropertyChangeListener listener) { getPropertyChange().addPropertyChangeListener(listener); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void addPropertyChangeListener(PropertyChangeListener propertyChangeListener) {\n }", "void addPropertyChangeListener(PropertyChangeListener listener);", "@Override\n public void addPropertyChangeListener(PropertyChangeListener listener) {\n\n }", "public void addPropertyChangeListener(PropertyChangeListener l);", "public abstract void addPropertyChangeListener(PropertyChangeListener listener);", "public void addPropertyChangeListener(PropertyChangeListener listener);", "public void addPropertyChangeListener(PropertyChangeListener listener)\n {\n }", "public abstract void addPropertyChangeListener(IPropertyChangeListener listener);", "default void addPropertyChangeListener(PropertyChangeListener listener)\r\n {\r\n }", "public void addPropertyChangeListener (PropertyChangeListener l)\n { pcs.addPropertyChangeListener (l); }", "public void addPropertyChangeListener(PropertyChangeListener listener) {\n\n\t}", "void addChangeListener(PropertyChangeListener<? super R> listener);", "@Override\n public void addPropertyChangeListener(PropertyChangeListener listener)\n {\n if (changes == null)\n {\n changes = new PropertyChangeSupport(this);\n }\n changes.addPropertyChangeListener(listener);\n }", "public void addPropertyChangeListener(@NotNull PropertyChangeListener listener) {\n }", "public synchronized void addPropertyChangeListener(java.beans.PropertyChangeListener listener) {\r\n\tgetPropertyChange().addPropertyChangeListener(listener);\r\n}", "public void addPropertyChangeListener (PropertyChangeListener l) {\n pcs.addPropertyChangeListener (l);\n }", "public void addListener(PropertyChangeListener listener, String propertyType);", "@Override\n \tpublic void propertyChange(PropertyChangeEvent arg0) {\n \t\t\n \t}", "public void addPropertyChangeListener(PropertyChangeListener pListener) {\n \tmodel.addPropertyChangeListener(pListener);\n }", "@Override\n\tpublic void propertyChange(PropertyChangeEvent arg0) {\n\t\t\n\t}", "void addPropertyListener(PropertyListener listener);", "public void addPropertyChangeListener(PropertyChangeListener listener) {\n \tmPropertyChangeSupport.addPropertyChangeListener(listener);\n }", "@Override\n\tpublic void propertyChange(PropertyChangeEvent arg0)\n\t{\n\t\t\n\t}", "@Override\n public synchronized void addPropertyChangeListener(PropertyChangeListener listener) {\n if (listeners == null) {\n listeners = new PropertyChangeSupport(this);\n }\n listeners.addPropertyChangeListener(listener);\n }", "@Override\r\n\tpublic void propertyChange(PropertyChangeEvent arg0) {\n\t\t\r\n\t}", "@Override\r\n\tpublic void propertyChange(PropertyChangeEvent arg0) {\n\t\t\r\n\t}", "@Override\r\n\tpublic void propertyChange(PropertyChangeEvent arg0) {\n\r\n\t}", "public final void addPropertyChangeListener (PropertyChangeListener pl) {\n if (changeSupport == null)\n changeSupport = new PropertyChangeSupport (this);\n changeSupport.addPropertyChangeListener (pl);\n }", "public void addPropertyChangeListener (\n String propertyName,\n PropertyChangeListener l\n ) {\n pcs.addPropertyChangeListener (propertyName, l);\n }", "public void addPropertyChangeListener(java.beans.PropertyChangeListener l) {\r\n propertyChangeSupport.addPropertyChangeListener(l);\r\n }", "public void addPropertyChangeListener(PropertyChangeListener l) {\n getPropertyChangeSupport().addPropertyChangeListener(l);\n }", "PropertyChangeListener[] getPropertyChangeListeners();", "@Override\n public void addPropertyChangeListener( String propertyName, PropertyChangeListener listener )\n {\n if( componentModel == null )\n return;\n\n if( propertyName==null )\n {\n componentModel.addPropertyChangeListener( listener );\n }\n else\n {\n Property prop = componentModel.findProperty( propertyName );\n if ( prop != null )\n {\n prop.addPropertyChangeListener( listener );\n }\n }\n }", "public void addPropertyChangeListener(java.beans.PropertyChangeListener l) {\n propertyChangeSupport.addPropertyChangeListener( l );\n }", "public void addPropertyChangeListener(java.beans.PropertyChangeListener listener) {\n\tmPcs.addPropertyChangeListener(listener);\n }", "public void addPropertyChangeListener(PropertyChangeListener pcl) {\n\t\tproperties.addListener(pcl);\n\t}", "public void addPropertyChangeListener(java.beans.PropertyChangeListener l) {\n propertyChangeSupport.addPropertyChangeListener(l);\n }", "public void addPropertyChangeListener(java.beans.PropertyChangeListener l) {\n propertyChangeSupport.addPropertyChangeListener(l);\n }", "public void addPropertyChangeListener(java.beans.PropertyChangeListener l) {\n propertyChangeSupport.addPropertyChangeListener(l);\n }", "public void propertyChange(PropertyChangeEvent evt) {\n \r\n }", "@Override\n\tpublic void propertyChange(PropertyChangeEvent evt) {\n\t\t\n\t}", "@Override\n\tpublic void addPropertyChangeListener(PropertyChangeListener l) {\n\t\t//do nothing\n\t}", "public void addPropertyChangeListener(Property property, PropertyChangeListener listener) {\n this.propertyChangeSupport.addPropertyChangeListener(property.name(), listener);\n }", "public void addPropertyChangeListener(PropertyChangeListener listener) {\n\t\tthis.propertyChangeSupport.addPropertyChangeListener(listener);\n\t\tthis.messages.addPropertyChangeListener(listener);\n\t\tthis.endGameReached.addPropertyChangeListener(listener);\n\t}", "public synchronized void addPropertyChangeListener(PropertyChangeListener l) {\n if (propertySupport == null) {\n propertySupport = new PropertyChangeSupport(this);\n }\n\n propertySupport.addPropertyChangeListener(l);\n }", "private static void usePropertyChangeListener() {\n SimpleStringProperty stringProperty = new SimpleStringProperty(\"xyz\");\n // Prints property's value\n System.out.println(stringProperty.getValue());\n // Adds a listener - action that will be run if property's value changes.\n stringProperty.addListener((observable, oldValue, newValue) -> {\n System.out.println(\"New value is set: \" + newValue);\n });\n // Sets new value\n stringProperty.setValue(\"Some new value\");\n }", "public synchronized void addPropertyChangeListener(PropertyChangeListener listener) {\n if (listeners == null) {\n listeners = new java.util.Vector();\n }\n listeners.addElement(listener);\n }", "protected PropertyChangeListener createPropertyChangeListener() {\n return new PropertyChangeHandler(); }", "static public void addPropertyChangeListener(PropertyChangeListener l) {\n if (listenerList.getListenerCount(PropertyChangeListener.class) == 0) {\n accessibilityListener.installListeners();\n }\n listenerList.add(PropertyChangeListener.class, l);\n }", "protected void addListenerForProperty(MapChangeListener<Object, Object> aMapChangeListener, String aProperty) {\n\n // Create a wrapper, which will only trigger the given Listener when the given property has changed.\n MapChangeListener<Object, Object> tmpListenerWrapper = (aChange -> {\n\n // Current document changed?\n if (aChange.getKey().equals(aProperty)) {\n\n aMapChangeListener.onChanged(aChange);\n }\n });\n\n // Add the wrapper listener to our List of added Listeners\n stagePropertiesListenersList.add(tmpListenerWrapper);\n\n // Add it to the stage properties.\n stage.getProperties().addListener(tmpListenerWrapper);\n }", "public synchronized void addPropertyChangeListener(PropertyChangeListener l) {\n addLImpl(null, l);\n }", "public void addPropertyChangeListener(final PropertyChangeListener thePcl) {\n myPcs.addPropertyChangeListener(thePcl);\n }", "public void addPropertyChangeListener(ActionListener<PropertyChangeEvent> l) {\n if (root != null) {\n Property prop = property;\n if (prop == null && tags != null) {\n prop = root.getEntity().findProperty(tags);\n }\n if (prop != null) {\n root.getEntity().addPropertyChangeListener(prop, pcl());\n }\n } else {\n Entity leafEntity = getLeafEntity();\n Property leafProperty = getLeafProperty();\n if (leafEntity != null && leafProperty != null) {\n leafEntity.getEntity().addPropertyChangeListener(leafProperty, pcl());\n }\n parent.addVetoablePropertyChangeListener(vpcl());\n parent.addListChangeListener(listChangeListener());\n }\n if (listeners == null) {\n listeners = new EventDispatcher();\n }\n listeners.addListener(l);\n \n }", "public void addPropertyChangeListener(String propertyName, java.beans.PropertyChangeListener listener) {\n\tmPcs.addPropertyChangeListener(propertyName, listener);\n }", "public void addPropertyChangeListener(PropertyChangeListener listener) {\n listeners.removePropertyChangeListener(listener);\n listeners.addPropertyChangeListener(listener);\n }", "public void addPropertyChangeListener(PropertyChangeListener pcl) {\n\t\tthis.pcs.addPropertyChangeListener(pcl);\n\t}", "@Override\n public void addChangeListener(ChangeListener l) {}", "public PropertyChangeListener[] getPropertyChangeListeners();", "protected void PropertyChanged()\r\n { }", "void addModelEventListener(PropertyChangeListener listener, Object modelelement, String[] propertyNames);", "void addModelEventListener(PropertyChangeListener listener, Object modelelement, String propertyName);", "public abstract void addPropertyChangeListener(PropertyChangeListener listener, String kenaiHostUrl);", "private PropertyChangeListener createListener() {\n return new PropertyChangeListener() {\n @Override\n public void propertyChange(PropertyChangeEvent evt) {\n String propertyName = evt.getPropertyName();\n if (Filter.PROPERTY_PATTERN.equals(propertyName)) {\n DocumentViewPanel.RP.post(new Runnable() {\n @Override\n public void run() {\n refreshKeys();\n }\n });\n }\n }\n };\n }", "void addModelEventListener(PropertyChangeListener listener, Object modelelement);", "@Override\n public void addChangeListener(ChangeListener l) {\n }", "@Override\n public void addChangeListener(ChangeListener l) {\n }", "void onPropertyChange(String name, String newValue);", "public void setPropertyChanged(com.app.tvp.cas.cliente.PropertyChangedEventHandler propertyChanged) {\n this.propertyChanged = propertyChanged;\n }", "void addClassModelEventListener(PropertyChangeListener listener, Object modelClass, String[] propertyNames);", "protected java.beans.PropertyChangeSupport getPropertyChange() {\r\n\tif (propertyChange == null) {\r\n\t\tpropertyChange = new java.beans.PropertyChangeSupport(this);\r\n\t};\r\n\treturn propertyChange;\r\n}", "public interface PropertyChangeListener<T>\n{\n /**\n * Callback function when there is a change in any property that starts with key\n * It's upto the implementation to handle the following different cases 1) key\n * is a simple key and does not have any children. PropertyStore.getProperty(key) must\n * be used to retrieve the value; 2) key is a prefix and has children.\n * PropertyStore.getPropertyNames(key) must be used to retrieve all the children keys.\n * Its important to know that PropertyStore will not be able to provide the\n * delta[old value,new value] or which child was added/deleted. The\n * implementation must take care of the fact that there might be callback for\n * every child thats added/deleted. General way applications handle this is\n * keep a local cache of keys and compare against the latest keys.\n * \n * @param key\n */\n void onPropertyChange(String key);\n}", "public synchronized void addPropertyChangeListener(String propertyName,\n PropertyChangeListener l) {\n addLImpl(propertyName, l);\n }", "private void addListener(String propertyName, PropertyChangeListener pcl) {\r\n pcs.addPropertyChangeListener(propertyName, pcl);\r\n }", "void addChangeListener(ChangeListener cl);", "void addChangeListener(ChangeListener listener);", "public void propertyChange(PropertyChangeEvent evt) {\r\n fireStateChanged();\r\n }", "@Test\n public void testAddPropertyChangeListener() {\n // trivial\n }", "public void setChangeListener();", "public void addPropertyChangeListener(String propertyName,\n\t\t\tPropertyChangeListener listener) {\n\t\tpropertyChangeSupport.addPropertyChangeListener(propertyName, listener);\n\t}", "public void modelPropertyChange(PropertyChangeEvent evt) {\n\t\t\n\t}", "public void addChangeListener(ChangeListener l) {\n }", "public void addChangeListener(ChangeListener l) {\n }", "public void propertyChange(String propertyName, Object oldValue, Object newValue) {\r\n propertyChangeSupport.firePropertyChange(propertyName, oldValue, newValue);\r\n }", "protected java.beans.PropertyChangeSupport getPropertyChange() {\n\t\tif (propertyChange == null) {\n\t\t\tpropertyChange = new java.beans.PropertyChangeSupport(this);\n\t\t};\n\t\treturn propertyChange;\n\t}", "@Override\n public void propertyChange(PropertyChangeEvent e) {\n this.updateCoords();\n }", "public void addListener(PropertyChangeListener pcl) {\n\t\tthis.pcl = pcl;\n\t}", "protected void do_childSupportFTF_propertyChange(PropertyChangeEvent arg0) {\n\t\tsetIncomeTotal();\n\t}", "void onPropertyChange(String key);", "public synchronized void addPropertyChangeListener(PropertyChangeListener listener)\r\n {\r\n Iterator<WeakReference<PropertyChangeListener>> i = listeners.iterator();\r\n boolean add = true;\r\n\r\n while (i.hasNext()) {\r\n PropertyChangeListener l = i.next().get();\r\n\r\n if (l == null)\r\n i.remove();\r\n else if (l.equals(listener))\r\n add = false;\r\n }\r\n if (add && listeners.add(new WeakReference<>(listener))\r\n && !this.added) {\r\n addThisToNotifier();\r\n this.added = true;\r\n }\r\n }", "void addPropertyChangedObserver(PropertyChangeObserver observer);", "protected void do_utilityFTF_propertyChange(PropertyChangeEvent arg0) {\n\t\tsetIncomeTotal();\n\t}", "public void propertyChange(PropertyChangeEvent e) {\n String name = e.getPropertyName();\n if (name.equals(\"stepnumber\")) { //$NON-NLS-1$\n if (trackerPanel.getSelectedTrack() == this) {\n displayWorldCoordinates();\n stepValueLabel.setText(e.getNewValue() + \":\"); //$NON-NLS-1$\n }\n } else if (name.equals(\"locked\")) { //$NON-NLS-1$\n xField.setEnabled(!isLocked());\n yField.setEnabled(!isLocked());\n } else super.propertyChange(e);\n }", "@Override\n public void propertyChange(java.beans.PropertyChangeEvent ev) {\n fireInAWT(PROP_NODE_CHANGE, null, null);\n }", "public void testPropertyChange() {\n System.out.println(\"propertyChange\");\n PropertyChangeEvent evt = null;\n Wizard instance = new Wizard();\n instance.propertyChange(evt);\n }", "public void firePropertyChange(java.lang.String propertyName, java.lang.Object oldValue, java.lang.Object newValue) {\r\n\tgetPropertyChange().firePropertyChange(propertyName, oldValue, newValue);\r\n}", "public void propertyChange(PropertyChangeEvent e) {\n\n logger.debug(LOG_TAG + \".propertyChangeListener()\");\n String propertyName = e.getPropertyName();\n\n switch(propertyName) {\n case \"progress\":\n logger.info(\"client progress: \" + e.getNewValue());\n\n break;\n case \"state\":\n StateValue stateValue = ((StateValue)e.getNewValue());\n logger.info(\"client state: \" + stateValue.toString());\n\n switch(stateValue) {\n case STARTED:\n\n break;\n case PENDING:\n\n break;\n case DONE:\n\n break;\n } // eof switch\n } // eof switch\n\n }", "void onChangeEvent(CarPropertyValue value);", "public void addPropertyChangeListener(GeoImageLayer layer) {\n\t\t\n\t}", "public String listen(String key, PropertyChangedCallback callback);", "public void propertyChange(PropertyChangeEvent evt)\n/* */ {\n/* 76 */ CompoundPainter<?> painter = (CompoundPainter)this.ref.get();\n/* */ \n/* 78 */ if (painter == null) {\n/* 79 */ AbstractPainter<?> src = (AbstractPainter)evt.getSource();\n/* 80 */ src.removePropertyChangeListener(this);\n/* */ } else {\n/* 82 */ String property = evt.getPropertyName();\n/* */ \n/* 84 */ if ((\"dirty\".equals(property)) && (evt.getNewValue() == Boolean.FALSE)) {\n/* 85 */ return;\n/* */ }\n/* */ \n/* 88 */ painter.setDirty(true);\n/* */ }\n/* */ }" ]
[ "0.8870848", "0.87725544", "0.8698629", "0.86894894", "0.86660033", "0.86308587", "0.8495565", "0.84864295", "0.82325876", "0.81811464", "0.81572825", "0.81424904", "0.8107795", "0.80876154", "0.8074333", "0.8073252", "0.8040818", "0.7941701", "0.7931384", "0.7924874", "0.7910237", "0.78952664", "0.7864008", "0.7863562", "0.784899", "0.784899", "0.78107285", "0.7807755", "0.779225", "0.7761978", "0.77519584", "0.77137756", "0.7705651", "0.7702659", "0.76936865", "0.7685704", "0.7679707", "0.7679707", "0.7679707", "0.7651585", "0.75988245", "0.7578138", "0.7573665", "0.75711817", "0.7567413", "0.75632155", "0.7556889", "0.7467996", "0.7456952", "0.745689", "0.7438568", "0.73953944", "0.73578525", "0.7327863", "0.7295633", "0.7279184", "0.724414", "0.7238707", "0.7236824", "0.7152713", "0.71140116", "0.71073437", "0.70832527", "0.70803255", "0.70720947", "0.70720947", "0.7063455", "0.7011631", "0.69788057", "0.69693327", "0.6960212", "0.69242615", "0.68847436", "0.68217486", "0.6782669", "0.67683583", "0.67663723", "0.67600584", "0.6753689", "0.67493504", "0.67160964", "0.67160964", "0.66922677", "0.6691178", "0.66739064", "0.6673256", "0.6653145", "0.6646426", "0.66307944", "0.66102195", "0.6591399", "0.6549428", "0.65348846", "0.65292364", "0.65237325", "0.6501229", "0.6499735", "0.64978045", "0.64917076", "0.64907795" ]
0.7501183
47
The addVetoableChangeListener method was generated to support the vetoPropertyChange field.
public synchronized void addVetoableChangeListener(java.beans.VetoableChangeListener listener) { getVetoPropertyChange().addVetoableChangeListener(listener); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public synchronized void addVetoableChangeListener(java.beans.VetoableChangeListener listener) {\r\n\tgetVetoPropertyChange().addVetoableChangeListener(listener);\r\n}", "public synchronized void addVetoableChangeListener(VetoableChangeListener l) {\n if (vetoableSupport == null) {\n vetoableSupport = new VetoableChangeSupport(this);\n }\n\n vetoableSupport.addVetoableChangeListener(l);\n }", "public void addVetoableChangeListener (VetoableChangeListener listener)\n\t{\n\t\tif (m_changeSupport == null)\n\t\t\tm_changeSupport = new VetoableChangeSupport (this);\n\t\tif (listener != null)\n\t\t\tm_changeSupport.addVetoableChangeListener(listener);\n\t}", "protected java.beans.VetoableChangeSupport getVetoPropertyChange() {\r\n\tif (vetoPropertyChange == null) {\r\n\t\tvetoPropertyChange = new java.beans.VetoableChangeSupport(this);\r\n\t};\r\n\treturn vetoPropertyChange;\r\n}", "public void vetoableChange(java.beans.PropertyChangeEvent evt) throws java.beans.PropertyVetoException {\n\t}", "public void fireVetoableChange(java.lang.String propertyName, java.lang.Object oldValue, java.lang.Object newValue) throws java.beans.PropertyVetoException {\r\n\tgetVetoPropertyChange().fireVetoableChange(propertyName, oldValue, newValue);\r\n}", "protected final void fireVetoableChange(PropertyChangeEvent event) throws PropertyVetoException {\n VetoableChangeSupport aVetoSupport = this.vetoSupport;\n if (aVetoSupport == null) {\n return;\n }\n aVetoSupport.fireVetoableChange(event);\n }", "private void addVetoablePropertyChangeListener(ActionListener<VetoablePropertyChangeEvent> l) {\n if (root != null) {\n Property prop = property;\n if (prop == null && tags != null) {\n prop = root.getEntity().findProperty(tags);\n }\n if (prop != null) {\n root.getEntity().addVetoablePropertyChangeListener(prop, l);\n }\n } else {\n Entity leafEntity = getLeafEntity();\n Property leafProperty = getLeafProperty();\n if (leafEntity != null && leafProperty != null) {\n leafEntity.getEntity().addVetoablePropertyChangeListener(leafProperty, l);\n }\n parent.addVetoablePropertyChangeListener(l);\n }\n \n }", "protected final void fireVetoableChange(String propertyName, Object oldValue, Object newValue)\n throws PropertyVetoException {\n VetoableChangeSupport aVetoSupport = this.vetoSupport;\n if (aVetoSupport == null) {\n return;\n }\n aVetoSupport.fireVetoableChange(propertyName, oldValue, newValue);\n }", "protected final void fireVetoableChange(String propertyName, boolean oldValue, boolean newValue)\n throws PropertyVetoException {\n VetoableChangeSupport aVetoSupport = this.vetoSupport;\n if (aVetoSupport == null) {\n return;\n }\n aVetoSupport.fireVetoableChange(propertyName, oldValue, newValue);\n }", "protected final void fireVetoableChange(String name, Object o, Object n)\n throws PropertyVetoException {\n // even though o == null and n == null will signify a change, that\n // is consistent with PropertyChangeSupport's behavior and is\n // necessary for this to work\n boolean noChange = ((o != null) && (n != null) && o.equals(n));\n\n super.fireVetoableChange(name, o, n);\n\n if (!(PROP_MODIFIED.equals(name)) && !noChange) {\n fireVetoableChange(PROP_MODIFIED, Boolean.FALSE, Boolean.TRUE);\n }\n }", "public X addVetoable(VetoableChangeListener listener) {\n component.addVetoableChangeListener(listener);\n return (X) this;\n }", "protected final void fireVetoableChange(String propertyName, int oldValue, int newValue)\n throws PropertyVetoException {\n VetoableChangeSupport aVetoSupport = this.vetoSupport;\n if (aVetoSupport == null) {\n return;\n }\n aVetoSupport.fireVetoableChange(\n propertyName, Integer.valueOf(oldValue), Integer.valueOf(newValue));\n }", "public void fireVetoableChange(java.lang.String propertyName, java.lang.Object oldValue, java.lang.Object newValue) throws java.beans.PropertyVetoException {\n\t\tgetVetoPropertyChange().fireVetoableChange(propertyName, oldValue, newValue);\n\t}", "private void tblEntryVetoableChange(java.beans.PropertyChangeEvent evt)throws java.beans.PropertyVetoException {\n }", "public synchronized void removeVetoableChangeListener(java.beans.VetoableChangeListener listener) {\r\n\tgetVetoPropertyChange().removeVetoableChangeListener(listener);\r\n}", "public synchronized void removeVetoableChangeListener(VetoableChangeListener l) {\n if (vetoableSupport != null) {\n vetoableSupport.removeVetoableChangeListener(l);\n }\n }", "public void removeVetoableChangeListener (VetoableChangeListener listener) \n {\n\t\tif (m_changeSupport != null && listener != null)\n\t\t\tm_changeSupport.removeVetoableChangeListener(listener);\n }", "private void removeVetoablePropertyChangeListener(ActionListener<VetoablePropertyChangeEvent> l) {\n if (root != null) {\n Property prop = property;\n if (prop == null && tags != null) {\n prop = root.getEntity().findProperty(tags);\n }\n if (prop != null) {\n root.getEntity().addVetoablePropertyChangeListener(prop, l);\n }\n } else {\n Entity leafEntity = getLeafEntity();\n Property leafProperty = getLeafProperty();\n if (leafEntity != null && leafProperty != null) {\n leafEntity.getEntity().addVetoablePropertyChangeListener(leafProperty, l);\n }\n parent.addVetoablePropertyChangeListener(l);\n }\n }", "protected final void fireVetoableChange(String propertyName, long oldValue, long newValue)\n throws PropertyVetoException {\n fireVetoableChange(propertyName, Long.valueOf(oldValue), Long.valueOf(newValue));\n }", "protected final void fireVetoableChange(String propertyName, float oldValue, float newValue)\n throws PropertyVetoException {\n fireVetoableChange(propertyName, Float.valueOf(oldValue), Float.valueOf(newValue));\n }", "public synchronized void removeVetoableChangeListener(java.beans.VetoableChangeListener listener) {\n\t\tgetVetoPropertyChange().removeVetoableChangeListener(listener);\n\t}", "void addVeto(VetoableOperation operation, EntityShieldVeto veto) throws UPAException;", "protected final void fireVetoableChange(String propertyName, double oldValue, double newValue)\n throws PropertyVetoException {\n fireVetoableChange(propertyName, Double.valueOf(oldValue), Double.valueOf(newValue));\n }", "@Override\n public void addChangeListener(ChangeListener l) {}", "@Override\n public void addChangeListener(ChangeListener l) {\n }", "@Override\n public void addChangeListener(ChangeListener l) {\n }", "public X removeVetoable(VetoableChangeListener listener) {\n component.removeVetoableChangeListener(listener);\n return (X) this;\n }", "public void setChangeListener();", "void addModelEventListener(PropertyChangeListener listener, Object modelelement);", "public void addChangeListener(ChangeListener l) {\n }", "public void addChangeListener(ChangeListener l) {\n }", "@Override\n\tpublic void addPropertyChangeListener(PropertyChangeListener l) {\n\t\t//do nothing\n\t}", "@Override\n public void addPropertyChangeListener(PropertyChangeListener listener) {\n\n }", "public void addChangeListener(ChangeListener l) {\n\t\t//do nothing\n\t}", "void addChangeListener(ChangeListener cl);", "void addModelEventListener(PropertyChangeListener listener, Object modelelement, String propertyName);", "public void notifyChangementCroyants();", "void setChangeListener(EntityChangeListener<T> changeListener);", "@Override\n\tpublic void propertyChange(PropertyChangeEvent arg0) {\n\t\t\n\t}", "public void addPropertyChangeListener(PropertyChangeListener l);", "void addModelEventListener(PropertyChangeListener listener, Object modelelement, String[] propertyNames);", "@Override\r\n\tpublic void propertyChange(PropertyChangeEvent arg0) {\n\t\t\r\n\t}", "@Override\r\n\tpublic void propertyChange(PropertyChangeEvent arg0) {\n\t\t\r\n\t}", "@Override\r\n\tpublic void propertyChange(PropertyChangeEvent arg0) {\n\r\n\t}", "@Override\n \tpublic void propertyChange(PropertyChangeEvent arg0) {\n \t\t\n \t}", "public synchronized void addPropertyChangeListener(java.beans.PropertyChangeListener listener) {\r\n\tgetPropertyChange().addPropertyChangeListener(listener);\r\n}", "private void onShowingChanged(ObservableValue<? extends Boolean> pObservable, Boolean pOldValue, Boolean pNewValue)\n\t\t{\n\t\t\tif (!pNewValue.booleanValue())\n\t\t\t{\n\t\t\t\tfireEditingComplete(ICellEditorListener.FOCUS_LOST);\n\t\t\t}\n\t\t}", "void addChangeListener(PropertyChangeListener<? super R> listener);", "@Override\n\tpublic void propertyChange(PropertyChangeEvent arg0)\n\t{\n\t\t\n\t}", "@Override\n public void addPropertyChangeListener(PropertyChangeListener listener)\n {\n if (changes == null)\n {\n changes = new PropertyChangeSupport(this);\n }\n changes.addPropertyChangeListener(listener);\n }", "public abstract void addPropertyChangeListener(IPropertyChangeListener listener);", "void addChangeListener(ChangeListener listener);", "@Override\n\t\tpublic void onChange(boolean selfChange) {\n\t\t\tsuper.onChange(selfChange);\n\t\t}", "protected WeakPropertyChangeListener()\r\n {\r\n this(null);\r\n }", "@Override\r\n public void stateChanged(ChangeEvent e) {\n }", "public abstract void addPropertyChangeListener(PropertyChangeListener listener);", "public void setPropertyChanged(com.app.tvp.cas.cliente.PropertyChangedEventHandler propertyChanged) {\n this.propertyChanged = propertyChanged;\n }", "@Deprecated\n\tprotected void editablePropertyChanged(PropertyChangeEvent e) {\n\t}", "public void setOnPropertyChangedListener(OnPropertyChangedListener l){\n _onPropertyChange = l;\n }", "@Override\n\tpublic void editingStopped(ChangeEvent arg0) {\n\n\t}", "public void modelPropertyChange(PropertyChangeEvent evt) {\n\t\t\n\t}", "default void addPropertyChangeListener(PropertyChangeListener listener)\r\n {\r\n }", "@Override\n\t\t\tpublic void changed(ChangeEvent event, Actor actor) {\n\t\t\t}", "@Override\n\t\t\tpublic void changed(ChangeEvent event, Actor actor) {\n\t\t\t}", "@Override\n\t\t\tpublic void changed(ChangeEvent event, Actor actor) {\n\t\t\t}", "@Override\n\t\t\tpublic void changed(ChangeEvent event, Actor actor) {\n\t\t\t}", "void onSelectedEventChange(@Nullable Event currentSelectedEvent);", "void addListener(ChangeListener<? super T> listener);", "public interface OnObjectChangedListener<T> {\n\tpublic void onObjectChanged(T obj);\n}", "@Override\n public void onChange(boolean selfChange) {\n onChange(selfChange, null);\n }", "public interface OnModelDataChangeListener {\n public void onChange();\n}", "@Override\n\tpublic void valueChange(ValueChangeEvent event) {\n\t\t\n\t}", "public void vetoableAction(PermissibleActionEvent evt) {\n\t}", "public void addNotify() {\n super.addNotify();\n \n // Enter key in the tree\n /*\n ExplorerManager newManager = ExplorerManager.find(this);\n System.out.println(\"newManager=\"+newManager);\n if (newManager != manager) {\n if (manager != null) {\n manager.removeVetoableChangeListener(wlvc);\n manager.removePropertyChangeListener(wlpc);\n }\n \n manager = newManager;\n \n manager.addVetoableChangeListener(wlvc = WeakListeners.vetoableChange(nodeListener, manager));\n manager.addPropertyChangeListener(wlpc = WeakListeners.propertyChange(nodeListener, manager));\n //manager.addPropertyChangeListener(nodeListener);\n \n }\n */\n }", "public interface onChangeListener {\n void Change(List<Item> list, boolean isChange);\n }", "public void addPropertyChangeListener(PropertyChangeListener propertyChangeListener) {\n }", "@Override\n\tpublic void stateChanged(ChangeEvent arg0) {\n\t\t\n\t}", "@Override\n\tpublic void addValueChangeListener(final ValueChangeListener<T> listener) {\n\t\t\n\t}", "@Override\n\t\tpublic void focusLost(FocusEvent e) {\n\t\t\tchangeListener.actionPerformed(new ActionEvent(this, 0, \"\"));\n\t\t}", "public void addPropertyChangeListener(ActionListener<PropertyChangeEvent> l) {\n if (root != null) {\n Property prop = property;\n if (prop == null && tags != null) {\n prop = root.getEntity().findProperty(tags);\n }\n if (prop != null) {\n root.getEntity().addPropertyChangeListener(prop, pcl());\n }\n } else {\n Entity leafEntity = getLeafEntity();\n Property leafProperty = getLeafProperty();\n if (leafEntity != null && leafProperty != null) {\n leafEntity.getEntity().addPropertyChangeListener(leafProperty, pcl());\n }\n parent.addVetoablePropertyChangeListener(vpcl());\n parent.addListChangeListener(listChangeListener());\n }\n if (listeners == null) {\n listeners = new EventDispatcher();\n }\n listeners.addListener(l);\n \n }", "@Override\n\tpublic void setOnChangeEvent(String functionName) {\n\t\t\n\t}", "void onPropertyChange(String name, String newValue);", "public void stateChanged(ChangeEvent param1ChangeEvent) {\n/* 1503 */ if (param1ChangeEvent == null) {\n/* 1504 */ throw new NullPointerException();\n/* */ }\n/* 1506 */ firePropertyChange(\"AccessibleVisibleData\", \n/* 1507 */ Boolean.valueOf(false), \n/* 1508 */ Boolean.valueOf(true));\n/* */ }", "@Override\n public void eventsChanged() {\n }", "public void addPropertyChangeListener (PropertyChangeListener l)\n { pcs.addPropertyChangeListener (l); }", "void addModelEventListener(UmlChangeListener listener, Object modelelement, String[] propertyNames);", "@Override\n public void stateChanged(javax.swing.event.ChangeEvent e) {\n }", "@Override\r\n public void rmValueListener(PropertyChangeListener l) {\n\r\n }", "@Override\n public synchronized void addPropertyChangeListener(PropertyChangeListener listener) {\n if (listeners == null) {\n listeners = new PropertyChangeSupport(this);\n }\n listeners.addPropertyChangeListener(listener);\n }", "protected PropertyChangeListener createPropertyChangeListener() {\n return new PropertyChangeHandler(); }", "public void addPropertyChangeListener (PropertyChangeListener l) {\n pcs.addPropertyChangeListener (l);\n }", "@Override\n public void propertyChange(PropertyChangeEvent event) {\n if (!hasOverrideFor(event.getProperty()))\n fireMappingChanged(event.getProperty(), event.getOldValue(), event.getNewValue());\n }", "public native final EditorBaseEvent changedEvent(EventFacade val) /*-{\n\t\tthis.changedEvent = val;\n\t\treturn this;\n\t}-*/;", "@Override\n\tpublic void stateChanged(ChangeEvent e) {\n\t}", "boolean hasChangeEvent();", "void addPropertyChangeListener(PropertyChangeListener listener);", "@Override\n public void addOnPropertyChangedCallback(OnPropertyChangedCallback callback) {\n }", "public void addPropertyChangeListener(java.beans.PropertyChangeListener l) {\r\n propertyChangeSupport.addPropertyChangeListener(l);\r\n }", "void addModelEventListener(UmlChangeListener listener, Object modelelement, String propertyName);" ]
[ "0.8620009", "0.8186896", "0.8149116", "0.80762005", "0.78615147", "0.7652573", "0.7581181", "0.7467192", "0.7457704", "0.7404066", "0.73435944", "0.7292035", "0.7289321", "0.7267971", "0.71579075", "0.7112438", "0.69049084", "0.6821943", "0.6789509", "0.6779386", "0.6707355", "0.6628072", "0.6433859", "0.6366015", "0.630811", "0.61137116", "0.61137116", "0.59206873", "0.57654816", "0.56734824", "0.552694", "0.552694", "0.5478975", "0.546539", "0.5461427", "0.5454289", "0.54186475", "0.54086936", "0.539387", "0.5386883", "0.5371903", "0.5368433", "0.53678554", "0.53678554", "0.53632927", "0.5359497", "0.53517175", "0.5348192", "0.53345823", "0.53282034", "0.53233325", "0.53172994", "0.5316712", "0.53045917", "0.52821827", "0.52805406", "0.52762455", "0.52745956", "0.52743703", "0.52682", "0.5258734", "0.5251479", "0.52458906", "0.5229496", "0.5229496", "0.5229496", "0.5229496", "0.5205215", "0.5193382", "0.5191119", "0.5190981", "0.51788116", "0.51767594", "0.51720124", "0.51651627", "0.5162284", "0.5153654", "0.515256", "0.51518077", "0.5151452", "0.5141611", "0.51413834", "0.512306", "0.5121547", "0.51176065", "0.51160926", "0.5107309", "0.50841516", "0.5083073", "0.5082453", "0.50784767", "0.50782686", "0.5076355", "0.5067581", "0.5067388", "0.5064536", "0.50576293", "0.5057079", "0.50533605", "0.50524336" ]
0.83439577
1
This method was created in VisualAge.
public boolean compareEqual(Matchable object) { if (this == object) { return (true); } if (object != null && object instanceof SolverTaskDescription) { SolverTaskDescription solverTaskDescription = (SolverTaskDescription) object; if (getTaskType() != solverTaskDescription.getTaskType()) { return false; } // if (!getTimeBounds().compareEqual(solverTaskDescription.getTimeBounds())) { return false; } if (!getTimeStep().compareEqual(solverTaskDescription.getTimeStep())) { return false; } if (!getErrorTolerance().compareEqual(solverTaskDescription.getErrorTolerance())) { return false; } if (!Compare.isEqualOrNull(getStochOpt(),solverTaskDescription.getStochOpt())) { return false; } if (getUseSymbolicJacobian() != solverTaskDescription.getUseSymbolicJacobian()) { return false; } if (!getOutputTimeSpec().compareEqual(solverTaskDescription.getOutputTimeSpec())) { return false; } if (!Compare.isEqualOrNull(getSensitivityParameter(),solverTaskDescription.getSensitivityParameter())) { return false; } if (!Compare.isEqual(getSolverDescription(),solverTaskDescription.getSolverDescription())) { return false; } if(getSolverDescription() == SolverDescription.HybridEuler || // -------- deal with hybrid solvers (non-spatial) getSolverDescription() == SolverDescription.HybridMilAdaptive || getSolverDescription() == SolverDescription.HybridMilstein) { if (!getStochHybridOpt().compareEqual(solverTaskDescription.getStochHybridOpt())) { return false; } } if (getTaskType() != solverTaskDescription.getTaskType()) { return false; } if (!Compare.isEqualOrNull(stopAtSpatiallyUniformErrorTolerance, solverTaskDescription.stopAtSpatiallyUniformErrorTolerance)) { return false; } if (bSerialParameterScan != solverTaskDescription.bSerialParameterScan) { return false; } if (bTimeoutDisabled != solverTaskDescription.bTimeoutDisabled) { return false; } if (bBorderExtrapolationDisabled != solverTaskDescription.bBorderExtrapolationDisabled) { return false; } if (!Compare.isEqualOrNull(smoldynSimulationOptions,solverTaskDescription.smoldynSimulationOptions)) { return false; } if (!Compare.isEqualOrNull(sundialsPdeSolverOptions,solverTaskDescription.sundialsPdeSolverOptions)) { return false; } if (!Compare.isEqualOrNull(chomboSolverSpec,solverTaskDescription.chomboSolverSpec)) { return false; } if (!Compare.isEqualOrNull(nfsimSimulationOptions,solverTaskDescription.nfsimSimulationOptions)) { return false; } if (!Compare.isEqualOrNull(langevinSimulationOptions,solverTaskDescription.langevinSimulationOptions)) { return false; } if (!Compare.isEqualOrNull(movingBoundarySolverOptions,solverTaskDescription.movingBoundarySolverOptions)) { return false; } return numProcessors == solverTaskDescription.numProcessors; } return false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void perish() {\n \n }", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n protected void getExras() {\n }", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\n\tpublic void anular() {\n\n\t}", "public final void mo51373a() {\n }", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "public void Exterior() {\n\t\t\r\n\t}", "@Override\n\tprotected void update() {\n\t\t\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\n public void memoria() {\n \n }", "public void gored() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "@Override\n\tpublic void nefesAl() {\n\n\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\n\tprotected void logic() {\n\n\t}", "@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "public void mo38117a() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "protected boolean func_70814_o() { return true; }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "public void mo4359a() {\n }", "public void designBasement() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void func03() {\n\t\t\r\n\t}", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}", "private void poetries() {\n\n\t}", "@Override\n\tpublic void nghe() {\n\n\t}", "private static void cajas() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}", "private stendhal() {\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "@Override\r\n\tpublic void carDashboar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "protected abstract Set method_1559();", "@Override\r\n\tprotected void initVentajas() {\n\r\n\t}", "@Override\n protected void paint2d(Graphics2D g) {\n \n }", "public void verliesLeven() {\r\n\t\t\r\n\t}", "@Override\r\n\tpublic void voar() {\n\t\t\r\n\t}", "public void skystonePos4() {\n }", "public void mo12628c() {\n }", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "@Override\r\n\t\tpublic void update() {\n\t\t\t\r\n\t\t}", "@Override\r\n\t\tpublic void update() {\n\t\t\t\r\n\t\t}", "@Override\n public void update() {\n \n }", "public void smell() {\n\t\t\n\t}", "@Override\n\tpublic void verkaufen() {\n\t}", "protected void method_2665() {\r\n super.method_2427(awt.field_4171);\r\n this.method_2440(true);\r\n this.method_2521(class_872.field_4244);\r\n }", "public void Tyre() {\n\t\t\r\n\t}", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "private void m50366E() {\n }", "protected void mo6255a() {\n }", "@Override\r\n\tpublic int sub() {\n\t\treturn 0;\r\n\t}", "@Override\n\tpublic void particular1() {\n\t\t\n\t}", "@Override\n\tprotected void initData() {\n\t\t\n\t}", "private void kk12() {\n\n\t}", "protected MetadataUGWD() {/* intentionally empty block */}", "@Override\r\n\tprotected void compute() {\n\t\t\r\n\t}", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "public void redibujarAlgoformers() {\n\t\t\n\t}", "@Override\n\t\tpublic void update() {\n\n\t\t}", "@Override\n\t\tpublic void update() {\n\n\t\t}", "@Override\n\t\tpublic void update() {\n\n\t\t}", "@Override\n\tpublic int mettreAJour() {\n\t\treturn 0;\n\t}", "@Override\r\n\tvoid func04() {\n\t\t\r\n\t}", "public void Interior() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void doF8() {\n\t\t\r\n\t}", "@Override\n public void delta() {\n \n }", "@Override\n protected void onDataChanged() {\n }", "@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}", "public void skystonePos6() {\n }", "@Override\n\tpublic void update(float deltaTime) {\n\t\t\n\t}", "@Override\n protected void initialize() \n {\n \n }", "private void remplirFabricantData() {\n\t}", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "public void mo68520e() {\n super.mo68520e();\n C26780aa.m87959a(this.itemView, mo75290r(), this.f77546j);\n C24942al.m81837c(mo75261ab(), this.f89221bo);\n C24958f.m81905a().mo65273b(this.f77546j).mo65266a(\"result_ad\").mo65276b(\"otherclick\").mo65283e(\"video\").mo65270a(mo75261ab());\n }", "@Override\r\n\t\t\tprotected void saveContext() {\n\t\t\t\t\r\n\t\t\t}", "public void skystonePos3() {\n }" ]
[ "0.63027483", "0.60542685", "0.60428476", "0.6039986", "0.6021428", "0.6021428", "0.5988154", "0.5948575", "0.5926166", "0.59258944", "0.5911478", "0.590118", "0.5871462", "0.5810943", "0.57510513", "0.57441413", "0.5736879", "0.57268476", "0.5725842", "0.57219875", "0.5715076", "0.5693722", "0.5674081", "0.565599", "0.5646714", "0.5646066", "0.5622996", "0.56202644", "0.5615495", "0.56033367", "0.5595853", "0.5588845", "0.5588845", "0.5574564", "0.5568621", "0.55565524", "0.5554403", "0.5551082", "0.5534736", "0.54798853", "0.5468387", "0.5465224", "0.54638165", "0.54536027", "0.5447644", "0.544436", "0.5436204", "0.5434541", "0.54097116", "0.540048", "0.540048", "0.5400316", "0.5387907", "0.53707695", "0.53694874", "0.5348551", "0.5323031", "0.53226066", "0.53216887", "0.5312546", "0.5312546", "0.53106934", "0.530792", "0.5302185", "0.5295919", "0.52949524", "0.52876526", "0.52876526", "0.52876526", "0.52876526", "0.52876526", "0.52876526", "0.52876526", "0.5285827", "0.52858025", "0.5285465", "0.5281322", "0.52764755", "0.5276354", "0.52750653", "0.52636766", "0.52608156", "0.5260575", "0.5259289", "0.5259289", "0.5259289", "0.52487665", "0.5243768", "0.5242916", "0.52324104", "0.5222099", "0.5218962", "0.5218053", "0.52174187", "0.52122307", "0.52104783", "0.52092063", "0.5208991", "0.5202678", "0.519753", "0.5189542" ]
0.0
-1
The firePropertyChange method was generated to support the propertyChange field.
public void firePropertyChange(java.lang.String propertyName, java.lang.Object oldValue, java.lang.Object newValue) { getPropertyChange().firePropertyChange(propertyName, oldValue, newValue); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void firePropertyChange(String propertyName, Object oldValue, Object newValue);", "public void firePropertyChange(java.lang.String propertyName, java.lang.Object oldValue, java.lang.Object newValue) {\r\n\tgetPropertyChange().firePropertyChange(propertyName, oldValue, newValue);\r\n}", "protected void firePropertyChange( java.beans.PropertyChangeEvent evt ) {\n propertyChangeSupport.firePropertyChange( evt );\n }", "protected void firePropertyChange(String propertyName, Object oldValue, Object newValue)\n/* */ {\n/* 291 */ if (\"text\".equals(propertyName)) {\n/* 292 */ super.firePropertyChange(propertyName, oldValue, newValue);\n/* */ }\n/* */ }", "@Override\n \tpublic void propertyChange(PropertyChangeEvent arg0) {\n \t\t\n \t}", "protected final void firePropertyChange(PropertyChangeEvent event) {\n PropertyChangeSupport aChangeSupport = this.changeSupport;\n if (aChangeSupport == null) {\n return;\n }\n aChangeSupport.firePropertyChange(event);\n }", "protected final void firePropertyChange(String propertyName, Object oldValue, Object newValue) {\n PropertyChangeSupport aChangeSupport = this.changeSupport;\n if (aChangeSupport == null) {\n return;\n }\n aChangeSupport.firePropertyChange(propertyName, oldValue, newValue);\n }", "@Override\n\tpublic void propertyChange(PropertyChangeEvent arg0) {\n\t\t\n\t}", "@Override\r\n\tpublic void propertyChange(PropertyChangeEvent arg0) {\n\t\t\r\n\t}", "@Override\r\n\tpublic void propertyChange(PropertyChangeEvent arg0) {\n\t\t\r\n\t}", "@Override\r\n\tprotected void firePropertyChange(int action) {\r\n\t\tsuper.firePropertyChange(action);\r\n\t}", "@Override\r\n\tpublic void propertyChange(PropertyChangeEvent arg0) {\n\r\n\t}", "@Override\n\tpublic void propertyChange(PropertyChangeEvent arg0)\n\t{\n\t\t\n\t}", "protected final void firePropertyChange(String propertyName,\n java.lang.Object oldValue,\n java.lang.Object newValue) {\n if (changeSupport == null)\n return;\n changeSupport.firePropertyChange(propertyName, oldValue, newValue);\n // Should sent event to any remote stubs so they can fire there local listener lists\n // TBD\n }", "void onPropertyChange(String name, String newValue);", "@Override\n\tpublic void propertyChange(PropertyChangeEvent evt) {\n\t\t\n\t}", "public void firePropertyChange(String propertyName, Object oldValue, Object newValue) {\r\n\t\tgetPropertyChange().firePropertyChange(propertyName, oldValue, newValue);\r\n\t}", "public void propertyChange(PropertyChangeEvent evt) {\r\n fireStateChanged();\r\n }", "protected void PropertyChanged()\r\n { }", "public void propertyChange(PropertyChangeEvent evt) {\n \r\n }", "void firePropertyChange() {\n java.util.Vector targets;\n synchronized (this) {\n if (listeners == null) {\n return;\n }\n targets = (java.util.Vector) listeners.clone();\n }\n\n PropertyChangeEvent evt = new PropertyChangeEvent(this, null, null, null);\n\n for (int i = 0; i < targets.size(); i++) {\n PropertyChangeListener target = (PropertyChangeListener)targets.elementAt(i);\n target.propertyChange(evt);\n }\n }", "protected final void firePropertyChange(String propertyName, boolean oldValue, boolean newValue) {\n PropertyChangeSupport aChangeSupport = this.changeSupport;\n if (aChangeSupport == null) {\n return;\n }\n aChangeSupport.firePropertyChange(propertyName, oldValue, newValue);\n }", "public void firePropertyChange(String p, Object a, Object b) {\n\n\t}", "protected java.beans.PropertyChangeSupport getPropertyChange() {\r\n\tif (propertyChange == null) {\r\n\t\tpropertyChange = new java.beans.PropertyChangeSupport(this);\r\n\t};\r\n\treturn propertyChange;\r\n}", "protected void fireChangeEvent (ModelProperties prop)\n {\n\tJsimEvent evt;\n\tString\t SLASH = System.getProperty (\"file.separator\");\n\tString fname = System.getProperty (\"user.home\");\n\tString xmlStr;\n\n\tif (use_xml) {\n try {\n Vector data = new Vector (); data.add (prop);\n if (generate_xml_files) {\n\t\t fname += SLASH + \"JSIM\" + SLASH + \"jsim\" + SLASH +\n\t\t\t\t\"jmessage\" + SLASH + \"change.xml\";\n\t\t xmlStr = XMLSerializer.serialize (data, fname);\n\t\t} else {\n\t\t xmlStr = XMLSerializer.serialize (data);\n\t\t}; // if\n } catch (Exception e) {\n trc.tell (\"fireChangeEvent\", e.getMessage ());\n e.printStackTrace ();\n return;\n }\n\t evt = new JsimEvent (this, EventMap.CHANGE_EVT, xmlStr);\n\t} else {\n\t evt = new JsimEvent (this, EventMap.CHANGE_EVT, prop);\n\t}; // if\n\n propCache = prop;\n\tfireJsimEvent (evt);\n \n }", "public void propertyChange(String propertyName, Object oldValue, Object newValue) {\r\n propertyChangeSupport.firePropertyChange(propertyName, oldValue, newValue);\r\n }", "protected final void firePropertyChange(String propertyName, float oldValue, float newValue) {\n firePropertyChange(propertyName, Float.valueOf(oldValue), Float.valueOf(newValue));\n }", "@Override\n\tpublic void propertyChange() {\n\t\tthis.apply();\n\t}", "protected final void firePropertyChange(String propertyName, double oldValue, double newValue) {\n firePropertyChange(propertyName, Double.valueOf(oldValue), Double.valueOf(newValue));\n }", "public void modelPropertyChange(PropertyChangeEvent evt) {\n\t\t\n\t}", "protected final void firePropertyChange(String propertyName, int oldValue, int newValue) {\n PropertyChangeSupport aChangeSupport = this.changeSupport;\n if (aChangeSupport == null) {\n return;\n }\n aChangeSupport.firePropertyChange(\n propertyName, Integer.valueOf(oldValue), Integer.valueOf(newValue));\n }", "protected java.beans.PropertyChangeSupport getPropertyChange() {\n\t\tif (propertyChange == null) {\n\t\t\tpropertyChange = new java.beans.PropertyChangeSupport(this);\n\t\t};\n\t\treturn propertyChange;\n\t}", "protected final void firePropertyChange(String propertyName, long oldValue, long newValue) {\n firePropertyChange(propertyName, Long.valueOf(oldValue), Long.valueOf(newValue));\n }", "@Override\r\n public void firePropertyChange(final String propertyName, final boolean oldValue, final boolean newValue) {\r\n /* we dont need propertychange events */\r\n if (\"indeterminate\".equals(propertyName)) {\r\n // this is required to forward indeterminate changes to the ui. This\r\n // would cfreate nullpointers in the uis because progresbar might\r\n // try to paint indeterminate states, but the ui has not been\r\n // initialized due to the missing event\r\n super.firePropertyChange(propertyName, oldValue, newValue);\r\n }\r\n }", "void onPropertyChange(String key);", "public void fireVetoableChange(java.lang.String propertyName, java.lang.Object oldValue, java.lang.Object newValue) throws java.beans.PropertyVetoException {\r\n\tgetVetoPropertyChange().fireVetoableChange(propertyName, oldValue, newValue);\r\n}", "public void testPropertyChange() {\n System.out.println(\"propertyChange\");\n PropertyChangeEvent evt = null;\n Wizard instance = new Wizard();\n instance.propertyChange(evt);\n }", "private void firePlatformChange() {\n// platform.firePropertyChange(Utils.PROP_JAVA_FX, null, null);\n try {\n Method method = JavaPlatform.class.getDeclaredMethod(\"firePropertyChange\", String.class, Object.class, Object.class); // NOI18N\n method.setAccessible(true);\n method.invoke(platform, JavaFXPlatformUtils.PROPERTY_JAVA_FX, null, null);\n } catch (Exception ex) {\n Exceptions.printStackTrace(ex);\n }\n }", "public void setPropertyChanged(com.app.tvp.cas.cliente.PropertyChangedEventHandler propertyChanged) {\n this.propertyChanged = propertyChanged;\n }", "protected final void firePropertyChange(String name, Object o, Object n) {\n // even though o == null and n == null will signify a change, that\n // is consistent with PropertyChangeSupport's behavior and is\n // necessary for this to work\n boolean noChange = ((o != null) && (n != null) && o.equals(n));\n\n super.firePropertyChange(name, o, n);\n\n if (!(PROP_MODIFIED.equals(name)) && !noChange) {\n setModified(true);\n }\n }", "public void notifyChanged(final Notification msg) {\r\n\t super.notifyChanged(msg);\r\n\t \r\n\t if(msg.getFeature() == PropertiesPackage.Literals.PROPERTY__VALUE) {\r\n\t \tsetGUIAttributes();\r\n\t }\r\n\t }", "@Override\r\n\t\t\tpublic void onPropertyChange(String... paths) {\n\t\t\t\t\r\n\t\t\t}", "public void propertyChange(PropertyChangeEvent event) {\r\n\t\tString property = event.getPropertyName();\r\n\t\tif (\"bendpoint\".equals(property)) //$NON-NLS-1$\r\n\t\t\trefreshVisuals(); \r\n\t}", "protected void fireChangeEvent() {\n\t\tfireEvent(new DebugEvent(this, DebugEvent.CHANGE));\n\t}", "public void fireChange() {\n fireChange(new ChangeEvent(source));\n }", "public void afterPropertyChange(T obj, String propertyName, Object oldValue, Object newValue);", "public void fireChangeEvent(ChangeEvent event);", "protected void firePropertyChange(String propertyName,Object oldValue,\n Object newValue){\n super.firePropertyChange(propertyName,oldValue,newValue);\n if(propertyName.equals(EnableWindowBlit)){\n if(newValue!=null){\n setScrollMode(BLIT_SCROLL_MODE);\n }else{\n setScrollMode(SIMPLE_SCROLL_MODE);\n }\n }\n }", "protected void do_childSupportFTF_propertyChange(PropertyChangeEvent arg0) {\n\t\tsetIncomeTotal();\n\t}", "public void propertyChange(PropertyChangeEvent evt)\n/* */ {\n/* 76 */ CompoundPainter<?> painter = (CompoundPainter)this.ref.get();\n/* */ \n/* 78 */ if (painter == null) {\n/* 79 */ AbstractPainter<?> src = (AbstractPainter)evt.getSource();\n/* 80 */ src.removePropertyChangeListener(this);\n/* */ } else {\n/* 82 */ String property = evt.getPropertyName();\n/* */ \n/* 84 */ if ((\"dirty\".equals(property)) && (evt.getNewValue() == Boolean.FALSE)) {\n/* 85 */ return;\n/* */ }\n/* */ \n/* 88 */ painter.setDirty(true);\n/* */ }\n/* */ }", "@Override\n\tpublic void propertyChange(PropertyChangeEvent evt) {\n\t\tfillFields();\n\t}", "@Override\n public void propertyChange(PropertyChangeEvent e) {\n this.updateCoords();\n }", "public void propertyChange(PropertyChangeEvent evt) {\n super.propertyChange(evt);\n if (evt.getPropertyName() == \"keeperactivity\") {\n this.setJob((String) evt.getNewValue());\n }\n else if (evt.getPropertyName() == \"foodactivity\"){\n this._makeAnnouncement(\"The food server just served \" + (String) evt.getNewValue());\n }\n }", "protected void do_utilityFTF_propertyChange(PropertyChangeEvent arg0) {\n\t\tsetIncomeTotal();\n\t}", "@Override\n public void propertyChange(java.beans.PropertyChangeEvent ev) {\n fireInAWT(PROP_NODE_CHANGE, null, null);\n }", "public void stateChanged(ChangeEvent param1ChangeEvent) {\n/* 1503 */ if (param1ChangeEvent == null) {\n/* 1504 */ throw new NullPointerException();\n/* */ }\n/* 1506 */ firePropertyChange(\"AccessibleVisibleData\", \n/* 1507 */ Boolean.valueOf(false), \n/* 1508 */ Boolean.valueOf(true));\n/* */ }", "@Override\n public void propertyChange(PropertyChangeEvent evt) {\n\n System.out.println(\"Customer \" + this.name + \" observed a change in \" +\n evt.getPropertyName() + \" of \" + evt.getSource());\n\n System.out.println(\n evt.getOldValue() + \" has changed to \" + evt.getNewValue() + \". \");\n\n System.out.println();\n }", "protected final void fireChangeEvent() {\n\t\tIterator<ChangeListener> it;\n\t\tsynchronized (listeners) {\n\t\t\tit = new HashSet<ChangeListener>(listeners).iterator();\n\t\t}\n\t\tChangeEvent ev = new ChangeEvent(this);\n\t\twhile (it.hasNext()) {\n\t\t\tit.next().changed(ev);\n\t\t}\n\t}", "public void testFirePropertyChangeEvent() {\n ModelElementChangeListenerMock listener = new ModelElementChangeListenerMock();\n instance.addModelElementChangeListener(listener);\n instance.firePropertyChangeEvent(new GuardImpl(), PropertyKind.ACTIVE, PropertyOperation.MODIFY, \"accuracy\");\n assertTrue(\"Failed to fire the event.\", listener.IsCalled());\n }", "@Override\n public void propertyChange( PropertyChangeEvent evt )\n {\n String propertyName = evt.getPropertyName();\n boolean recreate = propertyName.equals(\"*\");\n\n int ind = propertyName.lastIndexOf( '.' );\n String modifier = null;\n if ( ind > 0 )\n {\n modifier = propertyName.substring( ind );\n propertyName = propertyName.substring( 0, ind );\n }\n\n if ( modifier != null && ( modifier.equals( EventConstants.EVT_SET_VALUE ) ||\n modifier.equals( EventConstants.EVT_PROPERTY_ADDED ) ||\n modifier.equals( EventConstants.EVT_PROPERTY_REMOVED ) ) )\n {\n recreate = true;\n }\n\n Property p = componentModel.findProperty( propertyName );\n if( p instanceof CompositeProperty && !(p.isHideChildren()) )\n recreate = true;\n\n if ( p == null && !recreate)\n {\n return;\n }\n\n if ( (p instanceof SimpleProperty ) || ! recreate )\n {\n Point rows = getRowRange( p );\n if ( rows != null )\n {\n AbstractTableModel tm = ( AbstractTableModel )treeTable.getModel();\n tm.fireTableChanged( new TableModelEvent( tm, rows.x, rows.y ) );\n }\n }\n else\n {\n ComponentFactory.recreateChildProperties( p );\n if(treeTable != null)\n treeTable.updateUI();\n }\n\n }", "@Override\n public void addPropertyChangeListener(PropertyChangeListener listener) {\n\n }", "protected void do_foodStampsFTF_propertyChange(PropertyChangeEvent arg0) {\n\t\tsetIncomeTotal();\n\t}", "@Override\n public void propertyChange(PropertyChangeEvent event) {\n if (!hasOverrideFor(event.getProperty()))\n fireMappingChanged(event.getProperty(), event.getOldValue(), event.getNewValue());\n }", "public void addPropertyChangeListener(PropertyChangeListener l);", "public abstract void addPropertyChangeListener(IPropertyChangeListener listener);", "public abstract void addPropertyChangeListener(PropertyChangeListener listener);", "protected void fireColumnPropertyChange(PropertyChangeEvent evt) {\r\n// if (IGNORE_EVENT.equals(evt.getPropertyName())) return;\r\n // Guaranteed to return a non-null array\r\n Object[] listeners = listenerList.getListenerList();\r\n // Process the listeners last to first, notifying\r\n // those that are interested in this event\r\n for (int i = listeners.length-2; i>=0; i-=2) {\r\n if (listeners[i]==TableColumnModelExtListener.class) {\r\n ((TableColumnModelExtListener)listeners[i+1]).\r\n columnPropertyChange(evt);\r\n }\r\n }\r\n }", "protected void FirePropertyChangedEvent(Object value)\r\n {\r\n Type type = ProxyUtilities.getNonProxyBaseType(value.getClass());\r\n\r\n try {\r\n\t Field fInfo = type.getClass().getField(\"PropertyChanged\");//, BindingFlags.Instance | BindingFlags.NonPublic);\r\n\t if (fInfo != null)\r\n\t {\r\n\t Event eventDelegate;\t\t\t\r\n\t\t\t\t\teventDelegate = (Event)fInfo.get(value);\r\n\t\t\t\t\r\n\t\r\n\t if (eventDelegate != null)\r\n\t {\r\n\t \teventDelegate.RaiseEvent();\r\n\t// ArrayList<Delegate> delegates = eventDelegate.getInvocationList();\r\n\t//\r\n\t// for (Delegate dlg : delegates)\r\n\t// dlg.getMethod.Invoke(dlg.Target, new Object[] { value, new PropertyChangedEventArgs(_propertyName) });\r\n\t }\r\n\t }\r\n\t\t\t}\r\n\t\t\tcatch (Exception e) {\r\n\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\te.printStackTrace();\r\n\t\t\t} \r\n }", "public void propertyChange(PropertyChangeEvent evt) {\r\n\r\n\t\tString propertyName = evt.getPropertyName();\r\n\t\tMessage newMsg = null;\r\n\r\n\t\tif(propertyName.equals(ReceiveDataModel.MSG_RECEIVED)){\r\n\t\t\tnewMsg = (Message) evt.getNewValue();\r\n\t\t\tif(newMsg.getFromUser().equals(Server.FROM_SERVER)){\r\n\t\t\t\tif(newMsg.getContent().equals(Server.NO_USER_FOUND)){\r\n\t\t\t\t\tclientView.getCLView().showMsg(\"No user found!\");\r\n\t\t\t\t}else{\r\n\t\t\t\t\tclientView.getCLView().showMsg(\"User was found in the database! You can add him to db\");\r\n\t\t\t\t\tclientView.getCLView().setAdd(true);\r\n\t\t\t\t\tclientView.getCLView().setTextFieldEdit(false);\r\n\t\t\t\t\tclientView.getCLView().setFoundUserName(newMsg.getContent().split(\" \")[1]);\r\n\t\t\t\t}\r\n\t\t\t}else{\r\n\t\t\t\ttry {\r\n\t\t\t\t\tclientView.addNewMesseage(newMsg.getContent(), \"received from user: \"+newMsg.getFromUser());\r\n\t\t\t\t\ttry {\r\n\t\t\t\t\t\tuserModel.getArchive().getArchiveWriter().addNewTalk(newMsg.getFromUser(), \"New message received from user\"+newMsg.getFromUser()+\r\n\t\t\t\t\t\t\t\tSystem.lineSeparator()+newMsg.getContent());\r\n\t\t\t\t\t} catch (IOException e) {\r\n\t\t\t\t\t}\r\n\t\t\t\t} catch (BadLocationException e) {\r\n\t\t\t\t\te.printStackTrace();\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}", "@Override\n public void propertyChange(PropertyChangeEvent evt) {\n modelToView(handle);\n }", "protected void do_disabilityFTF_propertyChange(PropertyChangeEvent arg0) {\n\t\tsetIncomeTotal();\n\t}", "protected void do_socialSecurityFTF_propertyChange(PropertyChangeEvent arg0) {\n\t\tsetIncomeTotal();\n\t}", "public void propertiesChanged(String property, String value) {\n\t\tif(property != null) {\n \t\t\tFComponent comp = mainFrame.getSelectedComponent().getComponent();\n \t\t\tif(comp.getLabel() == null || !comp.getLabel().equals(value)) {\n \t\t\t\tcomp.setLabel(value);\n \t\t\t\tmainFrame.refreshPreview();\t\t\t\t\n \t\t\t}\n \t\t}\n \t}", "protected void do_tanfFTF_propertyChange(PropertyChangeEvent arg0) {\n\t\tsetIncomeTotal();\n\t}", "public void propertyChange(java.beans.PropertyChangeEvent evt) {\r\n\t//\r\n\t// must listen to the following events:\r\n\t// this.simulationContext\r\n\t//\t\tsimulationContext.GeometryContext.geometry\r\n\t// simulationContext.GeometryContext.structureMappings\r\n\t// StructureMapping.resolved\r\n\t//\r\n\t// this.speciesContextSpec\r\n\t// SpeciesContextSpec.parameters\r\n\t// Parameter.*\r\n\t//\r\n\ttry {\t\t\r\n\t\t//\r\n\t\t// if geometry changes (could affect spatially resolved boundaries).\r\n\t\t//\r\n\t\tif (fieldSpeciesContextSpec != null && evt.getSource() == fieldSpeciesContextSpec.getSimulationContext().getGeometryContext() \r\n\t\t\t\t&& evt.getPropertyName().equals(\"geometry\")){\r\n\t\t\trefreshData();\r\n\t\t}\r\n\t\t//\r\n\t\t// if structureMappings array changes (could affect spatially resolved boundaries).\r\n\t\t//\r\n\t\tif (fieldSpeciesContextSpec != null && evt.getSource() == fieldSpeciesContextSpec.getSimulationContext().getGeometryContext() \r\n\t\t\t\t&& evt.getPropertyName().equals(\"structureMappings\")){\r\n\t\t\tStructureMapping[] oldStructureMappings = (StructureMapping[])evt.getOldValue();\r\n\t\t\tfor (int i = 0; oldStructureMappings!=null && i < oldStructureMappings.length; i++){\r\n\t\t\t\toldStructureMappings[i].removePropertyChangeListener(this);\r\n\t\t\t}\r\n\t\t\tStructureMapping[] newStructureMappings = (StructureMapping[])evt.getNewValue();\r\n\t\t\tfor (int i = 0; newStructureMappings!=null && i < newStructureMappings.length; i++){\r\n\t\t\t\tnewStructureMappings[i].addPropertyChangeListener(this);\r\n\t\t\t}\r\n\t\t\trefreshData();\r\n\t\t}\r\n\t\t//\r\n\t\t// if structureMapping changes (could affect spatially resolved boundaries).\r\n\t\t//\r\n\t\tif (evt.getSource() instanceof StructureMapping){\r\n\t\t\trefreshData();\r\n\t\t}\r\n\t\t\r\n\t\tif (evt.getSource() == this && evt.getPropertyName().equals(\"speciesContextSpec\")) {\r\n\t\t\tSpeciesContextSpec oldValue = (SpeciesContextSpec)evt.getOldValue();\r\n\t\t\tif (oldValue!=null){\r\n\t\t\t\toldValue.removePropertyChangeListener(this);\r\n\t\t\t\tParameter oldParameters[] = oldValue.getParameters();\r\n\t\t\t\tif (oldParameters!=null) {\r\n\t\t\t\t\tfor (int i = 0; i<oldParameters.length; i++){\r\n\t\t\t\t\t\toldParameters[i].removePropertyChangeListener(this);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\tSimulationContext oldSimContext = oldValue.getSimulationContext();\r\n\t\t\t\tif (oldSimContext!=null){\r\n\t\t\t\t\toldSimContext.getGeometryContext().removePropertyChangeListener(this);\r\n\t\t\t\t\tStructureMapping[] oldStructureMappings = oldSimContext.getGeometryContext().getStructureMappings();\r\n\t\t\t\t\tif (oldStructureMappings!=null) {\r\n\t\t\t\t\t\tfor (int i = 0; i < oldStructureMappings.length; i++){\r\n\t\t\t\t\t\t\toldStructureMappings[i].removePropertyChangeListener(this);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tSpeciesContextSpec newValue = (SpeciesContextSpec)evt.getNewValue();\r\n\t\t\tif (newValue!=null){\r\n\t\t\t\tnewValue.addPropertyChangeListener(this);\r\n\t\t\t\tParameter newParameters[] = newValue.getParameters();\r\n\t\t\t\tif (newParameters != null) {\r\n\t\t\t\t\tfor (int i = 0; i < newParameters.length; i ++){\r\n\t\t\t\t\t\tnewParameters[i].addPropertyChangeListener(this);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\tSimulationContext newSimContext = newValue.getSimulationContext();\r\n\t\t\t\tif (newSimContext!=null){\r\n\t\t\t\t\tnewSimContext.getGeometryContext().addPropertyChangeListener(this);\r\n\t\t\t\t\tStructureMapping[] newStructureMappings = newSimContext.getGeometryContext().getStructureMappings();\r\n\t\t\t\t\tif (newStructureMappings != null) {\r\n\t\t\t\t\t\tfor (int i = 0; i < newStructureMappings.length; i++){\r\n\t\t\t\t\t\t\tnewStructureMappings[i].addPropertyChangeListener(this);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\trefreshData();\r\n\t\t}\r\n\t\tif (evt.getSource() instanceof SpeciesContextSpec){\r\n\t\t\t// if parameters changed must update listeners\r\n\t\t\tif (evt.getPropertyName().equals(\"parameters\")) {\r\n\t\t\t\tParameter oldParameters[] = (Parameter[])evt.getOldValue();\r\n\t\t\t\tif (oldParameters!=null) {\r\n\t\t\t\t\tfor (int i = 0;i<oldParameters.length; i++){\r\n\t\t\t\t\t\toldParameters[i].removePropertyChangeListener(this);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\tParameter newParameters[] = (Parameter[])evt.getNewValue();\r\n\t\t\t\tif (newParameters!=null) {\r\n\t\t\t\t\tfor (int i = 0;i<newParameters.length; i++){\r\n\t\t\t\t\t\tnewParameters[i].addPropertyChangeListener(this);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tif (!evt.getPropertyName().equals(SpeciesContextSpec.PARAMETER_NAME_PROXY_PARAMETERS)) {\r\n\t\t\t\t// for any change to the SpeciesContextSpec, want to update all.\r\n\t\t\t\t// proxy parameters don't affect table\r\n\t\t\t\trefreshData();\r\n\t\t\t}\r\n\t\t}\r\n\t\tif(evt.getSource() instanceof Parameter){\r\n\t\t\trefreshData();\r\n\t\t}\r\n\t} catch (Exception e){\r\n\t\te.printStackTrace(System.out);\r\n\t}\r\n}", "void onChangeEvent(CarPropertyValue value);", "protected PropertyChangeSupport getPropertyChange() {\r\n\t\tif (propertyChange == null) {\r\n\t\t\tpropertyChange = new PropertyChangeSupport(this);\r\n\t\t}\r\n\t\t;\r\n\t\treturn propertyChange;\r\n\t}", "@Override\n\tpublic void onPropertyModified(PropertyDescriptor descriptor, String oldValue, String newValue) {\n\t\tsuper.onPropertyModified(descriptor, oldValue, newValue);\n\t\t\n\t\t\n\t\t\n\t}", "@Override\n public void propertyChange(PropertyChangeEvent evt) {\n if (evt.getPropertyName() == DataObject.PROP_MODIFIED &&\n evt.getNewValue() == Boolean.FALSE) {\n // dataobject has been modified, context graph is out of sync\n synchronized (this) {\n context = null;\n }\n }\n }", "public void propertyChange(PropertyChangeEvent e) {\n\n logger.debug(LOG_TAG + \".propertyChangeListener()\");\n String propertyName = e.getPropertyName();\n\n switch(propertyName) {\n case \"progress\":\n logger.info(\"client progress: \" + e.getNewValue());\n\n break;\n case \"state\":\n StateValue stateValue = ((StateValue)e.getNewValue());\n logger.info(\"client state: \" + stateValue.toString());\n\n switch(stateValue) {\n case STARTED:\n\n break;\n case PENDING:\n\n break;\n case DONE:\n\n break;\n } // eof switch\n } // eof switch\n\n }", "private static void usePropertyChangeListener() {\n SimpleStringProperty stringProperty = new SimpleStringProperty(\"xyz\");\n // Prints property's value\n System.out.println(stringProperty.getValue());\n // Adds a listener - action that will be run if property's value changes.\n stringProperty.addListener((observable, oldValue, newValue) -> {\n System.out.println(\"New value is set: \" + newValue);\n });\n // Sets new value\n stringProperty.setValue(\"Some new value\");\n }", "public void addPropertyChangeListener(PropertyChangeListener propertyChangeListener) {\n }", "private void change() {\n\t\tsetChanged();\n\t\t//NotifyObservers calls on the update-method in the GUI\n\t\tnotifyObservers();\n\t}", "private void FilterPropertyChanges(Object sender, PropertyChangedEventArgs e)\r\n {\r\n // check if this is the property of interest\r\n if (e.getPropertyValue(_propertyName)!= null)\r\n PropertyChanged();\r\n }", "public void propertyChange(PropertyChangeEvent evt) {\n\t\t/*\n\t\t * String prop = evt.getPropertyName();\n\t\t * if(prop.equals(ConceptSelector.CONCEPT_SELECTED) && evt.getNewValue()\n\t\t * != null){ ReportDocument doc =\n\t\t * caseAuthor.getReportPanel().getReportDocument();\n\t\t * doc.clearBackground(); ConceptEntry entry = (ConceptEntry)\n\t\t * evt.getNewValue(); for(ConceptLabel lbl: entry.getLabels()){\n\t\t * lbl.setBackgroundColor(Color.yellow); lbl.update(doc); } }\n\t\t */\n\t}", "public void propertyChange(PropertyChangeEvent ev) {\n\t\tif (ev.getPropertyName().equals(HPort.PROPERTY_BOUNDS)) this.refreshVisuals();\r\n\t//\tif (ev.getPropertyName().equals(IHProvidesPort.PROPERTY_COLOR)) this.refreshVisuals();\r\n\r\n\t\t\t\r\n\t}", "public void propertyChange(PropertyChangeEvent evt) {\n if (evt.getPropertyName().equals(\"title\")) {\n KernelLink ml = StdLink.getLink();\n StdLink.requestTransaction();\n KernelLink kernelLink = ml;\n synchronized (kernelLink) {\n try {\n ml.putFunction(\"EvaluatePacket\", 1);\n ml.putFunction(titleChangedFunc, 2);\n ml.put(evt.getSource());\n ml.put(evt.getNewValue());\n ml.endPacket();\n ml.discardAnswer();\n }\n catch (MathLinkException exc) {\n ml.clearError();\n ml.newPacket();\n }\n }\n }\n }", "@Override\n public void propertyChange(final PropertyChangeEvent theEvent) {\n if (\"speed up\".equals(theEvent.getPropertyName())) {\n faster();\n } else if (\"change dimensions\".equals(theEvent.getPropertyName())) {\n myWidth = (int) theEvent.getOldValue();\n myHeight = (int) theEvent.getNewValue();\n } else if (\"update board\".equals(theEvent.getPropertyName())) {\n myGameMode = (String) theEvent.getOldValue();\n myBoard = (Board) theEvent.getNewValue();\n }\n }", "public final void propertyChange(PropertyChangeEvent evt) {\n Object oldValue = evt.getOldValue();\n Object newValue = evt.getNewValue();\n String propertyName = evt.getPropertyName();\n if ((oldValue instanceof Document) || (newValue instanceof Document)) {\n if (oldValue != null) {\n ((Document)oldValue).removeDocumentListener(this);\n i18nView = false;\n }\n if (newValue != null) {\n ((Document)newValue).addDocumentListener(this);\n if (\"document\" == propertyName) {\n setView(null);\n BasicTextUI.this.propertyChange(evt);\n modelChanged();\n return;\n }\n }\n modelChanged();\n }\n if (\"focusAccelerator\" == propertyName) {\n updateFocusAcceleratorBinding(true);\n } else if (\"componentOrientation\" == propertyName) {\n // Changes in ComponentOrientation require the views to be\n // rebuilt.\n Document document = editor.getDocument();\n final String I18NProperty = \"i18n\";\n // if a default direction of right-to-left has been specified,\n // we want complex layout even if the text is all left to right.\n if (ComponentOrientation.RIGHT_TO_LEFT == newValue\n && ! Boolean.TRUE.equals(document.getProperty(I18NProperty))) {\n document.putProperty(I18NProperty, Boolean.TRUE);\n }\n modelChanged();\n } else if (\"font\" == propertyName) {\n modelChanged();\n } else if (\"dropLocation\" == propertyName) {\n dropIndexChanged();\n } else if (\"editable\" == propertyName) {\n updateCursor();\n modelChanged();\n }\n BasicTextUI.this.propertyChange(evt);\n }", "public void propertyChange(PropertyChangeEvent e) {\n String name = e.getPropertyName();\n if (name.equals(\"stepnumber\")) { //$NON-NLS-1$\n if (trackerPanel.getSelectedTrack() == this) {\n displayWorldCoordinates();\n stepValueLabel.setText(e.getNewValue() + \":\"); //$NON-NLS-1$\n }\n } else if (name.equals(\"locked\")) { //$NON-NLS-1$\n xField.setEnabled(!isLocked());\n yField.setEnabled(!isLocked());\n } else super.propertyChange(e);\n }", "@Override\n public void actionPerformed (ActionEvent e) {\n fireChanged();\n }", "public void propertyChange(final PropertyChangeEvent _event)\n {\n this.updateStyle();\n }", "void addPropertyChangeListener(PropertyChangeListener listener);", "public void notifyChange()\r\n {\r\n setChanged();\r\n notifyObservers();\r\n }", "Property changeValue(PropertyValue<?, ?> oldValue,\n\t\t\tPropertyValue<?, ?> newValue);", "@Override\n public void propertyChange(PropertyChangeEvent evt) {\n requestProcessor.post(new Runnable() {\n @Override\n public void run() {\n initModels();\n }\n });\n }", "public void changePropery(String property, String newValueExpr) {\n \t\n\n \n\t}", "protected void do_salaryFTF_propertyChange(PropertyChangeEvent arg0) {\n\t\tsetIncomeTotal();\n\t}", "public void fireVetoableChange(java.lang.String propertyName, java.lang.Object oldValue, java.lang.Object newValue) throws java.beans.PropertyVetoException {\n\t\tgetVetoPropertyChange().fireVetoableChange(propertyName, oldValue, newValue);\n\t}", "protected final void fireVetoableChange(String propertyName, Object oldValue, Object newValue)\n throws PropertyVetoException {\n VetoableChangeSupport aVetoSupport = this.vetoSupport;\n if (aVetoSupport == null) {\n return;\n }\n aVetoSupport.fireVetoableChange(propertyName, oldValue, newValue);\n }" ]
[ "0.8623642", "0.85761034", "0.8214322", "0.7990732", "0.78568214", "0.77893364", "0.7787816", "0.77551365", "0.7725273", "0.7725273", "0.77168924", "0.7700601", "0.7681501", "0.7650143", "0.76152647", "0.76043874", "0.7600679", "0.7589146", "0.7579528", "0.75687", "0.7447208", "0.7443623", "0.74348277", "0.73899066", "0.7326647", "0.72946256", "0.72598886", "0.7237653", "0.72358817", "0.7147544", "0.70970374", "0.70534194", "0.7019077", "0.7011117", "0.69924873", "0.6971544", "0.6959086", "0.6936391", "0.6928967", "0.6883373", "0.6838686", "0.683781", "0.68105537", "0.67903876", "0.6783481", "0.67605287", "0.67419356", "0.6736394", "0.67359453", "0.6722218", "0.6694086", "0.6691221", "0.6674121", "0.6669768", "0.6630076", "0.66204345", "0.66120833", "0.6599366", "0.6598833", "0.6546316", "0.65416485", "0.65368855", "0.6532417", "0.65033084", "0.6487502", "0.6452542", "0.6450373", "0.64349324", "0.6422736", "0.64191866", "0.64177954", "0.64176714", "0.6400664", "0.6397854", "0.63917106", "0.63862896", "0.6382618", "0.6368214", "0.6367283", "0.63665056", "0.63609505", "0.6350025", "0.6324339", "0.63241684", "0.63173467", "0.6313577", "0.63101864", "0.6294301", "0.62863696", "0.6279904", "0.6279719", "0.62707144", "0.62597156", "0.6258514", "0.62513375", "0.6239919", "0.62193745", "0.6218322", "0.62180895", "0.61852074" ]
0.7629995
14
The fireVetoableChange method was generated to support the vetoPropertyChange field.
public void fireVetoableChange(java.lang.String propertyName, java.lang.Object oldValue, java.lang.Object newValue) throws java.beans.PropertyVetoException { getVetoPropertyChange().fireVetoableChange(propertyName, oldValue, newValue); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void fireVetoableChange(java.lang.String propertyName, java.lang.Object oldValue, java.lang.Object newValue) throws java.beans.PropertyVetoException {\r\n\tgetVetoPropertyChange().fireVetoableChange(propertyName, oldValue, newValue);\r\n}", "protected final void fireVetoableChange(PropertyChangeEvent event) throws PropertyVetoException {\n VetoableChangeSupport aVetoSupport = this.vetoSupport;\n if (aVetoSupport == null) {\n return;\n }\n aVetoSupport.fireVetoableChange(event);\n }", "protected java.beans.VetoableChangeSupport getVetoPropertyChange() {\r\n\tif (vetoPropertyChange == null) {\r\n\t\tvetoPropertyChange = new java.beans.VetoableChangeSupport(this);\r\n\t};\r\n\treturn vetoPropertyChange;\r\n}", "protected final void fireVetoableChange(String propertyName, Object oldValue, Object newValue)\n throws PropertyVetoException {\n VetoableChangeSupport aVetoSupport = this.vetoSupport;\n if (aVetoSupport == null) {\n return;\n }\n aVetoSupport.fireVetoableChange(propertyName, oldValue, newValue);\n }", "protected final void fireVetoableChange(String name, Object o, Object n)\n throws PropertyVetoException {\n // even though o == null and n == null will signify a change, that\n // is consistent with PropertyChangeSupport's behavior and is\n // necessary for this to work\n boolean noChange = ((o != null) && (n != null) && o.equals(n));\n\n super.fireVetoableChange(name, o, n);\n\n if (!(PROP_MODIFIED.equals(name)) && !noChange) {\n fireVetoableChange(PROP_MODIFIED, Boolean.FALSE, Boolean.TRUE);\n }\n }", "protected final void fireVetoableChange(String propertyName, boolean oldValue, boolean newValue)\n throws PropertyVetoException {\n VetoableChangeSupport aVetoSupport = this.vetoSupport;\n if (aVetoSupport == null) {\n return;\n }\n aVetoSupport.fireVetoableChange(propertyName, oldValue, newValue);\n }", "public void vetoableChange(java.beans.PropertyChangeEvent evt) throws java.beans.PropertyVetoException {\n\t}", "protected final void fireVetoableChange(String propertyName, int oldValue, int newValue)\n throws PropertyVetoException {\n VetoableChangeSupport aVetoSupport = this.vetoSupport;\n if (aVetoSupport == null) {\n return;\n }\n aVetoSupport.fireVetoableChange(\n propertyName, Integer.valueOf(oldValue), Integer.valueOf(newValue));\n }", "public synchronized void addVetoableChangeListener(java.beans.VetoableChangeListener listener) {\r\n\tgetVetoPropertyChange().addVetoableChangeListener(listener);\r\n}", "protected final void fireVetoableChange(String propertyName, long oldValue, long newValue)\n throws PropertyVetoException {\n fireVetoableChange(propertyName, Long.valueOf(oldValue), Long.valueOf(newValue));\n }", "protected final void fireVetoableChange(String propertyName, float oldValue, float newValue)\n throws PropertyVetoException {\n fireVetoableChange(propertyName, Float.valueOf(oldValue), Float.valueOf(newValue));\n }", "protected final void fireVetoableChange(String propertyName, double oldValue, double newValue)\n throws PropertyVetoException {\n fireVetoableChange(propertyName, Double.valueOf(oldValue), Double.valueOf(newValue));\n }", "public synchronized void addVetoableChangeListener(java.beans.VetoableChangeListener listener) {\n\t\tgetVetoPropertyChange().addVetoableChangeListener(listener);\n\t}", "public synchronized void addVetoableChangeListener(VetoableChangeListener l) {\n if (vetoableSupport == null) {\n vetoableSupport = new VetoableChangeSupport(this);\n }\n\n vetoableSupport.addVetoableChangeListener(l);\n }", "public void addVetoableChangeListener (VetoableChangeListener listener)\n\t{\n\t\tif (m_changeSupport == null)\n\t\t\tm_changeSupport = new VetoableChangeSupport (this);\n\t\tif (listener != null)\n\t\t\tm_changeSupport.addVetoableChangeListener(listener);\n\t}", "private void tblEntryVetoableChange(java.beans.PropertyChangeEvent evt)throws java.beans.PropertyVetoException {\n }", "void addVeto(VetoableOperation operation, EntityShieldVeto veto) throws UPAException;", "public X addVetoable(VetoableChangeListener listener) {\n component.addVetoableChangeListener(listener);\n return (X) this;\n }", "private void addVetoablePropertyChangeListener(ActionListener<VetoablePropertyChangeEvent> l) {\n if (root != null) {\n Property prop = property;\n if (prop == null && tags != null) {\n prop = root.getEntity().findProperty(tags);\n }\n if (prop != null) {\n root.getEntity().addVetoablePropertyChangeListener(prop, l);\n }\n } else {\n Entity leafEntity = getLeafEntity();\n Property leafProperty = getLeafProperty();\n if (leafEntity != null && leafProperty != null) {\n leafEntity.getEntity().addVetoablePropertyChangeListener(leafProperty, l);\n }\n parent.addVetoablePropertyChangeListener(l);\n }\n \n }", "public synchronized void removeVetoableChangeListener(java.beans.VetoableChangeListener listener) {\r\n\tgetVetoPropertyChange().removeVetoableChangeListener(listener);\r\n}", "public synchronized void removeVetoableChangeListener(VetoableChangeListener l) {\n if (vetoableSupport != null) {\n vetoableSupport.removeVetoableChangeListener(l);\n }\n }", "@Override\r\n\tprotected void firePropertyChange(int action) {\r\n\t\tsuper.firePropertyChange(action);\r\n\t}", "private void removeVetoablePropertyChangeListener(ActionListener<VetoablePropertyChangeEvent> l) {\n if (root != null) {\n Property prop = property;\n if (prop == null && tags != null) {\n prop = root.getEntity().findProperty(tags);\n }\n if (prop != null) {\n root.getEntity().addVetoablePropertyChangeListener(prop, l);\n }\n } else {\n Entity leafEntity = getLeafEntity();\n Property leafProperty = getLeafProperty();\n if (leafEntity != null && leafProperty != null) {\n leafEntity.getEntity().addVetoablePropertyChangeListener(leafProperty, l);\n }\n parent.addVetoablePropertyChangeListener(l);\n }\n }", "public void vetoableAction(PermissibleActionEvent evt) {\n\t}", "public void removeVetoableChangeListener (VetoableChangeListener listener) \n {\n\t\tif (m_changeSupport != null && listener != null)\n\t\t\tm_changeSupport.removeVetoableChangeListener(listener);\n }", "protected final void firePropertyChange(String name, Object o, Object n) {\n // even though o == null and n == null will signify a change, that\n // is consistent with PropertyChangeSupport's behavior and is\n // necessary for this to work\n boolean noChange = ((o != null) && (n != null) && o.equals(n));\n\n super.firePropertyChange(name, o, n);\n\n if (!(PROP_MODIFIED.equals(name)) && !noChange) {\n setModified(true);\n }\n }", "public synchronized void removeVetoableChangeListener(java.beans.VetoableChangeListener listener) {\n\t\tgetVetoPropertyChange().removeVetoableChangeListener(listener);\n\t}", "public void firePropertyChange(String propertyName, Object oldValue, Object newValue);", "public void clear() throws ChangeVetoException;", "protected final void firePropertyChange(PropertyChangeEvent event) {\n PropertyChangeSupport aChangeSupport = this.changeSupport;\n if (aChangeSupport == null) {\n return;\n }\n aChangeSupport.firePropertyChange(event);\n }", "public void notifyChangementCroyants();", "protected void firePropertyChange( java.beans.PropertyChangeEvent evt ) {\n propertyChangeSupport.firePropertyChange( evt );\n }", "public void stateChanged(ChangeEvent param1ChangeEvent) {\n/* 1503 */ if (param1ChangeEvent == null) {\n/* 1504 */ throw new NullPointerException();\n/* */ }\n/* 1506 */ firePropertyChange(\"AccessibleVisibleData\", \n/* 1507 */ Boolean.valueOf(false), \n/* 1508 */ Boolean.valueOf(true));\n/* */ }", "public void fireChange() {\n fireChange(new ChangeEvent(source));\n }", "@Override\n\t\t\tpublic void changed(ChangeEvent event, Actor actor) {\n\t\t\t}", "@Override\n\t\t\tpublic void changed(ChangeEvent event, Actor actor) {\n\t\t\t}", "@Override\n\t\t\tpublic void changed(ChangeEvent event, Actor actor) {\n\t\t\t}", "@Override\n\t\t\tpublic void changed(ChangeEvent event, Actor actor) {\n\t\t\t}", "@Override\n\t\tpublic void onChange(boolean selfChange) {\n\t\t\tsuper.onChange(selfChange);\n\t\t}", "public void fireChangeEvent(ChangeEvent event);", "public void firePropertyChange(String p, Object a, Object b) {\n\n\t}", "public void execute() throws PropertyVetoException {\n try {\n if (oper == null) {\n oper = new Srraw01sStudReadmissWorklistOperation(this);\n addCompletionListener(new operListener(this));\n addExceptionListener(new operListener(this));\n }\n \n\n \n oper.doSrraw01sStudReadmissWorklistOperation();\n notifyCompletionListeners();\n }\n catch (PropertyVetoException ePve) {\n PropertyChangeEvent pce = ePve.getPropertyChangeEvent();\n String s = pce.getPropertyName();\n System.out.println(\"\\nPropertyVetoException on \" + s + \": \" + ePve.toString());\n throw ePve;\n }\n catch (ProxyException e) {\n notifyExceptionListeners(e.toString());\n return;\n }\n }", "public void firePropertyChange(java.lang.String propertyName, java.lang.Object oldValue, java.lang.Object newValue) {\r\n\tgetPropertyChange().firePropertyChange(propertyName, oldValue, newValue);\r\n}", "@Override\n public void onChange(boolean selfChange) {\n onChange(selfChange, null);\n }", "public X removeVetoable(VetoableChangeListener listener) {\n component.removeVetoableChangeListener(listener);\n return (X) this;\n }", "protected final void fireChangeEvent() {\n\t\tIterator<ChangeListener> it;\n\t\tsynchronized (listeners) {\n\t\t\tit = new HashSet<ChangeListener>(listeners).iterator();\n\t\t}\n\t\tChangeEvent ev = new ChangeEvent(this);\n\t\twhile (it.hasNext()) {\n\t\t\tit.next().changed(ev);\n\t\t}\n\t}", "@Override\n public void propertyChange(PropertyChangeEvent event) {\n if (!hasOverrideFor(event.getProperty()))\n fireMappingChanged(event.getProperty(), event.getOldValue(), event.getNewValue());\n }", "@Override\r\n public void firePropertyChange(final String propertyName, final boolean oldValue, final boolean newValue) {\r\n /* we dont need propertychange events */\r\n if (\"indeterminate\".equals(propertyName)) {\r\n // this is required to forward indeterminate changes to the ui. This\r\n // would cfreate nullpointers in the uis because progresbar might\r\n // try to paint indeterminate states, but the ui has not been\r\n // initialized due to the missing event\r\n super.firePropertyChange(propertyName, oldValue, newValue);\r\n }\r\n }", "protected void fireStateChanged() {\r\n Object[] listeners = listenerList.getListenerList();\r\n for (int i = listeners.length - 2; i >= 0; i -= 2) {\r\n if (listeners[i] == ChangeListener.class) {\r\n if (changeEvent == null) {\r\n changeEvent = new ChangeEvent(this);\r\n }\r\n ((ChangeListener) listeners[i + 1]).stateChanged(changeEvent);\r\n }\r\n }\r\n }", "@Override\n \tpublic void propertyChange(PropertyChangeEvent arg0) {\n \t\t\n \t}", "protected void fireStateChanged() \r\n {\r\n Object[] listeners = listenerList.getListenerList();\r\n for (int i = listeners.length - 2; i >= 0; i -=2 ) {\r\n if (listeners[i] == ChangeListener.class) {\r\n if (changeEvent == null) {\r\n changeEvent = new ChangeEvent(this);\r\n }\r\n ((ChangeListener)listeners[i+1]).stateChanged(changeEvent);\r\n } \r\n }\r\n }", "void firePropertyChange() {\n java.util.Vector targets;\n synchronized (this) {\n if (listeners == null) {\n return;\n }\n targets = (java.util.Vector) listeners.clone();\n }\n\n PropertyChangeEvent evt = new PropertyChangeEvent(this, null, null, null);\n\n for (int i = 0; i < targets.size(); i++) {\n PropertyChangeListener target = (PropertyChangeListener)targets.elementAt(i);\n target.propertyChange(evt);\n }\n }", "@Override\r\n\tpublic void propertyChange(PropertyChangeEvent arg0) {\n\t\t\r\n\t}", "@Override\r\n\tpublic void propertyChange(PropertyChangeEvent arg0) {\n\t\t\r\n\t}", "@Override\n\t\tpublic void onChange(boolean selfChange) {\n\t\t\tmHandler.sendEmptyMessage(1);\n\t\t\tLog.i(\"message\", \"dataChange\");\n\t\t\tsuper.onChange(selfChange);\n\t\t}", "protected void fireColumnPropertyChange(PropertyChangeEvent evt) {\r\n// if (IGNORE_EVENT.equals(evt.getPropertyName())) return;\r\n // Guaranteed to return a non-null array\r\n Object[] listeners = listenerList.getListenerList();\r\n // Process the listeners last to first, notifying\r\n // those that are interested in this event\r\n for (int i = listeners.length-2; i>=0; i-=2) {\r\n if (listeners[i]==TableColumnModelExtListener.class) {\r\n ((TableColumnModelExtListener)listeners[i+1]).\r\n columnPropertyChange(evt);\r\n }\r\n }\r\n }", "protected void fireStateChanged() {\n if (listenerList != null) {\n // Guaranteed to return a non-null array\n Object[] listeners = listenerList.getListenerList();\n // Process the listeners last to first, notifying\n // those that are interested in this event\n for (int i = listeners.length - 2; i >= 0; i -= 2) {\n if (listeners[i] == ChangeListener.class) {\n // Lazily create the event:\n if (changeEvent == null) {\n changeEvent = new ChangeEvent(this);\n }\n ((ChangeListener) listeners[i + 1]).stateChanged(changeEvent);\n }\n }\n }\n }", "protected void firePropertyChange(String propertyName, Object oldValue, Object newValue)\n/* */ {\n/* 291 */ if (\"text\".equals(propertyName)) {\n/* 292 */ super.firePropertyChange(propertyName, oldValue, newValue);\n/* */ }\n/* */ }", "public void modelPropertyChange(PropertyChangeEvent evt) {\n\t\t\n\t}", "@Override\r\n\tpublic void propertyChange(PropertyChangeEvent arg0) {\n\r\n\t}", "protected final void firePropertyChange(String propertyName,\n java.lang.Object oldValue,\n java.lang.Object newValue) {\n if (changeSupport == null)\n return;\n changeSupport.firePropertyChange(propertyName, oldValue, newValue);\n // Should sent event to any remote stubs so they can fire there local listener lists\n // TBD\n }", "@Override\n\tpublic void propertyChange(PropertyChangeEvent arg0) {\n\t\t\n\t}", "private void onShowingChanged(ObservableValue<? extends Boolean> pObservable, Boolean pOldValue, Boolean pNewValue)\n\t\t{\n\t\t\tif (!pNewValue.booleanValue())\n\t\t\t{\n\t\t\t\tfireEditingComplete(ICellEditorListener.FOCUS_LOST);\n\t\t\t}\n\t\t}", "public void triggerEvent() {\n\t\ts.changeOpenState();\n\t\ts.setChangedAndNotify();\n\t\t\n\t}", "public void fireStateChanged() {\r\n Object[] listeners = listenerList.getListenerList();\r\n for (int i = listeners.length - 2; i >= 0; i -= 2) {\r\n if (listeners[i] == ChangeListener.class) {\r\n if (changeEvent == null) {\r\n return;\r\n }\r\n ((ChangeListener) listeners[i + 1]).stateChanged(changeEvent);\r\n }\r\n }\r\n }", "private void firePlatformChange() {\n// platform.firePropertyChange(Utils.PROP_JAVA_FX, null, null);\n try {\n Method method = JavaPlatform.class.getDeclaredMethod(\"firePropertyChange\", String.class, Object.class, Object.class); // NOI18N\n method.setAccessible(true);\n method.invoke(platform, JavaFXPlatformUtils.PROPERTY_JAVA_FX, null, null);\n } catch (Exception ex) {\n Exceptions.printStackTrace(ex);\n }\n }", "void onPropertyChange(String name, String newValue);", "@Override\n public void propertyChange(PropertyChangeEvent evt) {\n if (evt.getPropertyName() == DataObject.PROP_MODIFIED &&\n evt.getNewValue() == Boolean.FALSE) {\n // dataobject has been modified, context graph is out of sync\n synchronized (this) {\n context = null;\n }\n }\n }", "private void fireValueChange(boolean b) {\n \t\n\t\t\n\t}", "public synchronized void fireStateChanged() {\n Object[] listeners = listenerList.getListenerList();\n for (int i = listeners.length - 2; i >= 0; i -= 2)\n if (listeners[i] == ChangeListener.class) {\n if (changeEvent == null)\n return;\n ((ChangeListener) listeners[i + 1]).stateChanged(changeEvent);\n }\n }", "private void fireChangeInternal(ChangeEvent event) {\n assert event != null;\n for (ChangeListener listener : listeners) {\n try {\n listener.stateChanged(event);\n } catch (RuntimeException x) {\n Exceptions.printStackTrace(x);\n }\n }\n }", "@Override\n\tpublic void propertyChange(PropertyChangeEvent arg0)\n\t{\n\t\t\n\t}", "protected void fireStateChanged ()\n {\n Object[] listeners = listenerList.getListenerList();\n ChangeEvent event = null;\n for (int ii = listeners.length - 2; ii >= 0; ii -= 2) {\n if (listeners[ii] == ChangeListener.class) {\n if (event == null) {\n event = new ChangeEvent(this);\n }\n ((ChangeListener)listeners[ii + 1]).stateChanged(event);\n }\n }\n }", "protected void FirePropertyChangedEvent(Object value)\r\n {\r\n Type type = ProxyUtilities.getNonProxyBaseType(value.getClass());\r\n\r\n try {\r\n\t Field fInfo = type.getClass().getField(\"PropertyChanged\");//, BindingFlags.Instance | BindingFlags.NonPublic);\r\n\t if (fInfo != null)\r\n\t {\r\n\t Event eventDelegate;\t\t\t\r\n\t\t\t\t\teventDelegate = (Event)fInfo.get(value);\r\n\t\t\t\t\r\n\t\r\n\t if (eventDelegate != null)\r\n\t {\r\n\t \teventDelegate.RaiseEvent();\r\n\t// ArrayList<Delegate> delegates = eventDelegate.getInvocationList();\r\n\t//\r\n\t// for (Delegate dlg : delegates)\r\n\t// dlg.getMethod.Invoke(dlg.Target, new Object[] { value, new PropertyChangedEventArgs(_propertyName) });\r\n\t }\r\n\t }\r\n\t\t\t}\r\n\t\t\tcatch (Exception e) {\r\n\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\te.printStackTrace();\r\n\t\t\t} \r\n }", "protected void fireEvent() {\n\n if (!hasListeners()) {\n return;\n }\n if (this.observableChangeEvent == null) {\n this.observableChangeEvent = new ObservableEventImpl<>(this);\n }\n ObservableEventImpl<V> event = this.observableChangeEvent.start();\n fireEvent(event);\n event.end();\n }", "protected final void firePropertyChange(String propertyName, Object oldValue, Object newValue) {\n PropertyChangeSupport aChangeSupport = this.changeSupport;\n if (aChangeSupport == null) {\n return;\n }\n aChangeSupport.firePropertyChange(propertyName, oldValue, newValue);\n }", "protected void fireStateChanged(){\n Object[] listeners=listenerList.getListenerList();\n // Process the listeners last to first, notifying\n // those that are interested in this event\n for(int i=listeners.length-2;i>=0;i-=2){\n if(listeners[i]==ChangeListener.class){\n // Lazily create the event:\n if(changeEvent==null)\n changeEvent=new ChangeEvent(this);\n ((ChangeListener)listeners[i+1]).stateChanged(changeEvent);\n }\n }\n }", "public native final EditorBaseEvent changedEvent(EventFacade val) /*-{\n\t\tthis.changedEvent = val;\n\t\treturn this;\n\t}-*/;", "protected void fireStateChanged() {\n Object[] listeners = changeListeners.getListenerList();\n // Process teh listeners last to first, notifying those that are\n // interested in this event.\n for (int i = listeners.length - 2; i >= 0; i -= 2) {\n if (listeners[i] == ChangeListener.class) {\n if (changeEvent == null) {\n changeEvent = new ChangeEvent(this);\n ((ChangeListener) listeners[i + 1]).stateChanged(changeEvent);\n }\n }\n }\n }", "private void vetoedCancelled(VetoedTriggerKey vetoedkey) {\n\t\tlogger.info(\"cancelled wainting job:\" + vetoedkey.getKey().toString() + \"\");\n\t\tJobReceiverImpl receiver = (JobReceiverImpl) jobFacade.getJobReceiver(vetoedkey.getKey().getName());\n\t\treceiver.putEvent(vetoedkey.getKey().getName(), TRIGGEREVENT.MISFIRED, new Date());\n\t\tint ilast = receiver.resultCount() - 1;\n\t\tif (ilast >= 0) {\n\t\t\tJobResultImpl result = (JobResultImpl) receiver.getJobResult(ilast);\n\t\t\tresult.setWaitexpiredAt(new Date());\n\t\t}\n\t}", "public void tableViewChanged(ObjectViewModelEvent pEvent);", "@Override\n\tpublic void setOnChangeEvent(String functionName) {\n\t\t\n\t}", "protected java.beans.PropertyChangeSupport getPropertyChange() {\r\n\tif (propertyChange == null) {\r\n\t\tpropertyChange = new java.beans.PropertyChangeSupport(this);\r\n\t};\r\n\treturn propertyChange;\r\n}", "@Override\n\tpublic void propertyChange() {\n\t\tthis.apply();\n\t}", "public void testFirePropertyChangeEvent() {\n ModelElementChangeListenerMock listener = new ModelElementChangeListenerMock();\n instance.addModelElementChangeListener(listener);\n instance.firePropertyChangeEvent(new GuardImpl(), PropertyKind.ACTIVE, PropertyOperation.MODIFY, \"accuracy\");\n assertTrue(\"Failed to fire the event.\", listener.IsCalled());\n }", "void onSelectedEventChange(@Nullable Event currentSelectedEvent);", "protected final void firePropertyChange(String propertyName, boolean oldValue, boolean newValue) {\n PropertyChangeSupport aChangeSupport = this.changeSupport;\n if (aChangeSupport == null) {\n return;\n }\n aChangeSupport.firePropertyChange(propertyName, oldValue, newValue);\n }", "@Override\n public void fire(final WorkspaceProjectContextChangeEvent event) {\n }", "protected void fireChangeEvent (ModelProperties prop)\n {\n\tJsimEvent evt;\n\tString\t SLASH = System.getProperty (\"file.separator\");\n\tString fname = System.getProperty (\"user.home\");\n\tString xmlStr;\n\n\tif (use_xml) {\n try {\n Vector data = new Vector (); data.add (prop);\n if (generate_xml_files) {\n\t\t fname += SLASH + \"JSIM\" + SLASH + \"jsim\" + SLASH +\n\t\t\t\t\"jmessage\" + SLASH + \"change.xml\";\n\t\t xmlStr = XMLSerializer.serialize (data, fname);\n\t\t} else {\n\t\t xmlStr = XMLSerializer.serialize (data);\n\t\t}; // if\n } catch (Exception e) {\n trc.tell (\"fireChangeEvent\", e.getMessage ());\n e.printStackTrace ();\n return;\n }\n\t evt = new JsimEvent (this, EventMap.CHANGE_EVT, xmlStr);\n\t} else {\n\t evt = new JsimEvent (this, EventMap.CHANGE_EVT, prop);\n\t}; // if\n\n propCache = prop;\n\tfireJsimEvent (evt);\n \n }", "void onPropertyChange(String key);", "public synchronized void setChanged() {\n super.setChanged();\n }", "@Override\n\tpublic void valueChange(ValueChangeEvent event) {\n\t\t\n\t}", "protected void do_childSupportFTF_propertyChange(PropertyChangeEvent arg0) {\n\t\tsetIncomeTotal();\n\t}", "public void setPropertyChanged(com.app.tvp.cas.cliente.PropertyChangedEventHandler propertyChanged) {\n this.propertyChanged = propertyChanged;\n }", "@Override\n public void changed( Change change ) {\n if ( !( change.isSelected()\n && change.isForInstanceOf( Node.class )\n && change.isForProperty( \"other\" ) ) ) {\n if ( change.isUpdated() ) {\n setFlowUpdated( true );\n }\n super.changed( change );\n }\n }", "protected void fireChangeEvent() {\n\t\tfireEvent(new DebugEvent(this, DebugEvent.CHANGE));\n\t}", "@Override\r\n public void stateChanged(ChangeEvent e) {\n }", "public final synchronized void setChanged() {\n\t\tsuper.setChanged ();\n }", "protected WeakPropertyChangeListener()\r\n {\r\n this(null);\r\n }", "public native final EventFacade changedEvent() /*-{\n\t\treturn this.changedEvent;\n\t}-*/;" ]
[ "0.84176636", "0.81429315", "0.8122965", "0.8100333", "0.7940009", "0.79210424", "0.7837294", "0.7745761", "0.7468135", "0.736675", "0.73598236", "0.71848744", "0.71053797", "0.7069393", "0.6851145", "0.68063575", "0.65266836", "0.6468229", "0.63602567", "0.62388694", "0.6202925", "0.6148427", "0.59698313", "0.58584744", "0.58344054", "0.57934517", "0.5737019", "0.570289", "0.568702", "0.56777245", "0.5675732", "0.5576562", "0.5563971", "0.5530468", "0.5469163", "0.5469163", "0.5469163", "0.5469163", "0.5455971", "0.5416966", "0.54146355", "0.53943336", "0.5388578", "0.5387593", "0.5362737", "0.53529084", "0.5346057", "0.5331021", "0.53109324", "0.53088224", "0.53081703", "0.52933764", "0.526188", "0.526188", "0.52581817", "0.52467245", "0.5245469", "0.52438885", "0.5232216", "0.52288187", "0.5221181", "0.5200827", "0.51973253", "0.51912796", "0.518936", "0.518331", "0.51825273", "0.5179915", "0.5179576", "0.51757854", "0.5173733", "0.5151138", "0.51458395", "0.51206136", "0.51127833", "0.5110873", "0.5097335", "0.50893396", "0.5089034", "0.5067402", "0.5060303", "0.50486594", "0.50452733", "0.5034975", "0.503407", "0.50249565", "0.5023893", "0.5002093", "0.5001374", "0.50001335", "0.49973145", "0.49953273", "0.4992743", "0.49850085", "0.49827233", "0.49826816", "0.49792048", "0.4975933", "0.4975876", "0.49677524" ]
0.7857384
6
Insert the method's description here. Creation date: (9/7/2005 3:26:06 PM)
public long getExpectedNumTimePoints() { long numTimepoints = 0; double endingTime = getTimeBounds().getEndingTime(); double startingTime = getTimeBounds().getStartingTime(); if (fieldOutputTimeSpec.isDefault()) { int keepEvery = ((DefaultOutputTimeSpec)fieldOutputTimeSpec).getKeepEvery(); int keepAtMost = ((DefaultOutputTimeSpec)fieldOutputTimeSpec).getKeepAtMost(); if (getSolverDescription().hasVariableTimestep()){ numTimepoints = keepAtMost; }else{ // fixed time step double timeStep = getTimeStep().getDefaultTimeStep(); double saveInterval = timeStep * keepEvery; numTimepoints = (long)((endingTime - startingTime) / saveInterval); // // keepAtMost will limit the number of points for ODEs. // for PDEs, keepAtMost is ignored. // if (getSolverDescription().supportsAll(SolverDescription.OdeFeatureSet.getSolverFeatures())) { numTimepoints = Math.min(numTimepoints, keepAtMost); } } } else if (fieldOutputTimeSpec.isExplicit()) { numTimepoints = ((ExplicitOutputTimeSpec)fieldOutputTimeSpec).getNumTimePoints(); } else if (fieldOutputTimeSpec.isUniform()) { double outputTimeStep = ((UniformOutputTimeSpec)fieldOutputTimeSpec).getOutputTimeStep(); numTimepoints = (long)((endingTime - startingTime)/outputTimeStep); } return numTimepoints; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "public void method_4270() {}", "public void method_201() {}", "@Override\r\n\tpublic void method() {\n\t\r\n\t}", "public void mo21793R() {\n }", "public void mo21795T() {\n }", "public void mo21878t() {\n }", "public void mo21779D() {\n }", "public void mo21877s() {\n }", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "public void mo55254a() {\n }", "@Override\n\tpublic void anular() {\n\n\t}", "public void mo21794S() {\n }", "public void mo21791P() {\n }", "public void mo38117a() {\n }", "public void mo21785J() {\n }", "public void mo97908d() {\n }", "@Override\r\n\tpublic void Method1() {\n\t\t\r\n\t}", "public void method_115() {}", "public void mo21782G() {\n }", "public void mo115188a() {\n }", "public void mo21825b() {\n }", "public void mo21783H() {\n }", "public void mo3376r() {\n }", "@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}", "public void mo21789N() {\n }", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "public void mo3749d() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo4359a() {\n }", "public void method(){}", "public void mo21788M() {\n }", "public void mo21780E() {\n }", "public void mo21880v() {\n }", "public void mo44053a() {\n }", "public void mo56167c() {\n }", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\n\tpublic void particular1() {\n\t\t\n\t}", "public Methods() {\n // what is this doing? -PMC\n }", "public void mo21792Q() {\n }", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "public void mo115190b() {\n }", "@Override\n public void date()\n {\n }", "public void mo2471e() {\n }", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "public final void mo51373a() {\n }", "public void mo9848a() {\n }", "@Override\n\tprotected void getExras() {\n\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\r\n\tpublic void Method3() {\n\t\t\r\n\t}", "public void mo1405e() {\n }", "public void mo6944a() {\n }", "public void mo21784I() {\n }", "public void mo12930a() {\n }", "public void mo21787L() {\n }", "public void mo9137b() {\n }", "public void method_193() {}", "public void method_199() {}", "@Override\r\n\tpublic void Method2() {\n\t\t\r\n\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "@Override\r\npublic int method() {\n\treturn 0;\r\n}", "public void method_206() {}", "@Override\n\tpublic void verkaufen() {\n\t}", "public void m23075a() {\n }", "public void method_202() {}", "public void mo9233aH() {\n }", "public void mo21781F() {\n }", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "@Override\n\tpublic void dosomething() {\n\t\t\n\t}", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "public void mo1531a() {\n }", "public void mo1403c() {\n }", "@Override\n\tpublic void myMethod() {\n\t\t\n\t}", "public void mo5248a() {\n }", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "public void method_6349() {\r\n super.method_6349();\r\n }", "public void mo97906c() {\n }", "@Override\n public void perish() {\n \n }", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}", "public void method_1449() {\r\n super.method_1449();\r\n }", "public void method_1449() {\r\n super.method_1449();\r\n }", "public void method_1449() {\r\n super.method_1449();\r\n }", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "public void mo21786K() {\n }", "public void mo5382o() {\n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "public void mo23813b() {\n }", "public void method_191() {}" ]
[ "0.705428", "0.67560995", "0.67534196", "0.66660744", "0.6565326", "0.65609604", "0.6503876", "0.64999527", "0.6485878", "0.64840984", "0.6470584", "0.6470584", "0.64671504", "0.64538634", "0.6426151", "0.64169973", "0.64069533", "0.6401737", "0.6384272", "0.63816094", "0.6381339", "0.6360926", "0.63596064", "0.635413", "0.6335813", "0.6333537", "0.63098896", "0.63035613", "0.62970847", "0.6296193", "0.6292528", "0.62856114", "0.62856114", "0.62856114", "0.62856114", "0.62856114", "0.62856114", "0.62856114", "0.6264192", "0.62622756", "0.62581146", "0.62479097", "0.6241217", "0.6235002", "0.6233463", "0.62320477", "0.6217623", "0.6212634", "0.6211308", "0.6206752", "0.62046224", "0.6200427", "0.6192191", "0.6192147", "0.61897755", "0.61897755", "0.618413", "0.6181543", "0.6174595", "0.61696154", "0.61684585", "0.6158842", "0.6157656", "0.61572444", "0.61406547", "0.6140553", "0.6139503", "0.61392397", "0.6138415", "0.6136351", "0.6127391", "0.6125257", "0.61198646", "0.61096716", "0.60965085", "0.60898", "0.6085203", "0.60821754", "0.60781145", "0.6076113", "0.6072364", "0.6057501", "0.6051298", "0.60500664", "0.6048698", "0.6048453", "0.6040613", "0.6030738", "0.6027859", "0.6022581", "0.6011965", "0.6008396", "0.60068196", "0.60068196", "0.60068196", "0.59998566", "0.5997628", "0.59923065", "0.5991924", "0.59864986", "0.59827137" ]
0.0
-1
Gets the outputTimeSpec property (cbit.vcell.solver.OutputTimeSpec) value.
public OutputTimeSpec getOutputTimeSpec() { return fieldOutputTimeSpec; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setOutputTimeSpec(OutputTimeSpec outputTimeSpec) throws java.beans.PropertyVetoException {\n\t\tif (!Matchable.areEqual(fieldOutputTimeSpec,outputTimeSpec)) {\n\t\t\tOutputTimeSpec oldValue = fieldOutputTimeSpec;\n\t\t\tfireVetoableChange(PROPERTY_OUTPUT_TIME_SPEC, oldValue, outputTimeSpec);\n\t\t\tfieldOutputTimeSpec = outputTimeSpec;\n\t\t\tfirePropertyChange(PROPERTY_OUTPUT_TIME_SPEC, oldValue, outputTimeSpec);\n\t\t}\n\t}", "public String getStopTime() {\n\t\treturn (new Parser(value)).skipString().getString();\n\t}", "public BigDecimal getOutKbitSecond() {\r\n return outKbitSecond;\r\n }", "public Date getOptTime() {\n\t\treturn optTime;\n\t}", "public double getSimulationTime() {\n\t\treturn Kernel.getSingleton().getSimulationClock().getSimulationTime();\n\t}", "public double getStopTime()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.SimpleValue target = null;\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(STOPTIME$24);\r\n if (target == null)\r\n {\r\n return 0.0;\r\n }\r\n return target.getDoubleValue();\r\n }\r\n }", "public double getEndTime() {\n return endTime;\n }", "public double getDtOutput() {\r\n return dtOutput;\r\n }", "public double getStopTime();", "public double getSimulationTime(TimeUnit desired_unit) {\n\t\tassert(desired_unit!=null);\n\t\treturn Kernel.getSingleton().getSimulationClock().getSimulationTime(desired_unit);\n\t}", "public Double getBestTime() {\n return bestTime;\n }", "public String getTimeOut() {\n return prop.getProperty(TIMEOUT_KEY);\n }", "public com.google.protobuf.ByteString\n getOutputBytes() {\n java.lang.Object ref = output_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n output_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public com.google.protobuf.ByteString\n getOutputBytes() {\n java.lang.Object ref = output_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n output_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public String getHourActualEnd() {\n return hourEndInput.getAttribute(\"value\");\n }", "public String getOutTime3() {\n\treturn outTime3;\n }", "public String getEndTime()\n {\n return this.endTime;\n }", "public String getOutputDatetimeString() {\n return this.outputFormatter.format(this.datetime);\n }", "@NonNull\n public String getPayoutTime() {\n return payoutTime;\n }", "public long getEndSystemTimeNano() {\n return endSystemTimeNano;\n }", "public String getOutTime1() {\n\treturn outTime1;\n }", "public String getOutTime2() {\n\treturn outTime2;\n }", "public int getSimulationTime() {\n return clock.getTimeCount();\n }", "public String getEndtime() {\n return endtime;\n }", "public double Time() {\n return OCCwrapJavaJNI.Units_Dimensions_Time(swigCPtr, this);\n }", "public int getTIME_OUT() {\n\t\treturn TIME_OUT;\n\t}", "public String getEndTimeString() {\n return endTimeString;\n }", "public byte getTime_unit() throws IOException\n\t{\n\t\tif ((__io__pointersize == 8)) {\n\t\t\treturn __io__block.readByte(__io__address + 10);\n\t\t} else {\n\t\t\treturn __io__block.readByte(__io__address + 10);\n\t\t}\n\t}", "public String getEndTime() {\r\n return endTime;\r\n }", "public String getPerformanceTime()\r\n {\r\n return performanceTime;\r\n }", "public String getEndTime() {\n return endTime;\n }", "public String getEndTime() {\n return endTime;\n }", "public String getEndTime() {\n return endTime;\n }", "public String getEstimatedTime() {\n return estimatedTime;\n }", "public long getEndTime() {\r\n return endTime;\r\n }", "public long getEnd_time() {\n return end_time;\n }", "public java.lang.String getOutput() {\n java.lang.Object ref = output_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n output_ = s;\n return s;\n }\n }", "public final EObject entryRuleTimeEventSpec() throws RecognitionException {\r\n EObject current = null;\r\n\r\n EObject iv_ruleTimeEventSpec = null;\r\n\r\n\r\n try {\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:1969:2: (iv_ruleTimeEventSpec= ruleTimeEventSpec EOF )\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:1970:2: iv_ruleTimeEventSpec= ruleTimeEventSpec EOF\r\n {\r\n if ( state.backtracking==0 ) {\r\n newCompositeNode(grammarAccess.getTimeEventSpecRule()); \r\n }\r\n pushFollow(FOLLOW_ruleTimeEventSpec_in_entryRuleTimeEventSpec4345);\r\n iv_ruleTimeEventSpec=ruleTimeEventSpec();\r\n\r\n state._fsp--;\r\n if (state.failed) return current;\r\n if ( state.backtracking==0 ) {\r\n current =iv_ruleTimeEventSpec; \r\n }\r\n match(input,EOF,FOLLOW_EOF_in_entryRuleTimeEventSpec4355); if (state.failed) return current;\r\n\r\n }\r\n\r\n }\r\n \r\n catch (RecognitionException re) { \r\n recover(input,re); \r\n appendSkippedTokens();\r\n } \r\n finally {\r\n }\r\n return current;\r\n }", "@Override\n\tpublic String getFinishTime() {\n\t\treturn finishTime;\n\t}", "public long getEndTime() {\n return endTime;\n }", "public long getEndTime() {\n return endTime;\n }", "public String getTimeUnit()\n\t{\n\t\treturn timeUnit;\n\t}", "public double getTimeOffset() {\r\n return lastTimeOutput;\r\n }", "public double[] getTimeBest()\r\n\t{\r\n\t\tint i;\r\n\t\tdouble[] time_step; \r\n\r\n\t\ttime_step = new double[_esn.getNumOutputNeurons()];//create an element for each output neuron\r\n\t\tfor(i=0; i<time_step.length; i++)\r\n\t\t{\r\n\t\t\ttime_step[i] = _time_best;\r\n\t\t}\r\n\t\t\r\n\t\treturn time_step;\r\n\t}", "public String getEndTime() {\n return endTime;\n }", "public java.lang.Long getEndTime() {\n return end_time;\n }", "public java.lang.String getOutput() {\n java.lang.Object ref = output_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n output_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public long getEndTime() {\n\t\treturn endTime;\n\t}", "public String getOptime() {\n return optime;\n }", "@gw.internal.gosu.parser.ExtendedProperty\n public java.util.Date getEndTime() {\n return (java.util.Date)__getInternalInterface().getFieldValue(ENDTIME_PROP.get());\n }", "@gw.internal.gosu.parser.ExtendedProperty\n public java.util.Date getEndTime() {\n return (java.util.Date)__getInternalInterface().getFieldValue(ENDTIME_PROP.get());\n }", "@gw.internal.gosu.parser.ExtendedProperty\n public java.lang.Long getWorkElapsed() {\n return (java.lang.Long)__getInternalInterface().getFieldValue(WORKELAPSED_PROP.get());\n }", "public java.lang.Long getEndTime() {\n return end_time;\n }", "@gw.internal.gosu.parser.ExtendedProperty\n public java.lang.Long getWorkElapsed() {\n return (java.lang.Long)__getInternalInterface().getFieldValue(WORKELAPSED_PROP.get());\n }", "public String getTimeType() {\n\t\treturn timeType;\n\t}", "public org.landxml.schema.landXML11.GPSTime xgetStopTime()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.landxml.schema.landXML11.GPSTime target = null;\r\n target = (org.landxml.schema.landXML11.GPSTime)get_store().find_attribute_user(STOPTIME$24);\r\n return target;\r\n }\r\n }", "public Integer getEndTime() {\n return endTime;\n }", "public Date getInputTime() {\n return inputTime;\n }", "public Date getInputTime() {\n return inputTime;\n }", "@gw.internal.gosu.parser.ExtendedProperty\n public java.util.Date getEndTime() {\n return (java.util.Date)__getInternalInterface().getFieldValue(ENDTIME_PROP.get());\n }", "@gw.internal.gosu.parser.ExtendedProperty\n public java.util.Date getEndTime() {\n return (java.util.Date)__getInternalInterface().getFieldValue(ENDTIME_PROP.get());\n }", "public Date getEndTime() {\r\n return this.endTime;\r\n }", "public Date getEndTime() {\n return this.endTime;\n }", "public long getResponseTimeSec() {\n return responseTimeSec_;\n }", "public String getOutputValue() {\n// System.out.println(\"geting output value from connection\");\n// System.out.println(\"out:\" + ncOutput.getName() + \" in:\" + ncInput.getName() );\n return _output.getOutputValue();\n }", "public long getResponseTimeSec() {\n return responseTimeSec_;\n }", "public String getEventTime() {\r\n\t\treturn eventTime;\r\n\t}", "public java.lang.String getTime_end() {\r\n return time_end;\r\n }", "@ApiModelProperty(value = \"The end of the requested reporting period, in ISO 8601 format. If this value is more than one year greater than begin_time, this endpoint returns an error. Default value: The current time.\")\n public String getEndTime() {\n return endTime;\n }", "public Type getOutputType() {\n Preconditions.checkState(prepared);\n Preconditions.checkState(!closed);\n return outputType;\n }", "public TestOut getOutput() {\n\treturn(output);\n }", "com.google.protobuf.Timestamp getEndTime();", "public java.lang.String getPlayTime() {\n java.lang.Object ref = playTime_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n playTime_ = s;\n return s;\n }\n }", "public DoubleProperty getOutputPower() {\n return this.outputPower;\n }", "public String getEventTime() {\r\n return eventTime;\r\n }", "public long getEndTime() {\n if (endTime < 0) {\n try {\n String datestr = PropertyArray.get(props, END);\n\n if (datestr == null) {\n // this may be more expensive because it can cause a\n // reload from disk\n try {\n datestr = getProperty(END);\n } catch (Fault f) {\n }\n }\n\n if (datestr != null) {\n Date date = parseDate(datestr);\n endTime = date.getTime();\n } else {\n // info not available\n }\n } catch (ParseException e) {\n }\n }\n\n return endTime;\n }", "public Date getElectronicEndTime() {\n return (Date)getAttributeInternal(ELECTRONICENDTIME);\n }", "public Integer getTestTime() {\n return testTime;\n }", "public String getEndTime() {\n return this.EndTime;\n }", "public int getEndTime()\n {\n if (isRepeated()) return end;\n else return time;\n }", "public OutputMode getOutputMode() {\n\t\treturn this.recordingProperties.outputMode();\n\t}", "public String getEndTime();", "public String getEndTime();", "public Integer getMaxTime() {\n return maxTime;\n }", "public java.lang.String getPlayTime() {\n java.lang.Object ref = playTime_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n playTime_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public long getPaintTime() {\n return this.paintTime;\n }", "@Override\n\tpublic float getEndTime() \n\t{\n\t\treturn _tend;\n\t}", "public Integer getOutputYmd() {\r\n return outputYmd;\r\n }", "public int getResponseTimeNsec() {\n return responseTimeNsec_;\n }", "public long getEndWallClockTime() {\n return endWallClockTime;\n }", "public int getResponseTimeNsec() {\n return responseTimeNsec_;\n }", "public Date getEndTime() {\n\t\treturn endTime;\n\t}", "public Time getBestTime()\n\t{\n\t\treturn bestTime;\n\t}", "public String getDtdSpecValue() {\n return getDtdSpecValue(0);\n }", "public OffsetDateTime endTime() {\n return this.endTime;\n }", "public long getEndTs() {\n return this.startTimestamp + this.resolution * this.size;\n }", "com.google.cloud.documentai.v1beta2.OutputConfig getOutputConfig();", "double getSolverTimeLimitSeconds();", "public String getEndTime() {\n/* 34 */ return this.endTime;\n/* */ }", "public Date getEndTime() {\n return endTime;\n }" ]
[ "0.64600235", "0.5453119", "0.53698003", "0.5316635", "0.5315044", "0.52892363", "0.5189364", "0.5166153", "0.51496726", "0.51008636", "0.5100526", "0.5056104", "0.50302863", "0.5018847", "0.50158757", "0.49664584", "0.49657142", "0.49604395", "0.49511856", "0.4940512", "0.4934269", "0.49245095", "0.4918106", "0.49137262", "0.49132302", "0.4905294", "0.49008647", "0.49008536", "0.4891823", "0.4882067", "0.48749727", "0.48749727", "0.48749727", "0.487282", "0.48622936", "0.48612982", "0.4860306", "0.48590723", "0.48588592", "0.4856171", "0.4856171", "0.4830309", "0.48268047", "0.4826263", "0.48238307", "0.48172083", "0.48094824", "0.4804387", "0.4800638", "0.47994933", "0.47994933", "0.4799394", "0.479933", "0.47947204", "0.47933373", "0.47896692", "0.47879162", "0.47862697", "0.47862697", "0.4778411", "0.4778411", "0.47751096", "0.47704536", "0.4766898", "0.47576255", "0.47478497", "0.47434235", "0.4733652", "0.4733379", "0.47200724", "0.4719122", "0.4718642", "0.47177324", "0.47172728", "0.47159752", "0.47075665", "0.46900472", "0.46814993", "0.46718574", "0.46708575", "0.46687746", "0.46662757", "0.46662757", "0.46569216", "0.4656173", "0.46534207", "0.46524706", "0.46488494", "0.4648795", "0.46479136", "0.4638023", "0.46357328", "0.463256", "0.46317792", "0.4628971", "0.46283773", "0.46273747", "0.46132824", "0.460627", "0.46056643" ]
0.7910313
0
Accessor for the propertyChange field.
protected java.beans.PropertyChangeSupport getPropertyChange() { if (propertyChange == null) { propertyChange = new java.beans.PropertyChangeSupport(this); }; return propertyChange; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected PropertyChangeSupport getPropertyChange() {\r\n\t\tif (propertyChange == null) {\r\n\t\t\tpropertyChange = new PropertyChangeSupport(this);\r\n\t\t}\r\n\t\t;\r\n\t\treturn propertyChange;\r\n\t}", "protected java.beans.PropertyChangeSupport getPropertyChange() {\r\n\tif (propertyChange == null) {\r\n\t\tpropertyChange = new java.beans.PropertyChangeSupport(this);\r\n\t};\r\n\treturn propertyChange;\r\n}", "public void propertyChange(PropertyChangeEvent evt) {\n \r\n }", "protected void PropertyChanged()\r\n { }", "PropertyChangeListener[] getPropertyChangeListeners();", "@Override\r\n\tpublic void propertyChange(PropertyChangeEvent arg0) {\n\t\t\r\n\t}", "@Override\r\n\tpublic void propertyChange(PropertyChangeEvent arg0) {\n\t\t\r\n\t}", "@Override\n\tpublic void propertyChange(PropertyChangeEvent arg0) {\n\t\t\n\t}", "@Override\n \tpublic void propertyChange(PropertyChangeEvent arg0) {\n \t\t\n \t}", "public PropertyChangeListener[] getPropertyChangeListeners();", "public com.app.tvp.cas.cliente.PropertyChangedEventHandler getPropertyChanged() {\n return propertyChanged;\n }", "@Override\r\n\tpublic void propertyChange(PropertyChangeEvent arg0) {\n\r\n\t}", "@Override\n\tpublic void propertyChange(PropertyChangeEvent arg0)\n\t{\n\t\t\n\t}", "void onChangeEvent(CarPropertyValue value);", "@Override\n\tpublic void propertyChange(PropertyChangeEvent evt) {\n\t\t\n\t}", "@NotNull\n @JsonProperty(\"change\")\n public String getChange();", "@NotNull\n @JsonProperty(\"change\")\n public String getChange();", "@NotNull\n @JsonProperty(\"change\")\n public String getChange();", "void onPropertyChange(String name, String newValue);", "@Override\n\tpublic void propertyChange() {\n\t\tthis.apply();\n\t}", "public Double getChange();", "protected PropertyChangeListener createPropertyChangeListener() {\n return new PropertyChangeHandler(); }", "public String getOnChange() {\n return onChange;\n }", "@Override\n public void propertyChange(PropertyChangeEvent evt) {\n\n System.out.println(\"Customer \" + this.name + \" observed a change in \" +\n evt.getPropertyName() + \" of \" + evt.getSource());\n\n System.out.println(\n evt.getOldValue() + \" has changed to \" + evt.getNewValue() + \". \");\n\n System.out.println();\n }", "public void propertyChange(String propertyName, Object oldValue, Object newValue) {\r\n propertyChangeSupport.firePropertyChange(propertyName, oldValue, newValue);\r\n }", "@javax.annotation.Nullable\n public String getChange() {\n return change;\n }", "com.google.ads.googleads.v6.resources.ChangeEvent getChangeEvent();", "public void setPropertyChanged(com.app.tvp.cas.cliente.PropertyChangedEventHandler propertyChanged) {\n this.propertyChanged = propertyChanged;\n }", "public PropertyChangeEvent(Object source, String propertyName,\n Object oldVal, Object newVal)\n {\n super(source);\n this.propertyName = propertyName;\n oldValue = oldVal;\n newValue = newVal;\n }", "public void propertyChange(PropertyChangeEvent e) {\n\n logger.debug(LOG_TAG + \".propertyChangeListener()\");\n String propertyName = e.getPropertyName();\n\n switch(propertyName) {\n case \"progress\":\n logger.info(\"client progress: \" + e.getNewValue());\n\n break;\n case \"state\":\n StateValue stateValue = ((StateValue)e.getNewValue());\n logger.info(\"client state: \" + stateValue.toString());\n\n switch(stateValue) {\n case STARTED:\n\n break;\n case PENDING:\n\n break;\n case DONE:\n\n break;\n } // eof switch\n } // eof switch\n\n }", "private void FilterPropertyChanges(Object sender, PropertyChangedEventArgs e)\r\n {\r\n // check if this is the property of interest\r\n if (e.getPropertyValue(_propertyName)!= null)\r\n PropertyChanged();\r\n }", "Property changeValue(PropertyValue<?, ?> oldValue,\n\t\t\tPropertyValue<?, ?> newValue);", "@Override\n public void propertyChange(final PropertyChangeEvent theEvent) {\n if (\"speed up\".equals(theEvent.getPropertyName())) {\n faster();\n } else if (\"change dimensions\".equals(theEvent.getPropertyName())) {\n myWidth = (int) theEvent.getOldValue();\n myHeight = (int) theEvent.getNewValue();\n } else if (\"update board\".equals(theEvent.getPropertyName())) {\n myGameMode = (String) theEvent.getOldValue();\n myBoard = (Board) theEvent.getNewValue();\n }\n }", "public void propertyChange(PropertyChangeEvent evt) {\r\n fireStateChanged();\r\n }", "public java.lang.String getChangeOperation() {\r\n return changeOperation;\r\n }", "Property getProperty();", "Property getProperty();", "public void firePropertyChange(java.lang.String propertyName, java.lang.Object oldValue, java.lang.Object newValue) {\r\n\tgetPropertyChange().firePropertyChange(propertyName, oldValue, newValue);\r\n}", "public native final EventFacade changedEvent() /*-{\n\t\treturn this.changedEvent;\n\t}-*/;", "AttributeRaiseType getValueChange();", "public void firePropertyChange(String propertyName, Object oldValue, Object newValue);", "public String listen(String key, PropertyChangedCallback callback);", "DefinedProperty nodeChangeProperty( long nodeId, int propertyKey, Object value );", "public void testPropertyChange() {\n System.out.println(\"propertyChange\");\n PropertyChangeEvent evt = null;\n Wizard instance = new Wizard();\n instance.propertyChange(evt);\n }", "@Override\n\t\tpublic String getValueDescription() {\n\t\t\treturn \"propertytoCheck=\" + expectpedValueOfPropertyToCheck + \"; propertytoChange=\"\n\t\t\t\t\t+ newValueOfPropertyToChange;\n\t\t}", "void onPropertyChange(String key);", "@Override\n\tpublic void onPropertyModified(PropertyDescriptor descriptor, String oldValue, String newValue) {\n\t\tsuper.onPropertyModified(descriptor, oldValue, newValue);\n\t\t\n\t\t\n\t\t\n\t}", "public void propertyChange(final PropertyChangeEvent _event)\n {\n this.updateStyle();\n }", "public interface PropertyChangeListener<T>\n{\n /**\n * Callback function when there is a change in any property that starts with key\n * It's upto the implementation to handle the following different cases 1) key\n * is a simple key and does not have any children. PropertyStore.getProperty(key) must\n * be used to retrieve the value; 2) key is a prefix and has children.\n * PropertyStore.getPropertyNames(key) must be used to retrieve all the children keys.\n * Its important to know that PropertyStore will not be able to provide the\n * delta[old value,new value] or which child was added/deleted. The\n * implementation must take care of the fact that there might be callback for\n * every child thats added/deleted. General way applications handle this is\n * keep a local cache of keys and compare against the latest keys.\n * \n * @param key\n */\n void onPropertyChange(String key);\n}", "public PropertyChangeEvent(String key, String oldValue, String newValue) {\n super(key);\n this.key = key;\n this.oldValue = oldValue;\n this.newValue = newValue;\n }", "public void propertyChange(PropertyChangeEvent e) {\n String name = e.getPropertyName();\n if (name.equals(\"stepnumber\")) { //$NON-NLS-1$\n if (trackerPanel.getSelectedTrack() == this) {\n displayWorldCoordinates();\n stepValueLabel.setText(e.getNewValue() + \":\"); //$NON-NLS-1$\n }\n } else if (name.equals(\"locked\")) { //$NON-NLS-1$\n xField.setEnabled(!isLocked());\n yField.setEnabled(!isLocked());\n } else super.propertyChange(e);\n }", "public Object getNullOldValueProperty() {\r\n return nullOldValueProperty;\r\n }", "private static void usePropertyChangeListener() {\n SimpleStringProperty stringProperty = new SimpleStringProperty(\"xyz\");\n // Prints property's value\n System.out.println(stringProperty.getValue());\n // Adds a listener - action that will be run if property's value changes.\n stringProperty.addListener((observable, oldValue, newValue) -> {\n System.out.println(\"New value is set: \" + newValue);\n });\n // Sets new value\n stringProperty.setValue(\"Some new value\");\n }", "public double getPercentChange() {\n return percentChange;\n }", "public Property getProperty() {\n\t\treturn _property;\n\t}", "public String getPropertyWatcherClass()\n {\n return propertyWatcherClass;\n }", "DefinedProperty graphChangeProperty( int propertyKey, Object value );", "public long getStateChange() {\n return stateChange_;\n }", "public void modelPropertyChange(PropertyChangeEvent evt) {\n\t\t\n\t}", "public void propertyChange(PropertyChangeEvent ce) {\n if (ce.getPropertyName().equals(Adjuster.CHANGE_TAG)) {\n MyGovernor.setMsgDelay(((Integer)ce.getNewValue()).intValue());\n }\n }", "protected void do_childSupportFTF_propertyChange(PropertyChangeEvent arg0) {\n\t\tsetIncomeTotal();\n\t}", "protected void do_utilityFTF_propertyChange(PropertyChangeEvent arg0) {\n\t\tsetIncomeTotal();\n\t}", "public long getStateChange() {\n return stateChange_;\n }", "@Override\n\t\tpublic void validate() throws ValidationError {\n\t\t\tif (newValueOfPropertyToChange < 0) {\n\t\t\t\tthrow new TestFailure(\"propertyToChange is not ok\");\n\t\t\t}\n\t\t}", "protected void do_socialSecurityFTF_propertyChange(PropertyChangeEvent arg0) {\n\t\tsetIncomeTotal();\n\t}", "@Override\n public void propertyChange(PropertyChangeEvent event) {\n if (!hasOverrideFor(event.getProperty()))\n fireMappingChanged(event.getProperty(), event.getOldValue(), event.getNewValue());\n }", "@Override\n\tpublic PropertyChangeSupport getPropertyChangeSupport() {\n\t\treturn null;\n\t}", "public ChangeDate getChangeDate() {\n return changeDate;\n }", "public ChangeDate getChangeDate() {\n return changeDate;\n }", "@Override\n\tpublic void propertyChange(PropertyChangeEvent event) {\n\n\t\tif (event.getProperty().equals(FieldEditor.IS_VALID)) {\n\t\t\tboolean newValue = ((Boolean) event.getNewValue()).booleanValue();\n\t\t\t// If the new value is true then we must check all field editors.\n\t\t\t// If it is false, then the page is invalid in any case.\n\t\t\tif (newValue) {\n\t\t\t\tcheckState();\n\t\t\t}\n\t\t\telse {\n\t\t\t\tinvalidFieldEditor = (FieldEditor) event.getSource();\n\t\t\t\tsetValid(newValue);\n\t\t\t}\n\t\t}\n\t}", "public PriceChangeEdit getPriceChange()\n\t{\n\t\treturn priceChange;\n\t}", "public void propertyChange(PropertyChangeEvent e) {\n super.propertyChange(e);\n String name = e.getPropertyName();\n if (e.getSource() == paramEditor && name.equals(\"edit\")) { //$NON-NLS-1$\n initEditor.getTable().selectOnFocus = false;\n } else if (name.equals(\"angles_in_radians\") && model.trackerPanel != null) { //$NON-NLS-1$\n model.trackerPanel.getTFrame().setAnglesInRadians((Boolean) e.getNewValue());\n }\n }", "public double getChange() \n\t{\n\t\treturn purchase.getPayment().getChange();\n\t}", "public void propertyChange(PropertyChangeEvent evt) {\n super.propertyChange(evt);\n if (evt.getPropertyName() == \"keeperactivity\") {\n this.setJob((String) evt.getNewValue());\n }\n else if (evt.getPropertyName() == \"foodactivity\"){\n this._makeAnnouncement(\"The food server just served \" + (String) evt.getNewValue());\n }\n }", "public void addPropertyChangeListener(PropertyChangeListener propertyChangeListener) {\n }", "public void afterPropertyChange(T obj, String propertyName, Object oldValue, Object newValue);", "public void testFirePropertyChangeEvent() {\n ModelElementChangeListenerMock listener = new ModelElementChangeListenerMock();\n instance.addModelElementChangeListener(listener);\n instance.firePropertyChangeEvent(new GuardImpl(), PropertyKind.ACTIVE, PropertyOperation.MODIFY, \"accuracy\");\n assertTrue(\"Failed to fire the event.\", listener.IsCalled());\n }", "public void propertiesChanged(AntProjectEvent ev) {\n }", "public Name getPropertyWatcherClassName()\n {\n assert propertyWatcherClassName != null;\n return propertyWatcherClassName;\n }", "@Override\n public void addPropertyChangeListener(PropertyChangeListener listener) {\n\n }", "public final ObjectProperty<EventHandler<ListView.EditEvent<T>>> onEditCommitProperty() {\n\n return this.getWrappedControl().onEditCommitProperty();\n }", "public void propertyChange(PropertyChangeEvent event) {\r\n\t\tString property = event.getPropertyName();\r\n\t\tif (\"bendpoint\".equals(property)) //$NON-NLS-1$\r\n\t\t\trefreshVisuals(); \r\n\t}", "com.google.ads.googleads.v6.resources.ChangeEventOrBuilder getChangeEventOrBuilder();", "public PropertyChangeListener[] getPropertyChangeListeners() {\n\t\treturn null;\n\t}", "protected void do_tanfFTF_propertyChange(PropertyChangeEvent arg0) {\n\t\tsetIncomeTotal();\n\t}", "public final ObjectProperty<Predicate<? extends Event>> interceptorProperty()\n {\n return myInterceptorProperty;\n }", "public void changePropery(String property, String newValueExpr) {\n \t\n\n \n\t}", "protected void do_foodStampsFTF_propertyChange(PropertyChangeEvent arg0) {\n\t\tsetIncomeTotal();\n\t}", "public final String getOnChangeAttribute() {\n return getAttributeValue(\"onchange\");\n }", "@Override\n public int getColChange() {\n return colChange;\n }", "void addPropertyChangeListener(PropertyChangeListener listener);", "public void registerChangedProperty(String theChangedKey, String theChangedValue) {\n this.theChangedKey = theChangedKey;\n this.theChangedValue = theChangedValue;\n }", "Boolean getIsChanged();", "private String getPropertyValue() {\n return EmfPropertyHelper.getValue(itemPropertyDescriptor, eObject);\n }", "@Override\n public void propertyChange(PropertyChangeEvent event) {\n if (PrologAtoms.ENCODING.equals(event.getPropertyName())) {\n Term value = (Term) event.getNewValue();\n } else if (event.getPropertyName().equals(\"file_name\")) {\n setPath(Paths.get((String) event.getNewValue()));\n }\n setEncodingChanged(isEncodingPermitted());\n encodingPermitted = false;\n }", "public void addPropertyChangeListener(PropertyChangeListener l);", "public abstract void addPropertyChangeListener(PropertyChangeListener listener);", "public abstract void addPropertyChangeListener(IPropertyChangeListener listener);", "public void propertyChange(PropertyChangeEvent evt) {\n if(evt.getPropertyName().equals(\"position\")){\n// System.out.println(\"slider property change new val=\"+evt.getNewValue());\n sliderDontProcess=true;\n // note this cool semaphore/flag trick to avoid processing the\n // event generated when we programmatically set the slider position here\n playerSlider.setValue(Math.round(player.getFractionalPosition()*100));\n }else if(evt.getPropertyName().equals(\"readerStarted\")){\n log.info(\"MotionViewer.propertyChange: AEReader started, fixing device control menu\");\n // cypress reader started, can set device control for cypress usbio reader thread\n// fixDeviceControlMenuItems();\n }\n }", "public java.lang.String getOldProperty_description(){\n return localOldProperty_description;\n }" ]
[ "0.72375435", "0.71954596", "0.6659941", "0.6602713", "0.65510225", "0.6483316", "0.6483316", "0.6460279", "0.64522374", "0.641829", "0.6358479", "0.6354735", "0.63432276", "0.6232984", "0.62082297", "0.61947715", "0.61947715", "0.61947715", "0.618634", "0.61654973", "0.6141245", "0.61261904", "0.61108524", "0.60874844", "0.6078222", "0.6077387", "0.60426396", "0.60387295", "0.6019227", "0.60160345", "0.5994042", "0.59749496", "0.5973302", "0.59726167", "0.5909632", "0.5882838", "0.5882838", "0.5881129", "0.5849647", "0.58350945", "0.5806004", "0.5789123", "0.57868725", "0.576072", "0.5745982", "0.57419467", "0.5725959", "0.5685771", "0.56708336", "0.5664689", "0.56640655", "0.5663646", "0.56619596", "0.563871", "0.5638226", "0.5637116", "0.5634894", "0.5634691", "0.56221956", "0.56216174", "0.5608322", "0.5597903", "0.55864793", "0.55705297", "0.55682373", "0.5557678", "0.5524819", "0.55150396", "0.55150396", "0.5509405", "0.55061275", "0.5505181", "0.5503012", "0.5502988", "0.54982096", "0.5497002", "0.54847616", "0.5469763", "0.546544", "0.5459056", "0.54524755", "0.54442376", "0.544399", "0.5442066", "0.5441713", "0.54368126", "0.5431086", "0.5428849", "0.5409632", "0.5408413", "0.5407448", "0.5404279", "0.54022235", "0.53983283", "0.5394849", "0.5385131", "0.5378269", "0.5365216", "0.5365137", "0.53621846" ]
0.7260943
0
Gets the sensitivityParameter property (cbit.vcell.math.Constant) value.
public Constant getSensitivityParameter() { return fieldSensitivityParameter; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public double getSensitivity() {\n\t\treturn sensitivity;\n\t}", "public void setSensitivityParameter(Constant sensitivityParameter) throws java.beans.PropertyVetoException {\n\t\tif (!Matchable.areEqual(fieldSensitivityParameter,sensitivityParameter)) {\n\t\t\tConstant oldValue = fieldSensitivityParameter;\n\t\t\tfireVetoableChange(\"sensitivityParameter\", oldValue, sensitivityParameter);\n\t\t\tfieldSensitivityParameter = sensitivityParameter;\n\t\t\tfirePropertyChange(\"sensitivityParameter\", oldValue, sensitivityParameter);\n\t\t}\n\t}", "public double getPercentageSensitivity() {\n return percentageSensitivity;\n }", "public double constant()\n\t{\n\t\treturn _dblConstant;\n\t}", "public void setSensitivity(double sensitivity) {\n\t\tthis.sensitivity = sensitivity;\n\t}", "public void setSensitivity(double sensitivity) {\r\n\t\tm_sensitivity = sensitivity;\r\n\t}", "@Deprecated\n public AnnotationSensitivities getSensitivitySetting(String annotationName) {\n String strSensitivity = getParameter(annotationName + \"_sensitivity\");\n if (strSensitivity != null) {\n if (strSensitivity.equals(\"i\"))\n return AnnotationSensitivities.ONLY_INSENSITIVE;\n if (strSensitivity.equals(\"s\"))\n return AnnotationSensitivities.ONLY_SENSITIVE;\n if (strSensitivity.equals(\"si\") || strSensitivity.equals(\"is\"))\n return AnnotationSensitivities.SENSITIVE_AND_INSENSITIVE;\n if (strSensitivity.equals(\"all\"))\n return AnnotationSensitivities.CASE_AND_DIACRITICS_SEPARATE;\n }\n\n // Not in parameter (or unrecognized value), use default based on\n // annotationName\n if (AnnotationSensitivities.defaultForAnnotation(annotationName) != AnnotationSensitivities.ONLY_INSENSITIVE) {\n // Word or lemma: default to sensitive/insensitive\n // (deprecated, will be removed eventually)\n return AnnotationSensitivities.defaultForAnnotation(annotationName);\n }\n if (annotationName.equals(AnnotatedFieldNameUtil.PUNCTUATION_ANNOT_NAME)) {\n // Punctuation: default to only insensitive\n return AnnotationSensitivities.ONLY_INSENSITIVE;\n }\n if (annotationName.equals(AnnotatedFieldNameUtil.TAGS_ANNOT_NAME)) {\n // XML tag properties: default to only sensitive\n return AnnotationSensitivities.ONLY_SENSITIVE;\n }\n\n // Unrecognized; default to only insensitive\n return AnnotationSensitivities.ONLY_INSENSITIVE;\n }", "public Parameter<?> getConstantParameter();", "public double getSingleBoxInfluenceConstant() {\n return singleBoxInfluenceConstant;\n }", "public InputSensitivityController() {\n this.percentageSensitivity = -.40d;\n calculateSensitivityExponent();\n }", "public void setSensitivity(int s)\n\t{\n\t\tif (s < 0)\n\t\t{\n\t\t\tMinim.error(\"BeatDetect: sensitivity cannot be less than zero. Defaulting to 10.\");\n\t\t\tsensitivity = 10;\n\t\t}\n\t\telse\n\t\t{\n\t\t\tsensitivity = s;\n\t\t}\n\t}", "public int getConstant() {\n\t\treturn magicConstant;\n\t}", "public double sample_value() {\n checkHasParams();\n return -Math.log(Util.random()) / this.lambda;\n }", "public abstract double var (\n\t\tfinal double confidenceLevel)\n\t\tthrows java.lang.Exception;", "java.lang.String getConstantValue();", "public String getParameterValue() {\r\n return parameterValue;\r\n }", "public double getSstat() {\n\t\treturn sStatM * speedBase;\n\t}", "@Test\n public void test_parameterSensitivity() {\n SimplePriceIndexValues test = SimplePriceIndexValues.of(US_CPI_U, VAL_DATE, CURVE_NOFIX, USCPI_TS);\n InflationRateSensitivity point =\n InflationRateSensitivity.of(PriceIndexObservation.of(US_CPI_U, VAL_MONTH.plusMonths(3)), 1d);\n assertThat(test.parameterSensitivity(point).size()).isEqualTo(1);\n }", "public double getParameterValue (Assignment input) ;", "public void setSensitivity(float newSensitivity)\n\t{\n\t\tthis.sensitivity = newSensitivity;\n\t}", "public InputSensitivityController(double percentageSensitivity) {\n DreadbotMath.clampValue(percentageSensitivity, -1.0, 1.0);\n this.percentageSensitivity = percentageSensitivity;\n calculateSensitivityExponent();\n }", "private double getMinInitProb(){\r\n\t\treturn probThreshold;\r\n\t}", "String getConstant();", "public double get_coefficient() {\r\n\t\treturn this._coefficient;\r\n\t}", "public double getLocalSimilarityThreshold() {\n return localSimilarityThreshold;\n }", "public void setSensitivity(double voltsPerDegreePerSecond) {\r\n\t\tm_voltsPerDegreePerSecond = voltsPerDegreePerSecond;\r\n\t}", "private void calculateSensitivityExponent() {\n this.sensitivityExponent = Math.exp(-1.88 * percentageSensitivity);\n }", "public double getObjectiveValue() {\r\n return ObjectiveFunctionWrapper.this.m_use ? this.m_state\r\n .getObjectiveValue() : ObjectiveFunctionWrapper.this.m_default;\r\n }", "int getLikelihoodValue();", "public double getParam(String s) {\n switch(s) {\n case \"mu\":\n return this.mu;\n case \"lambda\":\n return this.lambda;\n case \"fbDocs\":\n return this.fbDocs;\n case \"fbTerms\":\n return this.fbTerms;\n case \"fbMu\":\n return this.fbMu;\n case \"fbOrigWeight\":\n return this.fbOrigWeight;\n default:\n throw new IllegalArgumentException\n (\"Illegal argument: IndriExpansion doesn't have argument \" + s);\n }\n }", "public int objective() {\n\t\tint value = 0;\n\t\tfor (int i = 0; i < n; i++)\n\t\t\tvalue += v[i] * x[i];\n\t\treturn value;\n\t}", "public int constantValueIndex() {\n\t\treturn constantValueIndex;\n\t}", "public float getPropertyPenalty() {\n return propertyPenalty;\n }", "private float getRsiPotential() {\r\n\t\treturn 1F - (float)(stochRsiCalculator.getCurrentValue()/50.0);\r\n\t}", "public double getWeightSubjectiveValue(Criterion criterion) {\n checkArgument(this.weight.containsKey(criterion));\n return this.weight.get(criterion);\n }", "public double cond() {\n return new SingularValueDecomposition(this).cond();\n }", "public String getParameter( String parm ) {\n return System.getProperty( parm );\n }", "public String getConstProperty() {\n return this.constProperty;\n }", "float getThreshold();", "public final double getS()\r\n\t{\r\n\t\treturn s;\r\n\t}", "float getConst();", "public void setPercentageSensitivity(double percentageSensitivity) {\n this.percentageSensitivity = percentageSensitivity;\n calculateSensitivityExponent();\n }", "public float tune( float v, float x ) {\n\t\tfloat w = (float)(v+x*1.2f);\n\t\tif ( w<0 ) w = 0;\n\t\tif ( w>1 ) w = 1;\n\t\treturn w;\n\t}", "public final double getMinConvexCoefficient()\n {\n return minConvexCoefficient;\n }", "public double se() {\n\t\tint n = this.getAttCount();\n\t\tif (n == 0)\n\t\t\treturn Constants.UNUSED;\n\t\telse\n\t\t\treturn Math.sqrt(var() / n);\n\t}", "public double getControlPanelMotor() {\n return controlPanelMotor.getSelectedSensorVelocity();\n }", "java.lang.String getSolverSpecificParameters();", "public String getParameterValue(int key){\n return parameters.get(key).value;\n }", "@Override\n\tpublic int evaluate(Map<ResourceType, Integer> requirements) {\n\t\treturn this.constant;\n\t}", "public double getS() { return s; }", "public final int getParameter(PS3_PARAM param){\n return LIBRARY.CLEyeGetCameraParameter(camera_, param.getIndex());\n }", "java.lang.String getParameterValue();", "public float getParameter() {\r\n\t\treturn this.b;\r\n\t}", "public String getParamScale() {\n return paramScale;\n }", "public static native void OpenMM_AmoebaWcaDispersionForce_setSlevy(PointerByReference target, double inputValue);", "@Override\n\tpublic double getWeight(double x) {\n\t\tif (-0.5 <= x && x < 0.5)\n\t\t\treturn 1;\n\t\telse\n\t\t\treturn 0;\n\t}", "public double valueAt(double x) {\r\n \treturn ((f.valueAt(x+epsilon)/2- f.valueAt(x-epsilon)/2)/epsilon);\r\n }", "@Nullable public abstract Object getConstantValue() throws CompileException;", "public float confidence() {\r\n\t\treturn LeapJNI.Hand_confidence(this.swigCPtr, this);\r\n\t}", "public int getS() {\n\t\treturn (Math.max(getSquare(tractor).getSand()-getK(),0));\n\t}", "public double getValue( double x )\n {\n if ( domain.contains( (float)x ) )\n {\n double sum = 0.0; \n for ( int i = parameters.length - 1; i >= 0; i-- )\n sum = x * sum + parameters[i];\n return sum; \n }\n else\n return 0; \n }", "int getConditionValue();", "public double calcValue(Vector x) {\n return opensimSimulationJNI.FiberCompressiveForceCosPennationCurve_calcValue__SWIG_1(swigCPtr, this, Vector.getCPtr(x), x);\n }", "public float getMinConf () {\r\n return min_conf; }", "public void set_constant(double cutoff)\r\n\t{\r\n\t\tthis.switchValue = (int)cutoff;\t\r\n\t}", "public java.lang.String getParameterValue() {\n java.lang.Object ref = parameterValue_;\n if (!(ref instanceof java.lang.String)) {\n java.lang.String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();\n parameterValue_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public boolean isConstant() {\n\t\treturn this.isConstant;\n\t}", "public double getOversamplingFactor() {\n return cGetOversamplingFactor(this.cObject);\n }", "protected String getConfigurationParamValue(String parameter) {\n return configuration.getParameter(parameter);\n }", "public double confidence() {\n return this.confidence;\n }", "public static String getStressValue() {\n return stressValue;\n }", "public String getParameterValue(int index) {\n\treturn (String) _parameters.getValue(index);\n }", "public double getConfidenceLevel ()\n { \n return confidenceLevel;\n \n }", "public java.lang.String getParameterValue() {\n java.lang.Object ref = parameterValue_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n if (bs.isValidUtf8()) {\n parameterValue_ = s;\n }\n return s;\n }\n }", "public String getParameterValue(String key) {\n\t\treturn libraryParameter.get(key);\n\t}", "public static TermConstant getConstant(int index)\n {\n return constants[index];\n }", "String getValue(String param)\n\t{\n\t\tString value = null;\n\n\t\tif (userSupplied != null && (value = this.userSupplied.get(param)) != null)\n\t\t{\n\t\t\treturn value;\n\t\t}\n\n\t\tElement element = this.parameters.get(param);\n\t\tif (element == null)\n\t\t{\n\t\t\tlog.debug(\"PISE FILE ERROR, expression uses undefined parameter: \" + param);\n\t\t\treturn null;\n\t\t} \n\t\t// When one parameter has an expression that references the value of a disabled parameter\n\t\t// return \"0\" if it's a switch or \"\" for anything else. Similar to what the gui does in\n\t\t// code generator pise2JSP.ftl getValue() function.\n\t\tif (!element.enabled) \n\t\t{\n\t\t\tif (element.type.equals(\"Switch\"))\n\t\t\t{\n\t\t\t\tlog.debug(\"\\tGETVALUE of disabled parameter: \" + param + \" returns '0'\");\n\t\t\t\treturn \"0\";\n\t\t\t} else\n\t\t\t{\n\t\t\t\tlog.debug(\"\\tGETVALUE of disabled parameter: \" + param + \" returns ''\");\n\t\t\t\treturn \"\";\n\t\t\t}\n\t\t}\n\t\treturn element.value;\n\t}", "public double getConfidence() {\n return !Double.isNaN(confidence) ? MathUtil.coerce(0, 1, confidence) : 0.0;\n }", "public double confidenceHi() {\n\t\treturn mean() + ((constant * stddev())/Math.sqrt(trails));\n\t}", "public float getStretchedSpringConst() {\r\n\t\treturn stretchedSpringConst;\r\n\t}", "public abstract double var (\n\t\tfinal int confidenceCount)\n\t\tthrows java.lang.Exception;", "com.google.protobuf.ByteString\n getConstantValueBytes();", "public String getSnmpv3Securitylevel() {\r\n return snmpv3Securitylevel;\r\n }", "public double getCoeff() {\n\t\t\t\treturn coeff;\n\t\t\t}", "public java.lang.Short getSipParamType() {\r\n return sipParamType;\r\n }", "public double getWeight(int paraIndex) {\n\t\treturn weights[paraIndex];\n\t}", "public double getParam(String paramName);", "public float getCompressedSpringConst() {\r\n\t\treturn compressedSpringConst;\r\n\t}", "public float getInitSFXVolume() {\n \t\treturn 1;\n \t}", "public java.lang.Short getVarRepParamType() {\r\n return varRepParamType;\r\n }", "public int getConstantCount() {\r\n return EnthalpyVapour.CONSTANT_COUNT;\r\n }", "public VisionThresholdParameters getVisionParameters() {\r\n\t\tString parametersString = table.getString(VISION_PARAMETERS_KEY, \"0, 0, 0, 0, 0, 0\");\r\n\t\treturn VisionThresholdParameters.getFromStringValue(parametersString);\r\n\t}", "private static String _getConfValue(String s) {\n int pos = s.indexOf('=');\n if (pos > 0)\n return s.substring(pos+1);\n throw new ConfLibException(\"Invalid parameter string \" + s);\n }", "private void setSentivity(int sens, AppCompatActivity context) {\n Graphic.getInstance().sensitivityOfRecognition =\n context.getResources().getInteger(R.integer.max_sensitivity) - sens;\n }", "public com.google.protobuf.ByteString getParameterValueBytes() {\n java.lang.Object ref = parameterValue_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);\n parameterValue_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "@UML(identifier=\"startParameter\", obligation=MANDATORY, specification=ISO_19123)\n double getStartParameter();", "private double getMinThreshold() {\n return minThreshold;\n }", "public double scalar() {\n //\n // The RG tensor already has the squared values...\n //\n return Math.sqrt(RG.trace());\n }", "public com.google.protobuf.ByteString getParameterValueBytes() {\n java.lang.Object ref = parameterValue_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);\n parameterValue_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public double getThreshold() {\r\n return threshold;\r\n }" ]
[ "0.6900884", "0.6327913", "0.5828209", "0.57792944", "0.5598166", "0.5593659", "0.5360829", "0.52692574", "0.51685375", "0.5142583", "0.51012975", "0.50868404", "0.49784166", "0.49511033", "0.49472168", "0.48970848", "0.48837414", "0.48614094", "0.48352972", "0.48164895", "0.47438562", "0.47426295", "0.47230297", "0.47101903", "0.47066736", "0.46972278", "0.46869037", "0.4673421", "0.46674234", "0.4649743", "0.46449003", "0.46305335", "0.46199185", "0.4619646", "0.46120903", "0.46106392", "0.45996606", "0.45962968", "0.45827585", "0.4568841", "0.454968", "0.45481083", "0.4534432", "0.4532713", "0.4531897", "0.45268184", "0.4507573", "0.45013583", "0.4494636", "0.44945753", "0.44922334", "0.44843248", "0.44801673", "0.4470791", "0.4470372", "0.44703043", "0.44691148", "0.44655618", "0.44639733", "0.44592315", "0.4455569", "0.44531336", "0.4452426", "0.44507375", "0.44497147", "0.4444888", "0.444088", "0.44319054", "0.4429015", "0.44277287", "0.442743", "0.44121543", "0.44113126", "0.44046727", "0.43956906", "0.4395643", "0.43955192", "0.4394514", "0.43890506", "0.438601", "0.4381956", "0.43803924", "0.43709293", "0.43661016", "0.43620938", "0.43543512", "0.43532023", "0.4352802", "0.43489859", "0.43470147", "0.43450525", "0.4343332", "0.43394777", "0.4339193", "0.43377063", "0.43354747", "0.43351924", "0.4331251", "0.4328843", "0.43278158" ]
0.764643
0
Gets the endingTime property (double) value.
public Simulation getSimulation() { return fieldSimulation; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public double getEndTime() {\n return endTime;\n }", "public long getTimeEnd()\n {\n return this.timeEnd;\n }", "@gw.internal.gosu.parser.ExtendedProperty\n public java.util.Date getEndTime() {\n return (java.util.Date)__getInternalInterface().getFieldValue(ENDTIME_PROP.get());\n }", "@gw.internal.gosu.parser.ExtendedProperty\n public java.util.Date getEndTime() {\n return (java.util.Date)__getInternalInterface().getFieldValue(ENDTIME_PROP.get());\n }", "@gw.internal.gosu.parser.ExtendedProperty\n public java.util.Date getEndTime() {\n return (java.util.Date)__getInternalInterface().getFieldValue(ENDTIME_PROP.get());\n }", "@gw.internal.gosu.parser.ExtendedProperty\n public java.util.Date getEndTime() {\n return (java.util.Date)__getInternalInterface().getFieldValue(ENDTIME_PROP.get());\n }", "public int getTimeEnd() {\r\n return timeEnd;\r\n }", "public long getEnd_time() {\n return end_time;\n }", "public java.lang.Long getEndTime() {\n return end_time;\n }", "public java.lang.Long getEndTime() {\n return end_time;\n }", "public double getSecondsEnd() {\n return secondsEnd;\n }", "public Date getEndtime() {\n return endtime;\n }", "public java.lang.String getTime_end() {\r\n return time_end;\r\n }", "@Override\n\tpublic float getEndTime() \n\t{\n\t\treturn _tend;\n\t}", "public String getEndtime() {\n return endtime;\n }", "public long getEndTime() {\n if (endTime < 0) {\n try {\n String datestr = PropertyArray.get(props, END);\n\n if (datestr == null) {\n // this may be more expensive because it can cause a\n // reload from disk\n try {\n datestr = getProperty(END);\n } catch (Fault f) {\n }\n }\n\n if (datestr != null) {\n Date date = parseDate(datestr);\n endTime = date.getTime();\n } else {\n // info not available\n }\n } catch (ParseException e) {\n }\n }\n\n return endTime;\n }", "public double getStopTime()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.SimpleValue target = null;\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(STOPTIME$24);\r\n if (target == null)\r\n {\r\n return 0.0;\r\n }\r\n return target.getDoubleValue();\r\n }\r\n }", "public long getEndTime() {\n\t\treturn endTime;\n\t}", "public int getEndTime()\n {\n if (isRepeated()) return end;\n else return time;\n }", "public long getEndTime() {\r\n return endTime;\r\n }", "public LocalTime getEndTime () {\n\t\treturn DateUtils.toLocalTime(this.end);\n\t}", "public long getEndTime() {\n return endTime;\n }", "public long getEndTime() {\n return endTime;\n }", "public Date getEndTime() {\n\t\treturn endTime;\n\t}", "public LocalTime getEnd() {\n\treturn end;\n }", "public Rational getEndTime ()\r\n {\r\n if (isWholeDuration()) {\r\n return null;\r\n }\r\n\r\n Rational chordDur = getDuration();\r\n\r\n if (chordDur == null) {\r\n return null;\r\n } else {\r\n return startTime.plus(chordDur);\r\n }\r\n }", "net.opengis.gml.x32.TimeInstantPropertyType getEnd();", "public Date getEndTime() {\r\n return this.endTime;\r\n }", "public Date getEndTime() {\n return this.endTime;\n }", "public long getEndTs() {\n return this.startTimestamp + this.resolution * this.size;\n }", "public double getEnd() {\n return end;\n }", "public Integer getEndTime() {\n return endTime;\n }", "public Date getEndTime() {\n return endTime;\n }", "public Date getEndTime() {\n return endTime;\n }", "public Date getEndTime() {\n return endTime;\n }", "public java.util.Date getEndTime() {\n return endTime;\n }", "public Date getjEndtime() {\n return jEndtime;\n }", "public java.util.Date getEndTime() {\n return this.endTime;\n }", "public java.util.Date getEndTime() {\n return this.endTime;\n }", "public double getFinishTime(){return finishTime;}", "@Override\n public Date getEndTime() {\n return endTime;\n }", "public long getEndTimestamp() {\n\t\treturn this.endTimestamp;\n\t}", "long getEndTime() {\n return endTime;\n }", "public double getLastTime()\n\t{\n\t\tdouble time = Double.NaN;\n\t\tfinal Entry< Double, V > entry = getLastEntry();\n\t\tif( entry != null )\n\t\t{\n\t\t\ttime = entry.getKey();\n\t\t}\n\t\treturn time;\n\t}", "public double getStopTime();", "public Long getTime() {\n if (timeEnd == null) {\n return null;\n }\n return timeEnd - timeStart;\n }", "public String getEndTime() {\r\n return endTime;\r\n }", "public Date getAudioVideoEndTime() {\n return (Date)getAttributeInternal(AUDIOVIDEOENDTIME);\n }", "public String getEndTime()\n {\n return this.endTime;\n }", "public Integer getDurationEndDay() {\n return durationEndDay;\n }", "public Date get_end() {\n\t\treturn this.end;\n\t}", "public long getEndSystemTimeNano() {\n return endSystemTimeNano;\n }", "public LocalDateTime getEndTime() {\n\t\treturn endTime;\n\t}", "public String getEndTime() {\n return endTime;\n }", "public String getEndTime() {\n return endTime;\n }", "public String getEndTime() {\n return endTime;\n }", "public long getEndWallClockTime() {\n return endWallClockTime;\n }", "public Date getEndTimestamp() {\r\n return endTimestamp;\r\n }", "public BidTime getFinishTime() {\r\n\t\treturn finishTime;\r\n\t}", "public String getEndTime() {\n return endTime;\n }", "public String getStopTime() {\n\t\treturn (new Parser(value)).skipString().getString();\n\t}", "public OffsetDateTime finishTime() {\n return this.finishTime;\n }", "@Override\n\tpublic String getFinishTime() {\n\t\treturn finishTime;\n\t}", "public double getEnd();", "public String getEndTime() {\n return this.EndTime;\n }", "Double getActualDuration();", "public Calendar getEndTime() {\r\n\t\treturn endTime;\r\n\t}", "public Date getActualFinish()\r\n {\r\n return (m_actualFinish);\r\n }", "public long getEndTimestamp();", "public DateTime getEnd() {\r\n return new DateTime(getEndMillis(), getChronology());\r\n }", "com.google.protobuf.Timestamp getEndTime();", "public Double getEndBearing() {\n return this.endBearing;\n }", "int getEndTime();", "int getEndTime();", "int getEndTime();", "public java.util.Date getEndDateTime() {\n return this.endDateTime;\n }", "@Override\n\t\tpublic long getEndMillis() {\n\t\t\treturn 0;\n\t\t}", "public java.util.Date getFinishedTime () {\r\n\t\treturn finishedTime;\r\n\t}", "public OffsetDateTime endTime() {\n return this.endTime;\n }", "public double getDuration() {\n if (null == firstTime) {\n return 0.0;\n }\n return lastTime.timeDiff_ns(firstTime);\n }", "public java.sql.Time getREQ_END_TIME()\n {\n \n return __REQ_END_TIME;\n }", "public double getFullTime() {\n return fullTime_;\n }", "public float getTime() {\n return Math.abs(endTime - startTime) / 1000000f;\n }", "public double getFullTime() {\n return fullTime_;\n }", "net.opengis.gml.x32.TimePositionType getEndPosition();", "public Float getEndMiles() {\n return endMiles;\n }", "java.util.Calendar getEndTime();", "public Duration getActualDuration()\r\n {\r\n return (m_actualDuration);\r\n }", "public Date getEndTimeDate() {\n return endTimeDate;\n }", "public double time()\n\t{\n\t\treturn _dblTime;\n\t}", "public double time()\n\t{\n\t\treturn _dblTime;\n\t}", "public String getEndTimeString() {\n return endTimeString;\n }", "public Long getTimestampEnd();", "public Date getElectronicEndTime() {\n return (Date)getAttributeInternal(ELECTRONICENDTIME);\n }", "com.google.protobuf.Timestamp getVotingEndTime();", "public org.landxml.schema.landXML11.GPSTime xgetStopTime()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.landxml.schema.landXML11.GPSTime target = null;\r\n target = (org.landxml.schema.landXML11.GPSTime)get_store().find_attribute_user(STOPTIME$24);\r\n return target;\r\n }\r\n }", "@gw.internal.gosu.parser.ExtendedProperty\n public java.math.BigDecimal getDuration() {\n return (java.math.BigDecimal)__getInternalInterface().getFieldValue(DURATION_PROP.get());\n }", "public Date getTenderEndTime() {\n return tenderEndTime;\n }", "public Date getPaperMediumEndTime() {\n return (Date)getAttributeInternal(PAPERMEDIUMENDTIME);\n }", "public long getEndUserTimeNano() {\n return endUserTimeNano;\n }", "public Long getLastEndTime() {\n if (timeInfos.isEmpty()) {\n return null;\n } else {\n int size = timeInfos.size();\n return timeInfos.get(size - 1).getEndTime();\n }\n }" ]
[ "0.7782289", "0.7683228", "0.764406", "0.764406", "0.7640308", "0.7640308", "0.7612305", "0.76110464", "0.75664794", "0.75419277", "0.75041676", "0.74866575", "0.7471573", "0.74647987", "0.73699975", "0.7332364", "0.7195585", "0.7162046", "0.71466327", "0.71255565", "0.711474", "0.7105795", "0.7105795", "0.70846754", "0.7077913", "0.7064452", "0.7048066", "0.70425254", "0.70420384", "0.7033348", "0.7016216", "0.7014526", "0.69923323", "0.69923323", "0.69923323", "0.6970687", "0.6952138", "0.6941339", "0.6941339", "0.6917063", "0.68930495", "0.685733", "0.6849521", "0.6808022", "0.6760272", "0.67598313", "0.6733819", "0.671056", "0.6707518", "0.67005545", "0.67002946", "0.66990167", "0.6693976", "0.669219", "0.669219", "0.669219", "0.6670074", "0.6665734", "0.6652492", "0.66475844", "0.6635595", "0.66320115", "0.6631824", "0.66156983", "0.66057557", "0.6595098", "0.6576426", "0.6572251", "0.65688336", "0.654801", "0.65464556", "0.6533112", "0.65158254", "0.65158254", "0.65158254", "0.6515112", "0.649353", "0.6476251", "0.64733887", "0.64538884", "0.6444626", "0.64418817", "0.6438134", "0.64263684", "0.6414974", "0.6396874", "0.639253", "0.6385428", "0.6373273", "0.6359245", "0.6359245", "0.63505334", "0.63281274", "0.6324977", "0.62913", "0.62823015", "0.62745637", "0.62608045", "0.6259322", "0.62580377", "0.62565917" ]
0.0
-1
Gets the solverDescription property (cbit.vcell.solver.SolverDescription) value.
public SolverDescription getSolverDescription() { return fieldSolverDescription; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public java.lang.String getDescription()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DESCRIPTION$2, 0);\n if (target == null)\n {\n return null;\n }\n return target.getStringValue();\n }\n }", "public void setSolverDescription(SolverDescription solverDescription) throws java.beans.PropertyVetoException {\n\t\tif (fieldSolverDescription != solverDescription) {\n\t\t\tSolverDescription oldValue = fieldSolverDescription;\n\t\t\tfireVetoableChange(PROPERTY_SOLVER_DESCRIPTION, oldValue, solverDescription);\n\t\t\tfieldSolverDescription = solverDescription;\n\t\t\tif (numProcessors > 1 && !fieldSolverDescription.supports(SolverFeature.Feature_Parallel)) {\n\t\t\t\tnumProcessors = 1;\n\t\t\t}\n\t\t\tif (solverDescription.isNonSpatialStochasticSolver() && !solverDescription.isGibsonSolver()){\n\t\t\t\tif (fieldNonspatialStochHybridOpt == null){\n\t\t\t\t\tfieldNonspatialStochHybridOpt = new NonspatialStochHybridOptions();\n\t\t\t\t}\n\t\t\t}\n\t\t\tfirePropertyChange(PROPERTY_SOLVER_DESCRIPTION, oldValue, solverDescription);\n\t\t}\n\t}", "public String getProblemDescription() {\n return problemDescription;\n }", "public String getDescription()\r\n {\r\n return getSemanticObject().getProperty(swb_description);\r\n }", "public java.lang.String getDescription()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.SimpleValue target = null;\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(DESCRIPTION$8);\r\n if (target == null)\r\n {\r\n return null;\r\n }\r\n return target.getStringValue();\r\n }\r\n }", "public String getProblemDesc() {\n return this.problemDesc;\n }", "public java.lang.String getDescription()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(DESCRIPTION$14);\n if (target == null)\n {\n return null;\n }\n return target.getStringValue();\n }\n }", "public String getDescription() {\n\t\treturn (String) get_Value(\"Description\");\n\t}", "public String getDescription() {\n\t\treturn (String) get_Value(\"Description\");\n\t}", "public String getDescription() {\n\t\treturn (String) get_Value(\"Description\");\n\t}", "public String getDescription() {\n\t\treturn (String) get_Value(\"Description\");\n\t}", "@Nullable\n public String getDescription() {\n return this.description;\n }", "public String getDescription() {\n\t\treturn this.description;\n\t}", "public String getDescription() {\n return sdesc;\n }", "public String getDescription() {\n return getProperty(Property.DESCRIPTION);\n }", "public java.lang.String getDescription() {\n return this._description;\n }", "public String getDescription()\n {\n return this.mDescription;\n }", "public java.lang.String getDescription() {\r\n return this._description;\r\n }", "public java.lang.String getDescription() {\r\n return this._description;\r\n }", "public String getDescription() {\r\n\t\treturn this.description;\r\n\t}", "public String getDescription() {\r\n\t\treturn this.description;\r\n\t}", "public String getDescription() {\r\n\t\treturn this.description;\r\n\t}", "public String getDescription() {\r\n\t\treturn this.description;\r\n\t}", "public String getDescription() {\r\n\t\treturn this.description;\r\n\t}", "@Nullable\n public String getDescription() {\n return mDescription;\n }", "public Optional<String> desc() {\n\t\t\treturn Optional.ofNullable(_description);\n\t\t}", "public java.lang.String getDescription() {\n java.lang.Object ref = description_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n if (bs.isValidUtf8()) {\n description_ = s;\n }\n return s;\n }\n }", "public java.lang.String getDescription() {\n java.lang.Object ref = description_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n description_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public Optional<String> getDescription() {\n\t\treturn Optional.ofNullable(_description);\n\t}", "public Optional<String> getDescription() {\n\t\treturn Optional.ofNullable(_description);\n\t}", "@gw.internal.gosu.parser.ExtendedProperty\n public java.lang.String getDescription() {\n return (java.lang.String)__getInternalInterface().getFieldValueForCodegen(DESCRIPTION_PROP.get());\n }", "@Nullable\n public String getDescription() {\n return description;\n }", "@Nullable\n public String getDescription() {\n return description;\n }", "public String getDescription() {\n\t\treturn description;\n\t}", "public String getDescription() {\n\t\treturn description;\n\t}", "public String getDescription() {\n\t\treturn description;\n\t}", "public String getDescription() {\n\t\treturn description;\n\t}", "public String getDescription() {\n\t\treturn description;\n\t}", "public String getDescription() {\n\t\treturn description;\n\t}", "public String getDescription() {\n\t\treturn description;\n\t}", "public String getDescription() {\n\t\treturn description;\n\t}", "public String getDescription() {\n\t\treturn description;\n\t}", "public String getDescription() {\n\t\treturn description;\n\t}", "public String getDescription() {\n\t\treturn description;\n\t}", "public String getDescription() {\n\t\treturn description;\n\t}", "public String getDescription() {\n\t\treturn description;\n\t}", "public String getDescription() {\n\t\treturn description;\n\t}", "public String getDescription() {\n\t\treturn description;\n\t}", "public String getDescription() {\n\t\treturn description;\n\t}", "public String getDescription() {\n\t\treturn description;\n\t}", "public String getDescription() {\n\t\treturn description;\n\t}", "public String getDescription() {\n\t\treturn description;\n\t}", "public String getDescription() {\n\t\treturn description;\n\t}", "public String getDescription() {\n\t\treturn description;\n\t}", "public String getDescription() {\n\t\treturn description;\n\t}", "public String getDescription() {\n\t\treturn description;\n\t}", "public String getDescription() {\n\t\treturn description;\n\t}", "public java.lang.String getDescription()\n {\n return this._description;\n }", "public String getDescription() {\n\n return this.description;\n }", "public String getDescription() {\r\n\t\treturn description;\r\n\t}", "public String getDescription() {\r\n\t\treturn description;\r\n\t}", "public String getDescription() {\r\n\t\treturn description;\r\n\t}", "public String getDescription() {\r\n\t\treturn description;\r\n\t}", "public String getDescription() {\r\n\t\treturn description;\r\n\t}", "public String getDescription() {\r\n\t\treturn description;\r\n\t}", "public String getDescription() {\r\n\t\treturn description;\r\n\t}", "public String getDescription() {\r\n\t\treturn description;\r\n\t}", "public java.lang.String getDescription() {\n java.lang.Object ref = description_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n description_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getDescription() {\n java.lang.Object ref = description_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n description_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getDescription() {\n java.lang.Object ref = description_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n description_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getDescription() {\n java.lang.Object ref = description_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n description_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public java.lang.String getDescription() {\n java.lang.Object ref = description_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n description_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }", "public String getDescription() { \n\t\treturn getDescriptionElement().getValue();\n\t}", "public String getDescription() { \n\t\treturn getDescriptionElement().getValue();\n\t}", "public String getSolution() {\n\t\treturn solution;\n\t}", "@gw.internal.gosu.parser.ExtendedProperty\n public java.lang.String getDescription() {\n return (java.lang.String)__getInternalInterface().getFieldValueForCodegen(DESCRIPTION_PROP.get());\n }", "public String getDescription() {\n return this.Description;\n }", "public String getDescription() {\n return getGenericFieldValue(\"Description\");\n }", "public String getDescription() {\n\t\tString t = doc.get(\"description\");\n\n\t\tif (t == null) {\n\t\t\treturn \"\";\n\t\t} else {\n\t\t\treturn t;\n\t\t}\n\t}", "public java.lang.String getDescription() {\r\n return description;\r\n }", "public java.lang.String getDescription() {\r\n return description;\r\n }", "public java.lang.String getDescription() {\r\n return description;\r\n }", "public java.lang.String getDesc()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.SimpleValue target = null;\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(DESC$10);\r\n if (target == null)\r\n {\r\n return null;\r\n }\r\n return target.getStringValue();\r\n }\r\n }", "public String getDescription() {\n Object ref = description_;\n if (!(ref instanceof String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n String s = bs.toStringUtf8();\n description_ = s;\n return s;\n } else {\n return (String) ref;\n }\n }", "@Nullable\n public StringProp getContentDescription() {\n if (mImpl.hasContentDescription()) {\n return StringProp.fromProto(mImpl.getContentDescription());\n } else {\n return null;\n }\n }", "public String getDescription() {\n\t\treturn config.getString(QuestConfigurationField.DESCRIPTION.getKey(), (String) QuestConfigurationField.DESCRIPTION.getDefault());\n\t}", "public java.lang.String getDescription() {\n return description;\n }", "public java.lang.String getDescription() {\n return description;\n }", "public java.lang.String getDescription() {\n return description;\n }", "public java.lang.String getDescription() {\n return description;\n }", "public java.lang.String getDescription() {\n return description;\n }", "public java.lang.String getDescription() {\n return description;\n }", "public java.lang.String getDescription() {\n return description;\n }", "public java.lang.String getDescription() {\n return description;\n }", "public java.lang.String getDescription() {\n return description;\n }", "public String getDescription() {\n if (description == null) {\n description = Description.getDescription(this);\n }\n return description;\n }", "public String getDescription() {\n return this.description;\n }", "public String getDescription() {\n return this.description;\n }", "public String getDescription() {\n return this.description;\n }", "public String getDescription() {\n return this.description;\n }" ]
[ "0.5999952", "0.5981588", "0.5976581", "0.5956897", "0.59026176", "0.58949584", "0.5890229", "0.57479286", "0.57479286", "0.57479286", "0.57479286", "0.56435555", "0.5625404", "0.56214553", "0.5615937", "0.5613001", "0.56122684", "0.5610561", "0.5610561", "0.55964965", "0.55964965", "0.55964965", "0.55964965", "0.55964965", "0.5594648", "0.5580903", "0.55785173", "0.55718887", "0.55717367", "0.55717367", "0.5569436", "0.55658364", "0.55658364", "0.5555523", "0.5555523", "0.5555523", "0.5555523", "0.5555523", "0.5555523", "0.5555523", "0.5555523", "0.5555523", "0.5555523", "0.5555523", "0.5555523", "0.5555523", "0.5555523", "0.5555523", "0.5555523", "0.5555523", "0.5555523", "0.5555523", "0.5555523", "0.5555523", "0.5555523", "0.5555523", "0.5555523", "0.5554121", "0.5545191", "0.5536078", "0.5536078", "0.5536078", "0.5536078", "0.5536078", "0.5536078", "0.5536078", "0.5536078", "0.55332154", "0.55332154", "0.55332154", "0.55332154", "0.55332154", "0.5529721", "0.5529721", "0.5518955", "0.5512785", "0.5512199", "0.55099493", "0.55056745", "0.5503014", "0.5503014", "0.5503014", "0.55026186", "0.5500404", "0.54998744", "0.54981786", "0.5495627", "0.5495627", "0.5495627", "0.5495627", "0.5495627", "0.5495627", "0.5495627", "0.5495627", "0.5495627", "0.5495493", "0.5492818", "0.54811186", "0.54811186", "0.54811186" ]
0.81246907
0
This method was created by a SmartGuide.
public boolean getSteady() { return (getTaskType() == TASK_STEADY); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "private stendhal() {\n\t}", "public final void mo51373a() {\n }", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\n public void memoria() {\n \n }", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n protected void initialize() {\n\n \n }", "public void designBasement() {\n\t\t\r\n\t}", "@Override\n\tprotected void update() {\n\t\t\n\t}", "@Override\r\n\tpublic void manage() {\n\t\t\r\n\t}", "@Override\n protected void getExras() {\n }", "public void mo4359a() {\n }", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\n protected void initialize() \n {\n \n }", "@Override\r\n\t\t\tprotected void saveContext() {\n\t\t\t\t\r\n\t\t\t}", "@Override\n protected void initialize() {\n }", "@Override\n protected void initialize() {\n }", "@Override\n protected void initialize() {\n }", "@Override\n protected void initialize() {\n }", "@Override\n protected void initialize() {\n }", "@Override\n protected void initialize() {\n }", "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo38117a() {\n }", "@Override\n\tprotected void logic() {\n\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}", "@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}", "protected MetadataUGWD() {/* intentionally empty block */}", "public void gored() {\n\t\t\n\t}", "@Override\r\n\tpublic void carDashboar() {\n\t\t\r\n\t}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "@Override\n\tpublic void einkaufen() {\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tpublic void nghe() {\n\n\t}", "@Override\r\n\tprotected void initSelfData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initSelfData() {\n\t\t\r\n\t}", "protected void mo6255a() {\n }", "private FlyWithWings(){\n\t\t\n\t}", "@Override\r\n\tpublic void voar() {\n\t\t\r\n\t}", "@Override\n\tprotected void initialize() {\n\n\t}", "@Override\n\tprotected void initData() {\n\t\t\n\t}", "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "@Override\n protected void prot() {\n }", "public void mo6081a() {\n }", "@Override\n protected void init() {\n }", "public void mo55254a() {\n }", "public void autoDetails() {\n\t\t\r\n\t}", "@Override\n\tprotected void initdata() {\n\n\t}", "protected void aktualisieren() {\r\n\r\n\t}", "@Override\r\n\tprotected void initData() {\n\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\n\tpublic void conferenceroom() {\n\t\t\n\t}", "@Override\n public void init() {\n\n }", "@Override\n\tpublic void verkaufen() {\n\t}", "public void smell() {\n\t\t\n\t}", "@Override\n\tpublic void classroom() {\n\t\t\n\t}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "private void Initialized_Data() {\n\t\t\r\n\t}", "@Override\n\tpublic void afterInit() {\n\t\t\n\t}", "@Override\n\tpublic void afterInit() {\n\t\t\n\t}", "@Override\n public void settings() {\n // TODO Auto-generated method stub\n \n }", "@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}", "@Override\r\n\t\t\tpublic void buscar() {\n\r\n\t\t\t}", "private void kk12() {\n\n\t}", "protected void onFirstUse() {}" ]
[ "0.6628274", "0.6547194", "0.6443456", "0.63148606", "0.6265926", "0.62131655", "0.62131655", "0.6179146", "0.61724716", "0.60800415", "0.60736835", "0.605234", "0.60494375", "0.6035975", "0.60117954", "0.59889966", "0.5968782", "0.5964716", "0.596312", "0.5955525", "0.5943977", "0.59374046", "0.5931601", "0.5931601", "0.59306175", "0.5928247", "0.5920091", "0.5918392", "0.5910005", "0.59047025", "0.5895881", "0.5892899", "0.5892027", "0.58855593", "0.58803385", "0.5819342", "0.58192503", "0.58192503", "0.58192503", "0.58192503", "0.58192503", "0.58192503", "0.579018", "0.5787234", "0.57662547", "0.57662547", "0.57662547", "0.57662547", "0.57662547", "0.57662547", "0.57662547", "0.5764415", "0.57513183", "0.57507473", "0.57312787", "0.573097", "0.57264173", "0.5719818", "0.57072645", "0.5698739", "0.5698739", "0.5690661", "0.5688992", "0.5688992", "0.56863105", "0.56795985", "0.56795985", "0.5677607", "0.56618476", "0.5655916", "0.5645593", "0.56406593", "0.56327784", "0.5630784", "0.56286126", "0.56136936", "0.56082565", "0.5596841", "0.5586713", "0.558064", "0.55775636", "0.5574291", "0.5574291", "0.5574291", "0.5574291", "0.5574291", "0.5574291", "0.5574171", "0.5563496", "0.55602646", "0.5557735", "0.5556735", "0.5555096", "0.55526304", "0.5542996", "0.5542996", "0.5538948", "0.55368143", "0.5536585", "0.5534296", "0.55263203" ]
0.0
-1
Insert the method's description here. Creation date: (12/6/2006 6:16:42 PM)
public NonspatialStochSimOptions getStochOpt() { return fieldNonspatialStochOpt; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "public void method_201() {}", "@Override\r\n\tpublic void method() {\n\t\r\n\t}", "public void method_4270() {}", "public Methods() {\n // what is this doing? -PMC\n }", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "public void method(){}", "public void mo21793R() {\n }", "@Override\r\n\tpublic void Method1() {\n\t\t\r\n\t}", "public void mo21795T() {\n }", "@Override\n public void date()\n {\n }", "public void method_115() {}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "public void method_202() {}", "public void mo55254a() {\n }", "public void mo21877s() {\n }", "public void mo21878t() {\n }", "@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}", "public void mo21779D() {\n }", "public Date getCreateDate()\r\n/* */ {\r\n/* 158 */ return this.createDate;\r\n/* */ }", "public void mo21794S() {\n }", "public E16_OverloadJavaDoc() {\n System.out.println(\"Planting a seedling\");\n }", "public void mo115188a() {\n }", "public void mo97908d() {\n }", "public void mo21791P() {\n }", "public void mo21782G() {\n }", "public void method_199() {}", "@SuppressWarnings(\"unused\")\n private void generateInfo()\n {\n }", "@Override\n\tpublic void anular() {\n\n\t}", "public void mo21789N() {\n }", "public abstract void description();", "public void mo21788M() {\n }", "public Method(String name, String desc) {\n/* 82 */ this.name = name;\n/* 83 */ this.desc = desc;\n/* */ }", "public void mo21785J() {\n }", "public void mo44053a() {\n }", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "public void mo21783H() {\n }", "public void mo21825b() {\n }", "public void mo56167c() {\n }", "public void method_206() {}", "public void method_193() {}", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "@Override\r\n\tpublic void Method2() {\n\t\t\r\n\t}", "@Override\n\tpublic void myMethod() {\n\t\t\n\t}", "public void mo3749d() {\n }", "@Override\n public String getDescription() {\n return DESCRIPTION;\n }", "public void mo38117a() {\n }", "public void mo21880v() {\n }", "public void mo1405e() {\n }", "public void method1()\r\n\t{\r\n\t}", "public void method_203() {}", "public void mo3376r() {\n }", "@Override\r\npublic int method() {\n\treturn 0;\r\n}", "public void mo6944a() {\n }", "public void mo21780E() {\n }", "public abstract String description();", "public abstract String description();", "public void mo21792Q() {\n }", "public void mo2471e() {\n }", "public String getDescription()\n/* */ {\n/* 74 */ return this.description;\n/* */ }", "public void mo4359a() {\n }", "@Override\n public Date getCreated()\n {\n return null;\n }", "@Override\r\n\tpublic Date getCreated_date() {\n\t\treturn super.getCreated_date();\r\n\t}", "public void myPublicMethod() {\n\t\t\n\t}", "public void amethod() {\n\t}", "@Override\r\n\tpublic void Method3() {\n\t\t\r\n\t}", "public void mo115190b() {\n }", "public void mo21784I() {\n }", "@Override\n\tpublic void dosomething() {\n\t\t\n\t}", "@Override\n public void author()\n {\n }", "@Override\n public void visit(MethodDeclaration n, Object arg) {\n \tArrayList<String> method = new ArrayList<String>();\n \tif(n.getJavaDoc()!=null){\n\t \tmethod.add(n.getName());\n\t \tString comment = n.getJavaDoc().getContent();\n\t \tcomment = comment.replaceAll(\"\\\\* @param (.*)\",\"\");\n\t \tcomment = comment.replaceAll(\"\\\\* @return (.*)\",\"\");\n\t \tcomment = comment.replaceAll(\"\\\\* @throws (.*)\",\"\");\n\t \tcomment = comment.replaceAll(\"\\\\* \",\"\");\n\t \tmethod.add(comment.trim()); \n\t \tmethods.add(method);\n \t}\n \t}", "public void mo9137b() {\n }", "@Override\r\n public String description() {\r\n return \"<html>Create a new method in class A that delegates the call to object B. <br/>\" +\r\n \"Now the client doesn’t know about, or depend on, class B. </html>\";\r\n }", "public void mo9233aH() {\n }", "public void mo5248a() {\n }", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "public void mo9848a() {\n }", "public void method_192() {}", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "public void method_200() {}", "@Override\n public int getMethodCount()\n {\n return 1;\n }", "@Override\n\tvoid methodabstract() {\n\t\t\n\t}", "public void mo1403c() {\n }", "@Override\n protected String getDescription() {\n return DESCRIPTION;\n }", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "public void mo12930a() {\n }", "public void mo1531a() {\n }", "@Override\n public String getMethodName() {\n return null;\n }", "public void mo21787L() {\n }", "public void method_191() {}", "public void autoDetails() {\n\t\t\r\n\t}", "public void foo() {\r\n\t}", "@Override\n\tpublic void emprestimo() {\n\n\t}", "public void mo97906c() {\n }" ]
[ "0.69057286", "0.68175733", "0.6455472", "0.6450671", "0.63178897", "0.63105625", "0.6294341", "0.6282319", "0.62819946", "0.62701106", "0.62450695", "0.6234423", "0.62319434", "0.62319434", "0.6222194", "0.6220974", "0.62166697", "0.6215742", "0.6207119", "0.6178733", "0.61580634", "0.61429566", "0.61288166", "0.6126604", "0.61147165", "0.6113378", "0.60853165", "0.6076978", "0.6075394", "0.60749084", "0.60734075", "0.60668963", "0.6059503", "0.6059387", "0.6058908", "0.60402983", "0.6036482", "0.60346687", "0.60339713", "0.6033363", "0.6022778", "0.60225743", "0.60159767", "0.60159767", "0.60159767", "0.60159767", "0.60159767", "0.60159767", "0.60159767", "0.6011263", "0.60048723", "0.6001428", "0.59979975", "0.5996898", "0.5995992", "0.599467", "0.5989924", "0.5978507", "0.59762204", "0.59726024", "0.5945538", "0.5945104", "0.5943135", "0.5943135", "0.59396034", "0.5928047", "0.59237874", "0.59219754", "0.59212965", "0.5914168", "0.5904818", "0.58982813", "0.5896385", "0.58692455", "0.5868865", "0.58655244", "0.5857717", "0.58460474", "0.5845982", "0.58440393", "0.5844008", "0.5842246", "0.58412206", "0.5833119", "0.58187985", "0.5818458", "0.5816231", "0.5814198", "0.5812866", "0.5811002", "0.5808937", "0.58022296", "0.58018637", "0.58007187", "0.57953864", "0.57938343", "0.57937336", "0.57792187", "0.57781583", "0.57716334", "0.57703483" ]
0.0
-1
This method was created by a SmartGuide.
public int getTaskType() { return fieldTaskType; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "private stendhal() {\n\t}", "public final void mo51373a() {\n }", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\n public void memoria() {\n \n }", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n protected void initialize() {\n\n \n }", "public void designBasement() {\n\t\t\r\n\t}", "@Override\n\tprotected void update() {\n\t\t\n\t}", "@Override\r\n\tpublic void manage() {\n\t\t\r\n\t}", "@Override\n protected void getExras() {\n }", "public void mo4359a() {\n }", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\n protected void initialize() \n {\n \n }", "@Override\r\n\t\t\tprotected void saveContext() {\n\t\t\t\t\r\n\t\t\t}", "@Override\n protected void initialize() {\n }", "@Override\n protected void initialize() {\n }", "@Override\n protected void initialize() {\n }", "@Override\n protected void initialize() {\n }", "@Override\n protected void initialize() {\n }", "@Override\n protected void initialize() {\n }", "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo38117a() {\n }", "@Override\n\tprotected void logic() {\n\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}", "@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}", "protected MetadataUGWD() {/* intentionally empty block */}", "public void gored() {\n\t\t\n\t}", "@Override\r\n\tpublic void carDashboar() {\n\t\t\r\n\t}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "@Override\n\tpublic void einkaufen() {\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tpublic void nghe() {\n\n\t}", "@Override\r\n\tprotected void initSelfData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initSelfData() {\n\t\t\r\n\t}", "protected void mo6255a() {\n }", "private FlyWithWings(){\n\t\t\n\t}", "@Override\r\n\tpublic void voar() {\n\t\t\r\n\t}", "@Override\n\tprotected void initialize() {\n\n\t}", "@Override\n\tprotected void initData() {\n\t\t\n\t}", "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "@Override\n protected void prot() {\n }", "public void mo6081a() {\n }", "@Override\n protected void init() {\n }", "public void mo55254a() {\n }", "public void autoDetails() {\n\t\t\r\n\t}", "@Override\n\tprotected void initdata() {\n\n\t}", "protected void aktualisieren() {\r\n\r\n\t}", "@Override\r\n\tprotected void initData() {\n\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\n\tpublic void conferenceroom() {\n\t\t\n\t}", "@Override\n public void init() {\n\n }", "@Override\n\tpublic void verkaufen() {\n\t}", "public void smell() {\n\t\t\n\t}", "@Override\n\tpublic void classroom() {\n\t\t\n\t}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "private void Initialized_Data() {\n\t\t\r\n\t}", "@Override\n\tpublic void afterInit() {\n\t\t\n\t}", "@Override\n\tpublic void afterInit() {\n\t\t\n\t}", "@Override\n public void settings() {\n // TODO Auto-generated method stub\n \n }", "@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}", "@Override\r\n\t\t\tpublic void buscar() {\n\r\n\t\t\t}", "private void kk12() {\n\n\t}", "protected void onFirstUse() {}" ]
[ "0.6628274", "0.6547194", "0.6443456", "0.63148606", "0.6265926", "0.62131655", "0.62131655", "0.6179146", "0.61724716", "0.60800415", "0.60736835", "0.605234", "0.60494375", "0.6035975", "0.60117954", "0.59889966", "0.5968782", "0.5964716", "0.596312", "0.5955525", "0.5943977", "0.59374046", "0.5931601", "0.5931601", "0.59306175", "0.5928247", "0.5920091", "0.5918392", "0.5910005", "0.59047025", "0.5895881", "0.5892899", "0.5892027", "0.58855593", "0.58803385", "0.5819342", "0.58192503", "0.58192503", "0.58192503", "0.58192503", "0.58192503", "0.58192503", "0.579018", "0.5787234", "0.57662547", "0.57662547", "0.57662547", "0.57662547", "0.57662547", "0.57662547", "0.57662547", "0.5764415", "0.57513183", "0.57507473", "0.57312787", "0.573097", "0.57264173", "0.5719818", "0.57072645", "0.5698739", "0.5698739", "0.5690661", "0.5688992", "0.5688992", "0.56863105", "0.56795985", "0.56795985", "0.5677607", "0.56618476", "0.5655916", "0.5645593", "0.56406593", "0.56327784", "0.5630784", "0.56286126", "0.56136936", "0.56082565", "0.5596841", "0.5586713", "0.558064", "0.55775636", "0.5574291", "0.5574291", "0.5574291", "0.5574291", "0.5574291", "0.5574291", "0.5574171", "0.5563496", "0.55602646", "0.5557735", "0.5556735", "0.5555096", "0.55526304", "0.5542996", "0.5542996", "0.5538948", "0.55368143", "0.5536585", "0.5534296", "0.55263203" ]
0.0
-1
Gets the timeBounds property (cbit.vcell.solver.TimeBounds) value.
public TimeBounds getTimeBounds() { // Only here to ensure it is being used correctly. // cbit.util.Assertion.assertNotNull(fieldTimeBounds); return fieldTimeBounds; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Range getTimeRange() {\r\n\t\treturn timeRange;\r\n\t}", "public List<MaintenanceWindowTimeRange> timeRanges() {\n return this.timeRanges;\n }", "public void setTimeBounds(TimeBounds timeBounds) throws java.beans.PropertyVetoException {\n\t\tif (!Matchable.areEqual(fieldTimeBounds,timeBounds) ) {\n\t\t\t// Only here to ensure it is being used correctly.\n\t\t\t// cbit.util.Assertion.assertNotNull(timeBounds);\n\t\t\tTimeBounds oldValue = fieldTimeBounds;\n\t\t\tfireVetoableChange(PROPERTY_TIME_BOUNDS, oldValue, timeBounds);\n\t\t\tfieldTimeBounds = timeBounds;\n\t\t\tfirePropertyChange(PROPERTY_TIME_BOUNDS, oldValue, timeBounds);\n\t\t}\n\t}", "net.opengis.gml.x32.TimeIntervalLengthType getTimeInterval();", "double getSolverTimeLimitSeconds();", "public String getTaskTimeRange() {\n return taskTimeRange;\n }", "public Bounds getBounds () { return (bounds); }", "public Rectangle getBounds() {\r\n return bounds;\r\n }", "BusinessCenterTime getValuationTime();", "@javax.annotation.Nullable\n @ApiModelProperty(example = \"Current and not expired\", value = \"Specifies time-based acceptance criteria\")\n @JsonProperty(JSON_PROPERTY_TIME_LIMIT)\n @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)\n\n public String getTimeLimit() {\n return timeLimit;\n }", "public TimeInterval\n getTimeInterval()\n {\n return pTimeInterval;\n }", "public BoundsObject getBounds() {\n\t\treturn null;\n\t}", "public MWC.GenericData.WorldArea getBounds()\r\n\t{\n\t\treturn null;\r\n\t}", "public long getUpperTbound() {\n\t\treturn this.upperTBound;\n\t}", "public Bounds get() {\n\treturn bounds;\n }", "@NonNull\n public Rect getBounds() {\n return new Rect(mBounds);\n }", "public hr.client.appuser.CouponCenter.TimeRangeOrBuilder getUseTimeOrBuilder() {\n if (useTimeBuilder_ != null) {\n return useTimeBuilder_.getMessageOrBuilder();\n } else {\n return useTime_ == null ?\n hr.client.appuser.CouponCenter.TimeRange.getDefaultInstance() : useTime_;\n }\n }", "public hr.client.appuser.CouponCenter.TimeRangeOrBuilder getUseTimeOrBuilder() {\n if (useTimeBuilder_ != null) {\n return useTimeBuilder_.getMessageOrBuilder();\n } else {\n return useTime_ == null ?\n hr.client.appuser.CouponCenter.TimeRange.getDefaultInstance() : useTime_;\n }\n }", "public EventTime getTime() {\n return this.time;\n }", "public long getTimerTime() {\n return timerTime;\n }", "public Integer getMaxTime() {\n return maxTime;\n }", "public final native LatLngBounds getBounds() /*-{\n return this.getBounds();\n }-*/;", "public org.landxml.schema.landXML11.GPSTime xgetStopTime()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.landxml.schema.landXML11.GPSTime target = null;\r\n target = (org.landxml.schema.landXML11.GPSTime)get_store().find_attribute_user(STOPTIME$24);\r\n return target;\r\n }\r\n }", "public Rectangle get_bounds() {\n return new Rectangle(x,y, width-3, height-3);\n }", "public Long getTime() {\n if (timeEnd == null) {\n return null;\n }\n return timeEnd - timeStart;\n }", "public RectF getBounds()\n {\n return bounds;\n }", "public long getLowerTBound() {\n\t\treturn this.lowerTBound;\n\t}", "public double getTimeCollisionBoundary() {\n\t\tdouble[] velocity = this.velocity.getVelocity();\n\t\tif (this.superWorld == null)\treturn Double.POSITIVE_INFINITY;\n\t\tif (velocity[0] == 0 && velocity[1] == 0)\t\treturn Double.POSITIVE_INFINITY;\n\t\t\n\t\tdouble radius = this.getRadius();\n\t\tif (this instanceof Planetoid) { Planetoid planetoid = (Planetoid) this; radius = planetoid.getRadius();}\n\t\t\n\t\tdouble edgeY;\n\t\tdouble edgeX;\n\t\tdouble mY = 0;\n\t\tdouble mX = 0;\n\t\t\n\t\tif (velocity[0] > 0){\n\t\t\tedgeX = position[0] + radius;\n\t\t\tmX = this.superWorld.getWorldWidth();\n\t\t}\n\t\telse edgeX = position[0] - radius;\n\t\tif (velocity[1] > 0){\n\t\t\tedgeY = position[1] + radius;\n\t\t\tmY = this.superWorld.getWorldHeight();\n\t\t}\n\t\telse edgeY = position[1] - radius;\n\t\t\n\t\tdouble tX = Double.POSITIVE_INFINITY;\n\t\tdouble tY = Double.POSITIVE_INFINITY;\n\t\t\n\t\tif (velocity[0] != 0){\n\t\t\ttX = (mX-edgeX)/velocity[0];\n\t\t}\n\t\tif (velocity[1] != 0){\n\t\t\ttY = (mY-edgeY)/velocity[1];\n\t\t}\n\t\t\n\t\t//Return the smallest value\n\t\treturn Math.min(tX, tY); \n\t\t\n\t}", "public long getTimeLimit() {\n\t\treturn timeLimit;\n\t}", "public Integer getEndTime() {\n return endTime;\n }", "public BoundsLatLon getTileBounds(int x, int y)\n {\n return boundsCalculator.getTileBounds(x, y);\n }", "public Rectangle getBounds()\r\n\t{\r\n\t\treturn new Rectangle(x, y, w, h);\r\n\t}", "public double getStopTime();", "public double getEndTime() {\n return endTime;\n }", "public Rectangle getBounds(){\r\n return new Rectangle(x, y, w, w);\r\n }", "public String getRectangleBounds() {\n checkAvailable();\n return impl.getRectangle();\n }", "@Override\n\tpublic TimerValuesInterface getTimes() {\n\t\treturn timer;\n\t}", "Rectangle getBounds();", "public ArrayList<Time> getTimes() {\n\t\treturn times;\n\t}", "public long getMaxTime()\n {\n return times[times.length - 1];\n }", "public java.awt.Rectangle getBounds(){\r\n return new java.awt.Rectangle((int)Math.round(x), (int)Math.round(y), (int)Math.round(getWidth()), (int)Math.round(getHeight()));\r\n }", "public Date getOptTime() {\n\t\treturn optTime;\n\t}", "public java.util.List<referential.store.v2.TimeRange> getTuesdayTimeRanges() {\n return tuesdayTimeRanges;\n }", "public java.util.List<referential.store.v2.TimeRange> getTuesdayTimeRanges() {\n return tuesdayTimeRanges;\n }", "private int boundViewTime(ViewingTime viewingTime) {\n int viewTime;\n if (viewingTime.getViewingTime() < 0) {\n viewTime = 0;\n }\n else if (viewingTime.getViewingTime() > this.content.getViewLength()) {\n viewTime = this.content.getViewLength();\n }\n else {\n viewTime = viewingTime.getViewingTime();\n }\n return viewTime;\n }", "public Rectangle getBounds() {\n return null;\n }", "public Rectangle getBounds() {\n\t\treturn new Rectangle(getX(),getY(),width, width);\n\t}", "public Timer getTime() {\n\t\treturn time;\n\t}", "public double getStopTime()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.SimpleValue target = null;\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(STOPTIME$24);\r\n if (target == null)\r\n {\r\n return 0.0;\r\n }\r\n return target.getDoubleValue();\r\n }\r\n }", "public float[] getBounds() {\r\n\t\tfloat[] bounds = {x_ - width_/ 2, x_ + width_ / 2, y_ - height_ / 2, y_ + height_ / 2};\r\n\t\treturn bounds;\r\n\t}", "public double Time() {\n return OCCwrapJavaJNI.Units_Dimensions_Time(swigCPtr, this);\n }", "public double[] get_bounds() {\n System.out.println ( \"section.get_bounds() called\" );\n double[] current_bounds = null;\n if (contours != null) {\n for (int i=0; i<contours.size(); i++) {\n ContourClass contour = contours.get(i);\n double[] cont_bounds = contour.get_bounds();\n if (cont_bounds != null) {\n if (current_bounds == null) {\n current_bounds = new double[4];\n current_bounds[0] = cont_bounds[0];\n current_bounds[1] = cont_bounds[1];\n current_bounds[2] = cont_bounds[2];\n current_bounds[3] = cont_bounds[3];\n } else {\n if (cont_bounds[0] < current_bounds[0]) current_bounds[0] = cont_bounds[0]; // minx\n if (cont_bounds[1] > current_bounds[1]) current_bounds[1] = cont_bounds[1]; // maxx\n if (cont_bounds[2] < current_bounds[2]) current_bounds[2] = cont_bounds[2]; // miny\n if (cont_bounds[3] > current_bounds[3]) current_bounds[3] = cont_bounds[3]; // maxy\n }\n }\n }\n }\n return ( current_bounds );\n }", "public Rectangle getBounds();", "public Rectangle getBounds();", "public int getTimeLength() {\r\n return timeLength;\r\n }", "StatusTimeType getStatusTime();", "public ArrayList<TimeWindow> getTimeWindows() {\n\t\treturn timeWindows;\n\t}", "public Bounds getBounds() {\n\t\treturn boss.getBoundsInParent();\n\t}", "public Rectangle getBounds() {\n return new Rectangle(x, y, 32, 32);\n }", "public Rectangle getBounds() {\r\n\t\treturn new Rectangle((int) (x * scalingX), (int) (y * scalingY), (int) rocketWidth, (int) rocketHeight);\r\n\t}", "public hr.client.appuser.CouponCenter.TimeRange getUseTime() {\n if (useTimeBuilder_ == null) {\n return useTime_ == null ? hr.client.appuser.CouponCenter.TimeRange.getDefaultInstance() : useTime_;\n } else {\n return useTimeBuilder_.getMessage();\n }\n }", "public hr.client.appuser.CouponCenter.TimeRange getUseTime() {\n if (useTimeBuilder_ == null) {\n return useTime_ == null ? hr.client.appuser.CouponCenter.TimeRange.getDefaultInstance() : useTime_;\n } else {\n return useTimeBuilder_.getMessage();\n }\n }", "public double timeSlice() {\n \t return this.timeSlice;\n }", "public boolean getBoundsVolatile() {\n\t\treturn true;\n\t}", "public double getCBRTime();", "Rectangle getBounds() {\n return new Rectangle(getLocation(), getSize());\n }", "public sRectangle getSRectangleBound()\n {\n return form.getSRectangleBound();\n }", "@Override\n public List<Bound> getBounds() {\n return Collections.unmodifiableList(bounds);\n }", "public long getEndTime() {\n return endTime;\n }", "public long getEndTime() {\n return endTime;\n }", "public Rectangle getBounds() {\n return new Rectangle(getMinX(), getMinY(), getWidth(), getHeight());\n }", "public long getEndTime() {\r\n return endTime;\r\n }", "public gov.ucore.ucore._2_0.TimeType getTime()\n {\n synchronized (monitor())\n {\n check_orphaned();\n gov.ucore.ucore._2_0.TimeType target = null;\n target = (gov.ucore.ucore._2_0.TimeType)get_store().find_element_user(TIME$2, 0);\n if (target == null)\n {\n return null;\n }\n return target;\n }\n }", "public double getTimeFirstCollisionBoundary() {\n\t\tif (getWorld() == null) return Double.POSITIVE_INFINITY;\n\t\tdouble xTime = Double.POSITIVE_INFINITY;\n\t\tdouble yTime = Double.POSITIVE_INFINITY;\n\t\t\n\t\tif (this.getXVelocity() > 0)\n\t\t\txTime = (getWorld().getWidth() - getXCoordinate() - getRadius()) / getXVelocity();\n\t\tif (this.getXVelocity() < 0)\n\t\t\txTime = - ( getXCoordinate() - getRadius()) / getXVelocity();\n\t\tif (this.getXVelocity() == 0)\n\t\t\txTime = Double.POSITIVE_INFINITY;\n\t\t\n\t\tif (this.getYVelocity() > 0)\n\t\t\tyTime = (getWorld().getHeight() - getYCoordinate() -getRadius()) / getYVelocity();\n\t\tif (this.getYVelocity() < 0)\n\t\t\tyTime = - ( getYCoordinate() - getRadius()) / getYVelocity();\n\t\tif (this.getYVelocity() == 0)\n\t\t\tyTime = Double.POSITIVE_INFINITY;\n\t\t\n\t\treturn Math.min(xTime, yTime);\t\n\t}", "public LocalDateTime getEndTime() {\n\t\treturn endTime;\n\t}", "public java.lang.Long getEndTime() {\n return end_time;\n }", "com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder();", "public Rectangle getBounds() {\n\treturn new Rectangle((int)x,(int)y,32,32);\n\t}", "@Basic\n\t@Raw\n\t@Immutable\n\tpublic static double getVelocityUpperBound() {\n\t\treturn VELOCITYUPPERBOUND;\n\t}", "public float getTime() {\n return Math.abs(endTime - startTime) / 1000000f;\n }", "public Rectangle getBounds() {\r\n return new Rectangle(x, y, 55, 51);\r\n }", "public long getEndTime() {\n\t\treturn endTime;\n\t}", "public Rectangle getBounds() {\n\t\treturn new Rectangle((int) xPos, (int) yPos, (int) width, (int) height);\n\t}", "public int getMaxTime() { return _maxTime; }", "public Rectangle getBounds() {\n return new Rectangle(x, y, DIAMETER, DIAMETER); // returns a rectangle with its dimensions\r\n }", "public com.google.protobuf.ByteString\n getTimeBytes() {\n java.lang.Object ref = time_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n time_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public com.google.protobuf.ByteString\n getTimeBytes() {\n java.lang.Object ref = time_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n time_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public Calendar getEndTime() {\r\n\t\treturn endTime;\r\n\t}", "public long getEnd_time() {\n return end_time;\n }", "public Date getEventTime() {\n\t\treturn time;\n\t}", "public com.google.protobuf.ByteString\n getTimeBytes() {\n java.lang.Object ref = time_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n time_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "public com.google.protobuf.ByteString\n getTimeBytes() {\n java.lang.Object ref = time_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n time_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }", "@DISPID(59)\r\n\t// = 0x3b. The runtime will prefer the VTID if present\r\n\t@VTID(57)\r\n\tint actualRunTime_Minutes();", "public java.lang.Long getEndTime() {\n return end_time;\n }", "public java.util.Collection getTimeLimit();", "public Calendar getTime () {\n return this.time;\n }", "public Rectangle getBounds() {\n return new Rectangle((int) getX() - 20, (int) getY() - 20, 40, 40);\n }", "public java.lang.Integer getTime() {\n return time;\n }", "public ArrayList<Double> getTime(){\n\t\treturn time;\n\t}", "private com.google.protobuf.SingleFieldBuilder<\n hr.client.appuser.CouponCenter.TimeRange, hr.client.appuser.CouponCenter.TimeRange.Builder, hr.client.appuser.CouponCenter.TimeRangeOrBuilder> \n getUseTimeFieldBuilder() {\n if (useTimeBuilder_ == null) {\n useTimeBuilder_ = new com.google.protobuf.SingleFieldBuilder<\n hr.client.appuser.CouponCenter.TimeRange, hr.client.appuser.CouponCenter.TimeRange.Builder, hr.client.appuser.CouponCenter.TimeRangeOrBuilder>(\n getUseTime(),\n getParentForChildren(),\n isClean());\n useTime_ = null;\n }\n return useTimeBuilder_;\n }" ]
[ "0.65888506", "0.5893671", "0.57235175", "0.5684943", "0.5612603", "0.5558649", "0.55164266", "0.55076444", "0.54766804", "0.54301417", "0.5420665", "0.53831947", "0.5366894", "0.5360155", "0.5332739", "0.52796876", "0.52742136", "0.52742136", "0.52492696", "0.5243052", "0.52373534", "0.5206683", "0.51770985", "0.51507926", "0.51466244", "0.51326275", "0.51172566", "0.5105206", "0.5103956", "0.5083192", "0.50815856", "0.5072939", "0.5055741", "0.5040707", "0.50404", "0.50253016", "0.5019282", "0.50188565", "0.5017416", "0.50149006", "0.5009753", "0.5008994", "0.50061023", "0.5000844", "0.49821934", "0.49776202", "0.49712634", "0.49656397", "0.49515933", "0.49515527", "0.49507582", "0.4945126", "0.49327177", "0.49327177", "0.49184835", "0.4916669", "0.49132794", "0.49019518", "0.48986614", "0.4892709", "0.4889986", "0.4889986", "0.48785323", "0.48775116", "0.48665473", "0.48644912", "0.48596704", "0.48582122", "0.4858022", "0.4858022", "0.4847467", "0.48458698", "0.48439977", "0.4843826", "0.48430058", "0.4841614", "0.48358935", "0.4834919", "0.48209575", "0.48161116", "0.48138645", "0.48125497", "0.48123923", "0.4810464", "0.4807341", "0.48027918", "0.48022255", "0.4799951", "0.47936818", "0.47867477", "0.47840154", "0.4782393", "0.47788757", "0.4775621", "0.47698846", "0.4769088", "0.47678256", "0.47665238", "0.47625935", "0.476015" ]
0.77763766
0
Gets the timeStep property (cbit.vcell.solver.TimeStep) value.
public TimeStep getTimeStep() { // Only here to ensure it is being used correctly. // cbit.util.Assertion.assertNotNull(fieldTimeStep); return fieldTimeStep; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public double getStep() {\n\t\treturn step;\n\t}", "public Integer getStep() {\n return step;\n }", "public long getTimeout() {\n return StepTimeout;\n }", "public int getStep()\n\t{\n\t\treturn step;\n\t}", "public int getStep() {\n\t\treturn step;\n\t}", "public int getStep() {\n return step_;\n }", "public int getStep() {\n return step_;\n }", "public int getStep() {\n return step_;\n }", "public int getStep() {\n return step_;\n }", "public int getStep() {\n return step_;\n }", "public int getStep() {\n return step_;\n }", "public int getStep() {\n return step;\n }", "public double getStepLength() {\n\t\treturn m_dStepLength;\n\t}", "public int getStep () {\n\t\treturn step_;\n\t}", "public double getSimulationStepDuration() {\n\t\treturn Kernel.getSingleton().getSimulationClock().getSimulationStepDuration();\n\t}", "public long getStepNumber() {\n return schedule.getSteps();\n }", "Double getStep();", "public T getStepSize() {\r\n return this.stepSize;\r\n }", "protected int getStep() {\n\t\treturn step;\n\t}", "public int getToTalNoOfTimeSteps() {\n\t\treturn ToTalNoOfTimeSteps;\n\t}", "public int getStepNumber() {\n return stepNumber;\n }", "public double getStopTime()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.SimpleValue target = null;\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(STOPTIME$24);\r\n if (target == null)\r\n {\r\n return 0.0;\r\n }\r\n return target.getDoubleValue();\r\n }\r\n }", "public double getTimestep(double dt, double time_passed) {\n\t\tif ((getVx() == 0) && (getVy() == 0) && (getAx() == 0) && (getAy() == 0))\n\t\t\treturn dt - time_passed;\n\t\treturn Math.min(0.01/(Math.sqrt(Math.pow(getVx(), 2) + Math.pow(getVy(), 2)) +\n\t\t\t\tMath.sqrt(Math.pow(getAx(), 2) + Math.pow(getAy(), 2))*dt), dt - time_passed);\n\t}", "public Integer getTravelTime() {\n\t\treturn travelTime;\n\t}", "public int getStepId() {\n return stepId;\n }", "public static double getTimeStep(Cell[] cells){\n return cells[0].dx / Math.abs(Info.ADVECTION_VEL) * Info.CFL; \n }", "public long getStepCount(){\r\n\t\treturn steps;\r\n\t}", "public Element getStepExpression() {\n\t\treturn stepExpression;\n\t}", "public T getMaxStep() {\n return maxStep;\n }", "int getStep();", "int getStep();", "int getStep();", "public java.lang.String getStepName() {\n return stepName;\n }", "public double getTravelTime() {\n return travelTime;\n }", "public T getMinStep() {\n return minStep;\n }", "public int getSteps() {\n\t\treturn this.steps;\n\t}", "public String getStepName()\r\n\t{\r\n\t\treturn stepName;\r\n\t}", "public long getStepCount(){\n return steps;\n }", "public double getStepsCycle() {\n\t\treturn stepsSleep + stepsCS;\n\t}", "public static int getCurrentStepNumber() {\n return threadStepNumber.get();\n }", "public int getStepCount() {\r\n\t\treturn stepCount;\r\n\t}", "public int getSteps() {\n\t\treturn steps;\n\t}", "public double getStopTime();", "public String getStopTime() {\n\t\treturn (new Parser(value)).skipString().getString();\n\t}", "public FieldODEStateAndDerivative<T> getStepStart() {\r\n return this.stepStart;\r\n }", "public int getStepY() {\n return stepY;\n }", "double getStep() {\n\t\t\treturn scale;\n\t\t}", "public long getTrialSpeed() {\r\n\t return this.pTrialTimeSpeed;\r\n\t}", "public int getTravelTime() {\r\n return travelTime;\r\n }", "public double Time() {\n return OCCwrapJavaJNI.Units_Dimensions_Time(swigCPtr, this);\n }", "@Schema(description = \"The time in seconds spent working on the issue. Required when creating a worklog if `timeSpent` isn't provided. Optional when updating a worklog. Cannot be provided if `timeSpent` is provided.\")\n public Long getTimeSpentSeconds() {\n return timeSpentSeconds;\n }", "public int getStep() {\r\n\t\t\treturn this.enabled;\r\n\t\t}", "public int getStepLength() {\n return OffsetOriginStep.getLength();\n }", "public long getTimerTime() {\n return timerTime;\n }", "@gw.internal.gosu.parser.ExtendedProperty\n public java.lang.Long getWorkElapsed() {\n return (java.lang.Long)__getInternalInterface().getFieldValue(WORKELAPSED_PROP.get());\n }", "public double getTime() {\n return this.time;\n }", "public int getTravelingTime() {\n\t\treturn mTravelingTime;\n\t}", "public Vertex2F getStep()\n {\n return this.step.clone();\n }", "public java.lang.Byte getCheckStep () {\n\t\treturn checkStep;\n\t}", "@gw.internal.gosu.parser.ExtendedProperty\n public java.lang.Long getWorkElapsed() {\n return (java.lang.Long)__getInternalInterface().getFieldValue(WORKELAPSED_PROP.get());\n }", "public double time()\n\t{\n\t\treturn _dblTime;\n\t}", "public double time()\n\t{\n\t\treturn _dblTime;\n\t}", "public double GetTimeError(){\n\t\treturn this.timeError;\n\t}", "float getStepPhaseShiftIncrement();", "public Optional<Step> getCurrentStep() {\n return fromNullable(currentStep);\n }", "public java.lang.String getStepStatus() {\n return stepStatus;\n }", "public double getStartTime()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.SimpleValue target = null;\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(STARTTIME$22);\r\n if (target == null)\r\n {\r\n return 0.0;\r\n }\r\n return target.getDoubleValue();\r\n }\r\n }", "public java.lang.String getStepDescription() {\n return stepDescription;\n }", "public int getwaitTime(){\r\n\t\t String temp=rb.getProperty(\"waitTime\");\r\n\t\t return Integer.parseInt(temp);\r\n\t}", "public double getTime() { return time; }", "public DoubleProperty getReactorPhase() {\n return this.reactorLine.getCurrentPhase();\n }", "public int getDeltaT() {\n return deltaT;\n }", "public float getRunTime() {\r\n return runTime;\r\n }", "java.util.ArrayList<CloneableObject> getStepParameter()\n\t{\n\t\treturn this.stepParameter;\n\t}", "java.util.ArrayList<CloneableObject> getStepParameter()\n\t{\n\t\treturn this.stepParameter;\n\t}", "public void setTimeStep(TimeStep timeStep) throws java.beans.PropertyVetoException {\n\t\t// Only here to ensure it is being used correctly.\n\t\t// cbit.util.Assertion.assertNotNull(timeStep);\n\t\tif (!Matchable.areEqual(timeStep, fieldTimeStep)) {\n\t\t\tTimeStep oldValue = fieldTimeStep;\n\t\t\tfireVetoableChange(PROPERTY_TIME_STEP, oldValue, timeStep);\n\t\t\tfieldTimeStep = timeStep;\n\t\t\tfirePropertyChange(PROPERTY_TIME_STEP, oldValue, timeStep);\n\t\t}\n\t}", "public long getRouteStepKey() {\n\t\treturn routeStepKey;\n\t}", "public int getSecond() {\n return this.timeRuunableThread.getSecond();\n }", "public String getStepDescription()\r\n\t{\r\n\t\treturn stepDescription;\r\n\t}", "public long getPropertyVolumeMilliDbPerStep()\n {\n return iPropertyVolumeMilliDbPerStep.getValue();\n }", "public org.landxml.schema.landXML11.GPSTime xgetStopTime()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.landxml.schema.landXML11.GPSTime target = null;\r\n target = (org.landxml.schema.landXML11.GPSTime)get_store().find_attribute_user(STOPTIME$24);\r\n return target;\r\n }\r\n }", "public double getStartTime() {\n return startTime;\n }", "public double getStartTime() {\n return startTime;\n }", "public double getSimulationStepDuration(TimeUnit desired_unit) {\n\t\tassert(desired_unit!=null);\n\t\treturn Kernel.getSingleton().getSimulationClock().getSimulationStepDuration(desired_unit);\n\t}", "public Timestamp getDeltaTime() {\n\treturn mDelta;\n }", "public int getStepLineNumber()\n\t{\n\t\treturn this.stepLineNumber;\n\t}", "public int getStepLineNumber()\n\t{\n\t\treturn this.stepLineNumber;\n\t}", "public long getPropertyVolumeSteps()\n {\n return iPropertyVolumeSteps.getValue();\n }", "public double getSimulationTime() {\n\t\treturn Kernel.getSingleton().getSimulationClock().getSimulationTime();\n\t}", "public long getTs() {\n return ts;\n }", "@Override\r\n\tpublic double getStep(double step){\n\t\treturn 0;\r\n\t}", "public double getFlightTime() {\n\t\treturn flightTime;\n\t}", "public double getElapsedTime()\n\t{\n\t\treturn elapsedTime;\n\t}", "public ITimeLine getTimeLine() {\n\t\treturn timeLine;\n\t}", "public double getDeltaT() {\n\t\tif (deltatIsValid) {\n\t\t\treturn this.deltaT;\n\t\t}\n\t\tthis.deltaT = calc_deltaT(this.getJulDay());\n\t\tdeltatIsValid = true;\n\t\treturn this.deltaT;\n\t}", "public java.lang.Integer getTime() {\n return time;\n }", "public double getElapsedTime() {\r\n return (double) (elapsedTime / 1000.0); // convert from milliseconds to seconds\r\n }", "public java.lang.Integer getTime() {\n return time;\n }", "public BigInteger getTime() {\n\t\treturn time;\n\t}", "public int getWorkRequired() {\n return time;\n }" ]
[ "0.6767415", "0.66289425", "0.65589106", "0.65450543", "0.64985627", "0.6457533", "0.6457533", "0.6457533", "0.6454915", "0.6454915", "0.6454915", "0.6420385", "0.6404668", "0.6385998", "0.633811", "0.63343525", "0.63270175", "0.6269449", "0.61573446", "0.6026963", "0.60213226", "0.59359723", "0.59213436", "0.5891854", "0.5874989", "0.5838996", "0.579616", "0.5789724", "0.5786966", "0.5786459", "0.5786459", "0.5786459", "0.5758046", "0.5753176", "0.5752725", "0.5689545", "0.567805", "0.5671381", "0.5646122", "0.5643842", "0.5586283", "0.55854034", "0.55735517", "0.5557292", "0.5539072", "0.55176926", "0.55024517", "0.54820246", "0.5476192", "0.54661644", "0.5437778", "0.5409372", "0.5398691", "0.5378119", "0.53594035", "0.535696", "0.5352767", "0.5346537", "0.53436977", "0.5340629", "0.5328132", "0.5328132", "0.5310324", "0.53094494", "0.52921987", "0.5291047", "0.5282217", "0.5270503", "0.52674466", "0.5243864", "0.5235249", "0.52298635", "0.5214699", "0.51941735", "0.51941735", "0.51895475", "0.5184877", "0.51646566", "0.51628816", "0.51628", "0.5160215", "0.51535493", "0.51535493", "0.5147148", "0.51217747", "0.51139456", "0.51139456", "0.5106395", "0.5106012", "0.50920385", "0.5085439", "0.50807", "0.5075848", "0.5073886", "0.5073415", "0.5073391", "0.507303", "0.5072773", "0.5068824", "0.5060976" ]
0.7651233
0
This method was created by a SmartGuide.
public boolean getUnsteady() { return (getTaskType() == TASK_UNSTEADY); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "private stendhal() {\n\t}", "public final void mo51373a() {\n }", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\n public void memoria() {\n \n }", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n protected void initialize() {\n\n \n }", "public void designBasement() {\n\t\t\r\n\t}", "@Override\n\tprotected void update() {\n\t\t\n\t}", "@Override\r\n\tpublic void manage() {\n\t\t\r\n\t}", "@Override\n protected void getExras() {\n }", "public void mo4359a() {\n }", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\n protected void initialize() \n {\n \n }", "@Override\r\n\t\t\tprotected void saveContext() {\n\t\t\t\t\r\n\t\t\t}", "@Override\n protected void initialize() {\n }", "@Override\n protected void initialize() {\n }", "@Override\n protected void initialize() {\n }", "@Override\n protected void initialize() {\n }", "@Override\n protected void initialize() {\n }", "@Override\n protected void initialize() {\n }", "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo38117a() {\n }", "@Override\n\tprotected void logic() {\n\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}", "@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}", "protected MetadataUGWD() {/* intentionally empty block */}", "public void gored() {\n\t\t\n\t}", "@Override\r\n\tpublic void carDashboar() {\n\t\t\r\n\t}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "@Override\n\tpublic void einkaufen() {\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tpublic void nghe() {\n\n\t}", "@Override\r\n\tprotected void initSelfData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initSelfData() {\n\t\t\r\n\t}", "protected void mo6255a() {\n }", "private FlyWithWings(){\n\t\t\n\t}", "@Override\r\n\tpublic void voar() {\n\t\t\r\n\t}", "@Override\n\tprotected void initialize() {\n\n\t}", "@Override\n\tprotected void initData() {\n\t\t\n\t}", "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "@Override\n protected void prot() {\n }", "public void mo6081a() {\n }", "@Override\n protected void init() {\n }", "public void mo55254a() {\n }", "public void autoDetails() {\n\t\t\r\n\t}", "@Override\n\tprotected void initdata() {\n\n\t}", "protected void aktualisieren() {\r\n\r\n\t}", "@Override\r\n\tprotected void initData() {\n\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\n\tpublic void conferenceroom() {\n\t\t\n\t}", "@Override\n public void init() {\n\n }", "@Override\n\tpublic void verkaufen() {\n\t}", "public void smell() {\n\t\t\n\t}", "@Override\n\tpublic void classroom() {\n\t\t\n\t}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "private void Initialized_Data() {\n\t\t\r\n\t}", "@Override\n\tpublic void afterInit() {\n\t\t\n\t}", "@Override\n\tpublic void afterInit() {\n\t\t\n\t}", "@Override\n public void settings() {\n // TODO Auto-generated method stub\n \n }", "@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}", "@Override\r\n\t\t\tpublic void buscar() {\n\r\n\t\t\t}", "private void kk12() {\n\n\t}", "protected void onFirstUse() {}" ]
[ "0.6628274", "0.6547194", "0.6443456", "0.63148606", "0.6265926", "0.62131655", "0.62131655", "0.6179146", "0.61724716", "0.60800415", "0.60736835", "0.605234", "0.60494375", "0.6035975", "0.60117954", "0.59889966", "0.5968782", "0.5964716", "0.596312", "0.5955525", "0.5943977", "0.59374046", "0.5931601", "0.5931601", "0.59306175", "0.5928247", "0.5920091", "0.5918392", "0.5910005", "0.59047025", "0.5895881", "0.5892899", "0.5892027", "0.58855593", "0.58803385", "0.5819342", "0.58192503", "0.58192503", "0.58192503", "0.58192503", "0.58192503", "0.58192503", "0.579018", "0.5787234", "0.57662547", "0.57662547", "0.57662547", "0.57662547", "0.57662547", "0.57662547", "0.57662547", "0.5764415", "0.57513183", "0.57507473", "0.57312787", "0.573097", "0.57264173", "0.5719818", "0.57072645", "0.5698739", "0.5698739", "0.5690661", "0.5688992", "0.5688992", "0.56863105", "0.56795985", "0.56795985", "0.5677607", "0.56618476", "0.5655916", "0.5645593", "0.56406593", "0.56327784", "0.5630784", "0.56286126", "0.56136936", "0.56082565", "0.5596841", "0.5586713", "0.558064", "0.55775636", "0.5574291", "0.5574291", "0.5574291", "0.5574291", "0.5574291", "0.5574291", "0.5574171", "0.5563496", "0.55602646", "0.5557735", "0.5556735", "0.5555096", "0.55526304", "0.5542996", "0.5542996", "0.5538948", "0.55368143", "0.5536585", "0.5534296", "0.55263203" ]
0.0
-1
Gets the useSymbolicJacobian property (boolean) value.
public boolean getUseSymbolicJacobian() { return fieldUseSymbolicJacobian; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setUseSymbolicJacobian(boolean useSymbolicJacobian) {\n\t\tif (useSymbolicJacobian != fieldUseSymbolicJacobian) {\n\t\t\tboolean oldValue = fieldUseSymbolicJacobian;\n\t\t\tfieldUseSymbolicJacobian = useSymbolicJacobian;\n\t\t\tfirePropertyChange(PROPERTY_USE_SYMBOLIC_JACOBIAN, new Boolean(oldValue), new Boolean(useSymbolicJacobian));\n\t\t}\n\t}", "public boolean isFormulaUsed() {\n return getBooleanProperty(\"IsFormulaUsed\");\n }", "public boolean getForceFormulaRecalculation() {\n\t\treturn false;\n\t}", "public boolean m2683J() {\n return ((Boolean) this.f2439a.m2666a(ea.cl)).booleanValue();\n }", "public boolean isSymbolic() throws PDFNetException {\n/* 583 */ return IsSymbolic(this.a);\n/* */ }", "public String getBooltax() {\n return booltax;\n }", "protected String getIntermediateFormula() {\n if ( isGlobal() ) {\n return globalConstraint;\n } else if ( isRoleBased() ) {\n return roleMapToFormula();\n } else {\n // rls is disabled\n return EMPTY_STRING;\n }\n }", "public boolean get_boolean() {\n return local_boolean;\n }", "public boolean trueSolution() {\n this.tanSolve();\n return this.solution;\n }", "public Boolean powerBIIntegration() {\n return this.powerBIIntegration;\n }", "public Boolean getBooleanValue() {\n return this.booleanValue;\n }", "@JsProperty boolean getChecked();", "public double getJy()\n {\n return m_Jy;\n }", "public boolean mo23268J() {\n return ((Boolean) this.f13965a.mo23249a(C7196pb.f13751Rc)).booleanValue();\n }", "public BigDecimal getnJssl() {\n return nJssl;\n }", "public boolean isForce() {\n return force;\n }", "public String getName() {\n return \"sdo_boolean\";\n }", "public boolean isForceAsSlave() {\n return this.forceAsSlave;\n }", "public double getJx()\n {\n return m_Jx;\n }", "public float getSpring_stiffness_ang_y() throws IOException\n\t{\n\t\tif ((__io__pointersize == 8)) {\n\t\t\treturn __io__block.readFloat(__io__address + 96);\n\t\t} else {\n\t\t\treturn __io__block.readFloat(__io__address + 88);\n\t\t}\n\t}", "public String getJx() {\n return jx;\n }", "public String toString() { return this.booleanValue; }", "@JsonProperty(\"isOrderJob\")\r\n @JacksonXmlProperty(localName = \"order\", isAttribute = true)\r\n public String getIsOrderJob() {\r\n return isOrderJob;\r\n }", "public boolean getBoolean(){\r\n try{return kd.getJSONObject(ug).getBoolean(udn);}\r\n catch(JSONException e){return false;}\r\n }", "public Boolean deceasedBoolean() {\n return data.getBoolean(FhirPropertyNames.PROPERTY_DECEASED_BOOLEAN);\n }", "public boolean mo23303j() {\n return ((Boolean) this.f13965a.mo23249a(C7196pb.f13840kc)).booleanValue();\n }", "public String getJxfs() {\n return jxfs;\n }", "public boolean getBoolean();", "final public boolean isGradientsUsed()\n {\n return ComponentUtils.resolveBoolean(getProperty(GRADIENTS_USED_KEY), true);\n }", "public Boolean getValue() {\n\t\treturn b;\n\t}", "boolean getBoolean();", "boolean getBoolean();", "public boolean isUseJointGraphs() {\n return useJointGraphs;\n }", "public boolean getBoolean(String name)\n/* */ {\n/* 845 */ return getBoolean(name, false);\n/* */ }", "public boolean booleanValue(String name)\n\t{\n\t\tString p = _props.getProperty(name);\n\t\tif(p != null && p.length() > 0 \n\t\t\t\t&& (p.toLowerCase().charAt(0) == 'y'\n\t\t\t\t|| p.toLowerCase().charAt(0) == 't'))\n\t\t{\n\t\t\treturn true;\n\t\t}\n\n\t\treturn false;\n\t}", "public boolean realSolution() {\n this.polySolve();\n return this.real;\n }", "public boolean mo81391b() {\n return this.f58078j;\n }", "public Boolean get(Symbol sym) {\n\t\treturn assignments.get(sym);\n\t}", "@Override\n\tpublic boolean toBoolean() {\n\t\treturn this.alpha.toString().equals(this.beta.toString());\n\t}", "public String getUseFlag() {\n return useFlag;\n }", "public boolean m2709j() {\n return ((Boolean) this.f2439a.m2666a(ea.aP)).booleanValue();\n }", "String getBooleanFalseExpression();", "public Boolean getSoft() {\n return soft;\n }", "public Boolean getFixed() {\n return fixed;\n }", "public String getJoperator() {\n return joperator;\n }", "public java.lang.Boolean getVar92() {\n return var92;\n }", "public final boolean Jn(int i) {\n AppMethodBeat.i(7662);\n SparseBooleanArray sparseBooleanArray = (SparseBooleanArray) this.utA.get(cZv().pzf.getUrl());\n if (sparseBooleanArray == null || !sparseBooleanArray.get(i, false)) {\n AppMethodBeat.o(7662);\n return true;\n }\n AppMethodBeat.o(7662);\n return false;\n }", "public String getIsCxjd() {\r\n\t\treturn isCxjd;\r\n\t}", "public java.lang.String getDysj() {\r\n return localDysj;\r\n }", "public java.lang.Boolean getVar92() {\n return var92;\n }", "String getBooleanExpression(boolean flag);", "public SimpleBooleanProperty getUseDefault() {\n return useDefault;\n }", "public boolean getMyBool() {\n return myBool;\n }", "public boolean isSalesTax()\r\n\t{\r\n\t\treturn m_salesTax;\r\n\t}", "public Boolean getIsCalculated() {\n return this.isCalculated;\n }", "@JsonGetter(\"smsOutbound\")\r\n public boolean getSmsOutbound ( ) { \r\n return this.smsOutbound;\r\n }", "public java.lang.Boolean getVar83() {\n return var83;\n }", "public String getBoolput() {\n return boolput;\n }", "public Float getJxsalary() {\n return jxsalary;\n }", "public boolean j() {\n return this.a != null;\n }", "public SATSolverElements getSATSolverAccess() {\n\t\treturn pSATSolver;\n\t}", "public boolean getMatrixCheck(){\r\n \treturn this.matrixCheck;\r\n \t}", "public boolean mo23272N() {\n return ((Boolean) this.f13965a.mo23249a(C7196pb.f13791ad)).booleanValue();\n }", "public TBooleanElements getTBooleanAccess() {\n\t\treturn unknownRuleTBoolean;\n\t}", "String getBooleanTrueExpression();", "public java.lang.Boolean getVar11() {\n return var11;\n }", "public boolean getValue();", "public java.lang.Boolean getVar83() {\n return var83;\n }", "public java.lang.Boolean getVar11() {\n return var11;\n }", "public boolean getBoolean(String name){\r\n try{return kd.getJSONObject(ug).getBoolean(name);}\r\n catch(JSONException e){return false;}\r\n }", "public boolean mo23304ja() {\n return ((Boolean) this.f13965a.mo23249a(C7196pb.f13701Hb)).booleanValue();\n }", "public boolean getPerformGammaCorrection() {\n/* 178 */ return this.performGammaCorrection;\n/* */ }", "public boolean getBoolProperty(String name) {\n HttpSession session = (HttpSession) _currentSession.get();\n if (session == null) {\n return false;\n }\n Object value = session.getAttribute(name);\n return \"true\".equals(value) || Boolean.TRUE.equals(value);\n }", "public void setJ(boolean j) {\n\tthis.j = j;\n }", "public boolean getValue() {\r\n\t\treturn this.value;\r\n\t}", "public boolean getSecure()\n\t{\n\t\treturn this.secure;\n\t}", "public boolean mo23270L() {\n return ((Boolean) this.f13965a.mo23249a(C7196pb.f13855nc)).booleanValue();\n }", "public boolean useSSL() {\n\t\treturn ssl;\n\t}", "@ModelNodeBinding(detypedName = \"jdbc-compliant\")\n\tpublic Boolean jdbcCompliant() {\n\t\treturn this.jdbcCompliant;\n\t}", "@ApiModelProperty(value = \"True if the auto order was canceled because the customer purchased a downgrade item\")\r\n public Boolean isCancelDowngrade() {\r\n return cancelDowngrade;\r\n }", "public boolean mo133102g() {\n return this.f113310i;\n }", "public Boolean getIsEnforced() {\n return isEnforced;\n }", "public Boolean getABoolean()\n {\n return aBoolean;\n }", "public boolean isPermanent(){\n return this.isPermanent;\n }", "public Boolean getSex();", "public Object getIsNary()\n {\n return Boolean.valueOf(isNary());\n }", "public Boolean getBoolean(String propertyName) {\n if (this.has(propertyName) && !this.propertyBag.isNull(propertyName)) {\n return Boolean.valueOf(this.propertyBag.getBoolean(propertyName));\n } else {\n return null;\n }\n }", "public boolean mo23288ba() {\n return ((Boolean) this.f13965a.mo23249a(C7196pb.f13749Ra)).booleanValue();\n }", "public boolean getBilanganBool() /*const*/{\n\t\tassert(getTipeBilangan()==Tipe._bool);\n\t\treturn Val.B;\n\t}", "public boolean isSolvable() {\n return solvable;\n }", "public Boolean getIsFreeShipping() {\n return isFreeShipping;\n }", "public BooleanVariable getBooleanVariable(String name) {\n return booleanVariableMap.get(name);\n }", "protected String getFalse() {\n return \"false\";\n }", "public boolean mo81392c() {\n return this.f58079k;\n }", "public boolean isGettersOfBoolean() {\n final boolean result = cbBoolean.getModel().isSelected();\n paramBoolean = result;\n return result;\n }", "public AbstractDoubleMatrix getTransitionMatrixJacobian(AbstractDoubleVector state)\r\n\t{\n\r\n\t\tF.setElement(0, 2, -d*sin);\r\n\t\tF.setElement(1, 2, d*cos);\r\n\r\n\t\treturn F;\r\n\t}", "public\n boolean getProperty_boolean(String key)\n {\n if (key == null)\n return false;\n\n String val = getProperty(key);\n\n if (val == null)\n return false;\n\n boolean ret_boolean = false;\n if (val.equalsIgnoreCase(\"ON\") ||\n val.equalsIgnoreCase(\"YES\") ||\n val.equalsIgnoreCase(\"TRUE\"))\n {\n ret_boolean = true;\n }\n else\n if (val.equalsIgnoreCase(\"OFF\") ||\n val.equalsIgnoreCase(\"NO\") ||\n val.equalsIgnoreCase(\"FALSE\"))\n {\n ret_boolean = false;\n }\n\n return ret_boolean;\n }", "public boolean getHasGetFunc() {\n return localHasGetFunc;\n }", "@Deprecated\n @JsonProperty(\"isDefault\")\n public Boolean getIsDefault() {\n return isDefault;\n }", "public RubyBoolean getFalse() {\n return falseObject;\n }" ]
[ "0.7629179", "0.58899", "0.5274386", "0.5229332", "0.50691676", "0.5007668", "0.49722233", "0.4924754", "0.4860092", "0.4837561", "0.48328292", "0.48301417", "0.47648036", "0.47510692", "0.47410172", "0.46976784", "0.46877173", "0.46816766", "0.46784726", "0.467109", "0.46640158", "0.46466553", "0.46326378", "0.46182418", "0.46165663", "0.4616059", "0.46137512", "0.4607629", "0.4593516", "0.4592", "0.45912144", "0.45912144", "0.45909524", "0.4589194", "0.4586364", "0.4581665", "0.4574267", "0.45724735", "0.45711783", "0.45671254", "0.45586023", "0.4554919", "0.45490915", "0.45479697", "0.45413098", "0.45305002", "0.45291537", "0.45259038", "0.45131946", "0.45125142", "0.45086032", "0.44821936", "0.44722068", "0.4464807", "0.44579205", "0.44573158", "0.44542062", "0.44506797", "0.44460404", "0.44426304", "0.4435679", "0.44344935", "0.44334623", "0.44280514", "0.4427699", "0.44268554", "0.44266152", "0.44195506", "0.4414121", "0.44130632", "0.44105214", "0.4408718", "0.44033974", "0.4399079", "0.43982533", "0.43969145", "0.43956172", "0.43915856", "0.4388391", "0.43850186", "0.43845865", "0.43811193", "0.43806762", "0.4372524", "0.43712544", "0.4369922", "0.4369733", "0.4364727", "0.43623084", "0.43611607", "0.43600076", "0.43579653", "0.4357243", "0.43558493", "0.4353837", "0.43532878", "0.4338435", "0.43370387", "0.43342334", "0.4330427" ]
0.89364356
0
Insert the method's description here. Creation date: (10/24/00 3:45:12 PM)
public String getVCML() { // // write format as follows: // // SolverTaskDescription { // TaskType Unsteady // MaxTime 1 // SolverDescription "Runga-Kutta Fehlberg" // UseSymbolicJacobian false // TimeBounds { // StartingTime 0.0 // EndingTime 0.0 // } // TimeStep { // DefaultTimeStep 0.0 // MinimumTimeStep 0.0 // MaximumTimeStep 0.0 // } // ErrorTolerance { // AbsoluteErrorTolerance 1e-8 // RelativeErrorTolerance 1e-4 // } // StochSimOptions { // UseCustomSeed false // CustomSeed 0 // NumOfTrials 1 // //if Hybrid, we have following four more // Epsilon 100 // Lambda 10 // MSRTolerance 0.01 // SDETolerance 1e-4 // } // StopAtSpatiallyUniform { // AbsoluteErrorTolerance 1e-8 // RelativeErrorTolerance 1e-4 // } // NFSimSimulationOptions { // ObservableComputationOff 1 // MoleculeDistance 1000 // ... // NumOfTrials 1 // } // RunParameterScanSerially false // KeepEvery 1 // KeepAtMost 1000 // SensitivityParameter { // Constant k1 39.0; // } // NumProcessors 1 // } // // StringBuffer buffer = new StringBuffer(); buffer.append(VCML.SolverTaskDescription+" "+VCML.BeginBlock+"\n"); if (getTaskType() == TASK_UNSTEADY){ buffer.append(VCML.TaskType+" "+VCML.TaskType_Unsteady+"\n"); }else if (getTaskType() == TASK_STEADY){ buffer.append(VCML.TaskType+" "+VCML.TaskType_Steady+"\n"); }else{ throw new RuntimeException("unexpected task type"); } buffer.append(VCML.SolverDescription+" \""+getSolverDescription().getDatabaseName()+"\""+"\n"); buffer.append(VCML.UseSymbolicJacobian+" "+getUseSymbolicJacobian()+"\n"); buffer.append(getTimeBounds().getVCML()+"\n"); buffer.append(getTimeStep().getVCML()+"\n"); buffer.append(getErrorTolerance().getVCML()+"\n"); if(getStochOpt() != null) buffer.append(getStochOpt().getVCML()+"\n"); buffer.append(fieldOutputTimeSpec.getVCML() + "\n"); if (getSensitivityParameter()!=null){ buffer.append(VCML.SensitivityParameter+" "+VCML.BeginBlock+"\n"); buffer.append(getSensitivityParameter().getVCML()+"\n"); buffer.append(VCML.EndBlock+"\n"); } if (stopAtSpatiallyUniformErrorTolerance != null) { buffer.append(VCML.StopAtSpatiallyUniform + " " + stopAtSpatiallyUniformErrorTolerance.getVCML() + "\n"); } if (bSerialParameterScan) { buffer.append(VCML.RunParameterScanSerially + " " + bSerialParameterScan + "\n"); } if (nfsimSimulationOptions != null) { buffer.append(nfsimSimulationOptions.getVCML()); } if (langevinSimulationOptions != null) { buffer.append(langevinSimulationOptions.getVCML()); } if (smoldynSimulationOptions != null) { buffer.append(smoldynSimulationOptions.getVCML()); } if (sundialsPdeSolverOptions != null) { buffer.append(sundialsPdeSolverOptions.getVCML()); } if (chomboSolverSpec != null) { buffer.append(chomboSolverSpec.getVCML()+"\n"); } buffer.append("\t" + VCML.NUM_PROCESSORS + " " + numProcessors + "\n"); if (bTimeoutDisabled) { buffer.append(VCML.TimeoutSimulationDisabled + " " + bTimeoutDisabled + "\n"); } if (bBorderExtrapolationDisabled) { buffer.append(VCML.BorderExtrapolationDisabled + " " + bBorderExtrapolationDisabled + "\n"); } if (movingBoundarySolverOptions != null) { buffer.append(movingBoundarySolverOptions.getVCML()+"\n"); } buffer.append(VCML.EndBlock+"\n"); return buffer.toString(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public Date getCreated()\n {\n return null;\n }", "public Date getDateCreated(){return DATE_CREATED;}", "@Override\r\n\tpublic Date getCreated_date() {\n\t\treturn super.getCreated_date();\r\n\t}", "public Date getDateCreated();", "public Date getCreateDate()\r\n/* */ {\r\n/* 158 */ return this.createDate;\r\n/* */ }", "public Date getCreatedDate();", "public Date getCreationDate() {\n\n \n return creationDate;\n\n }", "@Override\n public Date getCreated() {\n return created;\n }", "public DateTime getCreated();", "@Override\n public String getCreationDate() {\n return creationDate;\n }", "Date getDateCreated();", "public DateTime getCreatedOn();", "public DateTime getCreationTime() {\n return created;\n }", "public Date getCreationTime()\n {\n return created;\n }", "Date getCreatedDate();", "public Date getCreated() {\r\n return createdDate;\r\n }", "public Date getCreateDate();", "public Date getCreateDate();", "public Date getCreateDate();", "public Date getCreated() {\n return created;\n }", "public Date getCreated() {\n return created;\n }", "public Date getCreateTime()\n/* */ {\n/* 177 */ return this.createTime;\n/* */ }", "public Date getCreateDate() { return this.createDate; }", "public DateTime getCreationTime() { return creationTime; }", "public Date getCreationDate()\n {\n return creationDate;\n }", "@java.lang.Override\n public long getCreationDate() {\n return creationDate_;\n }", "public Date getCreated() {\r\n return created;\r\n }", "public Date getCreated() {\r\n return created;\r\n }", "public Date getCreatedDate() {\r\n return createdDate;\r\n }", "public Date getCreatedDate() {\r\n return createdDate;\r\n }", "public Date getCreatedate() {\r\n return createdate;\r\n }", "public Date getCreatedate() {\r\n return createdate;\r\n }", "public Date getCreationDate();", "public Date getDateCreated()\n {\n return dateCreated;\n }", "public DateTime getCreatedDateTime() {\n return createdDateTime;\n }", "@Override\n\tpublic Date getCreateDate();", "@Override\n\tpublic Date getCreateDate();", "public Date getCreatedDate() {\n return createdDate;\n }", "public Date getCreatedDate() {\n return createdDate;\n }", "String getCreated_at();", "public Timestamp getCreated();", "public Timestamp getCreated();", "public Timestamp getCreated();", "public Timestamp getCreated();", "public Timestamp getCreated();", "public Timestamp getCreated();", "public Timestamp getCreated();", "public Timestamp getCreated();", "public Timestamp getCreated();", "public Timestamp getCreated();", "public Timestamp getCreated();", "public Timestamp getCreated();", "public Timestamp getCreated();", "public Date getCreatedDate() {\n return this.createdDate;\n }", "public Date getCreatedDate() {\n return this.createdDate;\n }", "public Date getCreated() {\n return created;\n }", "public Date getCreated() {\n return created;\n }", "public Date getCreated() {\n return created;\n }", "public Date getCreated() {\n return created;\n }", "public abstract long getCreated();", "public Date getCreatedate() {\n return createdate;\n }", "public Date getCreatedate() {\n return createdate;\n }", "public Date getCreatedate() {\n return createdate;\n }", "public Date getCreatedate() {\n return createdate;\n }", "@java.lang.Override\n public long getCreationDate() {\n return creationDate_;\n }", "public Date getCreation() {\n return creation;\n }", "public Date getCreateddate() {\n return createddate;\n }", "public abstract long getCreatedTime();", "@Override\n public void date()\n {\n }", "public Date getCreationDate() {\r\n return this.creationDate;\r\n }", "@Override\n\tpublic Date getCreateDate() {\n\t\treturn model.getCreateDate();\n\t}", "@Override\n\tpublic Date getCreateDate() {\n\t\treturn model.getCreateDate();\n\t}", "@Override\n\tpublic Date getCreateDate() {\n\t\treturn model.getCreateDate();\n\t}", "public Timestamp getCreatedDate() {\n return createdDate;\n }", "public void setCreationDate(Date creationDate) {\n }", "public Date getCreated() {\n return mCreated;\n }", "public Date getCreated() {\r\n\t\treturn created;\r\n\t}", "public Date getCreated() {\r\n\t\treturn created;\r\n\t}", "@Override\n\tpublic Date getCreateDate() {\n\t\treturn _paper.getCreateDate();\n\t}", "public Date getDATE_CREATED() {\r\n return DATE_CREATED;\r\n }", "public Date getDATE_CREATED() {\r\n return DATE_CREATED;\r\n }", "public Date getDATE_CREATED() {\r\n return DATE_CREATED;\r\n }", "public Date getCreationDate() {\n return creationDate;\n }", "public Date getCreationdate() {\n return creationdate;\n }", "public void setDateCreated(Date dateCreated);", "public void setCreatedDate(Date createdDate);", "public Date getCreateDate() {\n return createDate;\n }", "public Date getCreationTime() {\n return creationTime;\n }", "public long getCreationDate() {\n return creationDate_;\n }", "public Date getCreationTime() {\n return creationTime;\n }", "public Date getCreationTime() {\n return creationTime;\n }", "public Date getCREATED_DATE() {\r\n return CREATED_DATE;\r\n }", "Date getCreateDate();", "Date getCreateDate();", "public String getDateCreated(){\n return dateCreated.toString();\n }", "public Long getCreationDate()\r\n\t{\r\n\t\treturn creationDate;\r\n\t}", "long getCreatedTime();", "Date getCreationDate();", "public Date getDateCreated(){\n\t\treturn dateCreated;\n\t}", "public Date getCreate_date() {\n return create_date;\n }", "public Date getDateCreated() {\n return dateCreated;\n }" ]
[ "0.6957959", "0.68954915", "0.68504936", "0.67992413", "0.675585", "0.674921", "0.67357177", "0.6709211", "0.66976136", "0.6657411", "0.6569787", "0.65682065", "0.6541929", "0.65381306", "0.6533096", "0.652594", "0.65123224", "0.65123224", "0.65123224", "0.64927346", "0.64927346", "0.64924717", "0.64903235", "0.64675516", "0.6464807", "0.6445651", "0.6442119", "0.6442119", "0.64329934", "0.64329934", "0.64234596", "0.64234596", "0.64147425", "0.6413684", "0.6393627", "0.6390602", "0.6390602", "0.63883054", "0.63883054", "0.6379242", "0.6377126", "0.6377126", "0.6377126", "0.6377126", "0.6377126", "0.6377126", "0.6377126", "0.6377126", "0.6377126", "0.6377126", "0.6377126", "0.6377126", "0.6377126", "0.6376802", "0.6376802", "0.63734066", "0.63734066", "0.63734066", "0.63734066", "0.63668454", "0.63620555", "0.63620555", "0.63620555", "0.63620555", "0.63565016", "0.6339599", "0.63346314", "0.6292665", "0.62889606", "0.6255136", "0.62529254", "0.62529254", "0.62529254", "0.62417734", "0.62406284", "0.62349945", "0.6228621", "0.6228621", "0.6216447", "0.61978304", "0.61978304", "0.61978304", "0.6194357", "0.61904323", "0.6186731", "0.6176533", "0.6174264", "0.6173552", "0.6172416", "0.61692417", "0.61692417", "0.6164707", "0.6157557", "0.6157557", "0.61548686", "0.61514044", "0.61502016", "0.6145894", "0.6127777", "0.6121085", "0.6109335" ]
0.0
-1
The hasListeners method was generated to support the propertyChange field.
public synchronized boolean hasListeners(java.lang.String propertyName) { return getPropertyChange().hasListeners(propertyName); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "PropertyChangeListener[] getPropertyChangeListeners();", "public PropertyChangeListener[] getPropertyChangeListeners();", "public synchronized boolean hasListeners(java.lang.String propertyName) {\r\n\treturn getPropertyChange().hasListeners(propertyName);\r\n}", "@Override\n public void addPropertyChangeListener(PropertyChangeListener listener) {\n\n }", "void addPropertyListener(PropertyListener listener);", "public abstract void addPropertyChangeListener(IPropertyChangeListener listener);", "public PropertyChangeListener[] getPropertyChangeListeners() {\n\t\treturn null;\n\t}", "public abstract void addPropertyChangeListener(PropertyChangeListener listener);", "public void addPropertyChangeListener(PropertyChangeListener listener)\n {\n }", "public synchronized void addPropertyChangeListener(java.beans.PropertyChangeListener listener) {\r\n\tgetPropertyChange().addPropertyChangeListener(listener);\r\n}", "void addPropertyChangeListener(PropertyChangeListener listener);", "default void addPropertyChangeListener(PropertyChangeListener listener)\r\n {\r\n }", "public void addListener(PropertyChangeListener listener, String propertyType);", "@Override\n public void addPropertyChangeListener(PropertyChangeListener listener)\n {\n if (changes == null)\n {\n changes = new PropertyChangeSupport(this);\n }\n changes.addPropertyChangeListener(listener);\n }", "public void addPropertyChangeListener(PropertyChangeListener listener);", "public void addPropertyChangeListener(PropertyChangeListener propertyChangeListener) {\n }", "public void addPropertyChangeListener(PropertyChangeListener l);", "public void addPropertyChangeListener(@NotNull PropertyChangeListener listener) {\n }", "@Override\n \tpublic void propertyChange(PropertyChangeEvent arg0) {\n \t\t\n \t}", "public void addPropertyChangeListener(PropertyChangeListener listener) {\n\n\t}", "@Override\n public synchronized void addPropertyChangeListener(PropertyChangeListener listener) {\n if (listeners == null) {\n listeners = new PropertyChangeSupport(this);\n }\n listeners.addPropertyChangeListener(listener);\n }", "@Override\n\tpublic void propertyChange(PropertyChangeEvent arg0) {\n\t\t\n\t}", "protected void PropertyChanged()\r\n { }", "void addChangeListener(PropertyChangeListener<? super R> listener);", "public void addPropertyChangeListener (PropertyChangeListener l)\n { pcs.addPropertyChangeListener (l); }", "private void FilterPropertyChanges(Object sender, PropertyChangedEventArgs e)\r\n {\r\n // check if this is the property of interest\r\n if (e.getPropertyValue(_propertyName)!= null)\r\n PropertyChanged();\r\n }", "@Override\r\n\tpublic void propertyChange(PropertyChangeEvent arg0) {\n\t\t\r\n\t}", "@Override\r\n\tpublic void propertyChange(PropertyChangeEvent arg0) {\n\t\t\r\n\t}", "@Override\r\n\tpublic void propertyChange(PropertyChangeEvent arg0) {\n\r\n\t}", "protected void addListenerForProperty(MapChangeListener<Object, Object> aMapChangeListener, String aProperty) {\n\n // Create a wrapper, which will only trigger the given Listener when the given property has changed.\n MapChangeListener<Object, Object> tmpListenerWrapper = (aChange -> {\n\n // Current document changed?\n if (aChange.getKey().equals(aProperty)) {\n\n aMapChangeListener.onChanged(aChange);\n }\n });\n\n // Add the wrapper listener to our List of added Listeners\n stagePropertiesListenersList.add(tmpListenerWrapper);\n\n // Add it to the stage properties.\n stage.getProperties().addListener(tmpListenerWrapper);\n }", "@Override\n\tpublic void propertyChange(PropertyChangeEvent arg0)\n\t{\n\t\t\n\t}", "@Override\n public void addPropertyChangeListener( String propertyName, PropertyChangeListener listener )\n {\n if( componentModel == null )\n return;\n\n if( propertyName==null )\n {\n componentModel.addPropertyChangeListener( listener );\n }\n else\n {\n Property prop = componentModel.findProperty( propertyName );\n if ( prop != null )\n {\n prop.addPropertyChangeListener( listener );\n }\n }\n }", "public void addPropertyChangeListener(PropertyChangeListener listener) {\n\t\tthis.propertyChangeSupport.addPropertyChangeListener(listener);\n\t\tthis.messages.addPropertyChangeListener(listener);\n\t\tthis.endGameReached.addPropertyChangeListener(listener);\n\t}", "public void addPropertyChangeListener (PropertyChangeListener l) {\n pcs.addPropertyChangeListener (l);\n }", "public void propertyChange(PropertyChangeEvent evt) {\n \r\n }", "public void addPropertyChangeListener(java.beans.PropertyChangeListener listener) {\n\tmPcs.addPropertyChangeListener(listener);\n }", "public void addPropertyChangeListener(PropertyChangeListener listener) {\n \tmPropertyChangeSupport.addPropertyChangeListener(listener);\n }", "@Override\n\tpublic void propertyChange(PropertyChangeEvent evt) {\n\t\t\n\t}", "public synchronized void addPropertyChangeListener(PropertyChangeListener listener) {\n if (listeners == null) {\n listeners = new java.util.Vector();\n }\n listeners.addElement(listener);\n }", "public void addPropertyChangeListener(PropertyChangeListener pListener) {\n \tmodel.addPropertyChangeListener(pListener);\n }", "void addModelEventListener(PropertyChangeListener listener, Object modelelement, String[] propertyNames);", "private PropertyChangeListener createListener() {\n return new PropertyChangeListener() {\n @Override\n public void propertyChange(PropertyChangeEvent evt) {\n String propertyName = evt.getPropertyName();\n if (Filter.PROPERTY_PATTERN.equals(propertyName)) {\n DocumentViewPanel.RP.post(new Runnable() {\n @Override\n public void run() {\n refreshKeys();\n }\n });\n }\n }\n };\n }", "public void addPropertyChangeListener (\n String propertyName,\n PropertyChangeListener l\n ) {\n pcs.addPropertyChangeListener (propertyName, l);\n }", "@Override\n public void addChangeListener(ChangeListener l) {}", "@Test\n public void testAddPropertyChangeListener() {\n // trivial\n }", "static public void addPropertyChangeListener(PropertyChangeListener l) {\n if (listenerList.getListenerCount(PropertyChangeListener.class) == 0) {\n accessibilityListener.installListeners();\n }\n listenerList.add(PropertyChangeListener.class, l);\n }", "public void addPropertyChangeListener(java.beans.PropertyChangeListener l) {\r\n propertyChangeSupport.addPropertyChangeListener(l);\r\n }", "public void addPropertyChangeListener(String propertyName, java.beans.PropertyChangeListener listener) {\n\tmPcs.addPropertyChangeListener(propertyName, listener);\n }", "public void addPropertyChangeListener(ActionListener<PropertyChangeEvent> l) {\n if (root != null) {\n Property prop = property;\n if (prop == null && tags != null) {\n prop = root.getEntity().findProperty(tags);\n }\n if (prop != null) {\n root.getEntity().addPropertyChangeListener(prop, pcl());\n }\n } else {\n Entity leafEntity = getLeafEntity();\n Property leafProperty = getLeafProperty();\n if (leafEntity != null && leafProperty != null) {\n leafEntity.getEntity().addPropertyChangeListener(leafProperty, pcl());\n }\n parent.addVetoablePropertyChangeListener(vpcl());\n parent.addListChangeListener(listChangeListener());\n }\n if (listeners == null) {\n listeners = new EventDispatcher();\n }\n listeners.addListener(l);\n \n }", "public synchronized void addPropertyChangeListener(java.beans.PropertyChangeListener listener) {\n\t\tgetPropertyChange().addPropertyChangeListener(listener);\n\t}", "public final void addPropertyChangeListener (PropertyChangeListener pl) {\n if (changeSupport == null)\n changeSupport = new PropertyChangeSupport (this);\n changeSupport.addPropertyChangeListener (pl);\n }", "private static void usePropertyChangeListener() {\n SimpleStringProperty stringProperty = new SimpleStringProperty(\"xyz\");\n // Prints property's value\n System.out.println(stringProperty.getValue());\n // Adds a listener - action that will be run if property's value changes.\n stringProperty.addListener((observable, oldValue, newValue) -> {\n System.out.println(\"New value is set: \" + newValue);\n });\n // Sets new value\n stringProperty.setValue(\"Some new value\");\n }", "@Override\n\tpublic void addPropertyChangeListener(PropertyChangeListener l) {\n\t\t//do nothing\n\t}", "public void addPropertyChangeListener(java.beans.PropertyChangeListener l) {\n propertyChangeSupport.addPropertyChangeListener(l);\n }", "public void addPropertyChangeListener(java.beans.PropertyChangeListener l) {\n propertyChangeSupport.addPropertyChangeListener(l);\n }", "public void addPropertyChangeListener(java.beans.PropertyChangeListener l) {\n propertyChangeSupport.addPropertyChangeListener(l);\n }", "public void addPropertyChangeListener(java.beans.PropertyChangeListener l) {\n propertyChangeSupport.addPropertyChangeListener( l );\n }", "@Override\n public void addChangeListener(ChangeListener l) {\n }", "@Override\n public void addChangeListener(ChangeListener l) {\n }", "void addModelEventListener(PropertyChangeListener listener, Object modelelement, String propertyName);", "private void addListeners() {\n table.addValueChangeListener((Property.ValueChangeListener) this);\n// selectedCustomer.comboBoxSelectCustomer.addValueChangeListener((Property.ValueChangeListener) this);\n }", "public interface PropertyChangeListener<T>\n{\n /**\n * Callback function when there is a change in any property that starts with key\n * It's upto the implementation to handle the following different cases 1) key\n * is a simple key and does not have any children. PropertyStore.getProperty(key) must\n * be used to retrieve the value; 2) key is a prefix and has children.\n * PropertyStore.getPropertyNames(key) must be used to retrieve all the children keys.\n * Its important to know that PropertyStore will not be able to provide the\n * delta[old value,new value] or which child was added/deleted. The\n * implementation must take care of the fact that there might be callback for\n * every child thats added/deleted. General way applications handle this is\n * keep a local cache of keys and compare against the latest keys.\n * \n * @param key\n */\n void onPropertyChange(String key);\n}", "boolean hasChangeEvent();", "public synchronized void addPropertyChangeListener(PropertyChangeListener l) {\n if (propertySupport == null) {\n propertySupport = new PropertyChangeSupport(this);\n }\n\n propertySupport.addPropertyChangeListener(l);\n }", "void firePropertyChange() {\n java.util.Vector targets;\n synchronized (this) {\n if (listeners == null) {\n return;\n }\n targets = (java.util.Vector) listeners.clone();\n }\n\n PropertyChangeEvent evt = new PropertyChangeEvent(this, null, null, null);\n\n for (int i = 0; i < targets.size(); i++) {\n PropertyChangeListener target = (PropertyChangeListener)targets.elementAt(i);\n target.propertyChange(evt);\n }\n }", "public synchronized void addPropertyChangeListener(PropertyChangeListener listener)\r\n {\r\n Iterator<WeakReference<PropertyChangeListener>> i = listeners.iterator();\r\n boolean add = true;\r\n\r\n while (i.hasNext()) {\r\n PropertyChangeListener l = i.next().get();\r\n\r\n if (l == null)\r\n i.remove();\r\n else if (l.equals(listener))\r\n add = false;\r\n }\r\n if (add && listeners.add(new WeakReference<>(listener))\r\n && !this.added) {\r\n addThisToNotifier();\r\n this.added = true;\r\n }\r\n }", "void addClassModelEventListener(PropertyChangeListener listener, Object modelClass, String[] propertyNames);", "public void addPropertyChangeListener(final PropertyChangeListener thePcl) {\n myPcs.addPropertyChangeListener(thePcl);\n }", "protected java.beans.PropertyChangeSupport getPropertyChange() {\r\n\tif (propertyChange == null) {\r\n\t\tpropertyChange = new java.beans.PropertyChangeSupport(this);\r\n\t};\r\n\treturn propertyChange;\r\n}", "public void addPropertyChangeListener(PropertyChangeListener l) {\n getPropertyChangeSupport().addPropertyChangeListener(l);\n }", "boolean isRegistrateChangeListener();", "public boolean hasListeners() {\n return !listeners.isEmpty();\n }", "public boolean hasListeners() {\n return !listeners.isEmpty();\n }", "public void addPropertyChangeListener(Property property, PropertyChangeListener listener) {\n this.propertyChangeSupport.addPropertyChangeListener(property.name(), listener);\n }", "public void setPropertyChanged(com.app.tvp.cas.cliente.PropertyChangedEventHandler propertyChanged) {\n this.propertyChanged = propertyChanged;\n }", "void addModelEventListener(PropertyChangeListener listener, Object modelelement);", "protected PropertyChangeListener createPropertyChangeListener() {\n return new PropertyChangeHandler(); }", "public void analyseRecentPropertyChanges() {\r\n\t\tboolean enableIndexGeneration = !isDeActivatedHovering();\r\n\t\tboolean requiresIndexGeneration = false;\r\n\t\tif (changedProperties.size() == 0) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tSet<String> keySet = changedProperties.keySet();\r\n\t\tfor (String property : keySet) {\r\n\r\n\t\t\t// If deactivated checkbox is changed\r\n\t\t\tif (property.equals(HoverConstants.PREFERENCE_DEACTIVATE_HOVERING)) {\r\n\t\t\t\tPropertyChangeEvent event = changedProperties\r\n\t\t\t\t\t\t.get(HoverConstants.PREFERENCE_DEACTIVATE_HOVERING);\r\n\t\t\t\tboolean deActivated = (Boolean) event.getNewValue();\r\n\t\t\t\tLogger.logDebug(\"DeActivated Old value\" + event.getOldValue()\r\n\t\t\t\t\t\t+ \" new value\" + event.getNewValue());\r\n\t\t\t\tif (deActivated) {\r\n\t\t\t\t\tHoverManager.getInstance().setEnabled(false);\r\n\t\t\t\t\tenableIndexGeneration = false;\r\n\t\t\t\t} else {\r\n\t\t\t\t\tenableIndexGeneration = true;\r\n\t\t\t\t\trequiresIndexGeneration = true;\r\n\t\t\t\t}\r\n\t\t\t\tcontinue;\r\n\t\t\t}\r\n\r\n\t\t\t// if active developer library item has changed\r\n\t\t\tif (property.equals(HoverConstants.PREFERENCE_DEV_LIB_LOC)) {\r\n\t\t\t\tPropertyChangeEvent event = changedProperties\r\n\t\t\t\t\t\t.get(HoverConstants.PREFERENCE_DEV_LIB_LOC);\r\n\t\t\t\tString oldValue = (String) event.getOldValue();\r\n\t\t\t\tString newValue = (String) event.getNewValue();\r\n\t\t\t\tif (oldValue.equals(newValue)) {\r\n\t\t\t\t\tcontinue;\r\n\t\t\t\t}\r\n\t\t\t\trequiresIndexGeneration = true;\r\n\t\t\t\tLogger.logDebug(\"New index is generating. Old value\"\r\n\t\t\t\t\t\t+ event.getOldValue() + \" new value\"\r\n\t\t\t\t\t\t+ event.getNewValue());\r\n\t\t\t\tcontinue;\r\n\t\t\t}\r\n\r\n\t\t}\r\n\r\n\t\tLogger.logDebug(\"enableIndexGeneration:\" + enableIndexGeneration\r\n\t\t\t\t+ \" requiresIndexGeneration:\" + requiresIndexGeneration);\r\n\t\tif (enableIndexGeneration && requiresIndexGeneration) {\r\n\t\t\tLogger.logDebug(\"before gen index\");\r\n\t\t\tgenerateNewIndex();\r\n\t\t\tLogger.logDebug(\"after gen index\");\r\n\t\t}\r\n\r\n\t\tresetChangedProperties();\r\n\t}", "public String listen(String key, PropertyChangedCallback callback);", "public boolean hasChanged();", "public boolean hasChanged();", "protected java.beans.PropertyChangeSupport getPropertyChange() {\n\t\tif (propertyChange == null) {\n\t\t\tpropertyChange = new java.beans.PropertyChangeSupport(this);\n\t\t};\n\t\treturn propertyChange;\n\t}", "protected void installListeners() {\n spinner.addPropertyChangeListener(propertyChangeListener); }", "public void addPropertyChangeListener(PropertyChangeListener pcl) {\n\t\tproperties.addListener(pcl);\n\t}", "protected void AddEvents()\r\n {\r\n INotifyPropertyChanged propParent = (INotifyPropertyChanged)getProxyParent();\r\n propParent.getPropertyChanged().addObservers(filterPropertyChanges);\r\n }", "private void addListener(String propertyName, PropertyChangeListener pcl) {\r\n pcs.addPropertyChangeListener(propertyName, pcl);\r\n }", "public synchronized boolean hasSubscribers ()\n {\n return !this.listeners.isEmpty ();\n }", "public void deepChange(PropertyChangeListener aListener, PropertyChangeEvent anEvent)\n{\n for(int i=0, iMax=getListenerCount(DeepChangeListener.class); i<iMax; i++)\n getListener(DeepChangeListener.class, i).deepChange(aListener, anEvent);\n}", "public void propertyChange(PropertyChangeEvent e)\r\n {\r\n Object source = e.getSource();\r\n if (source == theNumberOfPolygonsField)\r\n {\r\n theNumberOfPolygons = ((Number)theNumberOfPolygonsField.getValue()).intValue();\r\n if (TRACE)\r\n System.out.println(\"Polygons: number of squares = \" + theNumberOfPolygons);\r\n }\r\n else if (source == theMaximumVertexCountField)\r\n {\r\n theMaximumVertexCount = ((Number)theMaximumVertexCountField.getValue()).intValue();\r\n if (TRACE)\r\n System.out.println(\"Polygons: maximum vertex count = \" + theMaximumVertexCount);\r\n }\r\n else if (source == theBBoxLengthField)\r\n {\r\n theBBoxLength = ((Number)theBBoxLengthField.getValue()).intValue();\r\n if (TRACE)\r\n System.out.println(\"Polygons: maximum side length = \" + theBBoxLength);\r\n }\r\n else if(source == theMinimumVertexCountField){\r\n \t theMinimumVertexCount = ((Number)theMinimumVertexCountField.getValue()).intValue();\r\n \t if (TRACE)\r\n System.out.println(\"Polygons: minimum vertex count = \" + theMinimumVertexCount);\r\n }\r\n }", "private Vector getProjectChangedListeners() {\r\n return this.projectChangedListeners;\r\n }", "protected void addChangeListeners() {\n\t\tif (this.getChangeListenersAdded()) {\n\t\t\t// TODO don\\u00b4t throw an exception yet. CR has to fix another problem. then the exception is the right thing.\n\t\t\t// But what problem?! Should we just try this? UA\n\t\t\treturn;//throw new IllegalStateException();\n\t\t}\n\t\tthis.addCollectableComponentModelListeners();\n\t\tthis.addAdditionalChangeListeners();\n\t\tthis.bChangeListenersAdded = true;\n\n\t\tassert this.getChangeListenersAdded();\n\t}", "public abstract void addPropertyChangeListener(PropertyChangeListener listener, String kenaiHostUrl);", "private void addChangeListeners() {\r\n myTetrisPanel.addPropertyChangeListener(myInfoPanel);\r\n myTetrisMenuBar.addPropertyChangeListener(myInfoPanel);\r\n myTetrisMenuBar.addPropertyChangeListener(myKeyAdapter);\r\n myTetrisMenuBar.addPropertyChangeListener(myTetrisPanel);\r\n addPropertyChangeListener(myTetrisMenuBar);\r\n myInfoPanel.addPropertyChangeListener(myTetrisMenuBar);\r\n }", "boolean hasSetProperty();", "@Override\n\tpublic void onPropertyModified(PropertyDescriptor descriptor, String oldValue, String newValue) {\n\t\tsuper.onPropertyModified(descriptor, oldValue, newValue);\n\t\t\n\t\t\n\t\t\n\t}", "public void afterPropertiesSet() {\n\t\tString[] listenerClassNames = StringUtil.split(GetterUtil.getString(\n\t\t\t\t\tcom.liferay.util.service.ServiceProps.get(\n\t\t\t\t\t\t\"value.object.listener.it.ethica.esf.model.ESFInstructsShootingDirector\")));\n\n\t\tif (listenerClassNames.length > 0) {\n\t\t\ttry {\n\t\t\t\tList<ModelListener<ESFInstructsShootingDirector>> listenersList = new ArrayList<ModelListener<ESFInstructsShootingDirector>>();\n\n\t\t\t\tfor (String listenerClassName : listenerClassNames) {\n\t\t\t\t\tlistenersList.add((ModelListener<ESFInstructsShootingDirector>)InstanceFactory.newInstance(\n\t\t\t\t\t\t\tgetClassLoader(), listenerClassName));\n\t\t\t\t}\n\n\t\t\t\tlisteners = listenersList.toArray(new ModelListener[listenersList.size()]);\n\t\t\t}\n\t\t\tcatch (Exception e) {\n\t\t\t\t_log.error(e);\n\t\t\t}\n\t\t}\n\t}", "public void testFirePropertyChangeEvent() {\n ModelElementChangeListenerMock listener = new ModelElementChangeListenerMock();\n instance.addModelElementChangeListener(listener);\n instance.firePropertyChangeEvent(new GuardImpl(), PropertyKind.ACTIVE, PropertyOperation.MODIFY, \"accuracy\");\n assertTrue(\"Failed to fire the event.\", listener.IsCalled());\n }", "public void afterPropertiesSet() {\n\t\tString[] listenerClassNames = StringUtil.split(GetterUtil.getString(\n\t\t\t\t\tcom.liferay.util.service.ServiceProps.get(\n\t\t\t\t\t\t\"value.object.listener.hu.webtown.liferay.portlet.model.TvShow\")));\n\n\t\tif (listenerClassNames.length > 0) {\n\t\t\ttry {\n\t\t\t\tList<ModelListener<TvShow>> listenersList = new ArrayList<ModelListener<TvShow>>();\n\n\t\t\t\tfor (String listenerClassName : listenerClassNames) {\n\t\t\t\t\tlistenersList.add((ModelListener<TvShow>)InstanceFactory.newInstance(\n\t\t\t\t\t\t\tgetClassLoader(), listenerClassName));\n\t\t\t\t}\n\n\t\t\t\tlisteners = listenersList.toArray(new ModelListener[listenersList.size()]);\n\t\t\t}\n\t\t\tcatch (Exception e) {\n\t\t\t\t_log.error(e);\n\t\t\t}\n\t\t}\n\t}", "public void afterPropertiesSet() {\n\t\tString[] listenerClassNames = StringUtil.split(GetterUtil.getString(\n\t\t\t\t\tcom.liferay.util.service.ServiceProps.get(\n\t\t\t\t\t\t\"value.object.listener.edu.jhu.cvrg.waveform.main.dbpersistence.model.AnnotationInfo\")));\n\n\t\tif (listenerClassNames.length > 0) {\n\t\t\ttry {\n\t\t\t\tList<ModelListener<AnnotationInfo>> listenersList = new ArrayList<ModelListener<AnnotationInfo>>();\n\n\t\t\t\tfor (String listenerClassName : listenerClassNames) {\n\t\t\t\t\tlistenersList.add((ModelListener<AnnotationInfo>)InstanceFactory.newInstance(\n\t\t\t\t\t\t\tlistenerClassName));\n\t\t\t\t}\n\n\t\t\t\tlisteners = listenersList.toArray(new ModelListener[listenersList.size()]);\n\t\t\t}\n\t\t\tcatch (Exception e) {\n\t\t\t\t_log.error(e);\n\t\t\t}\n\t\t}\n\t}", "void addPropertyChangedObserver(PropertyChangeObserver observer);" ]
[ "0.7956601", "0.7709438", "0.7609475", "0.74092394", "0.72411156", "0.719404", "0.71040905", "0.710109", "0.70979065", "0.7063137", "0.70380384", "0.7014844", "0.69892764", "0.69289154", "0.6904589", "0.68981886", "0.68591315", "0.6843758", "0.6828921", "0.6742308", "0.67411643", "0.6734422", "0.67260164", "0.67232746", "0.6710712", "0.6707", "0.6699709", "0.6699709", "0.6687754", "0.6667738", "0.665927", "0.6608216", "0.6605062", "0.6604612", "0.66037744", "0.65955913", "0.6583683", "0.6571981", "0.65267044", "0.6526672", "0.651616", "0.64551777", "0.64503264", "0.6422473", "0.63959736", "0.6372102", "0.6368836", "0.6352882", "0.6341719", "0.6341582", "0.6324335", "0.63173646", "0.6304576", "0.628828", "0.628828", "0.628828", "0.6285743", "0.6273551", "0.6273551", "0.6251315", "0.6248983", "0.6236751", "0.6232015", "0.62293935", "0.62139344", "0.6192903", "0.6181154", "0.61803293", "0.6174349", "0.6164977", "0.61571187", "0.6151244", "0.6151244", "0.6143674", "0.6135406", "0.6130987", "0.6122164", "0.6100351", "0.6100221", "0.60963225", "0.60963225", "0.6086076", "0.60331", "0.6028048", "0.6025747", "0.60235476", "0.60207194", "0.60194176", "0.6016668", "0.6012299", "0.5986466", "0.59810823", "0.59782463", "0.5978191", "0.59735763", "0.5969942", "0.5964376", "0.5957072", "0.5955975", "0.5952983" ]
0.7146055
6
This method gets called when a bound property is changed.
public void propertyChange(java.beans.PropertyChangeEvent evt) { try { if (evt.getSource() == this && (evt.getPropertyName().equals(PROPERTY_SOLVER_DESCRIPTION))) { SolverDescription solverDescription = getSolverDescription(); if (solverDescription.equals(SolverDescription.SundialsPDE) || solverDescription.isSemiImplicitPdeSolver() || solverDescription.isGibsonSolver()) { TimeBounds timeBounds = getTimeBounds(); if (!(getOutputTimeSpec() instanceof UniformOutputTimeSpec)) { // set to uniform output if it is not. double outputTime = (timeBounds.getEndingTime()-timeBounds.getStartingTime())/20; setOutputTimeSpec(new UniformOutputTimeSpec(outputTime)); } if (solverDescription.equals(SolverDescription.SundialsPDE)) { setErrorTolerance(ErrorTolerance.getDefaultSundialsErrorTolerance()); setDefaultTimeStep(TimeStep.getDefaultSundialsTimeStep()); if (sundialsPdeSolverOptions == null) { sundialsPdeSolverOptions = new SundialsPdeSolverOptions(); } } else { sundialsPdeSolverOptions = null; setErrorTolerance(ErrorTolerance.getDefaultSemiImplicitErrorTolerance()); } } else if (!solverDescription.supports(getOutputTimeSpec())){ setOutputTimeSpec(solverDescription.createOutputTimeSpec(this)); } if (solverDescription.isNonSpatialStochasticSolver()) { if (fieldNonspatialStochOpt == null) { setStochOpt(new NonspatialStochSimOptions()); } else { setStochOpt(new NonspatialStochSimOptions(fieldNonspatialStochOpt)); } if (!solverDescription.equals(SolverDescription.StochGibson)) { if (fieldNonspatialStochHybridOpt == null) { setStochHybridOpt(new NonspatialStochHybridOptions()); } } } else if (solverDescription.isSpatialStochasticSolver()) { setTimeStep(TimeStep.getDefaultSmoldynTimeStep()); if (smoldynSimulationOptions == null) { smoldynSimulationOptions = new SmoldynSimulationOptions(); } // setSmoldynDefaultTimeStep(); } if (solverDescription.isNFSimSolver()){ if (nfsimSimulationOptions == null){ nfsimSimulationOptions = new NFsimSimulationOptions(); } } if (solverDescription.isLangevinSolver()) { if (langevinSimulationOptions == null) { langevinSimulationOptions = new LangevinSimulationOptions(); } } if (solverDescription.isChomboSolver()) { if (chomboSolverSpec == null && getSimulation() != null) { chomboSolverSpec = new ChomboSolverSpec(ChomboSolverSpec.getDefaultMaxBoxSize(getSimulation().getMathDescription().getGeometry().getDimension())); } if (getOutputTimeSpec() == null || !(getOutputTimeSpec() instanceof UniformOutputTimeSpec)) { double outputTime = getTimeBounds().getEndingTime()/10; setOutputTimeSpec(new UniformOutputTimeSpec(outputTime)); } if (chomboSolverSpec!=null && chomboSolverSpec.getTimeIntervalList().size() == 0) { chomboSolverSpec.addTimeInterval(TimeInterval.getDefaultTimeInterval()); } } else { chomboSolverSpec = null; } if (solverDescription.isMovingBoundarySolver()) { if (movingBoundarySolverOptions == null && getSimulation() != null) { movingBoundarySolverOptions = new MovingBoundarySolverOptions(); } } else { movingBoundarySolverOptions = null; } } } catch (PropertyVetoException e) { lg.error(e); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void PropertyChanged()\r\n { }", "@Override\r\n\tpublic void propertyChange(PropertyChangeEvent arg0) {\n\t\t\r\n\t}", "@Override\r\n\tpublic void propertyChange(PropertyChangeEvent arg0) {\n\t\t\r\n\t}", "@Override\n\tpublic void propertyChange(PropertyChangeEvent arg0) {\n\t\t\n\t}", "@Override\r\n\tpublic void propertyChange(PropertyChangeEvent arg0) {\n\r\n\t}", "@Override\n\tpublic void propertyChange(PropertyChangeEvent arg0)\n\t{\n\t\t\n\t}", "protected void boundObjectChanged(Object componentValue) {\r\n this.boundObjectChanged(true, componentValue);\r\n }", "@Override\n\tpublic void propertyChange() {\n\t\tthis.apply();\n\t}", "@Override\n \tpublic void propertyChange(PropertyChangeEvent arg0) {\n \t\t\n \t}", "public void setPropertyChanged(com.app.tvp.cas.cliente.PropertyChangedEventHandler propertyChanged) {\n this.propertyChanged = propertyChanged;\n }", "@Override\n\tpublic void propertyChange(PropertyChangeEvent evt) {\n\t\t\n\t}", "private void FilterPropertyChanges(Object sender, PropertyChangedEventArgs e)\r\n {\r\n // check if this is the property of interest\r\n if (e.getPropertyValue(_propertyName)!= null)\r\n PropertyChanged();\r\n }", "public void propertyChange(PropertyChangeEvent evt) {\r\n fireStateChanged();\r\n }", "@Override\n\tpublic void onPropertyModified(PropertyDescriptor descriptor, String oldValue, String newValue) {\n\t\tsuper.onPropertyModified(descriptor, oldValue, newValue);\n\t\t\n\t\t\n\t\t\n\t}", "public void propertyChange(PropertyChangeEvent evt) {\n \r\n }", "public void propertyChange(String propertyName, Object oldValue, Object newValue) {\r\n propertyChangeSupport.firePropertyChange(propertyName, oldValue, newValue);\r\n }", "public void firePropertyChange(String propertyName, Object oldValue, Object newValue);", "public synchronized void setChanged() {\n super.setChanged();\n }", "public final synchronized void setChanged() {\n\t\tsuper.setChanged ();\n }", "void onPropertyChange(String name, String newValue);", "@Override\n public void addPropertyChangeListener(PropertyChangeListener listener) {\n\n }", "@Override\n\tpublic void setChanged() {\n\t\tthis.changed = true;\n\t}", "protected void firePropertyChange(String propertyName, Object oldValue, Object newValue)\n/* */ {\n/* 291 */ if (\"text\".equals(propertyName)) {\n/* 292 */ super.firePropertyChange(propertyName, oldValue, newValue);\n/* */ }\n/* */ }", "public void notifyChanged(final Notification msg) {\r\n\t super.notifyChanged(msg);\r\n\t \r\n\t if(msg.getFeature() == PropertiesPackage.Literals.PROPERTY__VALUE) {\r\n\t \tsetGUIAttributes();\r\n\t }\r\n\t }", "public void afterPropertyChange(T obj, String propertyName, Object oldValue, Object newValue);", "@Override\n public void propertyChange(PropertyChangeEvent event) {\n if (!hasOverrideFor(event.getProperty()))\n fireMappingChanged(event.getProperty(), event.getOldValue(), event.getNewValue());\n }", "@Override\n public void onPropertyChanged(Observable sender, int propertyId) {\n if (propertyId == Conversation.STATE_PROPERTY_ID) {\n updateConversationState();\n }\n }", "protected void do_childSupportFTF_propertyChange(PropertyChangeEvent arg0) {\n\t\tsetIncomeTotal();\n\t}", "@Override\n public void onChanged() {\n }", "@Override\n\tpublic void propertyChange(PropertyChangeEvent evt) {\n\t\tfillFields();\n\t}", "@Override\n public void propertyChange(PropertyChangeEvent e) {\n this.updateCoords();\n }", "public void propertyChange(PropertyChangeEvent evt)\n/* */ {\n/* 76 */ CompoundPainter<?> painter = (CompoundPainter)this.ref.get();\n/* */ \n/* 78 */ if (painter == null) {\n/* 79 */ AbstractPainter<?> src = (AbstractPainter)evt.getSource();\n/* 80 */ src.removePropertyChangeListener(this);\n/* */ } else {\n/* 82 */ String property = evt.getPropertyName();\n/* */ \n/* 84 */ if ((\"dirty\".equals(property)) && (evt.getNewValue() == Boolean.FALSE)) {\n/* 85 */ return;\n/* */ }\n/* */ \n/* 88 */ painter.setDirty(true);\n/* */ }\n/* */ }", "public void propertyChange(PropertyChangeEvent event) {\r\n\t\tString property = event.getPropertyName();\r\n\t\tif (\"bendpoint\".equals(property)) //$NON-NLS-1$\r\n\t\t\trefreshVisuals(); \r\n\t}", "public void modelPropertyChange(PropertyChangeEvent evt) {\n\t\t\n\t}", "public void propertyChange(PropertyChangeEvent ev) {\n\t\tif (ev.getPropertyName().equals(HPort.PROPERTY_BOUNDS)) this.refreshVisuals();\r\n\t//\tif (ev.getPropertyName().equals(IHProvidesPort.PROPERTY_COLOR)) this.refreshVisuals();\r\n\r\n\t\t\t\r\n\t}", "protected void do_utilityFTF_propertyChange(PropertyChangeEvent arg0) {\n\t\tsetIncomeTotal();\n\t}", "public void firePropertyChange(java.lang.String propertyName, java.lang.Object oldValue, java.lang.Object newValue) {\r\n\tgetPropertyChange().firePropertyChange(propertyName, oldValue, newValue);\r\n}", "void onPropertyChange(String key);", "protected void valueChanged() {\r\n \t\tint newValue = slider.getSelection();\r\n \t\tint oldValue = this.intValue;\r\n \t\tintValue = newValue;\r\n \t\tjava.beans.PropertyChangeEvent event = new java.beans.PropertyChangeEvent(\r\n \t\t\t\tthis, IPropertyEditor.VALUE, oldValue, newValue);\r\n \t\tvalueChangeListener.valueChange(event);\r\n \t}", "@Override\n public void addOnPropertyChangedCallback(OnPropertyChangedCallback callback) {\n }", "protected synchronized void setChanged() {\n changed = true;\n }", "protected void firePropertyChange( java.beans.PropertyChangeEvent evt ) {\n propertyChangeSupport.firePropertyChange( evt );\n }", "private void setConditionAndListener(ObjectProperty<ConditionViewModel> property) {\n setCondition(property.get());\n\n // Update for new values\n property.addListener((observable, oldValue, newValue) -> setCondition(newValue));\n }", "private static void usePropertyChangeListener() {\n SimpleStringProperty stringProperty = new SimpleStringProperty(\"xyz\");\n // Prints property's value\n System.out.println(stringProperty.getValue());\n // Adds a listener - action that will be run if property's value changes.\n stringProperty.addListener((observable, oldValue, newValue) -> {\n System.out.println(\"New value is set: \" + newValue);\n });\n // Sets new value\n stringProperty.setValue(\"Some new value\");\n }", "protected void do_socialSecurityFTF_propertyChange(PropertyChangeEvent arg0) {\n\t\tsetIncomeTotal();\n\t}", "public void setMobHasChanged() {\r\n\t\t// method that informs the view(the observer) of the changes\r\n\t\tthis.setChanged();\r\n\t\tthis.notifyObservers();\r\n\t\r\n\t}", "public com.app.tvp.cas.cliente.PropertyChangedEventHandler getPropertyChanged() {\n return propertyChanged;\n }", "void onChangeEvent(CarPropertyValue value);", "protected void stateChanged() {\r\n\t\tsetChanged();\r\n\t\tnotifyObservers();\r\n\t}", "@Override\n public void propertyChange(PropertyChangeEvent evt) {\n if (evt.getPropertyName() == DataObject.PROP_MODIFIED &&\n evt.getNewValue() == Boolean.FALSE) {\n // dataobject has been modified, context graph is out of sync\n synchronized (this) {\n context = null;\n }\n }\n }", "@Override\n\tpublic boolean valueChanged() {\n\t\treturn false;\n\t}", "protected void do_tanfFTF_propertyChange(PropertyChangeEvent arg0) {\n\t\tsetIncomeTotal();\n\t}", "protected void do_foodStampsFTF_propertyChange(PropertyChangeEvent arg0) {\n\t\tsetIncomeTotal();\n\t}", "@Override\n public void setChanged() {\n set(getItem());\n }", "public abstract void addPropertyChangeListener(PropertyChangeListener listener);", "protected final void firePropertyChange(String propertyName, double oldValue, double newValue) {\n firePropertyChange(propertyName, Double.valueOf(oldValue), Double.valueOf(newValue));\n }", "public void newValueBinding(BGMEvent e);", "protected void do_disabilityFTF_propertyChange(PropertyChangeEvent arg0) {\n\t\tsetIncomeTotal();\n\t}", "@Override\r\n public void firePropertyChange(final String propertyName, final boolean oldValue, final boolean newValue) {\r\n /* we dont need propertychange events */\r\n if (\"indeterminate\".equals(propertyName)) {\r\n // this is required to forward indeterminate changes to the ui. This\r\n // would cfreate nullpointers in the uis because progresbar might\r\n // try to paint indeterminate states, but the ui has not been\r\n // initialized due to the missing event\r\n super.firePropertyChange(propertyName, oldValue, newValue);\r\n }\r\n }", "@Override\r\n\tpublic void valuesChanged() {\r\n\t}", "public void addPropertyChangeListener(PropertyChangeListener l);", "public void propertiesChanged(String property, String value) {\n\t\tif(property != null) {\n \t\t\tFComponent comp = mainFrame.getSelectedComponent().getComponent();\n \t\t\tif(comp.getLabel() == null || !comp.getLabel().equals(value)) {\n \t\t\t\tcomp.setLabel(value);\n \t\t\t\tmainFrame.refreshPreview();\t\t\t\t\n \t\t\t}\n \t\t}\n \t}", "private void updateBinding(){\n\t\tif(propertiesObj == null)\n\t\t\treturn;\n\n\t\tif(txtBinding.getText().trim().length() == 0)\n\t\t\treturn;\n\n\t\tif(propertiesObj instanceof QuestionDef)\n\t\t\t((QuestionDef)propertiesObj).setVariableName(txtBinding.getText());\n\t\telse if(propertiesObj instanceof OptionDef)\n\t\t\t((OptionDef)propertiesObj).setVariableName(txtBinding.getText());\n\t\telse if(propertiesObj instanceof FormDef)\n\t\t\t((FormDef)propertiesObj).setVariableName(txtBinding.getText());\n\t\telse if(propertiesObj instanceof PageDef){\n\t\t\ttry{\n\t\t\t\t((PageDef)propertiesObj).setPageNo(Integer.parseInt(txtBinding.getText()));\n\t\t\t}catch(Exception ex){\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\n\t\tformChangeListener.onFormItemChanged(propertiesObj);\n\t}", "@Override\n public void changed(ObservableValue<? extends Number> observable, Number oldValue, Number newValue) {\n gc.setLineWidth(newValue.doubleValue());\n }", "public void propertyChange(final PropertyChangeEvent _event)\n {\n this.updateStyle();\n }", "protected void firePropertyChange(String propertyName,Object oldValue,\n Object newValue){\n super.firePropertyChange(propertyName,oldValue,newValue);\n if(propertyName.equals(EnableWindowBlit)){\n if(newValue!=null){\n setScrollMode(BLIT_SCROLL_MODE);\n }else{\n setScrollMode(SIMPLE_SCROLL_MODE);\n }\n }\n }", "public void firePropertyChange(String propertyName, Object oldValue, Object newValue) {\r\n\t\tgetPropertyChange().firePropertyChange(propertyName, oldValue, newValue);\r\n\t}", "@Override\n public void propertyChange(PropertyChangeEvent evt) {\n modelToView(handle);\n }", "public abstract void addPropertyChangeListener(IPropertyChangeListener listener);", "public void addPropertyChangeListener(PropertyChangeListener listener);", "@Override\n public void onChange() {\n java.lang.String callbackArg_0 = android.databinding.adapters.TextViewBindingAdapter.getTextString(mboundView4);\n // localize variables for thread safety\n // viewModel.obRealAmt\n android.databinding.ObservableField<java.lang.String> viewModelObRealAmt = null;\n // viewModel.obRealAmt != null\n boolean viewModelObRealAmtJavaLangObjectNull = false;\n // viewModel\n ys.app.pad.viewmodel.ModifyServiceDetailViewModel viewModel = mViewModel;\n // viewModel != null\n boolean viewModelJavaLangObjectNull = false;\n // viewModel.obRealAmt.get()\n java.lang.String viewModelObRealAmtGet = null;\n\n\n\n viewModelJavaLangObjectNull = (viewModel) != (null);\n if (viewModelJavaLangObjectNull) {\n\n\n viewModelObRealAmt = viewModel.obRealAmt;\n\n viewModelObRealAmtJavaLangObjectNull = (viewModelObRealAmt) != (null);\n if (viewModelObRealAmtJavaLangObjectNull) {\n\n\n\n\n viewModelObRealAmt.set(((java.lang.String) (callbackArg_0)));\n }\n }\n }", "@Override\n public void propertyChange(PropertyChangeEvent evt) {\n\n System.out.println(\"Customer \" + this.name + \" observed a change in \" +\n evt.getPropertyName() + \" of \" + evt.getSource());\n\n System.out.println(\n evt.getOldValue() + \" has changed to \" + evt.getNewValue() + \". \");\n\n System.out.println();\n }", "public String listen(String key, PropertyChangedCallback callback);", "void addPropertyChangeListener(PropertyChangeListener listener);", "@Test\r\n public void testPropertyBidiBindingNotification() {\r\n String initialValue = \"initial\";\r\n ObjectProperty<String> property = new SimpleObjectProperty<>(initialValue);\r\n String otherValue = \"other\";\r\n ObjectProperty<String> otherProperty = new SimpleObjectProperty<>(otherValue);\r\n ChangeReport report = new ChangeReport(property);\r\n property.bindBidirectional(otherProperty);\r\n \r\n assertSame(\"bidi binding updates\", property.get(), otherProperty.get());\r\n assertSame(\"property is target of bidi\", otherValue, property.get());\r\n assertSame(\"other is unchanged\", otherValue, otherProperty.get());\r\n assertEquals(1, report.getEventCount());\r\n \r\n report.clear();\r\n String thirdValue = \"something else\";\r\n otherProperty.set(thirdValue);\r\n assertSame(\"property must be updated to new value of other\", thirdValue, property.get());\r\n assertEquals(1, report.getEventCount());\r\n }", "@Override\r\n public void rmValueListener(PropertyChangeListener l) {\n\r\n }", "void valueChanged(T oldValue, T newValue);", "@Override\n public void onChange() {\n java.lang.String callbackArg_0 = android.databinding.adapters.TextViewBindingAdapter.getTextString(mboundView1);\n // localize variables for thread safety\n // viewModel.obName != null\n boolean viewModelObNameJavaLangObjectNull = false;\n // viewModel.obName.get()\n java.lang.String viewModelObNameGet = null;\n // viewModel\n ys.app.pad.viewmodel.ModifyServiceDetailViewModel viewModel = mViewModel;\n // viewModel.obName\n android.databinding.ObservableField<java.lang.String> viewModelObName = null;\n // viewModel != null\n boolean viewModelJavaLangObjectNull = false;\n\n\n\n viewModelJavaLangObjectNull = (viewModel) != (null);\n if (viewModelJavaLangObjectNull) {\n\n\n viewModelObName = viewModel.obName;\n\n viewModelObNameJavaLangObjectNull = (viewModelObName) != (null);\n if (viewModelObNameJavaLangObjectNull) {\n\n\n\n\n viewModelObName.set(((java.lang.String) (callbackArg_0)));\n }\n }\n }", "private void change() {\n\t\tsetChanged();\n\t\t//NotifyObservers calls on the update-method in the GUI\n\t\tnotifyObservers();\n\t}", "protected final void firePropertyChange(String propertyName, float oldValue, float newValue) {\n firePropertyChange(propertyName, Float.valueOf(oldValue), Float.valueOf(newValue));\n }", "public void propertyChange(PropertyChangeEvent e) {\n String name = e.getPropertyName();\n if (name.equals(\"stepnumber\")) { //$NON-NLS-1$\n if (trackerPanel.getSelectedTrack() == this) {\n displayWorldCoordinates();\n stepValueLabel.setText(e.getNewValue() + \":\"); //$NON-NLS-1$\n }\n } else if (name.equals(\"locked\")) { //$NON-NLS-1$\n xField.setEnabled(!isLocked());\n yField.setEnabled(!isLocked());\n } else super.propertyChange(e);\n }", "@Override\r\n\t\t\tpublic void onPropertyChange(String... paths) {\n\t\t\t\t\r\n\t\t\t}", "@Override\n\tpublic void stateChanged(ChangeEvent arg0) {\n\t\t\n\t}", "@Override\n\tpublic void notifySettingChanged() {\n\t}", "public void markChanged()\n \t{\n \t\tbChanged=true;\n \t}", "@Override\n public void onChange() {\n java.lang.String callbackArg_0 = android.databinding.adapters.TextViewBindingAdapter.getTextString(mboundView3);\n // localize variables for thread safety\n // viewModel.obTypeName.get()\n java.lang.String viewModelObTypeNameGet = null;\n // viewModel.obTypeName\n android.databinding.ObservableField<java.lang.String> viewModelObTypeName = null;\n // viewModel\n ys.app.pad.viewmodel.ModifyServiceDetailViewModel viewModel = mViewModel;\n // viewModel != null\n boolean viewModelJavaLangObjectNull = false;\n // viewModel.obTypeName != null\n boolean viewModelObTypeNameJavaLangObjectNull = false;\n\n\n\n viewModelJavaLangObjectNull = (viewModel) != (null);\n if (viewModelJavaLangObjectNull) {\n\n\n viewModelObTypeName = viewModel.obTypeName;\n\n viewModelObTypeNameJavaLangObjectNull = (viewModelObTypeName) != (null);\n if (viewModelObTypeNameJavaLangObjectNull) {\n\n\n\n\n viewModelObTypeName.set(((java.lang.String) (callbackArg_0)));\n }\n }\n }", "@Override\n\t\t\t\tpublic void propertyChange(PropertyChangeEvent evt) {\n\t\t\t\t\tswitch (evt.getPropertyName()) {\n\n\t\t\t\t\t// propertyName progress tells us progress value\n\t\t\t\t\tcase \"progress\":\n\t\t\t\t\t\twindow.setScalingProgressBar((Integer) evt.getNewValue());\n\t\t\t\t\t}\n\n\t\t\t\t}", "@Override\n public void onChange() {\n java.lang.String callbackArg_0 = android.databinding.adapters.TextViewBindingAdapter.getTextString(mboundView5);\n // localize variables for thread safety\n // viewModel.obServiceVipPrice != null\n boolean viewModelObServiceVipPriceJavaLangObjectNull = false;\n // viewModel.obServiceVipPrice\n android.databinding.ObservableField<java.lang.String> viewModelObServiceVipPrice = null;\n // viewModel.obServiceVipPrice.get()\n java.lang.String viewModelObServiceVipPriceGet = null;\n // viewModel\n ys.app.pad.viewmodel.ModifyServiceDetailViewModel viewModel = mViewModel;\n // viewModel != null\n boolean viewModelJavaLangObjectNull = false;\n\n\n\n viewModelJavaLangObjectNull = (viewModel) != (null);\n if (viewModelJavaLangObjectNull) {\n\n\n viewModelObServiceVipPrice = viewModel.obServiceVipPrice;\n\n viewModelObServiceVipPriceJavaLangObjectNull = (viewModelObServiceVipPrice) != (null);\n if (viewModelObServiceVipPriceJavaLangObjectNull) {\n\n\n\n\n viewModelObServiceVipPrice.set(((java.lang.String) (callbackArg_0)));\n }\n }\n }", "@Override\n\tpublic abstract void valueChanged(ListSelectionEvent arg0);", "@Override\n public void propertyChange(java.beans.PropertyChangeEvent ev) {\n fireInAWT(PROP_NODE_CHANGE, null, null);\n }", "public void changed() {\n this.fireContentsChanged(this, 0, this.getSize() - 1);\n }", "@Override\n protected void onPropertyChanged(RadPropertyEventArgs e) {\n if (e.getKey() == FIRST_AXIS_PROPERTY_KEY) {\n //this.firstAxis = (AxisModel) e.newValue();\n\n this.onFirstAxisChanged();\n } else if (e.getKey() == SECOND_AXIS_PROPERTY_KEY) {\n //this.secondAxis = (AxisModel) e.newValue();\n\n this.onSecondAxisChanged();\n }\n\n super.onPropertyChanged(e);\n }", "@Test\r\n public void testListValuedObjectPropertyBoundTo() {\r\n ObservableList<String> list = createObservableList(true);\r\n ObjectProperty<ObservableList<String>> property = new SimpleObjectProperty<>(list);\r\n ListProperty listProperty = new SimpleListProperty();\r\n listProperty.bind(property);\r\n \r\n ChangeReport report = new ChangeReport(listProperty);\r\n property.set(createObservableList(true));\r\n assertEquals(\"supported: listProperty bound to listValued property fires change event\", \r\n 1, report.getEventCount());\r\n ListChangeReport lr = new ListChangeReport(listProperty);\r\n property.get().remove(0);\r\n assertEquals(1, lr.getEventCount());\r\n }", "protected void do_salaryFTF_propertyChange(PropertyChangeEvent arg0) {\n\t\tsetIncomeTotal();\n\t}", "@Override\n\tpublic void valueChange(ValueChangeEvent event) {\n\t\t\n\t}", "@Override\n public void addPropertyChangeListener(PropertyChangeListener listener)\n {\n if (changes == null)\n {\n changes = new PropertyChangeSupport(this);\n }\n changes.addPropertyChangeListener(listener);\n }", "public final void propertyChange(PropertyChangeEvent evt) {\n Object oldValue = evt.getOldValue();\n Object newValue = evt.getNewValue();\n String propertyName = evt.getPropertyName();\n if ((oldValue instanceof Document) || (newValue instanceof Document)) {\n if (oldValue != null) {\n ((Document)oldValue).removeDocumentListener(this);\n i18nView = false;\n }\n if (newValue != null) {\n ((Document)newValue).addDocumentListener(this);\n if (\"document\" == propertyName) {\n setView(null);\n BasicTextUI.this.propertyChange(evt);\n modelChanged();\n return;\n }\n }\n modelChanged();\n }\n if (\"focusAccelerator\" == propertyName) {\n updateFocusAcceleratorBinding(true);\n } else if (\"componentOrientation\" == propertyName) {\n // Changes in ComponentOrientation require the views to be\n // rebuilt.\n Document document = editor.getDocument();\n final String I18NProperty = \"i18n\";\n // if a default direction of right-to-left has been specified,\n // we want complex layout even if the text is all left to right.\n if (ComponentOrientation.RIGHT_TO_LEFT == newValue\n && ! Boolean.TRUE.equals(document.getProperty(I18NProperty))) {\n document.putProperty(I18NProperty, Boolean.TRUE);\n }\n modelChanged();\n } else if (\"font\" == propertyName) {\n modelChanged();\n } else if (\"dropLocation\" == propertyName) {\n dropIndexChanged();\n } else if (\"editable\" == propertyName) {\n updateCursor();\n modelChanged();\n }\n BasicTextUI.this.propertyChange(evt);\n }", "@Override\n public void addPropertyChangeListener( String propertyName, PropertyChangeListener listener )\n {\n if( componentModel == null )\n return;\n\n if( propertyName==null )\n {\n componentModel.addPropertyChangeListener( listener );\n }\n else\n {\n Property prop = componentModel.findProperty( propertyName );\n if ( prop != null )\n {\n prop.addPropertyChangeListener( listener );\n }\n }\n }", "public PropertyChangeEvent(Object source, String propertyName,\n Object oldVal, Object newVal)\n {\n super(source);\n this.propertyName = propertyName;\n oldValue = oldVal;\n newValue = newVal;\n }", "public void notifyChange()\r\n {\r\n setChanged();\r\n notifyObservers();\r\n }", "public void valueChanged(ListSelectionEvent e)\n\t\t\t{\n\t\t\t}" ]
[ "0.7555569", "0.7080848", "0.7080848", "0.70098335", "0.6941481", "0.69412327", "0.6869419", "0.68434733", "0.68374217", "0.68190783", "0.67583567", "0.67293215", "0.6664966", "0.65054077", "0.64740765", "0.6464351", "0.6437039", "0.64358926", "0.6398445", "0.63603747", "0.63553303", "0.6344567", "0.6327592", "0.63170546", "0.6315316", "0.62813586", "0.62768173", "0.62745506", "0.6220223", "0.6217022", "0.6213548", "0.62119454", "0.62069726", "0.61927855", "0.6144944", "0.61015844", "0.60803837", "0.60774714", "0.607701", "0.6053839", "0.60454345", "0.60424554", "0.5998017", "0.599685", "0.5967744", "0.59539753", "0.5947094", "0.59455615", "0.5941211", "0.59410393", "0.5933018", "0.5926705", "0.5910495", "0.5897407", "0.5862538", "0.58582926", "0.58402276", "0.58359134", "0.5834212", "0.58334523", "0.5832369", "0.58157074", "0.5812012", "0.58078974", "0.57977736", "0.5781816", "0.5776885", "0.5768968", "0.57687855", "0.5767485", "0.57549775", "0.57484305", "0.57451993", "0.5741378", "0.57376415", "0.5734027", "0.5723725", "0.5723662", "0.5715037", "0.57113934", "0.5705366", "0.5700972", "0.56985354", "0.5685367", "0.568525", "0.5682636", "0.5677043", "0.5670181", "0.5670117", "0.5669231", "0.56654596", "0.56567305", "0.5654269", "0.56484616", "0.5646373", "0.56461716", "0.5632502", "0.5631677", "0.5630842", "0.5623346", "0.56224376" ]
0.0
-1
Insert the method's description here. Creation date: (9/8/2005 11:15:57 AM)
public void refreshDependencies() { removePropertyChangeListener(this); addPropertyChangeListener(this); if(smoldynSimulationOptions != null) { smoldynSimulationOptions.refreshDependencies(); } if(nfsimSimulationOptions != null) { nfsimSimulationOptions.refreshDependencies(); } if(langevinSimulationOptions != null) { langevinSimulationOptions.refreshDependencies(); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "public void method_201() {}", "public void method_4270() {}", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "public void mo21793R() {\n }", "public void mo21795T() {\n }", "public void mo21878t() {\n }", "public void mo21877s() {\n }", "public void mo55254a() {\n }", "public void mo21779D() {\n }", "@Override\r\n\tpublic void method() {\n\t\r\n\t}", "public void mo21794S() {\n }", "public void mo21785J() {\n }", "public void mo21791P() {\n }", "public void mo115188a() {\n }", "public void mo38117a() {\n }", "public void mo97908d() {\n }", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "public void mo21783H() {\n }", "public void mo21782G() {\n }", "public void mo21825b() {\n }", "public void mo3376r() {\n }", "public void method_115() {}", "@Override\r\n\tpublic void Method1() {\n\t\t\r\n\t}", "public void mo21789N() {\n }", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo21788M() {\n }", "@Override\n public void date()\n {\n }", "public void mo3749d() {\n }", "public void mo21880v() {\n }", "public void mo44053a() {\n }", "public void mo56167c() {\n }", "public void mo4359a() {\n }", "public void mo21780E() {\n }", "public void mo21792Q() {\n }", "public void mo115190b() {\n }", "public void method(){}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "public void mo9848a() {\n }", "@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}", "public void mo1405e() {\n }", "public void mo9137b() {\n }", "public void mo2471e() {\n }", "public void mo12930a() {\n }", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "public final void mo51373a() {\n }", "public void mo6944a() {\n }", "public Methods() {\n // what is this doing? -PMC\n }", "public void mo21784I() {\n }", "public void mo21787L() {\n }", "public void mo9233aH() {\n }", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "public void mo1531a() {\n }", "public Date getCreateDate()\r\n/* */ {\r\n/* 158 */ return this.createDate;\r\n/* */ }", "@Override\n\tpublic void particular1() {\n\t\t\n\t}", "public void mo5248a() {\n }", "public void method_199() {}", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void Method3() {\n\t\t\r\n\t}", "public void mo1403c() {\n }", "@Override\r\n\tpublic void Method2() {\n\t\t\r\n\t}", "public void method_193() {}", "public void mo21781F() {\n }", "public void method_202() {}", "public void m23075a() {\n }", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "public void mo23813b() {\n }", "public void mo97906c() {\n }", "public void mo5382o() {\n }", "public void mo21786K() {\n }", "public void mo21800a() {\n }", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "public void method_206() {}", "@Override\r\npublic int method() {\n\treturn 0;\r\n}", "@Override\n\tprotected void getExras() {\n\n\t}", "public void method1()\r\n\t{\r\n\t}", "public void mo9241ay() {\n }", "@Override\n\tpublic void dosomething() {\n\t\t\n\t}", "public void method_6349() {\r\n super.method_6349();\r\n }", "@Override\n\tpublic void myMethod() {\n\t\t\n\t}", "public void method_1449() {\r\n super.method_1449();\r\n }", "public void method_1449() {\r\n super.method_1449();\r\n }", "public void method_1449() {\r\n super.method_1449();\r\n }", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\n\tpublic void verkaufen() {\n\t}", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "public void mo1406f() {\n }" ]
[ "0.69371223", "0.6657484", "0.66347086", "0.65938324", "0.6551592", "0.6536154", "0.6535621", "0.6509343", "0.6463654", "0.6441711", "0.64368796", "0.6428256", "0.63880455", "0.6386661", "0.6385195", "0.63827425", "0.63660437", "0.63660073", "0.63660073", "0.6358388", "0.6340912", "0.6334821", "0.63179255", "0.6315587", "0.6315055", "0.6306552", "0.6293026", "0.62913954", "0.6278789", "0.6278789", "0.6278789", "0.6278789", "0.6278789", "0.6278789", "0.6278789", "0.62691844", "0.62652874", "0.62632376", "0.62545776", "0.62465805", "0.62345237", "0.6231453", "0.62211466", "0.6220369", "0.62127906", "0.6185669", "0.6173101", "0.6171394", "0.61698425", "0.6162812", "0.6160351", "0.61563236", "0.61443734", "0.61422807", "0.6140359", "0.61387634", "0.613004", "0.6124963", "0.6117132", "0.6111214", "0.610618", "0.6102461", "0.6102461", "0.6090955", "0.60898995", "0.6067164", "0.6061375", "0.60580635", "0.60579306", "0.6054658", "0.60503286", "0.6041482", "0.6041426", "0.6039002", "0.60371155", "0.60321754", "0.60249764", "0.59976506", "0.5993471", "0.5989802", "0.59894544", "0.59890354", "0.59790456", "0.59785515", "0.5973512", "0.5970717", "0.59688264", "0.5968346", "0.5952506", "0.5943551", "0.5942057", "0.5941767", "0.5938354", "0.59364957", "0.59364957", "0.59364957", "0.5935417", "0.5926718", "0.5926674", "0.5923736", "0.5923482" ]
0.0
-1
The removePropertyChangeListener method was generated to support the propertyChange field.
public synchronized void removePropertyChangeListener(java.beans.PropertyChangeListener listener) { getPropertyChange().removePropertyChangeListener(listener); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void removePropertyChangeListener(PropertyChangeListener listener) {\n\n }", "public void removePropertyChangeListener(PropertyChangeListener propertyChangeListener) {\n }", "void removePropertyChangeListener(PropertyChangeListener listener);", "void removePropertyChangeListener(PropertyChangeListener listener);", "public abstract void removePropertyChangeListener(PropertyChangeListener listener);", "public void removePropertyChangeListener(PropertyChangeListener l);", "public abstract void removePropertyChangeListener(IPropertyChangeListener listener);", "public void removePropertyChangeListener(PropertyChangeListener listener);", "@Override\n\tpublic void removePropertyChangeListener(PropertyChangeListener l) {\n\t\t//do nothing\n\t}", "public void removePropertyChangeListener(PropertyChangeListener listener)\n {\n }", "void removeChangeListener(PropertyChangeListener<? super R> listener);", "public void removePropertyChangeListener (PropertyChangeListener l)\n { pcs.removePropertyChangeListener (l); }", "default void removePropertyChangeListener(PropertyChangeListener listener)\r\n {\r\n }", "@Override\r\n public void rmValueListener(PropertyChangeListener l) {\n\r\n }", "public void removePropertyChangeListener (PropertyChangeListener l) {\n pcs.removePropertyChangeListener (l);\n }", "public synchronized void removePropertyChangeListener(java.beans.PropertyChangeListener listener) {\r\n\tgetPropertyChange().removePropertyChangeListener(listener);\r\n}", "@Override\n public void removePropertyChangeListener( String propertyName,PropertyChangeListener listener )\n {\n if( componentModel == null )\n return;\n\n if( propertyName==null )\n {\n componentModel.removePropertyChangeListener( listener );\n }\n else\n {\n Property prop = componentModel.findProperty( propertyName );\n if ( prop != null )\n {\n prop.removePropertyChangeListener( listener );\n }\n }\n }", "void removePropertyListener(PropertyListener listener);", "public void removeListener(PropertyChangeListener listener, String propertyType);", "public void removePropertyChangeListener(@NotNull PropertyChangeListener listener) {\n }", "public void removePropertyChangeListener(PropertyChangeListener listener) {\n\n\t}", "public void removePropertyChangeListener (\n String propertyName,\n PropertyChangeListener l\n ) {\n pcs.removePropertyChangeListener (propertyName, l);\n }", "public void removePropertyChangeListener(PropertyChangeListener listener) {\n \tmPropertyChangeSupport.removePropertyChangeListener(listener);\n }", "public void removePropertyChangeListener(PropertyChangeListener pListener) {\n \tmodel.removePropertyChangeListener(pListener);\n }", "@Override\n public synchronized void removePropertyChangeListener(PropertyChangeListener listener) {\n if (listeners != null) {\n listeners.removePropertyChangeListener(listener);\n }\n }", "public final void removePropertyChangeListener (PropertyChangeListener pl) {\n if (changeSupport == null)\n return;\n changeSupport.removePropertyChangeListener (pl);\n }", "public void removePropertyChangeListener(java.beans.PropertyChangeListener l) {\r\n propertyChangeSupport.removePropertyChangeListener(l);\r\n }", "public void removePropertyChangeListener(java.beans.PropertyChangeListener listener) {\n\tmPcs.removePropertyChangeListener(listener);\n }", "public void removePropertyChangeListener(PropertyChangeListener l) {\n getPropertyChangeSupport().removePropertyChangeListener(l);\n }", "public void removePropertyChangeListener(final PropertyChangeListener thePcl) {\n myPcs.removePropertyChangeListener(thePcl);\n }", "public void removePropertyChangeListener(java.beans.PropertyChangeListener l) {\n propertyChangeSupport.removePropertyChangeListener( l );\n }", "public void removePropertyChangeListener(java.beans.PropertyChangeListener l) {\n propertyChangeSupport.removePropertyChangeListener(l);\n }", "public void removePropertyChangeListener(java.beans.PropertyChangeListener l) {\n propertyChangeSupport.removePropertyChangeListener(l);\n }", "public void removePropertyChangeListener(java.beans.PropertyChangeListener l) {\n propertyChangeSupport.removePropertyChangeListener(l);\n }", "void removeModelEventListener(PropertyChangeListener listener, Object modelelement, String propertyName);", "void removeModelEventListener(PropertyChangeListener listener, Object modelelement, String[] propertyNames);", "public synchronized void removePropertyChangeListener(PropertyChangeListener l) {\n if (propertySupport != null) {\n propertySupport.removePropertyChangeListener(l);\n }\n }", "public synchronized void removePropertyChangeListener(java.beans.PropertyChangeListener listener) {\r\n\t\tgetPropertyChange().removePropertyChangeListener(listener);\r\n\t}", "void removeModelEventListener(PropertyChangeListener listener, Object modelelement);", "static public void removePropertyChangeListener(PropertyChangeListener l) {\n listenerList.remove(PropertyChangeListener.class, l);\n if (listenerList.getListenerCount(PropertyChangeListener.class) == 0) {\n accessibilityListener.removeListeners();\n }\n }", "public synchronized void removePropertyChangeListener(PropertyChangeListener listener) {\r\n\t\tgetPropertyChange().removePropertyChangeListener(listener);\r\n\t}", "public synchronized void removePropertyChangeListener(PropertyChangeListener listener) {\n if (listeners == null) {\n return;\n }\n listeners.removeElement(listener);\n }", "public void removePropertyChangeListener(ActionListener<PropertyChangeEvent> l) {\n if (listeners == null || !listeners.hasListeners()) {\n return;\n }\n listeners.removeListener(l);\n if (!listeners.hasListeners()) {\n if (pcl != null) {\n if (root != null) {\n Property prop = property;\n if (prop == null && tags != null) {\n prop = root.getEntity().findProperty(tags);\n }\n if (prop != null) {\n root.getEntity().removePropertyChangeListener(prop, pcl);\n }\n } else {\n Entity leafEntity = getLeafEntity();\n Property leafProperty = getLeafProperty();\n if (leafEntity != null && leafProperty != null) {\n leafEntity.getEntity().removePropertyChangeListener(leafProperty, pcl());\n }\n parent.removeVetoablePropertyChangeListener(vpcl());\n parent.removeListChangeListener(listChangeListener());\n }\n }\n }\n }", "@Override\n\tpublic void addPropertyChangeListener(PropertyChangeListener l) {\n\t\t//do nothing\n\t}", "public abstract void removePropertyChangeListener(PropertyChangeListener listener, String kenaiHostUrl);", "public void removePropertyChangeListener(Property property, PropertyChangeListener listener) {\n this.propertyChangeSupport.removePropertyChangeListener(property.name(), listener);\n }", "@SuppressWarnings(\"unused\")\r\n public synchronized void removePropertyChangeListener(PropertyChangeListener listener)\r\n {\r\n Iterator<WeakReference<PropertyChangeListener>> i = listeners.iterator();\r\n while (i.hasNext()) {\r\n PropertyChangeListener l = i.next().get();\r\n\r\n if ((l == null) || l.equals(listener))\r\n i.remove();\r\n }\r\n if (this.added && (listeners.size() == 0)) {\r\n removeThisFromNotifier();\r\n this.added = false;\r\n }\r\n }", "public void removePropertyChangeListener(PropertyChangeListener listener) {\n\t\tthis.propertyChangeSupport.removePropertyChangeListener(listener);\n\t}", "void removePropertyChangedObserver(PropertyChangeObserver observer);", "void removeClassModelEventListener(PropertyChangeListener listener, Object modelClass, String propertyName);", "void removeModelEventListener(UmlChangeListener listener, Object modelelement, String[] propertyNames);", "void removeClassModelEventListener(PropertyChangeListener listener, Object modelClass, String[] propertyNames);", "@Test\n public void testRemovePropertyChangeListener() {\n // trivial\n }", "public synchronized void removePropertyChangeListener(PropertyChangeListener l) {\n int cnt = listeners.size();\n for (int i = 0; i < cnt; i++) {\n Object o = ((WeakReference)listeners.get(i)).get();\n if (o == null || o == l) { // remove null references and the required one\n listeners.remove(i);\n interestNames.remove(i);\n i--;\n cnt--;\n }\n }\n }", "void removeModelEventListener(UmlChangeListener listener, Object modelelement, String propertyName);", "protected void uninstallListeners() {\n frame.removePropertyChangeListener(propertyChangeListener);\n }", "@Override\n public void removeOnPropertyChangedCallback(OnPropertyChangedCallback callback) {\n }", "@Override\n protected void componentClosed() {\n WindowManager.getDefault().getRegistry().removePropertyChangeListener(this);\n }", "@Override\n\tpublic void removeValueChangeListener(final ValueChangeListener<T> listener) {\n\t\t\n\t}", "public X removePropertyChangeListener(PropertyChangeListener listener) {\n component.removePropertyChangeListener(listener);\n return (X) this;\n }", "@Override\n public void removeListener(ChangeListener<? super String> listener) {\n }", "void removeListener(ChangeListener<? super T> listener);", "protected void uninstallListeners() {\n spinner.removePropertyChangeListener(propertyChangeListener); }", "public X removePropertyChangeListener(String property, PropertyChangeListener listener) {\n component.removePropertyChangeListener(property, listener);\n return (X) this;\n }", "@Override\n protected void onDestroy() {\n \tsuper.onDestroy();\n \ttry {\n\t\t\tm.unRegisteredPropListener(mMyPropListener);\n\t\t} catch (RemoteException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n }", "@Override\n public void addPropertyChangeListener(PropertyChangeListener listener) {\n\n }", "public void removeDeepChangeListener(DeepChangeListener aLstnr) { removeListener(DeepChangeListener.class, aLstnr); }", "public void removeChangeListener(ChangeListener l) {\n\t\t//do nothing\n\t}", "protected void uninstallListeners() { this.tipPane.removePropertyChangeListener(this.changeListener); }", "private void removeVetoablePropertyChangeListener(ActionListener<VetoablePropertyChangeEvent> l) {\n if (root != null) {\n Property prop = property;\n if (prop == null && tags != null) {\n prop = root.getEntity().findProperty(tags);\n }\n if (prop != null) {\n root.getEntity().addVetoablePropertyChangeListener(prop, l);\n }\n } else {\n Entity leafEntity = getLeafEntity();\n Property leafProperty = getLeafProperty();\n if (leafEntity != null && leafProperty != null) {\n leafEntity.getEntity().addVetoablePropertyChangeListener(leafProperty, l);\n }\n parent.addVetoablePropertyChangeListener(l);\n }\n }", "public void removeChangeListener(ChangeListener listener) { _changeListeners.remove(listener); }", "void addPropertyChangeListener(PropertyChangeListener listener);", "public synchronized void removeVetoableChangeListener(java.beans.VetoableChangeListener listener) {\r\n\tgetVetoPropertyChange().removeVetoableChangeListener(listener);\r\n}", "public void addPropertyChangeListener(PropertyChangeListener l);", "@Override\r\n protected void unregisterChangeListener()\r\n {\r\n getTabbedPane().removeChangeListener(this);\r\n }", "@Override\n \tpublic void propertyChange(PropertyChangeEvent arg0) {\n \t\t\n \t}", "@Override\n public void removeListener(InvalidationListener listener) {\n }", "public void addPropertyChangeListener(PropertyChangeListener propertyChangeListener) {\n }", "@Override\n\tpublic void propertyChange(PropertyChangeEvent arg0) {\n\t\t\n\t}", "@Override\r\n\tpublic void propertyChange(PropertyChangeEvent arg0) {\n\t\t\r\n\t}", "@Override\r\n\tpublic void propertyChange(PropertyChangeEvent arg0) {\n\t\t\r\n\t}", "@Deprecated\n\tprotected void removeListeners() {\n\t\tif (propertyChangeListener != null) {\n\t\t\tcomboBox.removePropertyChangeListener(propertyChangeListener);\n\t\t}\n\t}", "@Override\n\tpublic void removeListener(INotifyChangedListener notifyChangedListener) {\n\t\tchangeNotifier.removeListener(notifyChangedListener);\n\t}", "@Override\n\tpublic void removeListener(INotifyChangedListener notifyChangedListener) {\n\t\tchangeNotifier.removeListener(notifyChangedListener);\n\t}", "void removeListener(MapChangeListener<? super K, ? super V> listener);", "@Override\r\n\tpublic void removeListener(INotifyChangedListener notifyChangedListener) {\r\n\t\tchangeNotifier.removeListener(notifyChangedListener);\r\n\t}", "public abstract void addPropertyChangeListener(PropertyChangeListener listener);", "@Override\n\tpublic void propertyChange(PropertyChangeEvent arg0)\n\t{\n\t\t\n\t}", "@Override\r\n\tpublic void propertyChange(PropertyChangeEvent arg0) {\n\r\n\t}", "public void addPropertyChangeListener(PropertyChangeListener listener);", "private void FilterPropertyChanges(Object sender, PropertyChangedEventArgs e)\r\n {\r\n // check if this is the property of interest\r\n if (e.getPropertyValue(_propertyName)!= null)\r\n PropertyChanged();\r\n }", "protected WeakPropertyChangeListener()\r\n {\r\n this(null);\r\n }", "public void testRemoveModelElementChangeListener() {\n ModelElementChangeListenerMock listener = new ModelElementChangeListenerMock();\n instance.addModelElementChangeListener(listener);\n instance.removeModelElementChangeListener(listener);\n instance.firePropertyChangeEvent(new GuardImpl(), PropertyKind.ACTIVE, PropertyOperation.MODIFY, \"accuracy\");\n assertFalse(\"Failed to remove the listener.\", listener.IsCalled());\n }", "public void removeChangeListener(ChangeListener stackEngineListener);", "void nodeRemoveProperty( long nodeId, int propertyKey );", "public void removeProperty(TLProperty element);", "public abstract void addPropertyChangeListener(IPropertyChangeListener listener);", "public void removeChangeListener(ChangeListener<BufferedImage> listener) {\n observer.remove(listener);\n }", "@Override\n public void removeChangeListener(ChangeListener listener, Event[] events) {\n boolean addEvent[] = selectEventsToModify(events);\n if (addEvent[Event.LOAD.ordinal()]) {\n loadListeners.removeChangeListener(listener);\n }\n if (addEvent[Event.STORE.ordinal()]) {\n storeListeners.removeChangeListener(listener);\n }\n if (addEvent[Event.REMOVE.ordinal()]) {\n removeListeners.removeChangeListener(listener);\n }\n }", "void graphRemoveProperty( int propertyKey );" ]
[ "0.88530475", "0.88526607", "0.8838473", "0.8838473", "0.87704533", "0.8736362", "0.87053645", "0.8684496", "0.86391586", "0.8509452", "0.8474138", "0.8405684", "0.8377181", "0.8301023", "0.8295895", "0.825617", "0.82255226", "0.8213044", "0.81984305", "0.8152482", "0.81277776", "0.7996817", "0.79872566", "0.7981066", "0.79307526", "0.7904311", "0.78700393", "0.7863225", "0.7836633", "0.78233796", "0.7821336", "0.781335", "0.781335", "0.781335", "0.7717805", "0.76782686", "0.7657751", "0.7650613", "0.76483774", "0.7620303", "0.75976723", "0.75610363", "0.7541208", "0.7519601", "0.75123733", "0.74908507", "0.7466957", "0.7397732", "0.73335177", "0.7331922", "0.72170913", "0.721108", "0.71794134", "0.713308", "0.7092746", "0.70667505", "0.70119524", "0.6957589", "0.6950325", "0.68644905", "0.682939", "0.68270946", "0.6721802", "0.6709509", "0.67031497", "0.66986704", "0.66608185", "0.6656257", "0.66480273", "0.6634736", "0.6632814", "0.64790106", "0.64580464", "0.64537024", "0.6453206", "0.64309573", "0.6427735", "0.6425574", "0.6410117", "0.63951623", "0.63951623", "0.63940513", "0.638635", "0.638635", "0.6376424", "0.6366542", "0.6366022", "0.6351134", "0.6346562", "0.6346113", "0.63153774", "0.6294087", "0.62816525", "0.6276171", "0.62526447", "0.6225598", "0.6218247", "0.6215824", "0.62098366", "0.62086403" ]
0.76282215
39
The removeVetoableChangeListener method was generated to support the vetoPropertyChange field.
public synchronized void removeVetoableChangeListener(java.beans.VetoableChangeListener listener) { getVetoPropertyChange().removeVetoableChangeListener(listener); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public synchronized void removeVetoableChangeListener(java.beans.VetoableChangeListener listener) {\r\n\tgetVetoPropertyChange().removeVetoableChangeListener(listener);\r\n}", "public synchronized void removeVetoableChangeListener(VetoableChangeListener l) {\n if (vetoableSupport != null) {\n vetoableSupport.removeVetoableChangeListener(l);\n }\n }", "public void removeVetoableChangeListener (VetoableChangeListener listener) \n {\n\t\tif (m_changeSupport != null && listener != null)\n\t\t\tm_changeSupport.removeVetoableChangeListener(listener);\n }", "public synchronized void addVetoableChangeListener(java.beans.VetoableChangeListener listener) {\r\n\tgetVetoPropertyChange().addVetoableChangeListener(listener);\r\n}", "protected java.beans.VetoableChangeSupport getVetoPropertyChange() {\r\n\tif (vetoPropertyChange == null) {\r\n\t\tvetoPropertyChange = new java.beans.VetoableChangeSupport(this);\r\n\t};\r\n\treturn vetoPropertyChange;\r\n}", "private void removeVetoablePropertyChangeListener(ActionListener<VetoablePropertyChangeEvent> l) {\n if (root != null) {\n Property prop = property;\n if (prop == null && tags != null) {\n prop = root.getEntity().findProperty(tags);\n }\n if (prop != null) {\n root.getEntity().addVetoablePropertyChangeListener(prop, l);\n }\n } else {\n Entity leafEntity = getLeafEntity();\n Property leafProperty = getLeafProperty();\n if (leafEntity != null && leafProperty != null) {\n leafEntity.getEntity().addVetoablePropertyChangeListener(leafProperty, l);\n }\n parent.addVetoablePropertyChangeListener(l);\n }\n }", "public void vetoableChange(java.beans.PropertyChangeEvent evt) throws java.beans.PropertyVetoException {\n\t}", "public synchronized void addVetoableChangeListener(java.beans.VetoableChangeListener listener) {\n\t\tgetVetoPropertyChange().addVetoableChangeListener(listener);\n\t}", "public void addVetoableChangeListener (VetoableChangeListener listener)\n\t{\n\t\tif (m_changeSupport == null)\n\t\t\tm_changeSupport = new VetoableChangeSupport (this);\n\t\tif (listener != null)\n\t\t\tm_changeSupport.addVetoableChangeListener(listener);\n\t}", "public synchronized void addVetoableChangeListener(VetoableChangeListener l) {\n if (vetoableSupport == null) {\n vetoableSupport = new VetoableChangeSupport(this);\n }\n\n vetoableSupport.addVetoableChangeListener(l);\n }", "public X removeVetoable(VetoableChangeListener listener) {\n component.removeVetoableChangeListener(listener);\n return (X) this;\n }", "public void fireVetoableChange(java.lang.String propertyName, java.lang.Object oldValue, java.lang.Object newValue) throws java.beans.PropertyVetoException {\r\n\tgetVetoPropertyChange().fireVetoableChange(propertyName, oldValue, newValue);\r\n}", "protected final void fireVetoableChange(PropertyChangeEvent event) throws PropertyVetoException {\n VetoableChangeSupport aVetoSupport = this.vetoSupport;\n if (aVetoSupport == null) {\n return;\n }\n aVetoSupport.fireVetoableChange(event);\n }", "protected final void fireVetoableChange(String propertyName, Object oldValue, Object newValue)\n throws PropertyVetoException {\n VetoableChangeSupport aVetoSupport = this.vetoSupport;\n if (aVetoSupport == null) {\n return;\n }\n aVetoSupport.fireVetoableChange(propertyName, oldValue, newValue);\n }", "public void fireVetoableChange(java.lang.String propertyName, java.lang.Object oldValue, java.lang.Object newValue) throws java.beans.PropertyVetoException {\n\t\tgetVetoPropertyChange().fireVetoableChange(propertyName, oldValue, newValue);\n\t}", "protected final void fireVetoableChange(String propertyName, boolean oldValue, boolean newValue)\n throws PropertyVetoException {\n VetoableChangeSupport aVetoSupport = this.vetoSupport;\n if (aVetoSupport == null) {\n return;\n }\n aVetoSupport.fireVetoableChange(propertyName, oldValue, newValue);\n }", "protected final void fireVetoableChange(String propertyName, int oldValue, int newValue)\n throws PropertyVetoException {\n VetoableChangeSupport aVetoSupport = this.vetoSupport;\n if (aVetoSupport == null) {\n return;\n }\n aVetoSupport.fireVetoableChange(\n propertyName, Integer.valueOf(oldValue), Integer.valueOf(newValue));\n }", "protected final void fireVetoableChange(String name, Object o, Object n)\n throws PropertyVetoException {\n // even though o == null and n == null will signify a change, that\n // is consistent with PropertyChangeSupport's behavior and is\n // necessary for this to work\n boolean noChange = ((o != null) && (n != null) && o.equals(n));\n\n super.fireVetoableChange(name, o, n);\n\n if (!(PROP_MODIFIED.equals(name)) && !noChange) {\n fireVetoableChange(PROP_MODIFIED, Boolean.FALSE, Boolean.TRUE);\n }\n }", "void removeModelEventListener(PropertyChangeListener listener, Object modelelement);", "public X addVetoable(VetoableChangeListener listener) {\n component.addVetoableChangeListener(listener);\n return (X) this;\n }", "@Override\n\tpublic void removePropertyChangeListener(PropertyChangeListener l) {\n\t\t//do nothing\n\t}", "private void addVetoablePropertyChangeListener(ActionListener<VetoablePropertyChangeEvent> l) {\n if (root != null) {\n Property prop = property;\n if (prop == null && tags != null) {\n prop = root.getEntity().findProperty(tags);\n }\n if (prop != null) {\n root.getEntity().addVetoablePropertyChangeListener(prop, l);\n }\n } else {\n Entity leafEntity = getLeafEntity();\n Property leafProperty = getLeafProperty();\n if (leafEntity != null && leafProperty != null) {\n leafEntity.getEntity().addVetoablePropertyChangeListener(leafProperty, l);\n }\n parent.addVetoablePropertyChangeListener(l);\n }\n \n }", "void removeChangeListener(PropertyChangeListener<? super R> listener);", "@Override\n public void removePropertyChangeListener(PropertyChangeListener listener) {\n\n }", "public void removePropertyChangeListener(PropertyChangeListener l);", "void removeModelEventListener(PropertyChangeListener listener, Object modelelement, String propertyName);", "@Override\r\n public void rmValueListener(PropertyChangeListener l) {\n\r\n }", "void removeModelEventListener(PropertyChangeListener listener, Object modelelement, String[] propertyNames);", "public abstract void removePropertyChangeListener(IPropertyChangeListener listener);", "private void tblEntryVetoableChange(java.beans.PropertyChangeEvent evt)throws java.beans.PropertyVetoException {\n }", "public abstract void removePropertyChangeListener(PropertyChangeListener listener);", "public void removePropertyChangeListener(PropertyChangeListener propertyChangeListener) {\n }", "public synchronized void removePropertyChangeListener(java.beans.PropertyChangeListener listener) {\r\n\tgetPropertyChange().removePropertyChangeListener(listener);\r\n}", "public void removePropertyChangeListener (PropertyChangeListener l)\n { pcs.removePropertyChangeListener (l); }", "void removeModelEventListener(UmlChangeListener listener, Object modelelement, String[] propertyNames);", "public void removePropertyChangeListener (PropertyChangeListener l) {\n pcs.removePropertyChangeListener (l);\n }", "void removePropertyChangeListener(PropertyChangeListener listener);", "void removePropertyChangeListener(PropertyChangeListener listener);", "void removeModelEventListener(UmlChangeListener listener, Object modelelement, String propertyName);", "protected final void fireVetoableChange(String propertyName, long oldValue, long newValue)\n throws PropertyVetoException {\n fireVetoableChange(propertyName, Long.valueOf(oldValue), Long.valueOf(newValue));\n }", "protected final void fireVetoableChange(String propertyName, float oldValue, float newValue)\n throws PropertyVetoException {\n fireVetoableChange(propertyName, Float.valueOf(oldValue), Float.valueOf(newValue));\n }", "default void removePropertyChangeListener(PropertyChangeListener listener)\r\n {\r\n }", "public void removePropertyChangeListener(java.beans.PropertyChangeListener l) {\r\n propertyChangeSupport.removePropertyChangeListener(l);\r\n }", "void removePropertyChangedObserver(PropertyChangeObserver observer);", "void removeListener(ChangeListener<? super T> listener);", "public void removePropertyChangeListener(java.beans.PropertyChangeListener l) {\n propertyChangeSupport.removePropertyChangeListener( l );\n }", "public void removePropertyChangeListener(ActionListener<PropertyChangeEvent> l) {\n if (listeners == null || !listeners.hasListeners()) {\n return;\n }\n listeners.removeListener(l);\n if (!listeners.hasListeners()) {\n if (pcl != null) {\n if (root != null) {\n Property prop = property;\n if (prop == null && tags != null) {\n prop = root.getEntity().findProperty(tags);\n }\n if (prop != null) {\n root.getEntity().removePropertyChangeListener(prop, pcl);\n }\n } else {\n Entity leafEntity = getLeafEntity();\n Property leafProperty = getLeafProperty();\n if (leafEntity != null && leafProperty != null) {\n leafEntity.getEntity().removePropertyChangeListener(leafProperty, pcl());\n }\n parent.removeVetoablePropertyChangeListener(vpcl());\n parent.removeListChangeListener(listChangeListener());\n }\n }\n }\n }", "public void removePropertyChangeListener(PropertyChangeListener listener);", "public void removePropertyChangeListener(java.beans.PropertyChangeListener l) {\n propertyChangeSupport.removePropertyChangeListener(l);\n }", "public void removePropertyChangeListener(java.beans.PropertyChangeListener l) {\n propertyChangeSupport.removePropertyChangeListener(l);\n }", "public void removePropertyChangeListener(java.beans.PropertyChangeListener l) {\n propertyChangeSupport.removePropertyChangeListener(l);\n }", "public void removeChangeListener(ChangeListener l) {\n\t\t//do nothing\n\t}", "@Override\r\n\tpublic void removeListener(INotifyChangedListener notifyChangedListener) {\r\n\t\tchangeNotifier.removeListener(notifyChangedListener);\r\n\t}", "public void removePropertyChangeListener(PropertyChangeListener listener)\n {\n }", "@Override\n\tpublic void removeListener(INotifyChangedListener notifyChangedListener) {\n\t\tchangeNotifier.removeListener(notifyChangedListener);\n\t}", "@Override\n\tpublic void removeListener(INotifyChangedListener notifyChangedListener) {\n\t\tchangeNotifier.removeListener(notifyChangedListener);\n\t}", "@Override\n public void removePropertyChangeListener( String propertyName,PropertyChangeListener listener )\n {\n if( componentModel == null )\n return;\n\n if( propertyName==null )\n {\n componentModel.removePropertyChangeListener( listener );\n }\n else\n {\n Property prop = componentModel.findProperty( propertyName );\n if ( prop != null )\n {\n prop.removePropertyChangeListener( listener );\n }\n }\n }", "public synchronized void removePropertyChangeListener(PropertyChangeListener l) {\n if (propertySupport != null) {\n propertySupport.removePropertyChangeListener(l);\n }\n }", "@Override\n\tpublic void removeValueChangeListener(final ValueChangeListener<T> listener) {\n\t\t\n\t}", "public void removePropertyChangeListener(PropertyChangeListener l) {\n getPropertyChangeSupport().removePropertyChangeListener(l);\n }", "public void clear() throws ChangeVetoException;", "@Override\n public synchronized void removePropertyChangeListener(PropertyChangeListener listener) {\n if (listeners != null) {\n listeners.removePropertyChangeListener(listener);\n }\n }", "protected final void fireVetoableChange(String propertyName, double oldValue, double newValue)\n throws PropertyVetoException {\n fireVetoableChange(propertyName, Double.valueOf(oldValue), Double.valueOf(newValue));\n }", "@Override\r\n protected void unregisterChangeListener()\r\n {\r\n getTabbedPane().removeChangeListener(this);\r\n }", "public void removePropertyChangeListener(PropertyChangeListener listener) {\n \tmPropertyChangeSupport.removePropertyChangeListener(listener);\n }", "public void removePropertyChangeListener(PropertyChangeListener pListener) {\n \tmodel.removePropertyChangeListener(pListener);\n }", "static public void removePropertyChangeListener(PropertyChangeListener l) {\n listenerList.remove(PropertyChangeListener.class, l);\n if (listenerList.getListenerCount(PropertyChangeListener.class) == 0) {\n accessibilityListener.removeListeners();\n }\n }", "@Override\n public void removeOnPropertyChangedCallback(OnPropertyChangedCallback callback) {\n }", "public void removePropertyChangeListener(java.beans.PropertyChangeListener listener) {\n\tmPcs.removePropertyChangeListener(listener);\n }", "public synchronized void removePropertyChangeListener(PropertyChangeListener l) {\n int cnt = listeners.size();\n for (int i = 0; i < cnt; i++) {\n Object o = ((WeakReference)listeners.get(i)).get();\n if (o == null || o == l) { // remove null references and the required one\n listeners.remove(i);\n interestNames.remove(i);\n i--;\n cnt--;\n }\n }\n }", "public void removePropertyChangeListener(@NotNull PropertyChangeListener listener) {\n }", "public void removeListener(PropertyChangeListener listener, String propertyType);", "public void removePropertyChangeListener (\n String propertyName,\n PropertyChangeListener l\n ) {\n pcs.removePropertyChangeListener (propertyName, l);\n }", "public void removeDeepChangeListener(DeepChangeListener aLstnr) { removeListener(DeepChangeListener.class, aLstnr); }", "public void removeChangeListener(ChangeListener listener) { _changeListeners.remove(listener); }", "public synchronized void removePropertyChangeListener(java.beans.PropertyChangeListener listener) {\n\t\tgetPropertyChange().removePropertyChangeListener(listener);\n\t}", "public synchronized void removePropertyChangeListener(java.beans.PropertyChangeListener listener) {\r\n\t\tgetPropertyChange().removePropertyChangeListener(listener);\r\n\t}", "public void removePropertyChangeListener(PropertyChangeListener listener) {\n\n\t}", "void removeClassModelEventListener(PropertyChangeListener listener, Object modelClass, String propertyName);", "@Override\n public void removeListener(ChangeListener<? super String> listener) {\n }", "protected void uninstallListeners() { this.tipPane.removePropertyChangeListener(this.changeListener); }", "protected void RemoveEvents()\r\n {\r\n INotifyPropertyChanged propParent = (INotifyPropertyChanged)getProxyParent();\r\n propParent.getPropertyChanged().removeObservers(filterPropertyChanges);\r\n }", "@Override\n public void removeChangeListener(ChangeListener listener, Event[] events) {\n boolean addEvent[] = selectEventsToModify(events);\n if (addEvent[Event.LOAD.ordinal()]) {\n loadListeners.removeChangeListener(listener);\n }\n if (addEvent[Event.STORE.ordinal()]) {\n storeListeners.removeChangeListener(listener);\n }\n if (addEvent[Event.REMOVE.ordinal()]) {\n removeListeners.removeChangeListener(listener);\n }\n }", "public final void removePropertyChangeListener (PropertyChangeListener pl) {\n if (changeSupport == null)\n return;\n changeSupport.removePropertyChangeListener (pl);\n }", "@Override\n public void removeListener(InvalidationListener listener) {\n }", "public synchronized void removeChangeListener(ChangeListener l) {\n if (changeListeners != null && changeListeners.contains(l)) {\n Vector v = (Vector) changeListeners.clone();\n v.removeElement(l);\n changeListeners = v;\n }\n }", "public void deactivate() \r\n\t\t{\r\n\t\tif (isActive()) \r\n\t\t\t{\r\n\t\t\tsuper.deactivate();\r\n\t\t\t((IModelElement) getModel()).removePropertyChangeListener(this);\r\n\t\t\t}\r\n\t\t}", "public void testRemoveModelElementChangeListener() {\n ModelElementChangeListenerMock listener = new ModelElementChangeListenerMock();\n instance.addModelElementChangeListener(listener);\n instance.removeModelElementChangeListener(listener);\n instance.firePropertyChangeEvent(new GuardImpl(), PropertyKind.ACTIVE, PropertyOperation.MODIFY, \"accuracy\");\n assertFalse(\"Failed to remove the listener.\", listener.IsCalled());\n }", "@Test\n public void testRemovePropertyChangeListener() {\n // trivial\n }", "public synchronized void removePropertyChangeListener(PropertyChangeListener listener) {\r\n\t\tgetPropertyChange().removePropertyChangeListener(listener);\r\n\t}", "void removeClassModelEventListener(PropertyChangeListener listener, Object modelClass, String[] propertyNames);", "public void removePropertyChangeListener(final PropertyChangeListener thePcl) {\n myPcs.removePropertyChangeListener(thePcl);\n }", "public void deactivate() {\r\n if (isActive()) {\r\n super.deactivate();\r\n ((AModelElement) getModel()).removePropertyChangeListener(this);\r\n }\r\n }", "void removePropertyListener(PropertyListener listener);", "protected WeakPropertyChangeListener()\r\n {\r\n this(null);\r\n }", "@SuppressWarnings(\"unused\")\r\n public synchronized void removePropertyChangeListener(PropertyChangeListener listener)\r\n {\r\n Iterator<WeakReference<PropertyChangeListener>> i = listeners.iterator();\r\n while (i.hasNext()) {\r\n PropertyChangeListener l = i.next().get();\r\n\r\n if ((l == null) || l.equals(listener))\r\n i.remove();\r\n }\r\n if (this.added && (listeners.size() == 0)) {\r\n removeThisFromNotifier();\r\n this.added = false;\r\n }\r\n }", "void removeListener(MapChangeListener<? super K, ? super V> listener);", "protected void uninstallListeners() {\n frame.removePropertyChangeListener(propertyChangeListener);\n }", "protected void uninstallListeners() {\n spinner.removePropertyChangeListener(propertyChangeListener); }", "private void removeListChangeListener(ActionListener<EntityList.EntityListEvent> l) {\n if (isIndexSelector() && getLeafEntity() instanceof EntityList) {\n EntityList el = (EntityList)getLeafEntity();\n el.removeActionListener(l);\n }\n if (parent != null) {\n parent.removeListChangeListener(l);\n }\n }" ]
[ "0.84874696", "0.80306745", "0.8004964", "0.77284724", "0.7559581", "0.7476194", "0.7448672", "0.7431108", "0.7344074", "0.72068894", "0.7195648", "0.71828526", "0.7056294", "0.693828", "0.6867031", "0.6816012", "0.67523164", "0.6737755", "0.66830987", "0.66492087", "0.6633859", "0.6592964", "0.65694904", "0.65565896", "0.65360904", "0.65299016", "0.6480703", "0.6438407", "0.64149696", "0.6372624", "0.6369586", "0.6365571", "0.6347492", "0.6342391", "0.63069123", "0.630562", "0.6304001", "0.6304001", "0.62937653", "0.6269027", "0.6262704", "0.6246826", "0.62444484", "0.6224309", "0.6224146", "0.62239355", "0.6219442", "0.6218278", "0.62047106", "0.62047106", "0.62047106", "0.61948204", "0.61256224", "0.6111954", "0.6101939", "0.6101939", "0.6091814", "0.6072795", "0.6060813", "0.60461044", "0.6042593", "0.60201496", "0.59875715", "0.598003", "0.59798133", "0.5975815", "0.59703547", "0.59499377", "0.59484017", "0.5902954", "0.5902682", "0.5896853", "0.58657616", "0.5863713", "0.58284956", "0.5824506", "0.581215", "0.57978886", "0.57938415", "0.57513463", "0.57398504", "0.57105076", "0.56887895", "0.5684318", "0.56839937", "0.56747776", "0.56522113", "0.56480193", "0.56440884", "0.56416804", "0.5635134", "0.5630491", "0.56183314", "0.56177", "0.5615218", "0.5599684", "0.5593111", "0.5592978", "0.557542", "0.55685306" ]
0.8012392
2
Sets the outputTimeSpec property (cbit.vcell.solver.OutputTimeSpec) value.
public void setOutputTimeSpec(OutputTimeSpec outputTimeSpec) throws java.beans.PropertyVetoException { if (!Matchable.areEqual(fieldOutputTimeSpec,outputTimeSpec)) { OutputTimeSpec oldValue = fieldOutputTimeSpec; fireVetoableChange(PROPERTY_OUTPUT_TIME_SPEC, oldValue, outputTimeSpec); fieldOutputTimeSpec = outputTimeSpec; firePropertyChange(PROPERTY_OUTPUT_TIME_SPEC, oldValue, outputTimeSpec); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public OutputTimeSpec getOutputTimeSpec() {\n\t\treturn fieldOutputTimeSpec;\n\t}", "public void setOutputYmd(Integer outputYmd) {\r\n this.outputYmd = outputYmd;\r\n }", "public void setOptTime(Date optTime) {\n\t\tthis.optTime = optTime;\n\t}", "public void setOutTime1(String outTime1) {\n\tthis.outTime1 = outTime1;\n }", "public void setOutput(TestOut output) {\n\tthis.output = output;\n\tsuper.setOutput(output);\n }", "public void setTime_unit(byte time_unit) throws IOException\n\t{\n\t\tif ((__io__pointersize == 8)) {\n\t\t\t__io__block.writeByte(__io__address + 10, time_unit);\n\t\t} else {\n\t\t\t__io__block.writeByte(__io__address + 10, time_unit);\n\t\t}\n\t}", "public void setTime(DateTime inputTime){\n time = inputTime.getMillis();\n timeZone = inputTime.getZone();\n }", "public void setEndTime(long value) {\r\n this.endTime = value;\r\n }", "public void setTimeFieldSpec(@Nonnull TimeFieldSpec timeFieldSpec) {\n if (timeFieldSpec != null) {\n addField(timeFieldSpec);\n }\n }", "public void setOutTime3(String outTime3) {\n\tthis.outTime3 = outTime3;\n }", "public void setEndTime(String time){endTime = time;}", "public final EObject entryRuleTimeEventSpec() throws RecognitionException {\r\n EObject current = null;\r\n\r\n EObject iv_ruleTimeEventSpec = null;\r\n\r\n\r\n try {\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:1969:2: (iv_ruleTimeEventSpec= ruleTimeEventSpec EOF )\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:1970:2: iv_ruleTimeEventSpec= ruleTimeEventSpec EOF\r\n {\r\n if ( state.backtracking==0 ) {\r\n newCompositeNode(grammarAccess.getTimeEventSpecRule()); \r\n }\r\n pushFollow(FOLLOW_ruleTimeEventSpec_in_entryRuleTimeEventSpec4345);\r\n iv_ruleTimeEventSpec=ruleTimeEventSpec();\r\n\r\n state._fsp--;\r\n if (state.failed) return current;\r\n if ( state.backtracking==0 ) {\r\n current =iv_ruleTimeEventSpec; \r\n }\r\n match(input,EOF,FOLLOW_EOF_in_entryRuleTimeEventSpec4355); if (state.failed) return current;\r\n\r\n }\r\n\r\n }\r\n \r\n catch (RecognitionException re) { \r\n recover(input,re); \r\n appendSkippedTokens();\r\n } \r\n finally {\r\n }\r\n return current;\r\n }", "public void setOutput(int output) {\n Output = output;\n }", "public void setOutTime2(String outTime2) {\n\tthis.outTime2 = outTime2;\n }", "public void pidWrite(double output) {\n set(output);\n }", "public void setStopTime(double stopTime)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.SimpleValue target = null;\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(STOPTIME$24);\r\n if (target == null)\r\n {\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(STOPTIME$24);\r\n }\r\n target.setDoubleValue(stopTime);\r\n }\r\n }", "public void setOutputproperty(String outputProp) {\r\n redirector.setOutputProperty(outputProp);\r\n incompatibleWithSpawn = true;\r\n }", "public void setPerformanceTime(String ticketTime)\r\n {\r\n performanceTime = ticketTime;\r\n }", "public void setMaxOutput(double maxOutput){\n m_drive.setMaxOutput(maxOutput);\n }", "public void setWorktime(WorkTime worktime) {\r\n this.worktime = worktime;\r\n }", "public void setInputTime(Date inputTime) {\n this.inputTime = inputTime;\n }", "public void setInputTime(Date inputTime) {\n this.inputTime = inputTime;\n }", "public void setOutKbitSecond(BigDecimal outKbitSecond) {\r\n this.outKbitSecond = outKbitSecond;\r\n }", "void setOutputPath(String outputPath);", "public void setTestTime(Integer testTime) {\n this.testTime = testTime;\n }", "public void setSimSpec(SimulationSpecification simSpec) {\n this.simSpec = simSpec;\n }", "void setEndTime(Time endTime) {\n this.endTime = endTime;\n }", "void setEndTime(java.util.Calendar endTime);", "public void setTimeEnd(int timeEnd) {\r\n this.timeEnd = timeEnd;\r\n }", "public void setOutput(Output output) {\n\t\tthis.output = output;\n\t}", "public void setOutput(File out) {\r\n this.output = out;\r\n incompatibleWithSpawn = true;\r\n }", "public void setSetSpec(String val) {\n\n\t\tsetSpec = val;\n\n\t}", "public void setLatencyParameters(int input, int output){\n\t\tif (input < 10000){Ts = (double)input/500000;}\n\t\tif (input >= 10000 && input <= 50000 ){Ts = (double)input/700000;}\n\t\tif (input > 50000){Ts = (double)input/900000;}\n\t\t\n\t\tif(output < 10000){Tr = (double)output/500000;}\n\t\tif (output >= 10000 && output <= 50000 ){Tr = (double)output/700000;}\n\t\tif (output > 50000){Tr = (double)output/900000;}\n\t\t\n\t\t\n\t\t\n\t\t\n\t\t/*for(int i = 0; i < nSN; i++ ){\n\t\t\tlatencyRemote[i][mthMD] = (Ts + Tp + Tr);\n\t\t\t}*/\n\t\t}", "public void setOutputPath(String pOutputPath)\n {\n __m_OutputPath = pOutputPath;\n }", "@Override\n\tpublic void setEndTime(float t) \n\t{\n\t\t_tend = t;\n\t}", "public void setMaxOutput(double maxOutput) {\n m_drive.setMaxOutput(maxOutput);\n }", "public void pidWrite(double output) {\n setTension(-output);//This is inverted so the PIDController moves the tension towards the setpoint.\n }", "public Builder setResponseTimeNsec(int value) {\n bitField0_ |= 0x00001000;\n responseTimeNsec_ = value;\n onChanged();\n return this;\n }", "public void setEndTime(long endTime) {\n this.endTime = endTime;\n }", "public void setEnd_time(long end_time) {\n this.end_time = end_time;\n }", "void setOutputFormat(String outputFormat);", "void setEndPosition(net.opengis.gml.x32.TimePositionType endPosition);", "public void setTime(){\n\t\tthis.time = this.endTime - this.startTime;\t//calculate the time difference\n\t\t\n\t\t//now since the time is in milliseconds, convert the nanotime\n\t\tlong totalSeconds = (this.time / 1000000000);\n\t\t//Format the above seconds. So it will have at least \n\t\tint minute = (int)(totalSeconds/60);\n\t\tdouble second = totalSeconds - (minute*60);\t//get the remaining second part\n\t\t\n\t\tDecimalFormat minuteFormat = new DecimalFormat(\"##0\");\n\t\tDecimalFormat secondFormat = new DecimalFormat(\"###\");\t//so we only get the 3 digits\n\t\tString minutePart = minuteFormat.format(minute);\t//get the string for the second part\n\t\tString secondPart = secondFormat.format(second);\n\t\t\n\t\t\n\t\tString result = minutePart + \":\" + secondPart;\n\t\t\n\t\t//each time we set time, change the bounds\n\t\tthis.timeLabel.setText(String.valueOf(result));//set the JLabel text\n\t\t//when we set the time label, also set its location\n\t\tthis.timeLabel.setSize(timeLabel.getPreferredSize().width, \n\t\t\t\ttimeLabel.getPreferredSize().height);\n\t}", "public void setFinishTime(double finishTime)\n\t{\n\t\tthis.finishTime = finishTime;\n\t}", "public void setEndTime(String endTime) {\n this.endTime = endTime;\n }", "public void setEndTime(String endTime) {\n this.endTime = endTime;\n }", "public void setSpec(String spec) {\n this.spec = spec;\n }", "public void setOutputFlag(String flag);", "public void setTimeUnit(String timeUnit)\n\t{\n\t\tthis.timeUnit = timeUnit;\n\t\ttimeUnitSet = true;\n\t}", "public final EObject ruleTimeEventSpec() throws RecognitionException {\r\n EObject current = null;\r\n\r\n Token lv_value_1_0=null;\r\n Enumerator lv_type_0_0 = null;\r\n\r\n Enumerator lv_unit_2_0 = null;\r\n\r\n\r\n enterRule(); \r\n \r\n try {\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:1980:28: ( ( ( (lv_type_0_0= ruleTimeEventType ) ) ( (lv_value_1_0= RULE_INT ) ) ( (lv_unit_2_0= ruleTimeUnit ) )? ) )\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:1981:1: ( ( (lv_type_0_0= ruleTimeEventType ) ) ( (lv_value_1_0= RULE_INT ) ) ( (lv_unit_2_0= ruleTimeUnit ) )? )\r\n {\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:1981:1: ( ( (lv_type_0_0= ruleTimeEventType ) ) ( (lv_value_1_0= RULE_INT ) ) ( (lv_unit_2_0= ruleTimeUnit ) )? )\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:1981:2: ( (lv_type_0_0= ruleTimeEventType ) ) ( (lv_value_1_0= RULE_INT ) ) ( (lv_unit_2_0= ruleTimeUnit ) )?\r\n {\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:1981:2: ( (lv_type_0_0= ruleTimeEventType ) )\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:1982:1: (lv_type_0_0= ruleTimeEventType )\r\n {\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:1982:1: (lv_type_0_0= ruleTimeEventType )\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:1983:3: lv_type_0_0= ruleTimeEventType\r\n {\r\n if ( state.backtracking==0 ) {\r\n \r\n \t newCompositeNode(grammarAccess.getTimeEventSpecAccess().getTypeTimeEventTypeEnumRuleCall_0_0()); \r\n \t \r\n }\r\n pushFollow(FOLLOW_ruleTimeEventType_in_ruleTimeEventSpec4401);\r\n lv_type_0_0=ruleTimeEventType();\r\n\r\n state._fsp--;\r\n if (state.failed) return current;\r\n if ( state.backtracking==0 ) {\r\n\r\n \t if (current==null) {\r\n \t current = createModelElementForParent(grammarAccess.getTimeEventSpecRule());\r\n \t }\r\n \t\tset(\r\n \t\t\tcurrent, \r\n \t\t\t\"type\",\r\n \t\tlv_type_0_0, \r\n \t\t\"TimeEventType\");\r\n \t afterParserOrEnumRuleCall();\r\n \t \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:1999:2: ( (lv_value_1_0= RULE_INT ) )\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:2000:1: (lv_value_1_0= RULE_INT )\r\n {\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:2000:1: (lv_value_1_0= RULE_INT )\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:2001:3: lv_value_1_0= RULE_INT\r\n {\r\n lv_value_1_0=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleTimeEventSpec4418); if (state.failed) return current;\r\n if ( state.backtracking==0 ) {\r\n\r\n \t\t\tnewLeafNode(lv_value_1_0, grammarAccess.getTimeEventSpecAccess().getValueINTTerminalRuleCall_1_0()); \r\n \t\t\r\n }\r\n if ( state.backtracking==0 ) {\r\n\r\n \t if (current==null) {\r\n \t current = createModelElement(grammarAccess.getTimeEventSpecRule());\r\n \t }\r\n \t\tsetWithLastConsumed(\r\n \t\t\tcurrent, \r\n \t\t\t\"value\",\r\n \t\tlv_value_1_0, \r\n \t\t\"INT\");\r\n \t \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:2017:2: ( (lv_unit_2_0= ruleTimeUnit ) )?\r\n int alt35=2;\r\n int LA35_0 = input.LA(1);\r\n\r\n if ( ((LA35_0>=82 && LA35_0<=85)) ) {\r\n alt35=1;\r\n }\r\n switch (alt35) {\r\n case 1 :\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:2018:1: (lv_unit_2_0= ruleTimeUnit )\r\n {\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:2018:1: (lv_unit_2_0= ruleTimeUnit )\r\n // ../org.yakindu.sct.model.stext/src-gen/org/yakindu/sct/model/stext/parser/antlr/internal/InternalSText.g:2019:3: lv_unit_2_0= ruleTimeUnit\r\n {\r\n if ( state.backtracking==0 ) {\r\n \r\n \t newCompositeNode(grammarAccess.getTimeEventSpecAccess().getUnitTimeUnitEnumRuleCall_2_0()); \r\n \t \r\n }\r\n pushFollow(FOLLOW_ruleTimeUnit_in_ruleTimeEventSpec4444);\r\n lv_unit_2_0=ruleTimeUnit();\r\n\r\n state._fsp--;\r\n if (state.failed) return current;\r\n if ( state.backtracking==0 ) {\r\n\r\n \t if (current==null) {\r\n \t current = createModelElementForParent(grammarAccess.getTimeEventSpecRule());\r\n \t }\r\n \t\tset(\r\n \t\t\tcurrent, \r\n \t\t\t\"unit\",\r\n \t\tlv_unit_2_0, \r\n \t\t\"TimeUnit\");\r\n \t afterParserOrEnumRuleCall();\r\n \t \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n break;\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n leaveRule(); \r\n }\r\n }\r\n \r\n catch (RecognitionException re) { \r\n recover(input,re); \r\n appendSkippedTokens();\r\n } \r\n finally {\r\n }\r\n return current;\r\n }", "public void setEndTime(String EndTime) {\n this.EndTime = EndTime;\n }", "void setTimeInForce(TimeInForce inTimeInForce);", "public void setSpecType(Short specType) {\n this.specType = specType;\n }", "public void setOutput(String output) { this.output = output; }", "public void setEndtime(Date endtime) {\n this.endtime = endtime;\n }", "public void xsetStopTime(org.landxml.schema.landXML11.GPSTime stopTime)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.landxml.schema.landXML11.GPSTime target = null;\r\n target = (org.landxml.schema.landXML11.GPSTime)get_store().find_attribute_user(STOPTIME$24);\r\n if (target == null)\r\n {\r\n target = (org.landxml.schema.landXML11.GPSTime)get_store().add_attribute_user(STOPTIME$24);\r\n }\r\n target.set(stopTime);\r\n }\r\n }", "private void setThrustOut(ControlOutputs outputs, float cubeCoeff){\n float pitch = 0; //this.getCurrentInputs().getPitch();\n float maxThrust = this.getAutopilot().getConfig().getMaxThrust();\n int threshold = Math.round(THRESHOLD_DISTANCE);\n float gravity = this.getAutopilot().getConfig().getGravity();\n\n // Thrust\n float thrust = (float) ((maxThrust/4) + THRUST_FACTOR*this.getTotalMass()*gravity*cubeCoeff);\n //System.out.println(\"thrust: \" + thrust);\n outputs.setThrust(Math.max(Math.min(thrust, maxThrust), 0));\n if (getVelocityApprox().getzValue() < -50.f || pitch < 0){\n outputs.setThrust(0f);\n }\n }", "public void setREQ_END_TIME(java.sql.Time value)\n {\n if ((__REQ_END_TIME == null) != (value == null) || (value != null && ! value.equals(__REQ_END_TIME)))\n {\n _isDirty = true;\n }\n __REQ_END_TIME = value;\n }", "public void setOutputPower(double power) {\n double powerOutput = (double) ((int) Math.round(power * 10) / 10.0);\n outputPower.set(powerOutput);\n }", "public Date getOptTime() {\n\t\treturn optTime;\n\t}", "public void setOutputPath(String outputPath) {\n\t\tthis.outputPath = outputPath;\n\t}", "public void setElectronicEndTime(Date value) {\n setAttributeInternal(ELECTRONICENDTIME, value);\n }", "public void setLastTimetable(int lastTimetable) {\n this.lastTimetable = lastTimetable;\n }", "private void updateEndTime() {\n Date date = endTimeCalendar.getTime();\n String endTime = new SimpleDateFormat(\"HH:mm\").format(date);\n endHourText.setText(endTime);\n }", "public void setTime(double time) {_time = time;}", "public void setMaxOutput(double maxOutput) {\r\n\t\tm_maxOutput = maxOutput;\r\n\t}", "void xsetEndTime(org.apache.xmlbeans.XmlDateTime endTime);", "public void setEndTime(String endTime) {\n this.endTime = endTime;\n }", "public void setEndTime(String endTime) {\n this.endTime = endTime;\n }", "public void setEndTime(String endTime) {\n this.endTime = endTime;\n }", "public void setReportTime(Time reportTime){\n this.reportTimeStmp = reportTime;\n return ;\n }", "public void setcTime(Date cTime) {\r\n this.cTime = cTime;\r\n }", "public T caseTimeEventSpec(TimeEventSpec object) {\r\n\t\treturn null;\r\n\t}", "public void setActualoutput(Integer actualoutput) {\n this.actualoutput = actualoutput;\n }", "public void setEndTime(Integer endTime) {\n this.endTime = endTime;\n }", "public Builder setResponseTimeSec(long value) {\n bitField0_ |= 0x00000800;\n responseTimeSec_ = value;\n onChanged();\n return this;\n }", "void setEnd(net.opengis.gml.x32.TimeInstantPropertyType end);", "public void setEndTime(long endTime) {\n\t\tthis.endTime = endTime;\n\t}", "public void setArmTalon(double outputval) {\n\t\tarmMotor.set(outputval);\n\t}", "public void setTime(java.lang.String value) {\r\n\t\tBase.set(this.model, this.getResource(), TIME, value);\r\n\t}", "public void setOutUtilization(Float outUtilization) {\r\n this.outUtilization = outUtilization;\r\n }", "void setReportTime(long time);", "public void setOutput(File output) {\r\n this.output = output;\r\n }", "public RecordingProperties.Builder outputMode(Recording.OutputMode outputMode) {\n\t\t\tthis.outputMode = outputMode;\n\t\t\treturn this;\n\t\t}", "public void setMaxOutput(double maxOutput) {\n drive.setMaxOutput(maxOutput);\n }", "public void propertyChange(java.beans.PropertyChangeEvent evt) {\n\t\ttry {\n\t\t\tif (evt.getSource() == this && (evt.getPropertyName().equals(PROPERTY_SOLVER_DESCRIPTION))) {\n\t\t\t\tSolverDescription solverDescription = getSolverDescription();\n\t\t\t\tif (solverDescription.equals(SolverDescription.SundialsPDE) || solverDescription.isSemiImplicitPdeSolver() || solverDescription.isGibsonSolver()) {\n\t\t\t\t\tTimeBounds timeBounds = getTimeBounds();\n\t\t\t\t\tif (!(getOutputTimeSpec() instanceof UniformOutputTimeSpec)) {\n\t\t\t\t\t\t// set to uniform output if it is not.\n\t\t\t\t\t\tdouble outputTime = (timeBounds.getEndingTime()-timeBounds.getStartingTime())/20;\n\t\t\t\t\t\tsetOutputTimeSpec(new UniformOutputTimeSpec(outputTime));\n\t\t\t\t\t}\n\t\t\t\t\tif (solverDescription.equals(SolverDescription.SundialsPDE)) {\n\t\t\t\t\t\tsetErrorTolerance(ErrorTolerance.getDefaultSundialsErrorTolerance());\n\t\t\t\t\t\tsetDefaultTimeStep(TimeStep.getDefaultSundialsTimeStep());\n\t\t\t\t\t\tif (sundialsPdeSolverOptions == null) {\n\t\t\t\t\t\t\tsundialsPdeSolverOptions = new SundialsPdeSolverOptions();\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tsundialsPdeSolverOptions = null;\n\t\t\t\t\t\tsetErrorTolerance(ErrorTolerance.getDefaultSemiImplicitErrorTolerance());\n\t\t\t\t\t}\n\t\t\t\t} else if (!solverDescription.supports(getOutputTimeSpec())){\n\t\t\t\t\tsetOutputTimeSpec(solverDescription.createOutputTimeSpec(this));\n\t\t\t\t}\n\t\t\t\tif (solverDescription.isNonSpatialStochasticSolver()) {\n\t\t\t\t\tif (fieldNonspatialStochOpt == null) {\n\t\t\t\t\t\tsetStochOpt(new NonspatialStochSimOptions());\n\t\t\t\t\t} else {\n\t\t\t\t\t\tsetStochOpt(new NonspatialStochSimOptions(fieldNonspatialStochOpt));\n\t\t\t\t\t}\n\t\t\t\t\tif (!solverDescription.equals(SolverDescription.StochGibson)) {\n\t\t\t\t\t\tif (fieldNonspatialStochHybridOpt == null) {\n\t\t\t\t\t\t\tsetStochHybridOpt(new NonspatialStochHybridOptions());\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t} else if (solverDescription.isSpatialStochasticSolver()) {\n\t\t\t\t\tsetTimeStep(TimeStep.getDefaultSmoldynTimeStep());\n\t\t\t\t\tif (smoldynSimulationOptions == null) {\n\t\t\t\t\t\tsmoldynSimulationOptions = new SmoldynSimulationOptions();\n\t\t\t\t\t}\n\t\t\t\t\t//\t\t\t\tsetSmoldynDefaultTimeStep();\n\t\t\t\t}\n\t\t\t\tif (solverDescription.isNFSimSolver()){\n\t\t\t\t\tif (nfsimSimulationOptions == null){\n\t\t\t\t\t\tnfsimSimulationOptions = new NFsimSimulationOptions();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (solverDescription.isLangevinSolver()) {\n\t\t\t\t\tif (langevinSimulationOptions == null) {\n\t\t\t\t\t\tlangevinSimulationOptions = new LangevinSimulationOptions();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (solverDescription.isChomboSolver()) {\n\t\t\t\t\tif (chomboSolverSpec == null && getSimulation() != null) {\n\t\t\t\t\t\tchomboSolverSpec = new ChomboSolverSpec(ChomboSolverSpec.getDefaultMaxBoxSize(getSimulation().getMathDescription().getGeometry().getDimension()));\n\t\t\t\t\t}\n\t\t\t\t\tif (getOutputTimeSpec() == null || !(getOutputTimeSpec() instanceof UniformOutputTimeSpec)) {\n\t\t\t\t\t\tdouble outputTime = getTimeBounds().getEndingTime()/10;\n\t\t\t\t\t\tsetOutputTimeSpec(new UniformOutputTimeSpec(outputTime));\n\t\t\t\t\t}\n\t\t\t\t\tif (chomboSolverSpec!=null && chomboSolverSpec.getTimeIntervalList().size() == 0)\n\t\t\t\t\t{\n\t\t\t\t\t\tchomboSolverSpec.addTimeInterval(TimeInterval.getDefaultTimeInterval());\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tchomboSolverSpec = null;\n\t\t\t\t}\n\t\t\t\tif (solverDescription.isMovingBoundarySolver()) {\n\t\t\t\t\tif (movingBoundarySolverOptions == null && getSimulation() != null) {\n\t\t\t\t\t\tmovingBoundarySolverOptions = new MovingBoundarySolverOptions();\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tmovingBoundarySolverOptions = null;\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (PropertyVetoException e) {\n\t\t\tlg.error(e);\n\t\t}\n\t}", "public void setFinishTime() {\r\n\t\t\tthis.finishTime = RNG.MAXINT;\r\n\t\t}", "public void setEventTime(String eventTime) {\r\n\t\tthis.eventTime = eventTime;\r\n\t}", "public void setjEndtime(Date jEndtime) {\n this.jEndtime = jEndtime;\n }", "@Override\n\tprotected void usePIDOutput(double output) {\n\t\tarm.set(output);\n\t}", "public void updateTime(){\r\n\t\tBlock selectedBlock = experiment.getBlocking().getSelectedBlockStructure();\r\n\t\testimatedTimeTotal.setText(secondsToString(estimateTime()));\r\n\t\testimatedTimeSubject.setText(secondsToString((long)(estimateTime()/selectedBlock.get(0).getReplications())));\r\n\t}", "public abstract void setEndTime(Date endTime);", "public static void setTime(Clock clock, int hour, int minute, int second) {\n\t\tif (hour < 0 || hour > 24) {\r\n\t\t\thour = 0;\r\n\t\t}\r\n\t\tif (minute < 0 || minute > 60) {\r\n\t\t\tminute = 0;\r\n\t\t}\r\n\t\tif (second < 0 || second > 60) {\r\n\t\t\tsecond = 0;\r\n\t\t}\r\n\r\n\t\tclock.setHour(hour);\r\n\t\tclock.setMinute(minute);\r\n\t\tclock.setSecond(second);\r\n\r\n\t}", "public void setHC_WorkEndDate (Timestamp HC_WorkEndDate);", "public static void setTime(Model model, org.ontoware.rdf2go.model.node.Resource instanceResource, java.lang.String value) {\r\n\t\tBase.set(model, instanceResource, TIME, value);\r\n\t}", "public void setOutput(String output) {\n this.output = output;\n }", "public void setShSetSpec(String val) {\n\n\t\tshSetSpec = val;\n\n\t}", "public void setUseTimings(boolean useTimings)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(USETIMINGS$22);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(USETIMINGS$22);\n }\n target.setBooleanValue(useTimings);\n }\n }", "public void set(final long timeValue) {\n stamp = timeValue;\n }", "public void setTime(Time time) {\n this.time = time; // assigns the time argument value to the time attribute\n }" ]
[ "0.63600355", "0.51149154", "0.49783817", "0.4932049", "0.49144748", "0.4839165", "0.4770801", "0.47036555", "0.46804652", "0.46699768", "0.4634071", "0.45862263", "0.4585269", "0.45826283", "0.45819366", "0.4580175", "0.45779294", "0.45723072", "0.45663938", "0.45648026", "0.4550555", "0.4550555", "0.4547863", "0.45388597", "0.45085979", "0.4495487", "0.44780162", "0.4457173", "0.4457154", "0.44381294", "0.4427195", "0.442586", "0.4421094", "0.4414749", "0.44044924", "0.43928105", "0.43826398", "0.43729007", "0.43528175", "0.43463063", "0.43384728", "0.4334505", "0.4334116", "0.4327067", "0.43259418", "0.43259418", "0.43162593", "0.4311342", "0.430313", "0.43021536", "0.43012762", "0.4300028", "0.42984518", "0.4296617", "0.4295853", "0.42909825", "0.42903045", "0.42871153", "0.42805472", "0.4278784", "0.42785373", "0.4277947", "0.42566097", "0.4255264", "0.42530045", "0.42341426", "0.4232329", "0.42295197", "0.42295197", "0.42295197", "0.42198136", "0.42144144", "0.42141238", "0.42088273", "0.4207932", "0.4206015", "0.4199712", "0.41806793", "0.41770893", "0.416726", "0.41665286", "0.4162935", "0.415302", "0.4151365", "0.41472846", "0.41470197", "0.41428626", "0.41415715", "0.41413078", "0.4141056", "0.41404653", "0.4140334", "0.41402745", "0.41325423", "0.41286647", "0.4126444", "0.41244647", "0.41225785", "0.41174757", "0.41136038" ]
0.81684875
0
Sets the sensitivityParameter property (cbit.vcell.math.Constant) value.
public void setSensitivityParameter(Constant sensitivityParameter) throws java.beans.PropertyVetoException { if (!Matchable.areEqual(fieldSensitivityParameter,sensitivityParameter)) { Constant oldValue = fieldSensitivityParameter; fireVetoableChange("sensitivityParameter", oldValue, sensitivityParameter); fieldSensitivityParameter = sensitivityParameter; firePropertyChange("sensitivityParameter", oldValue, sensitivityParameter); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setSensitivity(double sensitivity) {\n\t\tthis.sensitivity = sensitivity;\n\t}", "public void setSensitivity(double sensitivity) {\r\n\t\tm_sensitivity = sensitivity;\r\n\t}", "public void setSensitivity(int s)\n\t{\n\t\tif (s < 0)\n\t\t{\n\t\t\tMinim.error(\"BeatDetect: sensitivity cannot be less than zero. Defaulting to 10.\");\n\t\t\tsensitivity = 10;\n\t\t}\n\t\telse\n\t\t{\n\t\t\tsensitivity = s;\n\t\t}\n\t}", "public Constant getSensitivityParameter() {\n\t\treturn fieldSensitivityParameter;\n\t}", "public void setSensitivity(float newSensitivity)\n\t{\n\t\tthis.sensitivity = newSensitivity;\n\t}", "public void setPercentageSensitivity(double percentageSensitivity) {\n this.percentageSensitivity = percentageSensitivity;\n calculateSensitivityExponent();\n }", "public double getSensitivity() {\n\t\treturn sensitivity;\n\t}", "public InputSensitivityController(double percentageSensitivity) {\n DreadbotMath.clampValue(percentageSensitivity, -1.0, 1.0);\n this.percentageSensitivity = percentageSensitivity;\n calculateSensitivityExponent();\n }", "public void setSensitivity(double voltsPerDegreePerSecond) {\r\n\t\tm_voltsPerDegreePerSecond = voltsPerDegreePerSecond;\r\n\t}", "public InputSensitivityController() {\n this.percentageSensitivity = -.40d;\n calculateSensitivityExponent();\n }", "public static native void OpenMM_AmoebaWcaDispersionForce_setSlevy(PointerByReference target, double inputValue);", "@Override // com.oculus.modules.codegen.PreferencesStoreModule\n public void setMouseSensitivityImpl(double value) {\n Log.i(TAG, \"SETTING mouse_sensitivity to \" + value);\n Log.i(TAG, \"SETTING mouse_sensitivity to \" + value);\n this.mPreferencesManager.set(MOUSE_SENSITIVITY_KEY, value);\n this.mPreferencesManager.set(MOUSE_SENSITIVITY_KEY, value);\n }", "public void set_constant(double cutoff)\r\n\t{\r\n\t\tthis.switchValue = (int)cutoff;\t\r\n\t}", "void\t\tsetCommandSensitivity(String command, boolean flag);", "private void setSentivity(int sens, AppCompatActivity context) {\n Graphic.getInstance().sensitivityOfRecognition =\n context.getResources().getInteger(R.integer.max_sensitivity) - sens;\n }", "public void set_constant( double cutoff ){\n\t\tswitchOff=cutoff;\n\t}", "void\t\tsetCommandSensitivity(String command, boolean flag, String statusHelpMsg);", "public double getPercentageSensitivity() {\n return percentageSensitivity;\n }", "@Test\n public void test_parameterSensitivity() {\n SimplePriceIndexValues test = SimplePriceIndexValues.of(US_CPI_U, VAL_DATE, CURVE_NOFIX, USCPI_TS);\n InflationRateSensitivity point =\n InflationRateSensitivity.of(PriceIndexObservation.of(US_CPI_U, VAL_MONTH.plusMonths(3)), 1d);\n assertThat(test.parameterSensitivity(point).size()).isEqualTo(1);\n }", "public void setParam(String paramName, double value);", "public void setConstant(){\n \tisConstant = true;\n }", "public void setParameterValue(String newValue) throws StyxException\n {\n // Check that the new value is valid\n // Switches must be \"true\" or \"false\"\n if (this.getJSAPParameter() instanceof Switch)\n {\n if (!newValue.equalsIgnoreCase(\"true\") &&\n !newValue.equalsIgnoreCase(\"false\"))\n {\n throw new StyxException(\"Parameter \" + this.getName() +\n \" can only be \\\"true\\\" or \\\"false\\\"\");\n }\n }\n else\n {\n Option op = (Option)this.getJSAPParameter();\n // Check for empty values\n // TODO: also check type of argument (integer, float etc)\n if (newValue.trim().equals(\"\"))\n {\n if (op.required())\n {\n throw new StyxException(\"Parameter \" + this.getName() +\n \" must have a non-empty value\");\n }\n else\n {\n // Parameter is not required, so unset the parameter and return\n ((InMemoryFile)this.baseFile).setContents(\"\");\n this.valueSet = false;\n return;\n }\n }\n else if (this.param.getInputFile() != null)\n {\n // This parameter represents an input file.\n // For each value in this parameter, see if it is a \"readfrom:<url>\"\n // If so, do nothing: if not, add an InputFile to allow clients\n // to upload data to this file\n String[] files = newValue.split(\" \");\n // First we must remove all previous input files that were set by\n // this parameter\n this.instance.removeInputFiles(files);\n // The input file(s) appear in the namespace when they are uploaded\n }\n // Parameters representing output files don't show up in the namespace\n }\n // TODO: only set contents if the value has changed\n ((InMemoryFile)this.baseFile).setContents(newValue);\n this.valueSet = true;\n }", "private void calculateSensitivityExponent() {\n this.sensitivityExponent = Math.exp(-1.88 * percentageSensitivity);\n }", "private void set_coefficient(double a){\r\n\t\tthis._coefficient = a;\r\n\t}", "private void set_coefficient(double a){\r\n\t\tthis._coefficient = a;\r\n\t}", "@Deprecated\n public AnnotationSensitivities getSensitivitySetting(String annotationName) {\n String strSensitivity = getParameter(annotationName + \"_sensitivity\");\n if (strSensitivity != null) {\n if (strSensitivity.equals(\"i\"))\n return AnnotationSensitivities.ONLY_INSENSITIVE;\n if (strSensitivity.equals(\"s\"))\n return AnnotationSensitivities.ONLY_SENSITIVE;\n if (strSensitivity.equals(\"si\") || strSensitivity.equals(\"is\"))\n return AnnotationSensitivities.SENSITIVE_AND_INSENSITIVE;\n if (strSensitivity.equals(\"all\"))\n return AnnotationSensitivities.CASE_AND_DIACRITICS_SEPARATE;\n }\n\n // Not in parameter (or unrecognized value), use default based on\n // annotationName\n if (AnnotationSensitivities.defaultForAnnotation(annotationName) != AnnotationSensitivities.ONLY_INSENSITIVE) {\n // Word or lemma: default to sensitive/insensitive\n // (deprecated, will be removed eventually)\n return AnnotationSensitivities.defaultForAnnotation(annotationName);\n }\n if (annotationName.equals(AnnotatedFieldNameUtil.PUNCTUATION_ANNOT_NAME)) {\n // Punctuation: default to only insensitive\n return AnnotationSensitivities.ONLY_INSENSITIVE;\n }\n if (annotationName.equals(AnnotatedFieldNameUtil.TAGS_ANNOT_NAME)) {\n // XML tag properties: default to only sensitive\n return AnnotationSensitivities.ONLY_SENSITIVE;\n }\n\n // Unrecognized; default to only insensitive\n return AnnotationSensitivities.ONLY_INSENSITIVE;\n }", "void setThreshold(float value);", "@Generated\n @Selector(\"setSmoothness:\")\n public native void setSmoothness(@NFloat double value);", "public float tune( float v, float x ) {\n\t\tfloat w = (float)(v+x*1.2f);\n\t\tif ( w<0 ) w = 0;\n\t\tif ( w>1 ) w = 1;\n\t\treturn w;\n\t}", "@Generated\n @Selector(\"setStrength:\")\n public native void setStrength(@NFloat double value);", "void setExtremeSpikeProbability(double p);", "@Override\n public boolean setParameter(String parameterName, double value) {\n return false;\n }", "@AbstractCustomGlobal.GlobalMethod(menuText=\"Set Threshold Probability\")\n public void setThreshold() {\n if(Tools.getGlobalTime()!=0){\n JOptionPane.showMessageDialog(null, \"You can change this probability only when the simulation start\",\"Alert\", JOptionPane.INFORMATION_MESSAGE);\n return;\n }\n String answer = JOptionPane.showInputDialog(null, \"Set the probability that a node can be selected to run.\");\n // Show an information message\n try{\n double k = Double.parseDouble(answer);\n Iterator<Node> it = Tools.getNodeList().iterator();\n while(it.hasNext()){\n Node n = it.next();\n if(n.getClass() == MSNode.class){\n MSNode n1 = (MSNode)n;\n n1.setThresholdProbability(k);\n }\n if(n.getClass() == MS2Node.class){\n MS2Node n1 = (MS2Node)n;\n n1.setThresholdProbability(k);\n }\n }\n JOptionPane.showMessageDialog(null, \"Well done you have set this value:\"+k,\"Notice\", JOptionPane.INFORMATION_MESSAGE);\n }catch(NumberFormatException e){\n JOptionPane.showMessageDialog(null, \"You must insert a valid double \", \"Alert\", JOptionPane.INFORMATION_MESSAGE);\n }\n }", "public void setParameter(entity.RateTableMatchOp value);", "public DraggableBehavior setScrollSensitivity(int scrollSensitivity)\n\t{\n\t\tthis.options.put(\"scrollSensitivity\", scrollSensitivity);\n\t\treturn this;\n\t}", "@Override\n\tpublic void updateParameter(String parameterLabel, double newValue) {\n\t\tif (parameterLabel.equals(PROBCATCH_PARAMETER_LABEL_GUI)) {\n\t\t\tprobCatch = newValue;\n\t\t}\n\n\t}", "public void setConstant(String symbol) {\n\t\tthis.domain.setConstantValue(\n\t\t\t\t((NameMatchingConstraintSolver) this.getConstraintSolver()).getIndexOfSymbol(symbol));\n\t}", "public void setPropertyPenalty(float value) {\n this.propertyPenalty = value;\n }", "public void setParamValue(String label, double value);", "public DynamicStepCounter(double sensitivity) {\n this();\n this.sensitivity = sensitivity;\n }", "public void setNoise(double noiseCoefficient) {\n this.noiseCoefficient = noiseCoefficient;\n }", "public void set(float signal);", "public void setConfidence(final Double confidence);", "public void setParameter(String parName, Object parVal) throws HibException ;", "@Override\n\tpublic void setConstant(InterpreteConstants c) {\n\t\t\n\t}", "public void setDouble(int parameterIndex, double x) throws SQLException {\n currentPreparedStatement.setDouble(parameterIndex, x);\n }", "public void x(double x) {\n _x = x;\n }", "public void setValue(double val) {\r\n\t\tthis.worth = val;\r\n\t}", "public synchronized final void setClassificationParams(Vector poParams) {\n setParams(poParams, CLASSIFICATION);\n }", "public static native void OpenMM_AmoebaWcaDispersionForce_setRminh(PointerByReference target, double inputValue);", "private void setLowSensitivity() {\n\t\tbuttonLowOn.setVisibility(View.VISIBLE);\n\t\tbuttonMedOn.setVisibility(View.INVISIBLE);\n\t\tbuttonHighOn.setVisibility(View.INVISIBLE);\n\t\t\n\t\tLUT[0] = 2;\n\t\tLUT[1] = (float)6;\n\t\tLUT[2] = (float)10;\n\t\tLUT[3] = (float)20;\n\t\tLUT[4] = (float)30;\n\t\tLUT[5] = (float)150;\n\t\tLUT[6] = (float)700;\n\t\tLUT[7] = (float)2000;\n\t\tLUT[8] = (float)4000;\n\t}", "public void setX(double x){\n this.x = x;\n }", "public void setX(double x){\n this.x = x;\n }", "public boolean setParameter(String parameterName, String value) {\n\t\t\n\t\t if (parameterName.equals(\"mu\")) {\n\t\t\t mu = Double.parseDouble(value);\n\t\t } else if (parameterName.equals(\"lambda\")) {\n\t\t\t lambda = Double.parseDouble(value);\n\t\t } else {\n\t\t\treturn false;\n\t\t }\n\t\t \n\t\treturn true;\n\t}", "public void setMinConf (float value) {\r\n min_conf = value; }", "@Override\n\t\tpublic void setParameter(VariableValue variableValue) throws ModelInterpreterException\n\t\t{\n\n\t\t}", "void setVariation(double variation);", "@Override\n\tpublic void setZeroLinearSpeedThreshold(float value) {\n\t\t\n\t}", "public void setStrength(final int s) {\n this.strength = s;\n }", "public void setCoeff(double value) {\n\t\t\t\tthis.coeff = value;\n\t\t\t}", "public void setSignal(double signal) {_signal = signal;}", "public abstract void assign(ParameterVector pv) throws SolverException;", "public void setVarimaxTolerance(double tolerance){\n this.varimaxTolerance = tolerance;\n }", "public void setWeightSubjectiveValue(Criterion criterion, double value) {\n checkNotNull(criterion);\n this.weight.put(criterion, value);\n }", "@Model\n\tprotected void setVx(double vx) {\n\t\tassert isValidVx(vx);\n\t\tthis.vx = vx;\n\t}", "public void setProbability(double v) {\n probability = v;\n }", "Neuron setAxon(double newValue);", "public final void setClassificationParams(Vector oParams)\n\t{\n\t\tsetParams(oParams, CLASSIFICATION);\n\t}", "static public void setInterpPower(int pwr) {\n //Currently must be invoked from P5 as PTriangle.setInterpPower(...)\n TEX_INTERP_POWER = pwr;\n }", "public void setX(double x) {\n this.x = x;\r\n }", "public void set_coefficient1(double a){\n\t\tset_coefficient(a);\n\t}", "public void setX(double x)\n {\n this.x = x;\n }", "private void setParam(int param, int value) {\n bind();\n glTexParameteri(GL_TEXTURE_2D, param, value);\n }", "public void setConvolution(java.lang.Float value) {\n this.convolution = value;\n }", "void setX(double x){\r\n\t\tthis.x=x;\r\n\t}", "public void setLitWeightRatio(double ratio) { this.exec = this.exec.withProperty(\"sm.improve.lwr\", ratio); }", "public void set_double(double param) {\n this.local_double = param;\n }", "public void setConfidenceLevel (double confidenceLevel)\n {\n this.confidenceLevel = confidenceLevel;\n \n }", "public void setInput(double x)\n {\n if(domain.contains(x))\n this.x = x;\n else\n throw new BadParameterException(\"The input value \"+x+\" was rejected \"\n + \"as it is outside of the domain for this input: \"\n + \"[\"+domain.getLeft()+\", \"+domain.getRight()+\"].\");\n }", "@Generated\n @Selector(\"setTransmissionRiskLevel:\")\n public native void setTransmissionRiskLevel(byte value);", "public static native void OpenMM_AmoebaWcaDispersionForce_setRmino(PointerByReference target, double inputValue);", "public void setSmooth_factor(double smooth_factor){ \n this.smooth_factor = smooth_factor; \n }", "public static native void OpenMM_AmoebaWcaDispersionForce_setParticleParameters(PointerByReference target, int particleIndex, double radius, double epsilon);", "public static void setSpeedScalingFactor(double speedFactor)\n\t{\n\t\tspeedScalingFactor = speedFactor;\n\t//\telse speedScalingFactor = SpeedBasedDetection.DEF_SCALING_FACTOR;\n\t\t//\t\tSystem.out.println(\"speedScalingFactor: \"+speedScalingFactor);\n\t\t//Prefs.speedScalingFactor = speedScalingFactor;\n\t}", "public void setX(double x) {\n this.x = x;\n }", "public void setX(double x) {\n this.x = x;\n }", "public void setX(double x) {\n this.x = x;\n }", "public void setFxSpotCliente(double value) {\r\n this.fxSpotCliente = value;\r\n }", "public void setLatencySensitivitySupported(java.lang.Boolean latencySensitivitySupported) {\r\n this.latencySensitivitySupported = latencySensitivitySupported;\r\n }", "public abstract void setDiscountRate(double discountRate);", "public void setConcentration(Double concentration);", "public void setSrvPriorityValue(long srvPriorityValue) throws JNCException {\n setSrvPriorityValue(new YangUInt32(srvPriorityValue));\n }", "public boolean setParameter(String parameterName, double value) {\n\t\t System.err.println (\"Error: Unknown parameter name for retrieval model \" +\n\t\t\t\t\t\"Indri: \" + parameterName);\n\t\treturn false;\n\t}", "public void setCaseSensitive(final boolean theCase) {\n this.caseSensitive = theCase;\n }", "public void setScale(double s){\n\t\tsetParameters(location, s);\n\t}", "public void setParam(String paramName, String value);", "public void setGene(int x, double value)\n {\n this.vectOfCoef.set(x, value);\n }", "public void setParValue(Double parValue) {\n\t\tthis.parValue = parValue;\n\t}", "public abstract double var (\n\t\tfinal double confidenceLevel)\n\t\tthrows java.lang.Exception;", "void simulationSpeedChange(int value);" ]
[ "0.7003128", "0.6990695", "0.6561842", "0.64706784", "0.6447319", "0.6098528", "0.5923985", "0.58529526", "0.5733365", "0.56930625", "0.55794847", "0.5399867", "0.5366569", "0.52756464", "0.5205804", "0.5187269", "0.5176767", "0.5127604", "0.5058077", "0.5027707", "0.49915326", "0.48891652", "0.48550612", "0.48543853", "0.48543853", "0.4847274", "0.47999927", "0.47899994", "0.47763494", "0.47657722", "0.47448924", "0.4722194", "0.4718287", "0.4697801", "0.46964678", "0.46813217", "0.46812558", "0.46695837", "0.4635571", "0.4633459", "0.46219695", "0.46174818", "0.46131125", "0.45844653", "0.45810524", "0.4567236", "0.45527002", "0.45396084", "0.45246595", "0.45125186", "0.4510813", "0.4490183", "0.4490183", "0.44898185", "0.448714", "0.4484207", "0.44822517", "0.44804317", "0.4466714", "0.4464155", "0.44574472", "0.44547173", "0.44546285", "0.4450397", "0.44437253", "0.4436403", "0.44250062", "0.44210926", "0.44119146", "0.441191", "0.4406474", "0.44000793", "0.43882972", "0.43829736", "0.4370057", "0.43696705", "0.4368053", "0.43632028", "0.43578696", "0.4345844", "0.4344005", "0.43225315", "0.43206167", "0.4315458", "0.43087777", "0.43087777", "0.43087777", "0.43015072", "0.4291003", "0.4286573", "0.4286531", "0.42818037", "0.4278035", "0.42778707", "0.42745757", "0.4274281", "0.42691687", "0.4266841", "0.42606905", "0.42592755" ]
0.7970183
0
Gets the endingTime property (double) value.
private void setSimulation(Simulation simulation) { if (getSimulation() != null) { getSimulation().removePropertyChangeListener(this); } fieldSimulation = simulation; if (getSimulation() != null) { getSimulation().addPropertyChangeListener(this); } // try { // setSmoldynDefaultTimeStep(); // } catch (Exception ex) { // lg.error(e); // } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public double getEndTime() {\n return endTime;\n }", "public long getTimeEnd()\n {\n return this.timeEnd;\n }", "@gw.internal.gosu.parser.ExtendedProperty\n public java.util.Date getEndTime() {\n return (java.util.Date)__getInternalInterface().getFieldValue(ENDTIME_PROP.get());\n }", "@gw.internal.gosu.parser.ExtendedProperty\n public java.util.Date getEndTime() {\n return (java.util.Date)__getInternalInterface().getFieldValue(ENDTIME_PROP.get());\n }", "@gw.internal.gosu.parser.ExtendedProperty\n public java.util.Date getEndTime() {\n return (java.util.Date)__getInternalInterface().getFieldValue(ENDTIME_PROP.get());\n }", "@gw.internal.gosu.parser.ExtendedProperty\n public java.util.Date getEndTime() {\n return (java.util.Date)__getInternalInterface().getFieldValue(ENDTIME_PROP.get());\n }", "public int getTimeEnd() {\r\n return timeEnd;\r\n }", "public long getEnd_time() {\n return end_time;\n }", "public java.lang.Long getEndTime() {\n return end_time;\n }", "public java.lang.Long getEndTime() {\n return end_time;\n }", "public double getSecondsEnd() {\n return secondsEnd;\n }", "public Date getEndtime() {\n return endtime;\n }", "public java.lang.String getTime_end() {\r\n return time_end;\r\n }", "@Override\n\tpublic float getEndTime() \n\t{\n\t\treturn _tend;\n\t}", "public String getEndtime() {\n return endtime;\n }", "public long getEndTime() {\n if (endTime < 0) {\n try {\n String datestr = PropertyArray.get(props, END);\n\n if (datestr == null) {\n // this may be more expensive because it can cause a\n // reload from disk\n try {\n datestr = getProperty(END);\n } catch (Fault f) {\n }\n }\n\n if (datestr != null) {\n Date date = parseDate(datestr);\n endTime = date.getTime();\n } else {\n // info not available\n }\n } catch (ParseException e) {\n }\n }\n\n return endTime;\n }", "public double getStopTime()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.SimpleValue target = null;\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(STOPTIME$24);\r\n if (target == null)\r\n {\r\n return 0.0;\r\n }\r\n return target.getDoubleValue();\r\n }\r\n }", "public long getEndTime() {\n\t\treturn endTime;\n\t}", "public int getEndTime()\n {\n if (isRepeated()) return end;\n else return time;\n }", "public long getEndTime() {\r\n return endTime;\r\n }", "public LocalTime getEndTime () {\n\t\treturn DateUtils.toLocalTime(this.end);\n\t}", "public long getEndTime() {\n return endTime;\n }", "public long getEndTime() {\n return endTime;\n }", "public Date getEndTime() {\n\t\treturn endTime;\n\t}", "public LocalTime getEnd() {\n\treturn end;\n }", "public Rational getEndTime ()\r\n {\r\n if (isWholeDuration()) {\r\n return null;\r\n }\r\n\r\n Rational chordDur = getDuration();\r\n\r\n if (chordDur == null) {\r\n return null;\r\n } else {\r\n return startTime.plus(chordDur);\r\n }\r\n }", "net.opengis.gml.x32.TimeInstantPropertyType getEnd();", "public Date getEndTime() {\r\n return this.endTime;\r\n }", "public Date getEndTime() {\n return this.endTime;\n }", "public long getEndTs() {\n return this.startTimestamp + this.resolution * this.size;\n }", "public double getEnd() {\n return end;\n }", "public Integer getEndTime() {\n return endTime;\n }", "public Date getEndTime() {\n return endTime;\n }", "public Date getEndTime() {\n return endTime;\n }", "public Date getEndTime() {\n return endTime;\n }", "public java.util.Date getEndTime() {\n return endTime;\n }", "public Date getjEndtime() {\n return jEndtime;\n }", "public java.util.Date getEndTime() {\n return this.endTime;\n }", "public java.util.Date getEndTime() {\n return this.endTime;\n }", "public double getFinishTime(){return finishTime;}", "@Override\n public Date getEndTime() {\n return endTime;\n }", "public long getEndTimestamp() {\n\t\treturn this.endTimestamp;\n\t}", "long getEndTime() {\n return endTime;\n }", "public double getLastTime()\n\t{\n\t\tdouble time = Double.NaN;\n\t\tfinal Entry< Double, V > entry = getLastEntry();\n\t\tif( entry != null )\n\t\t{\n\t\t\ttime = entry.getKey();\n\t\t}\n\t\treturn time;\n\t}", "public double getStopTime();", "public Long getTime() {\n if (timeEnd == null) {\n return null;\n }\n return timeEnd - timeStart;\n }", "public String getEndTime() {\r\n return endTime;\r\n }", "public Date getAudioVideoEndTime() {\n return (Date)getAttributeInternal(AUDIOVIDEOENDTIME);\n }", "public String getEndTime()\n {\n return this.endTime;\n }", "public Integer getDurationEndDay() {\n return durationEndDay;\n }", "public Date get_end() {\n\t\treturn this.end;\n\t}", "public long getEndSystemTimeNano() {\n return endSystemTimeNano;\n }", "public LocalDateTime getEndTime() {\n\t\treturn endTime;\n\t}", "public String getEndTime() {\n return endTime;\n }", "public String getEndTime() {\n return endTime;\n }", "public String getEndTime() {\n return endTime;\n }", "public long getEndWallClockTime() {\n return endWallClockTime;\n }", "public Date getEndTimestamp() {\r\n return endTimestamp;\r\n }", "public BidTime getFinishTime() {\r\n\t\treturn finishTime;\r\n\t}", "public String getEndTime() {\n return endTime;\n }", "public String getStopTime() {\n\t\treturn (new Parser(value)).skipString().getString();\n\t}", "public OffsetDateTime finishTime() {\n return this.finishTime;\n }", "@Override\n\tpublic String getFinishTime() {\n\t\treturn finishTime;\n\t}", "public double getEnd();", "public String getEndTime() {\n return this.EndTime;\n }", "Double getActualDuration();", "public Calendar getEndTime() {\r\n\t\treturn endTime;\r\n\t}", "public Date getActualFinish()\r\n {\r\n return (m_actualFinish);\r\n }", "public long getEndTimestamp();", "public DateTime getEnd() {\r\n return new DateTime(getEndMillis(), getChronology());\r\n }", "com.google.protobuf.Timestamp getEndTime();", "public Double getEndBearing() {\n return this.endBearing;\n }", "int getEndTime();", "int getEndTime();", "int getEndTime();", "public java.util.Date getEndDateTime() {\n return this.endDateTime;\n }", "@Override\n\t\tpublic long getEndMillis() {\n\t\t\treturn 0;\n\t\t}", "public java.util.Date getFinishedTime () {\r\n\t\treturn finishedTime;\r\n\t}", "public OffsetDateTime endTime() {\n return this.endTime;\n }", "public double getDuration() {\n if (null == firstTime) {\n return 0.0;\n }\n return lastTime.timeDiff_ns(firstTime);\n }", "public java.sql.Time getREQ_END_TIME()\n {\n \n return __REQ_END_TIME;\n }", "public double getFullTime() {\n return fullTime_;\n }", "public float getTime() {\n return Math.abs(endTime - startTime) / 1000000f;\n }", "public double getFullTime() {\n return fullTime_;\n }", "net.opengis.gml.x32.TimePositionType getEndPosition();", "public Float getEndMiles() {\n return endMiles;\n }", "java.util.Calendar getEndTime();", "public Duration getActualDuration()\r\n {\r\n return (m_actualDuration);\r\n }", "public Date getEndTimeDate() {\n return endTimeDate;\n }", "public double time()\n\t{\n\t\treturn _dblTime;\n\t}", "public double time()\n\t{\n\t\treturn _dblTime;\n\t}", "public String getEndTimeString() {\n return endTimeString;\n }", "public Long getTimestampEnd();", "public Date getElectronicEndTime() {\n return (Date)getAttributeInternal(ELECTRONICENDTIME);\n }", "com.google.protobuf.Timestamp getVotingEndTime();", "public org.landxml.schema.landXML11.GPSTime xgetStopTime()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.landxml.schema.landXML11.GPSTime target = null;\r\n target = (org.landxml.schema.landXML11.GPSTime)get_store().find_attribute_user(STOPTIME$24);\r\n return target;\r\n }\r\n }", "@gw.internal.gosu.parser.ExtendedProperty\n public java.math.BigDecimal getDuration() {\n return (java.math.BigDecimal)__getInternalInterface().getFieldValue(DURATION_PROP.get());\n }", "public Date getTenderEndTime() {\n return tenderEndTime;\n }", "public Date getPaperMediumEndTime() {\n return (Date)getAttributeInternal(PAPERMEDIUMENDTIME);\n }", "public long getEndUserTimeNano() {\n return endUserTimeNano;\n }", "public Long getLastEndTime() {\n if (timeInfos.isEmpty()) {\n return null;\n } else {\n int size = timeInfos.size();\n return timeInfos.get(size - 1).getEndTime();\n }\n }" ]
[ "0.7782289", "0.7683228", "0.764406", "0.764406", "0.7640308", "0.7640308", "0.7612305", "0.76110464", "0.75664794", "0.75419277", "0.75041676", "0.74866575", "0.7471573", "0.74647987", "0.73699975", "0.7332364", "0.7195585", "0.7162046", "0.71466327", "0.71255565", "0.711474", "0.7105795", "0.7105795", "0.70846754", "0.7077913", "0.7064452", "0.7048066", "0.70425254", "0.70420384", "0.7033348", "0.7016216", "0.7014526", "0.69923323", "0.69923323", "0.69923323", "0.6970687", "0.6952138", "0.6941339", "0.6941339", "0.6917063", "0.68930495", "0.685733", "0.6849521", "0.6808022", "0.6760272", "0.67598313", "0.6733819", "0.671056", "0.6707518", "0.67005545", "0.67002946", "0.66990167", "0.6693976", "0.669219", "0.669219", "0.669219", "0.6670074", "0.6665734", "0.6652492", "0.66475844", "0.6635595", "0.66320115", "0.6631824", "0.66156983", "0.66057557", "0.6595098", "0.6576426", "0.6572251", "0.65688336", "0.654801", "0.65464556", "0.6533112", "0.65158254", "0.65158254", "0.65158254", "0.6515112", "0.649353", "0.6476251", "0.64733887", "0.64538884", "0.6444626", "0.64418817", "0.6438134", "0.64263684", "0.6414974", "0.6396874", "0.639253", "0.6385428", "0.6373273", "0.6359245", "0.6359245", "0.63505334", "0.63281274", "0.6324977", "0.62913", "0.62823015", "0.62745637", "0.62608045", "0.6259322", "0.62580377", "0.62565917" ]
0.0
-1
Sets the solverDescription property (cbit.vcell.solver.SolverDescription) value.
public void setSolverDescription(SolverDescription solverDescription) throws java.beans.PropertyVetoException { if (fieldSolverDescription != solverDescription) { SolverDescription oldValue = fieldSolverDescription; fireVetoableChange(PROPERTY_SOLVER_DESCRIPTION, oldValue, solverDescription); fieldSolverDescription = solverDescription; if (numProcessors > 1 && !fieldSolverDescription.supports(SolverFeature.Feature_Parallel)) { numProcessors = 1; } if (solverDescription.isNonSpatialStochasticSolver() && !solverDescription.isGibsonSolver()){ if (fieldNonspatialStochHybridOpt == null){ fieldNonspatialStochHybridOpt = new NonspatialStochHybridOptions(); } } firePropertyChange(PROPERTY_SOLVER_DESCRIPTION, oldValue, solverDescription); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public SolverDescription getSolverDescription() {\n\t\treturn fieldSolverDescription;\n\t}", "public void setDescription(String desc) {\n description = desc;\n }", "public final void setDescription(final String desc) {\n mDescription = desc;\n }", "public void setDescription(String pDescription) {\n\t\tthis.iDescription = pDescription;\n\t}", "public void setProblemDesc(String description) {\n this.problemDesc = description;\n }", "public void setDescription(String desc) {\n sdesc = desc;\n }", "public void setDescription(String description) {\r\n this.description = description;\r\n }", "public void setDescription(java.lang.String description)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DESCRIPTION$2, 0);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(DESCRIPTION$2);\n }\n target.setStringValue(description);\n }\n }", "public void setDescription(final java.lang.String description) {\r\n this._description = description;\r\n }", "public void setDescription(final java.lang.String description) {\r\n this._description = description;\r\n }", "public void setDescription(String Description) {\n this.Description = Description;\n }", "public void setDescription(String description) {\r\n\t\tthis.description = description;\r\n\t}", "public void setDescription(String description) {\r\n\t\tthis.description = description;\r\n\t}", "public void setDescription(String description) {\r\n\t\tthis.description = description;\r\n\t}", "public void setDescription(String description) {\r\n\t\tthis.description = description;\r\n\t}", "public void setDescription(String description) {\r\n\t\tthis.description = description;\r\n\t}", "public void setDescription(String description) {\r\n\t\tthis.description = description;\r\n\t}", "public void setDescription(String description) {\r\n\t\tthis.description = description;\r\n\t}", "public void setDescription(String description) {\r\n this.description = description;\r\n }", "public void setDescription(String description) {\r\n this.description = description;\r\n }", "public void setDescription(String description) {\r\n this.description = description;\r\n }", "public void setDescription(String description) {\r\n this.description = description;\r\n }", "public void setDescription(String description) {\r\n this.description = description;\r\n }", "public SolverTaskDescription(Simulation simulation, SolverTaskDescription solverTaskDescription) {\n\t\tsuper();\n\t\taddPropertyChangeListener(this);\n\n\t\tsetSimulation(simulation);\n\t\t//\n\t\tfieldTaskType = solverTaskDescription.getTaskType();\n\t\tfieldTimeBounds = new TimeBounds(solverTaskDescription.getTimeBounds());\n\t\tfieldTimeStep = new TimeStep(solverTaskDescription.getTimeStep());\n\t\tfieldErrorTolerance = new ErrorTolerance(solverTaskDescription.getErrorTolerance());\n\t\ttry {\n\t\t\tfieldOutputTimeSpec = (OutputTimeSpec)BeanUtils.cloneSerializable(solverTaskDescription.getOutputTimeSpec());\n\t\t}catch (Exception e){\n\t\t\tthrow new RuntimeException(e.getMessage(), e);\n\t\t}\n\t\tfieldSensitivityParameter = solverTaskDescription.getSensitivityParameter();\n\t\tfieldSolverDescription = solverTaskDescription.getSolverDescription();\n\t\tfieldUseSymbolicJacobian = solverTaskDescription.getUseSymbolicJacobian();\n\t\tif (solverTaskDescription.stopAtSpatiallyUniformErrorTolerance != null) {\n\t\t\tstopAtSpatiallyUniformErrorTolerance = new ErrorTolerance(solverTaskDescription.stopAtSpatiallyUniformErrorTolerance);\n\t\t}\n\t\tbSerialParameterScan = solverTaskDescription.bSerialParameterScan;\n\t\tbTimeoutDisabled = solverTaskDescription.bTimeoutDisabled;\n\t\tbBorderExtrapolationDisabled = solverTaskDescription.bBorderExtrapolationDisabled;\n\n\t\tif (simulation.getMathDescription().isNonSpatialStoch() && (solverTaskDescription.getStochOpt() != null))\n\t\t{\n\t\t\tsetStochOpt(solverTaskDescription.getStochOpt());\n\t\t}\n\t\telse {\n\t\t\tsetStochOpt(null);\n\t\t}\n\t\tif (simulation.getMathDescription().isNonSpatialStoch() && \n\t\t\t(!solverTaskDescription.getSolverDescription().isGibsonSolver()) &&\n\t\t\t(solverTaskDescription.getStochHybridOpt() != null))\n\t\t{\n\t\t\tsetStochHybridOpt(solverTaskDescription.getStochHybridOpt());\n\t\t}\n\t\telse {\n\t\t\tsetStochHybridOpt(null);\n\t\t}\n\t\tif (simulation.getMathDescription().isSpatialStoch() || simulation.getMathDescription().isSpatialHybrid()) {\n\t\t\tsmoldynSimulationOptions = new SmoldynSimulationOptions(solverTaskDescription.smoldynSimulationOptions);\n\t\t} else {\n\t\t\tsmoldynSimulationOptions = null;\n\t\t}\n\t\tif (simulation.getMathDescription().isRuleBased()) {\n\t\t\tif(solverTaskDescription.nfsimSimulationOptions != null) {\n\t\t\t\tnfsimSimulationOptions = new NFsimSimulationOptions(solverTaskDescription.nfsimSimulationOptions);\n\t\t\t} else {\n\t\t\t\tnfsimSimulationOptions = new NFsimSimulationOptions();\n\t\t\t}\n\t\t} else {\n\t\t\tnfsimSimulationOptions = null;\n\t\t}\n\t\tif (simulation.getMathDescription().isLangevin()) {\n\t\t\tif(solverTaskDescription.langevinSimulationOptions != null) {\n\t\t\t\tlangevinSimulationOptions = new LangevinSimulationOptions(solverTaskDescription.langevinSimulationOptions);\n\t\t\t} else {\n\t\t\t\tlangevinSimulationOptions = new LangevinSimulationOptions();\n\t\t\t}\n\t\t} else {\n\t\t\tlangevinSimulationOptions = null;\n\t\t}\n\t\tif (fieldSolverDescription.equals(SolverDescription.SundialsPDE)) {\n\t\t\tsundialsPdeSolverOptions = new SundialsPdeSolverOptions(solverTaskDescription.sundialsPdeSolverOptions);\n\t\t} else {\n\t\t\tsundialsPdeSolverOptions = null;\n\t\t}\n\t\tif (solverTaskDescription.chomboSolverSpec != null) {\n\t\t\tchomboSolverSpec = new ChomboSolverSpec(solverTaskDescription.chomboSolverSpec);\n\t\t} else {\n\t\t\tchomboSolverSpec = null;\n\t\t}\n\t\tif (solverTaskDescription.movingBoundarySolverOptions != null)\n\t\t{\n\t\t\tmovingBoundarySolverOptions = new MovingBoundarySolverOptions(solverTaskDescription.movingBoundarySolverOptions);\n\t\t}\n\t\telse\n\t\t{\n\t\t\tmovingBoundarySolverOptions = null;\n\t\t}\n\t\tnumProcessors = solverTaskDescription.numProcessors;\n\t}", "public void setDescription(String description )\n {\n this.description = description;\n }", "public void setDescription(String description) {\n\t\tthis.description = description;\n\t}", "public void setDescription(String description) {\n\t\tthis.description = description;\n\t}", "public void setDescription(String description) {\n\t\tthis.description = description;\n\t}", "public void setDescription(String description) {\n\t\tthis.description = description;\n\t}", "public void setDescription(String description) {\n\t\tthis.description = description;\n\t}", "public void setDescription(String description) {\n\t\tthis.description = description;\n\t}", "public void setDescription(String description) {\n\t\tthis.description = description;\n\t}", "public void setDescription(String description) {\n\t\tthis.description = description;\n\t}", "public void setDescription(String description) {\n\t\tthis.description = description;\n\t}", "public void setDescription(String description) {\n\t\tthis.description = description;\n\t}", "public void setDescription(String description) {\n\t\tthis.description = description;\n\t}", "public void setDescription(String description) {\n\t\tthis.description = description;\n\t}", "public void setDescription(String description) {\n\t\tthis.description = description;\n\t}", "public void setDescription (java.lang.String description) {\n\t\tthis.description = description;\n\t}", "public void setDescription (java.lang.String description) {\n\t\tthis.description = description;\n\t}", "public void setDescription(String description) {\n\n this.description = description;\n }", "public void setDescription(String description)\n {\n this.description = description;\n }", "public void setDescription(String description)\n {\n this.description = description;\n }", "public void setDescription(String description)\n {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(java.lang.String description)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.SimpleValue target = null;\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(DESCRIPTION$8);\r\n if (target == null)\r\n {\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(DESCRIPTION$8);\r\n }\r\n target.setStringValue(description);\r\n }\r\n }", "public void setDescription(java.lang.String description) {\r\n this.description = description;\r\n }", "public void setDescription(java.lang.String description) {\r\n this.description = description;\r\n }", "public void setDescription(java.lang.String description) {\r\n this.description = description;\r\n }", "public void setDescription(@Nullable final String description) {\n mDescription = description;\n }", "public void setDescription(String description)\n {\n this.description = description;\n }", "public void setDescription(String description) {\n \tthis.description = description;\n }", "public void setDescription(final String descriptionValue) {\n this.description = descriptionValue;\n }", "public void setDescription(String description) {\r\n \t\tthis.description = description;\r\n \t}", "public void setDescription(String description) {\n _description = description;\n }", "protected void setDescription(String description) {\n this.description = description;\n }", "public void setDescription(java.lang.String description) {\n this._description = description;\n }", "public void setDescription(java.lang.String description) {\n this.description = description;\n }", "public void setDescription(java.lang.String description) {\n this.description = description;\n }", "public void setDescription(java.lang.String description) {\n this.description = description;\n }", "public void setDescription(java.lang.String description) {\n this.description = description;\n }", "public void setDescription(java.lang.String description) {\n this.description = description;\n }" ]
[ "0.6440682", "0.60535043", "0.60208976", "0.59859157", "0.5962041", "0.59488875", "0.5913895", "0.5913365", "0.58958155", "0.58958155", "0.58950764", "0.5894544", "0.5894544", "0.5894544", "0.5894544", "0.5894544", "0.5894544", "0.5894544", "0.58626854", "0.58626854", "0.58626854", "0.58626854", "0.58626854", "0.586205", "0.58607936", "0.5859118", "0.5859118", "0.5859118", "0.5859118", "0.5859118", "0.5859118", "0.5859118", "0.5859118", "0.5859118", "0.5859118", "0.5859118", "0.5859118", "0.5859118", "0.5854698", "0.5854698", "0.5847518", "0.5843701", "0.5843701", "0.5843701", "0.582585", "0.582585", "0.582585", "0.582585", "0.582585", "0.582585", "0.582585", "0.582585", "0.582585", "0.582585", "0.582585", "0.582585", "0.582585", "0.582585", "0.582585", "0.582585", "0.582585", "0.582585", "0.582585", "0.582585", "0.582585", "0.582585", "0.582585", "0.582585", "0.582585", "0.582585", "0.582585", "0.582585", "0.582585", "0.582585", "0.582585", "0.582585", "0.582585", "0.582585", "0.582585", "0.582585", "0.582585", "0.582585", "0.582585", "0.5824006", "0.5821672", "0.5821672", "0.5821672", "0.5820878", "0.58173376", "0.5813068", "0.58112615", "0.58050185", "0.58050144", "0.58025676", "0.57997024", "0.579674", "0.579674", "0.579674", "0.579674", "0.579674" ]
0.7884501
0
Insert the method's description here. Creation date: (12/6/2006 6:16:42 PM)
public void setStochOpt(NonspatialStochSimOptions newStochOpt) { if (lg.isDebugEnabled()) { lg.debug("setStochOption " + Objects.hashCode(newStochOpt) + ' ' + Objects.toString(newStochOpt)); } if (!Matchable.areEqual(fieldNonspatialStochOpt,newStochOpt)) { NonspatialStochSimOptions oldValue = fieldNonspatialStochOpt; fieldNonspatialStochOpt = newStochOpt; firePropertyChange(PROPERTY_STOCH_SIM_OPTIONS, oldValue, newStochOpt); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "public void method_201() {}", "@Override\r\n\tpublic void method() {\n\t\r\n\t}", "public void method_4270() {}", "public Methods() {\n // what is this doing? -PMC\n }", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "public void method(){}", "public void mo21793R() {\n }", "@Override\r\n\tpublic void Method1() {\n\t\t\r\n\t}", "public void mo21795T() {\n }", "@Override\n public void date()\n {\n }", "public void method_115() {}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "public void method_202() {}", "public void mo55254a() {\n }", "public void mo21877s() {\n }", "public void mo21878t() {\n }", "@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}", "public void mo21779D() {\n }", "public Date getCreateDate()\r\n/* */ {\r\n/* 158 */ return this.createDate;\r\n/* */ }", "public void mo21794S() {\n }", "public E16_OverloadJavaDoc() {\n System.out.println(\"Planting a seedling\");\n }", "public void mo115188a() {\n }", "public void mo97908d() {\n }", "public void mo21791P() {\n }", "public void mo21782G() {\n }", "public void method_199() {}", "@SuppressWarnings(\"unused\")\n private void generateInfo()\n {\n }", "@Override\n\tpublic void anular() {\n\n\t}", "public void mo21789N() {\n }", "public abstract void description();", "public void mo21788M() {\n }", "public Method(String name, String desc) {\n/* 82 */ this.name = name;\n/* 83 */ this.desc = desc;\n/* */ }", "public void mo21785J() {\n }", "public void mo44053a() {\n }", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "public void mo21783H() {\n }", "public void mo21825b() {\n }", "public void mo56167c() {\n }", "public void method_206() {}", "public void method_193() {}", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "@Override\r\n\tpublic void Method2() {\n\t\t\r\n\t}", "@Override\n\tpublic void myMethod() {\n\t\t\n\t}", "public void mo3749d() {\n }", "@Override\n public String getDescription() {\n return DESCRIPTION;\n }", "public void mo38117a() {\n }", "public void mo21880v() {\n }", "public void mo1405e() {\n }", "public void method1()\r\n\t{\r\n\t}", "public void method_203() {}", "public void mo3376r() {\n }", "@Override\r\npublic int method() {\n\treturn 0;\r\n}", "public void mo6944a() {\n }", "public void mo21780E() {\n }", "public abstract String description();", "public abstract String description();", "public void mo21792Q() {\n }", "public void mo2471e() {\n }", "public String getDescription()\n/* */ {\n/* 74 */ return this.description;\n/* */ }", "public void mo4359a() {\n }", "@Override\n public Date getCreated()\n {\n return null;\n }", "@Override\r\n\tpublic Date getCreated_date() {\n\t\treturn super.getCreated_date();\r\n\t}", "public void myPublicMethod() {\n\t\t\n\t}", "public void amethod() {\n\t}", "@Override\r\n\tpublic void Method3() {\n\t\t\r\n\t}", "public void mo115190b() {\n }", "public void mo21784I() {\n }", "@Override\n\tpublic void dosomething() {\n\t\t\n\t}", "@Override\n public void author()\n {\n }", "@Override\n public void visit(MethodDeclaration n, Object arg) {\n \tArrayList<String> method = new ArrayList<String>();\n \tif(n.getJavaDoc()!=null){\n\t \tmethod.add(n.getName());\n\t \tString comment = n.getJavaDoc().getContent();\n\t \tcomment = comment.replaceAll(\"\\\\* @param (.*)\",\"\");\n\t \tcomment = comment.replaceAll(\"\\\\* @return (.*)\",\"\");\n\t \tcomment = comment.replaceAll(\"\\\\* @throws (.*)\",\"\");\n\t \tcomment = comment.replaceAll(\"\\\\* \",\"\");\n\t \tmethod.add(comment.trim()); \n\t \tmethods.add(method);\n \t}\n \t}", "public void mo9137b() {\n }", "@Override\r\n public String description() {\r\n return \"<html>Create a new method in class A that delegates the call to object B. <br/>\" +\r\n \"Now the client doesn’t know about, or depend on, class B. </html>\";\r\n }", "public void mo9233aH() {\n }", "public void mo5248a() {\n }", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "public void mo9848a() {\n }", "public void method_192() {}", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "public void method_200() {}", "@Override\n public int getMethodCount()\n {\n return 1;\n }", "@Override\n\tvoid methodabstract() {\n\t\t\n\t}", "public void mo1403c() {\n }", "@Override\n protected String getDescription() {\n return DESCRIPTION;\n }", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "public void mo12930a() {\n }", "public void mo1531a() {\n }", "@Override\n public String getMethodName() {\n return null;\n }", "public void mo21787L() {\n }", "public void method_191() {}", "public void autoDetails() {\n\t\t\r\n\t}", "public void foo() {\r\n\t}", "@Override\n\tpublic void emprestimo() {\n\n\t}", "public void mo97906c() {\n }" ]
[ "0.69057286", "0.68175733", "0.6455472", "0.6450671", "0.63178897", "0.63105625", "0.6294341", "0.6282319", "0.62819946", "0.62701106", "0.62450695", "0.6234423", "0.62319434", "0.62319434", "0.6222194", "0.6220974", "0.62166697", "0.6215742", "0.6207119", "0.6178733", "0.61580634", "0.61429566", "0.61288166", "0.6126604", "0.61147165", "0.6113378", "0.60853165", "0.6076978", "0.6075394", "0.60749084", "0.60734075", "0.60668963", "0.6059503", "0.6059387", "0.6058908", "0.60402983", "0.6036482", "0.60346687", "0.60339713", "0.6033363", "0.6022778", "0.60225743", "0.60159767", "0.60159767", "0.60159767", "0.60159767", "0.60159767", "0.60159767", "0.60159767", "0.6011263", "0.60048723", "0.6001428", "0.59979975", "0.5996898", "0.5995992", "0.599467", "0.5989924", "0.5978507", "0.59762204", "0.59726024", "0.5945538", "0.5945104", "0.5943135", "0.5943135", "0.59396034", "0.5928047", "0.59237874", "0.59219754", "0.59212965", "0.5914168", "0.5904818", "0.58982813", "0.5896385", "0.58692455", "0.5868865", "0.58655244", "0.5857717", "0.58460474", "0.5845982", "0.58440393", "0.5844008", "0.5842246", "0.58412206", "0.5833119", "0.58187985", "0.5818458", "0.5816231", "0.5814198", "0.5812866", "0.5811002", "0.5808937", "0.58022296", "0.58018637", "0.58007187", "0.57953864", "0.57938343", "0.57937336", "0.57792187", "0.57781583", "0.57716334", "0.57703483" ]
0.0
-1
Insert the method's description here. Creation date: (12/6/2006 6:16:42 PM)
public void setStochHybridOpt(NonspatialStochHybridOptions newStochHybridOpt) { if (lg.isDebugEnabled()) { lg.debug("setStochOption " + Objects.hashCode(newStochHybridOpt) + ' ' + Objects.toString(newStochHybridOpt)); } if (!Matchable.areEqual(fieldNonspatialStochHybridOpt,newStochHybridOpt)) { NonspatialStochHybridOptions oldValue = fieldNonspatialStochHybridOpt; fieldNonspatialStochHybridOpt = newStochHybridOpt; firePropertyChange(PROPERTY_STOCH_HYBRID_OPTIONS, oldValue, newStochHybridOpt); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "public void method_201() {}", "@Override\r\n\tpublic void method() {\n\t\r\n\t}", "public void method_4270() {}", "public Methods() {\n // what is this doing? -PMC\n }", "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "public void method(){}", "public void mo21793R() {\n }", "@Override\r\n\tpublic void Method1() {\n\t\t\r\n\t}", "public void mo21795T() {\n }", "@Override\n public void date()\n {\n }", "public void method_115() {}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "public void method_202() {}", "public void mo55254a() {\n }", "public void mo21877s() {\n }", "public void mo21878t() {\n }", "@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}", "public void mo21779D() {\n }", "public Date getCreateDate()\r\n/* */ {\r\n/* 158 */ return this.createDate;\r\n/* */ }", "public void mo21794S() {\n }", "public E16_OverloadJavaDoc() {\n System.out.println(\"Planting a seedling\");\n }", "public void mo115188a() {\n }", "public void mo97908d() {\n }", "public void mo21791P() {\n }", "public void mo21782G() {\n }", "public void method_199() {}", "@SuppressWarnings(\"unused\")\n private void generateInfo()\n {\n }", "@Override\n\tpublic void anular() {\n\n\t}", "public void mo21789N() {\n }", "public abstract void description();", "public void mo21788M() {\n }", "public Method(String name, String desc) {\n/* 82 */ this.name = name;\n/* 83 */ this.desc = desc;\n/* */ }", "public void mo21785J() {\n }", "public void mo44053a() {\n }", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "public void mo21783H() {\n }", "public void mo21825b() {\n }", "public void mo56167c() {\n }", "public void method_206() {}", "public void method_193() {}", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "@Override\r\n\tpublic void Method2() {\n\t\t\r\n\t}", "@Override\n\tpublic void myMethod() {\n\t\t\n\t}", "public void mo3749d() {\n }", "@Override\n public String getDescription() {\n return DESCRIPTION;\n }", "public void mo38117a() {\n }", "public void mo21880v() {\n }", "public void mo1405e() {\n }", "public void method1()\r\n\t{\r\n\t}", "public void method_203() {}", "public void mo3376r() {\n }", "@Override\r\npublic int method() {\n\treturn 0;\r\n}", "public void mo6944a() {\n }", "public void mo21780E() {\n }", "public abstract String description();", "public abstract String description();", "public void mo21792Q() {\n }", "public void mo2471e() {\n }", "public String getDescription()\n/* */ {\n/* 74 */ return this.description;\n/* */ }", "public void mo4359a() {\n }", "@Override\n public Date getCreated()\n {\n return null;\n }", "@Override\r\n\tpublic Date getCreated_date() {\n\t\treturn super.getCreated_date();\r\n\t}", "public void myPublicMethod() {\n\t\t\n\t}", "public void amethod() {\n\t}", "@Override\r\n\tpublic void Method3() {\n\t\t\r\n\t}", "public void mo115190b() {\n }", "public void mo21784I() {\n }", "@Override\n\tpublic void dosomething() {\n\t\t\n\t}", "@Override\n public void author()\n {\n }", "@Override\n public void visit(MethodDeclaration n, Object arg) {\n \tArrayList<String> method = new ArrayList<String>();\n \tif(n.getJavaDoc()!=null){\n\t \tmethod.add(n.getName());\n\t \tString comment = n.getJavaDoc().getContent();\n\t \tcomment = comment.replaceAll(\"\\\\* @param (.*)\",\"\");\n\t \tcomment = comment.replaceAll(\"\\\\* @return (.*)\",\"\");\n\t \tcomment = comment.replaceAll(\"\\\\* @throws (.*)\",\"\");\n\t \tcomment = comment.replaceAll(\"\\\\* \",\"\");\n\t \tmethod.add(comment.trim()); \n\t \tmethods.add(method);\n \t}\n \t}", "public void mo9137b() {\n }", "@Override\r\n public String description() {\r\n return \"<html>Create a new method in class A that delegates the call to object B. <br/>\" +\r\n \"Now the client doesn’t know about, or depend on, class B. </html>\";\r\n }", "public void mo9233aH() {\n }", "public void mo5248a() {\n }", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "public void mo9848a() {\n }", "public void method_192() {}", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "public void method_200() {}", "@Override\n public int getMethodCount()\n {\n return 1;\n }", "@Override\n\tvoid methodabstract() {\n\t\t\n\t}", "public void mo1403c() {\n }", "@Override\n protected String getDescription() {\n return DESCRIPTION;\n }", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "public void mo12930a() {\n }", "public void mo1531a() {\n }", "@Override\n public String getMethodName() {\n return null;\n }", "public void mo21787L() {\n }", "public void method_191() {}", "public void autoDetails() {\n\t\t\r\n\t}", "public void foo() {\r\n\t}", "@Override\n\tpublic void emprestimo() {\n\n\t}", "public void mo97906c() {\n }" ]
[ "0.69057286", "0.68175733", "0.6455472", "0.6450671", "0.63178897", "0.63105625", "0.6294341", "0.6282319", "0.62819946", "0.62701106", "0.62450695", "0.6234423", "0.62319434", "0.62319434", "0.6222194", "0.6220974", "0.62166697", "0.6215742", "0.6207119", "0.6178733", "0.61580634", "0.61429566", "0.61288166", "0.6126604", "0.61147165", "0.6113378", "0.60853165", "0.6076978", "0.6075394", "0.60749084", "0.60734075", "0.60668963", "0.6059503", "0.6059387", "0.6058908", "0.60402983", "0.6036482", "0.60346687", "0.60339713", "0.6033363", "0.6022778", "0.60225743", "0.60159767", "0.60159767", "0.60159767", "0.60159767", "0.60159767", "0.60159767", "0.60159767", "0.6011263", "0.60048723", "0.6001428", "0.59979975", "0.5996898", "0.5995992", "0.599467", "0.5989924", "0.5978507", "0.59762204", "0.59726024", "0.5945538", "0.5945104", "0.5943135", "0.5943135", "0.59396034", "0.5928047", "0.59237874", "0.59219754", "0.59212965", "0.5914168", "0.5904818", "0.58982813", "0.5896385", "0.58692455", "0.5868865", "0.58655244", "0.5857717", "0.58460474", "0.5845982", "0.58440393", "0.5844008", "0.5842246", "0.58412206", "0.5833119", "0.58187985", "0.5818458", "0.5816231", "0.5814198", "0.5812866", "0.5811002", "0.5808937", "0.58022296", "0.58018637", "0.58007187", "0.57953864", "0.57938343", "0.57937336", "0.57792187", "0.57781583", "0.57716334", "0.57703483" ]
0.0
-1
This method was created by a SmartGuide.
public void setTaskType(int taskType) throws java.beans.PropertyVetoException { if (fieldTaskType != taskType) { int oldValue = fieldTaskType; fireVetoableChange("taskType", new Integer(oldValue), new Integer(taskType)); fieldTaskType = taskType; firePropertyChange("taskType", new Integer(oldValue), new Integer(taskType)); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n public void perish() {\n \n }", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "private stendhal() {\n\t}", "public final void mo51373a() {\n }", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\n public void memoria() {\n \n }", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n protected void initialize() {\n\n \n }", "public void designBasement() {\n\t\t\r\n\t}", "@Override\n\tprotected void update() {\n\t\t\n\t}", "@Override\r\n\tpublic void manage() {\n\t\t\r\n\t}", "@Override\n protected void getExras() {\n }", "public void mo4359a() {\n }", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\n protected void initialize() \n {\n \n }", "@Override\r\n\t\t\tprotected void saveContext() {\n\t\t\t\t\r\n\t\t\t}", "@Override\n protected void initialize() {\n }", "@Override\n protected void initialize() {\n }", "@Override\n protected void initialize() {\n }", "@Override\n protected void initialize() {\n }", "@Override\n protected void initialize() {\n }", "@Override\n protected void initialize() {\n }", "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo38117a() {\n }", "@Override\n\tprotected void logic() {\n\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}", "@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}", "protected MetadataUGWD() {/* intentionally empty block */}", "public void gored() {\n\t\t\n\t}", "@Override\r\n\tpublic void carDashboar() {\n\t\t\r\n\t}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "@Override\n\tpublic void einkaufen() {\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tpublic void nghe() {\n\n\t}", "@Override\r\n\tprotected void initSelfData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initSelfData() {\n\t\t\r\n\t}", "protected void mo6255a() {\n }", "private FlyWithWings(){\n\t\t\n\t}", "@Override\r\n\tpublic void voar() {\n\t\t\r\n\t}", "@Override\n\tprotected void initialize() {\n\n\t}", "@Override\n\tprotected void initData() {\n\t\t\n\t}", "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "@Override\n protected void prot() {\n }", "public void mo6081a() {\n }", "@Override\n protected void init() {\n }", "public void mo55254a() {\n }", "public void autoDetails() {\n\t\t\r\n\t}", "@Override\n\tprotected void initdata() {\n\n\t}", "protected void aktualisieren() {\r\n\r\n\t}", "@Override\r\n\tprotected void initData() {\n\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\n\tpublic void conferenceroom() {\n\t\t\n\t}", "@Override\n public void init() {\n\n }", "@Override\n\tpublic void verkaufen() {\n\t}", "public void smell() {\n\t\t\n\t}", "@Override\n\tpublic void classroom() {\n\t\t\n\t}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "private void Initialized_Data() {\n\t\t\r\n\t}", "@Override\n\tpublic void afterInit() {\n\t\t\n\t}", "@Override\n\tpublic void afterInit() {\n\t\t\n\t}", "@Override\n public void settings() {\n // TODO Auto-generated method stub\n \n }", "@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}", "@Override\r\n\t\t\tpublic void buscar() {\n\r\n\t\t\t}", "private void kk12() {\n\n\t}", "protected void onFirstUse() {}" ]
[ "0.6628274", "0.6547194", "0.6443456", "0.63148606", "0.6265926", "0.62131655", "0.62131655", "0.6179146", "0.61724716", "0.60800415", "0.60736835", "0.605234", "0.60494375", "0.6035975", "0.60117954", "0.59889966", "0.5968782", "0.5964716", "0.596312", "0.5955525", "0.5943977", "0.59374046", "0.5931601", "0.5931601", "0.59306175", "0.5928247", "0.5920091", "0.5918392", "0.5910005", "0.59047025", "0.5895881", "0.5892899", "0.5892027", "0.58855593", "0.58803385", "0.5819342", "0.58192503", "0.58192503", "0.58192503", "0.58192503", "0.58192503", "0.58192503", "0.579018", "0.5787234", "0.57662547", "0.57662547", "0.57662547", "0.57662547", "0.57662547", "0.57662547", "0.57662547", "0.5764415", "0.57513183", "0.57507473", "0.57312787", "0.573097", "0.57264173", "0.5719818", "0.57072645", "0.5698739", "0.5698739", "0.5690661", "0.5688992", "0.5688992", "0.56863105", "0.56795985", "0.56795985", "0.5677607", "0.56618476", "0.5655916", "0.5645593", "0.56406593", "0.56327784", "0.5630784", "0.56286126", "0.56136936", "0.56082565", "0.5596841", "0.5586713", "0.558064", "0.55775636", "0.5574291", "0.5574291", "0.5574291", "0.5574291", "0.5574291", "0.5574291", "0.5574171", "0.5563496", "0.55602646", "0.5557735", "0.5556735", "0.5555096", "0.55526304", "0.5542996", "0.5542996", "0.5538948", "0.55368143", "0.5536585", "0.5534296", "0.55263203" ]
0.0
-1
Sets the timeBounds property (cbit.vcell.solver.TimeBounds) value.
public void setTimeBounds(TimeBounds timeBounds) throws java.beans.PropertyVetoException { if (!Matchable.areEqual(fieldTimeBounds,timeBounds) ) { // Only here to ensure it is being used correctly. // cbit.util.Assertion.assertNotNull(timeBounds); TimeBounds oldValue = fieldTimeBounds; fireVetoableChange(PROPERTY_TIME_BOUNDS, oldValue, timeBounds); fieldTimeBounds = timeBounds; firePropertyChange(PROPERTY_TIME_BOUNDS, oldValue, timeBounds); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setTimeRange(Range range) {\r\n\t\ttimeRange = new Range(range);\r\n\t}", "void setTimeInterval(net.opengis.gml.x32.TimeIntervalLengthType timeInterval);", "public void setTimeRange(long timeStart, long timeEnd)\n {\n this.timeStart = timeStart;\n this.timeEnd = timeEnd;\n }", "public void setTimeRange(int itmin, int itmax) {\n _itmin = itmin;\n _itmax = itmax;\n }", "public TimeBounds getTimeBounds() {\n\t\t// Only here to ensure it is being used correctly.\n\t\t// cbit.util.Assertion.assertNotNull(fieldTimeBounds);\n\t\treturn fieldTimeBounds;\n\t}", "public void setBounds(Rectangle bounds) {\r\n this.bounds = bounds;\r\n }", "public void setBounds(Rectangle2D bounds){\r\n\t\tthis.bounds = bounds;\r\n\t}", "public void setTimeRange(int origin, int extent) {\r\n\t\ttimeRange = new Range(origin, extent);\r\n\t}", "public void setTimeLimit(java.util.Collection timeLimit);", "public void setTime(int time)\n {\n this.time = time;\n start = time;\n end = time;\n }", "public void setTimeRange(long origin, long extent) {\r\n\t\ttimeRange = new Range(origin, extent);\r\n\t}", "public void setBounds(Rect bounds) {\r\n\t\tthis.widthAndHeight = bounds;\r\n\t\tc.setBounds(bounds);\r\n\t}", "public void setTime(){\n\t\tthis.time = this.endTime - this.startTime;\t//calculate the time difference\n\t\t\n\t\t//now since the time is in milliseconds, convert the nanotime\n\t\tlong totalSeconds = (this.time / 1000000000);\n\t\t//Format the above seconds. So it will have at least \n\t\tint minute = (int)(totalSeconds/60);\n\t\tdouble second = totalSeconds - (minute*60);\t//get the remaining second part\n\t\t\n\t\tDecimalFormat minuteFormat = new DecimalFormat(\"##0\");\n\t\tDecimalFormat secondFormat = new DecimalFormat(\"###\");\t//so we only get the 3 digits\n\t\tString minutePart = minuteFormat.format(minute);\t//get the string for the second part\n\t\tString secondPart = secondFormat.format(second);\n\t\t\n\t\t\n\t\tString result = minutePart + \":\" + secondPart;\n\t\t\n\t\t//each time we set time, change the bounds\n\t\tthis.timeLabel.setText(String.valueOf(result));//set the JLabel text\n\t\t//when we set the time label, also set its location\n\t\tthis.timeLabel.setSize(timeLabel.getPreferredSize().width, \n\t\t\t\ttimeLabel.getPreferredSize().height);\n\t}", "@Generated\n @Selector(\"setCropRectangle:atTime:\")\n public native void setCropRectangleAtTime(@ByValue CGRect cropRectangle, @ByValue CMTime time);", "public void set(Bounds boundsObject) {\n\tbounds = boundsObject;\n }", "@Generated\n @Selector(\"setCropRectangleRampFromStartCropRectangle:toEndCropRectangle:timeRange:\")\n public native void setCropRectangleRampFromStartCropRectangleToEndCropRectangleTimeRange(\n @ByValue CGRect startCropRectangle, @ByValue CGRect endCropRectangle, @ByValue CMTimeRange timeRange);", "public void setBounds(Rectangle b);", "public boolean setBounds(Rectangle bounds);", "public void setValidRange (int lowerBounds, int upperBounds)\r\n\t{\r\n\t\tm_lowerBounds = lowerBounds;\r\n\t\tm_upperBounds = upperBounds;\r\n\t}", "public void setBounds(Point3D minBounds, Point3D maxBounds) {\n this.minBounds = minBounds;\n this.maxBounds = maxBounds;\n }", "void setBounds(Rectangle rectangle);", "public void setTimeLimit(long value) {\n\t\ttimeLimit = value;\n\t}", "public void setTime(int t){\r\n\t\t\t\ttime = t;\r\n\t\t\t}", "public void setTimeLength(int timeLength) {\r\n this.timeLength = timeLength;\r\n }", "private void setTimeLimit() {\n\t\t// Set the minimum time for \"Departing Time\" spinner\n\t\t// based on current selected combo box item\n\t\tview.setModifyTimeLimit(model.getDepartTime(view\n\t\t\t\t.getModifyStationIndex()));\n\t}", "void setTimeInForce(TimeInForce inTimeInForce);", "public void setAnalysisBounds(Rectangle bounds) {\n this.bounds = bounds;\n }", "public void setRectangleBounds(String bounds) {\n checkAvailable();\n impl.setRectangle(bounds);\n }", "public void setREQ_END_TIME(java.sql.Time value)\n {\n if ((__REQ_END_TIME == null) != (value == null) || (value != null && ! value.equals(__REQ_END_TIME)))\n {\n _isDirty = true;\n }\n __REQ_END_TIME = value;\n }", "void setTime(int index, Time value, Calendar cal)\n throws SQLException;", "public void setTime(int mins, int sec){\r\n this.Minutes = mins;\r\n this.Seconds = sec;\r\n }", "void setTime(final int time);", "public void setTime(Time time) {\n this.time = time; // assigns the time argument value to the time attribute\n }", "private void setTime(long value) {\n bitField0_ |= 0x00000002;\n time_ = value;\n }", "public void setTime(double time) {_time = time;}", "public void setBound(final Bounds bounds) {\n\t\tbound.setBound(relation, bounds);\n\t}", "public void setTuesdayTimeRanges(java.util.List<referential.store.v2.TimeRange> value) {\n this.tuesdayTimeRanges = value;\n }", "public void setTime_unit(byte time_unit) throws IOException\n\t{\n\t\tif ((__io__pointersize == 8)) {\n\t\t\t__io__block.writeByte(__io__address + 10, time_unit);\n\t\t} else {\n\t\t\t__io__block.writeByte(__io__address + 10, time_unit);\n\t\t}\n\t}", "@Override\n\tpublic void setStartTime(float t) \n\t{\n\t\t_tbeg = t;\n\t}", "public static void setTime( Model model, org.ontoware.rdf2go.model.node.Resource instanceResource, org.ontoware.rdf2go.model.node.Node value) {\r\n\t\tBase.set(model, instanceResource, TIME, value);\r\n\t}", "void setEndPosition(net.opengis.gml.x32.TimePositionType endPosition);", "void setEndTime(Time endTime) {\n this.endTime = endTime;\n }", "public void setTime(double minutes) {\n\t\t// implement this method.\n\n\t}", "public Range getTimeRange() {\r\n\t\treturn timeRange;\r\n\t}", "public final native void setBounds(LatLngBounds bounds) /*-{\n this.setBounds(bounds); \n }-*/;", "public void setTimeStatus(Boolean timeStatus)\n {\n this.timeStatus = timeStatus;\n }", "public void setTimeEnd(int timeEnd) {\r\n this.timeEnd = timeEnd;\r\n }", "private void setTime(long value) {\n \n time_ = value;\n }", "private void setTime(long value) {\n \n time_ = value;\n }", "private void setTime(long value) {\n \n time_ = value;\n }", "private void setTime(long value) {\n \n time_ = value;\n }", "public void setOptTime(Date optTime) {\n\t\tthis.optTime = optTime;\n\t}", "public edu.pa.Rat.Builder setTime(int value) {\n validate(fields()[0], value);\n this.time = value;\n fieldSetFlags()[0] = true;\n return this; \n }", "public void setTime(long time)\n {\n this.time = time;\n\n }", "public void setTime(java.lang.Integer value) {\n this.time = value;\n }", "private void setTime(long value) {\n \n time_ = value;\n }", "private void setTime(long value) {\n \n time_ = value;\n }", "private void setTime(long value) {\n \n time_ = value;\n }", "public void setTime ( final Calendar time ) {\n this.time = time;\n }", "public void setTime(String time) {\n }", "private void setBounds(RectProto value) {\n if (value != null) {\n this.bounds_ = value;\n this.bitField0_ |= 8;\n return;\n }\n throw new NullPointerException();\n }", "public void checkTimeRangeSettingsAccordingToTimeModelBeforeJadeStart() {\r\n\t\t\r\n\t\t// --- Get global ScheduleTimeRange --------------- \r\n\t\tScheduleTimeRange strGlobal = ScheduleTimeRangeController.getScheduleTimeRange();\r\n\t\tif (strGlobal==null) return;\r\n\t\t\r\n\t\t// --- Get Project instance -----------------------\r\n\t\tProject project = this.graphController.getProject();\r\n\t\tif (project==null) return; // (will not happen, but see 'save' call below)\r\n\t\t\r\n\t\t// --- Get date based time model ------------------\r\n\t\tTimeModel timeModel = this.graphController.getTimeModel();\r\n\t\tif (! (timeModel instanceof TimeModelDateBased)) return;\r\n\t\t\t\t\r\n\t\t// --- Get start and end time of the execution ---- \t\r\n\t\tTimeModelDateBased tmDataBased = (TimeModelDateBased) timeModel;\r\n\t\tlong startTime = tmDataBased.getTimeStart();\r\n\t\t\r\n\t\tif (strGlobal.getTimeFrom()!=startTime) {\r\n\t\t\t// --- ScheduleTimeRange needs to adjusted! --- \r\n\t\t\tlong shift = strGlobal.getTimeFrom() - startTime; \r\n\t\t\tScheduleTimeRange strGlobalNew = strGlobal.getCopy();\r\n\t\t\tstrGlobalNew.setTimeFrom(strGlobal.getTimeFrom() - shift);\r\n\t\t\tif (strGlobal.getRangeType()==RangeType.TimeRange) {\r\n\t\t\t\tstrGlobalNew.setTimeTo(strGlobal.getTimeTo() - shift);\r\n\t\t\t}\r\n\t\t\t// --- Set as new global ScheduleTimeRange ----\r\n\t\t\tScheduleTimeRangeController.setScheduleTimeRange(strGlobalNew , EVENT_CONFIGURED_IN_AWB_MAIN_WINDOW);\r\n\t\t\t\r\n\t\t\t// --- Save the project again -----------------\r\n\t\t\tproject.save();\r\n\t\t}\r\n\t\t\r\n\t}", "@Override\n\tpublic void setEndTime(float t) \n\t{\n\t\t_tend = t;\n\t}", "public void setTime(DateTime inputTime){\n time = inputTime.getMillis();\n timeZone = inputTime.getZone();\n }", "public TimeConstraint() {\n\t\t// Start of user code constructor for TimeConstraint)\n\t\tsuper();\n\t\t// End of user code\n\t}", "void setEndTime(java.util.Calendar endTime);", "public static void setTime(Model model, org.ontoware.rdf2go.model.node.Resource instanceResource, java.lang.String value) {\r\n\t\tBase.set(model, instanceResource, TIME, value);\r\n\t}", "void setTime(int index, Time value) throws SQLException;", "public void setTime()\n \t{\n \t\tif( !paused )\n \t\t{\n\t \t\tlong playingTime = System.currentTimeMillis() - startTime;\n\t \t\tlong timeLeft = 180000 - playingTime;\n\t \t\tlong min = timeLeft / 60000;\n\t \t\tlong sec = ( timeLeft - ( min * 60000 ) ) / 1000L;\n\t \t\t\n\t \t\tif( timeLeft < 0 )\n\t \t\t{\n\t \t\t\t//Game over!\n\t \t\t\tgameOver();\n\t \t\t\treturn;\n\t \t\t}\n\t \t\t\n\t \t\tString s = \"Time: \";\n\t \t\ts += Integer.toString( (int)min ) + \":\";\n\t \t\tif( sec >= 10 )\n\t \t\t\ts += Integer.toString( (int)sec );\n\t \t\telse\n\t \t\t\ts += \"0\" + Integer.toString( (int)sec );\n\t \t\t\n\t \t\ttimerLabel.setText( s );\n \t\t}\n \t}", "public ArrayList<Stock> setTime(String startTime, String endTime) {\n return null;\n }", "public void xsetStopTime(org.landxml.schema.landXML11.GPSTime stopTime)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.landxml.schema.landXML11.GPSTime target = null;\r\n target = (org.landxml.schema.landXML11.GPSTime)get_store().find_attribute_user(STOPTIME$24);\r\n if (target == null)\r\n {\r\n target = (org.landxml.schema.landXML11.GPSTime)get_store().add_attribute_user(STOPTIME$24);\r\n }\r\n target.set(stopTime);\r\n }\r\n }", "public void setTimeStart(int timeStart) {\r\n this.timeStart = timeStart;\r\n }", "public void setStatusTime(Timestamp statusTime) {\n\t\t\n\t}", "public void setTime(int time) {\r\n\t\tthis.time = time;\r\n\t\tupdate();\r\n\t}", "public void setBeginTime(String time){beginTime = time;}", "public Builder setUseTime(hr.client.appuser.CouponCenter.TimeRange value) {\n if (useTimeBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n useTime_ = value;\n onChanged();\n } else {\n useTimeBuilder_.setMessage(value);\n }\n\n return this;\n }", "public Builder setUseTime(hr.client.appuser.CouponCenter.TimeRange value) {\n if (useTimeBuilder_ == null) {\n if (value == null) {\n throw new NullPointerException();\n }\n useTime_ = value;\n onChanged();\n } else {\n useTimeBuilder_.setMessage(value);\n }\n\n return this;\n }", "public void setTaskTimeRange(String taskTimeRange) {\n this.taskTimeRange = taskTimeRange == null ? null : taskTimeRange.trim();\n }", "@Override\r\n\tpublic void setBounds(int x, int y, int width, int height) {\r\n\t\tsuper.setBounds(x, y, width, height);\r\n\t\tpv.update();\r\n\t}", "public void setStopTime(int time) {\n\t\t\tmStopTime = time;\n\t\t}", "public MaintenanceWindowsProperties withTimeRanges(List<MaintenanceWindowTimeRange> timeRanges) {\n this.timeRanges = timeRanges;\n return this;\n }", "public referential.store.v2.WeekPattern.Builder setTuesdayTimeRanges(java.util.List<referential.store.v2.TimeRange> value) {\n validate(fields()[4], value);\n this.tuesdayTimeRanges = value;\n fieldSetFlags()[4] = true;\n return this; \n }", "public void setTime( int value ) {\n final int oldTime = currentTime;\n currentTime = value;\n selectedThingsChanged( oldTime );\n\n mapComponent.getOptionContainer().getTimeCode().setText( DataExporter.generateTimeCode( value ) );\n\n mapComponent.getRadiantGoldLabel().setText( Integer.toString( appState.getReplay().getTeamGold( value, true ) ) );\n mapComponent.getDireGoldLabel().setText( Integer.toString( appState.getReplay().getTeamGold( value, false ) ) );\n\n mapComponent.getRadiantXPLabel().setText( Integer.toString( appState.getReplay().getTeamXP( value, true ) ) );\n mapComponent.getDireXPLabel().setText( Integer.toString( appState.getReplay().getTeamXP( value, false ) ) );\n\n }", "void setStartTime(java.util.Calendar startTime);", "public Builder setTime(long value) {\n bitField0_ |= 0x00000008;\n time_ = value;\n onChanged();\n return this;\n }", "public void setTime(long time) {\n this.time = time;\n }", "public void setWorldTime(long time)\n {\n worldTime = time;\n }", "public void setTimeFieldSpec(@Nonnull TimeFieldSpec timeFieldSpec) {\n if (timeFieldSpec != null) {\n addField(timeFieldSpec);\n }\n }", "public void setEndTime(String time){endTime = time;}", "public void setTime(int time) {\n\t\tthis.time = time;\n\t}", "public void setTime(int time) {\n\n\t\tthis.time = time;\n\t}", "public void setTimes(long startCpuTime, long startSystemTime) {\r\n this.startCpuTime = startCpuTime;\r\n this.startSystemTime = startSystemTime;\r\n }", "public void setTime(long time) {\r\n this.time = time;\r\n }", "@External\r\n\t@ClientFunc\r\n\tpublic MetaVar SetBBox(MetaVarVector boxMinVar,MetaVarVector boxMaxVar);", "public void setREQ_START_TIME(java.sql.Time value)\n {\n if ((__REQ_START_TIME == null) != (value == null) || (value != null && ! value.equals(__REQ_START_TIME)))\n {\n _isDirty = true;\n }\n __REQ_START_TIME = value;\n }", "public void setMaxTime(int aMaxTime)\n{\n // Set max time\n _maxTime = aMaxTime;\n \n // If time is greater than max-time, reset time to max time\n if(getTime()>_maxTime)\n setTime(_maxTime);\n}", "public PickBounds(Bounds boundsObject) {\n\tbounds = boundsObject;\n }", "public void setStartTime (long x)\r\n {\r\n startTime = x;\r\n }", "public void setTime(long time) {\r\n\t\tthis.time = time;\r\n\t}", "public TimeWindow(int startTime, int endTime, int duration){\n this.startTime = startTime;\n this.endTime = endTime;\n this.duration = duration;\n }" ]
[ "0.64294744", "0.623131", "0.6188322", "0.6065382", "0.59182245", "0.58158106", "0.5741839", "0.5662791", "0.566269", "0.5632177", "0.56315845", "0.56001955", "0.5567352", "0.54192334", "0.5361804", "0.5295127", "0.52251774", "0.51966643", "0.519378", "0.51816416", "0.51808965", "0.51760525", "0.512859", "0.5120463", "0.5117158", "0.5092496", "0.5086734", "0.5081689", "0.50788987", "0.5041477", "0.5034993", "0.50206804", "0.50149006", "0.5011146", "0.50081694", "0.50060743", "0.49944863", "0.4988282", "0.49805087", "0.4966684", "0.49643373", "0.49643174", "0.49636352", "0.49620035", "0.49603593", "0.49585432", "0.49516135", "0.4944305", "0.4944305", "0.4944305", "0.4944305", "0.49412185", "0.49404734", "0.4921749", "0.49136427", "0.48884273", "0.48884273", "0.48884273", "0.48846826", "0.4881136", "0.48774162", "0.48725462", "0.48695707", "0.48584586", "0.48527217", "0.4852285", "0.48520538", "0.4850785", "0.48499945", "0.48431745", "0.4842192", "0.4838573", "0.48370165", "0.48277995", "0.4816358", "0.4814757", "0.4814757", "0.4814314", "0.48122934", "0.47894463", "0.47885907", "0.47877654", "0.4786253", "0.47827312", "0.4782055", "0.47797057", "0.47776204", "0.47754818", "0.47745624", "0.47741762", "0.47724777", "0.47703797", "0.47673857", "0.47641665", "0.47618333", "0.47608772", "0.47537294", "0.4747922", "0.4746797", "0.4737408" ]
0.78341645
0
Sets the timeStep property (cbit.vcell.solver.TimeStep) value.
public void setTimeStep(TimeStep timeStep) throws java.beans.PropertyVetoException { // Only here to ensure it is being used correctly. // cbit.util.Assertion.assertNotNull(timeStep); if (!Matchable.areEqual(timeStep, fieldTimeStep)) { TimeStep oldValue = fieldTimeStep; fireVetoableChange(PROPERTY_TIME_STEP, oldValue, timeStep); fieldTimeStep = timeStep; firePropertyChange(PROPERTY_TIME_STEP, oldValue, timeStep); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setStep(double step) {\n\t\tthis.step = step;\n\t}", "public void setStep(int step) {\n this.step = step;\n }", "public void setStep(int step) {\n\t\tthis.step = step;\n\t}", "public void setStep(Integer step) {\n this.step = step;\n }", "public void setTurtleStep(int step)\n\t{\n\t\tturt.setStepLength(step);\n\t\trepaint();\n\t}", "public void setTimeout(long t) {\n StepTimeout = t;\n }", "public void setStep(int step)\n {\n this.step = step;\n this.stepSpecified = true;\n }", "public void setXValue( int iTimeStep ){\r\n\t\tsuper.setXValue( new Integer(iTimeStep) );\r\n\t}", "public void step(long t) {\n\n\t}", "public Builder setStep(int value) {\n bitField0_ |= 0x00000002;\n step_ = value;\n onChanged();\n return this;\n }", "public Builder setStep(int value) {\n bitField0_ |= 0x00000002;\n step_ = value;\n onChanged();\n return this;\n }", "public void setStep(int step) {\r\n\t\t\tthis.enabled = step;\r\n\t\t\trepaint();\r\n\t\t}", "public Builder setStep(int value) {\n bitField0_ |= 0x00000004;\n step_ = value;\n onChanged();\n return this;\n }", "public void setStepCount(long stepCount){\n steps = stepCount;\n }", "public void step(float time)\n {\n if(this.firstTick)\n {\n this.firstTick = false;\n this.elapsed = 0.0f;\n }\n else\n {\n this.elapsed += time;\n }\n\n float updateTime = (float)Math.min(1.0f, this.elapsed/this.duration);\n\n this.update(updateTime);\n }", "public void setStepSize(T stepSize2) {\r\n this.stepSize = stepSize2;\r\n }", "public void step() {\n\t\tw.step(timeStep, iterations);\r\n\t}", "public void setTime(double time) {_time = time;}", "public void setTime(Time time) {\n this.time = time; // assigns the time argument value to the time attribute\n }", "public void setTime(int t){\r\n\t\t\t\ttime = t;\r\n\t\t\t}", "public void setStepCount(long stepCount){\r\n\t\tsteps = stepCount;\r\n\t}", "public void setTime( org.ontoware.rdf2go.model.node.Node value) {\r\n\t\tBase.set(this.model, this.getResource(), TIME, value);\r\n\t}", "public static void stepSimulation(float timeStep)\n {\n world.stepSimulation(timeStep, 10);\n for (PhysicsBody body : bodies)\n {\n body.callback();\n }\n\n }", "public void setTime(int time) {\r\n\t\tthis.time = time;\r\n\t\tupdate();\r\n\t}", "public void setTime(long time)\n {\n this.time = time;\n\n }", "public void setStopTime(double stopTime)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.SimpleValue target = null;\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(STOPTIME$24);\r\n if (target == null)\r\n {\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(STOPTIME$24);\r\n }\r\n target.setDoubleValue(stopTime);\r\n }\r\n }", "public void setTime(gov.ucore.ucore._2_0.TimeType time)\n {\n synchronized (monitor())\n {\n check_orphaned();\n gov.ucore.ucore._2_0.TimeType target = null;\n target = (gov.ucore.ucore._2_0.TimeType)get_store().find_element_user(TIME$2, 0);\n if (target == null)\n {\n target = (gov.ucore.ucore._2_0.TimeType)get_store().add_element_user(TIME$2);\n }\n target.set(time);\n }\n }", "public void initialize (long step, long startTime)\n {\n this.stepSize = step;\n this.state = new AlgorithmState (step, startTime, getAlgorithmName());\n }", "public void setTime_unit(byte time_unit) throws IOException\n\t{\n\t\tif ((__io__pointersize == 8)) {\n\t\t\t__io__block.writeByte(__io__address + 10, time_unit);\n\t\t} else {\n\t\t\t__io__block.writeByte(__io__address + 10, time_unit);\n\t\t}\n\t}", "public void setStepLength(double length) {\n\t\tm_dStepLength = length;\n\t}", "public void setTime(float time) {\n this.time = time;\n }", "public void step() {\n \tinternaltime ++;\n \n }", "public void setTime(long time) {\n this.time = time;\n }", "public void setTime(long time) {\r\n\t\tthis.time = time;\r\n\t}", "public void setTime(long time) {\r\n this.time = time;\r\n }", "private void setTime(long value) {\n \n time_ = value;\n }", "private void setTime(long value) {\n \n time_ = value;\n }", "private void setTime(long value) {\n \n time_ = value;\n }", "private void setTime(long value) {\n \n time_ = value;\n }", "public void setTime(long time) {\r\n this.time.setTime(time);\r\n }", "public void setTime(java.lang.Integer value) {\n this.time = value;\n }", "private void setTime(long value) {\n \n time_ = value;\n }", "private void setTime(long value) {\n \n time_ = value;\n }", "private void setTime(long value) {\n \n time_ = value;\n }", "public void setLastSyncStepsTime(long j) {\n ((SharedPreferences) this.fitClientStore.get()).edit().putLong(GoogleFitConstants.SharedPreferences.LAST_SYNC_TIME_STEPS, j).apply();\n }", "void setTime(final int time);", "public void setStepStart(FieldODEStateAndDerivative<T> stepStart2) {\r\n this.stepStart = stepStart2;\r\n }", "public void setTime(int time) {\n\t\tthis.time = time;\n\t}", "public void setTime(int time) {\n\n\t\tthis.time = time;\n\t}", "public void setStepNumber(int stepNumber) {\n this.stepNumber = stepNumber;\n }", "public void step(ScenarioType scenario, final long newTime)\n {\n fireScenarioStepped(scenario, newTime);\n }", "public void setTime ( final Calendar time ) {\n this.time = time;\n }", "public void setStepId(int stepId) {\n this.stepId = stepId;\n }", "public final void setStepSize( long micros )\n {\n if ( ( micros < 1L ) && ( micros != -1L ) )\n throw new IllegalArgumentException( \"micros must be -1 or greater then 0\" );\n \n this.stepMicros = micros;\n }", "public void xsetStopTime(org.landxml.schema.landXML11.GPSTime stopTime)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.landxml.schema.landXML11.GPSTime target = null;\r\n target = (org.landxml.schema.landXML11.GPSTime)get_store().find_attribute_user(STOPTIME$24);\r\n if (target == null)\r\n {\r\n target = (org.landxml.schema.landXML11.GPSTime)get_store().add_attribute_user(STOPTIME$24);\r\n }\r\n target.set(stopTime);\r\n }\r\n }", "public void setWorktime(WorkTime worktime) {\r\n this.worktime = worktime;\r\n }", "public void setTime(java.lang.String value) {\r\n\t\tBase.set(this.model, this.getResource(), TIME, value);\r\n\t}", "public void setTime(int time)\n {\n this.time = time;\n start = time;\n end = time;\n }", "public void advanceTimeStep(double timestep) {\n\t\t\n\t\tif (getDeathTime() > 0) return;\n\t\t\n\t\tList<List<List<Object>>> collisions = getCollisions();\n\t\tif ((noObjectMovementBlocking(collisions.get(0).get(0)) && !(collisions.get(0).get(1).contains(Feature.ground)) && (getVx() < 0))\n\t\t\t|| ((noObjectMovementBlocking(collisions.get(2).get(0)) && !(collisions.get(2).get(1).contains(Feature.ground)) && (getVx() > 0)))) \n\t\t\t\tadvanceX(timestep);\n\t\t\n\t\tsetVx(advanceVx(timestep));\n\t\t\n\t\tcollisions = getCollisions();\n\t\tif (noObjectMovementBlocking(collisions.get(3).get(0)) && !(collisions.get(3).get(1).contains(Feature.ground)) && (getVy() < 0))\n\t\t\tadvanceY(timestep);\n\t\telse if (getVy() > 0) {\n\t\t\tboolean should_advance = true;\n\t\t\tfor(int i = 0; i < 3; i++) {\n\t\t\t\tif (!noObjectMovementBlocking(collisions.get(i).get(0)) || collisions.get(i).get(1).contains(Feature.ground))\n\t\t\t\t\tshould_advance = false;\n\t\t\t}\n\t\t\tif (should_advance) advanceY(timestep);\n\t\t}\n\n\t\tadvanceVy(timestep);\n\t\tsetAy(advanceAy());\n\n\t\tcollisions = getCollisions();\n\t\tif ((this instanceof Mazub) && !(getJustJumped()) &&\n\t\t\t\t((collisions.get(3).get(0).size() != 0) || (collisions.get(3).get(1).contains(Feature.ground)))) {\n\t\t\t((Mazub) this).setJumping(false);\n\t\t}\n\t\t\n\t\tsetTimeInvincible(advanceTimeInvincible(timestep));\n\t}", "private void setTime(long value) {\n bitField0_ |= 0x00000002;\n time_ = value;\n }", "public void setCurrentTime(double time) {\n if (time < 0) {\n time = 0;\n }\n \n nextStartTime = time;\n \n makeNewMusic();\n }", "public void setSit_time(int time)\n\t{\n\t\tsit_time = time - enter_time;\t\n\t}", "public void setStartTime(double startTime)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.SimpleValue target = null;\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(STARTTIME$22);\r\n if (target == null)\r\n {\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(STARTTIME$22);\r\n }\r\n target.setDoubleValue(startTime);\r\n }\r\n }", "public void setCheckStep (java.lang.Byte checkStep) {\n\t\tthis.checkStep = checkStep;\n\t}", "public void setStopTime(int time) {\n\t\t\tmStopTime = time;\n\t\t}", "public void setTime(Long time) {\n this.time = time;\n }", "public void setTime( Date time ) {\n this.time = time;\n }", "public void setTime(String time) {\n }", "@Override\n\tpublic void setStartTime(float t) \n\t{\n\t\t_tbeg = t;\n\t}", "public void setSteps(int steps) {\n\t\tthis.steps = steps;\n\t}", "public void setTravelTime(final Integer travelTime) {\n\t\tthis.travelTime = travelTime;\n\t}", "public final native void setTime(String time) /*-{\n this.setTime(time);\n }-*/;", "void setTimeInForce(TimeInForce inTimeInForce);", "public void setTime(long time,int ento){ \r\n\t}", "public TimeStep getTimeStep() {\n\t\t// Only here to ensure it is being used correctly.\n\t\t// cbit.util.Assertion.assertNotNull(fieldTimeStep);\n\t\treturn fieldTimeStep;\n\t}", "public void step(double voltage, double load, double externalTorque, double deltaTime) {\n throw new NotImplementedException(\"The base SimMotor does not implement a step function. Use a SimDCMotor instead\");\n }", "@Override\n\tpublic void setTime(String time) {\n\t\tthis.time = time;\n\t}", "public void executeTimeStep(Simulation simulation) {\n }", "public void updatePosition(double timestep){\n\t\tx = x + vx * timestep;\n\t y = y + vy * timestep;\n\t}", "public void changeCurrentStep(Step currentStep) {\n changeCurrentStep(currentStep.getCurrentPhase());\n }", "public void setTime (java.lang.String time) {\n\t\tthis.time = time;\n\t}", "public edu.pa.Rat.Builder setTime(int value) {\n validate(fields()[0], value);\n this.time = value;\n fieldSetFlags()[0] = true;\n return this; \n }", "public abstract void setMovementPerTick(float step);", "private void stepTiming() {\n\t\tdouble currTime = System.currentTimeMillis();\n\t\tstepCounter++;\n\t\t// if it's been a second, compute frames-per-second\n\t\tif (currTime - lastStepTime > 1000.0) {\n\t\t\tdouble fps = (double) stepCounter * 1000.0\n\t\t\t\t\t/ (currTime - lastStepTime);\n\t\t\t// System.err.println(\"FPS: \" + fps);\n\t\t\tstepCounter = 0;\n\t\t\tlastStepTime = currTime;\n\t\t}\n\t}", "public void timePassed(double dt) {\r\n this.moveOneStep(dt);\r\n }", "void setTimeInterval(net.opengis.gml.x32.TimeIntervalLengthType timeInterval);", "public void progress(double timeStep){\n\t\tfor(Ball b : balls){\n\t\t\t((BoardObject) b).progress(timeStep);\n\t\t}\n\t\t\n\t\tfor (Gadget g : gadgets){\n\t\t\t((BoardObject) g).progress(timeStep);\n\t\t}\n\t\t\n\t\tfor(Ball ball : balls){\n\t\t\tif(!ball.getInAbsorber()){\n\t\t\t\tdouble vY = ball.getVel().y();\n\t\t\t\tdouble vX = ball.getVel().x();\n\t\t\t double newVY = vY + GRAVITY * timeStep;\n\t\t\t double newVX = vX * (1 - MU_1 * timeStep - MU_2 * Math.abs(vX) * timeStep);\n\t\t\t newVY = newVY * (1 - MU_1 * timeStep - MU_2 * Math.abs(newVY) * timeStep);\n\t\t\t \n\t\t\t ball.setVel(new Vect(newVX, newVY));\n\t\t\t}\n\t\t}\n\t}", "public static void stepTiming(double deltaSeconds) {\n SimulatorJNI.stepTiming((long) (deltaSeconds * 1e6));\n }", "public void setTime(String time) {\r\n\t\tthis.time = time;\r\n\t}", "public void setTime(Date time) {\r\n this.time = time;\r\n }", "public void setTime(Date time) {\r\n this.time = time;\r\n }", "public void setTime(Date time) {\r\n this.time = time;\r\n }", "public void setTime(Date time) {\n this.time = new Date(time.getTime());\n }", "public void updateModule (final double timestep);", "public static void setTrailStep(IOrder order, double trailStep) \r\n\t{\t// TODO use OrderTicket\r\n\t\t(new Thread(INSTANCE.new TrailStepTask(order, trailStep))).start();\r\n\t}", "public void setTime( int value ) {\n final int oldTime = currentTime;\n currentTime = value;\n selectedThingsChanged( oldTime );\n\n mapComponent.getOptionContainer().getTimeCode().setText( DataExporter.generateTimeCode( value ) );\n\n mapComponent.getRadiantGoldLabel().setText( Integer.toString( appState.getReplay().getTeamGold( value, true ) ) );\n mapComponent.getDireGoldLabel().setText( Integer.toString( appState.getReplay().getTeamGold( value, false ) ) );\n\n mapComponent.getRadiantXPLabel().setText( Integer.toString( appState.getReplay().getTeamXP( value, true ) ) );\n mapComponent.getDireXPLabel().setText( Integer.toString( appState.getReplay().getTeamXP( value, false ) ) );\n\n }", "public void setTime(Date time) {\n this.time = time;\n }", "public void setTime(Date time) {\n this.time = time;\n }", "public void setTime(Date time) {\n this.time = time;\n }", "public void setTime(Date time) {\n this.time = time;\n }" ]
[ "0.6670145", "0.6397825", "0.6380375", "0.63553077", "0.63519883", "0.63104284", "0.6167042", "0.60904735", "0.60842264", "0.5902789", "0.5902789", "0.5769612", "0.57430005", "0.5680869", "0.5659243", "0.563944", "0.5617928", "0.5576717", "0.5556671", "0.5534134", "0.55184925", "0.550508", "0.54180473", "0.54076934", "0.5405787", "0.5401481", "0.5400473", "0.539671", "0.5389303", "0.5380187", "0.5361652", "0.5360543", "0.5358055", "0.5357502", "0.5351915", "0.53495187", "0.53495187", "0.53495187", "0.53495187", "0.533997", "0.5333541", "0.53284794", "0.53284794", "0.53284794", "0.5299138", "0.52987283", "0.5298422", "0.5297266", "0.52873975", "0.5279362", "0.5251183", "0.5242652", "0.5229689", "0.5209913", "0.5201292", "0.51995206", "0.5193284", "0.5187441", "0.5186336", "0.51727396", "0.5165301", "0.5156488", "0.5143294", "0.5141726", "0.51333004", "0.51125276", "0.5107661", "0.51053405", "0.5104631", "0.510168", "0.50845677", "0.50808096", "0.5075596", "0.5059672", "0.50588745", "0.50576246", "0.5025306", "0.5023096", "0.50212616", "0.50126076", "0.50090635", "0.5000796", "0.49887863", "0.49887607", "0.493854", "0.493847", "0.49378717", "0.492529", "0.49223623", "0.49216816", "0.49216816", "0.49216816", "0.491713", "0.49082643", "0.49069208", "0.4902476", "0.4899645", "0.4899645", "0.4899645", "0.4899645" ]
0.74758065
0
Sets the useSymbolicJacobian property (boolean) value.
public void setUseSymbolicJacobian(boolean useSymbolicJacobian) { if (useSymbolicJacobian != fieldUseSymbolicJacobian) { boolean oldValue = fieldUseSymbolicJacobian; fieldUseSymbolicJacobian = useSymbolicJacobian; firePropertyChange(PROPERTY_USE_SYMBOLIC_JACOBIAN, new Boolean(oldValue), new Boolean(useSymbolicJacobian)); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean getUseSymbolicJacobian() {\n\t\treturn fieldUseSymbolicJacobian;\n\t}", "void setBundleDependencies(boolean bundleDependencies);", "public void setJ(boolean j) {\n\tthis.j = j;\n }", "public void setSolucion(boolean sol) {\n this._esSolucion = sol;\n }", "public void setOnOptimization(boolean b) {\n this.onOptimization = b;\n }", "public void setSoft(boolean soft);", "@Generated\n @Selector(\"setAllowsAutomaticLocalization:\")\n public native void setAllowsAutomaticLocalization(boolean value);", "public void setForceFormulaRecalculation(boolean arg0) {\n\n\t}", "public void set(Symbol sym, Boolean value) {\n\t\tassignments.put(sym, value);\n\t}", "public void setUseJointGraphs(boolean useJointGraphs) {\n this.useJointGraphs = useJointGraphs;\n }", "public boolean isSymbolic() throws PDFNetException {\n/* 583 */ return IsSymbolic(this.a);\n/* */ }", "public void setForua(boolean newValue);", "public boolean isFormulaUsed() {\n return getBooleanProperty(\"IsFormulaUsed\");\n }", "public void mo81390b(boolean z) {\n this.f58079k = z;\n }", "public void setProperty(String propertyName, boolean value);", "void setUseSumProduct(boolean useSumProduct) {\n\t\t_useSumProduct = useSumProduct;\n\t}", "public void useGradient(final boolean state) {\n this.useGradient = state;\n }", "@VTID(40)\n void setRequireManualUpdate(\n boolean rhs);", "public void setRequiresTaxCertificate (boolean RequiresTaxCertificate)\n{\nset_Value (COLUMNNAME_RequiresTaxCertificate, Boolean.valueOf(RequiresTaxCertificate));\n}", "void setBooleanProperty(Object name, boolean b) throws JMSException;", "public void mo81389a(boolean z) {\n this.f58078j = z;\n }", "public void setIsLat(Boolean boo) {\n\t this.isLat = boo;\n }", "public void mo133140b(boolean z) {\n this.f113331e = z;\n }", "public void setIsFreeShipping(Boolean isFreeShipping) {\n this.isFreeShipping = isFreeShipping;\n }", "public void setS ( boolean s ) {\n\n\tthis.s = s;\n }", "public void setForced(boolean b) {\n\t\tforced = b;\n\t}", "public boolean getForceFormulaRecalculation() {\n\t\treturn false;\n\t}", "public void set(boolean bol);", "public final void setUseSpineBoy(boolean useSpineBoy) {\n this.useSpineBoy = useSpineBoy;\n }", "@ZAttr(id=779)\n public void setReverseProxyUseExternalRoute(boolean zimbraReverseProxyUseExternalRoute) throws com.zimbra.common.service.ServiceException {\n HashMap<String,Object> attrs = new HashMap<String,Object>();\n attrs.put(Provisioning.A_zimbraReverseProxyUseExternalRoute, zimbraReverseProxyUseExternalRoute ? Provisioning.TRUE : Provisioning.FALSE);\n getProvisioning().modifyAttrs(this, attrs);\n }", "public void setSoporteSolucionado(boolean soporteSolucionado) {\n this.soporteSolucionado = soporteSolucionado;\n }", "public void setExternallyManaged(java.lang.Boolean value);", "public void mo133139a(boolean z) {\n this.f113327a = z;\n }", "public static void set_IsForcePackagePrefixGeneration(boolean v) throws RuntimeException\n {\n UmlCom.send_cmd(CmdFamily.javaSettingsCmd, JavaSettingsCmd._setJavaForcePackageGenCmd, (v) ? (byte) 1 : (byte) 0);\n UmlCom.check();\n _is_force_package_gen = v;\n }", "DependencyTerm(boolean b, String statement){\n\t\tthis.bool = b;\n\t\tthis.statement = statement;\n }", "void setBoolean(boolean value);", "public void setReverse(Boolean newValue);", "public void setReverse(Boolean newValue);", "@JsProperty void setChecked(boolean value);", "public final void setRefutable(boolean isRefutable) {\n max_branching = isRefutable ? 2 : 1;\n }", "@JsonSetter(\"smsOutbound\")\r\n public void setSmsOutbound (boolean value) { \r\n this.smsOutbound = value;\r\n }", "public void setBFS(java.lang.Boolean BFS) {\n this.BFS = BFS;\n }", "void setInstallGlobalService(boolean flag);", "public void setSpring_stiffness_ang_y(float spring_stiffness_ang_y) throws IOException\n\t{\n\t\tif ((__io__pointersize == 8)) {\n\t\t\t__io__block.writeFloat(__io__address + 96, spring_stiffness_ang_y);\n\t\t} else {\n\t\t\t__io__block.writeFloat(__io__address + 88, spring_stiffness_ang_y);\n\t\t}\n\t}", "public void setStatementNodeOnFalse(StatementNode statement);", "public void mo42151b(boolean z) {\n this.f12556a.set(1, z);\n }", "public CompilationBuilder setOptimizationOptions(Map<String, Boolean> options) {\n\t\tcompilerConfiguration.setOptimizationOptions(options);\n\t\treturn this;\n\t}", "public void setSoft(Boolean soft) {\n this.soft = soft;\n }", "public /* synthetic */ void mo14082b(Boolean bool) throws Exception {\n m17130I();\n }", "public NearSyllFeature(boolean isNext) {\n this.isNext = isNext;\n }", "public void setIsPistonACEngine (boolean IsPistonACEngine)\n\t{\n\t\tset_Value (COLUMNNAME_IsPistonACEngine, Boolean.valueOf(IsPistonACEngine));\n\t}", "public void setIsReal(Boolean isReal) {\n this.isReal = isReal;\n }", "public void setSelected(boolean b) {\n\t\t_booleanNode.setValue(b);\n\t}", "final public void setGradientsUsed(boolean gradientsUsed)\n {\n setProperty(GRADIENTS_USED_KEY, gradientsUsed ? Boolean.TRUE : Boolean.FALSE);\n }", "public void setY(boolean y) {\n\tthis.y = y;\n }", "public void setSummable(Boolean summable);", "@JsonProperty(\"isOrderJob\")\r\n @JacksonXmlProperty(localName = \"order\", isAttribute = true)\r\n public void setIsOrderJob(String isOrderJob) {\r\n this.isOrderJob = isOrderJob;\r\n }", "void set(boolean on);", "public void setIsSOTrx (boolean IsSOTrx);", "public void setStatementNodeOnTrue(StatementNode statement);", "public void onChanged(Boolean bool) {\n if (bool != null) {\n C41389o oVar = this.f107704a;\n C7573i.m23582a((Object) bool, \"it\");\n oVar.mo102021a(bool.booleanValue());\n }\n }", "public void set_boolean(boolean param) {\n this.local_boolean = param;\n }", "public void setSymmetry(Double symmetry) {\n this.symmetry = symmetry;\n }", "@JsonSetter(\"srvLookup\")\r\n public void setSrvLookup (boolean value) { \r\n this.srvLookup = value;\r\n }", "void set(boolean value);", "public final void mo15435a(Boolean bool) {\n synchronized (this.f13322a) {\n this.f13332k = bool;\n }\n }", "private void setRefuse(boolean value) {\n \n refuse_ = value;\n }", "public void set(boolean a, boolean b) {\n\t\ta = b;\r\n\t}", "@NoProxy\n @NoWrap\n @NoDump\n public void setSignificantChange(final boolean val) {\n significantChange = val;\n }", "void setSet(boolean set);", "public void setSolutionList(boolean b){\n returnAllSolutions = b;\n }", "public void mo133141c(boolean z) {\n this.f113332f = z;\n }", "public void setJaiRecyclingChecked(boolean jaiRecyclingChecked) {\n this.jaiRecyclingChecked = jaiRecyclingChecked;\n }", "public void mo133142d(boolean z) {\n this.f113333g = z;\n }", "void setBoolean(String key, boolean val);", "public void setIsSetPriceStd (boolean IsSetPriceStd);", "public MathEval setVariableRequired(boolean val) {\r\n relaxed=(!val);\r\n return this;\r\n }", "public void setStrict(boolean se, boolean sa) {\n writeline(\"/home/ubuntu/results/coverage/JexlEvalContext/JexlEvalContext_5_10.coverage\", \"fb0226f8-c45b-44e7-9c6d-bd5d4551372c\");\n this.strict = se ? Boolean.TRUE : Boolean.FALSE;\n writeline(\"/home/ubuntu/results/coverage/JexlEvalContext/JexlEvalContext_5_10.coverage\", \"45cdfa94-e564-4313-b21d-c3de64c2f5f3\");\n this.mathStrict = sa ? Boolean.TRUE : Boolean.FALSE;\n }", "public void setUseMnemonic(java.lang.Boolean useMnemonic) {\r\n this.useMnemonic = useMnemonic;\r\n }", "void setString(boolean string);", "public void mo133143e(boolean z) {\n this.f113330d = z;\n }", "public abstract void setBooleanImpl(String str, boolean z, Resolver<Void> resolver);", "@Generated\n @Selector(\"setWantsPriorityOverSystemBehavior:\")\n public native void setWantsPriorityOverSystemBehavior(boolean value);", "@Raw\r\n\tpublic void setWritable(boolean isWritable) {\r\n\t\tthis.isWritable = isWritable;\r\n\t}", "public void setDirectAssignment(boolean directAssignment) {\r\n if (directAssignment) {\r\n this.directAssignmentString = \"true\";\r\n } else {\r\n this.directAssignmentString = null;\r\n }\r\n }", "public void setSecure(boolean mySecure)\n\t{\n\t\tthis.secure = mySecure;\n\t}", "@JsonSetter(\"blockPayphone\")\r\n public void setBlockPayphone (boolean value) { \r\n this.blockPayphone = value;\r\n }", "public void setGeodesic(boolean geodesic){\n\t\tmGeodesic = geodesic;\n\t}", "public final void setObjectiveOptimal(boolean objectiveOptimal) {\n this.objectiveOptimal = objectiveOptimal;\n }", "public void setPropertyToRoot(String propertyName, boolean value);", "public void setLegend(boolean legend) {\n this.legend = legend;\n }", "public void setIsExpression(boolean isExpression) {\n this.isExpression = isExpression;\n }", "public Binding setIsExtensible( boolean theBoolean) {\n\t\tmyIsExtensible = new BooleanDt(theBoolean); \n\t\treturn this; \n\t}", "public void setBooltax(String booltax) {\n this.booltax = booltax == null ? null : booltax.trim();\n }", "public void setCascadedLookup(java.lang.Boolean value);", "public final void mo30741a(boolean z) {\n this.f8030b = z;\n }", "public void setDistributable(boolean distributable);", "@JsProperty void setToggles(boolean value);", "public void setIsCxjd(String isCxjd) {\r\n\t\tthis.isCxjd = isCxjd;\r\n\t}", "private void m1089a(boolean z) {\n this.f687b = z;\n }" ]
[ "0.788504", "0.5079497", "0.5077326", "0.5013871", "0.4854641", "0.48315218", "0.47785303", "0.4777057", "0.47754273", "0.4732018", "0.4721476", "0.46839038", "0.4681", "0.46745506", "0.46443647", "0.46404386", "0.4636651", "0.46231544", "0.45988777", "0.4597213", "0.45741844", "0.45352733", "0.4529429", "0.45146555", "0.45034668", "0.4494278", "0.44940165", "0.4477567", "0.44681412", "0.44669846", "0.44663212", "0.4457085", "0.4456284", "0.4454434", "0.44429868", "0.44402444", "0.44354302", "0.44354302", "0.44226465", "0.44225156", "0.44224593", "0.4421887", "0.44085342", "0.44031924", "0.44016817", "0.4394755", "0.43897745", "0.43796432", "0.43787012", "0.4376532", "0.4372892", "0.43642986", "0.43629152", "0.43619773", "0.4361486", "0.4359958", "0.43574148", "0.4352981", "0.43492344", "0.4344497", "0.4337889", "0.43348953", "0.43338042", "0.43317765", "0.43310356", "0.43218797", "0.43207327", "0.43188667", "0.43143082", "0.43107975", "0.43102574", "0.42939398", "0.4293533", "0.42878845", "0.42867053", "0.42862105", "0.42843264", "0.42837295", "0.42770815", "0.42717814", "0.42582425", "0.42570388", "0.42557845", "0.4254476", "0.42523903", "0.4247918", "0.42474252", "0.42472568", "0.42447862", "0.4243961", "0.4242783", "0.42426062", "0.42407286", "0.42304742", "0.42228502", "0.42209783", "0.4219071", "0.42190164", "0.42180246", "0.42164457" ]
0.887512
0
This method gets called when a bound property is changed.
public void vetoableChange(java.beans.PropertyChangeEvent evt) throws java.beans.PropertyVetoException { }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void PropertyChanged()\r\n { }", "@Override\r\n\tpublic void propertyChange(PropertyChangeEvent arg0) {\n\t\t\r\n\t}", "@Override\r\n\tpublic void propertyChange(PropertyChangeEvent arg0) {\n\t\t\r\n\t}", "@Override\n\tpublic void propertyChange(PropertyChangeEvent arg0) {\n\t\t\n\t}", "@Override\r\n\tpublic void propertyChange(PropertyChangeEvent arg0) {\n\r\n\t}", "@Override\n\tpublic void propertyChange(PropertyChangeEvent arg0)\n\t{\n\t\t\n\t}", "protected void boundObjectChanged(Object componentValue) {\r\n this.boundObjectChanged(true, componentValue);\r\n }", "@Override\n\tpublic void propertyChange() {\n\t\tthis.apply();\n\t}", "@Override\n \tpublic void propertyChange(PropertyChangeEvent arg0) {\n \t\t\n \t}", "public void setPropertyChanged(com.app.tvp.cas.cliente.PropertyChangedEventHandler propertyChanged) {\n this.propertyChanged = propertyChanged;\n }", "@Override\n\tpublic void propertyChange(PropertyChangeEvent evt) {\n\t\t\n\t}", "private void FilterPropertyChanges(Object sender, PropertyChangedEventArgs e)\r\n {\r\n // check if this is the property of interest\r\n if (e.getPropertyValue(_propertyName)!= null)\r\n PropertyChanged();\r\n }", "public void propertyChange(PropertyChangeEvent evt) {\r\n fireStateChanged();\r\n }", "@Override\n\tpublic void onPropertyModified(PropertyDescriptor descriptor, String oldValue, String newValue) {\n\t\tsuper.onPropertyModified(descriptor, oldValue, newValue);\n\t\t\n\t\t\n\t\t\n\t}", "public void propertyChange(PropertyChangeEvent evt) {\n \r\n }", "public void propertyChange(String propertyName, Object oldValue, Object newValue) {\r\n propertyChangeSupport.firePropertyChange(propertyName, oldValue, newValue);\r\n }", "public void firePropertyChange(String propertyName, Object oldValue, Object newValue);", "public synchronized void setChanged() {\n super.setChanged();\n }", "public final synchronized void setChanged() {\n\t\tsuper.setChanged ();\n }", "void onPropertyChange(String name, String newValue);", "@Override\n public void addPropertyChangeListener(PropertyChangeListener listener) {\n\n }", "@Override\n\tpublic void setChanged() {\n\t\tthis.changed = true;\n\t}", "protected void firePropertyChange(String propertyName, Object oldValue, Object newValue)\n/* */ {\n/* 291 */ if (\"text\".equals(propertyName)) {\n/* 292 */ super.firePropertyChange(propertyName, oldValue, newValue);\n/* */ }\n/* */ }", "public void notifyChanged(final Notification msg) {\r\n\t super.notifyChanged(msg);\r\n\t \r\n\t if(msg.getFeature() == PropertiesPackage.Literals.PROPERTY__VALUE) {\r\n\t \tsetGUIAttributes();\r\n\t }\r\n\t }", "public void afterPropertyChange(T obj, String propertyName, Object oldValue, Object newValue);", "@Override\n public void propertyChange(PropertyChangeEvent event) {\n if (!hasOverrideFor(event.getProperty()))\n fireMappingChanged(event.getProperty(), event.getOldValue(), event.getNewValue());\n }", "@Override\n public void onPropertyChanged(Observable sender, int propertyId) {\n if (propertyId == Conversation.STATE_PROPERTY_ID) {\n updateConversationState();\n }\n }", "protected void do_childSupportFTF_propertyChange(PropertyChangeEvent arg0) {\n\t\tsetIncomeTotal();\n\t}", "@Override\n public void onChanged() {\n }", "@Override\n\tpublic void propertyChange(PropertyChangeEvent evt) {\n\t\tfillFields();\n\t}", "@Override\n public void propertyChange(PropertyChangeEvent e) {\n this.updateCoords();\n }", "public void propertyChange(PropertyChangeEvent evt)\n/* */ {\n/* 76 */ CompoundPainter<?> painter = (CompoundPainter)this.ref.get();\n/* */ \n/* 78 */ if (painter == null) {\n/* 79 */ AbstractPainter<?> src = (AbstractPainter)evt.getSource();\n/* 80 */ src.removePropertyChangeListener(this);\n/* */ } else {\n/* 82 */ String property = evt.getPropertyName();\n/* */ \n/* 84 */ if ((\"dirty\".equals(property)) && (evt.getNewValue() == Boolean.FALSE)) {\n/* 85 */ return;\n/* */ }\n/* */ \n/* 88 */ painter.setDirty(true);\n/* */ }\n/* */ }", "public void propertyChange(PropertyChangeEvent event) {\r\n\t\tString property = event.getPropertyName();\r\n\t\tif (\"bendpoint\".equals(property)) //$NON-NLS-1$\r\n\t\t\trefreshVisuals(); \r\n\t}", "public void modelPropertyChange(PropertyChangeEvent evt) {\n\t\t\n\t}", "public void propertyChange(PropertyChangeEvent ev) {\n\t\tif (ev.getPropertyName().equals(HPort.PROPERTY_BOUNDS)) this.refreshVisuals();\r\n\t//\tif (ev.getPropertyName().equals(IHProvidesPort.PROPERTY_COLOR)) this.refreshVisuals();\r\n\r\n\t\t\t\r\n\t}", "protected void do_utilityFTF_propertyChange(PropertyChangeEvent arg0) {\n\t\tsetIncomeTotal();\n\t}", "public void firePropertyChange(java.lang.String propertyName, java.lang.Object oldValue, java.lang.Object newValue) {\r\n\tgetPropertyChange().firePropertyChange(propertyName, oldValue, newValue);\r\n}", "void onPropertyChange(String key);", "protected void valueChanged() {\r\n \t\tint newValue = slider.getSelection();\r\n \t\tint oldValue = this.intValue;\r\n \t\tintValue = newValue;\r\n \t\tjava.beans.PropertyChangeEvent event = new java.beans.PropertyChangeEvent(\r\n \t\t\t\tthis, IPropertyEditor.VALUE, oldValue, newValue);\r\n \t\tvalueChangeListener.valueChange(event);\r\n \t}", "@Override\n public void addOnPropertyChangedCallback(OnPropertyChangedCallback callback) {\n }", "protected synchronized void setChanged() {\n changed = true;\n }", "protected void firePropertyChange( java.beans.PropertyChangeEvent evt ) {\n propertyChangeSupport.firePropertyChange( evt );\n }", "private void setConditionAndListener(ObjectProperty<ConditionViewModel> property) {\n setCondition(property.get());\n\n // Update for new values\n property.addListener((observable, oldValue, newValue) -> setCondition(newValue));\n }", "private static void usePropertyChangeListener() {\n SimpleStringProperty stringProperty = new SimpleStringProperty(\"xyz\");\n // Prints property's value\n System.out.println(stringProperty.getValue());\n // Adds a listener - action that will be run if property's value changes.\n stringProperty.addListener((observable, oldValue, newValue) -> {\n System.out.println(\"New value is set: \" + newValue);\n });\n // Sets new value\n stringProperty.setValue(\"Some new value\");\n }", "protected void do_socialSecurityFTF_propertyChange(PropertyChangeEvent arg0) {\n\t\tsetIncomeTotal();\n\t}", "public void setMobHasChanged() {\r\n\t\t// method that informs the view(the observer) of the changes\r\n\t\tthis.setChanged();\r\n\t\tthis.notifyObservers();\r\n\t\r\n\t}", "public com.app.tvp.cas.cliente.PropertyChangedEventHandler getPropertyChanged() {\n return propertyChanged;\n }", "void onChangeEvent(CarPropertyValue value);", "protected void stateChanged() {\r\n\t\tsetChanged();\r\n\t\tnotifyObservers();\r\n\t}", "@Override\n public void propertyChange(PropertyChangeEvent evt) {\n if (evt.getPropertyName() == DataObject.PROP_MODIFIED &&\n evt.getNewValue() == Boolean.FALSE) {\n // dataobject has been modified, context graph is out of sync\n synchronized (this) {\n context = null;\n }\n }\n }", "@Override\n\tpublic boolean valueChanged() {\n\t\treturn false;\n\t}", "protected void do_tanfFTF_propertyChange(PropertyChangeEvent arg0) {\n\t\tsetIncomeTotal();\n\t}", "protected void do_foodStampsFTF_propertyChange(PropertyChangeEvent arg0) {\n\t\tsetIncomeTotal();\n\t}", "@Override\n public void setChanged() {\n set(getItem());\n }", "public abstract void addPropertyChangeListener(PropertyChangeListener listener);", "protected final void firePropertyChange(String propertyName, double oldValue, double newValue) {\n firePropertyChange(propertyName, Double.valueOf(oldValue), Double.valueOf(newValue));\n }", "public void newValueBinding(BGMEvent e);", "protected void do_disabilityFTF_propertyChange(PropertyChangeEvent arg0) {\n\t\tsetIncomeTotal();\n\t}", "@Override\r\n public void firePropertyChange(final String propertyName, final boolean oldValue, final boolean newValue) {\r\n /* we dont need propertychange events */\r\n if (\"indeterminate\".equals(propertyName)) {\r\n // this is required to forward indeterminate changes to the ui. This\r\n // would cfreate nullpointers in the uis because progresbar might\r\n // try to paint indeterminate states, but the ui has not been\r\n // initialized due to the missing event\r\n super.firePropertyChange(propertyName, oldValue, newValue);\r\n }\r\n }", "@Override\r\n\tpublic void valuesChanged() {\r\n\t}", "public void addPropertyChangeListener(PropertyChangeListener l);", "public void propertiesChanged(String property, String value) {\n\t\tif(property != null) {\n \t\t\tFComponent comp = mainFrame.getSelectedComponent().getComponent();\n \t\t\tif(comp.getLabel() == null || !comp.getLabel().equals(value)) {\n \t\t\t\tcomp.setLabel(value);\n \t\t\t\tmainFrame.refreshPreview();\t\t\t\t\n \t\t\t}\n \t\t}\n \t}", "private void updateBinding(){\n\t\tif(propertiesObj == null)\n\t\t\treturn;\n\n\t\tif(txtBinding.getText().trim().length() == 0)\n\t\t\treturn;\n\n\t\tif(propertiesObj instanceof QuestionDef)\n\t\t\t((QuestionDef)propertiesObj).setVariableName(txtBinding.getText());\n\t\telse if(propertiesObj instanceof OptionDef)\n\t\t\t((OptionDef)propertiesObj).setVariableName(txtBinding.getText());\n\t\telse if(propertiesObj instanceof FormDef)\n\t\t\t((FormDef)propertiesObj).setVariableName(txtBinding.getText());\n\t\telse if(propertiesObj instanceof PageDef){\n\t\t\ttry{\n\t\t\t\t((PageDef)propertiesObj).setPageNo(Integer.parseInt(txtBinding.getText()));\n\t\t\t}catch(Exception ex){\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\n\t\tformChangeListener.onFormItemChanged(propertiesObj);\n\t}", "@Override\n public void changed(ObservableValue<? extends Number> observable, Number oldValue, Number newValue) {\n gc.setLineWidth(newValue.doubleValue());\n }", "public void propertyChange(final PropertyChangeEvent _event)\n {\n this.updateStyle();\n }", "protected void firePropertyChange(String propertyName,Object oldValue,\n Object newValue){\n super.firePropertyChange(propertyName,oldValue,newValue);\n if(propertyName.equals(EnableWindowBlit)){\n if(newValue!=null){\n setScrollMode(BLIT_SCROLL_MODE);\n }else{\n setScrollMode(SIMPLE_SCROLL_MODE);\n }\n }\n }", "public void firePropertyChange(String propertyName, Object oldValue, Object newValue) {\r\n\t\tgetPropertyChange().firePropertyChange(propertyName, oldValue, newValue);\r\n\t}", "@Override\n public void propertyChange(PropertyChangeEvent evt) {\n modelToView(handle);\n }", "public abstract void addPropertyChangeListener(IPropertyChangeListener listener);", "public void addPropertyChangeListener(PropertyChangeListener listener);", "@Override\n public void onChange() {\n java.lang.String callbackArg_0 = android.databinding.adapters.TextViewBindingAdapter.getTextString(mboundView4);\n // localize variables for thread safety\n // viewModel.obRealAmt\n android.databinding.ObservableField<java.lang.String> viewModelObRealAmt = null;\n // viewModel.obRealAmt != null\n boolean viewModelObRealAmtJavaLangObjectNull = false;\n // viewModel\n ys.app.pad.viewmodel.ModifyServiceDetailViewModel viewModel = mViewModel;\n // viewModel != null\n boolean viewModelJavaLangObjectNull = false;\n // viewModel.obRealAmt.get()\n java.lang.String viewModelObRealAmtGet = null;\n\n\n\n viewModelJavaLangObjectNull = (viewModel) != (null);\n if (viewModelJavaLangObjectNull) {\n\n\n viewModelObRealAmt = viewModel.obRealAmt;\n\n viewModelObRealAmtJavaLangObjectNull = (viewModelObRealAmt) != (null);\n if (viewModelObRealAmtJavaLangObjectNull) {\n\n\n\n\n viewModelObRealAmt.set(((java.lang.String) (callbackArg_0)));\n }\n }\n }", "@Override\n public void propertyChange(PropertyChangeEvent evt) {\n\n System.out.println(\"Customer \" + this.name + \" observed a change in \" +\n evt.getPropertyName() + \" of \" + evt.getSource());\n\n System.out.println(\n evt.getOldValue() + \" has changed to \" + evt.getNewValue() + \". \");\n\n System.out.println();\n }", "public String listen(String key, PropertyChangedCallback callback);", "void addPropertyChangeListener(PropertyChangeListener listener);", "@Test\r\n public void testPropertyBidiBindingNotification() {\r\n String initialValue = \"initial\";\r\n ObjectProperty<String> property = new SimpleObjectProperty<>(initialValue);\r\n String otherValue = \"other\";\r\n ObjectProperty<String> otherProperty = new SimpleObjectProperty<>(otherValue);\r\n ChangeReport report = new ChangeReport(property);\r\n property.bindBidirectional(otherProperty);\r\n \r\n assertSame(\"bidi binding updates\", property.get(), otherProperty.get());\r\n assertSame(\"property is target of bidi\", otherValue, property.get());\r\n assertSame(\"other is unchanged\", otherValue, otherProperty.get());\r\n assertEquals(1, report.getEventCount());\r\n \r\n report.clear();\r\n String thirdValue = \"something else\";\r\n otherProperty.set(thirdValue);\r\n assertSame(\"property must be updated to new value of other\", thirdValue, property.get());\r\n assertEquals(1, report.getEventCount());\r\n }", "@Override\r\n public void rmValueListener(PropertyChangeListener l) {\n\r\n }", "void valueChanged(T oldValue, T newValue);", "@Override\n public void onChange() {\n java.lang.String callbackArg_0 = android.databinding.adapters.TextViewBindingAdapter.getTextString(mboundView1);\n // localize variables for thread safety\n // viewModel.obName != null\n boolean viewModelObNameJavaLangObjectNull = false;\n // viewModel.obName.get()\n java.lang.String viewModelObNameGet = null;\n // viewModel\n ys.app.pad.viewmodel.ModifyServiceDetailViewModel viewModel = mViewModel;\n // viewModel.obName\n android.databinding.ObservableField<java.lang.String> viewModelObName = null;\n // viewModel != null\n boolean viewModelJavaLangObjectNull = false;\n\n\n\n viewModelJavaLangObjectNull = (viewModel) != (null);\n if (viewModelJavaLangObjectNull) {\n\n\n viewModelObName = viewModel.obName;\n\n viewModelObNameJavaLangObjectNull = (viewModelObName) != (null);\n if (viewModelObNameJavaLangObjectNull) {\n\n\n\n\n viewModelObName.set(((java.lang.String) (callbackArg_0)));\n }\n }\n }", "private void change() {\n\t\tsetChanged();\n\t\t//NotifyObservers calls on the update-method in the GUI\n\t\tnotifyObservers();\n\t}", "protected final void firePropertyChange(String propertyName, float oldValue, float newValue) {\n firePropertyChange(propertyName, Float.valueOf(oldValue), Float.valueOf(newValue));\n }", "public void propertyChange(PropertyChangeEvent e) {\n String name = e.getPropertyName();\n if (name.equals(\"stepnumber\")) { //$NON-NLS-1$\n if (trackerPanel.getSelectedTrack() == this) {\n displayWorldCoordinates();\n stepValueLabel.setText(e.getNewValue() + \":\"); //$NON-NLS-1$\n }\n } else if (name.equals(\"locked\")) { //$NON-NLS-1$\n xField.setEnabled(!isLocked());\n yField.setEnabled(!isLocked());\n } else super.propertyChange(e);\n }", "@Override\r\n\t\t\tpublic void onPropertyChange(String... paths) {\n\t\t\t\t\r\n\t\t\t}", "@Override\n\tpublic void stateChanged(ChangeEvent arg0) {\n\t\t\n\t}", "@Override\n\tpublic void notifySettingChanged() {\n\t}", "public void markChanged()\n \t{\n \t\tbChanged=true;\n \t}", "@Override\n public void onChange() {\n java.lang.String callbackArg_0 = android.databinding.adapters.TextViewBindingAdapter.getTextString(mboundView3);\n // localize variables for thread safety\n // viewModel.obTypeName.get()\n java.lang.String viewModelObTypeNameGet = null;\n // viewModel.obTypeName\n android.databinding.ObservableField<java.lang.String> viewModelObTypeName = null;\n // viewModel\n ys.app.pad.viewmodel.ModifyServiceDetailViewModel viewModel = mViewModel;\n // viewModel != null\n boolean viewModelJavaLangObjectNull = false;\n // viewModel.obTypeName != null\n boolean viewModelObTypeNameJavaLangObjectNull = false;\n\n\n\n viewModelJavaLangObjectNull = (viewModel) != (null);\n if (viewModelJavaLangObjectNull) {\n\n\n viewModelObTypeName = viewModel.obTypeName;\n\n viewModelObTypeNameJavaLangObjectNull = (viewModelObTypeName) != (null);\n if (viewModelObTypeNameJavaLangObjectNull) {\n\n\n\n\n viewModelObTypeName.set(((java.lang.String) (callbackArg_0)));\n }\n }\n }", "@Override\n\t\t\t\tpublic void propertyChange(PropertyChangeEvent evt) {\n\t\t\t\t\tswitch (evt.getPropertyName()) {\n\n\t\t\t\t\t// propertyName progress tells us progress value\n\t\t\t\t\tcase \"progress\":\n\t\t\t\t\t\twindow.setScalingProgressBar((Integer) evt.getNewValue());\n\t\t\t\t\t}\n\n\t\t\t\t}", "@Override\n public void onChange() {\n java.lang.String callbackArg_0 = android.databinding.adapters.TextViewBindingAdapter.getTextString(mboundView5);\n // localize variables for thread safety\n // viewModel.obServiceVipPrice != null\n boolean viewModelObServiceVipPriceJavaLangObjectNull = false;\n // viewModel.obServiceVipPrice\n android.databinding.ObservableField<java.lang.String> viewModelObServiceVipPrice = null;\n // viewModel.obServiceVipPrice.get()\n java.lang.String viewModelObServiceVipPriceGet = null;\n // viewModel\n ys.app.pad.viewmodel.ModifyServiceDetailViewModel viewModel = mViewModel;\n // viewModel != null\n boolean viewModelJavaLangObjectNull = false;\n\n\n\n viewModelJavaLangObjectNull = (viewModel) != (null);\n if (viewModelJavaLangObjectNull) {\n\n\n viewModelObServiceVipPrice = viewModel.obServiceVipPrice;\n\n viewModelObServiceVipPriceJavaLangObjectNull = (viewModelObServiceVipPrice) != (null);\n if (viewModelObServiceVipPriceJavaLangObjectNull) {\n\n\n\n\n viewModelObServiceVipPrice.set(((java.lang.String) (callbackArg_0)));\n }\n }\n }", "@Override\n\tpublic abstract void valueChanged(ListSelectionEvent arg0);", "@Override\n public void propertyChange(java.beans.PropertyChangeEvent ev) {\n fireInAWT(PROP_NODE_CHANGE, null, null);\n }", "public void changed() {\n this.fireContentsChanged(this, 0, this.getSize() - 1);\n }", "@Override\n protected void onPropertyChanged(RadPropertyEventArgs e) {\n if (e.getKey() == FIRST_AXIS_PROPERTY_KEY) {\n //this.firstAxis = (AxisModel) e.newValue();\n\n this.onFirstAxisChanged();\n } else if (e.getKey() == SECOND_AXIS_PROPERTY_KEY) {\n //this.secondAxis = (AxisModel) e.newValue();\n\n this.onSecondAxisChanged();\n }\n\n super.onPropertyChanged(e);\n }", "@Test\r\n public void testListValuedObjectPropertyBoundTo() {\r\n ObservableList<String> list = createObservableList(true);\r\n ObjectProperty<ObservableList<String>> property = new SimpleObjectProperty<>(list);\r\n ListProperty listProperty = new SimpleListProperty();\r\n listProperty.bind(property);\r\n \r\n ChangeReport report = new ChangeReport(listProperty);\r\n property.set(createObservableList(true));\r\n assertEquals(\"supported: listProperty bound to listValued property fires change event\", \r\n 1, report.getEventCount());\r\n ListChangeReport lr = new ListChangeReport(listProperty);\r\n property.get().remove(0);\r\n assertEquals(1, lr.getEventCount());\r\n }", "protected void do_salaryFTF_propertyChange(PropertyChangeEvent arg0) {\n\t\tsetIncomeTotal();\n\t}", "@Override\n\tpublic void valueChange(ValueChangeEvent event) {\n\t\t\n\t}", "@Override\n public void addPropertyChangeListener(PropertyChangeListener listener)\n {\n if (changes == null)\n {\n changes = new PropertyChangeSupport(this);\n }\n changes.addPropertyChangeListener(listener);\n }", "public final void propertyChange(PropertyChangeEvent evt) {\n Object oldValue = evt.getOldValue();\n Object newValue = evt.getNewValue();\n String propertyName = evt.getPropertyName();\n if ((oldValue instanceof Document) || (newValue instanceof Document)) {\n if (oldValue != null) {\n ((Document)oldValue).removeDocumentListener(this);\n i18nView = false;\n }\n if (newValue != null) {\n ((Document)newValue).addDocumentListener(this);\n if (\"document\" == propertyName) {\n setView(null);\n BasicTextUI.this.propertyChange(evt);\n modelChanged();\n return;\n }\n }\n modelChanged();\n }\n if (\"focusAccelerator\" == propertyName) {\n updateFocusAcceleratorBinding(true);\n } else if (\"componentOrientation\" == propertyName) {\n // Changes in ComponentOrientation require the views to be\n // rebuilt.\n Document document = editor.getDocument();\n final String I18NProperty = \"i18n\";\n // if a default direction of right-to-left has been specified,\n // we want complex layout even if the text is all left to right.\n if (ComponentOrientation.RIGHT_TO_LEFT == newValue\n && ! Boolean.TRUE.equals(document.getProperty(I18NProperty))) {\n document.putProperty(I18NProperty, Boolean.TRUE);\n }\n modelChanged();\n } else if (\"font\" == propertyName) {\n modelChanged();\n } else if (\"dropLocation\" == propertyName) {\n dropIndexChanged();\n } else if (\"editable\" == propertyName) {\n updateCursor();\n modelChanged();\n }\n BasicTextUI.this.propertyChange(evt);\n }", "@Override\n public void addPropertyChangeListener( String propertyName, PropertyChangeListener listener )\n {\n if( componentModel == null )\n return;\n\n if( propertyName==null )\n {\n componentModel.addPropertyChangeListener( listener );\n }\n else\n {\n Property prop = componentModel.findProperty( propertyName );\n if ( prop != null )\n {\n prop.addPropertyChangeListener( listener );\n }\n }\n }", "public PropertyChangeEvent(Object source, String propertyName,\n Object oldVal, Object newVal)\n {\n super(source);\n this.propertyName = propertyName;\n oldValue = oldVal;\n newValue = newVal;\n }", "public void notifyChange()\r\n {\r\n setChanged();\r\n notifyObservers();\r\n }", "public void valueChanged(ListSelectionEvent e)\n\t\t\t{\n\t\t\t}" ]
[ "0.7555569", "0.7080848", "0.7080848", "0.70098335", "0.6941481", "0.69412327", "0.6869419", "0.68434733", "0.68374217", "0.68190783", "0.67583567", "0.67293215", "0.6664966", "0.65054077", "0.64740765", "0.6464351", "0.6437039", "0.64358926", "0.6398445", "0.63603747", "0.63553303", "0.6344567", "0.6327592", "0.63170546", "0.6315316", "0.62813586", "0.62768173", "0.62745506", "0.6220223", "0.6217022", "0.6213548", "0.62119454", "0.62069726", "0.61927855", "0.6144944", "0.61015844", "0.60803837", "0.60774714", "0.607701", "0.6053839", "0.60454345", "0.60424554", "0.5998017", "0.599685", "0.5967744", "0.59539753", "0.5947094", "0.59455615", "0.5941211", "0.59410393", "0.5933018", "0.5926705", "0.5910495", "0.5897407", "0.5862538", "0.58582926", "0.58402276", "0.58359134", "0.5834212", "0.58334523", "0.5832369", "0.58157074", "0.5812012", "0.58078974", "0.57977736", "0.5781816", "0.5776885", "0.5768968", "0.57687855", "0.5767485", "0.57549775", "0.57484305", "0.57451993", "0.5741378", "0.57376415", "0.5734027", "0.5723725", "0.5723662", "0.5715037", "0.57113934", "0.5705366", "0.5700972", "0.56985354", "0.5685367", "0.568525", "0.5682636", "0.5677043", "0.5670181", "0.5670117", "0.5669231", "0.56654596", "0.56567305", "0.5654269", "0.56484616", "0.5646373", "0.56461716", "0.5632502", "0.5631677", "0.5630842", "0.5623346", "0.56224376" ]
0.0
-1
set num of processors; < 1 treated as 1
public void setNumProcessors(int numProcessors) { numProcessors = Math.max(numProcessors, 1); //must be >= 1 if (numProcessors == 1 || fieldSolverDescription.supports(SolverFeature.Feature_Parallel) ) { this.numProcessors = numProcessors; } else { //problem here this.numProcessors = 1; throw new IllegalArgumentException(fieldSolverDescription.getDisplayLabel() + " only supports 1 processor, " + numProcessors + " passed"); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void setAvailableProcessors(int availableProcessors) {\n/* 87 */ holder.setAvailableProcessors(availableProcessors);\n/* */ }", "public static int availableProcessors() {\n/* 98 */ return holder.availableProcessors();\n/* */ }", "@SuppressForbidden(reason = \"to obtain default number of available processors\")\n/* */ synchronized int availableProcessors() {\n/* 65 */ if (this.availableProcessors == 0) {\n/* */ \n/* 67 */ int availableProcessors = SystemPropertyUtil.getInt(\"io.netty.availableProcessors\", \n/* */ \n/* 69 */ Runtime.getRuntime().availableProcessors());\n/* 70 */ setAvailableProcessors(availableProcessors);\n/* */ } \n/* 72 */ return this.availableProcessors;\n/* */ }", "public void InitializeMaxNumInstances(int num) {\n }", "@Override\r\n public int getMaxConcurrentProcessingInstances() {\r\n return 1;\r\n }", "public void setNumberOfThreads(java.lang.Integer value) {\n __getInternalInterface().setFieldValue(NUMBEROFTHREADS_PROP.get(), value);\n }", "public void setNumberOfThreads(java.lang.Integer value) {\n __getInternalInterface().setFieldValue(NUMBEROFTHREADS_PROP.get(), value);\n }", "public static int getAvailableProcessors() {\r\n\t\treturn availableProcessors;\r\n\t}", "int getProcessorCount();", "@Override\n\tpublic void setProcessorsPerNode(int processorsPerNode) {\n\t\tmodel.setProcessorsPerNode(processorsPerNode);\n\t}", "@Override\n\tpublic int getProcessorsPerNode() {\n\t\treturn model.getProcessorsPerNode();\n\t}", "static int setProducersNum(String producersNum){\n int num = Integer.parseInt(producersNum);\n if ((num % 2) !=0) throw new RuntimeException\n (\"Number of Producers must be even, beacuse the #Consumers is half\");\n if ( num<2 || num >1000) throw new RuntimeException\n (\"Invalid number of Producers, must be between 2 to 1000\");\n if (_defaultCon==1){\n _littleP=num;\n _littleC=num/2;\n }\n else if (_defaultCon==2){\n _averageP=num;\n _averageC=num/2;\n }\n else if (_defaultCon==3){\n _lotP=num;\n _lotC=num/2;\n }\n System.out.println(\"Using manual number of threads configuration.\");\n return _defaultCon;\n }", "public Schedule(int numProcessors) {\n scheduledTasks = new HashMap<>();\n processors = new ArrayList<>();\n length = 0;\n\n for (int i = 1; i <= numProcessors; i++) {\n processors.add(new Processor(\"\" + i));\n }\n }", "private int getPoolSize() {\n\t\tint numberOfTasks = SpectralDescriptionType.values().length;\n\t\tint procs = Runtime.getRuntime().availableProcessors();\n\t\treturn numberOfTasks < procs ? numberOfTasks : procs > 1 ? procs - 1\n\t\t\t\t: 1;\n\t}", "public void setInitialThreadCount(int threads)\n { _threadPool.setInitialSize(threads);\n }", "@Test\n public void test4(){\n System.out.println(Runtime.getRuntime().availableProcessors());\n }", "void setPoolNumber(int poolNumber);", "public void setCpus(Integer cpusIn) {\n cpus = cpusIn;\n }", "public static void setNumThreads(int newNumThreads) throws Exception \n { \n /** In case of incorrect input */\n if(newNumThreads < 0)\n throw new Exception(\"attepmt to create negative count of threads\");\n numThreads = newNumThreads; \n }", "@Override\r\n\t\t\tpublic void autStartParallelProcess() {\n\t\t\t\t\r\n\t\t\t}", "@Override\r\n\t\t\tpublic void autStartParallelProcess() {\n\t\t\t\t\r\n\t\t\t}", "@Override\r\n\t\t\tpublic void autStartParallelProcess() {\n\t\t\t\t\r\n\t\t\t}", "@Override\r\n\t\t\tpublic void autStartParallelProcess() {\n\t\t\t\t\r\n\t\t\t}", "@Override\r\n\t\t\tpublic void autStartParallelProcess() {\n\t\t\t\t\r\n\t\t\t}", "@Override\r\n\t\t\tpublic void autStartParallelProcess() {\n\t\t\t\t\r\n\t\t\t}", "@Override\r\n\t\t\tpublic void autStartParallelProcess() {\n\t\t\t\t\r\n\t\t\t}", "public static void main(String[] args) {\n\n System.out.println(Runtime.getRuntime().availableProcessors());\n }", "@Override\r\n\t\t\t\tpublic void autStartParallelProcess() {\n\t\t\t\t\t\r\n\t\t\t\t}", "@Override\r\n\t\t\t\tpublic void autStartParallelProcess() {\n\t\t\t\t\t\r\n\t\t\t\t}", "@Override\r\n\t\tpublic int getStandbyCap() {\n\t\t\treturn 2 * Runtime.getRuntime().availableProcessors();\r\n\t\t}", "public int getNumberOfCores();", "public void setNumberOfInProcessFiles(int value) {\n this.numberOfInProcessFiles = value;\n }", "public void setNumComps(int numComps){\n this.mFarm.setNumComps(numComps);\n }", "public void setNCores(int nCores) {\n this.nCores = nCores;\n }", "public static int getNumberOfCpuThreads() {\n\t\treturn Runtime.getRuntime().availableProcessors();\n\t}", "public void setCPUThreads(int nbThreads) {\r\n\t\tif (Threading.isInitialized()) throw new IllegalStateException(ERROR_ALREADY_INITIALIZED);\r\n\t\tnbCPUThreads = nbThreads;\r\n\t}", "private void startProcesses(double numProcessesRequired) {\r\n \t\tdouble numProcesses = pool.size() +\r\n \t\t\t\tpoolConfig.startupLimit - startupThrotle.availablePermits();\r\n \r\n \t\twhile (numProcesses < numProcessesRequired\r\n \t\t\t\t&& startupThrotle.availablePermits() > 0) {\r\n \t\t\tnumProcesses += 1.0;\r\n \t\t\tstartProcess();\r\n \t\t}\r\n \t}", "@Override\n\tpublic void setCpu() {\n\t\tcom.setCpu(\"i7\");\n\t}", "public void setNumOfThreads(String numOfThreadsStr) {\n numOfThreads = Integer.parseInt(numOfThreadsStr);\n }", "private void setConfigNumMinBgJobs(int value) {\n this.bitField0_ |= 4;\n this.configNumMinBgJobs_ = value;\n }", "@Override\n\tpublic void setNumProcesses(int newNumProcesses) {\n\t\tif(getNumProcesses() != newNumProcesses) \n\t\t\tdecoratorProcessorNumberLabelMap.clear();\n\t\tsuper.setNumProcesses(newNumProcesses);\n\t}", "private void setSockets()\n {\n String s = (String) JOptionPane.showInputDialog(null,\n \"Select Number of Sockets:\", \"Sockets\",\n JOptionPane.PLAIN_MESSAGE, null, socketSelect, \"1\");\n\n if ((s != null) && (s.length() > 0))\n {\n totalNumThreads = Integer.parseInt(s);\n }\n else\n {\n totalNumThreads = 1;\n }\n\n recoveryQueue.setMaxSize(totalNumThreads * 10);\n }", "private void setConfigNumMaxBgJobs(int value) {\n this.bitField0_ |= 2;\n this.configNumMaxBgJobs_ = value;\n }", "public void setNumOfConnections(int num) {\r\n\t\tnumOfConnections = num;\r\n\t}", "private void setupProcessingPipeline() throws Exception {\n // activeProcessingUnits = 1;\n\n nonThreadedProcessingUnit = new NonThreadedProcessingUnit(this);\n // Assign initial status to all Cas Processors in the processing pipeline\n for (int i = 0; i < annotatorList.size(); i++) {\n ((ProcessingContainer) annotatorList.get(i)).setStatus(Constants.CAS_PROCESSOR_RUNNING);\n }\n\n nonThreadedProcessingUnit.setContainers(annotatorList);\n nonThreadedProcessingUnit.setCasPool(casPool);\n for (int j = 0; j < statusCbL.size(); j++) {\n BaseStatusCallbackListener statCL = (BaseStatusCallbackListener) statusCbL.get(j);\n if (statCL != null) {\n nonThreadedProcessingUnit.addStatusCallbackListener(statCL);\n }\n }\n }", "@Override\n\tpublic int getMaxThreads() {\n\t\treturn 10;\n\t}", "public JobBuilder processorsPerNode(int processorsPerNode) {\r\n job.setProcessorsPerNode(processorsPerNode);\r\n return this;\r\n }", "public final void setNbThread(final int nbThread) {\n this.nbThread = nbThread;\n }", "private void setConfigNumMaxTotalJobs(int value) {\n this.bitField0_ |= 1;\n this.configNumMaxTotalJobs_ = value;\n }", "public Render setMultithreading(int threads) {\r\n\t\tif (threads < 0)\r\n\t\t\tthrow new IllegalArgumentException(\"Multithreading patameter must be 0 or higher\");\r\n\t\tif (threads != 0)\r\n\t\t\t_threads = threads;\r\n\t\telse {\r\n\t\t\tint cores = Runtime.getRuntime().availableProcessors() - SPARE_THREADS;\r\n\t\t\tif (cores <= 2)\r\n\t\t\t\t_threads = 1;\r\n\t\t\telse\r\n\t\t\t\t_threads = cores;\r\n\t\t}\r\n\t\treturn this;\r\n\t}", "public Options setNumThreads(int numThreads) {\n this.numThreads = numThreads;\n return this;\n }", "public Builder setServerProcessingIterations(int value) {\n \n serverProcessingIterations_ = value;\n onChanged();\n return this;\n }", "public void setMulticore(boolean enabled) {\n if (enabled) {\n mUsableCores = DroidContext.getInstance().getProfile().processors;\n }\n else {\n mUsableCores = 1;\n }\n }", "public void setFstThreads(int size){\n if(size < 1){\n this.fstThreads = DEFAULT_FST_THREADS;\n } else {\n this.fstThreads = size;\n }\n }", "public void setNumToProcess(long aNumToProcess) {\n numToProcess = aNumToProcess;\n }", "public void setLowWaterThreadCount(int threads)\n { _threadPool.setMinAvailable(threads);\n }", "public synchronized void setNumberOfServers(int num) {\n\t\tif(num != this.numServers) {\n\t\t\tthis.updating = true;\n\t\t\tthis.prevNumServers = this.numServers;\n\t\t\tthis.numServers = num;\n\t\t\tthis.rehashUsers();\n\t\t\tthis.updating = false;\n\t\t\tthis.notifyAll();\n\t\t}\n\t}", "void setPoolRaces(int poolRaces);", "public void setNumberOfActiveRunners(Integer numberOfActiveRunners){\n this.numberOfActiveRunners = numberOfActiveRunners;\n }", "public void manage(int parallel) {\n this.manage(parallel, 60L, 120L);\n }", "public void setPoolSize(int aPoolSize) {\n poolSize = aPoolSize;\n }", "int getProcessorpathCount();", "public static native void setConcurrency(int concurrency);", "public int workers() {\n return workers_;\n }", "void set_num(ThreadContext tc, RakudoObject classHandle, double Value);", "public EngineConcurrency() {\n Runtime runtime = Runtime.getRuntime();\n int threads = runtime.availableProcessors();\n if (threads > 1) {\n threads++;\n }\n this.executor = Executors.newFixedThreadPool(threads);\n }", "public static @Range(from = 2, to = Integer.MAX_VALUE) int threadAmount(@NonNull DriverEnvironment environment) {\n return environment.equals(DriverEnvironment.NODE) ? Math.max(8, Runtime.getRuntime().availableProcessors() * 2) : 4;\n }", "public void setNumNodes(int numNodes) {\n if (numNodes < 4) {\n throw new IllegalArgumentException(\"Number of nodes must be >= 4.\");\n }\n\n this.numNodes = numNodes;\n this.maxEdges = numNodes - 1;\n this.numIterations = 6 * numNodes * numNodes;\n this.parentMatrix = null;\n this.childMatrix = null;\n }", "@Override\n public void setParallel(boolean parallel) {\n super.setParallel(true);\n }", "public int getNumberOfThreads() { return numberOfThreads; }", "public void setNumPoints(int np);", "public synchronized void setThreads(int threads)\n/* */ {\n/* 122 */ if (threads <= 0) {\n/* 123 */ return;\n/* */ }\n/* */ \n/* 126 */ this.threads = threads;\n/* */ \n/* */ \n/* 129 */ if (this.helpers == null) {\n/* 130 */ this.helpers = new NeighborhoodHelper[threads];\n/* 131 */ for (int i = 0; i < threads; i++)\n/* */ {\n/* 133 */ this.helpers[i] = new NeighborhoodHelper(null);\n/* 134 */ this.helpers[i].start();\n/* */ }\n/* */ }\n/* */ \n/* */ \n/* */ \n/* 140 */ if (this.helpers.length < threads)\n/* */ {\n/* */ \n/* 143 */ NeighborhoodHelper[] temp = new NeighborhoodHelper[threads];\n/* */ \n/* */ \n/* 146 */ for (int i = 0; i < threads; i++) {\n/* 147 */ temp[i] = (i < this.helpers.length ? this.helpers[i] : new NeighborhoodHelper(null));\n/* */ }\n/* */ \n/* 150 */ this.helpers = temp;\n/* */ \n/* */ \n/* */ \n/* */ }\n/* 155 */ else if (this.helpers.length > threads)\n/* */ {\n/* */ \n/* 158 */ NeighborhoodHelper[] temp = new NeighborhoodHelper[threads];\n/* */ \n/* */ \n/* 161 */ for (int i = 0; i < threads; i++) {\n/* 162 */ if (i < threads) {\n/* 163 */ temp[i] = this.helpers[i];\n/* */ } else {\n/* 165 */ this.helpers[i].dispose();\n/* */ }\n/* */ }\n/* 168 */ this.helpers = temp;\n/* */ }\n/* 170 */ notifyAll();\n/* */ }", "public int getWorkersPerServer() {\n return Integer.parseInt(getOptional(\"kylin.server.sequence-sql.workers-per-server\", \"1\"));\n }", "@JsonProperty(\"processors\")\n\t@DsonOutput(Output.API)\n\tint getJsonProcessors() {\n\t\treturn Runtime.getRuntime().availableProcessors();\n\t}", "public void setHighWaterThreadCount(int threads)\n { _threadPool.setMaxSize(threads);\n }", "@Override\n public Builder workers(int numWorkers) {\n super.workers(numWorkers);\n return this;\n }", "int getPoolSize();", "String getCpusetcpus();", "public Configuration() {\r\n\t\t\tmaxEffectiveWorker = (Runtime.getRuntime().availableProcessors()*3/2) + 2;\r\n\t\t\tmaxPhysicalWorker = Math.max(32, (maxEffectiveWorker * 2) + 2);\r\n\t\t}", "boolean setMultiRun(int runs);", "public void setNumberConcurrentEmulators(int emu) {\n\t\tnumberConcurrentEmulators = emu;\n\t}", "public void setNumTasks(int n) {\n if (latch != null && latch.getCount() > 0) {\n throw new IllegalStateException(\"Method called during wait period\");\n }\n\n latch = new CountDownLatch(n);\n }", "protected synchronized void increaseThreadsNumber() {\r\n threadNumber++;\r\n }", "@Test\n\tpublic void testSetProcessor() {\n\t\tip = new ImagePlus();\n\t\ttry {\n\t\t\tip.setProcessor(\"DoesNotMatterForThisCase\",null);\n\t\t\tfail();\n\t\t} catch (IllegalArgumentException e) {\n\t\t\tassertTrue(true);\n\t\t}\n\n\t\t// throws exception if passed processor has no pixels\n\t\tip = new ImagePlus();\n\t\tproc = new ByteProcessor(3,5,null,new IndexColorModel(8,1,new byte[]{1},new byte[]{2},new byte[]{3}));\n\t\ttry {\n\t\t\tip.setProcessor(\"DoesNotMatterForThisCase\",proc);\n\t\t\tfail();\n\t\t} catch (IllegalArgumentException e) {\n\t\t\tassertTrue(true);\n\t\t}\n\n\t\t// if stack size > 1 and passed processor dims != my dims throw IllegArgExcep\n\t\t//proc = new ByteProcessor(1,3,new byte[] {1,2,3},new IndexColorModel(8,1,new byte[]{1},new byte[]{2},new byte[]{3}));\n\t\t//st = new ImageStack(1,3);\n\t\t//st.addSlice(\"Slice1\",proc);\n\t\t//st.addSlice(\"Slice2\",proc);\n\t\t//ip = new ImagePlus();\n\t\t//ip.width = 1;\n\t\t//ip.height = 3;\n\t\t//ip.setStack(\"TheStack\", st);\n\t\t//ip.height = 4;\n\t\t//ip.width = 7;\n\t\t//try {\n\t\t//\tip.setProcessor(\"DoesNotMatterForThisCase\",proc);\n\t\t//\tfail();\n\t\t//} catch (IllegalArgumentException e) {\n\t\t//\tassertTrue(true);\n\t\t//}\n\n\t\t// if stack size <= 1 then stack should be null and currSlice should be 1\n\t\tproc = new ByteProcessor(1,3,new byte[] {1,2,3},new IndexColorModel(8,1,new byte[]{1},new byte[]{2},new byte[]{3}));\n\t\tst = new ImageStack(1,3);\n\t\tst.addSlice(\"Slice1\",proc);\n\t\tip = new ImagePlus();\n\t\tip.width = 1;\n\t\tip.height = 3;\n\t\tip.setStack(\"TheStack\", st);\n\t\tip.setProcessor(\"DoesNotMatterForThisCase\",proc);\n\t\tassertEquals(1,ip.getStackSize());\n\t\tassertEquals(1,ip.currentSlice);\n\n\t\t// try with null title\n\t\tproc = new ByteProcessor(1,3,new byte[] {1,2,3},new IndexColorModel(8,1,new byte[]{1},new byte[]{2},new byte[]{3}));\n\t\tst = new ImageStack(1,3);\n\t\tst.addSlice(\"Slice1\",proc);\n\t\tst.addSlice(\"Slice2\",proc);\n\t\tip = new ImagePlus();\n\t\tip.width = 1;\n\t\tip.height = 3;\n\t\tip.setStack(\"TheStack\", st);\n\t\tip.setProcessor(null,proc);\n\t\tassertEquals(2,ip.getStackSize());\n\t\tassertEquals(\"TheStack\",ip.getTitle());\n\t\tassertEquals(proc,ip.getProcessor());\n\t\tassertEquals(ImagePlus.GRAY8,ip.getType());\n\t\tassertEquals(8,ip.getBitDepth());\n\t\tassertEquals(1,ip.getBytesPerPixel());\n\n\t\t// try with non-null title\n\t\tproc = new ByteProcessor(1,3,new byte[] {1,2,3},new IndexColorModel(8,1,new byte[]{1},new byte[]{2},new byte[]{3}));\n\t\tst = new ImageStack(1,3);\n\t\tst.addSlice(\"Slice1\",proc);\n\t\tst.addSlice(\"Slice2\",proc);\n\t\tip = new ImagePlus();\n\t\tip.width = 1;\n\t\tip.height = 3;\n\t\tip.setStack(\"TheStack\", st);\n\t\tip.setProcessor(\"MattersForThisCase\",proc);\n\t\tassertEquals(2,ip.getStackSize());\n\t\tassertEquals(\"MattersForThisCase\",ip.getTitle());\n\t\tassertEquals(proc,ip.getProcessor());\n\t\tassertEquals(ImagePlus.GRAY8,ip.getType());\n\t\tassertEquals(8,ip.getBitDepth());\n\t\tassertEquals(1,ip.getBytesPerPixel());\n\n\t\t// try to get roi subcase to run\n\t\tproc = new ShortProcessor(1,3,new short[] {1,2,3},new IndexColorModel(8,1,new byte[]{1},new byte[]{2},new byte[]{3}));\n\t\tip = new ImagePlus();\n\t\tip.width = 4;\n\t\tip.height = 4;\n\t\tip.setRoi(1,1,2,2);\n\t\tassertNotNull(ip.getRoi());\n\t\tip.setProcessor(\"Ooch\",proc);\n\t\tassertNull(ip.getRoi());\n\t\tassertEquals(1,ip.width);\n\t\tassertEquals(3,ip.height);\n\t\tassertEquals(ImagePlus.GRAY16,ip.getType());\n\t\tassertEquals(16,ip.getBitDepth());\n\t\tassertEquals(2,ip.getBytesPerPixel());\n\t}", "public int numPartitions() {\n return (11);\n }", "private void setProcessId(int value) {\n\t\tthis.processId = value;\n\t}", "private int getStartStopThreadsInternal() {\n\t\tint result = getStartStopThreads();\n\n\t\t// Positive values are unchanged\n\t\tif (result > 0) {\n\t\t\treturn result;\n\t\t}\n\n\t\t// Zero == Runtime.getRuntime().availableProcessors()\n\t\t// -ve == Runtime.getRuntime().availableProcessors() + value\n\t\t// These two are the same\n\t\tresult = Runtime.getRuntime().availableProcessors() + result;\n\t\tif (result < 1) {\n\t\t\tresult = 1;\n\t\t}\n\t\treturn result;\n\t}", "protected Smp(int maxThreads) {\r\n\tmaxThreads = Math.max(1,maxThreads);\r\n\tthis.maxThreads = maxThreads;\r\n\tif (maxThreads>1) {\r\n\t\tthis.taskGroup = new FJTaskRunnerGroup(maxThreads);\r\n\t}\r\n\telse { // avoid parallel overhead\r\n\t\tthis.taskGroup = null;\r\n\t}\r\n}", "public int getMaxPartitionsRunInParallel() {\n return maxThreads;\n }", "public ParallelApply() {\n super.setParallel(true);\n }", "public ProcessManager(int maxProcesses) {\n\t\tthis.maxProcesses = maxProcesses;\n\t}", "private int getCPUNumCoresInt() {\n\t\tclass CpuFilter implements FileFilter {\n\t\t\t@Override\n\t\t\tpublic boolean accept(File pathname) {\n\t\t\t\t// Check if filename is \"cpu\", followed by a single digit number\n\t\t\t\tif (Pattern.matches(\"cpu[0-9]\", pathname.getName())) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\n\t\ttry {\n\t\t\t// Get directory containing CPU info\n\t\t\tFile dir = new File(\"/sys/devices/system/cpu/\");\n\t\t\t// Filter to only list the devices we care about\n\t\t\tFile[] files = dir.listFiles(new CpuFilter());\n\t\t\t// Return the number of cores (virtual CPU devices)\n\t\t\treturn files.length;\n\t\t} catch (Exception e) {\n\t\t\t// Default to return 1 core\n\t\t\treturn 1;\n\t\t}\n\t}", "public int getWorkers() {\r\n return workers;\r\n }", "@Override\n\tpublic void setConnectionPoolSize(int arg0) {\n\n\t}", "public void setTotalNumCpus (double totalNumCpus) \n\t{ \n\t\tfinal Set<Resource> res = n.getResources(RESOURCETYPE_CPU);\n\t\tif (res.size() > 1) throw new Net2PlanException (\"Format error\");\n\t\tif (res.isEmpty()) \n\t\t\tn.getNetPlan().addResource(RESOURCETYPE_CPU, RESOURCETYPE_CPU, Optional.of(n), totalNumCpus, RESOURCETYPE_CPU, new HashMap<> (), 0.0, null);\n\t\telse \n\t\t\tres.iterator().next().setCapacity(totalNumCpus, new HashMap<> ());\n\t}", "public int getNumThreads() {\n return numThreads;\n }", "public void setNumObjects(int x)\n\t{\n\t\tthis.numObjects = x;\n\t}", "public void setIterations(int iter) {\n\t\tnumIterations = iter;\n\t}", "public void setThreadPoolSize(int size) {\r\n if(size <= 0) {\r\n throw new IllegalArgumentException(\"size invalid: \" + size + \". The size of the threadpool must be greater than 0.\");\r\n }\r\n threadPoolSize = size;\r\n }", "public int getNumberOfThreads(){\n return numberOfThreads;\n }" ]
[ "0.7490458", "0.68033266", "0.68017584", "0.66961306", "0.6625992", "0.64678884", "0.6433124", "0.64240634", "0.64164144", "0.63633335", "0.63587946", "0.6318597", "0.63138336", "0.62999064", "0.6286526", "0.62086177", "0.61943585", "0.61875784", "0.6153492", "0.6108758", "0.6108758", "0.6108758", "0.6108758", "0.6108758", "0.6108758", "0.6108758", "0.6105083", "0.60992736", "0.60992736", "0.60676306", "0.60496545", "0.6034365", "0.59864396", "0.5978375", "0.596613", "0.5965599", "0.59410185", "0.5908787", "0.5897801", "0.58965445", "0.58812654", "0.58622134", "0.5834167", "0.5807896", "0.57928205", "0.5780039", "0.57673717", "0.5762552", "0.57587343", "0.5744907", "0.5741199", "0.57239753", "0.5718998", "0.57144105", "0.569343", "0.56826377", "0.5678419", "0.5678318", "0.56763864", "0.56720424", "0.56707203", "0.56450915", "0.5643194", "0.5626621", "0.5614282", "0.561152", "0.56109595", "0.5565339", "0.55583614", "0.55560637", "0.55229396", "0.5519906", "0.551325", "0.55091465", "0.5508276", "0.5507954", "0.550595", "0.5504394", "0.5503896", "0.55027944", "0.55022925", "0.5498929", "0.54937494", "0.54867995", "0.547197", "0.54649466", "0.5456142", "0.5455232", "0.5451793", "0.54507935", "0.5442629", "0.5433031", "0.5419513", "0.5418944", "0.5402375", "0.538837", "0.53855056", "0.53831273", "0.53727365", "0.5372235" ]
0.7247183
1
does this simulation require use of Vtk?
public boolean isVtkUser( ) { return chomboSolverSpec != null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void guiTinNhan() {\n\n\t}", "public void run() {\n UIManager.put(\"swing.boldMetal\", Boolean.FALSE);\n\n createAndShowGUI();\n }", "public ControlView (SimulationController sc){\n myProperties = ResourceBundle.getBundle(\"english\");\n myStartBoolean = false;\n mySimulationController = sc;\n myRoot = new HBox();\n myPropertiesList = sc.getMyPropertiesList();\n setView();\n\n }", "public GUIView() {\n initComponents();\n setMaxThreads();\n setCountOfElements(1);\n setCountOfThreads(1);\n this.isReadyForCalculation = false;\n }", "public static void main(String[] args) {\r\n\t\tSwingUtilities.invokeLater(() -> {\r\n\t\t\tnew JVDraw().setVisible(true);\r\n\t\t});\r\n\t}", "public void run() {\n\t\t\t\tUIManager.put(\"swing.boldMetal\", Boolean.FALSE);\r\n\t\t\t\tcreateAndShowGUI();\r\n\t\t\t}", "public void visualChange();", "public void run() {\n UIManager.put(\"swing.boldMetal\", Boolean.FALSE);\n createAndShowGUI();\n }", "private static void createAndShowGUI()\r\n {\r\n JFrame f = new JFrame(\"Viewer\");\r\n f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\r\n f.getContentPane().setLayout(new BorderLayout());\r\n \r\n JLabel usageLabel = new JLabel(\"<html>\"\r\n + \"Right mouse drags: Translate<br> \"\r\n + \"Left mouse drags: Create selection shape<br>\"\r\n + \"&nbsp;&nbsp;&nbsp;&nbsp; +shift: remove from selection<br>\"\r\n + \"&nbsp;&nbsp;&nbsp;&nbsp; +ctrl: add to selection<br>\"\r\n + \"Left mouse clicks: Select single<br>\"\r\n + \"&nbsp;&nbsp;&nbsp;&nbsp; +ctrl: toggle single selection<br>\"\r\n + \"Mouse wheel: Zoom uniformly<br>\"\r\n + \"&nbsp;&nbsp;&nbsp;&nbsp; +shift: zoom along x<br>\"\r\n + \"&nbsp;&nbsp;&nbsp;&nbsp; +ctrl: zoom along y<br>\"\r\n + \"</html>\");\r\n f.getContentPane().add(usageLabel, BorderLayout.NORTH);\r\n \r\n // Create a viewer, with mouse controls where the rotation is\r\n // disabled (left clicks are intended for the selection here)\r\n Viewer viewer = new Viewer();\r\n viewer.setMouseControl(\r\n MouseControls.createDefault(viewer, false, true));\r\n \r\n // Create the selection model\r\n SelectionModel<Point2D> selectionModel = SelectionModels.create();\r\n selectionModel.addSelectionListener(\r\n new LoggingSelectionListener<Point2D>());\r\n\r\n // Create the painter for the test\r\n ViewerSelectionTestPainter viewerSelectionTestPainter = \r\n new ViewerSelectionTestPainter(selectionModel::isSelected);\r\n \r\n // The painter also serves as the point- and shape based selector.\r\n // Make this clear by assigning it to respective variables\r\n PointBasedSelector<Point2D> pointBasedSelector = \r\n viewerSelectionTestPainter;\r\n ShapeBasedSelector<Point2D> shapeBasedSelector = \r\n viewerSelectionTestPainter;\r\n\r\n // Create a selection handler for clicks, and use it to connect\r\n // the viewer and the selection model\r\n SelectionHandler<Point2D> clickSelectionHandler = \r\n SelectionHandlers.createClick(pointBasedSelector);\r\n clickSelectionHandler.connect(viewer, selectionModel);\r\n \r\n // Create a selection handler for a lasso selection, and use it to \r\n // connect the viewer and the selection model\r\n SelectionHandler<Point2D> lassoSelectionHandler = \r\n SelectionHandlers.createLasso(shapeBasedSelector);\r\n lassoSelectionHandler.connect(viewer, selectionModel);\r\n\r\n // Create a selection handler for rectangles, which can be enabled\r\n // via the config panel\r\n SelectionHandler<Point2D> rectangleSelectionHandler = \r\n SelectionHandlers.createRectangle(shapeBasedSelector);\r\n \r\n viewer.addPainter(\r\n viewerSelectionTestPainter);\r\n f.getContentPane().add(viewer, BorderLayout.CENTER);\r\n\r\n JPanel configPanel = createConfigPanel(viewer, selectionModel, \r\n lassoSelectionHandler, rectangleSelectionHandler);\r\n f.getContentPane().add(configPanel, BorderLayout.EAST);\r\n\r\n JLabel infoLabel = new JLabel(\" \");\r\n f.getContentPane().add(infoLabel, BorderLayout.SOUTH);\r\n \r\n viewer.setPreferredSize(new Dimension(500,500));\r\n f.pack();\r\n viewer.setPreferredSize(null);\r\n f.setLocationRelativeTo(null);\r\n f.setVisible(true);\r\n \r\n viewer.setDisplayedWorldArea(-0.1, -0.1, 1.2, 1.2);\r\n }", "private void initUI() {\r\n\t\tthis.verticalLayout = new XdevVerticalLayout();\r\n\t\tthis.verticalLayout2 = new XdevVerticalLayout();\r\n\t\r\n\t\tthis.setSpacing(false);\r\n\t\tthis.setMargin(new MarginInfo(false));\r\n\t\tthis.verticalLayout.setSpacing(false);\r\n\t\tthis.verticalLayout.setMargin(new MarginInfo(false));\r\n\t\tthis.verticalLayout2.setMargin(new MarginInfo(false));\r\n\t\r\n\t\tthis.verticalLayout2.setSizeFull();\r\n\t\tthis.verticalLayout.addComponent(this.verticalLayout2);\r\n\t\tthis.verticalLayout.setComponentAlignment(this.verticalLayout2, Alignment.MIDDLE_CENTER);\r\n\t\tthis.verticalLayout.setExpandRatio(this.verticalLayout2, 20.0F);\r\n\t\tthis.verticalLayout.setSizeFull();\r\n\t\tthis.addComponent(this.verticalLayout);\r\n\t\tthis.setComponentAlignment(this.verticalLayout, Alignment.MIDDLE_CENTER);\r\n\t\tthis.setExpandRatio(this.verticalLayout, 10.0F);\r\n\t\tthis.setSizeFull();\r\n\t\r\n\t\tthis.addContextClickListener(event -> this.this_contextClick(event));\r\n\t}", "private void initSimulateModeView() {\n simulateMode = new Label(\"SIMULATE\");\n simulateMode.setPrefSize(200, 100);\n simulateMode.setFont(Font.font(null, FontWeight.BOLD, 30));\n simulateMode.setTextFill(Color.ORANGE);\n simulateMode.setEffect(getDropShadow());\n }", "private Node generateView() {\n Text text = new Text(\"Click to\\nextinguish!\");\n text.setFont(Font.font(Font.getDefault().getFamily(), FontWeight.BOLD, Font.getDefault().getSize()));\n text.setTextAlignment(TextAlignment.CENTER);\n text.setPickOnBounds(false);\n text.setMouseTransparent(true);\n\n VBox box = new VBox(5.0);\n\n AnimationChannel animChannel = new AnimationChannel(FXGL.image(\"flames.png\"), 4, 20, 20,\n Duration.seconds(ANIM_TIME), 0, 3);\n AnimatedTexture texture = new AnimatedTexture(animChannel).loop();\n texture.setFitWidth(SIZE);\n texture.setFitHeight(SIZE);\n texture.setSmooth(false);\n texture.setPickOnBounds(true);\n texture.setOnMousePressed(pEvt -> {\n FXGL.play(\"sizzle.wav\");\n FXGL.removeUINode(box);\n mCount--;\n if (mCount <= 0) {\n onCompleted();\n }\n pEvt.consume();\n });\n\n // Wrap in entity so animation plays\n mEntity = FXGL.entityBuilder().view(texture).buildAndAttach();\n\n box.getChildren().addAll(text, texture);\n box.setAlignment(Pos.CENTER);\n box.setPickOnBounds(false);\n\n // Fix width for accurate location generation\n box.setMinWidth(SIZE * 2.0);\n box.setMaxWidth(SIZE * 2.0);\n box.setPrefWidth(SIZE * 2.0);\n\n return box;\n }", "@Override\r\n\tpublic void actionPerformed(ActionEvent arg0) {\n\t\tJFrame frame = null;\r\n\t\tif (viewer.getMode() == \"self\") {\r\n\t\t\tSystem.out.println(\"Generate Antigen\");\r\n\t\t\tViewer viewer = new Viewer(10, \"antigen\", this.viewer.getCell());\r\n\t\t\tframe = viewer;\r\n\t\t\tframe.setTitle(\"Antigen - Detector Generator\");\r\n\t\t\tframe.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);\r\n\t\t\tframe.pack();\r\n\t\t\tframe.setResizable(true);\r\n\t\t\tframe.setLocationRelativeTo(null);\r\n\t\t\tframe.setVisible(true);\r\n\t\t} else if (viewer.getMode() == \"antigen\"\r\n\t\t\t\t|| viewer.getMode() == \"antibody\") {\r\n\t\t\tif (!refreshBoard(viewer.getCell())) {\r\n\t\t\t\tif (timer.isRunning() == false) {\r\n\t\t\t\t\tviewer.getButton().setEnabled(false);\r\n\t\t\t\t\ttimer.start();\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\t\r\n\t\t\t\tif (viewer.getMode() == \"antigen\") {\r\n\t\t\t\t\tviewer.getButton().setLabel(\"Generate Antibody\");\r\n\t\t\t\t\tviewer.getButton().setEnabled(true);\r\n\t\t\t\t\tviewer.setMode(\"antigenOK\");\r\n\t\t\t\t} else if (viewer.getMode() == \"antibody\") {\r\n\t\t\t\t\tviewer.getButton().setLabel(\"Finish\");\r\n\t\t\t\t\tviewer.getButton().setEnabled(false);\r\n\t\t\t\t\tviewer.setMode(\"antibodyOK\");\r\n\t\t\t\t}\r\n\t\t\t\ttimer.stop();\r\n\t\t\t}\r\n\t\t} else if (viewer.getMode() == \"antigenOK\") {\r\n\t\t\tSystem.out.println(\"Generate Antibody\");\r\n\t\t\tframe = new Viewer(10, \"antibody\", this.viewer.getCell());\r\n//\t\t\tthis.viewer.getCell().printCell();\r\n\t\t\tframe.setTitle(\"Antibody - Detector Test\");\r\n\t\t\tframe.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);\r\n\t\t\tframe.pack();\r\n\t\t\tframe.setResizable(true);\r\n\t\t\tframe.setLocationRelativeTo(null);\r\n\t\t\tframe.setVisible(true);\r\n\t\t} else {\r\n\r\n\t\t}\r\n\t}", "public void victorTest(){\n\n victorTestController.set(0.5);\n }", "public void setup() {\n\t\t//This throws an exception and causes us to reenter once \"frame\" exists\n\t\tsize(VIEW_WIDTH,VIEW_HEIGHT,P2D);\n\t\ttxt = createFont(\"Vera.ttf\",90,true);\n\t\tframeRate(60);\n\t\tif (!frame.isResizable()){\n\t\t\tframe.setResizable(true);\n\t\t}\n\t}", "@Override\r\n\t\t\t\tpublic void run() {\n\t\t\t\t\tvd.increase();\r\n\t\t\t\t}", "private void guiElements(Stage stage) {\n\t\tHBox pane = new HBox(5);\n\t\tpane.setPadding(new Insets(10));\n\n\t\t// Create the button\n\t\tButton is_prime = new Button(\"Is Prime?\");\n\n\n\t\t// Create a text field\n\t\tTextField txt = new TextField();\n\t\ttxt.setPrefColumnCount(20);\n\t\t\n\t\t// Create a non-editable text field\n\t\tTextField txt2 = new TextField();\n\t\ttxt2.setPrefColumnCount(20);\n\t\ttxt2.setDisable(true);\n\t\t\n\t\t// Put the text field on the pane\n\t\tpane.getChildren().add(txt);\n\t\t// Put the button on the pane\n\t\tpane.getChildren().add(is_prime);\n\t\t// Put the uneditable text field on the pane\n\t\tpane.getChildren().add(txt2);\n\t\t\n\t\t// Hook up the event handler that defines \n\t\t// what to do when the button is clicked.\n\t\tis_prime.setOnAction(new PrimeTesterEventHandler(txt, txt2));\n\t\t\n\t\t// Use pane as the root of the scene\n\t\tScene scene = new Scene(pane);\n\t\tstage.setScene(scene);\n\t\t\n\t\t\n\t\t// Show the window\n\t\tstage.show();\t\n\t\t\n\t}", "public void run() {\n\t\t\t\tVerticalPanel panelCompteRendu = new VerticalPanel();\r\n\t\t\t\thtmlCompteRendu = new HTML();\r\n\t\t\t\tpanelCompteRendu.add(htmlCompteRendu);\r\n\t\t\t\tRootPanel.get(\"compteRendu\").add(panelCompteRendu);\r\n\t\t\t\t\r\n\t\t\t\tVerticalPanel panelLegende = new VerticalPanel();\r\n\t\t\t\thtmlLegende = new HTML();\r\n\t\t\t\tpanelLegende.add(htmlLegende);\r\n\t\t\t\tRootPanel.get(\"legende\").add(htmlLegende);\r\n\t\t\t\t\r\n\t\t\t\t// temps d'intˇgration restant\r\n\t\t\t\tLabel tempsDIntegrationRestant = new Label();\r\n\t\t\t\tRootPanel.get(\"tempsDIntegrationRestant\").add(tempsDIntegrationRestant);\r\n\t\t\t\t\r\n\t\t\t\t// ajout de la carte\r\n\t\t\t\twMap = new MapFaWidget2(htmlCompteRendu);\r\n\t\t\t\tRootPanel.get(\"carte\").add(wMap);\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t// ajout du bouton reset\r\n\t\t\t\tButton boutonReset = new Button(\"Nettoyer la carte\");\r\n\t\t\t\tboutonReset.addClickHandler(actionBoutonReset());\r\n\t\t\t\tRootPanel.get(\"boutonReset\").add(boutonReset);\r\n\r\n\t\t\t\t// ajout du formulaire d'intˇgration\r\n\t\t\t\tnew FileUploadView(wMap,htmlLegende, htmlCompteRendu,tempsDIntegrationRestant);\r\n\r\n\t\t\t}", "void find_steady_conditions () {\n // System.out.println(\"-- find_steady_conditions: \" + can_do_gui_updates);\n // double min_lift = parse_force_constraint(tf_tkoff_min_lift);\n double max_drag = parse_force_constraint(tf_tkoff_max_drag);\n boolean saved_flag = can_do_gui_updates;\n can_do_gui_updates = false;\n vpp.steady_flight_at_given_speed(5, 0);\n can_do_gui_updates = saved_flag;\n recomp_all_parts();\n\n\n // this animation idea alas does not work now... \n // //add a bit of animation in case the rider crosses the takeoff speed.\n // if (alt_val == 0 && foil_lift() >= load) { // need to raise up\n // while (alt_val < 70 && foil_lift() >= load) {\n // alt_val += 0.1;\n // loadPanel();\n // viewer.repaint();\n // // try { Thread.sleep(100); } catch (InterruptedException e) {}\n // saved_flag = can_do_gui_updates;\n // can_do_gui_updates = false;\n // vpp.steady_flight_at_given_speed(5, 0);\n // can_do_gui_updates = saved_flag;\n // }\n // }\n\n if (alt_val == 0 && foil_lift() >= load) { // need to raise up\n // viewer.start_raise = true; // this is experimentsl, has quirks....\n alt_val = 70;\n } else if (alt_val > 0 && foil_lift() < load) { // must splash\n // viewer.start_descend = true; // this is experimentsl, has quirks....\n alt_val = 0;\n }\n\n \n loadPanel();\n if (total_drag() > max_drag) \n dash.outTotalDrag.setForeground(Color.red);\n if (foil_lift() < load) \n dash.outTotalLift.setForeground(Color.red);\n }", "public void run() {\n\n GCanvas gc = this.getGCanvas();\n\n this.setSize(1000,1000);\n GOval wheel = new GOval(100, 100, 800, 800);\n this.add(wheel);\n GLine horzline = new GLine(105,500, 895, 500);\n this.add(horzline);\n GLine vertline = new GLine(500,105, 500, 895);\n this.add(vertline);\n\n GLabel Quad1 = new GLabel(\"(+,+)\", 700, 100);\n Quad1.setFont(\"Arial-PLAIN-28\");\n this.add(Quad1);\n\n GLabel Quad2 = new GLabel(\"(-,+)\", 300, 100);\n Quad2.setFont(\"Arial-PLAIN-28\");\n this.add(Quad2);\n\n GLabel Quad3 = new GLabel(\"(-,-)\", 300, 900);\n Quad3.setFont(\"Arial-PLAIN-28\");\n this.add(Quad3);\n\n GLabel Quad4 = new GLabel(\"(+,-)\", 700, 900);\n Quad4.setFont(\"Arial-PLAIN-28\");\n this.add(Quad4);\n\n //TwoPi\n GLabel TwoPiShow = new GLabel(\"2π\");\n GOval twopi = new GOval(890, 490, 20,20);\n this.add(twopi);\n twopi.setFilled(true);\n twopi.setFillColor(Color.BLACK);\n TwoPiShow.setFont(\"Arial-PLAIN-18\");\n //Make into Mouse Listener\n this.add(TwoPiShow, 915, 510);\n\n GLabel TwoPiSin = new GLabel(\"(0)\");\n TwoPiSin.setFont(\"Arial-PLAIN-18\");\n TwoPiSin.setColor(Color.GREEN);\n\n\n GLabel TwoPiCos = new GLabel(\"(1)\");\n TwoPiCos.setFont(\"Arial-PLAIN-18\");\n TwoPiCos.setColor(Color.BLUE);\n\n GLabel TwoPiTan = new GLabel(\"(0)\");\n TwoPiTan.setFont(\"Arial-PLAIN-18\");\n TwoPiTan.setColor(Color.RED);\n\n GLabel TwoPiSec = new GLabel(\"(1)\");\n TwoPiSec.setFont(\"Arial-PLAIN-18\");\n TwoPiSec.setColor(Color.CYAN);\n\n GLabel TwoPiCsc = new GLabel(\"(undefined)\");\n TwoPiCsc.setFont(\"Arial-PLAIN-18\");\n TwoPiCsc.setColor(Color.ORANGE);\n\n /*\n Make Mouse Listener Thing for:\n\n Sin(2pi) = 0\n Cos(2pi) = 1\n\n\n\n */\n\n\n //Zero\n GLabel Zero = new GLabel(\"0\");\n Zero.setFont(\"Arial-PLAIN-18\");\n this.add(Zero, 915, 495);\n\n /*\n Make Mouse Listener Thing for:\n\n Or I guess make a button to show these:\n\n Sin(0) = 0\n Cos(0) = 1\n Tan(0)\n Sec(0)\n Csc(0)\n Cot(0)\n\n Mouse Scroll Over --> show that:\n\n Tan = (sin)/(cos)\n\n Sec = 1/(cos)\n\n Cot = 1/(tan)\n\n Csc = 1/(sin)\n\n\n\n */\n\n\n // Quad 1\n\n //Pi6\n GLabel Pi6Show = new GLabel(\"(π/6)\");\n GOval Pi6 = new GOval(840, 300, 20,20);\n this.add(Pi6);\n Pi6.setFilled(true);\n Pi6.setFillColor(Color.BLACK);\n Pi6Show.setFont(\"Arial-PLAIN-18\");\n //Make into Mouse Listener\n this.add(Pi6Show, 860, 300);\n\n GLabel Pi6Sin = new GLabel(\"(1/2)\");\n Pi6Sin.setFont(\"Arial-PLAIN-18\");\n Pi6Sin.setColor(Color.GREEN);\n\n\n\n GLabel Pi6Cos = new GLabel(\"(√3/2)\");\n Pi6Cos.setFont(\"Arial-PLAIN-18\");\n Pi6Cos.setColor(Color.BLUE);\n\n GLabel Pi6Tan = new GLabel(\"(√3/3)\");\n Pi6Tan.setFont(\"Arial-PLAIN-18\");\n Pi6Tan.setColor(Color.RED);\n\n GLabel Pi6Cot = new GLabel(\"(√3)\");\n Pi6Cot.setFont(\"Arial-PLAIN-18\");\n Pi6Cot.setColor(Color.MAGENTA);\n\n GLabel Pi6Csc = new GLabel(\"2\");\n Pi6Csc.setFont(\"Arial-PLAIN-18\");\n Pi6Csc.setColor(Color.CYAN);\n\n GLabel Pi6Sec = new GLabel(\"(2√3/3)\");\n Pi6Sec.setFont(\"Arial-PLAIN-18\");\n Pi6Sec.setColor(Color.ORANGE);\n\n\n\n\n /*\n Make Mouse Listener Thing for:\n\n Sin(pi/6) = 1/2\n Cos(pi/6) = sqrt(3)/2\n\n\n */\n\n //Pi4\n GLabel Pi4Show = new GLabel(\"(π/4)\");\n GOval Pi4 = new GOval(770, 200, 20,20);\n this.add(Pi4);\n Pi4.setFilled(true);\n Pi4.setFillColor(Color.BLACK);\n Pi4Show.setFont(\"Arial-PLAIN-18\");\n //Make into Mouse Listener\n this.add(Pi4Show, 800, 200);\n\n GLabel Pi4Sin = new GLabel(\"(√2/2)\");\n Pi4Sin.setFont(\"Arial-PLAIN-18\");\n Pi4Sin.setColor(Color.GREEN);\n\n\n GLabel Pi4Cos = new GLabel(\"(√2/2)\");\n Pi4Cos.setFont(\"Arial-PLAIN-18\");\n Pi4Cos.setColor(Color.blue);\n\n GLabel Pi4Tan = new GLabel(\"1\");\n Pi4Cos.setFont(\"Arial-PLAIN-18\");\n Pi4Cos.setColor(Color.RED);\n\n GLabel Pi4Sec = new GLabel(\"(2√2/2)\");\n Pi4Cos.setFont(\"Arial-PLAIN-18\");\n Pi4Cos.setColor(Color.ORANGE);\n\n GLabel Pi4Csc = new GLabel(\"(2√2/2)\");\n Pi4Cos.setFont(\"Arial-PLAIN-18\");\n Pi4Cos.setColor(Color.CYAN);\n\n\n //Pi3\n GLabel Pi3Show = new GLabel(\"(π/3)\");\n GOval Pi3 = new GOval(650, 120, 20,20);\n this.add(Pi3);\n Pi3.setFilled(true);\n Pi3.setFillColor(Color.BLACK);\n Pi3Show.setFont(\"Arial-PLAIN-18\");\n //Make into Mouse Listener\n this.add(Pi3Show, 670, 120);\n\n GLabel Pi3Sin = new GLabel(\"(√3/2)\");\n Pi3Sin.setFont(\"Arial-PLAIN-18\");\n Pi3Sin.setColor(Color.GREEN);\n\n\n GLabel Pi3Cos = new GLabel(\"(1/2)\");\n Pi3Cos.setFont(\"Arial-PLAIN-18\");\n Pi3Cos.setColor(Color.BLUE);\n\n GLabel Pi3Tan = new GLabel(\"(√3)\");\n Pi3Tan.setFont(\"Arial-PLAIN-18\");\n Pi3Tan.setColor(Color.RED);\n\n GLabel Pi3Sec = new GLabel(\"2\");\n Pi3Sec.setFont(\"Arial-PLAIN-18\");\n Pi3Sec.setColor(Color.ORANGE);\n\n GLabel Pi3Csc = new GLabel(\"(2√3/3)\");\n Pi3Csc.setFont(\"Arial-PLAIN-18\");\n Pi3Csc.setColor(Color.CYAN);\n\n\n //Pi2\n GLabel Pi2Show = new GLabel(\"(π/2)\");\n GOval Pi2 = new GOval(490, 90, 20,20);\n this.add(Pi2);\n Pi2.setFilled(true);\n Pi2.setFillColor(Color.BLACK);\n Pi2Show.setFont(\"Arial-PLAIN-18\");\n //Make into Mouse Listener\n this.add(Pi2Show, 490, 90);\n\n GLabel Pi2Sin = new GLabel(\"(1)\");\n Pi2Sin.setFont(\"Arial-PLAIN-18\");\n Pi2Sin.setColor(Color.GREEN);\n\n\n GLabel Pi2Cos = new GLabel(\"(0)\");\n Pi2Cos.setFont(\"Arial-PLAIN-18\");\n Pi2Cos.setColor(Color.BLUE);\n\n GLabel Pi2Tan = new GLabel(\"(undefined)\");\n Pi2Tan.setFont(\"Arial-PLAIN-18\");\n Pi2Tan.setColor(Color.RED);\n\n GLabel Pi2Sec = new GLabel(\"(undefined)\");\n Pi2Sec.setFont(\"Arial-PLAIN-18\");\n Pi2Sec.setColor(Color.ORANGE);\n\n GLabel Pi2Csc = new GLabel(\"(1)\");\n Pi2Csc.setFont(\"Arial-PLAIN-18\");\n Pi2Csc.setColor(Color.CYAN);\n\n\n\n // Quad 2\n\n //2Pi3\n GLabel TwoPi3Show = new GLabel(\"(2π/3)\");\n GOval TwoPi3 = new GOval(340, 115, 20,20);\n this.add(TwoPi3);\n TwoPi3.setFilled(true);\n TwoPi3.setFillColor(Color.BLACK);\n TwoPi3Show.setFont(\"Arial-PLAIN-18\");\n //Make into Mouse Listener\n this.add(TwoPi3Show, 285, 125);\n\n\n GLabel TwoPi3Sin = new GLabel(\"(√3/2)\");\n TwoPi3Sin.setFont(\"Arial-PLAIN-18\");\n TwoPi3Sin.setColor(Color.GREEN);\n\n\n GLabel TwoPi3Cos = new GLabel(\"(-1/2)\");\n TwoPi3Cos.setFont(\"Arial-PLAIN-18\");\n TwoPi3Cos.setColor(Color.BLUE);\n\n GLabel TwoPi3Tan = new GLabel(\"(-√3)\");\n TwoPi3Tan.setFont(\"Arial-PLAIN-18\");\n Pi2Tan.setColor(Color.RED);\n\n GLabel TwoPi3Sec = new GLabel(\"(-2)\");\n TwoPi3Sec.setFont(\"Arial-PLAIN-18\");\n TwoPi3Sec.setColor(Color.ORANGE);\n\n GLabel TwoPi3Csc = new GLabel(\"(2√3/3)\");\n TwoPi3Csc.setFont(\"Arial-PLAIN-18\");\n TwoPi3Csc.setColor(Color.CYAN);\n\n //3Pi4\n GLabel ThreePi4Show = new GLabel(\"(3π/4)\");\n GOval ThreePi4 = new GOval(225, 190, 20,20);\n this.add(ThreePi4);\n ThreePi4.setFilled(true);\n ThreePi4.setFillColor(Color.BLACK);\n ThreePi4Show.setFont(\"Arial-PLAIN-18\");\n //Make into Mouse Listener\n this.add(ThreePi4Show, 160, 205);\n\n\n GLabel ThreePi4Sin = new GLabel(\"(√2/2)\");\n ThreePi4Sin.setFont(\"Arial-PLAIN-18\");\n ThreePi4Sin.setColor(Color.GREEN);\n\n\n GLabel ThreePi4Cos = new GLabel(\"(-√2/2)\");\n ThreePi4Cos.setFont(\"Arial-PLAIN-18\");\n ThreePi4Cos.setColor(Color.BLUE);\n\n GLabel ThreePi4Tan = new GLabel(\"(-1)\");\n ThreePi4Tan.setFont(\"Arial-PLAIN-18\");\n ThreePi4Tan.setColor(Color.RED);\n\n GLabel ThreePi4Sec = new GLabel(\"(-2√2/2)\");\n ThreePi4Sec.setFont(\"Arial-PLAIN-18\");\n ThreePi4Sec.setColor(Color.ORANGE);\n\n GLabel ThreePi4Csc = new GLabel(\"(2√3/3)\");\n ThreePi4Csc.setFont(\"Arial-PLAIN-18\");\n ThreePi4Csc.setColor(Color.CYAN);\n\n //5Pi6\n\n GLabel FivePi6Show = new GLabel(\"(5π/6)\");\n GOval FivePi6 = new GOval(135, 290, 20,20);\n this.add(FivePi6);\n FivePi6.setFilled(true);\n FivePi6.setFillColor(Color.BLACK);\n FivePi6Show.setFont(\"Arial-PLAIN-18\");\n //Make into Mouse Listener\n this.add(FivePi6Show, 80, 310);\n\n GLabel FivePi6Sin = new GLabel(\"(1/2)\");\n FivePi6Sin.setFont(\"Arial-PLAIN-18\");\n FivePi6Sin.setColor(Color.GREEN);\n\n\n GLabel FivePi6Cos = new GLabel(\"(-√3/2)\");\n FivePi6Cos.setFont(\"Arial-PLAIN-18\");\n FivePi6Cos.setColor(Color.BLUE);\n\n GLabel FivePi6Tan = new GLabel(\"(-√3/3)\");\n FivePi6Tan.setFont(\"Arial-PLAIN-18\");\n FivePi6Tan.setColor(Color.RED);\n\n GLabel FivePi6Sec = new GLabel(\"(-2√2/2)\");\n FivePi6Sec.setFont(\"Arial-PLAIN-18\");\n FivePi6Sec.setColor(Color.ORANGE);\n\n GLabel FivePi6Csc = new GLabel(\"(2)\");\n FivePi6Csc.setFont(\"Arial-PLAIN-18\");\n FivePi6Csc.setColor(Color.CYAN);\n\n //Pi\n\n GLabel PiShow = new GLabel(\"π\");\n GOval pi = new GOval(90, 490, 20,20);\n this.add(pi);\n pi.setFilled(true);\n pi.setFillColor(Color.BLACK);\n PiShow.setFont(\"Arial-PLAIN-22\");\n //Make into Mouse Listener\n this.add(PiShow, 75, 510);\n\n GLabel PiSin = new GLabel(\"(0)\");\n PiSin.setFont(\"Arial-PLAIN-18\");\n PiSin.setColor(Color.GREEN);\n\n\n GLabel PiCos = new GLabel(\"(-1)\");\n PiCos.setFont(\"Arial-PLAIN-18\");\n PiCos.setColor(Color.BLUE);\n\n GLabel PiTan = new GLabel(\"(0)\");\n PiTan.setFont(\"Arial-PLAIN-18\");\n PiTan.setColor(Color.RED);\n\n GLabel PiSec = new GLabel(\"(-1)\");\n PiSec.setFont(\"Arial-PLAIN-18\");\n PiSec.setColor(Color.ORANGE);\n\n GLabel PiCsc = new GLabel(\"(undefined)\");\n PiCsc.setFont(\"Arial-PLAIN-18\");\n PiCsc.setColor(Color.CYAN);\n\n//Quad 3\n\n //7Pi6\n\n GLabel SevenPi6Show = new GLabel(\"(7π/6)\");\n GOval SevenPi6 = new GOval(145, 680, 20,20);\n this.add(SevenPi6);\n SevenPi6.setFilled(true);\n SevenPi6.setFillColor(Color.BLACK);\n SevenPi6Show.setFont(\"Arial-PLAIN-18\");\n //Make into Mouse Listener\n this.add(SevenPi6Show, 90, 690);\n\n GLabel SevenPi6Sin = new GLabel(\"(-1/2)\");\n SevenPi6Sin.setFont(\"Arial-PLAIN-18\");\n SevenPi6Sin.setColor(Color.GREEN);\n\n\n GLabel SevenPi6Cos = new GLabel(\"(-√3/2)\");\n SevenPi6Cos.setFont(\"Arial-PLAIN-18\");\n SevenPi6Cos.setColor(Color.BLUE);\n\n GLabel SevenPi6Tan = new GLabel(\"(√3/3)\");\n SevenPi6Tan.setFont(\"Arial-PLAIN-18\");\n SevenPi6Tan.setColor(Color.RED);\n\n GLabel SevenPi6Sec = new GLabel(\"(-2√3/3)\");\n SevenPi6Sec.setFont(\"Arial-PLAIN-18\");\n SevenPi6Sec.setColor(Color.ORANGE);\n\n GLabel SevenPi6Csc = new GLabel(\"(-2)\");\n SevenPi6Csc.setFont(\"Arial-PLAIN-18\");\n SevenPi6Csc.setColor(Color.CYAN);\n\n //5Pi4\n\n GLabel FivePi4Show = new GLabel(\"(5π/4)\");\n GOval FivePi4 = new GOval(205, 780, 20,20);\n this.add(FivePi4);\n FivePi4.setFilled(true);\n FivePi4.setFillColor(Color.BLACK);\n FivePi4Show.setFont(\"Arial-PLAIN-18\");\n //Make into Mouse Listener\n this.add(FivePi4Show, 150, 790);\n\n GLabel FivePi4Sin = new GLabel(\"(-√2/2)\");\n FivePi4Sin.setFont(\"Arial-PLAIN-18\");\n FivePi4Sin.setColor(Color.GREEN);\n\n GLabel FivePi4Cos = new GLabel(\"(-√2/2)\");\n FivePi4Cos.setFont(\"Arial-PLAIN-18\");\n FivePi4Cos.setColor(Color.BLUE);\n\n GLabel FivePi4Tan = new GLabel(\"(1)\");\n FivePi4Tan.setFont(\"Arial-PLAIN-18\");\n FivePi4Tan.setColor(Color.RED);\n\n\n GLabel FivePi4Csc = new GLabel(\"(-2√2/2)\");\n FivePi4Csc.setFont(\"Arial-PLAIN-18\");\n FivePi4Csc.setColor(Color.CYAN);\n\n GLabel FivePi4Sec = new GLabel(\"(-2√2/2)\");\n FivePi4Sec.setFont(\"Arial-PLAIN-18\");\n FivePi4Sec.setColor(Color.ORANGE);\n\n\n\n //4Pi3\n\n GLabel FourPi3Show = new GLabel(\"(4π/3)\");\n GOval FourPi3 = new GOval(335, 860, 20,20);\n this.add(FourPi3);\n FourPi3.setFilled(true);\n FourPi3.setFillColor(Color.BLACK);\n FourPi3Show.setFont(\"Arial-PLAIN-18\");\n //Make into Mouse Listener\n this.add(FourPi3Show, 275, 870);\n\n GLabel FourPi3Sin = new GLabel(\"(-√3/2)\");\n FourPi3Sin.setFont(\"Arial-PLAIN-18\");\n FourPi3Sin.setColor(Color.GREEN);\n\n\n GLabel FourPi3Cos = new GLabel(\"(-1/2)\");\n FourPi3Cos.setFont(\"Arial-PLAIN-18\");\n FourPi3Cos.setColor(Color.blue);\n\n GLabel FourPi3Tan = new GLabel(\"(√3)\");\n FourPi3Cos.setFont(\"Arial-PLAIN-18\");\n FourPi3Cos.setColor(Color.RED);\n\n GLabel FourPi3Sec = new GLabel(\"(-2)\");\n FourPi3Cos.setFont(\"Arial-PLAIN-18\");\n FourPi3Cos.setColor(Color.ORANGE);\n\n GLabel FourPi3Csc = new GLabel(\"(-2√3/3)\");\n FourPi3Cos.setFont(\"Arial-PLAIN-18\");\n FourPi3Cos.setColor(Color.CYAN);\n\n/*\n //TwoPi\n GLabel TwoPiShow = new GLabel(\"2π\");\n GOval twopi = new GOval(890, 490, 20,20);\n this.add(twopi);\n twopi.setFilled(true);\n twopi.setFillColor(Color.BLACK);\n TwoPiShow.setFont(\"Arial-PLAIN-18\");\n //Make into Mouse Listener\n this.add(TwoPiShow, 915, 510);\n\n\n*/\n\n //3Pi2\n GLabel ThreePi2Show = new GLabel(\"(3π/2)\");\n GOval ThreePi2 = new GOval(490, 890, 20,20);\n this.add(ThreePi2);\n ThreePi2.setFilled(true);\n ThreePi2.setFillColor(Color.BLACK);\n ThreePi2Show.setFont(\"Arial-PLAIN-18\");\n //Make into Mouse Listener\n this.add(ThreePi2Show, 480, 890);\n\n GLabel ThreePi2Sin = new GLabel(\"(-1)\");\n ThreePi2Sin.setFont(\"Arial-PLAIN-18\");\n ThreePi2Sin.setColor(Color.GREEN);\n\n GLabel ThreePi2Cos = new GLabel(\"(0)\");\n ThreePi2Cos.setFont(\"Arial-PLAIN-18\");\n ThreePi2Cos.setColor(Color.BLUE);\n\n GLabel ThreePi2Tan = new GLabel(\"(undefined)\");\n ThreePi2Tan.setFont(\"Arial-PLAIN-18\");\n ThreePi2Tan.setColor(Color.RED);\n\n GLabel ThreePi2Cot = new GLabel(\"(0)\");\n ThreePi2Cot.setFont(\"Arial-PLAIN-18\");\n ThreePi2Cot.setColor(Color.MAGENTA);\n\n GLabel ThreePi2Csc = new GLabel(\"(-1)\");\n ThreePi2Csc.setFont(\"Arial-PLAIN-18\");\n ThreePi2Csc.setColor(Color.CYAN);\n\n GLabel ThreePi2Sec = new GLabel(\"(undefined)\");\n ThreePi2Sec.setFont(\"Arial-PLAIN-18\");\n ThreePi2Sec.setColor(Color.ORANGE);\n\n //FivePi3\n GLabel FivePi3Show = new GLabel(\"(5π/3)\");\n GOval FivePi3 = new GOval(655, 855, 20,20);\n this.add(FivePi3);\n FivePi3.setFilled(true);\n FivePi3.setFillColor(Color.BLACK);\n FivePi3Show.setFont(\"Arial-PLAIN-18\");\n //Make into Mouse Listener\n this.add(FivePi3Show, 685, 865);\n\n GLabel FivePi3Sin = new GLabel(\"(-√3/2)\");\n FivePi3Sin.setFont(\"Arial-PLAIN-18\");\n FivePi3Sin.setColor(Color.GREEN);\n\n GLabel FivePi3Cos = new GLabel(\"(1/2)\");\n FivePi3Cos.setFont(\"Arial-PLAIN-18\");\n FivePi3Cos.setColor(Color.BLUE);\n\n GLabel FivePi3Tan = new GLabel(\"(-√3)\");\n FivePi3Tan.setFont(\"Arial-PLAIN-18\");\n FivePi3Tan.setColor(Color.RED);\n\n\n GLabel FivePi3Csc = new GLabel(\"(-2√3/3)\");\n FivePi3Csc.setFont(\"Arial-PLAIN-18\");\n FivePi3Csc.setColor(Color.CYAN);\n\n GLabel FivePi3Sec = new GLabel(\"2\");\n FivePi3Sec.setFont(\"Arial-PLAIN-18\");\n FivePi3Sec.setColor(Color.ORANGE);\n\n\n\n //SevenPi4\n GLabel SevenPi4Show = new GLabel(\"(7π/4)\");\n GOval SevenPi4 = new GOval(785, 760, 20,20);\n this.add(SevenPi4);\n SevenPi4.setFilled(true);\n SevenPi4.setFillColor(Color.BLACK);\n SevenPi4Show.setFont(\"Arial-PLAIN-18\");\n //Make into Mouse Listener\n this.add(SevenPi4Show, 810, 770);\n\n GLabel SevenPi4Sin = new GLabel(\"(-√2/2)\");\n SevenPi4Sin.setFont(\"Arial-PLAIN-18\");\n SevenPi4Sin.setColor(Color.GREEN);\n\n GLabel SevenPi4Cos = new GLabel(\"(√2/2)\");\n SevenPi4Cos.setFont(\"Arial-PLAIN-18\");\n FivePi3Cos.setColor(Color.BLUE);\n\n GLabel SevenPi4Tan = new GLabel(\"(-1)\");\n SevenPi4Tan.setFont(\"Arial-PLAIN-18\");\n SevenPi4Tan.setColor(Color.RED);\n\n\n GLabel SevenPi4Csc = new GLabel(\"(-2√2/2)\");\n SevenPi4Csc.setFont(\"Arial-PLAIN-18\");\n SevenPi4Csc.setColor(Color.CYAN);\n\n GLabel SevenPi4Sec = new GLabel(\"(2√2/2)\");\n SevenPi4Sec.setFont(\"Arial-PLAIN-18\");\n SevenPi4Sec.setColor(Color.ORANGE);\n\n //ElevenPi6\n GLabel ElevenPi6Show = new GLabel(\"(11π/4)\");\n GOval ElevenPi6 = new GOval(855, 660, 20,20);\n this.add(ElevenPi6);\n ElevenPi6.setFilled(true);\n ElevenPi6.setFillColor(Color.BLACK);\n SevenPi4Show.setFont(\"Arial-PLAIN-18\");\n //Make into Mouse Listener\n this.add(ElevenPi6Show, 885, 670);\n\n GLabel ElevenPi6Sin = new GLabel(\"(-1/2)\");\n ElevenPi6Sin.setFont(\"Arial-PLAIN-18\");\n ElevenPi6Sin.setColor(Color.GREEN);\n\n GLabel ElevenPi6Cos = new GLabel(\"(√3/2)\");\n ElevenPi6Cos.setFont(\"Arial-PLAIN-18\");\n ElevenPi6Cos.setColor(Color.BLUE);\n\n GLabel ElevenPi6Tan = new GLabel(\"(-√3/3)\");\n ElevenPi6Tan.setFont(\"Arial-PLAIN-18\");\n ElevenPi6Tan.setColor(Color.RED);\n\n GLabel ElevenPi6Csc = new GLabel(\"(-2)\");\n ElevenPi6Csc.setFont(\"Arial-PLAIN-18\");\n ElevenPi6Csc.setColor(Color.CYAN);\n\n GLabel ElevenPi6Sec = new GLabel(\"(2√3/3)\");\n ElevenPi6Sec.setFont(\"Arial-PLAIN-18\");\n ElevenPi6Sec.setColor(Color.ORANGE);\n\n\n\n\n//Now add mouse listeners and lines\n // Add buttons (action listeners) too with sin, cos, tan, sec, csc, cot\n //And then a key listener for a quiz\n\n/*\n Pi6.addMouseMotionListener(\n new MouseMotionListener() {\n @Override\n public void mouseDragged(MouseEvent e) { }\n @Override\n public void mouseMoved(MouseEvent e) {\n GLine LinePi6 = new GLine(400, 400, 840, 300);\n LinePi6.setColor(Color.GREEN);\n canvas.add(LinePi6);\n\n }\n }\n\n\n );\n\n */\n\n JButton buttonSin = new JButton(\"Sin(x)\");\n this.add(buttonSin, SOUTH);\n JButton buttonCos = new JButton(\"Cos(x)\");\n this.add(buttonCos, SOUTH);\n JButton buttonTan = new JButton(\"Tan(x)\");\n this.add(buttonTan, SOUTH);\n JButton buttonCot = new JButton(\"Cot(x)\");\n this.add(buttonCos, SOUTH);\n JButton buttonCsc = new JButton(\"Csc(x)\");\n this.add(buttonCsc, SOUTH);\n JButton buttonSec = new JButton(\"Sec(x)\");\n this.add(buttonSec, SOUTH);\n\n buttonSin.getParent().revalidate();\n\n buttonSin.addActionListener(\n new ActionListener() {\n @Override\n public void actionPerformed(ActionEvent e) {\n GCanvas canvas = TrigWheel.this.getGCanvas();\n canvas.add(Pi6Sin, 900, 300);\n canvas.add(Pi4Sin,840, 200);\n canvas.add(Pi3Sin,710, 120);\n canvas.add(Pi2Sin, 530, 90);\n canvas.add(TwoPiSin,955, 510);\n\n canvas.add(TwoPi3Sin, 235, 125);\n canvas.add(ThreePi4Sin,100, 205);\n canvas.add(FivePi6Sin,40, 300);\n canvas.add(PiSin,35, 510);\n\n canvas.add(FourPi3Sin, 215, 870);\n canvas.add(FivePi4Sin,90, 790);\n canvas.add(SevenPi6Sin,40, 690);\n\n canvas.add(FivePi3Sin, 740, 865);\n canvas.add(SevenPi4Sin,860, 770);\n canvas.add(ElevenPi6Sin,935, 670);\n\n }\n }\n\n\n );\n\n buttonCos.addActionListener(\n new ActionListener() {\n @Override\n public void actionPerformed(ActionEvent e) {\n GCanvas canvas = TrigWheel.this.getGCanvas();\n canvas.add(Pi6Cos, 900, 300);\n canvas.add(Pi4Cos,840, 200);\n canvas.add(Pi3Cos,710, 120);\n canvas.add(Pi2Cos, 530, 90);\n canvas.add(TwoPiCos,955, 510);\n\n canvas.add(TwoPi3Cos, 235, 125);\n canvas.add(ThreePi4Cos,100, 205);\n canvas.add(FivePi6Cos,40, 300);\n canvas.add(PiCos,35, 510);\n\n canvas.add(FourPi3Cos, 215, 870);\n canvas.add(FivePi4Cos,90, 790);\n canvas.add(SevenPi6Cos,40, 690);\n\n canvas.add(FivePi3Cos, 740, 865);\n canvas.add(SevenPi4Cos,860, 770);\n canvas.add(ElevenPi6Cos,935, 670);\n\n\n }\n }\n\n\n );\n\n buttonTan.addActionListener(\n new ActionListener() {\n @Override\n public void actionPerformed(ActionEvent e) {\n GCanvas canvas = TrigWheel.this.getGCanvas();\n canvas.add(Pi6Tan, 900, 300);\n canvas.add(Pi4Tan,840, 200);\n canvas.add(Pi3Tan,710, 120);\n canvas.add(Pi2Tan, 530, 90);\n canvas.add(TwoPiTan,955, 510);\n\n canvas.add(TwoPi3Tan, 235, 125);\n canvas.add(ThreePi4Tan,100, 205);\n canvas.add(FivePi6Tan,40, 300);\n canvas.add(PiTan,35, 510);\n\n canvas.add(FourPi3Tan, 215, 870);\n canvas.add(FivePi4Tan,90, 790);\n canvas.add(SevenPi6Tan,40, 690);\n\n canvas.add(FivePi3Tan, 740, 865);\n canvas.add(SevenPi4Tan,860, 770);\n canvas.add(ElevenPi6Tan,935, 670);\n\n\n }\n }\n\n\n );\n\n buttonSec.addActionListener(\n new ActionListener() {\n @Override\n public void actionPerformed(ActionEvent e) {\n GCanvas canvas = TrigWheel.this.getGCanvas();\n canvas.add(Pi6Sec, 900, 300);\n canvas.add(Pi4Sec,840, 200);\n canvas.add(Pi3Sec,720, 120);\n canvas.add(Pi2Sec, 530, 90);\n canvas.add(TwoPiSec,955, 510);\n\n canvas.add(TwoPi3Sec, 235, 125);\n canvas.add(ThreePi4Sec,90, 205);\n canvas.add(FivePi6Sec,40, 290);\n canvas.add(PiSec,35, 510);\n\n canvas.add(FourPi3Sec, 215, 870);\n canvas.add(FivePi4Sec,80, 790);\n canvas.add(SevenPi6Sec,40, 670);\n\n canvas.add(FivePi3Sec, 740, 865);\n canvas.add(SevenPi4Sec,860, 770);\n canvas.add(ElevenPi6Sec,935, 670);\n\n\n }\n }\n\n\n );\n\n buttonCsc.addActionListener(\n new ActionListener() {\n @Override\n public void actionPerformed(ActionEvent e) {\n GCanvas canvas = TrigWheel.this.getGCanvas();\n canvas.add(Pi6Csc, 900, 300);\n canvas.add(Pi4Csc,840, 200);\n canvas.add(Pi3Csc,720, 120);\n canvas.add(Pi2Csc, 530, 90);\n canvas.add(TwoPiCsc,890, 480);\n\n canvas.add(TwoPi3Csc, 215, 125);\n canvas.add(ThreePi4Csc,90, 205);\n canvas.add(FivePi6Csc,40, 300);\n canvas.add(PiCsc,35, 490);\n\n canvas.add(FourPi3Csc, 215, 870);\n canvas.add(FivePi4Csc,80, 790);\n canvas.add(SevenPi6Csc,40, 680);\n\n canvas.add(FivePi3Csc, 740, 865);\n canvas.add(SevenPi4Csc,860, 770);\n canvas.add(ElevenPi6Csc,935, 670);\n\n\n\n }\n }\n\n\n );\n\n/*\n Pi6.addMouseListener(\n new MouseListener() {\n @Override\n public void mousePressed(MouseEvent e) {\n\n }\n @Override\n public void mouseReleased(MouseEvent e) {}\n @Override\n public void mouseEntered(MouseEvent e) {}\n @Override\n public void mouseExited(MouseEvent e) {}\n @Override\n public void mouseClicked(MouseEvent e) {}\n }\n );\n*/\n\n\n\n\n\n }", "public void ver() {\n\t\tthis.setVisible(true);\n\t}", "void gui(){\n _hasGUI = true;\n }", "private static void initAndShowGUI() {\n }", "public void run()\n {\n //Generate text, pack and show the frame\n generateTextArea();\n pack();\n setMinimumSize(getSize());\n setVisible(true);\n }", "private GuiTest() {\n // Load custom resources (fonts, etc.)\n ResourceLoader.loadResources();\n\n // Load the user accounts into the system\n UserController.getInstance().loadUsers();\n\n // Set up GuiController and the main window.\n GuiController.instantiate(1280, 720, \"FPTS\");\n\n char[] password = {'p', 'a', 's', 's', 'w', 'o', 'r', 'd'};\n UserController.getInstance().login(\"rhochmuth\", password);\n\n // Show the screen/window\n PortfolioController.getInstance().showAddHoldingView();\n GuiController.getInstance().showWindow();\n\n // Load the market information and update it every 2 minutes\n MarketController.getInstance().StartTimer();\n }", "public HBox initializeHBox() {\n\t\t// Container for the control buttons\n\t\tHBox controlButtons = new HBox();\n\t\tcontrolButtons.setPadding(new Insets(10.0, 0.0, 10.0, 10.0));\n controlButtons.setSpacing(80);\n\n // Container for the Play/Pause and Reset buttons\n HBox simulationStateButtons = new HBox();\n\t\tsimulationStateButtons.setSpacing(5);\n\n Button playButton = new Button(\"Play\");\n simulationStateButtons.getChildren().add(playButton);\n\n playButton.setOnAction((event) -> {\n this.play = !this.play;\n if (this.play) {\n playButton.setText(\"Pause\");\n } else {\n playButton.setText(\"Play\");\n }\n simulation.setPlayState(this.play);\n });\n\n Button resetButton = new Button(\"Reset\");\n simulationStateButtons.getChildren().add(resetButton);\n\n resetButton.setOnAction((event) -> {\n \tthis.settingsScene.setSettingsSet(true);\n });\n\n controlButtons.getChildren().add(simulationStateButtons);\n\n // Container for the probability of death and reproduction sliders\n\t\tHBox probabilitySliders = new HBox();\n\t\tprobabilitySliders.setSpacing(20);\n\n\t\t// Container for the probability of reproduction slider\n\t\tVBox probabilityOfReproductionSlider = new VBox();\n\n // probability of Reproduction\n Slider probabilityOfReproduction = new Slider(1, 100, 100);\n probabilityOfReproduction.setMinWidth(200);\n probabilityOfReproduction.setMaxWidth(200);\n\t\tprobabilityOfReproduction.setShowTickMarks(true);\n\t\tprobabilityOfReproductionSlider.getChildren().add(probabilityOfReproduction);\n\n\t\tLabel probabilityOfReproductionCurrentValue = new Label(\"probability of reproduction: \" + Double.toString(Math.round(probabilityOfReproduction.getValue())) + \"%\");\n\t\tprobabilityOfReproductionCurrentValue.setPadding(new Insets(0, 15, 0, 15));\n\t\tprobabilityOfReproductionSlider.getChildren().add(probabilityOfReproductionCurrentValue);\n\n\t\tprobabilityOfReproduction.setOnMouseDragged((event) -> {\n\t\t\tthis.probabilityOfReproductionValue = Math.round(probabilityOfReproduction.getValue());\n\t\t\tthis.simulation.setprobabilityOfReproduction(this.probabilityOfReproductionValue);\n\t\t\tprobabilityOfReproductionCurrentValue.setText(\"probability of reproduction \" + Double.toString(Math.round(probabilityOfReproduction.getValue())) + \"%\");\n\t\t});\n\n\t\tprobabilitySliders.getChildren().add(probabilityOfReproductionSlider);\n\n\t\t// Container for the probability of dying slider\n\t\tVBox probabilityOfDyingSlider = new VBox();\n\n\t\t// probability of dying in the event of under, or overpopulation\n Slider probabilityOfDying = new Slider(1, 100, 100);\n probabilityOfDying.setMinWidth(200);\n probabilityOfDying.setMaxWidth(200);\n probabilityOfDying.setShowTickMarks(true);\n probabilityOfDyingSlider.getChildren().add(probabilityOfDying);\n\n\t\tLabel probabilityOfDyingCurrentValue = new Label(\"probability of dying: \" + Double.toString(Math.round(probabilityOfDying.getValue())) + \"%\");\n\t\tprobabilityOfDyingCurrentValue.setPadding(new Insets(0, 35, 0, 35));\n\t\tprobabilityOfDyingSlider.getChildren().add(probabilityOfDyingCurrentValue);\n\n\t\tprobabilityOfDying.setOnMouseDragged((event) -> {\n\t\t\tthis.probabilityOfDyingValue = Math.round(probabilityOfDying.getValue());\n\t\t\tthis.simulation.setprobabilityOfDying(this.probabilityOfDyingValue);\n\t\t\tprobabilityOfDyingCurrentValue.setText(\"probability of dying: \" + Double.toString(Math.round(probabilityOfDying.getValue())) + \"%\");\n\t\t});\n\n\t\tprobabilitySliders.getChildren().add(probabilityOfDyingSlider);\n\t\tcontrolButtons.getChildren().add(probabilitySliders);\n\n this.countOfGenerations = new Label(\"Generation: \" + 0);\n controlButtons.getChildren().add(countOfGenerations);\n\t\t\n\t\treturn controlButtons;\n\t}", "private void initUI() {\n\t\tthis.horizontalLayout = new XdevHorizontalLayout();\n\t\tthis.gridLayout = new XdevGridLayout();\n\t\tthis.button = new XdevButton();\n\t\tthis.button2 = new XdevButton();\n\t\tthis.label = new XdevLabel();\n\n\t\tthis.button.setCaption(\"go to HashdemoView\");\n\t\tthis.button2.setCaption(\"go to CommonView\");\n\t\tthis.label.setValue(\"Go into code tab to view comments\");\n\n\t\tthis.gridLayout.setColumns(2);\n\t\tthis.gridLayout.setRows(2);\n\t\tthis.button.setWidth(200, Unit.PIXELS);\n\t\tthis.button.setHeight(-1, Unit.PIXELS);\n\t\tthis.gridLayout.addComponent(this.button, 0, 0);\n\t\tthis.button2.setWidth(200, Unit.PIXELS);\n\t\tthis.button2.setHeight(-1, Unit.PIXELS);\n\t\tthis.gridLayout.addComponent(this.button2, 1, 0);\n\t\tthis.label.setWidth(100, Unit.PERCENTAGE);\n\t\tthis.label.setHeight(-1, Unit.PIXELS);\n\t\tthis.gridLayout.addComponent(this.label, 0, 1, 1, 1);\n\t\tthis.gridLayout.setComponentAlignment(this.label, Alignment.TOP_CENTER);\n\t\tthis.gridLayout.setSizeUndefined();\n\t\tthis.horizontalLayout.addComponent(this.gridLayout);\n\t\tthis.horizontalLayout.setComponentAlignment(this.gridLayout, Alignment.MIDDLE_CENTER);\n\t\tthis.horizontalLayout.setExpandRatio(this.gridLayout, 10.0F);\n\t\tthis.horizontalLayout.setSizeFull();\n\t\tthis.setContent(this.horizontalLayout);\n\t\tthis.setSizeFull();\n\n\t\tthis.button.addClickListener(event -> this.button_buttonClick(event));\n\t\tthis.button2.addClickListener(event -> this.button2_buttonClick(event));\n\t}", "protected abstract void onShowRuntime();", "public Pane buildGuiInDerSchonzeit() {\n\t\tVBox root = new VBox(10); \r\n\t\t// Der Hintergrund des GUI wird mit einem Transparenten Bild erstellt\r\n\t\tImage imageBackground = new Image(getClass().getResource(\"transparent.png\").toExternalForm()); // Ein Image wird erstellt und das Bild übergeben\r\n\t\tBackgroundImage backgroundImage = new BackgroundImage(imageBackground, BackgroundRepeat.NO_REPEAT, BackgroundRepeat.NO_REPEAT, BackgroundPosition.DEFAULT, BackgroundSize.DEFAULT);\r\n\t\tBackground background = new Background(backgroundImage); // Ein Background wird ertsellt und das Bild übergeben\r\n\t\troot.setBackground(background); // Der Hintergrund mit dem Bild wird dem root übergeben\r\n\t\t\r\n\t\t//\r\n\t\t// // Allse verschiedenen Boxen werden erstellt\r\n\t\t//\r\n\t\t\r\n\t\t// HBox für die erste Spalte\r\n\t\tHBox hBoxSpalte1 = new HBox(190);\r\n\t\t// 2mal VBox um Button und Text anzuzeigen \r\n\t\tVBox vBox1Spalte1 = new VBox();\r\n\t\tVBox vBox2Spalte1 = new VBox();\r\n\t\t\r\n\t\t// HBox für 2. Spalte\r\n\t\tHBox hBoxSpalte2 = new HBox(190);\r\n\t\t// 2 VBoxen für Bild und Text\r\n\t\tVBox vbox1Spalte2 = new VBox();\r\n\t\tVBox vbox2Spalte2 = new VBox();\r\n\t\t\r\n\t\t// HBox für die 3.Spalte\r\n\t\tHBox hboxSpalte3 = new HBox(190);\r\n\t\t// 2mal VBox für Bild und Text\r\n\t\tVBox vbox1Spalte3 = new VBox();\r\n\t\tVBox vbox2Spalte3 = new VBox();\r\n\t\t\r\n\t\t// HBox für die 4 Spalte\r\n\t\tHBox hboxSpalte4 = new HBox(190);\r\n\t\t// 2mal VBox für Bild und Text\r\n\t\tVBox vbox1Spalte4 = new VBox();\r\n\t\tVBox vbox2Spalte4 = new VBox();\r\n\t\t\r\n\t\t//\r\n\t\t// Button für die Fische\r\n\t\t//\r\n\t\t\r\n\t\t//Label Bild für Hecht\r\n\t\tLabel hechtbildLabel = new Label(); // Das Label wird erstellt\r\n\t\tImage hechtimage = new Image(getClass().getResource(\"Hecht.png\").toExternalForm()); // Ein Image mit dem Bild wird erstellt\r\n\t\thechtbildLabel.setGraphic(new ImageView(hechtimage)); // Das Bild wird dem Label übergeben\r\n\t\thechtbildLabel.setTranslateX(100); // X-Achse des Labels\r\n\t\t\r\n\t\t// Label Bild Zander\r\n\t\tLabel zanderbildLabel = new Label(); // Das Label wird erstellt\r\n\t\tImage zanderImage = new Image(getClass().getResource(\"Zander.png\").toExternalForm()); // Ein Image mit dem Bild wird erstellt\r\n\t\tzanderbildLabel.setGraphic(new ImageView(zanderImage)); // Das Bild wird dem Label übergeben\r\n\t\tzanderbildLabel.setTranslateX(100); // X-Achse des Labels\r\n\t\t\r\n\t\t// Label Bild Aal\r\n\t\tLabel aalbildLabel = new Label(); // Das Label wird erstellt\r\n\t\tImage aalImage = new Image(getClass().getResource(\"Aal.png\").toExternalForm()); // Ein Image mit dem Bild wird erstellt\r\n\t\taalbildLabel.setGraphic(new ImageView(aalImage)); // Das Bild wird dem Label übergeben\r\n\t\taalbildLabel.setTranslateX(100); // X-Achse des Labels\r\n\t\t\r\n\t\t// Label Bild Aesche\r\n\t\tLabel aeschebildLabel = new Label(); // Das Label wird erstellt\r\n\t\tImage aescheImage = new Image(getClass().getResource(\"Aesche.png\").toExternalForm()); // Ein Image mit dem Bild wird erstellt\r\n\t\taeschebildLabel.setGraphic(new ImageView(aescheImage)); // Das Bild wird dem Label übergeben\r\n\t\taeschebildLabel.setTranslateX(100); // X-Achse des Labels\r\n\t\t\r\n\t\t// Label Bild Barsch\r\n\t\tLabel barschbildLabel = new Label(); // Das Label wird erstellt\r\n\t\tImage barschImage = new Image(getClass().getResource(\"Barsch.png\").toExternalForm()); // Ein Image mit dem Bild wird erstellt\r\n\t\tbarschbildLabel.setGraphic(new ImageView(barschImage)); // Das Bild wird dem Label übergeben\r\n\t\tbarschbildLabel.setTranslateX(100); // X-Achse des Labels\r\n\t\t\r\n\t\t// Label Bild Forelle\r\n\t\tLabel forellebildLabel = new Label(); // Das Label wird erstellt\r\n\t\tImage forelleImage = new Image(getClass().getResource(\"Regenbogenforelle.png\").toExternalForm()); // Ein Image mit dem Bild wird erstellt\r\n\t\tforellebildLabel.setGraphic(new ImageView(forelleImage)); // Das Bild wird dem Label übergeben\r\n\t\tforellebildLabel.setTranslateX(100); // X-Achse des Labels\r\n\t\t\r\n\t\t// Label Bild Schleie\r\n\t\tLabel schleiebildLabel = new Label(); // Das Label wird erstellt\r\n\t\tImage schleieImage = new Image(getClass().getResource(\"Schleie.png\").toExternalForm()); // Ein Image mit dem Bild wird erstellt\r\n\t\tschleiebildLabel.setGraphic(new ImageView(schleieImage)); // Das Bild wird dem Label übergeben\r\n\t\tschleiebildLabel.setTranslateX(100); // X-Achse des Labels\r\n\t\t\r\n\t\t// Label Bild Karpfe\r\n\t\tLabel karpfenbildLabel = new Label(); // Das Label wird erstellt\r\n\t\tImage karpfenImage = new Image(getClass().getResource(\"Schuppenkarpfen.png\").toExternalForm()); // Ein Image mit dem Bild wird erstellt\r\n\t\tkarpfenbildLabel.setGraphic(new ImageView(karpfenImage)); // Das Bild wird dem Label übergeben\r\n\t\tkarpfenbildLabel.setTranslateX(100); // X-Achse des Labels\r\n\t\t\r\n\t\t//\r\n\t\t// Label für die Titel der Fische\r\n\t\t//\r\n\t\t\r\n\t\t// Label Hecht\r\n\t\tLabel hechtlabel = new Label(\"Hecht\"); // Das Label mit dem Namen wird erstellt\r\n\t\thechtlabel.setFont(new Font(30)); // Die Schriftgrösse\r\n\t\thechtlabel.setTranslateX(180); // X-Achse des Labels\r\n\t\t\r\n\t\t//Label Zander\r\n\t\tLabel zanderLabel = new Label(\"Zander\"); // DAs LAabel mit dem Namen wird erstellt\r\n\t\tzanderLabel.setFont(new Font(30)); // Schriftgrösse\r\n\t\tzanderLabel.setTranslateX(160); // X-Achse des Labels\r\n\t\t\r\n\t\t// Label Aal\r\n\t\tLabel aaLabel = new Label(\"Aal\"); // Das Label mit dem Namen wird erstellt\r\n\t\taaLabel.setFont(new Font(30)); // Schriftgrösse\r\n\t\taaLabel.setTranslateX(200); // X-Achse des Labels\r\n\t\t\r\n\t\t// Label Aesche\r\n\t\tLabel aescheLabel = new Label(\"Äsche\"); // Das Label mit dem Namen wird erstellt\r\n\t\taescheLabel.setFont(new Font(30)); // Schriftgrösse\r\n\t\taescheLabel.setTranslateX(180); // X-Achse des Labels\r\n\t\t\r\n\t\t// Label Barsch\r\n\t\tLabel barschLabel = new Label(\"Flussbarsch\"); // Das Label mit dem Namen wird erstellt\r\n\t\tbarschLabel.setFont(new Font(30)); // Schriftgrösse\r\n\t\tbarschLabel.setTranslateX(130); // X-Achse des Labels\r\n\t\t\r\n\t\t// Label Forelle\r\n\t\tLabel forelleLabel = new Label(\"Forelle\"); // Das Label mit dem Namen wird erstellt\r\n\t\tforelleLabel.setFont(new Font(30)); // Schriftgrösse\r\n\t\tforelleLabel.setTranslateX(180); // X-Achse des Labels\r\n\t\t\r\n\t\t// Label Schleie\r\n\t\tLabel schleieLabel = new Label(\"Schleie\"); // Das Label mit dem Namen wird erstellt\r\n\t\tschleieLabel.setFont(new Font(30)); // Schriftgrösse\r\n\t\tschleieLabel.setTranslateX(170); // X-Achse des Labels\r\n\t\t\r\n\t\t// Label Karpfe\r\n\t\tLabel karpfeLabel = new Label(\"Karpfe\"); // Das Label mit dem Namen wird erstellt\r\n\t\tkarpfeLabel.setFont(new Font(30)); // Schriftgrösse\r\n\t\tkarpfeLabel.setTranslateX(170); // X-Achse des Labels\r\n\t\t\r\n\t\t//\r\n\t\t// Label für die Anzeige in der Schonzeit\r\n\t\t//\r\n\t\t\r\n\t\t// Label Schonzeit für Hecht\r\n\t\tLabel schonzeitHechtLabel = new Label(); // Das Label wird erstellt\r\n\t\tschonzeitHechtLabel.setFont(new Font(25)); // Schriftgrösse\r\n\t\tschonzeitHechtLabel.setTranslateX(140); // X-Achse im root\r\n\t\t\r\n\t\t// Label Schonzeit für Zander\r\n\t\tLabel schonzeitZanderLabel = new Label(); // Das Label wird erstellt\r\n\t\tschonzeitZanderLabel.setFont(new Font(25)); // Schriftgrösse\r\n\t\tschonzeitZanderLabel.setTranslateX(140); // X-Achse im root\r\n\t\t\r\n\t\t// Label Schonzeit für Aal\r\n\t\tLabel schonzeitaaLabel = new Label(); // Das Label wird erstellt\r\n\t\tschonzeitaaLabel.setFont(new Font(25)); // Schriftgrösse\r\n\t\tschonzeitaaLabel.setTranslateX(140); // X-Achse im root\r\n\t\t\r\n\t\t// Label Schonzeit für Aesche\r\n\t\tLabel schonzeitaescheLabel = new Label(); // Das Label wird erstellt\r\n\t\tschonzeitaescheLabel.setFont(new Font(25)); // Schriftgrösse\r\n\t\tschonzeitaescheLabel.setTranslateX(140); // X-Achse im root\r\n\t\t\r\n\t\t// Label Schonzeit Barsch\r\n\t\tLabel schonzeitbarschLabel = new Label(); // Das Label wird erstellt\r\n\t\tschonzeitbarschLabel.setFont(new Font(25)); // Schriftgrösse\r\n\t\tschonzeitbarschLabel.setTranslateX(140); // X-Achse im root\r\n\t\t\r\n\t\t// Label Schonzeit für Forelle\r\n\t\tLabel schonzeitforelleLabel = new Label(); // Das Label wird erstellt\r\n\t\tschonzeitforelleLabel.setFont(new Font(25)); // Schriftgrösse\r\n\t\tschonzeitforelleLabel.setTranslateX(140); // X-Achse im root\r\n\t\t\r\n\t\t// Label Schonzeit Schleie\r\n\t\tLabel schonzeitschleieLabel = new Label(); // Das Label wird erstellt\r\n\t\tschonzeitschleieLabel.setFont(new Font(25)); // Schriftgrösse\r\n\t\tschonzeitschleieLabel.setTranslateX(140); // X-Achse im root\r\n\t\t\r\n\t\t// Label Schonzeit Karpfe\r\n\t\tLabel schonzeitkarpfeLabel = new Label(); // Das Label wird erstellt\r\n\t\tschonzeitkarpfeLabel.setFont(new Font(25)); // Schriftgrösse\r\n\t\tschonzeitkarpfeLabel.setTranslateX(140); // X-Achse im root\r\n\r\n\t\t\r\n\t\t// Das Label für die überschrift\r\n\t\tLabel fischeAuswahlLabel = new Label(\"Fische und Ihre Schonzeit\"); // Das Label wird mit dem Namen erstellt\r\n\t\tfischeAuswahlLabel.setFont(new Font(40)); // Schriftgrösse\r\n\t\tfischeAuswahlLabel.setTranslateX(10); // X-Achse des Labels\r\n\t\t\r\n\t\t//\r\n\t\t// // Buttons werden erstellt\r\n\t\t//\r\n\t\t\r\n\t\t// Button zurück Hauptmenu\r\n\t\tButton hauptmenuButton = new Button(\"Hauptmenü\"); // Button wird erstellt und Initialisiert\r\n\t\thauptmenuButton.setMinSize(200, 50); // Die Minimumgrösse wird gesetzt\r\n\t\thauptmenuButton.setTranslateX(345); // X- Achse des Buttons im root\r\n\t\thauptmenuButton.setFont(new Font(25)); // Schriftgrösse des Buttons\r\n\t\t// Zoom in und out wird hinzugefügt\r\n\t\tButtonHandling zoomButtonHandling = new ButtonHandling();\r\n\t\tzoomButtonHandling.zoomIn(hauptmenuButton);\r\n\t\tzoomButtonHandling.zoomOut(hauptmenuButton);\r\n\t\t// Funktion zurück ins Hauptmenü\r\n\t\thauptMenuAufrufen(hauptmenuButton);\r\n\t\t\r\n\t\t//\r\n\t\t// // Aktuelles Datum wird eingelesen um die Fische auf Ihre Schonzeit zu prüfen\r\n\t\t//\r\n\t\t\r\n\t\t// Aktueller Monat wird in der Variablen datumAktuell gespeichert.\r\n\t\tCalendar dateNow = Calendar.getInstance(); // Kalender wird erstellt\r\n\t\tint datum = dateNow.get(Calendar.MONTH) +1; // Der aktuelle Monat wird im Int Initialisiert. +1 Da die Monate ab 0 Beginnen\r\n\t\t// Datum Manuell setzten für Test und Debbug \r\n\t\t//int datum = 1;\r\n\t\t\r\n\t\t//\r\n\t\t// // Die einzelnen VBoxen für die Fische werden je nach Schonzeit gefüllt\r\n\t\t//\r\n\t\t\r\n\t\t// 1. Spalte und 1 Box\r\n\t\tvBox1Spalte1.getChildren().addAll(hechtlabel,hechtbildLabel);// Erste Linie und erste Spalte mit Bild und Text wird dem root übergeben\r\n\t\tif (datum >=1 && datum <= 4) { // Die Schonzeit wird geprüft\r\n\t\t\tschonzeitHechtLabel.setText(\"hat Schonzeit !\"); // Trifft die IF zu wird dieser Text gesetzt\r\n\t\t\tschonzeitHechtLabel.setTextFill(Color.RED); // Die Schrifftfarbe wird auf Rot gesetzt\r\n\t\t}else { // Wen die IF nicht erfüllt ist\r\n\t\t\tschonzeitHechtLabel.setText(\"keine Schonzeit\"); // Trift due IF nicht zu wird dieser Text gesetzt\r\n\t\t\tschonzeitHechtLabel.setTextFill(Color.GREEN); // Die Schriftfarbe wird auf Grün gesetzt\r\n\t\t}\r\n\t\t// Der VBox wird das Label mit den entsprecheneden Einstellungen übergeben\r\n\t\tvBox1Spalte1.getChildren().add(schonzeitHechtLabel);\r\n\t\t\r\n\t\t// 1. Spalte und 2. Box\r\n\t\tvBox2Spalte1.getChildren().addAll(zanderLabel,zanderbildLabel); // Erste Linie und zweite Spalte mit Bild und Text wird dem root übergeben\r\n\t\tif (datum >= 1 && datum <= 4) { // Die Schonzeit wird geprüft\r\n\t\t\tschonzeitZanderLabel.setText(\"hat Schonzeit !\"); // Trifft die IF zu wird dieser Text gesetzt\r\n\t\t\tschonzeitZanderLabel.setTextFill(Color.RED); // Die Schrifftfarbe wird auf Rot gesetzt\r\n\t\t}else { // Wen die IF nicht erfüllt ist\r\n\t\t\tschonzeitZanderLabel.setText(\"keine Schonzeit\"); // Trift due IF nicht zu wird dieser Text gesetzt\r\n\t\t\tschonzeitZanderLabel.setTextFill(Color.GREEN); // Die Schriftfarbe wird auf Grün gesetzt\r\n\t\t}\r\n\t\t// Der VBox wird das Label mit den entsprechenden Einstellungen übergeben\r\n\t\tvBox2Spalte1.getChildren().add(schonzeitZanderLabel);\r\n\t\t\r\n\t\t// 2. Spalte und 1. Box\r\n\t\tvbox1Spalte2.getChildren().addAll(aaLabel,aalbildLabel); // Zweite Linie erste Spalte mit Bild und Text\r\n\t\t// Der Aal hat keine Schonzeit\r\n\t\t\tschonzeitaaLabel.setText(\"keine Schonzeit\"); // Text wird gesetzt\r\n\t\t\tschonzeitaaLabel.setTextFill(Color.GREEN); // Die Schriftfarbe wird auf Grün gesetzt\r\n\t\t// Der VBox wird das Label mit den einstellungen übergeben\t\r\n\t\tvbox1Spalte2.getChildren().add(schonzeitaaLabel);\r\n\t\t\r\n\t\t// 2. Spalte und 2. Box\r\n\t\tvbox2Spalte2.getChildren().addAll(aescheLabel,aeschebildLabel); // Zweite Linie zweite Spalte mit Bild und Text\r\n\t\tif (datum >= 2 && datum <= 4) { // Die Schonzeit wird geprüft\r\n\t\t\tschonzeitaescheLabel.setText(\"hat Schonzeit !\"); // Trifft die IF zu wird dieser Text gesetzt\r\n\t\t\tschonzeitaescheLabel.setTextFill(Color.RED); // Die Schrifftfarbe wird auf Rot gesetzt\r\n\t\t}else { // Wen die IF nicht erfüllt ist\r\n\t\t\tschonzeitaescheLabel.setText(\"keine Schonzeit\"); // Trift due IF nicht zu wird dieser Text gesetzt\r\n\t\t\tschonzeitaescheLabel.setTextFill(Color.GREEN); // Die Schriftfarbe wird auf Grün gesetzt\r\n\t\t}\r\n\t\t// Der VBox wird das Label mit den Einstellungen übergeben\r\n\t\tvbox2Spalte2.getChildren().add(schonzeitaescheLabel);\r\n\t\t\r\n\t\t// 3. Spalte und 1. Box\r\n\t\tvbox1Spalte3.getChildren().addAll(barschLabel,barschbildLabel); // Dritte Linie erste Spalte mit Bild und Text\r\n\t\t// Der Barsch hat keine Schonzeit\r\n\t\t\tschonzeitbarschLabel.setText(\"keine Schonzeit\");\r\n\t\t\tschonzeitbarschLabel.setTextFill(Color.GREEN); // Die Schriftfarbe wird auf Grün gesetzt\r\n\t\t// Der VBox wird das Label mit den Einstellungen übergeben\t\r\n\t\tvbox1Spalte3.getChildren().add(schonzeitbarschLabel);\r\n\t\t\r\n\t\t// 3. Spalte und 2. Box\r\n\t\tvbox2Spalte3.getChildren().addAll(forelleLabel,forellebildLabel); // Dritte Linie zweite Spalte mit Bild und Text\r\n\t\tif (datum >= 3 && datum <= 9) { // Die Schonzeit wird geprüft\r\n\t\t\tschonzeitforelleLabel.setText(\"keine Schonzeit\"); // Trifft die IF zu wird dieser Text gesetzt\r\n\t\t\tschonzeitforelleLabel.setTextFill(Color.GREEN); // Die Schriftfarbe wird auf Grün gesetzt\r\n\t\t}else { // Wen die IF nicht erfüllt ist\r\n\t\t\tschonzeitforelleLabel.setText(\"hat Schonzeit !\"); // Die Schonzeit des Hechtes wird überprüft\r\n\t\t\tschonzeitforelleLabel.setTextFill(Color.RED); // Trift due IF nicht zu wird dieser Text gesetzt\r\n\t\t}\r\n\t\t// Der VBox wird das Label mit den Einstellungen übergeben\r\n\t\tvbox2Spalte3.getChildren().add(schonzeitforelleLabel);\r\n\t\t\r\n\t\t// 4. Spalte und 1. Box\r\n\t\tvbox1Spalte4.getChildren().addAll(schleieLabel,schleiebildLabel); // Vierte Linie erste Spalte mit Bild und Text\r\n\t\t// Die Schleie hat keien Schonzeit\r\n\t\t\tschonzeitschleieLabel.setText(\"keine Schonzeit\"); // Text wird gesetzt\r\n\t\t\tschonzeitschleieLabel.setTextFill(Color.GREEN); // Die Schriftfarbe wird auf Grün gesetzt\r\n\t\t// Der VBox wird das Label mit den Einstellungen übergeben\t\r\n\t\tvbox1Spalte4.getChildren().add(schonzeitschleieLabel);\r\n\t\t\r\n\t\t// 4. Spalte und 2. Box\r\n\t\tvbox2Spalte4.getChildren().addAll(karpfeLabel,karpfenbildLabel); // Vierte Linie zweite Spalte mit Bild und Text\r\n\t\t// Der Karpfe hat keine Schonzeit\r\n\t\t\tschonzeitkarpfeLabel.setText(\"keine Schonzeit\"); // Text wird gesetzt\r\n\t\t\tschonzeitkarpfeLabel.setTextFill(Color.GREEN); // Die Schriftfarbe wird auf Grün gesetzt\r\n\t\t// Der VBox wird das Label mit den Einstellungen übergeben\t\r\n\t\tvbox2Spalte4.getChildren().add(schonzeitkarpfeLabel);\r\n\t\t\r\n\t\t//\r\n\t\t// // Die einzelnen HBoxen werden gefüllt für die Spalten in der Root\r\n\t\t//\r\n\t\thBoxSpalte1.getChildren().addAll(vBox1Spalte1,vBox2Spalte1); // Die erste Spalte wird mit den zwei Boxen gefüllt\r\n\t\t// HBox Spalte 2\r\n\t\thBoxSpalte2.getChildren().addAll(vbox1Spalte2,vbox2Spalte2); // Die zweite Spalte wird mit den zwei Boxen gefüllt\r\n\t\t// Hbox Spalte 3\r\n\t\thboxSpalte3.getChildren().addAll(vbox1Spalte3,vbox2Spalte3); // Die dritte Spalte wird mit den zwei Boxen gefüllt\r\n\t\t// Hbox Spalte 4\r\n\t\thboxSpalte4.getChildren().addAll(vbox1Spalte4,vbox2Spalte4); // Die vierte Spalte wird mit den zwei Boxen gefüllt\r\n\t\t\r\n\t\t// Elemente werden der HauptVBox root hinzugefügt\r\n\t\troot.getChildren().addAll(fischeAuswahlLabel,hBoxSpalte1,hBoxSpalte2,hboxSpalte3,hboxSpalte4,hauptmenuButton); // Alle gefüllten Boxen werden der Hauptbox übergeben\r\n\t\t\r\n\t\t// Das root wird zurückgegeben um Angezeigt zu werden\r\n\t\treturn root;\r\n\t}", "@Test\n public void testCreateView() {\n System.out.println(\"createView\");\n int i =1;\n AfinadorModelo modeloTest = new AfinadorModelo();\n AfinadorControlador controladorTest = new AfinadorControlador(modeloTest,i);\n String test = controladorTest.vista1.bpmOutputLabel.getText();\n if( test != \"APAGADO \")\n fail(\"The test case is a prototype.\");\n }", "public anywheresoftware.b4a.objects.PanelWrapper _asview() throws Exception{\nif (true) return _wholescreen;\n //BA.debugLineNum = 37;BA.debugLine=\"End Sub\";\nreturn null;\n}", "private static void createAndShowGUI() {\n\t\t\t\t// GUIView Moves\n\t\t\t\tGUIViewMoves guiViewMoves = new GUIViewMoves();\n\t\t\t\t\n\t\t\t\t// GUIView Jugs, center the jugs\n\t\t\t\tGUIViewJugs guiViewJug0 = new GUIViewJugs(0);\n\t\t\t\tguiViewJug0.setHorizontalAlignment(JLabel.CENTER);\n\t\t\t\tguiViewJug0.setVerticalAlignment(JLabel.CENTER);; \n\t\t\t \n\t\t\t\tGUIViewJugs guiViewJug1 = new GUIViewJugs(1); \n\t\t\t\tguiViewJug1.setHorizontalAlignment(JLabel.CENTER);\n\t\t\t\tguiViewJug1.setVerticalAlignment(JLabel.CENTER);\n\t\t\t \n\t\t\t\tGUIViewJugs guiViewJug2 = new GUIViewJugs(2); \n\t\t\t\tguiViewJug2.setHorizontalAlignment(JLabel.CENTER);\n\t\t\t\tguiViewJug2.setVerticalAlignment(JLabel.CENTER);\n\t\t\t\n\t\t\t\t// Model\n\t\t\t\tJugPuzzle model = new JugPuzzle();\n\n\t\t\t\t// Hook the model to the view.\n\t\t\t\tmodel.addObserver(guiViewMoves);\n\t\t\t\tmodel.addObserver(guiViewJug0);\n\t\t\t\tmodel.addObserver(guiViewJug1);\n\t\t\t\tmodel.addObserver(guiViewJug2);\n\t\t\t\t\n\t\t\t\t// Create frame.\n\t\t\t\tJFrame frame = new JFrame(\"Jug Game!\");\n\t\t\n\t\t\t\t// Close option.\n\t\t\t\tframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t\t\t\t\n\t\t\t\t// Create two panels, one for the moves and the other for the buttons.\n\t\t\t\t// Labels and buttons go on the grid panel and the moves and restart/quit buttons go on the other panel.\n\t\t\t\tJPanel movesAndButtons = new JPanel();\n\t\t\t\tJPanel grid = new JPanel();\n\t\t\t\t\n\t\t\t\t// A container.\n\t\t\t\tContainer c = frame.getContentPane();\n\t\t\t\t\n\t\t\t\t// Layout for the grid.\n\t\t\t\tGridLayout topGrid = new GridLayout(2,3);\n\t\t\t\tgrid.setLayout(topGrid);\n\t\t\t\t\n\t\t\t\t// Layout for the buttons and moves.\n\t\t\t\tmovesAndButtons.setLayout(new BoxLayout(movesAndButtons, FlowLayout.CENTER));\n\n\t\t\t\t// Panels for buttons and moves.\n\t\t\t\tJPanel movesPanel = new JPanel(); // Moves panel, GUI View.\n\t\t\t\tJPanel quitRestartPanel = new JPanel(); // Quit and Restart panel.\n\t\n\t\t\t\t// Add panels to the layout.\n\t\t\t\tmovesAndButtons.add(movesPanel, BorderLayout.SOUTH);\n\t\t\t\tmovesAndButtons.add(quitRestartPanel, BorderLayout.NORTH);\n\t\t\t\tJButton restart, quit, eight, five, three;\n\t\t\t\n\t\t\t // Initialize buttons,\n\t\t\t\teight = new JButton(\"8\");\n\t\t\t five = new JButton(\"5\");\n\t\t\t three = new JButton(\"3\");\n\t\t\t restart = new JButton(\"Restart\");\n\t\t\t quit = new JButton(\"Quit\");\n\t\t\t \n\t\t\t // Add to grid.\n\t\t\t grid.add(guiViewJug0);\n\t\t\t grid.add(guiViewJug1);\n\t\t\t grid.add(guiViewJug2);\n\t\t\t grid.add(eight);\n\t\t\t grid.add(five);\n\t\t\t grid.add(three);\n\t\t\t\t\n\t\t\t\t// Add to the panels.\n\t\t\t movesPanel.add(guiViewMoves);\n\t\t\t\tquitRestartPanel.add(restart);\n\t\t\t\tquitRestartPanel.add(quit);\n\t\t\t\t\n\t\t\t\t// Add the container which adds to the frame.\n\t\t\t\tc.add(grid, BorderLayout.NORTH);\n\t\t\t\tc.add(movesAndButtons, BorderLayout.SOUTH);\n\t\t\t\t\n\t\t\t\t// ActionListeners \n\t\t\t\tJugPuzzleActionListener e = new JugPuzzleActionListener(model);\n\t\t\t\tQuitActionListener end = new QuitActionListener();\n\t\t\t\tRestartActionListener fresh = new RestartActionListener();\n\t\t\t\t\n\t\t\t\teight.addActionListener(e);\n\t\t\t\teight.setActionCommand(\"0\");\n\t\t\t\t\n\t\t\t\tfive.addActionListener(e);\n\t\t\t\tfive.setActionCommand(\"1\");\n\t\t\t\t\n\t\t\t\tthree.addActionListener(e);\n\t\t\t\tthree.setActionCommand(\"2\");\n\t\t\t\t\n\t\t\t\trestart.addActionListener(fresh);\n\t\t\t\tquit.addActionListener(end);\n\t\t\t\t\n\t\t\t\t// Pack and see frame\n\t\t\t\tframe.pack();\n\t\t\t\tframe.setSize(480, 150);\n\t\t\t\tframe.setResizable(false);\n\t\t\t\tframe.setVisible(true);\t\n\t\t\t}", "private void createContents() {\r\n\t\tshlAjouterNouvelleEquation = new Shell(getParent(), SWT.DIALOG_TRIM | SWT.RESIZE | SWT.APPLICATION_MODAL);\r\n\t\tshlAjouterNouvelleEquation.setSize(363, 334);\r\n\t\tif(modification)\r\n\t\t\tshlAjouterNouvelleEquation.setText(\"Modifier Equation\");\r\n\t\telse\r\n\t\t\tshlAjouterNouvelleEquation.setText(\"Ajouter Nouvelle Equation\");\r\n\t\tshlAjouterNouvelleEquation.setLayout(new FormLayout());\r\n\r\n\r\n\t\tLabel lblContenuEquation = new Label(shlAjouterNouvelleEquation, SWT.NONE);\r\n\t\tFormData fd_lblContenuEquation = new FormData();\r\n\t\tfd_lblContenuEquation.top = new FormAttachment(0, 5);\r\n\t\tfd_lblContenuEquation.left = new FormAttachment(0, 5);\r\n\t\tlblContenuEquation.setLayoutData(fd_lblContenuEquation);\r\n\t\tlblContenuEquation.setText(\"Contenu Equation\");\r\n\r\n\r\n\t\tcontrainteButton = new Button(shlAjouterNouvelleEquation, SWT.CHECK);\r\n\t\tFormData fd_btnContrainte = new FormData();\r\n\t\tfd_btnContrainte.top = new FormAttachment(0, 27);\r\n\t\tfd_btnContrainte.right = new FormAttachment(100, -10);\r\n\t\tcontrainteButton.setLayoutData(fd_btnContrainte);\r\n\t\tcontrainteButton.setText(\"Contrainte\");\r\n\r\n\t\torientationButton = new Button(shlAjouterNouvelleEquation, SWT.CHECK);\r\n\t\tFormData fd_btnOrinet = new FormData();\r\n\t\tfd_btnOrinet.top = new FormAttachment(0, 27);\r\n\t\tfd_btnOrinet.right = new FormAttachment(contrainteButton, -10);\r\n\r\n\t\torientationButton.setLayoutData(fd_btnOrinet);\r\n\t\t\r\n\t\torientationButton.setText(\"Orient\\u00E9\");\r\n\r\n\t\tcontenuEquation = new Text(shlAjouterNouvelleEquation, SWT.BORDER|SWT.SINGLE);\r\n\t\tFormData fd_text = new FormData();\r\n\t\tfd_text.right = new FormAttachment(orientationButton, -10, SWT.LEFT);\r\n\t\tfd_text.top = new FormAttachment(0, 25);\r\n\t\tfd_text.left = new FormAttachment(0, 5);\r\n\t\tcontenuEquation.setLayoutData(fd_text);\r\n\r\n\t\tcontenuEquation.addListener(SWT.FocusOut, out->{\r\n\t\t\tSystem.out.println(\"Making list...\");\r\n\t\t\ttry {\r\n\t\t\t\tequation.getListeDeParametresEqn_DYNAMIC();\r\n\t\t\t\tif(!btnTerminer.isDisposed()){\r\n\t\t\t\t\tif(!btnTerminer.getEnabled())\r\n\t\t\t\t\t\t btnTerminer.setEnabled(true);\r\n\t\t\t\t}\r\n\t\t\t} catch (Exception e1) {\r\n\t\t\t\tthis.showError(shlAjouterNouvelleEquation, e1.toString());\r\n\t\t\t\t btnTerminer.setEnabled(false);\r\n\t\t\t\te1.printStackTrace();\r\n\t\t\t}\t\r\n\t\t});\r\n\r\n\t\tLabel lblNewLabel = new Label(shlAjouterNouvelleEquation, SWT.NONE);\r\n\t\tFormData fd_lblNewLabel = new FormData();\r\n\t\tfd_lblNewLabel.top = new FormAttachment(0, 51);\r\n\t\tfd_lblNewLabel.left = new FormAttachment(0, 5);\r\n\t\tlblNewLabel.setLayoutData(fd_lblNewLabel);\r\n\t\tlblNewLabel.setText(\"Param\\u00E8tre de Sortie\");\r\n\r\n\t\tparametreDeSortieCombo = new Combo(shlAjouterNouvelleEquation, SWT.DROP_DOWN |SWT.READ_ONLY);\r\n\t\tparametreDeSortieCombo.setEnabled(false);\r\n\r\n\t\tFormData fd_combo = new FormData();\r\n\t\tfd_combo.top = new FormAttachment(0, 71);\r\n\t\tfd_combo.left = new FormAttachment(0, 5);\r\n\t\tparametreDeSortieCombo.setLayoutData(fd_combo);\r\n\t\tparametreDeSortieCombo.addListener(SWT.FocusIn, in->{\r\n\t\t\tparametreDeSortieCombo.setItems(makeItems.apply(equation.getListeDeParametresEqn()));\r\n\t\t\tparametreDeSortieCombo.pack();\r\n\t\t\tparametreDeSortieCombo.update();\r\n\t\t});\r\n\r\n\t\tSashForm sashForm = new SashForm(shlAjouterNouvelleEquation, SWT.NONE);\r\n\t\tFormData fd_sashForm = new FormData();\r\n\t\tfd_sashForm.top = new FormAttachment(parametreDeSortieCombo, 6);\r\n\t\tfd_sashForm.bottom = new FormAttachment(100, -50);\r\n\t\tfd_sashForm.right = new FormAttachment(100);\r\n\t\tfd_sashForm.left = new FormAttachment(0, 5);\r\n\t\tsashForm.setLayoutData(fd_sashForm);\r\n\r\n\r\n\r\n\r\n\t\tGroup propertiesGroup = new Group(sashForm, SWT.NONE);\r\n\t\tpropertiesGroup.setLayout(new FormLayout());\r\n\r\n\t\tpropertiesGroup.setText(\"Propri\\u00E9t\\u00E9s\");\r\n\t\tFormData fd_propertiesGroup = new FormData();\r\n\t\tfd_propertiesGroup.top = new FormAttachment(0);\r\n\t\tfd_propertiesGroup.left = new FormAttachment(0);\r\n\t\tfd_propertiesGroup.bottom = new FormAttachment(100, 0);\r\n\t\tfd_propertiesGroup.right = new FormAttachment(100, 0);\r\n\t\tpropertiesGroup.setLayoutData(fd_propertiesGroup);\r\n\r\n\r\n\r\n\r\n\r\n\t\tproperties = new Text(propertiesGroup, SWT.BORDER | SWT.WRAP | SWT.V_SCROLL);\r\n\t\tFormData fd_grouptext = new FormData();\r\n\t\tfd_grouptext.top = new FormAttachment(0,0);\r\n\t\tfd_grouptext.left = new FormAttachment(0, 0);\r\n\t\tfd_grouptext.bottom = new FormAttachment(100, 0);\r\n\t\tfd_grouptext.right = new FormAttachment(100, 0);\r\n\t\tproperties.setLayoutData(fd_grouptext);\r\n\r\n\r\n\r\n\t\tGroup grpDescription = new Group(sashForm, SWT.NONE);\r\n\t\tgrpDescription.setText(\"Description\");\r\n\t\tgrpDescription.setLayout(new FormLayout());\r\n\t\tFormData fd_grpDescription = new FormData();\r\n\t\tfd_grpDescription.bottom = new FormAttachment(100, 0);\r\n\t\tfd_grpDescription.right = new FormAttachment(100,0);\r\n\t\tfd_grpDescription.top = new FormAttachment(0);\r\n\t\tfd_grpDescription.left = new FormAttachment(0);\r\n\t\tgrpDescription.setLayoutData(fd_grpDescription);\r\n\r\n\t\tdescription = new Text(grpDescription, SWT.BORDER | SWT.WRAP | SWT.V_SCROLL | SWT.MULTI);\r\n\t\tdescription.setParent(grpDescription);\r\n\r\n\t\tFormData fd_description = new FormData();\r\n\t\tfd_description.top = new FormAttachment(0,0);\r\n\t\tfd_description.left = new FormAttachment(0, 0);\r\n\t\tfd_description.bottom = new FormAttachment(100, 0);\r\n\t\tfd_description.right = new FormAttachment(100, 0);\r\n\r\n\t\tdescription.setLayoutData(fd_description);\r\n\r\n\r\n\t\tsashForm.setWeights(new int[] {50,50});\r\n\r\n\t\tbtnTerminer = new Button(shlAjouterNouvelleEquation, SWT.NONE);\r\n\t\tbtnTerminer.setEnabled(false);\r\n\t\tFormData fd_btnTerminer = new FormData();\r\n\t\tfd_btnTerminer.top = new FormAttachment(sashForm, 6);\r\n\t\tfd_btnTerminer.left = new FormAttachment(sashForm,0, SWT.CENTER);\r\n\t\tbtnTerminer.setLayoutData(fd_btnTerminer);\r\n\t\tbtnTerminer.setText(\"Terminer\");\r\n\t\tbtnTerminer.addListener(SWT.Selection, e->{\r\n\t\t\t\r\n\t\t\tboolean go = true;\r\n\t\t\tresult = null;\r\n\t\t\tif (status.equals(ValidationStatus.ok())) {\r\n\t\t\t\t//perform all the neccessary tests before validating the equation\t\t\t\t\t\r\n\t\t\t\tif(equation.isOriented()){\r\n\t\t\t\t\tif(!equation.getListeDeParametresEqn().contains(equation.getParametreDeSortie()) || equation.getParametreDeSortie() == null){\t\t\t\t\t\t\r\n\t\t\t\t\t\tString error = \"Erreur sur l'équation \"+equation.getContenuEqn();\r\n\t\t\t\t\t\tgo = false;\r\n\t\t\t\t\t\tshowError(shlAjouterNouvelleEquation, error);\t\t\t\t\t\r\n\t\t\t\t\t}\r\n\t\t\t\t\tif (go) {\r\n\t\t\t\t\t\tresult = Boolean.TRUE;\r\n\t\t\t\t\t\tshlAjouterNouvelleEquation.dispose();\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t}\r\n\t\t\t\telse {\r\n\t\t\t\t\tequation.setParametreDeSortie(null);\r\n\t\t\t\t\tresult = Boolean.TRUE;\r\n\t\t\t\t\t//Just some cleanup\r\n\t\t\t\t\tfor (Parametre par : equation.getListeDeParametresEqn()) {\r\n\t\t\t\t\t\tif (par.getTypeP().equals(TypeParametre.OUTPUT)) {\t\t\t\t\t\r\n\t\t\t\t\t\t\ttry {\r\n\t\t\t\t\t\t\t\tpar.setTypeP(TypeParametre.UNDETERMINED);\r\n\t\t\t\t\t\t\t\tpar.setSousTypeP(SousTypeParametre.FREE);\r\n\t\t\t\t\t\t\t} catch (Exception e1) {\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\te1.printStackTrace();\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\tshlAjouterNouvelleEquation.dispose();\r\n\t\t\t\t}\r\n\r\n\t\t\t}\r\n\t\t//\tSystem.out.println(equation.getContenuEqn() +\"\\n\"+equation.isConstraint()+\"\\n\"+equation.isOriented()+\"\\n\"+equation.getParametreDeSortie());\r\n\t\t});\r\n\r\n\t\t//In this sub routine I bind the values to the respective controls in order to observe changes \r\n\t\t//and verify the data insertion\r\n\t\tbindValues();\r\n\t}", "private void setupUI() {\r\n\t\tWindow.setTitle(\"Battle\");\r\n\r\n\t\tVerticalPanel panel = new VerticalPanel();\r\n\t\tpanel.addStyleName(NAME);\r\n\t\tinitWidget(panel);\r\n\t\t\r\n\t\tlabelTitle = new Label(\"Battle\");\r\n\t\tlabelTitle.addStyleName(Styles.page_title);\r\n\t\tpanel.add(labelTitle);\r\n\t\t\r\n\t\tLabel instructions = new Label(\"Click to go!\");\r\n\t\tpanel.add(instructions);\r\n\r\n\t\tHorizontalPanel hPanel = new HorizontalPanel();\r\n\t\tpanel.add(hPanel);\r\n\t\t\r\n\t\tCanvas canvas = Canvas.createIfSupported();\r\n\t\thPanel.add(canvas);\r\n\r\n\t\tVerticalPanel vPanelInfo = new VerticalPanel();\r\n\t\thPanel.add(vPanelInfo);\r\n\t\t\r\n\t\tlabelInfo = new Label();\r\n\t\tlabelInfo.addStyleName(Styles.battle_info);\r\n\t\tvPanelInfo.add(labelInfo);\r\n\t\t\r\n\t\tvPanelInfoHistory = new VerticalPanel();\r\n\t\tvPanelInfoHistory.addStyleName(Styles.battle_info_history);\r\n\t\tvPanelInfo.add(vPanelInfoHistory);\r\n\r\n\t\t\r\n\t\tcanvas.setWidth(width + \"px\");\r\n\t\tcanvas.setHeight(height + \"px\");\r\n\t\tcanvas.setCoordinateSpaceWidth(width);\r\n\t\tcanvas.setCoordinateSpaceHeight(height);\r\n\r\n\t\t//Adding handlers seems to create a performance issue in Java\r\n\t\t//mode, but likely not in javascript\r\n\t\tcanvas.addMouseDownHandler(this);\r\n//\t\tcanvas.addMouseUpHandler(this);\r\n//\t\tcanvas.addMouseMoveHandler(this);\r\n\r\n\t\tcontext2d = canvas.getContext2d();\r\n\r\n\t\tlastUpdate = System.currentTimeMillis();\r\n\t\ttimer = new Timer() {\r\n\t\t\t@Override\r\n\t\t\tpublic void run() {\r\n\t\t\t\tlong now = System.currentTimeMillis();\r\n\t\t\t\tupdate(now - lastUpdate);\r\n\t\t\t\tlastUpdate = now;\r\n\r\n\t\t\t\tdraw();\r\n\t\t\t}\r\n\t\t};\r\n\t\ttimer.scheduleRepeating(1000 / 60);\r\n\t}", "private boolean randomSwitch(View v, int screen, float scrollProgress){\n /* YUNOS BEGIN PB*/\n //##modules(HomeShell): ##author:guoshuai.lgs\n //##BugID:(5221896) ##date:2014/09/03\n //##decrpition: support mainmenu feature, cancel drop feature, page management feature, and so on\n //CellLayout cellLayout = (CellLayout) v;\n //ShortcutAndWidgetContainer container = cellLayout.getShortcutAndWidgetContainer();\n\n //final float verticalDelta = 0.7f * cellLayout.getCellHeight()\n // * (float) (1 - Math.abs(2 * Math.abs(scrollProgress) - 1));\n ViewGroup container;\n float verticalDelta;\n \n if (v instanceof CellLayout) {\n CellLayout cellLayout = (CellLayout) v;\n container = cellLayout.getShortcutAndWidgetContainer();\n verticalDelta = 0.7f * cellLayout.getCellHeight()\n * (float) (1 - Math.abs(2 * Math.abs(scrollProgress) - 1));\n } else if (v instanceof PagedViewCellLayout) {\n PagedViewCellLayout cellLayout = (PagedViewCellLayout) v;\n container = cellLayout.getChildrenLayout();\n verticalDelta = 0.7f * cellLayout.getCellHeight()\n * (float) (1 - Math.abs(2 * Math.abs(scrollProgress) - 1));\n } else if (v instanceof PagedViewGridLayout) {\n PagedViewGridLayout layout = (PagedViewGridLayout)v;\n container = (ViewGroup)v;\n verticalDelta = 0.7f * (layout.getHeight()/layout.getCellCountY())\n * (float) (1 - Math.abs(2 * Math.abs(scrollProgress) - 1));\n } else {\n //never\n return false;\n } \n /*YUNOS END PB*/\n\n for (int i = 0; i < container.getChildCount(); i++) {\n /* YUNOS BEGIN PB*/\n //##modules(HomeShell): ##author:guoshuai.lgs\n //##BugID:(5221896) ##date:2014/09/03\n //##decrpition: support mainmenu feature, cancel drop feature, page management feature, and so on\n /*\n View view = container.getChildAt(i);\n ItemInfo info = (ItemInfo) view.getTag();\n if ((info.cellX % 2 == 0)) {\n // even columns\n view.setTranslationY(verticalDelta);\n } else {\n // odd columns\n view.setTranslationY(-verticalDelta);\n }*/\n View view = container.getChildAt(i);\n int index;\n if (v instanceof CellLayout) {\n ItemInfo info = (ItemInfo) view.getTag();\n /* YUNOS BEGIN PB*/\n // ##module:HomeShell ##author:jinjiang.wjj\n // ##BugID:5621125 ##date:2014/12/05\n // ##description:choose floating up and down effect, cause a nullpointer exception\n if (info == null) {\n index = i;\n } else {\n index = info.cellX;\n }\n /* YUNOS END PB*/\n } else {\n index = i;\n }\n \n if (index % 2 == 0) {\n // even columns\n view.setTranslationY(verticalDelta);\n } else {\n // odd columns\n view.setTranslationY(-verticalDelta);\n }\n /*YUNOS END PB*/\n }\n return true;\n }", "public guiProntuarioVirtual() {\n initComponents();\n \n }", "public VivariumPanel()\n {\n // Call super constructor\n super();\n\n // Initialize properties\n this.turtles = new HashSet<>();\n this.isDebug = false;\n }", "public void quickSimulation() {\n\t\tnew SimulationControleur();\n\t}", "public void init() {\n try {\n java.net.URL codeBase = getCodeBase();\n codeBaseString = codeBase.toString();\n } catch (Exception e) {\n // probably running as an application, try the application\n // code base\n codeBaseString = \"file:./\";\n }\n\n if (colorMode == USE_COLOR) {\n objColor = red;\n } else {\n objColor = white;\n }\n\n Container contentPane = getContentPane();\n\n contentPane.setLayout(new BorderLayout());\n\n GraphicsConfiguration config = SimpleUniverse\n .getPreferredConfiguration();\n\n canvas = new Canvas3D(config);\n\n u = new SimpleUniverse(canvas);\n\n if (isApplication) {\n offScreenCanvas = new OffScreenCanvas3D(config, true);\n // set the size of the off-screen canvas based on a scale\n // of the on-screen size\n Screen3D sOn = canvas.getScreen3D();\n Screen3D sOff = offScreenCanvas.getScreen3D();\n Dimension dim = sOn.getSize();\n dim.width *= OFF_SCREEN_SCALE;\n dim.height *= OFF_SCREEN_SCALE;\n sOff.setSize(dim);\n sOff.setPhysicalScreenWidth(sOn.getPhysicalScreenWidth()\n * OFF_SCREEN_SCALE);\n sOff.setPhysicalScreenHeight(sOn.getPhysicalScreenHeight()\n * OFF_SCREEN_SCALE);\n\n // attach the offscreen canvas to the view\n u.getViewer().getView().addCanvas3D(offScreenCanvas);\n\n }\n contentPane.add(\"Center\", canvas);\n\n // setup the env nodes and their GUI elements\n setupLights();\n setupBackgrounds();\n setupFogs();\n setupSounds();\n\n // Create a simple scene and attach it to the virtual universe\n BranchGroup scene = createSceneGraph();\n\n // set up sound\n u.getViewer().createAudioDevice();\n\n // get the view\n view = u.getViewer().getView();\n\n // Get the viewing platform\n ViewingPlatform viewingPlatform = u.getViewingPlatform();\n\n // Move the viewing platform back to enclose the -4 -> 4 range\n double viewRadius = 4.0; // want to be able to see circle\n // of viewRadius size around origin\n // get the field of view\n double fov = u.getViewer().getView().getFieldOfView();\n\n // calc view distance to make circle view in fov\n float viewDistance = (float) (viewRadius / Math.tan(fov / 2.0));\n tmpVector.set(0.0f, 0.0f, viewDistance);// setup offset\n tmpTrans.set(tmpVector); // set trans to translate\n // move the view platform\n viewingPlatform.getViewPlatformTransform().setTransform(tmpTrans);\n\n // add an orbit behavior to move the viewing platform\n OrbitBehavior orbit = new OrbitBehavior(canvas, OrbitBehavior.STOP_ZOOM);\n orbit.setSchedulingBounds(infiniteBounds);\n viewingPlatform.setViewPlatformBehavior(orbit);\n\n u.addBranchGraph(scene);\n\n contentPane.add(\"East\", guiPanel());\n }", "private void createNewVisualPane(int solverId) {\n }", "@Test\n public void correctTextsAndLabels() {\n loadAllStartScreenReferences();\n\n WaitForAsyncUtils.waitForFxEvents(); // waiting for change\n\n Assert.assertEquals(\"Title is not Start!\", \"Start\", stage.getTitle());\n Assert.assertEquals(\"GameName is Incorrect!\", \"TicTacToe Game (3x3)\", gameNameText.getText());\n Platform.runLater(() -> clickOn(startGameButton));\n\n WaitForAsyncUtils.waitForFxEvents(); // waiting for change\n\n settingPlayers();\n loadAllMainScreenReferences();\n Assert.assertEquals(\"Title is not Main!\", \"Main\", stage.getTitle());\n Assert.assertEquals(\"Instruction Label is incorrect!\", \"You go first !\",\n instructionLabel.getText());\n Platform.runLater(() -> clickOn(buttonFour));\n\n WaitForAsyncUtils.waitForFxEvents(); // waiting for change\n\n Assert.assertEquals(\"Instruction Label did not change!\", \"Nice, choose one more!\",\n instructionLabel.getText());\n Platform.runLater(() -> clickOn(leaveButton));\n\n WaitForAsyncUtils.waitForFxEvents(); // waiting for change\n\n Assert.assertEquals(\"Title is not Start!\", \"Start\", stage.getTitle());\n }", "@Override\n\t\t\tpublic void run() {\n\t\t\t\t try {\n\t\t\t\t\tUIManager.setLookAndFeel(\"com.seaglasslookandfeel.SeaGlassLookAndFeel\");\n\t\t\t\t} catch (ClassNotFoundException e1) {\n\t\t\t\t\te1.printStackTrace();\n\t\t\t\t} catch (InstantiationException e1) {\n\t\t\t\t\te1.printStackTrace();\n\t\t\t\t} catch (IllegalAccessException e1) {\n\t\t\t\t\te1.printStackTrace();\n\t\t\t\t} catch (UnsupportedLookAndFeelException e1) {\n\t\t\t\t\te1.printStackTrace();\n\t\t\t\t}\n\n\t\t\t\ttry {\n\t\t\t\t\tsetupLibVLC();\n\t\t\t\t} catch (LibraryNotFoundException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tNative.loadLibrary(RuntimeUtil.getLibVlcLibraryName(), LibVlc.class);\n\t\t\t\t\n\t\t\t\tExtendedFrame frame = new ExtendedFrame();\n\t\t\t\tframe.setResizable(true);\n\t\t\t\tframe.setSize(800, 600);\n\t\t\t\tframe.setMinimumSize(new Dimension(500, 400));\n\t\t\t\tDimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();\n\t\t\t\tframe.setLocationRelativeTo(null);\n\t\t\t\tframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t\t\t\tframe.setVisible(true);\n\t\t\t\t\n\t\t\t\tJOptionPane.showMessageDialog(null, \"Welcome to Vamix!\\n\\nHope you enjoy using vamix!\\nFor help, please click in the Help menu.\\nRefer to user manual for detailed help.\\n\");\n\t\t\t}", "private void makeControls() {\n Label label1 = new Label(\"Placement:\");\n textField = new TextField ();\n textField.setPrefWidth(300);\n\n // Task8 Start the game with the randomly selected piece placement\n textField.setText(\"AAO\");\n makePlacement(\"AAO\");\n\n Button button = new Button(\"Refresh\");\n button.setOnAction(new EventHandler<ActionEvent>() {\n @Override\n public void handle(ActionEvent e) {\n makePlacement(textField.getText());\n // Task8 Do not clear the textField in order to place pieces step by step.\n // textField.clear();\n }\n });\n HBox hb = new HBox();\n hb.getChildren().addAll(label1, textField, button);\n hb.setSpacing(10);\n hb.setLayoutX(130);\n hb.setLayoutY(VIEWER_HEIGHT - 50);\n controls.getChildren().add(hb);\n }", "public void majGui(){\n gui.reset();\n ArrayList<Ball> ballsArray = balls.getBalls();\n for (Ball b: ballsArray){\n Vector location = b.getLocation();\n gui.addGraphicalElement(\n new Oval(\n (int) location.x, (int) location.y, Color.decode(\"#FF77b4\"), Color.decode(\"#00FF48\"), 50));\n }\n }", "public abstract void viewRun();", "private VBox makeUIElements() {\r\n\t\t\r\n\t\tVBox vBox = new VBox();\r\n\t\tvBox.setPadding(new Insets(16));\r\n\t\tvBox.setSpacing(25);\r\n\t\tvBox.setAlignment(Pos.CENTER);\r\n\t\t\r\n\t\tHBox sortingAlgorithmHBox = new HBox();\r\n\t\tsortingAlgorithmHBox.setSpacing(5);\r\n\t\tsortingAlgorithmHBox.setAlignment(Pos.BASELINE_LEFT);\r\n\t\tLabel sortingAlgorithmLabel = new Label(\"Sorting Algorithm:\");\r\n\t\tComboBox<String> sortingAlgorithmComboBox = new ComboBox<>();\r\n\t\tfor (String s : Settings.algorithms) {\r\n\t\t\tsortingAlgorithmComboBox.getItems().add(s);\r\n\t\t}\r\n\t\tsortingAlgorithmComboBox.getSelectionModel().selectFirst();\r\n\t\tsortingAlgorithmHBox.getChildren().addAll(sortingAlgorithmLabel, sortingAlgorithmComboBox);\r\n\t\t\r\n\t\t\r\n\t\tHBox arraySizeHBox = new HBox();\r\n\t\tarraySizeHBox.setSpacing(5);\r\n\t\tarraySizeHBox.setAlignment(Pos.BASELINE_LEFT);\r\n\t\tLabel arraySizeLabel = new Label(\"Array Size:\");\r\n\t\tfinal TextField arraySizeInput = new TextField(\"100\");\r\n\t\tarraySizeInput.setPrefWidth(70);\r\n\t\tarraySizeInput.textProperty().addListener(new ChangeListener<String>() {\r\n\t\t @Override\r\n\t\t public void changed(ObservableValue<? extends String> observable, String oldValue, \r\n\t\t String newValue) {\r\n\t\t if (!newValue.matches(\"\\\\d*\")) {\r\n\t\t \tarraySizeInput.setText(newValue.replaceAll(\"[^\\\\d]\", \"\"));\r\n\t\t }\r\n\t\t }\r\n\t\t});\r\n\t\tarraySizeHBox.getChildren().addAll(arraySizeLabel, arraySizeInput);\r\n\t\t\r\n\t\t\r\n\t\tHBox delayHBox = new HBox();\r\n\t\tdelayHBox.setSpacing(5);\r\n\t\tdelayHBox.setAlignment(Pos.BASELINE_LEFT);\r\n\t\tLabel delayLabel = new Label(\"Step Delay:\");\r\n\t\tSlider delaySlider = new Slider(1, 1000, 1);\r\n\t\tdelaySlider.setPrefWidth(200);\r\n\t\tLabel delayValue = new Label(\"1\");\r\n\t\tdelayValue.setPrefWidth(45);\r\n\t\tdelaySlider.valueProperty().addListener(new ChangeListener<Number>() {\r\n\t public void changed(ObservableValue<? extends Number> ov,\r\n\t Number oldVal, Number newVal) {\r\n\t \tlong val = 5*(Math.round(newVal.doubleValue()/5));\r\n\t \t\r\n\t \tval = Math.max(val, 1);\r\n\t \t\r\n\t \tdelaySlider.setValue(val);\r\n\t \tdelayValue.setText(Long.toString(val) + \" ms\");\r\n\t \tif (CurrentSortStratergy.getInstance().getCurrentStratergy() != null)\r\n\t \t\tCurrentSortStratergy.getInstance().getCurrentStratergy().setDelay(val);\r\n\t }\r\n \t});\r\n\t\tdelayHBox.getChildren().addAll(delayLabel, delaySlider, delayValue);\r\n\t\t\r\n\t\t\r\n\t\tHBox showGenerationBox = new HBox();\r\n\t\tshowGenerationBox.setSpacing(5);\r\n\t\tshowGenerationBox.setAlignment(Pos.BASELINE_LEFT);\r\n\t\tLabel showGenerationLabel = new Label(\"Show Array Generation: \");\r\n\t\tCheckBox showGenerationCheckBox = new CheckBox();\r\n\t\tshowGenerationBox.getChildren().addAll(showGenerationLabel, showGenerationCheckBox);\r\n\t\t\r\n\t\tHBox buttonHBox = new HBox();\r\n\t\tbuttonHBox.setSpacing(5);\r\n\t\tbuttonHBox.setAlignment(Pos.CENTER);\r\n\t\tButton generateButton = new Button(\"Generate Array\");\r\n\t\tgenerateButton.setOnAction(new GenerateButtonHandler(this.canvasPanel, arraySizeInput, showGenerationCheckBox));\r\n\t\tButton sortButton = new Button(\"Start Sort\");\r\n\t\tsortButton.setOnAction(new SortButtonHandler(this.canvasPanel, sortingAlgorithmComboBox, arraySizeInput, delaySlider, showGenerationCheckBox));\r\n\t\tButton stopButton = new Button(\"Stop Sort\");\r\n\t\tstopButton.setOnAction(new StopButtonHandler());\r\n\t\tbuttonHBox.getChildren().addAll(generateButton, sortButton, stopButton);\r\n\t\t\r\n\t\tvBox.getChildren().addAll(sortingAlgorithmHBox, arraySizeHBox, delayHBox, showGenerationBox, buttonHBox);\r\n\t\treturn vBox;\r\n\t\t\r\n\t}", "@Override\n public void run() {\n jmeVisualization = new JMEVisualization();\n jmeVisualization.setRotated(false);\n jmeVisualization.setWidth(getVisualizationPanel().getWidth() - 15);\n jmeVisualization.setHeight(getVisualizationPanel().getHeight() - 30);\n jmeVisualization.startApplication();\n\n /*\n Fetch Canvas from JMEVisualization instance\n */\n jmeCanvas = jmeVisualization.getJmeCanvasContext().getCanvas();\n\n getVisualizationPanel().setLayout(new FlowLayout());\n getVisualizationPanel().add(jmeCanvas);\n getVisualizationPanel().revalidate();\n\n }", "private void gotoSTK(){\n\t short buf_length = (short) MyText.length;\n\t short i = buf_length;\n\t initDisplay(MyText, (short) 0, (short) buf_length, (byte) 0x81,(byte) 0x04);\n}", "private void drawBox(Graphics window, int hsBtoRGB, int x, int y) {\n\t\t\n\t}", "@Override protected void startup() {\n BlaiseGraphicsTestFrameView view = new BlaiseGraphicsTestFrameView(this);\n canvas1 = view.canvas1;\n root1 = view.canvas1.getGraphicRoot();\n canvas1.setSelectionEnabled(true);\n show(view);\n }", "private void psvm() {\n\t\tSystem.out.println(\"test\");\r\n\t}", "public EnhancedVisualView(IReadOnlyModel model, int speed) {\n super();\n this.mm = (AnimationModel) model;\n VisualView vView = new VisualView(mm, speed);\n this.setTitle(vView.getTitle());\n this.setSize(vView.getSize());\n this.setExtendedState(this.getExtendedState() | JFrame.MAXIMIZED_BOTH);\n this.setDefaultCloseOperation(vView.getDefaultCloseOperation());\n\n //use a borderlayout with drawing panel in center and button panel in south\n this.setLayout(vView.getLayout());\n this.vPanel = new VisualPanel(mm, speed);\n vPanel.setPreferredSize(new Dimension(500, 500));\n this.add(vPanel, BorderLayout.CENTER);\n\n //set play button\n buttonPanel = new ButtonPanel();\n this.add(buttonPanel, BorderLayout.SOUTH);\n\n //sets the menu bar\n menuBar = new MenuPanel(mm.getShapes());\n this.add(menuBar, BorderLayout.WEST);\n\n vPanel.setSlider(menuBar.getJSlider());\n this.menuBar.getJSlider().setMinimum(0);\n this.menuBar.getJSlider().setMaximum(this.vPanel.getMaxTick());\n menuBar.getJSlider().setValue(0);\n menuBar.getJSlider().addChangeListener((ChangeEvent e) -> {\n JSlider source = (JSlider) e.getSource();\n int fps = (int) source.getValue();\n if (source.getValueIsAdjusting()) {\n vPanel.stopTimer();\n vPanel.setTick(fps);\n vPanel.repaint();\n } else {\n vPanel.startTimer();\n }\n });\n\n }", "public static void main(String[] args) {\n\t\tSwingUtilities.invokeLater(() -> {\n\t\t\tTreci jvdraw = new Treci();\n\t\t\tDimension d = jvdraw.getSize();\n\t\t\td.setSize(600, 400);\n\t\t\tjvdraw.setSize(d);\n\t\t\tjvdraw.setVisible(true);\n\t\t\t\n\t\t});\n\t}", "@Override\n public void simpleInitApp() {\n setDisplayStatView(false);\n setDisplayFps(false);\n\n // just a blue box\n Box mesh = new Box(1, 1, 1);\n Geometry geom = new Geometry(\"Box\", mesh);\n Material mat = new Material(assetManager,\n \"Common/MatDefs/Misc/Unshaded.j3md\");\n mat.setColor(\"Color\", ColorRGBA.Blue);\n geom.setMaterial(mat);\n rootNode.attachChild(geom);\n\n // Display a line of text in the default font on depth layer 0\n guiFont = assetManager.loadFont(\"Interface/Fonts/Default.fnt\");\n distanceText = new BitmapText(guiFont);\n distanceText.setSize(guiFont.getCharSet().getRenderedSize());\n distanceText.move( // x/y coordinates and z = depth layer 0\n settings.getWidth() / 2 + 50,\n distanceText.getLineHeight() + 20,\n 0);\n guiNode.attachChild(distanceText);\n\n // Display a 2D image or icon on depth layer -2\n Picture frame = new Picture(\"User interface frame\");\n frame.setImage(assetManager, \"Interface/frame.png\", false);\n frame.move(settings.getWidth() / 2 - 265, 0, -2);\n frame.setWidth(530);\n frame.setHeight(10);\n guiNode.attachChild(frame);\n\n // Display a 2D image or icon on depth layer -1\n Picture logo = new Picture(\"logo\");\n logo.setImage(assetManager, \"Interface/Monkey.png\", true);\n logo.move(settings.getWidth() / 2 - 47, 2, -1);\n logo.setWidth(95);\n logo.setHeight(75);\n guiNode.attachChild(logo);\n }", "private void createSimulatorMode() {\n setSize(1000, 750);\n setLocation(new Point(200, 100));\n setDefaultCloseOperation(EXIT_ON_CLOSE);\n\n Container content = getContentPane();\n content.setLayout(new GridBagLayout());\n \n GridBagConstraints c = new GridBagConstraints();\n \n map = new UAVMap(this, UAVModes.SIMULATION, false);\n smenu = new SimUAVMenu();\n toolBar = new SimUAVToolBar();\n map.addConnections(toolBar, smenu);\n smenu.addConnections(toolBar, map);\n toolBar.addConnections(smenu, map);\n \n c.gridy = 0;\n c.fill = GridBagConstraints.HORIZONTAL;\n c.weightx = 1;\n c.weighty = 0;\n content.add(smenu, c);\n \n c.gridy = 1;\n c.fill = GridBagConstraints.BOTH;\n c.weightx = 1;\n c.weighty = 0;\n content.add(toolBar, c);\n \n c.gridy = 2;\n c.fill = GridBagConstraints.BOTH;\n c.weightx = 1;\n c.weighty = 1;\n content.add(map.getCanvas(), c);\n \n setVisible(true);\n map.initializeSimulation();\n map.startTimer();\n }", "public void run() {\n\t\t\t\tshowMessage(\"Notes for 'Class Components Tree' view\", \n\t\t\t\t\t\t\"This view shows the components tree of the class that is selected in Model Explorer.\");\n//\t\t\t\t\t\t\t\"\\n\\nNote that arrays are not expanded.\");\n\t\t\t}", "@Override\n\tpublic void view() {\n\t\t\n\t}", "@Override\n public void start(Stage primaryStage) throws Exception {\n buttons = new Button[size][size];\n logic = new FindPairLogic(size);\n\n var pane = new GridPane();\n pane.setAlignment(Pos.CENTER);\n var scene = new Scene(pane, WIDTH, HEIGHT);\n for (int i = 0; i < size; i++) {\n for (int j = 0; j < size; j++) {\n buttons[i][j] = new Button();\n buttons[i][j].setMaxWidth(Double.MAX_VALUE);\n buttons[i][j].setMaxHeight(Double.MAX_VALUE);\n buttons[i][j].setFocusTraversable(false);\n GridPane.setHgrow(buttons[i][j], Priority.ALWAYS);\n GridPane.setVgrow(buttons[i][j], Priority.ALWAYS);\n pane.add(buttons[i][j], i, j);\n int i1 = i;\n int j1 = j;\n buttons[i][j].setOnMouseClicked(event -> {\n if (isGameEnable.get()) {\n dealWithState(logic.getState(i1, j1));\n }\n });\n }\n }\n\n primaryStage.setScene(scene);\n primaryStage.show();\n }", "public void run() {\n\t\t\t\tif (actionShowOutputs.isChecked()) {\n\t\t\t\t\torg.openmodelica.modelicaml.common.instantiation.TreeUtls.classInstantiation = null;\n\t\t\t\t\torg.openmodelica.modelicaml.common.instantiation.TreeUtls.componentsTreeRoot = null;\n\t\t\t\t\tshowSelection(par, sel);\n\t\t\t\t}\n\t\t\t}", "@Override\r\n public void start(Stage primaryStage) {\r\n \r\n \r\n // StackPane root = new StackPane(); \r\n Scene scene = new Scene(root, 900, 900); //set up a window with these propotions\r\n \r\n primaryStage.setTitle(\"Keep it Clean simulator\"); //window title\r\n primaryStage.setScene(scene);\r\n primaryStage.show();\r\n \r\n setLayout();\r\n \r\n drawUI.Draw(dataInput, tileMin, tileMax);\r\n }", "private void setupVisualizerFxAndUi() {\n mVisualizer = new Visualizer(0); // Using system audio session ID\n mVisualizer.setEnabled(false);\n mVisualizer.setCaptureSize(Visualizer.getCaptureSizeRange()[1] );\n mVisualizer.setScalingMode(SCALING_MODE_AS_PLAYED);//SCALING_MODE_NORMALIZED);//\n mVisualizer.setDataCaptureListener(\n new Visualizer.OnDataCaptureListener() {\n public void onWaveFormDataCapture(\n Visualizer visualizer,\n byte[] bytes,\n int samplingRate) {\n // mVisualizerView.updateVisualizer(bytes);\n }\n\n public void onFftDataCapture(\n Visualizer visualizer,\n byte[] bytes,\n int samplingRate) {\n //mVisualizerView.updateVisualizer(bytes);\\\n if(debugModeOn) {\n debugViewModel.update(bytes);\n }\n // Do nothing for now\n }\n }, Visualizer.getMaxCaptureRate()-1 , false, true);\n }", "private void $$$setupUI$$$() {\n createUIComponents();\n contentPane = new JPanel();\n contentPane.setLayout(new com.intellij.uiDesigner.core.GridLayoutManager(13, 1, new Insets(10, 10, 10, 10), -1, -1));\n final JLabel label1 = new JLabel();\n label1.setText(\"Connection re-express probability when crossed.\");\n contentPane.add(label1, new com.intellij.uiDesigner.core.GridConstraints(0, 0, 1, 1, com.intellij.uiDesigner.core.GridConstraints.ANCHOR_WEST, com.intellij.uiDesigner.core.GridConstraints.FILL_NONE, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_FIXED, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));\n final com.intellij.uiDesigner.core.Spacer spacer1 = new com.intellij.uiDesigner.core.Spacer();\n contentPane.add(spacer1, new com.intellij.uiDesigner.core.GridConstraints(12, 0, 1, 1, com.intellij.uiDesigner.core.GridConstraints.ANCHOR_CENTER, com.intellij.uiDesigner.core.GridConstraints.FILL_VERTICAL, 1, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_WANT_GROW, null, null, null, 0, false));\n contentPane.add(connectionReexpressSlider, new com.intellij.uiDesigner.core.GridConstraints(1, 0, 1, 1, com.intellij.uiDesigner.core.GridConstraints.ANCHOR_CENTER, com.intellij.uiDesigner.core.GridConstraints.FILL_HORIZONTAL, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_CAN_SHRINK | com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_CAN_GROW, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_CAN_SHRINK | com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));\n final JLabel label2 = new JLabel();\n label2.setText(\"Mutation probability when crossed.\");\n contentPane.add(label2, new com.intellij.uiDesigner.core.GridConstraints(2, 0, 1, 1, com.intellij.uiDesigner.core.GridConstraints.ANCHOR_WEST, com.intellij.uiDesigner.core.GridConstraints.FILL_NONE, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_FIXED, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));\n contentPane.add(mutationWhenCrossedSlider, new com.intellij.uiDesigner.core.GridConstraints(3, 0, 1, 1, com.intellij.uiDesigner.core.GridConstraints.ANCHOR_CENTER, com.intellij.uiDesigner.core.GridConstraints.FILL_HORIZONTAL, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_CAN_SHRINK | com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_CAN_GROW, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_CAN_SHRINK | com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));\n final JLabel label3 = new JLabel();\n label3.setText(\"Diff excess gene count factor.\");\n contentPane.add(label3, new com.intellij.uiDesigner.core.GridConstraints(4, 0, 1, 1, com.intellij.uiDesigner.core.GridConstraints.ANCHOR_WEST, com.intellij.uiDesigner.core.GridConstraints.FILL_NONE, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_FIXED, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_FIXED, null, new Dimension(195, 22), null, 0, false));\n diffExcessFactorField = new FloatTextField();\n contentPane.add(diffExcessFactorField, new com.intellij.uiDesigner.core.GridConstraints(5, 0, 1, 1, com.intellij.uiDesigner.core.GridConstraints.ANCHOR_CENTER, com.intellij.uiDesigner.core.GridConstraints.FILL_HORIZONTAL, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_CAN_SHRINK | com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_CAN_GROW, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_CAN_SHRINK | com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));\n final JLabel label4 = new JLabel();\n label4.setText(\"Diff disjoint gene count factor.\");\n contentPane.add(label4, new com.intellij.uiDesigner.core.GridConstraints(6, 0, 1, 1, com.intellij.uiDesigner.core.GridConstraints.ANCHOR_WEST, com.intellij.uiDesigner.core.GridConstraints.FILL_NONE, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_FIXED, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));\n diffDisjointFactorField = new FloatTextField();\n contentPane.add(diffDisjointFactorField, new com.intellij.uiDesigner.core.GridConstraints(7, 0, 1, 1, com.intellij.uiDesigner.core.GridConstraints.ANCHOR_CENTER, com.intellij.uiDesigner.core.GridConstraints.FILL_HORIZONTAL, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_CAN_SHRINK | com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_CAN_GROW, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_CAN_SHRINK | com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));\n final JLabel label5 = new JLabel();\n label5.setText(\"Diff weight factor.\");\n contentPane.add(label5, new com.intellij.uiDesigner.core.GridConstraints(8, 0, 1, 1, com.intellij.uiDesigner.core.GridConstraints.ANCHOR_WEST, com.intellij.uiDesigner.core.GridConstraints.FILL_NONE, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_FIXED, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));\n diffWeightFactorField = new FloatTextField();\n contentPane.add(diffWeightFactorField, new com.intellij.uiDesigner.core.GridConstraints(9, 0, 1, 1, com.intellij.uiDesigner.core.GridConstraints.ANCHOR_CENTER, com.intellij.uiDesigner.core.GridConstraints.FILL_HORIZONTAL, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_CAN_SHRINK | com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_CAN_GROW, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_CAN_SHRINK | com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));\n final JLabel label6 = new JLabel();\n label6.setText(\"Diff normalize gene count threshold.\");\n contentPane.add(label6, new com.intellij.uiDesigner.core.GridConstraints(10, 0, 1, 1, com.intellij.uiDesigner.core.GridConstraints.ANCHOR_WEST, com.intellij.uiDesigner.core.GridConstraints.FILL_NONE, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_FIXED, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_FIXED, null, null, null, 0, false));\n diffNormalizeThresholdField = new IntTextField();\n contentPane.add(diffNormalizeThresholdField, new com.intellij.uiDesigner.core.GridConstraints(11, 0, 1, 1, com.intellij.uiDesigner.core.GridConstraints.ANCHOR_CENTER, com.intellij.uiDesigner.core.GridConstraints.FILL_HORIZONTAL, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_CAN_SHRINK | com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_CAN_GROW, com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_CAN_SHRINK | com.intellij.uiDesigner.core.GridConstraints.SIZEPOLICY_CAN_GROW, null, null, null, 0, false));\n }", "public void run() {\n\t\t\t\tui = new GUI();\n\t\t\t\tui.generateUI();\n\t\t\t\tui.showUI(true);\n\n\t\t\t\t// Start sim ticking - sim is initialized below *before* this is called\n\t\t\t\tsim.newSim();\n\t\t\t\tsim.start();\n\t\t\t}", "void createEqualizerControls();", "@Override\n \tprotected void controlRender(RenderManager rm, ViewPort vp) {\n \n \t}", "public TextUI() {\n rand = new Random(System.nanoTime());\n scan = new Scanner(System.in);\n }", "private void makeGUI() {\n\t\tframe = new JFrame(\"Sudoku\");\n\t\tframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t\tpane = frame.getContentPane();\n\t\t// Knappar\n\t\tbtnSolve = new JButton(\"Solve\");\n\t\tbtnClear = new JButton(\"Clear\");\n\t\tDimension btnDim = new Dimension(100, 25);\n\t\tbtnSolve.setPreferredSize(btnDim);\n\t\tbtnClear.setPreferredSize(btnDim);\n\t\t// ActionListeners\n\t\tbtnSolve.addActionListener(e -> {\n\t\t\tboolean errorFound = false;\n\t\t\tfor (int r = 0; r < size; r++) {\n\t\t\t\tfor (int c = 0; c < size; c++) {\n\t\t\t\t\tint nbr;\n\t\t\t\t\tString input = grid[r][c].getText();\n\t\t\t\t\tboolean isEmpty = input.equals(\"\");\n\t\t\t\t\ttry {\n\t\t\t\t\t\tif (input.strip().equals(\"0\")) {\n\t\t\t\t\t\t\tthrow new NumberFormatException();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tnbr = Integer.parseInt(input);\n\t\t\t\t\t} catch (NumberFormatException err1) {\n\t\t\t\t\t\tnbr = 0;\n\t\t\t\t\t\tif (!isEmpty) {\n\t\t\t\t\t\t\tgrid[r][c].setText(\"\");\n\t\t\t\t\t\t\tshowBadInputMessage();\n\t\t\t\t\t\t\terrorFound = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\ttry {\n\t\t\t\t\t\tif (nbr == 0) {\n\t\t\t\t\t\t\tb.clearNumber(r, c);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tb.setNumber(r, c, nbr);\n\t\t\t\t\t\t}\n\t\t\t\t\t} catch (IllegalArgumentException err2) {\n\t\t\t\t\t\tnbr = 0;\n\t\t\t\t\t\tgrid[r][c].setText(\"\");\n\t\t\t\t\t\tshowBadInputMessage();\n\t\t\t\t\t\terrorFound = true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (!errorFound) {\n\t\t\t\tboolean solved = b.solve();\n\t\t\t\tif (!solved) showUnsolvableMessage();\n\t\t\t\telse setMatrixText(b.getMatrix());\n\t\t\t}\n\t\t});\n\t\tbtnClear.addActionListener(e -> {\n\t\t\tb.clear();\n\t\t\tclear();\n\t\t});\n\t\t// Dimensioner\n\t\tint sqDim = (int) Math.sqrt(size);\n\t\t// Ramar\n\t\tsquareBorder = BorderFactory.createLineBorder(Color.BLACK, 2);\n\t\tcellBorder = BorderFactory.createLineBorder(Color.GRAY, 1);\n\t\tgridBorder = BorderFactory.createLineBorder(Color.DARK_GRAY, 2);\n\t\t// Lägg till alla textrutor i matrisen, sätt alla tal till 0\n\t\tfor (int r = 0; r < size; r++) {\n\t\t\tfor (int c = 0; c < size; c++) {\n\t\t\t\tb.getMatrix()[r][c] = 0;\n\t\t\t\tJTextField cell = new JTextField();\n\t\t\t\tcell.setBorder(cellBorder);\n\t\t\t\tcell.setHorizontalAlignment(JTextField.CENTER);\n\t\t\t\tcell.setFont(new Font(\"Verdana\", Font.CENTER_BASELINE, 20));\n\t\t\t\tgrid[r][c] = cell;\n\t\t\t}\n\t\t}\n\t\t//Paneler\n\t\tsquarePanels = new JPanel[sqDim][sqDim];\n\t\tgridPanel = new JPanel();\n\t\tgridPanel.setLayout(new GridLayout(sqDim, sqDim));\n\t\tgridPanel.setBorder(gridBorder);\n\t\t\n\t\tbtnPanel = new JPanel();\n\t\tbtnPanel.setLayout(new BorderLayout());\n\t\tbtnPanel.add(btnSolve,\tBorderLayout.WEST);\n\t\tbtnPanel.add(btnClear,\tBorderLayout.EAST);\n\t\t// Lägg till alla stora rutor i matrisen och rutnätet\n\t\tfor (int r = 0; r < sqDim; r++) {\n\t\t\tfor (int c = 0; c < sqDim; c++) {\n\t\t\t\tJPanel square = new JPanel();\n\t\t\t\tsquare.setLayout(new GridLayout(sqDim, sqDim));\n\t\t\t\tsquare.setBorder(squareBorder);\n\t\t\t\tsquarePanels[r][c] = square;\n\t\t\t\tgridPanel.add(square);\n\t\t\t}\n\t\t}\n\t\t// Lägg till textrutorna i de stora stora rutorna\n\t\tfor (int r = 0; r < size; r++) {\n\t\t\tfor (int c = 0; c < size; c++) {\n\t\t\t\tint currentRow = r / sqDim;\n\t\t\t\tint currentCol = c / sqDim;\n\t\t\t\tsquarePanels[currentRow][currentCol].add(grid[r][c]);\n\t\t\t}\n\t\t}\n\t\t\n\t\tpane.add(gridPanel,\tBorderLayout.CENTER);\n\t\tframe.add(btnPanel,\tBorderLayout.SOUTH);\n\t\tpane.setPreferredSize(new Dimension(400,400));\n\t\tframe.pack();\n\t\tframe.setVisible(true);\n\t}", "@Override\r\n\tprotected void onUnitSelection(SelectionEvent e) {\n\t\tSystem.out.println(\"unit button implementation\");\r\n\t}", "public static void main(String[] args) {\n \n javax.swing.SwingUtilities.invokeLater(new Runnable() {\n \npublic void run() {\n \n createAndShowGUI(); \n \n}\n \n });\n }", "public void verify() {\n lblPaletteContent();\n treePaletteContentsTree();\n lblJLabel();\n btMoveUp();\n btMoveDown();\n btRemove();\n btNewCategory();\n btAddFromJAR();\n btAddFromLibrary();\n btAddFromProject();\n btResetPalette();\n btClose();\n }", "public void run() {\n int x = m.getCurrentMouse().getX();\n int y = m.getCurrentMouse().getY();\n int scrollX = view.getScroll().getHorizontalScrollBar().getValue();\n int scrollY = view.getScroll().getVerticalScrollBar().getValue();\n\n int clickX = x + scrollX - 40;\n\n int clickY = y + scrollY - 30;\n\n\n int fromTheTop = clickY / 21;\n int fromTheLeft = clickX / 21;\n\n\n Note n = model.getHighestPitch();\n\n for (int i = 0; i < fromTheTop; i++) {\n n = Note.prevNote(n);\n }\n Note nd = new Note(n.getPitchLetter(), n.getOctave(), fromTheLeft, fromTheLeft);\n Note noteToBeSelected = this.model.getOverlappedNote(nd);\n this.model.setSelectedNote(noteToBeSelected);\n\n view.setAllNotes(model.getMusic());\n view.setLength(model.getDuration());\n view.setTone(model.getTone(model.getNotes()));\n view.setTempo(model.getTempo());\n }", "void run() {\n pack();\n setVisible(true);\n }", "public void setUpView() {\n\n\n\t\t//Make the components\n\t\tinputAnswer = new Button(\"Submit\");\n\t\tbegin\t\t= new Button(\"Begin level \" + gameLevel);\n\t\tblueButt\t= new Button();\n\t\tredButt = new Button();\n\t\tgreenButt = new Button();\n\t\tyellowButt = new Button();\n\t\tclear = new Button(\"Clear\");\n\t\tguessArea = new TextArea();\n\t\ttopPan = new Panel();\n\t\tinstructLab = new Label(\"Welcome to the great guessing game. Try and finish it, its fun honest!\");\n\t\treset = new Button(\"Start again?\");\n\t\tpointsLab = new Label(\"Points: \" + points);\n\t\t\n\t\t//Change the font\n\t\tFont font = new Font(\"Verdana\", Font.BOLD, 18);\n\t\tinstructLab.setFont(font);\n\t\t\n\t\t//Add the label to the top panel\n\t\ttopPan.add(instructLab);\n\t\t\n\t\t//Set layout\n\t\tsetLayout(new MigLayout());\n\t\n\t\t//Set the size of the components\n\t\tblueButt.setPreferredSize (new Dimension(60, 50));\n\t\tredButt.setPreferredSize (new Dimension(60, 50));\n\t\tgreenButt.setPreferredSize (new Dimension(60, 50));\n\t\tyellowButt.setPreferredSize(new Dimension(60, 50));\n\t\tguessArea.setPreferredSize (new Dimension(50, 10));\n\t\tpointsLab.setPreferredSize (new Dimension(100, 30));\n\t\t\n\t\t//Turn the submit button of until there is something to submit\n\t\tinputAnswer.setEnabled(false);\n\n\t\t//Set the button colour\n\t\tblueButt.setBackground (Color.blue);\n\t\tredButt.setBackground (Color.red);\n\t\tgreenButt.setBackground (Color.green);\n\t\tyellowButt.setBackground(Color.yellow);\n\t\t\n\t\t//Hide the reset button until it is needed\n\t\treset.setVisible(false);\n\n\t\t//Add the components to the applet\n\t\tadd(topPan, \"wrap\");\n\t\tadd(redButt, \"cell 0 1\");\n\t\tadd(blueButt, \"cell 0 1\");\t\t\n\t\tadd(greenButt, \"cell 0 1\");\n\t\tadd(yellowButt, \"cell 0 1\");\n\t\tadd(begin, \"wrap\");\n\t\tadd(guessArea, \"wrap\");\n\t\tadd(inputAnswer,\"split 2\");\t\n\t\tadd(clear, \"gap left 340, cell 0 2, wrap\");\n\t\tadd(reset, \t\t\"wrap\");\n\t\tadd(pointsLab);\n\n\n\n\t\t//If the status bar is present show the user there level\n\t\tshowStatus(\"You are on level: \" + gameLevel);\n\n\n\t\t//Set the size of the applet\n\t\tsetSize(new Dimension(1000, 1000));\n\n\t}", "public void showGui()\n {\n // TODO\n }", "private void displayGUI()\n {\n SpringLayout springLayout = new SpringLayout();\n setLayout(springLayout);\n\n displayTextAreas(springLayout);\n displayButtons(springLayout);\n displayLabels(springLayout);\n displayTables(springLayout);\n //displaySelectedQuestion();\n }", "public void vignette() {\n int rows= currentIm.getRows();\n int cols= currentIm.getCols();\n \n int middleRow = rows/2; //Height of the right angle\n int middleCol = cols/2; //Width of the right angle\n double hfD = (Math.sqrt(Math.pow(rows,2)+Math.pow(cols,2)))/2;\n \n //Outer: Rows, Inner: Columns\n for(int rr = 0; rr < rows; rr++){\n \n for(int cc = 0; cc < cols; cc++){\n \n int rgb= currentIm.getPixel(rr,cc);\n double red= DM.getRed(rgb);\n double blue= DM.getBlue(rgb);\n double green= DM.getGreen(rgb);\n int alpha= DM.getAlpha(rgb);\n \n double currentDistance = Math.sqrt(Math.pow(Math.abs(middleRow-rr),2)+\n Math.pow(Math.abs(middleCol-cc),2));\n \n double vigValue = 1-Math.pow((currentDistance/hfD),2);\n \n red = red * vigValue;\n green = green * vigValue;\n blue = blue * vigValue;\n \n currentIm.setPixel(rr, cc,\n (alpha << 24) | ((int)red << 16) | ((int)green << 8) | \n (int)blue);\n }\n \n }\n \n }", "public void updateUI()\n\t{\n\t\tif( isRunning() == false) \n\t\t{\n\t\t\tupdateButton(\"Run\");\n\t\t\tbutton.setClickable(true);\n\t\t\tupdateTextView(Feedback.getMessage(Feedback.TYPE.NEW_TEST, null));\n\t\t}else\n\t\t{\n\t\t\tbutton.setClickable(true);\n\t\t\tupdateButton( \"Stop\" );\n\t\t\tupdateTextView(\"Tests are running.\");\n\n\t\t}\n\t}", "public void run() {\n int x = m.getCurrentMouse().getX();\n int y = m.getCurrentMouse().getY();\n int scrollX = view.getScroll().getHorizontalScrollBar().getValue();\n int scrollY = view.getScroll().getVerticalScrollBar().getValue();\n\n int clickX = x + scrollX - 40;\n\n int clickY = y + scrollY - 30;\n\n int fromTheTop = clickY / 21;\n int fromTheLeft = clickX / 21;\n\n\n Note n = model.getHighestPitch();\n\n for (int i = 0; i < fromTheTop; i++) {\n n = Note.prevNote(n);\n }\n this.model.setNoteToBeAdded(new Note(n.getPitchLetter(), n.getOctave(),\n fromTheLeft, fromTheLeft));\n\n view.setAllNotes(model.getMusic());\n view.setLength(model.getDuration());\n view.setTone(model.getTone(model.getNotes()));\n view.setTempo(model.getTempo());\n\n\n }", "public interface GUI {\r\n\r\n public SPLGraph getSoundLevelGraph();\r\n\r\n public int getHeight();\r\n\r\n public int getWidth();\r\n\r\n public float getLabelWidth(String label, boolean antiAlias);\r\n\r\n public float getLabelHeight(String label, boolean antiAlias);\r\n\r\n public void drawLine(NTColor color, float x1, float y1, float x2, float y2, boolean antiAlias, boolean hairline);\r\n\r\n public void drawLabel(String label, NTColor labelColor, float x, float y, boolean antiAlias);\r\n\r\n public void drawSurface(NTColor color, ArrayList<Float> xs, ArrayList<Float> ys, boolean antiAlias);\r\n\r\n }", "public void layoutGUI() {\r\n\t\t\r\n\t\tsetLayout(null);\r\n\t\tthis.setSize(800,600);\r\n\t\tthis.setLocation(50,50);\r\n\t\tthis.setTitle(\"Hunt the Wumpus\");\r\n\r\n\t\t\r\n\t\tstatusLabel = new JLabel();\r\n\t\tstatusLabel.setLocation(15, 500);\r\n\t\tstatusLabel.setSize(300, 20);\r\n\t\tadd(statusLabel);\r\n\t\r\n\t\tTextView textPanel = new TextView(game);\t\r\n\t\tImageView imagePanel = new ImageView(game);\r\n\t\t\r\n\t\tgame.addObserver(this);\r\n\t\tgame.addObserver(textPanel);\r\n\t\tgame.addObserver(imagePanel);\r\n\t\r\n\t\t\t\t\r\n\t\tthis.controlPanel = new JPanel();\r\n\t\tcontrolPanel.setLocation(15, 50);\r\n\t\tcontrolPanel.setSize(250, 400);\r\n\t\tcontrolPanel.setLayout(new BoxLayout(controlPanel, BoxLayout.Y_AXIS));\r\n\t\t\r\n\t\tadd(controlPanel);\r\n\t\t\r\n\t\tthis.controls = new JTextArea();\r\n\t\tcontrols.setEditable(false);\r\n\t\tcontrols.setFocusable(false);\r\n\t\tcontrols.setText(\"Up Arrow:\\tMove North\\n\"\r\n\t\t\t\t + \"Down Arrow:\\tMove South\\n\"\r\n\t\t\t\t + \"Left Arrow:\\tMove West\\n\"\r\n\t\t\t\t + \"Right Arrow:\\tMove East\\n\"\r\n\t\t\t\t + \"\\n\\n\"\r\n\t\t\t\t + \"W:\\tShoot Arrow North\\n\"\r\n\t\t\t\t + \"S:\\tShoot Arrow South\\n\"\r\n\t\t\t\t + \"A:\\tShoot Arrow West\\n\"\r\n\t\t\t\t + \"D:\\tShoot Arrow East\");\r\n\t\tcontrolPanel.add(controls);\r\n\t\t\r\n\t\teasy = new JRadioButton(\"Easy\");\r\n\t\teasy.setFocusable(false);\r\n\t\t\r\n\t\tmedium = new JRadioButton(\"Medium\");\r\n\t\tmedium.setFocusable(false);\r\n\t\t\r\n\t\thard = new JRadioButton(\"Hard\");\r\n\t\thard.setFocusable(false);\r\n\t\t\r\n\t\tButtonGroup group = new ButtonGroup();\r\n\t\tJButton reset = new JButton(\"Reset\");\r\n\t\treset.setFocusable(false);\r\n\t\t\r\n\t\tButtonGroup bg = new ButtonGroup();\r\n\t\t\r\n\t\treset.addActionListener(new ActionListener() {\r\n\r\n\t\t\t@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\r\n\t\t\t\tresetGame();\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t\t\r\n\t\t});\r\n\t\t\r\n\t\teasy.setSelected(true);\r\n\t\t\r\n\t\tbg.add(easy);\r\n\t\tbg.add(medium);\r\n\t\tbg.add(hard);\r\n\t\t\r\n\t\tcontrolPanel.add(easy);\r\n\t\tcontrolPanel.add(medium);\r\n\t\tcontrolPanel.add(hard);\r\n\t\tcontrolPanel.add(reset);\r\n\t\t\r\n\t\tthis.tabPane = new JTabbedPane();\r\n\t\ttabPane.setLocation(280, 30);\r\n\t\ttabPane.setSize(500\t,500);\r\n\t\ttabPane.setFocusable(false);\r\n\t\ttabPane.addTab(\"Image View\", imagePanel);\r\n\t\ttabPane.addTab(\"Text View\", textPanel);\t\t\r\n\t\tadd(tabPane);\r\n\t\t\r\n\t}", "public void actionPerformed(ActionEvent e) {\n Object source = e.getSource();\n GSelection<Variant> sel = viewer.getSelection();\n Variant v = sel.isEmpty() ? null : sel.first();\n\n ImOption.apply(viewer.getModel()).foreach(schedule -> {\n\n // Force a repaint of the action if it's a button. This is an AWT bug.\n if (source instanceof JButton)\n ((JButton) source).repaint();\n\n if (source == add) {\n\n // Add a new variant. Selection will not change but position might.\n VariantEditor ve = new VariantEditor(context.getShell().getPeer());\n if (JOptionPane.CANCEL_OPTION != ve.showNew(\"Untitled\", (byte) 0, (byte) 0, (byte) 0))\n schedule.addVariant(ve.getVariantName(), ve.getVariantConditions(), ve.getVariantWindConstraint(), ve.getVariantLgsConstraint());\n setUpDownEnabledState(sel);\n\n } else if (source == del) {\n\n // Delete the selected variant. Selection will change.\n if (JOptionPane.NO_OPTION == JOptionPane.showConfirmDialog(context.getShell().getPeer(),\n \"Do you really want to remove this variant?\",\n \"Confirm Remove\", JOptionPane.YES_NO_OPTION))\n return;\n\n schedule.removeVariant(v);\n\n } else if (source == up) {\n\n // Move up. Selection will not change but position will.\n schedule.moveVariant(v, -1);\n setUpDownEnabledState(sel);\n\n } else if (source == down) {\n\n // Move down. Selection will not change but position will.\n schedule.moveVariant(v, 1);\n setUpDownEnabledState(sel);\n\n } else if (source == dup) {\n\n // Duplicate. Selection will not change but position might.\n Variant dup = schedule.duplicateVariant(v);\n dup.setName(\"Copy of \" + dup.getName());\n setUpDownEnabledState(sel);\n\n }\n });\n }", "private void builder(){\r\n //Objects\r\n //Left\r\n canvasStackPane.setAlignment(Pos.TOP_LEFT);\r\n left1HintButton = new Button(\"Hint\");\r\n left2Button = new Button(\"New Graph\");\r\n left3Button = new Button(\"New GameMode\");\r\n left4Button = new Button(\"New GraphMode\");\r\n left5Button = new Button(\"Finished\");\r\n leftRestLabel = new Label();\r\n //Up\r\n upperLeftButton = new Label(\"Menu\");\r\n upperLeftButton.setAlignment(Pos.CENTER);\r\n upper1Label = new Label();\r\n upper2Label = new Label();\r\n upper3Label = new Label();\r\n upperRestLabel = new Label();\r\n //calculateVectors\r\n backPane.setPickOnBounds(false);\r\n textFieldVertices.setPromptText(\"Vertices\");\r\n textFieldEdges.setPromptText(\"Edges\");\r\n gameEnd.setSpacing(30);\r\n gameEnd.setAlignment(Pos.CENTER);\r\n gameWinStackPane.setAlignment(Pos.CENTER);\r\n hBoxWin.setAlignment(Pos.CENTER);\r\n hBoxWin.setSpacing(30);\r\n canvasStackPane.setPickOnBounds(true);\r\n canvas.setPickOnBounds(true);\r\n canvas.getGraphicsContext2D().setLineWidth(2.5);\r\n }", "public interface View extends Task {\r\n\r\n\tpublic void setUserPoints();\r\n\t/**\r\n\t * <h1> startView <h1> <p>\r\n\t * start conversation\r\n\t */\r\n\tpublic void startView() throws IOException;\r\n\t\r\n\t/**\r\n\t * <h1> displayCurrentState<h1> <p>\r\n\t * redraw canvas and show the new state\r\n\t * \r\n\t */\r\n\tpublic void displayCurrentState(State game);\r\n\t\r\n\t/**\r\n\t * return user action\r\n\t */\r\n\tpublic String getUserAction();\r\n\t\r\n\t/**\r\n\t * <h1>gameOver<h1><p>\r\n\t * print if the game is over\r\n\t */\r\n\tpublic void gameOver(int gameOver);\r\n\t\r\n\tpublic void printHint(String hint);\r\n\t\r\n\t/**\r\n\t * <h1> setButtonSelection <h1>\r\n\t * get message from canvas which button selected\r\n\t * \r\n\t */\r\n\tpublic void setButtonSelection(String action);\r\n\t\r\n\t/**\r\n\t * <h1> changeLableText <h1><p>\r\n\t * get score of Reversi game add show score on window \r\n\t */\r\n\tpublic void changeLableText(int playerScore,int computerScore);\r\n\t\r\n\tpublic void getExeptionMessage(String message);\r\n\t\r\n\t/**\r\n\t * insert properties\r\n\t */\r\n\tpublic void insertProperties();\r\n}", "public void update() { \r\n // create container\r\n Element container = createContainer(root.actual(), name, \r\n wiz.getTotalWidth(), wiz.getTotalHeight());\r\n \r\n if (root.isType(OBJECTS)) {\r\n setAttributeIfMissing(container, POS_X, \"0\");\r\n setAttributeIfMissing(container, POS_Y, \"0\"); \r\n }\r\n \r\n // create background circle\r\n int startAng = wiz.getStartAngle();\r\n int endAng = wiz.getEndAngle();\r\n Element ellipse; \r\n ellipse = createEllipse(container, \"background\", wiz.getBackgroundWidth(), wiz.getBackgroundWidth(),\r\n startAng, endAng,\r\n wiz.getFillAttribute(), wiz.getLineAttribute(), !wiz.isCuttedCircle()); \r\n setIncludeAttributes(ellipse, (wiz.getTotalWidth() - wiz.getBackgroundWidth()) / 2, \r\n (wiz.getTotalHeight() - wiz.getBackgroundWidth()) / 2);\r\n \r\n //create meter \r\n int minVal = (int) (wiz.getMinValue() / wiz.getScale()) - wiz.getOffset();\r\n int maxVal = (int) (wiz.getMaxValue() / wiz.getScale()) - wiz.getOffset();\r\n Element meter = createMeter(container, \"metercomp\", wiz.getMeterWidth(), \r\n startAng, endAng, minVal, maxVal,\r\n wiz.getValue(), wiz.getTicks(), wiz.isClockwise(),\r\n wiz.getNeedleColor(), wiz.getArcAndTickColor(), wiz.getNumberReference());\r\n setIncludeAttributes(meter, (wiz.getTotalWidth() - wiz.getMeterWidth()) / 2,\r\n (wiz.getTotalHeight() - wiz.getMeterWidth()) / 2);\r\n \r\n // create numbers\r\n if (startAng > endAng) startAng -= 360;\r\n if (wiz.isClockwise()) {\r\n int temp = startAng;\r\n startAng = endAng;\r\n endAng = temp;\r\n }\r\n Element fontElement = root.getModel().getElementByName(wiz.getFontAttribute());\r\n int fontWidth = (int) BitmapFont.nameToDimension(fontElement.getAttribute(FONT_SIZE)).getWidth();\r\n int fontHeight = (int) BitmapFont.nameToDimension(fontElement.getAttribute(FONT_SIZE)).getHeight();\r\n int i;\r\n for (i = 0; i < wiz.getNumbers() && wiz.getNumbers() > 1; i++) {\r\n int value = wiz.getMinValue() + i*(wiz.getMaxValue()-wiz.getMinValue()) / (wiz.getNumbers()-1); \r\n String valueString = Integer.toString(value);\r\n int stringWidth = (fontWidth * valueString.length());\r\n \r\n Element number = createString(container, \"label\" + i, fontWidth * valueString.length(), \r\n fontHeight, valueString, wiz.getFontAttribute());\r\n \r\n double ang = Math.toRadians(startAng + i * (endAng - startAng) / (wiz.getNumbers() - 1));\r\n double rad = wiz.getMeterWidth() / 2 + wiz.getNumberDistance();\r\n int x = wiz.getTotalWidth() / 2 + (int) (Math.cos(-ang) * rad) - stringWidth / 2;\r\n int y = wiz.getTotalHeight() / 2 + (int) (Math.sin(-ang) * rad) - fontHeight / 2;\r\n setIncludeAttributes(number, x, y);\r\n }\r\n \r\n // labelX, X >= i -> poistetaan\r\n removeExtraElements(container, \"label\", i);\r\n \r\n // create a numberfield\r\n int extraSpace = wiz.getOffset() < 0 ? 1 : 0;\r\n int nroWidth = fontWidth * (Integer.toString(wiz.getMaxValue()).length() + extraSpace);\r\n Element numberfield = createNumber(container, \"number\", nroWidth, fontHeight, wiz.getValue(), \r\n wiz.getNumberReference(), wiz.getFontAttribute(), wiz.getOffset(), wiz.getScale());\r\n setIncludeAttributes(numberfield, (wiz.getTotalWidth() - nroWidth/*meterWizard.getMeterWidth()*/) / 2, \r\n wiz.getTotalHeight() / 2 + wiz.getMeterWidth() / 4);\r\n \r\n // create heading\r\n String text = wiz.getHeading();\r\n Element heading = createString(container, \"title\", fontWidth*text.length(), fontHeight, text, wiz.getFontAttribute());\r\n setIncludeAttributes(heading, (wiz.getTotalWidth() - fontWidth * text.length()) / 2, \r\n wiz.getTotalHeight() / 2 - wiz.getMeterWidth() / 4);\r\n \r\n // moves the attribute-objects to include objects with roles\r\n // System.out.println(\"finalizing...\");\r\n // Tools.createRoles(container);\r\n }", "public void executeView()\n\t{\n\t\tString cmd = \"\";\n\t\tString opar = Deducer.getUniqueName(\"opar\");\n\t\tcmd += (opar + \" <- par()\"); //save the original margin parameters\n\t\tcmd += (\"\\npar(mar=c(8, 4, 4, 0.5))\"); //give the plot more space at the bottom for long words.\n\t\tcmd += (\n\t\t\t\t\"\\nbarplot(\" \n\t\t\t\t+ \n\t\t\t\ttfDialog.getTermFreqCall(this.getExtraTermFreqArgs()) + \",\" \n\t\t\t\t+\n\t\t\t\t\"cex.names=0.8,\" //make the terms a bit smaller\n\t\t\t\t+\n\t\t\" las=2);\");\n\t\tcmd += (\"\\npar(\"+ opar +\")\");\n\t\tDeducer.execute(cmd);\n\t\tDeducer.execute(\"dev.set()\", false); //give the plot focus\n\t\t\n\t\t\n\t}", "public void InitLinearLV() throws Exception{\n\tcommandExec c1 = new commandExec();\n\tc1.runCommand(\"lvcreate -n LinearLV -l 50%VG /dev/TargetVG\" );\n}", "public abstract void newGuiElements(long ms, int n);", "public vtkCanvas getVtkCanvas(){\n\t\treturn renWin;\n\t}", "@Test\n\tpublic void test4_verifyImage_VRI() throws GeneralLeanFtException {\n\t\t\t\t\n\t\ttry\n\t\t{\n\t\t\tSystem.out.println(\"Test 4 - Verify Insight & VRI Started\");\n\t\t\t\n\t\t\t//App should exist \n\t\t\tassertTrue(mySet.appExistsorNot());\t\t\n\t\t\tWindow mainWindow = Desktop.describe(Window.class, new WindowDescription.Builder()\n\t\t\t.title(\"SwingSet2\").index(0).build());\n\n\t\t\t// Create a description for the top-level menu item: File\n\t\t\tMenu fileMenu = mainWindow.describe(Menu.class, new MenuDescription.Builder().label(\"File\").build());\n\n\t\t\t//Select About Menu option\n\t\t\tfileMenu.selectSubMenu(\"About\");\n\t\t\t\n\t\t\tDialog about = mainWindow.describe(Dialog.class, new DialogDescription.Builder()\n\t\t\t.title(\"About Swing!\").build());\n\t\t\t\n\t\t\t//Access the Swing Image in the Resources folder\n\t\t\t//ClassLoader classLoader = getClass().getClassLoader();\n\t\t\t//File imgFile = new File(classLoader.getResource(\"SwingImage.PNG\").getFile());\n\t\t\tFile imgFile = new File(\"resources\\\\SwingImage.PNG\");\n\t RenderedImage image = ImageIO.read(imgFile);\n\t \n\t //Create Insight Object with 100% similarity\n\t InsightObject swingImage = about.describe(InsightObject.class, new InsightDescription(image,90));\n\t \n\t //Highlight the Object if present\n\t assertTrue(swingImage.exists(5));\n\t swingImage.highlight();\n\t \n\t //Close the Dialog\n\t about.close();\n\t \n\t ToolBar toolbar = mainWindow.describe(ToolBar.class, new ToolBarDescription.Builder()\n\t\t\t.nativeClass(\"SwingSet2$ToggleButtonToolBar\").build());\n\t \n\t toolbar.getButton(\"JDesktop\").press();\n\t \n\t\t\t\n\t //Maximizable checkbox in the Internal Frame\n\t CheckBox maximizable = mainWindow.describe(InternalFrame.class, new InternalFrameDescription.Builder()\n\t\t\t.title(\"Internal Frame Generator\").index(0).build()).describe(CheckBox.class, new CheckBoxDescription.Builder()\n\t\t\t.attachedText(\"Maximizable\").build());\n\t \n\t //Create Visual Relation Object and Set the Relation with the Test Object\n\t VisualRelation vr = new VisualRelation();\n\t vr.setTestObject(maximizable);\n\t vr.setVerticalRelation(VerticalVisualRelation.BELOW_AND_INLINE);\n\t \n\t //Create Description for Checkbox which is above the Maximizable checkbox\n\t CheckBox above = mainWindow.describe(InternalFrame.class, new InternalFrameDescription.Builder()\n\t\t\t.label(\"Internal Frame Generator\").build()).describe(CheckBox.class, new CheckBoxDescription.Builder()\n\t\t\t.nativeClass(\"javax.swing.JCheckBox\").vri(vr).build());\n\t \n\t //Check for Existence\n\t assertTrue(\"Checkbox above Maximizable should exist\",above.exists(5));\t \n\t above.highlight();\n\t \n\t //Get name of the Checkbox\n\t System.out.println(\"Name of the Checkbox above Maximizable CheckBox = \" + above.getAttachedText());\n\n\t\t}\n\t\tcatch(Exception e)\n\t\t{\n\t\t\tSystem.out.println(\"Unexpected Error Occurred. Message = \" + e.getMessage());\n\t\t\tassertTrue(false);\n\t\t}\n\t\tfinally\n\t\t{\n\t\t\tSystem.out.println(\"Test 4 - Verify Insight & VRI finished\");\n\t\t}\n\t\t\n\t}", "void run() {\n System.out.println(\"PC Visual application run\");\n data = new Data(this);\n window = new Window(this);\n window.setup();\n mote = new MoteIF(PrintStreamMessenger.err);\n mote.registerListener(new OscilloscopeMsg(), this);\n }", "private static void createAndShowGUI() {\r\n //Disable boldface controls.\r\n UIManager.put(\"swing.boldMetal\", Boolean.FALSE); \r\n\r\n //Create and set up the window.\r\n JFrame frame = new JFrame(\"Exertion Scripting\");\r\n frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\r\n\r\n //Create and set up the content pane.\r\n NetletEditor newContentPane = new NetletEditor(null);\r\n newContentPane.setOpaque(true); //content panes must be opaque\r\n frame.setContentPane(newContentPane);\r\n\r\n //Display the window.\r\n frame.pack();\r\n frame.setVisible(true);\r\n }", "private void mouseDownInEvi(int paramInt)\n/* */ {\n/* 279 */ if (paramInt >= 0) {\n/* */ boolean bool;\n/* 281 */ if (this.bn != null) bool = this.bn.isObserved(paramInt); else\n/* 282 */ bool = this.mn.isObserved(paramInt);\n/* 283 */ if (!bool) {\n/* 284 */ HelpPanel.addHelp(\"Enter 0 for impossible value and 1 otherwise.\");\n/* 285 */ Network.VectorDialog localVectorDialog = new Network.VectorDialog(this.frame, this, getLabel(paramInt), getState(paramInt), getDefaultEvi(paramInt), 16, 100, 100);\n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* 291 */ localVectorDialog.setVisible(true);\n/* */ } else {\n/* 293 */ HelpPanel.showError(\"Evidence on this node has been entered!\");\n/* */ } }\n/* 295 */ this.pmode = 0;\n/* 296 */ repaint();\n/* */ }", "public static void createAndShowGUI(){\n\n //the main graph frame\n JFrame mainFrame = new JFrame(\"Graphit\");\n mainFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n mainFrame.setSize(CANVAS_WIDTH, CANVAS_HEIGHT);\n\n gc = new NGraphitController();\n\n p = new Point(0,0);\n\n // Viewport is to man through the graph.\n vp = new JViewport();\n vp.setSize(100, 100);\n vp.setView(gc);\n mainFrame.add(vp);\n\n mainFrame.pack();\n mainFrame.setLocationRelativeTo(null);\n mainFrame.setVisible(true);\n\n }", "private void createGUI() {\r\n\r\n cgRect modelSpace = new cgRect(0, 0, 11, 11);\r\n cgRect deviceSpace = new cgRect(0, 0, 600, 600);\r\n\r\n cgTransformation tr = new cgTransformation(modelSpace, deviceSpace, false, false);\r\n\r\n /**\r\n *\r\n */\r\n // The formatter of axis' labels will use default locale and pattern\r\n NumberFormat nf = NumberFormat.getInstance();\r\n\r\n // We will use \"fixed size\" axis renderer for all axes\r\n \r\n // 参数一:标签刻度长度大小 参数二:标签数字长度大小 参数三:数字和刻度之间的距离大小,长度为像素\r\n cgAxisRenderer ar = new cgFixedSizeAxisRenderer(5, 15, 50, nf);\r\n\r\n // ----------------------------------------------------\r\n // First axis - values match the model coordinates,\r\n // model origin is at 0.0\r\n // ----------------------------------------------------\r\n \r\n // 第三个参数为显示的数字数\r\n cgRect bbox1 = new cgRect(0, 0, 11, 1);\r\n TickGenerator tg1 = new NumericTickGenerator(1.0);\r\n cgAxisShape axis1 = new cgAxisShape(cgAxisShape.NORTH, bbox1, tg1, ar);\r\n\r\n cgShapeListLayer layer = new cgShapeListLayer();\r\n\r\n layer.addShape(axis1);\r\n\r\n /**\r\n *\r\n */\r\n // ----------------------------------------------------\r\n // Create grid using regular grid renderer\r\n // ----------------------------------------------------\r\n cgRect bbox = new cgRect(0, 0, 10, 10);\r\n TickGenerator htg = new NumericTickGenerator(1.0);\r\n TickGenerator vtg = new NumericTickGenerator(1.0);\r\n cgGridRenderer gr = new cgRegularGridRenderer();\r\n cgGridShape grid = new cgGridShape(bbox, htg, vtg, gr);\r\n\r\n // ----------------------------------------------------\r\n // Create view\r\n // ----------------------------------------------------\r\n// cgShapeListLayer layer = new cgShapeListLayer();\r\n// layer.addShape( grid );\r\n cgContainerModel model = new cgContainerModel();\r\n model.setBoundingBox(modelSpace);\r\n model.addLayer(layer);\r\n\r\n cgPlotView view = new cgPlotView(model, tr);\r\n\r\n // ----------------------------------------------------\r\n // Create plot\r\n // ----------------------------------------------------\r\n cgPlot plot = new cgPlot(view);\r\n\r\n plot.addScrollbar(cgGenericPlotLayout.SOUTH);\r\n plot.addScrollbar(cgGenericPlotLayout.EAST);\r\n\r\n getContentPane().add(plot);\r\n\r\n // ----------------------------------------------------\r\n // Set up listeners\r\n // ----------------------------------------------------\r\n // Set window listener\r\n addWindowListener(new WindowAdapter() {\r\n public void windowClosing(WindowEvent e) {\r\n System.exit(0);\r\n }\r\n });\r\n }", "public void frame() {\r\n\r\n\r\n\t\t//this will solves a thread issue, to do FX application stuff in a non FX application thread. \r\n\t\tPlatform.runLater(() -> {\r\n\r\n\t\t\tif (Player.isBattle()) {\r\n\r\n\t\t\t\tPlayer.setVelX(0);\r\n\t\t\t\tPlayer.setVelY(0);\r\n\t\t\t\tmainStage.setScene(combatScene);\r\n\r\n\t\t\t} else if (Player.isShop()) {\r\n\t\t\t\tmainStage.setScene(shopScene);\r\n\r\n\t\t\t} else {\r\n\r\n\t\t\t\tcircle.setFill(getColor());\r\n\t\t\t\tmainStage.setScene(mainScene);\r\n\t\t\t}\r\n\r\n\t\t});\r\n\r\n\t\tgetMainScene().setOnKeyPressed(e -> {\r\n\t\t\tPlayer.move(e);\r\n\t\t});\r\n\r\n\t\tgetMainScene().setOnKeyReleased(e -> {\r\n\t\t\tPlayer.stop(e);\t\r\n\t\t});\r\n\r\n\t\tPlayer.update();\r\n\t\tposition();\r\n\t}", "public void run() {\n criaGUI();\n \n }", "public static void main(String[] args) {\n EnergyData energyData = new EnergyData();\n GUIVerbrauchsdiagramm guiVerbrauchsdiagramm = new GUIVerbrauchsdiagramm(\n \"Stromzähler\", energyData);\n\n //guiVerbrauchsdiagramm.pack();\n UIUtils.centerFrameOnScreen(guiVerbrauchsdiagramm);\n guiVerbrauchsdiagramm.setVisible(true);\n\n }", "private static void createAndShowGUI()\n {\n Sudoku s = new Sudoku();\n }", "private GUI()\n {\n makeGUI();\n }", "private JTextField getVstupText() {\n\t\tif (vstupText == null) {\n\t\t\tvstupText = new JTextField();\n\t\t\tvstupText.setBounds(new Rectangle(124, 278, 300, 30));\n\t\t}\n\t\treturn vstupText;\n\t}", "public void launchExplorer() {\n SimulatedEnvironment env = new SimulatedEnvironment(this.domain, this.initialState);\n VisualExplorer exp = new VisualExplorer(this.domain, env, this.v, 800, 800);\n exp.addKeyAction(\"w\", GridWorldDomain.ACTION_NORTH, \"\");\n exp.addKeyAction(\"s\", GridWorldDomain.ACTION_SOUTH, \"\");\n exp.addKeyAction(\"d\", GridWorldDomain.ACTION_EAST, \"\");\n exp.addKeyAction(\"a\", GridWorldDomain.ACTION_WEST, \"\");\n\n //exp.enableEpisodeRecording(\"r\", \"f\", \"irlDemo\");\n\n exp.initGUI();\n }" ]
[ "0.57874113", "0.57259876", "0.57190424", "0.56804824", "0.56387895", "0.5636043", "0.563305", "0.56162345", "0.5576086", "0.5574938", "0.5567112", "0.55608654", "0.55548775", "0.55393004", "0.5526933", "0.54965836", "0.54912406", "0.5469914", "0.5467167", "0.5453687", "0.5451042", "0.5440833", "0.5433237", "0.5426982", "0.54141045", "0.54108256", "0.540449", "0.53947353", "0.5381367", "0.53760785", "0.53426653", "0.5342025", "0.5333999", "0.53305924", "0.53157353", "0.53049946", "0.5304569", "0.530381", "0.530018", "0.5297585", "0.52953506", "0.528053", "0.52722013", "0.5265472", "0.5260271", "0.5259845", "0.5259522", "0.5259067", "0.52581465", "0.52526915", "0.5251748", "0.52494514", "0.52492344", "0.524854", "0.52484334", "0.5247278", "0.5245612", "0.522968", "0.5227514", "0.5222871", "0.5217005", "0.5216424", "0.52156365", "0.5215266", "0.5213425", "0.5208778", "0.5207374", "0.5193894", "0.5193041", "0.5190798", "0.51883996", "0.5185316", "0.51852286", "0.5183772", "0.51824063", "0.5181859", "0.5177211", "0.5176969", "0.51767087", "0.517378", "0.5171703", "0.51685834", "0.5168511", "0.5167729", "0.51660335", "0.51659304", "0.5163583", "0.51631784", "0.51630837", "0.5162234", "0.51621574", "0.51581305", "0.51578367", "0.51554847", "0.5154097", "0.51537424", "0.5152963", "0.5150848", "0.5148024", "0.51463366", "0.51448715" ]
0.0
-1
SpringSaLaD exporting the time information
public void writeData(StringBuilder sb) { if(!(fieldSimulation.getSimulationOwner() instanceof SimulationContext)) { sb.append("\n"); return; } SimulationContext sc = (SimulationContext)fieldSimulation.getSimulationOwner(); if(sc.getApplicationType() != Application.SPRINGSALAD) { sb.append("\n"); return; } // ending time is editable, starting time is non-editable, always 0 double totalTime = getTimeBounds().getEndingTime() - getTimeBounds().getStartingTime(); sb.append("Total time: " + totalTime); // TODO: for langevin, initialize to 1.00E-2 sb.append("\n"); double defaultTimeStep = getTimeStep().getDefaultTimeStep(); sb.append("dt: " + defaultTimeStep); // TODO: initialize to 1.00E-8 sb.append("\n"); if(!(getOutputTimeSpec() instanceof UniformOutputTimeSpec)) { throw new RuntimeException("Output interval must be uniform"); } UniformOutputTimeSpec uots = (UniformOutputTimeSpec)getOutputTimeSpec(); double outputInterval = uots.getOutputTimeStep(); sb.append("dt_data: " + outputInterval); // TODO: initialize to 1.00E-4 sb.append("\n"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getTimeVariable(){ return common.timeDatapath; }", "public String getTime(){\n return time;\n }", "private static String getTime() {\n\t\tDate getDate = new Date();\n\t\tString timeFormat = \"M/d/yy hh:mma\";\n\t\tSimpleDateFormat sdf = new SimpleDateFormat(timeFormat);\n\t\treturn \"[\" + sdf.format(getDate) + \"]\\t\";\n\t}", "private static String getStamp() {\n\t\t\t return new SimpleDateFormat(\"yyyyMMddHHmmss\").format(new Date());\r\n\t\t}", "public String getTimestamp() \n{\n Calendar now = Calendar.getInstance();\n return String.format(\"20%1$ty-%1$tm-%1$td_%1$tHh%1$tMm%1$tSs\", now);\n}", "public String getTime() {\n\t}", "@Override\n\tpublic String getTime() {\n\t\treturn time;\n\t}", "private String makeEventStamp() {\n String name = \"DTSTAMP\";\n return formatTimeProperty(LocalDateTime.now(), name) + \"\\n\";\n }", "private String getTimeFormat() {\r\n return mData.getConfiguration(\"x-labels-time-format\", \"yyyy-MM-dd\");\r\n }", "public Date getPrint_time(){\r\n\t\treturn this.print_time ;\r\n\t}", "public static String getPrintToFileTime() {\n @SuppressLint(\"SimpleDateFormat\") SimpleDateFormat sdf = new SimpleDateFormat(\"yyyyMMdd_HHmmss\");\n return sdf.format(System.currentTimeMillis());\n }", "@Override\n public String typeString() {\n DateTimeFormatter formatter = DateTimeFormatter.ofPattern(\"dd/MM/yyyy HHmm\");\n String formatDateTime = this.date.format(formatter);\n return \"event\" + Task.SEP + super.toSaveInFile(\"/at \" + formatDateTime);\n }", "private void PrintTimeToET() {\n\t\tfinal Calendar c = Calendar.getInstance();\n\t\tjetztStdTxt.setText(Integer.toString(c.get(Calendar.HOUR_OF_DAY)));\n\t\tjetztMinTxt.setText(Integer.toString(c.get(Calendar.MINUTE)));\n\n\t}", "String getTimestamp();", "String getTimestamp();", "private void showTime(){\r\n System.out.println(df.format(getHours()) + \":\" + df.format(getMinutes()+ \"\\n\"));\r\n }", "public String getSystemDateTime() {\n\t\tjava.text.SimpleDateFormat sdfDate = new java.text.SimpleDateFormat(\"yyyy/MM/dd\");\n java.text.SimpleDateFormat sdfTime = new java.text.SimpleDateFormat(\"HH:mm\");\n Date now = new Date();\n String strDate = sdfDate.format(now);\n String strTime = sdfTime.format(now);\n System.out.println(\"Date: \" + strDate);\n System.out.println(\"Time: \" + strTime); \n return \"date\"+strDate+\" \"+strTime;\n\t}", "@Override\n\tpublic String getTimestamp()\n\t{\n\t\treturn new SimpleDateFormat(\"yyyy/MM/dd HH:mm:ss.SSS\").format(new Date());\n\t}", "public java.lang.String getTimeStamp(){\r\n return localTimeStamp;\r\n }", "public static String timestamp(){\n\t\tDate date = new Date();\n\t\tDateFormat hourdateFormat = new SimpleDateFormat(\"dd/MM/yyyy HH:mm:ss \");\n\t\treturn hourdateFormat.format(date);\n\t}", "private String getDateTime() {\n SimpleDateFormat sdf = new SimpleDateFormat(\"[yyyy/MM/dd - HH:mm:ss]\");\n return sdf.format(new Date());\n }", "private String getDateTime() {\n SimpleDateFormat sdf = new SimpleDateFormat(\"[yyyy/MM/dd - HH:mm:ss]\");\n return sdf.format(new Date());\n }", "@Override\n\tpublic List getTime() {\n\t\treturn timeInitDao.getTime();\n\t}", "private static String time() throws Exception {\n\t\tDateFormat dateFormat = new SimpleDateFormat(\"HH-mm-ss \");\n\t\t// get current date time with Date()\n\t\tDate date = new Date();\n\t\t// Now format the date\n\t\tString date1 = dateFormat.format(date);\n\t\t// System.out.println(date1);\n\t\treturn date1;\n\t}", "public String getTime() {\n return time;\n }", "private String getDateTime() {\n SimpleDateFormat sdf = new SimpleDateFormat(\"[yyyy/MM/dd - HH:mm:ss]\");\n return sdf.format(new Date());\n }", "@DSSafe(DSCat.UTIL_FUNCTION)\n \n @DSGenerator(tool_name = \"Doppelganger\", tool_version = \"2.0\", generated_on = \"2013-12-30 12:56:11.275 -0500\", hash_original_method = \"58DD96CFC8DDA00016DEC24CC6519017\", hash_generated_method = \"1F810C618BA62488684578EB05C3C6A1\")\n \n@Override\n public void setTime(long theTime) {\n /*\n * Store the Date based on the supplied time after removing any time\n * elements finer than the day based on zero GMT\n */\n super.setTime(normalizeTime(theTime));\n }", "public String getTime() {\n return this.time;\n }", "public String getEndTime(){return endTime;}", "public static String getPrintToDirectoryTime() {\n @SuppressLint(\"SimpleDateFormat\") SimpleDateFormat sdf = new SimpleDateFormat(\"MMdd\");\n return sdf.format(System.currentTimeMillis());\n }", "@JsonGetter(\"time\")\r\n public String getTime() {\r\n return time;\r\n }", "private String getTimestamp() {\n return Calendar.getInstance().getTime().toString();\n }", "public int getTime() { return _time; }", "private static String getTimeStamp()\r\n\t{\r\n\t\tDateFormat dateFormat = new SimpleDateFormat(\"yyyy-MM-dd_HH.mm.ss\");\r\n\t\tDate date = new Date();\r\n\t\treturn dateFormat.format(date);\r\n\t}", "public double getTime() {return _time;}", "private String timeConversion() {\n Calendar local = Calendar.getInstance();\n Calendar GMT = Calendar.getInstance(TimeZone.getTimeZone(\"GMT\"));\n\n //Time from the PINPoint\n int hours, minutes, seconds, day, month, year;\n hours = (record[10] & 0xF8) >> 3;\n minutes = ((record[10] & 0x07) << 3) + ((record[11] & 0xE0) >> 5);\n seconds = ((record[11] & 0x1F) << 1) + ((record[12] & 0x80) >> 7);\n seconds += (record[12] & 0x7F) / 100;\n day = (record[13] & 0xF8) >> 3;\n month = ((record[13] & 0x07) << 1) + ((record[14] & 0x80) >> 7);\n year = (record[14] & 0x7F) + 2000;\n \n month--; //Months in java are 0-11, PINPoint = 1-12;\n\n //Set GMTs time to be the time from the PINPoint\n GMT.set(Calendar.DAY_OF_MONTH, day);\n GMT.set(Calendar.MONTH, month);\n GMT.set(Calendar.YEAR, year);\n GMT.set(Calendar.HOUR_OF_DAY, hours);\n GMT.set(Calendar.MINUTE, minutes);\n GMT.set(Calendar.SECOND, seconds);\n\n //Local is set to GMTs time but with the correct timezone\n local.setTimeInMillis(GMT.getTimeInMillis());\n\n //Set Local time to be the time converted from GMT\n int lHours, lMinutes, lSeconds, lDay, lMonth, lYear;\n lHours = local.get(Calendar.HOUR_OF_DAY);\n lMinutes = local.get(Calendar.MINUTE);\n lSeconds = local.get(Calendar.SECOND);\n lDay = local.get(Calendar.DAY_OF_MONTH);\n lMonth = local.get(Calendar.MONTH);\n\n lMonth++; //Months in java are 0-11, humans read 1-12\n\n lYear = local.get(Calendar.YEAR);\n\n return hR(lMonth) + \"/\" + hR(lDay) + \"/\" + lYear + \" \" + hR(lHours) + \":\" + hR(lMinutes) + \":\" + hR(lSeconds);\n }", "private void formatTime() {\r\n\t\tDate date = new Date();\r\n\t\tSimpleDateFormat ft = new SimpleDateFormat(\"yyyy/MM/dd HH:mm:ss\");\r\n\t\tm_timeSent = ft.format(date).toString();\r\n\t}", "public static void main(String[] args) throws Exception {\n Calendar cal = Calendar.getInstance();\n SimpleDateFormat simpleformat = new SimpleDateFormat(\"E, dd MMM yyyy HH:mm:ss Z\");\n System.out.println(\"Today's date and time = \"+simpleformat.format(cal.getTime()));\n // displaying date\n simpleformat = new SimpleDateFormat(\"dd/MMMM/yyyy\");\n String str = simpleformat.format(new Date());\n System.out.println(\"Current Date = \"+str);\n // current time\n simpleformat = new SimpleDateFormat(\"HH:mm:ss\");\n String strTime = simpleformat.format(new Date());\n System.out.println(\"Current Time = \"+strTime);\n // displaying hour in HH format\n simpleformat = new SimpleDateFormat(\"HH\");\n String strHour = simpleformat.format(new Date());\n System.out.println(\"Hour in HH format = \"+strHour);\n\n\n\n //formato ideal\n simpleformat = new SimpleDateFormat(\"dd/MM/yyyy - HH:mm:ss\");\n String strTimeDay = simpleformat.format(new Date());\n System.out.println(\"Dia e Hora = \" + strTimeDay);\n\n }", "public static void timeExport() throws ClassNotFoundException, SQLException, IOException{\n\t\tClass.forName(\"org.h2.Driver\");\n\t\tConnection conn = DriverManager.getConnection(DB, user, pass);\n\t\tTimeGraph tg = new TimeGraph(conn);\n\t\ttg.pointList();\n\t\ttg.export(\"/Users/Brian/Desktop/PresDeb1_time.csv\");\n\t}", "@Override\n\tpublic String toString() {\n\t\tLocalTime lT = LocalTime.of(hour, minute);\n\t\tDateTimeFormatter.ofPattern(\"hh:mm\").format(lT);\n\t\treturn lT.toString() + \" \" + timeType;\n\t}", "public static String getPrintToTextTime() {\n @SuppressLint(\"SimpleDateFormat\") SimpleDateFormat sdf = new SimpleDateFormat(\"yyyy-MM-dd HH:mm:ss\");\n return sdf.format(System.currentTimeMillis());\n }", "private String formatTimeProperty(LocalDateTime date, String name) {\n String property;\n String time = formatTimeToICS(date);\n property = name + \";\" + mTZID + \":\" + time;\n return property;\n }", "java.lang.String getTimestamp();", "java.lang.String getTimestamp();", "@JsonProperty(\"time\")\n public String getTime() {\n return time;\n }", "public static void main(String[] args){\n\t\tCalendar now = Calendar.getInstance(); // Gets the current date and time\n\t\tint year = now.get(Calendar.YEAR); \n\t\tint moth = now.get(Calendar.MONTH);\n\t\tint date = now.get(Calendar.DATE); \n\t\tDate d = now.getTime();\n\t\tTime t = ServletFunctions.getNowTime();\n\t\tSystem.out.println(t);\n\t\tSystem.out.println(year+\"-\"+moth+\"-\"+date);\n\t\t\n\t\tSystem.out.println(moth);\n\t\tSystem.out.println(date);\n\t\tSystem.out.println(d);\n\n\t\tDateFormat formatter = new SimpleDateFormat(\"HH:mm:ss\");\n\t\tString ti = \"22:12:22\";\n\t\ttry {\n\t\t\tjava.sql.Time timeValue = new java.sql.Time(formatter.parse(ti).getTime());\n\t\t\tSystem.out.println(timeValue);\n\t\t} catch (ParseException e) {\n\t\t\t\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t\tDateTimeFormatter formatterr = DateTimeFormatter.ofPattern(\"HH:mm:ss\");\n\t\tString str = \"12:22:10\";\n\t\tLocalTime time = LocalTime.parse(str, formatterr);\n\t\tSystem.out.println(time);\n\t\t\n\t\tTime tt = ServletFunctions.strToTime(\"08:10:12\");\n\t\tSystem.out.println(tt);\n\t}", "public static String timestamp() {\n\t\tString t = new SimpleDateFormat(\"yyyy-MM-dd HH-mm-ss\").format(new Date());\n\t\t// File f=new\n\t\t// File(String.format(\"%s.%s\",t,RandomStringUtils.randomAlphanumeric(8)));\n\t\tSystem.out.println(\"Time is :\" + t);\n\t\treturn t;\n\t}", "public String getStartTime();", "public String getStartTime();", "String timeStamp() {\n\n\t\tCalendar now = Calendar.getInstance();\n\n\t\t String y = String.valueOf(now.get(now.YEAR));\n\t\t String mo = String.valueOf(now.get(now.MONTH)+1);\n\t\t String d = String.valueOf(now.get(now.DAY_OF_MONTH));\n\t\t String h = String.valueOf(now.get(now.HOUR_OF_DAY));\n\t\t String m = String.valueOf(now.get(now.MINUTE));\n\t\t String s = String.valueOf(now.get(now.SECOND));\n\t\t String ms = String.valueOf(now.get(now.MILLISECOND));\n\n\n\t return h + m + s + ms;\n\n\n\n }", "public String getInsTime() {\n return insTime;\n }", "public Date time() {\n return _time;\n }", "@SimpleFunction(description = \"Gets the current time.\"\n + \"It is formatted correctly for iSENSE\")\n public String GetTime() {\n Calendar cal = Calendar.getInstance();\n SimpleDateFormat sdf = new SimpleDateFormat(\"yyyy-MM-dd'T'HH:mm:ss.SSSZ\");\n return sdf.format(cal.getTime()).toString();\n }", "public String getTime() {\r\n\t\treturn time;\r\n\t}", "public double getTime() { return time; }", "String getSourceUsageDateTime();", "@Override\n\tpublic List getTime() {\n\t\treturn null;\n\t}", "public long getTime(){\n return this.time;\n }", "@Override\n public long getTime() {\n return time;\n }", "public String getTime()\r\n\t{\r\n\t\treturn displayString;\r\n\t}", "public String getTime() {\n\t\treturn time;\n\t}", "public String toString() {\n return this.time != null ? this.time.format(TIME_FORMATTER) : \"\";\n }", "Date getTimestamp()\n{\n return time_stamp;\n}", "@Override\n public void printDetails() {\n super.printDetails(); // uses its superclass version of the method to print the basic attributes\n System.out.print(\"Time: \" + this.getTime()); // printing the time of the event\n }", "private static void seTimeStamps() {\n MDC.put(MDC_INSTANCE_UUID, \"\");\n MDC.put(MDC_ALERT_SEVERITY, \"\");\n\n var startTime = Instant.now();\n var endTime = Instant.now();\n\n seTimeStamps(startTime, endTime);\n\n MDC.put(PARTNER_NAME, \"N/A\");\n\n MDC.put(STATUS_CODE, COMPLETE_STATUS);\n MDC.put(RESPONSE_CODE, \"N/A\");\n MDC.put(RESPONSE_DESCRIPTION, \"N/A\");\n\n }", "@Override\n public String getEndInfo() {\n return null;\n //return dateFormatter.stringFromDate(checkOutTime!)\n }", "@Override\n\tpublic String toString() {\n\t\t\n\t\treturn name + time;\n\t}", "private String TimeConversion() {\n\n int hours, minutes, seconds, dayOfWeek, date, month, year;\n\n seconds = ((raw[27] & 0xF0) >> 4) + ((raw[28] & 0x03) << 4);\n minutes = ((raw[28] & 0xFC) >> 2);\n hours = (raw[29] & 0x1F);\n dayOfWeek = ((raw[29] & 0xE0) >> 5);\n date = (raw[30]) & 0x1F;\n month = ((raw[30] & 0xE0) >> 5) + ((raw[31] & 0x01) << 3);\n year = (((raw[31] & 0xFE) >> 1) & 255) + 2000;\n\n\n\n return hR(month) + \"/\" + hR(date) + \"/\" + year + \" \" + hR(hours) + \":\" + hR(minutes) + \":\" + hR(seconds) + \":00\";\n }", "public String getPrintFormattedTime() {\n return this.optionalTime.map(x -> x.format(DateTimeFormatter.ofPattern(\"HHmma\"))).orElse(\"\");\n }", "public String getEndTime();", "public String getEndTime();", "public String getReportTime() {\r\n return reportTime;\r\n }", "public String TI()\n\t{\n\t\tDateTimeFormatter f = DateTimeFormatter.ofPattern(\"hh:mm a\");\n\t\tString ti = f.format(st);\n\t\tString ti2 = f.format(et);\n\t\treturn ti + \" - \" + ti2;\n \t}", "private String getcurrentTimeStamp() {\n\t\tDateTimeFormatter format = DateTimeFormatter\n\t\t\t\t.ofPattern(RidGeneratorPropertyConstant.TIMESTAMP_FORMAT.getProperty());\n\t\treturn LocalDateTime.now().format(format);\n\t}", "gen.grpc.hospital.examinations.DateTime getDateTime();", "public String getTime() throws DukeException {\n Date date = null;\n try {\n date = df.parse(this.timeline);\n return outputformat.format(date);\n } catch (ParseException e) {\n throw new DukeException(\"Invalid Data and Time Format!!!\");\n }\n }", "public Date time() {\n return _time;\n }", "public Date time() {\n return _time;\n }", "@java.lang.Override\n public long getTime() {\n return time_;\n }", "public String toString()\n\t{\n\t\treturn date.toString()+\" \"+time.toString();\n\t}", "private String formatTimeToICS(LocalDateTime date) {\n return DateTimeFormatter.ofPattern(\"YYYYMMddTHHmmss\").format(date);\n }", "public String startTime(){\r\n\t\treturn startTime;\r\n\t}", "private static String timeLine()\n {\n return String.format(STR_FORMAT_1 + STR_FORMAT_2, TIME_STR, TIME);\n }", "public Date getaTime() {\r\n return aTime;\r\n }", "public String toString() {\n return hour+\" \"+minute;\r\n }", "@Override\n public int doStartTag() throws JspException {\n\n DateTimeFormatter formatter = DateTimeFormatter.ofPattern(type);\n JspWriter out = pageContext.getOut();\n\n LocalDateTime currentTime = LocalDateTime.now(Clock.systemDefaultZone());\n\n try {\n out.print(currentTime.format(formatter));\n } catch (IOException e) {\n throw new JspException(e);\n }\n\n return SKIP_BODY;\n }", "public String getTimeLine() {\n\t\treturn restClient.getTimeLine();\n\t}", "long getTimeBoltDBoltH();", "protected String toXSTime() {\n\t\treturn String.format(\"%s,%s,%s,%s\",\"{0:00}:{1:00}:{2:00}\",\n\t\t\t\tthis.getHours(), this\n\t\t\t\t.getMinutes(), this.getSeconds());\n\t}", "private String getDateTime() {\n DateFormat dateFormat = new SimpleDateFormat(\"MM/dd/yyyy HH:mm\");\n Date date = new Date();\n return dateFormat.format(date);\n }", "public Date getSOHTimestamp() {\r\n/* 265 */ return this._SOHTimestamp;\r\n/* */ }", "public ReactorResult<java.lang.String> getAllTime_as() {\r\n\t\treturn Base.getAll_as(this.model, this.getResource(), TIME, java.lang.String.class);\r\n\t}", "public String toString() {\n\t\tdouble hour = getHour();\n\t\tString h = (hour < 10 ? \" \" : \"\") + (int) hour + \":\";\n\t\thour = 60 * (hour - (int) hour);\n\t\th += (hour < 10 ? \"0\" : \"\") + (int) hour + \":\";\n\t\thour = 60 * (hour - (int) hour);\n\t\th += (hour < 10 ? \"0\" : \"\") + hour;\n\n\t\treturn \"(YYYY/MM/DD) \" + getYear() + \"/\" + (getMonth() < 10 ? \"0\" : \"\") + getMonth() + \"/\"\n\t\t\t\t+ (getDay() < 10 ? \"0\" : \"\") + getDay() + \", \" + h + \"h \" + (getCalendarType() ? \"(greg)\" : \"(jul)\")\n\t\t\t\t+ \"\\n\" + \"Jul. Day: \" + getJulDay() + \"; \" + \"DeltaT: \" + getDeltaT();\n\t}", "public String getCreatetime() {\r\n return createtime;\r\n }", "@Override\r\n\tpublic void startTime() {\n\t\tSystem.out.println(\"인터페이스 ISports2메소드 --> startTime()\");\r\n\t\t\r\n\t}", "@Override\n\tpublic List<String> getUsageInstructions() {\n\t\treturn Arrays.asList(\"TS.time\");\n\t}", "@Override\n public String toString(){\n String format = \"%1$-30s %2$-20s %3$-20s %4$-12s %5$-3s %6$-12s\";\n return String.format(format, this.title, this.stream, this.type,\n this.start_date.format(DateTimeFormatter.ofPattern(data.daTiFormat)), \"-\", this.end_date.format(DateTimeFormatter.ofPattern(data.daTiFormat)));}", "public String getTime(){\r\n String time = \"\";\r\n return time;\r\n }", "public static String getTimeStamp() {\r\n\r\n\t\tlong now = (System.currentTimeMillis() - startTime) / 1000;\r\n\r\n\t\tlong hours = (now / (60 * 60)) % 24;\r\n\t\tnow -= (hours / (60 * 60)) % 24;\r\n\r\n\t\tlong minutes = (now / 60) % 60;\r\n\t\tnow -= (minutes / 60) % 60;\r\n\r\n\t\tlong seconds = now % 60;\r\n\r\n\t return String.format(\"%02d:%02d:%02d\", hours, minutes, seconds);\r\n\t}", "private void getDateForAnalysisReport() {\n \tArrayList<Object> answer = new ArrayList<>();\n\t\tanswer.add(\"performingAnActivityTracking\");\n\t\tanswer.add(\"/getActivityData\");\n\t\tString star = reportStartDate.getValue().toString();\n\t\tString end = reportEndDate.getValue().toString();\n\t\tanswer.add(star);\n\t\tanswer.add(end);\n\t\t\n\t\tchs.client.handleMessageFromClientUI(answer);\n\t}", "public java.lang.String getTime () {\n\t\treturn time;\n\t}" ]
[ "0.6480126", "0.61564064", "0.61489856", "0.61213815", "0.6103719", "0.6073693", "0.6048362", "0.60088", "0.59849936", "0.597964", "0.597395", "0.59656096", "0.5963825", "0.59004813", "0.59004813", "0.58997023", "0.5888455", "0.5883018", "0.58690315", "0.5868176", "0.58648735", "0.58648735", "0.586254", "0.58042055", "0.5794368", "0.57747394", "0.57712245", "0.5770879", "0.57708657", "0.57520956", "0.5751197", "0.5751087", "0.57424045", "0.5741671", "0.5738743", "0.5735615", "0.5725399", "0.5725184", "0.5719695", "0.5708409", "0.56875086", "0.5672103", "0.5663873", "0.5663873", "0.565858", "0.5655936", "0.56489545", "0.5644092", "0.5644092", "0.5625125", "0.5618323", "0.5616973", "0.5610302", "0.5610166", "0.560357", "0.5595416", "0.55906343", "0.5589149", "0.55888957", "0.55882627", "0.5583765", "0.55769026", "0.5576428", "0.5567512", "0.55662686", "0.5563643", "0.555826", "0.5555949", "0.5555219", "0.5548106", "0.5548106", "0.55384815", "0.5538164", "0.553288", "0.5530762", "0.55243266", "0.55191106", "0.55191106", "0.5517298", "0.5515372", "0.5509726", "0.55043834", "0.5503654", "0.5501579", "0.54998654", "0.549961", "0.54973483", "0.54926157", "0.54922616", "0.54793453", "0.54592144", "0.5453204", "0.54481643", "0.5447649", "0.54471684", "0.54397786", "0.5439235", "0.5437033", "0.54356927", "0.54330194", "0.5432338" ]
0.0
-1
Genera un numero aleatorio. Se le debe de indicar el numero maximo.
public static int numero_aleatorio(int max) { // Al numero maximo le sumamos 1 para que se incluye int numeroAleatorio = new Random().nextInt((max + 1)); return numeroAleatorio; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static int aleatorio(int minimo, int maximo) {\n int aleatorio = (int) Math.floor(Math.random() * (maximo - minimo + 1) + minimo);\n return aleatorio;\n }", "private int aleatorizarNumero() {\n\t\tint aux;\n\t\taux = r.getIntRand(13) + 1;\n\t\treturn aux;\n\t}", "public static int generarNumeroAleatorio(int limite){ //Entre 0 y limite - 1\n return (int) (Math.random()*limite);\n }", "public static String randomNumberGenerator() {\r\n\t\tint max = 999999999; // e.g. 714053349 (9 digits)\r\n\t\tRandom rand = new Random();\r\n\t\tint min = 0;\r\n\t\tint randomNum = rand.nextInt(max - min + 1) + min;\r\n\t\treturn Integer.toString(randomNum);\r\n\t}", "private int generateRandomNumber() {\n\t\treturn (int) Math.floor(Math.random() * Constants.RANDOM_NUMBER_GENERATOR_LIMIT);\n\t}", "public int generarNombreAleatori() {\n\t\tRandom random = new Random();\n\t\treturn random.nextInt((9) - 1) + 1;\n\t}", "public String generateNumber(int length) {\n int maxNumber = Integer.parseInt(new String(new char[length]).replace(\"\\0\", \"9\"));\n int intAccountNumber = ThreadLocalRandom.current().nextInt(0, maxNumber + 1);\n int accountNumberLength = String.valueOf(intAccountNumber).length();\n StringBuilder stringBuilder = new StringBuilder();\n if (accountNumberLength < length) {\n stringBuilder.append(new String(new char[length - accountNumberLength]).replace(\"\\0\", \"0\"));\n }\n stringBuilder.append(intAccountNumber);\n return stringBuilder.toString();\n }", "int generarNumeroNota();", "public static int randomNumberAlg(){\r\n int max = 10;\r\n int min = 1;\r\n int range = max-min+1;\r\n \r\n int randNum = (int)(Math.random()*range) + min;\r\n \r\n return randNum;\r\n }", "private int generateRandomNb(int min, int max) {\n Random random = new Random();\n\n return random.nextInt((max - min) + 1) + min;\n }", "public int generateUniqueID(){\n\n int uniqueID = 100; \n int maxID =getMaxId() ;\n \n uniqueID = uniqueID + maxID;\n\n return uniqueID;\n }", "public static double nota(double maxNum) {\n return Math.random() * maxNum;\n// return notaAlta(maxNum);\n }", "@Override\n\tpublic long getMaxnum() {\n\t\treturn _esfTournament.getMaxnum();\n\t}", "public int getMaximumNumber() {\n\t\treturn 99999;\n\t}", "@Override\r\n\tpublic int randOfMax(int max) {\n\t\tRandom r = new Random();\r\n\t\t\r\n\t\tint i = r.nextInt(max);\r\n\t\twhile(0==i){//the restriction of the Random Number\r\n\t\t\ti = r.nextInt(max);\r\n\t\t}\r\n\t\treturn i;\r\n\t}", "public static int generateRandomNumber(int min, int max) {\n\t\tint mynumber = 0;\n\t\ttry {\n\t\t\tlogger.info(\"Generating Randon Number\");\n\t\t\tRandom r = new Random();\n\t\t\tmynumber = r.nextInt(max - min) + min;\n\n\t\t} catch (Exception e) {\n\t\t\tlogger.error(\"Error ocurred while generating Randon Num\"\n\t\t\t\t\t+ e.getMessage());\n\t\t}\n\t\treturn mynumber;\n\t}", "public static int getMaxId() {\r\n\t\treturn maxId++;\r\n\t}", "public int getChromNum()\r\n {\r\n return max;\r\n }", "public String generaNumPatente() {\n String numeroPatente = \"\";\r\n try {\r\n int valorRetornado = patenteActual.getPatCodigo();\r\n StringBuffer numSecuencial = new StringBuffer(valorRetornado + \"\");\r\n int valRequerido = 6;\r\n int valRetorno = numSecuencial.length();\r\n int valNecesita = valRequerido - valRetorno;\r\n StringBuffer sb = new StringBuffer(valNecesita);\r\n for (int i = 0; i < valNecesita; i++) {\r\n sb.append(\"0\");\r\n }\r\n numeroPatente = \"AE-MPM-\" + sb.toString() + valorRetornado;\r\n } catch (Exception ex) {\r\n LOGGER.log(Level.SEVERE, null, ex);\r\n }\r\n return numeroPatente;\r\n }", "private int aleatorizarNaipe() {\n\t\tint aux;\n\t\taux = r.getIntRand(4);\n\t\treturn aux;\n\t}", "public int randomInt(int max) {\n\t\t\t\t // NOTE: Usually this should be a field rather than a method\n\t\t\t\t // variable so that it is not re-seeded every call.\n\t\t\t\t Random rand = new Random();\n\t\t\t\t // nextInt is normally exclusive of the top value,\n\t\t\t\t // so add 1 to make it inclusive\n\t\t\t\t int randomNum = rand.nextInt(max + 1);\n\t\t\t\t return randomNum;\n\t\t\t\t}", "private static long zeroTo(final long maximum) {\n return (long) (Math.random() * maximum);\n }", "private static int randInt(int max) {\n\t\tRandom rand = new Random(System.currentTimeMillis());\n\t\treturn rand.nextInt(max + 1);\n\t}", "public int generarNumero(int inicio, int fin) {\n\n int valorEntero = (int) Math.floor(Math.random() * (fin - inicio + 1) + inicio);\n return valorEntero;\n }", "public static int randomInt(int max) {\n return (int) Math.floor(Math.random() * (max)) + 1;\n }", "private String generateOrderNumber() {\n return OBJ_PREFIX + ID_GENERATOR.getAndIncrement();\n }", "private static int getNumber() {\n LOG.info(\"Generating Value\");\n return 1 / 0;\n }", "private static int generateRandomNumber(int min, int max) {\n return (int)Math.floor(Math.random() * (max - min + 1)) + min;\n }", "public static int randomNumber(){\r\n int max = 10;\r\n int min = 0;\r\n int range = max-min+1;\r\n \r\n int randNum = (int)(Math.random()*range) + min;\r\n \r\n return randNum;\r\n }", "public Randp(int max) {\n\t\t\n\t\tnumsLeft = max;\n\t\t\n\t\tfor (int i = 1; i <= max; i++) {\n\t\t\t\n\t\t\t// Adds all numbers to array list\n\t\t\tlistOfNums.add(i);\n\t\t}\n\t}", "private static int newSecretNumber(int min, int max)\n {\n Random rnd = new Random();\n return rnd.nextInt((max + 1 - min) + min);\n }", "private int proximo_sequencia(int atual){\n if (atual + Utils.tamanho_util_pacote > Utils.numero_max_seq) return (atual + Utils.tamanho_util_pacote) - Utils.numero_max_seq;\n else return atual + Utils.tamanho_util_pacote;\n\n }", "public static String generateRandomInteger() {\n SecureRandom random = new SecureRandom();\n int aStart = 1;\n long aEnd = 999999999;\n long range = aEnd - (long) aStart + 1;\n long fraction = (long) (range * random.nextDouble());\n long randomNumber = fraction + (long) aStart;\n return String.valueOf(randomNumber);\n }", "public static int generateDigit() {\n\t\t\n\t\treturn (int)(Math.random() * 10);\n\t}", "public int pickNumber() {\n\t\t\n\t\tint max=10;\n\t\t\n\t\tint i = (int) Math.floor((Math.random()*max)+1);\n\t\treturn i;\n\t\t\n\t}", "public int randomNum() {\n\t\treturn 1 + (int) (Math.random() * 3); // randomNum = minimum + (int)(Math.random() * maximum);\n\t}", "public int randomNumber(int maxValue) {\n\t\tRandom rndNumbers = new Random();\n\t\tint rndNumber = 0;\n\t\trndNumber = rndNumbers.nextInt(maxValue);\n\t\treturn rndNumber;\n\n\t}", "public int getMaxGenerations() { return maxGenerations; }", "public static int retourneMaxNumber() {\n int tmp = 0;\n try {\n String requete = \"SELECT Max(eleve.id_el) AS Maxeleve FROM eleve\";\n ResultSet rs = Connector1.statement.executeQuery(requete);\n while (rs.next()) {\n tmp = rs.getInt(1);\n\n }\n } catch (Exception e) {\n JOptionPane.showMessageDialog(null, \"ERROR \\n\" + e.getMessage());\n }\n return tmp;\n }", "public final int random(int max) {\n return Utils.random(0, max);\n }", "public static int generate(int min, int max) {\n\t\n\treturn min + (int) (Math.random() * ((max - min) + 1));\n\t\n\t}", "public String generateNumber(String value) {\r\n\r\n\t\tif (getOperand().length() == Config.MAX_SIZE) {\r\n\t\t\treturn getOperand().toString();\r\n\t\t}\r\n\r\n\t\tif (\"0\".equals(value) && getOperand().length() == 0) {\r\n\t\t\treturn \"0\";\r\n\t\t}\r\n\r\n\t\treturn getOperand().append(value).toString();\r\n\t}", "public static int random(int max) {\r\n\t\treturn random(0, max);\r\n\t}", "public int randomNum()\r\n {\r\n Random rand = new Random();\r\n int n = rand.nextInt(52)+1;\r\n return n;\r\n }", "public int generateNumber(int difficulty) {\n Random generator = new Random();\n return 1 + generator.nextInt((int) Math.pow(10, difficulty));\n }", "public static int randomizer(final int maxValue) {\n\t\treturn (int) (Math.random() * (maxValue));\n\t}", "public static String generateTempSafePalNumber(int minimum, int maximum){\n Random rn = new Random();\n int n = maximum - minimum + 1;\n int i = rn.nextInt() % n;\n int randomNum = minimum + i;\n //changes the negative number to positve\n if(randomNum<0){randomNum= -randomNum;}\n\n return \"TMP_SPL\" + Integer.toString(randomNum);\n }", "private String sequenceNumberGenerator() {\n\t\tint sequenceId = 0;\n\t\tRid entity = null;\n\t\ttry {\n\t\t\tentity = ridRepository.findLastRid();\n\t\t} catch (DataAccessException | DataAccessLayerException e) {\n\t\t\tthrow new RidException(RidGeneratorExceptionConstant.RID_FETCH_EXCEPTION.getErrorCode(),\n\t\t\t\t\tRidGeneratorExceptionConstant.RID_FETCH_EXCEPTION.errorMessage, e);\n\t\t}\n\t\ttry {\n\t\t\tif (entity == null) {\n\t\t\t\tentity = new Rid();\n\t\t\t\tsequenceId = sequenceInitialValue;\n\t\t\t\tentity.setCurrentSequenceNo(sequenceInitialValue);\n\t\t\t\tridRepository.save(entity);\n\t\t\t} else {\n\t\t\t\tif (entity.getCurrentSequenceNo() == sequenceEndvalue) {\n\t\t\t\t\tsequenceId = sequenceInitialValue;\n\t\t\t\t\tridRepository.updateRid(sequenceInitialValue, entity.getCurrentSequenceNo());\n\t\t\t\t} else {\n\t\t\t\t\tsequenceId = entity.getCurrentSequenceNo() + 1;\n\t\t\t\t\tridRepository.updateRid(sequenceId, entity.getCurrentSequenceNo());\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (DataAccessException | DataAccessLayerException e) {\n\t\t\tthrow new RidException(RidGeneratorExceptionConstant.RID_UPDATE_EXCEPTION.getErrorCode(),\n\t\t\t\t\tRidGeneratorExceptionConstant.RID_UPDATE_EXCEPTION.errorMessage, e);\n\t\t}\n\t\treturn String.format(sequenceFormat, sequenceId);\n\t}", "public String generateTransferencia() {\n\n MSequence seq = new MSequence(getCtx(), 5000048, get_TrxName());\n\n return Integer.toString(seq.getCurrentNext());\n }", "public static String generateMobNum() {\n\t\tString number = RandomStringUtils.randomNumeric(10);\t\n\t\treturn (number);\n\t}", "public static int generateRandomIntegerNumber(int minNumber, int maxNumber){\n\n Random rndmGnrtr = new Random();\n return rndmGnrtr.nextInt(maxNumber - minNumber + 1) + minNumber; // minNumber + for avoid 0\n }", "public static String createRandomNum() {\n\t\tlogger.debug(\"Navigating to URL\");\n\t\tString num = \"\";\n\t\ttry {\n\t\t\tnum = RandomStringUtils.random(4, true, true);\n\t\t\tlogger.debug(\"Generated Random Number is : \" + num);\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn num;\n\t}", "private static int newNumber()\n\t{\n\t\tdouble initial = Math.random();\n\t\tdouble rangeAdjusted = initial * (10000 - 1001) + 1000;\n\t\tint rounded = (int)Math.round(rangeAdjusted);\n\t\treturn rounded;\n\t}", "public static long getID() {\n int localizador = 0;\n Long min = 1000000000L;\n Long max = 9999999999L;\n\n do {\n localizador = (int) Math.floor(Math.random() * (max - min + 1) + min);\n } while (Integer.toString(localizador).length() != 10);\n return localizador;\n }", "public static long nextIdAlergia() {\r\n long ret = 0;\r\n for (int i = 0; i < Utilidades.ALERGIAS.length; i++) {\r\n if (Utilidades.ALERGIAS[i].id > ret);\r\n ret = Utilidades.ALERGIAS[i].id;\r\n }\r\n return ret + 1;\r\n }", "public int generateRandomNumber(int min, int max) {\n\t\tif (min >= max) {\n\t\t\tthrow new IllegalArgumentException(\"max must be greater than min\");\n\t\t}\n\t\tRandom r = new Random();\n\t\treturn (r.nextInt((max - min) + 1) + min);\n\t}", "public int generatePolicyNum(){\n\t\tRandom rnd = new Random();\n\t\tint polNum = rnd.nextInt(899999) + 100000; \t\n\t\t\n\t\treturn polNum;\t\t\t\n\t}", "@Override\n\tpublic void setMaxnum(long maxnum) {\n\t\t_esfTournament.setMaxnum(maxnum);\n\t}", "public static int LlenadoRandom(int IMinimo, int IMaximo){\n return((int)Math.floor(Math.random()*(IMaximo-IMinimo+1)+IMinimo));//regresa el valor random\n }", "int getMax( int max );", "public int roll(int max)\n {\n // roll between 1 and the max\n int r = (int)(Math.random() * max) + 1;\n return r;\n }", "private int generateWholoeNumInRange( int min, int max ) {\r\n\r\n // Evaluate random number from min to max including min and max\r\n return (int)(Math.random()*(max - min + 1) + min);\r\n\r\n }", "private int generatePiece()\n\t{\n\t\tint toReturn = 0;\n\t\tint max = 1;\n\t\tint min = -1;\n\t\t\n\t\twhile(toReturn == 0)\n\t\t{\n\t\t\ttoReturn = r.nextInt((max - min) + 1) + min;\n\t\t}\n\t\tSystem.out.println(toReturn);\n\t\treturn toReturn;\n\t}", "public static void generator(String nro){\n Integer.parseInt(nro);\r\n }", "public String GenerateID()\n\t{\n\t\tRandom randomGenerator = new Random();\n\t\treturn Integer.toString(randomGenerator.nextInt(Integer.MAX_VALUE));\n\t}", "public static int generateRandomNumber()\n\t{\n\t\tRandom r = new Random();\n\t\treturn r.nextInt();\n\t}", "private int getRandomNumber(int limit) {\n\t\tlong seed = System.currentTimeMillis();\n\t\tRandom rand = new Random(seed);\n\t\treturn rand.nextInt(limit) + 1;\n\t}", "public static int RandomNumber(int min, int max){\n Random random = new Random();\n int randomNum = random.nextInt((max - min)+1)+min;\n return randomNum;\n }", "public static int getRandomInt(int max) {\n\t\treturn rand.nextInt(max);\n\t}", "public long getNumerator();", "public int getNumber(int min, int max) {\n return (int)(Math.random()* (max-min+1)) + min;\n }", "public int generateRandom() {\n\t\tint random = (int)(Math.random()*((6-1)+1))+1;\n\t\treturn random;\n\t}", "public static String generateEmpID() {\n\tempID++;\n\treturn String.valueOf(empID);\n }", "public int generateId() {\n if (allMessage.size() ==0) {\n return 1000;\n }\n return allMessage.get(allMessage.size() - 1).getId() + 1;\n }", "public long getMaxId(MigrationType type);", "public static int getNumeroId(){\r\n idConsecutivo++;\r\n return idConsecutivo;\r\n }", "public int getPuntajeMaximo() {\n\t\ttry {\r\n\t\t\treturn juego.getPuntajeMaximo();\r\n\t\t} catch (RemoteException e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t\treturn 0;\r\n\t\t}\r\n\t}", "public String getRandomNumberString() {\n Random rnd = new Random();\n int number = rnd.nextInt(899999) + 100000;\n\n // this will convert any number sequence into 6 character.\n String formatted_code = String.format(\"%06d\", number);\n\n return formatted_code;\n }", "private long generateID() {\n\t\treturn ++lastID;\n\t}", "public int genID() {\n int uid = this.hashCode();\n if (uid < 0) {\n uid = Math.abs(uid);\n uid = uid * 15551;\n }\n return uid;\n }", "private int generateNewId() {\n int size = userListCtrl.getUsers().size();\n \n if (size == 0) {\n return 1;\n } else {\n return userListCtrl.getUsers().get(size-1).getUserID()+1;\n }\n }", "public int getMax()\n {\n return 0;\n }", "public int getMaxIntValue();", "protected final int getMax() {\n\treturn(this.max);\n }", "public void setNUMARGEO(int value) {\n this.numargeo = value;\n }", "public static void main(String[] args) {\n int min=100;\n int max=999;\n int random = (int) (min + Math.random() * (max - min));\n int a=random%10;\n int a1=(random/10)%10;\n int a2=(random/100)%10;\n System.out.println(\"Число = \" +random +\" наибольшее число = \" +Math.max(a, Math.max(a1,a2)));\n}", "int getMaxInt();", "public Number getMaximumNumber() {\n/* 221 */ if (this.maxObject == null) {\n/* 222 */ this.maxObject = new Long(this.max);\n/* */ }\n/* 224 */ return this.maxObject;\n/* */ }", "private static String accountNumberGenerator() {\n char[] chars = new char[10];\n for (int i = 0; i < 10; i++) {\n chars[i] = Character.forDigit(rnd.nextInt(10), 10);\n }\n return new String(chars);\n }", "public int generateNewCRN(int min, int max)\n\t{\n\t\tif (max <= min)\n\t\t{\n\t\t\tthrow new IllegalArgumentException(\"max must be greater than min\");\n\t\t}\n\n\t\tint rVal = min;\n\n\t\twhile (containsCourse(rVal) && (rVal <= max))\n\t\t{\n\t\t\trVal += 1;\n\t\t}\n\n\t\treturn rVal;\n\t}", "public static String getRandomNumberString() {\n Random rnd = new Random();\n int number = rnd.nextInt(9999999);\n\n // this will convert any number sequence into 6 character.\n return String.format(\"%07d\", number);\n }", "public static int randomNumber50(){\r\n int max = 50;\r\n int min = 0;\r\n int range = max-min+1;\r\n \r\n int randNum = (int)(Math.random()*range) + min;\r\n \r\n return randNum;\r\n }", "public int max() {\n\t\treturn 0;\n\t}", "public static String randomNumberString() {\n\r\n Random random = new Random();\r\n int i = random.nextInt(999999);\r\n\r\n\r\n return String.format(\"%06d\", i);\r\n }", "public static int getRandomInt(int max) {\n\t\tif (max<1){\n\t\t\tmax = 1;\n\t\t}\n\t\treturn rand.nextInt(max);\n\t}", "private static int generateRandom(int min, int max) {\n // max - min + 1 will create a number in the range of min and max, including max. If you don´t want to include it, just delete the +1.\n // adding min to it will finally create the number in the range between min and max\n return r.nextInt(max-min+1) + min;\n }", "public static final BigInteger generateRandomNumber(BigInteger maxValue, Random random)\r\n\t{\r\n\t\tBigInteger testValue;\r\n\t\tdo{\r\n\t\t\ttestValue = new BigInteger(maxValue.bitLength(), random);\r\n\t\t}while(testValue.compareTo(maxValue) >= 0);\r\n\t\t\r\n\t\treturn testValue;\r\n\t}", "private int generateRandomNumber() {\n\t\treturn new SplittableRandom().nextInt(0, 3);\n\t}", "public int getMax() {\n return max;\n }", "public int getMax() {\n return max;\n }" ]
[ "0.7199886", "0.7053812", "0.7019262", "0.68301743", "0.67620414", "0.6757039", "0.67083013", "0.6505837", "0.6448127", "0.6437266", "0.6433443", "0.6397211", "0.63618743", "0.63369113", "0.63353354", "0.6324799", "0.62545764", "0.6243349", "0.62420446", "0.62389165", "0.62197536", "0.61904544", "0.6177018", "0.6161075", "0.6144711", "0.61365694", "0.6131895", "0.61279964", "0.6096123", "0.60885525", "0.608533", "0.606188", "0.6055992", "0.60370094", "0.602518", "0.6006696", "0.60060465", "0.5999123", "0.59897625", "0.59747654", "0.5969505", "0.59622663", "0.59467125", "0.59424853", "0.5917108", "0.59031004", "0.59025264", "0.590224", "0.5895502", "0.5888789", "0.5883502", "0.58800334", "0.58772475", "0.58705735", "0.5853979", "0.5841323", "0.58411926", "0.58366704", "0.5832034", "0.58226985", "0.5818713", "0.5801654", "0.5801438", "0.57885736", "0.5786971", "0.5768242", "0.57641995", "0.57539356", "0.5750789", "0.57484645", "0.5739962", "0.5737865", "0.5720795", "0.5718361", "0.5704201", "0.5703952", "0.5702778", "0.5701146", "0.56999993", "0.5691552", "0.56904215", "0.5690139", "0.5685956", "0.5682857", "0.56773", "0.56757843", "0.56750256", "0.56701374", "0.5667228", "0.5660062", "0.56573546", "0.56569123", "0.565041", "0.56495285", "0.5649293", "0.56457627", "0.5642862", "0.56402814", "0.5633083", "0.5633083" ]
0.73588413
0
Comprueba si un numero esta dentro de un vector. Si el numero esta devuelve TRUE en caso contrario FALSE.
public static boolean esta_en_seleccion(int num, int[] arr) { for (int i = 0; i < arr.length; i++) { if(arr[i] == num) { return true; } } return false; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isVector() {\n\t\treturn numeros.length == 1 || numeros[0].length == 1;\n\t}", "boolean hasNumber();", "boolean hasNum();", "boolean hasNum();", "boolean hasNum();", "final boolean is(Vector vector) {\n return vector.is(targetType());\n }", "public static boolean isVector(int[] v) { return v != null && v.length == 2; }", "public boolean hasNumber(){\n return (alg.hasNumber(input.getText().toString()));\n }", "public boolean Llena(){\n return VectorPila.length-1==cima;\n }", "boolean hasVector2Value();", "public static boolean IsNumber(int par_Numer) {\n return true;\n }", "public boolean isVector() {\n return mat.getNumRows() == 1 || mat.getNumCols() == 1;\n }", "boolean hasNumb();", "boolean hasVector3Value();", "boolean hasNum1();", "public static boolean IsNumber(long par_Number) {\n return true;\n }", "public boolean inRange(Vector v) {\r\n\t\tdouble w = v.get(0);\r\n\t\tdouble x = v.get(1);\r\n\t\tdouble y = v.get(2);\r\n\t\tdouble z = v.get(3);\r\n\t\tboolean a = (x+w>1)&&(x+1>w)&&(w+1>x);\r\n\t\tboolean b = (y+z>1)&&(y+1>z)&&(z+1>y);\r\n\t\treturn a&&b;\r\n\t}", "public boolean restarVarios(int num){\n\t\tif (numero>0 && numero>num) {\n\t\t\tnumero -= num;\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}", "public boolean isPositionInBounds(Vector vector) {\n\t\tif (vector == null) {\n\t\t\tthrow new NullPointerException();\n\t\t} else {\n\t\t\treturn vector.getX() < size && vector.getY() < size && vector.getX() >=0 && vector.getY() >= 0;\n\t\t}\n\t}", "public boolean verificaNumero() {\n if (contemSomenteNumeros(jTextFieldDeposita.getText()) || contemSomenteNumeros(jTextFieldSaca.getText())\n || contemSomenteNumeros(jTextFieldTransfere.getText())) {\n return true;\n } else {\n JOptionPane.showMessageDialog(this, \"Digite somente números, por favor. \", \"Atenção !!\", JOptionPane.ERROR_MESSAGE);\n return false;\n }\n }", "public static boolean IsNumber(double par_Number) {\n return true;\n }", "boolean hasNum2();", "public boolean[] isPrimovec(int[] vector)\r\n\t{\t\r\n\t\tboolean[] boolPrimos=new boolean[vector.length];\r\n\t\t\r\n\t\t//Inicializacion del vector\r\n\t\tfor(int i=0;i<vector.length;i++)\r\n\t\t{\r\n\t\t\tboolPrimos[i]=true;\r\n\t\t}\r\n\t\t\r\n\t\tfor(int i=0;i<vector.length;i++)\r\n\t\t{\r\n\t\t\tfor(int j=2;j<vector[i];j++)\r\n\t\t\t{\r\n\t\t\t\tif(vector[i]%j==0)\r\n\t\t\t\t{\r\n\t\t\t\t\tboolPrimos[i]=false;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\treturn boolPrimos;\r\n\t}", "public boolean numeroLivreDejaEnregistre(int numero_livre) {\n\t\t\n\t\tString requete_s = \"SELECT id from LIVRES where id = \" + numero_livre;\n\t\t\n\t\ttry{\n\t\t\trequete.execute(requete_s);\n\t\t\t\n\t\t\tResultSet rs = requete.getResultSet();\n\t\t\t\n\t\t\tif(rs.next())\n\t\t\t\treturn (numero_livre == ((Integer) rs.getObject(\"id\")));\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t\treturn false;\n\t}", "public boolean isNumberSet(int number) {\n int[] pos = boardMapper.get(number);\n String c = boardArray[pos[0]][pos[1]];\n return c.equalsIgnoreCase(\"X\") || c.equalsIgnoreCase(\"O\");\n }", "public boolean istVoll()\n\t{\n\t return (_spalte0 > 0) && (_spalte1 > 0) && (_spalte2 > 0);\n\t}", "public boolean containsNumber(Number number) {\n/* 282 */ if (number == null) {\n/* 283 */ return false;\n/* */ }\n/* 285 */ return containsLong(number.longValue());\n/* */ }", "static boolean blanco(int numero){\n\t\tboolean resultado; \n\t\tif (numero > 43){\n\t\t\tresultado = true;\n\t\t}else{\n\t\t\tresultado = false;\n\t\t}\n\t\treturn resultado;\t\n\t}", "public boolean hasNext()\n\t{\n\t\treturn (curr<vector.size());\n\t}", "private boolean validar_numero(String numero) {\n boolean es_valido;\n es_valido = numero.charAt(0) != '0';\n return es_valido;\n }", "public boolean isSetFromNumber()\n {\n synchronized (monitor())\n {\n check_orphaned();\n return get_store().count_elements(FROMNUMBER$2) != 0;\n }\n }", "private static boolean esCapicua(int num) {\n\t\treturn num == invertirNumero(num);\n\t}", "boolean comprovaNumerosQuadrant(int rowStart, int colStart, int num) {\r\n //System.out.println(\"Comprovanumerosquadrant\"+rowStart+colStart);\r\n for (int i = 0; i < SRN; i++) {\r\n for (int j = 0; j < SRN; j++) {\r\n if (mat[rowStart + i][colStart + j] == num) {\r\n \r\n return false;\r\n }\r\n }\r\n }\r\n\r\n return true;\r\n }", "public static boolean isValidVector(double x, double y){\r\n\t\treturn (isValidComponent(x) && isValidComponent(y));\r\n\t}", "private boolean validNum (int num) {\n if (num >= 0) return true;\n else return false;\n }", "private static boolean isValue(long x) {\n return x >= 0L; // 1\n }", "public boolean checkNumber() {\n\t\treturn true;\n\t}", "public default boolean hasNumber() {\n\t\treturn false;\n\t}", "private static boolean isJamoVTNorm32JamoV(long paramLong)\n/* */ {\n/* 350 */ return paramLong < 4294115328L;\n/* */ }", "private boolean correcto() {\r\n return (casillas.size()>numCasillaCarcel); //&&tieneJuez\r\n }", "final boolean is(ScalarAttributeType scalarAttributeType, Vector vector) {\n return param(0) != null && param(0).is(scalarAttributeType) && is(vector);\n }", "public static boolean vcheck() {\n for (int i = 0; i < card.length; i++) { // rows\n int sum = 0;\n for (int j = 0; j < card.length; j++) { // what coloum\n sum = sum + card[i][j]; // last sum plus the number in the cordinate\n }\n if (sum == 0) {\n System.out.println(\"BINGO\");\n System.out.println(\"The numbers called is \" + called);\n return true;\n\n }\n\n }\n return false;\n\n }", "public boolean hasNumber() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "public boolean isSetNum() {\n return this.Num != null;\n }", "public boolean hasNumber() {\n return ((bitField0_ & 0x00000001) == 0x00000001);\n }", "public static boolean verificarNumeros(String numero) {\n\t\ttry{\n\t\t\tInteger.parseInt(numero);\n\t\t\treturn true;\n\t\t}catch(Exception e){\n\t\t\treturn false;\n\t\t}\n\t}", "boolean hasVersionNumber();", "private Object isValidColumnVector(List<List<Double>> vector) {\n\t\tInteger nrows = vector.size();\n\n\t\tList<Integer> rowLengths = vector.stream().map(List::size).toList();\n\t\tInteger ncols = rowLengths.stream().mapToInt(Integer::intValue).sum() / rowLengths.size();\n\n\t\treturn (nrows == 3) && (ncols == 1);\n\t}", "public static boolean Match(Vector a, Vector b){\n return a.axis.length == b.axis.length;\n }", "private boolean esNumero(String cadena) {\n try {\n Integer.parseInt(cadena);\n return true;\n } catch (NumberFormatException nfe) {\n return false;\n }\n }", "public boolean isValid(int number)", "public static boolean isPositive(Vector<Double> k)\n\t{\n\t\tfor (int i=0;i<k.size();i++)\n\t\t\tif(k.get(i)<=0)\n\t\t\t\treturn false;\n\t\treturn true;\n\t}", "public boolean isSetNumber() {\n return (this.number != null ? this.number.isSetValue() : false);\n }", "public boolean contains(int num) {\n for (int i = 0; i < count; i++) {\n if (list[i] == num) {\n return true;\n } \n }\n \n return false;\n }", "public boolean testForNumber() throws IOException {\n int token = fTokenizer.nextToken();\n\tfTokenizer.pushBack();\n return (token == StreamTokenizer.TT_NUMBER);\n }", "while (!found && index < valid.length)\n {\n if (valid[index] == number)\n found = true;\n else\n index++;\n }", "public boolean equals(Vector330Class v){\n return (Math.abs(this.x-v.x) <= EPS || Math.abs(this.y-v.y) <= EPS);\n }", "boolean comprovaFila(int i, int num) {\r\n //System.out.println(\"comprovafila:\"+i+\"num:\"+num);\r\n\r\n for (int j = 0; j < N; j++) {\r\n\r\n if (mat[i][j] == num) {\r\n \r\n return false;\r\n }\r\n\r\n }\r\n\r\n return true;\r\n }", "public boolean isSetNum() {\n return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __NUM_ISSET_ID);\n }", "public boolean isSetNumber() {\n return EncodingUtils.testBit(__isset_bitfield, __NUMBER_ISSET_ID);\n }", "public static boolean esPrimo(int numero) {\n\t\tint contador = 2;\n\t\tboolean primo = true;\n\t\twhile ((primo) && (contador != numero)) {\n\t\t\tif (numero % contador == 0)\n\t\t\t\tprimo = false;\n\t\t\tcontador++;\n\t\t}\n\t\treturn primo;\n\t}", "public boolean containsValue(int valor){\n boolean found = false;\n if(!valores.isEmpty()){\n if(valores.contains(valor)){\n found = true;\n }\n }\n return found;\n }", "public boolean contains(Vector pt) {\r\n final double x = pt.getX();\r\n final double y = pt.getY();\r\n final double z = pt.getZ();\r\n return x >= this.getMinimumPoint().getBlockX() && x < this.getMaximumPoint().getBlockX() + 1\r\n && y >= this.getMinimumPoint().getBlockY() && y < this.getMaximumPoint().getBlockY() + 1\r\n && z >= this.getMinimumPoint().getBlockZ() && z < this.getMaximumPoint().getBlockZ() + 1;\r\n }", "public static boolean esPrimo(int numero) {\n int contador = 2;\n boolean primo = true;\n while ((primo) && (contador != numero)) {\n if (numero % contador == 0) {\n primo = false;\n }\n contador++;\n }\n\n return primo;\n }", "public boolean contains(int number)\n\t{\n\t\treturn indexOf(number) != -1;\n\t}", "@Override\n public boolean isMaybeAnyNum() {\n checkNotPolymorphicOrUnknown();\n return (flags & NUM) == NUM;\n }", "private boolean isTokenValorNegativo(TokenVO token) {\n\t\tif (sintaticoHelper.isPalavraReservadaConstIntegerSemErro(token.getPalavraReservada()) ||\n\t\t\t\tsintaticoHelper.isPalavraReservadaConstDoubleSemErro(token.getPalavraReservada())) {\n\t\t\treturn PalavraReservadaHelper.isSubtrair(token.getValor().substring(0,1));\n\t\t}\n\t\treturn false;\n\t}", "public boolean equal (int number){\r\n\t\tif (value == number){\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\treturn false;\r\n\t}", "public boolean validaNumero(int i, int j, int num) {\r\n\r\n return (comprovaFila(i, num) && comprovaColumna(j, num) && comprovaNumerosQuadrant(i - i % SRN, j - j % SRN, num));\r\n\r\n }", "public static boolean isNumeric(Object number) {\n\t\treturn isNumericClass(number.getClass());\n\t}", "public boolean isNumber(String num)\t{\n\t\tfor(int i=0;i<13;i++)\t{\n\t\t\tif(Integer.parseInt(num)==i)\t{\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t\treturn false;\n\t}", "public boolean containsNumber(int number) {\n return this.numbers.contains(number);\n }", "@Override\n\tpublic boolean isEmpty() {\n\t\tif(this.vector.isEmpty()) return true;\n\t\treturn false;\n\t}", "private boolean contains(int[] piket,int vlera){\n for(int i=0; i<piket.length; i++){\r\n if(piket[i]==vlera) return true; //eshte metode booleane spese kthen true ose false ne menyre qe te plotesohet if me lart\r\n }\r\n return false;\r\n }", "boolean hasIntValue();", "public boolean isNum() \n\t{ \n\t try \n\t { \n\t int d = Integer.parseInt(numeric); \n\t } \n\t catch(NumberFormatException nfe) \n\t { \n\t return false; \n\t } \n\t return true; \n\t}", "public static boolean contains(int[] numbers, int number) {\n for(int i=0; i < numbers.length; i++){\n if(numbers[i] == number){\n return true;\n }\n }\n return false;\n }", "public boolean isIn(int v) {\n TNode t = root;\n while (t != null) {\n if (t.element == v) return true;\n if (v < t.element) t = t.left;\n else t = t.right;\n }\n return false;\n }", "boolean equals( BigInt number );", "private boolean numeroValido(int numero, int ren, int col){\n return verificaArea(numero,ren,col)&&verificaRenglon(numero,ren) && verificaColumna(numero,col);\n }", "private boolean hasNumberThreshold() {\r\n return entity.getActualNumber() < entity.getTheoreticalNumber();\r\n }", "public boolean isEmpty() {\n\t\treturn vector.isEmpty();\n\t}", "public boolean verificaTrasicaoVazia(){\n\n //verifica se dentro das transicoes tem alguma saindo com valor vazio;\n for (int i = 0; i < this.transicoes.size(); i++) {\n if(this.transicoes.get(i).simbolo.equals(Automato_Servico.valorVazio)){\n return true;\n }\n }\n return false;\n }", "@Override\r\n\tpublic boolean isEmpty() {\n\t\tboolean bandera=true;\r\n\t\tif(vector.size()>0){\r\n\t\t\t\r\n\t\t}else{\r\n\t\t\tbandera=false;\r\n\t\t}\r\n\t\treturn bandera;\r\n\t}", "public static boolean capicuaOrNot(String theNumber){\r\n\r\n //more local variables\r\n int counter=0, size=0;\r\n String newNumber=\"\";\r\n boolean yesOrNo=false;\r\n\r\n //process to determine wether it's capicúa or not\r\n size=theNumber.length()-1;\r\n //System.out.println(theNumber + size);\r\n for(counter=size; counter>=0; counter--){\r\n newNumber+=theNumber.charAt(counter);\r\n }//end of for loop\r\n System.out.println(newNumber);\r\n if(newNumber.equals(theNumber)){\r\n yesOrNo=true;\r\n }\r\n return yesOrNo;\r\n\r\n }", "public boolean isSetNumPoliza() {\r\n return this.numPoliza != null;\r\n }", "public boolean procurarConta(Long numero) {\n for (int i = 0; i < contas.size(); i++) {\n\n //QUANDO ENCONTRA A CONTA DESEJADA RETORNA AS INFORMACOES DELA PARA O A CLASSE RelatorioSaldo\n if (contas.get(i).getNumeroConta() == numero) {\n\n //conta = contas.get(i);\n return true;\n\n }\n }\n\n return false;\n\n }", "boolean hasN();", "boolean hasN();", "public static boolean esPrimo (int num) {\n\t\tboolean primo = true;\n\t\tint i;\n\t\t\n\t\t// Bucle hasta la mitad - 1 de num (si no se ha podido dividir entre 2 los demas numeros despues de su mitad tampoco se podra\n\t\tfor (i = 2; i < (num / 2) && primo; i++) {\n\t\t\tif (num % i == 0) {\n\t\t\t\tprimo = false;\n\t\t\t}\n\t\t}\n\t\t\n\t\treturn primo;\n\t}", "public boolean isInfinite() {\n\t\treturn length() > BIG_NUMBER;\n\t}", "public boolean esValidoElIndice(int indice){\n return (indice > 0 && indice< tareas.size());\n }", "public boolean isSetNum() {\n return EncodingUtils.testBit(__isset_bitfield, __NUM_ISSET_ID);\n }", "public boolean isNumberVariablesCoherent() {\n\n\t\tint m = getVariablesNumberInMap();\n\t\tint t = getVariablesNumberInTree();\n\t\treturn m == t;\n\t}", "boolean hasSeqnum();", "boolean hasSeqnum();", "boolean hasSeqnum();", "boolean hasSeqnum();", "boolean hasSeqnum();", "boolean hasSeqnum();", "boolean hasSeqnum();" ]
[ "0.7278863", "0.65378517", "0.6340661", "0.6340661", "0.6340661", "0.60342896", "0.6027696", "0.59425694", "0.5878115", "0.5856608", "0.5824698", "0.5803596", "0.5798109", "0.57941604", "0.57822704", "0.5769134", "0.57371914", "0.57221144", "0.5684775", "0.5675521", "0.5674941", "0.56347895", "0.56127286", "0.56118464", "0.5608586", "0.5594082", "0.5567106", "0.555947", "0.5547515", "0.54838824", "0.545963", "0.5457633", "0.5433218", "0.54296905", "0.54214984", "0.5419362", "0.54065377", "0.53851414", "0.53632647", "0.5340871", "0.53404284", "0.5326923", "0.53209674", "0.53170455", "0.5311474", "0.5303326", "0.530158", "0.529276", "0.5269172", "0.5266509", "0.5264381", "0.5262755", "0.5261052", "0.52587235", "0.525683", "0.5255064", "0.5244683", "0.5235902", "0.5224226", "0.5210607", "0.5200615", "0.519487", "0.51870567", "0.51849407", "0.5181072", "0.5177974", "0.51762354", "0.51753795", "0.5161414", "0.5155442", "0.51525915", "0.5145488", "0.5144427", "0.5141157", "0.5138895", "0.5133126", "0.5132905", "0.5128773", "0.5126837", "0.5124618", "0.5123502", "0.51187426", "0.5117184", "0.5105374", "0.50969577", "0.5090827", "0.509", "0.50872797", "0.50872797", "0.50778735", "0.506561", "0.50589424", "0.50572073", "0.50562096", "0.5056161", "0.5056161", "0.5056161", "0.5056161", "0.5056161", "0.5056161", "0.5056161" ]
0.0
-1
Imprime los elementos de un vecotr en el terminal. Los elementos se separan por un espacio
public static void ver_fila_numeros(int[] arr) { for (int i = 0; i < arr.length; i++) { System.out.print(arr[i] + " "); } System.out.println(""); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void imprimir() {\n Nodo reco=raiz;\n System.out.println(\"Listado de todos los elementos de la pila.\");\n System.out.print(\"Raiz-\");\n while (reco!=null) {\n \tSystem.out.print(\"(\");\n System.out.print(reco.edad+\"-\");\n System.out.print(reco.nombre+\"\");\n System.out.print(\")-\");\n //System.out.print(reco.sig+\"-\");\n reco=reco.sig;\n }\n System.out.print(\"Cola\");\n System.out.println();\n }", "@Override\n public String imprimir() {\n String s = \"\";\n ListaPila<E> listaPilaAuxiliar = new ListaPila<>();\n while (!this.estaVacia()) {\n E elemento = this.quitar();\n s += elemento + \"\\n\";\n listaPilaAuxiliar.poner(elemento);\n }\n while (!listaPilaAuxiliar.estaVacia()) {\n this.poner(listaPilaAuxiliar.quitar());\n }\n return s;\n }", "public void imprimir() {\r\n NodoPila reco=raiz;\r\n System.out.println(\"Listado de todos los elementos de la pila:\");\r\n while (reco!=null) {\r\n System.out.print(reco.dato+\" \");\r\n reco=reco.sig;\r\n System.out.println();\r\n }\r\n System.out.println();\r\n }", "public void imprimir(){\n for(int i = 0;i < this.listaEtiquetas.size();i++){\n System.out.println(\"- \"+(i+1)+this.listaEtiquetas.get(i).getEtiqueta()+\" descripcion\"+this.listaEtiquetas.get(i).getDescripcion());\n }\n }", "public String[] inseriVet() {\n\t\tint contaM = contaPercorre();\n\t\tint novo = 0;\n\t\tCampusModel aux = inicio;\n\t\tString aux2;\n\t\tString r = \" \";\n\t\tString vet[] = new String[contaM];\n\t\twhile (aux != null) {\n\t\t\tr = r + \"\\n\" + aux.getNomeCampus();\n\t\t\taux2 = aux.getNomeCampus();\n\t\t\taux = aux.getProx();\n\t\t\tif (novo < contaM) {\n\t\t\t\tvet[novo] = aux2;\n\t\t\t\tnovo = novo + 1;\n\t\t\t}\n\t\t}\n\t\treturn vet;\n\t}", "public void showPosicoes() {\n this.print(\"\\n\");\n for (int i = 0; i < listaJogadores.size(); i++) {\n // System.out.print(posicoes[i] + \"\\t\");\n }\n }", "public static void iniciarAciertos(String vacierto[],String palabra){\n for (int i=0;i<palabra.length();i++){\r\n if (vacierto[i]==null){\r\n vacierto[i]=\" - \";\r\n }\r\n //comprobar que se rellena la matriz con -\r\n //System.out.println(vacierto[i]);\r\n }\r\n \r\n }", "public void StampaPotenziali()\r\n {\r\n System.out.println(\"----\"+this.nome+\"----\\n\"); \r\n \r\n if(!Potenziale.isEmpty())\r\n {\r\n Set<Entry<Integer,ArrayList<Carta>>> Es = Potenziale.entrySet();\r\n \r\n for(Entry<Integer,ArrayList<Carta>> E : Es)\r\n {\r\n System.out.println(\" -OPZIONE \"+E.getKey()+\"\");\r\n\r\n for(Carta c : E.getValue())\r\n {\r\n System.out.println(\" [ \"+c.GetName()+\" ]\");\r\n }\r\n \r\n System.out.println(\"\\n\");\r\n }\r\n }\r\n else\r\n {\r\n System.out.println(\"-NESSUNA CARTA O COMBINAZIONE DI CARTE ASSOCIATA-\\n\");\r\n }\r\n }", "public void mostrarConsola() {\n\t\tProceso aux = this.raiz;\n\t\t// int i=this.numProcesos;\n\t\twhile (aux.sig != this.raiz /* i>0 */) {\n\t\t\t// i--;\n\t\t\taux = aux.sig;\n\t\t\tSystem.out.println(aux.toString());\n\t\t}\n\t}", "public void PedirSintomas() {\n\t\t\r\n\t\tSystem.out.println(\"pedir sintomas del paciente para relizar el diagnosticoa\");\r\n\t}", "public String mostrarVentas() {\n String ventas = \"\";\n for (int i = 0; i < posicionActual; i++) { //Recorre el vector hasra la poscion actual, y almacena toda la informacion de estos en una variable String la cual se retornara \n ventas += mostrarCliente(i);\n }\n return ventas;\n }", "public void mostrarlistainciofin(){\n if(!estavacia()){\n String datos=\"<=>\";\n nododoble auxiliar=inicio;\n while(auxiliar!=null){\n datos=datos+\"[\"+auxiliar.dato+\"]<=>\";\n auxiliar=auxiliar.siguiente;\n }\n JOptionPane.showMessageDialog(null,datos,\n \"Mostraando lista de incio a fin\",JOptionPane.INFORMATION_MESSAGE);\n } }", "@Override\n\tpublic void preparar() {\n\t\tSystem.out.println(\"massa, presunto, queijo, calabreza e cebola\");\n\t\t\n\t}", "public String imprimirListaFormateada() {\n\t\t// Cuando quieran unir un monton de cadenas\n\t\tStringBuilder provLis = new StringBuilder();\n\t\tfor (Proveedor provTmp : BdMemoria.proveedores) {\n\t\t\tif (provTmp != null) {\n\t\t\t\tprovLis.append(provTmp.getIdProveedor()).append(\"-\").append(provTmp.getNombreProv())\n\t\t\t\t\t\t.append(\" !! \");\n\t\t\t}\n\n\t\t}\n\t\treturn provLis.toString();\n\t}", "public void verElementos() {\n for (int i = 0; i <= top; i++) { // recorremos la pila para ir mostrando los elementos\r\n System.out.print(array[i] + \"=>\"); // mostramos el valor y unos caracteres para el siguiente valor\r\n }\r\n System.out.println(); // imprimimos un salto de linea\r\n System.out.println(\"Tamaño:\" + array.length); // mostramos el tamaño actual\r\n }", "public void mostrarlistainicifin(){\n if(!estaVacia()){\n String datos = \"<=>\";\n NodoBus auxiliar = inicio;\n while(auxiliar!=null){\n datos = datos + \"(\" + auxiliar.dato +\")<=>\";\n auxiliar = auxiliar.sig;\n JOptionPane.showMessageDialog(null, datos, \"Mostrando lista de inicio a fin\", JOptionPane.INFORMATION_MESSAGE);\n }\n }\n }", "public void imprimeDados() {\n\t\tString resp = this.nome + \"(\" + this.ID + \")\\n\";\n\t\tint i = 0;\n\n\t\tif (this.alunos != null) {\n\t\t\tfor (Aluno aluno : this.alunos) {\n\t\t\t\tString cpf = aluno.getCpf();\n\t\t\t\tif (i == 0) {\n\t\t\t\t\tresp += \"[\" + cpf;\n\t\t\t\t} else {\n\t\t\t\t\tresp += \", \" + cpf;\n\t\t\t\t}\n\t\t\t\ti++;\n\t\t\t}\n\t\t}\n\t\tresp += \"]\";\n\n\t\tSystem.out.println(resp);\n\t}", "public void mostrarlistafininicio(){\n if(!estaVacia()){\n String datos = \"<=>\";\n NodoBus auxiliar = fin;\n while(auxiliar!=null){\n datos = datos + \"(\" + auxiliar.dato +\")->\";\n auxiliar = auxiliar.ant;\n JOptionPane.showMessageDialog(null, datos, \"Mostrando lista de fin a inicio\", JOptionPane.INFORMATION_MESSAGE);\n }\n }\n }", "private void aumentaCapacidade(){\n\t\tif(this.tamanho == this.elementos.length){\n\t\t\tObject[] elementosNovos = new Object[this.elementos.length*2];\n\t\t\tfor(int i =0; i<this.elementos.length;i++){\n\t\t\t\telementosNovos[i]=this.elementos[i];\n\t\t\t}\n\t\t\tthis.elementos=elementosNovos;\n\t\t}\n\t}", "public String[] pedirDatosNuevoCarro(){\n String[] nuevoCarro = new String[3];\n boolean paso = false;//Pedimos los datos de un carro, con su verificacion y luego se la enviamos en una String\n while (paso == false){\n try {\n System.out.println(\"Ingrese el numero de placa\");\n nuevoCarro[0] = scan.nextLine();\n paso = true;\n } catch (Exception e) {\n System.out.println(\"Ingrese un valor correcto, por favor\");\n }\n }\n paso = false;\n while (paso == false){\n try {\n System.out.println(\"Ingrese la marca de su vehiculo\");\n nuevoCarro[1] = scan.nextLine();\n paso = true;\n } catch (Exception e) {\n System.out.println(\"Ingrese un valor correcto, por favor\");\n }\n }\n paso = false;\n while (paso == false){\n try {\n System.out.println(\"Ingrese el modelo de su auto, elija el numero antes del modelo ([1 'European|U.S. Compact'], [2 'U.S. Standard'], [3 'U.S. Standard Large'])\");\n String valorString = scan.nextLine();\n int valor = Integer.parseInt(valorString);\n if (valor == 1){\n nuevoCarro[2] = \"European|U.S. Compact\";\n }\n else if (valor == 2){\n nuevoCarro[2] = \"U.S. Standard\";\n }\n else if (valor == 3){\n nuevoCarro[2] = \"U.S. Standard Large\";\n }\n paso = true;\n } catch (Exception e) {\n System.out.println(\"Ingrese un numero de 1 a 3, por favor\");\n }\n }\n\n return nuevoCarro;\n }", "public void alquilarMultimediaAlSocio(){\n lector = new Scanner(System.in);\n int opcion = -1;\n int NIF = 0;\n int pedirElemento;\n String titulo;\n Socio socio;\n\n\n\n NIF = pedirNIF(); // pido el NIF por teclado\n\n if(tienda.exiteSocio(NIF)){ // Si exite, continuo\n socio = tienda.getSocioWithNIF(NIF); // Si exite el socio, busco en la tienda y lo asigno.\n if(!socio.isAlquilando()) { // si el socio no está actualmente alquilando, no continuo\n opcion = pedirElemento(); // Pido el elemento\n\n switch (opcion) {\n case 1:\n tienda.imprimirDatos(tienda.getPeliculas());\n System.out.println(\"Introduce el titulo de la pelicula que quieres: \");\n titulo = lector.nextLine();\n if (tienda.exitePelicula(titulo)) {\n\n tienda.alquilarPeliculaSocio(NIF, titulo);\n System.out.println(\"PELICULA ANYADIDO EN EL MAIN\");\n\n\n } else {\n System.out.println(\"No exite la pelicula \" + titulo + \".\");\n }\n\n\n break;\n case 2:\n tienda.imprimirDatos(tienda.getVideojuegos());\n System.out.println(\"Introduce el titulo del videojuego que quieres: \");\n titulo = lector.nextLine();\n if (tienda.existeVideojuego(titulo)) {\n\n tienda.alquilarVideojuegoSocio(NIF, titulo);\n System.out.println(\"VIDEOJUEGO ANYADIDO EN EL MAIN\");\n\n\n } else {\n System.out.println(\"No exite el videojuego \" + titulo + \".\");\n }\n break;\n default:\n break;\n }\n }else{\n System.out.println(\"El socio \" + socio.getNombre() + \" tiene recargos pendientes.\");\n }\n\n }else{\n System.out.println(\"El socio con NIF \" + NIF + \" no exite.\");\n }\n\n\n\n\n\n\n }", "public void listar(){\n if (!esVacia()) {\n // Crea una copia de la lista.\n NodoEmpleado aux = inicio;\n // Posicion de los elementos de la lista.\n int i = 0;\n System.out.print(\"-> \");\n // Recorre la lista hasta llegar nuevamente al incio de la lista.\n do{\n // Imprime en pantalla el valor del nodo.\n System.out.print(i + \".[ \" + aux.getEmpleado() + \" ]\" + \" -> \");\n // Avanza al siguiente nodo.\n aux = aux.getSiguiente();\n // Incrementa el contador de la posi�n.\n i++;\n }while(aux != inicio);\n }\n }", "public void mostrarTareasEnPosicionImpar(){}", "public static void main(String[] args) {\n\t\tScanner lectorInt = new Scanner(System.in);\n\t\tScanner lectorString = new Scanner(System.in);\n\t\tSystem.out.println(\"Ingrese información de pasajero\");\n\t\tSystem.out.println(\"Ingrese nombre: \");\n\t\tString nombre = lectorString.nextLine();\n\t\tSystem.out.println(\"Ingrese apellido: \");\n\t\tString apellido = lectorString.nextLine();\n\t\tSystem.out.println(\"Ingrese edad: \");\n\t\tint edad = lectorInt.nextInt();\n\t\tSystem.out.println(\"Que tipo de pasajero es: 1:Pasajero Vip 2:Pasajero Económico \");\n\t\tint opcion = lectorInt.nextInt();\n\t\tString membresia = \"\";\n\t\tString descuento = \"\";\n\t\tif (opcion == 1) {\n\t\t\tSystem.out.println(\"Ingrese Código de Membresía\");\n\t\t\tmembresia = lectorString.nextLine();\n\n\t\t} else {\n\t\t\tSystem.out.println(\"Ingrese Código de Descuento\");\n\t\t\tdescuento = lectorString.nextLine();\n\t\t}\n\n\t\tPasajeroVip pasajero1 = new PasajeroVip();\n\t\tpasajero1.setNombre(nombre);\n\t\tpasajero1.setApellido(apellido);\n\t\tpasajero1.setCodigoMembresia(membresia);\n\t\tpasajero1.setEdad(edad);\n\n\t\tPasajeroVip pasajero2 = new PasajeroVip(\"Juan\", \"Tandre\", \"as2345\", 23);\n\n\t\tPasajeroEconomico pasajeroEconomico1 = new PasajeroEconomico();\n\t\tpasajeroEconomico1.setNombre(\"Helena\");\n\t\tpasajeroEconomico1.setApellido(\"Frias\");\n\t\tpasajeroEconomico1.setCodigoDescuento(\"1234df\");\n\t\tpasajeroEconomico1.setEdad(25);\n\n\t\tPasajero[][] asientos = new Pasajero[4][5];\n\t\tasientos[0][0] = pasajero1;\n\t\tasientos[0][1] = pasajero2;\n\t\tasientos[0][2] = pasajero1;\n\t\tasientos[0][3] = pasajeroEconomico1;\n\t\tasientos[1][0] = pasajero1;\n\t\tasientos[1][1] = pasajeroEconomico1;\n\n\t\tint opcionSalir = 0;\n\t\tdo {\n\t\t\tSystem.out.println();\n\t\t\tSystem.out.println(\"Ingrese datos del asiento, 0:continuar, -1:SALIR\");\n\t\t\topcionSalir = lectorInt.nextInt();\n\t\t\tif (opcionSalir == 0) {\n\t\t\t\tSystem.out.print(\"Ingrese fila del asiento: \");\n\t\t\t\tint fila = lectorInt.nextInt();\n\t\t\t\tSystem.out.print(\"Ingrese columna del asiento: \");\n\t\t\t\tint columna = lectorInt.nextInt();\n\t\t\t\tSystem.out.println(\"Los datos del pasajero son: \");\n\t\t\t\tSystem.out.println(asientos[fila][columna]);\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"Va ha salir del sistema\");\n\t\t\t}\n\t\t} while (opcionSalir != -1);\n\n\t}", "public static void main(String[] args) {\n int numeros[] = {2, 3, 4, 2, 4, 5, 6, 2, 1, 2};\n //Creamos segundo arreglo con iguall tamaño que el arreglo nùmeros\n int cuadrados[] = new int[numeros.length];\n //Arreglo para almacenar el proceso de la operación\n String procesos[] = new String[numeros.length];\n //Creamos ciclo de repeticiòn para recorrer arreglo \n for (int indice = 0; indice < numeros.length; indice++) {\n int cuadrado = numeros[indice] * numeros[indice];\n //Almacenamos el proceso de la opreaciòn en el arreglo cuadrados\n cuadrados[indice] = cuadrado;\n \n //Almacenar resultado en el arreglo procesos\n procesos[indice] = numeros[indice] + \"x\" + numeros[indice];\n }\n //Ciclo de repetición para mostrar arreglos\n String print_numeros = \"numeros - \";\n String print_cuadrados = \"cuadrados - \";\n String print_procesos = \"procesoss - \";\n for (int indice = 0; indice < numeros.length; indice++) {\n print_numeros = print_numeros + numeros[indice] + \", \";\n print_cuadrados = print_cuadrados + cuadrados[indice] + \", \";\n print_procesos = print_procesos + procesos[indice] + \", \";\n\n }\n System.out.println(print_numeros);\n System.out.println(print_cuadrados);\n System.out.println(print_procesos);\n \n //suma solo numeros pares\n int acumulador_pares=0;\n for (int indice = 0; indice < 10; indice++) {\n boolean par= detectar_par(numeros[indice]);\n if (par == true) {\n acumulador_pares = acumulador_pares + numeros[indice];\n \n }\n }\n System.out.println(\"La suma de los nùmeros pares es: \"+acumulador_pares);\n \n }", "public void transcribir() \r\n\t{\r\n\t\tpalabras = new ArrayList<List<CruciCasillas>>();\r\n\t\tmanejadorArchivos = new CruciSerializacion();\r\n\t\tint contador = 0;\r\n\t\t\r\n\t\tmanejadorArchivos.leer(\"src/Archivos/crucigrama.txt\");\r\n\t\t\r\n\t\tfor(int x = 0;x<manejadorArchivos.getPalabras().size();x++){\r\n\t\t\t\r\n\t\t\tcontador++;\r\n\t\t\t\r\n\t\t\tif (contador == 4) {\r\n\t\t\t\r\n\t\t\t\tList<CruciCasillas> generico = new ArrayList<CruciCasillas>();\r\n\t\t\t\t\r\n\t\t\t\tfor(int y = 0; y < manejadorArchivos.getPalabras().get(x).length();y++)\r\n\t\t\t\t{\r\n\t\t\t\t\t\tgenerico.add(new CruciCasillas(manejadorArchivos.getPalabras().get(x).charAt(y)));\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\tif (y == (manejadorArchivos.getPalabras().get(x).length() - 1)) \r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tpalabras.add(generico);\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t\tcontador = 0;\r\n\t\t\t}\r\n\t\t\t\r\n\t\t}\r\n\t\t\t\r\n\t}", "public static void main(String[] args) {\n Perro perro = new Perro(1, \"Juanito\", \"Frespuder\", 'M');\n Gato gato = new Gato(2, \"Catya\", \"Egipcio\", 'F', true);\n Tortuga paquita = new Tortuga(3, \"Pquita\", \"Terracota\", 'F', 12345857);\n\n SetJuego equipo = new SetJuego(4, \"Gato equipo\", 199900, \"Variado\", \"16*16*60\", 15, \"Gatos\");\n PelotaMorder pelotita = new PelotaMorder(1, \"bola loca\", 15000, \"Azul\", \"60 diam\");\n\n System.out.println(perro.toString());//ToString original de \"mascotas\"\n System.out.println(gato.toString());//ToString sobrescrito\n System.out.println(paquita.toString());\n\n System.out.println(equipo);//ToString sobrescrito (tambien se ejecuta sin especificarlo)\n System.out.println(pelotita.toString());//Original de \"Juguetes\"\n\n //metodos clase mascota\n perro.darCredito();//aplicado de la interface darcredito\n paquita.darDeAlta(\"Terracota\",\"Paquita\");\n equipo.devolucion(4,\"Gato Equipo\");\n\n //vamos a crear un arraylist\n ArrayList<String> servicios = new ArrayList<String>();\n servicios.add(\"Inyectologia\");\n servicios.add(\"Peluqueria\");\n servicios.add(\"Baño\");\n servicios.add(\"Desparacitacion\");\n servicios.add(\"Castracion\");\n\n System.out.println(\"Lista de servicios: \" + servicios + \", con un total de \" + servicios.size());\n\n servicios.remove(3);//removemos el indice 3 \"Desparacitacion\"\n\n System.out.println(\"Se ha removido un servicio..................\");\n System.out.println(\"Lista de servicios: \" + servicios + \", con un total de \" + servicios.size());\n\n\n //creamos un vector\n Vector<String> promociones = new Vector<String>();\n\n promociones.addElement(\"Dia perruno\");\n promociones.addElement(\"Gatutodo\");\n promociones.addElement(\"10% Descuento disfraz de perro\");\n promociones.addElement(\"Jornada de vacunacion\");\n promociones.addElement(\"Serpiente-Promo\");\n\n System.out.println(\"Lista de promos: \" + promociones);\n System.out.println(\"Total de promos: \" + promociones.size());\n\n promociones.remove(4);//removemos 4 \"Serpiente-Promo\"\n System.out.println(\"Se ha removido una promocion..................\");\n\n System.out.println(\"Lista de promos: \" + promociones);\n System.out.println(\"Total de promos: \" + promociones.size());\n\n String[] dias_Semana = {\"Lunes\",\"Martes\",\"Miercoles\",\"Jueves\",\"Viernes\", \"Sabado\",\"Domingo\"};\n\n try{\n System.out.println(\"Elemento 6 de servicios: \" + dias_Semana[8]);\n } catch (ArrayIndexOutOfBoundsException e){\n System.out.println(\"Ey te pasaste del indice, solo hay 5 elementos\");\n } catch (Exception e){\n System.out.println(\"Algo paso, el problema es que no se que...\");\n System.out.println(\"La siguiente linea ayudara a ver el error\");\n e.printStackTrace();//solo para desarrolladores\n }finally {\n System.out.println(\"------------------------El curso termino! Pero sigue el de Intro a Android!!!!--------------------------\");\n }\n\n }", "private String tulostuksenApu(){\r\n String apu = \"Rivitiedosto: \";\r\n for(int i = 0; i<rivitiedot.length; i++){\r\n apu = apu + i+\": \";\r\n for(int k = 1; k <= rivitiedot[i].getKoko(); k++){\r\n apu = apu + \" \"+rivitiedot[i].get(k);\r\n }\r\n apu = apu + \" \";\r\n }\r\n\r\n return apu;\r\n }", "public void imprimeAgencias() {\n System.out.println(\"\\n\\n=============== RELATORIO DE AGENCIAS DO BANCO ==================\\n\");\n System.out.println(\"Numero de agencias abertas: \" + numAgenciasAbertas);\n for (int i = 0; i < numAgenciasAbertas; i++) {\n agencias[i].imprimeDados();\n }\n System.out.println(\"===============================================\");\n }", "public static void main(String[] args) {\n String asNombres[]=new String[TAMA];\r\n //CAPTURAR 5 NNOMBRES \r\n Scanner sCaptu = new Scanner (System.in);\r\n for (int i = 0; i < TAMA; i++) {\r\n System.out.println(\"Tu nombre :\");\r\n asNombres[i]=sCaptu.nextLine();\r\n }\r\n for (String asNombre : asNombres) {\r\n System.out.println(\"Nombre: \" + asNombre);\r\n \r\n }\r\n //CREAR UNA COPIA DEL ARREGLO\r\n /*String asCopia[]=asNombre;//Esto no funciona\r\n asNombre[0]=\"HOLA MUNDO\";\r\n System.out.println(asCopia[0]);*/\r\n \r\n String asCopia[]=new String[TAMA];\r\n for (int i = 0; i < TAMA; i++) {\r\n asCopia[i]=asNombres[i];\r\n \r\n }\r\n asNombres[0]=\"HOLA MUNDO\";\r\n System.out.println(\"Nombre = \" + asNombres[0]);\r\n System.out.println(\"Copia = \" + asCopia[0]);\r\n }", "public void MostrarValores() {\r\n Nodo recorrido = UltimoValorIngresado;\r\n\r\n while (recorrido != null) {\r\n Lista += recorrido.informacion + \"\\n\";\r\n recorrido = recorrido.siguiente;\r\n }\r\n\r\n JOptionPane.showMessageDialog(null, Lista);\r\n Lista = \"\";\r\n }", "public void MostrarListas (){\n Nodo recorrer=inicio; // esto sirve para que el elemento de la lista vaya recorriendo conforme se inserta un elemento\r\n System.out.println(); // esto nos sirve para dar espacio a la codificacion de la lista al imprimir \r\n while (recorrer!=null){ // esta secuencia iterativa nos sirve para repetir las opciones del menu\r\n System.out.print(\"[\" + recorrer.dato +\"]--->\");\r\n recorrer=recorrer.siguiente;\r\n }\r\n }", "private static void imprimirMensajeEnPantalla() {\n\tSystem.out.println(\"########### JUEGO EL AHORCADO ###########\");\n\timprimirAhorcado(intentosRestantes);\n\tSystem.out.println(\"\\nPALABRA ACTUAL: \" + getPalabraActualGuionBajo());\n\tSystem.out.println(\"INTENTOS RESTANTES: \" + intentosRestantes);\n\t}", "public void imprimirLista() {\n NodoListaDoble<T> tmp = raiz;\n\n if (this.raiz == null) {\n System.out.println(\"Lista vacia\");\n } else {\n System.out.println(\"--------------------------\");\n while (tmp != null) {\n System.out.println(tmp.toString());\n tmp = tmp.getSiguiente();\n }\n System.out.println(\"--------------------------\");\n }\n }", "public void MostrarListaInicioFin() {\n if(!estVacia()){\n String datos=\"<=>\";\n NodoDoble current=inicio;\n while(current!=null){\n datos += \"[\"+current.dato+\"]<=>\";\n current = current.siguiente;\n }\n JOptionPane.showMessageDialog(null, datos, \"Mostrando Lista de inicio a Fin\",JOptionPane.INFORMATION_MESSAGE);\n }\n }", "private ArrayList limpiar() {//quita espacios en blanco y saltos de linea\n String codigoFuente = ta_source.getText();\n ArrayList retorno = new ArrayList();\n try {\n codigoFuente = codigoFuente.replaceAll(\" \", \"\");\n String aux = \"\";\n byte guardaLinea = 1, guardaBloque = 1;\n for (int i = 0; i < codigoFuente.length(); i++) {\n if (codigoFuente.length() > (i + 1) && codigoFuente.charAt(i) == '/' && codigoFuente.charAt(i + 1) == '/' && guardaBloque == 1) {\n guardaLinea = 0;//0: no guarda\n }\n if (codigoFuente.length() > (i + 1) && codigoFuente.charAt(i) == '/' && codigoFuente.charAt(i + 1) == '*' && guardaLinea == 1) {\n guardaBloque = 0;//0: no guarda\n }\n if (i > 0 && codigoFuente.charAt(i) == '/' && codigoFuente.charAt(i - 1) == '*') {\n guardaBloque = 2;//1: si guarda\n }\n if (codigoFuente.charAt(i) == '\\n' && guardaBloque == 1) {\n guardaLinea = 1;//1: si guarda\n if (aux.length() > 0) {\n retorno.add(aux);\n aux = \"\";\n }\n } else {\n if (i == codigoFuente.length() - 1) {\n aux += codigoFuente.charAt(i);\n retorno.add(aux);\n }\n }\n if (guardaBloque == 1 && guardaLinea == 1 && codigoFuente.charAt(i) != '\\n') {\n aux += codigoFuente.charAt(i);\n }\n if (guardaBloque == 2) {\n guardaBloque--;\n }\n }\n } catch (Exception e) {\n System.out.println(\"errror \" + e.getClass());\n } finally {\n return retorno;\n }\n }", "public void tradOra(){\r\n leerOracion();\r\n String res=\"\";\r\n for(int i=0; i<orac.size(); i++){\r\n res+=tradPal(rz, orac.get(i).trim())+\" \";\r\n }\r\n System.out.println(res);\r\n }", "public void eliminarTermino() {\n System.out.println(\"......................\");\n System.out.println(\"Eliminar Termino Academico\");\n int i = 1;\n Entrada entrada = new Entrada();\n for (Termino t : Termino.terminos) {\n System.out.println(i + \". \" + t);\n i++;\n }\n if (i != 1) {\n int opc;\n do {\n opc = entrada.Entera(\"Ingrese opcion(1-\" + (i - 1) + \"): \");\n if (!(opc >= 1 && opc <= (i - 1))) {\n System.out.println(\"opcion no valida\");\n }\n } while (!(opc >= 1 && opc <= (i - 1)));\n Termino.terminos.remove(opc - 1);\n System.out.println(\"Termino Eliminado\");\n } else {\n System.out.println(\"No existen terminos\");\n }\n }", "private void casoFor(ArrayList codigoFuente) {\n try {\n\n String texto = \"\", linea = \"\";\n String var[] = null;\n\n byte parenDerecho = 0;\n for (int i = 0; i < codigoFuente.size(); i++) {\n linea = codigoFuente.get(i).toString();\n for (int j = 0; j < linea.length(); j++) {\n if (linea.charAt(j) == ')') {\n parenDerecho++;\n\n if (j < linea.length() - 1) {\n if (linea.charAt(j + 1) == '{') {\n var = contenidoFor(texto);\n\n if (var[0].equals(\"0\")) {\n ta_output.setText(\"Línea \" + (i + 1) + \":\" + var[1]);\n break;\n } else {\n if (codigoFuente.get(codigoFuente.size() - 1).toString().charAt(codigoFuente.get(codigoFuente.size() - 1).toString().length() - 1) == '}') {\n ta_output.setText(\"Compilado Correctamente\");\n break;\n } else {\n ta_output.setText(\"Línea \" + (codigoFuente.size() - 1) + \": Sintáctico: falta llave derecha\");\n break;\n }\n }\n } else {\n ta_output.setText(\"Línea \" + (i + 1) + \": Sintáctico: falta llave izquierda\");\n break;\n }\n } else {//Evalua si la llave izquierda esta en la siguiente linea\n if (i < codigoFuente.size() - 1) {\n linea = codigoFuente.get(i + 1).toString();\n if (linea.charAt(0) == '{') {\n var = contenidoFor(texto);\n\n if (var[0].equals(\"0\")) {\n ta_output.setText(\"Línea \" + (i + 1) + \":\" + var[1]);\n break;\n } else {\n if (codigoFuente.get(codigoFuente.size() - 1).toString().charAt(codigoFuente.get(codigoFuente.size() - 1).toString().length() - 1) == '}') {\n ta_output.setText(\"Compilado Correctamente\");\n break;\n } else {\n ta_output.setText(\"Línea \" + (codigoFuente.size()) + \": Sintáctico: falta llave derecha\");\n break;\n }\n }\n } else {\n ta_output.setText(\"Línea \" + (i + 1) + \": Sintáctico: falta llave izquierda\");\n break;\n }\n } else {\n ta_output.setText(\"Línea \" + (i + 1) + \": Sintáctico: falta llave izquierda\");\n break;\n }\n }\n }\n texto += linea.charAt(j);\n if (texto.equals(\"for\")) {\n if (linea.length() > 5) {\n if (linea.charAt(j + 1) == '(') {\n texto = \"\";\n } else {\n if (linea.charAt(j + 2) == '(') {\n ta_output.setText(\"Línea \" + (i + 1) + \": Lexico: Caracter sobrante en sentencia for.\");\n parenDerecho++;\n break;\n } else {\n parenDerecho++;\n ta_output.setText(\"Línea \" + (i + 1) + \": Sintáctico: mala construcción de la sentencia.\");\n break;\n }\n }\n } else {\n parenDerecho++;\n ta_output.setText(\"Línea \" + (i + 1) + \": Sintáctico: mala construcción de la sentencia.\");\n break;\n }\n }\n }\n }\n if (parenDerecho == 0) {\n ta_output.setText(\"Sintáctico: falta paréntesis Derecho\");\n }\n\n } catch (Exception e) {\n System.out.println(\"Error en caso for \" + e.getClass());\n }\n }", "public void cadastrarOfertasQuad1(){\n \n String[] palavras;\n \n //Primeiro quadrimestre\n try {\n try (BufferedReader lerArq = new BufferedReader(new InputStreamReader(new FileInputStream(\"/home/charles/alocacao/Arquivos Alocação/Arquivos CSV/Planejamento2017_q1.csv\"), \"UTF-8\"))) {\n String linha = lerArq.readLine(); //cabeçalho\n \n linha = lerArq.readLine();\n\n// linha = linha.replaceAll(\"\\\"\", \"\");\n while (linha != null) {\n\n linha = linha.replaceAll(\"\\\"\", \"\");\n\n palavras = linha.split(\";\", -1);\n\n oferta = new OfertaDisciplina();\n\n oferta.setCurso(palavras[0]);//2\n\n String nome = palavras[2];//4\n \n String codigo = palavras[1];//3\n \n Disciplina d = disciplinaFacade.findByCodOrName(codigo, nome);\n\n if (d != null) {\n// Disciplina d = disciplinaFacade.findByName(nome).get(0);\n oferta.setDisciplina(d);\n }\n oferta.setT(Integer.parseInt(palavras[3]));//5\n oferta.setP(Integer.parseInt(palavras[4]));//6\n oferta.setTurno(palavras[6]);//11\n oferta.setCampus(palavras[7]);//12\n if (!palavras[8].equals(\"\")) {\n oferta.setNumTurmas(Integer.parseInt(palavras[8]));//13\n }\n if (!palavras[9].equals(\"\")) {\n oferta.setPeriodicidade(palavras[9]);//19\n } else{\n oferta.setPeriodicidade(\"semanal\");\n }\n oferta.setQuadrimestre(1);\n\n salvarNoBanco();\n\n linha = lerArq.readLine();\n// linha = linha.replaceAll(\"\\\"\", \"\");\n }\n } //cabeçalho\n ofertas1LazyModel = null;\n } catch (IOException e) {\n System.err.printf(\"Erro na abertura do arquivo: %s.\\n\", e.getMessage());\n } \n }", "public void ImprimirDatos(){\n\t\tSystem.out.println(\"Número de elises: \"+NoElises);\n\t\tSystem.out.println(\"Número de alas: \"+NoAlas);\n\t\tSystem.out.println(\"Número de pasajeros: \"+NoPasajeros);\n\t}", "public static void mostrarVehiculos() {\n for (Vehiculo elemento : vehiculos) {\n System.out.println(elemento);\n }\n\t}", "public void mostrarlistafininicio(){\n if(!estavacia()){\n String datos=\"<=>\";\n nododoble auxiliar=fin;\n while(auxiliar!=null){\n datos=datos+\"[\"+auxiliar.dato+\"]<=>\";\n auxiliar=auxiliar.anterior;\n }\n JOptionPane.showMessageDialog(null,datos,\n \"Mostraando lista de fin a inicio\",JOptionPane.INFORMATION_MESSAGE);\n }}", "public void mostrarLista(){\n Nodo recorrer = inicio;\n while(recorrer!=null){\n System.out.print(\"[\"+recorrer.edad+\"]-->\");\n recorrer=recorrer.siguiente;\n }\n System.out.println(recorrer);\n }", "public void listar(){\r\n // Verifica si la lista contiene elementoa.\r\n if (!esVacia()) {\r\n // Crea una copia de la lista.\r\n Nodo aux = inicio;\r\n // Posicion de los elementos de la lista.\r\n int i = 0;\r\n // Recorre la lista hasta el final.\r\n while(aux != null){\r\n // Imprime en pantalla el valor del nodo.\r\n System.out.print(i + \".[ \" + aux.getValor() + \" ]\" + \" -> \");\r\n // Avanza al siguiente nodo.\r\n aux = aux.getSiguiente();\r\n // Incrementa el contador de la posión.\r\n i++;\r\n }\r\n }\r\n }", "separador(){\r\n uno = null;\r\n dos = null;\r\n tres = null;\r\n cero = null;\r\n }", "private void limparcampos() {\n tfarea.setText(\"\");\n tfbairro.setText(\"\");\n tfcgc.setText(\"\");\n tfemail.setText(\"\");\n tfendereco.setText(\"\");\n tffone.setText(\"\");\n tfincra.setText(\"\");\n tfnomefan.setText(\"\");\n tfnomefan.setText(\"\");\n tfnomefan.setText(\"\");\n tfproprietario.setText(\"\");\n tfrazao.setText(\"\");\n combocidade.setSelectedItem(\"\");\n combounimedida.setSelectedItem(\"\");\n\n }", "public void exibeTodosPassageiros(TextArea x)\n\t{\n\t\ttry {\n\t\t\t\n\t\t\tstmt=con.prepareStatement(\" select idbilhete, nome,origem,destino from passageiro,bilhetes where idbilhete=id_bilhete \\r\\n\" + \n\t\t\t\t\t\"order by idbilhete;\");\n\t\t\t\n\t\t\t\n\t\t\tstmt.execute();\n\t\t\t\n\t\t\t\n\t\t\trs=stmt.getResultSet();\n\t\t\t\n\t\t\t\n\t\t\twhile(rs.next())\n\t\t\t\t\n\t\t\t{\n\t\t\t\t\n\t\t\t\tint bilhete = rs.getInt(1);\n\t\t\t\tString nome = rs.getString(2);\n\t\t\t\tString destino =rs.getString(3);\n\t\t\t\tString origem =rs.getString(4);\n\t\t\t\t\n\t\t\t\t\n\t\t\t \n\n\t\t\t\tx.append(\"\\r\\n | \"+ bilhete + \" | - \" + nome+\" - \"+ origem +\" - \" + destino + \" \\t\\t\\r\\n\\t\\r\\n \");\n\n\t\t\t}\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t} catch (Exception e) {\n\t\t\t// TODO: handle exception\n\t\t}\n\t\t\n\t\t\n\t}", "public static void main(String[] args) {\n Locale.setDefault(Locale.US);\n Scanner sc = new Scanner(System.in);\n \n System.out.println(\"Entre com total de quartos\"); \n int n = sc.nextInt();\n String nome;\n String email;\n Integer quarto;\n \n aluguel[] vect = new aluguel[n];\n \n for (int i=0; i<3; i++) { \n System.out.println(\"\"); \n System.out.println(\"Entre com os dados da locatario: Nome, e-mail e número do quarto:\");\n System.out.println(\"\");\n System.out.println(\"Nome:\");\n \n nome = sc.next();\n System.out.println(\"\");\n System.out.println(\"E-mail:\"); \n email = sc.next();\n System.out.println(\"\");\n System.out.println(\"Quarto:\");\n\n quarto = sc.nextInt();\n \n vect[quarto] = new aluguel(nome,email,quarto);\n }\n \n System.out.println(\"\");\n System.out.println(\"Quartos ocupados:\");\n System.out.println(\"\");\n for (int i=0; i<vect.length; i++) {\n\t \n\t if (vect[i] != null) {\n\t\t System.out.println(\"\");\n\t\t System.out.println(Integer.toString(i)+\" - \" + vect[i].getNome()+\", \"+vect[i].getEmail());\n\t\t \n\t }\n }\n sc.close();\t\t\n\t}", "public void ordenaPontos(){\r\n\t\tloja.ordenaPontos();\r\n\t}", "protected String decrisToi(){\r\n return \"\\t\"+this.nomVille+\" est une ville de \"+this.nomPays+ \", elle comporte : \"+this.nbreHabitants+\" habitant(s) => elle est donc de catégorie : \"+this.categorie;\r\n }", "public void MostrarDatos(){\n // En este caso, estamos mostrando la informacion necesaria del objeto\n // podemos acceder a la informacion de la persona y de su arreglo de Carros por medio de un recorrido\n System.out.println(\"Hola, me llamo \" + nombre);\n System.out.println(\"Tengo \" + contador + \" carros.\");\n for (int i = 0; i < contador; i++) {\n System.out.println(\"Tengo un carro marca: \" + carros[i].getMarca());\n System.out.println(\"El numero de placa es: \" + carros[i].getPlaca()); \n System.out.println(\"----------------------------------------------\");\n }\n }", "private void reestablecerComponentes()\n {\n tokenslist = new LinkedList<LineaToken>();\n tokenslistErrores = new LinkedList<LineaToken>();\n info_tabla_tokens.clear();\n info_tabla_errores.clear();\n ta_errores_sintacticos_id.clear();\n ta_errores_semanticos_id.clear();\n ta_tabla_simbolos_id.clear();\n ta_codigo_ensamblador_id.clear();\n Generador.contadorEtiq = 1;\n Generador.etiqAnterior = \"L0\";\n EliminarArchivoASM();\n }", "public void verEstado(){\n for(int i = 0;i <NUMERO_AMARRES;i++) {\n System.out.println(\"Amarre nº\" + i);\n if(alquileres.get(i) == null) {\n System.out.println(\"Libre\");\n }\n else{\n System.out.println(\"ocupado\");\n System.out.println(alquileres.get(i));\n } \n }\n }", "public void venderProducto(){\n\t\tScanner sc = new Scanner(System.in);\n\t\tString separador = \",\";\n\t\tString producto = \"\";\n\t\tString cantidad = \"\";\n\t\tString cantidadPrevia = \"\";\n\t\tString linea = \"\";\n\t\tString respuesta = \"\";\n\t\tint stock = 0;\n\t\tString[] afirmativos = {\"SI\", \"Si\", \"si\", \"s\"};\n\t\tString [] auxiliar = null;\n\t\tList<String> lines = new ArrayList<String>();\t\n\t\t\n\t\tSystem.out.print(\"Que producto va a vender\\n\");\n\t\tproducto = sc.nextLine();\n\t\t\n\t\tboolean existe = productoExiste(producto); // Se comprueba si el peoducto existe en el stock.dat\n\t\tif(existe) {\n\t\t\tstock = Integer.parseInt(revisarStock(producto)); //Comprobamos el stock que queda del determinado producto\n\t\t\t\n\t\t\tif(stock == 0) {\n\t\t\t\tSystem.out.println(\"No queda stock de este producto, �quiere solicitarle mas al proveedeor ?\");\n\t\t\t\trespuesta = sc.nextLine();\n\t\t\t\tfor(int i = 0; i < afirmativos.length; i++) {\n\t\t\t\t\tif(respuesta.equals(afirmativos[i])) {\n\t\t\t\t\t\tañadirStock(producto);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(stock <= 5) {\n\t\t\t\tSystem.out.println(\"El stock de este producto es bajo, por favor solicite m�s al proveedor\");\n\t\t\t\tSystem.out.println(\"�Quiere solicitar m�s stock al proveedor?\");\n\t\t\t\trespuesta = sc.nextLine();\n\t\t\t\tfor(int i = 0; i< afirmativos.length; i++) {\n\t\t\t\t\tif(respuesta.equals(afirmativos[i])) {\n\t\t\t\t\t\tañadirStock(producto);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\telse{\t\t\t\t\n\t\t\t\ttry {\n\t\t\t\tSystem.out.println(\"Cuantas unidades quiere vender ?\");\n\t\t\t\tcantidad = sc.nextLine();\n\t\t\t\t}\n\t\t\t\tcatch(Exception e) {\n\t\t\t\t\tSystem.out.println(\"El valor introducido es incorrecto\");\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\ttry {\n\t\t\t\t\tcantidadPrevia = revisarStock(producto); //Obtenemos la cantidad que tenemos en stock en formato String para despues poder modificar el fichero\n\t\t\t\t\tint total = stock - Integer.parseInt(cantidad); //Calculamos el stock que nos quedar� despues de la venta. Para ello casteamos el valor que nos introduce el usuario de String a int para poder operar con el y con el valor que tenemos en el fichero que previamente hemos casteado a int\n\t\t\t\t\tString totalString = Integer.toString(total); // Casteamos el resultado a String para poder escribirlo en el fichero\n\t\t\t\t\t\n\t\t\t\t\tif(Integer.parseInt(totalString) >= 0) {\n\t\t\t File fichero = new File(rutaFichero);\n\t\t\t FileReader fr = new FileReader(fichero);\n\t\t\t BufferedReader br = new BufferedReader(fr);\n\t\t\t while ((linea = br.readLine()) != null) {\n\t\t\t if (linea.contains(producto)) {\n\t\t\t \tauxiliar = linea.split(separador);\n\t\t\t \tauxiliar[4] = totalString;\n\t\t\t \tlinea = (auxiliar[0] + \",\" + auxiliar[1] + \",\" + auxiliar[2]+ \",\" + auxiliar[3] + \",\" + auxiliar[4] + \",\" + auxiliar[5]);\n\t\t\t }\t \n\t\t\t lines.add(linea);\n\t\t\t }\n\n\t\t\t FileWriter fw = new FileWriter(fichero);\n\t\t\t BufferedWriter out = new BufferedWriter(fw);\n\t\t\t for(String s : lines)\n\t\t\t out.write(s + \"\\n\");\n\t\t\t out.flush();\n\t\t\t out.close();\n\t\t\t\t\t}\t\n\t\t\t\t\telse {\n\t\t\t\t\t\tSystem.out.println(\"No queda stock suficiente como para realizar la venta solicitada, quiere solicitar m�s stock al proveedor ?\");\n\t\t\t\t\t\trespuesta = sc.nextLine();\n\t\t\t\t\t\tfor(int i = 0; i < afirmativos.length; i++) {\n\t\t\t\t\t\t\tif(respuesta.contains(afirmativos[i])) {\n\t\t\t\t\t\t\t\tañadirStock(producto);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\tSystem.out.println(\"Venta no realizada\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tString totalFactura = calcularTotal(cantidad, auxiliar[3]);\n\t\t\t\t\tif(Integer.parseInt(cantidad) > 0) {\n\t\t\t\t\t\tcrearFactura(producto, cantidad, auxiliar[3], totalFactura);\n\t\t\t\t\t}\n\t\t } catch (Exception ex) {\n\t\t ex.printStackTrace();\n\t\t }\n\t\t\t}\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(\"El producto especificado no existe\\n\");\n\t\t}\n\t}", "public void MostrarListafINInicio() {\n if(!estVacia()){\n String datos=\"<=>\";\n NodoDoble current=fin;\n while(current!=null){\n datos += \"[\"+current.dato+\"]<=>\";\n current = current.anterior;\n }\n JOptionPane.showMessageDialog(null, datos, \"Mostrando Lista de inicio a Fin\",JOptionPane.INFORMATION_MESSAGE);\n }\n }", "public void obrniListu() {\n if (prvi != null && prvi.veza != null) {\n Element preth = null;\n Element tek = prvi;\n \n while (tek != null) {\n Element sled = tek.veza;\n \n tek.veza = preth;\n preth = tek;\n tek = sled;\n }\n prvi = preth;\n }\n }", "private void mostrarCoches() {\n int i = 0;\n for (Coche unCoche : coches) {\n System.out.println((i + 1) + \"º \" + coches.get(i));\n ++i;\n }\n }", "private String elaboraIncipit() {\n String testo = VUOTA;\n\n if (usaHeadIncipit) {\n testo += elaboraIncipitSpecifico();\n testo += A_CAPO;\n }// fine del blocco if\n\n return testo;\n }", "public void nuevoJuego() {\n fallos = 0;\n finDePartida = false;\n\n for (TextView b : botonesLetras) {\n b.setTextColor(Color.BLACK);\n b.setOnClickListener(clickListenerLetras);\n b.setPaintFlags(b.getPaintFlags() & (~ Paint.STRIKE_THRU_TEXT_FLAG));\n }\n ImageView img_ahorcado = (ImageView) findViewById(es.makingapps.ahorcado.R.id.img_ahorcado);\n img_ahorcado.setImageResource(R.drawable.ahorcado_0);\n\n BaseDatos bd = new BaseDatos(this);\n palabraActual = bd.queryPalabraAleatoria(nivelSeleccionado, esAcumulativo);\n\n palabraEspaniol.setText(palabraActual.getEspaniol());\n\n progreso = \"\";\n boolean parentesis = false;\n for(int i = 0; i<palabraActual.getIngles().length(); i++) {\n if(parentesis){\n progreso += palabraActual.getIngles().charAt(i);\n }\n else {\n// if (palabraActual.getIngles().charAt(i) == ' ')\n// progreso += ' ';\n// else if (palabraActual.getIngles().charAt(i) == '-')\n// progreso += '-';\n// else if (palabraActual.getIngles().charAt(i) == '/')\n// progreso += '/';\n// else if (palabraActual.getIngles().charAt(i) == '(') {\n// progreso += '(';\n// parentesis = true;\n// }\n// else if (palabraActual.getIngles().charAt(i) == ')') {\n// progreso += ')';\n// parentesis = false;\n// }\n// else\n// progreso += '_';\n if(Character.isLowerCase(palabraActual.getIngles().charAt(i)))\n progreso += '_';\n else if (palabraActual.getIngles().charAt(i) == '(') {\n progreso += '(';\n parentesis = true;\n }\n else if (palabraActual.getIngles().charAt(i) == ')') {\n progreso += ')';\n parentesis = false;\n }\n else\n progreso += palabraActual.getIngles().charAt(i);\n }\n }\n\n palabraIngles.setText( progreso );\n }", "public void cadastrarOfertasQuad3(){\n String[] palavras;\n \n //Primeiro quadrimestre\n try {\n try (BufferedReader lerArq = new BufferedReader(new InputStreamReader(new FileInputStream(\"/home/charles/alocacao/Arquivos Alocação/Arquivos CSV/Planejamento2017_q3.csv\"), \"UTF-8\"))) {\n String linha = lerArq.readLine(); //cabeçalho\n \n linha = lerArq.readLine();\n\n// linha = linha.replaceAll(\"\\\"\", \"\");\n while (linha != null) {\n\n linha = linha.replaceAll(\"\\\"\", \"\");\n\n palavras = linha.split(\";\", -1);\n\n oferta = new OfertaDisciplina();\n\n oferta.setCurso(palavras[0]);//2\n\n String nome = palavras[2];//4\n \n String codigo = palavras[1];//3\n \n Disciplina d = disciplinaFacade.findByCodOrName(codigo, nome);\n\n if (d != null) {\n// Disciplina d = disciplinaFacade.findByName(nome).get(0);\n oferta.setDisciplina(d);\n }\n oferta.setT(Integer.parseInt(palavras[3]));//5\n oferta.setP(Integer.parseInt(palavras[4]));//6\n oferta.setTurno(palavras[6]);//11\n oferta.setCampus(palavras[7]);//12\n if (!palavras[8].equals(\"\")) {\n oferta.setNumTurmas(Integer.parseInt(palavras[8]));//13\n }\n if (!palavras[9].equals(\"\")) {\n oferta.setPeriodicidade(palavras[9]);//19\n } else{\n oferta.setPeriodicidade(\"semanal\");\n }\n oferta.setQuadrimestre(3);\n\n salvarNoBanco();\n\n linha = lerArq.readLine();\n// linha = linha.replaceAll(\"\\\"\", \"\");\n }\n } //cabeçalho\n ofertas3LazyModel = null;\n\n } catch (IOException e) {\n System.err.printf(\"Erro na abertura do arquivo: %s.\\n\", e.getMessage());\n } \n }", "public static void tienda(){\n System.out.print(\"\\033[H\\033[2J\");//limpia pantalla\n System.out.flush();\n int opcionCompra; //variables locales a utilizar\n Scanner scannerDos=new Scanner(System.in);\n //mostrando en pantalla las opciones de la tienda\n System.out.println(\"Bienvenido a la tienda, que deceas adquirir:\\n\");\n\tSystem.out.println(\"PRODUCTO \\tPRECIO \\tBENEFICIO\");\n\tSystem.out.println(\"1.Potion \\t50 oro \\tcura 25 HP\");\n\tSystem.out.println(\"2.Hi-Potion\\t100 oro \\tcura 75 HP\");\n\tSystem.out.println(\"3.M-Potion \\t75 oro \\trecupera 10 MP\");\n //ingresando numero de opcion\n System.out.println(\"\\n\\nIngrese numero de opcion:\");\n opcionCompra=scannerDos.nextInt();\n //comparando la opcion de compra\n switch(opcionCompra){\n case 1:{//condicion de oro necesario para el articulo1 \n\t\t\tif(oro>=50){\n articulo1=articulo1+1;\n System.out.println(\"compra exitosa\");\n }else {\n System.out.println(\"oro insuficiente!!!\");\n }\n break;\n }\n\t\tcase 2:{//condicion de oro necesario para el articulo2\n if(oro>=100){\n articulo2=articulo2+1;\n }else{ \n System.out.println(\"oro insuficiente!!!\");\n }\n break;\n }\n\t default:{//condicion de oro necesario para el articulo3\n if(oro>=75){\n articulo3=articulo3+1;\n }else{ \n System.out.println(\"oro insuficiente!!!\"); //poner while para ,ejora\n \t\t}\n break;\n }\n }\n }", "public void ingresaVehiculo (){\r\n \r\n Vehicle skate = new Skateboard(\"vanz\", \"2009\", \"1 metro\");\r\n Vehicle carro = new Car(\"renault\", \"2009\", \"disel\",\"corriente\" );\r\n Vehicle jet = new Jet(\"jet\", \"2019\", \"premiun\", \"ocho motores\");\r\n Vehicle cicla = new Bicycle(\"shimano\", \"2010\",\"4 tiempos\" ) ; \r\n Vehuculo.add(skate);\r\n Vehuculo.add(carro);\r\n Vehuculo.add(jet);\r\n Vehuculo.add(cicla); \r\n \r\n /*\r\n for en el cual se hace el parceo y se instancia la clase Skateboard\r\n \r\n */\r\n for (Vehicle Vehuculo1 : Vehuculo) {\r\n if(Vehuculo1 instanceof Skateboard){\r\n Skateboard skatevehiculo = (Skateboard)Vehuculo1;\r\n skatevehiculo.imprimirPadre();\r\n skatevehiculo.imprimirSkate();\r\n skatevehiculo.imprimirInterfaz();\r\n }\r\n /*\r\n se intancia y se hace el parceo de la clase car\r\n \r\n */\r\n else if(Vehuculo1 instanceof Car){\r\n \r\n Car carvhiculo = (Car)Vehuculo1;\r\n carvhiculo.imprimirPadre();\r\n carvhiculo.imprimirCarro();\r\n carvhiculo.imprimirVehiculopotenciado();\r\n \r\n \r\n \r\n }\r\n /*se intancia y se hace el parceo de la clase\r\n \r\n */\r\n else if(Vehuculo1 instanceof Jet){\r\n \r\n Jet jethiculo = (Jet)Vehuculo1;\r\n jethiculo.imprimirPadre();\r\n jethiculo.imprimirJet();\r\n jethiculo.imprimirVehiculopotenciado();\r\n jethiculo.imprimirInterfaz();\r\n }\r\n else if(Vehuculo1 instanceof Bicycle){\r\n \r\n Bicycle ciclavehiculo = (Bicycle)Vehuculo1;\r\n ciclavehiculo.imprimirPadre();\r\n ciclavehiculo.imprimirBici();\r\n }\r\n }\r\n \r\n \r\n }", "public void cadastrarOfertasQuad2(){\n \n String[] palavras;\n \n //Primeiro quadrimestre\n try {\n try (BufferedReader lerArq = new BufferedReader(new InputStreamReader(new FileInputStream(\"/home/charles/alocacao/Arquivos Alocação/Arquivos CSV/Planejamento2017_q2.csv\"), \"UTF-8\"))) {\n String linha = lerArq.readLine(); //cabeçalho\n \n linha = lerArq.readLine(); \n\n// linha = linha.replaceAll(\"\\\"\", \"\");\n while (linha != null) {\n\n linha = linha.replaceAll(\"\\\"\", \"\");\n\n palavras = linha.split(\";\", -1);\n\n oferta = new OfertaDisciplina();\n\n oferta.setCurso(palavras[0]);//2\n\n String nome = palavras[2];//4\n \n String codigo = palavras[1];//3\n \n Disciplina d = disciplinaFacade.findByCodOrName(codigo, nome);\n\n if (d != null) {\n// Disciplina d = disciplinaFacade.findByName(nome).get(0);\n oferta.setDisciplina(d);\n }\n oferta.setT(Integer.parseInt(palavras[3]));//5\n oferta.setP(Integer.parseInt(palavras[4]));//6\n oferta.setTurno(palavras[6]);//11\n oferta.setCampus(palavras[7]);//12\n if (!palavras[8].equals(\"\")) {\n oferta.setNumTurmas(Integer.parseInt(palavras[8]));//13\n }\n if (!palavras[9].equals(\"\")) {\n oferta.setPeriodicidade(palavras[9]);//19\n } else{\n oferta.setPeriodicidade(\"semanal\");\n }\n oferta.setQuadrimestre(2);\n\n salvarNoBanco();\n\n linha = lerArq.readLine();\n// linha = linha.replaceAll(\"\\\"\", \"\");\n }\n } //cabeçalho\n ofertas2LazyModel = null;\n\n } catch (IOException e) {\n System.err.printf(\"Erro na abertura do arquivo: %s.\\n\", e.getMessage());\n }\n }", "public void presenta_Estudiante(){\r\n System.out.println(\"Universidad Técnica Particular de Loja\\nInforme Semestral\\nEstudiante: \"+nombre+\r\n \"\\nAsignatura: \"+nAsignatura+\"\\nNota 1 Bimestre: \"+nota1B+\"\\nNota 2 Bimestre: \"+nota2B+\r\n \"\\nPromedio: \"+promedio()+\"\\nEstado de la Materia: \"+estado());\r\n }", "public void mostrarAyuda() {\r\n\t\t\r\n\t\tEnum_Instrucciones[] arrayEnumerado;\r\n\t\t\r\n\t\tarrayEnumerado = Enum_Instrucciones.getArrayEnumerados();\r\n\t\t\r\n\t\t// El tamano del array de enumerados es 8.\r\n\t\tfor(int i = 0; i < Enum_Instrucciones.tamanoArrayEnumerados(); i++) {\r\n\t\t\tSystem.out.println(arrayEnumerado[i].getDescripcionOrden());\r\n\t\t}\r\n\t}", "public void RealizarDiagnostico() {\n\t\tSystem.out.println(\"realizar dicho diagnostico con los sintomas presentados por el paciente\");\r\n\t}", "private static void etapa2Urna() {\n\t\t\n\t\tint opcaoNumero = 0;\n\n\t\tdo {\n\t\t\t\n\t\t\tSystem.out.println();\n\t\t\t\n\t\t\tSystem.out.println(\"Votação\");\n\t\t\tSystem.out.println(\"1 - Votar\");\n\t\t\tSystem.out.println(\"2 - Justificar ausencia\");\n\t\t\tSystem.out.println(\"Digite o número da etapa ou -1 para sair: \");\n\t\t\t\n\t\t\ttry {\n\t\t\n\t\t\t\topcaoNumero = Integer.parseInt(br.readLine());\n\t\t\n\t\t\t\tswitch( opcaoNumero ) {\n\t\t\n\t\t\t\tcase 1: \n\t\t\t\t\t// Abrir Etapa 1: Configurar Urna\n\t\t\t\t\tlimparConsole();\n\t\t\t\t\trealizarVotacao();\n\t\t\t\t\tbreak;\n\t\t\t\t\t\n\t\t\t\tcase 2: \n\t\t\t\t\t// Abrir Etapa 2: Realizar Votacao na Urna\n\t\t\t\t\tlimparConsole();\n\t\t\t\t\tSystem.out.println(\"Insira o numero do seu titulo de eleitor\");\n\t\t\t\t\tint tituloEleitor = Integer.parseInt(br.readLine());\n\t\t\t\t\turna.justificarVoto(tituloEleitor);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\n\t\t\t} catch(IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println();\n\t\t\n\t\t}while(opcaoNumero != -1);\n\t}", "public static void poder(){\n System.out.print(\"\\033[H\\033[2J\");//limpia pantalla\n System.out.flush();\n if(experiencia>=100){ //condicion de aumento de nivel\n nivel=nivel+1;\n System.out.println(\"Aumento de nivel exitoso\");\n }\n else{\n System.out.println(\"carece de experiencia para subir su nivel\");\n }\n }", "public void realizaSimulacion() {\n do {\n \tif (mundo != null) {\n \t\tSystem.out.println(mundo.toString());\n \t}\n \t\n \tSystem.out.println(\"Elija un comando: \"); // solicitud del comando\n System.out.println(\"Comando > \");\n String opcion = in.nextLine();\n opcion = opcion.toUpperCase();\n\n String[] words = opcion.split(\" \");\n \n try {\n \tif((mundo != null) || (mundo == null && !comandosNoPermitidos(opcion))){\n\t \tComando comando = ParserComandos.parseaComandos(words); //busca el comando comparandolo\n\t \t\n\t\t if (comando != null) {\t\n\t\t\t\t\t\tcomando.ejecuta(this); // Si lo encuentra, lo ejecuta\n\t\t }\n\t\t else {\n\t\t \tSystem.out.println(\"Comando incorrecto\");\n\t\t }\n \t}\n \n } catch (IOException | PalabraIncorrecta | ErrorLecturaTipoCelula | FormatoNumericoIncorrecto | IndicesFueraDeRango | InputMismatchException | PosicionVacia | PosicionOcupada | CelulaIncorrecta e) {\n \t\te.printStackTrace();\n \t}\n \n \n GuiaEjecucion.textoAyuda();\t\t//muestra codigos de mensaje que no afecten a evoluciona\n GuiaEjecucion.pasosDados(); //muestra codigos de mensajes que tengan que ver con los movimientos de las celulas\n } while (!this.simulacionTerminada);\t//en casod e que el usuario esciba el comando SALIR, se termina la ejecuci�n\n }", "public void rozseparujWytnijBialeZnaki() {\r\n\t\tString[] bufor;\r\n\t\tString[] tablicaWynik;\r\n\t\tint licznik;\r\n\t\tint m;\r\n\t\tfor (String s : calaZawartosc) {\r\n\t\t\tbufor = s.split(\"[\\\\s]+\");\r\n\t\t\tlicznik = 0;\r\n\r\n\t\t\tfor (int i = 0; i < bufor.length; ++i)\r\n\t\t\t\tif (!bufor[i].equals(\"\")) {\r\n\t\t\t\t\t++licznik;\r\n\t\t\t\t}\r\n\r\n\t\t\ttablicaWynik = new String[2 * licznik];\r\n\r\n\t\t\tm = 0;\r\n\r\n\t\t\tfor (String str : bufor)\r\n\t\t\t\tif (!str.equals(\"\")) {\r\n\t\t\t\t\ttablicaWynik[m] = str;\r\n\t\t\t\t\ttablicaWynik[m + 1] = \" \";\r\n\t\t\t\t\t++m;\r\n\t\t\t\t\t++m;\r\n\t\t\t\t}\r\n\r\n\t\t\tcalaZawartoscRozsep.add(tablicaWynik);\r\n\t\t}\r\n\t}", "public static void partida(String vpalabra[],String verror[],String vacierto[],String palabra){\r\n //comienzo ahorcado\r\n System.out.println(\"******************* AHORCADO *******************\");\r\n String letra;\r\n \r\n int contador=7;\r\n //bucle\r\n while ((contador>0)&&(ganarPartida(vacierto,vpalabra)==false)){\r\n //for (int i=0;i<verror.length;i++){\r\n //muestra el dibujo para que sepa por donde va \r\n mostrarDibujo(contador);\r\n System.out.println(\"VIDAS: \"+ contador);\r\n //mostrar vector acierto\r\n mostrarAcierto(palabra, vacierto);\r\n \r\n \r\n //pregunta letra al jugador \r\n System.out.println(\"\");\r\n System.out.println(\"\");\r\n System.out.println(\"Escribe una única letra: \");\r\n letra=leer.next();\r\n \r\n //muestra vector verror las letras erroneas que vas introduciendo\r\n muestraError(verror);\r\n System.out.println(\"\");\r\n System.out.println(\"\"); \r\n //comprueba si letra esta en la matriz palabra para acertar o fallar\r\n if (buscarLetra(vpalabra, vacierto, verror, letra)==false){\r\n //recorro verror guardando letra erronea\r\n \r\n // verror[i]=letra;\r\n contador--;\r\n } \r\n \r\n //}\r\n }\r\n \r\n if (ganarPartida(vacierto,vpalabra)==true){\r\n System.out.println(\"La palabra es: \");\r\n mostrarPalabra(palabra, vpalabra);\r\n \r\n System.out.println(\" \");\r\n System.out.println(\"¡HAS GANADO!\");\r\n } else{\r\n System.out.println(\" _ _ _ \");\r\n System.out.println(\" |/ | \");\r\n System.out.println(\" | 0 \");\r\n System.out.println(\" | /ºº/ \");\r\n System.out.println(\" | | \");\r\n System.out.println(\" | / / \");\r\n System.out.println(\" | \");\r\n System.out.println(\"---------------\");\r\n System.out.println(\"---------------\");\r\n System.out.println(\" HAS PERDIDO \");\r\n }\r\n }", "private void CerrarElemento() throws IOException {\r\n\tif(elementoAbierto) {\r\n\t bw.write(\">\");\r\n\t elementoAbierto = false;\r\n\t}\r\n }", "public static void main(String[] args) {\n\n\t\tScanner in = new Scanner(System.in);\n\t\tScanner inInt = new Scanner(System.in);\n\t\t\n\t\t\n\t\tString opcion = \"\";\n\t\tString categoria = \"\";\n\t\tString descripcion = \"\";\n\t\tString beneficio = \"\";\n\t\tString nombreABuscar = \"\";\n\t\tint posicion = 0;\n\t\tString nombre = \"\";\n\t\t\n\t\tPoliza listaPoliza[] = new Poliza[50];\n\t\t\n\t\n\t\tdo {\n\t\t\tSystem.out.println(\"Elija una Opcion: \");\n\t\t\tSystem.out.println(\"1. Ingresar Poliza \");\n\t\t\tSystem.out.println(\"2. Buscar Poliza \");\n\t\t\tSystem.out.println(\"3. SALIR \");\n\t\t\topcion = in.nextLine();\n\n\t\t\tswitch (opcion) {\n\n\t\t\tcase \"1\":\n\t\t\t\tSystem.out.println(\"****************************\");\n\t\t\t\tSystem.out.println(\"Ingresar Nombre: \");\n\t\t\t\tnombre = in.nextLine();\n\t\t\t\tSystem.out.println(\"Ingrese la Categoria: \");\n\t\t\t\tSystem.out.println(\"1. Economico\");\n\t\t\t\tSystem.out.println(\"2. DE Vida\");\n\t\t\t\tcategoria = in.nextLine();\n\t\t\t\tif (categoria.equals(\"1\")) {\n\t\t\t\t\tSystem.out.println(\"Ingrese Codigo de Descuento: \");\n\t\t\t\t\tString descuento = in.next();\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"Ingrese Codigo de Salud: \");\n\t\t\t\t\tString codigo = in.next();\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"3. Ingrese descripcion: \");\n\t\t\t\tdescripcion = in.next();\n\t\t\t\tSystem.out.println(\"4. Ingresar el beneficio: \");\n\t\t\t\tbeneficio = in.nextLine();\n\t\t\t\tSystem.out.println(\"****************************\");\n\n\t\t\t\tPoliza poliza1 = new Poliza(\"nombre=\" + nombre + \", categoria=\" + categoria + \", descripcion=\"\n\t\t\t\t\t\t+ descripcion + \", beneficio=\" + beneficio);\n\t\t\t\tpoliza1.setNombre(nombre);\n\t\t\t\tpoliza1.setCategoria(categoria);\n\t\t\t\tpoliza1.setDescripcion(descripcion);\n\t\t\t\tpoliza1.setBeneficio(beneficio);\n\n\t\t\t\tlistaPoliza[posicion] = poliza1;\n\t\t\t\tposicion++;\n\t\t\t\tSystem.out.println(Arrays.toString(listaPoliza));\n\t\t\t\tSystem.out.println(\"La informacion ha sido guardada exitosamente\");\n\t\t\t\tbreak;\n\n\t\t\tcase \"2\":\n\t\t\t\tSystem.out.println(\"****************************\");\n\t\t\t\tSystem.out.println(\"Ingresar el nombre: \");\n\t\t\t\tnombreABuscar = in.nextLine();\n\t\t\t\tfor (int i = 0; i<50; i++) {\n\t\t\t\t\tPoliza poliza = listaPoliza[i];\n\t\t\t\t\t\n\t\t\t\t\tnombreABuscar.equals(nombre);\n\t\t\t\t\t\n\t\t\t\tboolean resultado = poliza.contains(nombreABuscar);\n\t\t\t\tSystem.out.println(\"Poliza Encontrada: \" + Arrays.toString(listaPoliza));\n\t\t\t\t\n//\t\t\t\t\tif(nombreABuscar.equals(listaPoliza)){\n//\t\t\t\t\t\tSystem.out.println(\"Poliza Encontrada: \");\n//\t\t\t\t\t\tSystem.out.println(Arrays.toString(listaPoliza));\n//\t\t\t\t\n//\t\t\t\t\t\t}else {\n//\t\t\t\t\t\t\tSystem.out.println(\"Nombre no encontrado\");\n\t\t\t\t\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\t\n\t\t}while(!opcion.equals(\"3\"));\n\t\tSystem.out.println(\"Usted ha salido del sistema\");\n\t\tSystem.out.println(\"BUEN DIA\");\n\t\t\n\t\t}", "private void Limpiar() {\n txtEnunciado.setText(\"\");\n txtOpcionNumerica.setText(\"\");\n txtOpcionNominal.setText(\"\");\n controladorAgrePreguntas.limpiarArray();\n x = 0;\n }", "public static void main(String[] args) {\n\t\t\n\t\tSystem.out.print(\"Unesi ime: \");\n\t\tScanner unos = new Scanner(System.in);\n\t\tString ime = unos.next();\n\t\t\n\t\t//prvi red crtica\n\t\tfor(int dash=0;dash<31;dash++){\n\t\t System.out.printf(\"-\");\n\t\t}\n\t\tSystem.out.println();\n\t\t\n\t\t//drugi red crtica\n\t\tSystem.out.println(\": : : TABLICA MNOZENJA : : :\");\n\t\tfor(int dash=0;dash<31;dash++){\n\t\t\tSystem.out.printf(\"-\");\n\t\t}\n\t\tSystem.out.println();\n\t\t\n\t\t\n\t\tSystem.out.print(\" * |\");\n\t\tfor(int j=1;j<=9;j++){\n\t\t\tSystem.out.printf(\"%3d\",j);\n\t\t}\n\t\tSystem.out.println();\n\t\t\n\t\t//treci red crtica\n\t\tfor(int dash=0;dash<31;dash++){\n\t\t\tSystem.out.printf(\"-\");\n\t\t}\n\t\tSystem.out.println();\n\t\t\n\t\t\n\t\tfor(int i=1;i<=9;i++){\n\t\t\tSystem.out.printf(\"%2d |\",i);\n\t\t\tfor(int j=1;j<=9;j++){\n\t\t\t\tSystem.out.printf(\"%3d\",i*j);\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t\t\n\t\t//cetvrti red crtica\n\t\tfor(int dash=0;dash<31;dash++){\n\t\t\tSystem.out.printf(\"-\");\n\t\t}\n\t\tSystem.out.println();\n\t\t\n\t\t\n\t\t\n\t\tfor(int k=0;k<8;k++){\n\t\t\tSystem.out.printf(\": \");\n\t\t}\n\t\tSystem.out.print(\":by \"+ime);\n\t\tSystem.out.println();\n\t\t\n\t\t//peti red crtica\n\t\tfor(int dash=0;dash<31;dash++){\n\t\t\tSystem.out.printf(\"-\");\n\t\t}\n\t\tSystem.out.println();\n\t\tunos.close();\n\t}", "public void tablero(){\r\n System.out.println(\" X \");\r\n System.out.println(\" 1 2 3\");\r\n System.out.println(\" | |\");\r\n //imprimir primera fila\r\n System.out.println(\" 1 \"+gato[0][0]+\" | \"+gato[0][1]+\" | \"+gato[0][2]+\" \");\r\n System.out.println(\" _____|_____|_____\");\r\n System.out.println(\" | |\");\r\n //imprimir segunda fila\r\n System.out.println(\"Y 2 \"+gato[1][0]+\" | \"+gato[1][1]+\" | \"+gato[1][2]+\" \");\r\n System.out.println(\" _____|_____|_____\");\r\n System.out.println(\" | |\");\r\n //imprimir tercera fila\r\n System.out.println(\" 3 \"+gato[2][0]+\" | \"+gato[2][1]+\" | \"+gato[2][2]+\" \");\r\n System.out.println(\" | |\");\r\n }", "public void mostrarFatura() {\n\n int i;\n System.err.println(\"Fatura do contrato:\\n\");\n\n if (hospedesCadastrados.isEmpty()) {//caso nao existam hospedes\n System.err.println(\"Nao existe hospedes cadastrados\\n\");\n\n } else {\n System.err.println(\"Digite o cpf do hospede:\\n\");\n\n listarHospedes();\n int cpf = verifica();\n for (i = 0; i < hospedesCadastrados.size(); i++) {//roda os hospedes cadastrados\n if (hospedesCadastrados.get(i).getCpf() == cpf) {//pega o hospede pelo cpf\n if (hospedesCadastrados.get(i).getContrato().isSituacao()) {//caso a situacao do contrato ainda estaja ativa\n\n System.err.println(\"Nome do hospede:\" + hospedesCadastrados.get(i).getNome());\n System.err.println(\"CPF:\" + hospedesCadastrados.get(i).getCpf() + \"\\n\");\n System.err.println(\"Servicos pedidos:\\nCarros:\");\n if (!(hospedesCadastrados.get(i).getContrato().getCarrosCadastrados() == null)) {\n System.err.println(hospedesCadastrados.get(i).getContrato().getCarrosCadastrados().toString());\n System.err.println(\"Total do serviço de aluguel de carros R$:\" + hospedesCadastrados.get(i).getContrato().getContaFinalCarros() + \"\\n\");//;\n } else {\n System.err.println(\"\\nO hospede nao possui carros cadastrados!\\n\");\n }\n System.err.println(\"Quartos:\");\n if (!(hospedesCadastrados.get(i).getContrato().getQuartosCadastrados() == null)) {\n System.err.println(hospedesCadastrados.get(i).getContrato().getQuartosCadastrados().toString());\n System.err.println(\"Total do servico de quartos R$:\" + hospedesCadastrados.get(i).getContrato().getContaFinalQuartos() + \"\\n\");//;\n } else {\n System.err.println(\"\\nO hospede nao possui Quartos cadastrados!\\n\");\n }\n System.err.println(\"Restaurante:\");\n System.err.println(\"Total do servico de restaurante R$: \" + hospedesCadastrados.get(i).getContrato().getValorRestaurante() + \"\\n\");\n System.err.println(\"Total de horas de BabySitter contratatas:\" + hospedesCadastrados.get(i).getContrato().getHorasBaby() / 45 + \"\\n\"\n + \"Total do servico de BabySitter R$:\" + hospedesCadastrados.get(i).getContrato().getHorasBaby() + \"\\n\");\n System.err.println(\"Total Fatura final: R$\" + hospedesCadastrados.get(i).getContrato().getContaFinal());\n //para limpar as disponibilidades dos servicos\n //carros, quarto, contrato e hospede\n //é necessario remover o hospede?\n// \n\n } else {//caso o contrato esteja fechado\n System.err.println(\"O hospede encontra-se com o contrato fechado!\");\n }\n }\n\n }\n }\n }", "public void mostrarRegistro(ArrayList<parqueo> parking){\n try {\n for (int num = 0; num < parking.size(); num++){//Recorremos la base de datos y vamos imprimiendo los datos de cada interación\n parqueo park = parking.get(num);\n if(park.getOcupado() == false){\n System.out.println(\"---------------------------------\");\n System.out.println(\"Numero de parqueo: \" + park.getNumero());\n System.out.println(\"Contenido: \");\n System.out.println(\"Disponibilidad: Disponible\");//Vamos extrayendo los datos de la base de datos y los vamos imprimiendo conforme los vamos extrayendo\n System.out.println(\"Para modelo: \" + park.getParaModelo());\n if (park.getTechado() == true){\n System.out.println(\"Techado: Si esta techado\");\n }\n else{\n System.out.println(\"Techado: No esta techado\");\n }\n System.out.println(\"---------------------------------\");\n }\n else{\n carro car = park.getVehiculoOcupando();\n System.out.println(\"---------------------------------\");\n System.out.println(\"Numero de parqueo utilizado: \" + park.getNumero());\n System.out.println(\"Contenido: \");\n System.out.println(\"Disponibilidad: Ocupado\");//Vamos extrayendo los datos de la base de datos y los vamos imprimiendo conforme los vamos extrayendo\n System.out.println(\"Para modelo: \" + park.getParaModelo());\n if (park.getTechado() == true){\n System.out.println(\"Techado: Si esta techado\");\n }\n else{\n System.out.println(\"Techado: No esta techado\");\n }\n System.out.println(\"---------------------------------\");\n System.out.println(\"Carro que ocupo el espacio: \");\n System.out.println(\"Hora en el que ingreso: \" + car.getHoraInicio().toString());\n System.out.println(\"Hora en el que se fue: \" + car.getHoraFinal().toString());\n System.out.println(\"Horas que estuvo en el parqueo: \" + car.getHoras());\n System.out.println(\"Placa: \" + car.getPlaca());\n System.out.println(\"Marca: \" + car.getMarca());\n System.out.println(\"Modelo: \" + car.getModelo());\n System.out.println(\"---------------------------------\");\n }\n }\n } catch (Exception e) {\n System.out.println(\"Ocurrio un error inesperado\");\n }\n }", "public void afficher(Zoe zoe, ArrayList<Monstre> monstres){\r\n\r\n // cree une carte de symboles ASCII\r\n int longueurTab = this.tabCellules.length;\r\n int longueurLigne = this.tabCellules[0].length;\r\n String[][] carteCaracteres = new String[longueurTab][longueurLigne];\r\n\r\n for(int i = 0; i < longueurTab; i++){\r\n for(int j = 0; j < longueurLigne; j++){\r\n if (this.tabCellules[i][j] != null){\r\n carteCaracteres[i][j] = this.tabCellules[i][j].toString();\r\n } else {\r\n carteCaracteres[i][j] = \" \";\r\n }\r\n }\r\n }\r\n\r\n // place les monstres sur la carte\r\n Iterator<Monstre> it = monstres.iterator();\r\n while (it.hasNext()) {\r\n Monstre monstre = it.next();\r\n int x = monstre.getCoordX();\r\n int y = monstre.getCoordY();\r\n\r\n if (monstre.getVivant()) { // priorite d'affichage pour les monstres vivants\r\n carteCaracteres[y][x] = monstre.toString();\r\n } else if (!monstre.getVivant() && carteCaracteres[y][x].equals(\" \")) {\r\n carteCaracteres[y][x] = monstre.toString();\r\n }\r\n }\r\n\r\n // place Zoe sur la carte\r\n carteCaracteres[zoe.getCoordY()][zoe.getCoordX()] = zoe.toString();\r\n\r\n // affiche la carte contenant Zoe et les monstres\r\n String chaineCarac = \"\"; //\r\n for(int i = 0; i < carteCaracteres.length; i ++){\r\n String[] ligne = carteCaracteres[i];\r\n for(int j = 0; j < ligne.length; j++) {\r\n chaineCarac += ligne[j];\r\n }\r\n System.out.println(chaineCarac);\r\n chaineCarac = \"\";\r\n }\r\n }", "public void mostrarEstadisticas(String promedio, int rechazados, String caracteristicas){\n System.out.println(\"El tiempo promedio es de: \" + promedio);\n System.out.println(\"La cantidad de carros rechazados es de: \" + rechazados);\n System.out.println(\"El modelo mas usado en parqueos es: \" + caracteristicas);\n }", "public Nodo espaciosJustos(Nodo nodo){\n System.out.println(\"----------------inicio heuristica espaciosJustos--------------\");\n Operadores operadores = new Operadores();\n //variables de matriz\n int numFilas,numColumnas,numColores;\n \n numColumnas = nodo.getnColumnas();\n numFilas = nodo.getnFilas();\n numColores = nodo.getnColores();\n \n String [][] matriz = new String [numFilas][numColumnas];\n matriz = operadores.clonarMatriz(nodo.getMatriz());\n //-------------------\n \n //variables de filas y columnas\n ArrayList<ArrayListColumna> columnas = new ArrayList<ArrayListColumna>();\n columnas = (ArrayList<ArrayListColumna>)nodo.getColumnas();\n \n ArrayList<ArrayListFila> filas = new ArrayList<ArrayListFila>();\n filas = (ArrayList<ArrayListFila>)nodo.getFilas();\n //---------------------------\n \n ArrayListFila auxListFila = new ArrayListFila();\n ArrayListColumna auxListColumna = new ArrayListColumna();\n \n int cambio=1;\n int changue=0;\n while(cambio!=0){\n cambio=0;\n \n nodo.setCambio(0);\n for(int i=0;i<numFilas;i++){\n auxListFila = (ArrayListFila)filas.get(i);\n for(int j=0;j<numColores;j++){\n Color auxColor = new Color();\n auxColor = auxListFila.getColor(j);\n\n if(auxColor.getNumero() > 0){\n int contador=0;\n for(int c=0;c<numColumnas;c++){\n auxListColumna=(ArrayListColumna)columnas.get(c);\n\n for(int j1=0;j1<numColores;j1++){\n Color auxColor1 = new Color();\n auxColor1 = auxListColumna.getColor(j1);\n if(auxColor1.getNumero() > 0){\n if(auxColor.getColor().equals(auxColor1.getColor()) && operadores.isPosicionVaciaFila(nodo.getMatriz(), i, c)){\n contador++;\n }\n }\n }\n }\n \n if(auxColor.getNumero() == contador){\n changue=1;\n cambio=1;\n auxColor.setNumero(0);\n for(int c=0;c<numColumnas;c++){\n auxListColumna=(ArrayListColumna)columnas.get(c);\n\n for(int j1=0;j1<numColores;j1++){\n Color auxColor1 = new Color();\n auxColor1 = auxListColumna.getColor(j1);\n if(auxColor1.getNumero() > 0){\n if(auxColor.getColor().equals(auxColor1.getColor()) && operadores.isPosicionVaciaFila(nodo.getMatriz(), i, c)){\n \n auxColor1.setNumero(auxColor1.getNumero()-1);\n\n matriz = operadores.pintarPosicion(matriz, i, c, auxColor.getColor());\n\n nodo.setMatriz(matriz);\n }\n }\n }\n }\n System.out.println(\"-----\");\n operadores.imprimirMatriz(nodo.getMatriz());\n System.out.println(\"-----\");\n \n \n }\n }\n }\n }\n \n }\n if(changue==1) nodo.setCambio(1);\n System.out.println(\"----------------fin heuristica espaciosJustos-------------- \");\n return (Nodo)nodo;\n }", "public void imprimirResultados(){\n System.out.println(\"t (tiempo actual) \"+t);\n \n \n System.out.println(\"\\nGanancia total: $\"+R);\n System.out.println(\"Costos por mercaderia comprada: $\"+C);\n System.out.println(\"Costos por mantenimiento inventario: $\"+H);\n System.out.println(\"Ganancia promeio de la tienda por unidad de tiempo: $\"+(R-C-H)/T);\n \n }", "@Override\r\n\tpublic void hacerSonido() {\n\t\tSystem.out.print(\"miau,miau -- o depende\");\r\n\t\t\r\n\t}", "public static void main(String[] args) {\n\n\t\tImpressora imp = new Impressora();\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tSystem.out.println(\"******************* EXEMPLO IF *******************\");\n\t\tSystem.out.println(\"Digite o preco \");\n\n\t\tint preco = scan.nextInt();\n\n\t\tif (preco < 0) {\n\t\t\tSystem.out.println(\"O preço do produto não pode ser negativo \" + preco);\n\t\t} else {\n\t\t\tSystem.out.println(\"Produto cadastrado com sucesso \" + preco);\n\t\t}\n\n\t\tSystem.out.println('\\n');\n\t\tSystem.out.println(\"******************* EXEMPLO FOR *******************\");\n\t\tSystem.out.println(\"Digite quantas vezes o seu nome deve ser impresso: \");\n\n\t\tint qtdeVezes = scan.nextInt();\n\n\t\tfor (int contador = 0; contador < qtdeVezes; contador++) {\n\t\t\timp.imprimirVariavel(qtdeVezes, contador);\n\t\t}\n\n\t\tSystem.out.println('\\n');\n\t\tSystem.out.println(\"****************** EXEMPLO WHILE ******************\");\n\t\tint contador = 0;\n\n\t\twhile (contador < 30) {\n\t\t\tint resto = contador % 4;\n\t\t\tif (resto == 0) {\n\t\t\t\tSystem.out.println(\"***PI\");\n\t\t\t} else {\n\t\t\t\tSystem.out.println(contador);\n\t\t\t}\n\t\t\tcontador++;\n\t\t}\n\n\t\tSystem.out.println('\\n');\n\t\tSystem.out.println(\"****************** IMPRIME TRIANGULO ******************\");\n\t\tfor (int ast1 = 1; ast1 <= 5; ast1++) {\n\t\t\tSystem.out.println(\"*\");\n\t\t\tif (ast1 != 5) {\n\t\t\t\tfor (int ast2 = 0; ast2 < ast1; ast2++) {\n\t\t\t\t\tSystem.out.print(\"*\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t}", "private void mostrarPorMarca() {\n Scanner leer = new Scanner(System.in);\n String marca; //marca a buscar\n int cont = 0;\n System.out.print(\"Introduce la marca de coche a buscar: \");\n marca = leer.next();\n\n System.out.print(\"Las posiciones con coches con esa marca son: \");\n\n for (int i = 0; i < this.coches.size(); i++) {\n if (coches.get(i).getMarca().equalsIgnoreCase(marca)) {\n if (cont != 0) {\n System.out.print(\", \");\n }\n System.out.print(i);\n cont = 1;\n }\n }\n System.out.println();\n }", "private String elaboraAvvisoScrittura() {\n String testo = VUOTA;\n\n if (usaHeadNonScrivere) {\n testo += TAG_NON_SCRIVERE;\n testo += A_CAPO;\n }// end of if cycle\n\n return testo;\n }", "public static void main(String[] args) {\n Aviso aviso1 = new Aviso();\n \n aviso1.id=1;\n \n aviso1.tipoAviso=\"General\";\n aviso1.titulo=\"Insumos y bienes muebles de laboratorio disponibles\";\n aviso1.texto=\"La Coordinación de Control Técnico de Insumos (COCTI) de la Dirección de Prestaciones Médicas, pone a disposición del personal que realiza investigación el inventario adjunto.\";\n aviso1.resumen=\"Insumos y bienes muebles de laboratorio disponibles por la Coordinación de Control Técnico de Insumos (COCTI)\";\n aviso1.nombre=\"Eduardo Flores Díaz\";\n aviso1.estatusF=\"Vigente\";\n \n aviso1.diaP=02;\n aviso1.mesP=02;\n aviso1.yearP=2020;\n \n aviso1.diaA=02;\n aviso1.mesA=02;\n aviso1.yearA=2020;\n \n aviso1.diaB=02;\n aviso1.mesB=02;\n aviso1.yearB=2021;\n \n System.out.println(aviso1);\n \n Aviso aviso2 = new Aviso();\n \n aviso2.id=2;\n \n aviso2.tipoAviso=\"Conferencia\";\n aviso2.titulo=\"CONFERENCIA DR. COSSARIZZA\";\n aviso2.texto=\"El Dr. Andrea Cossarizza, ofreció a la comunidad IMSS su conferencia “Clinical Applications of Advanced Cytometry” y aprovechó la presencia de investigadores y estudiantes del IMSS para compartir sus últimos resultados de investigación, aún no publicados, sobre VIH y el uso de citometría de flujo.\\n\" +\n\"\\n\" +\n\"Además, invitó a nuestra comunidad a agregarse a la sociedad internacional sobre citometría: ISAC(International Society for the Advancement of Cytometry) y aprovechar los recursos que tienen como:\\n\" +\n\"\\n\" +\n\"Programa de Liderazgo MARYLOU INGRAM SCHOLARS PROGRAM, de 5 años para formación de citomteristas\\n\" +\n\"Iniciativa de innovación CYTO-Innovation apoya a las propuestas innovadoras que contemplan la conversión de ideas en productos comerciales de alto impacto para ayudar a nuevos empresarios a aprovechar la tecnología de citometría\\n\" +\n\"\\n\" +\n\"Además en la ISAC tienen disponibles una serie de manuales e información de punta sobre la citometría para uso libre. El Dr. Cossarizza reiteró la invitación al personal IMSS a vincularse con la Universidad de Módena y su laboratorio aprovechando el prestigio que tiene el Laboratorio de Citometría de Flujo del Centro de Instrumentos del Centro Médico Nacional Siglo XXI.\";\n \n aviso2.resumen=\"Conferencia de Dr. Andrea Cossarizza del tema “Clinical Applications of Advanced Cytometry\\\"\";\n aviso2.nombre=\"Kevin Meza Gonzalez\";\n aviso2.estatusF=\"No Vigente\";\n \n aviso2.diaP=02;\n aviso2.mesP=03;\n aviso2.yearP=2020;\n \n aviso2.diaA=15;\n aviso2.mesA=02;\n aviso2.yearA=2020;\n \n aviso2.diaB=31;\n aviso2.mesB=03;\n aviso2.yearB=2020;\n \n System.out.println(aviso2);\n \n }", "public String agregarSintomasCovid(Empleado otroEmpleado){\n \n String text = \"\";\n \n if(otroEmpleado.getArrayCovid().isEmpty() == false){\n text +=\"Se recomienda que el empleado \" + otroEmpleado.getNombre() + \" se aisle de forma preventiva durante 14 dias\\n\"\n + \" Comuniquese en Bogotá: +57(1) 330 5041\\n | Celular: 192 |\\n Resto del país: 018000955590\";\n }\n return text;\n }", "public int pedirElemento(){\n int opcion = -1;\n\n do {\n Lib.limpiarPantalla();\n System.out.println(\"Cual elemento quieres alquilar?\");\n System.out.println(\"1. Nueva pelicula\");\n System.out.println(\"2. Nuevo Videojuego\");\n System.out.println(\"0. Cancelar\\n\");\n System.out.println(\"Elija una opción: \");\n try {\n opcion = Integer.parseInt(Lib.lector.nextLine());\n if (opcion < 0 || opcion > 2) {\n System.out.println(\"Elija una opción del menú [0-2]\");\n Lib.pausa();\n }\n } catch (NumberFormatException nfe) {\n System.out.println(\"Solo números por favor\");\n Lib.pausa();\n }\n } while (opcion < 0 || opcion > 2);\n return opcion;\n\n }", "private void imprimir() {\n\t\ttry {\n\t\t\tPrintWriter pr = new PrintWriter(super.salida);\n\t\t\tfor (Nodo nodo : this.solucion) {\n\t\t\t\tpr.println(nodo.getPosicionX() + \" \" + nodo.getPosicionY());\n\t\t\t}\n\t\t\tpr.close();\n\t\t} catch (FileNotFoundException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "public void visualizzaCampo(){\r\n\t\tInputOutput.stampaCampo(nome, descrizione, obbligatorio);\r\n\t}", "public void generarArbol() throws Exception {\n\n String izquierda;\n\n if (posConectorPrincipal == 0) {\n if (valor.charAt(1) == '(' && valor.charAt(valor.length() - 1) == ')') {\n izquierda = valor.substring(2, valor.length() - 1);\n } else {\n izquierda = izquierda = valor.substring(1, valor.length());\n }\n\n nodoIzq = new Nodo(izquierda);\n return;\n }\n\n if (valor.charAt(0) == '(' && valor.charAt(posConectorPrincipal - 1) == ')') {\n izquierda = valor.substring(1, posConectorPrincipal - 1);\n } else {\n izquierda = valor.substring(0, posConectorPrincipal);\n }\n nodoIzq = new Nodo(izquierda);\n\n String derecha;\n if (valor.charAt(posConectorPrincipal + 1) == '(' && valor.charAt(valor.length() - 1) == ')') {\n derecha = valor.substring(posConectorPrincipal + 2, valor.length() - 1);\n } else {\n derecha = valor.substring(posConectorPrincipal + 1, valor.length());\n }\n\n nodoDer = new Nodo(derecha);\n }", "public void limpiar() {\r\n\t\t\t\tid.setText(\"\");\r\n\t\t\t\ttitulo.setText(\"\");\r\n\t\t\t\tdirector.setText(\"\");\r\n\t\t\t\tidCliente.setText(\"\");\r\n\t\t\t}", "public static void main(String[] args) {\n\t\t\tScanner tastiera=new Scanner(System.in);\r\n\t\t\tint k=0, j=0;\r\n\t\t\tint conta=0;\r\n\t\t\tString risposta=\"\";\r\n\t\t\tRandom r=new Random();\r\n\t\t\tArrayList<Giocatore> partecipantiOrdinati=new ArrayList<Giocatore>();\r\n\t\t\tArrayList<Giocatore> partecipantiMescolati=new ArrayList<Giocatore>();\r\n\t\t\tArrayList<Giocatore> perdenti=new ArrayList<Giocatore>();\r\n\t\t\tfor(int i=0;i<GIOCATORI.length;i++) {\r\n\t\t\t\tpartecipantiOrdinati.add(new Giocatore(GIOCATORI[i]));\r\n\t\t\t}\r\n\t\t\tfor(int i=0;i<GIOCATORI.length;i++) {\r\n\t\t\t\tint indice=Math.abs(r.nextInt()%partecipantiOrdinati.size());\r\n\t\t\t\tpartecipantiMescolati.add(partecipantiOrdinati.get(indice));\r\n\t\t\t\tpartecipantiOrdinati.remove(indice);\r\n\t\t\t}\r\n\t\t\tSystem.out.println(\"INIZIA IL TORNEO DI BRISCOLA!\");\r\n\t\t\twhile(partecipantiMescolati.size()!=1) {\r\n\t\t\t\tSystem.out.println(\"Fase \"+(j+1));\r\n\t\t\twhile(conta<partecipantiMescolati.size()) {\r\n\t\t\t\tMazzo m=new Mazzo();\r\n\t\t\t\tm.ordinaMazzo();\r\n\t\t\t\tm.mescolaMazzo();\r\n\t\t\t\tGiocatore g1=partecipantiMescolati.get(conta);\r\n\t\t\t\tGiocatore g2=partecipantiMescolati.get(conta+1);\r\n\t\t\t\tPartita p=new Partita(g1,g2,m);\r\n\t\t\t\tSystem.out.println(\"Inizia la partita tra \"+g1.getNickName()+\" e \"+g2.getNickName());\r\n\t\t\t\tSystem.out.println(\"La briscola è: \"+p.getBriscola().getCarta());\r\n\t\t\t\tSystem.out.println(\"Vuoi skippare la partita? \"); risposta=tastiera.next();\r\n\t\t\t\tif(risposta.equalsIgnoreCase(\"si\")) {\r\n\t\t\t\t\tg1.setPunteggio(p.skippa());\r\n\t\t\t\t\tg2.setPunteggio(PUNTI_MASSIMI-g1.getPunteggio());\r\n\t\t\t\t\tif(p.vittoria()) {\r\n\t\t\t\t\t\tSystem.out.println(\"Ha vinto \"+g1.getNickName());//vince g1\r\n\t\t\t\t\t\tSystem.out.println(\"Con un punteggio di \"+g1.getPunteggio());\r\n\t\t\t\t\t\tp.aggiungiPerdente(g2);\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse {\r\n\t\t\t\t\t\tSystem.out.println(\"Ha vinto \"+g2.getNickName());// vince g2\r\n\t\t\t\t\t\tSystem.out.println(\"Con un punteggio di \"+g2.getPunteggio());\r\n\t\t\t\t\t\tp.aggiungiPerdente(g1);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\telse {\r\n\t\t\t\t\tp.daiLePrimeCarte();\r\n\t\t\t\t\tCarta c1=new Carta(g1.gioca().getCarta());\r\n\t\t\t\t\tCarta c2=new Carta(g2.gioca().getCarta());\r\n\t\t\t\t\tg1.eliminaDaMano(c1); g2.eliminaDaMano(c2);\r\n\t\t\t\t\tint tracciatore=1; //parte dal giocatore 1\r\n\t\t\t\t\twhile(!m.mazzoMescolato.isEmpty())\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tSystem.out.println(c1.getCarta()+\" \"+c2.getCarta());\r\n\t\t\t\t\t\tif(p.chiPrende(c1, c2) && tracciatore==1){\r\n\t\t\t\t\t\t\tSystem.out.println(\"Prende \"+g1.getNickName());\r\n\t\t\t\t\t\t\tg1.setPunteggio(g1.aumentaPunteggio(c1.valoreCarta()+c2.valoreCarta()));\r\n\t\t\t\t\t\t\tp.pesca(g1); p.pesca(g2);\r\n\t\t\t\t\t\t\tc1=g1.gioca(); c2=g2.gioca();\r\n\t\t\t\t\t\t\tg1.eliminaDaMano(c1);\r\n\t\t\t\t\t\t\tg2.eliminaDaMano(c2);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse if(p.chiPrende(c2, c1)) {\r\n\t\t\t\t\t\t\ttracciatore=2;\r\n\t\t\t\t\t\t\tSystem.out.println(\"Prende \"+g2.getNickName());\r\n\t\t\t\t\t\t\tg2.setPunteggio(g2.aumentaPunteggio(c1.valoreCarta()+c2.valoreCarta()));\r\n\t\t\t\t\t\t\tp.pesca(g2); p.pesca(g1);\r\n\t\t\t\t\t\t\tc2=g2.gioca(); c1=g1.gioca();\r\n\t\t\t\t\t\t\tg2.eliminaDaMano(c2); \r\n\t\t\t\t\t\t\tg1.eliminaDaMano(c1);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse\r\n\t\t\t\t\t\t\t{tracciatore = 1; k--;}\r\n\t\t\t\t\t\tSystem.out.println(g1.getPunteggio()+\" \"+g2.getPunteggio());\r\n\t\t\t\t\t}\r\n\t\t\t\t\tSystem.out.println(\"Manche Finale\");\r\n\t\t\t\t\twhile(!g1.carteInMano.isEmpty() || !g2.carteInMano.isEmpty()) {\r\n\t\t\t\t\t\tSystem.out.println(c1.getCarta()+\" \"+c2.getCarta());\r\n\t\t\t\t\t\tif(p.chiPrende(c1, c2) && tracciatore==1){\r\n\t\t\t\t\t\t\tSystem.out.println(\"Prende \"+g1.getNickName());\r\n\t\t\t\t\t\t\tg1.setPunteggio(g1.aumentaPunteggio(c1.valoreCarta()+c2.valoreCarta()));\r\n\t\t\t\t\t\t\tc1=g1.gioca(); c2=g2.gioca();\r\n\t\t\t\t\t\t\tg1.eliminaDaMano(c1);\r\n\t\t\t\t\t\t\tg2.eliminaDaMano(c2);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse if(p.chiPrende(c2, c1)) {\r\n\t\t\t\t\t\t\ttracciatore=2;\r\n\t\t\t\t\t\t\tSystem.out.println(\"Prende \"+g2.getNickName());\r\n\t\t\t\t\t\t\tg2.setPunteggio(g2.aumentaPunteggio(c1.valoreCarta()+c2.valoreCarta()));\r\n\t\t\t\t\t\t\tc2=g2.gioca(); c1=g1.gioca();\r\n\t\t\t\t\t\t\tg2.eliminaDaMano(c2);\r\n\t\t\t\t\t\t\tg1.eliminaDaMano(c1);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse\r\n\t\t\t\t\t\t\ttracciatore = 1;\r\n\t\t\t\t\t\tSystem.out.println(g1.getPunteggio()+\" \"+g2.getPunteggio());\r\n\t\t\t\t\t}\r\n\t\t\t\t\tif(p.chiPrende(c1, c2) && tracciatore==1) {\r\n\t\t\t\t\t\tSystem.out.println(\"Prende \"+g1.getNickName());\r\n\t\t\t\t\t\tg1.setPunteggio(g1.aumentaPunteggio(c1.valoreCarta()+c2.valoreCarta()));\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse {\r\n\t\t\t\t\t\tSystem.out.println(\"Prende \"+g2.getNickName());\r\n\t\t\t\t\t\tg2.setPunteggio(g2.aumentaPunteggio(c1.valoreCarta()+c2.valoreCarta()));\r\n\t\t\t\t\t}\r\n\t\t\t\t\tSystem.out.println(\"Situazione: \"+g1.getNickName()+\": \"+g1.getPunteggio());\r\n\t\t\t\t\tSystem.out.println(g2.getNickName()+\": \"+g2.getPunteggio());\r\n\t\t\t\t\tif(p.vittoria()) {\r\n\t\t\t\t\t\tSystem.out.println(\"Ha vinto il giocatore \"+g1.getNickName());\r\n\t\t\t\t\t\tSystem.out.println(\"Con un punteggio di \"+g1.getPunteggio());\r\n\t\t\t\t\t\tperdenti.add(g2);\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse {\r\n\t\t\t\t\t\tSystem.out.println(\"Ha vinto il giocatore \"+g2.getNickName());\r\n\t\t\t\t\t\tSystem.out.println(\"Con un punteggio di \"+g2.getPunteggio());\r\n\t\t\t\t\t\tperdenti.add(g1);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\tconta+=2;\r\n\t\t\t\tSystem.out.println(\"Premi una lettera per continuare: \"); risposta=tastiera.next();\r\n\t\t\t}\r\n\t\t\tj++;\r\n\t\t\tconta=0;\r\n\t\t\tfor(int i=0;i<perdenti.size();i++)\r\n\t\t\t\tpartecipantiMescolati.remove(perdenti.get(i));\r\n\t\t\tSystem.out.println(\"Restano i seguenti partecipanti: \");\r\n\t\t\tfor(int i=0;i<partecipantiMescolati.size();i++) {\r\n\t\t\t\tSystem.out.println(partecipantiMescolati.get(i).getNickName());\r\n\t\t\t\tpartecipantiMescolati.get(i).setPunteggio(0);\r\n\t\t\t}\r\n\t\t\t}\r\n\t\t\tSystem.out.println(\"Il vincitore del torneo è: \"+partecipantiMescolati.get(0).getNickName());\r\n\t\t\t\t\r\n\t}", "public void Mostrar() {\n \n for (int i=0;i<3;i++) {\n System.out.print(\"Torre \"+i+\": \");\n for (Iterator it = columnas[i].iterator(); it.hasNext();) {\n int n = (int) it.next();\n System.out.print(n+\"[\"+\"]\");\n longitud++;\n }\n System.out.println(\"\");\n \n }\n }", "public void mostrarLista(String tipo, String encabezado){\n System.out.println(\"\\n\" /*+ \"Departamento de \"*/ + tipo.concat(\"s\") + \"\\n\" + encabezado);\n for (Producto i: productos){\n if (tipo.compareToIgnoreCase(i.tipo) == 0)\n System.out.println(i);\n }\n }", "private void actualizarEnConsola() {\n\t\tfor(int i=0; i<elementos.size();i++){\n\t\t\tElemento e = elementos.get(i);\n\t\t\tSystem.out.println(e.getClass().getName()+\"- Posicion: , X: \"+e.getPosicion().getX()+\", Y: \"+ e.getPosicion().getY());\n\t\t}\n\t\t\n\t}", "public void editarArtista() {\n\t\tArrayList<String> listString = new ArrayList<>();\r\n\t\tArrayList<ArtistaMdl> listArtista = new ArrayList<>();\r\n\t\tString[] possibilities = pAController.getArtista();\r\n\t\tfor (String s : possibilities) {\r\n\t\t\tString text = s.replaceAll(\".*:\", \"\");\r\n\t\t\tlistString.add(text);\r\n\t\t\tif (s.contains(\"---\")) {\r\n\t\t\t\tArtistaMdl artista = new ArtistaMdl();\r\n\t\t\t\tartista.setNome(listString.get(1));\r\n\t\t\t\tlistArtista.add(artista);\r\n\t\t\t\tlistString.clear();\r\n\t\t\t}\r\n\t\t}\r\n\t\tString[] possibilities2 = new String[listArtista.size()];\r\n\t\tfor (int i = 0; i < listArtista.size(); i++) {\r\n\t\t\tpossibilities2[i] = listArtista.get(i).getNome();\r\n\t\t}\r\n\t}", "void limpiar(){\n txt_D.setText(\"\");\n txt_DH.setText(\"\");\n txt_E.setText(\"\");\n txt_EC.setText(\"\");\n txt_H.setText(\"\");\n txt_M.setText(\"\");\n txt_N.setText(\"\");\n txt_NT.setText(\"\");\n txt_PA.setText(\"\");\n txt_RI.setText(\"\");\n txt_RP.setText(\"\");\n txt_SA.setText(\"\");\n //Parte de Datos del Paciente\n \n //Parte Ingreso\n txtI_A.setText(\"\");\n txtI_D.setText(\"\");\n txtI_DI.setText(\"\");\n txtI_H.setText(\"\");\n txtI_M.setText(\"\");\n txtI_SI.setText(\"\");\n //Parte de Ingreso\n \n //Parte de Egreso\n bt_v.setText(\"\");\n bt_M.setText(\"\");\n txtE_C.setText(\"\");\n txtE_C1.setText(\"\");\n txtE_C2.setText(\"\");\n txtE_DP.setText(\"\");\n txtE_DS.setText(\"\");\n txtE_IQ.setText(\"\");\n txtE_P.setText(\"\");\n //Parte de Egreso \n \n //Parte Traslados Hospitalarios\n txtTH_NH.setText(\"\");\n txtTH_A.setText(\"\");\n txtTH_AH.setText(\"\");\n txtTH_DH.setText(\"\");\n txtTH_EM.setText(\"\");\n txtTH_H.setText(\"\");\n txtTH_M.setText(\"\");\n txtTH_SE.setText(\"\");\n txtTH_TE.setText(\"\");\n //Parte Traslado Hospitalarios\n \n //Traslado IntraHospitalarios\n txtTI_F.setText(\"\");\n txtTI_NI.setText(\"\");\n txtTI_TA.setText(\"\");\n txtTI_TD.setText(\"\");\n //Parte Traslados IntraHospitalarios\n}", "public String vystiskniCestu(){\n\t\t\n\t\tString vypis = \"Euleruv tah : \" + cesta.get(cesta.size()-1);\n\t\tfor(int i = cesta.size()-2 ; i >= 0;i--){\n\t\t\tvypis += \" -> \" + cesta.get(i);\n\t\t}\n\t\t\n\t\treturn vypis;\n\t}" ]
[ "0.67493236", "0.6701487", "0.6532699", "0.63743", "0.62393403", "0.6165837", "0.6130097", "0.6103341", "0.600702", "0.5977156", "0.5940232", "0.5933771", "0.59030205", "0.58839506", "0.58566874", "0.5856665", "0.58564436", "0.57974845", "0.57965475", "0.5773304", "0.57537603", "0.57478136", "0.5724138", "0.57223654", "0.5716615", "0.5690114", "0.56878614", "0.5655442", "0.56547415", "0.56509197", "0.5649535", "0.56482786", "0.5639794", "0.5635527", "0.56268334", "0.56206787", "0.5606324", "0.56020033", "0.5600147", "0.5593527", "0.5592282", "0.5591337", "0.5579124", "0.55617434", "0.55587554", "0.5555889", "0.5545566", "0.5541957", "0.5521633", "0.5515052", "0.5507397", "0.55030787", "0.5502602", "0.5500448", "0.54998165", "0.5498346", "0.5485439", "0.54848015", "0.54826504", "0.54808354", "0.54789495", "0.5471897", "0.54682696", "0.5463576", "0.5462695", "0.5448752", "0.54472053", "0.5446617", "0.5441255", "0.5438186", "0.54378694", "0.5431383", "0.5430525", "0.5428239", "0.5427545", "0.5426715", "0.54262906", "0.54223377", "0.5413316", "0.54114777", "0.5410133", "0.54066074", "0.5406174", "0.5405659", "0.5403376", "0.5401681", "0.53978235", "0.5397426", "0.53963155", "0.5390097", "0.5388414", "0.53823906", "0.5380062", "0.53775406", "0.53733516", "0.5369321", "0.53679746", "0.53663296", "0.53621566", "0.53611934", "0.53604484" ]
0.0
-1
Agrega un numero en un vector. Ya que en la loteria el numero 0 no se utiliza ( el numero minimo es 1 ) y el valor iniciar de un elemento en un vector de tipo int es 0, consideramos que el 0 significa elemento vacio ( se tiene que rellenar )
public static int[] anadir_a_seleccion(int num, int[] arr) { for (int i = 0; i < arr.length; i++) { if(arr[i] == 0) { arr[i] = num; // Interumpimos el bucle para no ingresar el numero // en otras posiciones break; } } return arr; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private VectorArit VectorToInt(VectorArit v) {\r\n LinkedList<Object> l = new LinkedList<>();\r\n for (int i = 0; i < v.getTamanio(); i++) {\r\n Object o = v.Acceder(i);\r\n if (o instanceof Integer) {\r\n l.add(o);\r\n } else {\r\n l.add((Boolean) o ? 1 : 0);\r\n }\r\n }\r\n return new VectorArit(TipoPrimitivo.INTEGER, l);\r\n }", "private void setNumeros(Set<Integer> numeros) {\n\t\tthis.numeros = new Vector<Integer>(numeros);\n\t}", "public int vecinos(){\n int v=0;\n if(fila<15 && columna<15 && fila>0 && columna>0){\n if(automata.getElemento(fila,columna-1)!=null && automata.getElemento(fila,columna-1).isVivo()){v++;}\n if(automata.getElemento(fila+1,columna-1)!=null && automata.getElemento(fila+1,columna-1).isVivo()){v++;}\n if(automata.getElemento(fila+1,columna)!=null && automata.getElemento(fila+1,columna).isVivo()){v++;} \n if(automata.getElemento(fila+1,columna+1)!=null && automata.getElemento(fila+1,columna+1).isVivo()){v++;}\n if(automata.getElemento(fila,columna+1)!=null && automata.getElemento(fila,columna+1).isVivo()){v++;}\n if(automata.getElemento(fila-1,columna+1)!=null && automata.getElemento(fila-1,columna+1).isVivo()){v++;}\n if(automata.getElemento(fila-1,columna)!=null && automata.getElemento(fila-1,columna).isVivo()){v++;}\n if(automata.getElemento(fila-1,columna-1)!=null && automata.getElemento(fila-1,columna-1).isVivo()){v++;}\n }\n else{v=limitesX();}\n return v;\n }", "public void initVector(int n) {\n\t\tvector = new ArrayList<Integer>(n);\n\t\tfor(int i=0;i<n;i++)\n\t\tvector.add(0);\n\t}", "public ArrayList<Integer> getNumeros(){\r\n\t\treturn numeros;\r\n\t}", "@Override\n public int intValue(int numId) {\n return 0;\n }", "public void generaNumeros() {\n\n\n int number =0;\n int numeroSeleccionado=gameMemoriaUno.getNumberaleatorio();\n //se agrega numero a las lista de numeros\n\n if(numeroSeleccionado == -1){\n llamaResultado(super.getActividad(), tFinal, tInicio, Num3_5_1Activity.class,gameMemoriaUno.getNumeros(),gameMemoriaUno.getAciertosTotales(),gameMemoriaUno.getFallosTotales(),gameMemoriaUno.getNumEcxluidosList(),gameMemoriaUno.getNumeroPregunta());\n\n }else {\n\n\n gameMemoriaUno.addNumerosSet(numeroSeleccionado);\n for (int i = 1; i < 6; i++) {\n //obtiene numeros del costalito menos el numero seleccionado\n number = gameMemoriaUno.getNumeroArreglo();\n //agrego numeros\n gameMemoriaUno.addNumerosSet(number);\n }\n\n Iterator<Integer> iter = gameMemoriaUno.getNumerosSet().iterator();\n\n int contadorNumeros=0;\n while (iter.hasNext()) {\n int valor=iter.next().intValue();\n lista.add(valor);\n if(gameMemoriaUno.getDificultad()==contadorNumeros){\n gameMemoriaUno.setNumerosElejidos(new int[valor]);\n }\n\n contadorNumeros+=1;\n }\n Collections.shuffle(lista, new Random());\n Collections.shuffle(lista, new Random());\n\n\n\n }\n\n\n }", "Vector getZeroVector();", "public static void main(String[] args) {\n\n int longitud;\n int contador = 0;\n int valor;\n Scanner entrada = new Scanner(System.in);\n System.out.print(\"Ingrese la longitud del vector: \");\n longitud = entrada.nextInt();\n int numeros[] = new int [longitud];\n for ( int i = 0; i<numeros.length; i++ ) {\n System.out.print(\"Ingrese el valor \" + (i+1) + \": \");\n valor = entrada.nextInt();\n numeros[i] = valor;\n }\n\n System.out.println(\"Valores invertidos del vector\");\n for ( int i = numeros.length -1; i>=0; i-- ) {\n System.out.println(\"Posición \" + (i+1) + \": \" + numeros[i]);\n }\n }", "@Override\n public double numValue(int numId) {\n return 0;\n }", "public void actualizarValor() {\n\t\tif (valor!=null && valor < getCantElementos()-1){\n\t\t\tvalor++;\n\t\t}\n\t\telse {\n\t\t\tvalor = 0;\n\t\t}\t\t\n\t}", "public IntVector () {\n head = 0;\n tail = null;\n }", "public boolean isVector() {\n\t\treturn numeros.length == 1 || numeros[0].length == 1;\n\t}", "public DDCountInversion(){\n\t\tnumeros = new ArrayList<Integer>();\n\t}", "public void SetVector(int[] v){ this.vector=v;}", "public void insertar(){\n /*este for lo que hace es que se va a repetir\n dependiendo el tamaņo de la variable \"tamano\"\n */\n for (int i = 0; i < tamano; i++) {\n //Este metodo lo que hace es generar numeros aleatorios del 1 al 100\n vectorpila[i]=(int) (Math.random() *100+1);\n //Aqui aumenta el valor de cima\n cima++;\n }\n System.out.println(\"Pila llena\");\n }", "public ArrayListInt(int cantidadDeNumerosDelArray)\n {\n numerosEnteros = new int[cantidadDeNumerosDelArray];\n tamañoDelArray = cantidadDeNumerosDelArray;\n }", "public static int[] getNumeros() {\n\t\treturn numeros;\n\t}", "public static void main(String[] args) {\n\t\tint[] numeros= new int[10];\r\n\t\t\r\n\t\tnumeros[0]=1;\r\n\t\tnumeros[1]=7;\r\n\t\tnumeros[2]=-8;\r\n\t\tnumeros[3]=5;\r\n\t\tnumeros[4]=4;\r\n\t\tnumeros[5]=-6;\r\n\t\tnumeros[6]=4;\r\n\t\tnumeros[7]=0;\r\n\t\tnumeros[8]=8;\r\n\t\tnumeros[9]=0;\r\n\t\t\r\n\t\tSystem.out.println(numeros.length);\r\n\t\t\r\n\t\tint ceros =0;\r\n\t\tint positivos = 0;\r\n\t\tint negaitvo = 0;\r\n\t\t\r\n\t\t\r\n\r\n\t}", "public LeastNumPossValues()\r\n\t{\r\n\t\tthis.size = UNINITIALIZEDLENGTH;\r\n\t\t\r\n\t\tthis.poss_values = new ArrayList<Integer>();\r\n\t\t\r\n\t\tthis.position = new int[2];\r\n\t\t\r\n\t\tthis.position[0] = UNINITIALIZEDINT;\r\n\t\tthis.position[1] = UNINITIALIZEDINT;\r\n\t\t\r\n\t}", "public void inserirFinal(int elemento) {\n No novo = new No(elemento, null);\n No temp = ini;\n\n if (eVazia()) {\n ini = novo;\n } else {\n //Percorrer até chegar no ultimo Nó\n while (temp.getProximo() != null) {\n temp = temp.getProximo();\n }\n temp.setProximo(novo);\n }\n\n }", "@Override\n public void addValue(int v) {\n this.diccionario.add(v);\n }", "public String getPremierNumeroLibre() {\n\t\tString requete_s = \"SELECT id from LIVRES\";\n\t\tint i = 0;\n\t\tboolean egalite = true;\n\t\t\n\t\ttry{\n\t\t\trequete.execute(requete_s);\n\t\t\t\n\t\t\tResultSet rs = requete.getResultSet();\n\t\t\t\n\t\t\tdo{\n\t\t\t\ti++;\n\t\t\t\trs.next();\n\t\t\t\tegalite = (i ==((Integer) rs.getObject(1)));\n\t\t\t}while(egalite);\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\tString s = \"\" + i;\n\t\t\n\t\treturn s;\n\t}", "private int getNumero() {\n\t\treturn numero;\n\t}", "public static Value makeAnyNumUIntPos() {\n return theNumUIntPos;\n }", "public int[] iPrimo(boolean[] vectorbol,int[] vector,int iNumprimos)\r\n\t{\r\n\t\tint[] iPrimos=new int [iNumprimos];\r\n\t\tfor(int i=0;i<vector.length;i++)\r\n\t\t{\r\n\t\t\tif(vectorbol[i]==true)\r\n\t\t\t{\r\n\t\t\t\tiPrimos[i]=vector[i];\r\n\t\t\t}\r\n\t\t\t\t\r\n\t\t}\r\n\t\treturn iPrimos;\r\n\t}", "public int[] llenadoInversion(int[] vector)\r\n\t{\r\n\t\tint[] vecInvertido=new int[vector.length];\r\n\t\tint vecAux;\r\n\t\t\r\n\t\tfor(int i=0;i<vector.length;i++)\r\n\t\t{\r\n\t\t\tvecInvertido[i]=vector[vector.length-i-1];\r\n\t\t}\r\n\t\treturn vecInvertido;\r\n\t}", "public int Menor(List<Integer>num){\n this.numero = num;\n int menor = 99999;\n int contador;\n \n Iterator i = num.iterator();\n \n while(i.hasNext()){\n if (menor>num.get((int) i.next())) {\n menor = num.get((int) i.next());\n }\n }\n return menor;\n }", "public Vector toVector(){\r\n\t\tVector v = new Vector();\r\n\r\n\t\t// ATTENTION l'ordre est très important !!\r\n\t\t// l'ordre doit être :\r\n\t\t// id, id localisation, adresse, code postal, ville, telephone\r\n\r\n\t\tv.add(id);\r\n\t\tv.add(localisation.getId());\r\n\t\tv.add(localisation.getAdresse());\r\n\t\tv.add(localisation.getCodePostal());\r\n\t\tv.add(localisation.getVille());\r\n\t\tv.add(telephone);\r\n\r\n\t\treturn v;\r\n\t}", "public static numero getZero()\n {\n return new numero(ZERO);\n }", "@Override\n\tpublic int getNumericCode() {\n\t\treturn 0;\n\t}", "public void agregarAlFinal(T v){\n\t\tNodo<T> nuevo = new Nodo<T>();\r\n\t\tnuevo.setInfo(v);\r\n\t\tnuevo.setRef(null);\r\n\t\t\r\n\t\t//si la lista aun no tiene elementos\r\n\t\tif(p == null){\r\n\t\t\t//el nuevo nodo sera el primero\r\n\t\t\tp=nuevo;\r\n\t\t\treturn;\r\n\t\t}\r\n\t\t\r\n\t\t//retorno la lista hasta que aux apunte al ultimo nodo\r\n\t\tNodo<T> aux;\r\n\t\tfor(aux=p; aux.getRef() != null; aux=aux.getRef()){\r\n\t\t\t//enlazo el nuevo nodo como el siguiente del ultimo\r\n\t\t\taux.setRef(nuevo);\r\n\t\t}\r\n\t\t\r\n\t}", "public TumpukanInteger(int kapasitas){\r\n elemen = new int[kapasitas];\r\n }", "private synchronized void agregarElemento(int numero){\n int hashtag = funcionHash(numero);\n int cantDigitos = cantidadDigitos(numero);\n \n if(!listaPorDigitos.containsKey(cantDigitos)){\n listaPorDigitos.put(cantDigitos, new TreeMap());\n }\n if(listaPorDigitos.get(cantDigitos).get(hashtag) == null){\n listaPorDigitos.get(cantDigitos).put(hashtag, new ArrayList<Integer>());\n }\n listaPorDigitos.get(cantDigitos).get(hashtag).add(numero);\n this.add(numero);\n }", "public int getNumero(int index){\r\n\t\treturn numeros.get(index);\r\n\t}", "public void buscar_um_no(Norms norma_local){\n\t\tbuscar_no(this.raiz, norma_local);\n\t}", "public int getNumeroVuelos() {\r\n\t\treturn vuelos.size();\r\n\t}", "public int masVendido(int cantidad){\r\n \r\n return cantidad;\r\n }", "public Complejo[][] getNumeros(){\n\t\treturn numeros;\n\t}", "public void setNUMARGEO(int value) {\n this.numargeo = value;\n }", "public static int[] ordenar(int vector[]) {\r\n\r\n int aux = 0;\r\n for (int i = 0; i < vector.length; i++) {\r\n\r\n for (int j = i + 1; j < vector.length; j++) {\r\n \r\n if (vector[i]>vector[j]){\r\n aux = vector[i];\r\n vector[i] = vector[j];\r\n vector[j] = aux;\r\n}\r\n }\r\n\r\n }\r\n return vector;\r\n }", "public Vector createVector(String line) throws VectorException {\r\n\t\tVector vector = new Vector();\r\n\t\tString[] arr = line.split(\",\");\r\n\t\t\r\n\t\tfor(String s : arr) {\r\n\t\t\ttry {\r\n\t\t\t\tvalidateInteger(line);\r\n\t\t\t\tInteger i = Integer.parseInt(s);\r\n\t\t\t\tvector.addItem(i);\r\n\t\t\t\t\r\n\t\t\t}catch(NumberFormatException e) {\r\n\t\t\t\tthrow new VectorException(\"Value must be an number of Integer type\");\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\treturn vector;\r\n\t}", "public int[] ordenAscendente(int[] vector)\r\n\t{\r\n\t\tint iaux;\r\n\t\t\r\n\t\tfor(int i=2;i<=vector.length;i++)\r\n\t\t{\r\n\t\t\tfor(int j=0;j<=vector.length-i;j++)\r\n\t\t\t{\r\n\t\t\t\tif(vector[j]>vector[j+1])\r\n\t\t\t\t{\r\n\t\t\t\t\tiaux=vector[j];\r\n\t\t\t\t\tvector[j]=vector[j+1];\r\n\t\t\t\t\tvector[j+1]=iaux;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn vector;\r\n\t}", "public int getNumero(int index){\n\t\treturn numeros.get(index);\n\t}", "public int limitesX(){\n int v=0;\n if (fila==0 && columna>0 && columna<15){\n if(automata.getElemento(fila,columna-1)!=null && automata.getElemento(fila,columna-1).isVivo()){v++;}\n if(automata.getElemento(fila+1,columna-1)!=null && automata.getElemento(fila+1,columna-1).isVivo()){v++;}\n if(automata.getElemento(fila+1,columna)!=null && automata.getElemento(fila+1,columna).isVivo()){v++;}\n if(automata.getElemento(fila+1,columna+1)!=null && automata.getElemento(fila+1,columna+1).isVivo()){v++;}\n if(automata.getElemento(fila,columna+1)!=null && automata.getElemento(fila,columna+1).isVivo()){v++;}\n }\n else if (fila==15 && columna>0 && columna<15){\n if(automata.getElemento(fila,columna-1)!=null && automata.getElemento(fila,columna-1).isVivo()){v++;}\n if(automata.getElemento(fila-1,columna-1)!=null && automata.getElemento(fila-1,columna-1).isVivo()){v++;}\n if(automata.getElemento(fila-1,columna)!=null && automata.getElemento(fila-1,columna).isVivo()){v++;}\n if(automata.getElemento(fila-1,columna+1)!=null && automata.getElemento(fila-1,columna+1).isVivo()){v++;}\n if(automata.getElemento(fila,columna+1)!=null && automata.getElemento(fila,columna+1).isVivo()){v++;}\n }\n else{v=limitesY();}\n return v;\n }", "public int getPosicionCero(){\n\t\tint posicionDelCero = -1;\n\t\tint i = 0;\n\t\twhile(i < celdas.size()){\n\t\t\tif(celdas.get(i).getValor() == 0){\n\t\t\t\tposicionDelCero = i;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\ti++;\n\t\t}\n\t\treturn posicionDelCero;\n\t}", "public void calculateNumarulDeVecini(DijkInfo punctCurent){\n int linie = punctCurent.getPunctCurent().getLinie();\n int coloana = punctCurent.getPunctCurent().getColoana();\n int nrVecini = 0;\n if(linie-1 >= 0 && pointsVisited[linie-1][coloana] == true )\n nrVecini++;\n if(coloana+1 < this.nrCellsLab && pointsVisited[linie][coloana+1] == true )\n nrVecini++;\n if(linie+1 < this.nrCellsLab && pointsVisited[linie+1][coloana] == true )\n nrVecini++;\n if(coloana-1 >= 0 && pointsVisited[linie][coloana-1] == true )\n nrVecini++;\n punctCurent.setNrVecini(nrVecini);\n }", "public void agregarCantidad() {\r\n\t\tif (cantidad > 0) {\r\n\t\t\tif (cantidad <= inventarioProductoComprar.getCantidad()) {\r\n\t\t\t\tdetalleAgregar.setCantidad(cantidad);\r\n\t\t\t\tdetalleAgregar.setSubtotal(detalleAgregar.getProducto().getValorProducto() * cantidad);\r\n\t\t\t\tinventarioProductoComprar.setCantidad(inventarioProductoComprar.getCantidad() - cantidad);\r\n\t\t\t\tsumarTotalVenta(cantidad, detalleAgregar.getProducto().getValorProducto());\r\n\t\t\t\tproductosCompra.add(detalleAgregar);\r\n\t\t\t\tinventariosEditar.add(inventarioProductoComprar);\r\n\t\t\t\tdetalleAgregar = null;\r\n\t\t\t\treload();\r\n\r\n\t\t\t} else {\r\n\t\t\t\tMessages.addFlashGlobalError(\"No existe esta cantidad en el inventario\");\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\tMessages.addFlashGlobalError(\"La cantidad debe ser mayor a 0\");\r\n\t\t}\r\n\t}", "public Entrepot(Vector v){\r\n\t\tthis.id =(Integer)v.get(0);\r\n\t\tthis.localisation=new Localisation(\r\n\t\t\t\t(Integer)v.get(1),\r\n\t\t\t\t(String)v.get(2),\r\n\t\t\t\t(String)v.get(3),\r\n\t\t\t\t(String)v.get(4));\r\n\t\tthis.telephone=(String)v.get(5);\r\n\t}", "private NodoGrafo Vert2Nodo(int v) {\n\t\tNodoGrafo aux = origen;\n\t\twhile (aux != null && aux.nodo != v)\n\t\t\taux = aux.sigNodo;\t\t\n\t\treturn aux;\n\t}", "protected Vector createVector(Number sequence, String seqName, int size) {\n BigDecimal nextSequence;\n BigDecimal increment = new BigDecimal(1);\n\n if (sequence instanceof BigDecimal) {\n nextSequence = (BigDecimal)sequence;\n } else {\n nextSequence = new BigDecimal(sequence.doubleValue());\n }\n\n Vector sequencesForName = new Vector(size);\n\n nextSequence = nextSequence.subtract(new BigDecimal(size));\n\n // Check for incorrect values return to validate that the sequence is setup correctly.\n // PRS 36451 intvalue would wrap\n if (nextSequence.doubleValue() < -1) {\n throw ValidationException.sequenceSetupIncorrectly(seqName);\n }\n\n for (int index = size; index > 0; index--) {\n nextSequence = nextSequence.add(increment);\n sequencesForName.addElement(nextSequence);\n }\n return sequencesForName;\n }", "private static Vector emptyVector (int size)\n\t{\n\t\tVector v = new Vector ();\n\t\tfor (int i=0; i <= size; i++)\n\t\t{\n\t\t\tv.add (i, \"\");\n\t\t}\n\t\treturn v;\n\n\t}", "public void mostrarVideojuegosNumeradosPorOrdenDeRegistro()\n {\n int posicActual = 0;\n while (posicActual < listaDeVideojuegos.size()) {\n System.out.println((posicActual+1) + \". \" + listaDeVideojuegos.get(posicActual).getDatosVideojuego());\n posicActual++;\n }\n }", "public void qtadeDeNumeros(){\n for(int i = 0; i < 9; i++){\n qtadePorNum.add(i, new Pair(i+1, numeroDeElementos(i+1)));\n }\n }", "VectorType11 getVector();", "public int vectorSum()\n\t{\n\t\tint sum =0;\n\t\tfor(int i=0;i<vector.size();i++)\n\t\t{\n\t\t\tsum += vector.get(i);\n\t\t}\n\t\treturn sum;\n\t}", "public void AgregarVertice(int v) {\n\t\tNodoGrafo aux = new NodoGrafo();\n\t\taux.nodo = v;\n\t\taux.arista = null;\n\t\taux.sigNodo = origen;\n\t\torigen = aux;\n\t}", "public int getVectorValueByIndex(int i) {\r\n\t\treturn v[i];\r\n\t}", "public void getVentasdeUNVendedor(int v) {\r\n double vVendedor[] = new double[nm];\r\n int j;\r\n for (j = 0; j < nm; j++) {\r\n vVendedor[j] = ventas[v][j];\r\n }\r\n getMostrarVec(vVendedor);\r\n }", "public static void generator(){\n int vector[]= new int[5];\r\n vector[10]=20;\r\n }", "private static int getDigit(ArrayList<Integer> num, int index) {\n return index < num.size() ? num.get(index) : 0;\n }", "public int gradoEntrada() {\n \tint[] cont = new int[numV];//crear e inicializar el array de contadores\n \tfor(int i = 0; i<numV; i++) {\n \t\t//actualizaar el contador del grado de Entrada de cada vertice\n \t\t//de la lista adyacenteDe(i)\n \t\tListaConPI<Adyacente> a = elArray[i];\n \t\tfor(a.inicio(); !a.esFin(); a.siguiente()) {\n \t\tcont[a.recuperar().getDestino()]++;\n \t\t}\n \t}\n \treturn maximo(cont);\n }", "public void somaVezes(){\n qtVezes++;\n }", "public V addElement(T t) {\n\t\tif(multiSet.containsKey(t)){\n\t\t\tNumber newValue = ((Integer)multiSet.get(t)) + 1;\n\t\t\tmultiSet.replace(t,(V)newValue);\n\t\t\treturn (V)newValue;\n\t\t}\n\t\tNumber firstValue = 1;\n\t\tmultiSet.put(t,(V)firstValue);\n\t\treturn (V)firstValue;\n\t}", "public int numeroObjeto(ArrayList<ControlVeces> controlador, String nombre){\n int casilla = -1;\n for(int i=0; i<controlador.size();i++){\n if(controlador.get(i).getNombre().equals(nombre)){\n return i;\n }\n }\n return casilla;\n }", "private Vector returnRelevantVector(Vector segVectorList){\n\t\tVector segPts = new Vector();\n\t\tIterator iter = segVectorList.iterator();\n\t\tVector element = (Vector) iter.next();\n\t\tIterator iterator = element.iterator();\n\t\twhile(iterator.hasNext()){\n\t\t\tInteger obj = (Integer) iterator.next();\n\t\t\tint index = obj.intValue();\n\t\t\tsegPts.add(new Integer(index));\n\t\t}\n\t\n\t\treturn segPts;\n\t}", "private int getCodigoVistoBueno(int columna){\n int intCodVisBue=0;\n int w=0;\n int intCol=columna;\n int intVecCol=0;\n try{\n do{\n intVecCol=Integer.parseInt(strVecDat[w][2]);\n if(intCol==intVecCol){\n intCodVisBue=Integer.parseInt(strVecDat[w][0]);\n break;\n }\n else{\n w++;\n }\n }while(strVecDat[w][2]!=null);\n }\n catch(Exception e){\n objUti.mostrarMsgErr_F1(this, e);\n \n }\n return intCodVisBue;\n }", "private\tNum(int num) { value = num; }", "public Vector()\r\n {\r\n // initialise instance variables\r\n first = null;\r\n last = null;\r\n count = 0;\r\n }", "public void pierdeUnaVida() {\n numeroDeVidas--;\n }", "public void insertar2(){\n for (int i = 0; i < tamano; i++) {\n vectorpila2[i]=(int) (Math.random() *100+1);\n \n cima++;\n }\n }", "public int[] elegirnumerosdelarray(int[] lista, int numerosaevaluar) {\r\n\t\t\t\r\n\t\t int[] numeroselegidos= new int[numerosaevaluar];\r\n\r\n\t\t for(int i =0; i<numerosaevaluar; i++) {\r\n\t\t\t numeroselegidos[i]= lista[i];\r\n\t\t\t \r\n\t\t }\r\n\t\t return numeroselegidos;\r\n\t\t \r\n\t\t \r\n\t\t \r\n\t\t \r\n\t\t \r\n\t }", "public int getNumero() {\n\t\treturn numero;\n\t}", "public int getNumero() {\n\t\treturn numero;\n\t}", "public int getNumero() {\n\t\treturn numero;\n\t}", "private static void imprimirNumeros(int... numeros) {\n for (int i = 0; i < numeros.length; i++) {\n System.out.println(\"elemento: \" + numeros[i]);\n }\n }", "private void empty_to_int_step( ExpressionNode nd, VMState vms ) {\n Assert.check( vms.top().at( nd ) == null ) ;\r\n \r\n // Clear the selection\r\n vms.top().setSelected( null ) ;\r\n \r\n // Compute the value\r\n long value ;\r\n switch( op_code ) {\r\n case RAND :\r\n if( random == null ) random = new java.util.Random(1) ;\r\n value = random.nextInt() % 32767 ;\r\n if( value < 0 ) value = - value ;\r\n break ;\r\n default: Assert.check(false) ; value = 0 ;\r\n }\r\n \r\n putIntResult(nd, vms, value);\r\n }", "public MutableInteger createScalar(String line) throws VectorException {\r\n\t\tMutableInteger scalar = new MutableInteger();\r\n\t\ttry {\r\n\t\t\tvalidateInteger(line);\t\t\t\r\n\t\t\tscalar.setValue(Integer.parseInt(line));\r\n\t\t\t\r\n\t\t}catch(NumberFormatException e) {\r\n\t\t\tthrow new VectorException(\"Value must be a numeric integer type\");\r\n\t\t}\r\n\t\t\r\n\t\treturn scalar;\r\n\t}", "public int getNumero() {\n return numero;\n }", "private int[] vtinit(ProblemData a) {\r\n\r\n\r\n int[] vector = new int[a.getProcesses().length];\r\n for (int i = 0; i < a.getProcesses().length; i++) {\r\n vector[i] = a.getProcesses()[i].getWeight();\r\n }\r\n return vector;\r\n\r\n }", "private int firstNonzeroIntNum() {\n \tif (firstNonzeroIntNum == -2) {\n \t // Search for the first nonzero int\n \t int i;\n \t for (i=magnitude.length-1; i>=0 && magnitude[i]==0; i--)\n \t\t;\n \t firstNonzeroIntNum = magnitude.length-i-1;\n \t}\n \treturn firstNonzeroIntNum;\n }", "@Override\n\tpublic int sacameVida(ElementoSoldado a) {\n\t\treturn 0;\n\t}", "public void Nouvelleligne() {\n int maxEleve = retourneMaxNumber() + 1;\n try {\n Connector1.statement.executeUpdate(\"Insert INTO eleve(id_el) VALUES (\" + maxEleve + \")\");\n Object[] val = {maxEleve, \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\", \"\"};\n effaceTable(jTable2, mode);\n mode.addRow(val);\n\n } catch (Exception e) {\n JOptionPane.showMessageDialog(null, \"ERROR \\n\" + e.getMessage());\n\n }\n\n }", "public static void printVector(int v[]) {\n for (int i = 0; i < v.length; i++) {\n if (i == (v.length) - 2) {\n System.out.print(\"Posição \" + i + \": (\" + v[i] + \") e \");\n } else if (!(i == (v.length) - 1)) {\n System.out.print(\"Posição \" + i + \": (\" + v[i] + \"), \");\n } else {\n System.out.print(\"Posição \" + i + \": (\" + v[i] + \")\");\n }\n }\n System.out.println();\n }", "public int puntoUno() {\n int contador = 0;\n for (int i = 0; i < jugadores.length; i++) {\n if (jugadores[i] != null && jugadores[i].getCantPartidosJugados() > 10) {\n contador++;\n }\n }\n return contador;\n }", "public int getNumer()\n\t{\n\t\treturn numer;\n\t}", "int selectValue(IntVar v) {\r\n int c = (v.max() + v.min())/2;\r\n return c;\r\n }", "public int esquinas(){\n int v=0;\n if (fila==0 && columna==0){\n if(automata.getElemento(fila,columna+1)!=null && automata.getElemento(fila,columna+1).isVivo()){v++;}\n if(automata.getElemento(fila+1,columna+1)!=null && automata.getElemento(fila+1,columna+1).isVivo()){v++;}\n if(automata.getElemento(fila+1,columna)!=null && automata.getElemento(fila+1,columna).isVivo()){v++;}\n }\n else if(fila==0 && columna==15){\n if(automata.getElemento(fila,columna-1)!=null && automata.getElemento(fila,columna-1).isVivo()){v++;}\n if(automata.getElemento(fila+1,columna-1)!=null && automata.getElemento(fila+1,columna-1).isVivo()){v++;}\n if(automata.getElemento(fila+1,columna)!=null && automata.getElemento(fila+1,columna).isVivo()){v++;}\n }\n else if(fila==15 && columna==0){\n if(automata.getElemento(fila-1,columna)!=null && automata.getElemento(fila-1,columna).isVivo()){v++;}\n if(automata.getElemento(fila-1,columna+1)!=null && automata.getElemento(fila-1,columna+1).isVivo()){v++;}\n if(automata.getElemento(fila,columna+1)!=null && automata.getElemento(fila,columna+1).isVivo()){v++;}\n }\n else if(fila==15 && columna==15){\n if(automata.getElemento(fila-1,columna)!=null && automata.getElemento(fila-1,columna).isVivo()){v++;}\n if(automata.getElemento(fila-1,columna-1)!=null && automata.getElemento(fila-1,columna-1).isVivo()){v++;}\n if(automata.getElemento(fila,columna-1)!=null && automata.getElemento(fila,columna-1).isVivo()){v++;}\n }\n return v;\n }", "public int iSumaVec(int[] vector)\r\n\t{\r\n\t\tint iSuma=0;\r\n\t\tfor(int i=0;i<vector.length;i++)\r\n\t\t{\r\n\t\t\tiSuma+=vector[i];\r\n\t\t}\r\n\t\treturn iSuma;\r\n\t}", "public static void main(String[] args) {\n\n //sout + tecla TAB\n// System.out.println(\"oi....\");\n\n// String[] nomes = new String[3];\n// nomes[0] = \"joao\";\n// nomes[1] = \"pedro\";\n// nomes[2] = \"ze\";\n//\n// foreach\n// for(String nome : nomes) {\n// System.out.println(nome);\n// }\n\n// String[] nomess = {\"a\", \"b\", \"b\", \"b\", \"a\"};\n//\n// for(String nome : nomess) {\n// System.out.println(nome);\n// }\n//\n// Array.set(nomess, 1, \"c\");\n//\n// for(String nome : nomess) {\n// System.out.println(nome);\n// }\n\n// System.out.println(\"primeiro nome: \" + nomes[0]);\n\n\n\n// int numero = 10;\n// System.out.println(numero);\n\n //vetor... vector... array - variável unidimensional\n// int[] numeros = new int[3]; //numero de posicoes\n// numeros[0] = 100;\n// numeros[1] = 200;\n// numeros[2] = 300;\n// System.out.println(numeros[2]);\n//\n// for(int indice = 0 ; indice < numeros.length ; indice++) {\n// System.out.println(numeros[indice]);\n// }\n\n\n\n //matriz\n int[][] numeros = new int[3][3];\n\n int valores = 1;\n for(int linha = 0 ; linha < 3 ; linha++) {\n for(int coluna = 0 ; coluna < 3 ; coluna++) {\n numeros[linha][coluna] = valores;\n valores++;\n }\n }\n\n for(int linha = 0 ; linha < 3 ; linha++) {\n for(int coluna = 0 ; coluna < 3 ; coluna++) {\n System.out.print(\" \" + numeros[linha][coluna] + \" \");\n }\n System.out.println(\"\\n\");\n }\n\n// c\n//l 1 2 3\n// 4 5 6\n// 7 8 9\n\n }", "public void insertarInicio(E dato) {\n\t\tprimero=new Nodo<E>(dato,primero);\n\t\tif (estaVacia()) {\n\t\t\tultimo=primero;\n\t\t}\n\t\tcantidad++;\n\t}", "public static int[] f_fill_vector_age_people(int N){\n int[] v_vector_age= new int[N];\n for(int i=0; i<N; i++){\n\n v_vector_age[i]= (int) (Math.random()*100)+1;\n\n }\n return v_vector_age;\n }", "public MyVector() {\n\t\tarr = new int[10];\n\t\tend = 0;\n\t}", "private static int invertirNumero(int num) {\n\t\tint cifra, inverso = 0;\n\t\twhile (num > 0) {\n\t\t\tcifra = num % 10;\n\t\t\tinverso = cifra + inverso * 10;\n\t\t\tnum /= 10;\n\t\t}\n\t\treturn inverso;\n\t}", "public int Mayor(List<Integer>num){\n this.numero = num;\n int mayor = 0;\n int contador;\n \n Iterator i = num.iterator();\n \n while(i.hasNext()){\n if (mayor<num.get((int) i.next())) {\n mayor = num.get((int) i.next());\n }\n }\n return mayor;\n }", "public VOIVector(int initialsize) {\r\n super(initialsize);\r\n }", "public IntegerDt getNumberElement() { \n\t\tif (myNumber == null) {\n\t\t\tmyNumber = new IntegerDt();\n\t\t}\n\t\treturn myNumber;\n\t}", "public IntegerDt getNumberElement() { \n\t\tif (myNumber == null) {\n\t\t\tmyNumber = new IntegerDt();\n\t\t}\n\t\treturn myNumber;\n\t}", "public int geraNumeroUnico()\r\n {\r\n Random numero = new Random();\r\n numUnico = numero.nextInt(99999);\r\n numUnico = numUnico + 1000;\r\n \r\n if(conjNumeros.contains(numUnico) == true)\r\n isUnico = false;\r\n else \r\n isUnico = true;\r\n \r\n while(isUnico == false)\r\n { \r\n numUnico = numero.nextInt(99999);\r\n numUnico = numUnico + 1000;\r\n \r\n if(conjNumeros.contains(numUnico) == true)\r\n isUnico = false;\r\n else\r\n isUnico = true;\r\n } \r\n conjNumeros.add(numUnico);\r\n \r\n return numUnico;\r\n }", "public void setNumer(int numer)\n\t{\n\t\tthis.numer = numer;\n\t}", "private static void modifVecteurTrans(int valeur) {\r\n\t\tif (valeur == REFEXT || desc.getUnite().equals(\"module\")) {\r\n\t\t\tpo.vecteurTrans(valeur);\r\n\t\t\tdesc.incrNbTansExt();\r\n\t\t}\r\n\t}" ]
[ "0.65073186", "0.6423928", "0.6049969", "0.5915761", "0.5895376", "0.5818852", "0.58047", "0.57745415", "0.5752002", "0.57339424", "0.5662403", "0.5591083", "0.55738413", "0.5542773", "0.55146503", "0.5505968", "0.5505514", "0.5376314", "0.5366163", "0.5358687", "0.5318563", "0.53177875", "0.5305492", "0.52918804", "0.52830917", "0.52711195", "0.52610046", "0.52543706", "0.52239317", "0.52235824", "0.5213668", "0.5209547", "0.5209332", "0.52087015", "0.52057713", "0.519998", "0.51999146", "0.5193282", "0.51881105", "0.51871186", "0.5184917", "0.51533145", "0.51492226", "0.51444924", "0.5135993", "0.5130591", "0.5127364", "0.5126089", "0.5119391", "0.5109375", "0.50973845", "0.5093721", "0.50828946", "0.5075227", "0.50715154", "0.50664943", "0.5058869", "0.50548387", "0.50497186", "0.504945", "0.50493354", "0.504067", "0.5038125", "0.50375676", "0.5034034", "0.5030581", "0.5030259", "0.50267303", "0.5023774", "0.5022982", "0.5016516", "0.50119185", "0.50033426", "0.50033426", "0.50033426", "0.5003264", "0.5002919", "0.49928707", "0.49901125", "0.4983139", "0.49795014", "0.49767944", "0.49681967", "0.4964436", "0.49644127", "0.49596214", "0.4951376", "0.49495807", "0.49462605", "0.4945373", "0.49411178", "0.49409", "0.49357083", "0.49334675", "0.4930031", "0.4928742", "0.4927417", "0.4927417", "0.49273816", "0.49248043", "0.4920911" ]
0.0
-1
El metodo genera una serie de numeros aleatorios NO repetidos ( unicos ).
public static int[] selecciona_numeros(int cant, int max) { int[] arr = new int[cant]; int numeroAleatorio; for(int i = 0; i < max; i++) { do { numeroAleatorio = numero_aleatorio(max); } while(esta_en_seleccion(numeroAleatorio, arr)); anadir_a_seleccion(numeroAleatorio, arr); } return arr; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void generaNumeros() {\n\n\n int number =0;\n int numeroSeleccionado=gameMemoriaUno.getNumberaleatorio();\n //se agrega numero a las lista de numeros\n\n if(numeroSeleccionado == -1){\n llamaResultado(super.getActividad(), tFinal, tInicio, Num3_5_1Activity.class,gameMemoriaUno.getNumeros(),gameMemoriaUno.getAciertosTotales(),gameMemoriaUno.getFallosTotales(),gameMemoriaUno.getNumEcxluidosList(),gameMemoriaUno.getNumeroPregunta());\n\n }else {\n\n\n gameMemoriaUno.addNumerosSet(numeroSeleccionado);\n for (int i = 1; i < 6; i++) {\n //obtiene numeros del costalito menos el numero seleccionado\n number = gameMemoriaUno.getNumeroArreglo();\n //agrego numeros\n gameMemoriaUno.addNumerosSet(number);\n }\n\n Iterator<Integer> iter = gameMemoriaUno.getNumerosSet().iterator();\n\n int contadorNumeros=0;\n while (iter.hasNext()) {\n int valor=iter.next().intValue();\n lista.add(valor);\n if(gameMemoriaUno.getDificultad()==contadorNumeros){\n gameMemoriaUno.setNumerosElejidos(new int[valor]);\n }\n\n contadorNumeros+=1;\n }\n Collections.shuffle(lista, new Random());\n Collections.shuffle(lista, new Random());\n\n\n\n }\n\n\n }", "public void qtadeDeNumeros(){\n for(int i = 0; i < 9; i++){\n qtadePorNum.add(i, new Pair(i+1, numeroDeElementos(i+1)));\n }\n }", "int generarNumeroNota();", "static int [] GerarAleatorio()\n {\n Random gerar = new Random();\n int [] Aleatorio = new int [pergu]; // Cria um Vetor com o tamanho de quantidade de perguntas\n \n \n int pos1, pos2, auxilio; \n \n for (int i = 0; i < Aleatorio.length; i++) \n {\n Aleatorio[i] = i ; // preenche o vetor\n }\n \n for (int i = 0; i < 1000; i++) //Quantidade de vezes que as perguntas serão embaralhadas \n {\n pos1 = gerar.nextInt(Aleatorio.length);\n pos2 = gerar.nextInt(Aleatorio.length);\n //troca \n auxilio = Aleatorio[pos1]; //guarda o valor da posição 1\n \n Aleatorio [pos1] = Aleatorio[pos2]; //troca o valor de 1 para 2\n Aleatorio[pos2] = auxilio; //troca o valor de 2 para o valor que estava na 1\n }\n \n \n return Aleatorio; \n }", "private String getUnidades(String numero) {// 1 - 9\r\n //si tuviera algun 0 antes se lo quita -> 09 = 9 o 009=9\r\n String num = numero.substring(numero.length() - 1);\r\n return UNIDADES[Integer.parseInt(num)];\r\n }", "protected static ArrayList<String> GenNumber() {\n\n ArrayList<String> initialList = new ArrayList<>();\n\n initialList.add(\"1\"); //Add element\n initialList.add(\"2\");\n initialList.add(\"3\");\n initialList.add(\"4\");\n initialList.add(\"5\");\n initialList.add(\"6\");\n initialList.add(\"7\");\n initialList.add(\"8\");\n initialList.add(\"9\");\n\n Collections.shuffle(initialList); //Random the position\n\n return initialList;\n }", "public static void Promedio(){\n int ISumaNotas=0;\n int IFila=0,ICol=0;\n int INota;\n float FltPromedio;\n for(IFila=0;IFila<10;IFila++)\n {\n ISumaNotas+=Integer.parseInt(StrNotas[IFila][1]);\n }\n FltPromedio=ISumaNotas/10;\n System.out.println(\"El promedio de la clase es:\"+FltPromedio);\n }", "@Transient\n\tpublic String getNumerosREcibos(){\n\t\tString numerosrecibos=\" \";\n\t\n\t\tfor (ReciboDocumentoFiscal recibo : documento.getRecibos()) {\n\t numerosrecibos= numerosrecibos+recibo.getRecibo().getControl()+\" / \";\t\t\n\t\t}\n\t\treturn numerosrecibos;\n\t}", "public String generaNumPatente() {\n String numeroPatente = \"\";\r\n try {\r\n int valorRetornado = patenteActual.getPatCodigo();\r\n StringBuffer numSecuencial = new StringBuffer(valorRetornado + \"\");\r\n int valRequerido = 6;\r\n int valRetorno = numSecuencial.length();\r\n int valNecesita = valRequerido - valRetorno;\r\n StringBuffer sb = new StringBuffer(valNecesita);\r\n for (int i = 0; i < valNecesita; i++) {\r\n sb.append(\"0\");\r\n }\r\n numeroPatente = \"AE-MPM-\" + sb.toString() + valorRetornado;\r\n } catch (Exception ex) {\r\n LOGGER.log(Level.SEVERE, null, ex);\r\n }\r\n return numeroPatente;\r\n }", "@Override\n public ArrayList<String> Crear(){\n setVida(3500);\n Creado.add(0, Integer.toString(getVida()));\n Creado.add(1,\"150\");\n Creado.add(2,\"100\");\n Creado.add(3,\"70\");\n return Creado;\n }", "@Override\n\tpublic Set<Integer> generateLotto() {\n\t\treturn null;\n\t}", "public void toStr()\r\n {\r\n numar = Integer.toString(read());\r\n while(numar.length() % 3 != 0){\r\n numar = \"0\" + numar; //Se completeaza cu zerouri pana numarul de cifre e multiplu de 3.\r\n }\r\n }", "private String createNumberLine(){\n StringBuilder numberLine = new StringBuilder();\n for(int i = 0; i < this.columns; i++){\n numberLine.append(i + 1).append(\" \");\n }\n return numberLine.toString();\n }", "private String generateOrderNumber() {\n return OBJ_PREFIX + ID_GENERATOR.getAndIncrement();\n }", "public static void generator(String nro){\n Integer.parseInt(nro);\r\n }", "public ArrayList<Integer> getNumeros(){\r\n\t\treturn numeros;\r\n\t}", "public Imprimir_ConvertirNumerosaLetras(String numero) throws NumberFormatException {\r\n\t\t// Validamos que sea un numero legal\r\n\t\tif (Integer.parseInt(numero) > 999999999)\r\n\t\t\tthrow new NumberFormatException(\"El numero es mayor de 999'999.999, \" +\r\n\t\t\t\t\t\"no es posible convertirlo\");\r\n\t\t\r\n\t\t//Descompone el trio de millones - ¡SGT!\r\n\t\tint k = Integer.parseInt(String.valueOf(Dataposi(numero,8)) + String.valueOf(Dataposi(numero,7)) + String.valueOf(Dataposi(numero,6)));\r\n\t\tif(k == 1)\r\n\t\t\tenLetras = \"UN MILLON \";\r\n\t\tif(k > 1)\r\n\t\t\tenLetras = Interpretar(String.valueOf(k)) + \"MILLONES \";\r\n\r\n\t\t//Descompone el trio de miles - ¡SGT!\r\n\t\tint l = Integer.parseInt(String.valueOf(Dataposi(numero,5)) + String.valueOf(Dataposi(numero,4)) + String.valueOf(Dataposi(numero,3)));\r\n\t\tif(l == 1)\r\n\t\t\tenLetras += \"MIL \";\r\n\t\tif(l > 1)\r\n\t\t\tenLetras += Interpretar(String.valueOf(l))+\"MIL \";\r\n\r\n\t\t//Descompone el ultimo trio de unidades - ¡SGT!\r\n\t\tint j = Integer.parseInt(String.valueOf(Dataposi(numero,2)) + String.valueOf(Dataposi(numero,1)) + String.valueOf(Dataposi(numero,0)));\r\n\t\tif(j == 1)\r\n\t\t\tenLetras += \"UN\";\r\n\t\t\r\n\t\tif(k + l + j == 0)\r\n\t\t\tenLetras += \"CERO\";\r\n\t\tif(j > 1)\r\n\t\t\tenLetras += Interpretar(String.valueOf(j));\r\n\t\t\r\n\t\tenLetras += \"PESOS\";\r\n\r\n\t}", "private int aleatorizarNumero() {\n\t\tint aux;\n\t\taux = r.getIntRand(13) + 1;\n\t\treturn aux;\n\t}", "public void mostrarVideojuegosNumeradosPorOrdenDeRegistro()\n {\n int posicActual = 0;\n while (posicActual < listaDeVideojuegos.size()) {\n System.out.println((posicActual+1) + \". \" + listaDeVideojuegos.get(posicActual).getDatosVideojuego());\n posicActual++;\n }\n }", "public void mostrarTareasNumeradas(){\n int numeroPosicion = 1;\n for (String tarea : tareas){\n System.out.println(numeroPosicion + \". \" + tarea);\n numeroPosicion = numeroPosicion + 1;\n }\n }", "public String getPremierNumeroLibre() {\n\t\tString requete_s = \"SELECT id from LIVRES\";\n\t\tint i = 0;\n\t\tboolean egalite = true;\n\t\t\n\t\ttry{\n\t\t\trequete.execute(requete_s);\n\t\t\t\n\t\t\tResultSet rs = requete.getResultSet();\n\t\t\t\n\t\t\tdo{\n\t\t\t\ti++;\n\t\t\t\trs.next();\n\t\t\t\tegalite = (i ==((Integer) rs.getObject(1)));\n\t\t\t}while(egalite);\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\tString s = \"\" + i;\n\t\t\n\t\treturn s;\n\t}", "public static void OrdenarNumeros(){\n\t\t//Variables\n\t\tint a;\n\t\tint b;\n\t\tint c;\n\t\tString tomar;\n\n\t\tScanner reader = new Scanner(System.in);\n\t\tSystem.out.println(\"Ingrese tres numeros numero\");\n\t\ta=reader.nextInt();\n\t\tb=reader.nextInt();\n\t\tc=reader.nextInt();\n\t\tif(a>b && b>c){\n\t\t\tTexto=a+\",\"+b+\",\"+c;\n\t\t}else if(a>c && c>b){\n\t\t\tTexto=a+\",\"+c+\",\"+b;\n\t\t}else if(b>a && a>c){\n\t\t\tTexto=b+\",\"+a+\",\"+c;\n\t\t}else if(b>c && c>a){\n\t\t\tTexto=b+\",\"+c+\",\"+a;\n\t\t}else if(c>a && a>b){\n\t\t\tTexto=c+\",\"+a+\",\"+b;\n\t\t}else if(c>b && b>a ){\n\t\t\tTexto=c+\",\"+b+\",\"+a;\n\t\t}\n\t\tSystem.out.println(Texto);\n\t\tSystem.out.println(\"Desea regresar al menu anterior?\");\n\t\treader.nextLine();\n\t\ttomar=reader.nextLine();\n\t\tif(tomar.equals(\"si\")){\n\t\t\trepetidor=true;\n\t\t}else{\n\t\t\trepetidor=false;\n\t\t}\n\t}", "public int generarNombreAleatori() {\n\t\tRandom random = new Random();\n\t\treturn random.nextInt((9) - 1) + 1;\n\t}", "public static int generarNumeroAleatorio(int limite){ //Entre 0 y limite - 1\n return (int) (Math.random()*limite);\n }", "private void setNumeros(Set<Integer> numeros) {\n\t\tthis.numeros = new Vector<Integer>(numeros);\n\t}", "private void createNumber() {\n\t\tString value = \"\";\n\t\tvalue += data[currentIndex++];\n\t\t// minus is no longer allowed\n\t\twhile (currentIndex < data.length\n\t\t\t\t&& Character.isDigit(data[currentIndex])) {\n\t\t\tvalue += data[currentIndex++];\n\t\t}\n\n\t\tif (currentIndex + 1 < data.length && (data[currentIndex] == '.'\n\t\t\t\t&& Character.isDigit(data[currentIndex + 1]))) {\n\t\t\tvalue += data[currentIndex++]; // add .\n\t\t} else {\n\t\t\ttoken = new Token(TokenType.NUMBER, Integer.parseInt(value));\n\t\t\treturn;\n\t\t}\n\t\t// get decimals of number\n\t\twhile (currentIndex < data.length\n\t\t\t\t&& Character.isDigit(data[currentIndex])) {\n\t\t\tvalue += data[currentIndex++];\n\t\t}\n\t\ttoken = new Token(TokenType.NUMBER, Double.parseDouble(value));\n\t}", "private static void imprimirNumeros(int... numeros) {\n for (int i = 0; i < numeros.length; i++) {\n System.out.println(\"elemento: \" + numeros[i]);\n }\n }", "private static ArrayList<String>[] buildArrayNumbers(int size,int numbers) {\n\n\t\tString digits = Integer.toString(numbers);\n\t\tArrayList<String>[] digitsArreglo= new ArrayList[digits.length()];\n\n\t\tfor (int i = 0; i < digitsArreglo.length; i++) {\n\t\t\tString[] plantilla1=getTemplate(Integer.parseInt(digits.charAt(i)+\"\"));\n\t\t\tArrayList<String> resultado;\n\t\t\tif(size==1){\n\t\t\t\tresultado=transmit(plantilla1);\n\t\t\t\tdigitsArreglo[i]=resultado;\n\t\t\t}else {\n\t\t\t\tresultado=expandColumns(size,plantilla1);\n\t\t\t\tresultado=expandRows(size, resultado);\n\t\t\t\tdigitsArreglo[i]=resultado;\n\t\t\t}\n\t\t}\n\t\treturn digitsArreglo;\n\t}", "public static String generaSerieAscendente(int n){\n\t\tStringBuilder sb;\n\t\tsb=new StringBuilder();\n\t\t\n\t\tfor(int i=1; i<=n;i++)\n\t\t\tsb.append(i+\" \" );\n\t\t\t\n\t\treturn sb.toString();\t\n\t\t}", "public String toString(){\r\n return \"(\" + num + \")\";\r\n }", "private void randomizeNum() {\n randomNums.clear();\n for (int i = 0; i < 4; i++) {\n Integer rndNum = rnd.nextInt(10);\n randomNums.add(rndNum);\n }\n }", "public void numeros() {\r\n \tint[] lista= new int[3001];\r\n\r\n\t\tFile crear = new File (\"Numerosaleatorios.txt\");\r\n \r\n\t\tFileWriter escribir = null;\r\n\t\t\r\n\t\ttry {\r\n\t\t\tescribir = new FileWriter (crear);\r\n\t\t\tBufferedWriter escribir1 = new BufferedWriter (escribir);\r\n\t\t\tint linea;\r\n\t\t\tRandom aleatorios = new Random();\r\n\t\t\tfor (int i =0; i<3000; i++) {\r\n\t\t\t\tlinea = aleatorios.nextInt(1000);\r\n\t\t\t\tlista[i]= aleatorios.nextInt(1000);\r\n\t\t\t\tescribir1.write(linea + \"\\n\");\r\n\t\t}\r\n\t\t\r\n\t\tescribir.close();\r\n\t} catch (IOException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t\tSystem.exit(0);\r\n\t}\r\n\t}", "private static List<Integer> StringToIntForSelectBoxes(){\n\t\tString[] noOfEachPaxType = {pro.getProperty(\"noOfAdults\"), pro.getProperty(\"noOfChildren\"), pro.getProperty(\"noOfInfants\")};\n\t\tList<String> noOfEachPaxTypeList = Arrays.asList(noOfEachPaxType);\n\t\tList<Integer> noOfEachPaxTypeListAsInt = new ArrayList<>();\n\n\t\tfor(int i = 0; i < noOfEachPaxTypeList.size(); i++){\n\t\t\tInteger paxCount = Integer.parseInt(noOfEachPaxTypeList.get(i));\n\t\t\tnoOfEachPaxTypeListAsInt.add(paxCount);\n\t\t}\n\t\treturn noOfEachPaxTypeListAsInt;\n\t}", "public String getNormalizedN(int i) {\n\tint nb = getNb(i);\n\tif (nb == 1) return \"1\";\n\tint maxN = getMaxNb();\n\tif (maxN <= 5) return Integer.toString(nb);\n\tmaxN--;\n\tnb--;\n\tif (maxN < 21) {\n\t\tif (4*nb <= maxN) return \"1\";\n\t\tif (3*nb <= maxN) return \"2\";\n\t\tif (2*nb <= maxN) return \"3\";\n\t\tif (3*nb <= 2*maxN) return \"4\";\n\t\treturn \"5\";\n\t} else if (maxN < 100) {\n\t\tif (10*nb <= maxN) return \"1\";\n\t\tif (5*nb <= maxN) return \"2\";\n\t\tif (4*nb <= maxN) return \"3\";\n\t\tif (3*nb <= maxN) return \"4\";\n\t\tif (2*nb <= 1*maxN) return \"5\";\n\t\tif (3*nb <= 2*maxN) return \"6\";\n\t\treturn \"7\";\n\t} else {\n\t\tif (20*nb <= maxN) return \"1\";\n\t\tif (10*nb <= maxN) return \"2\";\n\t\tif (5*nb <= maxN) return \"3\";\n\t\tif (4*nb <= maxN) return \"4\";\n\t\tif (3*nb <= 1*maxN) return \"5\";\n\t\tif (2*nb <= 1*maxN) return \"6\";\n\t\treturn \"7\";\n\t}\n}", "public int geraNumeroUnico()\r\n {\r\n Random numero = new Random();\r\n numUnico = numero.nextInt(99999);\r\n numUnico = numUnico + 1000;\r\n \r\n if(conjNumeros.contains(numUnico) == true)\r\n isUnico = false;\r\n else \r\n isUnico = true;\r\n \r\n while(isUnico == false)\r\n { \r\n numUnico = numero.nextInt(99999);\r\n numUnico = numUnico + 1000;\r\n \r\n if(conjNumeros.contains(numUnico) == true)\r\n isUnico = false;\r\n else\r\n isUnico = true;\r\n } \r\n conjNumeros.add(numUnico);\r\n \r\n return numUnico;\r\n }", "public static List<Integer> czytanieMotorniczego(){\r\n int numerMotorniczego;\r\n int wiek=0;\r\n int doswiadczenie = 0;\r\n String line;\r\n OdczytZPliku plik = new OdczytZPliku();\r\n InputStream zawartosc = plik.pobierzZPliku(\"bazamotorniczych.txt\");\r\n String numerWStringu = String.valueOf( numerMotorniczego = (int) (Math.random() * 4));\r\n try (InputStreamReader odczyt = new InputStreamReader(zawartosc, StandardCharsets.UTF_8);\r\n BufferedReader czytaj = new BufferedReader(odczyt)) {\r\n while ((line = czytaj.readLine()) != null) {\r\n if (line.equals(numerWStringu)) {\r\n wiek = Integer.parseInt(czytaj.readLine());\r\n doswiadczenie = Integer.parseInt(czytaj.readLine());\r\n break;\r\n }\r\n else{\r\n for (int i = 0; i < 2; i++) {\r\n line = czytaj.readLine();\r\n }\r\n }\r\n }\r\n } catch (IOException e) {\r\n e.printStackTrace();\r\n }\r\n return List.of(numerMotorniczego, wiek, doswiadczenie);\r\n }", "public static String agruparNumeroEmMilhares(Integer numero) {\r\n\t\tString retorno = \"0\";\r\n\t\tif (numero != null) {\r\n\t\t\tNumberFormat formato = NumberFormat.getInstance(new Locale(\"pt\", \"BR\"));\r\n\t\t\tretorno = formato.format(numero);\r\n\t\t}\r\n\t\treturn retorno;\r\n\t}", "public long getNumerator();", "public static void main(String[] args) {\n\r\n\t\tint cantidad = leerNumero(\"Cuantos numeros quieres generar\");\r\n\t\tint[] arreglo = generaNumeros(cantidad, 0, 9);\r\n\t\tmuestraArreglo(arreglo);\r\n\t\tescribir(\"La suma de los numeros es: \" + sumarArreglo(arreglo), true);\r\n\t}", "public static int[] generaValoresAleatorios() {\n\t\treturn new Random().ints(100, 0, 1000).toArray();\n\t}", "public DDCountInversion(){\n\t\tnumeros = new ArrayList<Integer>();\n\t}", "private String number() {\n switch (this.value) {\n case 1:\n return \"A\";\n case 11:\n return \"J\";\n case 12:\n return \"Q\";\n case 13:\n return \"K\";\n default:\n return Integer.toString(getValue());\n }\n }", "public Set<Integer> generateLotteryNumbers ()\r\n {\r\n return null;\r\n }", "public void fillNumbers() {\n this.numbers = new String[8];\n this.numbers[0] = \"seven\";\n this.numbers[1] = \"eight\";\n this.numbers[2] = \"nine\";\n this.numbers[3] = \"ten\";\n this.numbers[4] = \"jack\";\n this.numbers[5] = \"queen\";\n this.numbers[6] = \"king\";\n this.numbers[7] = \"ass\";\n }", "public String getNumbers(){\n StringBuilder htmlNumbers = new StringBuilder(\"<h2>\");\n for (int i = 1; i<=10; i++){\n htmlNumbers.append(String.valueOf(i) + \".<br>\");\n }\n htmlNumbers.append(\"</h2>\");\n return htmlNumbers.toString();\n }", "private String BuildNumber(int Value1, int Value2, int Value3)\n {\n String Significant;\n //Los manejo en string para solo concatenarlos obtener el valor\n Significant = Integer.toString(Value1) + Integer.toString(Value2);\n //Convertimos el valor a uno numerico y lo multiplicamos a la potencia de 10\n double Resultado = Integer.parseInt(Significant)*pow(10,Value3);\n //Para regresar el valor en KΩ\n if (Resultado/1000 >= 1 && Resultado/1e3 < 1000 )\n {\n return (String.valueOf(Resultado / 1e3) + \"KΩ\");\n }\n //Para regresar el valor en MΩ\n if (Resultado/1e6 >= 1)\n {\n return (String.valueOf(Resultado / 1e6) + \"MΩ\");\n }else{\n //Regresamos el valor en Ω\n return (String.valueOf(Resultado)+\"Ω\");\n }\n }", "public static void main(String[] args) {\n\n Random gerador = new Random();\n int[] numeros = new int[10];\n int soma = 0;\n\n for (int i = 0; i < numeros.length; i++) {\n numeros[i] = gerador.nextInt(9) + 1;\n soma += numeros[i];\n System.out.println(\"Elemento numero: \" + (i + 1) + \": \" + numeros[i]);\n }\n System.out.println(\"A soma dos elementos do array �: \" + soma);\n }", "private MyIntegerList generatedPopulatedList() {\n final MyIntegerList mil = new MyIntegerList();\n\n mil.push(1);\n mil.push(2);\n mil.push(1);\n mil.push(6);\n mil.push(6);\n mil.push(7);\n mil.push(2);\n mil.push(2);\n mil.push(0);\n mil.push(5);\n\n return mil;\n }", "private static int getNumber() {\n LOG.info(\"Generating Value\");\n return 1 / 0;\n }", "private Numbers() {\n\t}", "@Override\n public double calculaTributos() {\n // TODO Auto-generated method stub\n return 10;\n }", "public String enumeratoreOrdinato(int num) {\n\t \tstringGenerator.reinit();\n\t\tint i = -1;\n\t\tString current;\n\t\tdo {\n\t\t\tcurrent = stringGenerator.next();\n\t\t\tif (ric.belongsTo(current)) {\n\t\t\t\ti++;\n\t\t\t}\n\t\t}while (i!=num);\n\t\t return current;\n\t}", "private String syuneri_gumar(ArrayList<Integer> syun, int size) {\n int summa = 0, i = 0;\n do {\n summa = summa + syun.get(i);\n i++;\n }\n while (i < size);\n return \"\" + summa;\n }", "NumberValue createNumberValue();", "long getNombreElements();", "public Complejo[][] getNumeros(){\n\t\treturn numeros;\n\t}", "@Override\n\tpublic double calculaTributos() {\n\t\treturn numeroDePacientes * 10;\n\t}", "private static List<Integer> initLista(int tamanho) {\r\n\t\tList<Integer> lista = new ArrayList<Integer>();\r\n\t\tRandom rand = new Random();\r\n\r\n\t\tfor (int i = 0; i < tamanho; i++) {\r\n\t\t\tlista.add(rand.nextInt(tamanho - (tamanho / 10) + 1)\r\n\t\t\t\t\t+ (tamanho / 10));\r\n\t\t}\r\n\t\treturn lista;\r\n\t}", "@Override\n\tpublic void teclaNumericaDigitada(String numTecla) {\n\t\t\n\t}", "public static void main(String[] args) {\nScanner Sc= new Scanner(System.in);\nSystem.out.printf(\"Nhap vao so N = \");\nint N = Sc.nextInt();\nint S=0,i;\nfor (i=1;i<=N;i++)\n S=S+(10*i+i);\nSystem.out.printf(\"\\n%d\",S);\n\n\t}", "@Override\n public String toString() {\n String num = \"\";\n\n if (!isPositive) {\n // Add '-' if the number is negative\n num = num.concat(\"-\");\n }\n\n // Add all the digits in reverse order\n for (int i = number.size() - 1; i >= 0; --i) {\n num = num.concat(number.get(i).toString());\n }\n\n return num;\n }", "private static char[] initNum() {\n\t\tchar[] values = {'0', '1', '2', '3', '4', '5',\n\t\t\t\t'6', '7', '8', '9'};\n\t\tchar[] answer = new char[4];\n\t\t\n\t\tint countReady = 0;\n\t\t\n\t\twhile(countReady != 4) {\n\t\t\tint tempChar = rndChar();\n\t\t\tif(values[tempChar] != 'x') {\n\t\t\t\tanswer[countReady] = values[tempChar];\n\t\t\t\tvalues[tempChar] = 'x';\n\t\t\t\tcountReady++;\n\t\t\t}\n\t\t}\n\t\t\n\t\treturn answer;\n\t}", "public String toString() {\r\n String result = new String();\r\n for (int i = getSize() - 1; i >= 0; i--) result+=getDigit(i);\r\n return result;\r\n }", "public void generarNumeroFacura(){\n try{\n FacturaDao facturaDao = new FacturaDaoImp();\n //Comprobamos si hay registros en la tabla Factura de la BD\n this.numeroFactura = facturaDao.numeroRegistrosFactura();\n \n //Si no hay registros hacemos el numero de factura igual a 1\n if(numeroFactura <= 0 || numeroFactura == null){\n numeroFactura = Long.valueOf(\"1\");\n this.factura.setNumeroFactura(this.numeroFactura.intValue());\n this.factura.setTotalVenta(new BigDecimal(0));\n }else{\n //Recuperamos el ultimo registro que existe en la tabla Factura\n Factura factura = facturaDao.getMaxNumeroFactura();\n //Le pasamos a la variable local el numero de factura incrementado en 1\n this.numeroFactura = Long.valueOf(factura.getNumeroFactura() + 1);\n this.factura.setNumeroFactura(this.numeroFactura.intValue());\n this.factura.setTotalVenta(new BigDecimal(0));\n }\n \n \n }catch(Exception e){\n e.printStackTrace();\n }\n \n }", "public static List<Integer> numRandom(Integer numInicial, Integer numFinal, Integer qtdNumero) {\r\n List<Integer> numA = new ArrayList<>();\r\n Random r = new Random();\r\n for (int i = 0; i < qtdNumero; i++) {\r\n numA.add(r.nextInt((numFinal + 1) - numInicial) + numInicial);\r\n\r\n }\r\n return numA;\r\n\r\n }", "private void getRandomNumber() {\n\t\tRandom random = new Random();\n\t\tint randomCount = 255;\n\t\tint randNum = 0; \n\t\tfor(int i = 0; i < numberAmt; i++) {\n\t\t\trandNum = random.nextInt(randomCount);\n\t\t\tswitch (numberType) {\n\t\t\tcase 1:\n\t\t\t\trandomNumbers.add(Integer.toString(randNum));\n\t\t\t\tbreak;\n\t\t\tcase 2:\n\t\t\t\tif(randNum > 15)\n\t\t\t\t\trandomNumbers.add(String.format(\"%8s\", Integer.toBinaryString(randNum)).replace(\" \", \"0\"));\n\t\t\t\telse\n\t\t\t\t\trandomNumbers.add(String.format(\"%4s\", Integer.toBinaryString(randNum)).replace(\" \", \"0\"));\n\t\t\t\tbreak;\n\t\t\tcase 3:\n\t\t\t\trandomNumbers.add(Integer.toHexString(randNum));\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}", "public static List<Double> numRandom(Double numInicial, Double numFinal, Integer qtdNumero) {\r\n List<Double> numA = new ArrayList<>();\r\n Random r = new Random();\r\n for (int i = 0; i < qtdNumero; i++) { //Sequencia da mega sena\r\n numA.add(numInicial + ((numFinal + 1) - numInicial) * r.nextDouble());\r\n\r\n }\r\n return numA;\r\n }", "private List<Integer> createData() {\r\n\t\tList<Integer> data = new ArrayList<Integer>();\r\n\t\tfor (int i = 0; i < N; i++) {\r\n\t\t\tdata.add(i);\r\n\t\t}\r\n\t\treturn data;\r\n\t}", "public static void main(String[] args) {\n\r\n\t\tSystem.out.println(\"1..........Numeros del 1 al 15\");\r\n\t\tSystem.out.println(\"2..........Numeros del 20 al 2\");\r\n\t\tSystem.out.println(\"3..........Tabla del 5\");\r\n\t\tSystem.out.println(\"4..........Multiplos de 6 rango 1-100\");\r\n\t\tSystem.out.println(\"5..........Multiplos de 3 y 7 entre rango introducido\");\r\n\t\tSystem.out.println(\"6..........Rectángulo\");\r\n\t\tSystem.out.println(\"7..........Rectángulo hueco\");\r\n\t\tSystem.out.println(\"8..........Muestra los divisores\");\r\n\t\tSystem.out.println(\"9..........¿Es primo?\");\r\n\t\tSystem.out.println(\"10.........¿Cuantos primos hay entre dos numeros?\");\r\n\r\n\t\tScanner scan = new Scanner(System.in);\r\n\t\tint opcion = scan.nextInt();\r\n\r\n\t\tswitch (opcion) {\r\n\t\tcase 1:\r\n\t\t\tfor (int i = 1; i <= 15; i++) {\r\n\t\t\t\tSystem.out.println(i);\r\n\t\t\t}\r\n\t\t\tbreak;\r\n\r\n\t\tcase 2:\r\n\t\t\tfor (int i = 20; i >= 2; i -= 2) {\r\n\t\t\t\tSystem.out.println(i);\r\n\t\t\t}\r\n\t\t\tbreak;\r\n\r\n\t\tcase 3:\r\n\t\t\tfor (int i = 1; i <= 10; i++) {\r\n\t\t\t\tint prod;\r\n\t\t\t\tprod = 5 * i;\r\n\t\t\t\tSystem.out.println(\"5 * \" + i + \" = \" + prod);\r\n\t\t\t}\r\n\t\t\tbreak;\r\n\r\n\t\tcase 4:\r\n\t\t\tfor (int i = 0; i <= 100; i++) {\r\n\t\t\t\tif (i % 6 == 0) {\r\n\t\t\t\t\tSystem.out.println(i);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tbreak;\r\n\r\n\t\tcase 5:\r\n\t\t\tSystem.out.println(\"introduce un numero\");\r\n\t\t\tint usub = scan.nextInt();\r\n\t\t\tfor (int i = 1; i <= usub; i++) {\r\n\t\t\t\tif (i % 3 == 0 && i % 7 == 0) {\r\n\t\t\t\t\tSystem.out.println(i);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tbreak;\r\n\r\n\t\tcase 6:\r\n\t\t\tSystem.out.println(\"escribe un numero\");\r\n\t\t\tint usubo = scan.nextInt();\r\n\t\t\tSystem.out.println(\"escribe otro numero\");\r\n\t\t\tint usuboc = scan.nextInt();\r\n\t\t\tfor (int i = 1; i <= usubo; i++) {\r\n\t\t\t\tfor (int j = 1; j <= usuboc; j++) {\r\n\t\t\t\t\tSystem.out.print(\"*\");\r\n\t\t\t\t}\r\n\t\t\t\tSystem.out.println();\r\n\t\t\t}\r\n\t\t\tbreak;\r\n\r\n\t\tcase 7:\r\n\t\t\tSystem.out.println(\"escribe un numero\");\r\n\t\t\tint usubb = scan.nextInt();\r\n\t\t\tfor (int a = 1; a <= usubb; a++) {\r\n\t\t\t\tSystem.out.print(\"*\");\r\n\t\t\t}\r\n\t\t\tSystem.out.println();\r\n\t\t\tint usu = usubb - 2;\r\n\t\t\tfor (int i = 1; i <= usu; i++) {\r\n\t\t\t\tSystem.out.print(\"*\");\r\n\t\t\t\tfor (int j = 1; j <= usu; j++) {\r\n\t\t\t\t\tSystem.out.print(\" \");\r\n\t\t\t\t}\r\n\t\t\t\tSystem.out.print(\"*\");\r\n\t\t\t\tSystem.out.println();\r\n\t\t\t}\r\n\t\t\tfor (int b = 1; b <= usubb; b++) {\r\n\t\t\t\tSystem.out.print(\"*\");\r\n\t\t\t}\r\n\t\t\tSystem.out.println();\r\n\t\t\tbreak;\r\n\r\n\t\tcase 8:\r\n\t\t\tSystem.out.println(\"introduce un numero\");\r\n\t\t\tint max = scan.nextInt();\r\n\t\t\tfor (int i = 1; i <= max; i++) {\r\n\t\t\t\tif (max % i == 0) {\r\n\t\t\t\t\tSystem.out.println(i);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tbreak;\r\n\r\n\t\tcase 9:\r\n\t\t\tint cont = 0;\r\n\t\t\tSystem.out.println(\"introduce un numero\");\r\n\t\t\tint prim = scan.nextInt();\r\n\t\t\tfor (int i = 1; i <= prim; i++) {\r\n\t\t\t\tif (prim % i == 0) {\r\n\t\t\t\t\tcont++;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tif (cont <= 2) {\r\n\t\t\t\tSystem.out.println(\"es primo\");\r\n\t\t\t} else {\r\n\t\t\t\tSystem.out.println(\"no es primo\");\r\n\t\t\t}\r\n\t\t\tbreak;\r\n\r\n\t\tcase 10:\r\n\r\n\t\t\tint inicio = scan.nextInt();\r\n\t\t\tint fin = scan.nextInt();\r\n\t\t\tint contb = 0;\r\n\t\t\tif (inicio == 1 || fin == 1) {\r\n\t\t\t\tSystem.out.println(\"Staaaaaph, el 1 da error!!\");\r\n\t\t\t} else {\r\n\t\t\t\tfor (int x = inicio; x <= fin; x++) {\r\n\t\t\t\t\tif (esPrimo(x)) {\r\n\t\t\t\t\t\tcontb++;\r\n\t\t\t\t\t\tSystem.out.print(x + \" \");\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\tSystem.out.println();\r\n\t\t\t\tSystem.out.print(\"en total hay \" + contb + \" numeros primos entre \" + inicio + \" y \" + fin);\r\n\t\t\t}\r\n\t\t\tbreak;\r\n\t\t\t\r\n\t\tcase 11:\r\n\t\t\t\r\n\t System.out.println( \"Empezamos...\" );\r\n\t for (int i=1 ; i<=20 ; i++ ) {\r\n\t System.out.println( \"Comenzada la vuelta\" );\r\n\t System.out.println( i );\r\n\t if (i==15) \r\n\t continue;\r\n\t System.out.println( \"Terminada esta vuelta\" );\r\n\t }\r\n\t System.out.println( \"Terminado\" );\r\n\t break;\r\n\t\tcase 12:\r\n\t\t\t\r\n\t System.out.println( \"Empezamos...\" );\r\n\t for (int i=1 ; i<=20 ; i++ ) {\r\n\t System.out.println( \"Comenzada la vuelta\" );\r\n\t System.out.println( i );\r\n\t if (i==11) \r\n\t break;\r\n\t System.out.println( \"Terminada esta vuelta\" );\r\n\t }\r\n\t System.out.println( \"Terminado\" );\r\n\t break;\r\n\t\t}\r\n\t}", "java.lang.String getNumber();", "java.lang.String getNumber();", "java.lang.String getNumber();", "@Override\n public String toString() {\n return (int) NUMERATOR + \"/\" + (int) DENOMINATOR;\n }", "private void atualizarNumeroBombas() {\n\t\tlblNumeroBombas.setText(Integer.toString(this.numeroBombas));\r\n\t}", "public String Dime_datos_generales() {\n\t\t\n\t\treturn \"la plataforma del veiculo tiene \"+ rueda+\" ruedas\"+\n\t\t\"\\nmide \"+ largo/1000+\" metros con un ancho de \"+ancho+\n\t\t\"cm\"+\"\\nun peso de platafrorma de \"+peso;\n\t}", "public static void main(String[] args) {\n int numeros[] = {2, 3, 4, 2, 4, 5, 6, 2, 1, 2};\n //Creamos segundo arreglo con iguall tamaño que el arreglo nùmeros\n int cuadrados[] = new int[numeros.length];\n //Arreglo para almacenar el proceso de la operación\n String procesos[] = new String[numeros.length];\n //Creamos ciclo de repeticiòn para recorrer arreglo \n for (int indice = 0; indice < numeros.length; indice++) {\n int cuadrado = numeros[indice] * numeros[indice];\n //Almacenamos el proceso de la opreaciòn en el arreglo cuadrados\n cuadrados[indice] = cuadrado;\n \n //Almacenar resultado en el arreglo procesos\n procesos[indice] = numeros[indice] + \"x\" + numeros[indice];\n }\n //Ciclo de repetición para mostrar arreglos\n String print_numeros = \"numeros - \";\n String print_cuadrados = \"cuadrados - \";\n String print_procesos = \"procesoss - \";\n for (int indice = 0; indice < numeros.length; indice++) {\n print_numeros = print_numeros + numeros[indice] + \", \";\n print_cuadrados = print_cuadrados + cuadrados[indice] + \", \";\n print_procesos = print_procesos + procesos[indice] + \", \";\n\n }\n System.out.println(print_numeros);\n System.out.println(print_cuadrados);\n System.out.println(print_procesos);\n \n //suma solo numeros pares\n int acumulador_pares=0;\n for (int indice = 0; indice < 10; indice++) {\n boolean par= detectar_par(numeros[indice]);\n if (par == true) {\n acumulador_pares = acumulador_pares + numeros[indice];\n \n }\n }\n System.out.println(\"La suma de los nùmeros pares es: \"+acumulador_pares);\n \n }", "public String toString()\r\n\t\t{\r\n\t\t\tString str = \" \" ;\r\n\t\t\tif (this.num.size() == 0)\r\n\t\t\t\tstr = \"<vacia>\";\r\n\t\t\telse \r\n\t\t\t{\r\n\t\t\t\tfor (int i = 0; i < this.num.size(); i++) \r\n\t\t\t\t\tstr = str + this.num.get(i) + \" \";\r\n\t\t\t}\r\n\t\t\treturn str;\r\n\t\t}", "public HBox horNum(){\n HBox horiNum = new HBox(32);\n for(int i = 0; i < 10; i++){\n Label num = new Label(Integer.toString(i));\n horiNum.getChildren().add(num);\n }\n return horiNum;\n }", "public static void IngresoDatos(){\n int IFila=0,ICol=0;\n int INota;\n for(IFila=0;IFila<10;IFila++)\n {\n StrNotas[IFila][0]=JOptionPane.showInputDialog(null, \"Ingrse nombre del alumno:\");\n INota=LlenadoRandom(0,100);\n StrNotas[IFila][1]=Integer.toString(INota);\n if(INota<61)\n StrNotas[IFila][2]=\"Perdio\";\n else\n StrNotas[IFila][2]=\"gano\";\n }\n }", "public int initialiser()\n\t{\n\n\t\tint nombreE;\n\t\tint k = 0;\n\t\t//int max = randInt(2,10);\n\t\ttableauPeres_ = new Case[longueur_][longueur_];\n\t\tint i, j = 0;\n\t\tfor(i=0; i<longueur_; ++i)\n\t\t{\n\t\t\tfor(j=0; j<longueur_; ++j)\n\t\t\t{\n\t\t\t\ttableauPeres_[i][j] = new Case(i, j, 0);\n\t\t\t\t\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"Combien d'étoiles souhaitez vous pour chaque joueur ?\");\n\t\tnombreE = clavier.nextInt();\n\t\twhile (k < nombreE)\n\t\t{\n\t\t\taddEtoile(\"bleu\");\n\t\t\taddEtoile(\"rouge\");\n\t\t\t++k;\n\t\t}\n\t\treturn nombreE;\n\t}", "java.lang.String getNum2();", "private List<ProductQuantity> getQuantities() {\n List<ProductQuantity> quantities = new ArrayList<>();\n for (int i = 1; i <= QUANTITY_MAX; i++) {\n ProductQuantity q = new ProductQuantity(i, i + \"x\");\n quantities.add(q);\n }\n return quantities;\n }", "public static int[] getNumeros() {\n\t\treturn numeros;\n\t}", "private static int invertirNumero(int num) {\n\t\tint cifra, inverso = 0;\n\t\twhile (num > 0) {\n\t\t\tcifra = num % 10;\n\t\t\tinverso = cifra + inverso * 10;\n\t\t\tnum /= 10;\n\t\t}\n\t\treturn inverso;\n\t}", "public int getNumeroGiocatori() {\n return 0;\r\n }", "public static void main(String[] args) {\n String iSBNumber = \"978013213080\";\n int parni = 0;\n int neparni = 0;\n int suma;\n\n\n for (int i = 0; i < iSBNumber.length(); i++) {\n\n if (i % 2 == 0) {\n neparni += (Integer.parseInt(String.valueOf(iSBNumber.charAt(i))));\n\n } else {\n parni += 3 * (Integer.parseInt(String.valueOf(iSBNumber.charAt(i))));\n\n }\n }\n suma = 10 - (parni + neparni) % 10;\n if (suma == 10) {\n iSBNumber += \"0\";\n System.out.println(iSBNumber);\n } else {\n iSBNumber += suma;\n System.out.println(iSBNumber);\n }\n\n }", "@Override\n public String toString(){\n String juego = \"\";\n for (int[] tablero1 : tablero) {\n for (int casilla : tablero1) {\n juego += String.format(\"%2d \", casilla);\n }\n juego += String.format(\"%n\");\n }\n return juego;\n }", "public Mazzo(int numcarte) {\n this.numcarte = numcarte;\n\n //creo e dimensiono l'array \"mazzo\" dichiarato in precedenza\n mazzo = new Carta[numcarte];\n\n //qui dovrò creare tot carte ed inserirle nel mazzo\n String semicarta[] = {\"\", \"Picche\", \"Fiori\", \"Quadri\", \"Cuori\"};\n int valore = 1;\n int seme = 1;\n\n for (int i = 1; i <= numcarte; i++) {\n\n String nomicarta = valore + \" di \" + semicarta[seme];\n Carta carta = new Carta(valore, seme, nomicarta);\n mazzo[i - 1] = carta;\n valore++;\n\n //valore e semi correnti\n //se l'elemento corrente (i) è sulla decina (10, 20, 30, etc) resetto i valori e cambio il seme\n //ad esempio quando sono a 10 rimetto il valore ad 1 ed aumento di 1 il seme\n if (i % (numcarte / 4) == 0) {\n seme++;\n valore = 1;\n }\n\n }\n }", "public Data(int num)\n\t{\n\t\tfor(int i = 0; i < num; i++)\n\t\t{\n\t\t\tstrings.add(\"\");\n\t\t}\n\t}", "public int numerico(String n){\n if(n.equals(\"Limpieza\")){\r\n tipon=1;\r\n }\r\n if(n.equals(\"Electrico\")){\r\n tipon=2;\r\n } \r\n if(n.equals(\"Mecanico\")){\r\n tipon=3;\r\n } \r\n if(n.equals(\"Plomeria\")){\r\n tipon=4;\r\n } \r\n if(n.equals(\"Refrigeracion\")){\r\n tipon=5;\r\n }\r\n if(n.equals(\"Carpinteria\")){\r\n tipon=6;\r\n }\r\n if(n.equals(\"Area Verde\")){\r\n tipon=7;\r\n } \r\n if(n.equals(\"Preventivo\")){\r\n tipon=8;\r\n } \r\n if(n.equals(\"Pintura\")){\r\n tipon=9;\r\n } \r\n if(n.equals(\"TI\")){\r\n tipon=10;\r\n }\r\n return tipon; \r\n }", "public Mazo()\n {\n cartasBaraja = new ArrayList<>();\n for(Palo paloActual: Palo.values()){ \n String palo = paloActual.toString().toLowerCase();\n for(int i = 1; i < 13; i ++){\n\n if(i > 7 && i < 10){\n i = 10;\n }\n Carta carta = new Carta(i, paloActual);\n cartasBaraja.add(carta);\n }\n }\n }", "private String tulostuksenApu(){\r\n String apu = \"Rivitiedosto: \";\r\n for(int i = 0; i<rivitiedot.length; i++){\r\n apu = apu + i+\": \";\r\n for(int k = 1; k <= rivitiedot[i].getKoko(); k++){\r\n apu = apu + \" \"+rivitiedot[i].get(k);\r\n }\r\n apu = apu + \" \";\r\n }\r\n\r\n return apu;\r\n }", "public Object[][] getNumeros(int cantidad) {\r\n Object[][] numeros = new Object[2][cantidad];\r\n\r\n double xi = this.seed;\r\n\r\n for (int i = 0; i < cantidad; i++) {\r\n xi = (a * xi + c) % m;\r\n numeros[0][i] = (long) xi;\r\n numeros[1][i] = xi / (m - 1);\r\n }\r\n return numeros;\r\n }", "public static String generaSerieDescendente(int n){\n\t\t\tStringBuilder sb;\n\t\t\tsb=new StringBuilder();\n\t\t\t\n\t\t\tfor(int i=n; i>=1; i--)\n\t\t\t\tsb.append(i+\" \" );\n\t\t\t\t\n\t\t\treturn sb.toString();\t\n\t\t\t}", "private String zxt (long inp, int length) {\n String result = Long.toString(inp);\n int dist = (length - result.length());\n for (int i = 0; i < dist; i++) {\n result = \"0\" + result;\n }\n return result;\n }", "private static String transformarCelula(Integer valorCelula) {\n if (valorCelula == null) {\n return \"\"; // String vazia\n } else {\n return valorCelula.toString(); // Transforma a celula em String\n }\n }", "@Override\n\tpublic void crearNuevaPoblacion() {\n\t\t/* Nos quedamos con los mejores individuos. Del resto, cruzamos la mitad, los mejores,\n\t\t * y el resto los borramos.*/\n\t\tList<IIndividuo> poblacion2 = new ArrayList<>();\n\t\tint numFijos = (int) (poblacion.size()/2);\n\t\t/* Incluimos el 50%, los mejores */\n\t\tpoblacion2.addAll(this.poblacion.subList(0, numFijos));\n\t\t\n\t\t/* De los mejores, mezclamos la primera mitad \n\t\t * con todos, juntandolos de forma aleatoria */\n\t\tList<IIndividuo> temp = poblacion.subList(0, numFijos+1);\n\t\tfor(int i = 0; i < temp.size()/2; i++) {\n\t\t\tint j;\n\t\t\tdo {\n\t\t\t\tj = Individuo.aleatNum(0, temp.size()-1);\n\t\t\t}while(j != i);\n\t\t\t\n\t\t\ttry {\n\t\t\t\tpoblacion2.addAll(cruce(temp.get(i), temp.get(j)));\n\t\t\t} catch (CruceNuloException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t\t\n\t\t//this.poblacion.clear();\n\t\tthis.poblacion = poblacion2;\n\t}", "public TumpukanInteger(int kapasitas){\r\n elemen = new int[kapasitas];\r\n }", "public String dimeTuTiempo()\n {\n String cadResultado=\"\";\n if (horas<10)\n {\n cadResultado=cadResultado+\"0\";\n }\n cadResultado=cadResultado+horas;\n cadResultado=cadResultado+\":\";\n if(minutos<10)\n {\n cadResultado=cadResultado+\"0\";\n }\n cadResultado=cadResultado+minutos;\n \n return cadResultado;\n }", "public static Data<String> weaponMunitionQuantity(){\n\t\tData<String> res = new Data<String>();\n\t\tres.add(new Tuple<String, Integer>(\"2d10\", 10));\n\t\tres.add(new Tuple<String, Integer>(\"4d10\", 10));\n\t\tres.add(new Tuple<String, Integer>(\"1\", 60));\n\t\tres.add(new Tuple<String, Integer>(\"2d10\", 10));\n\t\tres.add(new Tuple<String, Integer>(\"4d10\", 10));\n\t\t\n\t\treturn res;\n\t}", "public static ArrayList<Integer> estadisticageneral() {\n\n\t\tArrayList<Integer> mensaje = new ArrayList<>();\n\n\t\tArrayList<Res> resesAntes = ResCRUD.select();\n\t\tArrayList<Res> resess = new ArrayList<>();\n\n\t\t\n\t\tfor (int i = 0; i < resesAntes.size(); i++) {\n\t\t\t\n\t\t\tif (resesAntes.get(i).getVivo()==1) {\n\t\t\t\t\n\t\t\t\tresess.add(resesAntes.get(i));\n\t\t\t}\n\t\t}\t\t\n\n\t\tArrayList<Potrero> potrero = PotreroCRUD.select();\n\n\t\tRes res = null;\n\n\t\tint potreros = potrero.size();\n\t\tint reses = resess.size();\n\t\tint hembras = 0;\n\t\tint machos = 0;\n\t\tint ch = 0;\n\t\tint hl = 0;\n\t\tint nv = 0;\n\t\tint vh = 0;\n\t\tint vp = 0;\n\t\tint cm = 0;\n\t\tint ml = 0;\n\t\tint mc = 0;\n\t\tint tp = 0;\n\n\t\tfor (int i = 0; i < resess.size(); i++) {\n\n\t\t\tres = resess.get(i);\n\n\t\t\tif (res.getGenero().equalsIgnoreCase(\"H\")) {\n\t\t\t\thembras++;\n\n\t\t\t\tswitch (res.getTipo()) {\n\n\t\t\t\tcase \"CH\":\n\n\t\t\t\t\tch++;\n\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase \"HL\":\n\n\t\t\t\t\thl++;\n\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase \"NV\":\n\n\t\t\t\t\tnv++;\n\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase \"VH\":\n\n\t\t\t\t\tvh++;\n\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase \"VP\":\n\n\t\t\t\t\tvp++;\n\t\t\t\t\tbreak;\n\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\tif (res.getGenero().equalsIgnoreCase(\"M\")) {\n\t\t\t\tmachos++;\n\n\t\t\t\tswitch (res.getTipo()) {\n\n\t\t\t\tcase \"CM\":\n\n\t\t\t\t\tcm++;\n\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase \"ML\":\n\n\t\t\t\t\tml++;\n\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase \"MC\":\n\n\t\t\t\t\tmc++;\n\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase \"TP\":\n\n\t\t\t\t\ttp++;\n\n\t\t\t\t\tbreak;\n\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t}\n\n\t\tmensaje.add(potreros);\n\t\tmensaje.add(reses);\n\t\tmensaje.add(hembras);\n\t\tmensaje.add(machos);\n\t\tmensaje.add(ch);\n\t\tmensaje.add(hl);\n\t\tmensaje.add(nv);\n\t\tmensaje.add(vh);\n\t\tmensaje.add(vp);\n\t\tmensaje.add(cm);\n\t\tmensaje.add(ml);\n\t\tmensaje.add(mc);\n\t\tmensaje.add(tp);\n\n\t\treturn mensaje;\n\t}" ]
[ "0.68766296", "0.6523691", "0.6246159", "0.6201209", "0.6104891", "0.60459876", "0.59856665", "0.5974177", "0.5971555", "0.59550846", "0.5943227", "0.5937303", "0.5861691", "0.58159536", "0.5752511", "0.57427245", "0.57167435", "0.57131916", "0.57033926", "0.5697095", "0.569143", "0.569108", "0.5673279", "0.5652561", "0.564783", "0.5642142", "0.5639785", "0.563777", "0.5629856", "0.56240463", "0.5609618", "0.5586555", "0.55720305", "0.55656266", "0.5547188", "0.5514853", "0.5509746", "0.5489741", "0.5485922", "0.548519", "0.54830414", "0.54822254", "0.5474338", "0.5471367", "0.54582083", "0.54522943", "0.54463696", "0.5445653", "0.54313266", "0.54195696", "0.5411586", "0.53908455", "0.53797156", "0.5378129", "0.5373887", "0.5371709", "0.53656036", "0.53597945", "0.5354896", "0.53518945", "0.53486735", "0.5346273", "0.5344963", "0.53418213", "0.53415424", "0.5336058", "0.5329084", "0.5329081", "0.53287053", "0.5315782", "0.5315782", "0.5315782", "0.5310612", "0.53021973", "0.52979934", "0.5296955", "0.5291292", "0.52831566", "0.5269186", "0.526747", "0.5261249", "0.5256996", "0.5252835", "0.525267", "0.5252657", "0.5247223", "0.5245705", "0.52420765", "0.5234897", "0.52341175", "0.52337897", "0.523194", "0.5226979", "0.5221189", "0.5214862", "0.52111995", "0.5207325", "0.5201609", "0.520049", "0.5193448", "0.51825786" ]
0.0
-1
Initializes the Search Manager service in the provided system context. Only one instance of this object should be created!
public SearchManagerService(Context context) { mContext = context; mContext.registerReceiver(new BootCompletedReceiver(), new IntentFilter(Intent.ACTION_BOOT_COMPLETED)); mContext.registerReceiver(new UserReceiver(), new IntentFilter(Intent.ACTION_USER_REMOVED)); new MyPackageMonitor().register(context, null, UserHandle.ALL, true); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public LocalSearchManager getLocalSearchManager() {\n return _ls;\n }", "public void setSearchContext(SearchContext pSearchContext) \n {\n mSearchContext = pSearchContext;\n }", "public static void init(Context context) {\n //Check if my sub_manager is set to null, if so initialize it\n if (subManager==null){\n if(context==null){\n throw new RuntimeException(\"Error Occurred\");\n }\n else{\n subManager=new SubManager(context);\n }\n }\n }", "@Autowired\n public void setSearchService(SearchService searchService) {\n this.searchService = searchService;\n }", "@Override\n\tpublic void init() throws ServletException {\n\t\tsuper.init();\n\t\tObject object=getServletContext().getAttribute(\"entitymanagerfactory\");\n\n\t\tif(object==null){\n\t\t\temf=Persistence.createEntityManagerFactory(\"10-em-jsp\");\n\t\t\tgetServletContext().setAttribute(\"entitymanagerfactory\", emf);\n\t\t}else {\n\t\t\temf=(EntityManagerFactory) object;\n\t\t}\n\t\tservice=new StudentService(emf.createEntityManager());\n\t}", "@PostConstruct\n @SuppressWarnings(\"unchecked\")\n protected void initialize() {\n checkRequiredFields();\n try {\n // Create new instance of ConfigurationFileManager:\n ConfigurationFileManager cfm = new ConfigurationFileManager(\n configFileName);\n // Get ConfigurationObject with key configNamespace and extract\n // properties as per CS 3.2.3.\n ConfigurationObject config = cfm.getConfiguration(configNamespace);\n if (config == null) {\n throw new DAOConfigurationException(\n \"Cannot found ConfigurationObject with namespace:\"\n + configNamespace);\n }\n ConfigurationObject configObject = config.getChild(configNamespace);\n if (configObject == null) {\n throw new DAOConfigurationException(\n \"Cannot found ConfigurationObject with name:\"\n + configNamespace);\n }\n String tokenKey = \"search_by_filter_utility_token\";\n String token = null;\n try {\n token = (String) configObject.getPropertyValue(tokenKey);\n } catch (ClassCastException e) {\n throw new DAOConfigurationException(\"The '\" + tokenKey\n + \"' should be String.\", e);\n }\n if (token == null || token.trim().length() == 0) {\n throw new DAOConfigurationException(\n \"The 'search_by_filter_utility_token' property should\"\n + \" be configed and not be empty string.\");\n }\n // Create a new SearchByFilterUtility instance through Object\n // Factory get ConfigurationObjectSpecificationFactory\n ConfigurationObjectSpecificationFactory configurationObjectSpecificationFactory =\n new ConfigurationObjectSpecificationFactory(\n configObject);\n // get ObjectFactory\n ObjectFactory objectFactory = new ObjectFactory(\n configurationObjectSpecificationFactory);\n String searchBundleName = \"HibernateSearchBundle_\"\n + entityBeanType.getSimpleName();\n Object obj = objectFactory.createObject(token, null,\n (ClassLoader) null, new String[] {\n searchBundleManagerNamespace, searchBundleName },\n new Class[] { String.class, String.class },\n ObjectFactory.BOTH);\n if (!(obj instanceof SearchByFilterUtility)) {\n throw new DAOConfigurationException(\n \"The object configed use key:\"\n + token\n + \"should be instance of SearchByFilterUtility.\");\n }\n // Initialize the searchByFilterUtility field.\n this.searchByFilterUtility = (SearchByFilterUtility<T, Id>) obj;\n } catch (Exception e) {\n if (!(e instanceof DAOConfigurationException)) {\n throw new DAOConfigurationException(\n \"Failed to initialize searchByFilterUtility fields of DAO.\",\n e);\n }\n throw (DAOConfigurationException) e;\n }\n }", "private SearchServiceFactory() {}", "@Override\n\tpublic void init() throws ServletException {\n\t\tsuper.init();\n\t\t\n\t\tApplicationContext applicationContext=new ClassPathXmlApplicationContext(\"applicationContext.xml\");\n\t\tmservice= (MemberService) applicationContext.getBean(\"memberservice\");\n\t\tbservice=(BookService) applicationContext.getBean(\"bookservice\");\n\t\toservice=(OrderService) applicationContext.getBean(\"orderservice\");\n\t\t\n\t}", "private void init() {\r\n final List<VCSystem> vcs = datastore.createQuery(VCSystem.class)\r\n .field(\"url\").equal(Parameter.getInstance().getUrl())\r\n .asList();\r\n if (vcs.size() != 1) {\r\n logger.error(\"Found: \" + vcs.size() + \" instances of VCSystem. Expected 1 instance.\");\r\n System.exit(-1);\r\n }\r\n vcSystem = vcs.get(0);\r\n\r\n project = datastore.getByKey(Project.class, new Key<Project>(Project.class, \"project\", vcSystem.getProjectId()));\r\n\r\n }", "private void initService() {\r\n\t}", "public void init() throws Exception\r\n {\r\n ensureResource();\r\n String[] areas = passport.getServiceAreas(\"InventoryManager\");\r\n\r\n if(null==inventoryMgr)\r\n throw new Exception(\"Inventory manager is null.\");\r\n }", "@SuppressWarnings(\"unchecked\")\n private void initSearch() {\n if (searchBasic != null) {\n return;\n }\n try {\n // get a search class instance\n if (searchRecordTypeDesc.getSearchClass() != null) {\n search = (SearchT) searchRecordTypeDesc.getSearchClass().newInstance();\n }\n\n // get a advanced search class instance and set 'savedSearchId' into it\n searchAdvanced = null;\n if (StringUtils.isNotEmpty(savedSearchId)) {\n if (searchRecordTypeDesc.getSearchAdvancedClass() != null) {\n searchAdvanced = (SearchT) searchRecordTypeDesc.getSearchAdvancedClass().newInstance();\n Beans.setProperty(searchAdvanced, SAVED_SEARCH_ID, savedSearchId);\n } else {\n throw new NetSuiteException(new NetSuiteErrorCode(NetSuiteErrorCode.OPERATION_NOT_SUPPORTED),\n i18n.advancedSearchNotAllowed(recordTypeName));\n }\n }\n\n // basic search class not found or supported\n if (searchRecordTypeDesc.getSearchBasicClass() == null) {\n throw new NetSuiteException(new NetSuiteErrorCode(NetSuiteErrorCode.OPERATION_NOT_SUPPORTED),\n i18n.searchNotAllowed(recordTypeName));\n }\n\n // get a basic search class instance\n searchBasic = (SearchT) searchRecordTypeDesc.getSearchBasicClass().newInstance();\n\n } catch (InstantiationException | IllegalAccessException e) {\n throw new NetSuiteException(new NetSuiteErrorCode(NetSuiteErrorCode.INTERNAL_ERROR), e.getMessage(), e);\n }\n }", "public void init() throws ServletException {\n\t\tservice = new GoodInfoDao();\n\t}", "public SearchContext getSearchContext() \n {\n return mSearchContext;\n }", "private void init(RunTimeSingleton glob, I_ServiceManager manager, String type_, String version_,\n ContextNode contextNode) throws ServiceManagerException {\n this.glob = glob;\n\n if (type_ == null) {\n log.debug(\"Service type is null, ignoring Service\");\n return;\n }\n this.type = type_.trim();\n this.version = (version_ == null) ? \"1.0\" : version_.trim();\n\n if (manager == null) return;\n\n propertyName = manager.getName();\n ME = \"ServiceInfo-\"+propertyName;\n\n if (ignoreService()) {\n log.debug(\"Service type set to 'undef', ignoring Service\");\n return;\n }\n\n // propertyKey=\"ProtocolService[IOR][1.0]\"\n propertyKey = manager.createServicePropertyKey(type, version);\n \n // Search for e.g. \"ProtocolService[IOR][1.0]\" or \"/ehrserver/node/heron/ProtocolService[IOR][1.0]\"\n String defaultClass = \"EhrSOABaseService\";\n PropString prop = new PropString(defaultClass);\n /*String usedPropertyKey =*/prop.setFromEnv(glob, contextNode, propertyKey);\n \n log.debug(\"Trying contextNode=\" + ((contextNode==null)?\"null\":contextNode.getRelativeName()) + \" propertyKey=\" + propertyKey);\n\n String rawString = prop.getValue();\n\n if (rawString==null) {\n if (this.type != null) {\n log.debug(\"Service '\" + toString() + \"' not found, giving up.\");\n throw new ServiceManagerException(glob, SysErrorCode.RESOURCE_CONFIGURATION, ME, \"Service '\" + toString() + \"' not found, please check your configuration\");\n }\n rawString = manager.getDefaultServiceName(this.type, this.version);\n }\n\n parsePropertyValue(rawString);\n }", "private void initService() {\n\t\tavCommentService = new AvCommentService(getApplicationContext());\n\t}", "public void init() {\r\n\tlog.info(\"OsylManagerServiceImpl service init() \");\r\n\t// register functions\r\n\tfor (Iterator<String> i = functionsToRegister.iterator(); i.hasNext();) {\r\n\t String function = i.next();\r\n\t functionManager.registerFunction(function);\r\n\t}\r\n }", "@Override\n public void init() throws ServletException {\n super.init();\n try {\n var bookDAO = getDaoImpl(BookImplDB.class);\n bookService = new BookService(bookDAO);\n } catch (IllegalArgumentException ex) {\n throw new ServletException(ex);\n }\n }", "private ServiceManagerFactory() throws ServiceException {\r\n initialize();\r\n\t}", "public SearchService(String name) {\n super(\"\");\n }", "public void init() {\n\t\tM_log.info(\"initialization...\");\n\t\t\n\t\t// register as an entity producer\n\t\tm_entityManager.registerEntityProducer(this, SakaiGCalendarServiceStaticVariables.REFERENCE_ROOT);\n\t\t\n\t\t// register functions\n\t\tfunctionManager.registerFunction(SakaiGCalendarServiceStaticVariables.SECURE_GCAL_VIEW);\n\t\tfunctionManager.registerFunction(SakaiGCalendarServiceStaticVariables.SECURE_GCAL_VIEW_ALL);\n\t\tfunctionManager.registerFunction(SakaiGCalendarServiceStaticVariables.SECURE_GCAL_EDIT);\n\t\t\n \t\t//Setup cache. This will create a cache using the default configuration used in the memory service.\n \t\tcache = memoryService.newCache(CACHE_NAME);\n\t}", "public void initSearch(Search search) {\r\n\t\tUser user = userService.getLoggedUser();\r\n\t\tsearch.setUser(user);\r\n\t\tsearch.setActive(true);\r\n\t\tsearch.setEnabled(true);\r\n\t\tsearch.setRemoved(false);\r\n\t\tif (!search.getSellers().isEmpty()) {\r\n\t\t\tsearch.setSellerSearch(true);\r\n\t\t} else {\r\n\t\t\tsearch.setSellerSearch(false);\r\n\t\t}\r\n\t\tsetConvertedValues(user, search);\r\n\t}", "private void initSpeechManager() {\n mSpeechManager = SpeechManager.getInstance(this);\n }", "public String initializeSearch() {\r\n\t\tthis.searchCompanyManage = \"\";\r\n\t\tthis.idSearchBranchOffice = 0;\r\n\t\tthis.idFarmSearch = 0;\r\n\t\treturn consultPermissionPersonCompany();\r\n\t}", "@PostConstruct\r\n\tpublic void init()\r\n\t{\r\n\t\tif (((this.pageBackingBean.getCurrentUser() != null && this.pageBackingBean.getCurrentUser().isActive()) || this.settingEjb\r\n\t\t .getBooleanSettingByName(Constants.SETTING_SEARCH_ALLOW_NON_USERS))\r\n\t\t && !(this.settingEjb.getBooleanSettingByName(Constants.SETTING_SEARCH_INDEXING_COMMENCED)))\r\n\t\t{\r\n\t\t\tthis.resultsPerPage = this.settingEjb.getIntegerSettingByName(Constants.SETTING_SEARCH_BROWSE_PER_PAGE);\r\n\t\t\tthis.totalHits = this.indexEjb.getTotalSubjects();\r\n\t\t\tthis.setResultsList(this.indexEjb.getBrowseResults(((this.resultsPage - 1) * this.resultsPerPage), this.resultsPerPage));\r\n\t\t}\r\n\t}", "public AbstractSearchEngine() {}", "public InitService() {\n super(\"InitService\");\n }", "public void contextInitialized(ServletContextEvent contextEvent) {\n super.serviceInitialization(contextEvent,SERVICE_NAME);\n }", "public void InitService() {\n\t\ttry {\r\n\t\t\tgetCommManager().register(this); \r\n\t\t} catch (CommunicationException e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t}", "public void init() throws ServletException {\n // Put your code here\n service = new RegisterDao();\n }", "@Override\n public void init() throws ServletException {\n super.init();\n setConversationStore(ConversationStore.getInstance());\n setMessageStore(MessageStore.getInstance());\n setUserStore(UserStore.getInstance());\n setActivityStore(ActivityStore.getInstance());\n }", "public RiftsawServiceLocator() {\n }", "@Override\n\tprotected void initAsService() {\n\t\tif (log.isDebugEnabled()) {\n\t\t\tlog.debug(\"Initiating service...\");\n\t\t}\n\t\trunnerFuture = activityRunner.schedule(this::scanModulesHealth, 500, TimeUnit.MILLISECONDS);\n\t}", "public void init() {\n\t\tlog.info(\"Initialise StudentDAO\");\n\t\tquery_getStudent = new Query_GetStudent(dataSource);\n\t\tquery_insertStudent = new Query_InsertStudent(dataSource);\n\t\tquery_getStudentId = new Query_GetStudentID(dataSource);\n\t\tquery_updateStudent = new Query_UpdateStudent(dataSource);\n\t\tquery_deleteStudent = new Query_DeleteStudent(dataSource);\n\t\tquery_getAllStudentsOrderMatnr = new Query_GetAllStudentsOrderMatnr(\n\t\t\t\tdataSource);\n\t\tquery_getAllStudentsOrderNachname = new Query_GetAllStudentsOrderNachname(\n\t\t\t\tdataSource);\n\t}", "public Search() throws Exception {\n sesion = Controller.getSession();\n fullTextSesion = org.hibernate.search.Search.getFullTextSession(sesion);\n }", "public static void init(Context context) {\n\t\tif (cameraManager == null) {\n\t\t\tcameraManager = new CameraManager(context);\n\t\t}\n\t}", "public void initApiService() {\n apiService = ApiUtils.getAPIService();\n }", "protected void initApplicationContext() throws ApplicationContextException {\n try {\n if (log.isDebugEnabled()) {\n log.debug(\"Starting struts-menu initialization\");\n }\n ServletContext ctx = this.getServletContext();\n Config configForInit = new Config();\n \t\tconfigForInit.setConfigParam(ctx.getRealPath(menuConfig));\n \t\ttry {\n \t\t\tconfigForInit.init();\n \t\t} catch (LoadableResourceException e1) {\n \t\t\t// TODO Auto-generated catch block\n \t\t\te1.printStackTrace();\n \t\t} catch (IOException e1) {\n \t\t\t// TODO Auto-generated catch block\n \t\t\te1.printStackTrace();\n \t\t} catch (SAXException e1) {\n \t\t\t// TODO Auto-generated catch block\n \t\t\te1.printStackTrace();\n \t\t} catch (SQLException e1) {\n \t\t\t// TODO Auto-generated catch block\n \t\t\te1.printStackTrace();\n \t\t}\n \t\tParser parse = null;\n \t\ttry {\n \t\t\tparse = configForInit.getParser();\n \t\t} catch (Exception e) {\n \t\t\t// TODO Auto-generated catch block\n \t\t\te.printStackTrace();\n \t\t}\n\n \t\tMenuRepository repository = new MenuRepository();\n \t\trepository.setLoadParam(menuConfig);\n \t\trepository.setServletContext(ctx);\n \t\tparse.init(repository);\n\n \t\ttry {\n \t\t\tparse.load();\n ctx.setAttribute(MenuRepository.MENU_REPOSITORY_KEY, repository);\n\n if (log.isDebugEnabled()) {\n log.debug(\"struts-menu initialization successful\");\n }\n } catch (LoadableResourceException lre) {\n throw new ServletException(\"Failure initializing struts-menu: \" +\n lre.getMessage());\n }\n } catch (Exception ex) {\n throw new ApplicationContextException(\"Failed to initialize Struts Menu repository\",\n ex);\n }\n }", "public static synchronized void initialize(Context context) {\n instance.context = context;\n initInternal();\n }", "private void initSingletons() {\n\t\tModel.getInstance();\n\t\tSocialManager.getInstance();\n\t\tMensaDataSource.getInstance();\n\t}", "@Before\n public void setUp() {\n searchMap = SearchMap.getInstance();\n }", "public XMLSystemManager(){\n\t\tthis(\"data\");\n\t}", "public IndexSearchSharderManager() {\n log = LoggerFactory.getLogger(IndexSearchSharderManager.class);\n }", "@Override\n\tpublic void init() throws ServletException {\n\n\t\ttry {\n\t\t\tmodeloProductos = new ModeloProductos(miPool);\n\t\t} catch (Exception e) {\n\t\t\tthrow new ServletException(e);\n\t\t}\n\t\t;\n\n\t}", "@Override\n public void init() throws ServletException {\n this.manager = (DBManager)super.getServletContext().getAttribute(\"dbmanager\");\n }", "public void initializeContext(Context context) {\n this.context = context;\n }", "@ServiceInit\n public void init() {\n }", "private void initialize()\n {\n if (null!=cc)\n {\n throw new RuntimeException(\"CorpusServiceI has been initialized already\");\n }\n dataDir = mAdapter.getCommunicator().getProperties().getProperty(\"CVAC.DataDir\");\n logger.log(Level.FINE, \"CorpusService found CVAC.DataDir={0}\", dataDir);\n logger.setLevel(Level.FINEST);\n CorpusI.rootDataDir = dataDir;\n cc = new CorpusConfig();\n corpToImp = new HashMap<String, CorpusI>();\n logger.log(Level.INFO, \"CorpusService initialized\" );\n }", "private void initSearchView() {\n SearchManager searchManager = (SearchManager) getActivity().getSystemService(Context.SEARCH_SERVICE);\n\n searchView.setSearchableInfo(searchManager.getSearchableInfo(getActivity().getComponentName()));\n searchView.setMaxWidth(Integer.MAX_VALUE);\n\n //listening to search query text change\n searchView.setOnQueryTextListener(new SearchView.OnQueryTextListener() {\n @Override\n public boolean onQueryTextSubmit(String query) {\n // filter recycler view when query submitted\n machineAdapter.getFilter().filter(query);\n return false;\n }\n\n @Override\n public boolean onQueryTextChange(String newText) {\n machineAdapter.getFilter().filter(newText);\n return false;\n }\n });\n\n }", "public SearchCriteria initSearchCriteria() throws Exception {\n\t\treturn null;\n\t}", "public SearchServlet() {\n\t\tsuper();\n\t}", "public DigestListService() {\r\n parserRssService = new ParserRss();\r\n generalDao = new GeneralDao();\r\n }", "protected void initialize(ExternalContext context)\n {\n }", "public void init() {\r\n\t\tGetRunningProgramsGR request = new GetRunningProgramsGR(\r\n\t\t\t\tRunningServicesListViewAdapter.this.runningServicesActivity.getApplicationContext());\r\n\t\trequest.setServerName(RunningServicesListViewAdapter.this.serverName);\r\n\t\tnew GuiRequestHandler(RunningServicesListViewAdapter.this.runningServicesActivity,\r\n\t\t\t\tRunningServicesListViewAdapter.this, true).execute(request);\r\n\t}", "public ServiceInfo(RunTimeSingleton glob, I_ServiceManager manager, String type, String version,\n ContextNode contextNode) throws ServiceManagerException {\n init(glob, manager, type, version, contextNode);\n }", "public void init(ServletContext servletContext, Map<String, String> globalParameters,\n DataSourceConfiguration dataSourceConfig) throws DataSourceException {\n this.svCon = servletContext;\n this.globalParameters = globalParameters;\n this.config = dataSourceConfig;\n \n WebApplicationContext context = WebApplicationContextUtils.getWebApplicationContext(svCon);\n dao = (AtlasDao)context.getBean(\"atlasSolrDAO\");\n }", "@PostConstruct\n\tpublic void init() {\n\t // TODO create cacheTreeMgr using HashMap or EhCache\n cacheTree = new CacheTreeHashMap();\n\t cacheTree.init();\n\t}", "private ServiceLocator(){}", "private Search() {}", "public MyServiceDataSingleton(Context context) {\r\n myContext = context;\r\n }", "private void setup(){\n getSupportActionBar().setTitle(\"Search Results\");\n\n ArrayList<TodoData> todos = this.getTodos();\n presenter = new SearchResultPresenter(this, todos);\n presenter.onCreate();\n }", "public DocumentumCoreServicesImpl() {\r\n\r\n\t\tIObjectService iObjService = null;\r\n\r\n\t\tif (this.objectService == null) {\r\n\r\n\t\t\tlogger.info(INFO_INICIANDO_EMC);\r\n\r\n\t\t\ttry {\r\n\r\n\t\t\t\tRepositoryIdentityConstants repositoryIdentityConstants = EMCDocumentumFactory\r\n\t\t\t\t\t\t.getConstants(RepositoryIdentityConstants.class);\r\n\r\n\t\t\t\tthis.setRepositoryIdentityConstants(repositoryIdentityConstants);\r\n\r\n\t\t\t\tContextFactory contextFactory = ContextFactory.getInstance();\r\n\r\n\t\t\t\tIServiceContext serviceContext = contextFactory.getContext();\r\n\t\t\t\tserviceContext.setRuntimeProperty(IServiceContext.USER_TRANSACTION_HINT, IServiceContext.TRANSACTION_REQUIRED);\r\n\t\t\t\tserviceContext.setRuntimeProperty(IServiceContext.PAYLOAD_PROCESSING_POLICY, \"PAYLOAD_FAIL_ON_EXCEPTION\");\r\n\r\n\t\t\t\tsetServiceContext(serviceContext);\r\n\r\n\t\t\t\tRepositoryIdentity repoId = new RepositoryIdentity();\r\n\r\n\t\t\t\trepoId.setRepositoryName(REPOSITORY_NAME);\r\n\r\n\t\t\t\trepoId.setUserName(USER_NAME);\r\n\r\n\t\t\t\trepoId.setPassword(USER_PASSWORD);\r\n\r\n\t\t\t\tgetServiceContext().addIdentity(repoId);\r\n\r\n\t\t\t\t//\t\tcontextFactory.register(getServiceContext());\r\n\r\n\t\t\t\t//iObjectService = ServiceFactory.getInstance().getRemoteService(IObjectService.class, serviceContext, MODULE_NAME, DFS_SERVICE_URL);\r\n\t\t\t\tiObjService = ServiceFactory.getInstance().getLocalService(IObjectService.class, serviceContext);\r\n\r\n\t\t\t\tlogger.info(INFO_CONEXAO_EMC);\r\n\r\n\t\t\t\tthis.objectService = iObjService;\r\n\r\n\t\t\t} catch (ServiceInvocationException e) {\r\n\r\n\t\t\t\tlogger.error(ERROR_CONEXAO_EMC.concat(e.getLocalizedMessage()));\r\n\r\n\t\t\t}\r\n\r\n\t\t\tthis.setObjectService(iObjService);\r\n\t\t}\r\n\r\n\t}", "@Override\r\n\tpublic void init(ServletConfig config) throws ServletException {\n\t\tbookService = new BookService();\r\n\t}", "private void initService() {\n connection = new AppServiceConnection();\n Intent i = new Intent(this, AppService.class);\n boolean ret = bindService(i, connection, Context.BIND_AUTO_CREATE);\n Log.d(TAG, \"initService() bound with \" + ret);\n }", "public void service_INIT(){\n }", "public void start( BundleContext bc ) throws Exception {\r\n\t\tinitLogger(bc);\r\n\t\t\r\n\t\tfindSearcher(bc);\r\n\t\t\r\n\t\tregisterService(bc);\r\n\t\t\r\n\t\tregisterServlets(bc);\r\n\t}", "@Override\r\n\tpublic void init() throws ServletException {\n\t\tsuper.init();\r\n\t\t\r\n\t\t//create employee dao .... and pass in the conn pool / datasource\r\n\t\ttry {\r\n\t\t\temployeeDAO = new EmployeeDAO(dataSource);\r\n\t\t}\r\n\t\tcatch(Exception exc) {\r\n\t\t\tthrow new ServletException(exc);\r\n\t\t}\r\n\t}", "private ServiceLocator() {\r\n\t\t\r\n\t}", "private void initService() {\n \tlog_d( \"initService()\" );\n\t\t// no action if debug\n if ( BT_DEBUG_SERVICE ) return;\n // Initialize the BluetoothChatService to perform bluetooth connections\n if ( mBluetoothService == null ) {\n log_d( \"new BluetoothService\" );\n \t\tmBluetoothService = new BluetoothService( mContext );\n\t }\n\t\tif ( mBluetoothService != null ) {\n log_d( \"set Handler\" );\n \t\tmBluetoothService.setHandler( sendHandler );\n\t }\t\t\n }", "@Override\r\n\tpublic void initializeService(String input) throws Exception\r\n\t{\n\t\t\r\n\t}", "public SearchServiceRestClientImpl() {\n this(new HttpPipelineBuilder().policies(new UserAgentPolicy(), new RetryPolicy(), new CookiePolicy()).build());\n }", "protected void onInit() {\n super.onInit();\n securityManager = (com.sustain.security.SustainSecurityManager) getBean(\"securityManager\");\n }", "@Override\n protected void doInit() {\n getLogger().finer(\"Initialization of CompanyListServerResource.\");\n\n // Initialize the persistence layer.\n companyPersistence = PersistenceService.getCompanyPersistence();\n\n getLogger().finer(\"Initialization of CompanyListServerResource ended.\");\n }", "@Override\n\tpublic void init(EngineConfig config) throws ServiceException\n\t{\n\t\t\n\t}", "public DocumentServiceImpl() {\n this.store = new AuthenticationTokenStore();\n }", "@Override\n protected void configureService() {\n if (installSolr) {\n // bind solr server, using the checklistbank.search.solr.server property\n install(new SolrModule(SolrConfig.fromProperties(getProperties(), \"solr.\")));\n }\n\n bind(NameUsageSearchService.class).to(NameUsageSearchServiceImpl.class).in(Scopes.SINGLETON);\n\n expose(NameUsageSearchService.class);\n }", "public SPManager() {\n \tmyCon = new DBManager();\n }", "public SQLManager(Context context) {\n handler = new SQLHandler(context);\n }", "private void initializeRecallServiceManager() {\n\n }", "public void initialize(InfoflowManager manager);", "public TextAnalyzerServiceImpl() {\n super(JOB_TYPE);\n }", "@Override\n\tpublic void onCreate() {\n\t\tsuper.onCreate();\n\n\t\tcontext = this;\n\t\tstartService();\n\t}", "public search() {\n }", "private SearchExecutionContextHelper() {}", "public ListSearchResults()\n {\n logEnter(LOG_TAG, \"<init>\");\n\n entryMap = new HashMap<String,SearchResultEntry>(0);\n entries = new LinkedList<SearchResultEntry>();\n instance = null;\n }", "@Override\n\t\tpublic void init(final DaemonContext daemonContext) throws Exception {\n\t\t\tloadConfigFile(null);\n\t\t\t// create service options from configuration\n\t\t\tfinal VertxOptions vertxOptions = createVertxOptions(clustered);\t\t\n\t\t\tfinal DeploymentOptions deploymentOptions = createDeploymentOptions();\n\t\t\t// configure and start the service manager\n\t\t\tserviceManager = new ServiceManager(newHashSet(new VertxService(newArrayList(), vertxOptions, deploymentOptions, new SingleNodeLoadBalancer())));\t\t\n\t\t\tsuper.init(daemonContext);\n\t\t}", "@PostConstruct\n protected void init() {\n // Look up the associated batch data\n job = batchService.findByInstanceId(jobContext.getInstanceId());\n }", "public void init(Context context) {\n\t\t\n\t EMOptions options = initChatOptions();\n\t //options传null则使用默认的\n\t\tif (EaseUI.getInstance().init(context, options)) {\n\t\t appContext = context;\n\t\t \n\t\t userDao=new UserDao(appContext);\n\t\t //设为调试模式,打成正式包时,最好设为false,以免消耗额外的资源\n\t\t EMClient.getInstance().setDebugMode(true);\n\t\t //get easeui instance\n\t\t easeUI = EaseUI.getInstance();\n\t\t //调用easeui的api设置providers\n\t\t setEaseUIProviders();\n\t\t\t//初始化PreferenceManager\n\t\t//\tPreferenceManager.init(context);\n\t\t\t//初始化用户管理类\n\t\t//\tgetUserProfileManager().init(context);\n\t\t\t\n\t\t\t//设置全局监听\n\t\t//\tsetGlobalListeners();\n\t\t//\tbroadcastManager = LocalBroadcastManager.getInstance(appContext);\n\t // initDbDao();\n\t\t //注册消息事件监听\n\t registerEventListener();\n\n\t\t}\n\t}", "public void init(Context mContext)\n {\n if(mImageRepository!=null)\n {\n return;\n }\n\n mImageRepository=ImageRepository.getInstance(mContext);\n\n //getting list from mImageRepository\n mImagesList=mImageRepository.getImageList();\n }", "public void init(OData odata, ServiceMetadata serviceMetadata) {\n mOData = odata;\n mServiceMetadata = serviceMetadata;\n }", "@Before\n\tpublic void init()\n\t{\n\t\tEntityManagerFactory entityManagerFactory = Persistence.createEntityManagerFactory(\"persistenceUnit\");\n\t\tEntityManager entityManager = entityManagerFactory.createEntityManager();\n\t\tcacheManager = new CacheManagerDefaultImpl();\n\t\t((CacheManagerDefaultImpl) cacheManager).setEntityManager(entityManager);\n\t}", "@Override\n\tpublic void initialize(URL location, ResourceBundle resources) {\n\t\tsearch_sup();\n\t\tsearch_unit();\n\t}", "protected SearchSearchResponse doNewSearch(QueryContext queryContext) throws Exception {\n\t\t\n\t\tBooleanQuery query = _queryBuilder.buildSearchQuery(queryContext);\n\t\t\n\t\tBooleanQuery rescoreQuery = \n\t\t\t\t_queryBuilder.buildRescoreQuery(queryContext);\n\t\t\n\t\tList<Aggregation> aggregations = getAggregations(queryContext);\n\n\t\treturn execute(queryContext, query, rescoreQuery, aggregations);\n\t}", "public static synchronized void init() {\n String registryClassName = System.getProperty(REGISTRY_CLASS_NAME,\n DefaultServiceRegistry.class.getName());\n String endpointProviderClassName = System.getProperty(ENDPOINT_PROVIDER_CLASS_NAME,\n DefaultEndpointProvider.class.getName());\n\n try {\n registry = getRegistry(registryClassName);\n endpointProvider = getEndpointProvider(endpointProviderClassName);\n transformers = new BaseTransformerRegistry();\n } catch (NullPointerException npe) {\n throw new RuntimeException(npe);\n }\n }", "protected void init() { \n ServletContext servletContext = getServletContext();\n applicationContext = WebApplicationContextUtils.getWebApplicationContext(servletContext);\n\n String names[] = applicationContext.getBeanDefinitionNames();\n\n for (String name : names) {\n System.out.println(\"name:\" + name);\n }\n }", "public LibrarySearch() {\n\t\titems = new ArrayList<Reference>();\n\t}", "public NormalSearch() throws InstantiationException, IllegalAccessException, ClassNotFoundException, SQLException {\n super();\n //ins = new globalInstance();\n // TODO Auto-generated constructor stub\n }", "public MyApp() {\n sContext = this;\n }", "public SearchResponse search(SearchRequest request) throws SearchServiceException;", "private EntityManager initSystems() {\n CameraSystem cameraSystem = new CameraSystem(Constants.WINDOW_WIDTH, Constants.WINDOW_HEIGHT);\n addSystem(cameraSystem);\n addSystem(new ZoomSystem());\n //Physics System\n addSystem(new PhysicsSystem());\n //Player movement system\n addSystem(new PlayerMovementSystem());\n\n addSystem(new CannonFiringSystem());\n addSystem(new CollisionSystem());\n addSystem(new KillSystem());\n addSystem(new HealthSystem());\n addSystem(new StatisticSystem());\n addSystem(new EnemySpawningSystem());\n addSystem(new InventorySystem());\n addSystem(new CurrencySystem());\n\n GUISystem guiSystem = new GUISystem();\n InputSystem inputSystem = new InputSystem(guiSystem);\n\n //Input System\n addSystem(inputSystem);\n //Entity Render System\n addSystem(new EntityRenderSystem());\n //Particle System\n addSystem(new ParticleSystem());\n addSystem(new PlayerActionSystem(guiSystem));\n addSystem(new MapRenderSystem());\n addSystem(new HUDSystem());\n //Debug Render System\n addSystem(new DebugRendererSystem());\n //GUI System\n addSystem(guiSystem);\n\n return this;\n }" ]
[ "0.6171437", "0.60519433", "0.59902936", "0.5983537", "0.59558946", "0.59482217", "0.58874875", "0.58754975", "0.57889146", "0.57507974", "0.5719189", "0.5670124", "0.5643038", "0.5598588", "0.55789274", "0.55588806", "0.5554352", "0.55493927", "0.55394524", "0.5531917", "0.5525083", "0.5521539", "0.55082273", "0.5473783", "0.5466333", "0.5454085", "0.53554475", "0.53545374", "0.5348981", "0.53434294", "0.5328028", "0.53230417", "0.53227854", "0.5298385", "0.5293732", "0.5265235", "0.525707", "0.52550495", "0.52362025", "0.5232339", "0.5192287", "0.5190262", "0.5189248", "0.51888925", "0.5184207", "0.5182172", "0.51781005", "0.51659185", "0.5159321", "0.51587206", "0.51572376", "0.5157075", "0.5156036", "0.514519", "0.51450986", "0.51443076", "0.5138066", "0.51240486", "0.51230687", "0.51176816", "0.51140225", "0.51108223", "0.50981206", "0.50954854", "0.5085021", "0.5081117", "0.5078564", "0.5071882", "0.5071503", "0.5065809", "0.50621617", "0.50612086", "0.50604147", "0.5060123", "0.50570035", "0.50514466", "0.5039882", "0.50268805", "0.5025553", "0.5021032", "0.50207937", "0.5018465", "0.50167143", "0.5011029", "0.5010121", "0.50086313", "0.50008357", "0.5000527", "0.4992714", "0.49926543", "0.49925792", "0.49826303", "0.49822563", "0.4977055", "0.49769726", "0.49766764", "0.49734336", "0.49713644", "0.49713326", "0.49638215" ]
0.6002907
2
Searchable activities API Returns the SearchableInfo for a given activity.
public SearchableInfo getSearchableInfo(final ComponentName launchActivity) { if (launchActivity == null) { Log.e(TAG, "getSearchableInfo(), activity == null"); return null; } return getSearchables(UserHandle.getCallingUserId()).getSearchableInfo(launchActivity); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Implementation\n public SearchableInfo getSearchableInfo(ComponentName componentName) {\n return null;\n }", "public SearchableInfo getSearchableInfo(ComponentName componentName) {\n try {\n return mService.getSearchableInfo(componentName);\n } catch (RemoteException ex) {\n throw ex.rethrowFromSystemServer();\n }\n }", "public List<Activity> getAllActivities();", "@Implementation\n protected SearchableInfo getSearchableInfo(ComponentName componentName) {\n return null;\n }", "public LearningResultHasActivity[] findWhereActivityIdActivityEquals(int activityIdActivity) throws LearningResultHasActivityDaoException;", "@PreAuthorize(\"hasPermission('string', 'ALL', new org.jasig.portal.spring.security.evaluator.AuthorizableActivity('UP_PERMISSIONS', 'VIEW_PERMISSIONS'))\")\n @RequestMapping(value=\"/permissions/activities.json\", method = RequestMethod.GET)\n public ModelAndView getActivities(\n @RequestParam(value=\"q\", required=false) String query,\n HttpServletRequest request, HttpServletResponse response)\n throws Exception {\n \n if (StringUtils.isNotBlank(query)) {\n query = query.toLowerCase();\n }\n\n List<IPermissionActivity> activities = new ArrayList<IPermissionActivity>();\n Collection<IPermissionOwner> owners = permissionOwnerDao.getAllPermissionOwners();\n for (IPermissionOwner owner : owners) {\n for (IPermissionActivity activity : owner.getActivities()) {\n if (StringUtils.isBlank(query) || activity.getName().toLowerCase().contains(query)) {\n activities.add(activity);\n }\n }\n }\n Collections.sort(activities);\n \n ModelAndView mv = new ModelAndView();\n mv.addObject(\"activities\", activities);\n mv.setViewName(\"json\");\n \n return mv;\n }", "public interface ActivityService {\n //分页展示首页的活动列表的接口\n PageInfo<HomeActivity> getHomeActivityPageInfo(\n Integer page, Integer rows, double coordLong, double coordLat);\n\n //搜索活动列表\n //分页返回搜索结果\n PageInfo<HomeActivity> getHomeActivityPageInfo(\n Integer page, Integer rows, double coordLong, double coordLat,\n String activityName);\n\n //根据活动类别返回对应活动列表\n //分页返回结果\n PageInfo<HomeActivity> getHomeActivityPageInfo(\n Integer page, Integer rows, double coordLong, double coordLat,\n String category, Integer collation, String district);\n\n //根据活动id和经纬度返回包装有志愿者等信息的活动详情\n ActivityDetails getActivityById(\n Integer id, double coordLong, double coordLat);\n\n //创建活动\n boolean createActivity(Activity activity);\n\n //根据志愿者id返回该志愿者参与的活动列表\n PageInfo<ActivityDetails> getActivityPageInfoByVolunteerId(\n Integer page, Integer rows, Integer id);\n\n //根据志愿者id返回该志愿者的服务历史\n PageInfo<ActivityDetails> getHistoricalActivityPageInfo(\n Integer page, Integer rows, Integer id);\n\n //根据组织id返回该组织的所有活动\n PageInfo<ActivityDetails> getActivityPageInfoByOrganizationId(\n Integer page, Integer rows, Integer id);\n\n //根据活动id和状态id更新活动\n String updateActivityStatusById(\n Integer id, Integer activityStatusId);\n}", "@Override\n\tprotected void startSearchResultActivity(String[] search_ifs) {\n\t\tItemSearchResultActivity.startThisActivity(this, getString(R.string.detail_search), search_ifs);\n\t}", "public List<ResolveInfo> getGlobalSearchActivities() {\n try {\n return mService.getGlobalSearchActivities();\n } catch (RemoteException ex) {\n throw ex.rethrowFromSystemServer();\n }\n }", "SearchResult<TimelineMeta> search(SearchParameter searchParameter);", "@CustomAnnotation(value = \"FIND_ALL_ACTIVITY\")\n\t@RequestMapping(\n\t\t\tvalue=\"/activities\",\n\t\t\tmethod=RequestMethod.GET\n\t\t\n\t\t\t)\n\tpublic ResponseEntity<Set<Activity>> findAcitities(){\n\t\treturn new ResponseEntity<Set<Activity>>(activityService.findAll(), HttpStatus.OK);\n\t}", "public interface IntentSearchLister {\n\n void sendSearchValue(String value);\n}", "public Activities activities() {\n return this.activities;\n }", "public ComponentName getWebSearchActivity() {\n return getSearchables(UserHandle.getCallingUserId()).getWebSearchActivity();\n }", "public com.sforce.soap.enterprise.QueryResult getLookedUpFromActivities() {\r\n return lookedUpFromActivities;\r\n }", "public interface ViewSearchActivity {\n void clearQuery();\n void enableDeleteButton(boolean enable);\n\n void updateAdapter(List<SongMatch> results);\n\n void showEmptyView();\n void hideEmptyView();\n\n void showLimitBanner();\n\n void hideLimitBanner();\n}", "UserActivity findUserActivityByActivityId(int activityId) throws DataNotFoundException;", "public Iterator<Activity> getActivitiesIterator(){\n\t\treturn activities.iterator();\n\t}", "SearchResult<TimelineMeta> search(SearchQuery searchQuery);", "public ComponentName getGlobalSearchActivity() {\n return getSearchables(UserHandle.getCallingUserId()).getGlobalSearchActivity();\n }", "public LearningResultHasActivity[] findAll() throws LearningResultHasActivityDaoException;", "public ArrayList<Activity> getActivities(){\r\n return activities;\r\n }", "public Map<IcActivity, Boolean> getActivities(String groupFilter, IapiTool ApiTool, IcUsers user);", "public interface Activity extends EJBObject {\r\n public void setLinkCondition(String linkCondition, Vector binds) throws RemoteException;\r\n\r\n public void setData(ActivityDao attrs) throws RemoteException;\r\n\r\n public ActivityDao getData() throws RemoteException;\r\n\r\n public void insert(ActivityDao attrs) throws RemoteException, DupKeyException, UserException;\r\n\r\n public void update(ActivityDao attrs) throws RemoteException, UserException;\r\n\r\n public void delete(Vector<String> actlistID) throws RemoteException, ConstraintViolatedException, UserException;\r\n\r\n public void findByPrimaryKey(ActivityDao attrs) throws RemoteException, RowNotFoundException, UserException;\r\n\r\n public void findNext(ActivityDao attrs) throws RemoteException, FinderException, RowNotFoundException;\r\n\r\n public void findPrev(ActivityDao attrs) throws RemoteException, FinderException, RowNotFoundException;\r\n\r\n public Collection listAll() throws RemoteException, RowNotFoundException, UserException;\r\n\r\n public Collection find(ActivityDao attrs) throws RemoteException, FinderException, RowNotFoundException;\r\n\r\n public Collection findExact(ActivityDao attrs) throws RemoteException, FinderException, RowNotFoundException;\r\n\r\n public String[] lookupDesc(Object[] pkKeys) throws RemoteException, RowNotFoundException;\r\n\r\n public Collection<ActivityDao> getActivityTree(String startActivityNode) throws RemoteException, RowNotFoundException, UserException;\r\n}", "Search getSearch();", "public Item2Vector<ConceptActivity> getConceptActivities()\r\n\t{\r\n\t\treturn activity_links;\r\n\t}", "public interface SearchInterface {\n int ACTION_TYPE_AMBIGUOUS = 1;\n int ACTION_TYPE_SWITCH_CHANNEL = 2;\n int ACTION_TYPE_SWITCH_INPUT = 3;\n\n /**\n * Search channels, inputs, or programs.\n * This assumes that parental control settings will not be change while searching.\n *\n * @param action One of {@link #ACTION_TYPE_SWITCH_CHANNEL}, {@link #ACTION_TYPE_SWITCH_INPUT},\n * or {@link #ACTION_TYPE_AMBIGUOUS},\n */\n List<SearchResult> search(String query, int limit, int action);\n}", "@GET(\"categories/activities\")\n Call<List<ActivitiesByCategorieOutput>> getActivitiesByCategory();", "public interface ActivityManager extends GenericManager<Activity, Long> {\n// -------------------------- OTHER METHODS --------------------------\n\n Activity getActivity(Long activityID);\n\n List<Activity> getActivities();\n\n List<Activity> getActivitiesByDepartament(Long idDepartament);\n\n void removeActivity(Long activityId);\n\n Activity saveActivity(Activity activity);\n\n List<Activity> search(String searchTerm);\n}", "CmsActivity selectByPrimaryKey(String activityId);", "boolean getSearchable();", "@java.lang.Override\n public com.clarifai.grpc.api.Search getSearch() {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }", "public interface Searchable {\n\n}", "public interface SearchActivityInterface {\n void setSearchList(List<SearchBean> list);\n}", "@Provides @PerActivity Activity activity() {\n return this.activity;\n }", "public List<ExoSocialActivity> getUserActivities(Identity owner) throws ActivityStorageException;", "public interface ActivityAction {\r\n public void viewedActivity(String condition, String viewerFullName);\r\n}", "public List<SearchableInfo> getSearchablesInGlobalSearch() {\n return getSearchables(UserHandle.getCallingUserId()).getSearchablesInGlobalSearchList();\n }", "public ExoSocialActivity getActivity(String activityId) throws ActivityStorageException;", "SearchResponse search(SearchRequest searchRequest) throws IOException;", "public interface Search {\n ArrayList<Section> searchSecByTitle(String info);\n\n ArrayList<Section> searchSecByCourse_id(String info);\n}", "public List<ExoSocialActivity> getNewerOnSpaceActivities(Identity spaceIdentity,\n ExoSocialActivity baseActivity,\n int limit);", "@CustomAnnotation(value = \"FIND_ONE_ACTIVITY\")\n\t@RequestMapping(\n\t\t\tvalue=\"/activity/{id}\",\n\t\t\tmethod=RequestMethod.GET,\n\t\t\tproduces=MediaType.APPLICATION_JSON_VALUE\n\t\t\t)\n\tpublic ResponseEntity<Activity> findActivity(@PathVariable(\"id\") Long id, @Context HttpServletRequest request){\n\t\treturn new ResponseEntity<Activity>(activityService.findActivity(id), HttpStatus.OK);\n\t}", "List<SearchResult> search(SearchQuery searchQuery);", "public LearningResultHasActivity[] findWhereCompetitionCodeEquals(String competitionCode) throws LearningResultHasActivityDaoException;", "List<Activity> findAllPageable(int page, int size);", "public ComponentName getGlobalSearchActivity() {\n try {\n return mService.getGlobalSearchActivity();\n } catch (RemoteException ex) {\n throw ex.rethrowFromSystemServer();\n }\n }", "@Override\n\t\tprotected void onActivityResult(int requestCode, int resultCode, Intent data)\n\t\t{\n\t\t\tLog.i(TAG, \"onActivityResult()\");\n\n\t\t\tString str = \"Req: \"+requestCode+\",\"+\" Res: \"+resultCode+\",\"+\" data: \"+data;\n\t\t\tLog.e(\"Result from SearchActivity: \", str);\n\n\t\t\tString findKey = null;\n\t\t\tString findValue = null;\n\t\t\tlong lDate = 0;\n\t\t\t\n\t\t\tif (resultCode == RESULT_OK) {\n\t\t\t\tif (requestCode == Constants.FIND_REQ) {\n\t\t\t\t\tfindKey = data.getStringExtra(Constants.FIND_KEY);\n\t\t\t\t\tfindValue = data.getStringExtra(Constants.FIND_VALUE);\n\t\t\t\t\tLog.v(TAG, \"Search result: key: \"+ findKey +\" value: \"+ findValue );\n\t\t\t\t}\n\n\t\t\t\tif (findKey.compareTo(Constants.EVENT_DATE) == 0) {\n\t\t\t\t\tlDate = data.getLongExtra(\"long_date\", 0);\n\t\t\t\t\tLog.v(TAG, \"Search result: key: \"+ findKey + \" value: \" + lDate );\n\t\t\t\t\t}\n\t\t\t\telse //---not a date ---//\n\t\t\t\t\t{\n\t\t\t\t\t\t// yet another ?? code \n\t\t\t\t\t\tLog.v(TAG, \"Criteria returned, key:\" + findKey + \" value: \" + findValue );\n\t\t\t\t\t}\n\t\t\t\t\t//--- end Find Date or Keyword ---//\t\n\n\t\t\t\tList<BELEvent> findEventsList1 = null;\t//from getfindlist in EBMainActivity (current or saved)\n\t\t\t\tfindEventsList1 = new ArrayList<BELEvent>(eventsListFind);// = m_webEventsList);\n\t\t\t\tCollections.copy(findEventsList1, eventsListFind); \t// no need: after construct w/collection copy is already made\n\n\t\t\t\tFindHandler fH = new FindHandlerImpl(this, m_mainAppScreen);\n\t\t\t\tVector<BELEvent> findEventsList2 = new Vector<BELEvent> ( findEventsList1 );\n\t\t\t\t// Pass the result back down the line.\n\n\t\t\t\t// JGB - Ticket # 86 : Date search fails to return valid events\n\t\t\t\tif (lDate == 0)\n\t\t\t\t\teventsListResult = fH.doFind( findEventsList2, findKey, findValue);\n\t\t\t\telse\n\t\t\t\t\teventsListResult = fH.doFind( findEventsList2, lDate );\n\t\t\t\t//eventsListResult = fH.doFind( findEventsList2, findKey, findValue);\n\n\t\t\t\tm_mainAppScreen.setEventList(eventsListResult, \"Search Result\");\n\t\t\t\tstr = \"Found \" + eventsListResult.size();\n\t\t\t\tLog.e(\"Search result\", str);\n\t\t\t\tMakeToast.makeToast(this, str, MakeToast.LEVEL_USER);\n\n\t\t\t\tm_statusView = (TextView) (m_mainAppView.findViewById(R.id.status_line));\n\t\t\t\tm_statusView.setText(str);\n\n\t\t\t\tsetResult( RESULT_OK ); \n\t\t\t\t}\t// RESULT_OK\n\t\t\t\telse { //--- not RESULT_OK --- \n\t\t\t\t// failed to return Find criteria\n\t\t\t\tLog.i(TAG, \"Unknown Find Criteria\");\n\t\t\t\tsetResult( RESULT_CANCELED ); \n\t\t\t\t}\n\n\t\t}", "public interface SearchContract {\n\n interface View extends BaseView {\n\n int REQUEST_GET_FILTER_CRITERIA = 1;\n int REQUEST_GET_REFRESH_INTENT = 2;\n\n void processSearchResult(List<ContentData> contentDataList, List<ContentSearchFilter> appliedFilters);\n\n void processSearchFailure(String errorCode);\n\n void navigateToContentDetailsActivity(ContentData contentData);\n\n void showSearchingContent();\n\n void setContentSearchResult(ContentSearchResult contentSearchResult);\n\n void setContentSearchCriteria(ContentSearchCriteria contentSearchCriteria);\n\n void setContentsList(List<ContentData> contentDataList);\n\n //// TODO: 12/9/17 This method should be removed, as currently SearchHistortAdapter has dependency, so is kept\n void hideSoftKeyBoard();\n\n void refreshContentListAdapter(List<ContentData> contentDataList);\n\n Set<String> getIdentifierList();\n }\n\n interface Presenter extends BasePresenter {\n\n int ACTION_NONE = -1;\n int ACTION_SORT = 1;\n int ACTION_FILTER = 2;\n int REQUEST_GET_FILTER_CRITERIA = 1;\n int REQUEST_GET_REFRESH_INTENT = 2;\n\n void fetchRecommendedContent(String searchedQuery);\n\n void fetchRelatedContent(String contentId);\n\n void applyFilters(ContentSearchCriteria.SearchBuilder searchBuilder, Profile profile);\n\n void applySortNSearch(String sortType, SortOrder sortOrder, boolean isSearchedExplicitly);\n\n void manageImportResponse(ContentImportResponse importResponse);\n }\n}", "@java.lang.Override\n public com.clarifai.grpc.api.SearchOrBuilder getSearchOrBuilder() {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }", "List<SportActivity> findAll();", "public S(Activity activity){\n\t\tthis.activity = activity;\n\t\t\n\t}", "public static ApiActivityBase getApiActivity(Object activity) {\n\n if (!(activity instanceof ApiActivityBase)) {\n\n throw new ResponseException(\"Not an ApiActivityBase object: \"\n + activity.toString());\n }\n return (ApiActivityBase) activity;\n }", "public String queryActivityLocations(int top, String activity, Date start, Date end) {\n String str = \"\";\n Activity a;\n if (activities.containsKey(activity)) {\n a = activities.get(activity);\n for (Map.Entry<Integer, LocationInterface> l : a.getLocations().entrySet()) {\n if (start == null || end == null) {\n str += l.getValue() + \"\\n\";\n top--;\n } else {\n if (l.getValue().getDateManager().contains\n (start) &&\n l.getValue().getDateManager().contains(end)) {\n str += l.getValue() + \"\\n\";\n top--;\n }\n }\n if (top <= 0) {\n break;\n }\n }\n }\n return str;\n }", "@PreAuthorize(\"hasPermission('string', 'ALL', new org.jasig.portal.spring.security.evaluator.AuthorizableActivity('UP_PERMISSIONS', 'VIEW_PERMISSIONS'))\")\n @RequestMapping(value=\"/permissions/{activity}/targets.json\", method = RequestMethod.GET)\n public ModelAndView getTargets(@PathVariable(\"activity\") Long activityId,\n @RequestParam(\"q\") String query,\n HttpServletRequest req, HttpServletResponse response)\n throws Exception {\n \n IPermissionActivity activity = permissionOwnerDao.getPermissionActivity(activityId);\n IPermissionTargetProvider provider = targetProviderRegistry.getTargetProvider(activity.getTargetProviderKey());\n \n SortedSet<IPermissionTarget> matchingTargets = new TreeSet<IPermissionTarget>();\n // add matching results for this identifier provider to the set\n Collection<IPermissionTarget> targets = provider.searchTargets(query);\n for (IPermissionTarget target : targets) {\n if ((StringUtils.isNotBlank(target.getName()) && target\n .getName().toLowerCase().contains(query))\n || target.getKey().toLowerCase().contains(query)) {\n matchingTargets.addAll(targets);\n }\n }\n\n ModelAndView mv = new ModelAndView();\n mv.addObject(\"targets\", targets);\n mv.setViewName(\"json\");\n \n return mv;\n }", "public abstract S getSearch();", "public interface SearchView extends BaseView {\n void showSearchData(List<Category> categories, List<Category> subCategory, List<Region> regions, List<Region> districts);\n void showDistrictSpinner();\n void hideDistrictSpinner();\n void changeDistricts(List<Region> districts);\n void changeSubCategory(List<Category> subCategory);\n void openCompanyListActivity(Intent intent);\n}", "SportActivity findById(Long id);", "@UnsupportedAppUsage\n public Cursor getSuggestions(SearchableInfo searchable, String query) {\n return getSuggestions(searchable, query, -1);\n }", "public interface IViewListActivity {\n\n Context getBaseContext();\n\n View findViewById(final int id);\n\n void onResultList(final List<Filme> filmes);\n\n void setSupportActionBar(Toolbar toolbar);\n\n void startSearch();\n\n void onErrorSearch(final String errorMsg);\n\n void onSuccess(final Filme filme);\n\n}", "public QueryInfoSearch getQueryInfoSearch() {\n if (queryInfoSearch != null) return queryInfoSearch;\n queryInfoSearch = new QueryInfoSearch();\n return queryInfoSearch;\n }", "protected ScllActivity iGetActivity() {\n\t\treturn (ScllActivity) getActivity();\n\t}", "public BookInfoResultsActivity(Context context, BookInfoActivity activity ) {\n this.context = context;\n this.statusField = statusField;\n this.roleField = roleField;\n //this.linearBox = linearBox;\n this.activity = activity;\n }", "public List<Activity> mapActivitiesRequiest(final List<ActivityRequest> allActivitiesRequest) {\n List<Activity> Activities = new ArrayList<>();\n if (!(allActivitiesRequest == null)){\n for (ActivityRequest activityRequest : allActivitiesRequest) {\n Activities.add(\n Activity.builder().id(UUID.randomUUID().toString())\n .description(activityRequest.getDescription())\n .feedback(activityRequest.getFeedback())\n .name(activityRequest.getName())\n .prices(activityRequest.getPrices())\n .tags(activityRequest.getTags())\n .parkName(activityRequest.getParkName())\n .planName(activityRequest.getPlanName())\n .build()\n );\n }\n }\n\n return Activities;\n }", "public List<ExoSocialActivity> getActivitiesOfIdentities(ActivityBuilderWhere where, ActivityFilter filter,\n long offset, long limit) throws ActivityStorageException;", "public List<ExoSocialActivity> getActivities(Identity owner, Identity viewer, long offset, long limit) throws ActivityStorageException;", "@Override\r\n @SuppressWarnings(\"unchecked\")\r\n public Serializable execute(final PrincipalActionContext inActionContext)\r\n {\r\n // get the user's accountId\r\n final String userAccountId = inActionContext.getPrincipal().getAccountId();\r\n\r\n // get the user's Id\r\n final long userEntityId = inActionContext.getPrincipal().getId();\r\n\r\n // get the request\r\n GetActivitiesByCompositeStreamRequest inRequest = (GetActivitiesByCompositeStreamRequest) inActionContext\r\n .getParams();\r\n\r\n List<Long> allKeys;\r\n\r\n // Get the list of activity ids from the context state, if possible (should be set by validation strategy)\r\n if (inActionContext.getState().containsKey(\"activityIds\"))\r\n {\r\n allKeys = (List<Long>) inActionContext.getState().get(\"activityIds\");\r\n }\r\n else\r\n {\r\n // Gets the list of activity ids for this composite stream\r\n if (log.isTraceEnabled())\r\n {\r\n log.trace(\"Loading list of activity ids for composite stream with id #\"\r\n + inRequest.getCompositeStreamId() + \", person id #\" + userEntityId);\r\n }\r\n allKeys = idsMapper.execute(inRequest.getCompositeStreamId(), userEntityId);\r\n }\r\n\r\n // the list of activities to return\r\n List<ActivityDTO> results = new ArrayList<ActivityDTO>();\r\n\r\n // the results list\r\n PagedSet<ActivityDTO> pagedSet = new PagedSet<ActivityDTO>();\r\n pagedSet.setPagedSet(results);\r\n pagedSet.setTotal(allKeys.size());\r\n\r\n // The set of group ids that the user can see - this is only fetched if\r\n // necessary\r\n GroupIdSetWrapper accessibleGroupIdsSetWrapper = new GroupIdSetWrapper(userEntityId);\r\n\r\n // used for paging, this is the next activity in the list to add to the\r\n // current page\r\n int startingIndex = 0;\r\n\r\n // the batch size for each page - increases with every page with\r\n // batchPageSizeMultiplier\r\n int batchSize = inRequest.getMaxResults();\r\n\r\n // paging loop\r\n do\r\n {\r\n // multiply the batch size by the multiplier to avoid extra cache\r\n // hits\r\n batchSize *= batchPageSizeMultiplier;\r\n\r\n // build a list of activity ids to fetch for this page, and\r\n // increment the start index for next page\r\n List<Long> page = new ArrayList<Long>();\r\n\r\n // the starting index for this batch - for logging\r\n int thisBatchStartIndex = -1;\r\n for (int i = startingIndex; i < allKeys.size() && page.size() < batchSize; i++, startingIndex++)\r\n {\r\n if (allKeys.get(i) < inRequest.getMaxActivityId() && allKeys.get(i) > inRequest.getMinActivityId())\r\n {\r\n if (thisBatchStartIndex < 0)\r\n {\r\n thisBatchStartIndex = i;\r\n }\r\n page.add(allKeys.get(i));\r\n }\r\n }\r\n\r\n if (log.isTraceEnabled())\r\n {\r\n log.trace(\"Paging loop - page size: \" + inRequest.getMaxResults() + \"; batchSize: \" + batchSize\r\n + \"; activity list size: \" + allKeys.size() + \"; starting index: \" + thisBatchStartIndex);\r\n }\r\n\r\n // get the activities from cache to see which we have access to\r\n List<ActivityDTO> pagedResults = bulkActivitiesMapper.execute(page);\r\n\r\n // add the activities that the user can see to the result page\r\n for (int i = 0; i < pagedResults.size() && results.size() < inRequest.getMaxResults(); i++)\r\n {\r\n ActivityDTO activityDTO = pagedResults.get(i);\r\n\r\n if (hasAccessToActivity(userEntityId, activityDTO, accessibleGroupIdsSetWrapper))\r\n {\r\n results.add(activityDTO);\r\n }\r\n }\r\n }\r\n while (results.size() < inRequest.getMaxResults() && startingIndex < allKeys.size());\r\n\r\n PersonModelView person = peopleMapper.execute(Arrays.asList(userAccountId)).get(0);\r\n\r\n // execute filter strategies.\r\n for (ActivityFilter filter : filters)\r\n {\r\n filter.filter(results, person);\r\n }\r\n\r\n if (log.isTraceEnabled())\r\n {\r\n log.trace(\"Returning \" + results.size() + \" activities.\");\r\n }\r\n return pagedSet;\r\n }", "public LearningResultHasActivity[] findByActivity(int activityIdActivity, String namePhase, String projectCode) throws LearningResultHasActivityDaoException;", "@Override\r\n\tpublic Object getModel() {\n\t\treturn searchInfo;\r\n\t}", "private void actUponIntent(Intent intent){\n BusinessesFragmentViewModel model =\n ViewModelProviders.of(this).get(BusinessesFragmentViewModel.class);\n\n boolean isAdvancedSearchIntent = false;\n\n if(intent != null){\n // Trying to see if we came from the advanced search activity and need to perform a search\n AdvancedSearchInput advancedSearchInput = intent.getParcelableExtra(ADVANCED_SEARCH_INPUT_KEY);\n if(advancedSearchInput != null){\n\n // Indicating the list of businesses was loaded and there is no need to load all businesses\n isAdvancedSearchIntent = true;\n model.getAdvancedSearchBusinesses(advancedSearchInput).observe(this, new Observer<List<Business>>() {\n @Override\n public void onChanged(@Nullable List<Business> businesses) {\n //Toast.makeText(getApplicationContext(),\"onChanged from search\", Toast.LENGTH_SHORT).show();\n }\n });\n }\n }\n\n // The intent is not advanced search intent\n if(!isAdvancedSearchIntent){\n // Loading all businesses\n model.getAllBusinesses().observe(this, new Observer<List<Business>>() {\n @Override\n public void onChanged(@Nullable List<Business> businesses) {\n //Toast.makeText(getApplicationContext(),\"onChanged from all\", Toast.LENGTH_SHORT).show();\n }\n });\n }\n }", "@Override\n\tpublic List<ActivityAbstractInfo> list(ActivityVo record) {\n\t\tActivityAbstractInfoExample example = new ActivityAbstractInfoExample();\n\t\tCriteria criteria = example.createCriteria();\n\t\t\n\t\texample.setOrderByClause(\"tms asc\");\n\t\treturn activityAbstractInfoMapper.selectByExample(example);\n\t}", "public SearchResponse search(SearchRequest request) throws SearchServiceException;", "public interface ISearchView extends BaseView {\n String getInputContent();\n void setSearchResult(List<Person> data);\n}", "public static Activity scanForActivity(Context context) {\n if (context == null) return null;\n if (context instanceof Activity) {\n return (Activity) context;\n } else if (context instanceof ContextWrapper) {\n return scanForActivity(((ContextWrapper) context).getBaseContext());\n }\n return null;\n }", "@java.lang.Override\n public com.clarifai.grpc.api.Search getSearch() {\n if (searchBuilder_ == null) {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n } else {\n if (inputSourceCase_ == 10) {\n return searchBuilder_.getMessage();\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }\n }", "List<Activity> getAllActivity(Map<String,String> map);", "@GetMapping(\"/at-activity-statuses\")\n @Timed\n public ResponseEntity<List<AtActivityStatusesDTO>> getAllAtActivityStatuses(Pageable pageable) {\n log.debug(\"REST request to get a page of AtActivityStatuses\");\n Page<AtActivityStatuses> page = atActivityStatusesRepository.findAll(pageable);\n HttpHeaders headers = PaginationUtil.generatePaginationHttpHeaders(page, \"/api/at-activity-statuses\");\n return new ResponseEntity<>(atActivityStatusesMapper.toDto(page.getContent()), headers, HttpStatus.OK);\n }", "public Activity mapActivity(final ActivityRequest activityRequest) {\n Activity activity = Activity.builder().id(UUID.randomUUID().toString())\n .description(activityRequest.getDescription())\n .feedback(activityRequest.getFeedback())\n .name(activityRequest.getName())\n .prices(activityRequest.getPrices())\n .tags(activityRequest.getTags())\n .parkName(activityRequest.getParkName())\n .planName(activityRequest.getPlanName())\n .build();\n return activity;\n }", "public interface IUserDetilSearchActivity extends IMVPList{\n\n void searchComplete(List<UserDetilBean.Data> datas);\n\n void loadMore(List<UserDetilBean.Data> datas);\n}", "@java.lang.Override\n public com.clarifai.grpc.api.SearchOrBuilder getSearchOrBuilder() {\n if ((inputSourceCase_ == 10) && (searchBuilder_ != null)) {\n return searchBuilder_.getMessageOrBuilder();\n } else {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }\n }", "@Override\n public SearchResultInfo search(SearchRequestInfo searchRequest) {\n try\n {\n SearchResultInfo searchResult = searchDispatcher.search(searchRequest, ContextUtils.getContextInfo());\n List<SearchParamInfo> params = searchRequest.getParams();\n if (params != null && params.size() > 0) {\n SearchParamInfo firstParam = params.get(0);\n if (firstParam.getKey().equals(\"lu.queryParam.cluVersionIndId\")) {//FIXME can this special case be handled after this call?\n doIdTranslation(searchResult);\n }\n }\n return searchResult;\n } catch (Exception ex) {\n // Log exception \n ex.printStackTrace();\n throw new RuntimeException(ex);\n }\n }", "public List<ExoSocialActivity> getSpaceActivities(Identity spaceIdentity, int index, int limit);", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n\n getMenuInflater().inflate(R.menu.menu_main, menu);\n\n // Associate searchable configuration with the SearchView\n SearchManager searchManager = (SearchManager) getSystemService(Context.SEARCH_SERVICE);\n SearchView searchView = (SearchView) menu.findItem(R.id.menuSearch).getActionView();\n searchView.setSearchableInfo(searchManager.getSearchableInfo(getComponentName()));\n\n searchView.setIconifiedByDefault(false);\n searchView.setFocusable(true);\n searchView.setIconified(false);\n\n\n\n if( Intent.ACTION_VIEW.equals(getIntent().getAction())){\n Intent i = new Intent(SearchActivity.this, SearchActivity.class);\n query = getIntent().getStringExtra(SearchManager.QUERY);\n i.setAction(Intent.ACTION_SEARCH);\n i.putExtra(\"query\", query);\n startActivity(i);\n\n Toast.makeText(SearchActivity.this, query, Toast.LENGTH_SHORT).show();\n }\n\n searchView.setOnQueryTextListener(new SearchView.OnQueryTextListener() {\n @Override\n public boolean onQueryTextSubmit(String query) {\n // INPUT CODE HERE\n Toast.makeText(SearchActivity.this, query, Toast.LENGTH_SHORT).show();\n return false;\n }\n\n @Override\n public boolean onQueryTextChange(String newText) {\n // INPUT CODE HERE\n// String[] q = {\"promotion_name\"};\n// String[] t = {newText};\n// MySuggestionProvider suggestion = new MySuggestionProvider();\n// suggestion.query(Uri.parse(\"database.it.kmitl.ac.th/it_35\"), q, \"promotion_name LIKE %?%\", t, null);\n return false;\n }\n });\n return true;\n }", "public List<ExoSocialActivity> getUserSpacesActivities(Identity ownerIdentity, int offset, int limit);", "private Intent createVoiceAppSearchIntent(Bundle appData)\n\t{\n\t\tComponentName searchActivity = mSearchable.getSearchActivity();\n\t\t// create the necessary intent to set up a search-and-forward operation\n\t\t// in the voice search system. We have to keep the bundle separate,\n\t\t// because it becomes immutable once it enters the PendingIntent\n\t\tIntent queryIntent = new Intent(Intent.ACTION_SEARCH);\n\t\tqueryIntent.setComponent(searchActivity);\n\t\tPendingIntent pending = PendingIntent.getActivity(getContext(), 0,\n\t\t\t\tqueryIntent, PendingIntent.FLAG_ONE_SHOT);\n\t\t// Now set up the bundle that will be inserted into the pending intent\n\t\t// when it's time to do the search. We always build it here (even if\n\t\t// empty)\n\t\t// because the voice search activity will always need to insert \"QUERY\"\n\t\t// into\n\t\t// it anyway.\n\t\tBundle queryExtras = new Bundle();\n\t\tif (appData != null)\n\t\t{\n\t\t\tqueryExtras.putBundle(SearchManager.APP_DATA, appData);\n\t\t}\n\t\t// Now build the intent to launch the voice search. Add all necessary\n\t\t// extras to launch the voice recognizer, and then all the necessary\n\t\t// extras\n\t\t// to forward the results to the searchable activity\n\t\tIntent voiceIntent = new Intent(\n\t\t\t\tRecognizerIntent.ACTION_RECOGNIZE_SPEECH);\n\t\tvoiceIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);\n\t\t// Add all of the configuration options supplied by the searchable's\n\t\t// metadata\n\t\tString languageModel = getString(mSearchable.getVoiceLanguageModeId());\n\t\tif (languageModel == null)\n\t\t{\n\t\t\tlanguageModel = RecognizerIntent.LANGUAGE_MODEL_FREE_FORM;\n\t\t}\n\t\tString prompt = getString(mSearchable.getVoicePromptTextId());\n\t\tString language = getString(mSearchable.getVoiceLanguageId());\n\t\tint maxResults = mSearchable.getVoiceMaxResults();\n\t\tif (maxResults <= 0)\n\t\t{\n\t\t\tmaxResults = 1;\n\t\t}\n\t\tvoiceIntent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL,\n\t\t\t\tlanguageModel);\n\t\tvoiceIntent.putExtra(RecognizerIntent.EXTRA_PROMPT, prompt);\n\t\tvoiceIntent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, language);\n\t\tvoiceIntent.putExtra(RecognizerIntent.EXTRA_MAX_RESULTS, maxResults);\n\t\tvoiceIntent.putExtra(EXTRA_CALLING_PACKAGE,\n\t\t\t\tsearchActivity == null ? null : searchActivity.toShortString());\n\t\t// Add the values that configure forwarding the results\n\t\tvoiceIntent.putExtra(RecognizerIntent.EXTRA_RESULTS_PENDINGINTENT,\n\t\t\t\tpending);\n\t\tvoiceIntent.putExtra(\n\t\t\t\tRecognizerIntent.EXTRA_RESULTS_PENDINGINTENT_BUNDLE,\n\t\t\t\tqueryExtras);\n\t\treturn voiceIntent;\n\t}", "@Override\n\tpublic void startActivity(Intent intent) {\n\t if (Intent.ACTION_SEARCH.equals(intent.getAction())) {\n\t intent.putExtra(\"ACTIVE_VIEW_PAGE\", mPager.getCurrentItem());\n\t }\n\t super.startActivity(intent);\n\t}", "SearchResponse search(Pageable pageable, QueryBuilder query, AggregationBuilder aggregation);", "@GetMapping\n public ResponseEntity<?> getAllActivities(){\n final ResponseEntity response;\n response = new ResponseEntity<>(mapActivitiesResponse(activityServices.getAllActivities()), HttpStatus.ACCEPTED);\n return response;\n\n }", "boolean getUseSearchResult();", "@Action\r\n public String search() {\n ServiceFunctions.clearCache();\r\n\r\n if (isAdmin()) {\r\n return adminSearch();\r\n }\r\n\r\n return publicSearch();\r\n }", "@Override\n\tpublic List<SApplicationcategory> find(String searchinfo, int page, int rows) {\n\t\tString hql=\"from \"+tablename +\" where 1=1 \";\t\t\n\t\tif(searchinfo!=null&& !searchinfo.equals(\"\")){\t\t\t\n\t\t\thql+=\" and t.name like '%\"+ searchinfo+\"%' \";\n\t\t}\t\t\n\t\treturn SApplicationcategorydao.find(hql, page, rows);\n\t}", "public MemberResponse getTeamActivity(GenericRequest genericRequest);", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.bin, menu);\n SearchManager searchManager = (SearchManager) getSystemService(Context.SEARCH_SERVICE);\n MenuItem searchItem = menu.findItem(R.id.action_search);\n final SearchView searchView = (SearchView) MenuItemCompat.getActionView(searchItem);\n if (null != searchView) {\n searchView.setSearchableInfo(searchManager\n .getSearchableInfo(getComponentName()));\n searchView.setIconifiedByDefault(false);\n }\n SearchView.OnQueryTextListener queryTextListener = new SearchView.OnQueryTextListener() {\n public boolean onQueryTextChange(String newText) {\n // this is your adapter that will be filtered\n return true;\n }\n\n public boolean onQueryTextSubmit(String query) {\n //Here u can get the value \"query\" which is entered in the search box.\n Intent next = new Intent(BinActivity.this, SearchActivity.class);\n next.setFlags(Intent.FLAG_ACTIVITY_REORDER_TO_FRONT);\n next.putExtra(\"title\",query);\n startActivity(next);\n return true;\n }\n };\n searchView.setOnQueryTextListener(queryTextListener);\n return true;\n }", "public LearningResultHasActivity findByPrimaryKey(LearningResultHasActivityPk pk) throws LearningResultHasActivityDaoException;", "@Provides\n public Activity provideActivity() {\n return activity;\n }", "@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n\n\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.menu_dashboard, menu);\n\n\n // Associate searchable configuration with the SearchView\n SearchManager searchManager =\n (SearchManager) getSystemService(Context.SEARCH_SERVICE);\n\n SearchView searchView =\n (SearchView) menu.findItem(R.id.search).getActionView();\n\n\n\n /*\n searchView.setSearchableInfo(\n searchManager.getSearchableInfo(getComponentName()));\n */\n\n\n return true;\n\n }", "public IPermissionActivity getPermissionActivity(String ownerFname, String activityFname);", "Activity activity();", "@NonNull\n public ActivityInfo getActivityInfo() {\n return mInternal.getActivityInfo();\n }", "protected void showSearch() {\n \t\tIntent search = new Intent(this, SearchActivity.class);\t\t\t\t\n \t\tthis.startActivity(search);\n \t}" ]
[ "0.6192551", "0.6093517", "0.59260404", "0.5675438", "0.56384236", "0.5522603", "0.5472415", "0.53566426", "0.53353786", "0.5292048", "0.5276713", "0.5274233", "0.5163602", "0.5158554", "0.5154783", "0.51369005", "0.5110308", "0.5099288", "0.5043863", "0.50157374", "0.5005391", "0.4992212", "0.49542743", "0.49447402", "0.49402064", "0.4938293", "0.49382848", "0.49366286", "0.4935804", "0.4934561", "0.49182034", "0.49174157", "0.4910519", "0.4904145", "0.48986614", "0.48790985", "0.48683217", "0.48622122", "0.4833018", "0.48053214", "0.4771707", "0.47678533", "0.4766383", "0.47562167", "0.47548112", "0.47368166", "0.4736256", "0.47231856", "0.4707825", "0.47069177", "0.470384", "0.4694859", "0.46863195", "0.46860608", "0.46799162", "0.46785748", "0.46696317", "0.46681982", "0.46597365", "0.4659214", "0.46584433", "0.46465737", "0.46461436", "0.4644711", "0.4641363", "0.4635261", "0.4627197", "0.46160856", "0.45935595", "0.45868468", "0.45866182", "0.45791852", "0.45790812", "0.4574485", "0.45610112", "0.4554581", "0.45512947", "0.45288235", "0.45243838", "0.45213884", "0.4519024", "0.4516866", "0.45118093", "0.44990107", "0.44980073", "0.44914252", "0.44910532", "0.449018", "0.44880617", "0.44879752", "0.4479604", "0.44735894", "0.4472089", "0.4469361", "0.4469028", "0.44678584", "0.44666994", "0.44650358", "0.4464928", "0.44646144" ]
0.7254033
0
Returns a list of the searchable activities that can be included in global search.
public List<SearchableInfo> getSearchablesInGlobalSearch() { return getSearchables(UserHandle.getCallingUserId()).getSearchablesInGlobalSearchList(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public List<ResolveInfo> getGlobalSearchActivities() {\n try {\n return mService.getGlobalSearchActivities();\n } catch (RemoteException ex) {\n throw ex.rethrowFromSystemServer();\n }\n }", "public List<SearchableInfo> getSearchablesInGlobalSearch() {\n try {\n return mService.getSearchablesInGlobalSearch();\n } catch (RemoteException e) {\n throw e.rethrowFromSystemServer();\n }\n }", "public List<Activity> getAllActivities();", "public ComponentName getGlobalSearchActivity() {\n return getSearchables(UserHandle.getCallingUserId()).getGlobalSearchActivity();\n }", "public static Collection getAllActivities() throws EnvoyServletException\n {\n try\n {\n return ServerProxy.getJobHandler().getAllActivities();\n }\n catch (Exception e)\n {\n throw new EnvoyServletException(e);\n }\n }", "public String getAllRunningActivities() {\n return \"\";\n }", "List<String> getActiveFilters();", "List<IntentFilter> findFilters(Intent intent);", "public List<Activity> getActivities() {\n getRoutesFromDao();\n updateOverridenRoutes();\n List<Activity> activities = new ArrayList<>();\n for(Route route: routes){\n if(route.getActivity().isExist()){\n activities.add(route.getActivity());\n }\n }\n for(Route route: overrideTeamRoutes.values()){\n if(route.getActivity().isExist()){\n activities.add(route.getActivity());\n }\n }\n Collections.sort(activities, (a,b) -> {\n return ActivityUtils.stringToTime(a.getDetail(Activity.DATE))\n .compareTo(ActivityUtils.stringToTime(b.getDetail(Activity.DATE)));\n });\n return activities;\n }", "public Item2Vector<ConceptActivity> getConceptActivities()\r\n\t{\r\n\t\treturn activity_links;\r\n\t}", "public Activities activities() {\n return this.activities;\n }", "public Iterator<Activity> getActivitiesIterator(){\n\t\treturn activities.iterator();\n\t}", "public ArrayList<Activity> getActivities(){\r\n return activities;\r\n }", "public ComponentName getGlobalSearchActivity() {\n try {\n return mService.getGlobalSearchActivity();\n } catch (RemoteException ex) {\n throw ex.rethrowFromSystemServer();\n }\n }", "public String displayAllActivities() {\n String str = \"\";\n for (Map.Entry<String, Activity> a : activities.entrySet()) {\n str += a.getKey() + \",\";\n }\n return str;\n }", "List<EcsFavourableActivity> selectAll();", "public SortedSet<ActivityProcessor> getActivityProcessors();", "@CustomAnnotation(value = \"FIND_ALL_ACTIVITY\")\n\t@RequestMapping(\n\t\t\tvalue=\"/activities\",\n\t\t\tmethod=RequestMethod.GET\n\t\t\n\t\t\t)\n\tpublic ResponseEntity<Set<Activity>> findAcitities(){\n\t\treturn new ResponseEntity<Set<Activity>>(activityService.findAll(), HttpStatus.OK);\n\t}", "public static List<ResolveInfo> getCompatibleAppsForSharingText() {\n return PackageManagerUtils.queryIntentActivities(getShareTextAppCompatibilityIntent(),\n PackageManager.MATCH_DEFAULT_ONLY | PackageManager.GET_RESOLVED_FILTER);\n }", "boolean getSearchable();", "public List<SearchedItem> getAllSearchedItems(StaplerRequest req, String tokenList) throws IllegalAccessException, IllegalArgumentException, InvocationTargetException, ServletException {\n Set<String> filteredItems= new TreeSet<String>();\n AbstractProject p;\n \n if(\"Filter\".equals(req.getParameter(\"submit\"))){ //user wanto to change setting for this search\n filteredItems = getFilter(req);\n }\n else{\n filteredItems = User.current().getProperty(SearchProperty.class).getFilter();\n }\n req.setAttribute(\"filteredItems\", filteredItems);\n return getResolvedAndFilteredItems(tokenList, req, filteredItems);\n }", "public Map<IcActivity, Boolean> getActivities(String groupFilter, IapiTool ApiTool, IcUsers user);", "protected Collection<String> getStravaScopes() {\n return Arrays.asList(\"activity:read\");\n }", "@PreAuthorize(\"hasPermission('string', 'ALL', new org.jasig.portal.spring.security.evaluator.AuthorizableActivity('UP_PERMISSIONS', 'VIEW_PERMISSIONS'))\")\n @RequestMapping(value=\"/permissions/activities.json\", method = RequestMethod.GET)\n public ModelAndView getActivities(\n @RequestParam(value=\"q\", required=false) String query,\n HttpServletRequest request, HttpServletResponse response)\n throws Exception {\n \n if (StringUtils.isNotBlank(query)) {\n query = query.toLowerCase();\n }\n\n List<IPermissionActivity> activities = new ArrayList<IPermissionActivity>();\n Collection<IPermissionOwner> owners = permissionOwnerDao.getAllPermissionOwners();\n for (IPermissionOwner owner : owners) {\n for (IPermissionActivity activity : owner.getActivities()) {\n if (StringUtils.isBlank(query) || activity.getName().toLowerCase().contains(query)) {\n activities.add(activity);\n }\n }\n }\n Collections.sort(activities);\n \n ModelAndView mv = new ModelAndView();\n mv.addObject(\"activities\", activities);\n mv.setViewName(\"json\");\n \n return mv;\n }", "private ArrayList<String> getCritterOptionsMenu() {\n\t\tArrayList<String> items = new ArrayList<String>();\n\t\tArrayList<Class<Critter>> critters = getCritterClasses(this.getClass().getPackage());\n\t\tfor (Class<Critter> c:critters){\n\t\t\titems.add(c.getSimpleName());\n\t\t}\n\t\treturn items;\n\t}", "@NotNull\n @Generated\n @Selector(\"userActivities\")\n public native NSSet<? extends NSUserActivity> userActivities();", "public LearningResultHasActivity[] findAll() throws LearningResultHasActivityDaoException;", "private void startFilterCriteria() {\n\n\t\tLog.i(TAG, \"startFilterCriteria()\");\n\n\t\tFindUtilsImpl utils = new FindUtilsImpl();\n\t\tSet<String> tSet = utils.getTypeSet((ArrayList<BELEvent>) eventsListFind);\n\t\tArrayList<String> tList = new ArrayList<String>(cleanSet(tSet));\n\n\t\tString str = \"start FilterCriteria.class\";\n\t\tLog.i(TAG, \"Search Activity: \" +str);\n\n\t\t\tIntent intent = new Intent(context, FilterCriteria.class);\n\t\t\tintent.putStringArrayListExtra(\"TypesKey\", tList);\n\t\t\t//TODO capture activity not found exception\n\t\t\t//\t((Activity) context).startActivityForResult(intent,Constants.FIND_REQ);\n\t\t\tstartActivityForResult(intent,Constants.FIND_REQ);\n\n\t\t\tstr = \"startActivity(intent,Constants.FIND_REQ)\";\n\t\t\t//\tstr = \"startActivityForResult(intent,Constants.FIND_REQ)\";\n\t\t\tLog.e(\"Search Dlg: \", str);\n\t\t}", "public SearchCondition[] getConditions();", "public List<Interview> getActiveInterviews() {\n QueryBase query = new AccessibleInterviews(getDefaultAdminUser(), 2, \n \"desc\", null, 0, Integer.MAX_VALUE);\n \n List<InterviewFilter> filters = new ArrayList<InterviewFilter>(1);\n InterviewFilter filter = new ByActive();\n filter.include(\"true\");\n filters.add(filter);\n \n QueryFilterListBinder filteredQuery = \n new QueryFilterListBinder(query, filters);\n filteredQuery.init(2, \"desc\", 0, Integer.MAX_VALUE);\n QueryResult result = filteredQuery.executeQuery();\n \n return result.getList();\n }", "private void searchforResults() {\n\n List<String> queryList = new SavePreferences(this).getStringSetPref();\n if(queryList != null && queryList.size() > 0){\n Log.i(TAG, \"Searching for results \" + queryList.get(0));\n Intent searchIntent = new Intent(Intent.ACTION_WEB_SEARCH);\n searchIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);\n searchIntent.putExtra(SearchManager.QUERY, queryList.get(0));\n this.startActivity(searchIntent);\n }\n }", "public static List<String> distinctActivities(){\n\n List<String> uniqueActivities = studentActivities.stream()\n .distinct()\n .collect(toList());\n return uniqueActivities;\n }", "public List<Application> getVisibleApplications() {\n return null;\r\n }", "public static ArrayList<ArrayList<Object>> requestActiveGames() {\n\t\tarcade.requestActiveGames();\n\t\treturn arcade.getActiveGames();\n\t}", "public static List<SearchAnnotation> getDefaultVisibleAnnotationTypes() {\n\t\tList<SearchAnnotation> annotations = new ArrayList<SearchAnnotation>();\n\t\t\n\t\t{\n\t\t\tSearchAnnotation annotation = new SearchAnnotation();\n\t\t\tannotation.setAnnotationName( PSMAnnotationTypes.PERCOLATOR_ANNOTATION_TYPE_QVALUE );\n\t\t\tannotation.setSearchProgram( Constants.PROGRAM_NAME_PERCOLATOR );\n\t\t\tannotations.add( annotation );\n\t\t}\n\n\t\t{\n\t\t\tSearchAnnotation annotation = new SearchAnnotation();\n\t\t\tannotation.setAnnotationName( PSMAnnotationTypes.PERCOLATOR_ANNOTATION_TYPE_PEP );\n\t\t\tannotation.setSearchProgram( Constants.PROGRAM_NAME_PERCOLATOR );\n\t\t\tannotations.add( annotation );\n\t\t}\n\t\t\n\t\t{\n\t\t\tSearchAnnotation annotation = new SearchAnnotation();\n\t\t\tannotation.setAnnotationName( PSMAnnotationTypes.COMET_ANNOTATION_TYPE_EXPECT );\n\t\t\tannotation.setSearchProgram( Constants.PROGRAM_NAME_COMET );\n\t\t\tannotations.add( annotation );\n\t\t}\n\t\t\n\t\t{\n\t\t\tSearchAnnotation annotation = new SearchAnnotation();\n\t\t\tannotation.setAnnotationName( PSMAnnotationTypes.COMET_ANNOTATION_TYPE_HIT_RANK );\n\t\t\tannotation.setSearchProgram( Constants.PROGRAM_NAME_COMET );\n\t\t\tannotations.add( annotation );\n\t\t}\n\n\t\treturn annotations;\n\t}", "public Iterator<Activity> getActivitiesIterator(Filter<Activity> filter){\n\t\treturn activities.iterator(filter);\n\t}", "public List<Visit> getSearchResults() {\n\t\treturn searchResults;\n\t}", "public ActivityExample() {\n oredCriteria = new ArrayList<Criteria>();\n }", "public com.sforce.soap.enterprise.QueryResult getLookedUpFromActivities() {\r\n return lookedUpFromActivities;\r\n }", "public static List<String> getActivitiesOfAllStudents(){\r\n\t\treturn StudentRepository.getStudents()\r\n\t\t\t.stream() // Stream<Student>\r\n\t\t\t.map(Student :: getActivities) // Stream<List<String>>\r\n\t\t\t// want to pass a List and get back a stream of that list\r\n\t\t\t.flatMap(List :: stream) // Stream<String>\r\n\t\t\t.collect(Collectors.toList());\r\n\t}", "Collection<ActivityType> getActivityTypes() throws DataAccessException;", "@Override\n public Collection<IActivityThread> loadPublishedActivities(EntityReference entity, AssociatedActivityFilterType filterType, Bounds bounds) {\n return loadPublishedActivities(entity, filterType, bounds, ALL_MEMBERS, FRIENDS, WORLD);\n }", "public Set<String> Search(String search, boolean expandSearch){\n\t\tSet<String> result = new HashSet<>();\n\t\tresult.addAll(dm.searchForTag(search));\n\t\t\n\t\tif(expandSearch) {\n\t\t\tfor(String extraSearch : getSubClasses(search, false)) {\n\t\t\t\tSystem.out.println(\"Extra tag added to search: \" + extraSearch);\n\t\t\t\tresult.addAll(dm.searchForTag(extraSearch));\n\t\t\t}\t\t\t\n\t\t}\n\t\t\n\t\treturn result;\n\t}", "public AvailableSearchTerms getAvailableSearchTerms() {\n\t\treturn availableSearchTerms;\n\t}", "public IndexedList<Task> search() {\n\t\treturn null;\n\t}", "public List<Activity> mapActivitiesRequiest(final List<ActivityRequest> allActivitiesRequest) {\n List<Activity> Activities = new ArrayList<>();\n if (!(allActivitiesRequest == null)){\n for (ActivityRequest activityRequest : allActivitiesRequest) {\n Activities.add(\n Activity.builder().id(UUID.randomUUID().toString())\n .description(activityRequest.getDescription())\n .feedback(activityRequest.getFeedback())\n .name(activityRequest.getName())\n .prices(activityRequest.getPrices())\n .tags(activityRequest.getTags())\n .parkName(activityRequest.getParkName())\n .planName(activityRequest.getPlanName())\n .build()\n );\n }\n }\n\n return Activities;\n }", "private String[] getScopes() {\n return scopeTextView.getText().toString().toLowerCase().split(\" \");\n }", "public String[] getActivations(){\n return activations;\n }", "public static List fetchFieldsSupportingSearch() {\n return new ArrayList();\n }", "public synchronized static Set<String> getAvailableTypes() {\n populateCache();\n return Collections.unmodifiableSet(cache.keySet());\n }", "private ArrayList<String> findChampions() {\n\t\tString searchContents = search.getText();\n\t\tArrayList<String> result = new ArrayList<String>();\n\t\tfor (String c : CHAMPIONLIST) {\n\t\t\tif (c.toLowerCase().contains(searchContents.toLowerCase())) {\n\t\t\t\tresult.add(c);\n\t\t\t}\n\t\t}\n\t\treturn result;\n\t}", "Collection<DynamicAttribute> getActiveAttributes(String nodeType, boolean searchableOnly, String[] attributeTypes);", "public SearchableInfo getSearchableInfo(final ComponentName launchActivity) {\n if (launchActivity == null) {\n Log.e(TAG, \"getSearchableInfo(), activity == null\");\n return null;\n }\n return getSearchables(UserHandle.getCallingUserId()).getSearchableInfo(launchActivity);\n }", "public List<Recipe> searchWithIngredients(String[] keywords, boolean searchLocally, \r\n \t\t\t\t\t\t\t\t\t boolean searchFromWeb) {\n \t\treturn model.searchRecipe(keywords);\r\n \t}", "protected void listActivities(Schedule schedule) {\n List<Activity> activities = schedule.getActivities();\n List<String> list = new ArrayList<>();\n\n for (Activity activity : activities) {\n list.add(activity.getName());\n }\n listItem(list);\n }", "private ArrayList<String> getAllActions() {\n\t\t\n\t\tArrayList<String> allActions = new ArrayList<String>();\n\t\tallActions.add(\"Job fisher\");\n\t\tallActions.add(\"Job captain\");\n\t\tallActions.add(\"Job teacher\");\n\t\tallActions.add(\"Job factory worker\");\n\t\tallActions.add(\"Job factory boss\");\n\t\tallActions.add(\"Job elderly caretaker\");\n\t\tallActions.add(\"Job work outside village\");\n\t\tallActions.add(\"Job unemployed\");\n\t\treturn allActions;\n\t}", "public List<Brand> findActives( )\n {\n List<Brand> result;\n\n //region Instrumentation\n _logger.debug( \"Entrando a BrandDAO.findActives\");\n //endregion\n\n try\n {\n CriteriaQuery<Brand> query = _builder.createQuery( Brand.class );\n Root<Brand> root = query.from( Brand.class );\n\n query.select( root );\n query.where( _builder.equal( root.get( \"_status\" ), MasterStatus.ACTIVE ) );\n\n result = _em.createQuery( query ).getResultList();\n }\n catch ( Exception e )\n {\n throw new FindAllException( e, e.getMessage() );\n }\n\n //region Instrumentation\n _logger.debug( \"Saliendo de BrandDAO.findActives result {}\", result );\n //endregion\n\n return result;\n }", "public List<PackageInfo> getActiveApps() {\n\n ActivityManager activityManager = (ActivityManager) context.getSystemService(Context.ACTIVITY_SERVICE);\n List<ActivityManager.RunningAppProcessInfo> tasks = activityManager.getRunningAppProcesses();\n\n List<PackageInfo> installedApps = getInstalledApps(true);\n List<String> runningAppProcesses = new ArrayList<>();\n\n List<PackageInfo> activeApps = new ArrayList<>();\n\n //get the running processes\n for(ActivityManager.RunningAppProcessInfo i : tasks){\n runningAppProcesses.add(i.processName);\n }\n\n //Check which ones of those processes correspond to a process of one installed app\n // is excluded this way all the system processes\n for(PackageInfo app : installedApps){\n String pName = app.applicationInfo.processName;\n\n if(runningAppProcesses.contains(pName)){\n activeApps.add(app);\n }\n }\n return activeApps;\n }", "public List<String> searchTasks(String textToSearch) {\n return USER_TASKS.stream().filter(task -> task.getName().contains(textToSearch))\n .map(Task::toString).collect(Collectors.toList());\n }", "public ComponentName getWebSearchActivity() {\n return getSearchables(UserHandle.getCallingUserId()).getWebSearchActivity();\n }", "public String[] getStepActivities() {\r\n HistoryStep[] steps = currentProcessInstance.getHistorySteps();\r\n String[] activities = new String[steps.length];\r\n State resolvedState = null;\r\n \r\n for (int i = 0; i < steps.length; i++) {\r\n if (steps[i].getResolvedState() != null) {\r\n resolvedState = processModel.getState(steps[i].getResolvedState());\r\n activities[i] = resolvedState.getLabel(currentRole, getLanguage());\r\n } else\r\n activities[i] = \"\";\r\n }\r\n \r\n return activities;\r\n }", "boolean getUseSearchResult();", "List<String> getFilters();", "public static List<String> sortedActivities(){\n List<String> activities = distinctActivities();\n List<String> sortedActivities = activities.stream().sorted()\n .collect(toList());\n return sortedActivities;\n }", "private ArrayList<App> getApps() {\n PackageManager manager = getPackageManager();\n Intent i = new Intent(Intent.ACTION_MAIN, null);\n i.addCategory(Intent.CATEGORY_LAUNCHER);\n\n List<ResolveInfo> availableActivities = manager.queryIntentActivities(\n i, 0);\n ArrayList<App> temp = new ArrayList<App>();\n for (ResolveInfo ri : availableActivities) {\n App app = new App();\n app.packname = ri.activityInfo.packageName;\n app.appName = app.packname\n .substring(app.packname.lastIndexOf(\".\") + 1);\n app.icon = ri.activityInfo.loadIcon(manager);\n temp.add(app);\n }\n return temp;\n }", "@GET\r\n public AbstractCommonList getList(@Context UriInfo ui) {\r\n MultivaluedMap<String, String> queryParams = ui.getQueryParameters();\r\n String keywords = queryParams.getFirst(IQueryManager.SEARCH_TYPE_KEYWORDS_KW);\r\n AbstractCommonList list;\r\n if (keywords != null) {\r\n list = search(queryParams, keywords);\r\n } else {\r\n list = getList(queryParams);\r\n }\r\n return list;\r\n }", "ImmutableList<SchemaOrgType> getInteractivityTypeList();", "protected List<String> getActives() {\n\t\treturn myActives;\n\t}", "public List<ExoSocialActivity> getUserActivities(Identity owner) throws ActivityStorageException;", "List<Accessprofile> listWithCriteras(List<SearchCriteria> searchCriterias);", "public ArrayList<String> getAllRunningApp() {\n\t\tArrayList<String> apps = new ArrayList<String>();\n\t\tActivityManager activityManager = (ActivityManager)getSystemService(ACTIVITY_SERVICE);\n\t\tList<RunningAppProcessInfo> runningAppProcesses = activityManager.getRunningAppProcesses();\n\t\t\n\t\tfor (RunningAppProcessInfo runningAppProcessInfo : hgf)\n\t\t{\n\t\t apps.add(runningAppProcessInfo.processName);\n\t\t}\n\t\treturn apps;\n\t}", "boolean hasLocalSearchRequest();", "public IScapSyncSearchFacet[] getFacets();", "@Action\r\n public String search() {\n ServiceFunctions.clearCache();\r\n\r\n if (isAdmin()) {\r\n return adminSearch();\r\n }\r\n\r\n return publicSearch();\r\n }", "public void performMyActivitiesSearch(String regarding) throws InterruptedException {\n\t\tString methodID = \"performMyActivitiesSearch\";\n\t\t\n\t\tMyActivityViewsElements activitiesListView = PageFactory.initElements(driver, MyActivityViewsElements.class);\n\t\tHeaderButton headerButton = PageFactory.initElements(driver, HeaderButton.class); \n\t\t\t\t\n\t\t//Step: execute a filter-free search\n\t\theaderButton.showRightContextMenu();\n\t\tactivitiesListView.myActivitiesSearchTxtBox.click();\n\t\tThread.sleep(500);\n\t\tactivitiesListView.myActivitiesSearchClearBtn.click();\n\t\tThread.sleep(1000);\n\t\tactivitiesListView.myActivitiesSearchTxtBox.sendKeys(regarding);\n\t\tThread.sleep(500);\n\t\tactivitiesListView.myActivitiesSearchLookupBtn.click();\n\t\tThread.sleep(3000);\n\t}", "@RequestMapping(value = Constants.REQMAP_GET_VIDEOTYPES, method= RequestMethod.GET)\n\tpublic List<VideoTypes> getAllActiveVideoTypes(){\n\t\treturn videoTypeService.getAllActiveVideoTypes();\n\t}", "public List<String> getUsedPermissions() {\n final List<String> result = new LinkedList<String>();\n for (final Element child : manifestElement.getChildren(ELEMENT_USES_PERMISSION)) {\n final String permission = child.getAttributeValue(ATTRIBUTE_NAME);\n if (permission != null) {\n result.add(permission);\n }\n }\n\n return result;\n }", "List<SportActivity> findAll();", "public List<PackageInfo> getInstalledApps(boolean includeSystem) {\n\n List<PackageInfo> installedApps = new ArrayList<>();\n\n //Filter the Intent. We want Intents that can be launched. Then, retrieve the list of Activities that\n //correspond to that criteriom.\n final Intent intent = new Intent(Intent.ACTION_MAIN, null);\n intent.addCategory(Intent.CATEGORY_LAUNCHER);\n final List<ResolveInfo> pkgAppsList = context.getPackageManager().queryIntentActivities(intent, 0);\n\n for (ResolveInfo info : pkgAppsList) {\n String pkgName = info.activityInfo.packageName;\n try {\n PackageInfo pkg = packageManager.getPackageInfo(pkgName, PackageManager.GET_SERVICES);\n installedApps.add(pkg);\n } catch (PackageManager.NameNotFoundException e) {\n e.printStackTrace();\n //the package with the specified name has not been found\n //should never happen as we get the package name from the system\n }\n }\n return installedApps;\n }", "@JsonIgnore\n public List<Application> getIncludedApplications()\n {\n List<Application> actual = new ArrayList<Application>();\n\n for (Application app : _apps) {\n if (!app.isSkipped()) {\n actual.add(app);\n }\n }\n\n return actual;\n }", "public Set<SearchedItem> getAllItems(StaplerRequest req, String tokenList){\n List<Ancestor> ancestors = req.getAncestors(); \n Set<SearchedItem> searchedItems = new TreeSet<SearchedItem>();\n if(tokenList==null){\n return searchedItems;\n }\n for (int i = 0; i < ancestors.size(); i++) {\n Ancestor a = ancestors.get(i);\n if (a.getObject() instanceof SearchableModelObject) {\n SearchIndex index = ((SearchableModelObject) a.getObject()).getSearchIndex();\n //unfortunatelly the token list is protected\n String tokens[] = tokenList.split(\"(?<=\\\\s)(?=\\\\S)\");\n List<SearchItem> items = new ArrayList<SearchItem>();\n for (String token : tokens) {\n index.suggest(token, items); \n searchedItems.addAll(createSearchItems(items, a));\n }\n }\n }\n return searchedItems;\n }", "@In String search();", "public void performRelActivitiesSearch(String regarding) throws InterruptedException {\n\t\tString methodID = \"performRelActivitiesSearch\";\n\t\t\n\t\tMyActivityViewsElements activitiesListView = PageFactory.initElements(driver, MyActivityViewsElements.class);\n\t\tHeaderButton headerButton = PageFactory.initElements(driver, HeaderButton.class); \n\t\t\t\t\n\t\t//Step: execute a Related Activities search\n\t\theaderButton.showRightContextMenu();\n\t\tactivitiesListView.relatedActivitiesSearchTxtBox.click();\n\t\tThread.sleep(500);\n\t\tactivitiesListView.relatedActivitiesSearchClearBtn.click();\n\t\tThread.sleep(1000);\n\t\tactivitiesListView.relatedActivitiesSearchTxtBox.sendKeys(regarding);\n\t\tThread.sleep(500);\n\t\tactivitiesListView.relatedActivitiesSearchLookupBtn.click();\n\t\tThread.sleep(3000);\n\t}", "public LearningResultHasActivity[] findWhereActivityIdActivityEquals(int activityIdActivity) throws LearningResultHasActivityDaoException;", "java.util.List<java.lang.String> getAnnotationFiltersList();", "@Override\n\tpublic Object[] advSearchCondition() {\n\t\treturn null;\n\t}", "public static List<UrlInfo> searchAllUrl() {\n\n //getSynonyms(queryKeywords);\n\n ArrayList<Long> keywordIdList = new ArrayList<Long>();\n ArrayList<Long> finalIdList = new ArrayList<Long>();\n\n String email = Secured.getUser(ctx());\n List<UrlEntry> entryIdList = UrlEntry.find()\n .select(\"entryId\")\n .where()\n .eq(\"email\", email)\n .findList();\n for (UrlEntry entry : entryIdList) {\n finalIdList.add(entry.getEntryId());\n }\n System.out.println(\"finalIdList---\" + finalIdList);\n List<UrlInfo> urlList = UrlInfo.find().select(\"url\").where().in(\"urlEntryId\", finalIdList).findList();\n /*ArrayList<String> urls = new ArrayList<String>();\n for (UrlInfo urlInfo : urlList) {\n urls.add(urlInfo.getUrl());\n }\n System.out.println(\"urls in search----\" + urls);*/\n return urlList;\n }", "public static List<IEssence> getRegisteredEssences() {\n ArrayList<IEssence> essences = new ArrayList();\n MagicStaffs.ITEMS\n .stream()\n .filter(item -> item instanceof IEssence)\n .forEach(item -> essences.add((IEssence) item));\n return essences;\n }", "@Override // com.oppo.enterprise.mdmcoreservice.utils.defaultapp.DefaultApp\n public List<Intent> getIntentList() {\n List<Intent> intentList = new ArrayList<>();\n for (int i = 0; i < DEFAULT_MATCH_TYPE_LIST.size(); i++) {\n for (int j = 0; j < DEFAULT_SCHEME_LIST.size(); j++) {\n for (int k = 0; k < DEFAULT_URI_DATA_TYPE_LIST.size(); k++) {\n Intent intent = new Intent(\"android.intent.action.VIEW\");\n intent.addCategory(\"android.intent.category.DEFAULT\");\n StringBuffer sb = new StringBuffer();\n sb.append(DEFAULT_SCHEME_LIST.get(j));\n sb.append(\"://\");\n sb.append(DEFAULT_URI_DATA_TYPE_LIST.get(k));\n intent.setDataAndType(Uri.parse(sb.toString()), null);\n intentList.add(intent);\n }\n }\n }\n Intent intent2 = new Intent(\"android.intent.action.VIEW\");\n intent2.addCategory(\"android.intent.category.DEFAULT\");\n intent2.setDataAndType(Uri.parse(\"http://dn1.dn2.dn3\"), null);\n intentList.add(intent2);\n Intent intent3 = new Intent(\"android.intent.action.VIEW\");\n intent3.addCategory(\"android.intent.category.DEFAULT\");\n intent3.setDataAndType(Uri.parse(\"http://dn1.dn2.dn3/...\"), null);\n intentList.add(intent3);\n Intent intent4 = new Intent(\"android.intent.action.VIEW\");\n intent4.addCategory(\"android.intent.category.DEFAULT\");\n intent4.setDataAndType(Uri.parse(\"https://dn1.dn2.dn3/...\"), null);\n intentList.add(intent4);\n return intentList;\n }", "public List<TaskDescription> getActiveTasks();", "public static List<String> getUniqueActivitiesOfSchool(){\r\n\t\treturn StudentRepository.getStudents()\r\n\t\t\t.stream() // Stream<Student>\r\n\t\t\t.map(Student :: getActivities) // Stream<List<String>>\r\n\t\t\t// want to pass a List and get back a stream of that list\r\n\t\t\t.flatMap(List :: stream) // Stream<String>\r\n\t\t\t.distinct()\r\n\t\t\t.collect(Collectors.toList());\r\n\t}", "List<QtActivitytype> selectByExample(QtActivitytypeExample example);", "public List<ExoSocialActivity> getActivitiesOfIdentities(ActivityBuilderWhere where, ActivityFilter filter,\n long offset, long limit) throws ActivityStorageException;", "public Set<OntologyScope> getRegisteredScopes();", "public List<String> getNotExportedSearchableFields() {\n return Collections.unmodifiableList(notExportedSearchableFields);\n }", "public String getIncluderecommendations() {\r\n return includerecommendations;\r\n }", "@Override\n\tpublic Response<Boolean> getRecommendScopes(RequestContext requestContext) {\n\t\treturn null;\n\t}", "public Object[] getGlobalResourceList() {\n return this.getList(AbstractGIS.INQUIRY_GLOBAL_RESOURCE_LIST);\n }", "public Collection findWorkflowActivityKeys(IDataFilter filter)\n throws FindEntityException, SystemException, RemoteException;", "@GetMapping(path = \"/api/activity/attendedactivities/{token}\")\n public ArrayList<ActivityDTO> getAttendedActivities(@PathVariable String token) {\n return activityService.getAllAttendedActivities(userService.getUserIDFromJWT(token));\n }" ]
[ "0.7482706", "0.6656387", "0.65229917", "0.603896", "0.58089167", "0.57527095", "0.56400484", "0.5616313", "0.5612869", "0.5558956", "0.55428433", "0.5527764", "0.55113935", "0.54920065", "0.5445743", "0.54432213", "0.5408713", "0.5403989", "0.5371332", "0.5359579", "0.53518575", "0.5347016", "0.5336097", "0.5322028", "0.52861017", "0.5243133", "0.52400506", "0.5175063", "0.5169501", "0.51653826", "0.5129515", "0.5127822", "0.51177794", "0.5091743", "0.50787055", "0.50722677", "0.5063098", "0.50486565", "0.5033556", "0.50088114", "0.4999648", "0.49902767", "0.4981017", "0.4967175", "0.4953339", "0.4951781", "0.49348813", "0.49309033", "0.4930786", "0.49292025", "0.49041316", "0.4886501", "0.48710573", "0.48655832", "0.48536697", "0.48411128", "0.48368233", "0.48335478", "0.48103818", "0.4789177", "0.47789496", "0.47779807", "0.4775093", "0.47617272", "0.47496074", "0.4738948", "0.4735682", "0.47233868", "0.47188932", "0.47169673", "0.4715582", "0.4706654", "0.4697842", "0.4694625", "0.46832615", "0.46816522", "0.46717215", "0.46711972", "0.46646723", "0.46494856", "0.46468514", "0.4642765", "0.46314695", "0.46298194", "0.46285045", "0.462661", "0.4620111", "0.4619132", "0.4617887", "0.4617647", "0.46171477", "0.46056578", "0.4603932", "0.45992133", "0.45951593", "0.45950487", "0.45824197", "0.45780554", "0.45763487", "0.45669195" ]
0.7254321
1
Gets the name of the global search activity.
public ComponentName getGlobalSearchActivity() { return getSearchables(UserHandle.getCallingUserId()).getGlobalSearchActivity(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ComponentName getGlobalSearchActivity() {\n try {\n return mService.getGlobalSearchActivity();\n } catch (RemoteException ex) {\n throw ex.rethrowFromSystemServer();\n }\n }", "public ComponentName getWebSearchActivity() {\n return getSearchables(UserHandle.getCallingUserId()).getWebSearchActivity();\n }", "public String getSearchKeyword() {\n return SharedPrefsUtils.getStringPreference(application.getApplicationContext(), \"KEY\");\n }", "private String getRunningActivityName(){\n ActivityManager activityManager=(ActivityManager) getContext().getSystemService(Context.ACTIVITY_SERVICE);\n String runningActivity=activityManager.getRunningTasks(1).get(0).topActivity.getClassName();\n return runningActivity;\n }", "public List<ResolveInfo> getGlobalSearchActivities() {\n try {\n return mService.getGlobalSearchActivities();\n } catch (RemoteException ex) {\n throw ex.rethrowFromSystemServer();\n }\n }", "public String getHotActivityName() {\r\n return hotActivityName;\r\n }", "String activity_name () throws BaseException;", "public Integer getActivityName() {\n return activityName;\n }", "@Override\n\tpublic String getActivityName() {\n\t\treturn ActivityName;\n\t}", "public String getName() {\n return Utility.getInstance().getPackageName();\n }", "@Override\n\tpublic final String getName() {\n\t\treturn getClass().getSimpleName().replaceAll(\"Application$\", \"\").toLowerCase();\n\t}", "private String getCurSearch()\n\t{\n\t\tif (mToNavi)\n\t\t\treturn mCurSearch;\n\t\telse\n\t\t\treturn mCurSearchNavi;\n\t}", "protected String getPreviousActivityName() {\n try {\n Bundle bundle = getIntent().getExtras();\n if (bundle.getString(\"classFrom\") == null) {\n return \"\";\n } else {\n return bundle.getString(\"classFrom\");\n }\n } catch (Exception e) {\n // TODO: handle exception\n return \"\";\n }\n }", "String getIntegApplicationName();", "public String getSavedSearch() {\n\t\treturn restClient.getSavedSearch();\n\t}", "public String getMarketActivityName() {\n\t\treturn marketActivityName;\n\t}", "public String getIntentLabel() {\n Flow.Intent intent = getFlow().getIntent();\n return intent == null ? NO_INTENT : intent.getLabel();\n }", "public static String getLauncherClassName() {\n Context context = RuntimeEnvironment.application;\n Intent homeIntent = new Intent(Intent.ACTION_MAIN)\n .addCategory(Intent.CATEGORY_HOME)\n .setPackage(context.getPackageName())\n .addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);\n\n List<ResolveInfo> launchers = context.getPackageManager()\n .queryIntentActivities(homeIntent, 0);\n if (launchers.size() != 1) {\n return null;\n }\n return launchers.get(0).activityInfo.name;\n }", "public String getName() {\n return getActivityInfo().name;\n }", "@Override\n public void onSearchClosed() {\n closeSearch();\n toolbar.setTitle(getResources().getString(R.string.app_name));\n }", "java.lang.String getQueryName();", "public String getActivityName() {\n return getNameFromType(this.getType());\n }", "public String getName() {\n\t\t\t\treturn \"RSS Search: \" + feedURL;\n \t\t\t}", "@Override\n\tpublic java.lang.String getName() {\n\t\treturn _scienceApp.getName();\n\t}", "private String getSearchText() {\n\t\treturn this.clientUI.getSearchField();\n\t}", "public static String getActiveProjectName() {\r\n Project project = ProjectPlugin.getPlugin().getProjectRegistry().getCurrentProject();\r\n \r\n if (project == null)\r\n project = ProjectPlugin.getPlugin().getProjectRegistry().getDefaultProject();\r\n \r\n return project.getName();\r\n }", "java.lang.String getAppName();", "java.lang.String getAppName();", "java.lang.String getAppName();", "public static String getAppName()\n\t{\n\t\treturn APP_NAME;\n\t}", "public final String getAppName( )\n\t{\n\t\treturn this.data.getString( \"applicationName\" );\n\t}", "public String getAPP_NAME() {\r\n return APP_NAME;\r\n }", "public String getAPP_NAME() {\r\n return APP_NAME;\r\n }", "public String getName() {\n return \"GetIndividualsFullAction\";\n }", "public String getSearchKey(){\n\t\tif (this.facetTiers == null || this.facetTiers.size() == 0)\n\t\t\treturn null;\n\t\treturn this.facetTiers.get(this.facetTiers.size()-1).getSearchValue();\n\t}", "public String getActname() {\r\n return actname;\r\n }", "public String getSearchField() {\n return searchField.getText();\n }", "public String getSearchClass() {\r\n return searchClass;\r\n }", "public String getTopPackage() {\n return mActivityManager.getRunningTasks(1).get(0).topActivity.getPackageName();\n }", "public static String getSymbolLookupProjectName() {\n\t\tIPreferenceStore prefs = Activator.getDefault().getPreferenceStore();\n\t\tString name = prefs.getString(GHIDRA_SYMBOL_LOOKUP_PROJECT_NAME);\n\t\tif (name.isEmpty()) {\n\t\t\treturn null;\n\t\t}\n\t\treturn name;\n\t}", "public MetaSearchAction getMetaSearchAction() {\n\t\tif (!hasMetaSearchAction()) return null;\n\t\treturn metaSearchAction;\n\t}", "public static GameActivity getGameActivity() {\n\t\treturn act;\n\t}", "@Override\r\n\tpublic String getApp_activity_channel() {\n\t\treturn super.getApp_activity_channel();\r\n\t}", "@NonNull\n public String getQuery() {\n return searchView.getQuery().toString();\n }", "public String getAllRunningActivities() {\n return \"\";\n }", "public String getActiveTitle() {\n\t\treturn getTitle(TitleBuilder.byActiveWindow());\n\t}", "public String getApp();", "public static String getName() {\n\t\treturn ProjectMain._name;\n\t}", "public String getDisplayName() {\n return DatadogBuildListener.DISPLAY_NAME;\n }", "String getTaskName();", "String getTaskName();", "public static String getType() {\n SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(App.getAppContext());\n String defaultValue = Strings.getStringByRId(R.string.c_elastic_search_type_name_default_value);\n String value = Strings.getStringByRId(R.string.c_select_elastic_search_type_name);\n String type = sp.getString(value, defaultValue);\n return type;\n }", "private String getActivityName(Transition transition) {\n\t\tString result = \"\";\n\t\t// get associated log event type\n\t\tLogEvent le = transition.getLogEvent();\n\n\t\t// check for invisible tasks\n\t\tif (le != null) {\n\t\t\tresult = le.getModelElementName();\n\t\t} else {\n\t\t\tresult = transition.getIdentifier();\n\t\t}\n\t\treturn result;\n\t}", "public String getAppName();", "public String getIntentDisplayName(GoogleCloudDialogflowV2WebhookRequest webHookRequest) {\n String action = \"\";\n\n GoogleCloudDialogflowV2QueryResult queryResult = webHookRequest.getQueryResult();\n\n if (queryResult != null) {\n action = queryResult.getIntent().getDisplayName();\n }\n\n return action;\n }", "public static String getFedoragsearchContext() {\r\n if (fedoragsearchContext == null) {\r\n fedoragsearchContext =\r\n PropertiesProvider.getInstance().getProperty(\"fedoragsearch.context\", \"/fedoragsearch\");\r\n }\r\n return fedoragsearchContext;\r\n }", "public CharSequence getLabel() {\n // TODO: Go through LauncherAppsService\n return getActivityInfo().loadLabel(mPm);\n }", "public String getShortAppName();", "protected String getSearchHint() {\n if (!isMessageListReady()) {\n return \"\";\n }\n Account account = getMessageListFragment().getAccount();\n Mailbox mailbox = getSearchableMailbox();\n\n if (mailbox == null) {\n return \"\";\n }\n\n if (shouldDoGlobalSearch(account, mailbox)) {\n return mActivity.getString(R.string.search_hint);\n }\n\n // Regular mailbox, or IMAP - search within that mailbox.\n String mailboxName = FolderProperties.getInstance(mActivity).getDisplayName(mailbox);\n return String.format(\n mActivity.getString(R.string.search_mailbox_hint),\n mailboxName);\n }", "@java.lang.Override\n public com.clarifai.grpc.api.Search getSearch() {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }", "public SearchContext getSearchContext() \n {\n return mSearchContext;\n }", "public Visit getSearchVisit() {\n\t\treturn searchVisit;\n\t}", "public String getName()\n\t{\n\t\treturn getName( getSession().getSessionContext() );\n\t}", "public static String getRequestActionName(HttpServletRequest request) {\n return request.getRequestURI().split(\"/\")[request.getRequestURI().split(\"/\").length - 1].split(\"-\")[0].split(\n \".html\")[0];\n }", "public String getAppName(PackageInfo packageInfo) {\n return (String) packageInfo.applicationInfo.loadLabel(packageManager);\n }", "public String getCurrentHome(){\r\n \tfor (DisplayResolveInfo info : mList) {\r\n \t\tif (true == info.bDefault) {\r\n \t\t\tmPm.clearPackagePreferredActivities(info.ri.activityInfo.packageName);\r\n\t\t\t\t\r\n\t\t\t\treturn info.ri.activityInfo.packageName;\r\n \t\t} \r\n \t} \t\r\n\t\treturn null;\r\n\t}", "public String search() {\n return \"manage\";\n }", "@Override\n public void onSearchClosed() {\n closeSearch(toolbar, searchbox, activity);\n ((AppCompatActivity) activity).getSupportActionBar().setTitle(currentTitle);\n }", "public String getFullName() {\n return getAndroidPackage() + \"/\" + getInstrumentationClass();\n }", "abstract public String getApplicationName();", "public StringFilter getCurrentJobTitle() {\n\t\treturn currentJobTitle;\n\t}", "@java.lang.Override\n public com.clarifai.grpc.api.Search getSearch() {\n if (searchBuilder_ == null) {\n if (inputSourceCase_ == 10) {\n return (com.clarifai.grpc.api.Search) inputSource_;\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n } else {\n if (inputSourceCase_ == 10) {\n return searchBuilder_.getMessage();\n }\n return com.clarifai.grpc.api.Search.getDefaultInstance();\n }\n }", "protected String getName(){\n sharedPref = getSharedPreferences(AppCSTR.PREF_NAME, Context.MODE_PRIVATE);\n //Log.d(\"TYPE\", sharedPref.getString(\"accountType\", null));\n return sharedPref.getString(AppCSTR.ACCOUNT_NAME, null);\n }", "public String getCurrentWindowTitle(){\n buffer = new char[MAX_TITLE_LENGTH * 2];\n GetWindowTextW(GetForegroundWindow(), buffer, MAX_TITLE_LENGTH);\n return Native.toString(buffer);\n }", "private Intent getNameActivityIntent(String login) {\n // instanciate a new intent of the WLTwitterActivity in WLTwitterApplication's context\n Intent WLTwitterIntent = new Intent(this, worldline.ssm.rd.ux.wltwitter.WLTwitterActivity.class);\n Bundle extra = new Bundle();\n //save login in Bundle\n extra.putString(Constants.Login.EXTRA_LOGIN, login);\n WLTwitterIntent.putExtras(extra);\n \n return WLTwitterIntent;\n }", "public String getApplicationTitle() {\n return applicationTitle.get();\n }", "String getSingletonName();", "public String getName() {\n\t\tSharedPreferences settings = parentContext.getSharedPreferences(PREFERENCE_FILE,\n\t\t\t\tContext.MODE_PRIVATE);\n\t\treturn settings.getString(USERNAME_KEY, null);\n\t}", "public String getIntent() {\n/* 329 */ return getCOSObject().getNameAsString(COSName.IT);\n/* */ }", "public static String getTaskName1(Context context) {\n SharedPreferences prefs = context.getSharedPreferences(\"com.mobile.counterappmobile\", 0);\n return prefs.getString(\"taskName\", \"click to edit\");\n }", "public String getReqCurLocName() {\n return reqCurLocName;\n }", "public String getSearchHint();", "private String getLauncherPackageName() {\n // Create launcher Intent\n final Intent intent = new Intent(Intent.ACTION_MAIN);\n intent.addCategory(Intent.CATEGORY_HOME);\n\n // Use PackageManager to get the launcher package name\n PackageManager pm = InstrumentationRegistry.getContext().getPackageManager();\n ResolveInfo resolveInfo = pm.resolveActivity(intent, PackageManager.MATCH_DEFAULT_ONLY);\n return resolveInfo.activityInfo.packageName;\n }", "public String getSystemName();", "java.lang.String getGameName();", "java.lang.String getGameName();", "public String getName() {\n return aao.getName();\n }", "public String getNameSite(){\n return this.mFarm.getNameSite();\n }", "public static String getAppName(){\r\n return getProperty(\"name\", \"Jin\");\r\n }", "public String getName() {\r\n\t\treturn GDAssemblerUI.getText(UI_TEXT);\r\n\t}", "public String getName()\r\n {\r\n return screenName;\r\n }", "public String getTaskName();", "public String getApplicationName() {\n return applicationName;\n }", "private static String getIndex() {\n SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(App.getAppContext());\n String defaultValue = Strings.getStringByRId(R.string.c_elastic_search_index_name_default_value);\n String value = Strings.getStringByRId(R.string.c_select_elastic_search_index_name);\n String index = sp.getString(value, defaultValue);\n return index;\n }", "public String getApplicationName() {\n\t\treturn this.properties.getProperty(SoundLooperProperties.KEY_APPLICATION_NAME, \"UNKNOW\");\n\t}", "@Override\n public String getServletInfo() {\n return \"Manages searches\";\n }", "private void openSearch() {\n\t\tString message = \"This would be search.\";\r\n\t\tIntent intent = new Intent(this, DisplayMessageActivity.class);\r\n\t\tintent.putExtra(EXTRA_MESSAGE, message);\r\n\t\tstartActivity(intent);\r\n\t}", "public abstract String getIntentActionString();", "public String getSearchType() {\r\n\t\treturn searchType;\r\n\t}", "public String getSearchType() {\r\n\t\treturn searchType;\r\n\t}" ]
[ "0.8068994", "0.69761544", "0.6389428", "0.6015595", "0.59505403", "0.5901155", "0.57402784", "0.56516635", "0.56102973", "0.5591846", "0.55038905", "0.54261726", "0.541345", "0.54093146", "0.5352278", "0.5341021", "0.53390455", "0.5323023", "0.5304615", "0.5261935", "0.52591646", "0.5258985", "0.5255165", "0.5233031", "0.52104825", "0.52005106", "0.51936173", "0.51936173", "0.51936173", "0.5193148", "0.51880133", "0.5173212", "0.5173212", "0.51668096", "0.5164068", "0.5144609", "0.51340336", "0.5132267", "0.5117069", "0.5092025", "0.50885034", "0.50760114", "0.507474", "0.5073523", "0.5068295", "0.5051177", "0.5049619", "0.50483245", "0.5044006", "0.50403416", "0.50403416", "0.50244427", "0.49920037", "0.49801937", "0.49771687", "0.49693313", "0.49433887", "0.49377888", "0.49310577", "0.49114412", "0.49067652", "0.4906559", "0.49037218", "0.4903393", "0.4901661", "0.4900235", "0.48916265", "0.4885706", "0.48790365", "0.48706755", "0.4863395", "0.48579648", "0.4850871", "0.48492023", "0.48486307", "0.48463705", "0.48408276", "0.4838979", "0.48360333", "0.48329848", "0.4815905", "0.48143947", "0.48101223", "0.48090112", "0.48074424", "0.48074424", "0.4806587", "0.4797516", "0.47951415", "0.47907868", "0.4787503", "0.47874433", "0.47871208", "0.47848022", "0.47820175", "0.477869", "0.47784734", "0.47758815", "0.47725123", "0.47725123" ]
0.84370816
0
Gets the name of the web search activity.
public ComponentName getWebSearchActivity() { return getSearchables(UserHandle.getCallingUserId()).getWebSearchActivity(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public ComponentName getGlobalSearchActivity() {\n try {\n return mService.getGlobalSearchActivity();\n } catch (RemoteException ex) {\n throw ex.rethrowFromSystemServer();\n }\n }", "public ComponentName getGlobalSearchActivity() {\n return getSearchables(UserHandle.getCallingUserId()).getGlobalSearchActivity();\n }", "String activity_name () throws BaseException;", "public String getHotActivityName() {\r\n return hotActivityName;\r\n }", "@Override\n\tpublic String getActivityName() {\n\t\treturn ActivityName;\n\t}", "public String getName() {\n\t\t\t\treturn \"RSS Search: \" + feedURL;\n \t\t\t}", "public Integer getActivityName() {\n return activityName;\n }", "public String getIntentDisplayName(GoogleCloudDialogflowV2WebhookRequest webHookRequest) {\n String action = \"\";\n\n GoogleCloudDialogflowV2QueryResult queryResult = webHookRequest.getQueryResult();\n\n if (queryResult != null) {\n action = queryResult.getIntent().getDisplayName();\n }\n\n return action;\n }", "private String getRunningActivityName(){\n ActivityManager activityManager=(ActivityManager) getContext().getSystemService(Context.ACTIVITY_SERVICE);\n String runningActivity=activityManager.getRunningTasks(1).get(0).topActivity.getClassName();\n return runningActivity;\n }", "java.lang.String getQueryName();", "protected String getPreviousActivityName() {\n try {\n Bundle bundle = getIntent().getExtras();\n if (bundle.getString(\"classFrom\") == null) {\n return \"\";\n } else {\n return bundle.getString(\"classFrom\");\n }\n } catch (Exception e) {\n // TODO: handle exception\n return \"\";\n }\n }", "public String getMarketActivityName() {\n\t\treturn marketActivityName;\n\t}", "public String getSearchKeyword() {\n return SharedPrefsUtils.getStringPreference(application.getApplicationContext(), \"KEY\");\n }", "public String getName() {\n return getActivityInfo().name;\n }", "String getPageName();", "private String getActivityName(Transition transition) {\n\t\tString result = \"\";\n\t\t// get associated log event type\n\t\tLogEvent le = transition.getLogEvent();\n\n\t\t// check for invisible tasks\n\t\tif (le != null) {\n\t\t\tresult = le.getModelElementName();\n\t\t} else {\n\t\t\tresult = transition.getIdentifier();\n\t\t}\n\t\treturn result;\n\t}", "private String getSearchText() {\n\t\treturn this.clientUI.getSearchField();\n\t}", "public String getActivityName() {\n return getNameFromType(this.getType());\n }", "public String getActname() {\r\n return actname;\r\n }", "public static String getRequestActionName(HttpServletRequest request) {\n return request.getRequestURI().split(\"/\")[request.getRequestURI().split(\"/\").length - 1].split(\"-\")[0].split(\n \".html\")[0];\n }", "public void setActivityName(Integer activityName) {\n this.activityName = activityName;\n }", "public String getName() {\n\t\treturn name.toLowerCase();\n\t}", "public String getName() {\r\n\t\treturn this.title;\r\n\t}", "public String getName() {\n return Utility.getInstance().getPackageName();\n }", "@Override\n\tpublic final String getName() {\n\t\treturn getClass().getSimpleName().replaceAll(\"Application$\", \"\").toLowerCase();\n\t}", "private Intent getNameActivityIntent(String login) {\n // instanciate a new intent of the WLTwitterActivity in WLTwitterApplication's context\n Intent WLTwitterIntent = new Intent(this, worldline.ssm.rd.ux.wltwitter.WLTwitterActivity.class);\n Bundle extra = new Bundle();\n //save login in Bundle\n extra.putString(Constants.Login.EXTRA_LOGIN, login);\n WLTwitterIntent.putExtras(extra);\n \n return WLTwitterIntent;\n }", "@Override\n\tpublic java.lang.String getName() {\n\t\treturn _scienceApp.getName();\n\t}", "String getTaskName();", "String getTaskName();", "String getIntegApplicationName();", "public String getName(){\n\t\tif(name==null) return webserviceUrl;\n\t\treturn name;\n\t}", "public String getSearchField() {\n return searchField.getText();\n }", "public String getName() {\n return ACTION_DETAILS[id][NAME_DETAIL_INDEX];\n }", "public static String getLauncherClassName() {\n Context context = RuntimeEnvironment.application;\n Intent homeIntent = new Intent(Intent.ACTION_MAIN)\n .addCategory(Intent.CATEGORY_HOME)\n .setPackage(context.getPackageName())\n .addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);\n\n List<ResolveInfo> launchers = context.getPackageManager()\n .queryIntentActivities(homeIntent, 0);\n if (launchers.size() != 1) {\n return null;\n }\n return launchers.get(0).activityInfo.name;\n }", "HtmlPage clickSiteName();", "public String getSearchUrl();", "void selectActivityName(int activity_number, Model model);", "public ComponentName getSearchActivity() {\n/* 71 */ throw new RuntimeException(\"Stub!\");\n/* */ }", "@Override\r\n\tpublic String getName() {\r\n\t\treturn this.title;\r\n\t}", "@NonNull\n public String getQuery() {\n return searchView.getQuery().toString();\n }", "public String getName()\r\n {\r\n return screenName;\r\n }", "public java.lang.String getUrlName()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.SimpleValue target = null;\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(URLNAME$12, 0);\r\n if (target == null)\r\n {\r\n return null;\r\n }\r\n return target.getStringValue();\r\n }\r\n }", "String getPageFullName();", "@Nullable\n @Override\n public String getName() {\n return /*this.requestMethod + \" \" +*/ this.url;\n }", "public String getDisplayName() {\n return DatadogBuildListener.DISPLAY_NAME;\n }", "public static String getTitle() {\r\n\t\tString titleStr = null;\r\n\t\ttry {\r\n\t\t\ttitleStr = driver.getTitle();\r\n\t\t} catch (Exception e) {\r\n\t\t\tSystem.out.println(\"Unable to open the WebSite: \" + e);\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\treturn titleStr;\r\n\t}", "public String getPageTitle() {\n return driver.get().getTitle();\n }", "protected String getEntryName( HttpServletRequest request )\n {\n return (String) request.getParameter( ENTRY_NAME_HTTP_PARAM );\n }", "private String getNameFromType(int activityType) {\n switch (activityType) {\n case DetectedActivity.IN_VEHICLE:\n return \"in_vehicle\";\n case DetectedActivity.ON_BICYCLE:\n return \"on_bicycle\";\n case DetectedActivity.ON_FOOT:\n return \"on_foot\";\n case DetectedActivity.STILL:\n return \"still\";\n case DetectedActivity.UNKNOWN:\n return \"unknown\";\n case DetectedActivity.TILTING:\n return \"tilting\";\n }\n return \"unknown\";\n }", "String getWebhookName();", "public String getAnalyticsTitle() {\n Ensighten.evaluateEvent(this, \"getAnalyticsTitle\", null);\n return getString(C2658R.string.analytics_screen_policy_updates);\n }", "public final String getName() {\n if (name == null) {\n name = this.getClass().getSimpleName().substring(3);\n }\n return name;\n }", "public String getEventTitle()\n {\n EventTitle = EventNameField.getText();\n return EventTitle;\n }", "public String getScreenName() {\n\t\treturn restClient.getScreenName();\n\t}", "public String getPageTitle() {\n return driver.getTitle();\n }", "private String getNameFromType(int activityType) {\n switch(activityType) {\n case DetectedActivity.IN_VEHICLE:\n return \"in_vehicle\";\n case DetectedActivity.ON_BICYCLE:\n return \"on_bicycle\";\n case DetectedActivity.ON_FOOT:\n return \"on_foot\";\n case DetectedActivity.STILL:\n return \"still\";\n case DetectedActivity.UNKNOWN:\n return \"unknown\";\n case DetectedActivity.TILTING:\n return \"tilting\";\n }\n return \"unrecognized\";\n }", "public static String getName() {\n return name;\n }", "public String getUrlName() {\n return urlName;\n }", "public String getCurrentPageTitle() {\n return driver.getTitle();\n }", "public MetaSearchAction getMetaSearchAction() {\n\t\tif (!hasMetaSearchAction()) return null;\n\t\treturn metaSearchAction;\n\t}", "public String getName()\n\t{\n\t\treturn getName( getSession().getSessionContext() );\n\t}", "String get_name() {\n File file = new File(url);\n return file.getName();\n }", "public String getWatchListPageTitle() {\n waitForLoadingScreen();\n return findVisibleElement(otherPageTitle).getText();\n\n }", "public String getPageTitle()\n\t{\n\t\treturn driver.getTitle();\n\t}", "public String getName() {\n return this.name().toLowerCase(Locale.US);\n }", "public String getCurrentPageTitle() {\n return webDriver.getTitle();\n }", "public String getTheName() {\n\t\treturn name.getText();\n\t}", "public String getName() {\r\n\t\treturn GDAssemblerUI.getText(UI_TEXT);\r\n\t}", "public java.lang.String getServletName() {\n\t\treturn _name;\n\t}", "public String getPageTitle() {\n\t\treturn driver.getTitle();\n\t}", "public String getTitle() {\n\t\t\n\treturn driver.getTitle();\n\t\n\t}", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();", "java.lang.String getName();" ]
[ "0.6767476", "0.6741485", "0.6337764", "0.6184148", "0.60292923", "0.59285563", "0.59194547", "0.5891889", "0.5860225", "0.5786993", "0.5755318", "0.56961167", "0.5694342", "0.5636673", "0.5631378", "0.55145013", "0.54637617", "0.5463726", "0.5453771", "0.5395199", "0.53345966", "0.532159", "0.53148985", "0.52911484", "0.5289834", "0.52718896", "0.5254603", "0.5247507", "0.5247507", "0.52470684", "0.52360594", "0.52101356", "0.52076006", "0.5204257", "0.52034533", "0.51999116", "0.5196962", "0.519299", "0.5180121", "0.5171883", "0.51590985", "0.5154093", "0.5153523", "0.51262033", "0.5123849", "0.5106554", "0.5089868", "0.5079545", "0.5075698", "0.5073504", "0.5056221", "0.5051657", "0.5042837", "0.5041435", "0.50320095", "0.5029627", "0.5026459", "0.50251853", "0.5019571", "0.5018213", "0.5012196", "0.5011805", "0.50112754", "0.50073975", "0.5006435", "0.5006199", "0.4999447", "0.49923453", "0.4989843", "0.49890283", "0.49874723", "0.49852857", "0.49852857", "0.49852857", "0.49852857", "0.49852857", "0.49852857", "0.49852857", "0.49852857", "0.49852857", "0.49852857", "0.49852857", "0.49852857", "0.49852857", "0.49852857", "0.49852857", "0.49852857", "0.49852857", "0.49852857", "0.49852857", "0.49852857", "0.49852857", "0.49852857", "0.49852857", "0.49852857", "0.49852857", "0.49852857", "0.49852857", "0.49852857", "0.49852857" ]
0.7915451
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() { jLPane = new javax.swing.JLayeredPane(); jPanel_loginScreen = new javax.swing.JPanel(); jbtn_login = new javax.swing.JButton(); jpassword = new javax.swing.JPasswordField(); jlbl_title = new javax.swing.JLabel(); jtxt_username = new javax.swing.JTextField(); jSeparator1 = new javax.swing.JSeparator(); jPanel_createSavingsAcc = new javax.swing.JPanel(); jLabel12 = new javax.swing.JLabel(); jLabel13 = new javax.swing.JLabel(); jLabel14 = new javax.swing.JLabel(); jLabel15 = new javax.swing.JLabel(); jLabel16 = new javax.swing.JLabel(); jLabel17 = new javax.swing.JLabel(); jLabel18 = new javax.swing.JLabel(); jTextField_Create_Savings_Acc_acchol = new javax.swing.JTextField(); jTextField_Create_Savings_Acc_accnum = new javax.swing.JTextField(); jTextField_Create_Savings_Acc_joindate = new javax.swing.JTextField(); jTextField_Create_Savings_Acc_bal = new javax.swing.JTextField(); jTextField_Create_Savings_Acc_usern = new javax.swing.JTextField(); jTextField_Create_Savings_Acc_pass = new javax.swing.JPasswordField(); jbtn_SavingAccCreate = new javax.swing.JButton(); jLabel31 = new javax.swing.JLabel(); jbtn_SavingAccCreate1 = new javax.swing.JButton(); jPanel_createNewCurrentAcc = new javax.swing.JPanel(); jlbl_currentacctitle = new javax.swing.JLabel(); jlbl_accno = new javax.swing.JLabel(); jlnl_holdername = new javax.swing.JLabel(); jlnl_joindate = new javax.swing.JLabel(); jlbl_balance = new javax.swing.JLabel(); jlbl_username = new javax.swing.JLabel(); jlbl_password = new javax.swing.JLabel(); jtxt_accno = new javax.swing.JTextField(); jtxt_holderName = new javax.swing.JTextField(); jtxt_joinDate = new javax.swing.JTextField(); jtxt_balance = new javax.swing.JTextField(); jtxt_userName = new javax.swing.JTextField(); jpw_createCurrentAccPw = new javax.swing.JPasswordField(); jbtn_createCurrentAcc = new javax.swing.JButton(); jLabel10 = new javax.swing.JLabel(); jtxt_createCurrentAccPIN = new javax.swing.JTextField(); jlbl_currentacctitle1 = new javax.swing.JLabel(); jButton_createNewCurrentAcc_back = new javax.swing.JButton(); jSeparator6 = new javax.swing.JSeparator(); jPanel_userInterfaceCurrentAcc = new javax.swing.JPanel(); jLabel1 = new javax.swing.JLabel(); jlbl_userInterfaceAccNo = new javax.swing.JLabel(); jlbl_userInterfaceHolderName = new javax.swing.JLabel(); jLabel4 = new javax.swing.JLabel(); jLabel5 = new javax.swing.JLabel(); jLabel_currentacc_accno = new javax.swing.JLabel(); jLabel_currentacc_holname = new javax.swing.JLabel(); jLabel_currentacc_bal = new javax.swing.JLabel(); jLabel_currentacc_date = new javax.swing.JLabel(); jButton1 = new javax.swing.JButton(); jbtn_tranfer = new javax.swing.JButton(); jbtn_deposit = new javax.swing.JButton(); jbtn_withdraw = new javax.swing.JButton(); jSeparator7 = new javax.swing.JSeparator(); jPanel_userInterfaceSavingAcc = new javax.swing.JPanel(); jLabel19 = new javax.swing.JLabel(); jLabel20 = new javax.swing.JLabel(); jLabel21 = new javax.swing.JLabel(); jLabel22 = new javax.swing.JLabel(); jLabel23 = new javax.swing.JLabel(); jLabel24 = new javax.swing.JLabel(); jLabel25 = new javax.swing.JLabel(); jLabel_savingsacc_accno = new javax.swing.JLabel(); jLabel_savingsacc_acchol = new javax.swing.JLabel(); jLabel_savingsacc_date = new javax.swing.JLabel(); jLabel_savingsacc_bal = new javax.swing.JLabel(); jLabel_savingsacc_user = new javax.swing.JLabel(); jPassword_savingsacc_pass = new javax.swing.JPasswordField(); jBtn_SA_back = new javax.swing.JButton(); jSeparator5 = new javax.swing.JSeparator(); jPanel_adminControlPanel = new javax.swing.JPanel(); jlblTitle = new javax.swing.JLabel(); jbtn_currentAcc = new javax.swing.JButton(); jbtn_savingsAcc = new javax.swing.JButton(); jbtn_changePin = new javax.swing.JButton(); jbtn_back = new javax.swing.JButton(); jSeparator2 = new javax.swing.JSeparator(); jSeparator3 = new javax.swing.JSeparator(); jSeparator4 = new javax.swing.JSeparator(); jLabel9 = new javax.swing.JLabel(); jLabel11 = new javax.swing.JLabel(); setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE); setPreferredSize(new java.awt.Dimension(500, 500)); setResizable(false); setSize(new java.awt.Dimension(500, 500)); jLPane.setPreferredSize(new java.awt.Dimension(500, 500)); jPanel_loginScreen.setBackground(new java.awt.Color(255, 255, 255)); jPanel_loginScreen.setPreferredSize(new java.awt.Dimension(500, 500)); jbtn_login.setText("Login"); jpassword.setHorizontalAlignment(javax.swing.JTextField.CENTER); jpassword.setText("password"); jpassword.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jpasswordActionPerformed(evt); } }); jlbl_title.setFont(new java.awt.Font("Segoe UI Light", 0, 36)); // NOI18N jlbl_title.setText("Login Screen"); jtxt_username.setHorizontalAlignment(javax.swing.JTextField.CENTER); jtxt_username.setText("Type in your username..."); jtxt_username.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jtxt_usernameActionPerformed(evt); } }); javax.swing.GroupLayout jPanel_loginScreenLayout = new javax.swing.GroupLayout(jPanel_loginScreen); jPanel_loginScreen.setLayout(jPanel_loginScreenLayout); jPanel_loginScreenLayout.setHorizontalGroup( jPanel_loginScreenLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel_loginScreenLayout.createSequentialGroup() .addContainerGap() .addComponent(jSeparator1) .addContainerGap()) .addGroup(jPanel_loginScreenLayout.createSequentialGroup() .addGap(156, 156, 156) .addComponent(jlbl_title) .addContainerGap(151, Short.MAX_VALUE)) .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel_loginScreenLayout.createSequentialGroup() .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addGroup(jPanel_loginScreenLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel_loginScreenLayout.createSequentialGroup() .addGroup(jPanel_loginScreenLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jpassword, javax.swing.GroupLayout.PREFERRED_SIZE, 197, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jtxt_username, javax.swing.GroupLayout.PREFERRED_SIZE, 197, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGap(149, 149, 149)) .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel_loginScreenLayout.createSequentialGroup() .addComponent(jbtn_login, javax.swing.GroupLayout.PREFERRED_SIZE, 97, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(199, 199, 199)))) ); jPanel_loginScreenLayout.setVerticalGroup( jPanel_loginScreenLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel_loginScreenLayout.createSequentialGroup() .addContainerGap(62, Short.MAX_VALUE) .addComponent(jlbl_title) .addGap(55, 55, 55) .addComponent(jSeparator1, javax.swing.GroupLayout.PREFERRED_SIZE, 10, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(55, 55, 55) .addComponent(jtxt_username, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(40, 40, 40) .addComponent(jpassword, javax.swing.GroupLayout.PREFERRED_SIZE, 31, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(64, 64, 64) .addComponent(jbtn_login) .addGap(78, 78, 78)) ); jPanel_createSavingsAcc.setBackground(new java.awt.Color(255, 255, 255)); jLabel12.setText("Create:"); jLabel13.setFont(new java.awt.Font("Segoe UI Light", 0, 14)); // NOI18N jLabel13.setText("Account number"); jLabel14.setFont(new java.awt.Font("Segoe UI Light", 0, 14)); // NOI18N jLabel14.setText("Account holder"); jLabel15.setFont(new java.awt.Font("Segoe UI Light", 0, 14)); // NOI18N jLabel15.setHorizontalAlignment(javax.swing.SwingConstants.CENTER); jLabel15.setText("Join date"); jLabel16.setFont(new java.awt.Font("Segoe UI Light", 0, 14)); // NOI18N jLabel16.setHorizontalAlignment(javax.swing.SwingConstants.CENTER); jLabel16.setText("Balance"); jLabel17.setFont(new java.awt.Font("Segoe UI Light", 0, 14)); // NOI18N jLabel17.setHorizontalAlignment(javax.swing.SwingConstants.CENTER); jLabel17.setText("Username"); jLabel18.setFont(new java.awt.Font("Segoe UI Light", 0, 14)); // NOI18N jLabel18.setHorizontalAlignment(javax.swing.SwingConstants.CENTER); jLabel18.setText("Password"); jTextField_Create_Savings_Acc_acchol.setHorizontalAlignment(javax.swing.JTextField.CENTER); jTextField_Create_Savings_Acc_acchol.setText("xxx"); jTextField_Create_Savings_Acc_accnum.setHorizontalAlignment(javax.swing.JTextField.CENTER); jTextField_Create_Savings_Acc_accnum.setText("xxx"); jTextField_Create_Savings_Acc_joindate.setHorizontalAlignment(javax.swing.JTextField.CENTER); jTextField_Create_Savings_Acc_joindate.setText("xxx"); jTextField_Create_Savings_Acc_bal.setHorizontalAlignment(javax.swing.JTextField.CENTER); jTextField_Create_Savings_Acc_bal.setText("000"); jTextField_Create_Savings_Acc_bal.setToolTipText(""); jTextField_Create_Savings_Acc_usern.setHorizontalAlignment(javax.swing.JTextField.CENTER); jTextField_Create_Savings_Acc_usern.setText("xxx"); jTextField_Create_Savings_Acc_pass.setHorizontalAlignment(javax.swing.JTextField.CENTER); jTextField_Create_Savings_Acc_pass.setText("xxx"); jbtn_SavingAccCreate.setText("Return"); jbtn_SavingAccCreate.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jbtn_SavingAccCreateActionPerformed(evt); } }); jLabel31.setFont(new java.awt.Font("Segoe UI Light", 0, 36)); // NOI18N jLabel31.setText("Savings Account"); jbtn_SavingAccCreate1.setText("Create!"); javax.swing.GroupLayout jPanel_createSavingsAccLayout = new javax.swing.GroupLayout(jPanel_createSavingsAcc); jPanel_createSavingsAcc.setLayout(jPanel_createSavingsAccLayout); jPanel_createSavingsAccLayout.setHorizontalGroup( jPanel_createSavingsAccLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel_createSavingsAccLayout.createSequentialGroup() .addGroup(jPanel_createSavingsAccLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel_createSavingsAccLayout.createSequentialGroup() .addContainerGap() .addComponent(jLabel12)) .addGroup(jPanel_createSavingsAccLayout.createSequentialGroup() .addGap(126, 126, 126) .addComponent(jLabel31))) .addGap(0, 0, Short.MAX_VALUE)) .addGroup(jPanel_createSavingsAccLayout.createSequentialGroup() .addGap(64, 64, 64) .addGroup(jPanel_createSavingsAccLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel_createSavingsAccLayout.createSequentialGroup() .addGroup(jPanel_createSavingsAccLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) .addComponent(jTextField_Create_Savings_Acc_bal) .addComponent(jLabel16, javax.swing.GroupLayout.DEFAULT_SIZE, 92, Short.MAX_VALUE)) .addGap(52, 52, 52) .addGroup(jPanel_createSavingsAccLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) .addComponent(jbtn_SavingAccCreate, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jbtn_SavingAccCreate1, javax.swing.GroupLayout.DEFAULT_SIZE, 101, Short.MAX_VALUE) .addComponent(jLabel17, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jTextField_Create_Savings_Acc_usern))) .addGroup(jPanel_createSavingsAccLayout.createSequentialGroup() .addGroup(jPanel_createSavingsAccLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) .addComponent(jLabel13, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jTextField_Create_Savings_Acc_accnum)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 53, Short.MAX_VALUE) .addGroup(jPanel_createSavingsAccLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) .addComponent(jLabel14, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jTextField_Create_Savings_Acc_acchol, javax.swing.GroupLayout.PREFERRED_SIZE, 92, javax.swing.GroupLayout.PREFERRED_SIZE)))) .addGap(39, 39, 39) .addGroup(jPanel_createSavingsAccLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel_createSavingsAccLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) .addComponent(jTextField_Create_Savings_Acc_pass) .addComponent(jLabel15, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, 89, Short.MAX_VALUE) .addComponent(jTextField_Create_Savings_Acc_joindate, javax.swing.GroupLayout.Alignment.TRAILING)) .addComponent(jLabel18, javax.swing.GroupLayout.PREFERRED_SIZE, 73, javax.swing.GroupLayout.PREFERRED_SIZE)) .addContainerGap(62, Short.MAX_VALUE)) ); jPanel_createSavingsAccLayout.setVerticalGroup( jPanel_createSavingsAccLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel_createSavingsAccLayout.createSequentialGroup() .addContainerGap() .addComponent(jLabel12) .addGap(11, 11, 11) .addComponent(jLabel31) .addGap(45, 45, 45) .addGroup(jPanel_createSavingsAccLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel_createSavingsAccLayout.createSequentialGroup() .addGroup(jPanel_createSavingsAccLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabel13) .addComponent(jLabel15)) .addGap(18, 18, 18) .addGroup(jPanel_createSavingsAccLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jTextField_Create_Savings_Acc_accnum, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jTextField_Create_Savings_Acc_joindate, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGap(88, 88, 88) .addGroup(jPanel_createSavingsAccLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabel16) .addComponent(jLabel17) .addComponent(jLabel18)) .addGap(18, 18, 18) .addGroup(jPanel_createSavingsAccLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jTextField_Create_Savings_Acc_bal, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jTextField_Create_Savings_Acc_usern, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jTextField_Create_Savings_Acc_pass, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 35, Short.MAX_VALUE) .addComponent(jbtn_SavingAccCreate1, javax.swing.GroupLayout.PREFERRED_SIZE, 39, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(18, 18, 18) .addComponent(jbtn_SavingAccCreate, javax.swing.GroupLayout.PREFERRED_SIZE, 39, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(36, 36, 36)) .addGroup(jPanel_createSavingsAccLayout.createSequentialGroup() .addComponent(jLabel14) .addGap(18, 18, 18) .addComponent(jTextField_Create_Savings_Acc_acchol, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))) ); jPanel_createNewCurrentAcc.setBackground(new java.awt.Color(255, 255, 255)); jlbl_currentacctitle.setFont(new java.awt.Font("Segoe UI Light", 0, 12)); // NOI18N jlbl_currentacctitle.setText("Create:"); jlbl_accno.setFont(new java.awt.Font("Segoe UI Light", 0, 14)); // NOI18N jlbl_accno.setText("Account number"); jlnl_holdername.setFont(new java.awt.Font("Segoe UI Light", 0, 14)); // NOI18N jlnl_holdername.setText("Holder name"); jlnl_joindate.setFont(new java.awt.Font("Segoe UI Light", 0, 14)); // NOI18N jlnl_joindate.setText("Join date"); jlbl_balance.setFont(new java.awt.Font("Segoe UI Light", 0, 14)); // NOI18N jlbl_balance.setText("Balance"); jlbl_username.setFont(new java.awt.Font("Segoe UI Light", 0, 14)); // NOI18N jlbl_username.setText("Username"); jlbl_password.setFont(new java.awt.Font("Segoe UI Light", 0, 14)); // NOI18N jlbl_password.setText("Password"); jtxt_accno.setHorizontalAlignment(javax.swing.JTextField.CENTER); jtxt_accno.setText("xxx"); jtxt_holderName.setHorizontalAlignment(javax.swing.JTextField.CENTER); jtxt_holderName.setText("xxx"); jtxt_joinDate.setHorizontalAlignment(javax.swing.JTextField.CENTER); jtxt_joinDate.setText("xxx"); jtxt_balance.setHorizontalAlignment(javax.swing.JTextField.CENTER); jtxt_balance.setText("000"); jtxt_userName.setHorizontalAlignment(javax.swing.JTextField.CENTER); jtxt_userName.setText("xxx"); jpw_createCurrentAccPw.setHorizontalAlignment(javax.swing.JTextField.CENTER); jpw_createCurrentAccPw.setText("xxx"); jbtn_createCurrentAcc.setText("Create"); jLabel10.setFont(new java.awt.Font("Segoe UI Light", 0, 14)); // NOI18N jLabel10.setText("Pin"); jtxt_createCurrentAccPIN.setHorizontalAlignment(javax.swing.JTextField.CENTER); jtxt_createCurrentAccPIN.setText("xxx"); jlbl_currentacctitle1.setFont(new java.awt.Font("Segoe UI Light", 0, 36)); // NOI18N jlbl_currentacctitle1.setText("Current Account"); jButton_createNewCurrentAcc_back.setText("Return"); jButton_createNewCurrentAcc_back.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jButton_createNewCurrentAcc_backActionPerformed(evt); } }); javax.swing.GroupLayout jPanel_createNewCurrentAccLayout = new javax.swing.GroupLayout(jPanel_createNewCurrentAcc); jPanel_createNewCurrentAcc.setLayout(jPanel_createNewCurrentAccLayout); jPanel_createNewCurrentAccLayout.setHorizontalGroup( jPanel_createNewCurrentAccLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel_createNewCurrentAccLayout.createSequentialGroup() .addGap(60, 60, 60) .addGroup(jPanel_createNewCurrentAccLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel_createNewCurrentAccLayout.createSequentialGroup() .addGroup(jPanel_createNewCurrentAccLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) .addComponent(jlbl_accno, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jtxt_accno) .addComponent(jtxt_balance)) .addGroup(jPanel_createNewCurrentAccLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel_createNewCurrentAccLayout.createSequentialGroup() .addGap(49, 49, 49) .addGroup(jPanel_createNewCurrentAccLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false) .addComponent(jtxt_createCurrentAccPIN, javax.swing.GroupLayout.Alignment.LEADING) .addGroup(javax.swing.GroupLayout.Alignment.LEADING, jPanel_createNewCurrentAccLayout.createSequentialGroup() .addGap(37, 37, 37) .addComponent(jLabel10)) .addComponent(jbtn_createCurrentAcc, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jtxt_userName, javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jtxt_holderName, javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jButton_createNewCurrentAcc_back, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 92, Short.MAX_VALUE)) .addGap(39, 39, 39) .addGroup(jPanel_createNewCurrentAccLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING) .addComponent(jtxt_joinDate, javax.swing.GroupLayout.PREFERRED_SIZE, 115, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jpw_createCurrentAccPw, javax.swing.GroupLayout.PREFERRED_SIZE, 115, javax.swing.GroupLayout.PREFERRED_SIZE))) .addGroup(jPanel_createNewCurrentAccLayout.createSequentialGroup() .addGap(57, 57, 57) .addComponent(jlnl_holdername) .addGap(83, 83, 83) .addComponent(jlnl_joindate)))) .addGroup(jPanel_createNewCurrentAccLayout.createSequentialGroup() .addGap(32, 32, 32) .addComponent(jlbl_balance) .addGap(91, 91, 91) .addComponent(jlbl_username) .addGap(86, 86, 86) .addComponent(jlbl_password))) .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) .addGroup(jPanel_createNewCurrentAccLayout.createSequentialGroup() .addGroup(jPanel_createNewCurrentAccLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel_createNewCurrentAccLayout.createSequentialGroup() .addGroup(jPanel_createNewCurrentAccLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel_createNewCurrentAccLayout.createSequentialGroup() .addContainerGap() .addComponent(jlbl_currentacctitle)) .addGroup(jPanel_createNewCurrentAccLayout.createSequentialGroup() .addGap(136, 136, 136) .addComponent(jlbl_currentacctitle1))) .addGap(0, 126, Short.MAX_VALUE)) .addComponent(jSeparator6, javax.swing.GroupLayout.Alignment.TRAILING)) .addContainerGap()) ); jPanel_createNewCurrentAccLayout.setVerticalGroup( jPanel_createNewCurrentAccLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel_createNewCurrentAccLayout.createSequentialGroup() .addContainerGap() .addComponent(jlbl_currentacctitle) .addGap(33, 33, 33) .addComponent(jlbl_currentacctitle1) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addComponent(jSeparator6, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 36, Short.MAX_VALUE) .addGroup(jPanel_createNewCurrentAccLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jlbl_accno) .addComponent(jlnl_holdername) .addComponent(jlnl_joindate)) .addGap(18, 18, 18) .addGroup(jPanel_createNewCurrentAccLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jtxt_holderName, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jtxt_accno, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jtxt_joinDate, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGap(40, 40, 40) .addGroup(jPanel_createNewCurrentAccLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jlbl_balance) .addComponent(jlbl_username) .addComponent(jlbl_password)) .addGap(18, 18, 18) .addGroup(jPanel_createNewCurrentAccLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jtxt_balance, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jtxt_userName, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jpw_createCurrentAccPw, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGap(26, 26, 26) .addComponent(jLabel10) .addGap(18, 18, 18) .addComponent(jtxt_createCurrentAccPIN, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(28, 28, 28) .addComponent(jbtn_createCurrentAcc) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addComponent(jButton_createNewCurrentAcc_back) .addGap(18, 18, 18)) ); jPanel_userInterfaceCurrentAcc.setBackground(new java.awt.Color(255, 255, 255)); jPanel_userInterfaceCurrentAcc.setPreferredSize(new java.awt.Dimension(500, 500)); jLabel1.setFont(new java.awt.Font("Segoe UI Light", 0, 36)); // NOI18N jLabel1.setText("Current Account "); jlbl_userInterfaceAccNo.setFont(new java.awt.Font("Segoe UI Light", 0, 14)); // NOI18N jlbl_userInterfaceAccNo.setText("Account number"); jlbl_userInterfaceHolderName.setFont(new java.awt.Font("Segoe UI Light", 0, 14)); // NOI18N jlbl_userInterfaceHolderName.setText("Holder name"); jLabel4.setFont(new java.awt.Font("Segoe UI Light", 0, 14)); // NOI18N jLabel4.setText("Balance"); jLabel5.setFont(new java.awt.Font("Segoe UI Light", 0, 14)); // NOI18N jLabel5.setText("Join date"); jLabel_currentacc_accno.setText("xxx"); jLabel_currentacc_holname.setText("xxx"); jLabel_currentacc_bal.setText("xxx"); jLabel_currentacc_date.setText("xxx"); jButton1.setText("Logout"); jButton1.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jButton1ActionPerformed(evt); } }); jbtn_tranfer.setText("Transfer"); jbtn_tranfer.setToolTipText(""); jbtn_deposit.setText("Deposit"); jbtn_withdraw.setText("Withdraw"); javax.swing.GroupLayout jPanel_userInterfaceCurrentAccLayout = new javax.swing.GroupLayout(jPanel_userInterfaceCurrentAcc); jPanel_userInterfaceCurrentAcc.setLayout(jPanel_userInterfaceCurrentAccLayout); jPanel_userInterfaceCurrentAccLayout.setHorizontalGroup( jPanel_userInterfaceCurrentAccLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel_userInterfaceCurrentAccLayout.createSequentialGroup() .addGroup(jPanel_userInterfaceCurrentAccLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jSeparator7, javax.swing.GroupLayout.Alignment.TRAILING) .addGroup(jPanel_userInterfaceCurrentAccLayout.createSequentialGroup() .addGap(117, 117, 117) .addComponent(jLabel1) .addGap(0, 0, Short.MAX_VALUE)) .addGroup(jPanel_userInterfaceCurrentAccLayout.createSequentialGroup() .addContainerGap() .addGroup(jPanel_userInterfaceCurrentAccLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jLabel_currentacc_accno) .addComponent(jlbl_userInterfaceAccNo) .addComponent(jlbl_userInterfaceHolderName) .addComponent(jLabel5) .addComponent(jLabel_currentacc_date) .addComponent(jLabel4) .addComponent(jLabel_currentacc_bal) .addComponent(jLabel_currentacc_holname)) .addGap(44, 44, 44) .addGroup(jPanel_userInterfaceCurrentAccLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) .addComponent(jbtn_tranfer, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jbtn_withdraw, javax.swing.GroupLayout.PREFERRED_SIZE, 155, javax.swing.GroupLayout.PREFERRED_SIZE)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addGroup(jPanel_userInterfaceCurrentAccLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) .addComponent(jButton1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jbtn_deposit, javax.swing.GroupLayout.PREFERRED_SIZE, 155, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGap(22, 22, 22))) .addContainerGap()) ); jPanel_userInterfaceCurrentAccLayout.setVerticalGroup( jPanel_userInterfaceCurrentAccLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel_userInterfaceCurrentAccLayout.createSequentialGroup() .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jLabel1) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addComponent(jSeparator7, javax.swing.GroupLayout.PREFERRED_SIZE, 10, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(31, 31, 31) .addGroup(jPanel_userInterfaceCurrentAccLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) .addGroup(jPanel_userInterfaceCurrentAccLayout.createSequentialGroup() .addComponent(jlbl_userInterfaceAccNo) .addGap(15, 15, 15) .addComponent(jLabel_currentacc_accno) .addGap(27, 27, 27) .addComponent(jlbl_userInterfaceHolderName) .addGap(18, 18, 18) .addComponent(jLabel_currentacc_holname)) .addComponent(jbtn_tranfer, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jbtn_deposit, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) .addGap(26, 26, 26) .addGroup(jPanel_userInterfaceCurrentAccLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) .addGroup(jPanel_userInterfaceCurrentAccLayout.createSequentialGroup() .addComponent(jLabel5) .addGap(18, 18, 18) .addComponent(jLabel_currentacc_date) .addGap(24, 24, 24) .addComponent(jLabel4) .addGap(18, 18, 18) .addComponent(jLabel_currentacc_bal)) .addComponent(jButton1, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jbtn_withdraw, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) .addGap(235, 235, 235)) ); jPanel_userInterfaceSavingAcc.setBackground(new java.awt.Color(255, 255, 255)); jLabel19.setFont(new java.awt.Font("Segoe UI Light", 0, 36)); // NOI18N jLabel19.setText("Savings Account"); jLabel20.setFont(new java.awt.Font("Segoe UI Light", 0, 12)); // NOI18N jLabel20.setText("Account number"); jLabel21.setFont(new java.awt.Font("Segoe UI Light", 0, 12)); // NOI18N jLabel21.setText("Account holder"); jLabel22.setFont(new java.awt.Font("Segoe UI Light", 0, 12)); // NOI18N jLabel22.setText("Join date"); jLabel23.setFont(new java.awt.Font("Segoe UI Light", 0, 12)); // NOI18N jLabel23.setText("Balance"); jLabel24.setFont(new java.awt.Font("Segoe UI Light", 0, 12)); // NOI18N jLabel24.setText("Username"); jLabel25.setFont(new java.awt.Font("Segoe UI Light", 0, 12)); // NOI18N jLabel25.setText("Password"); jLabel_savingsacc_accno.setText("N/A"); jLabel_savingsacc_acchol.setText("N/A"); jLabel_savingsacc_date.setText("N/A"); jLabel_savingsacc_bal.setText("N/A"); jLabel_savingsacc_user.setText("N/A"); jPassword_savingsacc_pass.setText("jPasswordField2"); jBtn_SA_back.setText("Go back"); jBtn_SA_back.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.ActionEvent evt) { jBtn_SA_backActionPerformed(evt); } }); javax.swing.GroupLayout jPanel_userInterfaceSavingAccLayout = new javax.swing.GroupLayout(jPanel_userInterfaceSavingAcc); jPanel_userInterfaceSavingAcc.setLayout(jPanel_userInterfaceSavingAccLayout); jPanel_userInterfaceSavingAccLayout.setHorizontalGroup( jPanel_userInterfaceSavingAccLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel_userInterfaceSavingAccLayout.createSequentialGroup() .addContainerGap(152, Short.MAX_VALUE) .addGroup(jPanel_userInterfaceSavingAccLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jLabel_savingsacc_date) .addComponent(jLabel22) .addComponent(jLabel_savingsacc_user) .addComponent(jLabel24) .addComponent(jLabel_savingsacc_accno) .addComponent(jLabel20)) .addGap(318, 318, 318)) .addGroup(jPanel_userInterfaceSavingAccLayout.createSequentialGroup() .addGroup(jPanel_userInterfaceSavingAccLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel_userInterfaceSavingAccLayout.createSequentialGroup() .addGap(299, 299, 299) .addGroup(jPanel_userInterfaceSavingAccLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel_userInterfaceSavingAccLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false) .addComponent(jLabel21, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(jLabel25) .addComponent(jPassword_savingsacc_pass, javax.swing.GroupLayout.PREFERRED_SIZE, 1, Short.MAX_VALUE) .addComponent(jLabel_savingsacc_acchol)) .addComponent(jLabel23) .addComponent(jLabel_savingsacc_bal))) .addGroup(jPanel_userInterfaceSavingAccLayout.createSequentialGroup() .addGap(146, 146, 146) .addGroup(jPanel_userInterfaceSavingAccLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jLabel19) .addComponent(jBtn_SA_back, javax.swing.GroupLayout.PREFERRED_SIZE, 250, javax.swing.GroupLayout.PREFERRED_SIZE)))) .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel_userInterfaceSavingAccLayout.createSequentialGroup() .addContainerGap() .addComponent(jSeparator5) .addContainerGap()) ); jPanel_userInterfaceSavingAccLayout.setVerticalGroup( jPanel_userInterfaceSavingAccLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel_userInterfaceSavingAccLayout.createSequentialGroup() .addContainerGap() .addComponent(jLabel19) .addGap(32, 32, 32) .addComponent(jSeparator5, javax.swing.GroupLayout.PREFERRED_SIZE, 10, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(52, 52, 52) .addGroup(jPanel_userInterfaceSavingAccLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabel20) .addComponent(jLabel21)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addGroup(jPanel_userInterfaceSavingAccLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabel_savingsacc_accno) .addComponent(jLabel_savingsacc_acchol)) .addGap(45, 45, 45) .addGroup(jPanel_userInterfaceSavingAccLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabel24) .addComponent(jLabel25)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addGroup(jPanel_userInterfaceSavingAccLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabel_savingsacc_user) .addComponent(jPassword_savingsacc_pass, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGap(45, 45, 45) .addGroup(jPanel_userInterfaceSavingAccLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabel22) .addComponent(jLabel23)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addGroup(jPanel_userInterfaceSavingAccLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabel_savingsacc_date) .addComponent(jLabel_savingsacc_bal)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 44, Short.MAX_VALUE) .addComponent(jBtn_SA_back, javax.swing.GroupLayout.PREFERRED_SIZE, 34, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(34, 34, 34)) ); jPanel_adminControlPanel.setBackground(new java.awt.Color(255, 255, 255)); jPanel_adminControlPanel.setPreferredSize(new java.awt.Dimension(500, 500)); jlblTitle.setText("Admin control panel"); jbtn_currentAcc.setText("Current Account"); jbtn_savingsAcc.setText("Savings Account"); jbtn_changePin.setText("Change pin on existing account"); jbtn_back.setText("Go Back"); jLabel9.setFont(new java.awt.Font("Segoe UI Light", 0, 36)); // NOI18N jLabel9.setText("Create"); jLabel11.setFont(new java.awt.Font("Segoe UI Light", 0, 36)); // NOI18N jLabel11.setText("Change"); javax.swing.GroupLayout jPanel_adminControlPanelLayout = new javax.swing.GroupLayout(jPanel_adminControlPanel); jPanel_adminControlPanel.setLayout(jPanel_adminControlPanelLayout); jPanel_adminControlPanelLayout.setHorizontalGroup( jPanel_adminControlPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel_adminControlPanelLayout.createSequentialGroup() .addContainerGap() .addComponent(jlblTitle) .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) .addGroup(jPanel_adminControlPanelLayout.createSequentialGroup() .addGroup(jPanel_adminControlPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel_adminControlPanelLayout.createSequentialGroup() .addGap(39, 39, 39) .addGroup(jPanel_adminControlPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel_adminControlPanelLayout.createSequentialGroup() .addGap(48, 48, 48) .addComponent(jLabel9)) .addComponent(jSeparator2, javax.swing.GroupLayout.PREFERRED_SIZE, 210, javax.swing.GroupLayout.PREFERRED_SIZE))) .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel_adminControlPanelLayout.createSequentialGroup() .addContainerGap() .addGroup(jPanel_adminControlPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jbtn_currentAcc, javax.swing.GroupLayout.PREFERRED_SIZE, 210, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jbtn_savingsAcc, javax.swing.GroupLayout.PREFERRED_SIZE, 215, javax.swing.GroupLayout.PREFERRED_SIZE)))) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 41, Short.MAX_VALUE) .addGroup(jPanel_adminControlPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel_adminControlPanelLayout.createSequentialGroup() .addComponent(jSeparator4, javax.swing.GroupLayout.PREFERRED_SIZE, 200, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(43, 43, 43)) .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel_adminControlPanelLayout.createSequentialGroup() .addComponent(jLabel11) .addGap(84, 84, 84)) .addGroup(jPanel_adminControlPanelLayout.createSequentialGroup() .addGroup(jPanel_adminControlPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel_adminControlPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false) .addComponent(jbtn_changePin, javax.swing.GroupLayout.DEFAULT_SIZE, 210, Short.MAX_VALUE) .addComponent(jSeparator3)) .addComponent(jbtn_back, javax.swing.GroupLayout.PREFERRED_SIZE, 210, javax.swing.GroupLayout.PREFERRED_SIZE)) .addContainerGap()))) ); jPanel_adminControlPanelLayout.setVerticalGroup( jPanel_adminControlPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel_adminControlPanelLayout.createSequentialGroup() .addContainerGap() .addComponent(jlblTitle) .addGap(49, 49, 49) .addGroup(jPanel_adminControlPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jLabel9) .addComponent(jLabel11)) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED) .addGroup(jPanel_adminControlPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING) .addGroup(jPanel_adminControlPanelLayout.createSequentialGroup() .addGroup(jPanel_adminControlPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jPanel_adminControlPanelLayout.createSequentialGroup() .addComponent(jSeparator2, javax.swing.GroupLayout.PREFERRED_SIZE, 10, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(18, 18, 18) .addGroup(jPanel_adminControlPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE) .addComponent(jbtn_currentAcc, javax.swing.GroupLayout.PREFERRED_SIZE, 104, javax.swing.GroupLayout.PREFERRED_SIZE) .addComponent(jbtn_changePin, javax.swing.GroupLayout.PREFERRED_SIZE, 104, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGap(40, 40, 40) .addComponent(jSeparator4, javax.swing.GroupLayout.PREFERRED_SIZE, 10, javax.swing.GroupLayout.PREFERRED_SIZE)) .addComponent(jSeparator3, javax.swing.GroupLayout.PREFERRED_SIZE, 10, javax.swing.GroupLayout.PREFERRED_SIZE)) .addGap(4, 4, 4) .addComponent(jbtn_savingsAcc, javax.swing.GroupLayout.PREFERRED_SIZE, 104, javax.swing.GroupLayout.PREFERRED_SIZE)) .addComponent(jbtn_back, javax.swing.GroupLayout.PREFERRED_SIZE, 56, javax.swing.GroupLayout.PREFERRED_SIZE)) .addContainerGap(115, Short.MAX_VALUE)) ); jLPane.setLayer(jPanel_loginScreen, javax.swing.JLayeredPane.DEFAULT_LAYER); jLPane.setLayer(jPanel_createSavingsAcc, javax.swing.JLayeredPane.DEFAULT_LAYER); jLPane.setLayer(jPanel_createNewCurrentAcc, javax.swing.JLayeredPane.DEFAULT_LAYER); jLPane.setLayer(jPanel_userInterfaceCurrentAcc, javax.swing.JLayeredPane.DEFAULT_LAYER); jLPane.setLayer(jPanel_userInterfaceSavingAcc, javax.swing.JLayeredPane.DEFAULT_LAYER); jLPane.setLayer(jPanel_adminControlPanel, javax.swing.JLayeredPane.DEFAULT_LAYER); javax.swing.GroupLayout jLPaneLayout = new javax.swing.GroupLayout(jLPane); jLPane.setLayout(jLPaneLayout); jLPaneLayout.setHorizontalGroup( jLPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jPanel_loginScreen, javax.swing.GroupLayout.DEFAULT_SIZE, 553, Short.MAX_VALUE) .addGroup(jLPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jPanel_createNewCurrentAcc, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) .addGroup(jLPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jPanel_userInterfaceCurrentAcc, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, 553, Short.MAX_VALUE)) .addGroup(jLPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jLPaneLayout.createSequentialGroup() .addGap(0, 0, Short.MAX_VALUE) .addComponent(jPanel_createSavingsAcc, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(0, 0, Short.MAX_VALUE))) .addGroup(jLPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jLPaneLayout.createSequentialGroup() .addGap(0, 0, Short.MAX_VALUE) .addComponent(jPanel_userInterfaceSavingAcc, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(0, 0, Short.MAX_VALUE))) .addGroup(jLPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jLPaneLayout.createSequentialGroup() .addContainerGap() .addComponent(jPanel_adminControlPanel, javax.swing.GroupLayout.DEFAULT_SIZE, 533, Short.MAX_VALUE) .addContainerGap())) ); jLPaneLayout.setVerticalGroup( jLPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jPanel_loginScreen, javax.swing.GroupLayout.DEFAULT_SIZE, 560, Short.MAX_VALUE) .addGroup(jLPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jPanel_createNewCurrentAcc, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) .addGroup(jLPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jPanel_userInterfaceCurrentAcc, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 560, Short.MAX_VALUE)) .addGroup(jLPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jLPaneLayout.createSequentialGroup() .addGap(0, 0, Short.MAX_VALUE) .addComponent(jPanel_createSavingsAcc, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(0, 0, Short.MAX_VALUE))) .addGroup(jLPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jLPaneLayout.createSequentialGroup() .addGap(0, 0, Short.MAX_VALUE) .addComponent(jPanel_userInterfaceSavingAcc, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE) .addGap(0, 0, Short.MAX_VALUE))) .addGroup(jLPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(jLPaneLayout.createSequentialGroup() .addGap(11, 11, 11) .addComponent(jPanel_adminControlPanel, javax.swing.GroupLayout.DEFAULT_SIZE, 538, Short.MAX_VALUE) .addGap(11, 11, 11))) ); jPanel_userInterfaceCurrentAcc.getAccessibleContext().setAccessibleDescription(""); javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane()); getContentPane().setLayout(layout); layout.setHorizontalGroup( layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jLPane, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, 553, Short.MAX_VALUE) ); layout.setVerticalGroup( layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(jLPane, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, 560, Short.MAX_VALUE) ); pack(); }
{ "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 initComponents();\n }", "public AdjointForm() {\n initComponents();\n setDefaultCloseOperation(HIDE_ON_CLOSE);\n }", "public FormListRemarking() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n \n }", "public FormPemilihan() {\n initComponents();\n }", "public GUIForm() { \n initComponents();\n }", "public FrameForm() {\n initComponents();\n }", "public TorneoForm() {\n initComponents();\n }", "public FormCompra() {\n initComponents();\n }", "public muveletek() {\n initComponents();\n }", "public Interfax_D() {\n initComponents();\n }", "public quanlixe_form() {\n initComponents();\n }", "public SettingsForm() {\n initComponents();\n }", "public RegistrationForm() {\n initComponents();\n this.setLocationRelativeTo(null);\n }", "public Soru1() {\n initComponents();\n }", "public FMainForm() {\n initComponents();\n this.setResizable(false);\n setLocationRelativeTo(null);\n }", "public soal2GUI() {\n initComponents();\n }", "public EindopdrachtGUI() {\n initComponents();\n }", "public MechanicForm() {\n initComponents();\n }", "public AddDocumentLineForm(java.awt.Frame parent) {\n super(parent);\n initComponents();\n myInit();\n }", "public quotaGUI() {\n initComponents();\n }", "public BloodDonationGUI() {\n initComponents();\n }", "public Customer_Form() {\n initComponents();\n setSize(890,740);\n \n \n }", "public PatientUI() {\n initComponents();\n }", "public myForm() {\n\t\t\tinitComponents();\n\t\t}", "public Oddeven() {\n initComponents();\n }", "public intrebarea() {\n initComponents();\n }", "public Magasin() {\n initComponents();\n }", "public RadioUI()\n {\n initComponents();\n }", "public NewCustomerGUI() {\n initComponents();\n }", "public ZobrazUdalost() {\n initComponents();\n }", "public FormUtama() {\n initComponents();\n }", "public p0() {\n initComponents();\n }", "public INFORMACION() {\n initComponents();\n this.setLocationRelativeTo(null); \n }", "public ProgramForm() {\n setLookAndFeel();\n initComponents();\n }", "public AmountReleasedCommentsForm() {\r\n initComponents();\r\n }", "public form2() {\n initComponents();\n }", "public MainForm() {\n\t\tsuper(\"Hospital\", List.IMPLICIT);\n\n\t\tstartComponents();\n\t}", "public kunde() {\n initComponents();\n }", "public LixeiraForm() {\n initComponents();\n setLocationRelativeTo(null);\n }", "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n setName(\"Form\"); // NOI18N\n setRequestFocusEnabled(false);\n setVerifyInputWhenFocusTarget(false);\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);\n this.setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 465, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 357, Short.MAX_VALUE)\n );\n }", "public MusteriEkle() {\n initComponents();\n }", "public frmMain() {\n initComponents();\n }", "public frmMain() {\n initComponents();\n }", "public DESHBORDPANAL() {\n initComponents();\n }", "public frmVenda() {\n initComponents();\n }", "public GUIForm() {\n initComponents();\n inputField.setText(NO_FILE_SELECTED);\n outputField.setText(NO_FILE_SELECTED);\n progressLabel.setBackground(INFO);\n progressLabel.setText(SELECT_FILE);\n }", "public Botonera() {\n initComponents();\n }", "public FrmMenu() {\n initComponents();\n }", "public OffertoryGUI() {\n initComponents();\n setTypes();\n }", "public JFFornecedores() {\n initComponents();\n }", "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents()\n {\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n setBackground(new java.awt.Color(255, 255, 255));\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 983, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 769, Short.MAX_VALUE)\n );\n\n pack();\n }", "public EnterDetailsGUI() {\n initComponents();\n }", "public vpemesanan1() {\n initComponents();\n }", "public Kost() {\n initComponents();\n }", "public frmacceso() {\n initComponents();\n }", "public FormHorarioSSE() {\n initComponents();\n }", "public UploadForm() {\n initComponents();\n }", "public HW3() {\n initComponents();\n }", "public Managing_Staff_Main_Form() {\n initComponents();\n }", "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents()\n {\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n getContentPane().setLayout(null);\n\n pack();\n }", "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n setName(\"Form\"); // NOI18N\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);\n this.setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 400, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 300, Short.MAX_VALUE)\n );\n }", "public sinavlar2() {\n initComponents();\n }", "public P0405() {\n initComponents();\n }", "public IssueBookForm() {\n initComponents();\n }", "public MiFrame2() {\n initComponents();\n }", "public Choose1() {\n initComponents();\n }", "public MainForm() {\n initComponents();\n\n String oldAuthor = prefs.get(\"AUTHOR\", \"\");\n if(oldAuthor != null) {\n this.authorTextField.setText(oldAuthor);\n }\n String oldBook = prefs.get(\"BOOK\", \"\");\n if(oldBook != null) {\n this.bookTextField.setText(oldBook);\n }\n String oldDisc = prefs.get(\"DISC\", \"\");\n if(oldDisc != null) {\n try {\n int oldDiscNum = Integer.parseInt(oldDisc);\n oldDiscNum++;\n this.discNumberTextField.setText(Integer.toString(oldDiscNum));\n } catch (Exception ex) {\n this.discNumberTextField.setText(oldDisc);\n }\n this.bookTextField.setText(oldBook);\n }\n\n\n }", "public Lihat_Dokter_Keseluruhan() {\n initComponents();\n }", "public GUI_StudentInfo() {\n initComponents();\n }", "public JFrmPrincipal() {\n initComponents();\n }", "public bt526() {\n initComponents();\n }", "public Pemilihan_Dokter() {\n initComponents();\n }", "public Ablak() {\n initComponents();\n }", "@Override\n\tprotected void initUi() {\n\t\t\n\t}", "@SuppressWarnings(\"unchecked\")\n\t// <editor-fold defaultstate=\"collapsed\" desc=\"Generated\n\t// Code\">//GEN-BEGIN:initComponents\n\tprivate void initComponents() {\n\n\t\tlabel1 = new java.awt.Label();\n\t\tlabel2 = new java.awt.Label();\n\t\tlabel3 = new java.awt.Label();\n\t\tlabel4 = new java.awt.Label();\n\t\tlabel5 = new java.awt.Label();\n\t\tlabel6 = new java.awt.Label();\n\t\tlabel7 = new java.awt.Label();\n\t\tlabel8 = new java.awt.Label();\n\t\tlabel9 = new java.awt.Label();\n\t\tlabel10 = new java.awt.Label();\n\t\ttextField1 = new java.awt.TextField();\n\t\ttextField2 = new java.awt.TextField();\n\t\tlabel14 = new java.awt.Label();\n\t\tlabel15 = new java.awt.Label();\n\t\tlabel16 = new java.awt.Label();\n\t\ttextField3 = new java.awt.TextField();\n\t\ttextField4 = new java.awt.TextField();\n\t\ttextField5 = new java.awt.TextField();\n\t\tlabel17 = new java.awt.Label();\n\t\tlabel18 = new java.awt.Label();\n\t\tlabel19 = new java.awt.Label();\n\t\tlabel20 = new java.awt.Label();\n\t\tlabel21 = new java.awt.Label();\n\t\tlabel22 = new java.awt.Label();\n\t\ttextField6 = new java.awt.TextField();\n\t\ttextField7 = new java.awt.TextField();\n\t\ttextField8 = new java.awt.TextField();\n\t\tlabel23 = new java.awt.Label();\n\t\ttextField9 = new java.awt.TextField();\n\t\ttextField10 = new java.awt.TextField();\n\t\ttextField11 = new java.awt.TextField();\n\t\ttextField12 = new java.awt.TextField();\n\t\tlabel24 = new java.awt.Label();\n\t\tlabel25 = new java.awt.Label();\n\t\tlabel26 = new java.awt.Label();\n\t\tlabel27 = new java.awt.Label();\n\t\tlabel28 = new java.awt.Label();\n\t\tlabel30 = new java.awt.Label();\n\t\tlabel31 = new java.awt.Label();\n\t\tlabel32 = new java.awt.Label();\n\t\tjButton1 = new javax.swing.JButton();\n\n\t\tlabel1.setFont(new java.awt.Font(\"Segoe UI Semibold\", 0, 18)); // NOI18N\n\t\tlabel1.setText(\"It seems that some of the buttons on the ATM machine are not working!\");\n\n\t\tlabel2.setFont(new java.awt.Font(\"Segoe UI Semibold\", 0, 18)); // NOI18N\n\t\tlabel2.setText(\"Unfortunately these numbers are exactly what Professor has to use to type in his password.\");\n\n\t\tlabel3.setFont(new java.awt.Font(\"Segoe UI Semibold\", 0, 18)); // NOI18N\n\t\tlabel3.setText(\n\t\t\t\t\"If you want to eat tonight, you have to help him out and construct the numbers of the password with the working buttons and math operators.\");\n\n\t\tlabel4.setFont(new java.awt.Font(\"Segoe UI Semibold\", 0, 14)); // NOI18N\n\t\tlabel4.setText(\"Denver's Password: 2792\");\n\n\t\tlabel5.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel5.setText(\"import java.util.Scanner;\\n\");\n\n\t\tlabel6.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel6.setText(\"public class ATM{\");\n\n\t\tlabel7.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel7.setText(\"public static void main(String[] args){\");\n\n\t\tlabel8.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel8.setText(\"System.out.print(\");\n\n\t\tlabel9.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel9.setText(\" -\");\n\n\t\tlabel10.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel10.setText(\");\");\n\n\t\ttextField1.addActionListener(new java.awt.event.ActionListener() {\n\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent evt) {\n\t\t\t\ttextField1ActionPerformed(evt);\n\t\t\t}\n\t\t});\n\n\t\tlabel14.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel14.setText(\"System.out.print( (\");\n\n\t\tlabel15.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel15.setText(\"System.out.print(\");\n\n\t\tlabel16.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel16.setText(\"System.out.print( ( (\");\n\n\t\tlabel17.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel17.setText(\")\");\n\n\t\tlabel18.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel18.setText(\" +\");\n\n\t\tlabel19.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel19.setText(\");\");\n\n\t\tlabel20.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel20.setText(\" /\");\n\n\t\tlabel21.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel21.setText(\" %\");\n\n\t\tlabel22.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel22.setText(\" +\");\n\n\t\tlabel23.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel23.setText(\");\");\n\n\t\tlabel24.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel24.setText(\" +\");\n\n\t\tlabel25.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel25.setText(\" /\");\n\n\t\tlabel26.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel26.setText(\" *\");\n\n\t\tlabel27.setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));\n\t\tlabel27.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel27.setText(\")\");\n\n\t\tlabel28.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel28.setText(\")\");\n\n\t\tlabel30.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel30.setText(\"}\");\n\n\t\tlabel31.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel31.setText(\"}\");\n\n\t\tlabel32.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel32.setText(\");\");\n\n\t\tjButton1.setFont(new java.awt.Font(\"Segoe UI Semibold\", 0, 14)); // NOI18N\n\t\tjButton1.setText(\"Check\");\n\t\tjButton1.addActionListener(new java.awt.event.ActionListener() {\n\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent evt) {\n\t\t\t\tjButton1ActionPerformed(evt);\n\t\t\t}\n\t\t});\n\n\t\tjavax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);\n\t\tlayout.setHorizontalGroup(layout.createParallelGroup(Alignment.LEADING)\n\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(28).addGroup(layout\n\t\t\t\t\t\t.createParallelGroup(Alignment.LEADING).addComponent(getDoneButton()).addComponent(jButton1)\n\t\t\t\t\t\t.addComponent(label7, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addComponent(label6, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addComponent(label5, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addComponent(label4, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addComponent(label3, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t.addComponent(label1, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t.addGap(1)\n\t\t\t\t\t\t\t\t.addComponent(label2, GroupLayout.PREFERRED_SIZE, 774, GroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t.addGap(92).addGroup(layout.createParallelGroup(Alignment.LEADING).addGroup(layout\n\t\t\t\t\t\t\t\t\t\t.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING, false)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label15, GroupLayout.PREFERRED_SIZE, 145,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField8, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(2)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label21, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField7, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label8, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField1, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label9, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED).addComponent(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttextField2, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label31, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label14, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(37))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(174)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField5, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t20, GroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label18, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(7)))\n\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING).addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.TRAILING, false).addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField4, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t20, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label17, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label22, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField9, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t20, GroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t.addGap(20)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label23, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label20, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField3, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t20, GroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t.addGap(20).addComponent(label19, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(23).addComponent(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tlabel10, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))))\n\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label16, GroupLayout.PREFERRED_SIZE, 177,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField12, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label24, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField6, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label27, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label25, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField11, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label28, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGap(1)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label26, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField10, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED).addComponent(label32,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))))\n\t\t\t\t\t\t.addComponent(label30, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t.addContainerGap(GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)));\n\t\tlayout.setVerticalGroup(\n\t\t\t\tlayout.createParallelGroup(Alignment.LEADING).addGroup(layout.createSequentialGroup().addContainerGap()\n\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t.addComponent(label1, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t.addComponent(label2, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t.addGap(1)\n\t\t\t\t\t\t.addComponent(label3, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addComponent(label4, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addComponent(label5, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addComponent(label6, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addComponent(label7, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\tAlignment.TRAILING)\n\t\t\t\t\t\t\t\t.addGroup(\n\t\t\t\t\t\t\t\t\t\tlayout.createSequentialGroup().addGroup(layout.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\t\t\tAlignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createSequentialGroup().addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.TRAILING).addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label9,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label8,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField1,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttextField2, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label10,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(3)))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(19)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField5,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label14,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label18,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label17,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField4,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(1))))\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label20, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label19, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField3, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(78)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label27, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(76)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField11, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(75)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label32,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField10,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tShort.MAX_VALUE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.TRAILING, false)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAlignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label15,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField8,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label21,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField7,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(27))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAlignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField9,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAlignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label22,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlayout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(3)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlabel23,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(29)))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label16,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField12,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAlignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label24,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField6,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(1))))))\n\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t.addComponent(label25, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t.addComponent(label28, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t.addComponent(label26, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t.addGap(30)\n\t\t\t\t\t\t.addComponent(label31, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addGap(25)\n\t\t\t\t\t\t.addComponent(label30, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addGap(26).addComponent(jButton1).addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addComponent(getDoneButton()).addContainerGap(23, Short.MAX_VALUE)));\n\t\tthis.setLayout(layout);\n\n\t\tlabel16.getAccessibleContext().setAccessibleName(\"System.out.print( ( (\");\n\t\tlabel17.getAccessibleContext().setAccessibleName(\"\");\n\t\tlabel18.getAccessibleContext().setAccessibleName(\" +\");\n\t}", "public Pregunta23() {\n initComponents();\n }", "public FormMenuUser() {\n super(\"Form Menu User\");\n initComponents();\n }", "public AvtekOkno() {\n initComponents();\n }", "public busdet() {\n initComponents();\n }", "public ViewPrescriptionForm() {\n initComponents();\n }", "public Ventaform() {\n initComponents();\n }", "public Kuis2() {\n initComponents();\n }", "public CreateAccount_GUI() {\n initComponents();\n }", "public Carrera() {\n initComponents();\n }", "public POS1() {\n initComponents();\n }", "public EqGUI() {\n initComponents();\n }", "public JFriau() {\n initComponents();\n this.setLocationRelativeTo(null);\n this.setTitle(\"BuNus - Budaya Nusantara\");\n }", "@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n setBackground(new java.awt.Color(204, 204, 204));\n setMinimumSize(new java.awt.Dimension(1, 1));\n setPreferredSize(new java.awt.Dimension(760, 402));\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);\n this.setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 750, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 400, Short.MAX_VALUE)\n );\n }", "public nokno() {\n initComponents();\n }", "public dokter() {\n initComponents();\n }", "public ConverterGUI() {\n initComponents();\n }", "public hitungan() {\n initComponents();\n }", "public Modify() {\n initComponents();\n }", "public frmAddIncidencias() {\n initComponents();\n }", "public FP_Calculator_GUI() {\n initComponents();\n \n setVisible(true);\n }" ]
[ "0.7318948", "0.7290426", "0.7290426", "0.7290426", "0.7284922", "0.7247965", "0.7213206", "0.72080696", "0.7195916", "0.7189941", "0.71835536", "0.71579427", "0.7147217", "0.70927703", "0.7080282", "0.7055882", "0.6987108", "0.69770193", "0.6954159", "0.69529283", "0.6944756", "0.6941631", "0.69351804", "0.6931676", "0.69271684", "0.6924507", "0.6924333", "0.6910886", "0.6910063", "0.6893039", "0.6892514", "0.68902403", "0.68896806", "0.68873954", "0.688239", "0.68815583", "0.68807346", "0.6877274", "0.68747336", "0.6873939", "0.6871645", "0.6858798", "0.68562996", "0.68551964", "0.6854526", "0.6853759", "0.6852625", "0.6852071", "0.6852071", "0.6842801", "0.6836393", "0.6835916", "0.6827825", "0.68275064", "0.6826875", "0.6823854", "0.68217176", "0.6816455", "0.68164307", "0.68095225", "0.68079925", "0.6807973", "0.6807133", "0.6806263", "0.6802961", "0.67933935", "0.6793082", "0.6791554", "0.6789944", "0.6788754", "0.6787684", "0.67871934", "0.6783336", "0.67656237", "0.6765452", "0.6764802", "0.67560065", "0.67553526", "0.67517436", "0.6751359", "0.67414886", "0.67386204", "0.67362994", "0.67358786", "0.6732659", "0.6726978", "0.67262286", "0.6719745", "0.6715412", "0.67137116", "0.6713403", "0.670771", "0.67069227", "0.670236", "0.6701016", "0.6700013", "0.66983503", "0.66981363", "0.6694568", "0.66907334", "0.66893756" ]
0.0
-1
function referenced from oracle docs:
private boolean adminPasswordIsCorrect (char[] inputPassword) { boolean isCorrect = true; char[] adminPassword = { 'a', 'd', 'm', 'i', 'n'}; if (inputPassword.length != adminPassword.length) { isCorrect = false; } else { isCorrect = Arrays.equals (inputPassword, adminPassword); } //Zero out the password, for security Arrays.fill(adminPassword,'0'); return isCorrect; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void func_104112_b() {\n \n }", "public void method_4270() {}", "static int size_of_ora(String passed){\n\t\treturn 1;\n\t}", "private static void testOracle10() throws Exception {\n\t\tConnection conn = DriverManager.getConnection(\"jdbc:oracle:thin:@192.168.5.74:1521:orcl\", \"rtmartvts\", \"comwave\");\r\n\r\n\t\t// Query the employee names\r\n\t\tStatement stmt = conn.createStatement();\r\n\t\t// stmt.execute(\"create table TEST1(A1 VARCHAR2(50) NOT NULL,A2 DATE, A3 NUMBER(10,2))\");\r\n\t\t// ResultSet rset = stmt.executeQuery(\"SELECT owner, table_name FROM dba_tables\");\r\n\r\n\t\t// String sql = \"SELECT column_name FROM cols WHERE table_name LIKE 'AA%'\";\r\n\t\tResultSet rset = stmt.executeQuery(\"SELECT * FROM CITY\");\r\n\t\t// ResultSet rset = stmt.executeQuery(sql);\r\n\t\t// Print the name out\r\n\t\twhile (rset.next())\r\n\t\t\tSystem.out.println(rset.getString(1));\r\n\r\n\t\t// System.out.println(rset.getString(1) + \":\" + rset.getString(2));\r\n\r\n\t}", "@Override\n\tpublic void visit(OracleHint arg0) {\n\t\t\n\t}", "int insertSelective(TABLE41 record);", "void mo57277b();", "FunctionInfo selectByPrimaryKey(String fucno);", "public int cursor();", "zzang mo29839S() throws RemoteException;", "public Object[] getOracleArray(long paramLong, int paramInt)\n/* */ throws SQLException\n/* */ {\n/* 283 */ int i = sliceLength(paramLong, paramInt);\n/* */ \n/* 285 */ if (i < 0) {\n/* 286 */ return null;\n/* */ }\n/* 288 */ Object localObject = null;\n/* */ \n/* 290 */ switch (this.sqlType)\n/* */ {\n/* */ \n/* */ case -13: \n/* 294 */ localObject = new BFILE[i];\n/* */ \n/* 296 */ break;\n/* */ \n/* */ case 2004: \n/* 299 */ localObject = new BLOB[i];\n/* */ \n/* 301 */ break;\n/* */ \n/* */ \n/* */ case 1: \n/* */ case 12: \n/* 306 */ localObject = new CHAR[i];\n/* */ \n/* 308 */ break;\n/* */ \n/* */ case 2005: \n/* 311 */ localObject = new CLOB[i];\n/* */ \n/* 313 */ break;\n/* */ \n/* */ case 91: \n/* 316 */ localObject = new DATE[i];\n/* */ \n/* 318 */ break;\n/* */ \n/* */ case 93: \n/* 321 */ localObject = new TIMESTAMP[i];\n/* */ \n/* 323 */ break;\n/* */ \n/* */ case -101: \n/* 326 */ localObject = new TIMESTAMPTZ[i];\n/* */ \n/* 328 */ break;\n/* */ \n/* */ case -102: \n/* 331 */ localObject = new TIMESTAMPLTZ[i];\n/* */ \n/* 333 */ break;\n/* */ \n/* */ case -104: \n/* 336 */ localObject = new INTERVALDS[i];\n/* */ \n/* 338 */ break;\n/* */ \n/* */ case -103: \n/* 341 */ localObject = new INTERVALYM[i];\n/* */ \n/* 343 */ break;\n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ case 2: \n/* */ case 3: \n/* */ case 4: \n/* */ case 5: \n/* */ case 6: \n/* */ case 7: \n/* */ case 8: \n/* 358 */ localObject = new NUMBER[i];\n/* */ \n/* 360 */ break;\n/* */ \n/* */ case -2: \n/* 363 */ localObject = new RAW[i];\n/* */ \n/* 365 */ break;\n/* */ \n/* */ case 100: \n/* 368 */ localObject = new BINARY_FLOAT[i];\n/* */ \n/* 370 */ break;\n/* */ \n/* */ case 101: \n/* 373 */ localObject = new BINARY_DOUBLE[i];\n/* */ \n/* 375 */ break;\n/* */ \n/* */ \n/* */ \n/* */ \n/* */ \n/* */ case 0: \n/* */ case 2002: \n/* */ case 2003: \n/* */ case 2006: \n/* */ case 2007: \n/* 386 */ if (this.old_factory == null)\n/* */ {\n/* 388 */ localObject = new ORAData[i];\n/* */ }\n/* */ else\n/* */ {\n/* 392 */ localObject = new CustomDatum[i];\n/* */ }\n/* */ \n/* 395 */ break;\n/* */ \n/* */ \n/* */ \n/* */ \n/* */ case -15: \n/* */ case -9: \n/* 402 */ setNChar();\n/* 403 */ localObject = new CHAR[i];\n/* 404 */ break;\n/* */ \n/* */ case 2011: \n/* 407 */ localObject = new NCLOB[i];\n/* 408 */ break;\n/* */ \n/* */ \n/* */ \n/* */ \n/* */ default: \n/* 414 */ SQLException localSQLException = DatabaseError.createSqlException(getConnectionDuringExceptionHandling(), 48);\n/* 415 */ localSQLException.fillInStackTrace();\n/* 416 */ throw localSQLException;\n/* */ }\n/* */ \n/* */ \n/* 420 */ return getOracleArray(paramLong, (Object[])localObject);\n/* */ }", "public void func_70295_k_() {}", "public void func_70305_f() {}", "int insertSelective(TblBTSSysFunctionDO record);", "int insert(PrhFree record);", "public abstract long mo20901UQ();", "int insert(TABLE41 record);", "int insertSelective(PrhFree record);", "zzafe mo29840Y() throws RemoteException;", "protected boolean func_70814_o() { return true; }", "void mo57278c();", "public ResultSet retid(String username) throws SQLException {\n\trs=DbConnect.getStatement().executeQuery(\"select user_seq.nextval-1 from dual\");\r\n\treturn rs;\r\n}", "void mo41083a();", "void mo72113b();", "int mo742l() throws RemoteException;", "public static void c1_vl() {\n\t}", "int insert(TblBTSSysFunctionDO record);", "int insertSelective(Assist_table record);", "public abstract String mo41079d();", "public abstract void mo27385c();", "public static void main(String[] args) {\n\t\tConnection con =null;\r\n\t\ttry {\r\n\t\t\tClass.forName(\"oracle.jdbc.driver.OracleDriver\");\r\n\t\t} catch (ClassNotFoundException e) {\r\n\t\t\tSystem.out.println(\"Driver not found\"+e.getMessage());\r\n\t\t}\r\n\t\t\r\n\t\t\r\n\t\tString url=\"jdbc:oracle:thin:@localhost:1521:orcl\";\r\n\t\tString username=\"hr\";\r\n\t\tString password=\"hr\";\r\n\t\t// 2. Get connection\r\n\t\ttry {\r\n\t\t\tcon =DriverManager.getConnection(url,username,password);\r\n\t\t\tDriverManager.getConnection(url,username,password);\r\n\t\t} catch (SQLException e) {\r\n\t\t\tSystem.out.println(\"Connection failed\"+e.getMessage());\r\n\t\t}\r\n\t\t\r\n\t\t\r\n\t\t// database metadata\r\n\t\ttry {\r\n\t\t\tDatabaseMetaData dbmeta = con.getMetaData();\r\n\t\t\tSystem.out.println(dbmeta.toString());\r\n\t\t\tSystem.out.println(dbmeta.getDatabaseMajorVersion());\r\n\t\t\tSystem.out.println(dbmeta.getDatabaseProductName());\r\n\t\t\t}catch(SQLException e) {\r\n\t\t\t\te.printStackTrace();\r\n\t\t\t}\r\n\t\t// Create statement object\r\n\t\tString sql=\"select employee_id, first_name, last_name from employees\";\r\n\t\ttry {\r\n\t\t\tStatement st =con.createStatement();\r\n\t\t\tResultSet rs=st.executeQuery(sql);\r\n\t\t\t\r\n\t\t\tResultSetMetaData rsmd =rs.getMetaData();\r\n\t\t\tint colcount =rsmd.getColumnCount();\r\n\t\t\tSystem.out.println(\"Colcount:\"+colcount);\r\n\t\t\tint count=0;\r\n\t\t\tint type = rsmd.getColumnType(2);\r\n\t\t\tif(type == Types.INTEGER) {\r\n\t\t\t\tSystem.out.println(\"Col has Intehger type\");\r\n\t\t\t}\r\n\t\t\telse if(type == Types.VARCHAR) {\r\n\t\t\t\tSystem.out.println(\"col is a string (varchar)\");\r\n\t\t\t}else if (type == Types.NUMERIC) {\r\n\t\t\t\tSystem.out.println(\"Col is type numeric\");\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\tSystem.out.println(rsmd.getColumnTypeName(1));\r\n\t\t\twhile(rs.next()) {\r\n\t\t\t\t\r\n\t\t\t\t//String fname =rs.getString(\"first_name\");\r\n\t\t\t\t\r\n\t\t\t\t//System.out.println(fname);\r\n\t\t\t\tcount++;\r\n\t\t\t}\r\n\t\t\tSystem.out.println(count);\r\n\t\t\trs.close();\r\n\t\t\tst.close();\r\n\t\t\tcon.close();\r\n\r\n\t\t} catch(SQLException sqle) {\r\n\t\t\tSystem.out.println(sqle.getMessage());\r\n\t\t}\r\n\r\n\t}", "public abstract String mo13682d();", "void mo21072c();", "public abstract String mo118046b();", "@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}", "@Override\n\tprotected Map<String, List<ProcedureParamSrc>> loadProcedures(String databaseName) throws SQLException {\n\t\t Map<String, List<ProcedureParamSrc>> ret=new HashMap<>();\n\t\t Map<String, StringBuffer> textMap=new HashMap<>();\n\t\tString sql=\"SELECT NAME,TEXT FROM ALL_SOURCE WHERE TYPE='PROCEDURE' \"\n\t\t\t\t+ \"and OWNER='\"+databaseName.toUpperCase()+\"'\"\n\t\t\t\t;\n\t\tsql+=\" order by NAME,LINE asc\";\n try(PreparedStatement preparedStatement= connection.prepareStatement(sql);\n \t\tResultSet resultSet=preparedStatement.executeQuery();){\n\t\twhile(resultSet.next()) {\n\t\t String key=resultSet.getString(1)\n\t\t\t\t ,line=resultSet.getString(2)\n\t\t\t\t ;\n\t\t StringBuffer sbr=textMap.get(key);\n\t\t if(sbr==null) {\n\t\t\t sbr=new StringBuffer(\"\");\n\t\t\t textMap.put(key, sbr);\n\t\t\t \n\t\t }\n\t\t if(line.contains(\"--\")) {\n\t\t\t line=line.substring(0,line.indexOf(\"--\"));\n\t\t\t line.replace(\"\\n\", \"\");\n\t\t }\n\t\t sbr.append(line);\n\t\t}\n }\n \n for(Entry<String, StringBuffer> ent:textMap.entrySet()) {\n \t\n \tList<ProcedureParamSrc> paramSrcs=ret.get(ent.getKey());\n \t\n \tString procName=ent.getKey();\n \tif(paramSrcs==null) {\n \t\tparamSrcs=new ArrayList<>();\n \t\tret.put(procName, paramSrcs);\n \t}\n \t\n \tString text=ent.getValue().toString(),t=text.toLowerCase(),p=\"\";\n \tint s=0,e=0;\n \ts=t.indexOf(procName.toLowerCase())+procName.length();\n \tt=t.substring(s);\n \t\n \t\n \ts=t.indexOf(\"(\");\n \t\n \tif(s>=0&&s<5) {\n \t s++;\n \t \n \t \n \t e=t.indexOf(\")\");\n \t\n \t \n \t \n \t p=t.substring(s,e-1);\n \t}\n \t\n \t\n \t\n \tString[] params=p.split(\",\");\n \tfor(String param: params) {\n \t\t// (is_used OUT number, data_ratio OUT number, clob_rest OUT clob)\n if(param.trim().length()==0)continue;\n \t\tString[] subParams=param.trim().split(\" \");\n \t\t\n \t\tObject[] _params= Stream.of(subParams)\n \t\t\t\t.filter(str->!str.isEmpty()).toArray();\n \t\t\n \t\t//System.out.println(param);\n \t\tString name=_params[0].toString().trim()\n \t\t\t\t,io=\"in\"\n \t\t\t\t,type=\"varchar2\"\n \t\t\t\t;\n \t\tif(_params.length==3) {\n \t\t\tio=_params[1].toString().trim();\n \t\ttype=_params[2].toString().trim();\n \t\t}\n \t\tProcedureParamSrc src=new ProcedureParamSrc();\n \t\tsrc.isOutput=io.toUpperCase().equals(\"out\");\n \t\tsrc.paramName=name;\n \t\tif(\"number\".equals(type)) {\n \t\t\tsrc.sqlType=Types.DOUBLE;\n \t\tsrc.cls=Double.class;\n \t\t}\n \t\telse if(\"date\".equals(type)) {\n \t\t\tsrc.sqlType=Types.DATE;\n \t\tsrc.cls=Date.class;\n \t\t}else {\n \t\t\tsrc.sqlType=Types.VARCHAR;\n \t\tsrc.cls=String.class;\n \t\t}\n \t\t\n \t\tparamSrcs.add(src);\n \t}\n \t\n }\n\t\t\n\t\t\n\t\treturn ret;\n\t}", "public abstract void mo70702a(C30989b c30989b);", "public abstract long mo13681c();", "void mo105476a();", "void mo41086b();", "public abstract void mo70713b();", "public void mo115190b() {\n }", "public abstract void mo6549b();", "public abstract String mo11611b();", "zzand mo29852bb() throws RemoteException;", "void mo1493c();", "public abstract long mo24410c();", "public abstract void mo42331g();", "protected boolean func_70041_e_() { return false; }", "java.lang.String getField1122();", "void mo119582b();", "public ResultSet appcomp(Long comp_id)throws SQLException {\n\trs=DbConnect.getStatement().executeQuery(\"select * from company where comp_id=\"+comp_id+\"\");\r\n\treturn rs;\r\n}", "int insertSelective(PdfCodeTemporary record);", "public abstract void mo35054b();", "public abstract void mo53562a(C18796a c18796a);", "public abstract long mo9229aD();", "public int \r\nomStudent_dTotalReqChapelsCurTrm( View mStudent,\r\n String InternalEntityStructure,\r\n String InternalAttribStructure,\r\n Integer GetOrSetFlag )\r\n{\r\n zVIEW lTermLST = new zVIEW( );\r\n //:VIEW lTermLST2 BASED ON LOD lTermLST\r\n zVIEW lTermLST2 = new zVIEW( );\r\n //:INTEGER CurrentRequiredChapels\r\n int CurrentRequiredChapels = 0;\r\n int RESULT = 0;\r\n\r\n\r\n //:CASE GetOrSetFlag\r\n switch( GetOrSetFlag )\r\n { \r\n //:OF zDERIVED_GET:\r\n case zDERIVED_GET :\r\n\r\n //:// Get the number of Chapels Required for the current Term from the lTermLST object.\r\n //:IF mStudent.Student.NumberOfChapelsRequired != \"\" \r\n if ( CompareAttributeToString( mStudent, \"Student\", \"NumberOfChapelsRequired\", \"\" ) != 0 )\r\n { \r\n //:// The number of Chapels required is set specifically for the Student.\r\n //:CurrentRequiredChapels = mStudent.Student.NumberOfChapelsRequired \r\n {MutableInt mi_CurrentRequiredChapels = new MutableInt( CurrentRequiredChapels );\r\n GetIntegerFromAttribute( mi_CurrentRequiredChapels, mStudent, \"Student\", \"NumberOfChapelsRequired\" );\r\n CurrentRequiredChapels = mi_CurrentRequiredChapels.intValue( );}\r\n //:ELSE\r\n } \r\n else\r\n { \r\n //:// The number of Chapels required is from the value in the College Term.\r\n //:GET VIEW lTermLST NAMED \"lTermLST\"\r\n RESULT = GetViewByName( lTermLST, \"lTermLST\", mStudent, zLEVEL_TASK );\r\n //:IF RESULT >= 0\r\n if ( RESULT >= 0 )\r\n { \r\n //:CreateViewFromView( lTermLST2, lTermLST )\r\n CreateViewFromView( lTermLST2, lTermLST );\r\n //:SET CURSOR FIRST lTermLST2.CollegeTerm WHERE lTermLST2.CollegeTerm.CurrentTermFlag = \"Y\" \r\n RESULT = lTermLST2.cursor( \"CollegeTerm\" ).setFirst( \"CurrentTermFlag\", \"Y\" ).toInt();\r\n //:CurrentRequiredChapels = lTermLST2.CollegeTerm.NumberOfChapelsRequired \r\n {MutableInt mi_CurrentRequiredChapels = new MutableInt( CurrentRequiredChapels );\r\n GetIntegerFromAttribute( mi_CurrentRequiredChapels, lTermLST2, \"CollegeTerm\", \"NumberOfChapelsRequired\" );\r\n CurrentRequiredChapels = mi_CurrentRequiredChapels.intValue( );}\r\n //:DropView( lTermLST2 )\r\n DropView( lTermLST2 );\r\n //:ELSE\r\n } \r\n else\r\n { \r\n //:CurrentRequiredChapels = 0\r\n CurrentRequiredChapels = 0;\r\n } \r\n\r\n //:END\r\n } \r\n\r\n //:END\r\n\r\n //:StoreValueInRecord ( mStudent,\r\n //: InternalEntityStructure, InternalAttribStructure, CurrentRequiredChapels, 0 )\r\n StoreValueInRecord( mStudent, InternalEntityStructure, InternalAttribStructure, CurrentRequiredChapels, 0 );\r\n break ;\r\n\r\n //: /* end zDERIVED_GET */\r\n //:OF zDERIVED_SET:\r\n case zDERIVED_SET :\r\n break ;\r\n } \r\n\r\n\r\n //: /* end zDERIVED_SET */\r\n //:END /* case */\r\n return( 0 );\r\n// END\r\n}", "void mo54405a();", "void mo88521a();", "public static void bi_vl() {\n\t}", "void mo17021c();", "public abstract void mo42329d();", "@Test(timeout = 4000)\n public void test112() throws Throwable {\n String[] stringArray0 = new String[19];\n String string0 = SQLUtil.renderColumnListWithTableName(\"alter materialized viewderby.language.usestatistics\", stringArray0);\n Character character0 = Character.valueOf('~');\n String string1 = SQLUtil.substituteMarkers(string0, string0, character0);\n assertEquals(\"'~'\", string1);\n }", "void mo17012c();", "public int \r\nomStudent_dCurrentCampusPhone( View mStudent,\r\n String InternalEntityStructure,\r\n String InternalAttribStructure,\r\n Integer GetOrSetFlag )\r\n{\r\n zVIEW wXferO = new zVIEW( );\r\n int RESULT = 0;\r\n //:STRING ( 10 ) szCampusPhone\r\n String szCampusPhone = null;\r\n //:STRING ( 8 ) szCurrentDate\r\n String szCurrentDate = null;\r\n int lTempInteger_0 = 0;\r\n int lTempInteger_1 = 0;\r\n\r\n RESULT = GetViewByName( wXferO, \"wXferO\", mStudent, zLEVEL_TASK );\r\n\r\n //:CASE GetOrSetFlag\r\n switch( GetOrSetFlag )\r\n { \r\n //:OF zDERIVED_GET:\r\n case zDERIVED_GET :\r\n\r\n //:// Display the latest Dorm room information, if there is any.\r\n //:szCampusPhone = \"\"\r\n {StringBuilder sb_szCampusPhone;\r\n if ( szCampusPhone == null )\r\n sb_szCampusPhone = new StringBuilder( 32 );\r\n else\r\n sb_szCampusPhone = new StringBuilder( szCampusPhone );\r\n ZeidonStringCopy( sb_szCampusPhone, 1, 0, \"\", 1, 0, 11 );\r\n szCampusPhone = sb_szCampusPhone.toString( );}\r\n //:szCurrentDate = wXferO.Root.dCurrentDate\r\n {MutableInt mi_lTempInteger_0 = new MutableInt( lTempInteger_0 );\r\n StringBuilder sb_szCurrentDate;\r\n if ( szCurrentDate == null )\r\n sb_szCurrentDate = new StringBuilder( 32 );\r\n else\r\n sb_szCurrentDate = new StringBuilder( szCurrentDate );\r\n GetVariableFromAttribute( sb_szCurrentDate, mi_lTempInteger_0, 'S', 9, wXferO, \"Root\", \"dCurrentDate\", \"\", 0 );\r\n lTempInteger_0 = mi_lTempInteger_0.intValue( );\r\n szCurrentDate = sb_szCurrentDate.toString( );}\r\n //:SET CURSOR FIRST mStudent.TermOfResidence \r\n //: WHERE mStudent.TermOfResidence.BeginDate <= szCurrentDate\r\n //: AND mStudent.TermOfResidence.EndDate >= szCurrentDate \r\n RESULT = mStudent.cursor( \"TermOfResidence\" ).setFirst().toInt();\r\n if ( RESULT > zCURSOR_UNCHANGED )\r\n { \r\n while ( RESULT > zCURSOR_UNCHANGED && ( CompareAttributeToString( mStudent, \"TermOfResidence\", \"BeginDate\", szCurrentDate ) > 0 || CompareAttributeToString( mStudent, \"TermOfResidence\", \"EndDate\", szCurrentDate ) < 0 ) )\r\n { \r\n RESULT = mStudent.cursor( \"TermOfResidence\" ).setNext().toInt();\r\n } \r\n\r\n } \r\n\r\n //:IF RESULT >= zCURSOR_SET\r\n if ( RESULT >= zCURSOR_SET )\r\n { \r\n //:szCampusPhone = mStudent.OccupancyUnit.PhoneNo \r\n {MutableInt mi_lTempInteger_1 = new MutableInt( lTempInteger_1 );\r\n StringBuilder sb_szCampusPhone;\r\n if ( szCampusPhone == null )\r\n sb_szCampusPhone = new StringBuilder( 32 );\r\n else\r\n sb_szCampusPhone = new StringBuilder( szCampusPhone );\r\n GetVariableFromAttribute( sb_szCampusPhone, mi_lTempInteger_1, 'S', 11, mStudent, \"OccupancyUnit\", \"PhoneNo\", \"\", 0 );\r\n lTempInteger_1 = mi_lTempInteger_1.intValue( );\r\n szCampusPhone = sb_szCampusPhone.toString( );}\r\n } \r\n\r\n //:END\r\n\r\n //:StoreStringInRecord ( mStudent,\r\n //: InternalEntityStructure, InternalAttribStructure, szCampusPhone )\r\n StoreStringInRecord( mStudent, InternalEntityStructure, InternalAttribStructure, szCampusPhone );\r\n break ;\r\n\r\n //: /* end zDERIVED_GET */\r\n //:OF zDERIVED_SET:\r\n case zDERIVED_SET :\r\n break ;\r\n } \r\n\r\n\r\n //: /* end zDERIVED_SET */\r\n //:END /* case */\r\n return( 0 );\r\n// END\r\n}", "@Test(timeout = 4000)\n public void test113() throws Throwable {\n DefaultDBColumn defaultDBColumn0 = new DefaultDBColumn(\"alter sessionrefereznces\", (DBTable) null, (-280560848), \"*2{\");\n DBColumn[] dBColumnArray0 = new DBColumn[1];\n dBColumnArray0[0] = (DBColumn) defaultDBColumn0;\n String string0 = SQLUtil.renderColumnNames(dBColumnArray0);\n assertEquals(\"alter sessionrefereznces\", string0);\n }", "public int getExtendedID()\r\n/* 50: */ {\r\n/* 51: 39 */ return 0;\r\n/* 52: */ }", "private static void testOracle7() throws Exception {\n\t\tClass.forName(\"jdbc.driver.oracle.Oracle7Driver\");\r\n\t\t//DriverManager.registerDriver(new Oracle7Driver());\r\n\r\n\t\t// Connect to the local database\r\n\t\tConnection conn = DriverManager.getConnection(\"jdbc:oracle:thin:@192.168.5.168:1521:RT\", \"stdba\", \"stdba\");\r\n\r\n\t\t// Query the employee names\r\n\t\tStatement stmt = conn.createStatement();\r\n\t\t// stmt.execute(\"create table TEST1(A1 VARCHAR2(50) NOT NULL,A2 DATE, A3 NUMBER(10,2))\");\r\n\t\t// ResultSet rset = stmt.executeQuery(\"SELECT owner, table_name FROM dba_tables\");\r\n\r\n\t\t// String sql = \"SELECT column_name FROM cols WHERE table_name LIKE 'AA%'\";\r\n\t\tResultSet rset = stmt.executeQuery(\"select STAGE_NO,CLIENT_NO,POINT_START,POINT_ADD,POINT_USE from CLIENT_BONUS where STAGE_NO=2012 and CLIENT_NO=1056\");\r\n\t\t// ResultSet rset = stmt.executeQuery(sql);\r\n\t\t// Print the name out\r\n\t\twhile (rset.next())\r\n\t\t\tSystem.out.println(rset.getString(1));\r\n\r\n\t\t// System.out.println(rset.getString(1) + \":\" + rset.getString(2));\r\n\r\n\t}", "private void kk12() {\n\n\t}", "zzana mo29855eb() throws RemoteException;", "long mo734e() throws RemoteException;", "public abstract void mo56925d();", "java.lang.String getField1126();", "void mo21076g();", "java.lang.String getField1033();", "B database(S database);", "void mo21070b();", "public void get_TableValues(){\r\n\tFFM=99;\r\n\tADFM=99;\r\n\tDF=0;\r\n\tFLOAD=0;\r\n\t\r\n}", "void mo57275a();", "void mo21073d();", "void mo3194r();", "@Override\r\n\tprotected void func03() {\n\t\t\r\n\t}", "java.lang.String getField1093();", "int insertSelective(FctWorkguide record);", "int insert(Assist_table record);", "public void mo38117a() {\n }", "public int getC_POSDocType_ID() \n{\nInteger ii = (Integer)get_Value(COLUMNNAME_C_POSDocType_ID);\nif (ii == null) return 0;\nreturn ii.intValue();\n}", "@Test(timeout = 4000)\n public void test096() throws Throwable {\n String[] stringArray0 = new String[6];\n NameSpec nameSpec0 = NameSpec.IF_REPRODUCIBLE;\n DefaultDBTable defaultDBTable0 = new DefaultDBTable(\"NestedRawReadOnlyUserTransaction\");\n DBPrimaryKeyConstraint dBPrimaryKeyConstraint0 = new DBPrimaryKeyConstraint(defaultDBTable0, \"getRowId(int)\", true, stringArray0);\n String string0 = SQLUtil.pkSpec(dBPrimaryKeyConstraint0, nameSpec0);\n assertEquals(\"CONSTRAINT getRowId(int) PRIMARY KEY (, , , , , )\", string0);\n }", "public static void c0_vl() {\n\t}", "void mo12637b();", "@Test(timeout = 4000)\n public void test54() throws Throwable {\n DBCatalog dBCatalog0 = new DBCatalog(\"LOB\");\n DBSchema dBSchema0 = new DBSchema(\"getFloat(String)\", dBCatalog0);\n StringBuilder stringBuilder0 = new StringBuilder((CharSequence) \"getFloat(String)\");\n DefaultDBTable defaultDBTable0 = new DefaultDBTable(\"d_Nj^xUc,jo(V.cG^9\", dBSchema0);\n String[] stringArray0 = new String[7];\n stringArray0[0] = \"rename(r@f\";\n stringArray0[2] = \" Y*-X>Nz.q@~K^o8Z]v\";\n stringArray0[3] = \"rename(r@f\";\n stringArray0[4] = \"LOB\";\n stringArray0[5] = \"org.apache.derby.iapi.sql.execute.ExecutionFactory\";\n DBUniqueConstraint dBUniqueConstraint0 = new DBUniqueConstraint(defaultDBTable0, \"getFloat(String)\", true, stringArray0);\n NameSpec nameSpec0 = NameSpec.ALWAYS;\n File file0 = MockFile.createTempFile(\"rename(r@f\", \"getFloat(String)\");\n MockPrintWriter mockPrintWriter0 = new MockPrintWriter(file0);\n SQLUtil.renderCreateTable(defaultDBTable0, true, nameSpec0, mockPrintWriter0);\n assertEquals(\"d_Nj^xUc,jo(V.cG^9\", defaultDBTable0.getName());\n }", "public abstract void mo27386d();", "public abstract int mo9753r();", "String mo10312id();", "public ResultSet retrivecompname(String compname)throws Exception {\n\trs=DbConnect.getStatement().executeQuery(\"select compname from company where comp_id=\"+compname+\"\");\r\n\treturn rs;\r\n}", "public void mo21793R() {\n }", "public void mo21878t() {\n }", "public abstract int mo9754s();", "@Test(timeout = 4000)\n public void test074() throws Throwable {\n jdbcClob jdbcClob0 = new jdbcClob(\"&@Y)\");\n Reader reader0 = jdbcClob0.getCharacterStream();\n StreamTokenizer streamTokenizer0 = new StreamTokenizer(reader0);\n String string0 = SQLUtil.renderNumber(streamTokenizer0);\n assertEquals(\"- 0\", string0);\n }", "C2451d mo3408a(C2457e c2457e);", "java.lang.String getField1853();" ]
[ "0.5561368", "0.5537633", "0.5337511", "0.53264016", "0.52907723", "0.5288633", "0.5278324", "0.52631706", "0.52562463", "0.52528155", "0.5220206", "0.5197097", "0.51966876", "0.51964885", "0.5164244", "0.51453644", "0.510617", "0.51027775", "0.50975585", "0.5074276", "0.5073567", "0.50422245", "0.5024578", "0.5022838", "0.50200194", "0.5014986", "0.50118226", "0.50092846", "0.5004325", "0.5002137", "0.5001664", "0.49985427", "0.49865058", "0.49853143", "0.49809808", "0.49797168", "0.49685347", "0.49658048", "0.49637952", "0.49609053", "0.49591333", "0.49584043", "0.49528265", "0.494912", "0.4946286", "0.49462426", "0.49460706", "0.49424285", "0.49390143", "0.49386987", "0.4937329", "0.4934906", "0.49326128", "0.49240386", "0.492266", "0.49154708", "0.49151218", "0.49128628", "0.49100748", "0.49100032", "0.4907414", "0.49067616", "0.49014294", "0.4893589", "0.48894954", "0.48887137", "0.48865876", "0.488484", "0.48830158", "0.48825026", "0.48824", "0.48792455", "0.48774624", "0.48771787", "0.4872606", "0.4871355", "0.4862187", "0.48577505", "0.4852217", "0.48500794", "0.48491544", "0.48478875", "0.48474368", "0.4846007", "0.48420912", "0.48414746", "0.48397818", "0.48395622", "0.48388574", "0.48387346", "0.48379952", "0.4836235", "0.48335496", "0.48314583", "0.48313478", "0.48313206", "0.48294306", "0.48292133", "0.4828603", "0.4825737", "0.48257354" ]
0.0
-1
Clears textfields for better functionality
public void clearTextFields(){ jtxt_username.addFocusListener(new FocusListener() { @Override public void focusLost(FocusEvent arg0) { if(jtxt_username.getText().equals("")){ jtxt_username.setText("Type in your username..."); }else{ } } @Override public void focusGained(FocusEvent arg0) { // TODO Auto-generated method stub if(jtxt_username.getText().contains("Type in your username...")){ jtxt_username.setText(""); } } }); jpassword.addFocusListener(new FocusListener() { @Override public void focusLost(FocusEvent arg0) { if(jpassword.getPassword().equals("")){ jpassword.setText("password"); } } @Override public void focusGained(FocusEvent arg0) { // TODO Auto-generated method stub if(jpassword.getPassword().equals("password")){ jpassword.setText(""); } } }); // End of Login form clearTextFields() // Start of createSavingsAcc form clearTextFields() jTextField_Create_Savings_Acc_acchol.addFocusListener(new FocusListener() { @Override public void focusLost(FocusEvent arg0) { if(jTextField_Create_Savings_Acc_acchol.getText().equals("")){ jTextField_Create_Savings_Acc_acchol.setText("xxx"); } } @Override public void focusGained(FocusEvent arg0) { // TODO Auto-generated method stub if(jTextField_Create_Savings_Acc_acchol.getText().contains("xxx")){ jTextField_Create_Savings_Acc_acchol.setText(""); } } }); jTextField_Create_Savings_Acc_accnum.addFocusListener(new FocusListener() { @Override public void focusLost(FocusEvent arg0) { if(jTextField_Create_Savings_Acc_accnum.getText().equals("")){ jTextField_Create_Savings_Acc_accnum.setText("xxx"); } } @Override public void focusGained(FocusEvent arg0) { // TODO Auto-generated method stub if(jTextField_Create_Savings_Acc_accnum.getText().contains("xxx")){ jTextField_Create_Savings_Acc_accnum.setText(""); } } }); jTextField_Create_Savings_Acc_bal.addFocusListener(new FocusListener() { @Override public void focusLost(FocusEvent arg0) { if(jTextField_Create_Savings_Acc_bal.getText().equals("")){ jTextField_Create_Savings_Acc_bal.setText("000"); } } @Override public void focusGained(FocusEvent arg0) { // TODO Auto-generated method stub if(jTextField_Create_Savings_Acc_bal.getText().contains("000")){ jTextField_Create_Savings_Acc_bal.setText(""); } } }); jTextField_Create_Savings_Acc_joindate.addFocusListener(new FocusListener() { @Override public void focusLost(FocusEvent arg0) { if(jTextField_Create_Savings_Acc_joindate.getText().equals("")){ jTextField_Create_Savings_Acc_joindate.setText("xxx"); } } @Override public void focusGained(FocusEvent arg0) { // TODO Auto-generated method stub if(jTextField_Create_Savings_Acc_joindate.getText().contains("xxx")){ jTextField_Create_Savings_Acc_joindate.setText(""); } } }); jTextField_Create_Savings_Acc_pass.addFocusListener(new FocusListener() { @Override public void focusLost(FocusEvent arg0) { if(jTextField_Create_Savings_Acc_pass.getPassword().equals("")){ jTextField_Create_Savings_Acc_pass.setText("xxx"); } } @Override public void focusGained(FocusEvent arg0) { // TODO Auto-generated method stub if(jTextField_Create_Savings_Acc_pass.getPassword().equals("xxx")){ jTextField_Create_Savings_Acc_pass.setText(""); } } }); jTextField_Create_Savings_Acc_usern.addFocusListener(new FocusListener() { @Override public void focusLost(FocusEvent arg0) { if(jTextField_Create_Savings_Acc_usern.getText().equals("")){ jTextField_Create_Savings_Acc_usern.setText("xxx"); } } @Override public void focusGained(FocusEvent arg0) { // TODO Auto-generated method stub if(jTextField_Create_Savings_Acc_usern.getText().contains("xxx")){ jTextField_Create_Savings_Acc_usern.setText(""); } } }); // End of createSavingsAcc form clearTextFields // Start of createNewCurrentAcc form clearTextFields jtxt_accno.addFocusListener(new FocusListener() { @Override public void focusLost(FocusEvent arg0) { if(jtxt_accno.getText().equals("")){ jtxt_accno.setText("xxx"); } } @Override public void focusGained(FocusEvent arg0) { // TODO Auto-generated method stub if(jtxt_accno.getText().contains("xxx")){ jtxt_accno.setText(""); } } }); jtxt_holderName.addFocusListener(new FocusListener() { @Override public void focusLost(FocusEvent arg0) { if(jtxt_holderName.getText().equals("")){ jtxt_holderName.setText("xxx"); } } @Override public void focusGained(FocusEvent arg0) { // TODO Auto-generated method stub if(jtxt_holderName.getText().contains("xxx")){ jtxt_holderName.setText(""); } } }); jtxt_joinDate.addFocusListener(new FocusListener() { @Override public void focusLost(FocusEvent arg0) { if(jtxt_joinDate.getText().equals("")){ jtxt_joinDate.setText("xxx"); } } @Override public void focusGained(FocusEvent arg0) { // TODO Auto-generated method stub if(jtxt_joinDate.getText().contains("xxx")){ jtxt_joinDate.setText(""); } } }); jtxt_balance.addFocusListener(new FocusListener() { @Override public void focusLost(FocusEvent arg0) { if(jtxt_balance.getText().equals("")){ jtxt_balance.setText("000"); } } @Override public void focusGained(FocusEvent arg0) { // TODO Auto-generated method stub if(jtxt_balance.getText().contains("000")){ jtxt_balance.setText(""); } } }); jtxt_userName.addFocusListener(new FocusListener() { @Override public void focusLost(FocusEvent arg0) { if(jtxt_userName.getText().equals("")){ jtxt_userName.setText("xxx"); } } @Override public void focusGained(FocusEvent arg0) { // TODO Auto-generated method stub if(jtxt_userName.getText().contains("xxx")){ jtxt_userName.setText(""); } } }); jpw_createCurrentAccPw.addFocusListener(new FocusListener() { @Override public void focusLost(FocusEvent arg0) { if(jpw_createCurrentAccPw.getPassword().equals("")){ jpw_createCurrentAccPw.setText("xxx"); } } @Override public void focusGained(FocusEvent arg0) { // TODO Auto-generated method stub if(jpw_createCurrentAccPw.getPassword().equals("xxx")){ jpw_createCurrentAccPw.setText(""); } } }); jtxt_createCurrentAccPIN.addFocusListener(new FocusListener() { @Override public void focusLost(FocusEvent arg0) { if(jtxt_createCurrentAccPIN.getText().contains("")){ jtxt_createCurrentAccPIN.setText("xxx"); } } @Override public void focusGained(FocusEvent arg0) { // TODO Auto-generated method stub if(jtxt_createCurrentAccPIN.getText().contains("xxx")){ jtxt_createCurrentAccPIN.setText(""); } } }); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private void clearTextField() {\n txtOrder.setText(\"\");\n txtName.setText(\"\");\n txtWeight.setText(\"\");\n txtGallon.setText(\"\");\n txtPersent.setText(\"\");\n txtPrice.setText(\"\");\n \n }", "public void clearTextFields()\n\t{\n\t\tfirstNameTextField.setText(\"\");\n\t\tlastNameTextField.setText(\"\");\n\t\troomNoTextField.setText(\"\");\n\t\tphoneTextField.setText(\"\");\n\t\tstudentIDTextField.setText(\"\");\n\t\tcreatePasswordTextField.setText(\"\");\n\t\tconfirmPasswordTextField.setText(\"\");\n\t}", "void resetTextFields();", "public void clearFields()\n {\n txtDate.setText(\"\");\n txtIC.setText(\"\");\n txtBrand.setText(\"\");\n txtSerial.setText(\"\");\n txtCPT.setText(\"\");\n txtRMB.setText(\"\");\n txtRTYP.setText(\"\");\n txtCap.setText(\"\");\n txtSpeed.setText(\"\");\n txtWar.setText(\"\");\n txtRemarks.setText(\"\");\n }", "public void clearFields()\r\n {\r\n\t txtID.setText(\"\");\r\n\t txtName.setText(\"\");\r\n\t txtYear.setText(\"\");\r\n\t txtMonth.setText(\"\");\r\n\t txtPDate.setText(\"\");\r\n txtFees.setText(\"0\");\r\n }", "private void clearFields() {\r\n jTextFieldID.setText(\"\");\r\n jTextFieldNome.setText(\"\");\r\n jTextFieldPreco.setText(\"\");\r\n jTextFieldDescricao.setText(\"\");\r\n }", "public void clearTextFields() {\n placeBidField.setText(\"\");\n }", "private void clear() {\n\t\ttxtId.setText(\"\");\n\t\ttxtAlert.setText(\"\");\n\t\ttxtNbMax.setText(\"\");\n\t\t\n\t}", "public void ClearTextFieldCreate() {\n txtFGameName.setText(\"\");\n txtFMovements.setText(\"\");\n }", "private void clearFields(){\n\t\tmiMatriculaLabel.setText(\"-\");\n\t\tmatriculaSearch.setText(\"\");\n\t\tmarcaText.setText(\"\");\n\t\tmodeloText.setText(\"\");\n\t\tanioText.setText(\"\");\n\t\titvText.setText(\"\");\n\t\tvehiculoSelected = null;\n\t\tchangeFieldsState(false);\n\t}", "private void clearFields() {\n this.subjectField.setText(\"\");\n this.descrField.setText(\"\");\n this.nameField.setText(\"\");\n }", "public void emptyTextFields() {\n clientFirstNameTextField.setText(\"\");\n clientLastNameTextField.setText(\"\");\n clientBSNTextField.setText(\"\");\n clientAddressTextField.setText(\"\");\n clientPostCodeTextField.setText(\"\");\n clientCityTextField.setText(\"\");\n clientTelTextField.setText(\"\");\n clientEmailTextField.setText(\"\");\n clientIBANTextField.setText(\"\");\n }", "public void clearTextFields(){\n //Clears all text from the EditText\n textInputEditText_full_name.setText(\"\");\n textInputEditText_student_id.setText(\"\");\n textInputEditText_pin.setText(\"\");\n textInputEditText_confirm_pin.setText(\"\");\n }", "private void clearAllTextField() {\n ManufactureTxt.setText(\"\");\n ManuYearTxt.setText(\"\");\n SeatNumTxt.setText(\"\");\n SerialNumTxt.setText(\"\");\n ModelTxt.setText(\"\");\n UpdateDateTxt.setText(\"\");\n ExpDateTxt.setText(\"\");\n //AvailableCheckBox.setText(\"\");\n LatitudeTxt.setText(\"\");\n LongitudeTxt.setText(\"\");\n CityTxt.setText(\"\");\n//To change body of generated methods, choose Tools | Templates.\n }", "public void clearEditTextBoxes()\n {\n \ttaskName.setText(\"\");\n \ttaskDetails.setText(\"\");\n \ttaskId.setText(\"\");\n \t//TODO Add alarm stuff here\n }", "public void clearFields(){\n PlayerID.setText(\"\");\n passwordField.setText(\"\");\n }", "void txtClear () {\r\n\r\n\t\ttxtNo.setText (\"\");\r\n\t\ttxtName.setText (\"\");\r\n\t\ttxtDeposit.setText (\"\");\r\n\t\ttxtNo.requestFocus ();\r\n\r\n\t}", "private static void clearFields() {\n resetFields();\n fieldsEnabled(false);\n lbl_message.setText(\"\");\n }", "private void resetFields() {\n userText.setText(\"\");\n passwordText.setText(\"\");\n userText.clearFocus();\n passwordText.clearFocus();\n }", "private void clearTextFields() {\r\n\r\n\t\ttxfLoginEmail.clear();\r\n\t\ttxfLoginEmail.setPromptText(\"bartsimpson@lyit.ie\");\r\n\t\tpwfLoginPassword.clear();\r\n\t\ttxfFName.clear();\r\n\t\ttxfFName.setPromptText(\"Enter First Name\");\r\n\t\ttxfSName.clear();\r\n\t\ttxfSName.setPromptText(\"Enter Surname\");\r\n\t\ttxfEmail.clear();\r\n\t\ttxfEmail.setPromptText(\"Enter Email Address\");\r\n\t\ttxfPassword.clear();\r\n\t\ttxfPassword.setPromptText(\"Enter Password\");\r\n\t}", "public void emptyTextField(){\n spelerIDField.setText(\"\");\n typeField.setText(\"\");\n codeField.setText(\"\");\n heeftBetaaldField.setText(\"\");\n }", "private void clearFields() {\n this.upperTextField.setText(\"\");\n this.bottomTextField.setText(\"\");\n this.titleTextField.setText(\"\");\n this.tagTextField.setText(\"\");\n this.imageStackPane.getChildren().clear();\n }", "private void ClearFields() {\n txtGRNNO.setText(null);\n dccGRNDate.setCalendar(null);\n\n txtGRNNO.requestFocus();\n }", "private void clearFields() {\r\n\t\tmCardNoValue1.setText(\"\");\r\n\t\tmCardNoValue1.setHint(\"-\");\r\n\t\tmCardNoValue2.setText(\"\");\r\n\t\tmCardNoValue2.setHint(\"-\");\r\n\t\tmCardNoValue3.setText(\"\");\r\n\t\tmCardNoValue3.setHint(\"-\");\r\n\t\tmCardNoValue4.setText(\"\");\r\n\t\tmCardNoValue4.setHint(\"-\");\r\n\t\tmZipCodeValue.setText(\"\");\r\n\t\tmZipCodeValue.setHint(\"Zipcode\");\r\n\t\tmCVVNoValue.setText(\"\");\r\n\t\tmCVVNoValue.setHint(\"CVV\");\r\n\t}", "private void clearAll(){\n ImplLogger.enterMethod(); \n pharmaNameTextField.setText(ImplConst.EMPTY);\n userNameTextField.setText(ImplConst.EMPTY);\n passwordField.setText(ImplConst.EMPTY);\n confirmPasswordField.setText(ImplConst.EMPTY);\n addressLine1TextField.setText(ImplConst.EMPTY);\n addressLine2TextField.setText(ImplConst.EMPTY);\n regionComboBox.setSelectedIndex(0);\n emailTextField.setText(ImplConst.EMPTY);\n contactTextField.setText(ImplConst.EMPTY);\n zipCodeTextField.setText(ImplConst.EMPTY);\n ImplLogger.exitMethod();\n }", "public void resetTextFields()\n {\n formattedFirstName.setValue(null);\n formattedLastName.setValue(null);\n formattedTitleOfWork.setValue(null);\n }", "public void text_clear()\n {\n C_ID.setText(\"\");\n C_Name.setText(\"\");\n C_NIC.setText(\"\");\n C_P_Id.setText(\"\");\n C_P_Name.setText(\"\");\n C_Address.setText(\"\");\n C_TelNo.setText(\"\");\n C_Age.setText(\"\");\n }", "private void clearPCIDFields() {\n jTextField1.setText(\"\");\n jTextField2.setText(\"\");\n jTextField3.setText(\"\");\n jTextField4.setText(\"\");\n }", "public void reset() {\n\t\t\t// clear the field\n\t\t\ttextField.setValue(null);\n\t\t}", "private void clear() {\n\t\tmRegister.setText(\"\");\n\t\tmName.setText(\"\");\n\t\tmUsername.setText(\"\");\n\t\tmPassword.setText(\"\");\n\t\tmPhone.setText(\"\");\n\t\tmEmail.setText(\"\");\n\t}", "void animals_textBoxs_clearText() {\r\n this.nameAnimal_textBox.setText(null);\r\n this.alimentAnimal_textBox.setText(null);\r\n this.especie_textBox.setText(null);\r\n this.idadeAnimal_textBox.setText(null);\r\n this.sexo_textBox.setText(null);\r\n }", "public void clearText()\n {\n for (int i = 0; i < 10; i++) \n {\n userInput[i] = \"\";\n textFields[i].clear(); \n }\n }", "@Override\n\tpublic void clearForm() {\n\n\t\ttxtStockCenterName.setText(\"\");\n\t\trdBtnPreferredNo.setSelection(true);\n\t\trdBtnPreferredYes.setSelection(false);\n\n\t\t// clear the text fields\n\t\ttxtPharmacyName.setText(\"\");\n\t\ttxtStreetAdd.setText(\"\");\n\t\ttxtCity.setText(\"\");\n\t\ttxtTel.setText(\"\");\n\t\ttxtPharmacistName1.setText(\"\");\n\t\ttxtPharmacyAssistant.setText(\"\");\n\t\tlblCanvasPharmName.setText(\"Facility Name\");\n\t\tlblCanvasPharmacist.setText(\"Pharmacist\");\n\t\tlblCanvasAddress.setText(\"Physical Address\");\n\n\t\tfieldsChanged = false;\n\t\tenableFields();\n\n\t}", "public void resetField() {\n txtFirstname.setText(\"\");\n txtLastname.setText(\"\");\n txtEmail.setText(\"\");\n }", "public void clearUpdateFields() {\n\tupdateCityTextField.setText(\"\");\n\tupdatePhoneTextField.setText(\"\");\n\tupdateStreetAddressTextField.setText(\"\");\n\tupdateAptTextField.setText(\"\");\n\tupdateStateTextField.setText(\"\");\n\tupdateCountryTextField.setText(\"\");\n\tupdatePostalCodeTextField.setText(\"\");\n\tupdateTerritorytextField.setText(\"\");\n\tofficeConsoleTextArea.append(\"*cleared text fields for update employee. \\n\");\n}", "private void clear()\n\t{\n\t\tComponent[] comp = contentPanel.getComponents();\n\t\tfor(Component c:comp)\n\t\t{\n\t\t\tif(c instanceof JTextField)\n\t\t\t\t((JTextField)c).setText(\"\");\n\t\t}\n\t\t\n\t}", "public void clearAll() {\n usernameField.setText(\"\");\n passwordField.setText(\"\");\n errorMessageLabel.clear();\n }", "private void ClearForm() {\n supplierName.setText(\"\");\n supplierDiscription.setText(\"\");\n }", "public void clear() {\n\t\tdestName.setText(\"\");\n\t\tedtTextZip.setText(\"\");\n\t\tedtTextMemos.setText(\"\");\n\t\tedtTextStreetAdress.setText(\"\");\n\t\tedtTextCity.setText(\"\");\n\t}", "public void clearAnswer(){\r\n textField1.setText(\"\");\r\n }", "private void clearEditTexts() {\n mEmail_Edt.setText(\"\");\n mPassword_Edt.setText(\"\");\n }", "private void Clear() {\n AAccLevel_AdEdRe_TextF_AccLevelID.setText(\"\");\n AAccLevel_AdEdRe_TextF_AccLevelName.setText(\"\");\n AAccLevel_AdEdRe_TextA_Discription.setText(\"\");\n }", "private void setFieldsEmpty(){\n nameInput.setText(\"\");\n frontTrackInput.setText(\"\");\n cornerWeightFLInput.setText(\"\");\n cornerWeightRLInput.setText(\"\");\n rearTrackInput.setText(\"\");\n cornerWeightRRInput.setText(\"\");\n cornerWeightFRInput.setText(\"\");\n cogInput.setText(\"\");\n frontRollDistInput.setText(\"\");\n wheelBaseInput.setText(\"\");\n }", "public void limpaTextFields() {\n tfMatricula.setText(\"\");\n tfNome.setText(\"\");\n tfDataNascimento.setText(\"\");\n tfTelefone.setText(\"\");\n tfSalario.setText(\"\");\n }", "private void clearTextBox(){\n txtBox.setText(\"\");\n }", "private void clear() {//将文本框等状态置零\n\t\tusername.setText(\"\");\n\t\tpass.setText(\"\");\n\t\tname.setText(\"\");\n\t\tsex1.setSelected(true);\n\t\ttel.setText(\"\");\n\t\taddr.setText(\"\");\n\t\trole.setSelectedIndex(0);\n\t\tusername.grabFocus();\n\t}", "private void clearForm() {\n mViewerSalutation.setText(getString(R.string.viewer_info_salutation) + \" \" + Integer.toString(mViewers.size() + 1) + \",\");\n mNameEditText.setText(null);\n mEmailEditText.setText(null);\n mNameEditText.requestFocus();\n }", "private void clearCreditCardFields() {\r\n\t\tmCardNoValue1.setText(\"\");\r\n\t\tmCardNoValue1.setHint(\"-\");\r\n\t\tmCardNoValue2.setText(\"\");\r\n\t\tmCardNoValue2.setHint(\"-\");\r\n\t\tmCardNoValue3.setText(\"\");\r\n\t\tmCardNoValue3.setHint(\"-\");\r\n\t\tmCardNoValue4.setText(\"\");\r\n\t\tmCardNoValue4.setHint(\"-\");\r\n\t\tmCardNoValue1.requestFocus();\r\n\t}", "@Override\n public void clearAllFields() {\n FeedbackBox.clear();\n }", "@Override\n public void actionPerformed(ActionEvent e) {\n textField1.setText(\"\");\n textField3.setText(\"\");\n }", "private void resetValues() {\n this.teaIDText.setText(\"\");\n this.teaNameText.setText(\"\");\n this.teaCollegeText.setText(\"\");\n this.teaDepartmentText.setText(\"\");\n this.teaTypeText.setText(\"\");\n this.teaPhoneText.setText(\"\");\n this.teaRemarkText.setText(\"\");\n }", "private void clearTextInput() {\n\t\ttextInput.setText(\"\");\n\t}", "@SuppressWarnings(\"unchecked\")\n /**\n * Method: clearAll\n * Clear and set JTextFields visible\n * @parem void\n * @return void\n * pre-condition: JTextFields with certain information\n * post-condition: empty JTextFields\n */ \n private void clearAll()\n {\n //Clear and set JTextFields visible\n listModel.clear();\n employeeJComboBox.setSelectedIndex(0);\n enablePrint(false);\n }", "@Override\r\n\tpublic void removeField() {\n\t\tusernameField.setText(\"\");\r\n\t\tpassField.setText(\"\");\r\n\t}", "public void clear()\n\t\t{\n\t\t\ttxtCustomerName.setText(\"\");\n\t\t\ttxtAddress.setText(\"\");\n\t\t\ttxtContact.setText(\"\");\n\t\t\ttxtProduct.setText(\"\");\n\t\t\ttxtSerialNo.setText(\"\");\n\t\t\ttxtModuleNo.setText(\"\");\n\t\t\ttxtComplaintNo.setText(\"\");\n\t\t\tCategorycomboBox.setSelectedItem(\"Sent\");\n\t\t}", "private void clearField(){\n passwordField.setText(\"\");\n mailField.setText(\"\");\n stateImg.setImage( crossImg);\n stateImg.setVisible(false);\n\n }", "private void clear() {\r\n\t\tareaTexto.setText(\"\");\r\n\t}", "@Override\n\tpublic void clear() {\n\t\t//if accumulate, clear accumulator stuff\n\t\tif(modeButtonGroup.getSelection() == AccumulatingModeButton.getModel()){\n\t\t\tamountTextField.setText(\"\");//set to blank on GUI\n\t\t\ttotalTextField.setText(\"\"); //blank (better than \"0\", which could be a total value.)\n\t\t\ttotal = 0;\n\t\t\tamountTextField.requestFocus(); // set cursor in.\n\t\t}\n\t\t\n\t\t//if expression clear expression stuff\n\t\tif(modeButtonGroup.getSelection() == ExpressionModeButton.getModel()){\n\t\t\texpTextField.setText(\"\");//set to blank on GUI\n\t\t\tforxTextField.setText(\"\");//blank\n\t\t\tresultTextField.setText(\"\"); //blank (better than \"0\", which could be a total value.)\n\t\t\texpTextField.requestFocus(); // set cursor in.\n\t\t}\n\t\t\t\n\t\t//reset error field\n\t\terrorTextField.setText(\"\");\n\t\terrorTextField.setBackground(Color.white);\n\t\t\t\n\t\treturn;\n\n\t}", "private void clear() {\n \tnameEditText.setText(\"\");\n \tidEditText.setText(\"\");\n \tdiscoveryDateEdit.setValue(null);\n \tcoordinatesEditText.setText(\"\");\n \t\n \ttableCivilizations.getItems().clear();\n \ttableStars.getItems().clear();\n \ttablePlanets.getItems().clear();\n \t\n \tcivilizationsTemp = new ArrayList<>();\n \tstarsTemp = new ArrayList<>();\n \tplanetsTemp = new ArrayList<>();\n \t\n \tnewCivilizationNameTextField.clear();\n \tnewPlanetTextField.clear();\n \tnewStarTextField.clear();\n \t\n \tt1.setSelected(false);\n \tt2.setSelected(false);\n \tt3.setSelected(false); \n \tnameEditCB.setSelected(false);\n \tcivilizationsEditCB.setSelected(false);\n \tdiscoveryDateEditCB.setSelected(false);\n \tcoordinatesEditCB.setSelected(false);\n \tplanetsEditCB.setSelected(false);\n \tstarsEditCB.setSelected(false);\n \t\n }", "private void clearHocSinh() {\n\t\ttxtMa.setText(\"\");\n\t\ttxtTen.setText(\"\");\n\t\ttxtTuoi.setText(\"\");\n\t\ttxtSdt.setText(\"\");\n\t\ttxtDiaChi.setText(\"\");\n\t\ttxtEmail.setText(\"\");\n\t}", "private void resetFields() {\n tf_diachi_user.setText(\"\");\n tf_hoten_user.setText(\"\");\n tf_socmtnd_user.setText(\"\");\n tf_sotienkhoitao.setText(\"\");\n tp.setText(\"\");\n ngaysinh.setText(\"\");\n \n }", "private void clearFields() {\n Button clearButton = (Button) findViewById(R.id.activity_one_clear_button); //clear button declaration\n clearButton.setOnClickListener(new View.OnClickListener() //set listener for clear button\n {\n @Override\n public void onClick(View view) {\n EditText name = (EditText) findViewById(R.id.activity_one_name_editText); //name EditText declaration\n EditText email = (EditText) findViewById(R.id.activity_one_email_editText); //phone EditText declaration\n EditText number = (EditText) findViewById(R.id.activity_one_number_editText); //email EditText declaration\n Spinner phonespinner = (Spinner) findViewById(R.id.activity_one_phonetype_spinner); //phone type EditText declaration\n phonespinner.setSelection(Constants.HOME); //set spinner to first selection i.e home\n name.setText(Constants.CLEAR); //clear the name EditText\n email.setText(Constants.CLEAR); // clear the email EditText\n number.setText(Constants.CLEAR); //clear the number EditText\n }\n });\n }", "private void clearEverything(){\n partTime.setSelected(false);\n fullTime.setSelected(false);\n management.setSelected(false);\n addIT.setSelected(false);\n addCS.setSelected(false);\n addECE.setSelected(false);\n dateAddText.clear();\n nameAddText.clear();\n hourlyAddText.clear();\n annualAddText.clear();\n managerRadio.setSelected(false);\n dHeadRadio.setSelected(false);\n directorRadio.setSelected(false);\n\n removeCS.setSelected(false);\n removeECE.setSelected(false);\n removeIT.setSelected(false);\n dateRemoveText.clear();\n nameRemoveText.clear();\n\n setCS.setSelected(false);\n setECE.setSelected(false);\n setIT.setSelected(false);\n dateSetText.clear();\n nameSetText.clear();\n hoursSetText.clear();\n\n }", "private void toClear()\n {\n tfPaintId.setText(\"\");\n tfName.setText(\"\");\n tfPrice.setText(\"\");\n tfColor.setText(\"\");\n rwCombo.setSelectedIndex(0);\n bCombo.setSelectedIndex(0);\n typeCombo.setSelectedIndex(0);\n tfQuantity.setText(\"\");\n bg.clearSelection();\n \n }", "private void empty_field() {\n tf_id_kategori.setText(null);\n tf_nama_kategori.setText(null);\n tf_keterangan.setText(null);\n pencarian.setText(null);\n }", "private void clearFields() {\n orderNo.clear();\n orderNo.setPromptText(\"9XXXXXX\");\n if (rbProductType.isEmpty()) {\n rbListAddElement();\n }\n for (int i = 0; i < rbProductType.size(); i++) {\n rbProductType.get(i).setSelected(false);\n }\n if (cbWorker.isEmpty()) {\n cbListAddElement();\n }\n for (int i = 0; i < cbWorker.size(); i++) {\n cbWorker.get(i).setSelected(false);\n }\n UserDAO userDAO = new UserDAO();\n User user = userDAO.getUser(logname.getText());\n for (int i = 0; i < cbWorker.size(); i++) {\n if(cbWorker.get(i).getText().equals(user.getNameSurname())) {\n cbWorker.get(i).setSelected(true);\n } else {\n cbWorker.get(i).setSelected(false);\n }\n }\n plannedTime.clear();\n actualTime.clear();\n comboStatus.valueProperty().set(null);\n }", "private void Bersih() {\n jTextField1.setText(\"\");\n jTextField2.setText(\"\");\n \n }", "public void clearFields(View view){\n searchTermField.setText(\"\");\n urlField.setText(\"\");\n }", "@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\ttextField_1.setText(\"\");\r\n\t\t\t\ttextField.setText(\"\");\r\n\t\t\t}", "public void reset() {\n\t\ttfLogradouro.setText(\"\");\n\t\ttfCidade.setText(\"\");\n\t\ttfBairro.setText(\"\");\n\t\ttfEmail.setText(\"\");\n\t\tftfRg.setText(\"\");\n\t\ttfEmitente.setText(\"\");\n\t\tftfCpf.setText(\"\");\n\t\tftfTipo.setText(\"\");\n\t\tdateChooser.setCalendar(null);\n\t\tftfNumero.setText(\"\");\n\t\tftfTelResidencial.setText(\"\");\n\t\tftfCep.setText(\"\");\n\t\tftfTelCelular.setText(\"\");\n\t\tftfDataCadastro.setText(getDataAtual());\n\t\ttfComplemento.setText(\"\");\n\t\ttfEmitente.requestFocus();\n\t\t\n\t}", "private void vaciarCampos() {\n\t\t// TODO Auto-generated method stub\n\t\ttxtCedula.clear();\n\t\ttxtNombre.clear();\n\t\ttxtApellidos.clear();\n\t\ttxtTelefono.clear();\n\t\ttxtCorreo.clear();\n\t\ttxtDireccion.clear();\n\t\ttxtUsuario.clear();\n\t\ttxtContrasenia.clear();\n\t}", "private void clearText() {\n \n text_ = getDefaultInstance().getText();\n }", "private void clean() {\n ((EditText)findViewById(R.id.textName)).getText().clear();\n ((EditText)findViewById(R.id.textPhone)).getText().clear();\n ((Spinner)findViewById(R.id.spinnerSchooling)).setSelection(0);\n ((RadioButton)findViewById(R.id.radioMale)).setChecked(true);\n ((AutoCompleteTextView)findViewById(R.id.autoTextBooks)).getEditableText().clear();\n ((CheckedTextView)findViewById(R.id.checkedTextView)).setChecked(false);\n }", "@Override\n\tpublic void clear() {\n\n\t\tDisplay.findDisplay(uiThread).syncExec(new Runnable() {\n\n\t\t\tpublic void run() {\n\t\t\t\tclearInputs();\n\t\t\t\tsetDefaultValues();\n\t\t\t}\n\t\t});\n\n\t}", "public void clearButtonClicked(){\n //this function will clear all the fields\n this.userNameLabel.textProperty().set(\"\");\n this.firstNameInputField.setText(\"First name\");\n this.lastNameInputField.setText(\"Last name\");\n this.emailInputField.setText(\"Email\");\n this.userNameLabel.setText(\"User\");\n this.roleDropdown.getSelectionModel().clearSelection();\n this.departmentDropdown.getSelectionModel().clearSelection();\n //return the dropdows to default state\n this.roleDropdown.promptTextProperty().set(\"Role\");\n this.departmentDropdown.promptTextProperty().set(\"Department\");\n \n //lock all the checkboxes\n lockCheckboxes(this.boxes);\n \n for(CheckBox box: this.boxes){\n box.setSelected(false);\n }\n \n //uneditables\n this.firstNameInputField.setEditable(false);\n this.lastNameInputField.setEditable(false);\n this.emailInputField.setEditable(false);\n //blurs\n blur(this.firstNameInputField);\n blur(this.lastNameInputField);\n blur(this.emailInputField);\n blur(this.departmentDropdown);\n blur(this.roleDropdown);\n //uneditable for dropdowns\n this.roleDropdown.disableProperty().set(true);\n this.departmentDropdown.disableProperty().set(true);\n \n }", "private void emptyInputEditText() {\n nomeLogin.setText(null);\n emailLogin.setText(null);\n senhaLogin.setText(null);\n senhaLoginConfirmar.setText(null);\n }", "private void eraseFieldsContent() {\r\n\t\ttxPassword.setText(\"\");\r\n\t\ttxUsuario.setText(\"\");\r\n\t\tcheckAdmin.setIndeterminate(true);\r\n\t\tcheckTPV.setIndeterminate(true);\r\n\t}", "private void emptyInputEditText() {\n textInputEditTextUsername.setText(null);\n textInputEditTextPassword.setText(null);\n }", "private void clearAll(){\n txtBox.setText(\"\");\n calc.setNum1(0);\n calc.setNum2(0);\n calc.setOperator('0');\n operatorPressed = false;\n initialised = false;\n equals = false;\n }", "private void limpiarCampos() {\n Component[] componentes = this.getContentPane().getComponents();\n \n for (Component componente : componentes) {\n if(componente instanceof JTextField) {\n ((JTextField) componente).setText(\"\");\n }\n }\n }", "public void reset() {\r\n dogNameField.clear();\r\n dogText.clear();\r\n }", "private void clearInputFieldStyle(){\n nameInput.styleProperty().setValue(\"\");\n cogInput.styleProperty().setValue(\"\");\n wheelBaseInput.styleProperty().setValue(\"\");\n frontRollDistInput.styleProperty().setValue(\"\");\n cornerWeightFLInput.styleProperty().setValue(\"\");\n cornerWeightRLInput.styleProperty().setValue(\"\");\n cornerWeightRRInput.styleProperty().setValue(\"\");\n cornerWeightFRInput.styleProperty().setValue(\"\");\n }", "private void emptyInputEditText() {\n mNameText.setText(null);\n mEmailText.setText(null);\n mPasswordText.setText(null);\n mConfirmPasswordText.setText(null);\n }", "private void resetForm() {\n text_documento.setText(\"\");\n text_nombre.setText(\"\");\n jTextApellido.setText(\"\");\n jPassword.setText(\"\");\n text_telefono.setText(\"\");\n text_email.setText(\"\");\n jlImagen.setText(\"\");\n }", "@Override\n public void limpiar() {\n txtIdioma.setText(\"\");\n txtBusqueda.setText(\"\");\n }", "private void btClearActionPerformed(java.awt.event.ActionEvent evt) {\n if(tbphieuphat.isEnabled())\n txMaPM.setText(\"\");\n /*if(EditOrSearch==0){\n tf.setText(\"\");\n txSoLuongMax.setText(\"\");\n txDonGiaMax.setText(\"\");\n }*/\n txMaPM.setText(\"\");\n txTongTien.setText(\"\");\n }", "private static void clearField(Object componente) {\r\n if (componente instanceof TextField) {\r\n ((TextField) componente).setText(\"\");\r\n } else if (componente instanceof ComboBox) {\r\n ((ComboBox) componente).getSelectionModel().clearSelection();\r\n } else if (componente instanceof DatePicker) {\r\n ((DatePicker) componente).setValue(null);\r\n } else if (componente instanceof TextArea) {\r\n ((TextArea) componente).setText(\"\");\r\n } else if (componente instanceof ChoiceBox) {\r\n ((ChoiceBox) componente).getSelectionModel().clearSelection();\r\n } else if (componente instanceof CheckBox) {\r\n ((CheckBox) componente).setSelected(false);\r\n }\r\n }", "public void clear()\n{\n\ttextArea().setText(\"\");\n}", "private void clearFields() {\r\n keywords = \"\";\r\n searchBy = \"\";\r\n }", "private void clearButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_clearButtonActionPerformed\n textArea.setText(null);\n }", "public void clearText() {\n this.mBinding.text.setText(\"\");\n }", "public void reset() {\n txtCutiID.setText(\"\");\n txtTglAwal.setText(\"\");\n txtTglAkhir.setText(\"\");\n txtKet.setText(\"\");\n cmbCutiKhususID.setSelectedItem(\"\");\n }", "public void clearStats()\n {\n pathJTextArea.setText(\"\");\n costJTextField.setText(\"\");\n timeJTextField.setText(\"\");\n }", "public void clear()\n\t{\n\t\treadout.setText(\"\");\n\t\ttxtArea.setText(\"\");\n\t}", "public final void clearForm() {\n\t\tlb.addItem(\"\");\n\t\tlb.clear();\n\t}", "private void clearFields(){\r\n fields.forEach(e -> e.clear());\r\n }", "public void clearfields()\r\n\t{\r\n\t\t/* assigns a new ID, if a new record is added this will increment the old one\r\n\t\t * if no change has occured it will just reassign the current one*/\r\n\t\tf1.assignID();\r\n\t\t//sets the text in the case link text field to null\r\n\t\tevidenceID.setText(null);\r\n\t\t//sets the value of the forensic id to the new value if changed or same value if not\r\n\t\tforensicID.setText(String.valueOf(f1.getForensicID()));\r\n\t\t\r\n\t\t/*\r\n\t\t * The following code uses unique models to set the comboboxes back to default values\r\n\t\t * this could not be achieved using a single model as all the boxes would change at the sme time\r\n\t\t * if a single model was used*/\r\n\t\tDefaultComboBoxModel model = new DefaultComboBoxModel(confirmation);\r\n\t\tbioBox.setModel(model);\r\n\t\tDefaultComboBoxModel model1 = new DefaultComboBoxModel(confirmation);\r\n\t\tprintsBox.setModel(model1);\r\n\t\tDefaultComboBoxModel model2 = new DefaultComboBoxModel(confirmation);\r\n\t\ttracksBox.setModel(model2);\r\n\t\tDefaultComboBoxModel model3 = new DefaultComboBoxModel(confirmation);\r\n\t\tdigitalBox.setModel(model3);\r\n\t\tDefaultComboBoxModel model4 = new DefaultComboBoxModel(confirmation);\r\n\t\ttoolMarkBox.setModel(model4);\r\n\t\tDefaultComboBoxModel model5 = new DefaultComboBoxModel(confirmation);\r\n\t\tnarcoticBox.setModel(model5);\r\n\t\tDefaultComboBoxModel model6 = new DefaultComboBoxModel(confirmation);\r\n\t\tfirearmBox.setModel(model6);\r\n\t\t\r\n\t}", "private void clearArticleFields(){\n\t\ttxtArticleName.setText(EMPTYSTRING);\n\t\ttxtCW.setText(EMPTYSTRING);\n\t\t\n\t\t//cbCCC.select(2);\n\t\ttxtCCCValue.setText(EMPTYSTRING);\n\t\ttxtCCCValue.setEnabled(false);\n\t\t\n\t\t//cbDCC.select(2);\n\t\ttxtDCCValue.setText(EMPTYSTRING);\n\t\ttxtDCCValue.setEnabled(false);\n\t\t\n\t\t//cbIEC.select(1);\n\t\ttxtIEC_article.setText(EMPTYSTRING);\n\t\t\n\t\t//cbLoadingCharge.select(1);\n\t\ttxtLC_article.setText(EMPTYSTRING);\n\t\t\n\t\t//cbDDC.select(2);\n\t\ttxtDDC_chargeArticle.setText(EMPTYSTRING);\n\t\ttxtDDC_minPerLR.setText(EMPTYSTRING);\n\t\ttxtDDC_chargeArticle.setEnabled(false);\n\t\ttxtDDC_minPerLR.setEnabled(false);\n\t}", "public void clearFields() {\n tags.clear();\n tagText.setText(\"\");\n ((ImageView)findViewById(R.id.picture)).setImageResource(android.R.color.transparent);\n }", "private void blank() {\r\n txt_name.requestFocus();\r\n txt_id.setText(null);\r\n txt_name.setText(null);\r\n txt_bagian.setText(null);\r\n txt_telp.setText(null);\r\n txt_address.setText(null);\r\n\r\n }" ]
[ "0.8604129", "0.85858464", "0.85457283", "0.85208195", "0.85052896", "0.8464337", "0.8462451", "0.8342766", "0.8326783", "0.8307715", "0.8293828", "0.822925", "0.8190726", "0.8170276", "0.81398845", "0.81102014", "0.8097563", "0.8076538", "0.8073978", "0.807383", "0.8072239", "0.805294", "0.80323285", "0.8014306", "0.80120593", "0.80093044", "0.7979195", "0.7942359", "0.79338497", "0.79086995", "0.7884886", "0.78755647", "0.7858918", "0.78505117", "0.7849904", "0.78477895", "0.7837469", "0.7820845", "0.7806861", "0.7793766", "0.77879184", "0.77871996", "0.77662796", "0.7741806", "0.7713482", "0.77083486", "0.7614118", "0.7609999", "0.760711", "0.76044387", "0.7601808", "0.7595446", "0.7592935", "0.756437", "0.75639355", "0.7559951", "0.7559301", "0.7547374", "0.7547212", "0.75452", "0.75267166", "0.75080174", "0.7501539", "0.74826914", "0.7447331", "0.7440283", "0.74334824", "0.7411859", "0.74050754", "0.7393843", "0.73877865", "0.7377359", "0.73624295", "0.7354521", "0.7351625", "0.7343472", "0.7337961", "0.73219794", "0.7299925", "0.7278158", "0.7271078", "0.72598", "0.7250643", "0.72403795", "0.7233199", "0.7230367", "0.7229009", "0.7223803", "0.7206118", "0.71856564", "0.7183408", "0.7162296", "0.7161645", "0.7156872", "0.71551985", "0.7148853", "0.7148195", "0.7138022", "0.71366507", "0.7128007" ]
0.7426658
67
TODO Autogenerated method stub
@Override public void focusGained(FocusEvent arg0) { if(jtxt_username.getText().contains("Type in your username...")){ jtxt_username.setText(""); } }
{ "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 getExras() {\n\n\t}", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n protected void getExras() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\tpublic void nefesAl() {\n\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "@Override\n\tprotected void initdata() {\n\n\t}", "@Override\n\tpublic void nghe() {\n\n\t}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "public final void mo51373a() {\n }", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\n\tprotected void initData() {\n\t\t\n\t}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}", "public void designBasement() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}", "public void gored() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\r\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "@Override\n protected void initialize() {\n\n \n }", "public void mo38117a() {\n }", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "Constructor() {\r\n\t\t \r\n\t }", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\n\tpublic void one() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "private stendhal() {\n\t}", "@Override\n\tprotected void update() {\n\t\t\n\t}", "@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n public void init() {\n\n }", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "public contrustor(){\r\n\t}", "@Override\n\tprotected void initialize() {\n\n\t}", "@Override\r\n\tpublic void dispase() {\n\r\n\t}", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "@Override\n\tpublic void dtd() {\n\t\t\n\t}", "@Override\n\tprotected void logic() {\n\n\t}", "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "public void mo4359a() {\n }", "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "@Override\n public void memoria() {\n \n }", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "private RepositorioAtendimentoPublicoHBM() {\r\t}", "@Override\n protected void initialize() \n {\n \n }", "@Override\r\n\tpublic void getProposition() {\n\r\n\t}", "@Override\n\tpublic void particular1() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n protected void prot() {\n }", "@Override\r\n\tpublic void init()\r\n\t{\n\t}", "@Override\n\tprotected void initValue()\n\t{\n\n\t}", "public void mo55254a() {\n }" ]
[ "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.6080161", "0.6077022", "0.6041561", "0.6024072", "0.6020252", "0.59984857", "0.59672105", "0.59672105", "0.5965777", "0.59485507", "0.5940904", "0.59239364", "0.5910017", "0.5902906", "0.58946234", "0.5886006", "0.58839184", "0.58691067", "0.5857751", "0.58503544", "0.5847024", "0.58239377", "0.5810564", "0.5810089", "0.5806823", "0.5806823", "0.5800025", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5790187", "0.5789414", "0.5787092", "0.57844025", "0.57844025", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5761362", "0.57596046", "0.57596046", "0.575025", "0.575025", "0.575025", "0.5747959", "0.57337177", "0.57337177", "0.57337177", "0.5721452", "0.5715831", "0.57142824", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.5711723", "0.57041645", "0.56991017", "0.5696783", "0.56881124", "0.56774884", "0.56734604", "0.56728", "0.56696945", "0.5661323", "0.5657007", "0.5655942", "0.5655942", "0.5655942", "0.56549734", "0.5654792", "0.5652974", "0.5650185" ]
0.0
-1
TODO Autogenerated method stub
@Override public void focusGained(FocusEvent arg0) { if(jpassword.getPassword().equals("password")){ jpassword.setText(""); } }
{ "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 getExras() {\n\n\t}", "@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}", "@Override\n\tpublic void entrenar() {\n\t\t\n\t}", "@Override\n\tpublic void nadar() {\n\t\t\n\t}", "@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}", "@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}", "@Override\n\tprotected void interr() {\n\t}", "@Override\n\tpublic void emprestimo() {\n\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}", "@Override\n\tpublic void grabar() {\n\t\t\n\t}", "@Override\n\tpublic void gravarBd() {\n\t\t\n\t}", "@Override\r\n\tpublic void rozmnozovat() {\n\t}", "@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}", "@Override\n protected void getExras() {\n }", "@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}", "@Override\n\tpublic void nefesAl() {\n\n\t}", "@Override\n\tpublic void ligar() {\n\t\t\n\t}", "@Override\n public void func_104112_b() {\n \n }", "@Override\n\tprotected void initdata() {\n\n\t}", "@Override\n\tpublic void nghe() {\n\n\t}", "@Override\n public void function()\n {\n }", "@Override\n public void function()\n {\n }", "public final void mo51373a() {\n }", "@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}", "@Override\n public void inizializza() {\n\n super.inizializza();\n }", "@Override\n\tprotected void initData() {\n\t\t\n\t}", "@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}", "@Override\n\tpublic void sacrifier() {\n\t\t\n\t}", "@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}", "public void designBasement() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}", "public void gored() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\r\n\t}", "@Override\n\tpublic void einkaufen() {\n\t}", "@Override\n protected void initialize() {\n\n \n }", "public void mo38117a() {\n }", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "Constructor() {\r\n\t\t \r\n\t }", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}", "@Override\n\tpublic void one() {\n\t\t\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}", "private stendhal() {\n\t}", "@Override\n\tprotected void update() {\n\t\t\n\t}", "@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tprotected void initData() {\n\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\t\t\n\t}", "@Override\n public void init() {\n\n }", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\n\tprotected void initialize() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\r\n\tpublic void init() {\n\t\t\r\n\t}", "@Override\n\tpublic void debite() {\n\t\t\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "@Override\r\n\tpublic void init() {\n\r\n\t}", "public contrustor(){\r\n\t}", "@Override\n\tprotected void initialize() {\n\n\t}", "@Override\r\n\tpublic void dispase() {\n\r\n\t}", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "public void mo55254a() {\n }", "@Override\n\tpublic void dtd() {\n\t\t\n\t}", "@Override\n\tprotected void logic() {\n\n\t}", "@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}", "public void mo4359a() {\n }", "@Override\r\n\tprotected void initialize() {\n\r\n\t}", "@Override\n public void memoria() {\n \n }", "@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}", "private RepositorioAtendimentoPublicoHBM() {\r\t}", "@Override\n protected void initialize() \n {\n \n }", "@Override\r\n\tpublic void getProposition() {\n\r\n\t}", "@Override\n\tpublic void particular1() {\n\t\t\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n\tpublic void init() {\n\n\t}", "@Override\n protected void prot() {\n }", "@Override\r\n\tpublic void init()\r\n\t{\n\t}", "@Override\n\tprotected void initValue()\n\t{\n\n\t}", "public void mo55254a() {\n }" ]
[ "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.6080161", "0.6077022", "0.6041561", "0.6024072", "0.6020252", "0.59984857", "0.59672105", "0.59672105", "0.5965777", "0.59485507", "0.5940904", "0.59239364", "0.5910017", "0.5902906", "0.58946234", "0.5886006", "0.58839184", "0.58691067", "0.5857751", "0.58503544", "0.5847024", "0.58239377", "0.5810564", "0.5810089", "0.5806823", "0.5806823", "0.5800025", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5792378", "0.5790187", "0.5789414", "0.5787092", "0.57844025", "0.57844025", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5774479", "0.5761362", "0.57596046", "0.57596046", "0.575025", "0.575025", "0.575025", "0.5747959", "0.57337177", "0.57337177", "0.57337177", "0.5721452", "0.5715831", "0.57142824", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.57140535", "0.5711723", "0.57041645", "0.56991017", "0.5696783", "0.56881124", "0.56774884", "0.56734604", "0.56728", "0.56696945", "0.5661323", "0.5657007", "0.5655942", "0.5655942", "0.5655942", "0.56549734", "0.5654792", "0.5652974", "0.5650185" ]
0.0
-1