Parent Directory | Revision Log | Patch
revision 1.1.2.2 by gnu_andrew, Tue Aug 2 20:12:08 2005 UTC | revision 1.1.2.3 by gnu_andrew, Tue Aug 16 16:22:35 2005 UTC | |
---|---|---|
# | Line 109 public class fixedTypeCode | Line 109 public class fixedTypeCode |
109 | return number.unscaledValue().abs().toString().length(); | return number.unscaledValue().abs().toString().length(); |
110 | } | } |
111 | ||
112 | public boolean equals(Object other) | /** |
113 | * Compare with other type code for equality. | |
114 | */ | |
115 | public boolean equal(TypeCode other) | |
116 | { | { |
117 | if (other == this) | if (other == this) return true; |
{ | ||
return true; | ||
} | ||
if (!(other instanceof TypeCode)) | ||
{ | ||
return false; | ||
} | ||
118 | try | try |
119 | { | { |
120 | TypeCode that = (TypeCode) other; | TypeCode that = (TypeCode) other; |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |