wh1ter0se/PowerUp-2018

View on GitHub
wpilib18/java/current/javadoc/edu/wpi/first/wpilibj/smartdashboard/SmartDashboard.html

Summary

Maintainability
Test Coverage
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_144) on Sat Oct 28 05:22:54 EDT 2017 -->
<title>SmartDashboard (Documentation - Release API)</title>
<meta name="date" content="2017-10-28">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
    try {
        if (location.href.indexOf('is-external=true') == -1) {
            parent.document.title="SmartDashboard (Documentation - Release API)";
        }
    }
    catch(err) {
    }
//-->
var methods = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":9,"i12":9,"i13":9,"i14":9,"i15":9,"i16":9,"i17":9,"i18":9,"i19":9,"i20":9,"i21":9,"i22":9,"i23":9,"i24":9,"i25":9,"i26":9,"i27":9,"i28":9,"i29":9,"i30":9,"i31":9,"i32":9,"i33":9,"i34":9,"i35":9,"i36":9,"i37":9,"i38":9,"i39":9,"i40":9,"i41":9};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!--   -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../edu/wpi/first/wpilibj/smartdashboard/SendableChooser.html" title="class in edu.wpi.first.wpilibj.smartdashboard"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li>Next&nbsp;Class</li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?edu/wpi/first/wpilibj/smartdashboard/SmartDashboard.html" target="_top">Frames</a></li>
<li><a href="SmartDashboard.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_top");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!--   -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">edu.wpi.first.wpilibj.smartdashboard</div>
<h2 title="Class SmartDashboard" class="title">Class SmartDashboard</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>edu.wpi.first.wpilibj.smartdashboard.SmartDashboard</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="typeNameLabel">SmartDashboard</span>
extends java.lang.Object</pre>
<div class="block">The <a href="../../../../../edu/wpi/first/wpilibj/smartdashboard/SmartDashboard.html" title="class in edu.wpi.first.wpilibj.smartdashboard"><code>SmartDashboard</code></a> class is the bridge between robot programs and the SmartDashboard on
 the laptop.

 <p>When a value is put into the SmartDashboard here, it pops up on the SmartDashboard on the
 laptop. Users can put values into and get values from the SmartDashboard.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!--   -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../edu/wpi/first/wpilibj/smartdashboard/SmartDashboard.html#SmartDashboard--">SmartDashboard</a></span>()</code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!--   -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../edu/wpi/first/wpilibj/smartdashboard/SmartDashboard.html#clearFlags-java.lang.String-int-">clearFlags</a></span>(java.lang.String&nbsp;key,
          int&nbsp;flags)</code>
<div class="block">Clears flags on the specified key in this table.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../edu/wpi/first/wpilibj/smartdashboard/SmartDashboard.html#clearPersistent-java.lang.String-">clearPersistent</a></span>(java.lang.String&nbsp;key)</code>
<div class="block">Stop making a key's value persistent through program restarts.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../edu/wpi/first/wpilibj/smartdashboard/SmartDashboard.html#containsKey-java.lang.String-">containsKey</a></span>(java.lang.String&nbsp;key)</code>
<div class="block">Checks the table and tells if it contains the specified key.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../edu/wpi/first/wpilibj/smartdashboard/SmartDashboard.html#delete-java.lang.String-">delete</a></span>(java.lang.String&nbsp;key)</code>
<div class="block">Deletes the specified key in this table.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../edu/wpi/first/wpilibj/smartdashboard/SmartDashboard.html#getBoolean-java.lang.String-boolean-">getBoolean</a></span>(java.lang.String&nbsp;key,
          boolean&nbsp;defaultValue)</code>
<div class="block">Returns the boolean the key maps to.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>static boolean[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../edu/wpi/first/wpilibj/smartdashboard/SmartDashboard.html#getBooleanArray-java.lang.String-boolean:A-">getBooleanArray</a></span>(java.lang.String&nbsp;key,
               boolean[]&nbsp;defaultValue)</code>
<div class="block">Returns the boolean array the key maps to.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>static java.lang.Boolean[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../edu/wpi/first/wpilibj/smartdashboard/SmartDashboard.html#getBooleanArray-java.lang.String-java.lang.Boolean:A-">getBooleanArray</a></span>(java.lang.String&nbsp;key,
               java.lang.Boolean[]&nbsp;defaultValue)</code>
