Menu

#23 TypedHolder :: get the Type of structure

0.1a
closed
6
2005-02-03
2005-02-02
eRom
No

Hi,

We have 4 class for assuming strong typing :
- TypedArray
- TypedStack
- TypedQueue
- TypedMap

Currently we don't know the "type" defines in these
class after contructor call.
So a small Getter method for retreiving "type"
information can be very very useful no ? or is there
another way to retreive it easily ?

I test it with this method :
------------------------------------------
public function getType(Void) : Function {
return this.type;
}
------------------------------------------

Thanks in addvance ;)

eRom.

Discussion

  • eRom

    eRom - 2005-02-02
    • milestone: --> 0.1a
    • priority: 5 --> 6
     
  • Simon Wacker

    Simon Wacker - 2005-02-03

    Logged In: YES
    user_id=922171

    I added the getType(Void):Function methods to the
    TypedArray, TypedStack, TypedQueue and TypedMap classes.

     
  • Simon Wacker

    Simon Wacker - 2005-02-03
    • status: open --> closed
     
  • eRom

    eRom - 2005-02-03

    Logged In: YES
    user_id=1196309

    Thanks ;)

    eRom.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.