edu.wpi.first.wpilibj.Sendable的实例源码

项目:snobot-2017    文件SmartDashboard.java   
/**
 * Returns the value at the specified key.
 *
 * @param key the key
 * @return the value
 * @throws NetworkTableKeyNotDefined if there is no value mapped to by the key
 * @throws IllegalArgumentException  if the key is null
 */
public static Sendable getData(String key) {
  ITable subtable = table.getSubTable(key);
  Object data = tablesToData.get(subtable);
  if (data == null) {
    throw new IllegalArgumentException("SmartDashboard data does not exist: " + key);
  } else {
    return (Sendable) data;
  }
}
项目:2017SteamBot2    文件CustomDashboard.java   
public static void putData(String name,Sendable value) {
    SmartDashboard.putData(name,value);
}
项目:2017SteamBot2    文件CustomDashboard.java   
public static Sendable getData(String name) {
    return SmartDashboard.getData(name);
}
项目:snobot-2017    文件SmartDashboard.java   
/**
 * 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.
 *
 * @param key  the key
 * @param data the value
 * @throws IllegalArgumentException If key is null
 */
public static void putData(String key,Sendable data) {
  ITable dataTable = table.getSubTable(key);
  dataTable.putString("~TYPE~",data.getSmartDashboardType());
  data.initTable(dataTable);
  tablesToData.put(data,key);
}
项目:wpilibj    文件SmartDashboard.java   
/**
 * 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.
 * @param key the key
 * @param data the value
 * @throws IllegalArgumentException if key is null
 */
public static void putData(String key,Sendable data) {
    ITable dataTable = table.getSubTable(key);
    dataTable.putString("~TYPE~",data.getSmartDashboardType());
    data.initTable(dataTable);
    tablesToData.put(data,key);
}
项目:2013_drivebase_proto    文件SmartDashboard.java   
/**
 * 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.
 * @param key the key
 * @param data the value
 * @throws IllegalArgumentException if key is null
 */
public static void putData(String key,key);
}
项目:2014_software    文件SmartDashboard.java   
/**
 * 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.
 * @param key the key
 * @param data the value
 * @throws IllegalArgumentException if key is null
 */
public static void putData(String key,key);
}
项目:wpilib-java    文件SmartDashboard.java   
/**
 * 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.
 * @param key the key
 * @param data the value
 * @throws IllegalArgumentException if key is null
 */
public static void putData(String key,key);
}
项目:2013_robot_software    文件SmartDashboard.java   
/**
 * 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.
 * @param key the key
 * @param data the value
 * @throws IllegalArgumentException if key is null
 */
public static void putData(String key,key);
}

相关文章

买水果
比较全面的redis工具类
gson 反序列化到多态子类
java 版本的 mb_strwidth
JAVA 反转字符串的最快方法,大概比StringBuffer.reverse()性...
com.google.gson.internal.bind.ArrayTypeAdapter的实例源码...