Highlights
All Snippets
Top 100 Snippets
Librarians
gbCodeLib

By Language
VB6
JavaScript
Perl
HTML
SQL
Java
DOS

GBIC >> Source Code >> Java >> Snippet

06 Operators


++    increment by 1
--    decrement by 1
+=    increment (by specified value)
-=    decrement (by specified value)
*=    mulitply (by specified value)
/=    divide (by specified value)
&=    bitwise and  (with specified value)
|=    bitwise inclusive or  (with specified value)
^=    bitwise exclusive or  (with specified value)
%=    integer remainder  (with specified value)

<     lt
<=    lt or equal to
>     gt
>=    gt or equal to
==    equal
!=    not equal

&&    and      short - circuit version
&     and     full - evaluation version
||    or       short - circuit version
|     or      full - evaluation version