POV-Ray : Newsgroups : povray.off-topic : Java Object Collections : Java Object Collections Server Time
29 Jul 2024 22:25:05 EDT (-0400)
  Java Object Collections  
From: Tom Austin
Date: 4 Apr 2011 10:04:44
Message: <4d99cffc$1@news.povray.org>
OK, I'm starting to play with Java and have a couple of questions.

I have several objects that are nested and have collections that I want 
to iterate through

object playground
	collection of ball(s)
	collection of kid(s)
		collection of shoes
	collection of bat(s)

object ball
	object balltype
	object color
object kid
	name
object shoe
	object color
object bat
	length


object color
	colorname
object balltype
	type



I know how to put this together with VB NET using "Inherits CollectionBase".

But how do I go about this with Java?


Thanks,

Tom


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.