They're vaccum tubes, also known as valves for the simple fact that they have a vacuum. The black part, I'd guess, is to cover up the light glow they usually produce-same reason they have a silver painted head.
Btw, if any of those are going spare, I'd love it if you could wing them my way. I'll get shipping and such. ;)
-Dave