edu.wpi.first.wpilibj.networktables2.type
Class ArrayEntryType
java.lang.Object
edu.wpi.first.wpilibj.networktables2.type.NetworkTableEntryType
edu.wpi.first.wpilibj.networktables2.type.ComplexEntryType
edu.wpi.first.wpilibj.networktables2.type.ArrayEntryType
public class ArrayEntryType
- extends ComplexEntryType
- Author:
- Mitchell
ArrayEntryType
public ArrayEntryType(byte id,
NetworkTableEntryType elementType,
Class externalArrayType)
sendValue
public void sendValue(Object value,
DataOutputStream os)
throws IOException
- Description copied from class:
NetworkTableEntryType
- send a value over a data output stream
- Specified by:
sendValue
in class NetworkTableEntryType
- Parameters:
value
- the value to sendos
- the stream to send the value over
- Throws:
IOException
- an error occurred writing the value
readValue
public Object readValue(DataInputStream is)
throws IOException
- Description copied from class:
NetworkTableEntryType
- read a value from a data input stream
- Specified by:
readValue
in class NetworkTableEntryType
- Parameters:
is
- the stream to read a value from
- Returns:
- the value read from the stream
- Throws:
IOException
- an error occurred reading the value
internalizeValue
public Object internalizeValue(String key,
Object externalRepresentation,
Object currentInteralValue)
- Specified by:
internalizeValue
in class ComplexEntryType
exportValue
public void exportValue(String key,
Object internalData,
Object externalRepresentation)
- Specified by:
exportValue
in class ComplexEntryType
Copyright © 2013. All rights reserved.