Help with JavaDoc commentation

I have been going through the JavaDoc tutorials and am a little confused. Can anyone help me with the documentation of this program.
import java.util.StringTokenizer;
import java.util.regex.Matcher;
  * <p>
  * StringQuiz executes the 6 methods assigned in the document using methods
  * that are related to strings.
  * </p>
  * @author Daniel Wood
  * Date 2006.02.17
  * @version 1.0.0.x
  public class StringQuiz
       * @param args String array of command line parameters passed to main
     public static void main(String args[])
            * @return method_1 uses a regular expression to determine if the 5 address return the boolean
            * value of true or false.
          method_1();
          method_2();
          method_3();
          method_4();
          method_5();
          method_6();
     }//end main
     static void method_1()
     System.out.println("Method 1");
     String address1 = "112 Elm Street";
     String address2 = "112 South Elm St.";
     String address3 = "112 S. Elm";
     String address4 = "Elm St.";
     String address5 = "South 112 Elm";
     //"[\\d]+[\\s]+[a-zA-Z]+[ .]+[a-zA-z]+[ .]*[a-zA-z]*[ .\\n]?"
     String matchString = "\\d+ [A-Z,a-z,. ]+";
     System.out.println(address1.matches(matchString));
     System.out.println(address2.matches(matchString));
     System.out.println(address3.matches(matchString));
     System.out.println(address4.matches(matchString));
     System.out.println(address5.matches(matchString));     
     }//end method 1
     static void method_2()
        System.out.println("Method 2");
        String csv = ("23,  14, 19,21,    3");
        StringTokenizer tokens = new StringTokenizer(csv, ", ");
           while (tokens.hasMoreTokens() ){
           System.out.println (tokens.nextToken());
           }// end while
     }//end method_2
     static void method_3()
     System.out.println("Method 3"); 
     String hello = "Hello, How are you";
     hello = hello.replaceAll("H", "h");
     hello = hello.replaceAll(",", ".");
     System.out.println(hello);
     }// end method_3
    static void method_4()
   System.out.println("Method 4");
   String whale = "Willy the whale.";
   StringBuffer buffer = new StringBuffer();
   buffer.append(whale);
   buffer.insert (4, "fff");
   System.out.println (buffer.toString());
   }// end method_4
  static void method_5()
   System.out.println("Method 5"); 
   String num = "3.456";
   float number2 = Float.valueOf(num).floatValue();
   System.out.println(number2);
   System.out.println(number2 + 10);
  }// end method_5
   static void method_6()
   System.out.println("Method 6");
   String record = "This is record: 7Pq8";      
        System.out.println(record.substring(16, 20));
  }// end method_6
}// end  public class StringQuiz

I have a batch file that runs the code and generates some documentation but its not what i need. I am still unsure of how to comment a method inside a method, specifically what tag i should use. (@?)
:: Compile Program
javac StringQuiz.java
:: Create Documentation
javaDoc -author -version -private -use StringQuiz.java
:: Run Program
java -cp . StringQuiz
:: Pause the program
PAUSE
ContinueDoc\index.html

