| Package | Description |
|---|---|
| org.apache.jena.atlas.lib | |
| org.apache.jena.atlas.lib.tuple |
Tuples.
|
| Modifier and Type | Method and Description |
|---|---|
static Tuple<String> |
FileOps.splitDirBaseExt(String filename)
Split a file name into path, basename and extension.
|
static Tuple<String> |
FileOps.splitDirFile(String filename)
Split a file name into path and filename.
|
| Modifier and Type | Class and Description |
|---|---|
class |
Tuple0<X>
A tuple of 0 items.
|
class |
Tuple1<X>
A tuple of 1 item.
|
class |
Tuple2<X>
A tuple of 2 items.
|
class |
Tuple3<X>
A tuple of 3 items.
|
class |
Tuple4<X>
A tuple of 4 items.
|
class |
Tuple5<X>
A tuple of 5 items.
|
class |
Tuple6<X>
A tuple of 6 items.
|
class |
Tuple7<X>
A tuple of 7 items.
|
class |
Tuple8<X>
A tuple of 8 items.
|
class |
TupleN<X>
A Tuple of N items
|
| Modifier and Type | Method and Description |
|---|---|
static <X> Tuple<X> |
TupleFactory.asTuple(X[] xs)
Treat an array as a Tuple.
|
static <X> Tuple<X> |
TupleFactory.create(List<X> xs)
Create a Tuple from a list
|
static <X> Tuple<X> |
TupleFactory.create(X[] xs)
Create a Tuple from an array
|
<T> Tuple<T> |
TupleMap.map(Tuple<T> src)
Apply to an unmapped tuple to get a tuple with the tuple mapping applied.
|
static <X> Tuple<X> |
TupleFactory.tuple(X... xs)
Create a Tuple
|
<T> Tuple<T> |
TupleMap.unmap(Tuple<T> src)
Apply to a mapped tuple to get a tuple with the tuple mapping reverse-applied.
|
| Modifier and Type | Method and Description |
|---|---|
<T> Tuple<T> |
TupleMap.map(Tuple<T> src)
Apply to an unmapped tuple to get a tuple with the tuple mapping applied.
|
<T> T |
TupleMap.mapSlot(int idx,
Tuple<T> tuple)
Apply to an unmapped tuple to get the i'th slot after mapping :
SPO->POS : 0'th slot is P from SPO
|
<T> Tuple<T> |
TupleMap.unmap(Tuple<T> src)
Apply to a mapped tuple to get a tuple with the tuple mapping reverse-applied.
|
<T> T |
TupleMap.unmapSlot(int idx,
Tuple<T> tuple)
Apply to a mapped tuple to get the i'th slot as it appears after
mapping : SPO->POS : 0'th slot is S from POS
|
Licenced under the Apache License, Version 2.0