用Java写的贪吃蛇小游戏

package com.baosight.apssc.mp.js.service;import java.awt.*;import java.awt.event.*;import java.util.Random;import javax.swing.*;public class SnakeGame


https绕过证书

https绕过证书import java.io.IOException;import java.net.HttpURLConnection;import java.net.URL;import javax.net.ssl.SSLContext;import javax.net.ssl.TrustMa


雪花算法

雪花算法public class SnowflakeIdGenerator { private static final int BITS_SEQUENCE = 12; private static final int BITS_MACHINE_ID = 5; private static f


布隆过滤器

布隆过滤器public class BloomFilter { private int[] filter; private int size; private int hashFunctions; private int numElements; public Bloo