Package | Description |
---|---|
org.g_node.nix | |
org.g_node.nix.internal | |
org.g_node.nix.valid |
Modifier and Type | Method and Description |
---|---|
Block |
File.createBlock(String name,
String type)
Create an new block, that is immediately persisted in the file.
|
Block |
File.getBlock(long index)
Read an existing with block from the file, addressed by index.
|
Block |
File.getBlock(String nameOrId)
Read an existing block from the file.
|
Modifier and Type | Method and Description |
---|---|
List<Block> |
File.getBlocks()
Get all blocks within this file.
|
List<Block> |
File.getBlocks(java.util.function.Predicate<Block> filter)
Get all blocks within this file.
|
Modifier and Type | Method and Description |
---|---|
boolean |
File.deleteBlock(Block block)
Deletes a block from the file.
|
boolean |
File.hasBlock(Block block)
Check if a block exists in the file.
|
Modifier and Type | Method and Description |
---|---|
List<Block> |
File.getBlocks(java.util.function.Predicate<Block> filter)
Get all blocks within this file.
|
Modifier and Type | Method and Description |
---|---|
List<Block> |
VectorUtils.BlockVector.getBlocks()
Get blocks.
|
Constructor and Description |
---|
BlockVector(List<Block> lst)
Set blocks.
|
Modifier and Type | Method and Description |
---|---|
static Result |
Validator.validate(Block block)
Block entity validator
Function taking a Block entity and returning
Result object |
Copyright © 2016. All rights reserved.