|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Sequence | |
---|---|
org.apache.pivot.collections | Defines a set of classes and interfaces that serve as generic collections as well as the data model for UI components. |
org.apache.pivot.collections.adapter | Provides a set of collection implementations that are backed by java.util collections. |
org.apache.pivot.collections.concurrent | Contains a set of thread-safe collection implementations. |
org.apache.pivot.collections.immutable | Contains a set of read-only collection implementations. |
org.apache.pivot.io | Contains classes related to input/output operations. |
org.apache.pivot.json | Contains classes that facilitate interaction with JSON and JSON-like data structures. |
org.apache.pivot.serialization | Contains a set of classes for use in data serialization. |
org.apache.pivot.sql | Contains classes for working with SQL data. |
org.apache.pivot.util.concurrent | Provides a set of classes to simplify the execution of background tasks. |
org.apache.pivot.xml | Contains classes that facilitate interaction with an XML DOM. |
Uses of Sequence in org.apache.pivot.collections |
---|
Subinterfaces of Sequence in org.apache.pivot.collections | |
---|---|
interface |
List<T>
Collection interface representing an ordered sequence of items. |
Classes in org.apache.pivot.collections that implement Sequence | |
---|---|
class |
ArrayAdapter<T>
Implementation of the Sequence interface that wraps an array. |
class |
ArrayList<T>
Implementation of the List interface that is backed by an
array. |
class |
EnumList<E extends Enum<E>>
Implementation of the List interface that is backed by an enum. |
class |
LinkedList<T>
Implementation of the List interface that is backed by a linked
list. |
static class |
Sequence.Tree.ImmutablePath
Class representing an immutable path. |
static class |
Sequence.Tree.Path
An object representing a path to a nested node in nested sequence data. |
Methods in org.apache.pivot.collections that return Sequence | ||
---|---|---|
Sequence<E> |
EnumList.remove(int index,
int count)
|
|
Sequence<T> |
ArrayList.remove(int index,
int count)
|
|
Sequence<T> |
Sequence.remove(int index,
int count)
Removes one or more items from the sequence. |
|
Sequence<Integer> |
Sequence.Tree.Path.remove(int index,
int count)
|
|
Sequence<Integer> |
Sequence.Tree.ImmutablePath.remove(int index,
int count)
|
|
Sequence<T> |
ArrayAdapter.remove(int index,
int count)
|
|
Sequence<T> |
LinkedList.remove(int index,
int count)
|
|
Sequence<T> |
List.remove(int index,
int count)
|
|
static
|
Sequence.Tree.remove(Sequence<T> sequence,
Sequence.Tree.Path path,
int count)
Removes an item from a nested sequence. |
Methods in org.apache.pivot.collections with parameters of type Sequence | ||
---|---|---|
static
|
Sequence.Tree.add(Sequence<T> sequence,
T item,
Sequence.Tree.Path path)
Adds an item to a nested sequence. |
|
static
|
Sequence.Tree.depthFirstIterator(Sequence<T> sequence)
Returns an iterator that will perform a depth-first traversal of the nested sequence. |
|
static
|
Sequence.Tree.get(Sequence<T> sequence,
Sequence.Tree.Path path)
Retrieves an item from a nested sequence. |
|
static
|
Sequence.Tree.insert(Sequence<T> sequence,
T item,
Sequence.Tree.Path path,
int index)
Inserts an item into a nested sequence. |
|
void |
ListListener.itemsRemoved(List<T> list,
int index,
Sequence<T> items)
Called when items have been removed from a list. |
|
void |
ListListener.Adapter.itemsRemoved(List<T> list,
int index,
Sequence<T> items)
|
|
void |
List.ListListenerList.itemsRemoved(List<T> list,
int index,
Sequence<T> items)
|
|
static
|
Sequence.Tree.pathOf(Sequence<T> sequence,
T item)
Returns the path to an item in a nested sequence. |
|
static
|
Sequence.Tree.remove(Sequence<T> sequence,
Sequence.Tree.Path path,
int count)
Removes an item from a nested sequence. |
|
static
|
Sequence.Tree.remove(Sequence<T> sequence,
T item)
Removes the first occurrence of an item from a nested sequence. |
|
static
|
Sequence.Tree.update(Sequence<T> sequence,
Sequence.Tree.Path path,
T item)
Updates an item in a nested sequence. |
Constructors in org.apache.pivot.collections with parameters of type Sequence | |
---|---|
ArrayList(Sequence<T> items)
|
|
ArrayList(Sequence<T> items,
int index,
int count)
|
|
LinkedList(Sequence<T> items)
|
Uses of Sequence in org.apache.pivot.collections.adapter |
---|
Classes in org.apache.pivot.collections.adapter that implement Sequence | |
---|---|
class |
ListAdapter<T>
Implementation of the List interface that is backed by an
instance of List . |
Methods in org.apache.pivot.collections.adapter that return Sequence | |
---|---|
Sequence<T> |
ListAdapter.remove(int index,
int count)
|
Uses of Sequence in org.apache.pivot.collections.concurrent |
---|
Classes in org.apache.pivot.collections.concurrent that implement Sequence | |
---|---|
class |
SynchronizedList<T>
Synchronized implementation of the List interface. |
Methods in org.apache.pivot.collections.concurrent that return Sequence | |
---|---|
Sequence<T> |
SynchronizedList.remove(int index,
int count)
|
Uses of Sequence in org.apache.pivot.collections.immutable |
---|
Classes in org.apache.pivot.collections.immutable that implement Sequence | |
---|---|
class |
ImmutableList<T>
Unmodifiable implementation of the List interface. |
Methods in org.apache.pivot.collections.immutable that return Sequence | |
---|---|
Sequence<T> |
ImmutableList.remove(int index,
int count)
|
Uses of Sequence in org.apache.pivot.io |
---|
Classes in org.apache.pivot.io that implement Sequence | |
---|---|
class |
FileList
Collection representing a list of files. |
Uses of Sequence in org.apache.pivot.json |
---|
Methods in org.apache.pivot.json that return Sequence | |
---|---|
static Sequence<String> |
JSON.parse(String path)
Parses a JSON path into a sequence of string keys. |
Methods in org.apache.pivot.json with parameters of type Sequence | ||
---|---|---|
void |
JSONSerializerListener.beginSequence(JSONSerializer jsonSerializer,
Sequence<?> value)
Called when the serializer has begun reading a sequence value. |
|
void |
JSONSerializerListener.Adapter.beginSequence(JSONSerializer jsonSerializer,
Sequence<?> value)
|
|
static
|
JSON.get(Object root,
Sequence<String> keys)
Returns the value at a given path. |
Uses of Sequence in org.apache.pivot.serialization |
---|
Methods in org.apache.pivot.serialization that return Sequence | |
---|---|
Sequence<String> |
CSVSerializer.getKeys()
Returns the keys that will be read or written by this serializer. |
Methods in org.apache.pivot.serialization with parameters of type Sequence | |
---|---|
void |
CSVSerializer.setKeys(Sequence<String> keys)
Sets the keys that will be read or written by this serializer. |
Uses of Sequence in org.apache.pivot.sql |
---|
Classes in org.apache.pivot.sql that implement Sequence | |
---|---|
class |
ResultList
Implementation of the List interface that is backed by a
instance of ResultSet . |
Methods in org.apache.pivot.sql that return Sequence | |
---|---|
Sequence<ResultList.Field> |
ResultList.getFields()
|
Sequence<Map<String,Object>> |
ResultList.remove(int index,
int count)
|
Methods in org.apache.pivot.sql with parameters of type Sequence | |
---|---|
void |
ResultList.setFields(Sequence<ResultList.Field> fields)
|
Uses of Sequence in org.apache.pivot.util.concurrent |
---|
Classes in org.apache.pivot.util.concurrent that implement Sequence | |
---|---|
class |
TaskSequence
Task that runs a sequence of tasks in series and notifies listeners
when all tasks are complete. |
Methods in org.apache.pivot.util.concurrent that return Sequence | |
---|---|
Sequence<Task<?>> |
TaskSequence.remove(int index,
int count)
|
Uses of Sequence in org.apache.pivot.xml |
---|
Classes in org.apache.pivot.xml that implement Sequence | |
---|---|
class |
Element
Node class representing an XML element. |
class |
Element.AttributeSequence
Sequence representing the attributes declared by this element. |
Methods in org.apache.pivot.xml that return Sequence | |
---|---|
Sequence<Node> |
Element.remove(int index,
int count)
Removes a range of nodes from this element. |
Sequence<Element.Attribute> |
Element.AttributeSequence.remove(int index,
int count)
Removes a range of attributes from the sequence. |
Methods in org.apache.pivot.xml with parameters of type Sequence | |
---|---|
void |
ElementListener.attributesRemoved(Element element,
int index,
Sequence<Element.Attribute> attributes)
Called when attributes have been removed from an element. |
void |
ElementListener.Adapter.attributesRemoved(Element element,
int index,
Sequence<Element.Attribute> attributes)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |