Packages

  • package root
    Definition Classes
    root
  • package edu
    Definition Classes
    root
  • package holycross
    Definition Classes
    edu
  • package shot
    Definition Classes
    holycross
  • package greek

    Package for representing text in Ancient Greek, since the fundamental assumption of Unicode that code points belong to a single language is wrong, as is the definition in the ISO 639 standards of a single "Greek" dialect for all Greek "to 1453".

    Package for representing text in Ancient Greek, since the fundamental assumption of Unicode that code points belong to a single language is wrong, as is the definition in the ISO 639 standards of a single "Greek" dialect for all Greek "to 1453".

    Overview

    Classes implementing the GreekString trait define an encoding system for writing some form of ancient Greek with an ordered set of characters drawn from the ASCII character set whenever possible. The CodePointTranscoder object provides a mapping of ASCII character sequences to glyphs taken primarily from the so-called "Greek and Coptic" and "Extended Greek" blocks of Unicode. Using the concrete implementation of the GreekString trait's asciiCompare function, any class extending the GreekString trait can trivially extend Scala's Ordered trait as well.

    JVM vs. Javascript implementation

    The JVM implementation normalizes all Unicode to Form NFC, using standard Java classes. No comparable library exists for Javascript, and it is probable that String comparisons and conversions from ascii to ucode representations of classes implementing the GreekString trait will only work correctly for Unicode that is already normalized to Form NFC.

    Definition Classes
    shot
  • AtticGreekString
  • CodePointPair
  • CodePointTranscoder
  • GreekException
  • GreekNumeric
  • GreekString
  • LGSValidator
  • LiteraryGreekString
  • Main
  • MilesianInteger
  • MilesianNumeric
  • MilesianWithFraction
  • MilesianWithPartial
  • MilesianWithSexagesimal
c

edu.holycross.shot.greek

MilesianWithFraction

case class MilesianWithFraction(str: String) extends MilesianWithPartial with LogSupport with Product with Serializable

Representation of a Greek string written in conventional literary orthography.

str

A string in either the ascii or ucode representation of the GreekNumeric system.

