Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (c) 2005-2008 Whirlwind Match Limited. All rights reserved. This is open source software; you can use, redistribute and/or modify it under the terms of the Open Software Licence v 3.0 as published by the Open Source Initiative. You should have received a copy of the Open Software Licence along with this application. if not, contact the Open Source Initiative ( /
package org.fuzzydb.attrs.layout;
	static EcefVectorCodec instance = null;
	public static synchronized EcefVectorCodec getInstance() {
		if ( == null) {
		return ;
	public IAttribute getDecoded(LayoutAttrMap<IAttributemapint attrId) {
		int index = map.getIndexQuick(attrId);
		EcefVector attr = new EcefVectorattrId, 0f, 0f, 0f );
		return attr;
	public static EcefVector getValue(ByteArray bytesint index) {
		throw new UnsupportedOperationException(); // Need to work out what we need
		// might be able to do same for all IDimensions
//		return bytes.getFloat(index + FRP_VALUE_OFFSET);
New to GrepCode? Check out our FAQ X