some bug fixes, updated engine with support for new .trn versions, refactored some code with new Java 8 syntax, changed compiler to java 8

This commit is contained in:
Light2
2014-03-25 20:08:01 +01:00
parent 0742c19af3
commit 3e265ed6c5
23 changed files with 476 additions and 361 deletions
+74
View File
@@ -29,6 +29,9 @@ import java.util.Map;
import java.util.Set;
import java.util.TreeMap;
import java.util.Map.Entry;
import java.util.function.BiConsumer;
import java.util.function.BiFunction;
import java.util.function.Function;
import org.apache.mina.core.buffer.IoBuffer;
@@ -255,5 +258,76 @@ public class SWGMap<K, V> implements Map<K, V> {
messageBuilder.sendListDelta(viewType, updateType, buffer);
}
@Override
public V getOrDefault(Object key, V defaultValue) {
// TODO Auto-generated method stub
return null;
}
@Override
public void forEach(BiConsumer<? super K, ? super V> action) {
// TODO Auto-generated method stub
}
@Override
public void replaceAll(
BiFunction<? super K, ? super V, ? extends V> function) {
// TODO Auto-generated method stub
}
@Override
public V putIfAbsent(K key, V value) {
// TODO Auto-generated method stub
return null;
}
@Override
public boolean remove(Object key, Object value) {
// TODO Auto-generated method stub
return false;
}
@Override
public boolean replace(K key, V oldValue, V newValue) {
// TODO Auto-generated method stub
return false;
}
@Override
public V replace(K key, V value) {
// TODO Auto-generated method stub
return null;
}
@Override
public V computeIfAbsent(K key,
Function<? super K, ? extends V> mappingFunction) {
// TODO Auto-generated method stub
return null;
}
@Override
public V computeIfPresent(K key,
BiFunction<? super K, ? super V, ? extends V> remappingFunction) {
// TODO Auto-generated method stub
return null;
}
@Override
public V compute(K key,
BiFunction<? super K, ? super V, ? extends V> remappingFunction) {
// TODO Auto-generated method stub
return null;
}
@Override
public V merge(K key, V value,
BiFunction<? super V, ? super V, ? extends V> remappingFunction) {
// TODO Auto-generated method stub
return null;
}
}