-
heap_sort
java实现的堆排序,你可以排序多种类型,可以实现代码重用,很好地利用了面向对象的思想(java achieve heap sort, you can sort a variety of types, you can achieve code reuse, good use of the object-oriented thinking)
- 2014-12-12 23:17:39下载
- 积分:1
-
org.eclipse.core.boot
org.eclipse.core.boot
- 2022-01-21 17:54:55下载
- 积分:1
-
JTable
自定义JTable的几个例子,非常不错的。(a few examples, very good.)
- 2005-02-28 18:29:06下载
- 积分:1
-
MathContext
Immutable objects describing settings such as rounding mode and digit.
- 2014-01-22 14:19:05下载
- 积分:1
-
android 签名工具 适用于 微信开发的签名工具
该工具 适用于 微信开发的签名工具 ,安装后能生成应用签名上传到微信,就能拿到 APPID 和 Secrect了
- 2022-01-26 05:41:12下载
- 积分:1
-
shop v1.2
说明: 商城展示,物品管理,添加商品,上传图片,二级菜单等(Shopping mall display, goods management, add goods, upload pictures, secondary menu, etc.)
- 2020-06-24 09:00:02下载
- 积分:1
-
udpDemo的简单程序
需求:
定义一个应用程序,用于接收udp协议传输的数据并处理
思路:
1.定义udpsocket服务
2.定义一个数据包,因为要存储接收到的字节数据
因为数据包对象有更多功能可以提取字节数据中的不同数据信息
3.通过socket服务的receive方法将收到的数据存入已定义好的数据包
4.通过数据包对象的特有功能,将这些不同的数据取出,打印在控制台上
5.关闭流资源
*/
class UdpRece
{
public static void main(String[]args)throws Exception
{//1.创建udo socket,建立端点
DatagramSocket ds=new DatagramSocket(4000);
//定义一个数据包用于存储数据
byte[] buf=new byte[1024];
DatagramPacket dp=new DatagramPacket(buf,buf.length);
//通过服务的receive方法将收到数据存入数据包中
ds.receive(dp);//
//4.通过数据包的方法获取其中的数据
String ip=dp.getAddress().getHostAddress();
//getHostAddress是InetAddress的方法,以字符串的形式返回IP地址
//getAddress()是InetAddress类型的,返回某台机器的IP地址,此数据包是从某台机器接收到的
String data=new String(dp.getData(),0,dp.getLength());
//String(byte[] byt
- 2022-03-23 05:55:12下载
- 积分:1
-
tickler
功能简介:文件:新建,保存,另存为,退出编辑:复制,粘贴,剪切,格式:字体(有系统所有字体和大小),自动换行,替代,查找可以加载图片的。(Features: File: New, Save, Save As, Exit Edit: Copy, paste, cut, Format: Font (with all fonts and size of the system), word wrap, alternative, find that you can load images.)
- 2013-03-27 21:00:34下载
- 积分:1
-
CorsConfig
说明: 遇到跨域问题把此java文件加进config类里(Add this java file to the Config class when encountering cross-domain problems)
- 2020-06-22 13:40:02下载
- 积分:1
-
数字水印
Java 盲水印
在图片上加肉眼无法分辨的水印
* 原理
* Encode:
原图 --- 傅立叶变换 ---> 频域图 + 水印 --- 逆变换 ---> 带水印图
* Decode(文字水印):
带水印图 --- 傅立叶变换 ---> 频域图
* Decode(图片水印):
原图 --- 傅立叶变换 --> 原图频域图
带水印图 --- 傅立叶变换 ---> 频域图 - 原图频域图
- 2023-08-14 13:05:03下载
- 积分:1