More Activity

118 Visitor Messages

  1. View Conversation
    hey hows ur day been
  2. View Conversation
    first thing I'd do is check the wiring, possibly just reassemble it.

    First though, use a standard profile for your motherboard and reboot the PC as a hotfix. as you probably know you can arrange hardware boots there, so maybe that's it.

    worst case scenario is your motherboard acting up and you'll need to replace it.
  3. View Conversation
    Why not. Send me a pm.
  4. View Conversation
    You're such a pussy. I swear, if there was a chance to meet you, i would beat your face up.
  5. View Conversation
    We can talk it out if you want. I just don't want to have bad blood with you.
  6. View Conversation
    Merry Christmas, carrot. I hope you hold no rancor towards me, for anything you think I've done.
  7. View Conversation
    Nvm one of my mates just sent me the entire solution
  8. View Conversation


    Just kidding i understand, i'll probably have to buy a 6 pack of redbulls and try to figure it out tonight. Or maybe i'll have to bribe someone in my class to help me. Fuck i hate this shit
  9. View Conversation
    Carrot i need you to save my ass again, 2 days until i gotta submit this assignment and i'm not even 50% finished

    For some reason i can't seem to add an object to a linkedlist of another class, i'll try to simply the code as much as possible.


    public class Building{

    private LinkedList<Lift> lifts = new LinkedList<Lift>();
    private LinkedList<Person> people = new LinkedList<Person> ();

    private void call(){
    Lift bestLift = lifts.getFirst();//Use 1st Lift
    int personId = readPersonId();// read ID from user
    int destination = readDestination();//read Destination from user
    Person personDest = person(personId);//Pass ID into person object which confirms ID in another method
    if(personDest != null){
    personDest.call(destination);//Add destination number to call method in Person class

    }

    }
    public class Person
    {
    public Person(int id, String name, int level)
    {
    this.id = id;
    this.name = name;
    this.level = level;
    aboard = false;
    destination = level;

    }
    public boolean hasId (int id){
    return id == this.id;

    }

    public void call(int destination){
    this.destination = destination;
    }

    public boolean inQueue() {
    return !aboard && destination != level;
    }
    public class Lift
    {
    private LinkedList<Person> passengers = new LinkedList <Person>();
    private LinkedList<Person> queue = new LinkedList<Person> (); // Add person into this queue
    public Lift(int number, int bottom, int top, int level)
    {
    this.number = number;
    this.bottom = bottom;
    this.top = top;
    this.level = level;
    direction = 0;
    for (Person person : queue){
    if (person.inQueue())
    queue.add(person);
    }
    }


    So basically i'm trying to add a person into the queue, but i'm not sure how i can do it. For some reason the queue list is empty despite seemingly passing an object into it. I feel like i'm missing something simple here but i can't seem to figure out what.
  10. View Conversation
Showing Visitor Messages 1 to 10 of 118
Page 1 of 12 12311 ... LastLast
Page 1 of 12 12311 ... LastLast
About Conjunctivitis

Basic Information

Signature


There are two types of opinions: wrong opinions and my opinions.

Contact


This Page
http://www.millenniumforums.com/member.php?4859-Conjunctivitis&s=37d1e4107805d3aff3fca90cab63ee66
Instant Messaging

Send an Instant Message to Conjunctivitis Using...

Statistics


Total Posts
Total Posts
2,946
Posts Per Day
2.84
Visitor Messages
Total Messages
118
Most Recent Message
02-24-2017 02:44 AM
General Information
Last Activity
Today 06:19 AM
Join Date
04-27-2014

9 Friends

  1. 7thSeeker
  2. Crispinianus Crispinianus is online now

    cutest glasses evurr

    Crispinianus
  3. Killua Zoldyck Killua Zoldyck is offline

    The assassin

    Killua Zoldyck
  4. Kunta Kunta is offline

    Tensai

    Kunta
  5. Mcguint
  6. Milf of Milfs Milf of Milfs is offline

    The Red Meister

    Milf of Milfs
  7. Omega Chikara
  8. Spade Spade is offline

    Banned

    Spade
  9. The Shogun of Shoguns The Shogun of Shoguns is offline

    The Indomitable Spirit

    The Shogun of Shoguns
Showing Friends 1 to 9 of 9
Page 1 of 7 123 ... LastLast

02-15-2017


02-13-2017


12-22-2016


12-13-2016


12-12-2016


12-09-2016


12-06-2016


11-27-2016


11-09-2016


11-08-2016


11-07-2016


11-02-2016


10-24-2016


10-12-2016


09-30-2016


09-29-2016


09-28-2016


09-27-2016


09-26-2016


09-25-2016



Page 1 of 7 123 ... LastLast
Page 1 of 61 1231151 ... LastLast

02-22-2017


02-21-2017


02-20-2017


02-18-2017


02-16-2017


02-13-2017



Page 1 of 61 1231151 ... LastLast