public class AgentLookUpTable extends Object
Copyright: Copyright 2003-2014, Knowledge Science Group, University of Calgary. Permission to use, copy, modify, distribute and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation. The Knowledge Science Group makes no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty.
Modifier and Type | Field and Description |
---|---|
private static TreeMap<URLDescriptor,TransientAgentInterface> |
lookUpTable
Serves as an Agent Look-up table.
|
Modifier | Constructor and Description |
---|---|
private |
AgentLookUpTable()
Private constructor in order disallow any instance of this class.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
containsKey(URLDescriptor key) |
static boolean |
containsValue(TransientAgentInterface value) |
static URLDescriptor |
findByName(String name) |
static TransientAgentInterface |
get(URLDescriptor key) |
static Set<URLDescriptor> |
keys() |
static Set<URLDescriptor> |
keySet() |
static TransientAgentInterface |
put(URLDescriptor key,
TransientAgentInterface value) |
static TransientAgentInterface |
remove(URLDescriptor key) |
static int |
size() |
static Collection<TransientAgentInterface> |
values() |
private static TreeMap<URLDescriptor,TransientAgentInterface> lookUpTable
private AgentLookUpTable()
public static Set<URLDescriptor> keys()
public static Set<URLDescriptor> keySet()
public static boolean containsValue(TransientAgentInterface value)
public static TransientAgentInterface remove(URLDescriptor key)
public static boolean containsKey(URLDescriptor key)
public static TransientAgentInterface put(URLDescriptor key, TransientAgentInterface value)
public static TransientAgentInterface get(URLDescriptor key)
public static Collection<TransientAgentInterface> values()
public static int size()
public static URLDescriptor findByName(String name)