Package org.eclipse.epsilon.eol.types
Class EolCollectionType
java.lang.Object
org.eclipse.epsilon.eol.types.EolType
org.eclipse.epsilon.eol.types.EolCollectionType
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final EolCollectionType
static final EolCollectionType
protected static Set<IEolCollectionTypeResolver>
static final EolCollectionType
static final EolCollectionType
protected EolType
static final EolCollectionType
static final EolCollectionType
static final EolCollectionType
-
Constructor Summary
ConstructorsConstructorDescriptionEolCollectionType
(String name) EolCollectionType
(String name, EolType contentType) -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> Collection<T>
clone
(Collection<T> c) createInstance
(List<Object> parameters) static <T> Collection<T>
createSameType
(Collection<T> c) static Set<IEolCollectionTypeResolver>
getName()
static String
getTypeName
(Collection<?> c) getTypeOf
(Collection<?> c) boolean
isBag()
boolean
boolean
boolean
boolean
static boolean
isOrdered
(Collection<?> c) boolean
boolean
boolean
isSet()
boolean
static boolean
isUnique
(Collection<?> c) static <T> Collection<T>
join
(Collection<T> c1, Collection<T> c2) void
setContentType
(EolType contentType) toString()
Methods inherited from class org.eclipse.epsilon.eol.types.EolType
equals, getParentTypes, hashCode, isNot
-
Field Details
-
collectionTypeResolvers
-
contentType
-
Collection
-
Bag
-
Sequence
-
Set
-
OrderedSet
-
ConcurrentBag
-
ConcurrentSet
-
-
Constructor Details
-
EolCollectionType
-
EolCollectionType
-
-
Method Details
-
getCollectionTypeResolvers
-
getTypeOf
-
isType
-
createInstance
- Specified by:
createInstance
in classEolType
- Throws:
EolRuntimeException
-
createInstance
- Specified by:
createInstance
in classEolType
- Throws:
EolRuntimeException
-
isKind
-
getName
-
getTypeName
-
createSameType
-
clone
-
join
-
isUnique
-
isOrdered
-
isBag
public boolean isBag() -
isSequence
public boolean isSequence() -
isSet
public boolean isSet() -
isOrderedSet
public boolean isOrderedSet() -
isCollection
public boolean isCollection() -
isConcurrentBag
public boolean isConcurrentBag()- Returns:
- Since:
- 1.6
-
isConcurrentSet
public boolean isConcurrentSet()- Returns:
- Since:
- 1.6
-
getContentType
-
setContentType
-
toString
-
getParentType
- Overrides:
getParentType
in classEolType
-