APIdia Launch Partner
Top Description Fields Constructors Methods
com.sun.javafx.fxml.expression

public Class KeyPath

extends AbstractList<String>
Class Inheritance
Imports
java.io.IOException, .PushbackReader, .StringReader, java.util.AbstractList, .ArrayList

Class representing a key path, an immutable list of string keys.

Field Summary

Modifier and TypeField and Description
private ArrayList<String>
Inherited from java.util.AbstractList:
modCount

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String
get(int index)

Implements abstract java.util.AbstractList.get.

Implements java.util.List.get.

Returns the element at the specified position in this list.

public static KeyPath

Returns:

The resulting key path.
parse
(String
The string value to parse.
value
)

Parses a string value into a key path.

protected static KeyPath

Returns:

The resulting key path.
parse
(PushbackReader
The reader containing the content to parse.
reader
)

Parses character content from a reader into a key path.

public int
size()

Implements abstract java.util.AbstractCollection.size.

Implements java.util.List.size, java.util.Collection.size.

Returns the number of elements in this list.

public String
toString()

Overrides java.util.AbstractCollection.toString.

Returns a string representation of this collection.

Inherited from java.util.AbstractList:
addaddaddAllclearequalshashCodeindexOfiteratorlastIndexOflistIteratorlistIteratorremoveremoveRangesetsubList

Field Detail

elementsback to summary
private ArrayList<String> elements

Constructor Detail

KeyPathback to summary
public KeyPath(ArrayList<String> elements)

Method Detail

getback to summary
public String get(int index)

Implements abstract java.util.AbstractList.get.

Implements java.util.List.get.

Doc from java.util.AbstractList.get.

Returns the element at the specified position in this list.

Annotations
@Override
parseback to summary
public static KeyPath parse(String value)

Parses a string value into a key path.

Parameters
value:String

The string value to parse.

Returns:KeyPath

The resulting key path.

parseback to summary
protected static KeyPath parse(PushbackReader reader) throws IOException

Parses character content from a reader into a key path. If the character following the key path is not EOF, it is pushed back.

Parameters
reader:PushbackReader

The reader containing the content to parse.

Returns:KeyPath

The resulting key path.

sizeback to summary
public int size()

Implements abstract java.util.AbstractCollection.size.

Implements java.util.List.size, java.util.Collection.size.

Doc from java.util.List.size.

Returns the number of elements in this list. If this list contains more than Integer.MAX_VALUE elements, returns Integer.MAX_VALUE.

Annotations
@Override
toStringback to summary
public String toString()

Overrides java.util.AbstractCollection.toString.

Doc from java.util.AbstractCollection.toString.

Returns a string representation of this collection. The string representation consists of a list of the collection's elements in the order they are returned by its iterator, enclosed in square brackets ("[]"). Adjacent elements are separated by the characters ", " (comma and space). Elements are converted to strings as by String#valueOf(Object).

Annotations
@Override