Dating And Meet-up Zone › Re: Is This Love? by Dolemite(op): 12:29pm On Jul 01, 2011 |
Funny guys, but they've gotten past that 'are you who you say you are' stage, I guess what I'm trying to ask is, is it possible to love someone who you've never seen or heard from? |
Programming › Re: Is Anything Better Than The Netbeans Ide? by Dolemite(f): 9:51am On Jul 01, 2011 |
BlueJ? |
Politics › Re: Rich Kids Joy Riding In Abuja Killing/injuring Poor Bystanders. by Dolemite(f): 3:20am On Jul 01, 2011 |
Idiots. . .I mean the spectators on the road side, I wish I was there to take clips for sale on that tv show 'when good times go bad'. . .I won't be by the road side of course. |
Dating And Meet-up Zone › Is This Love? by Dolemite(op): 10:29pm On Jun 30, 2011 |
I'm asking this question for my friend, he says he's in love with this girl who lives in a far country from his, the girl claims to love him too but has never requested for a picture of him in over nine months they've been together, he asks to talk to her over the phone but she just blows it off, they just chat online and she says she loves him and all, my friend says he's sure she's a girl, she never asked for money or whateer what should my guy do? |
Sports › Re: Fifa Slams Nigeria's Uche For Homophobia by Dolemite(f): 6:36pm On Jun 30, 2011 |
mr.official: Maybe we should all become homos and see how this world proceeds. Some replies on Nairaland are yuck. No one is advocating for the practice of homosexuality (if that is even possible), but people should be respected regardless, you wouldn't like it if people hated you for the color of your skin would you? |
Sports › Re: Fifa Slams Nigeria's Uche For Homophobia by Dolemite(f): 6:32pm On Jun 30, 2011 |
Donlittle: I JUST INCREASED THE NUMBER OF MY ACCOUNTS TO 16, RIGHT NOW AM MAKING ANOTHER EMAIL, your ON MY WATCH LIST Lol, oooh I'm scared.  silly kids, how old are you by the way? |
Sports › Re: Fifa Slams Nigeria's Uche For Homophobia by Dolemite(f): 6:16pm On Jun 30, 2011 |
|
Sports › Re: Fifa Slams Nigeria's Uche For Homophobia by Dolemite(f): 5:58pm On Jun 30, 2011 |
|
Sports › Re: Fifa Slams Nigeria's Uche For Homophobia by Dolemite(f): 5:53pm On Jun 30, 2011 |
|
Sports › Re: Fifa Slams Nigeria's Uche For Homophobia by Dolemite(f): 5:01pm On Jun 30, 2011 |
|
Sports › Re: Fifa Slams Nigeria's Uche For Homophobia by Dolemite(f): 4:57pm On Jun 30, 2011 |
victorazy: Ye, just saw that on soccernet now. I think she has the real African blood, i mean Nigeria "Mama Africa" she is like a mother to them. These things are not in our blood nor culture but these girl adopted this awful character from movies especially indecent movies they watch on their mobile phones and laptops. White people may not accept her, but i am proud of her. Secondly These ladies are fully energise both sexually how will they coupe with the absence of men Male players go to clubs to mingle with sexx worker and what happend to the female players? Ignorant talk, homosexuality has been in africa even before the whites stepped foot on the continent. |
Celebrities › Re: Funmi Iyanda Turns Down CNN job Offer by Dolemite(f): 8:35am On Jun 29, 2011 |
From these responses it is evident that you Nigerians are haters. . .if she appeared on CNN you all would 'pretend' to be happy for her, but it would eat you up inside, why are you people like that? |
Romance › Re: Guys: Would You Date A Hawker? by Dolemite(f): 2:00pm On Jun 28, 2011 |
So just because someone is a hawker that makes them less human? why is this topic in the front page? is Seun running out of interesting topics? |
Celebrities › Re: Lady Gaga's Meat Dress, Ghetto Style by Dolemite(f): 8:49pm On Jun 23, 2011 |
That red pant is gorgeous, want one. |
Celebrities › Re: Chris Brown: I Don’t Mean To Insult Gay Community by Dolemite(f): 7:59pm On Jun 23, 2011 |
gay |
Programming › Re: Java Cafe by Dolemite(op): 6:18pm On Jun 19, 2011 |
Thanks alot. |
Programming › Re: Java Cafe by Dolemite(op): 6:09pm On Jun 19, 2011 |
private ArrayList<FileSys>file=new ArrayList<FileSys>(); private Map<String, Collection<FileSys>> map = new HashMap<String, Collection<FileSys>>(); public void addFile(String nameIn, String dateIn, String typeIn, int sizeIn){ name = nameIn; date = dateIn; type = typeIn; size = sizeIn; f = new FileSys(name, date, type,size); totalSize=totalSize+size; map.put(nameIn,file); if(availableSpace>0&&!map.containsValue(nameIn)){ availableSpace= storageCapacity-totalSize; file.add(f); } else if(map.containsValue(nameIn)){ System.out.println("A file with that name already exists" ; } else{ System.out.println("There is no space" ; } } |
Programming › Re: Java Cafe by Dolemite(op): 6:06pm On Jun 19, 2011 |
Didn't work  |
Programming › Re: Java Cafe by Dolemite(op): 6:05pm On Jun 19, 2011 |
File is just a variable name, i'll try that now, |
Programming › Re: Java Cafe by Dolemite(op): 5:55pm On Jun 19, 2011 |
public void addFile(String nameIn, String dateIn, String typeIn, int sizeIn){ name = nameIn; date = dateIn; type = typeIn; size = sizeIn; f = new FileSys(name, date, type,size); totalSize=totalSize+size; map.put(nameIn,file); if(availableSpace>0&&!map.containsKey(nameIn)){ availableSpace= storageCapacity-totalSize; file.add(f); } else if(map.containsKey(nameIn)){ System.out.println("A file with that name already exists" ; } else{ System.out.println("There is no space" ; } } I modified it, trying to use a hashmap with an arraylist, it doesn't work. |
Programming › Re: Java Cafe by Dolemite(op): 5:26pm On Jun 19, 2011 |
public void addFile(String nameIn, String dateIn, String typeIn, int sizeIn){ name = nameIn; date = dateIn; type = typeIn; size = sizeIn; f = new FileSys(name, date, type,size); totalSize=totalSize+size; if(availableSpace>0){ availableSpace= storageCapacity-totalSize; file.add(f); } else if(file.contains(nameIn)){ System.out.println("A file with that name already exists" ; } else{ System.out.println("There is no space" ; } } The problem here is I want to check for similarity with the files, where a file with a similar filename would not be added. . .is it possible with an arraylist? |
|
Programming › Re: Java Cafe by Dolemite(op): 9:04pm On Jun 18, 2011 |
public class User { private static int identifier = 100; private String userName; private int storageCapacity = 1000; private int availableSpace; private FileSys f; private String name; private String date; private String type; private String size; private Map<String, FileSys>hm;
public User(String userNameIn){ userName = userNameIn; hm = new HashMap<String, FileSys>(); identifier--; } public void addFile(String nameIn, String dateIn, String typeIn, String sizeIn){ name = nameIn; date = dateIn; type = typeIn; size = sizeIn; f = new FileSys(name, date, type,size); hm.put(type,f); } public void searchFilesByType(String typeIn){ Iterator<String> i = hm.iterator(); while(i.hasNext()){ if(ee.equals(typeIn)) { System.out.println(hm.get(type)); } } } public String getUserName(){ return userName; }
} I am trying to use the 'searchfilesbytype' method to iterate through the hashmap and produce values that are identical to those inputted by the user, but I'm getting an undesirable result. |
Programming › Re: Java Cafe by Dolemite(op): 7:45pm On Jun 18, 2011 |
public class User { private static int identifier = 100; private String userName; private int storageCapacity = 1000; private int availableSpace; private File f; private String name; private String date; private String type; private String size; HashMap hm = new HashMap(); Collection c = hm.values(); public User(String userNameIn){ userName = userNameIn; identifier--; } public void addFile(String nameIn, String dateIn, String typeIn, String sizeIn){ name = nameIn; date = dateIn; type = typeIn; size = sizeIn; f = new File (name, date, type,size); hm.put(type,f); } public void searchFilesByType(String type){ Set<String> theKeys = hm.keySet(); if(theKeys.equals(type)){ System.out.println(hm.get(type)); } } public String getUserName(){ return userName; }
} I am trying to use the 'searchfilesbytype' method to iterate through the hashmap and produce values that are identical to those inputted by the user, but I'm getting an undesirable result. |
|
Gaming › Re: Why Most Nigerians Don't Play Online Games? by Dolemite(f): 7:53pm On Jun 14, 2011 |
Common sense. . . 1. Lack of electricity. 2. Internet speed issues. |
Jobs/Vacancies › Re: Had Third Class In Education by Dolemite(f): 6:49pm On Jun 13, 2011 |
|
|
Nairaland General › Re: Do Women Fart? by Dolemite(f): 5:58pm On Jun 11, 2011 |
Oh no we don't.  |
Christianity Etc › Re: Creflo Dollar Defends Eddie L. Long (Video) by Dolemite(f): 4:28pm On Jun 11, 2011 |
To hell with these thieves and the gullible fooools who follow them. . . |
|
|