org.specs.collection.ExtendedIterable.ExtendedIterable

class ExtendedIterable

class ExtendedIterable[A](xs : Iterable[A])

 extends ScalaObject


See the description of the ExtendedIterable object


Source: ExtendedIterable.scala(21)

Nested Classes

AnyWithSameElements,

 Constructors

def this(xs : Iterable[A])

 Fields

toDeepString def toDeepString
[details]
return
- the representation of the elements of the iterable using the toString method recursively
String
toStream def toStream
[details]
return
- a Stream created from the iterable
Stream[A]

 Methods

!= final def !=(arg0 : Object) Boolean AnyRef
!= final def !=(arg0 : Any) Boolean Any
== final def ==(arg0 : Any) Boolean Any
== final def ==(arg0 : Object) Boolean AnyRef
anyToSameElements implicit def anyToSameElements(x : Any)
adds the sameElementsAs method to any object in order to do that comparison recursively
AnyWithSameElements
asInstanceOf final def asInstanceOf[T0] T0 Any
clone protected def clone Object AnyRef
containsInOrder def containsInOrder[A](l : Iterable[A])
[details]
return
- true if the second iterable elements are contained in the first, in order
Boolean
eq final def eq(arg0 : Object) Boolean AnyRef
equals def equals(arg0 : Any) Boolean AnyRef
finalize protected def finalize Unit AnyRef
getClass final def getClass Class[Object] AnyRef
hashCode def hashCode Int AnyRef
isInstanceOf final def isInstanceOf[T0] Boolean Any
isSimilar def isSimilar[B >: A](that : Iterable[B], f : (A, B) => Boolean)
[details]
return
- true if the 2 iterables contain the same elements, in the same order, according to a function f
Boolean
ne final def ne(arg0 : Object) Boolean AnyRef
notify final def notify Unit AnyRef
notifyAll final def notifyAll Unit AnyRef
sameElementsAs def sameElementsAs(that : Iterable[A], f : (A, A) => Boolean)
[details]
return
- true if the 2 iterables contain the same elements (according to a comparision function f) recursively, in any order
Boolean
sameElementsAs def sameElementsAs(that : Iterable[A])
[details]
return
- true if the 2 iterables contain the same elements recursively, in any order
Boolean
synchronized final def synchronized[T0](arg0 : T0) T0 AnyRef
toString def toString String AnyRef
wait final def wait(arg0 : Long, arg1 : Int) Unit AnyRef
wait final def wait Unit AnyRef
wait final def wait(arg0 : Long) Unit AnyRef
Copyright (c) 2007-2009. All Rights Reserved.