登录
首页 » Java » PolymorphismDemoProject

PolymorphismDemoProject

于 2009-08-12 发布 文件大小:2KB
0 41
下载积分: 1 下载次数: 3

代码说明:

  sample java polymorphism

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 图书管理系统 JAVA实现 SQL语言数据库
    图书管理系统 JAVA实现 SQL语言数据库-JAVA library management system to achieve a database SQL language
    2022-10-06 10:50:03下载
    积分:1
  • BBS
    用servlet和JSP写的BBS论坛,功能齐全,实用适合初学者学习使用(BBS forums, write servlet and JSP is suitable for beginners to learn to use, good use)
    2012-11-26 21:25:37下载
    积分:1
  • homework81
    说明:  高级程序语言设计课程JAVA部分第八次作业第一小题(Topic 1 of the 8th assignment of JAVA in Advanced Programming Language Design Course)
    2019-05-27 22:08:14下载
    积分:1
  • CalculateEJB
    Java EJB写的Calculate计算器,文件比较多,学习EJB的可参考下。计算器是学习各类编程语言时候经常学写的小程序,可以学到不少知识点,不多介绍了,自己下载源码看下吧。 (Java EJB wrote Calculate Calculator, more documents, learning EJB can refer. The calculator is learning all kinds of programming languages often when learning to write small programs, you can learn a lot of knowledge points, little introduction, and to download the source code look it.)
    2014-12-31 15:15:26下载
    积分:1
  • GridLayoutAnimationController
    A layout animation controller is used to animated a grid layout s children.
    2013-11-26 15:32:14下载
    积分:1
  • 在线考试系统java
    java 写的在线考试系统,SQL server 提供数据库
    2022-10-18 12:15:03下载
    积分:1
  • JAVA报表
    JAVA报表-statements JAVA
    2022-03-02 21:09:04下载
    积分:1
  • 诊所医院管理系统
     项目结构:strutss+hibernate+jsp 项目模块:病人管理(增删改查)、病历管理、药品管理  数据库:mysql 数据库脚本不需要管,建立对应的数据库名称就行,hibernate会自动创建表到数据库; 登陆用户:医生、管理员
    2023-05-04 03:55:05下载
    积分:1
  • android 短信拦截 实例完整源码下载
    可实现拦截短信,自动转发的功能。 部分代码:import android.app.AlarmManager;import android.app.PendingIntent;import android.app.Service;import android.content.Context;import android.content.Intent;import android.content.IntentFilter;import android.os.IBinder;import android.os.PowerManager;import android.os.PowerManager.WakeLock;public class MyService extends Service{ SMSReceiver rs=null; static MyService service; private static PendingIntent pi = null; public static AlarmManager am = null; @Override public IBinder onBind(Intent intent) { // TODO Auto-generated method stub return null; } @Override public void onCreate() { // TODO Auto-generated method stub super.onCreate(); service=this; pm = (PowerManager) getSystemService(Context.POWER_SERVICE); registerAlarm(); acquireWakeLock(this); registerRecever(); } @Override public void onDestroy() { // TODO Auto-generated method stub super.onDestroy(); releaseWakeLock(); unregisterAlarm(); } private void registerRecever(){ rs=new SMSReceiver(); IntentFilter filter=new IntentFilter(); filter.addAction("android.provider.Telephony.SMS_RECEIVED"); filter.setPriority(1000); registerReceiver(rs, filter); } @Override public int onStartCommand(Intent intent, int flags, int startId) { // TODO Auto-generated method stub if(rs==null)registerRecever(); return START_STICKY; } public static WakeLock wakeLock = null; private static PowerManager pm = null; public static synchronized void acquireWakeLock(Context c) { if (null == wakeLock) { wakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "smslock"); wakeLock.acquire(); } } public static synchronized void releaseWakeLock() { if (wakeLock == null) return; if (wakeLock.isHeld()) { wakeLock.release(); wakeLock = null; } } /** * 启动重复型定时器 */ public static void registerAlarm() { if(Config.getAlarm())return; Intent intent = new Intent(service, AlarmReceiver.class); pi = PendingIntent.getBroadcast(service, 0, intent, PendingIntent.FLAG_CANCEL_CURRENT); // 设置一个PendingIntent对象,发送广播 am = (AlarmManager) service.getSystemService(Context.ALARM_SERVICE); // 获取AlarmManager对象, Config.setAlarm(true); am.setRepeating(AlarmManager.RTC_WAKEUP, System.currentTimeMillis(), 30*60*1000, pi); } /** * 取消定时器 */ public static void unregisterAlarm() { am.cancel(pi); am = null; Config.setAlarm(false); }}
    2014-05-21下载
    积分:1
  • PAssertedServiceParser
    Rancore Technologies Pvt Ltd, Mumbai India.
    2013-11-26 14:39:45下载
    积分:1
  • 696518资源总数
  • 104316会员总数
  • 17今日下载