Annotations
@JSExportAll()
Linear Supertypes
Product, Equals, MilesianWithPartial, LogSupport, LazyLogger, LoggingMethods, Serializable, Serializable, Ordered[GreekNumeric], Comparable[GreekNumeric], GreekNumeric, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MilesianWithFraction
  2. Product
  3. Equals
  4. MilesianWithPartial
  5. LogSupport
  6. LazyLogger
  7. LoggingMethods
  8. Serializable
  9. Serializable
  10. Ordered
  11. Comparable
  12. GreekNumeric
  13. AnyRef
  14. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MilesianWithFraction(str: String)

    str

    A string in either the ascii or ucode representation of the GreekNumeric system.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def <(that: GreekNumeric): Boolean
    Definition Classes
    Ordered
  4. def <=(that: GreekNumeric): Boolean
    Definition Classes
    Ordered
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. def >(that: GreekNumeric): Boolean
    Definition Classes
    Ordered
  7. def >=(that: GreekNumeric): Boolean
    Definition Classes
    Ordered
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def ascii: String

    Ascii representation of this numeric.

    Ascii representation of this numeric.

    Definition Classes
    MilesianWithPartialGreekNumeric
  10. def asciiInt: String

    Ascii representation of integer component of this numeric.

    Ascii representation of integer component of this numeric.

    Definition Classes
    MilesianWithPartial
  11. def asciiPartial: String

    Ascii encoding of fractional component with conventional "seconds" mark (double quote).

    Ascii encoding of fractional component with conventional "seconds" mark (double quote).

    Definition Classes
    MilesianWithFractionMilesianWithPartial
  12. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  13. def compare(that: GreekNumeric): Int
    Definition Classes
    MilesianWithFractionMilesianWithPartial → Ordered
  14. def compareTo(that: GreekNumeric): Int
    Definition Classes
    Ordered → Comparable
  15. macro def debug(message: Any, cause: Throwable): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  16. macro def debug(message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  17. def doublePrecision(digits: Int): Option[Double]

    Compute value of this expression as a Double to a specified number of significant decimal points.

    Compute value of this expression as a Double to a specified number of significant decimal points.

    digits

    Significant digits to the right of the decimal point.

  18. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. macro def error(message: Any, cause: Throwable): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  20. macro def error(message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  21. def expandedFractions: String

    Substitute expanded fractional representation for shorthand 1/2 and 2/3 characters.

  22. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  23. macro def info(message: Any, cause: Throwable): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  24. macro def info(message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  25. def intOpt: Option[MilesianInteger]

    Find MilesianInteger object, if any, that is part of the fractional expression.

    Find MilesianInteger object, if any, that is part of the fractional expression.

    Definition Classes
    MilesianWithFractionMilesianWithPartial
  26. def intString: String

    Integer component, if any, of raw String.

    Integer component, if any, of raw String. If no integer component, this value is an empty String.

    Definition Classes
    MilesianWithPartial
  27. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  28. macro def logAt(logLevel: LogLevel, message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  29. lazy val logger: Logger
    Attributes
    protected[this]
    Definition Classes
    LazyLogger
  30. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  31. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  32. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  33. def numericAlphabetString: String

    A single string listing all valid characters in the ASCII representation of this system in their alphabetic order.

    A single string listing all valid characters in the ASCII representation of this system in their alphabetic order.

    Definition Classes
    MilesianWithFractionGreekNumeric
  34. def partialDouble: Double

    Find the value of this expression as a Double, if any.

    Find the value of this expression as a Double, if any.

    Definition Classes
    MilesianWithFractionMilesianWithPartial
  35. def partialString: String

    Partial component, if any, of raw String.

    Partial component, if any, of raw String. If no partial component, this value is an empty String.

    Definition Classes
    MilesianWithPartial
  36. val str: String

    Raw string value allowed in constructoin of Milesian values.

    Raw string value allowed in constructoin of Milesian values.

    Definition Classes
    MilesianWithFractionMilesianWithPartial
  37. def stringParts: (String, String)

    Split string into integer versus fractional parts.

    Split string into integer versus fractional parts. The unicode numeric tick separates integer and fracional parts. If it is absent, a fractional string must include the "seconds" marker (double quote); otherwise, the string is an integer.

    Definition Classes
    MilesianWithFractionMilesianWithPartial
  38. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  39. def toDouble: Double
    Definition Classes
    MilesianWithPartialGreekNumeric
  40. def toInt: Int

    Int value, if any, for this Milesian numeric.

    Int value, if any, for this Milesian numeric.

    Definition Classes
    MilesianWithPartial
  41. macro def trace(message: Any, cause: Throwable): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  42. macro def trace(message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  43. def ucode: String

    Unicode representation of this numeric.

    Unicode representation of this numeric.

    Definition Classes
    MilesianWithPartialGreekNumeric
  44. def ucodeInt: String

    Unicode representation of integer component of this numeric.

    Unicode representation of integer component of this numeric.

    Definition Classes
    MilesianWithPartial
  45. def ucodePartial: String

    Encoding of fractional component using Unicode Greek code points, with conventional "seconds" mark (double quote).

    Encoding of fractional component using Unicode Greek code points, with conventional "seconds" mark (double quote).

    Definition Classes
    MilesianWithFractionMilesianWithPartial
  46. def unicodeTickString: String

    Permit keyboard entry of single quote as numeric tick mark, but replace with proper Unicode code point.

    Permit keyboard entry of single quote as numeric tick mark, but replace with proper Unicode code point.

    Definition Classes
    MilesianWithFractionMilesianWithPartial
  47. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  49. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  50. macro def warn(message: Any, cause: Throwable): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods
  51. macro def warn(message: Any): Unit
    Attributes
    protected
    Definition Classes
    LoggingMethods

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Product

Inherited from Equals

Inherited from MilesianWithPartial

Inherited from LogSupport

Inherited from LazyLogger

Inherited from LoggingMethods

Inherited from Serializable

Inherited from Serializable

Inherited from Ordered[GreekNumeric]

Inherited from Comparable[GreekNumeric]

Inherited from GreekNumeric

Inherited from AnyRef

Inherited from Any

Ungrouped