<div class="block">Returns the boolean array the key maps to.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>static <a href="../../../../../edu/wpi/first/wpilibj/Sendable.html" title="interface in edu.wpi.first.wpilibj">Sendable</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../edu/wpi/first/wpilibj/smartdashboard/SmartDashboard.html#getData-java.lang.String-">getData</a></span>(java.lang.String&nbsp;key)</code>
<div class="block">Returns the value at the specified key.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>static <a href="../../../../../edu/wpi/first/networktables/NetworkTableEntry.html" title="class in edu.wpi.first.networktables">NetworkTableEntry</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../edu/wpi/first/wpilibj/smartdashboard/SmartDashboard.html#getEntry-java.lang.String-">getEntry</a></span>(java.lang.String&nbsp;key)</code>
<div class="block">Gets the entry for the specified key.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../edu/wpi/first/wpilibj/smartdashboard/SmartDashboard.html#getFlags-java.lang.String-">getFlags</a></span>(java.lang.String&nbsp;key)</code>
<div class="block">Returns the flags for the specified key.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>static java.util.Set&lt;java.lang.String&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../edu/wpi/first/wpilibj/smartdashboard/SmartDashboard.html#getKeys--">getKeys</a></span>()</code>
<div class="block">Get the keys stored in the SmartDashboard table of NetworkTables.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>static java.util.Set&lt;java.lang.String&gt;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../edu/wpi/first/wpilibj/smartdashboard/SmartDashboard.html#getKeys-int-">getKeys</a></span>(int&nbsp;types)</code>
<div class="block">Get the keys stored in the SmartDashboard table of NetworkTables.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>static double</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../edu/wpi/first/wpilibj/smartdashboard/SmartDashboard.html#getNumber-java.lang.String-double-">getNumber</a></span>(java.lang.String&nbsp;key,
         double&nbsp;defaultValue)</code>
<div class="block">Returns the number the key maps to.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>static double[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../edu/wpi/first/wpilibj/smartdashboard/SmartDashboard.html#getNumberArray-java.lang.String-double:A-">getNumberArray</a></span>(java.lang.String&nbsp;key,
              double[]&nbsp;defaultValue)</code>
<div class="block">Returns the number array the key maps to.</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>static java.lang.Double[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../edu/wpi/first/wpilibj/smartdashboard/SmartDashboard.html#getNumberArray-java.lang.String-java.lang.Double:A-">getNumberArray</a></span>(java.lang.String&nbsp;key,
              java.lang.Double[]&nbsp;defaultValue)</code>
<div class="block">Returns the number array the key maps to.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>static byte[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../edu/wpi/first/wpilibj/smartdashboard/SmartDashboard.html#getRaw-java.lang.String-byte:A-">getRaw</a></span>(java.lang.String&nbsp;key,
      byte[]&nbsp;defaultValue)</code>
<div class="block">Returns the raw value (byte array) the key maps to.</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>static java.lang.String</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../edu/wpi/first/wpilibj/smartdashboard/SmartDashboard.html#getString-java.lang.String-java.lang.String-">getString</a></span>(java.lang.String&nbsp;key,
         java.lang.String&nbsp;defaultValue)</code>
<div class="block">Returns the string the key maps to.</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>static java.lang.String[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../edu/wpi/first/wpilibj/smartdashboard/SmartDashboard.html#getStringArray-java.lang.String-java.lang.String:A-">getStringArray</a></span>(java.lang.String&nbsp;key,
              java.lang.String[]&nbsp;defaultValue)</code>
<div class="block">Returns the string array the key maps to.</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../edu/wpi/first/wpilibj/smartdashboard/SmartDashboard.html#isPersistent-java.lang.String-">isPersistent</a></span>(java.lang.String&nbsp;key)</code>
<div class="block">Returns whether the value is persistent through program restarts.</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../edu/wpi/first/wpilibj/smartdashboard/SmartDashboard.html#putBoolean-java.lang.String-boolean-">putBoolean</a></span>(java.lang.String&nbsp;key,
          boolean&nbsp;value)</code>
<div class="block">Put a boolean in the table.</div>
</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../edu/wpi/first/wpilibj/smartdashboard/SmartDashboard.html#putBooleanArray-java.lang.String-boolean:A-">putBooleanArray</a></span>(java.lang.String&nbsp;key,
               boolean[]&nbsp;value)</code>
<div class="block">Put a boolean array in the table.</div>
</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../edu/wpi/first/wpilibj/smartdashboard/SmartDashboard.html#putBooleanArray-java.lang.String-java.lang.Boolean:A-">putBooleanArray</a></span>(java.lang.String&nbsp;key,
               java.lang.Boolean[]&nbsp;value)</code>
<div class="block">Put a boolean array in the table.</div>
</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../edu/wpi/first/wpilibj/smartdashboard/SmartDashboard.html#putData-edu.wpi.first.wpilibj.NamedSendable-">putData</a></span>(<a href="../../../../../edu/wpi/first/wpilibj/NamedSendable.html" title="interface in edu.wpi.first.wpilibj">NamedSendable</a>&nbsp;value)</code>
<div class="block">Maps the specified key (where the key is the name of the <a href="../../../../../edu/wpi/first/wpilibj/NamedSendable.html" title="interface in edu.wpi.first.wpilibj"><code>NamedSendable</code></a>
 SmartDashboardNamedData to the specified value in this table.</div>
</td>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../edu/wpi/first/wpilibj/smartdashboard/SmartDashboard.html#putData-java.lang.String-edu.wpi.first.wpilibj.Sendable-">putData</a></span>(java.lang.String&nbsp;key,
       <a href="../../../../../edu/wpi/first/wpilibj/Sendable.html" title="interface in edu.wpi.first.wpilibj">Sendable</a>&nbsp;data)</code>
