src/share/classes/com/sun/tools/javac/code/Scope.java

changeset 1357
c75be5bc5283
parent 982
671bb63f3ed5
child 1886
79c3146e417b
equal deleted inserted replaced
1352:d4b3cb1ece84 1357:c75be5bc5283
1 /* 1 /*
2 * Copyright (c) 1999, 2011, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 1999, 2012, 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
23 * questions. 23 * questions.
24 */ 24 */
25 25
26 package com.sun.tools.javac.code; 26 package com.sun.tools.javac.code;
27 27
28 import java.util.Iterator;
29
28 import com.sun.tools.javac.util.*; 30 import com.sun.tools.javac.util.*;
29 import java.util.Iterator;
30 31
31 /** A scope represents an area of visibility in a Java program. The 32 /** A scope represents an area of visibility in a Java program. The
32 * Scope class is a container for symbols which provides 33 * Scope class is a container for symbols which provides
33 * efficient access to symbols given their names. Scopes are implemented 34 * efficient access to symbols given their names. Scopes are implemented
34 * as hash tables with "open addressing" and "double hashing". 35 * as hash tables with "open addressing" and "double hashing".

mercurial