Get a List of all the SpecTopics in the Database for a Topic ID.

@param key The Topic Key to find SpecTopics for.
@return A List of SpecTopic objects whose Key matches.
329133
public List<ITopicNode> getTopicNodesForKey(final String key) {
        if (topicsKeys.containsKey(key)) {
            return topicsKeys.get(key);
        }

        return new LinkedList<ITopicNode>();
    }
1142949
public synchronized V lookup(final String key) {
        if (tmap == null) {
            throw new IllegalStateException("not open");
        }
        return tmap.get(key);
    }
674080
public List<String> get(String key)
    {
        if(key == null)
            throw new IllegalArgumentException("Null keys not allowed.");

        return map.get(key);
    }
25728
public static List<String> getResourceIds(final CacheKey key) {
    try {
      final List<String> ids;
      if (key instanceof MultiCacheKey) {
        List<CacheKey> keys = ((MultiCacheKey) key).getCacheKeys();
        ids = new ArrayList<>(keys.size());
        for (int i = 0; i < keys.size(); i++) {
          ids.add(secureHashKey(keys.get(i)));
        }
      } else {
        ids = new ArrayList<>(1);
        ids.add(secureHashKey(key));
      }
      return ids;
    } catch (UnsupportedEncodingException e) {
      // This should never happen. All VMs support UTF-8
      throw new RuntimeException(e);
    }
  }
22617
public WikiParameter[] getParameters(String key)
    {
        Map<String, WikiParameter[]> map = getParameters();
        WikiParameter[] list = map.get(key);
        return list;
    }
290863
public static LinkedList<Map.Entry<String, CoreDictionary.Attribute>> commonPrefixSearch(String key)
    {
        return trie.commonPrefixSearchWithValue(key);
    }
470733
public JSONArray getArray(String key) {
        Object tmp = objectMap.get(key);
        return tmp == null ? null : tmp instanceof JSONArray ? (JSONArray) tmp
                : null;
    }
443090
public List<SpecTopic> getSpecTopics() {
        final List<SpecTopic> specTopics = getLevelSpecTopics(level);
        specTopics.addAll(getMetaDataSpecTopics());
        return specTopics;
    }
1302675
@Override
  public Map<byte[], byte[]> hgetAll(final byte[] key) {
    checkIsInMultiOrPipeline();
    client.hgetAll(key);
    final List<byte[]> flatHash = client.getBinaryMultiBulkReply();
    final Map<byte[], byte[]> hash = new JedisByteHashMap();
    final Iterator<byte[]> iterator = flatHash.iterator();
    while (iterator.hasNext()) {
      hash.put(iterator.next(), iterator.next());
    }

    return hash;
  }
1001284
public String updateCollection(final Key key) {
        if (key.getCollection() == null && key.getType() == null) {
            throw new IllegalStateException("Key is invalid! " + toString());
        } else if (key.getCollection() == null) {
            key.setCollection(getMappedClass(key.getType()).getCollectionName());
        }

        return key.getCollection();
    }
5722
protected List<String> getTopicIds() {
        LinkedList<String> topicIds = new LinkedList<String>();
        for (final Entry<String, SpecTopic> specTopicEntry : topics.entrySet()) {
            topicIds.add(specTopicEntry.getKey());
        }
        return topicIds;
    }
1147995
public <T> List<T> getList(AppConfigKey key, Class<T> c) {
        Object o = data.get(key);
        if (null == o) {
            List<T> l = key.implList(key.key(), raw, c);
            data.put(key, l);
            return l;
        } else {
            return (List) o;
        }
    }
659245
public List<ITopicNode> getTopicNodesForTopicID(final Integer topicId) {
        if (topics.containsKey(topicId)) {
            return topics.get(topicId);
        }

        return new LinkedList<ITopicNode>();
    }
296359
public ICollectionItemOptions getCollectionItemOptions(String key)
	{
		Object object = this.options.get(key);
		if (object instanceof ICollectionItemOptions)
			return (ICollectionItemOptions) object;
		return null;
	}
765865
@SuppressWarnings("unchecked")
    public Set<String> getTopics() {
        Map<String, List<PartitionInfo>> topicInfo = getTopicInfo();
        Set<String> topics = topicInfo != null ? topicInfo.keySet() : null;
        return topics != null ? Collections.unmodifiableSet(topics) : Collections.EMPTY_SET;
    }
696653
public List list(Class clazz, String key, Object value)
    {
        EntityManager entityManager = null;
        try {
            entityManager = entityManagers.poll();

            Query query = entityManager.createQuery("SELECT c FROM " + clazz.getCanonicalName() + " c where c." + key + " = :param");
            query.setParameter("param", value);
            return query.getResultList();

        } catch (Exception e) {
            e.printStackTrace();
        }
        finally {
            if(entityManager != null)
                entityManagers.add(entityManager);
        }

        return null;
    }
1333388
public V get(String key)
    {
        int index = exactMatchSearch(key);
        if (index >= 0)
        {
            return v[index];
        }

        return null;
    }