public abstract class Util
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static scala.collection.immutable.Map<java.lang.String,java.lang.String> |
emptyMap |
Constructor and Description |
---|
Util() |
Modifier and Type | Method and Description |
---|---|
static <T,U extends T> |
convertArray(T[] els) |
static <T,U extends T> |
convertIterable(java.lang.Iterable<T> els) |
static scala.collection.immutable.Map<java.lang.String,java.lang.String> |
convertMapToScala(java.util.Map<java.lang.String,java.lang.String> map) |
static <U,T extends U> |
convertOption(scala.Option<T> o) |
static <T,U extends T> |
convertOptionalToScala(java.util.Optional<T> o) |
static scala.Option<java.lang.Object> |
convertOptionalToScala(java.util.OptionalInt o) |
static scala.Option<java.lang.Object> |
convertOptionalToScala(java.util.OptionalLong o) |
static <U,T extends U> |
convertPublisher(org.apache.pekko.stream.scaladsl.Source<T,scala.Unit> p) |
static <K,J,V extends J> |
lookupInRegistry(ObjectRegistry<K,V> registry,
K key) |
static <J,V extends J> |
lookupInRegistry(ObjectRegistry<java.lang.Object,V> registry,
int key) |
static <J,V extends J> |
lookupInRegistry(ObjectRegistry<java.lang.String,V> registry,
java.lang.String key) |
static <T> scala.Option<T> |
scalaNone() |
static <T,U extends T> |
upcastSource(org.apache.pekko.stream.scaladsl.Source<T,scala.Unit> p) |
public static final scala.collection.immutable.Map<java.lang.String,java.lang.String> emptyMap
public static <U,T extends U> java.util.Optional<U> convertOption(scala.Option<T> o)
public static <U,T extends U> org.apache.pekko.stream.scaladsl.Source<U,scala.Unit> convertPublisher(org.apache.pekko.stream.scaladsl.Source<T,scala.Unit> p)
public static <T,U extends T> org.apache.pekko.stream.scaladsl.Source<U,scala.Unit> upcastSource(org.apache.pekko.stream.scaladsl.Source<T,scala.Unit> p)
public static scala.collection.immutable.Map<java.lang.String,java.lang.String> convertMapToScala(java.util.Map<java.lang.String,java.lang.String> map)
public static <T,U extends T> scala.Option<U> convertOptionalToScala(java.util.Optional<T> o)
public static scala.Option<java.lang.Object> convertOptionalToScala(java.util.OptionalLong o)
public static scala.Option<java.lang.Object> convertOptionalToScala(java.util.OptionalInt o)
public static <T> scala.Option<T> scalaNone()
public static <T,U extends T> scala.collection.immutable.Seq<U> convertIterable(java.lang.Iterable<T> els)
public static <T,U extends T> scala.collection.immutable.Seq<U> convertArray(T[] els)
public static <J,V extends J> java.util.Optional<J> lookupInRegistry(ObjectRegistry<java.lang.Object,V> registry, int key)
public static <J,V extends J> java.util.Optional<J> lookupInRegistry(ObjectRegistry<java.lang.String,V> registry, java.lang.String key)
public static <K,J,V extends J> java.util.Optional<J> lookupInRegistry(ObjectRegistry<K,V> registry, K key)