Give me your problems

I would like example problems to learn java better. Please give me your problems and I will solve them- whatever made up thing you can think of, especially if it involves me learning more about the language, constructs, and usage.

Sounds like what you want is a reference type that can
be cleared if and only if there are no other
references to its referent. If I understand the
current reference types correctly there's no such
thing. I can't think of anything other than
maintaining a strong reference or adding something to
the map as kaj suggested.adding the value to the map wouldn't work because, as hinted
at by responses to jverd, it is a different map each time ...
i was thinking of uses hashcodes of the passed maps and when
they are found to be equal i could perform some further comparison
somehow; but i suppose the practical side of things is that i want
all these maps to be uniquely identifiable by their contents, and the
only way to do that is to save all the data i care about being equal :(

Similar Messages

  • Dear , please help me to solve my problem in activating my iPhone Where I lost it since 3 months and when found it cannot activating my ID Where give me (Your Apple ID has been disabled for security reasons. To enable your account, reset your password at

    Dear , please help me to solve my problem in activating my iPhone
    Where I lost it since 3 months and when found it cannot activating my ID
    Where give me (Your Apple ID has been disabled for security reasons. To enable your account, reset your password at applied.apple.com)
    And try to reset my password but cannot please help me where am a poor man and cannot pay another money to solving this problem to any one
    My iPhone data
    Ime:  ****
    Model: A1332
    FCC  ID : BCG-E2380A
    IC: 579C-E2380A
    MY id at cloud   ****
    Password    ( ****)
    My country : Egypt
    MY EMAIL : ****
    Tell no: ****
    <Personal Information Edited By Host>

    The following may help:
    Apple ID: 'This Apple ID has been disabled for security reasons' alert appears - Apple Support
    If you didn't receive your Apple ID verification or reset email - Apple Support

  • Let's discuss my application architecture,and give me your opinions

    hello
    we have several internal systems that are within the same lan and want to communicate with several external systems that may be in the other buildings by using the release line.i am now considering the architecture for the project,and have got an immature blueprint,please help me to make it more perfect by give me your opinions,the scenario as:
    within the lan,there are several systems that are developed by using different languages,let's suppose they are two(named internal1 and internal2),the two systems need to communicate with other two external systems(named external1 and external2) that are also developed by using different languages.all of the communications are bi-direction.there are several combinations:
    1 internal1 <--> internal2
    2 internal1 <--> external1 or external2
    3 internal2 <--> external1 or external2
    in my project,the timelimit is critical,as short as possible.
    according to the mentioned requirements,i decide to develop a infomation exchanging platform by using java which sit in the MIDDLE of the internal and external systems and WITHIN the lan,act as information dispatcher or coordinator,both of the internal system and external system communicate with it only.considering the multi-language and time-critical feature,i choose the way of socket communication among the systems and design a set of xml format internal protocol.otherwise,i think the message middleware are also needed within my project as message buffer.when i deepen into the detailed designing,i get some confusions,let us discuss them as followiing:
    1 if is the socket the good solution for my project?how can i assign the ports?because of the introduction of the information exchanging platform into my project,the communication combination is simplified to "internal system<-->info exchange platform" and "external system<-->info exchange platform",the crucial point for the port designing is how to assign the port in the info exchange platform,that is SERVER socket port.in my designing,i plan to assign different port for each subsystem.thus,the devleopment to the info exchange platform is simplified,that is:when the message comes,i don't need to analyse the xml message to check which system it comes from.but some people suggest me to open ONE port to all the internal systems,and ANOTHER port to all the external sysetms.i don't know which solution is better?if are there some regulations that concern about the socket port assigning?
    2 if is the information exchanging platform needed?some one suggest that subsystems can communicate with each other directly,
    the coordinating platform is not needed.but i think,from the EAI point of view,there should be a adapter between the internal system and external system.
    3 where should i put the message queue server?and if is the mom needed?i plan to use the mq between the exchange platform and external systems ONLY,and it is also within the lan,in my designing,i config two queue for EACH external system,one for incoming message and other for outgoing message,to each queue,i assign a message listener to execute different operations on its "onMessage" method,that is:when the message come from internal system,the exchange platform send them to the exact OUTGOING queue according to the destination of the message,then the listener of the queue call the socket of the according external system and send the message to it.otherwise,when the external system need to send the message to internal system,it call the exact socket port in the exchange platform that is assigned to it as mentioned above,the platform accept the msg,and send them to the exact incoming queue,then the listener deal with the msg and send them to the internal destination.in this solution,i put the mq behind the socket,but someone give me another suggestion,that is i directly put the message queue between the exchange platform and the external systems instead of using the socket as the front-end,all of them send the message to the queue and listen the queue,but i think,in such solution,the external system must listen the queue REMOTELY,is it a good way?
    also,somebody tell me that the exchange platform and remote external system can communicate each other DIRECTLY by socket,the message queue is not needed,i don't make sure if the mq is necessary in my situation?and what is the benefit and disadvantage?
    as for the communication between the internal system and info exchange platform,i think the mq is NOT needed,they can communicate each other directly by socket,furthermore,in my designing,i make them connect to each other FOREVER,that is i don't close the socket after each message transferation,as mentioned above in the issue of the socket assigning,every port in the exchange platform is DEDICATED,that means the port is specific to each system,so that they don't need to create and close socket connection frequently,that will make the program more performant,but if i use one port to listen all the internal system,then the socket must be closed by the end of each transferation because of the block problem,that is just another reason why i use dedicated port connection to each of the internal system.
    4 the another question is the secure issue accompanying by the socket,i think i needn't consider such problem in the internal connection,but to the connection between the platform and external system,the issue become preeminent,that is i must open the socket port in the firewall.but i think the connection between the lan and the external system use special line,not by internet,i wonder if the secure probem is critical in such situation?otherwise,i remember that some kinds of product from visibroker company can solve the firewall socket problem by using the http channel protocol,but i don't remember its name for sure,it seem like is called something gateway.who used such kind thing?and tell me how does it work?

    hello
    we have several internal systems that are within the same lan and want to communicate with several external systems that may be in the other buildings by using the release line.i am now considering the architecture for the project,and have got an immature blueprint,please help me to make it more perfect by give me your opinions,the scenario as:
    within the lan,there are several systems that are developed by using different languages,let's suppose they are two(named internal1 and internal2),the two systems need to communicate with other two external systems(named external1 and external2) that are also developed by using different languages.all of the communications are bi-direction.there are several combinations:
    1 internal1 <--> internal2
    2 internal1 <--> external1 or external2
    3 internal2 <--> external1 or external2
    in my project,the timelimit is critical,as short as possible.
    according to the mentioned requirements,i decide to develop a infomation exchanging platform by using java which sit in the MIDDLE of the internal and external systems and WITHIN the lan,act as information dispatcher or coordinator,both of the internal system and external system communicate with it only.considering the multi-language and time-critical feature,i choose the way of socket communication among the systems and design a set of xml format internal protocol.otherwise,i think the message middleware are also needed within my project as message buffer.when i deepen into the detailed designing,i get some confusions,let us discuss them as followiing:
    1 if is the socket the good solution for my project?how can i assign the ports?because of the introduction of the information exchanging platform into my project,the communication combination is simplified to "internal system<-->info exchange platform" and "external system<-->info exchange platform",the crucial point for the port designing is how to assign the port in the info exchange platform,that is SERVER socket port.in my designing,i plan to assign different port for each subsystem.thus,the devleopment to the info exchange platform is simplified,that is:when the message comes,i don't need to analyse the xml message to check which system it comes from.but some people suggest me to open ONE port to all the internal systems,and ANOTHER port to all the external sysetms.i don't know which solution is better?if are there some regulations that concern about the socket port assigning?
    2 if is the information exchanging platform needed?some one suggest that subsystems can communicate with each other directly,
    the coordinating platform is not needed.but i think,from the EAI point of view,there should be a adapter between the internal system and external system.
    3 where should i put the message queue server?and if is the mom needed?i plan to use the mq between the exchange platform and external systems ONLY,and it is also within the lan,in my designing,i config two queue for EACH external system,one for incoming message and other for outgoing message,to each queue,i assign a message listener to execute different operations on its "onMessage" method,that is:when the message come from internal system,the exchange platform send them to the exact OUTGOING queue according to the destination of the message,then the listener of the queue call the socket of the according external system and send the message to it.otherwise,when the external system need to send the message to internal system,it call the exact socket port in the exchange platform that is assigned to it as mentioned above,the platform accept the msg,and send them to the exact incoming queue,then the listener deal with the msg and send them to the internal destination.in this solution,i put the mq behind the socket,but someone give me another suggestion,that is i directly put the message queue between the exchange platform and the external systems instead of using the socket as the front-end,all of them send the message to the queue and listen the queue,but i think,in such solution,the external system must listen the queue REMOTELY,is it a good way?
    also,somebody tell me that the exchange platform and remote external system can communicate each other DIRECTLY by socket,the message queue is not needed,i don't make sure if the mq is necessary in my situation?and what is the benefit and disadvantage?
    as for the communication between the internal system and info exchange platform,i think the mq is NOT needed,they can communicate each other directly by socket,furthermore,in my designing,i make them connect to each other FOREVER,that is i don't close the socket after each message transferation,as mentioned above in the issue of the socket assigning,every port in the exchange platform is DEDICATED,that means the port is specific to each system,so that they don't need to create and close socket connection frequently,that will make the program more performant,but if i use one port to listen all the internal system,then the socket must be closed by the end of each transferation because of the block problem,that is just another reason why i use dedicated port connection to each of the internal system.
    4 the another question is the secure issue accompanying by the socket,i think i needn't consider such problem in the internal connection,but to the connection between the platform and external system,the issue become preeminent,that is i must open the socket port in the firewall.but i think the connection between the lan and the external system use special line,not by internet,i wonder if the secure probem is critical in such situation?otherwise,i remember that some kinds of product from visibroker company can solve the firewall socket problem by using the http channel protocol,but i don't remember its name for sure,it seem like is called something gateway.who used such kind thing?and tell me how does it work?

  • File Bloat - Give me your feedback

    Hey guys, I submitted a wish form as follows:
    Brief title for your desired feature:
    Cut the fat feature
    How would you like the feature to work?
    Captivate files tend to suffer from bloat, and when they start to get to big the only solution is to copy and paste all your slides into a new blank project. Unfortunately this breaks any links that you might have in your project. Some kind of tool that can go in an get rid of all unused internal resources that are bloating the file so you don't need to copy and paste.
    Why is this feature important to you?
    It will stop the many many questions in the Captivate forum on how to fix the problem, and we won't have to fix all our links every time we need to cut and paste.
    And I got a reply the very next day:
    Hi Kerry,
    I am from the Adobe Captivate Development team.
    Can you give the following info to help us look into the problem:
    1. Is the bloated project upgraded from Captivate 3 (or is it a new project created in Captivate 4) ? Have you ever faced the project bloating issue in Captivat4-only project (not the ones upgraded) ?
    2. Did you try removing un-used items from the library ?
    3. Will it be possible for you to share the project file (.cp)? - The bloated project file (which will give us a clear picture of the problem).
    regards,
    Sony
    So... give me your feedback in answer to the questions above and I'll consolidate it into a reponse to the development team.
    If you've ever been upset by file bloat... lay it on me and see if we can get it fixed (does it still do it in Cap 4?)
    Cheers and beers,
    Kerry

    Kerry,
    File bloat has been a recurring issue for Forum members (since RoboDemo?).  I have to say I don't have a problem because I design the training so each Captivate project rarely has more than 30 finished slides, and I clean out unused library items often.
    In the past, a solution has been to save the file as a different name then close and reopen (vs. copying and pasting and losing links).  Another strategy has been to publish often.  That seems to clear bloat in some cases.
    It's clear that Captivate is a processor hog, and as we clamor for more features, THAT probably won't go away.  Maybe we could benefit from a 'designing for (or around?) Captivate' Forum division?  Most of the training I see (and the underlying Captivate metaphor?) assumes we all create tidy one-file projects.  I think real-world projects are much larger and messier.  Hence the bloat.  --Leslie
    P.S.  Apologies for all the parentheses.  (Sometimes I can't resist an aside here and there.)

  • Does 7.01 update solve your problem?

    I haven't updated to iTunes 7 because of all of the reported issues.
    So I just thought I'd inquire about whether the update solved your problems or not. Let us know if things are fixed or still buggy.
    D
      Mac OS X (10.4.7)   Titanium PowerBook (15")

    I have to start by saying that I didn't have the problems that many people talked about. Artwork scrolling is better, and according to the mac's Activity Monitor, iTunes 7.01 is using a lot less memory, so apparently it's more efficient.
    I still have a problem when watching video (TV shows or movies). I start out at full screen, but if I try to reduce the size, the video stops and I'm left looking at the iTunes software. I have to then click the album art, then click "play", to get it to run at a smaller size.
    I've tried reducing the size by (1) clicking the video, (2) clicking the "reduce" control button that shows up on the screen, (3) using keyboard shortcuts. All 3 methods give the same result. This only happens when going from full screen to other sizes. When going between other sizes (such as half size to double size), there's no problem. (I've reported this bug to Apple.)

  • How to sort out your problems with the os 4 upgrade.

    I'm in the UK, and I am an Orange customer. I have just been in contact with an amazing guy called Lee, who has sorted my problem for me. His advice.......
    go into
    Settings, general, scroll down to bottom of the screen to Reset, and tap on it.
    Go to 3rd option, Reset Network Settings and tap on it, a red box will appear, tap to accept. Screen will close and Apple logo will appear, LEAVE to power up on its own, and re-enter your wi-fi connection password information.
    If this fails to cure your problem, Connect your iphone to a different computer,
    When your iphone shows up in itunes, click on it and do a RESTORE WITHOUT BACKUP, leave until your phone has restored and then plug into your own computer. You can now back up from your own computer information
    Hope this solves our problems

    Apple does not provide support here.
    This is a users forum.
    Everyone here is a user like yourself.
    If you would like support from Apple you can contact them by phone or online.

  • Is there a way to play video clips that use adobe flash and if not when are you going to resolve your problem with them ? I won't buy another apple product until you do and I Know I,m not the online.

    Is there a way to play video clips that use adobe flash and if not when are you going to resolve your problem with them ? I won't buy another apple product until you do and I Know I,m not the only one.

    Use the search feature and type in Flash and there are like thousands of posts on this.
    You seem to think you are addressing Apple with your post.  This is a user forum and we are all users just like you.

  • I heard that you can give back your i pod shuffle and get a new one for free

    I heard that you can give back your i pod shuffle and get a new one for free
    but how do i do it

    Critters222 wrote:
    Yes I realize that it was a simple mistake, which is why I checked it out and apologized
    no apology needed.

  • Give us your feedback on v1.2 of the ILM Assistant

    Please give us your feedback on v1.2
    What would you like us to do next?
    Lilian

    Lillian,
    I had sent you information back on 02/29/2008 as a reply to this thread but it must have got deleted.
    Here is the thread from that day.
    I finally got this to work in my 11g database with Database Vault.
    I got to the ILM login page when I exchanged p=4550:10:2805095104274743
    for p=737677:10:2805095104274743.
    i.e.
    http://oraprod-dr.lodgian.com:8080/apex/f?p=737677:10:2805095104274743
    The documentation for logging into ILM 1.2 seems to be not quite accurate.
    What I saw on that page were 2 boxes:
    1. Database User
    2. Password
    So you actually need to login with a "database" user account.
    Initially I logged in as "SYS" just to see what would happen.
    Then I was able to see the ILM tabs and menus.
    I then went into OEM and created a new database user "ILM_DB_ADMIN".
    I followed the instructions for executing the grant_privs.sql script to that newly created database account.
    I was then able to login with that database account.
    Now the url http://oraprod-dr.lodgian.com:8080/apex/f?p=737677 immediately refers to the ILM login page.
    I would not think that this is a "backdoor" login method into ILM since the documentation does mention that you must use a "database" account.
    Regards,
    Bruce Hawkins

  • I know why coming ios 7 for ipod 4g. this is not my problem its your problem , please make for ipod 4g

    i know why coming ios 7 for ipod 4g.
    this is not my problem its your problem
    , please make for ipod 4g

    mohammad mhp wrote:
    iknow about this
    i like apple make ios 7 for 128 or 256 RAM
    plz i want it
    Apple would have to strip so many features out of iOS 7 to make it work on your iPod that about all you'd have would be iOS 6 with different icons. So as the others have said, this is not going to happen. If you want iOS 7, you'll need a newer iPod.
    Regards.

  • For those with RSD: what is your Problem Description?

    I just got the box by DHL to send my MacBook with RSD to Memphis. On the other side of the shipping label is:
    Problem Description: No Power/No Light.
    This obviously doesn't describe the problem. So, others with RSD that are sending your MacBooks to Memphis: what does your Problem Description say?
    I found an old post (http://discussions.apple.com/thread.jspa?messageID=2889831&#2889831) about this but that was made before this problem became widespread like it is now.

    BOTH BOXES I've received in the last two months (one each for the TWO TIMES I've sent my MB in, once for RSD, second time cause it died completely with 15 minutes of getting it back from the RSD repair) said "No Power/No Light," but through my discussions (many) with AppleCare, they are aware of the actual problem.

  • My Dad gives me your old iPhone 3GS.

    My Dad gives me your old iPhone 3GS, and i want to disable your iCloud Account and have my own!... How i Do this?

    Hi, Under settings is the iCloud tab, open the tab and delete the account and sign up your own. Before you do this however, this will also remove the ability for your dad to 'Find My Phone'
    You can run multiple iCloud accounts and leave the 'Find My Phone' option open in the existing (Dad's) iCloud account and under mail settings open a new icloud account for yourself and use this for yourself (including iMessage).

  • A blackappworld can resolve a lots of your problem look here!!

    Unlike the red power button on your phone which merely reloads your device, QuickPull will actually refresh the device, freeing up memory and increasing performance!
    QuickPull Free has more than 1,000,000 users to date.
    Schedule to run a QuickPull at a certain time each DAY, or multiple times each WEEK with NEW convenient scheduling features to keep your memory and performance running at its best.
    You can even set a MEMORY threshold that will allow QuickPull™ to alert you when your available memory drops too low. If the memory drops, memory monitoring will prompt you to run a QuickPull™
    QuickPull is extremely easy and convenient to use.
    FEATURES
        * FREE
        * Simulates a "battery pull" equivalent reset.
        * Integrates with AutoStandby.
        * Ability to schedule to run daily.
        * Automatically accepts reset dialog.
        * Advanced scheduling, run a QuickPull daily or on certain days each week.
        * Memory monitoring.
        * Set your own memory threshold.
        * Prompted automatic reboots if your memory is less than your set threshold, with the ability to cancel a reboot.
        * Scheduled QuickPulls will wait until phone calls are complete.
        * Receive automatic notifications on missed resets due to a locked or holstered device.
        * 5 second warning notice can cancel pending QuickPull runs to keep from interfering with other tasks.
        * New and enhanced, user-friendly interface.
        * Toggle schedule on or off without losing any settings.
        * No technical support
        * (for technical support and no ads, please consider QuickPull Pro)
    Don't forget to CLICK that BLACK or GRAY Kudos square if some one was helpful.
    Also please mark it as a solution if your problem is solved.

    Thanks for the replies........... They helped a lot, as I
    thought.. I named the text field a different name and was using in
    the code with a different name.. Thank you all people, I actually
    now think that I can try the deafult object 'this.' and _parent
    which were too vauge before but now within grasp.... Thanks Once
    for you time and Patience! :-)

  • It looks like your problem is at the beggining in the form tag, specificall

    Hello,
    I'm having an issue with a cgi form that I created (added on to a website I created using iWeb). Basically, here's the problem: I'm not sure if I have to FTP it over to mac in order for it to work, but if someone could let me know if that's the issue, I'd appreciate it. Basically, when any client hits the submit button on my site to fill out a quote request, it DOES NOT go into my inbox. Why?
    Here's the html code:
    http://yourdomain.com/cgi-bin/FormNewMail.cgi
    Below is a comment I received from someone who thought they knew where the problem was.
    "It looks like your problem is at the beginning in the form tag, specifically
    this part:
    action="http://yourdomain.com/cgi-bin/FormNewMail.cgi"
    When I type in that address, the correct page isn't loading, which probably
    means you haven't uploaded the actual "FormNewMail" script to your cgi-bin
    folder (at Webintellects).
    Anyone care to tackle this one?
    Thx,
    J

    What exactly does iWeb support as far as html forms then?
    Search this forum for "form".
    http://discussions.apple.com/thread.jspa?messageID=7650084&#7650084

  • Please give me your opinion

    Hi Guys,
    I was wondering if you can give me your opinion about this issue. My friend has a macboobk pro intel core duo 1.83 ghz 512mb ram and 80 gb 15" superdrive and he ask me if I want to trade it for my Macbook 2. ghz Intel core 2 duo , 1gb ram, superdrive, 80gb hd etccc...
    What do you guys think? is it worth it?
    Please advise
    Thanks

    If I were given this option, I'd go with no, only because I've formed an attachment with my macbook.
    However, all the specs on the computers can be upgraded, so if you do choose to make the trade, you can upgrade the memory & ram to your liking, just not the processor speed. If you take an in depth look at the differences between the core duo and the core 2 duo, you might see some that are things you wouldn't want to live without. I've heard that the c2d have the new 802.11n capabilities, while the cd do not. Just something more to take into consideration.
    Personally, I also like the 13.3 inch screen of my macbook (hence why I like it so much) better than the other size screens of other notebooks.
    When I first wanted to get a mac, I was looking at the MBP's, but then I saw the macbooks and my mind was set.
    It is true that your gaming experience and other graphic intensive programs will be better on the mbp, but honestly... I haven't come across anything that runs poorly on my macbook. So... I'd have to go with a no on the trade.
    Just my $.02

Maybe you are looking for