Rollback to Bytes 1.0.5-alpha and Access

This commit is contained in:
leventov
2015-06-27 20:30:22 +03:00
parent ba27b5d631
commit a61ea2240d
39 changed files with 6224 additions and 6019 deletions
@@ -31,22 +31,22 @@ public class SimpleMapOperationsListeningTest {
}
@Override
public Void replaceValue(@NotNull MapEntry<K, V> entry, Data<V> newValue) {
public Void replaceValue(@NotNull MapEntry<K, V> entry, Data<V, ?> newValue) {
System.out.println("replace " + entry.key() + ": " + entry.value() + " -> " + newValue);
entry.doReplaceValue(newValue);
return null;
}
@Override
public Void insert(@NotNull MapAbsentEntry<K, V> absentEntry, Data<V> value) {
public Void insert(@NotNull MapAbsentEntry<K, V> absentEntry, Data<V, ?> value) {
System.out.println("insert " + absentEntry.absentKey() + " -> " + value);
absentEntry.doInsert(value);
return null;
}
@Override
public Data<V> defaultValue(@NotNull MapAbsentEntry<K, V> absentEntry) {
Data<V> defaultValue = absentEntry.defaultValue();
public Data<V, ?> defaultValue(@NotNull MapAbsentEntry<K, V> absentEntry) {
Data<V, ?> defaultValue = absentEntry.defaultValue();
System.out.println("default " + absentEntry.absentKey() + " -> " + defaultValue);
return defaultValue;
}