<div class="block">Maps the specified key to the specified value in this table.</div>
</td>
</tr>
<tr id="i24" class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../edu/wpi/first/wpilibj/smartdashboard/SmartDashboard.html#putNumber-java.lang.String-double-">putNumber</a></span>(java.lang.String&nbsp;key,
         double&nbsp;value)</code>
<div class="block">Put a number in the table.</div>
</td>
</tr>
<tr id="i25" class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../edu/wpi/first/wpilibj/smartdashboard/SmartDashboard.html#putNumberArray-java.lang.String-double:A-">putNumberArray</a></span>(java.lang.String&nbsp;key,
              double[]&nbsp;value)</code>
<div class="block">Put a number array in the table.</div>
</td>
</tr>
<tr id="i26" class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../edu/wpi/first/wpilibj/smartdashboard/SmartDashboard.html#putNumberArray-java.lang.String-java.lang.Double:A-">putNumberArray</a></span>(java.lang.String&nbsp;key,
              java.lang.Double[]&nbsp;value)</code>
<div class="block">Put a number array in the table.</div>
</td>
</tr>
<tr id="i27" class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../edu/wpi/first/wpilibj/smartdashboard/SmartDashboard.html#putRaw-java.lang.String-byte:A-">putRaw</a></span>(java.lang.String&nbsp;key,
      byte[]&nbsp;value)</code>
<div class="block">Put a raw value (byte array) in the table.</div>
</td>
</tr>
<tr id="i28" class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../edu/wpi/first/wpilibj/smartdashboard/SmartDashboard.html#putRaw-java.lang.String-java.nio.ByteBuffer-int-">putRaw</a></span>(java.lang.String&nbsp;key,
      java.nio.ByteBuffer&nbsp;value,
      int&nbsp;len)</code>
<div class="block">Put a raw value (bytes from a byte buffer) in the table.</div>
</td>
</tr>
<tr id="i29" class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../edu/wpi/first/wpilibj/smartdashboard/SmartDashboard.html#putString-java.lang.String-java.lang.String-">putString</a></span>(java.lang.String&nbsp;key,
         java.lang.String&nbsp;value)</code>
<div class="block">Put a string in the table.</div>
</td>
</tr>
<tr id="i30" class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../edu/wpi/first/wpilibj/smartdashboard/SmartDashboard.html#putStringArray-java.lang.String-java.lang.String:A-">putStringArray</a></span>(java.lang.String&nbsp;key,
              java.lang.String[]&nbsp;value)</code>
<div class="block">Put a string array in the table.</div>
</td>
</tr>
<tr id="i31" class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../edu/wpi/first/wpilibj/smartdashboard/SmartDashboard.html#setDefaultBoolean-java.lang.String-boolean-">setDefaultBoolean</a></span>(java.lang.String&nbsp;key,
                 boolean&nbsp;defaultValue)</code>
<div class="block">Gets the current value in the table, setting it if it does not exist.</div>
</td>
</tr>
<tr id="i32" class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../edu/wpi/first/wpilibj/smartdashboard/SmartDashboard.html#setDefaultBooleanArray-java.lang.String-boolean:A-">setDefaultBooleanArray</a></span>(java.lang.String&nbsp;key,
                      boolean[]&nbsp;defaultValue)</code>
<div class="block">Gets the current value in the table, setting it if it does not exist.</div>
</td>
</tr>
<tr id="i33" class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../edu/wpi/first/wpilibj/smartdashboard/SmartDashboard.html#setDefaultBooleanArray-java.lang.String-java.lang.Boolean:A-">setDefaultBooleanArray</a></span>(java.lang.String&nbsp;key,
                      java.lang.Boolean[]&nbsp;defaultValue)</code>
<div class="block">Gets the current value in the table, setting it if it does not exist.</div>
</td>
</tr>
<tr id="i34" class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../edu/wpi/first/wpilibj/smartdashboard/SmartDashboard.html#setDefaultNumber-java.lang.String-double-">setDefaultNumber</a></span>(java.lang.String&nbsp;key,
                double&nbsp;defaultValue)</code>
<div class="block">Gets the current value in the table, setting it if it does not exist.</div>
</td>
</tr>
<tr id="i35" class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../edu/wpi/first/wpilibj/smartdashboard/SmartDashboard.html#setDefaultNumberArray-java.lang.String-double:A-">setDefaultNumberArray</a></span>(java.lang.String&nbsp;key,
                     double[]&nbsp;defaultValue)</code>
