tsld071.htm

来自「an excellent java tutorial for the ones 」· HTM 代码 · 共 56 行

HTM
56
字号

<HTML>

<HEAD>
<META HTTP-EQUIV="Context-Type" CONTEXT="text/html;charset=windows-1252">
<meta name="GENERATOR" content="Microsoft Internet Assistant for PowerPoint 97">
 <TITLE>Stack</TITLE> 
</HEAD>

<BODY     >

 <H1>Stack</H1> 
 <P><UL>
The Stack extends the Vector with stack functionality. 
<BR></UL><UL>

</UL><UL>
boolean empty()	: Tests if this stack is empty. 
</UL><UL>

</UL><UL>
Object peek() 	:  Looks at the object at the top of this 
</UL><UL>
		   stack without removing it. 
</UL><UL>

</UL><UL>
Object pop() 	:  Removes the object at the top of this 
</UL><UL>
		   stack and  returns that object as the 
</UL><UL>
		   value of this function. 
</UL><UL>

</UL><UL>
void push(Object): Pushes an item onto the top of this stack. 
</UL><UL>

</UL><UL>
int search(Object): Returns where an object is on this stack. </UL></P>
<P></P> 
<P>
<TABLE>
  <TD HEIGHT=100 WIDTH=100> <A HREF="tsld070.htm">Previous slide</A> </TD>
  <TD HEIGHT=100 WIDTH=100> <A HREF="tsld072.htm">Next slide</A> </TD>
  <TD HEIGHT=100 WIDTH=150> <A HREF="tsld001.htm">Back to first slide</A> </TD>
  <TD HEIGHT=100 WIDTH=150> <A HREF="sld071.htm">View graphic version</A> </TD>
</TABLE>
<BR>
</P>



</Body>
</HTML>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?