public class DataForTokenizationOutput extends Object
| Constructor and Description |
|---|
DataForTokenizationOutput() |
| Modifier and Type | Method and Description |
|---|---|
DataForTokenizationOutput |
addOffsetMappingItem(Integer offsetMappingItem) |
DataForTokenizationOutput |
addTokenIdsItem(Integer tokenIdsItem) |
boolean |
equals(Object o) |
Integer |
getIndex()
Get index
|
String |
getObject()
Get object
|
List<Integer> |
getOffsetMapping()
Get offsetMapping
|
List<Integer> |
getTokenIds()
Get tokenIds
|
Integer |
getTotalTokens()
Get totalTokens
|
int |
hashCode() |
DataForTokenizationOutput |
index(Integer index) |
DataForTokenizationOutput |
object(String object) |
DataForTokenizationOutput |
offsetMapping(List<Integer> offsetMapping) |
void |
setIndex(Integer index) |
void |
setObject(String object) |
void |
setOffsetMapping(List<Integer> offsetMapping) |
void |
setTokenIds(List<Integer> tokenIds) |
void |
setTotalTokens(Integer totalTokens) |
DataForTokenizationOutput |
tokenIds(List<Integer> tokenIds) |
String |
toString() |
DataForTokenizationOutput |
totalTokens(Integer totalTokens) |
public DataForTokenizationOutput index(Integer index)
public Integer getIndex()
public void setIndex(Integer index)
public DataForTokenizationOutput object(String object)
public String getObject()
public void setObject(String object)
public DataForTokenizationOutput offsetMapping(List<Integer> offsetMapping)
public DataForTokenizationOutput addOffsetMappingItem(Integer offsetMappingItem)
public DataForTokenizationOutput tokenIds(List<Integer> tokenIds)
public DataForTokenizationOutput addTokenIdsItem(Integer tokenIdsItem)
public DataForTokenizationOutput totalTokens(Integer totalTokens)
public Integer getTotalTokens()
public void setTotalTokens(Integer totalTokens)
Copyright © 2025. All rights reserved.