@Singleton public static enum InetAddresses2.IsPrivateIPAddress extends Enum<InetAddresses2.IsPrivateIPAddress> implements com.google.common.base.Predicate<String>
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
boolean |
apply(String in) |
String |
toString() |
static InetAddresses2.IsPrivateIPAddress |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InetAddresses2.IsPrivateIPAddress[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InetAddresses2.IsPrivateIPAddress INSTANCE
public static InetAddresses2.IsPrivateIPAddress[] values()
for (InetAddresses2.IsPrivateIPAddress c : InetAddresses2.IsPrivateIPAddress.values()) System.out.println(c);
public static InetAddresses2.IsPrivateIPAddress valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic boolean apply(String in)
apply
in interface com.google.common.base.Predicate<String>
public String toString()
toString
in class Enum<InetAddresses2.IsPrivateIPAddress>
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.