English

Empowering Collections with Swarm Behavior

Programming Languages 2010-07-02 v1

Abstract

Often, when modelling a system there are properties and operations that are related to a group of objects rather than to a single object. In this paper we extend Java with Swarm Behavior, a new composition operator that associates behavior with a collection of instances. The lookup resolution of swarm behavior is based on the element type of a collection and is thus orthogonal to the collection hierarchy.

Keywords

Cite

@article{arxiv.1007.0159,
  title  = {Empowering Collections with Swarm Behavior},
  author = {Adrian Kuhn and David Erni and Marcus Denker},
  journal= {arXiv preprint arXiv:1007.0159},
  year   = {2010}
}
R2 v1 2026-06-21T15:43:28.413Z