scala.swing.ListView.selection

class Indices

[source: scala/swing/ListView/selection.scala]

protected abstract class Indices[A](a : => Seq[A])
extends Set[A]
Direct Known Subclasses:
ListView.selection.indices

Method Summary
abstract def += (n : A) : Unit
Add a new element to the set.
abstract def -= (n : A) : Unit
Removes a single element from a set.
def contains (n : A) : Boolean
Checks if this set contains element elem.
def elements : Iterator[A]
Creates a new iterator over all elements contained in this object.
def size : Int
Returns the number of elements in this set.
Methods inherited from Set
update, +=, ++=, ++=, +, +, ++, ++, incl, -=, --=, --=, -, -, --, --, excl, intersect, retain, clear, <<, clone, readOnly
Methods inherited from Set
apply, isEmpty, subsetOf, *, **, equals, hashCode, toArray, stringPrefix
Methods inherited from Collection
toString
Methods inherited from Iterable
concat, ++, map, flatMap, filter, partition, takeWhile, dropWhile, take, drop, foreach, forall, exists, find, findIndexOf, indexOf, foldLeft, foldRight, /:, :\, reduceLeft, reduceRight, copyToBuffer, sameElements, toList, toSeq, toStream, mkString, mkString, mkString, addString, addString, addString, copyToArray, projection, hasDefiniteSize
Methods inherited from Function1
compose, andThen
Methods inherited from AnyRef
getClass, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Method Details
abstract def -=(n : A) : Unit
Removes a single element from a set.
Parameters
elem - The element to be removed.
Overrides
Set.-=

abstract def +=(n : A) : Unit
Add a new element to the set.
Parameters
elem - the element to be added
Overrides
Set.+=

def contains(n : A) : Boolean
Checks if this set contains element elem.
Parameters
elem - the element to check for membership.
Returns
true iff elem is contained in this set.

def size : Int
Returns the number of elements in this set.
Returns
number of set elements.

def elements : Iterator[A]
Creates a new iterator over all elements contained in this object.
Returns
the new iterator