eclipse formatter格式文件

时间:2020-10-01 05:51:31
【文件属性】:

文件名称:eclipse formatter格式文件

文件大小:33KB

文件格式:XML

更新时间:2020-10-01 05:51:31

java eclipse formatter

/** * A sample source file for the code formatter preview */ package mypackage; import java.util.LinkedList; public class MyIntStack { private final LinkedList fStack; public MyIntStack() { fStack = new LinkedList(); } public int pop() { return ((Integer) fStack.removeFirst()).intValue(); } public void push(int elem) { fStack.addFirst(new Integer(elem)); } public boolean isEmpty() { return fStack.isEmpty(); } }


网友评论