public class CollectionTypeParametersImpl<T extends Type> extends java.lang.Object implements CollectionTypeParameters<T>
Modifier and Type | Class and Description |
---|---|
protected class |
CollectionTypeParametersImpl.Iterator |
Constructor and Description |
---|
CollectionTypeParametersImpl(T elementType,
boolean isNullFree,
IntegerValue lower,
UnlimitedNaturalValue upper) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
T |
getElementType() |
IntegerValue |
getLower() |
UnlimitedNaturalValue |
getUpper() |
int |
hashCode() |
boolean |
isNullFree() |
CollectionTypeParametersImpl.Iterator |
iterator() |
int |
parametersSize() |
java.lang.String |
toString() |
public CollectionTypeParametersImpl(@NonNull T elementType, boolean isNullFree, @Nullable IntegerValue lower, @Nullable UnlimitedNaturalValue upper)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
@NonNull public T getElementType()
getElementType
in interface CollectionTypeParameters<T extends Type>
@NonNull public IntegerValue getLower()
getLower
in interface CollectionTypeParameters<T extends Type>
@NonNull public UnlimitedNaturalValue getUpper()
getUpper
in interface CollectionTypeParameters<T extends Type>
public int hashCode()
hashCode
in class java.lang.Object
public boolean isNullFree()
isNullFree
in interface CollectionTypeParameters<T extends Type>
@NonNull public CollectionTypeParametersImpl.Iterator iterator()
iterator
in interface java.lang.Iterable<java.lang.Object>
public int parametersSize()
public java.lang.String toString()
toString
in class java.lang.Object