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 EolCollectionTypestatic final EolCollectionTypeprotected static Set<IEolCollectionTypeResolver>static final EolCollectionTypestatic final EolCollectionTypeprotected EolTypestatic final EolCollectionTypestatic final EolCollectionTypestatic 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 StringgetTypeName(Collection<?> c) getTypeOf(Collection<?> c) booleanisBag()booleanbooleanbooleanbooleanstatic booleanisOrdered(Collection<?> c) booleanbooleanbooleanisSet()booleanstatic booleanisUnique(Collection<?> c) static <T> Collection<T>join(Collection<T> c1, Collection<T> c2) voidsetContentType(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:
createInstancein classEolType- Throws:
EolRuntimeException
-
createInstance
- Specified by:
createInstancein 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:
getParentTypein classEolType
-