|
||||||||||
| PREV CLASS NEXT CLASS | All Classes | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.teraspaces.qwfix.FIXMultipleValueString
public final class FIXMultipleValueString
The helper class of the MultipleValueString and MultipleCharValue (FIX 5.0+) data type in the FIX protocol. This implementation optimizes the handling of MultipleValueString.
Never directly create the instance of this data type. Use FIXMessageComponent.createMultipleValueString(int)
or FIXMessageComponent.createMultipleValueString(int, String) instead.
| Method Summary | |
|---|---|
void |
add(char value)
Adds a new token to the current multiple value string. |
void |
add(String value)
Adds a new token to the current multiple value string. |
void |
clear()
Removes all tokens in the FIXMultipleValueString. |
boolean |
contains(char value)
Determines whether a token is in the FIXMultipleValueString. |
boolean |
contains(String value)
Determines whether a token is in the FIXMultipleValueString. |
boolean |
isEmpty()
Checks if current string is empty. |
int |
length()
Gets the string length of current MultipleValueString |
void |
remove(String value)
Removes the specified token from the current string. |
String |
toString()
|
void |
toString(StringBuilder sb)
Returns the string value of the FIXMultipleValueString. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public boolean isEmpty()
public void add(char value)
value - the new tokenpublic void add(String value)
value - the new tokenpublic void remove(String value)
value - the tokenpublic boolean contains(String value)
value - the token
public boolean contains(char value)
value - the token
public void clear()
public String toString()
toString in class Objectpublic void toString(StringBuilder sb)
sb - the StringBuilderpublic int length()
|
||||||||||
| PREV CLASS NEXT CLASS | All Classes | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||