@@ -0,0 +1,1771 @@
+package com.lasarobotics.ftc;%0A%0Aimport java.util.Hashtable;%0A%0A/**%0A * Implements a variable LUT.%0A */%0Apublic class LookupTable%3CT%3E %7B%0A    private Hashtable%3CString,T%3E table;%0A%0A    /**%0A     * Instantiate a lookup table for variables.%0A     */%0A    public LookupTable()%0A    %7B%0A        table = new Hashtable%3CString, T%3E();%0A    %7D%0A%0A    /**%0A     * Create a clone from another Hashtable.%0A     * @param other Another Hashtable.%0A     */%0A    public LookupTable(Hashtable%3CString, T%3E other)%0A    %7B%0A        table = other;%0A    %7D%0A%0A    /**%0A     * Create a clone based on another LookupTable.%0A     * @param other Another LookupTable of the same type.%0A     */%0A    public LookupTable(LookupTable%3CT%3E other)%0A    %7B%0A        table = other.getTable();%0A    %7D%0A%0A    /**%0A     * Set the value of an item in the table, or create if new.%0A     * @param id The ID of the item in the LUT.%0A     * @param value The value to set the id to.%0A     */%0A    public void setValue(String id, T value)%0A    %7B%0A        table.put(id, value);%0A    %7D%0A%0A    /**%0A     * Get the value of an id in the LUT.%0A     * @param id The ID of the item to retrieve.%0A     * @return The value of the item at the id.%0A     */%0A    public T getValue(String id)%0A    %7B%0A        return table.get(id);%0A    %7D%0A%0A    /**%0A     * Remove a value from the table at a specific ID.%0A     * @param id The ID of an item in the table.%0A     */%0A    public void deleteValue(String id)%0A    %7B%0A        table.remove(id);%0A    %7D%0A%0A    /**%0A     * The count of items in the table.%0A     * @return The count of items in the table.%0A     */%0A    public int count()%0A    %7B%0A        return table.size();%0A    %7D%0A%0A    /**%0A     * Gets the underlying Hashtable instance.%0A     * @return The underlying Hashtable.%0A     */%0A    protected Hashtable%3CString, T%3E getTable()%0A    %7B%0A        return table;%0A    %7D%0A%0A%0A%7D%0A

Add LUT