-
- Type Parameters:
O- the type of Java object
- All Superinterfaces:
ObjectTyped<O>,ScalarTyped,ScalarValued,TokenTyped,TokenValued
- All Known Subinterfaces:
ObjectInputField<T>,ObjectValuedIterator<T>
- All Known Implementing Classes:
ObjectRegister,ObjectToken
public interface ObjectValued<O> extends ScalarValued, ObjectTyped<O>
ATokenValuedobject containing a Java object.- See Also:
TokenTypeConstant#OBJECT(Class)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OasObject()Gets the contained Java object.ObjectTokenType<O>getType()Gets the data type of the token.-
Methods inherited from interface com.pervasive.datarush.tokens.scalar.ScalarValued
isZero
-
Methods inherited from interface com.pervasive.datarush.tokens.TokenValued
isNull
-
-
-
-
Method Detail
-
getType
ObjectTokenType<O> getType()
Description copied from interface:TokenValuedGets the data type of the token. This type will dictate the valid values that can be contained.- Specified by:
getTypein interfaceObjectTyped<O>- Specified by:
getTypein interfaceScalarTyped- Specified by:
getTypein interfaceScalarValued- Specified by:
getTypein interfaceTokenTyped- Specified by:
getTypein interfaceTokenValued- Returns:
- the token type.
-
asObject
O asObject()
Gets the contained Java object.- Returns:
- the contained value. If null valued, as indicated by
TokenValued.isNull(),nullis returned.
-
-