本文整理汇总了Java中mil.nga.giat.geowave.core.index.ByteArrayId.equals方法的典型用法代码示例。如果您正苦于以下问题:Java ByteArrayId.equals方法的具体用法?Java ByteArrayId.equals怎么用?Java ByteArrayId.equals使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类mil.nga.giat.geowave.core.index.ByteArrayId
的用法示例。
在下文中一共展示了ByteArrayId.equals方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getPositionOfOrderedField
import mil.nga.giat.geowave.core.index.ByteArrayId; //导入方法依赖的package包/类
@Override
public int getPositionOfOrderedField(
final CommonIndexModel model,
final ByteArrayId fieldId ) {
int i = 0;
for (final NumericDimensionField<? extends CommonIndexValue> dimensionField : model.getDimensions()) {
if (fieldId.equals(dimensionField.getFieldId())) {
return i;
}
i++;
}
if (fieldId.equals(IMAGE_FIELD_ID)) {
return i;
}
return -1;
}
示例2: getPositionOfOrderedField
import mil.nga.giat.geowave.core.index.ByteArrayId; //导入方法依赖的package包/类
@Override
public int getPositionOfOrderedField(
final CommonIndexModel model,
final ByteArrayId fieldId ) {
int i = 0;
for (final NumericDimensionField<? extends CommonIndexValue> dimensionField : model.getDimensions()) {
if (fieldId.equals(dimensionField.getFieldId())) {
return i;
}
i++;
}
if (fieldId.equals(INTEGER)) {
return i;
}
else if (fieldId.equals(ID)) {
return i + 1;
}
return -1;
}
示例3: getPositionOfOrderedField
import mil.nga.giat.geowave.core.index.ByteArrayId; //导入方法依赖的package包/类
@Override
public int getPositionOfOrderedField(
final CommonIndexModel model,
final ByteArrayId fieldId ) {
int i = 0;
for (final NumericDimensionField<? extends CommonIndexValue> dimensionField : model.getDimensions()) {
if (fieldId.equals(dimensionField.getFieldId())) {
return i;
}
i++;
}
if (fieldId.equals(DATA_FIELD_ID)) {
return i;
}
return -1;
}
示例4: getPositionOfOrderedField
import mil.nga.giat.geowave.core.index.ByteArrayId; //导入方法依赖的package包/类
@Override
public int getPositionOfOrderedField(
final CommonIndexModel model,
final ByteArrayId fieldId ) {
int i = 0;
for (final NumericDimensionField<? extends CommonIndexValue> dimensionField : model.getDimensions()) {
if (fieldId.equals(dimensionField.getFieldId())) {
return i;
}
i++;
}
if (fieldId.equals(GEOM)) {
return i;
}
else if (fieldId.equals(ID)) {
return i + 1;
}
return -1;
}
示例5: getPositionOfOrderedField
import mil.nga.giat.geowave.core.index.ByteArrayId; //导入方法依赖的package包/类
@Override
public int getPositionOfOrderedField(
final CommonIndexModel model,
final ByteArrayId fieldId ) {
int i = 0;
for (final NumericDimensionField<? extends CommonIndexValue> dimensionField : model.getDimensions()) {
if (fieldId.equals(dimensionField.getFieldId())) {
return i;
}
i++;
}
if (fieldId.equals(DISTORTION_FIELD_ID)) {
return i;
}
return -1;
}
示例6: getPositionOfOrderedField
import mil.nga.giat.geowave.core.index.ByteArrayId; //导入方法依赖的package包/类
@Override
public int getPositionOfOrderedField(
final CommonIndexModel model,
final ByteArrayId fieldId ) {
int i = 0;
for (final NumericDimensionField<? extends CommonIndexValue> dimensionField : model.getDimensions()) {
if (fieldId.equals(dimensionField.getFieldId())) {
return i;
}
i++;
}
if (fieldId.equals(GEOM)) {
return i;
}
else if (fieldId.equals(ID)) {
return i + 1;
}
else if (fieldId.equals(GROUP_ID)) {
return i + 2;
}
return -1;
}
示例7: getReader
import mil.nga.giat.geowave.core.index.ByteArrayId; //导入方法依赖的package包/类
@Override
public FieldReader getReader(
final ByteArrayId fieldId ) {
if (fieldId.equals(GEOM)) {
return FieldUtils.getDefaultReaderForClass(Geometry.class);
}
else if (fieldId.equals(ID)) {
return FieldUtils.getDefaultReaderForClass(String.class);
}
else if (fieldId.equals(START_TIME)) {
return FieldUtils.getDefaultReaderForClass(Date.class);
}
else if (fieldId.equals(END_TIME)) {
return FieldUtils.getDefaultReaderForClass(Date.class);
}
return null;
}
示例8: getWriter
import mil.nga.giat.geowave.core.index.ByteArrayId; //导入方法依赖的package包/类
@Override
public FieldWriter getWriter(
final ByteArrayId fieldId ) {
if (fieldId.equals(GEOM)) {
return FieldUtils.getDefaultWriterForClass(Geometry.class);
}
else if (fieldId.equals(ID)) {
return FieldUtils.getDefaultWriterForClass(String.class);
}
else if (fieldId.equals(START_TIME)) {
return FieldUtils.getDefaultWriterForClass(Date.class);
}
else if (fieldId.equals(END_TIME)) {
return FieldUtils.getDefaultWriterForClass(Date.class);
}
return null;
}
示例9: getPositionOfOrderedField
import mil.nga.giat.geowave.core.index.ByteArrayId; //导入方法依赖的package包/类
@Override
public int getPositionOfOrderedField(
final CommonIndexModel model,
final ByteArrayId fieldId ) {
int i = 0;
for (final NumericDimensionField<? extends CommonIndexValue> dimensionField : model.getDimensions()) {
if (fieldId.equals(dimensionField.getFieldId())) {
return i;
}
i++;
}
if (fieldId.equals(GEOM)) {
return i;
}
else if (fieldId.equals(ID)) {
return i + 1;
}
else if (fieldId.equals(START_TIME)) {
return i + 2;
}
else if (fieldId.equals(END_TIME)) {
return i + 3;
}
return -1;
}
示例10: getReader
import mil.nga.giat.geowave.core.index.ByteArrayId; //导入方法依赖的package包/类
@Override
public FieldReader getReader(
final ByteArrayId fieldId ) {
if (fieldId.equals(GEOM)) {
return FieldUtils.getDefaultReaderForClass(Geometry.class);
}
else if (fieldId.equals(ID)) {
return FieldUtils.getDefaultReaderForClass(String.class);
}
return null;
}
示例11: getReader
import mil.nga.giat.geowave.core.index.ByteArrayId; //导入方法依赖的package包/类
@SuppressWarnings({
"unchecked",
"rawtypes"
})
@Override
public FieldReader getReader(
final ByteArrayId fieldId ) {
if (fieldId.equals(INTEGER)) {
return FieldUtils.getDefaultReaderForClass(Integer.class);
}
else if (fieldId.equals(ID)) {
return FieldUtils.getDefaultReaderForClass(String.class);
}
return null;
}
示例12: getReader
import mil.nga.giat.geowave.core.index.ByteArrayId; //导入方法依赖的package包/类
@SuppressWarnings("unchecked")
@Override
public FieldReader getReader(
final ByteArrayId fieldId ) {
if (fieldId.equals(GEOM)) {
return FieldUtils.getDefaultReaderForClass(Geometry.class);
}
else if (fieldId.equals(ID)) {
return FieldUtils.getDefaultReaderForClass(String.class);
}
return null;
}
示例13: getWriter
import mil.nga.giat.geowave.core.index.ByteArrayId; //导入方法依赖的package包/类
@Override
public FieldWriter getWriter(
final ByteArrayId fieldId ) {
if (fieldId.equals(GEOM)) {
return FieldUtils.getDefaultWriterForClass(Geometry.class);
}
else if (fieldId.equals(ID)) {
return FieldUtils.getDefaultWriterForClass(String.class);
}
return null;
}
示例14: getReader
import mil.nga.giat.geowave.core.index.ByteArrayId; //导入方法依赖的package包/类
@Override
public FieldReader getReader(
final ByteArrayId fieldId ) {
if (fieldId.equals(GEOM)) {
return FieldUtils.getDefaultReaderForClass(Geometry.class);
}
else if (fieldId.equals(ID)) {
return FieldUtils.getDefaultReaderForClass(String.class);
}
else if (fieldId.equals(GROUP_ID)) {
return FieldUtils.getDefaultReaderForClass(String.class);
}
return null;
}
示例15: getWriter
import mil.nga.giat.geowave.core.index.ByteArrayId; //导入方法依赖的package包/类
@Override
public FieldWriter getWriter(
final ByteArrayId fieldId ) {
if (fieldId.equals(GEOM)) {
return FieldUtils.getDefaultWriterForClass(Geometry.class);
}
else if (fieldId.equals(ID)) {
return FieldUtils.getDefaultWriterForClass(String.class);
}
else if (fieldId.equals(GROUP_ID)) {
return FieldUtils.getDefaultWriterForClass(String.class);
}
return null;
}