daily pastebin goal
42%
SHARE
TWEET

Untitled

a guest Mar 13th, 2018 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. public class PilaWithNodes  {
  3.  
  4.  
  5.     private Node ruma= new Node();
  6.    
  7.     public PilaWithNodes(){
  8.    
  9.     }
  10.    
  11.     public PilaWithNodes(int large){
  12.        
  13.     }
  14.  
  15.     public void push(Node number) {
  16.     ruma.setInf( Node ruma2 = new Node());// esto sangra
  17.     ruma.setNext(null);
  18.     }
  19.  
  20.     public Node top() {
  21.         ruma.getInf();
  22.         return ruma;
  23.     }
  24.  
  25.     public Node pop() {
  26.         ruma.getInf();
  27.        
  28.         return null ;
  29.     }
  30.  
  31.     public boolean empty() {
  32.         return false;
  33.     }
  34.  
  35.     public boolean full() {
  36.         return true ;
  37.     }
  38.  
  39.     public void reset() {
  40.    
  41.     }
  42. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top