Package io.aether.utils.streams
Class MapBase<K,V>
- java.lang.Object
-
- io.aether.utils.streams.MapBase<K,V>
-
- All Implemented Interfaces:
io.aether.utils.interfaces.AConsumer<V>,java.util.function.Consumer<V>
public class MapBase<K,V> extends java.lang.Object implements io.aether.utils.interfaces.AConsumer<V>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMapBase.ARMultiFuture2<T>
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(V v)voidaccept2(V v)Gate<K,V>addInput()Gate<K,V>addInputByRequestHard()Gate<K,V>addInputHard()voidaddSource(Gate<K,V> src)Gate<V,K>addSourceHard()voidaddSourceHard(Gate<K,V> src)voidflush()io.aether.utils.slots.AMFuture<V>get(K key)io.aether.utils.slots.AMFuture<V>get(K key, io.aether.utils.interfaces.AFunction<K,V> orCreate)<K2,V2>
MapBase<K2,V2>map(java.lang.String name, io.aether.utils.interfaces.AFunction<V,V2> valConverter1, io.aether.utils.interfaces.AFunction<K2,K> keyConverter2, io.aether.utils.interfaces.AFunction<V2,K2> keyConverter3)voidrefresh(V c)voidrefreshKey(K key)voidset(K key, V val)voidset(V val)protected voidset0(K key, V val)voidsetAll(java.lang.Iterable<V> val)io.aether.utils.flow.Flow<V>values()MapBase<K,V>withLog()MapBase<K,V>withLog(java.lang.String logName)
-
-
-
Method Detail
-
refreshKey
public void refreshKey(K key)
-
refresh
public void refresh(V c)
-
accept2
public void accept2(V v)
- Specified by:
accept2in interfaceio.aether.utils.interfaces.AConsumer<K>
-
accept
public void accept(V v)
-
set
public void set(V val)
-
setAll
public void setAll(java.lang.Iterable<V> val)
-
map
public <K2,V2> MapBase<K2,V2> map(java.lang.String name, io.aether.utils.interfaces.AFunction<V,V2> valConverter1, io.aether.utils.interfaces.AFunction<K2,K> keyConverter2, io.aether.utils.interfaces.AFunction<V2,K2> keyConverter3)
-
get
public io.aether.utils.slots.AMFuture<V> get(K key, io.aether.utils.interfaces.AFunction<K,V> orCreate)
-
flush
public void flush()
-
values
public io.aether.utils.flow.Flow<V> values()
-
-