For each interface number, there can be multiple interface settings, called "alternate settings". The configuration contains a list of all settings for each interface number in the hashmap.
On 7/9/07, vijaykumar motagi <[EMAIL PROTECTED]> wrote: > > Hi, > > I am just trying to understnd how the interfaces are stored in a > configuration. > > In the "UsbConfigurationImp" file, the interrfaces are defined as below. > > private HashMap interfaces = new HashMap(); > > > In this file as I understnad all the interfaces are stored as a HashMap > with a key. Again each value for each key is a list. > > Why this list is required? Why not the interface itself correponding to > that key? > > Regards > Vijay > > > > > > > Date: Mon, 9 Jul 2007 12:24:42 +0200 > > From: [EMAIL PROTECTED] > > To: [EMAIL PROTECTED] > > CC: javax-usb-devel@lists.sourceforge.net > > Subject: Re: [javax-usb-devel] doubt on the interface implementation of > the USB driver. > > > > On Mon, 9 Jul 2007, vijaykumar motagi wrote: > > > > > > > > Hello Dan Streetman,I have a doubt on the interface implementation of > > > the USB driver.As I understand all the interfaces in a configuration are > > > stored in a HashMap.Again the hash map contains the list of all the > > > interface. I do not understand the need of the List inside the Hash Map > > > here. Please clarify the reason behind this implementation. > > > RegardsVijay > > > > I'm not sure what you are referring to, in UsbDeviceImp the configurations > > are stored in a list, is is an other collection of the configurations that > > countains the HashMap? > > > > //Roger > > > ________________________________ > Catch the cricket action with MSN! Click here! > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > javax-usb-devel mailing list > javax-usb-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/javax-usb-devel > > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ javax-usb-devel mailing list javax-usb-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/javax-usb-devel