class FlyweightVectorSchema {

	public void set(String name, Value value, Value[] values) {
		Integer index = keys.get(name);
		if (index == null) {
			throw new IllegalArgumentException("Schema contains no key with name \"" + name + "\".");
		}
		// TODO : this should also perform type checking!
		values[index] = value;
	}

	public  FlyweightVectorSchema(String... keys);
	public  FlyweightVectorSchema(FeatureInformation featureInformation);
	public  FlyweightVectorSchema(Collection<String> keys);

}