| Package | Description |
|---|---|
| org.onlab.util |
Miscellaneous domain-agnostic utilities.
|
| Modifier and Type | Field and Description |
|---|---|
static Match |
Match.ANY |
static Match |
Match.NOT_NULL |
static Match |
Match.NULL |
| Modifier and Type | Method and Description |
|---|---|
static <T> Match<T> |
Match.any()
Returns a Match that matches any value including null.
|
static <T> Match<T> |
Match.ifNotNull()
Returns a Match that matches all non-null values.
|
static <T> Match<T> |
Match.ifNotValue(T value)
Returns a Match that matches any value except the specified value.
|
static <T> Match<T> |
Match.ifNull()
Returns a Match that matches null values.
|
static <T> Match<T> |
Match.ifValue(T value)
Returns a Match that only matches the specified value.
|
<V> Match<V> |
Match.map(Function<T,V> mapper)
Maps this instance to a Match of another type.
|
Copyright © 2016. All rights reserved.