sudo ipfw add 100 fwd 127.0.0.1,10080 tcp from any to me 80
sudo ipfw add 101 fwd 127.0.0.1,10443 tcp from any to me 443
2014-10-14
mac os, port forward
2014-08-16
2014-07-20
2014-06-14
2014-04-09
enum to int in Java
enum to int
int to enum
String to enum
enum to String
- ElementOfEnum.ordinal()
int to enum
- EnumType.values()[someInt]
String to enum
- EnumType.valueOf(NameOfElement)
enum to String
- ElementOfEnum.name()
2014-03-14
Subscribe to:
Comments (Atom)