public class NullDomain extends AbstractValueDomain<Object>
Constructor and Description |
---|
NullDomain()
Creates a new NullDomain instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
contains(Object value)
Returns true if the given value belongs to this domain.
|
protected DataValue<Object> |
dataValueOf(Object value)
Returns a
DataValue for the given value in this domain. |
DataValue.Type[] |
getTypes()
Return the type(s) of values that belong to this domain.
|
DataValue<Object> |
select(ResolverContext context)
Returns a random value from this domain.
|
String |
toString() |
Stream<DataValue<Object>> |
values(ResolverContext context)
Returns a random sequence of values from this domain.
|
getFormat, setFormat, withFormat
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
arrayOf, arrayOf, arrayOf, contains, containsObject, getType, selectValue
public Stream<DataValue<Object>> values(ResolverContext context)
public DataValue<Object> select(ResolverContext context)
protected DataValue<Object> dataValueOf(Object value)
DataValue
for the given value in this domain.dataValueOf
in class AbstractValueDomain<Object>
public boolean contains(Object value)
public DataValue.Type[] getTypes()
Copyright © 2024 The Cornutum Project. All rights reserved.