Method equals(Object obj)
Return type: boolean
Member of:
java.lang.Short
[
api documentation
] [
main menu
]
Examples of how the element is used
(one line per example):
[
add your own example
]
1
if (in0.equals(new Short((short) 32))) {
2
assertTrue("Correct short2 value", new Short("2").equals(bw.getPropertyValue("short2")));
3
(in0.getWrapperShort().equals(new Short((short) 203))) &&
4
(in15.equals(new Short((short) 45))) &&
5
assertTrue("Correct short1 value", new Short("1").equals(bw.getPropertyValue("short1")));
6
(in0.getWrapperShort().equals(new Short((short) 203))) &&
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.