An empty String is still a String. I'd think that null could be closer to nothing.
So the method is returning an empty String or null.
You've posted a lot of code.
Let me restate the problem:...
Type: Posts; User: Norm
An empty String is still a String. I'd think that null could be closer to nothing.
So the method is returning an empty String or null.
You've posted a lot of code.
Let me restate the problem:...
Its hard to imagine what you are doing without seeing the code.
Can you show the code for the "it" that either returns nothing or a null value
What is a "nothing"?
What is the "it"? The method you posted is void.
1) define a variable to save the value in the class object
2) in set() save the value
3) in get() return the value
Are you a programmer? Funny question. I assume that the variables are program variables and not the contents of a file or DB.
Writing into a file does not change any of a class's variables.
The...
Yes. In the object that has the set and get methods, the set method saves the value in a variable.
The get method returns what's in that variable.
Change your class to have variables for all the...
Where is the code for this?
His is related to: getUIntElement(
Where is the code for the class that nodeQueryMsg refers to?
How does it save the values that are set?
What is the life span of that object? Is a new one created before the calls to the get...