How does operator 'less than' work with Rectangle objects?

Just found in legacy code the following:
private var firstRect:Rectangle;
private var secondRect:Rectangle;
if (firstRect < secondRect)
// do something
How does operator 'less than' work with Rectangle objects?
Doc says that object is converted to number if it is not a String.
Rectangle is not a String, though has conversion to String.
Please help.

IME the best way to know for sure is to experiment. The docs are only one person's best understanding of how things worked on the day, which is seldom 100% accurate. I find that even with code I wrote I can't accurately say 100% of what it does until I've worked with it for a while. Keep in mind that the docs are usually written when the code is written, so  never expect more than a rough idea from the docs.

Similar Messages

  • Is it possible to have your whole family on one apple id or is it better to have each person have there own? If each has their own does each id have to buy their own music and apps? How does find my iphone work with one apple id or two?

    Is it possible to have your whole family on one apple id or is it better to have each person have there own? If each has their own does each id have to buy their own music and apps? How does find my iphone work with one apple id or two? also I am going to be going off to college soon should I make an itunes id for my self and how will I get all the music from the old id?

    Is it possible to have your whole family on one apple id or is it better to have each person have there own?
    Yes, it is possible. 1 apple ID can be associated with up to 10 devices.
    If each has their own does each id have to buy their own music and apps?
    Yes, all purchases are non-transferable.
    How does find my iphone work with one apple id or two?
    Every device associated with one apple ID through Find my iPhone is tied to that Apple ID; Find my iPhone will work in the same way with up to ten devices associated with one apple ID. You cannot enable Find my iPhone for one device across two apple IDs
    I am going to be going off to college soon should I make an itunes id for my self and how will I get all the music from the old id?
    If you have authorized a computer with the old apple ID, you can transfer old media purchased through the old to other devices via iTunes. This doesn't mean the media purchases through the old apple ID it transferred to the new account. If you plan to make future purchases and don't wish to share them with others, make your own apple ID.

  • How does the newest Iphone work with Ford Sync?

    How does the new Iphone work with Ford Sync? I was thinking of purchasing the 4s but may go elsewhere if there is a better phone for the equipment in my vehicle.

    That would be a NO.. I should have done my homework before I switched to IPhone because the Bluetooth just does not want to sync with my Ford Truck. Its such an inconvience. But I see from other posts that Ford isn't the only car experiencing problems. So Hopefully Apple fixes this problem QUICKLY!

  • How does premiere pro CC work with nvidia GT 630M (2GB) vega???!

    how does premiere pro CC work with nvidia GT 630M (2GB) vega????!

    That will work. I would just not expect major performance with a heavier load on playback.
    Eric
    ADK

  • How does the sync functionality work with large libraries on small devices?

    How does the sync functionality work with large libraries?
    Say I sync 100gb of photos with the new Photos app and turn on sync on a 16gb iphone. Will it fill the device up to 16gb? Can I tell it to limit to xgb so I leave room for music and apps? How does this work? Will it slow down my phone if its trying to sync 100gb across smaller devices?

    "Will the Apple TV now read directly from the Time Capsule?" ATV does not 'read' from the TC. It connects to the Mac and itunes library associated with the Mac. Of course the itunes program can 'point' to a library on the TC. You'll still need to have itunes open and the Mac powered on and not sleeping with the TC mounted to the Desktop to use ATV properly. So bottom line the use of TC just adds one more step to view files on the ATV.

  • Newbie: How does the security manager work with EJB?

    Hi,
    I am new to J2EE and do not seem to grasp how the security manager (or J2EESecurityManager) works with EJB.
    My bean does security-senisitive stuff (like getting the Policy object) and must not do so unless I give it permission in the policy file. So far so good. But the permission will only work if I grant it to ALL code, like:
    grant {
    permission java.security.SecurityPermission "getPolicy";
    Beans do not seem to have a protection domain or code source/certificates attached to it. so I cannot say
    grant "/file/sw/ejb/myejb.jar" {
    permission java.security.SecurityPermission "getPolicy";
    Why is that (probably because beans run remote)? But more importantly, how DO I set permissions based on which bean it is?

    If I add that directory as the codebase to
    a grant statement any class loaded from there will
    have the specified permission.I thought so, too, and that is why I went digging for the code source of my bean (i.e. where is it deployed, from where is it loaded) but that source is NULL:
    Some program output:
    ==Has security manager: com.sun.enterprise.J2EESecurityManager
    ==Code source is ProtectionDomain (null <no certificates>)
    The code seems to have no code source (null) and no signatures (in fact, I also signed my code with the keytool but that certificate did not show here either).
    I am running this against the j2ee server 1.3 -- just experimenting, but it does not go so well. :-)

  • How does this LINQ query work with Option Infer Off?

    How should value and filtered be declared?  It doesn't work when I turn Option Infer Off.  Originally, it worked with Option Infer On. There was no Dim statement on the first line, but the Dim keyword was placed before the
    filtered = line.  As soon as I turned Option Infer Off, all sorts of errors showed up.  How should the code be adjusted?  (Option Strict is On.)
    Dim element, value, filtered As Integer
    Dim values() As Integer = {2, 9, 5, 0, 3, 7, 1, 4, 8, 6}
    filtered =
    From value In values
    Where (value > 4)
    Select value
    For Each element In filtered
    Console.Write(element & " ")
    Next
    Solitaire

    Hi Solitaire,
    the Option Infer Off version would be:
    Option Strict On
    Option Infer Off
    Imports System
    Imports System.Collections.Generic
    Imports System.Linq
    Public Class Class1
    Public Shared Sub LinqWithNoInfer()
    Dim values() As Integer = {2, 9, 5, 0, 3, 7, 1, 4, 8, 6}
    ' compiled to
    ' filtered = values.Where(Function(value As Integer) value > 4).Select(Function(value As Integer) value)
    value)
    Dim filtered As IEnumerable(Of Integer) =
    From value In values
    Where (value > 4)
    Select value
    For Each element As Integer In filtered
    Console.Write(element & " ")
    Next
    End Sub
    End Class
    The type for filtered is determined by the Select statement, that is
    Enumerable.Select, and will return an
    IEnumerable(Of T) and T is an Integer here.
    Option Infer looks for the return value of Select and will give the same result.
    Note: For Lambda Expressions Option Infer Off is ignored and the type is inferred - both are valid:
    filtered = values.Where(Function(value) value > 4).Select(Function(value) value)
    filtered = values.Where(Function(value As Integer) value > 4).Select(Function(value As Integer) value)
    Regards, Elmar

  • How does "what you hear" work with my surround 5.1 externa

    Hi,
    I am using a usb soundblaster surround 5. external soundcard and recording lp's through the line-in socket of it. I am confused about the setting "what you hear" as opposed the "line-in" setting;
    I thought that the purpose of "what you hear" is that you are recording what you hear, i.e. with the altered sound of the graphic eq, eax, cmss 3d etc, but this seems not to be the case as the sound is the same on line-in as it is on what you hear. I want to be able to alter the sound quality/tone and in particular, the width of the stereo, i.e. make it wider, and can't seem to with this system. Shouldn't I be able to change the tonal quality and it be reflected in the recording if I am using "what you hear" as the input ?
    Any help on this would be appreciated.
    Thanks.
    P.S. Does anyone know of a software that can slightly alter the stereo i.e. make it wider, given the fact that I would be recording in 24 bit 96k of the soundblaster ? I have audio cleaning lab, and although it works, I think I need a better software for my needs, as the sound quality is very important to me.
    Thanks very much in advance.
    audio-fi

    audio-fi wrote:
    Hi,
    I am using a usb soundblaster surround 5. external soundcard and recording lp's through the line-in socket of it. I am confused about the setting "what you hear" as opposed the "line-in" setting;
    I thought that the purpose of "what you hear" is that you are recording what you hear, i.e. with the altered sound of the graphic eq, eax, cmss 3d etc, but this seems not to be the case as the sound is the same on line-in as it is on what you hear. I want to be able to alter the sound quality/tone and in particular, the width of the stereo, i.e. make it wider, and can't seem to with this system. Shouldn't I be able to change the tonal quality and it be reflected in the recording if I am using "what you hear" as the input ?
    Any help on this would be appreciated.
    Thanks.
    P.S. Does anyone know of a software that can slightly alter the stereo i.e. make it wider, given the fact that I would be recording in 24 bit 96k of the soundblaster ? I have audio cleaning lab, and although it works, I think I need a better software for my needs, as the sound quality is very important to me.
    Thanks very much in advance.
    audio-fi
    I just don't understand the bolted part after reading your post .
    By keeping the recording untouched gives you the best possible quality. If you then want to "play" with effects as like spreading the stereo image, then do it on-the-fly rather than 'hard-code' into recorded audio data.
    How to-do this while playing ... just use some audio/media software which supports addons (effects).
    I could recommend you some players like
    Winamp + VSTHost plug-in, MediaMonkey + VSTHost plug-in, Foobar + VSThost plug-in, Steinberg MYMP3PRO, WMP + some plug-ins (though, I don't know if there are this type as you would like of), etc. (there are couple more).
    VST/DX EFFECTS plug-ins can be found from KVR - http://www.kvraudio.com/get.php
    24-bit/96kHz would give you the best quality but, as you have an external Soundblaster there ... IMO, just use nati've samplerate then (AFAIK, it's 6-bit/48kHz) and if you don't want to use 48kHz wav/mp3 format then just convert Wave files 48->44. using Voxengo r8brain Free and then transfer to mp3 or wma if needed.
    For quality sake I would recommend you to get least E-MU 0202 USB.
    jutapa
    Message Edited by jutapa on 03-2-2008 07:40 PM

  • How does the login process works with a bind to AD?

    Hi there,
    I am trying to bind our mac to our Active Directory. Before doing I'd like to understand well how the login process works. Is there any reference I could look up to?
    For what I've understood until now with an example user "testAccount" and no automount and no AD extension and the ADplugin set as:
    a) if mobile is set, then a /Users/testAccount is created and if UNC is set then a smbHome is mounted "on desktop". If UNC is not set, do nothing more
    b) if force is set, then a /Users/testAccount is created and if UNC is set then a smbHome is mounted "on desktop". If UNC is not set, do nothing more
    c) if force is NOT set:
    --c1) if UNC is not set and cannot map NFSHomedirectory at all, then login the user with such a temporary home
    --c2) if UNC is set mount SMBhome and use it as mounted home folder (NFSHomeDirectory-->SMBhome "/Network/Servers/my.server.com/users/testAccount")
    --c3) if UNC is not set then retrieve the homeDirectory-NIS's attribute in AD (NFSHomeDirectory--> "/homes/testAccount") and create /homes/testAccount
    my doubt now is point c2) after I login in with a "#mount" I get:
    trigger on /Network/Servers/my.server.com/users (autofs, automounted)
    //[email protected]/users on /Network/Servers/my.server.com/users (smbfs, nodev, nosuid, automounted, mounted by testaccount)
    but my SMBhome is not correctly mounted on remote server (but the Library folder and MCX files are created!) and I get home errors because the system is looking for "/homes/testAccount", which I don't know where it is coming out from given that a
    #dscl /Active\ Directory/my.server.com -read /Users/testaccount |grep homes gives only out dsAttrTypeNative:unixHomeDirectory: /homes/testAccount
    thanks,
    a.

    Is there any reference I could look up to?
    http://www.macwindows.com

  • How does flatten to string work with arrays?

    Hi all,
    I'm currently trying to get my head around how flatten to string works in terms of using it to write a configuration file which is loaded on startup in my VI. Writing and loading the configuration file is no problem and it is working beautifully. However... this is for a data acquisition system and the configuration file stores all the calibration data in the system which is entered through arrays. Anyway, the data recorded by my VI is to be post processed using MATLAB and needs to apply the calibration data stored in the configuration file.
    So I've been trying to work out how to get MATLAB to decypher the configuration file, but... I can't make heads or tails as to how the data is written into the file. I made a mock up of the saving file routine as you can see below, and run it a number of times by changing the input array dimensions and the values.
    Then opened the saved file to see if I can find a pattern... but I can't! Simply changing the element values changes the number of "\   \'s" Here is what I produced from my trials:
    [1x1 0]
    Config=\00\00\00\01\00\00\00\00\00\00\00\00      (1x1 array of 0's)
    [1x1 1]
    Config=\00\00\00\01?ð\00\00\00\00\00\00            (1x1 array of 1's)
    [1x1 2]
    Config=\00\00\00\01@\00\00\00\00\00\00\00       (1x1 array of 2's)
    [1x2 0]
    Config=\00\00\00\02\00\00\00\00\00\00\00\00\00\00\​00\00\00\00\00\00      (1x2 array of 0's)
    [1x2 1]
    Config=\00\00\00\02?ð\00\00\00\00\00\00?ð\00\00\00​\00\00\00                  (1x2 array of 1's)
    [1x2 2]
    Config=\00\00\00\02?ð\00\00\00\00\00\00?ð\00\00\00​\00\00\00                  (1x2 array of 2's) etc. etc. etc
    [2x2 0]
    Config=\00\00\00\02\00\00\00\02\00\00\00\00\00\00\​00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00\00​\00\00\00\00\00\00\00\00\00     
    [2x2 1]
    Config=\00\00\00\02\00\00\00\02?ð\00\00\00\00\00\0​0?ð\00\00\00\00\00\00?ð\00\00\00\00\00\00?ð\00\00\​00\00\00\00
    [2x2 2]
    Config=\00\00\00\02\00\00\00\02@\00\00\00\00\00\00​\00@\00\00\00\00\00\00\00@\00\00\00\00\00\00\00@\0​0\00\00\00\00\00\00
    Could someone explain to me how flatten to string flattens the array information? Particularly when the array elements are double precision? I look forward to any help that anyone can offer!
    Thanks,
    Stirling
    Message Edited by stirlsilver on 09-08-2007 08:47 AM
    Attachments:
    saveconfig.png ‏7 KB

    There are optional inputs to "flatten to string" That you can use to modify the outcome as needed. For example you can do little endian.
    You can also omit the array size from the flattened data (definitely not recommended for 2D arrays).
    LabVIEW Champion . Do more with less code and in less time .

  • How does live update 6 work with BIOS updates?

    I want to upgrade to the x99 platform but I am concerned with how new it is.  I want to make sure I keep the BIOS updated because of the "newness" of it all and compatibility issues.  Although I have built and continue to upgrade my system I am in no way proficient in trouble shooting or making changes.  So flashing the BIOS always makes me nervous that I will screw something up.  So when I heard that MSI has a program called live update 6 that automatically updates the BIOS it got my interested.
    Can anyone give me some advice on how this program works?  Or are the compatibility issues more an issue of the past when Intel rushed the CPUs out and the MOBO makers had to play catch up?
    Thanks for everyone's advice and help.

    Hi
    Which exactly motherboard you're looking for? If you're afraid of bricking BIOS, then I suggest something like X99 MPower/XPower which has dual BIOS.
    LiveUpdate: downloads the update pack, does some magic within bootup and updates the BIOS. I don't know the exact process it does, but works just like installing a software: download, extract, install. Also MSI offers MFlash which lets YOU go through flashing process: download, prepare USB stick, boot from USB (or use MFlash within BIOS settings) and update.
    Risks: flashing BIOS is always a risk, no matter if it's MSI, Gigabyte or anyone else's brand. It's a chip, that if something goes wrong (for example system is not stable), then motherboard may get bricked and recovery may/may not be possible.
    MFlash instructions:
    https://service.msicomputer.com/msi_user/support/techfaqdetail.aspx?formid=3135

  • How does the fault system work with AppleCare warranty extension?

    I'm an owner of an iPhone 4S on Telus Mobility in Canada and I have two year AppleCare warranty extension that is linked to my phone. I've had my iPhone for over a year now with no issues, so this question is meant for reference if and when I do need to make a claim.
    When I bought my AppleCare, the representative never explained to me how the fault system works, or if and what I pay in the event of a claim, or really anything else related to AppleCare. My friend told me if I pay a certain amount of money during a claim, I can get a new iPhone. Is this true? Are there limitations of the AppleCare?
    Could somebody please explain to me in a fairly decent amount of detail how AppleCare works, how the fault system works, and anything else I would need to know about AppleCare? Thanks.

    Here's the link explaining it:
    http://www.apple.com/support/products/iphone.html
    This would work in the U.S. - I think (but am not sure) it will work in Canada as well.

  • How does LR 3.4 work with PS/CS6 and C.Raw/7?

    I've been searching around and haven't figured this out:
    If the new C.Raw/LR/PS deals with raw files in a different way -- what happens to all the adjusments you made to photos under previous C.Raw version/s?
    For instance: the basic panel inside C.Raw 7.x is reworked. So when C.Raw 7 looks at 6.4 dngs or xmps, what does it do? Say you've set a brightness value of +65 in some old photo... what does C.Raw 7 do?
    I'm going to wait a while to upgrade Lightroom -- but work wants me on PS CS6 -- which I assume is going to try and install C.Raw 7.1? Right?
    Is it possible to upgrade to PS CS6 and still use LR 3.4? What happens when I open up a photo from LR 3.4 in PS CS6? Should I have tech support keep PS CS5.5 on my computer for photo stuff??
    So confused, any help appreciated.

    The engineers solved that by a thing called Process Versions. Any images whose settings have been made by previous versions of ACR or LR will open with those image settings intact and unchanged. LR 3.x was PV 2010 so when you open a raw with settings in LR 4 or ACR 7.x the old PV 2010 adjustment sliders and settings will be there. You can update to the new PV 2012 and may want to for many images but you don't have to...

  • How does Parallels backup exclusion work with Time Machine?

    Running Parallels version 9 there is a means by which you may (supposedly) request that a VM is not backed up via Time Machine (Mavericks).  In the Parallel Desktop app, one chooses from the menu Virtual Machine -> Configure, selects the Security tab, and clicks in the box for "Time Machine Do not back up virtual machine.".   Having done that, however, if you launch Time Machine preferences, click on "Options...", this brings up the window of "Exclude these items from backups." and there is nothing in the box indicating that the Parallels VM is being excluded.  The Time Machine exclude list in that window on my machine is completely empty. I think this is pretty crummy.  How do I know that the Parallels VM is really being excluded, and why doesn't it appear in the list ???

    I'll follow up to my own post.  I found that one can execute some Time Machine commands via the command line and so:
    $ sudo tmutil isexcluded ~/Documents/Parallels/Windows\ 7.pvm/
    [Excluded]          /Users/myuserid/Documents/Parallels/Windows 7.pvm
    It's unfortunate that there did not appear to be a "listexcluded" verb (sigh), and it's really terrible that one can see that something is excluded via the command-line, but it doesn't appear in the Time Machine whiz-bang graphical interface.  I'd call that a major bug.

  • How does two step verification work with an iPad?

    Two step verification seems to require an iPhone for the code - can it be set up for an iPad?

    Apple ID Two-Step verification FAQ
    http://support.apple.com/kb/HT5570

Maybe you are looking for

  • ARG! I am unable to authorize my songs!

    I am trying to authorize some music and it won't let me, it keeps saying "There was an error storing your authorization information on this computer. The required directory was not found or has a permissions error. Correct this permissions problem an

  • Latest update won't install

    I'm not computer literate, so any help will have to be worded as if you're writing it for an idiot, which is not far from the truth! Last night in trying to play World of Warcraft, I got an error message at the games logon and it said I should be usi

  • Firewire for a HP Notebook?

    I am looking to buy a Canon Vixia HV40 for filming short films and I know this kind of camera requires firewire in order to upload the media. I just bought the HP Sweet Purple 15.6" Pavilion G6-1A59WM Laptop PC with Windows 7 and Intel Core i3 and I

  • How to customize title of standalone player?

    I have a small Flex based calculator that I need to publish as a standalone .exe I open the SWF in the standalone player, and File > Create Projector. I can rename the file, but the title of the player window and the tab on the windows taskbar says "

  • Airport extreme purchased in UK to be used in USA

    I bought my airport extreme in the UK and I now need to use it in the USA. The USA is not shown in the country list. When I use it in the USA should I leave the country selected as UK or will USA show up once connected to a USA ISP. Is there a major