[Vala] help with java to vala
- From: bsquared <bwcode4u gmail com>
- To: vala-list gnome org
- Subject: [Vala] help with java to vala
- Date: Tue, 23 Oct 2012 10:29:17 -0700
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]