Home     |     Java    |     Php General    |     Oracle Database    |     Oracle Server  

MS Dynamics CRM 3.0

  •  Setting up and Configuring Microsoft Dynamics CRM 3.0
  •  Managing Security and Information Access
  •  Entity Customization: Concepts and Attributes
  •  Entity Customization: Forms and Views
  •  Entity Customization: Relationships, Custom Entities, and Site Map
  •  Reporting and Analysis
  •  Workflow
  •  Server-Side SDK
  •  Client-Side SDK
  •  Integration with External Applications
  • Cervo Technologies
    The Right Source to Outsource

    Sharepoint Portal Server KB

    Microsoft CRM Info

    WPF Interview Questions

    SilverLight Interview Qs

    Asp.Net 2.0 Interview Qs

    Asp.NET 1.1 FAQs

    Oracle Interview Questions

    SAP Interview Questions

    Java Programming

    More enum confusion


    The documentation for the Enum method ordinal() states "Most programmers
    will have no use for this method."  Since I can't use an enum constant
    directly as an array index (which seems like a huge oversight), how else
    would I use it for indexing *other* than getting the ordinal?

    Thanks,
    Eric

    Eric Smith wrote:
    > The documentation for the Enum method ordinal() states "Most programmers
    > will have no use for this method."  Since I can't use an enum constant
    > directly as an array index (which seems like a huge oversight), how else
    > would I use it for indexing *other* than getting the ordinal?

    Forget (reference) arrays. They are broken.

    Use java.util.EnumMap.

    Tom Hawtin

    Add to del.icio.us | Digg this | Stumble it | Powered by Megasolutions Inc