Example #1
0
 internal override Value AsValue(GenericKey state)
 {
     bool[] array = new bool[state.ArrayLength];
     for (int i = 0; i < state.ArrayLength; i++)
     {
         array[i] = BooleanType.AsValueRaw(state.Long0Array[i]);
     }
     return(Values.of(array));
 }
Example #2
0
        // Affected key state:
        // long0Array

        internal BooleanArrayType(sbyte typeId) : base(ValueGroup.BOOLEAN_ARRAY, typeId, (o1, o2, i)->BooleanType.Compare(o1.long0Array[i], o2.long0Array[i]), null, (c, k, i)->BooleanType.put(c, k.long0Array[i]), BooleanType.read, null, org.neo4j.values.storable.ValueWriter_ArrayType.Boolean)
        {
        }