diff options
author | mihaylov <mihaylov@epfl.ch> | 2007-02-09 14:50:54 +0000 |
---|---|---|
committer | mihaylov <mihaylov@epfl.ch> | 2007-02-09 14:50:54 +0000 |
commit | 408c6fe6c553276bc11ade8ea5807d2121503d80 (patch) | |
tree | fafb16693957bb729ec726d44ea93a993fd22602 /src/dotnet-library | |
parent | 152563b963992dc7a5d8eea863cf70fc2b540c52 (diff) | |
download | scala-408c6fe6c553276bc11ade8ea5807d2121503d80.tar.gz scala-408c6fe6c553276bc11ade8ea5807d2121503d80.tar.bz2 scala-408c6fe6c553276bc11ade8ea5807d2121503d80.zip |
Removed some platform-agnostic files from src/d...
Removed some platform-agnostic files from src/dotnet-library
Diffstat (limited to 'src/dotnet-library')
-rw-r--r-- | src/dotnet-library/scala/runtime/RichBoolean.scala | 23 | ||||
-rw-r--r-- | src/dotnet-library/scala/runtime/RichByte.scala | 23 | ||||
-rw-r--r-- | src/dotnet-library/scala/runtime/RichInt.scala | 28 | ||||
-rw-r--r-- | src/dotnet-library/scala/runtime/RichLong.scala | 27 | ||||
-rw-r--r-- | src/dotnet-library/scala/runtime/RichShort.scala | 23 |
5 files changed, 0 insertions, 124 deletions
diff --git a/src/dotnet-library/scala/runtime/RichBoolean.scala b/src/dotnet-library/scala/runtime/RichBoolean.scala deleted file mode 100644 index ab47a97748..0000000000 --- a/src/dotnet-library/scala/runtime/RichBoolean.scala +++ /dev/null @@ -1,23 +0,0 @@ -/* __ *\ -** ________ ___ / / ___ Scala API ** -** / __/ __// _ | / / / _ | (c) 2002-2006, LAMP/EPFL ** -** __\ \/ /__/ __ |/ /__/ __ | ** -** /____/\___/_/ |_/____/_/ | | ** -** |/ ** -\* */ - -// $Id$ - - -package scala.runtime - - -final class RichBoolean(x: Boolean) extends Proxy with Ordered[Boolean] { - - // Proxy.self - def self: Any = x - - // Ordered[Boolean].compare - def compare (y: Boolean): Int = if (x == y) 0 else if (x) 1 else -1 - -} diff --git a/src/dotnet-library/scala/runtime/RichByte.scala b/src/dotnet-library/scala/runtime/RichByte.scala deleted file mode 100644 index 5d3cca2aa3..0000000000 --- a/src/dotnet-library/scala/runtime/RichByte.scala +++ /dev/null @@ -1,23 +0,0 @@ -/* __ *\ -** ________ ___ / / ___ Scala API ** -** / __/ __// _ | / / / _ | (c) 2002-2006, LAMP/EPFL ** -** __\ \/ /__/ __ |/ /__/ __ | ** -** /____/\___/_/ |_/____/_/ | | ** -** |/ ** -\* */ - -// $Id$ - - -package scala.runtime - - -final class RichByte(x: Byte) extends Proxy with Ordered[Byte] { - - // Proxy.self - def self: Any = x - - // Ordered[Byte].compare - def compare (y: Byte): Int = if (x < y) -1 else if (x > y) 1 else 0 - -} diff --git a/src/dotnet-library/scala/runtime/RichInt.scala b/src/dotnet-library/scala/runtime/RichInt.scala deleted file mode 100644 index ef6f330e71..0000000000 --- a/src/dotnet-library/scala/runtime/RichInt.scala +++ /dev/null @@ -1,28 +0,0 @@ -/* __ *\ -** ________ ___ / / ___ Scala API ** -** / __/ __// _ | / / / _ | (c) 2002-2006, LAMP/EPFL ** -** __\ \/ /__/ __ |/ /__/ __ | ** -** /____/\___/_/ |_/____/_/ | | ** -** |/ ** -\* */ - -// $Id$ - -package scala.runtime - -final class RichInt(x: Int) extends Proxy with Ordered[Int] { - - // Proxy - def self: Any = x - - // Ordered[Int] - def compare (y: Int): Int = if (x < y) -1 else if (x > y) 1 else 0 - - def until(y: Int): Iterator[Int] = Iterator.range(x, y) - def to(y: Int): Iterator[Int] = Iterator.range(x, y + 1) - - def min(y: Int): Int = if (x < y) x else y - def max(y: Int): Int = if (x > y) x else y - def abs: Int = if (x < 0) -x else x - -} diff --git a/src/dotnet-library/scala/runtime/RichLong.scala b/src/dotnet-library/scala/runtime/RichLong.scala deleted file mode 100644 index 4a58b71e16..0000000000 --- a/src/dotnet-library/scala/runtime/RichLong.scala +++ /dev/null @@ -1,27 +0,0 @@ -/* __ *\ -** ________ ___ / / ___ Scala API ** -** / __/ __// _ | / / / _ | (c) 2002-2006, LAMP/EPFL ** -** __\ \/ /__/ __ |/ /__/ __ | ** -** /____/\___/_/ |_/____/_/ | | ** -** |/ ** -\* */ - -// $Id$ - - -package scala.runtime - - -final class RichLong(x: Long) extends Proxy with Ordered[Long] { - - // Proxy.self - def self: Any = x - - // Ordered[Long].compare - def compare (y: Long): Int = if (x < y) -1 else if (x > y) 1 else 0 - - def min(y: Long): Long = if (x < y) x else y - def max(y: Long): Long = if (x > y) x else y - def abs: Long = if (x < 0) -x else x - -} diff --git a/src/dotnet-library/scala/runtime/RichShort.scala b/src/dotnet-library/scala/runtime/RichShort.scala deleted file mode 100644 index 4615dec610..0000000000 --- a/src/dotnet-library/scala/runtime/RichShort.scala +++ /dev/null @@ -1,23 +0,0 @@ -/* __ *\ -** ________ ___ / / ___ Scala API ** -** / __/ __// _ | / / / _ | (c) 2002-2006, LAMP/EPFL ** -** __\ \/ /__/ __ |/ /__/ __ | ** -** /____/\___/_/ |_/____/_/ | | ** -** |/ ** -\* */ - -// $Id$ - - -package scala.runtime - - -final class RichShort(x: Short) extends Proxy with Ordered[Short] { - - // Proxy.self - def self: Any = x - - // Ordered[Short].compare - def compare (y: Short): Int = if (x < y) -1 else if (x > y) 1 else 0 - -} |