unchecked-conversion

    2熱度

    2回答

    任何人都可以請我說清楚在Ada語言中使用未經檢查的轉換。我曾嘗試過pdf和net,但都沒有給我一個清晰的圖片給我。 Now i have a small piece of code shown below: subtype Element4_Range is integer range 1..4; subtype Element3_Range is integer range

    0熱度

    1回答

    我用Java編寫的一個NaturalComparator類/對象,並改寫成斯卡拉: https://gist.github.com/319827#file_natural_comparator.scala 不過,我不知道爲什麼我不需要@SuppressWarnings(「未登記」)的斯卡拉版本。 (我編譯它fsc -deprecation -unchecked NaturalComparator.