發表文章

目前顯示的是 2月 3, 2019的文章

Carcharodontosauridae

圖片
Carcharodontosaurids Temporal range: Late Jurassic–Late Cretaceous, [1] 154–91 Ma PreЄ Є O S D C P T J K Pg N Cast of a Carcharodontosaurus saharicus skull, Santa Barbara Scientific classification Kingdom: Animalia Phylum: Chordata Clade : Dinosauria Order: Saurischia Suborder: Theropoda Clade : † Carcharodontosauria Family: † Carcharodontosauridae Stromer, 1931 Type species † Carcharodontosaurus saharicus Deperet & Savornin, 1925 Subgroups † Acrocanthosaurus † Altispinax † Concavenator † Eocarcharia † Kelmayisaurus [2] † Sauroniops † Shaochilong † Veterupristisaurus † Taurovenator † Carcharodontosaurinae [3] † Carcharodontosaurus † Giganotosaurini † Giganotosaurus † Mapusaurus † Tyrannotitan Synonyms Acrocanthosauridae Molnar, 2003 Carcharodontosaurids (from the Greek καρχαροδοντόσαυρος, carcharodontósauros : "shark-toothed l...

Korpilahti

圖片
Location of Korpilahti in Finland Landscape of Korpilahti seen from the top of mount Oravivuori Korpilahti is a former municipality of Finland. Together with Jyväskylän maalaiskunta, Korpilahti was consolidated with Jyväskylä on January 1, 2009. It is located in the former province of Western Finland and is part of the Central Finland region. The municipality had a population of 5,016 (2003). In addition to this, there are about 4,500 summer-time inhabitants visiting the 2,000 summer cottages. Korpilahti covered an area of 794.62 km² of which 177.44 km² is water. The population density was 6.3 inhabitants per km². The municipality is unilingually Finnish. The municipality has previously also been known as "Korpilax" in Swedish documents, but is today referred to as "Korpilahti" also in Swedish. [1] Politically, Centre Party is dominant. Korpilahti is one of the poorest municipalities in Finland with an unemployment rate of 14.4% (2002). Korpila...

Leivonmäki National Park

圖片
Leivonmäki National Park IUCN category II (national park) Location in Finland Location Central Finland, Finland Coordinates 61°56′N 026°02′E  /  61.933°N 26.033°E  / 61.933; 26.033 Coordinates: 61°56′N 026°02′E  /  61.933°N 26.033°E  / 61.933; 26.033 Area 29 km 2 (11 sq mi) Established 2003 Visitors 12500 (in 2009 [1] ) Governing body Metsähallitus Website www.outdoors.fi/leivonmakinp Leivonmäki National Park (Finnish: Leivonmäen kansallispuisto ) is a national park in Central Finland. It was established in 2003 and covers 29 square kilometres (11 sq mi). Typical scenery consists of swamps, shores of a medium-sized lake Rutajärvi and esker forests. Contents 1 Gallery 2 See also 3 References 4 External links Gallery Forest at Leivonmäki National Park Forest at Leivonmäki National Park Lake Soimalampi Lake Rutajärvi ...

Lazy evaluation in a Map

圖片
3 I'm trying to make a function that executes other functions (which return Strings ) depending on an input. For example: def execute(input: String) = { val actions = Map("foo" -> someObject.doStuff(), "bar" -> someObject.doThing()) actions.get(input) } Is there a way to make the functions in the Map to be called only if the corresponding key exists? scala share | improve this question edited Nov 17 '18 at 19:13 Kah asked Nov 17 '18 at 18:31 ...