All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ceylon.language.forKey.ceylon Maven / Gradle / Ivy

There is a newer version: 1.3.3
Show newest version
"A function that returns the result of applying the given 
 [[function|resulting]] to the [[key|Entry.key]] of
 a given [[Entry]], discarding its `item`.
     
     Map> map = ... ;
     {String*} uppercaseKeys = map.map(forKey(String.uppercased));"
see (`function forItem`)
tagged("Functions")
shared Result forKey(Result resulting(Key key))
            (Key->Anything entry)
        given Key satisfies Object 
        => resulting(entry.key);




© 2015 - 2024 Weber Informatics LLC | Privacy Policy