equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2012, 2014, 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 |
52 * It is also educational to see package dependencies triggering recompilation of |
52 * It is also educational to see package dependencies triggering recompilation of |
53 * other packages. Even though the recompilation was perhaps not necessary, |
53 * other packages. Even though the recompilation was perhaps not necessary, |
54 * the visible recompilation of the dependent packages indicates how much circular |
54 * the visible recompilation of the dependent packages indicates how much circular |
55 * dependencies your code has. |
55 * dependencies your code has. |
56 * |
56 * |
57 * <p><b>This is NOT part of any supported API. |
57 * <p><b>This is NOT part of any supported API. |
58 * If you write code that depends on this, you do so at your own |
58 * If you write code that depends on this, you do so at your own risk. |
59 * risk. This code and its internal interfaces are subject to change |
59 * This code and its internal interfaces are subject to change or |
60 * or deletion without notice.</b></p> |
60 * deletion without notice.</b> |
61 */ |
61 */ |
62 public class Package implements Comparable<Package> { |
62 public class Package implements Comparable<Package> { |
63 // The module this package belongs to. (There is a legacy module with an empty string name, |
63 // The module this package belongs to. (There is a legacy module with an empty string name, |
64 // used for all legacy sources.) |
64 // used for all legacy sources.) |
65 private Module mod; |
65 private Module mod; |