cgta.oscala.OPlatform.scala Maven / Gradle / Ivy
The newest version!
package cgta.oscala
//////////////////////////////////////////////////////////////
// Copyright (c) 2014 Ben Jackman, Jeff Gomberg
// All Rights Reserved
// please contact [email protected] or [email protected]
// for licensing inquiries
// Created by bjackman @ 6/19/14 8:45 PM
//////////////////////////////////////////////////////////////
object OPlatform extends OPlatform with OPlatformImpl
trait OPlatform {
trait StringUtils {
def isNumeric(s : String) : Boolean
}
val StringUtils : StringUtils
trait SortingUtils {
//Can still be stable, but doesn't have to be
def unstableInplace[A](xs : Array[A])(implicit ord : Ordering[A])
}
val SortingUtils : SortingUtils
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy