First draft of the 0.8.0 patch.

This commit is contained in:
2022-12-19 16:03:43 +01:00
parent 96458bd8b6
commit efd29bbe7e
6 changed files with 66 additions and 2 deletions
@@ -782,6 +782,7 @@ public class ASYNC_BUILDER KEY_GENERIC_TYPE
setResult(wrapper.TO_ARRAY());
#endif
wrapper = null;
return true;
}
return false;
}
@@ -36,6 +36,7 @@ import speiger.src.collections.PACKAGE.utils.ARRAYS;
import speiger.src.collections.PACKAGE.functions.function.PREDICATE;
#endif
import speiger.src.collections.PACKAGE.functions.function.UNARY_OPERATOR;
import speiger.src.collections.ints.functions.consumer.BI_FROM_INT_CONSUMER;
import speiger.src.collections.objects.functions.consumer.BI_FROM_OBJECT_CONSUMER;
#if !TYPE_BOOLEAN
import speiger.src.collections.utils.HashUtil;
@@ -777,6 +778,8 @@ public class COLLECTIONS
@Override
public void forEach(Consumer<? super CLASS_TYPE> action) { synchronized(mutex) { c.forEach(action); } }
#endif
@Override
public void forEachIndexed(BI_FROM_INT_CONSUMER KEY_GENERIC_TYPE action) { synchronized(mutex) { c.forEachIndexed(action); } }
@Override
public int hashCode() { synchronized(mutex) { return c.hashCode(); } }
@Override
@@ -902,6 +905,8 @@ public class COLLECTIONS
@Override
public void forEach(Consumer<? super CLASS_TYPE> action) { c.forEach(action); }
#endif
@Override
public void forEachIndexed(BI_FROM_INT_CONSUMER KEY_GENERIC_TYPE action) { c.forEachIndexed(action); }
@Override
public int hashCode() { return c.hashCode(); }
@Override