public class StreamMarshalling extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
StreamMarshalling.StreamMarshallingExternalizer |
| Modifier and Type | Method and Description |
|---|---|
static <K,V> Function<Map.Entry<K,V>,K> |
entryToKeyFunction()
Provides a function that returns the key of the entry when invoked.
|
static <K,V> Function<Map.Entry<K,V>,V> |
entryToValueFunction()
Provides a function that returns the value of the entry when invoked.
|
static Predicate<Object> |
equalityPredicate(Object object)
Provides a predicate that returns true when the object is equal.
|
static Predicate<Object> |
nonNullPredicate() |
public static Predicate<Object> equalityPredicate(Object object)
object - the instance to test equality onpublic static <K,V> Function<Map.Entry<K,V>,K> entryToKeyFunction()
K - key type of the entryV - value type of the entrypublic static <K,V> Function<Map.Entry<K,V>,V> entryToValueFunction()
K - key type of the entryV - value type of the entryCopyright © 2015 JBoss, a division of Red Hat. All rights reserved.