private void addToPartition(Block<S, L> block) {
        ElementReference ref = partition.referencedAdd(block);
        block.setPartitionReference(ref);
    }
private void addToPartition ( Block < S , L > block ) { ElementReference ref = partition . referencedAdd ( block ) ; block . setPartitionReference ( ref ) ; }
Adds a block to the partition.