<div class="block">Gets the current value in the table, setting it if it does not exist.</div>
</td>
</tr>
<tr id="i36" class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../edu/wpi/first/wpilibj/smartdashboard/SmartDashboard.html#setDefaultNumberArray-java.lang.String-java.lang.Double:A-">setDefaultNumberArray</a></span>(java.lang.String&nbsp;key,
                     java.lang.Double[]&nbsp;defaultValue)</code>
<div class="block">Gets the current value in the table, setting it if it does not exist.</div>
</td>
</tr>
<tr id="i37" class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../edu/wpi/first/wpilibj/smartdashboard/SmartDashboard.html#setDefaultRaw-java.lang.String-byte:A-">setDefaultRaw</a></span>(java.lang.String&nbsp;key,
             byte[]&nbsp;defaultValue)</code>
<div class="block">Gets the current value in the table, setting it if it does not exist.</div>
</td>
</tr>
<tr id="i38" class="altColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../edu/wpi/first/wpilibj/smartdashboard/SmartDashboard.html#setDefaultString-java.lang.String-java.lang.String-">setDefaultString</a></span>(java.lang.String&nbsp;key,
                java.lang.String&nbsp;defaultValue)</code>
<div class="block">Gets the current value in the table, setting it if it does not exist.</div>
</td>
</tr>
<tr id="i39" class="rowColor">
<td class="colFirst"><code>static boolean</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../edu/wpi/first/wpilibj/smartdashboard/SmartDashboard.html#setDefaultStringArray-java.lang.String-java.lang.String:A-">setDefaultStringArray</a></span>(java.lang.String&nbsp;key,
                     java.lang.String[]&nbsp;defaultValue)</code>
<div class="block">Gets the current value in the table, setting it if it does not exist.</div>
</td>
</tr>
<tr id="i40" class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../edu/wpi/first/wpilibj/smartdashboard/SmartDashboard.html#setFlags-java.lang.String-int-">setFlags</a></span>(java.lang.String&nbsp;key,
        int&nbsp;flags)</code>
<div class="block">Sets flags on the specified key in this table.</div>
</td>
</tr>
<tr id="i41" class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../edu/wpi/first/wpilibj/smartdashboard/SmartDashboard.html#setPersistent-java.lang.String-">setPersistent</a></span>(java.lang.String&nbsp;key)</code>
<div class="block">Makes a key's value persistent through program restarts.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!--   -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!--   -->
</a>
<h3>Constructor Detail</h3>
<a name="SmartDashboard--">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>SmartDashboard</h4>
<pre>public&nbsp;SmartDashboard()</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!--   -->
</a>
<h3>Method Detail</h3>
<a name="putData-java.lang.String-edu.wpi.first.wpilibj.Sendable-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putData</h4>
<pre>public static&nbsp;void&nbsp;putData(java.lang.String&nbsp;key,
                           <a href="../../../../../edu/wpi/first/wpilibj/Sendable.html" title="interface in edu.wpi.first.wpilibj">Sendable</a>&nbsp;data)</pre>
<div class="block">Maps the specified key to the specified value in this table. The key can not be null. The value
 can be retrieved by calling the get method with a key that is equal to the original key.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>key</code> - the key</dd>
