AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
ChannelImpl()
Super class constructor.
|
ChannelImpl(int initialCapacity)
Super class constructor.
|
ChannelImpl(int initialCapacity,
float loadFactor)
Super class constructor.
|
ChannelImpl(Map<? extends String,? extends Object> m)
Super class constructor.
|
| Modifier and Type | Method and Description |
|---|---|
IChannel |
add(String key,
Object value)
Add data to the channel.
|
<T> T |
get(String key,
Class<T> type) |
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, valuesequals, hashCode, toStringpublic ChannelImpl()
public ChannelImpl(int initialCapacity,
float loadFactor)
initialCapacity - see new Map(initialCapacity,loadFactor)loadFactor - see new Map(initialCapacity,loadFactor)public ChannelImpl(int initialCapacity)
initialCapacity - see new Map(initialCapacity,loadFactor)public IChannel add(String key, Object value)
IChannelpublic <T> T get(String key, Class<T> type) throws NotFoundException, InvalidTypeException
get in interface IChannelT - The expected type.key - The object name.type - The object type.NotFoundException - If key is not present.InvalidTypeException - If type does not match.Copyright © 2016. All rights reserved.