public static enum NetworkPredicates.IsSharedNetwork extends Enum<NetworkPredicates.IsSharedNetwork> implements com.google.common.base.Predicate<Network>
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
boolean |
apply(Network arg0) |
String |
toString() |
static NetworkPredicates.IsSharedNetwork |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NetworkPredicates.IsSharedNetwork[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NetworkPredicates.IsSharedNetwork INSTANCE
public static NetworkPredicates.IsSharedNetwork[] values()
for (NetworkPredicates.IsSharedNetwork c : NetworkPredicates.IsSharedNetwork.values()) System.out.println(c);
public static NetworkPredicates.IsSharedNetwork 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(Network arg0)
apply
in interface com.google.common.base.Predicate<Network>
public String toString()
toString
in class Enum<NetworkPredicates.IsSharedNetwork>
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.