Package totalcross.util
Class Properties.Str
- java.lang.Object
-
- totalcross.util.Properties.Value
-
- totalcross.util.Properties.Str
-
- Enclosing class:
- Properties
public static class Properties.Str extends Properties.Value
Implements a value of type String
-
-
Field Summary
Fields Modifier and Type Field Description static charTYPEjava.lang.Stringvalue-
Fields inherited from class totalcross.util.Properties.Value
type, typeStr
-
-
Constructor Summary
Constructors Constructor Description Str(java.lang.String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)Compares this object to the specified object.inthashCode()Returns a hash code for this Str.java.lang.StringtoString()
-
-
-
Field Detail
-
TYPE
public static final char TYPE
- See Also:
- Constant Field Values
-
value
public java.lang.String value
-
-
Method Detail
-
toString
public java.lang.String toString()
- Specified by:
toStringin classProperties.Value
-
hashCode
public int hashCode()
Returns a hash code for this Str.- Overrides:
hashCodein classjava.lang.Object- Returns:
- the hash code of the enclosed String value.
- Since:
- TotalCross 1.25
-
equals
public boolean equals(java.lang.Object obj)
Compares this object to the specified object. The result is true if and only if the argument is not null and is a String object, or another Str object, that represents the same sequence of characters as this object.- Overrides:
equalsin classjava.lang.Object- Since:
- TotalCross 1.25
-
-