Package edu.wpi.grip.core.sources
Enum NetworkTableEntrySource.Types
- java.lang.Object
-
- java.lang.Enum<NetworkTableEntrySource.Types>
-
- edu.wpi.grip.core.sources.NetworkTableEntrySource.Types
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<NetworkTableEntrySource.Types>
- Enclosing class:
- NetworkTableEntrySource
public static enum NetworkTableEntrySource.Types extends java.lang.Enum<NetworkTableEntrySource.Types>
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract SocketHint
createSocketHint()
java.lang.String
toProperty()
java.lang.String
toString()
static NetworkTableEntrySource.Types
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static NetworkTableEntrySource.Types[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BOOLEAN
public static final NetworkTableEntrySource.Types BOOLEAN
-
NUMBER
public static final NetworkTableEntrySource.Types NUMBER
-
STRING
public static final NetworkTableEntrySource.Types STRING
-
-
Method Detail
-
values
public static NetworkTableEntrySource.Types[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (NetworkTableEntrySource.Types c : NetworkTableEntrySource.Types.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NetworkTableEntrySource.Types valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
createSocketHint
protected abstract SocketHint createSocketHint()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<NetworkTableEntrySource.Types>
-
toProperty
public java.lang.String toProperty()
-
-