Initial commit from SVN.
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
/*
|
||||
* Copyright (c) 2006,2009 Declarative Engineering LLC.
|
||||
* All rights reserved. This program and the accompanying materials
|
||||
* are made available under the terms of the Declarative Engineering LLC
|
||||
* verson 1 which accompanies this distribution, and is available at
|
||||
* http://declarativeengineering.com/legal/DE_Developer_License_v1.txt
|
||||
*/
|
||||
package com.foundation.attribute;
|
||||
|
||||
import com.common.util.optimized.IntArray;
|
||||
|
||||
public class ReflectIndexedCollectionData extends ReflectCollectionData {
|
||||
/** Whether the collection should retain its ordering information (and consiquentially not allow an order comparator). */
|
||||
public boolean retainOrdering = false;
|
||||
/**
|
||||
* ReflectIndexedCollectionData constructor.
|
||||
*/
|
||||
public ReflectIndexedCollectionData() {
|
||||
super();
|
||||
}//ReflectIndexedCollectionData()//
|
||||
/**
|
||||
* Reads the object from a stream.
|
||||
* @param in The input stream to read from.
|
||||
*/
|
||||
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, ClassNotFoundException {
|
||||
super.readExternal(in);
|
||||
retainOrdering = in.readBoolean();
|
||||
}//readExternal()//
|
||||
/**
|
||||
* Writes the object to a stream.
|
||||
* @param out The stream to write to.
|
||||
*/
|
||||
public void writeExternal(java.io.ObjectOutput out) throws java.io.IOException {
|
||||
super.writeExternal(out);
|
||||
out.writeBoolean(retainOrdering);
|
||||
}//readExternal()//
|
||||
}//ReflectIndexedCollectionData//
|
||||
Reference in New Issue
Block a user