|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.hp.hpl.jena.sparql.util.graph.GraphList
public class GraphList
| Constructor Summary | |
|---|---|
GraphList()
|
|
| Method Summary | |
|---|---|
static List<Triple> |
allTriples(GNode gnode)
|
static void |
allTriples(GNode gnode,
Collection<Triple> acc)
|
static boolean |
contains(GNode gnode,
Node item)
|
static Set<Node> |
findAllLists(Graph graph)
Expensive operation to find all the likely looking list heads in a model |
static Node |
get(GNode gnode,
int idx)
|
static int |
index(GNode gnode,
Node value)
|
static List<Integer> |
indexes(GNode gnode,
Node value)
|
static boolean |
isListNode(GNode gnode)
|
static int |
length(GNode gnode)
|
static List<Node> |
listFromMember(GNode gnode)
Starting at a list element, find the heads of lists it is in |
static void |
listFromMember(GNode gnode,
Collection<Node> acc)
|
static Iterator<Triple> |
listMember(Graph graph,
Node s,
Node o)
Calculate ?s list:member ?o as if it were a graph.find |
static Node |
listToTriples(List<Node> list,
BasicPattern bgp)
Convert a list of nodes into triples, placing them in BPG, returning the head of the list |
static List<Node> |
members(GNode gnode)
|
static void |
members(GNode gnode,
Collection<Node> acc)
|
static int |
occurs(GNode gnode,
Node item)
|
static void |
triples(GNode gnode,
Collection<Triple> acc)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GraphList()
| Method Detail |
|---|
public static List<Node> listFromMember(GNode gnode)
public static void listFromMember(GNode gnode,
Collection<Node> acc)
public static Iterator<Triple> listMember(Graph graph,
Node s,
Node o)
public static List<Node> members(GNode gnode)
public static void members(GNode gnode,
Collection<Node> acc)
public static int length(GNode gnode)
public static int occurs(GNode gnode,
Node item)
public static boolean contains(GNode gnode,
Node item)
public static Node get(GNode gnode,
int idx)
public static int index(GNode gnode,
Node value)
public static List<Integer> indexes(GNode gnode,
Node value)
public static void triples(GNode gnode,
Collection<Triple> acc)
public static List<Triple> allTriples(GNode gnode)
public static void allTriples(GNode gnode,
Collection<Triple> acc)
public static Set<Node> findAllLists(Graph graph)
public static Node listToTriples(List<Node> list,
BasicPattern bgp)
public static boolean isListNode(GNode gnode)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||