jakarta.websocket.Decoder.Text Message to Double to decoder
| Modifier and Type | Field and Description |
|---|---|
| public static final DoubleDecoder |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Double | decode(String
string to be decoded. s)Implements jakarta. Decode the given String into an object of type T. |
| public boolean | willDecode(String
the string being tested for decodability. s)Implements jakarta. Answer whether the given String can be decoded into an object of type T. |
| INSTANCE | back to summary |
|---|---|
| public static final DoubleDecoder INSTANCE | |
| DoubleDecoder | back to summary |
|---|---|
| public DoubleDecoder() | |
| decode | back to summary |
|---|---|
| public Double decode(String s) throws DecodeException Implements jakarta. Doc from jakarta. Decode the given String into an object of type T.
| |
| willDecode | back to summary |
|---|---|
| public boolean willDecode(String s) Implements jakarta. Doc from jakarta. Answer whether the given String can be decoded into an object of type T. | |