object FP
- Alphabetic
- By Inheritance
- FP
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getURLForResource(resourceName: String, clazz: Class[_] = getClass): Try[URL]
Method to yield a Try[URL] for a resource name and a given class.
Method to yield a Try[URL] for a resource name and a given class.
- resourceName
the name of the resource.
- clazz
the class, relative to which, the resource can be found.
- returns
a Try[URL]
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def indexFound(w: String, i: Int): Try[Int]
Method to determine if the String w was found at a valid index (i).
Method to determine if the String w was found at a valid index (i).
- w
the String (ignored unless there's an exception).
- i
the index found.
- returns
Success(i) if all well, else Failure(exception).
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def safeResource[R, A](resource: => R)(f: (R) => Try[A]): Try[A]
This method is to Using.apply as flatMap is to Map.
This method is to Using.apply as flatMap is to Map.
- R
the resource type.
- A
the underlying type of the result.
- resource
a resource which is used by f and will be managed via Using.resource
- f
a function of R => Try[A].
- returns
a Try[A]
- def sequence[X](xys: Iterable[Try[X]]): Try[Seq[X]]
Sequence method to combine elements of Try.
Sequence method to combine elements of Try.
- X
the underlying type
- xys
an Iterable of Try[X]
- returns
a Try of Seq[X] NOTE: that the output collection type will be Seq, regardless of the input type
- def sequence[X](xys: Iterator[Try[X]]): Try[Iterator[X]]
Sequence method to combine elements of Try.
Sequence method to combine elements of Try.
- X
the underlying type
- xys
an Iterator of Try[X]
- returns
a Try of Iterator[X]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()