上一页 1 ··· 4 5 6 7 8

2023年5月21日

ajax的几种请求方式

摘要: 1 $.ajax({ 2 type: 'get', 3 url: 'js/cuisine_area.josn', 4 async: true 5 }) 6 7 // 忽略返回值, 传递参数 8 $.get('url',{name: 'nihao'}) 9 10 // 有返回值,有参数 11 $.ge 阅读全文

posted @ 2023-05-21 17:21 你就学个JVAV? 阅读(40) 评论(0) 推荐(0)

线程的三个辅助类

摘要: Semaphore 1 package com.huo.HelperClass; 2 3 import java.util.concurrent.Semaphore; 4 import java.util.concurrent.TimeUnit; 5 6 /** 7 * @version 1.0 8 阅读全文

posted @ 2023-05-21 17:20 你就学个JVAV? 阅读(14) 评论(0) 推荐(0)

锁机制和信号量机制实现水果问题,同步机制

摘要: 使用Semaphore类实现 package com.huo.HelperClass.demo; import sun.security.krb5.internal.TGSRep; import java.util.concurrent.Semaphore; /** * @version 1.0 * 阅读全文

posted @ 2023-05-21 17:17 你就学个JVAV? 阅读(47) 评论(0) 推荐(0)

2023年3月27日

八大排序

摘要: 冒泡排序 public static void bubbleSort(int[] array) { int length = array.length; for (int i = 0; i < length; i++) { for (int j = 0; j < length - 1 - i; j+ 阅读全文

posted @ 2023-03-27 20:03 你就学个JVAV? 阅读(13) 评论(0) 推荐(0)

图的深度优先和广度优先算法

摘要: package com.datastruct.gragh; import java.util.ArrayList; import java.util.LinkedList; import java.util.Queue; /** * @version 1.0 * @Author 作者名 * @Dat 阅读全文

posted @ 2023-03-27 19:59 你就学个JVAV? 阅读(24) 评论(0) 推荐(0)

上一页 1 ··· 4 5 6 7 8

导航