edu.wpi.first.wpilibj.networktables2.util
Class ByteArrayMap
java.lang.Object
   edu.wpi.first.wpilibj.networktables2.util.ResizeableArrayObject
edu.wpi.first.wpilibj.networktables2.util.ResizeableArrayObject
       edu.wpi.first.wpilibj.networktables2.util.ByteArrayMap
edu.wpi.first.wpilibj.networktables2.util.ByteArrayMap
- public class ByteArrayMap 
- extends ResizeableArrayObject
An unsynchronized map which maps bytes to objects. This map is backed by a array and will only perform well the values are consecutive starting at 0
- Author:
- Mitchell
 
 
 
| Method Summary | 
|  void | clear()clear all values
 | 
|  Object | get(byte key)
 | 
|  void | put(byte key,
    Object value)Put a value with the given key
 | 
|  void | remove(char key)Remove the value for the given key
 | 
 
 
 
ByteArrayMap
public ByteArrayMap()
put
public void put(byte key,
                Object value)
- Put a value with the given key
 
- 
- Parameters:
- key-
- value-
 
get
public Object get(byte key)
- 
- Parameters:
- key-
- Returns:
- the value associated with the given key or null if there is no value
 
clear
public void clear()
- clear all values
 
- 
 
remove
public void remove(char key)
- Remove the value for the given key
 
- 
- Parameters:
- key-
 
"For updated information see the Java FRC site"