java中public类名必须跟文件名一致,将不一致的StackBasedOnLinkedList修改成一致;在.gitignore中配置IntelliJ idea项目配置相关文件。
This commit is contained in:
parent
02cfee487e
commit
1d21c00144
6
.gitignore
vendored
6
.gitignore
vendored
@ -44,4 +44,8 @@ bld/
|
||||
[Ll]og/
|
||||
|
||||
# Visual Studio 2015/2017 cache/options directory
|
||||
.vs/
|
||||
.vs/
|
||||
|
||||
**/*.idea
|
||||
**/*.iml
|
||||
**/*out
|
||||
|
@ -5,7 +5,7 @@ package stack;
|
||||
*
|
||||
* Author: Zheng
|
||||
*/
|
||||
public class StackBasedLinkedList {
|
||||
public class StackBasedOnLinkedList {
|
||||
private Node top = null;
|
||||
|
||||
public void push(int value) {
|
||||
|
Loading…
Reference in New Issue
Block a user