public class BooleanPrimitiveArrayType extends PrimitiveArrayType
Boolean arrays are stored using a byte for each boolean value (as usual, 0 for false and 1 for true). There is aways one byte in front of the actual array to indicate whether we have an empty array or not. If the array is empty, the first and only byte has a value of 0; otherwise, its value is one.
|Constructor and Description|
|Modifier and Type||Method and Description|
Construct a new run-time instance of a hypergraph atom.
Store a run-time instance of a hypergraph atom into the hypergraph
release, setHyperGraph, subsumes
public Object make(HGPersistentHandle handle, LazyRef<HGHandle> targetSet, IncidenceSetRef incidenceSet)
Construct a new run-time instance of a hypergraph atom. A plain node must
be constructed whenever the
targetSet parameter is null or of
length 0. Otherwise, a
HGLink instance must be constructed.
It is not required that all atom types be able to construct both plain (node)
HGLinks. It is up to an
to support either or both. When a
HGLink counterpart is not available
for a particular run-time type, an implementation may choose to create an instance
of the default link value holder implementation
HGPersistentHandleof the atom value.
targetSet- When the atom is a link, this parameter holds the target set of the link. When the atom is a node, the parameter is an array of 0 length.
incidenceSet- A lazy reference to the set of links pointing to this atom. This is
nullif we are constructing an internal/nested value of some complex type.
null. In case the
handlepoints to an invalid instance (inexisting or with a erronous layout), the method should throw a
Copyright © 2015. All rights reserved.