public abstract class CastLib extends Object
Constructor and Description |
---|
CastLib() |
Modifier and Type | Method and Description |
---|---|
static <Value> Value |
cast(Object value)
Cast a value to the Value parameter, which can be inferred from an assignment.
|
static <Value> Value |
get(Map<?,?> map,
Object key)
Get a value from a map, and cast it to the Value parameter, which can be inferred from an
assignment.
|
public static <Value> Value cast(Object value)
Copyright © 2014. All rights reserved.