Code example for LinkedList

Methods: getLast

0
    public String get(String key) {
        LinkedList<String> result = keyTable.get(key);
        if (result == null) {
            return null; 
        } 
        return result.getLast();
    } 
 
    public int length() { 
        return props.size() / 2;
    } 
 
}