Similar Messages

  • Problem with javadoc comment

    Hi
    i have a comment like this
    *<li type="circle"> "31       32        33" (more than one blank space in between)
    */Now i want to put more spaces between numbers but java doc shows only one space! how can i insert more than one space ??

    Super Thanks
    Where can i get these kind of information??all that is, is the html entity code for a space. you can look up other codes by searching for "html entity table" or something. this way you can also embed "<" and ">" tags without being interpreted, etc.
    < = &lt;
    = &gt;

  • HT3275 Can anyone help with this comment below. My Timecapsule cannot backup now: The backup disk image "/Volumes/Data/Bill Smith's iMac 1.sparsebundle" is already in use.

    The backup disk image “/Volumes/Data/Bill Smith’s iMac 1.sparsebundle” is already in use.

    Yes, standard ML error.. about 10 posts a day here.
    Reboot the TC.. reboot the whole network in correct order if that doesn't work.. modem.. tc.. clients.
    Read C12.
    http://pondini.org/TM/Troubleshooting.html

  • Need Help With iWeb Haloscan Comments

    I posted an earlier question on how to get the blog comments to work for my iWeb site. As it turns out, the reason I couldnt get them to work anymore is because I changed the actual blog format; i.e. I added extra html. I think this was the problem.
    Someone suggested that I use Haloscan comments on my site instead, a suggestion which I've heard a number of times. I'm not familiar however with Haloscan comments or how they work.
    Is there anyone here who's familiar with how they work, and could walk me through it step-by-step?
    I promise that I'm an educated person! Nevertheless, I apologize that I'm so dumb when it comes to getting these ridiculous comments to work.
    Thanks everyone for all the help!
    www.bullshattuck.com
    MacBook   Mac OS X (10.4.8)  

    Hi,
    1. You basically go to the haloscan site and set up a free account. There are a number of customizations but don't worry about that now....you can go back later once you get more familiar w/ what you are doing.
    http://www.haloscan.com/
    2. Get iComment as Varkgirl suggested.
    http://web.mac.com/cbrantly/iWeb/Software/iComment.html
    The iComment page will give instructions on how to install the haloscan. But the gist is:
    a. Make a textbox on your page and place the word "InsertCommentsHere" but leave off the quotation marks.
    b. publish your site.
    c. open iComment. A dialogue box will appear...press cancel.
    d. pull down iComment>preferences from the menu
    e. check haloscan area "add comments to my site" and put your Haloscan username in as prompted. Then press OK
    f. Then you will choose which site you want the comments to go....that's it...all done for you iComment makes it very easy.

  • I need your help with a decision to use iPhoto.  I have been a PC user since the mid 1980's and more recently have used ACDSee to manage my photo images and Photoshop to edit them.  I have used ProShow Gold to create slideshows.  I am comfortable with my

    I need your help with a decision to use iPhoto.  I have been a PC user since the mid 1980’s and more recently have used ACDSee to manage my photo images and Photoshop to edit them.  I have used ProShow Gold to create slideshows.  I am comfortable with my own folder and file naming conventions. I currently have over 23,000 images of which around 60% are scans going back 75 years.  Since I keep a copy of the originals, the storage requirements for over 46,000 images is huge.  180GB plus.
    I now have a Macbook Pro and will add an iMac when the new models arrive.  For my photos, I want to stay with Photoshop which also gives me the Bridge.  The only obvious reason to use iPhoto is to take advantage of Faces and the link to iMovie to make slideshows.  What am I missing and is using iPhoto worth the effort?
    If I choose to use iPhoto, I am not certain whether I need to load the originals and the edited versions. I suspect that just the latter is sufficient.  If I set PhotoShop as my external editor, I presume that iPhoto will keep track of all changes moving forward.  However, over 23,000 images in iPhoto makes me twitchy and they are appear hidden within iPhoto.  In the past, I have experienced syncing problems with, and database errors in, large databases.  If I break up the images into a number of projects, I loose the value of Faces reaching back over time.
    Some guidance and insight would be appreciated.  I have a number of Faces questions which I will save for later. 

    Bridge and Photoshop is a common file-based management system. (Not sure why you'd have used ACDSEE as well as Bridge.) In any event, it's on the way out. You won't be using it in 5 years time.
    Up to this the lack of processing power on your computer left no choice but to organise this way. But file based organisation is as sensible as organising a Shoe Warehouse based on the colour of the boxes. It's also ultimately data-destructive.
    Modern systems are Database driven. Files are managed, Images imported, virtual versions, lossless processing and unlimited editing are the way forward.
    For a Photographer Photoshop is overkill. It's an enormously powerful app, a staple of the Graphic Designers' trade. A Photographer uses maybe 15% to 20% of its capability.
    Apps like iPhoto, Lightroom, Aperture are the way forward - for photographers. There's the 20% of Photoshop that shooters actually use, coupled with management and lossless processing. Pop over to the Aperture or Lightroom forums (on the Adobe site) and one comment shows up over and over again... "Since I started using Aperture/ Lightroom I hardly ever use Photoshop any more..." and if there is a job that these apps can do, then the (much) cheaper Elements will do it.
    The change is not easy though, especially if you have a long-standing and well thought out filing system of your own. The first thing I would strongly advise is that you experiment before making any decisions. So I would create a Library, import 300 or 400 shots and play. You might as well do this in iPhoto to begin with - though if you’re a serious hobbyist or a Pro then you'll find yourself looking further afield pretty soon. iPhoto is good for the family snapper, taking shots at birthdays and sharing them with friends and family.
    Next: If you're going to successfully use these apps you need to make a leap: Your files are not your Photos.
    The illustration I use is as follows: In my iTunes Library I have a file called 'Let_it_Be_The_Beatles.mp3'. So what is that, exactly? It's not the song. The Beatles never wrote an mp3. They wrote a tune and lyrics. They recorded it and a copy of that recording is stored in the mp3 file. So the file is just a container for the recording. That container is designed in a specific way attuned to the characteristics and requirements of the data. Hence, mp3.
    Similarly, that Jpeg is not your photo, it's a container designed to hold that kind of data. iPhoto is all about the data and not about the container. So, regardless of where you choose to store the file, iPhoto will manage the photo, edit the photo, add metadata to the Photo but never touch the file. If you choose to export - unless you specifically choose to export the original - iPhoto will export the Photo into a new container - a new file containing the photo.
    When you process an image in iPhoto the file is never touched, instead your decisions are recorded in the database. When you view the image then the Master is presented with these decisions applied to it. That's why it's lossless. You can also have multiple versions and waste no disk space because they are all just listings in the database.
    These apps replace the Finder (File Browser) for managing your Photos. They become the Go-To app for anything to do with your photos. They replace Bridge too as they become a front-end for Photoshop.
    So, want to use a photo for something - Export it. Choose the format, size and quality you want and there it is. If you're emailing, uploading to websites then these apps have a "good enough for most things" version called the Preview - this will be missing some metadata.
    So it's a big change from a file-based to Photo-based management, from editing files to processing Photos and it's worth thinking it through before you decide.

  • Help with GR/IR, can't clear on MR11

    Please help with this case:
    We had a purchase with delivery cost included. We create MIGO with no problem. (Credit to GR/IR account = $60)
    We cancel the delivery cost in MR11. (Debit to GR/IR Account = $60)
    After a few months, we restore Delivery Cost in MR11SHOW (Credit to GR/IR account = $50)
    Create MIRO to freight vendor in MIRO (Debit to GR/IR account = $60)
    As you may see, now can't clear GR/IR account because there's a difference (60 vs 50) and can't use MR11 neither, I get this error:
    No data selected. Check selection parameters!!
    Message no. CKMLGRIR009
    I have tried with so many post, but can't find anything that works....
    Thanks in advance!

    Hi Mohsin.
    After we cancel the delivery cost with MR11 (let's say, in January) the freight vendor asked us for his payment (in April) and then we realised that we need to restore the delivery cost...
    What we did is cancel the MR11 document that we had created before... and there's when the difference in GR/IR was generated.....
    I hope that this comments makes a little bit clearer my explanation.
    Thanks

  • New iMac extremely slow following migration (Help  with Etre Check diagnosis)

    Hi gurus,
    New iMac - scheduled for genius bar on Friday but trying to avoid the trip.  Migrated everything over from 2009 macbook pro to 2011 macbook and now 2013 iMac.  I imagine there is a lot of cruft from the repeated migrations and am close to just wiping and migrating from scratch.  I don't know, however, how to get my old mail and other critical settings over.
    Problem is clearly in the user account.  I created a separate admin account and that runs relatively fine.  Is the below user account salvageable? Should I delete all my old permissions?  Any tips would be appreciated.  Thanks for the Etrecheck program,
    Problem description:
    Application hangs and system unresponsive in migrated user account
    EtreCheck version: 2.1.8 (121)
    Report generated February 16, 2015 at 4:48:06 PM PST
    Download EtreCheck from http://etresoft.com/etrecheck
    Click the [Click for support] links for help with non-Apple products.
    Click the [Click for details] links for more information about that line.
    Hardware Information: ℹ️
        iMac (21.5-inch, Late 2013) (Technical Specifications)
        iMac - model: iMac14,1
        1 2.7 GHz Intel Core i5 CPU: 4-core
        8 GB RAM Upgradeable
            BANK 0/DIMM0
                4 GB DDR3 1600 MHz ok
            BANK 1/DIMM0
                4 GB DDR3 1600 MHz ok
        Bluetooth: Good - Handoff/Airdrop2 supported
        Wireless:  en1: 802.11 a/b/g/n/ac
    Video Information: ℹ️
        Intel Iris Pro
            iMac 1920 x 1080
    System Software: ℹ️
        OS X 10.10.2 (14C109) - Time since boot: 4:51:57
    Disk Information: ℹ️
        APPLE HDD HTS541010A9E662 disk0 : (1 TB)
            EFI (disk0s1) <not mounted> : 210 MB
            Macintosh HD (disk0s2) / : 999.35 GB (585.74 GB free)
            Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
    USB Information: ℹ️
        TOSHIBA External USB 3.0 2 TB
            EFI (disk3s1) <not mounted> : 210 MB
            Time Capsule (disk3s2) <not mounted> : 2.00 TB
        Western Digital My Book 1130 2 TB
            EFI (disk1s1) <not mounted> : 210 MB
            ACbook (disk1s2) <not mounted> : 2.00 TB
        Centon DataStick 30.93 GB
            EFI (disk2s1) <not mounted> : 210 MB
            Install OS X Yosemite (disk2s2) /Volumes/Install OS X Yosemite : 30.59 GB (25.27 GB free)
        Apple Inc. FaceTime HD Camera (Built-in)
        Apple Inc. BRCM20702 Hub
            Apple Inc. Bluetooth USB Host Controller
    Thunderbolt Information: ℹ️
        Apple Inc. thunderbolt_bus
    Gatekeeper: ℹ️
        Mac App Store and identified developers
    Kernel Extensions: ℹ️
            /System/Library/Extensions
        [not loaded]    com.Cycling74.driver.Soundflower (1.4.2) [Click for support]
        [not loaded]    com.eltima.ElmediaPlayer.kext (1.58 - SDK 10.4) [Click for support]
        [not loaded]    com.logmein.hamachi (1.0) [Click for support]
        [not loaded]    com.seagate.driver.PowSecDriverCore (5.1.1) [Click for support]
        [not loaded]    com.wdc.driver.1394HP (1.0.7) [Click for support]
        [not loaded]    com.wdc.driver.USBHP (1.0.7) [Click for support]
        [loaded]    net.telestream.driver.TelestreamAudio (1.1.0 - SDK 10.8) [Click for support]
            /System/Library/Extensions/Seagate Storage Driver.kext/Contents/PlugIns
        [not loaded]    com.seagate.driver.PowSecLeafDriver_10_4 (5.1.1) [Click for support]
        [not loaded]    com.seagate.driver.PowSecLeafDriver_10_5 (5.1.1) [Click for support]
        [not loaded]    com.seagate.driver.SeagateDriveIcons (5.1.1) [Click for support]
    Problem System Launch Agents: ℹ️
        [killed]    com.apple.accountsd.plist
        [killed]    com.apple.AirPlayUIAgent.plist
        [killed]    com.apple.bird.plist
        [killed]    com.apple.CallHistoryPluginHelper.plist
        [killed]    com.apple.CallHistorySyncHelper.plist
        [killed]    com.apple.cloudd.plist
        [killed]    com.apple.cmfsyncagent.plist
        [killed]    com.apple.coreservices.appleid.authentication.plist
        [killed]    com.apple.coreservices.uiagent.plist
        [killed]    com.apple.iconservices.iconservicesagent.plist
        [killed]    com.apple.Maps.pushdaemon.plist
        [killed]    com.apple.nsurlsessiond.plist
        [killed]    com.apple.pluginkit.pkd.plist
        [killed]    com.apple.recentsd.plist
        [killed]    com.apple.SafariNotificationAgent.plist
        [killed]    com.apple.sbd.plist
        [killed]    com.apple.scopedbookmarkagent.xpc.plist
        [killed]    com.apple.secd.plist
        [killed]    com.apple.secinitd.plist
        [killed]    com.apple.security.cloudkeychainproxy.plist
        [killed]    com.apple.spindump_agent.plist
        [killed]    com.apple.tccd.plist
        [killed]    com.apple.telephonyutilities.callservicesd.plist
        23 processes killed due to memory pressure
    Problem System Launch Daemons: ℹ️
        [killed]    com.apple.AssetCacheLocatorService.plist
        [killed]    com.apple.awdd.plist
        [killed]    com.apple.coresymbolicationd.plist
        [killed]    com.apple.ctkd.plist
        [killed]    com.apple.diagnosticd.plist
        [killed]    com.apple.GSSCred.plist
        [killed]    com.apple.iconservices.iconservicesagent.plist
        [killed]    com.apple.iconservices.iconservicesd.plist
        [killed]    com.apple.ifdreader.plist
        [killed]    com.apple.MobileFileIntegrity.plist
        [killed]    com.apple.nehelper.plist
        [killed]    com.apple.nsurlsessiond.plist
        [killed]    com.apple.periodic-daily.plist
        [killed]    com.apple.sandboxd.plist
        [killed]    com.apple.secinitd.plist
        [killed]    com.apple.softwareupdate_download_service.plist
        [killed]    com.apple.spindump.plist
        [killed]    com.apple.sysmond.plist
        [killed]    com.apple.systemstatsd.plist
        [killed]    com.apple.tccd.system.plist
        [killed]    com.apple.wdhelper.plist
        [killed]    org.cups.cupsd.plist
        22 processes killed due to memory pressure
    Launch Agents: ℹ️
        [loaded]    com.google.keystone.agent.plist [Click for support]
        [not loaded]    com.maintain.LogOut.plist [Click for support]
        [not loaded]    com.maintain.Restart.plist [Click for support]
        [not loaded]    com.maintain.ShutDown.plist [Click for support]
        [not loaded]    com.maintain.Sleep.plist [Click for support]
        [running]    com.maintain.SystemEvents.plist [Click for support]
        [loaded]    com.oracle.java.Java-Updater.plist [Click for support]
        [running]    com.seagate.SeagateStorageGauge.plist [Click for support]
        [loaded]    org.macosforge.xquartz.startx.plist [Click for support]
    Launch Daemons: ℹ️
        [loaded]    com.adobe.fpsaud.plist [Click for support]
        [running]    com.bombich.ccchelper.plist [Click for support]
        [running]    com.crashplan.engine.plist [Click for support]
        [running]    com.eltima.ElmediaPlayer.daemon.plist [Click for support]
        [failed]    com.google.GoogleML.plist [Click for support]
        [loaded]    com.google.keystone.daemon.plist [Click for support]
        [loaded]    com.microsoft.office.licensing.helper.plist [Click for support]
        [loaded]    com.oracle.java.Helper-Tool.plist [Click for support]
        [loaded]    com.rogueamoeba.hermes.plist [Click for support]
        [failed]    com.vmware.launchd.vmware.plist [Click for support]
        [running]    com.zqueue.servetome-server.plist [Click for support]
        [loaded]    jp.co.canon.MasterInstaller.plist [Click for support]
        [loaded]    net.sourceforge.MonolingualHelper.plist [Click for support]
        [loaded]    org.macosforge.xquartz.privileged_startx.plist [Click for support]
    User Launch Agents: ℹ️
        [running]    .dat0598.40e (hidden) [Click for support]
            /usr/bin/osascript /usr/bin/osascript osascript -e tell application "Folder Actions Dispatcher" to tick
        [unknown]    .datdf56.40b (hidden) [Click for support]
        [loaded]    com.adobe.ARM.[...].plist [Click for support]
        [failed]    com.amazon.cloud-player.plist [Click for support]
        [running]    com.amazon.music.plist [Click for support]
        [running]    com.microsoft.LaunchAgent.SyncServicesAgent.plist [Click for support]
        [running]    com.mlbam.nexdef.plist [Click for support]
    User Login Items: ℹ️
        iTunesHelper    Application  (/Applications/iTunes.app/Contents/MacOS/iTunesHelper.app)
        Canon IJ Network Scanner Selector2    UNKNOWN  (missing value)
        Dropbox    Application  (/Applications/Dropbox.app)
        ACbook    UNKNOWN  (missing value)
        CrashPlan menu bar    UNKNOWN  (missing value)
        CrashPlan menu bar    Application  (/Applications/CrashPlan.app/Contents/Helpers/CrashPlan menu bar.app)
        Canon IJ Network Scanner Selector EX    Application  (/Applications/Canon Utilities/IJ Network Scanner Selector EX/Canon IJ Network Scanner Selector EX.app)
        Caffeine    UNKNOWN  (missing value)
    Internet Plug-ins: ℹ️
        EPPEX Plugin: Version: 10.0 [Click for support]
        Flash Player: Version: 16.0.0.305 - SDK 10.6 [Click for support]
        SlingPlayer: Version: Unknown - SDK 10.8 [Click for support]
        AdobePDFViewer: Version: 9.5.5 [Click for support]
        Leap Web Player: Version: LeapPlayer version 2.0.2f2 [Click for support]
        Unity Web Player: Version: UnityPlayer version 3.5.5f4 - SDK 10.6 [Click for support]
        nppanda3d: Version: Unknown [Click for support]
        googletalkbrowserplugin: Version: 5.40.2.0 - SDK 10.8 [Click for support]
        iPhotoPhotocast: Version: 7.0 - SDK 10.8
        RealPlayer Plugin: Version: Unknown [Click for support]
        QuickTime Plugin: Version: 7.7.3
        FlashPlayer-10.6: Version: 16.0.0.305 - SDK 10.6 [Click for support]
        DivXBrowserPlugin: Version: 1.4 [Click for support]
        Silverlight: Version: 4.0.60129.0 [Click for support]
        CoolirisWebKitPlugin: Version: Unknown [Click for support]
        Google Earth Web Plug-in: Version: 6.0 [Click for support]
        Default Browser: Version: 600 - SDK 10.10
        Easy-WebPrint EX: Version: 1.0.0 [Click for support]
        o1dbrowserplugin: Version: 5.40.2.0 - SDK 10.8 [Click for support]
        Flip4Mac WMV Plugin: Version: 2.3.8.1 [Click for support]
        SharePointBrowserPlugin: Version: 14.4.3 - SDK 10.6 [Click for support]
        ContentUploaderPlugin: Version: 1.2 [Click for support]
        JavaAppletPlugin: Version: Java 8 Update 31 Check version
    User internet Plug-ins: ℹ️
        Picasa: Version: 1.0 [Click for support]
    3rd Party Preference Panes: ℹ️
        RCDefaultApp
        Flash Player  [Click for support]
        Flip4Mac WMV  [Click for support]
        Java  [Click for support]
        Perian  [Click for support]
    Time Machine: ℹ️
        Skip System Files: NO
        Mobile backups: OFF
        Auto backup: NO - Auto backup turned off
        Volumes being backed up:
            Macintosh HD: Disk size: 999.35 GB Disk used: 413.60 GB
        Destinations:
            Untitled [Local]
            Total size: 0 B
            Total number of backups: 0
            Oldest backup: -
            Last backup: -
            Size of backup disk: Too small
                Backup size 0 B < (Disk used 413.60 GB X 3)
    Top Processes by CPU: ℹ️
            11%    BitdefenderVirusScanner
             7%    WindowServer
             1%    loginwindow
             0%    SystemUIServer
             0%    dpd
    Top Processes by Memory: ℹ️
        94 MB    BitdefenderVirusScanner
        60 MB    Finder
        34 MB    mds_stores
        26 MB    CrashPlanService
        26 MB    WindowServer
    Virtual Memory Information: ℹ️
        34 MB    Free RAM
        1.24 GB    Active RAM
        1.23 GB    Inactive RAM
        1.81 GB    Wired RAM
        37.21 GB    Page-ins
        1.05 GB    Page-outs
    Diagnostics Information: ℹ️
        Feb 16, 2015, 04:30:47 PM    /Users/[redacted]/Library/Logs/DiagnosticReports/BitdefenderVirusScanner_2015-0 2-16-163047_[redacted].crash
        Feb 16, 2015, 02:41:32 PM    /Library/Logs/DiagnosticReports/firefox_2015-02-16-144132_[redacted].hang
        Feb 16, 2015, 02:40:05 PM    /Users/[redacted]/Library/Logs/DiagnosticReports/garcon_2015-02-16-144005_[reda cted].crash
        Feb 16, 2015, 01:21:20 PM    /Users/[redacted]/Library/Logs/DiagnosticReports/BitdefenderVirusScanner_2015-0 2-16-132120_[redacted].crash
        Feb 16, 2015, 11:56:57 AM    /Library/Logs/DiagnosticReports/Folder Actions Dispatcher_2015-02-16-115657_[redacted].cpu_resource.diag [Click for details]
        Feb 16, 2015, 11:50:54 AM    /Library/Logs/DiagnosticReports/com.zqueue.servetome-server_2015-02-16-115054_[ redacted].crash
        Feb 16, 2015, 11:49:07 AM    Self test - passed
        Feb 16, 2015, 09:55:04 AM    /Library/Logs/DiagnosticReports/Folder Actions Dispatcher_2015-02-16-095504_[redacted].cpu_resource.diag [Click for details]
        Feb 16, 2015, 09:44:52 AM    /Library/Logs/DiagnosticReports/Folder Actions Dispatcher_2015-02-16-094452_[redacted].cpu_resource.diag [Click for details]
        Feb 15, 2015, 03:02:01 PM    /Library/Logs/DiagnosticReports/ClamXav_2015-02-15-150201_[redacted].hang
        Feb 15, 2015, 02:58:45 PM    /Users/[redacted]/Library/Logs/DiagnosticReports/garcon_2015-02-15-145845_[reda cted].crash
        Feb 15, 2015, 12:35:39 AM    /Library/Logs/DiagnosticReports/Folder Actions Dispatcher_2015-02-15-003539_[redacted].cpu_resource.diag [Click for details]
        Feb 15, 2015, 12:19:21 AM    /Library/Logs/DiagnosticReports/CrashPlanService_2015-02-15-001921_[redacted].c pu_resource.diag [Click for details]
        Feb 14, 2015, 11:45:36 PM    /Library/Logs/DiagnosticReports/Folder Actions Dispatcher_2015-02-14-234536_[redacted].cpu_resource.diag [Click for details]
        Feb 14, 2015, 07:00:58 PM    /Library/Logs/DiagnosticReports/Folder Actions Dispatcher_2015-02-14-190058_[redacted].cpu_resource.diag [Click for details]
        Feb 14, 2015, 03:54:47 PM    /Users/[redacted]/Library/Logs/DiagnosticReports/ClamXav_2015-02-14-155447_[red acted].crash
        Feb 14, 2015, 03:18:24 PM    /Library/Logs/DiagnosticReports/Folder Actions Dispatcher_2015-02-14-151824_[redacted].cpu_resource.diag [Click for details]

    Everything is included below.  Shortly before I ran the script I disabled folder actions which appeared to have a bunch of redundant and scripts that were taking close to 6-7 gigs of ram,   It'll be interesting to review the below.  Thanks Mr. Davis, you are a major resource, 
    Start time: 09:12:51 02/17/15
    Revision: 1241
    Model Identifier: iMac14,1
    System Version: OS X 10.10.2 (14C109)
    Kernel Version: Darwin 14.1.0
    Time since boot: 7:55
    UID: 501
    USB
        My Book 1130 (Western Digital Technologies, Inc.)
        External USB 3.0 (Toshiba America Info. Systems, Inc.)
        DataStick (Alcor Micro, Corp.)
    Bluetooth
        Apple Magic Mouse
        Apple Wireless Keyboard
    Activity
        CPU: user 18%, system 19%
    CPU usage (%)
        mds (UID 0): 19.5
    I/O wait time (ms/s)
        mds (UID 0): 1156
        mdworker (UID 89): 186
    I/O requests (KiB/s)
        mds (UID 0): 4892
    System errors (per sec)
        mdworker (UID 89, error 2): 158
        mds (UID 0, error 2): 149
        mds (UID 0, error 20): 116
    Trusted certs (user)
        63.197.157.203
    Firewall: On
    Listeners
        kdc: kerberos
        launchd: afpovertcp
        launchd: microsoft-ds
        launchd: printer
        launchd: ssh
    System caches/logs
        1166 MB: /Library/Caches/CrashPlan/42/cpfmf
    Diagnostic reports
        2015-02-14 ClamXav crash
        2015-02-15 ClamXav hang
        2015-02-15 garcon crash
        2015-02-16 BitdefenderVirusScanner crash x2
        2015-02-16 Kernel gpuRestart
        2015-02-16 com.zqueue.servetome-server crash
        2015-02-16 firefox hang
        2015-02-16 garcon crash
    I/O errors
        disk3s2: data underrun 1
        disk1s2: do_jnl_io: strategy err 0x6 2
    Volumes
        disk0s2: /
        disk1s2: /Volumes/Install
        disk3s2: /Volumes/ACbook
        disk2s2: /Volumes/Time
    Kernel log
        Feb 15 09:48:38 warning: loginwindow(73) performed out-of-band resume on ClamXav(2059)
        Feb 15 09:48:38 warning: loginwindow(73) performed out-of-band resume on Console(2347)
        Feb 15 09:48:38 warning: loginwindow(73) performed out-of-band resume on iTunes(2727)
        Feb 15 09:48:43 IOAudioStream[0xffffff802f3abc00]::clipIfNecessary() - Error: counted 1 clip more than one buffer ahead errors.
        Feb 15 14:53:10 warning: loginwindow(73) performed out-of-band resume on ClamXav(2059)
        Feb 15 14:56:36 warning: loginwindow(73) performed out-of-band resume on ClamXav(2059)
        Feb 16 09:39:13 utun_start: ifnet_disable_output returned error 12
        Feb 16 10:07:25 Trying restart GPU ...
        Feb 16 11:43:50 jnl: disk1s2: write_journal_header: error writing the journal header!
        Feb 16 11:43:51 jnl: disk1s2: close: journal 0xffffff802b4daa80, is invalid.  aborting outstanding transactions
        Feb 16 11:51:14 utun_start: ifnet_disable_output returned error 12
        Feb 16 11:57:11 jnl: disk1s2: write_journal_header: error writing the journal header!
        Feb 16 11:57:11 jnl: disk1s2: close: journal 0xffffff8025c1cc20, is invalid.  aborting outstanding transactions
        Feb 16 14:22:43 Limiting closed port RST response from 423 to 250 packets per second
        Feb 16 14:24:06 Limiting closed port RST response from 264 to 250 packets per second
        Feb 16 14:24:28 Limiting closed port RST response from 324 to 250 packets per second
        Feb 16 14:24:42 Limiting closed port RST response from 251 to 250 packets per second
        Feb 17 01:18:41 Sleep failure code 0x00000088 0x14006700
        Feb 17 01:18:41 System was rebooted due to Sleep/Wake failure
        Feb 17 01:18:41 Failed to open swap file 30
        Feb 17 01:18:41 vm_swap_create_file failed @ 19 secs
        Feb 17 01:18:41 USBF:    20.861    AppleUSBHubPort::FatalError - Port 1 of Hub at 0x14800000 reported error 0xe00002ed while doing getting port status (4)
        Feb 17 01:18:41 USBF:    20.861    AppleUSBHubPort::FatalError - Port 1 of Hub at 0x14800000 reported error 0xe00002c0 while doing clearing port feature (2)
        Feb 17 01:19:29 utun_start: ifnet_disable_output returned error 12
        Feb 17 08:10:16 [IOBluetoothHCIController][handleACLPacketTimeout] -- Disconnecting due to device not responding (ACL Packet timed out) for connection handle 0x40
    System log
        Feb 17 09:08:56 Finder assertion failed: 14C109: libxpc.dylib + 40320 [UUID]: 0x13
        Feb 17 09:08:56 Finder assertion failed: 14C109: libxpc.dylib + 40320 [UUID]: 0x13
        Feb 17 09:08:56 Finder assertion failed: 14C109: libxpc.dylib + 40320 [UUID]: 0x13
        Feb 17 09:08:56 Finder assertion failed: 14C109: libxpc.dylib + 40320 [UUID]: 0x13
        Feb 17 09:08:56 Finder assertion failed: 14C109: libxpc.dylib + 40320 [UUID]: 0x13
        Feb 17 09:08:56 Finder assertion failed: 14C109: libxpc.dylib + 40320 [UUID]: 0x13
        Feb 17 09:08:56 Finder assertion failed: 14C109: libxpc.dylib + 40320 [UUID]: 0x13
        Feb 17 09:08:56 Finder assertion failed: 14C109: libxpc.dylib + 40320 [UUID]: 0x13
        Feb 17 09:08:56 Finder assertion failed: 14C109: libxpc.dylib + 40320 [UUID]: 0x13
        Feb 17 09:08:56 Finder assertion failed: 14C109: libxpc.dylib + 40320 [UUID]: 0x13
        Feb 17 09:08:56 Finder assertion failed: 14C109: libxpc.dylib + 40320 [UUID]: 0x13
        Feb 17 09:08:56 Finder assertion failed: 14C109: libxpc.dylib + 40320 [UUID]: 0x13
        Feb 17 09:08:56 Finder assertion failed: 14C109: libxpc.dylib + 40320 [UUID]: 0x13
        Feb 17 09:08:56 Finder assertion failed: 14C109: libxpc.dylib + 40320 [UUID]: 0x13
        Feb 17 09:08:56 Finder assertion failed: 14C109: libxpc.dylib + 40320 [UUID]: 0x13
        Feb 17 09:08:56 Finder assertion failed: 14C109: libxpc.dylib + 40320 [UUID]: 0x13
        Feb 17 09:08:56 Finder assertion failed: 14C109: libxpc.dylib + 40320 [UUID]: 0x13
        Feb 17 09:08:56 Finder assertion failed: 14C109: libxpc.dylib + 40320 [UUID]: 0x13
        Feb 17 09:08:56 Finder assertion failed: 14C109: libxpc.dylib + 40320 [UUID]: 0x13
        Feb 17 09:08:56 Finder assertion failed: 14C109: libxpc.dylib + 40320 [UUID]: 0x13
        Feb 17 09:08:56 Finder assertion failed: 14C109: libxpc.dylib + 40320 [UUID]: 0x13
        Feb 17 09:09:31 WindowServer disable_update_timeout: UI updates were forcibly disabled by application "Safari" for over 1.00 seconds. Server has re-enabled them.
        Feb 17 09:09:31 WindowServer WSGetSurfaceInWindow : Invalid surface 687364876 for window 227
        Feb 17 09:09:37 WindowServer disable_update_timeout: UI updates were forcibly disabled by application "Safari" for over 1.00 seconds. Server has re-enabled them.
        Feb 17 09:09:38 WindowServer WSGetSurfaceInWindow : Invalid surface 1046946449 for window 227
    Console log
        Feb 17 07:47:09 nsurlstoraged The read-connection to the DB=/Users/USER/Library/Caches/com.apple.icloud.fmfd/Cache.db is NOT valid.  Unable to determine schema version.
        Feb 17 07:47:09 nsurlstoraged realpath() returned NULL for /Users/USER/Library/Caches/com.apple.icloud.fmfd
        Feb 17 07:47:09 nsurlstoraged realpath() returned NULL for /Users/USER/Library/Caches/com.apple.icloud.fmfd
        Feb 17 07:47:53 nsurlstoraged realpath() returned NULL for /Users/USER/Library/Caches/com.apple.icloud.fmfd
        Feb 17 07:47:53 nsurlstoraged The read-connection to the DB=/Users/USER/Library/Caches/com.apple.icloud.fmfd/Cache.db is NOT valid.  Unable to determine schema version.
        Feb 17 07:47:53 nsurlstoraged realpath() returned NULL for /Users/USER/Library/Caches/com.apple.icloud.fmfd
        Feb 17 07:47:53 nsurlstoraged realpath() returned NULL for /Users/USER/Library/Caches/com.apple.icloud.fmfd
        Feb 17 07:54:18 ReportCrash Invoking spindump for pid=9255 wakeups_rate=757 duration=60 because of excessive wakeups
        Feb 17 07:54:59 ReportCrash Invoking spindump for pid=9269 wakeups_rate=1144 duration=40 because of excessive wakeups
        Feb 17 08:09:53 ReportCrash Invoking spindump for pid=417 wakeups_rate=252 duration=179 because of excessive wakeups
        Feb 17 08:15:34 ReportCrash Invoking spindump for pid=9290 wakeups_rate=203 duration=222 because of excessive wakeups
        Feb 17 08:18:12 ReportCrash Invoking spindump for pid=6328 wakeups_rate=185 duration=244 because of excessive wakeups
        Feb 17 08:28:18 ReportCrash Invoking spindump for pid=9314 wakeups_rate=3955 duration=12 because of excessive wakeups
        Feb 17 08:32:28 ReportCrash Invoking spindump for pid=9321 wakeups_rate=609 duration=74 because of excessive wakeups
        Feb 17 08:36:08 ReportCrash Invoking spindump for pid=9331 wakeups_rate=573 duration=79 because of excessive wakeups
        Feb 17 08:38:36 ReportCrash Invoking spindump for pid=9348 wakeups_rate=1503 duration=30 because of excessive wakeups
        Feb 17 08:41:49 ReportCrash Invoking spindump for pid=9378 wakeups_rate=725 duration=63 because of excessive wakeups
        Feb 17 08:45:39 ReportCrash Invoking spindump for pid=9390 wakeups_rate=398 duration=114 because of excessive wakeups
        Feb 17 08:49:04 ReportCrash Invoking spindump for pid=9420 thread=174222 percent_cpu=63 duration=143 because of excessive cpu utilization
        Feb 17 08:50:57 nsurlstoraged Error: execSQLStatement:onConnection:toCompletionWithRetry - SQL=COMMIT;, error-code=1, error-message=cannot commit - no transaction is active
        Feb 17 08:51:18 mdworker Error loading /Applications/GarageBand.app/Contents/Library/Spotlight/GarageBandSpotlightImpo rter.mdimporter/Contents/MacOS/GarageBandSpotlightImporter:  dlopen(/Applications/GarageBand.app/Contents/Library/Spotlight/GarageBandSpotli ghtImporter.mdimporter/Contents/MacOS/GarageBandSpotlightImporter, 262): Library not loaded: @rpath/MAFiles.framework/Versions/A/MAFiles
         Referenced from: /Applications/GarageBand.app/Contents/Library/Spotlight/GarageBandSpotlightImpo rter.mdimporter/Contents/MacOS/GarageBandSpotlightImporter
         Reason: image not found
        Feb 17 08:51:18 mdworker Cannot find function pointer MetadataImporterPluginFactory for factory UUID in CFBundle/CFPlugIn 0x7f8b9870c650 </Applications/GarageBand.app/Contents/Library/Spotlight/GarageBandSpotlightImp orter.mdimporter> (bundle, not loaded)
        Feb 17 09:10:19 nsurlstoraged ERROR: unable to get the receiver data from the DB!
    Loaded kernel extensions
        net.telestream.driver.TelestreamAudio (1.1.0)
    Daemons
        com.adobe.fpsaud
        com.apple.AccountPolicyHelper
        com.apple.CodeSigningHelper
        com.apple.Kerberos.kdc
        - status: 1
        com.apple.MobileFileIntegrity
        com.apple.aelwriter
        com.apple.awdd
        com.apple.cache_delete
        com.apple.cfprefsd.xpc.daemon
        com.apple.coreduetd
        com.apple.coresymbolicationd
        com.apple.ctkd
        com.apple.diagnosticd
        com.apple.dpd
        - status: 75
        com.apple.icloud.findmydeviced
        com.apple.iconservices.iconservicesagent
        com.apple.iconservices.iconservicesd
        com.apple.ifdreader
        com.apple.nehelper
        com.apple.networkd_privileged
        com.apple.nsurlsessiond_privileged
        com.apple.nsurlstoraged
        com.apple.periodic-daily
        com.apple.periodic-weekly
        com.apple.sandboxd
        com.apple.secinitd
        com.apple.softwareupdate_download_service
        com.apple.softwareupdated
        com.apple.spindump
        com.apple.sysmond
        com.apple.systemstatsd
        com.apple.tccd.system
        com.apple.watchdogd
        com.apple.wdhelper
        com.bombich.ccchelper
        com.eltima.ElmediaPlayer.daemon
        com.google.GoogleML
        - status: 1
        com.google.keystone.daemon
        com.microsoft.office.licensing.helper
        com.oracle.java.Helper-Tool
        com.rogueamoeba.hermes
        com.vmware.launchd.vmware
        - status: 78
        com.zqueue.servetome-server
        jp.co.canon.MasterInstaller
        net.sourceforge.MonolingualHelper
        org.cups.cupsd
        org.macosforge.xquartz.privileged_startx
    Agents
        com.adobe.ARM.UUID
        com.amazon.cloud-player
        - status: 78
        com.amazon.music
        com.apple.Safari
        com.apple.photostream-agent
        com.google.keystone.system.agent
        com.maintain.SystemEvents
        com.microsoft.SyncServicesAgent
        com.mlbam.nexdef
        com.oracle.java.Java-Updater
        com.seagate.SeagateStorageGauge.plist
        org.macosforge.xquartz.startx
    User overrides
        com.apple.imagent.monaco
        com.apple.FTMonitor
        com.apple.apsd-ft
    User login items
        iTunesHelper
        - /Applications/iTunes.app/Contents/MacOS/iTunesHelper.app
        Canon IJ Network Scanner Selector2
        - missing value
        Dropbox
        - /Applications/Dropbox.app
        ACbook
        - /Volumes/ACbook
        CrashPlan menu bar
        - missing value
        CrashPlan menu bar
        - /Applications/CrashPlan.app/Contents/Helpers/CrashPlan menu bar.app
        Canon IJ Network Scanner Selector EX
        - /Applications/Canon Utilities/IJ Network Scanner Selector EX/Canon IJ Network Scanner Selector EX.app
        Caffeine
        - missing value
    Firefox extensions
        Mozilla Firefox hotfix
        Hide My ***! Web Proxy
        FoxyProxy Standard
        Jesper Staun Hansen
        Torrent Tornado
        Torrent Finder Toolbar
    Widgets
        iStat nano
    iCloud errors
        bird 405
        cloudd 68
        CallHistorySyncHelper 6
        Safari 4
        accountsd 2
    Continuity errors
        lsuseractivityd 8
        Safari 2
    Restricted files: 43
    Lockfiles: 22
    Accessibility
        Keyboard Zoom: On
        Scroll Zoom: On
    Contents of /Library/LaunchAgents/com.maintain.LogOut.plist
        - mod date: Feb  9 20:01:50 2015
        - checksum: 2486542021
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>Disabled</key>
        <true/>
        <key>Label</key>
        <string>com.maintain.LogOut</string>
        <key>ProgramArguments</key>
        <array>
        <string>/usr/bin/osascript</string>
        <string>-e</string>
        <string>delay 3</string>
        <string>-e</string>
        <string>try</string>
        <string>-e</string>
        <string>do shell script &quot;killall Cocktail&quot;</string>
        <string>-e</string>
        <string>end try</string>
        <string>-e</string>
        <string>ignoring application responses</string>
        <string>-e</string>
        <string>try</string>
        <string>-e</string>
        <string>tell application &quot;System Events&quot; to log out</string>
        ...and 7 more line(s)
    Contents of /Library/LaunchAgents/com.maintain.Restart.plist
        - mod date: Feb  9 19:55:16 2015
        - checksum: 1856196442
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>Disabled</key>
        <true/>
        <key>Label</key>
        <string>com.maintain.Restart</string>
        <key>ProgramArguments</key>
        <array>
        <string>/usr/bin/osascript</string>
        <string>-e</string>
        <string>delay 3</string>
        <string>-e</string>
        <string>try</string>
        <string>-e</string>
        <string>do shell script &quot;killall Cocktail&quot;</string>
        <string>-e</string>
        <string>end try</string>
        <string>-e</string>
        <string>ignoring application responses</string>
        <string>-e</string>
        <string>try</string>
        <string>-e</string>
        <string>tell application &quot;System Events&quot; to restart</string>
        ...and 7 more line(s)
    Contents of /Library/LaunchAgents/com.maintain.ShutDown.plist
        - mod date: Feb  9 19:55:17 2015
        - checksum: 2131448796
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>Disabled</key>
        <true/>
        <key>Label</key>
        <string>com.maintain.ShutDown</string>
        <key>ProgramArguments</key>
        <array>
        <string>/usr/bin/osascript</string>
        <string>-e</string>
        <string>delay 3</string>
        <string>-e</string>
        <string>try</string>
        <string>-e</string>
        <string>do shell script &quot;killall Cocktail&quot;</string>
        <string>-e</string>
        <string>end try</string>
        <string>-e</string>
        <string>ignoring application responses</string>
        <string>-e</string>
        <string>try</string>
        <string>-e</string>
        <string>tell application &quot;System Events&quot; to shut down</string>
        ...and 7 more line(s)
    Contents of /Library/LaunchAgents/com.maintain.Sleep.plist
        - mod date: Feb  9 20:01:53 2015
        - checksum: 2684026111
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>Disabled</key>
        <true/>
        <key>Label</key>
        <string>com.maintain.Sleep</string>
        <key>ProgramArguments</key>
        <array>
        <string>/usr/bin/osascript</string>
        <string>-e</string>
        <string>delay 3</string>
        <string>-e</string>
        <string>try</string>
        <string>-e</string>
        <string>do shell script &quot;killall Cocktail&quot;</string>
        <string>-e</string>
        <string>end try</string>
        <string>-e</string>
        <string>ignoring application responses</string>
        <string>-e</string>
        <string>try</string>
        <string>-e</string>
        <string>tell application &quot;System Events&quot; to sleep</string>
        ...and 7 more line(s)
    Contents of /Library/LaunchAgents/com.maintain.SystemEvents.plist
        - mod date: Feb  9 19:55:17 2015
        - checksum: 1297325733
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>Disabled</key>
        <false/>
        <key>KeepAlive</key>
        <true/>
        <key>Label</key>
        <string>com.maintain.SystemEvents</string>
        <key>ProgramArguments</key>
        <array>
        <string>/System/Library/CoreServices/System Events.app/Contents/MacOS/System Events</string>
        </array>
        <key>RunAtLoad</key>
        <true/>
        </dict>
        </plist>
    Contents of /Library/LaunchAgents/com.oracle.java.Java-Updater.plist
        - mod date: Feb  6 15:45:52 2015
        - checksum: 655956191
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>Label</key>
        <string>com.oracle.java.Java-Updater</string>
        <key>ProgramArguments</key>
        <array>
        <string>/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Resources/Java Updater.app/Contents/MacOS/Java Updater</string>
        <string>-bgcheck</string>
        </array>
        <key>StandardErrorPath</key>
        <string>/dev/null</string>
        <key>StandardOutPath</key>
        <string>/dev/null</string>
        <key>StartCalendarInterval</key>
        <dict>
        <key>Hour</key>
        <integer>17</integer>
        <key>Minute</key>
        <integer>49</integer>
        <key>Weekday</key>
        <integer>1</integer>
        </dict>
        </dict>
        ...and 1 more line(s)
    Contents of /Library/LaunchAgents/com.seagate.SeagateStorageGauge.plist
        - mod date: Mar 10 08:38:47 2010
        - checksum: 3262128215
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <!--
           com.seagate.SeagateStorageGauge.plist
           SeagateDiagnostics
           Created by John Brisbin on 3/10/10.
           Copyright 2010 Seagate Technologies LLC.. All rights reserved.
        -->
        <plist version="1.0">
        <dict>
        <key>KeepAlive</key>
        <true/>
        <key>Label</key>
        <string>com.seagate.SeagateStorageGauge.plist</string>
        <key>LimitLoadToSessionType</key>
        <string>Aqua</string>
        <key>OnDemand</key>
        <false/>
        <key>ProgramArguments</key>
        <array>
        <string>/Library/Application Support/Seagate/Seagate Storage Gauge.app/Contents/MacOS/Seagate Storage Gauge</string>
        <string>-doautolnch</string>
        <string>/Library/Application Support/Seagate/Seagate Storage Gauge.app</string>
        </array>
        <key>RunAtLoad</key>
        ...and 3 more line(s)
    Contents of /Library/LaunchDaemons/com.bombich.ccchelper.plist
        - mod date: Feb  6 13:35:20 2015
        - checksum: 495358405
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>Label</key>
        <string>com.bombich.ccchelper</string>
        <key>MachServices</key>
        <dict>
        <key>com.bombich.ccchelper</key>
        <true/>
        </dict>
        <key>Program</key>
        <string>/Library/PrivilegedHelperTools/com.bombich.ccchelper</string>
        <key>ProgramArguments</key>
        <array>
        <string>/Library/PrivilegedHelperTools/com.bombich.ccchelper</string>
        </array>
        <key>RunAtLoad</key>
        <true/>
        </dict>
        </plist>
    Contents of /Library/LaunchDaemons/com.crashplan.engine.plist
        - mod date: Jan 10 11:46:36 2015
        - checksum: 757054163
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>Label</key>
        <string>com.crashplan.engine</string>
        <key>UserName</key>
        <string>root</string>
        <key>GroupName</key>
        <string>wheel</string>
        <key>Nice</key>
        <integer>20</integer>
        <key>KeepAlive</key>
        <true/>
        <key>OnDemand</key>
        <false/>
        <key>RunAtLoad</key>
        <true/>
        <key>AbandonProcessGroup</key>
        <true/>
        <key>WorkingDirectory</key>
        <string>/Applications/CrashPlan.app/Contents/Resources/Java</string>
        <key>ProgramArguments</key>
        <array>
        <string>/Applications/CrashPlan.app/Contents/MacOS/CrashPlanService</string>
        ...and 26 more line(s)
    Contents of /Library/LaunchDaemons/com.eltima.ElmediaPlayer.daemon.plist
        - mod date: Oct  9 06:40:45 2012
        - checksum: 1274124936
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>Disabled</key>
        <false/>
        <key>KeepAlive</key>
        <false/>
        <key>Label</key>
        <string>com.eltima.ElmediaPlayer.daemon</string>
        <key>LaunchOnlyOnce</key>
        <true/>
        <key>OnDemand</key>
        <false/>
        <key>ProgramArguments</key>
        <array>
        <string>/Library/Application Support/ElmediaPlayer/empdaemon</string>
        </array>
        <key>RunAtLoad</key>
        <true/>
        </dict>
        </plist>
    Contents of /Library/LaunchDaemons/com.google.GoogleML.plist
        - mod date: Mar 10 10:19:30 2008
        - checksum: 315725308
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>Label</key>
        <string>com.google.GoogleML</string>
        <key>OnDemand</key>
        <true/>
        <key>ProgramArguments</key>
        <array>
        <string>/Library/Google/GoogleML/GoogleML.bundle/Contents/MacOS/googleml-modwat ch</string>
        </array>
        <key>RunAtLoad</key>
        <true/>
        <key>StandardOutPath</key>
        <string>/dev/null</string>
        <key>UserName</key>
        <string>root</string>
        <key>WatchPaths</key>
        <array>
        <string>/Library/Google/GoogleML/Modules</string>
        <string>/Library/Google/GoogleML</string>
        </array>
        </dict>
        </plist>
    Contents of /Library/LaunchDaemons/com.rogueamoeba.hermes.plist
        - mod date: Jul 15 21:05:58 2008
        - checksum: 1539233627
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>GroupName</key>
        <string>wheel</string>
        <key>Label</key>
        <string>com.rogueamoeba.hermes</string>
        <key>ProgramArguments</key>
        <array>
        <string>/usr/local/hermes/bin/hermesctl</string>
        <string>update</string>
        </array>
        <key>RunAtLoad</key>
        <true/>
        <key>ServiceIPC</key>
        <true/>
        <key>UserName</key>
        <string>root</string>
        <key>WatchPaths</key>
        <array>
        <string>/usr/local/hermes/modules</string>
        </array>
        </dict>
        </plist>
    Contents of /Library/LaunchDaemons/com.vmware.launchd.vmware.plist
        - mod date: Nov  2 16:11:08 2007
        - checksum: 1467462916
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
                "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
                <key>Label</key>
                <string>com.vmware.launchd.vmware</string>
                <key>ProgramArguments</key>
                <array>
                        <string>/Library/Application Support/VMware Fusion/boot.sh</string>
                        <string>--start</string>
                </array>
                <key>RunAtLoad</key>
                <true/>
        </dict>
        </plist>
    Contents of /Library/LaunchDaemons/com.zqueue.servetome-server.plist
        - mod date: Sep 22 07:54:14 2014
        - checksum: 1392131937
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>KeepAlive</key>
        <dict>
        <key>PathState</key>
        <dict>
        <key>/Library/Application Support/ServeToMe/incoming/settings.xml</key>
        <true/>
        </dict>
        <key>SuccessfulExit</key>
        <false/>
        </dict>
        <key>Label</key>
        <string>com.zqueue.servetome-server</string>
        <key>ProgramArguments</key>
        <array>
        <string>/Library/PrivilegedHelperTools/com.zqueue.servetome-server</string>
        </array>
        <key>RunAtLoad</key>
        <true/>
        <key>ThrottleInterval</key>
        <integer>5</integer>
        </dict>
        ...and 1 more line(s)
    Contents of /Library/LaunchDaemons/jp.co.canon.MasterInstaller.plist
        - mod date: Nov 11 12:21:11 2014
        - checksum: 4111951265
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>Label</key>
        <string>jp.co.canon.MasterInstaller</string>
        <key>Program</key>
        <string>/Library/PrivilegedHelperTools/jp.co.canon.MasterInstaller</string>
        <key>ProgramArguments</key>
        <array>
        <string>/Library/PrivilegedHelperTools/jp.co.canon.MasterInstaller</string>
        </array>
        <key>ServiceIPC</key>
        <true/>
        <key>Sockets</key>
        <dict>
        <key>MasterSocket</key>
        <dict>
        <key>SockFamily</key>
        <string>Unix</string>
        <key>SockPathMode</key>
        <integer>438</integer>
        <key>SockPathName</key>
        <string>/var/run/jp.co.canon.MasterInstaller.socket</string>
        <key>SockType</key>
        ...and 5 more line(s)
    Contents of /Library/LaunchDaemons/net.sourceforge.MonolingualHelper.plist
        - mod date: Sep 16 12:53:32 2012
        - checksum: 4229206510
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>Label</key>
        <string>net.sourceforge.MonolingualHelper</string>
        <key>MachServices</key>
        <dict>
        <key>net.sourceforge.MonolingualHelper</key>
        <true/>
        </dict>
        <key>ProgramArguments</key>
        <array>
        <string>/Library/PrivilegedHelperTools/net.sourceforge.MonolingualHelper</strin g>
        </array>
        </dict>
        </plist>
    Contents of /System/Library/Security/authorization.plist
        - mod date: Jan  7 19:31:13 2015
        - checksum: 2720110640
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>comment</key>
        <string>The name of the requested right is matched against the keys.  An exact match has priority, otherwise the longest match from the start is used. Note that the right will only match wildcard rules (ending in a ".") during this reduction.
        allow rule: this is always allowed
        &lt;key&gt;com.apple.TestApp.benign&lt;/key&gt;
        &lt;string&gt;allow&lt;/string&gt;
        deny rule: this is always denied
        &lt;key&gt;com.apple.TestApp.dangerous&lt;/key&gt;
        &lt;string&gt;deny&lt;/string&gt;
        user rule: successful authentication as a user in the specified group(5) allows the associated right.
        The shared property specifies whether a credential generated on success is shared with other apps (i.e., those in the same "session"). This property defaults to false if not specified.
        The timeout property specifies the maximum age of a (cached/shared) credential accepted for this rule.
        The allow-root property specifies whether a right should be allowed automatically if the requesting process is running with uid == 0.  This defaults to false if not specified.
        See remaining rules for examples.
        </string>
        <key>rights</key>
        <dict>
        <key></key>
        <dict>
        <key>class</key>
        <string>rule</string>
        <key>comment</key>
        ...and 1850 more line(s)
    Contents of /private/etc/authorization.deprecated
        - mod date: Sep 30 13:39:21 2013
        - checksum: 2773682028
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>comment</key>
        <string>The name of the requested right is matched against the keys.  An exact match has priority, otherwise the longest match from the start is used. Note that the right will only match wildcard rules (ending in a ".") during this reduction.
        allow rule: this is always allowed
        &lt;key&gt;com.apple.TestApp.benign&lt;/key&gt;
        &lt;string&gt;allow&lt;/string&gt;
        deny rule: this is always denied
        &lt;key&gt;com.apple.TestApp.dangerous&lt;/key&gt;
        &lt;string&gt;deny&lt;/string&gt;
        user rule: successful authentication as a user in the specified group(5) allows the associated right.
        The shared property specifies whether a credential generated on success is shared with other apps (i.e., those in the same "session"). This property defaults to false if not specified.
        The timeout property specifies the maximum age of a (cached/shared) credential accepted for this rule.
        The allow-root property specifies whether a right should be allowed automatically if the requesting process is running with uid == 0.  This defaults to false if not specified.
        See remaining rules for examples.
        </string>
        <key>rights</key>
        <dict>
        <key></key>
        <dict>
        <key>class</key>
        <string>rule</string>
        <key>comment</key>
        ...and 9729 more line(s)
    Contents of /private/etc/ssh_config
        - mod date: Oct  1 12:06:10 2012
        - checksum: 1281775184
         Host *
           SendEnv LANG LC_*
        Host *
            XAuthLocation /opt/X11/bin/xauth
    Contents of Library/LaunchAgents/com.adobe.ARM.UUID.plist
        - mod date: Aug 21 15:00:01 2010
        - checksum: 2170691092
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>Label</key>
        <string>com.adobe.ARM.UUID</string>
        <key>ProgramArguments</key>
        <array>
        <string>/Applications/Adobe Reader 9/Adobe Reader.app/Contents/MacOS/Updater/Adobe Reader Updater Helper.app/Contents/MacOS/Adobe Reader Updater Helper</string>
        </array>
        <key>RunAtLoad</key>
        <true/>
        <key>StartInterval</key>
        <integer>12600</integer>
        </dict>
        </plist>
    Contents of Library/LaunchAgents/com.amazon.cloud-player.plist
        - mod date: Feb 22 10:43:22 2014
        - checksum: 2707474481
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>EnableTransactions</key>
        <false/>
        <key>KeepAlive</key>
        <true/>
        <key>Label</key>
        <string>com.amazon.cloud-player</string>
        <key>Program</key>
        <string>/Applications/Amazon Cloud Player.app/Contents/MacOS/Amazon Music Helper</string>
        <key>RunAtLoad</key>
        <true/>
        </dict>
        </plist>
    Contents of Library/LaunchAgents/com.amazon.music.plist
        - mod date: Jan 12 15:51:16 2015
        - checksum: 3668832669
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>EnableTransactions</key>
        <false/>
        <key>KeepAlive</key>
        <true/>
        <key>Label</key>
        <string>com.amazon.music</string>
        <key>Program</key>
        <string>/Applications/Amazon Music.app/Contents/MacOS/Amazon Music Helper</string>
        <key>RunAtLoad</key>
        <true/>
        </dict>
        </plist>
    Contents of Library/LaunchAgents/com.apple.FolderActions.folders.plist
        - mod date: Feb 17 09:08:58 2015
        - checksum: 1189540302
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>Label</key>
        <string>com.apple.FolderActions.folders</string>
        <key>Program</key>
        <string>/usr/bin/osascript</string>
        <key>ProgramArguments</key>
        <array>
        <string>osascript</string>
        <string>-e</string>
        <string>tell application "Folder Actions Dispatcher" to tick</string>
        </array>
        <key>WatchPaths</key>
        <array/>
        </dict>
        </plist>
    Contents of Library/LaunchAgents/com.apple.SafariBookmarksSyncer.plist
        - mod date: Jul 31 12:13:01 2010
        - checksum: 2859079559
        <?xml version="1.0" encoding="UTF-8"?>
        <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
        <plist version="1.0">
        <dict>
        <key>Label</key>
        <string>com.apple.Safari</string>
        <key>LimitLoadToSessionType</key>
        <string>Aqua</string>
        <key>ProgramArguments</key>
        <array>
        <string>/Applications/Safari.app/Contents/SafariSyncClient.app/Contents/MacOS/S afariSyncClient</string>
        <string>--sync</string>
        <string>com.apple.Safari</string>
        <string>--entitynames</string>
        <string>com.apple.bookmarks.Bookmark,com.apple.bookmarks.Folder</string>
        </array>
        <key>RunAtLoad</key>
        <false/>
        <key>ThrottleInterval</key>
        <integer>60</integer>
        <key>WatchPaths</key>
        <array>
        <string>/Users/USER/Library/Safari/Bookmarks.plist</string>
        </array>
        </dict>
        ...and 1 more line(s)
    Contents of Library/LaunchAgents/com.microsoft.LaunchAgent.SyncServicesAgent.plist
        - mod date: Feb 17 01:22:03 2015

  • New to Java and need help with this program..please!

    I'd really appreciate any helpful comments about this program assignment that I have to turn in a week from Friday. I'm taking a class one night a week and completely new to Java. I'd ask my professor for help, but we can't call him during the week and he never answers e-mails. He didn't tell us how to call from other classes yet, and I just can't get the darn thing to do what I want it to do!
    The assignment requirements are:
    1. Change a card game application that draws two cards
    and the higher card wins, to a Blackjack application
    2. Include a new class called Hand
    3. The Hand class should record the number of draws
    4. The application should prompt for a number of draws
    5. The game is played against the Dealer
    6. The dealer always draws a card if the dealer's hand total is <= 17
    7. Prompt the player after each hand if he wants to quit
    8. Display the total games won by the dealer and total and the total games wond by the player after each hand
    9. Display all of the dealer's and player's cards at the
    end of each hand
    10. Player has the option of drawing an additional card after the first two cards
    11. The Ace can have a value of 11 or 1
    (Even though it's not called for in the requirements, I would like to be able to let the Ace have a value of 1 or an 11)
    The following is my code with some comments about a few things that are driving me nuts:
    import java.util.*;
    import javax.swing.*;
    import java.text.*;
    public class CardDeck
    public CardDeck()
    deck = new Card[52];
    fill();
    shuffle();
    public void fill()
    int i;
    int j;
    for (i = 1; i <= 13; i++)
    for (j = 1; j <= 4; j++)
    deck[4 * (i - 1) + j - 1] = new Card(i, j);
    cards = 52;
    public void shuffle()
    int next;
    for (next = 0; next < cards - 1; next++)
    int rand = (int)(Math.random()*(next+1));
    Card temp = deck[next];
    deck[next] = deck[rand];
    deck[rand] = temp;
    public final Card draw()
    if (cards == 0)
    return null;
    cards--;
    return deck[cards];
    public int changeValue()
    int val = 0;
    boolean ace = false;
    int cds;
    for (int i = 0; i < cards; i++)
    if (cardValue > 10)
    cardValue = 10;
    if (cardValue ==1)     {
    ace = true;
    val = val + cardValue;
    if ( ace = true && val + 10 <= 21 )
    val = val + 10;
    return val;
    public static void main(String[] args)
    CardDeck d = new CardDeck();
    int x = 3;
    int i;
    int wins = 1;
    int playerTotal = 1;
    do {
    Card dealer = (d.draw());
    /**I've tried everything I can think of to call the ChangeValue() method after I draw the card, but nothing is working for me.**/
    System.out.println("Dealer draws: " + dealer);
    do {
    dealer = (d.draw());
    System.out.println(" " + dealer);
    }while (dealer.rank() <= 17);
    Card mine = d.draw();
    System.out.println("\t\t\t\t Player draws: "
    + mine);
    mine = d.draw();
    System.out.println("\t\t\t\t\t\t" + mine);
    do{
    String input = JOptionPane.showInputDialog
    ("Would you like a card? ");
    if(input.equalsIgnoreCase("yes"))
         mine = d.draw();
    System.out.println("\t\t\t\t\t\t" + mine);
         playerTotal++;
         else if(input.equalsIgnoreCase("no"))
    System.out.println("\t\t\t\t Player stands");
         else
    System.out.println("\t\tInvalid input.
    Please try again.");
    I don't know how to go about making and calling a method or class that will combine the total cards delt to the player and the total cards delt to the dealer. The rank() method only seems to give me the last cards drawn to compare with when I try to do the tests.**/
    if ((dealer.rank() > mine.rank())
    && (dealer.rank() <= 21)
    || (mine.rank() > 21)
    && (dealer.rank() < 22)
    || ((dealer.rank() == 21)
    && (mine.rank() == 21))
    || ((mine.rank() > 21)
    && (dealer.rank() <= 21)))
    System.out.println("Dealer wins");
    wins++;
         else
    System.out.println("I win!");
    break;
    } while (playerTotal <= 1);
    String stop = JOptionPane.showInputDialog
    ("Would you like to play again? ");
    if (stop.equalsIgnoreCase("no"))
    break;
    if (rounds == 5)
    System.out.println("Player wins " +
    (CardDeck.rounds - wins) + "rounds");
    } while (rounds <= 5);
    private Card[] deck;
    private int cards;
    public static int rounds = 1;
    public int cardValue;
    /**When I try to compile this nested class, I get an error message saying I need a brace here and at the end of the program. I don't know if any of this code would work because I've tried adding braces and still can't compile it.**/
    class Hand()
    static int r = 1;
    public Hand() { CardDeck.rounds = r; }
    public int getRounds() { return r++; }
    final class Card
    public static final int ACE = 1;
    public static final int JACK = 11;
    public static final int QUEEN = 12;
    public static final int KING = 13;
    public static final int CLUBS = 1;
    public static final int DIAMONDS = 2;
    public static final int HEARTS = 3;
    public static final int SPADES = 4;
    public Card(int v, int s)
    value = v;
    suit = s;
    public int getValue() { return value; }
    public int getSuit() { return suit;  }
    public int rank()
    if (value == 1)
    return 4 * 13 + suit;
    else
    return 4 * (value - 1) + suit;
    /**This works, but I'm confused. How is this method called? Does it call itself?**/
    public String toString()
    String v;
    String s;
    if (value == ACE)
    v = "Ace";
    else if (value == JACK)
    v = "Jack";
    else if (value == QUEEN)
    v = "Queen";
    else if (value == KING)
    v = "King";
    else
    v = String.valueOf(value);
    if (suit == DIAMONDS)
    s = "Diamonds";
    else if (suit == HEARTS)
    s = "Hearts";
    else if (suit == SPADES)
    s = "Spades";
    else
    s = "Clubs";
    return v + " of " + s;
    private int value; //Value is an integer, so how can a
    private int suit; //string be assigned to an integer?
    }

    Thank you so much for offering to help me with this Jamie! When I tried to call change value using:
    Card dealer = (d.changeValue());
    I get an error message saying:
    Incompatible types found: int
    required: Card
    I had my weekly class last night and the professor cleared up a few things for me, but I've not had time to make all of the necessary changes. I did find out how toString worked, so that's one question out of the way, and he gave us a lot of information for adding another class to generate random numbers.
    Again, thank you so much. I really want to learn this but I'm feeling so stupid right now. Any help you can give me about the above error message would be appreciated.

  • Need help with overlapping divs!

    Hey everyone,
    I'm working on another website and I have come up against a common problem for newbie designers from what I hear, the dreaded overlapping div problem!  I have a 2 column fixed layout with a floating left div.  My left div has my nav bar and various images.  When my main content div has more content than the left floating div, the left div border does not reach the footer!  Until now, I have gotten by with just hitting return in my left column div until it reaches the footer.  I am sure it is not the right way to do it but it has worked so far.  The problem is, now one of the pages has the left column div overlapping onto the footer!  I did some reading and I am guessing it involves either the box properties or clear float which I am not too familiar with.
    Any advice would be stellar!  I know this is just another stumbling block to get over but I would feel so much better if I was doing it the right way. 
    Here are screens of my issue,
    And here is my code for the page in question.
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link rel="shortcut icon" href="http://www.xldesignsonline.com/fchi/favicon.ico">
    <title>Full Circle Home Inspections</title>
    <link href="_css/main.css" rel="stylesheet" type="text/css" /><!--[if IE 5]>
    <style type="text/css">
    /* place css box model fixes for IE 5* in this conditional comment */
    .twoColFixLtHdr #sidebar1 { width: 230px; }
    </style>
    <![endif]--><!--[if IE]>
    <style type="text/css">
    /* place css fixes for all versions of IE in this conditional comment */
    .twoColFixLtHdr #sidebar1 { padding-top: 30px; }
    .twoColFixLtHdr #mainContent { zoom: 1; }
    /* the above proprietary zoom property gives IE the hasLayout it needs to avoid several bugs */
    </style>
    <![endif]-->
    <style type="text/css">
    <!--
    body {
         background-color: #FFF;
    .paragraphLead {
         font-size: 110%;
         font-weight: bold;
    a:link {
         text-decoration: none;
         color: #CF0;
    a:visited {
         text-decoration: none;
    a:hover {
         text-decoration: none;
    a:active {
         text-decoration: none;
    #apDiv1 {
         position:absolute;
         width:236px;
         height:157px;
         z-index:1;
         left: 692px;
         top: 372px;
    #apDiv2 {
         position:absolute;
         width:200px;
         height:192px;
         z-index:2;
         left: 697px;
         top: 1443px;
    #apDiv3 {
         position:absolute;
         width:158px;
         height:204px;
         z-index:2;
         left: 643px;
         top: 1502px;
    -->
    </style>
    <script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
    </head>
    <body class="twoColFixLtHdr">
    <div id="container">
      <div id="header">
        <h1><!-- end #header -->
      </h1></div>
      <div id="sidebar1">
        <h3 align="center">
          <object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="200" height="620">
            <param name="movie" value="_assets/menu.swf" />
            <param name="quality" value="high" />
            <param name="wmode" value="opaque" />
            <param name="swfversion" value="6.0.65.0" />
            <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
            <param name="expressinstall" value="Scripts/expressInstall.swf" />
            <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
            <!--[if !IE]>-->
            <object type="application/x-shockwave-flash" data="_assets/menu.swf" width="200" height="620">
              <!--<![endif]-->
              <param name="quality" value="high" />
              <param name="wmode" value="opaque" />
              <param name="swfversion" value="6.0.65.0" />
              <param name="expressinstall" value="Scripts/expressInstall.swf" />
              <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
              <div>
                <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
                <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
              </div>
              <!--[if !IE]>-->
            </object>
            <!--<![endif]-->
          </object>
        </h3>
        <p align="center"> </p>
        <p align="center"> </p>
        <p align="center"><a href="http://www.nachi.org/"><img src="_images/interNACHI.png" alt="InterNACHI" width="190" height="164" border="0" /></a></p>
        <p align="center"> </p>
        <p align="center"> </p>
        <p align="center"><a href="http://www.nachi.org/education.htm"><img src="_images/education-seal-small.gif" alt="education seal" width="150" height="150" border="0" /></a></p>
        <p align="center"> </p>
        <p align="center"> </p>
        <p align="center"><a href="http://www.iac2.org/"><img src="_images/iac2-all.gif" width="174" height="126" alt="IAC" /></a></p>
        <p align="center"> </p>
        <p align="center"> </p>
        <p align="center"><a href="http://www.inspectopia.com/profile.b.507.r.16181.u.03bcfb.html"><img src="_images/logo_top.png" alt="Inspectopedia" width="190" height="45" border="0" /></a></p>
        <p align="center"> </p>
        <p align="center"> </p>
        <p align="center"><a href="http://www.energystar.gov/"><img src="_images/img_energy_star_partner.jpg" width="160" height="191" alt="Energy Star Partner" /></a></p>
        <p align="center"> </p>
        <p align="center"> </p>
        <p align="center"><a href="http://cjenterprises.myshaklee.com/us/en/welcome.html#"><img src="_images/Shaklee.gif" alt="Shaklee" width="119" height="160" border="0" /></a></p>
        <p align="center"> </p>
        <p align="center"> </p>
        <p align="center"><a href="http://activerain.com/"><img src="_images/ARLogoSmall.gif" alt="Active Rain" width="135" height="36" border="0" /></a></p>
        <p align="center"> </p>
        <p align="center"> </p>
        <p align="center"><a href="http://www.insiderpages.com/b/15246780294"><img src="_images/insider_pages.gif" alt="Insider Pages" width="89" height="37" border="0" /></a></p>
    <p align="center"> </p>
        <p align="center"> </p>
        <p align="center"> </p>
        <p align="center"> </p>
        <p align="center"> </p>
        <p align="center"> </p>
        <p align="center"> </p>
        <p align="center"> </p>
        <p align="center"> </p>
        <p align="center"> </p>
        <p align="center"> </p>
        <p align="center"> </p>
        <p align="center"> </p>
        <p align="center"> </p>
        <p align="center"> </p>
        <p align="center"> </p>
        <p align="center"> </p>
        <p align="center"> </p>
        <p align="center"> </p>
        <p align="center"> </p>
        <p align="center"> </p>
        <p align="center"> </p>
        <p align="center"> </p>
        <p align="center"> </p>
        <p align="center"> </p>
        <p align="center"> </p>
        <p align="center"> </p>
        <p align="center"> </p>
        <p align="center"> </p>
        <p align="center"> </p>
      </div>
      <div id="mainContent">
        <h2>Radon Gas Inspection</h2>
        <div id="paragraphFloat">
          <h5>What Is Radon?</h5>
          <p> Radon is a cancer causing radioactive gas. You cannot see, smell or taste radon, but it may be a problem in your home. The Surgeon General has warned that radon is the second leading cause of lung cancer in the United States today. </p>
          <div id="apDiv1">
        <div align="center"><a href="http://www.epa.gov/radon/video/epa-epu.wmv"><img src="_images/psa_revised.jpg" alt="What Is Radon?" width="200" height="172" border="0" /></a></div></div></div>
        <p>If you smoke and your home has high radon levels, you're at high risk for developing lung cancer. Some scientific studies of radon exposure indicate that children may be more sensitive to radon. This may be due to their higher respiration rate and their rapidly dividing cells, which may be more vulnerable to radiation damage. </p>
    <p> </p>
        <h5>Why Is It Dangerous?</h5>
    <p> The U.S. Environmental Protection Agency (US EPA) and the Surgeon General's Office have estimated that as many as 20,000 lung cancer deaths are caused each year by radon. Radon is the second leading cause of lung cancer. Radon-induced lung cancer costs the United States over $2 billion dollars per year in both direct and indirect health care costs.</p>
    <p>According to the US EPA, nearly 1 in 3 homes checked in seven states and on three Indian lands had screening levels over 4 pCi/L, the EPA's recommended action level for radon exposure.</p>
    <p>The alpha radiation emitted by radon is the same alpha radiation emitted by other alpha generating radiation sources such as plutonium.</p>
    <p>A family whose home has radon levels of 4 pCi/l is exposed to approximately 35 times as much radiation as the Nuclear Regulatory Commission would allow if that family was standing next to the fence of a radioactive waste site. (25 mrem limit, 800 mrem exposure)</p>
    <p> At the 4 pCi/l EPA action guideline level, radon carries approximately 1000 times the risk of death as any other EPA carcinogen. It is important to note that the action level is not a safe level, as there are no &quot;safe&quot; levels of radon gas.</p>
    <p> </p>
    <h5>How Does It Get Into My Home?</h5>
    <p> Radon is a radioactive gas. It comes from the natural decay of uranium that is found in nearly all soils. It typically moves up through the ground to the air above and into your home through cracks and other holes in the foundation. Your home traps radon inside, where it can build up. Any home may have a radon problem. This means new and old homes, well-sealed and drafty homes, and homes with or without basements.</p>
    <p> Radon from soil gas is the main cause of radon problems. Sometimes radon enters the home through well water. In a small number of homes, the building materials can give off radon, too. However, building materials rarely cause radon problems by themselves.</p>
    <p><strong>Radon gets in through:</strong></p>
    <ul>
      <li>Cracks in solid floors
        <div id="apDiv3">
          <div align="center"><a href="http://www.fullcirclehomeinspections.com/_assets/CitizensGuideRadon.pdf"><img src="_images/citguidecoverradon.jpg" alt="Guide To Radon" width="154" height="200" border="0" /></a></div>
        </div>
      </li>
      <li>Construction joints</li>
      <li>Cracks in walls</li>
      <li>Gaps in suspended floors</li>
      <li>Gaps around service pipes</li>
      <li>Cavities inside walls</li>
      <li>Surrounding water supply</li>
    </ul>
    <p> </p>
    <h5>What Can I Do?</h5>
    <p> Radon is a national environmental health problem. Elevated radon levels have been discovered in every state. The US EPA estimates that as many as 8 million homes throughout the country have elevated levels of radon. Current state surveys show that 1 home in 5 has elevated radon levels.</p>
    <p> Testing is the only way to know your home's radon levels. There are no immediate symptoms that will alert you to the presence of radon. It typically takes years of exposure before any problems surface. </p>
    <p>Let <strong>Full Circle Home Inspections</strong> ensure your family and your home are protected and safe from radon exposure!</p>
    <p> </p>
    <h5>Radon Myths</h5>
    <p><strong><em>MYTH:</em> Scientists are not sure that radon really is a problem.</strong></p>
    <blockquote>
      <p><strong><em>FACT:</em></strong> Although some scientists dispute the precise number of deaths due to radon, all the major health organizations (like the Centers for Disease Control and Prevention, the American Lung Association and the American Medical Association) agree with estimates that radon causes thousands of preventable lung cancer deaths every year. This is especially true among smokers, since the risk to smokers is much greater than to non-smokers.</p>
    </blockquote>
    <p><strong><em>MYTH:</em> Radon testing is difficult, time-consuming and expensive.</strong></p>
    <blockquote>
      <p><strong><em>FACT:</em></strong> Radon testing is easy. You can test your home yourself or hire a qualified radon test company. Either approach takes only a small amount of time and effort.</p>
    </blockquote>
    <p><strong><em>MYTH:</em> Homes with radon problems can't be fixed.</strong></p>
    <blockquote>
      <p><strong><em>FACT:</em></strong> There are simple solutions to radon problems in homes. Hundreds of thousands of homeowners have already fixed radon problems in their homes. Most homes can be fixed for about the same cost as other common home repairs; check with one or more qualified mitigators. Call your <a href="http://www.epa.gov/radon/whereyoulive.html">state radon office</a> for help in identifying qualified mitigation contractors.</p>
    </blockquote>
    <p><strong><em>MYTH:</em> Radon affects only certain kinds of homes.</strong></p>
    <blockquote>
      <p><strong><em>FACT: </em></strong>House construction can affect radon levels. However, radon can be a problem in homes of all types: old homes, new homes, drafty homes, insulated homes, homes with basements, and homes without basements. Local geology, construction materials, and how the home was built are among the factors that can affect radon levels in homes.</p>
    </blockquote>
    <p><strong><em>MYTH:</em> Radon is only a problem in certain parts of the country.</strong></p>
    <blockquote>
      <p><strong><em>FACT:</em></strong> High radon levels have been found in every state. Radon problems do vary from area to area, but the only way to know your radon level is to test.</p>
    </blockquote>
    <p><strong><em>MYTH:</em> A neighbor's test result is a good indication of whether your home has a problem.</strong></p>
    <blockquote>
      <p><strong><em>FACT:</em></strong> It's not. Radon levels can vary greatly from home to home. The only way to know if your home has a radon problem is to test it.</p>
    </blockquote>
    <p><strong><em>MYTH:</em> Everyone should test their water for radon.</strong></p>
    <blockquote>
      <p><strong><em>FACT:</em></strong> Although radon gets into some homes through water, it is important to first test the air in the home for radon. If your water comes from a public water supply that uses ground water, call your water supplier. If high radon levels are found and the home has a private well, call the Safe Drinking Water Hotline at 1-800-426-4791 for information on testing your water.</p>
    </blockquote>
    <p><strong><em>MYTH:</em> It's difficult to sell homes where radon problems have been discovered.</strong></p>
    <blockquote>
      <p><strong><em>FACT:</em></strong> Where radon problems have been fixed, home sales have not been blocked or frustrated. The added protection is some times a good selling point.</p>
    </blockquote>
    <p><strong><em>MYTH:</em> I've lived in my home for so long, it doesn't make sense to take action now.</strong></p>
    <blockquote>
      <p><strong><em>FACT: </em></strong>You will reduce your risk of lung cancer when you reduce radon levels, even if you've lived with a radon problem for a long time.</p>
    </blockquote>
    <p><strong><em>MYTH:</em> Short-term tests can't be used for making a decision about whether to fix your home.</strong></p>
    <blockquote>
      <p><strong><em>FACT:</em> </strong>A short-term test, followed by a second short-term test* can be used to decide whether to fix your home. However, the closer the average of your two short-term tests is to 4 pCi/L, the less certain you can be about whether your year-round average is above or below that level. Keep in mind that radon levels below 4 pCi/L still pose some risk. Radon levels can be reduced in most homes to 2 pCi/L or below.</p>
      <p> </p>
      <p> </p>
      <p> </p>
      <p align="center"><img src="_images/CA-3.jpg" width="520" height="207" /></p>
    </blockquote>
      </div>
      <div id="footer">
        <p align="center"><strong>© 2009 XL Designs Online - All Rights Reserved </strong></p>
      </div>
    <!-- end #container --></div>
    <script type="text/javascript">
    <!--
    swfobject.registerObject("FlashID");
    //-->
    </script>
    </body>
    </html>
    And here is my CSS if needed,
    @charset "utf-8";
    body  {
         font: 100% Verdana, Arial, Helvetica, sans-serif;
         background: #666666;
         margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
         padding: 0;
         text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
         color: #000000;
    .twoColFixLtHdr #container {
         width: 950px; /* the auto margins (in conjunction with a width) center the page */
         border: 1px solid #000000;
         text-align: left; /* this overrides the text-align: center on the body element. */
         margin-top: 20px;
         margin-right: auto;
         margin-bottom: 20px;
         margin-left: auto;
         background-color: #557050;
    .twoColFixLtHdr #header {
         border-bottom: 1px solid #000000;
         height: 250px;
         background-color: #DDDDDD;
         padding-top: 0;
         padding-right: 10px;
         padding-bottom: 0;
         padding-left: 20px;
         background-image: url(../_images/homebanner1.png);
    .twoColFixLtHdr #header h1 {
         margin: 0; /* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */
         padding: 20px 0; /* using padding instead of margin will allow you to keep the element away from the edges of the div */
         text-align: center;
         font-size: 48px;
         font-family: Tahoma, Geneva, sans-serif;
         color: #000;
    .twoColFixLtHdr #sidebar1 {
         float: left; /* since this element is floated, a width must be given */
         width: 200px;
         border-right: 1px solid #000000;
         background-color: #557050;
         padding-top: 0px;
         padding-right: 10px;
         padding-bottom: 15px;
         padding-left: 10px;
    .twoColFixLtHdr #mainContent {
         margin-top: 0;
         margin-right: 0;
         margin-bottom: 0;
         margin-left: 250px;
         padding-top: 0;
         padding-right: 20px;
         padding-bottom: 0;
         padding-left: 20px;
         text-align: left;
    .twoColFixLtHdr #mainContent h1 {
         font-size: 48px;
         font-family: "Arial Rounded MT Bold";
         font-weight: bold;
    .twoColFixLtHdr #mainContent h2 {
         font-family: "Arial Rounded MT Bold";
         font-size: 32px;
    .twoColFixLtHdr #mainContent h3 {
         font-family: Georgia, "Times New Roman", Times, serif;
         font-style: italic;
         color: #CF0;
         font-size: 125%;
    .twoColFixLtHdr #mainContent h5 {
         font-size: 120%;
    .twoColFixLtHdr #footer {
         padding: 20px 10px 20px 20px;
         border-top: 1px solid #000000;
         background-color: #A3A3A3;
         font-family: Arial, Helvetica, sans-serif;
    .twoColFixLtHdr #footer p {
         margin: 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
         padding: 10px 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
    .fltrt { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
         float: right;
         margin-left: 8px;
    .fltlft { /* this class can be used to float an element left in your page */
         float: left;
         margin-right: 8px;
    .clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain a float */
         clear:both;
        height:0;
        font-size: 1px;
        line-height: 0px;
    #paragraphFloat {
         width: 350px;
    #paragraphFloat2 {
         width: 350px;
    Please if anyone knows what I'm doing wrong please please let me know!  Since I am learning, I really want to get main concepts like this down so I am not constantly doing things the hard way!  Thank you! 
    Jayson

    1) Regarding validation, what does it do?
    It validates by telling you where your code isn't er... valid.  Sometimes the results are a bit jumbled but if you work through them one at a time and revalidate, it's a good way to learn.  If you fix all of the errors shown up through the validator you should end up with standards compliant code.  Not necessarily the best, most efficient code you can write but at least it will be valid and it helps you spot errors that hours of code-staring never seems to find.
    I don't use the DW validation tool because I find the W3c one easier.
    The W3c validator has a check box of HTML Tidy which can tidy up your code but it's not always as easy to see what changes.
    2) I know the <p> tag for spacing is wrong, I could just feel it in my bones.  I just didn't know what else to do.  If I <br> all the way down won't the code be just as cluttered?
    You're obviously a born web coder!
    <br> will bloat your page if you use them to position elements.
    Here you need to get used to a) the Block Model and b) CSS positioning.  Once you crack these, CSS opens up for you and becomes a little more intuitive.
    if you have two elements on top of each other rather than push them apart with other elements you do it with padding and/or margin.  There are things to watch out for here namely, collapsing margins but if you start to read up on the above, you'll get it.
    I just thought of something.  If I add a div in main content, align it to the bottom center with CSS, use a line break between it and the text above, and add the image in question in the new div, will the spacing between the text and image work itself out?  I just really want to get out of the <p> bad habit.
    Keep thinking!  Web design is not like desktop publishing or print.  Elements on a HTML page don't behave like paragraphs on a page.  Once you begin to figure out why not it all gets a little easier.
    If you want an image at the bottom an element you put that at the end of the content in that element.  Then you need to ensure there is no margin, padding or border between the img element and the next element (your footer).  HTML elements come with some styling that is applied by default in the browser.  Many web developers include a rule like this:
    body {
    margin: 0;
    padding:0;
    This sets the margin and padding to zero of course and it's purpose is to override the defaults.  Some people advocate applying similar rules to all elements and if your interested try googling Eric Meyer who has written about it online.
    One of the key purposes of CSS is to take styling out of the page.  It's leaner, more efficient for the viewer and the coder and helps with site management.
    3) AP divs are weird, and I did only use as a last resort.
    See? You're a natural!
    The reason is I am confused by the float and clear float classes.  My left column is floated left and that element is what I was having problems understanding.  I tried to make new divs and float right but I screwed it all up.  I am sure I am just not applying the clear float in the right places.
    Getting the hang of floating is key to CSS positioning.  You use a float if you want two elements to sit side by side on the page.  It disrupts the "document flow."  Ordinarily HTML elements are rendered one after the other, on top of each other.  Floating an element takes it out of the document flow and allows other elements to occupy its space.  When you float an element it should always have a width.  If the element below it also has a width, that width has to be sufficiently narrow to allow it to occupy the space.  In short, floated elements can't be wider than their containing element.
    The clear property is used after a float to stop an element occupying the space left by a floated element.  It works but confuses the heck out of me!
    So that leads me to my final point.  I am a novice too!  I might have fluffed a few of the technical points above but it's pretty much there.
    Regards
    Martin

  • Can I get some help with this please

    I got the following error messages from java after running my code.
    Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 66
         at Graph.ChainingHashTable.get(ChainingHashTable.java:76)
         at Graph.Vertex.isNeighbor(Vertex.java:123)
         at Graph.LinkedGraph.addEdge(LinkedGraph.java:42)
         at Graph.Traversals.main(Traversals.java:311)
    The following is my code
    Traversal.java
    package Graph;
    public class Traversals implements Callback<Vertex>
        public void visit( Vertex data )
            System.out.println( data.getName() );
         * Perform a breadth first traversal of the vertices in the given graph
         * starting at the specified node. The call back object is used to process
         * each node as it appears in the traversal.
         * @param g the graph to traverse
         * @param start the vertex where the traversal will start
         * @param cb the object that processes vertices.
        public void BFSTraverse( Graph g, Vertex start, Callback<Vertex> cb )
            Queue<Vertex> waiting = new LinkedQueue<Vertex>(); // Queue of waiting
                                                                // vertices
            // Ensure the graph has no marked vertices
            List<Vertex> vertices = g.getVertices();
            for( vertices.first(); vertices.isOnList(); vertices.next() )
                vertices.get().setTag( false );
            // Put the start vertex in the work queue
            waiting.enqueue( start );
            // While there are waiting vertices
            while( !waiting.empty() )
                // Get the next Vertex
                Vertex curVertex = waiting.front();
                waiting.dequeue();
                // If this Vertex hasn't been processed yet
                if( !curVertex.getTag() )
                    cb.visit( curVertex ); // Process the vertex
                    curVertex.setTag( true ); // Mark it as visited
                    // Put its unmarked neighbors into the work queue
                    List<Vertex> neighbors = curVertex.getNeighbors();
                    for( neighbors.first(); neighbors.isOnList(); neighbors.next() )
                        Vertex cur = neighbors.get();
                        if( !cur.getTag() )
                            waiting.enqueue( cur );
         * Use Kruskal's algorithm to create a minimum spanning tree for the given
         * graph. The MST is returned in the form of a graph.
         * @param g the graph from which to generate the MST
         * @return a graph containing the the vertices of g and the the edges
         *         nesseary to form a minimum spanning tree.
        public Graph kruskalMST( Graph g )
            // Where the MST will be stored
            Graph mst = new LinkedGraph();
            // All the vertices in the graph
            List<Vertex> vertices = g.getVertices();
            // List of Vertex Sets
            List<Set<String>> vertexSets = new LinkedList();
            // Add the vertices in the original graph to mst
            // and create the vertex sets at the same time
            for( vertices.first(); vertices.isOnList(); vertices.next() )
                String curName = vertices.get().getName();
                Set<String> curSet = null; // new ArrayBasedSet<Vertex>();
                // Add the name of the current vertex to its set and then
                // add the set to the list that contains the vertex sets
                curSet.add( curName );
                vertexSets.add( curSet );
                // Add the current vertex to the MST graph
                mst.addVertex( curName );
            // Put the edges into a heap which effectively sorts them
            Heap<Edge> edges = new ArrayBasedHeap<Edge>();
            List<Edge> allEdges = g.getEdges();
            for( allEdges.first(); allEdges.isOnList(); allEdges.next() )
                edges.insertHeapNode( allEdges.get() );
            // Setup is complete - run the algorithm
            // There is more than one set left in the list vertex sets
            while( vertexSets.size() > 1 )
                // Get the smallest edge
                Edge cur = edges.getSmallest();
                // Find the sets where these vertices are located
                int sourcePos = findSet( vertexSets, cur.getSource().getName() );
                int destPos = findSet( vertexSets, cur.getDest().getName() );
                // If the vertices are in different sets - add the edge to
                // the MST
                if( sourcePos != destPos )
                    Set<String> sourceSet = vertexSets.get( sourcePos );
                    Set<String> destSet = vertexSets.get( destPos );
                    // Add the edge to the MST
                    mst.addEdge( cur.getSource().getName(),
                            cur.getDest().getName(), cur.getCost() );
                    // Merge the sets
                    sourceSet.union( destSet );
                    vertexSets.remove( destPos );
            // The MST can be read from this graph
            return mst;
         * Return the position of the first set in the list that contains the
         * specified name.
         * @param vertexSets a list of sets to search.
         * @param name the name being searched for.
         * @return the position of the first set in the list that contains the name
         *         or -1 if the name cannot be found.
        private int findSet( List<Set<String>> vertexSets, String name )
            int retVal = -1;
            // Step through the list and examine each set. Stop when you
            // find a set with the name or we fall off the list
            for( int i = 0; retVal == -1 && i < vertexSets.size(); i = i + 1 )
                Set curSet = vertexSets.get( i );
                // Does the current set contain the name we are looking for?
                if( curSet.contains( name ) )
                    retVal = i;
            // Return the position of the set
            return retVal;
         * Perform Dijkstra's Shortest Path algorithm on the given graph, starting
         * at the given vertex.
         * @param g the Graph to traverse.
         * @param name the name of the vertex where the traversal starts.
         * @return an array containing vertex path costs.
        public int[] dijkstraSP( Graph g, String name )
            // The names of the vertices for which the shortest
            // path is not known
            Set<String> u = new ArrayBasedSet<String>();
            // The names of the vertices for which the shortest
            // path is known
            Set<String> s = new ArrayBasedSet<String>();
            // Put the vertices in an array to make things easier
            List<Vertex> vertices = g.getVertices();
            Vertex v[] = new Vertex[ vertices.size() ];
            for( int i = 0; i < vertices.size(); i++ )
                v[ i ] = vertices.get( i );
            // The starting vertex
            Vertex start = g.getVertex( name );
            // The lowest costs seen so far
            int c[] = new int[ v.length ];
            // Temporary edge used by the program
            Edge curEdge = null;
            // Sort the vertices by name so that the costs will
            // appear in order by name
            Heap<String> names = new ArrayBasedHeap<String>();
            // Build the heap
            for( int i = 0; i < v.length; i = i + 1 )
                names.insertHeapNode( v[ i ].getName() );
            // Read out the values
            for( int i = 0; !names.empty(); i = i + 1 )
                v[ i ] = g.getVertex( names.getSmallest() );
            // We "know" the shortest path to the source
            s.add( name );
            // For each vertex, compute the starting cost
            for( int i = 0; i < v.length; i = i + 1 )
                // If this isn't the start node
                if( !v[ i ].getName().equals( name ) )
                    // Put it in the unknown set
                    u.add( v[ i ].getName() );
                    // Compute the initial cost to reach this Vertex
                    curEdge = start.getEdge( v[ i ].getName() );
                    if( curEdge != null )
                        c[ i ] = curEdge.getCost();
                    else
                        // This Vertex is currently unreachable
                        c[ i ] = Integer.MAX_VALUE;
                else
                    // It costs 0 to get to the start vertex
                    c[ i ] = 0;
            // Set is complete - run the algorithm until all of
            // the paths are known
            while( !u.isEmpty() )
                // Find the position of the lowest-cost unknown node
                int min = Integer.MAX_VALUE;
                int minPos = -1;
                for( int i = 0; minPos == -1 && i < c.length; i = i + 1 )
                    if( c[ i ] < min && u.contains( v[ i ].getName() ) )
                        min = c[ i ];
                        minPos = i;
                // We know the shortest path to the vertex
                s.add( v[ minPos ].getName() );
                u.remove( v[ minPos ].getName() );
                // Update the costs based
                for( int i = 0; i < c.length; i = i + 1 )
                    // Get the edge between the new shortest and the
                    // current node in the array
                    curEdge = v[ minPos ].getEdge( v[ i ].getName() );
                    // If there is an edge
                    if( curEdge != null )
                        // If going through the new node is better than
                        // what has been seen update the cost
                        if( c[ i ] > c[ minPos ] + curEdge.getCost() )
                            c[ i ] = c[ minPos ] + curEdge.getCost();
            return c;
        public static void main( String args[] )
            Traversals t = new Traversals();
            Graph g = new LinkedGraph();
            g.addVertex( "A" );
            g.addVertex( "B" );
            g.addVertex( "C" );
            g.addVertex( "D" );
            g.addVertex( "E" );
            g.addVertex( "F" );
            g.addEdge( "A", "B", 5 );             <--------------------------------------------------------------------------------------------Line 311
            g.addEdge( "A", "D", 9 );
            g.addEdge( "A", "C", 10 );
            g.addEdge( "B", "A", 5 );
            g.addEdge( "B", "D", 4 );
            g.addEdge( "C", "A", 10 );
            g.addEdge( "C", "D", 13 );
            g.addEdge( "C", "E", 14 );
            g.addEdge( "D", "B", 4 );
            g.addEdge( "D", "A", 9 );
            g.addEdge( "D", "C", 13 );
            g.addEdge( "D", "E", 7 );
            g.addEdge( "D", "F", 8 );
            g.addEdge( "E", "C", 14 );
            g.addEdge( "E", "D", 7 );
            g.addEdge( "E", "F", 2 );
            g.addEdge( "F", "D", 8 );
            g.addEdge( "F", "E", 2 );
            int costs[] = t.dijkstraSP( g, "A" );
            for( int i = 0; i < costs.length; i = i + 1 )
                System.out.println( costs[ i ] );
    }

    ChainingHashTable.java
    package Graph;
    * An implementation of a HashTable using chaining for collision resolution.
    * Javadoc comments for methods specified in the Table interface have been
    * omitted.
    * This code assumes that the preconditions stated in the comments are true when
    * a method is invoked and therefore does not check the preconditions.
    public class ChainingHashTable<K, V> implements Table<K, V>
        private List<Tuple<K, V>> hashTable[]; // The hashtable
        int size; // The size of the hash table
         * Create a new hash table.
         * @param cardinality the number of elements in the domain.
        public ChainingHashTable( int cardinality )
            // Note that the cast is necessary because you cannot
            // create generic arrays in Java. This statement will
            // generate a compiler warning.
            hashTable = (LinkedList<Tuple<K, V>>[]) new LinkedList[ cardinality ];
            size = 0;
        public void put( K key, V value )
            int bucket = key.hashCode();
            // Do we need to create a new list for this bucket?
            if( hashTable[ bucket ] == null )
                hashTable[ bucket ] = new LinkedList<Tuple<K, V>>();
            hashTable[ bucket ].add( new Tuple<K, V>( key, value ) );
            size = size + 1;
        public void remove( K key )
            int bucket = key.hashCode();
            List<Tuple<K, V>> chain = hashTable[ bucket ];
            boolean found = false;
            // Is there a chain to search?
            if( chain != null )
                // Step through the chain until we fall off the end or
                // find the tuple to delete
                chain.first();
                while( !found && chain.isOnList() )
                    // If this tuple has the key we are looking for
                    // delete it and stop the loop
                    if( chain.get().getKey().equals( key ) )
                        chain.remove();
                        found = true;
                    else
                        chain.next();
        public V get( K key )
            int bucket = key.hashCode();
            List<Tuple<K, V>> chain = hashTable[ bucket ];     <----------------------------------------------------------------Line 76
            V retVal = null;
            // Is there a chain to search?
            if( chain != null )
                // Step through the chain until we find the element or
                // run out of list.
                for( chain.first(); retVal == null && chain.isOnList(); chain
                        .next() )
                    // If this tuple has the key we are looking for,
                    // extract the value
                    if( chain.get().getKey().equals( key ) )
                        retVal = chain.get().getValue();
            return retVal;
        public boolean isEmpty()
            return size == 0;
        public int size()
            return size;
        public int cardinality()
            return hashTable.length;
        public List<K> getKeys()
            List<Tuple<K, V>> chain;
            List<K> keys = new LinkedList<K>();
            // Go through each chain and create a list that contains all
            // of the keys in the table
            for( int i = 0; i < hashTable.length; i++ )
                if( hashTable[ i ] != null )
                    chain = hashTable[ i ];
                    for( chain.first(); chain.isOnList(); chain.next() )
                        keys.add( chain.get().getKey() );
            return keys;
        public List<V> getValues()
            List<Tuple<K, V>> chain;
            List<V> values = new LinkedList<V>();
            // Go through each chain and create a list that contains all
            // of the keys in the table
            for( int i = 0; i < hashTable.length; i++ )
                if( hashTable[ i ] != null )
                    chain = hashTable[ i ];
                    for( chain.first(); chain.isOnList(); chain.next() )
                        values.add( chain.get().getValue() );
            return values;
         * Return a string representation of this hash table.
         * @return a string representation of this hash table.
        public String toString()
            StringBuffer hashAsString = new StringBuffer( "" );
            List chain = null;
            for( int i = 0; i < hashTable.length; i = i + 1 )
                hashAsString.append( "h[" + i + "]==" );
                if( hashTable[ i ] != null )
                    chain = hashTable[ i ];
                    for( chain.first(); chain.isOnList(); chain.next() )
                        hashAsString.append( " " + chain.get() );
                hashAsString.append( "\n" );
            return hashAsString.toString();
    } // ChainingHashTable

  • HOW DO YOU GUYS DEAL WITH APPLE.. SO CONFUSING...NEED HELP WITH SPECS FOR PURCHASE OF IMAC 21.5

    Hi guys, been reading your forums, blogposts, etc and am getting more confused.  I'm just a video girl trying to produce meaningful content through web videos for small to mid sized businesses and want to come over from the dark side. 
    Good news,, I dont need a super giant system,  I do simple editing for web videos, minimal graphics, no motion graphics, no animation etc. currently using CS4, will probably end up with 5.5.
    I want to get imac 21.5 or 27 if i have to..  So here's the question we all have,,, what do I really need besides an Apple fairy godmother to figure this crazy stuff out?????
    I want to be able to have firewire add on, but the rest is what I need help with.   So i've been looking at cs6 specs, even though im not there yet, eventually will be,, so just need to run cs4 now and build from there.  I also want to eventually move to final cut down the road so I want imac able to upgrade to final cut.
    WHAT DO I REALLY NEED MINIMALLY FOR NOW?  WHAT CAN I GET LATER IF i CHOOSE TO DO MORE AND NEED MORE POWER?
    cs6:
    Multicore Intel processor with 64-bit support
    Mac OS X v10.6.8, v10.7, or v10.8**
    4GB of RAM (8GB recommended)
    4GB of available hard-disk space for installation; additional free space required during installation (cannot install on a volume that uses a case-sensitive file system or on removable flash storage devices)
    Additional disk space required for preview files and other working files (10GB recommended)
    1280x900 display
    7200 RPM hard drive (multiple fast disk drives, preferably RAID 0 configured, recommended)
    OpenGL 2.0–capable system
    DVD-ROM drive compatible with dual-layer DVDs (SuperDrive for burning DVDs; Blu-ray burner for creating Blu-ray Disc media)
    QuickTime 7.6.6 software required for QuickTime features
    Optional: Adobe-certified GPU card for GPU-accelerated performance
    Any responses would be great.  I know you guys are busy answering the really high end tech questions

    All the current iMac models (both 21.5" and 27" with OS X Mt. Lion 10.8) will run CS4, 5.5 and 6 just fine.  They will also run Final Cut Pro X just fine.  Ditto for most any application you may want to use.
    Below are some notes (specific to your apparent requirements) that may help you with your purchase decision:
    Notes on purchasing a 21.5" iMac
    All 21.5" iMacs come with 8GB RAM but you cannot add more later.  I strongly suggest getting the maximum RAM (16GB) when you order the iMac.
    The basic hard drive is a 1TB 5400rpm drive.  It will work fine with Adobe CS but you will probably want the added speed of the optional 1TB Fusion drive for better performance. Some people will recommend/argue for one of the optional SSD drives instead, but they are very expensive and still only come in relatively small capacities - I don't recommend the SSD drives.  Get the Fusion drive and spend any extra money on a good external hard drive for backup and/or extra storage instead of an SSD.
    Notes on purchasing a 27" iMac
    All 27" iMacs come with 8GB RAM and you can add more later, up to 32GB
    The basic hard drive is a 1TB 7200rpm drive - it will be fine with Adobe CS.  There are upgrade options to a 3TB 7200rpm drive or a 1TB or 3TB fusion drive - these will be fine also.  There are also SSD drive options, but I do not recommend them. (Same comments as above.)
    Notes on all the current iMacs
    iMacs no longer come with built-in CD/DVD drives.  If you need one, you will need to purchase the Apple Superdrive accessory drive ($79)
    All of the iMac graphic processors (GPU's) are compatible with Adobe CS 4, 5.5, 6
    It is very difficult to impossible to change or upgrade the hard drive later on, so don't buy low-end thinking you can add a better internal hard drive later.
    Be aware that Macs always come with the latest (most recent) version of OS X.  And OS X Mavericks (10.9) is due to be released soon (in the next month or two).  There is no guarantee that the older Adobe CS 4 or 5.5 versions will run on OS X Mavericks.  If you cannot upgrade to CS 6 in the near future, you may want to purchase now rather than after OS X Mavericks is released.
    For what it's worth, I'd recommend the 27" iMac if your budget can afford it.  You will appreciate the larger screen size and added capabilities over the years you will use the computer.

  • Help with htmldb_Get calling an on_demand application proccess

    Hi,
    I wonder if anyone can help with a problem I have. I have a button (coded in Javascript) that uses htmldb_Get to call an on_demand application process that should be updating the database. Unfortunately it does not, and I cannot see what I've done wrong! Perhaps some fresh eyes can help?
    Call to htmldb_get / application process
    var get = new htmldb_Get(null,&APP_ID.,'APPLICATION_PROCESS=applicationProcessSaveToDB',0);
    get.add('STO_ID',myStoId)
    get.add('DTE_ID',myDteId)
    get.add('ADJ',myAdj)
    var gReturn = get.get();
    alert( 'gReturn <'+gReturn+'>' ) ;
    On_demand process code
    DECLARE
    l_msg VARCHAR2 (2000);
    BEGIN
    SELECT :ADJ || CHR(10) || :STO_ID || CHR(10) || :DTE_ID
    INTO l_msg
    FROM dual;
    UPDATE fid_live.tffd_cash_sls
    SET local_est_manl_adj = :ADJ
    , est_manl_adj = pk$_sa_exchange.f$_get_ukp_value
    TO_NUMBER( pk$_sa_sel.f$_sel_sto_no( :STO_ID ) ),
    :ADJ,
    pk$_sa_sel.f$_sel_calendar_dte( :DTE_ID )
    WHERE sto_id = :STO_ID
    AND dte_id = :DTE_ID;
    -- COMMIT;
    HTP.prn (l_msg);
    EXCEPTION WHEN OTHERS THEN
    l_msg:='Exception has occurred '||SQLERRM||', '||SQLCODE;
    HTP.prn (l_msg);
    END;
    I was expecting to see (a) the database updated (it is not) and (b) the text string l_msg echoed back via the alert(gReturn) - it does not (but does if I comment out the UPDATE statement, which makes me wonder if the SQL is being rejected, but then I'd hope that the exception block would return an error message).
    Can anyone help?
    Many thanks,
    MarkB...

    Hi Mark,
    for the future in case you have again a problem with an on-demand process. The following posting which I have written some time ago should help you to test it.
    http://inside-apex.blogspot.com/2006/12/how-to-test-on-demand-process.html
    Testing without the javascript call and seeing the actual result values is much easier then the through javascript.
    Greetings
    Patrick
    My APEX Blog: http://inside-apex.blogspot.com
    The ApexLib Framework: http://apexlib.sourceforge.net
    The APEX Builder Plugin: http://sourceforge.net/projects/apexplugin/

  • Need Help with Navigation for an Online Art Gallery

    I am trying to create a web site for an online art gallery.
    I am new to DW8 and I have been reading several books,
    forums, etc trying to figure out how to build a simple and elegant
    navigation system.
    I have successfully built simple navigation using a frame set
    as the index.html page. I have successfully built and incorporated
    the art gallery using Photo Assist (Photo Assist is a DW8 extension
    that creates photo albums using AJAX). The gallery.html page built
    with Photo Assist has thumbnail browsing and a slideshow mechanism.
    Photo Assist also uses CSS that I have been able to modify for my
    personal tastes in terms of creating a simple and elegant user
    interface for the gallery section of the web site.
    My index.html frame set consists of navFrame.html and
    mainDisplayFrame.html pages. I created a navigation button (using
    Fireworks 8) that links the gallery.html as its source and targets
    mainDisplayframe.html.
    My plan was to just add about 5 or 6 more navigation buttons
    and target the mainDisplayFrame.html from each navigation button to
    display some static information.I think the site looks fairly good
    except that the frame set requires scroll bars when browsed with
    800 x 600 screen resolutions. I thought that I could just use
    'layers' instead of a frame set, but there is not a "target"
    mechanism when usings layers.
    At the end of the day, I would prefer to just use one web
    page for displaying the navigation and all of my other web pages
    including the gallery.html page. I think I have the right idea but
    I can't seem to get a good handle on a navigation system that is
    better than a frame set.
    My online art gallery that is under construction is:
    http://www.andrew.cmu.edu/user/tburak/
    Photo Assist 1.0.1 DW extension URL is:
    http://www.webassist.com/professional/products/productdetails.asp?PID=108
    Please note that I am not a web designer that has deep
    knowledge of HTML, CSS, javascript, server side stuff, etc. I do
    know a little bit about C++ and Java programming and a little bit
    about html tags, and also a little bit about how CSS works. Beyond
    that, I am pretty much a point and click type of web page builder.
    My real expertise is more or less on photographing and digitizing
    the art.
    I should mention that I eventually want to build in PayPal
    eCommerce if at all possible, but I realize I might not have the
    skills to do so.
    Any help, suggestions and comments are very much
    appreciated.

    [discussion moved to LiveCycle Forms forum.]

  • Help with importing PC photo files and then organizing it all in iPhoto

    Hi everyone,
    I'm relatively new to mac but I am just loving my purchase! I need some serious help with getting all of my photos organized though so I can easily find it for editing in iMovie.
    I've accumulated over 10,000 photos stored on my PC which I've since transferred over to my LaCie external drive for my MacBook Pro via a wireless network connecting my PC & Mac. Some of these I've put onto my laptop internal hard drive and those I've imported into the iPhoto library. However, do I need to move the rest of the photos from my LaCie drive into my internal hard drive to import the photos into iPhoto, or can I tell iPhoto to look for the files in the external drive. If so, how do I do that? I know I'll then have to create albums in order to sort them, which I know how to do. Is there any fast way to do it by date? I had it sorted into different file folders by month & year so I could easily find them on my PC and would like to do the same using albums.
    I am quickly running out of hard drive space on my laptop which is why I've put most of my photos on the external drive. Once I organize my existing collection, I would like to be able to import new pictures and have it stored on my external drive, not my internal drive. How do I do that?
    Any other tips on organizing a massive photo library would be greatly appreciated.
    Thanks,
    Karen

    Karen,
    Is there any fast way to do it by date? I had it sorted into different file folders by month & year so I could easily find them on my PC and would like to do the same using albums.
    This is where you get to enjoy the power of iPhoto's database. You can change the Sort in the View menu. Check out View > Sort Photos > by Date.
    Or, click the little calendar icon near the lower left corner of the iPhoto window. This allows you to filter the library by year, month, week, or date. You can Command-click to add another date to your filter. You can Option-click to choose a recurring date: you get that month or date for all years in your library. [Want to see your kid's birthday for every year? Just Option-Click that date. Cool.]
    The keywords filter is similar. There is a preference setting where you choose to filter based on ALL keywords chosen (where by choosing more keywords you narrow your field) or ANY keyword (where the more keywords you choose, the larger your field will be). Click on a keyword to filter your library by all photos containing that keyword. Use Command-click to add more keywords to the filter. A difference is that Option-click will eliminate photos with that keyword from your filter. [You can find all pictures of your kids with your dog but NOT at Halloween.]
    You can create Smart Albums to combine the use of dates, keywords, ratings, titles, comments and more. The more information you enter into the database, the more powerful the tools become.
    When your task of importing is complete and you are ready to play with iPhoto's features it may help to look at the iPhoto multimedia tutorial. Better organized than trying to read through the Help files, it can help you get acquainted with many of iPhoto's features.
    Have fun.

  • Best practice for Javadoc comments in both an interface and implementation

    For the Spring project I'm writing, I have interfaces with typically 1 implementation class associated with it. This is for various good reasons. So I'm trying to be very thorough with my Javadoc comments, but I realize I'm basically copying them over from interface to implementation class. Shouldn't Javadoc have a setting or be smart enough to grab the comments from my interface if the implementation class doesn't have a comment? Unless of course there is interesting information about the implementation, it's rare the 2 sets of comments would be different.

    Thanks Thomas!! Exactly what I was looking for. Here's the JavaSE 6 version of the page you provided:
    http://java.sun.com/javase/6/docs/technotes/tools/windows/javadoc.html#inheritingcomments

Maybe you are looking for

  • What are the things we need to install on client desktop?

    Hi all I will need to install Peoplesoft Enterprise. However, for my part I will need to try to install it into serveral clients but connect it to a database. Which means that the main database is not in my com but in another com, is it possible that

  • HD4770 display driver opening image files takes forever

    Hi... 4770 / w7 / clean cs5 64 bit user here. my situation :  1 click and photoshop cs5 boots and opens any of my ( large) files  instantly,  with  absolutely NO delay at all.   (8gb  ram) and it does this consistenly.  like BAM! open. AS LONG AS THE

  • Converting Raw Data

    A friend gave me a data DVD of photos that are in RAW (.raf) format. I can not view them on my Macbook. How do I convert them using Iphoto or Preview into something that I can put into an album so I can view them and share with friends

  • List box in screen painter

    Hi I have created a screen in menu painter in which there are 3 drop down listbox . Each list box field has a domain created for it and the domain is assigned a value table. the value table contains data that data should be populated to list box. Now

  • Media turns black please help!!!!

    Hello, I have had Premiere Pro CS5 for a while and I have had this particular problem ever since I started using it. Basically, I am making a video right? And I have imported a bunch of MPG videos to put into the timeline. But guess what? For some st