public class CollectionRangeOperations extends CollectionLiteralPartOperations
The following operations are supported:
Check Range Type
Modifier and Type | Method and Description |
---|---|
static <C> boolean |
checkRangeType(CollectionRange<C> collectionRange,
DiagnosticChain diagnostics,
Map<Object,Object> context)
type = first.type.commonSuperType(last.type)
|
public static <C> boolean checkRangeType(CollectionRange<C> collectionRange, DiagnosticChain diagnostics, Map<Object,Object> context)
collectionRange
- The receiving 'Collection Range' model object.diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.