Method equals(Object obj)
Return type: boolean
Member of: java.lang.Float
[api documentation ] [ main menu]

Examples of how the element is used (one line per example):
[add your own example]

1 if (in0.equals(new Float(23423.234F))) {
2 assertTrue("Correct float property", (new Float(5.1)).equals(tb.getMyFloat()));
3 assertTrue("Correct float property", (new Float(5.1)).equals(tb.getMyFloat()));
4 (in18.equals(new Float(67634.12F))) &&
5 if (!f1.equals(f2))
6 if (!workedOnFloat.equals(originalFloat)) {
7 if (!workedOnFloat.equals(originalFloat)) {
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.