<dd><code>data</code> - the value</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.IllegalArgumentException</code> - If key is null</dd>
</dl>
</li>
</ul>
<a name="putData-edu.wpi.first.wpilibj.NamedSendable-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putData</h4>
<pre>public static&nbsp;void&nbsp;putData(<a href="../../../../../edu/wpi/first/wpilibj/NamedSendable.html" title="interface in edu.wpi.first.wpilibj">NamedSendable</a>&nbsp;value)</pre>
<div class="block">Maps the specified key (where the key is the name of the <a href="../../../../../edu/wpi/first/wpilibj/NamedSendable.html" title="interface in edu.wpi.first.wpilibj"><code>NamedSendable</code></a>
 SmartDashboardNamedData to the specified value in this table. The value can be retrieved by
 calling the get method with a key that is equal to the original key.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>value</code> - the value</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.IllegalArgumentException</code> - If key is null</dd>
</dl>
</li>
</ul>
<a name="getData-java.lang.String-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getData</h4>
<pre>public static&nbsp;<a href="../../../../../edu/wpi/first/wpilibj/Sendable.html" title="interface in edu.wpi.first.wpilibj">Sendable</a>&nbsp;getData(java.lang.String&nbsp;key)</pre>
<div class="block">Returns the value at the specified key.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>key</code> - the key</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the value</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.lang.IllegalArgumentException</code> - if the key is null</dd>
</dl>
</li>
</ul>
<a name="getEntry-java.lang.String-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getEntry</h4>
<pre>public static&nbsp;<a href="../../../../../edu/wpi/first/networktables/NetworkTableEntry.html" title="class in edu.wpi.first.networktables">NetworkTableEntry</a>&nbsp;getEntry(java.lang.String&nbsp;key)</pre>
<div class="block">Gets the entry for the specified key.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>key</code> - the key name</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Network table entry.</dd>
</dl>
</li>
</ul>
<a name="containsKey-java.lang.String-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>containsKey</h4>
<pre>public static&nbsp;boolean&nbsp;containsKey(java.lang.String&nbsp;key)</pre>
<div class="block">Checks the table and tells if it contains the specified key.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>key</code> - the key to search for</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if the table as a value assigned to the given key</dd>
</dl>
</li>
</ul>
<a name="getKeys-int-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getKeys</h4>
<pre>public static&nbsp;java.util.Set&lt;java.lang.String&gt;&nbsp;getKeys(int&nbsp;types)</pre>
<div class="block">Get the keys stored in the SmartDashboard table of NetworkTables.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>types</code> - bitmask of types; 0 is treated as a "don't care".</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>keys currently in the table</dd>
</dl>
</li>
</ul>
<a name="getKeys--">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getKeys</h4>
<pre>public static&nbsp;java.util.Set&lt;java.lang.String&gt;&nbsp;getKeys()</pre>
<div class="block">Get the keys stored in the SmartDashboard table of NetworkTables.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>keys currently in the table.</dd>
</dl>
</li>
</ul>
<a name="setPersistent-java.lang.String-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setPersistent</h4>
<pre>public static&nbsp;void&nbsp;setPersistent(java.lang.String&nbsp;key)</pre>
<div class="block">Makes a key's value persistent through program restarts.
 The key cannot be null.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>key</code> - the key name</dd>
</dl>
</li>
</ul>
<a name="clearPersistent-java.lang.String-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>clearPersistent</h4>
<pre>public static&nbsp;void&nbsp;clearPersistent(java.lang.String&nbsp;key)</pre>
<div class="block">Stop making a key's value persistent through program restarts.
 The key cannot be null.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>key</code> - the key name</dd>
</dl>
</li>
</ul>
<a name="isPersistent-java.lang.String-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isPersistent</h4>
<pre>public static&nbsp;boolean&nbsp;isPersistent(java.lang.String&nbsp;key)</pre>
<div class="block">Returns whether the value is persistent through program restarts.
 The key cannot be null.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>key</code> - the key name</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>True if the value is persistent.</dd>
</dl>
</li>
</ul>
<a name="setFlags-java.lang.String-int-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setFlags</h4>
<pre>public static&nbsp;void&nbsp;setFlags(java.lang.String&nbsp;key,
                            int&nbsp;flags)</pre>
<div class="block">Sets flags on the specified key in this table. The key can
 not be null.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>key</code> - the key name</dd>
<dd><code>flags</code> - the flags to set (bitmask)</dd>
</dl>
</li>
</ul>
<a name="clearFlags-java.lang.String-int-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>clearFlags</h4>
<pre>public static&nbsp;void&nbsp;clearFlags(java.lang.String&nbsp;key,
                              int&nbsp;flags)</pre>
<div class="block">Clears flags on the specified key in this table. The key can
 not be null.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>key</code> - the key name</dd>
<dd><code>flags</code> - the flags to clear (bitmask)</dd>
</dl>
</li>
</ul>
<a name="getFlags-java.lang.String-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFlags</h4>
<pre>public static&nbsp;int&nbsp;getFlags(java.lang.String&nbsp;key)</pre>
<div class="block">Returns the flags for the specified key.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>key</code> - the key name</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the flags, or 0 if the key is not defined</dd>
</dl>
</li>
</ul>
<a name="delete-java.lang.String-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>delete</h4>
<pre>public static&nbsp;void&nbsp;delete(java.lang.String&nbsp;key)</pre>
<div class="block">Deletes the specified key in this table. The key can
 not be null.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>key</code> - the key name</dd>
</dl>
</li>
</ul>
<a name="putBoolean-java.lang.String-boolean-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putBoolean</h4>
<pre>public static&nbsp;boolean&nbsp;putBoolean(java.lang.String&nbsp;key,
                                 boolean&nbsp;value)</pre>
<div class="block">Put a boolean in the table.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>key</code> - the key to be assigned to</dd>
<dd><code>value</code> - the value that will be assigned</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>False if the table key already exists with a different type</dd>
</dl>
</li>
</ul>
<a name="setDefaultBoolean-java.lang.String-boolean-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setDefaultBoolean</h4>
<pre>public static&nbsp;boolean&nbsp;setDefaultBoolean(java.lang.String&nbsp;key,
                                        boolean&nbsp;defaultValue)</pre>
<div class="block">Gets the current value in the table, setting it if it does not exist.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>key</code> - the key</dd>
<dd><code>defaultValue</code> - the default value to set if key does not exist.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>False if the table key exists with a different type</dd>
</dl>
</li>
</ul>
<a name="getBoolean-java.lang.String-boolean-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBoolean</h4>
<pre>public static&nbsp;boolean&nbsp;getBoolean(java.lang.String&nbsp;key,
                                 boolean&nbsp;defaultValue)</pre>
<div class="block">Returns the boolean the key maps to. If the key does not exist or is of
     different type, it will return the default value.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>key</code> - the key to look up</dd>
<dd><code>defaultValue</code> - the value to be returned if no value is found</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the value associated with the given key or the given default value
     if there is no value associated with the key</dd>
</dl>
</li>
</ul>
<a name="putNumber-java.lang.String-double-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putNumber</h4>
<pre>public static&nbsp;boolean&nbsp;putNumber(java.lang.String&nbsp;key,
                                double&nbsp;value)</pre>
<div class="block">Put a number in the table.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>key</code> - the key to be assigned to</dd>
<dd><code>value</code> - the value that will be assigned</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>False if the table key already exists with a different type</dd>
</dl>
</li>
</ul>
<a name="setDefaultNumber-java.lang.String-double-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setDefaultNumber</h4>
<pre>public static&nbsp;boolean&nbsp;setDefaultNumber(java.lang.String&nbsp;key,
                                       double&nbsp;defaultValue)</pre>
<div class="block">Gets the current value in the table, setting it if it does not exist.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>key</code> - the key</dd>
<dd><code>defaultValue</code> - the default value to set if key does not exist.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>False if the table key exists with a different type</dd>
</dl>
</li>
</ul>
<a name="getNumber-java.lang.String-double-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNumber</h4>
<pre>public static&nbsp;double&nbsp;getNumber(java.lang.String&nbsp;key,
                               double&nbsp;defaultValue)</pre>
<div class="block">Returns the number the key maps to. If the key does not exist or is of
     different type, it will return the default value.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>key</code> - the key to look up</dd>
<dd><code>defaultValue</code> - the value to be returned if no value is found</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the value associated with the given key or the given default value
     if there is no value associated with the key</dd>
</dl>
</li>
</ul>
<a name="putString-java.lang.String-java.lang.String-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putString</h4>
<pre>public static&nbsp;boolean&nbsp;putString(java.lang.String&nbsp;key,
                                java.lang.String&nbsp;value)</pre>
<div class="block">Put a string in the table.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>key</code> - the key to be assigned to</dd>
<dd><code>value</code> - the value that will be assigned</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>False if the table key already exists with a different type</dd>
</dl>
</li>
</ul>
<a name="setDefaultString-java.lang.String-java.lang.String-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setDefaultString</h4>
<pre>public static&nbsp;boolean&nbsp;setDefaultString(java.lang.String&nbsp;key,
                                       java.lang.String&nbsp;defaultValue)</pre>
<div class="block">Gets the current value in the table, setting it if it does not exist.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>key</code> - the key</dd>
<dd><code>defaultValue</code> - the default value to set if key does not exist.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>False if the table key exists with a different type</dd>
</dl>
</li>
</ul>
<a name="getString-java.lang.String-java.lang.String-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getString</h4>
<pre>public static&nbsp;java.lang.String&nbsp;getString(java.lang.String&nbsp;key,
                                         java.lang.String&nbsp;defaultValue)</pre>
<div class="block">Returns the string the key maps to. If the key does not exist or is of
     different type, it will return the default value.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>key</code> - the key to look up</dd>
<dd><code>defaultValue</code> - the value to be returned if no value is found</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the value associated with the given key or the given default value
     if there is no value associated with the key</dd>
</dl>
</li>
</ul>
<a name="putBooleanArray-java.lang.String-boolean:A-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putBooleanArray</h4>
<pre>public static&nbsp;boolean&nbsp;putBooleanArray(java.lang.String&nbsp;key,
                                      boolean[]&nbsp;value)</pre>
<div class="block">Put a boolean array in the table.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>key</code> - the key to be assigned to</dd>
<dd><code>value</code> - the value that will be assigned</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>False if the table key already exists with a different type</dd>
</dl>
</li>
</ul>
<a name="putBooleanArray-java.lang.String-java.lang.Boolean:A-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putBooleanArray</h4>
<pre>public static&nbsp;boolean&nbsp;putBooleanArray(java.lang.String&nbsp;key,
                                      java.lang.Boolean[]&nbsp;value)</pre>
<div class="block">Put a boolean array in the table.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>key</code> - the key to be assigned to</dd>
<dd><code>value</code> - the value that will be assigned</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>False if the table key already exists with a different type</dd>
</dl>
</li>
</ul>
<a name="setDefaultBooleanArray-java.lang.String-boolean:A-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setDefaultBooleanArray</h4>
<pre>public static&nbsp;boolean&nbsp;setDefaultBooleanArray(java.lang.String&nbsp;key,
                                             boolean[]&nbsp;defaultValue)</pre>
<div class="block">Gets the current value in the table, setting it if it does not exist.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>key</code> - the key</dd>
<dd><code>defaultValue</code> - the default value to set if key does not exist.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>False if the table key exists with a different type</dd>
</dl>
</li>
</ul>
<a name="setDefaultBooleanArray-java.lang.String-java.lang.Boolean:A-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setDefaultBooleanArray</h4>
<pre>public static&nbsp;boolean&nbsp;setDefaultBooleanArray(java.lang.String&nbsp;key,
                                             java.lang.Boolean[]&nbsp;defaultValue)</pre>
<div class="block">Gets the current value in the table, setting it if it does not exist.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>key</code> - the key</dd>
<dd><code>defaultValue</code> - the default value to set if key does not exist.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>False if the table key exists with a different type</dd>
</dl>
</li>
</ul>
<a name="getBooleanArray-java.lang.String-boolean:A-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBooleanArray</h4>
<pre>public static&nbsp;boolean[]&nbsp;getBooleanArray(java.lang.String&nbsp;key,
                                        boolean[]&nbsp;defaultValue)</pre>
<div class="block">Returns the boolean array the key maps to. If the key does not exist or is
     of different type, it will return the default value.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>key</code> - the key to look up</dd>
<dd><code>defaultValue</code> - the value to be returned if no value is found</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the value associated with the given key or the given default value
     if there is no value associated with the key</dd>
</dl>
</li>
</ul>
<a name="getBooleanArray-java.lang.String-java.lang.Boolean:A-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBooleanArray</h4>
<pre>public static&nbsp;java.lang.Boolean[]&nbsp;getBooleanArray(java.lang.String&nbsp;key,
                                                  java.lang.Boolean[]&nbsp;defaultValue)</pre>
<div class="block">Returns the boolean array the key maps to. If the key does not exist or is
     of different type, it will return the default value.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>key</code> - the key to look up</dd>
<dd><code>defaultValue</code> - the value to be returned if no value is found</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the value associated with the given key or the given default value
     if there is no value associated with the key</dd>
</dl>
</li>
</ul>
<a name="putNumberArray-java.lang.String-double:A-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putNumberArray</h4>
<pre>public static&nbsp;boolean&nbsp;putNumberArray(java.lang.String&nbsp;key,
                                     double[]&nbsp;value)</pre>
<div class="block">Put a number array in the table.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>key</code> - the key to be assigned to</dd>
<dd><code>value</code> - the value that will be assigned</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>False if the table key already exists with a different type</dd>
</dl>
</li>
</ul>
<a name="putNumberArray-java.lang.String-java.lang.Double:A-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putNumberArray</h4>
<pre>public static&nbsp;boolean&nbsp;putNumberArray(java.lang.String&nbsp;key,
                                     java.lang.Double[]&nbsp;value)</pre>
<div class="block">Put a number array in the table.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>key</code> - the key to be assigned to</dd>
<dd><code>value</code> - the value that will be assigned</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>False if the table key already exists with a different type</dd>
</dl>
</li>
</ul>
<a name="setDefaultNumberArray-java.lang.String-double:A-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setDefaultNumberArray</h4>
<pre>public static&nbsp;boolean&nbsp;setDefaultNumberArray(java.lang.String&nbsp;key,
                                            double[]&nbsp;defaultValue)</pre>
<div class="block">Gets the current value in the table, setting it if it does not exist.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>key</code> - the key</dd>
<dd><code>defaultValue</code> - the default value to set if key does not exist.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>False if the table key exists with a different type</dd>
</dl>
</li>
</ul>
<a name="setDefaultNumberArray-java.lang.String-java.lang.Double:A-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setDefaultNumberArray</h4>
<pre>public static&nbsp;boolean&nbsp;setDefaultNumberArray(java.lang.String&nbsp;key,
                                            java.lang.Double[]&nbsp;defaultValue)</pre>
<div class="block">Gets the current value in the table, setting it if it does not exist.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>key</code> - the key</dd>
<dd><code>defaultValue</code> - the default value to set if key does not exist.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>False if the table key exists with a different type</dd>
</dl>
</li>
</ul>
<a name="getNumberArray-java.lang.String-double:A-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNumberArray</h4>
<pre>public static&nbsp;double[]&nbsp;getNumberArray(java.lang.String&nbsp;key,
                                      double[]&nbsp;defaultValue)</pre>
<div class="block">Returns the number array the key maps to. If the key does not exist or is
     of different type, it will return the default value.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>key</code> - the key to look up</dd>
<dd><code>defaultValue</code> - the value to be returned if no value is found</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the value associated with the given key or the given default value
     if there is no value associated with the key</dd>
</dl>
</li>
</ul>
<a name="getNumberArray-java.lang.String-java.lang.Double:A-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNumberArray</h4>
<pre>public static&nbsp;java.lang.Double[]&nbsp;getNumberArray(java.lang.String&nbsp;key,
                                                java.lang.Double[]&nbsp;defaultValue)</pre>
<div class="block">Returns the number array the key maps to. If the key does not exist or is
     of different type, it will return the default value.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>key</code> - the key to look up</dd>
<dd><code>defaultValue</code> - the value to be returned if no value is found</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the value associated with the given key or the given default value
     if there is no value associated with the key</dd>
</dl>
</li>
</ul>
<a name="putStringArray-java.lang.String-java.lang.String:A-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putStringArray</h4>
<pre>public static&nbsp;boolean&nbsp;putStringArray(java.lang.String&nbsp;key,
                                     java.lang.String[]&nbsp;value)</pre>
<div class="block">Put a string array in the table.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>key</code> - the key to be assigned to</dd>
<dd><code>value</code> - the value that will be assigned</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>False if the table key already exists with a different type</dd>
</dl>
</li>
</ul>
<a name="setDefaultStringArray-java.lang.String-java.lang.String:A-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setDefaultStringArray</h4>
<pre>public static&nbsp;boolean&nbsp;setDefaultStringArray(java.lang.String&nbsp;key,
                                            java.lang.String[]&nbsp;defaultValue)</pre>
<div class="block">Gets the current value in the table, setting it if it does not exist.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>key</code> - the key</dd>
<dd><code>defaultValue</code> - the default value to set if key does not exist.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>False if the table key exists with a different type</dd>
</dl>
</li>
</ul>
<a name="getStringArray-java.lang.String-java.lang.String:A-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getStringArray</h4>
<pre>public static&nbsp;java.lang.String[]&nbsp;getStringArray(java.lang.String&nbsp;key,
                                                java.lang.String[]&nbsp;defaultValue)</pre>
<div class="block">Returns the string array the key maps to. If the key does not exist or is
     of different type, it will return the default value.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>key</code> - the key to look up</dd>
<dd><code>defaultValue</code> - the value to be returned if no value is found</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the value associated with the given key or the given default value
     if there is no value associated with the key</dd>
</dl>
</li>
</ul>
<a name="putRaw-java.lang.String-byte:A-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putRaw</h4>
<pre>public static&nbsp;boolean&nbsp;putRaw(java.lang.String&nbsp;key,
                             byte[]&nbsp;value)</pre>
<div class="block">Put a raw value (byte array) in the table.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>key</code> - the key to be assigned to</dd>
<dd><code>value</code> - the value that will be assigned</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>False if the table key already exists with a different type</dd>
</dl>
</li>
</ul>
<a name="putRaw-java.lang.String-java.nio.ByteBuffer-int-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putRaw</h4>
<pre>public static&nbsp;boolean&nbsp;putRaw(java.lang.String&nbsp;key,
                             java.nio.ByteBuffer&nbsp;value,
                             int&nbsp;len)</pre>
<div class="block">Put a raw value (bytes from a byte buffer) in the table.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>key</code> - the key to be assigned to</dd>
<dd><code>value</code> - the value that will be assigned</dd>
<dd><code>len</code> - the length of the value</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>False if the table key already exists with a different type</dd>
</dl>
</li>
</ul>
<a name="setDefaultRaw-java.lang.String-byte:A-">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setDefaultRaw</h4>
<pre>public static&nbsp;boolean&nbsp;setDefaultRaw(java.lang.String&nbsp;key,
                                    byte[]&nbsp;defaultValue)</pre>
<div class="block">Gets the current value in the table, setting it if it does not exist.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>key</code> - the key</dd>
<dd><code>defaultValue</code> - the default value to set if key does not exist.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>False if the table key exists with a different type</dd>
</dl>
</li>
</ul>
<a name="getRaw-java.lang.String-byte:A-">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getRaw</h4>
<pre>public static&nbsp;byte[]&nbsp;getRaw(java.lang.String&nbsp;key,
                            byte[]&nbsp;defaultValue)</pre>
<div class="block">Returns the raw value (byte array) the key maps to. If the key does not
     exist or is of different type, it will return the default value.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>key</code> - the key to look up</dd>
<dd><code>defaultValue</code> - the value to be returned if no value is found</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the value associated with the given key or the given default value
     if there is no value associated with the key</dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!--   -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../edu/wpi/first/wpilibj/smartdashboard/SendableChooser.html" title="class in edu.wpi.first.wpilibj.smartdashboard"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li>Next&nbsp;Class</li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?edu/wpi/first/wpilibj/smartdashboard/SmartDashboard.html" target="_top">Frames</a></li>
<li><a href="SmartDashboard.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_bottom");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!--   -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>