This repository was archived by the owner on Sep 1, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -82,6 +82,11 @@ object Predef extends LowPriorityImplicits with DeprecatedPredef {
82
82
*/
83
83
def classOf [T ]: Class [T ] = null // This is a stub method. The actual implementation is filled in by the compiler.
84
84
85
+ /** The `String` type in Scala has methods that come either from the underlying
86
+ * Java String (see the documentation corresponding to your Java version, for
87
+ * example [[http://docs.oracle.com/javase/8/docs/api/java/lang/String.html ]]) or
88
+ * are added implicitly through [[scala.collection.immutable.StringOps ]].
89
+ */
85
90
type String = java.lang.String
86
91
type Class [T ] = java.lang.Class [T ]
87
92
Original file line number Diff line number Diff line change @@ -12,10 +12,9 @@ package immutable
12
12
13
13
import mutable .StringBuilder
14
14
15
- /**
16
- * This class serves as a wrapper providing `String`s with all the operations
17
- * found in indexed sequences. Where needed, instances of `String` object
18
- * are implicitly converted into this class.
15
+ /** This class serves as a wrapper providing [[scala.Predef.String ]]s with all
16
+ * the operations found in indexed sequences. Where needed, `String`s are
17
+ * implicitly converted into instances of this class.
19
18
*
20
19
* The difference between this class and `WrappedString` is that calling transformer
21
20
* methods such as `filter` and `map` will yield a `String` object, whereas a
You can’t perform that action at this time.
0 commit comments