Code example for HashMultimap

Methods: put

        if (cache.containsKey(entityId)) {
            leas = cache.get(entityId);
        cache.put(entityId, leas);
        inverse.put(leaId, entityId);
    public Set<String> ancestorEdorgs(String edorgId) {
        return inverse.get(edorgId);
     * Gets the set of LEAs associated with the entity. 
     * @param entityId 
     * @return The set of leas for the specified entity id 
    public Set<String> getEntriesById(String entityId) {
        if (!cache.containsKey(entityId)) {
Connect your IDE to all the code out there  Get Codota for Java