Re: [Vala] help with java to vala
- From: "marcin saepia net" <marcin saepia net>
- To: bsquared <bwcode4u gmail com>
- Cc: vala-list gnome org
- Subject: Re: [Vala] help with java to vala
- Date: Thu, 25 Oct 2012 18:39:38 +0200
Have you tried
static construct {
...
}
?
(see https://live.gnome.org/Vala/Tutorial)
m.
2012/10/23 bsquared <bwcode4u gmail com>:
Hello,
Is it possible to initialize a static const HashSet?
Similar to this from Java?
8< ------------------------------------------------
private static final Set<String> STATIC_SET;
static {
STATIC_SET = new HashSet<String>();
STATIC_SET.add("Data One");
STATIC_SET.add("Data Two");
}
------------------------------------------------- >8
Thank you.
--
Regards,
Brian
_______________________________________________
vala-list mailing list
vala-list gnome org
https://mail.gnome.org/mailman/listinfo/vala-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]