scala.collection.JavaConversions

class MutableBufferWrapper

[source: scala/collection/JavaConversions.scala]

case class MutableBufferWrapper[A](val underlying : Buffer[A])
extends java.util.AbstractList[A] with Product
Method Summary
override def add (elem : A) : Boolean
override def canEqual (arg0 : Any) : Boolean
An equality helper method to assist in maintaining reflexivity in the face of subtyping. For more, see http://www.artima.com/lejava/articles/equality.html
def get (i : Int) : A
override def productArity : Int
return k for a product A(x_1,...,x_k)
override def productElement (arg0 : Int) : Any
for a product A(x_1,...,x_k), returns x_(n+1) for 0 <= n < k
override def productPrefix : java.lang.String
By default the empty string. Implementations may override this method in order to prepend a string prefix to the result of the toString methods.
override def remove (i : Int) : A
override def set (i : Int, elem : A) : A
def size : Int
Methods inherited from Product
productIterator, productElements
Methods inherited from java.util.AbstractList
java.util.AbstractList.add, java.util.AbstractList.indexOf, java.util.AbstractList.lastIndexOf, java.util.AbstractList.clear, java.util.AbstractList.addAll, java.util.AbstractList.iterator, java.util.AbstractList.listIterator, java.util.AbstractList.listIterator, java.util.AbstractList.subList, java.util.AbstractList.equals, java.util.AbstractList.hashCode, java.util.AbstractList.removeRange
Methods inherited from java.util.AbstractCollection
java.util.AbstractCollection.isEmpty, java.util.AbstractCollection.contains, java.util.AbstractCollection.toArray, java.util.AbstractCollection.toArray, java.util.AbstractCollection.remove, java.util.AbstractCollection.containsAll, java.util.AbstractCollection.addAll, java.util.AbstractCollection.removeAll, java.util.AbstractCollection.retainAll, java.util.AbstractCollection.toString
Methods inherited from AnyRef
getClass, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Method Details
def size : Int

def get(i : Int) : A
Overrides
java.util.AbstractList.java.util.AbstractList.get

override def set(i : Int, elem : A) : A
Overrides
java.util.AbstractList.java.util.AbstractList.set

override def add(elem : A) : Boolean
Overrides
java.util.AbstractList.java.util.AbstractList.add

override def remove(i : Int) : A
Overrides
java.util.AbstractList.java.util.AbstractList.remove

override def productPrefix : java.lang.String
By default the empty string. Implementations may override this method in order to prepend a string prefix to the result of the toString methods.
Overrides
Product.productPrefix

override def productArity : Int
return k for a product A(x_1,...,x_k)
Overrides
Product.productArity

override def productElement(arg0 : Int) : Any
for a product A(x_1,...,x_k), returns x_(n+1) for 0 <= n < k
Parameters
n - the index of the element to return
Throws
IndexOutOfBoundsException -
Returns
The element n elements after the first element
Overrides
Product.productElement

override def canEqual(arg0 : Any) : Boolean
An equality helper method to assist in maintaining reflexivity in the face of subtyping. For more, see http://www.artima.com/lejava/articles/equality.html
Overrides
Product.canEqual