Merge branch 'master' of ii2m.com:liangqi/panda

master
星期八 3 years ago
commit e37753bab5
  1. 4
      README.md
  2. 134
      panda-code/src/main/java/org/panda/code/uitl/MyMap.java
  3. 13
      panda-code/src/main/java/org/panda/code/uitl/ZipAndRarTools.java

@ -1,11 +1,11 @@
熊猫框架 熊猫框架
==================== ====================
##开发环境 ## 开发环境
1. mavne3 1. mavne3
2. jdk1.8 2. jdk1.8
##目录说明 ## 目录说明
|目录|说明| |目录|说明|
|:---:|:---:| |:---:|:---:|
|panda-all|全部包| |panda-all|全部包|

@ -0,0 +1,134 @@
package org.panda.code.uitl;
import org.apache.commons.collections.map.LRUMap;
import java.util.Collection;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import java.util.function.BiConsumer;
import java.util.function.BiFunction;
import java.util.function.Function;
/**
* @author qi
* @Date 2021/4/24 1:53 下午
*/
public class MyMap<K,V> implements Map<K,V> {
@Override
public V getOrDefault(Object key, V defaultValue) {
return null;
}
@Override
public void forEach(BiConsumer<? super K, ? super V> action) {
}
@Override
public void replaceAll(BiFunction<? super K, ? super V, ? extends V> function) {
}
@Override
public V putIfAbsent(K key, V value) {
return null;
}
@Override
public boolean remove(Object key, Object value) {
return false;
}
@Override
public boolean replace(K key, V oldValue, V newValue) {
return false;
}
@Override
public V replace(K key, V value) {
return null;
}
@Override
public V computeIfAbsent(K key, Function<? super K, ? extends V> mappingFunction) {
return null;
}
@Override
public V computeIfPresent(K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction) {
return null;
}
@Override
public V compute(K key, BiFunction<? super K, ? super V, ? extends V> remappingFunction) {
return null;
}
@Override
public V merge(K key, V value, BiFunction<? super V, ? super V, ? extends V> remappingFunction) {
return null;
}
@Override
public int size() {
return 0;
}
@Override
public boolean isEmpty() {
return false;
}
@Override
public boolean containsKey(Object key) {
return false;
}
@Override
public boolean containsValue(Object value) {
return false;
}
@Override
public V get(Object key) {
return null;
}
@Override
public V put(K key, V value) {
return null;
}
@Override
public V remove(Object key) {
return null;
}
@Override
public void putAll(Map<? extends K, ? extends V> m) {
}
@Override
public void clear() {
}
@Override
public Set<K> keySet() {
return null;
}
@Override
public Collection<V> values() {
return null;
}
@Override
public Set<Entry<K, V>> entrySet() {
return null;
}
}

@ -0,0 +1,13 @@
package org.panda.code.uitl;
import java.io.File;
public class ZipAndRarTools {
public static void unrar(String sourceRarPath,String destDirPath){
File sourceRar = new File(sourceRarPath);
File destDir = new File(destDirPath);
}
}
Loading…
Cancel
Save