litesoft
Diff Revisions
801
vs
849
for /trunk/Java/core/Anywhere/src/org/litesoft/core/simpletypes/nonpublic/LL_FloatingPointLong.java
|
@@ -4,14 +4,13 @@ |
4 |
4 |
|
import org.litesoft.core.simpletypes.*; |
5 |
5 |
|
import org.litesoft.core.typeutils.*; |
6 |
6 |
|
|
|
7 |
+ |
@SuppressWarnings("deprecation") |
7 |
8 |
|
public class LL_FloatingPointLong<T extends LL_FloatingPointLong<T>> extends CompareSupport<T> implements SimpleType |
8 |
9 |
|
{ |
9 |
|
- |
protected long mValue; |
10 |
|
- |
protected int mDecimalPlaces; |
|
10 |
+ |
protected /* final */ long mValue; |
|
11 |
+ |
protected /* final */ int mDecimalPlaces; |
11 |
12 |
|
|
12 |
|
- |
/** |
13 |
|
- |
* @deprecated - for Serialization |
14 |
|
- |
*/ |
|
13 |
+ |
@SuppressWarnings({"deprecation", "UnusedDeclaration"}) @Deprecated /** for Serialization */ |
15 |
14 |
|
protected LL_FloatingPointLong() |
16 |
15 |
|
{ |
17 |
16 |
|
} |
|
@@ -36,7 +35,7 @@ |
36 |
35 |
|
public boolean equals( Object o ) |
37 |
36 |
|
{ |
38 |
37 |
|
return (this == o) || // |
39 |
|
- |
((o instanceof LL_FloatingPointLong<?>) && equals( (LL_FloatingPointLong<T>) o )); |
|
38 |
+ |
((o instanceof LL_FloatingPointLong<?>) && equalsNonNull( (LL_FloatingPointLong<T>) o )); |
40 |
39 |
|
} |
41 |
40 |
|
|
42 |
41 |
|
public boolean equals( LL_FloatingPointLong<T> them ) |
|
@@ -114,6 +113,7 @@ |
114 |
113 |
|
return new DecimalToStringParts( mValue, mDecimalPlaces ); |
115 |
114 |
|
} |
116 |
115 |
|
|
|
116 |
+ |
@SuppressWarnings("deprecation") |
117 |
117 |
|
public static <T extends LL_FloatingPointLong<T>> LL_FloatingPointLong<T> LLparse( NumericFormatControl pFormatControl, String pString ) |
118 |
118 |
|
{ |
119 |
119 |
|
int decimalplaces = 0; |