ZDNet UK


Skip to Main Content

ZDNet.co.uk - Winner of Best Business Website 2007
  1. Home
  2. News
  3. Blogs
  4. Reviews
  5. Prices
  6. Resources
  7. Community
  8. My ZDNet

 

ZDNet UK RSS Feeds


IT Jobs

Application development Toolkit

Download Now

Java 1.5 Tiger: Enumerated Types

Did you find this white paper useful?
1 out of 2 users found this white paper useful


Publisher OReilly Media
Publisher Registration N/A
Topics Java, Programming Languages, Application Development Date added 11 Jun 2004
Downloads 0 Format 168.7KB PDF

In Java 1.4 and below, there were two basic ways to define new types: through classes and interfaces. For most object-oriented programming, this would seem to be enough. The problem is that there are still some very specific cases where neither is these is sufficient, most commonly when one needs to define a finite set of allowed values for a specific data type. For instance, one might want a type called Grade that can only be assigned values of A, B, C, D, F, or Incomplete. Any other values are illegal for this type. This sort of construct is possible prior to Tiger, but it takes a lot of work, and there are still some significant problems.

Download Now

Did you find this white paper useful?
1 out of 2 users found this white paper useful


  • Trackback
  • Clip Link

Related white papers

ADF Faces and JSF - Q&A BOF Session

This webcast is a question and answer session on ADF Faces and JSF.


Programming the Smallest Java Card Platform

The Java Card is the smallest Java platform and available on millions of smart cards including some of the Subscriber Identity Module (SIM) cards used by GSM telephone operators. The...


Create Ajax-Style Architectures With the IBM Web 2.0 Feature Pack

This paper shows the user how a Java 2 Platform, Enterprise Edition (J2EE) application was enhanced with an Ajax-style architecture by using the IBM WebSphere Application Server Feature Pack for...


The Java Virtual Appliance--No OS Required

This free white paper reveals how a new Java virtualization approach can result in a streamlined "Java Virtual Appliance" that lets you leverage your current hardware for years--without the usual...


BEA WebLogic Operations Control: Application Virtualization for Enterprise Java

In this free white paper, learn how to make your computing resources more flexible, responsive, and highly available--all by deploying a management framework to proactively address key Java virtualization challenges....


Enterprise Java Virtualization--Understanding the TCO Implications

In this free executive brief, understand the most important TCO factors for a virtualized enterprise Java application, as well as the benefits of eliminating the OS layer. Then, learn more...


Fairfield Residential LLC Improves Information Access With Flexible Human Capital Management Solution

Fairfield Residential LLC is a leader in the multi-family home industry and consistently ranks among the largest multi-family home developers, builders, and redevelopers nationwide. Fairfield Residential LLC wanted to facilitate...


Featured White paper

Aberdeen Group: Best in Class Organisations Use Packeteers WAN Optimisation Solutions

Independent research from the Aberdeen Group shows that the most successful enterprises are reaping the benefits of the Packeteer solution and are using it for competitive advantage. Download the full report to find out why.

Download Now

Other White Papers

Make the Move from UNIX to Linux: Now is the Time

UNIX generally requires expensive proprietary software and hardware as well as budget-draining...

Identity and Security Management and Strong Information Technology Goverance

A total identity and access management (IAM) – driven goverance, risk and compliance (GRC) solution...

See All White Papers