Project 1999

Go Back   Project 1999 > Red Community > Red Rants and Flames

Closed Thread
 
Thread Tools Display Modes
  #91  
Old 10-16-2015, 11:50 AM
Nirgon Nirgon is offline
Banned


Join Date: Jun 2011
Location: Ruins of Old Paineel
Posts: 14,480
Default

AIDA

A: Attention. "Do I have your attention"?
I: Interest. "Are you interested in getting ntov loot?"
D: Decision. "Do you really want to farm Kubark another 4 years"?
A: Action. "Drop an app at empirer99.com"
  #92  
Old 10-16-2015, 12:09 PM
Chronoburn Chronoburn is offline
Fire Giant


Join Date: Jun 2011
Location: Minneapolis
Posts: 547
Default

LinkedList<Integer> list = new LinkedList<Integer>();

Quote:
Originally Posted by SamwiseRed [You must be logged in to view images. Log in or Register.]
Code:
//naw naw
//15 Feb 2015
//IntNode.java

import java.util.*;

public class IntNode{

   //instance variables
   private IntNode link;
   private int value;
   
   //---Constructors---
   IntNode(){
      link = null;
      value = 0;
   }//end default constructor
   
   IntNode(int d, IntNode n){
      link = n;
      value = d;
   }//end constuctor
   
   //---getters---
   public IntNode getLink(){
      return link;
   }//end getLink
   
   public int getValue(){
      return value;
   }//end getValue
   
   //---setters---
   public void setLink(IntNode n){
      link = n;
   }//end setLink

   public void setValue(int d){
      value = d;
   }//end setValue
   
   public String toString(){
   
      String str = "";
      
      for(IntNode cursor = this; cursor != null; cursor = cursor.link)
         str += cursor.value + " ";
         
      return str;
   
   }//end toString method
   
   public static int listLength(IntNode head){
      int answer = 0;
      
      for(IntNode cursor = head; cursor != null; cursor = cursor.link)
         answer++;
         
      return answer;
   }//end listLength

   public static void main(String args[]){
   
      IntNode node6 = new IntNode(6, null);
      IntNode node5 = new IntNode(5, node6);
      IntNode node4 = new IntNode(4, node5);
      IntNode node3 = new IntNode(3, node4);
      IntNode node2 = new IntNode(2, node3);
      IntNode node1 = new IntNode(1, node2);
      System.out.println(node1);
      
      System.out.println(listLength(node1));
   
   }//end main

}//end class IntNode
  #93  
Old 10-16-2015, 01:37 PM
SamwiseRed SamwiseRed is offline
Planar Protector

SamwiseRed's Avatar

Join Date: Dec 2011
Location: Tatooine
Posts: 10,186
Default

haha ya that was an assignment from last semester. we eventully used generic types [You must be logged in to view images. Log in or Register.] i just copied the first program that came up in my one of my folders
__________________
Current Games:
Naw
  #94  
Old 10-16-2015, 02:34 PM
TheBiznessTZ TheBiznessTZ is offline
Fire Giant

TheBiznessTZ's Avatar

Join Date: Mar 2015
Location: A Mall
Posts: 659
Default

really sad i was too busy having fun the RL world and missed out on this 1/10 thread.
__________________
  #95  
Old 10-16-2015, 02:42 PM
SamwiseRed SamwiseRed is offline
Planar Protector

SamwiseRed's Avatar

Join Date: Dec 2011
Location: Tatooine
Posts: 10,186
Default

having fun in rl means you arent logged in. if you arent logged in you arent being a good guildie. disgusting behaviour, expect to be guildkicked later today.
__________________
Current Games:
Naw
  #96  
Old 10-16-2015, 02:42 PM
Mus3t11 Mus3t11 is offline
Banned


Join Date: Mar 2015
Location: TX
Posts: 245
Default

Quote:
Originally Posted by TheBiznessTZ [You must be logged in to view images. Log in or Register.]
really sad i was too busy having fun the RL world and missed out on this 1/10 thread.
ok
  #97  
Old 10-16-2015, 02:46 PM
TheBiznessTZ TheBiznessTZ is offline
Fire Giant

TheBiznessTZ's Avatar

Join Date: Mar 2015
Location: A Mall
Posts: 659
Default

Quote:
Originally Posted by SamwiseRed [You must be logged in to view images. Log in or Register.]
having fun in rl means you arent logged in. if you arent logged in you arent being a good guildie. disgusting behaviour, expect to be guildkicked later today.
i Been given a royal pardon by the Boy King himself. He knows his Warden of the North will return soon to aid him in the battles against the scum of the realm.
__________________
  #98  
Old 10-17-2015, 03:59 PM
vouss vouss is offline
Banned


Join Date: Feb 2013
Posts: 1,765
Default

L o L
  #99  
Old 10-17-2015, 06:35 PM
Tassador Tassador is offline
Planar Protector


Join Date: Oct 2011
Posts: 3,903
Default

wow samwise and nirgon on the same page of the same thread for the 18,000 time.
  #100  
Old 10-17-2015, 09:58 PM
pgerman pgerman is offline
Fire Giant

pgerman's Avatar

Join Date: Aug 2011
Location: CA
Posts: 528
Default

Quote:
Originally Posted by Nirgon [You must be logged in to view images. Log in or Register.]
AIDA

A: Attention. "Do I have your attention"?
I: Interest. "Are you interested in getting ntov loot?"
D: Decision. "Are you interested in sacrificing your geared and naked corpse to the guild "friends" everyday you log in"?
A: Action. "Drop an app at empirer99.com"
Closed Thread


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:00 PM.


Everquest is a registered trademark of Daybreak Game Company LLC.
Project 1999 is not associated or affiliated in any way with Daybreak Game Company LLC.
Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.