trait DecorateAsScala extends AsScalaConverters
- Alphabetic
- By Inheritance
- DecorateAsScala
- AsScalaConverters
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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
asScalaBuffer[A](l: List[A]): Buffer[A]
Converts a Java
Listto a Scala mutableBuffer.Converts a Java
Listto a Scala mutableBuffer.The returned Scala
Bufferis backed by the provided JavaListand any side-effects of using it via the Scala interface will be visible via the Java interface and vice versa.If the Java
Listwas previously obtained from an implicit or explicit call ofJavaConverters.bufferAsJavaList(scala.collection.mutable.Buffer)then the original ScalaBufferwill be returned.- l
The Java
Listto be converted.- returns
A Scala mutable
Bufferview of the argument.
- Definition Classes
- AsScalaConverters
-
implicit
def
asScalaBufferConverter[A](l: List[A]): AsScala[Buffer[A]]
Adds an
asScalamethod that implicitly converts a JavaListto a Scala mutableBuffer.Adds an
asScalamethod that implicitly converts a JavaListto a Scala mutableBuffer.- See also
-
def
asScalaIterator[A](i: java.util.Iterator[A]): Iterator[A]
Converts a Java
Iteratorto a ScalaIterator.Converts a Java
Iteratorto a ScalaIterator.The returned Scala
Iteratoris backed by the provided JavaIteratorand any side-effects of using it via the Scala interface will be visible via the Java interface and vice versa.If the Java
Iteratorwas previously obtained from an implicit or explicit call ofJavaConverters.asJavaIterator(scala.collection.Iterator)then the original ScalaIteratorwill be returned.- i
The Java
Iteratorto be converted.- returns
A Scala
Iteratorview of the argument.
- Definition Classes
- AsScalaConverters
-
implicit
def
asScalaIteratorConverter[A](i: java.util.Iterator[A]): AsScala[Iterator[A]]
Adds an
asScalamethod that implicitly converts a JavaIteratorto a ScalaIterator.Adds an
asScalamethod that implicitly converts a JavaIteratorto a ScalaIterator.- See also
-
def
asScalaSet[A](s: java.util.Set[A]): mutable.Set[A]
Converts a Java
Setto a Scala mutableSet.Converts a Java
Setto a Scala mutableSet.The returned Scala
Setis backed by the provided JavaSetand any side-effects of using it via the Scala interface will be visible via the Java interface and vice versa.If the Java
Setwas previously obtained from an implicit or explicit call ofJavaConverters.mutableSetAsJavaSet(scala.collection.mutable.Set)then the original ScalaSetwill be returned.- s
The Java
Setto be converted.- returns
A Scala mutable
Setview of the argument.
- Definition Classes
- AsScalaConverters
-
implicit
def
asScalaSetConverter[A](s: java.util.Set[A]): AsScala[mutable.Set[A]]
Adds an
asScalamethod that implicitly converts a JavaSetto a Scala mutableSet.Adds an
asScalamethod that implicitly converts a JavaSetto a Scala mutableSet.- See also
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
collectionAsScalaIterable[A](i: Collection[A]): Iterable[A]
Converts a Java
Collectionto an ScalaIterable.Converts a Java
Collectionto an ScalaIterable.If the Java
Collectionwas previously obtained from an implicit or explicit call ofJavaConverters.asJavaCollection(scala.collection.Iterable)then the original ScalaIterablewill be returned.- i
The Java
Collectionto be converted.- returns
A Scala
Iterableview of the argument.
- Definition Classes
- AsScalaConverters
-
implicit
def
collectionAsScalaIterableConverter[A](i: Collection[A]): AsScala[Iterable[A]]
Adds an
asScalamethod that implicitly converts a JavaCollectionto an ScalaIterable.Adds an
asScalamethod that implicitly converts a JavaCollectionto an ScalaIterable.- See also
-
def
dictionaryAsScalaMap[A, B](p: Dictionary[A, B]): mutable.Map[A, B]
Converts a Java
Dictionaryto a Scala mutableMap.Converts a Java
Dictionaryto a Scala mutableMap.The returned Scala
Mapis backed by the provided JavaDictionaryand any side-effects of using it via the Scala interface will be visible via the Java interface and vice versa.If the Java
Dictionarywas previously obtained from an implicit or explicit call ofJavaConverters.asJavaDictionary(scala.collection.mutable.Map)then the original ScalaMapwill be returned.- p
The Java
Dictionaryto be converted.- returns
A Scala mutable
Mapview of the argument.
- Definition Classes
- AsScalaConverters
-
implicit
def
dictionaryAsScalaMapConverter[A, B](p: Dictionary[A, B]): AsScala[mutable.Map[A, B]]
Adds an
asScalamethod that implicitly converts a JavaDictionaryto a Scala mutableMap.Adds an
asScalamethod that implicitly converts a JavaDictionaryto a Scala mutableMap.- See also
-
def
enumerationAsScalaIterator[A](i: Enumeration[A]): Iterator[A]
Converts a Java
Enumerationto a ScalaIterator.Converts a Java
Enumerationto a ScalaIterator.The returned Scala
Iteratoris backed by the provided JavaEnumerationand any side-effects of using it via the Scala interface will be visible via the Java interface and vice versa.If the Java
Enumerationwas previously obtained from an implicit or explicit call ofJavaConverters.asJavaEnumeration(scala.collection.Iterator)then the original ScalaIteratorwill be returned.- i
The Java
Enumerationto be converted.- returns
A Scala
Iteratorview of the argument.
- Definition Classes
- AsScalaConverters
-
implicit
def
enumerationAsScalaIteratorConverter[A](i: Enumeration[A]): AsScala[Iterator[A]]
Adds an
asScalamethod that implicitly converts a JavaEnumerationto a ScalaIterator.Adds an
asScalamethod that implicitly converts a JavaEnumerationto a ScalaIterator.- See also
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
iterableAsScalaIterable[A](i: java.lang.Iterable[A]): Iterable[A]
Converts a Java
Iterableto a ScalaIterable.Converts a Java
Iterableto a ScalaIterable.The returned Scala
Iterableis backed by the provided JavaIterableand any side-effects of using it via the Scala interface will be visible via the Java interface and vice versa.If the Java
Iterablewas previously obtained from an implicit or explicit call ofJavaConverters.asJavaIterable(scala.collection.Iterable) then the original ScalaIterablewill be returned.- i
The Java
Iterableto be converted.- returns
A Scala
Iterableview of the argument.
- Definition Classes
- AsScalaConverters
-
implicit
def
iterableAsScalaIterableConverter[A](i: java.lang.Iterable[A]): AsScala[Iterable[A]]
Adds an
asScalamethod that implicitly converts a JavaIterableto a ScalaIterable.Adds an
asScalamethod that implicitly converts a JavaIterableto a ScalaIterable.- See also
-
def
mapAsScalaMap[A, B](m: java.util.Map[A, B]): mutable.Map[A, B]
Converts a Java
Mapto a Scala mutableMap.Converts a Java
Mapto a Scala mutableMap.The returned Scala
Mapis backed by the provided JavaMapand any side-effects of using it via the Scala interface will be visible via the Java interface and vice versa.If the Java
Mapwas previously obtained from an implicit or explicit call ofJavaConverters.mutableMapAsJavaMap(scala.collection.mutable.Map)then the original ScalaMapwill be returned.If the wrapped map is synchronized (e.g. from
java.util.Collections.synchronizedMap), it is your responsibility to wrap all non-atomic operations withunderlying.synchronized. This includesget, asjava.util.Map's API does not allow for an atomicgetwhennullvalues may be present.- m
The Java
Mapto be converted.- returns
A Scala mutable
Mapview of the argument.
- Definition Classes
- AsScalaConverters
-
implicit
def
mapAsScalaMapConverter[A, B](m: java.util.Map[A, B]): AsScala[mutable.Map[A, B]]
Adds an
asScalamethod that implicitly converts a JavaMapto a Scala mutableMap.Adds an
asScalamethod that implicitly converts a JavaMapto a Scala mutableMap.- See also
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
propertiesAsScalaMap(p: Properties): mutable.Map[String, String]
Converts a Java
Propertiesto a Scala mutableMap[String, String].Converts a Java
Propertiesto a Scala mutableMap[String, String].The returned Scala
Map[String, String]is backed by the provided JavaPropertiesand any side-effects of using it via the Scala interface will be visible via the Java interface and vice versa.- p
The Java
Propertiesto be converted.- returns
A Scala mutable
Map[String, String]view of the argument.
- Definition Classes
- AsScalaConverters
-
implicit
def
propertiesAsScalaMapConverter(p: Properties): AsScala[mutable.Map[String, String]]
Adds an
asScalamethod that implicitly converts a JavaPropertiesto a Scala mutableMap[String, String].Adds an
asScalamethod that implicitly converts a JavaPropertiesto a Scala mutableMap[String, String].- See also
-
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( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )