当前位置: 首页>>代码示例>>Java>>正文


Java ByteArrayId.equals方法代码示例

本文整理汇总了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;
}
 
开发者ID:locationtech,项目名称:geowave,代码行数:17,代码来源:ImageChipDataAdapter.java

示例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;
}
 
开发者ID:locationtech,项目名称:geowave,代码行数:20,代码来源:MockComponents.java

示例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;
}
 
开发者ID:locationtech,项目名称:geowave,代码行数:17,代码来源:RasterDataAdapter.java

示例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;
}
 
开发者ID:locationtech,项目名称:geowave,代码行数:20,代码来源:AccumuloDataStoreStatsTest.java

示例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;
}
 
开发者ID:locationtech,项目名称:geowave,代码行数:17,代码来源:DistortionGroupManagement.java

示例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;
}
 
开发者ID:locationtech,项目名称:geowave,代码行数:23,代码来源:TestObjectDataAdapter.java

示例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;
}
 
开发者ID:locationtech,项目名称:geowave,代码行数:18,代码来源:PersistenceEncodingTest.java

示例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;
}
 
开发者ID:locationtech,项目名称:geowave,代码行数:18,代码来源:PersistenceEncodingTest.java

示例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;
}
 
开发者ID:locationtech,项目名称:geowave,代码行数:26,代码来源:PersistenceEncodingTest.java

示例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;
}
 
开发者ID:locationtech,项目名称:geowave,代码行数:12,代码来源:AccumuloRangeQueryTest.java

示例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;
}
 
开发者ID:locationtech,项目名称:geowave,代码行数:16,代码来源:MockComponents.java

示例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;
}
 
开发者ID:locationtech,项目名称:geowave,代码行数:13,代码来源:AccumuloDataStoreStatsTest.java

示例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;
}
 
开发者ID:locationtech,项目名称:geowave,代码行数:12,代码来源:AccumuloDataStoreStatsTest.java

示例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;
}
 
开发者ID:locationtech,项目名称:geowave,代码行数:15,代码来源:TestObjectDataAdapter.java

示例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;
}
 
开发者ID:locationtech,项目名称:geowave,代码行数:15,代码来源:TestObjectDataAdapter.java


注:本文中的mil.nga.giat.geowave.core.index.ByteArrayId.equals方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。