TINMAN 3D / REALTIME TERRAIN
Software Development Kit - User Manual

interface ICollector in Tinman.Core.Collections

Base interface for classes that collect elements.

interface ICollector with <in T>  
  base of ContentNode
  IBag
  IDeque
  IGeoPath
  MapRegion
  TypeDocNode

Methods

Add

Adds the given element to this collection.

method Add (T element)
type bool
params element The element to add.
returns true if the collection has changed, false if not.

Remarks:

Implementing methods shall return false iff the element has already been collected, i.e. it is contained in the collection. If in doubt, return true.