public enum BPCollections extends Enum<BPCollections>
Modifier and Type | Class and Description |
---|---|
static interface |
BPCollections.CollectionProvider
This interface is responsible for setting the class
and initialize and load factor for all sets and maps
used in all model objects for performance purposes.
|
Enum Constant and Description |
---|
I |
Modifier and Type | Method and Description |
---|---|
<D,R> Map<D,R> |
createMap() |
<R extends BioPAXElement> |
createSafeSet() |
<R> Set<R> |
createSet() |
void |
setProvider(BPCollections.CollectionProvider newProvider)
Sets a specific
BPCollections.CollectionProvider (for
multiple-cardinality BioPAX properties) |
static BPCollections |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BPCollections[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BPCollections I
public static BPCollections[] values()
for (BPCollections c : BPCollections.values()) System.out.println(c);
public static BPCollections 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 void setProvider(BPCollections.CollectionProvider newProvider)
BPCollections.CollectionProvider
(for
multiple-cardinality BioPAX properties)newProvider
- not nullpublic <R extends BioPAXElement> Set<R> createSafeSet()
Copyright © 2015 BioPAX. All rights reserved.