equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
37 * |
37 * |
38 * <pre> |
38 * <pre> |
39 * boolean isXXX() { |
39 * boolean isXXX() { |
40 * return this instanceof XXX; |
40 * return this instanceof XXX; |
41 * } |
41 * } |
42 * <pre> |
42 * </pre> |
43 * |
43 * |
44 * and a set of cast functions (<code>asXXX</code>), which are |
44 * and a set of cast functions (<code>asXXX</code>), which are |
45 * essentially: |
45 * essentially: |
46 * |
46 * |
47 * <pre> |
47 * <pre> |