| Modifier and Type | Method and Description |
|---|---|
BigInteger |
SignatureAlgorithmCarroll2003.hashTriples(BigInteger hash,
ArrayList<Triple> triples,
MessageDigest d)
Hash a vector of triples
|
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
TripleHasher.hashTripleConcatenation(Triple t,
MessageDigest d)
Deprecated.
|
static BigInteger |
TripleHasher.hashTripleMelnik(Triple t,
MessageDigest d)
Hashs a triple using the approach of Melnik
|
| Modifier and Type | Method and Description |
|---|---|
ArrayList<Triple> |
GraphCollection.getRootTriples()
Get all triples at the root level (outside any graph) of the
GraphCollection |
ArrayList<Triple> |
MSG.getTriples() |
ArrayList<Triple> |
NamedGraph.getTriples() |
| Modifier and Type | Method and Description |
|---|---|
void |
MSG.addTriple(Triple t)
Adds a triple to this MSG
|
void |
NamedGraph.addTriple(Triple t)
Adds a triple to the graph
|
int |
Triple.compareTo(Triple t)
Compare this triple with another triple
used for sorting, lexicographic order, ignores annotations
|
boolean |
Triple.isSPOequal(Triple t)
Are subject, predicate and object equal (don't check the annotation)?
|
void |
NamedGraph.removeTriple(Triple t)
Removes a triple from the graph
|
| Modifier and Type | Method and Description |
|---|---|
void |
MSG.addTriples(ArrayList<Triple> list)
Adds a list of triples to this MSG
|
static int |
NamedGraph.countOccurrences(ArrayList<Triple> triples,
String node)
Count occurrences of a node (ignores predicates)
|
static int[] |
NamedGraph.getStatsTripleList(ArrayList<Triple> triples,
HashSet<String> blankNodes,
HashSet<String> USUs)
Get statistics of a triple list
Array index - value
0 - total triple count
1 - IRIs / resources
2 - literals
3 - blank nodes
4 - distinct blank nodes
5 - Unique subject URIs
|
void |
MSG.setTriples(ArrayList<Triple> triples) |
| Constructor and Description |
|---|
MSG(Triple t)
Create new MSG with one triple in it
|
| Constructor and Description |
|---|
MSG(ArrayList<Triple> triples)
Create new MSG with a vector of triples in it
|
| Modifier and Type | Method and Description |
|---|---|
LinkedList<Triple> |
Ontology.getTriples() |
LinkedList<Triple> |
Ontology.getTriplesWithoutSignature() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
Ontology.isRelevantForHash(Triple t)
Is triple relevant for hash or will it be ignored in hash calculation?
|
| Modifier and Type | Method and Description |
|---|---|
SignatureData |
Ontology.getSignatureDataFromTriples(LinkedList<Triple> sourceTriples) |
Copyright © 2018. All rights reserved.