Skip to content

Instantly share code, notes, and snippets.

View haxianhe's full-sized avatar
🦍
Hello !

haxianhe haxianhe

🦍
Hello !
View GitHub Profile
@haxianhe
haxianhe / array_group_by.php
Last active January 5, 2021 09:47
php数组按某一个元素值进行分组,正如数据库的group by语句
<?php
/**
* 数组按某一个元素值进行分组,正如数据库的group by语句
* @param $array
* @param $key
* @return array
*/
public function array_group_by($array, $key)
{
@haxianhe
haxianhe / CSV.php
Created January 7, 2021 06:40
csv处理函数
<?php
/**
* @Desc: csv处理函数
* @User: haxianhe
* @Date: 2019/4/2
* @Time: 5:03 PM
*/
abstract class CSV
{
@haxianhe
haxianhe / LambdaTest.java
Last active December 27, 2021 13:16
Lambad case
package com.haxianhe;
import static com.haxianhe.ClassA.test;
import java.util.function.Predicate;
/**
* @author haxianhe <haxianhe@gmail.com>
* Created on 2021-12-27
*/