Top Description Constructors Methods
org.newsclub.net.unix

pack-priv final Class Java7Util

extends Object
Class Inheritance
Annotations
@IgnoreJRERequirement
Imports
java.util.Map, java.util.concurrent.CompletableFuture, org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement, org.eclipse.jdt.annotation.Nullable

Helper class to allow codebase to remain compatible with Java 7 (via retrolambda, animal-sniffer).
Author
Christian Kohlschütter

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv static <K, V> V
computeIfAbsent(Map<K, V> map, K key, AFFunction<? super K, ? extends V> mappingFunction)

pack-priv static <U> AFFuture<U>
supplyAsync(AFSupplier<U> supplier)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

Java7Utilback to summary
pack-priv Java7Util()

Method Detail

computeIfAbsentback to summary
pack-priv static <K, V> V computeIfAbsent(Map<K, V> map, K key, AFFunction<? super K, ? extends V> mappingFunction)
supplyAsyncback to summary
pack-priv static <U> AFFuture<U> supplyAsync(AFSupplier<U> supplier)