Search in sources :

Example 1 with ObjectOpenCustomHashSet

use of it.unimi.dsi.fastutil.objects.ObjectOpenCustomHashSet in project geode by apache.

the class StructSet method fromData.

public void fromData(DataInput in) throws IOException, ClassNotFoundException {
    this.contents = new ObjectOpenCustomHashSet(new ObjectArrayHashingStrategy());
    int size = in.readInt();
    this.structType = (StructTypeImpl) DataSerializer.readObject(in);
    for (int j = size; j > 0; j--) {
        this.add(DataSerializer.readObject(in));
    }
}
Also used : ObjectOpenCustomHashSet(it.unimi.dsi.fastutil.objects.ObjectOpenCustomHashSet)

Aggregations

ObjectOpenCustomHashSet (it.unimi.dsi.fastutil.objects.ObjectOpenCustomHashSet)1