Index
All Classes and Interfaces|All Packages
A
- applyUpdate(byte[]) - Method in interface net.carcdr.ycrdt.YDoc
-
Applies an update to this document.
- applyUpdate(YTransaction, byte[]) - Method in interface net.carcdr.ycrdt.YDoc
-
Applies an update to this document within a transaction.
- asElement() - Method in interface net.carcdr.ycrdt.YXmlNode
-
Casts this node to an element.
- asText() - Method in interface net.carcdr.ycrdt.YXmlNode
-
Casts this node to a text node.
- ATTRIBUTE - Enum constant in enum class net.carcdr.ycrdt.YChange.Type
-
An attribute was modified.
- auto() - Static method in class net.carcdr.ycrdt.YBindingFactory
-
Returns the default binding discovered via ServiceLoader.
B
- beginTransaction() - Method in interface net.carcdr.ycrdt.YDoc
-
Begins a new transaction for batching operations.
C
- childCount() - Method in interface net.carcdr.ycrdt.YXmlElement
-
Returns the number of child nodes.
- childCount(YTransaction) - Method in interface net.carcdr.ycrdt.YXmlElement
-
Returns the number of child nodes within a transaction.
- clear() - Method in interface net.carcdr.ycrdt.YMap
-
Removes all entries from the map.
- clear(YTransaction) - Method in interface net.carcdr.ycrdt.YMap
-
Removes all entries from the map within a transaction.
- close() - Method in interface net.carcdr.ycrdt.YArray
-
Closes this array and releases resources.
- close() - Method in interface net.carcdr.ycrdt.YDoc
-
Closes this document and releases all resources.
- close() - Method in interface net.carcdr.ycrdt.YMap
-
Closes this map and releases resources.
- close() - Method in interface net.carcdr.ycrdt.YSubscription
-
Unregisters the observer and releases resources.
- close() - Method in interface net.carcdr.ycrdt.YText
-
Closes this text and releases resources.
- close() - Method in interface net.carcdr.ycrdt.YTransaction
-
Closes the transaction, committing any pending changes.
- close() - Method in interface net.carcdr.ycrdt.YXmlElement
-
Closes this element and releases resources.
- close() - Method in interface net.carcdr.ycrdt.YXmlFragment
-
Closes this fragment and releases resources.
- close() - Method in interface net.carcdr.ycrdt.YXmlText
-
Closes this text and releases resources.
- commit() - Method in interface net.carcdr.ycrdt.YTransaction
-
Explicitly commits the transaction.
- containsKey(String) - Method in interface net.carcdr.ycrdt.YMap
-
Checks if the map contains the specified key.
- containsKey(YTransaction, String) - Method in interface net.carcdr.ycrdt.YMap
-
Checks if the map contains the specified key within a transaction.
- createDoc() - Method in interface net.carcdr.ycrdt.YBinding
-
Creates a new document with a random client ID.
- createDoc(long) - Method in interface net.carcdr.ycrdt.YBinding
-
Creates a new document with the specified client ID.
D
- DefaultObserverErrorHandler - Class in net.carcdr.ycrdt
-
Default implementation of
ObserverErrorHandlerthat prints errors to stderr. - DefaultObserverErrorHandler() - Constructor for class net.carcdr.ycrdt.DefaultObserverErrorHandler
-
Creates a new DefaultObserverErrorHandler.
- delete(int, int) - Method in interface net.carcdr.ycrdt.YText
-
Deletes text at the specified range.
- delete(int, int) - Method in interface net.carcdr.ycrdt.YXmlText
-
Deletes text at the specified range.
- delete(YTransaction, int, int) - Method in interface net.carcdr.ycrdt.YText
-
Deletes text at the specified range within a transaction.
- delete(YTransaction, int, int) - Method in interface net.carcdr.ycrdt.YXmlText
-
Deletes text at the specified range within a transaction.
- DELETE - Enum constant in enum class net.carcdr.ycrdt.YChange.Type
-
Content was deleted.
E
- ELEMENT - Enum constant in enum class net.carcdr.ycrdt.YXmlNode.NodeType
-
An XML element node.
- encodeDiff(byte[]) - Method in interface net.carcdr.ycrdt.YDoc
-
Encodes the difference between this document and the given state vector.
- encodeDiff(YTransaction, byte[]) - Method in interface net.carcdr.ycrdt.YDoc
-
Encodes the difference between this document and the given state vector within a transaction.
- encodeStateAsUpdate() - Method in interface net.carcdr.ycrdt.YDoc
-
Encodes the entire document state as an update.
- encodeStateAsUpdate(YTransaction) - Method in interface net.carcdr.ycrdt.YDoc
-
Encodes the entire document state as an update within a transaction.
- encodeStateVector() - Method in interface net.carcdr.ycrdt.YDoc
-
Encodes the state vector of this document.
- encodeStateVector(YTransaction) - Method in interface net.carcdr.ycrdt.YDoc
-
Encodes the state vector of this document within a transaction.
- encodeStateVectorFromUpdate(byte[]) - Method in interface net.carcdr.ycrdt.YBinding
-
Extracts a state vector from an encoded update.
F
- format(int, int, Map<String, Object>) - Method in interface net.carcdr.ycrdt.YXmlText
-
Applies formatting attributes to a range of text.
- format(YTransaction, int, int, Map<String, Object>) - Method in interface net.carcdr.ycrdt.YXmlText
-
Applies formatting attributes to a range of text within a transaction.
- FormattingChunk - Interface in net.carcdr.ycrdt
-
Represents a chunk of text with associated formatting attributes.
G
- getArray(String) - Method in interface net.carcdr.ycrdt.YDoc
-
Gets or creates a collaborative array with the given name.
- getAttribute(String) - Method in interface net.carcdr.ycrdt.YXmlElement
-
Gets an attribute value.
- getAttribute(YTransaction, String) - Method in interface net.carcdr.ycrdt.YXmlElement
-
Gets an attribute value within a transaction.
- getAttributeName() - Method in class net.carcdr.ycrdt.YXmlElementChange
-
Returns the name of the changed attribute.
- getAttributeNames() - Method in interface net.carcdr.ycrdt.YXmlElement
-
Returns all attribute names.
- getAttributeNames(YTransaction) - Method in interface net.carcdr.ycrdt.YXmlElement
-
Returns all attribute names within a transaction.
- getAttributes() - Method in interface net.carcdr.ycrdt.FormattingChunk
-
Returns the formatting attributes for this chunk.
- getAttributes() - Method in class net.carcdr.ycrdt.YTextChange
-
Returns the formatting attributes associated with this change.
- getChanges() - Method in interface net.carcdr.ycrdt.YEvent
-
Returns the list of changes that occurred.
- getChild(int) - Method in interface net.carcdr.ycrdt.YXmlElement
-
Gets a child node at the specified index.
- getChild(int) - Method in interface net.carcdr.ycrdt.YXmlFragment
-
Gets a child node at the specified index.
- getChild(YTransaction, int) - Method in interface net.carcdr.ycrdt.YXmlElement
-
Gets a child node at the specified index within a transaction.
- getClientId() - Method in interface net.carcdr.ycrdt.YDoc
-
Returns the client ID for this document.
- getContent() - Method in class net.carcdr.ycrdt.YTextChange
-
Returns the text content for INSERT changes.
- getDoc(int) - Method in interface net.carcdr.ycrdt.YArray
-
Gets a subdocument at the specified index.
- getDoc(String) - Method in interface net.carcdr.ycrdt.YMap
-
Gets a subdocument for the specified key.
- getDoc(YTransaction, int) - Method in interface net.carcdr.ycrdt.YArray
-
Gets a subdocument at the specified index within a transaction.
- getDoc(YTransaction, String) - Method in interface net.carcdr.ycrdt.YMap
-
Gets a subdocument for the specified key within a transaction.
- getDouble(int) - Method in interface net.carcdr.ycrdt.YArray
-
Gets a double value at the specified index.
- getDouble(String) - Method in interface net.carcdr.ycrdt.YMap
-
Gets a double value for the specified key.
- getDouble(YTransaction, int) - Method in interface net.carcdr.ycrdt.YArray
-
Gets a double value at the specified index within a transaction.
- getDouble(YTransaction, String) - Method in interface net.carcdr.ycrdt.YMap
-
Gets a double value for the specified key within a transaction.
- getElement(int) - Method in interface net.carcdr.ycrdt.YXmlFragment
-
Gets a child element at the specified index.
- getElement(YTransaction, int) - Method in interface net.carcdr.ycrdt.YXmlFragment
-
Gets a child element at the specified index within a transaction.
- getFormattingChunks() - Method in interface net.carcdr.ycrdt.YXmlText
-
Returns the text content as formatting chunks.
- getFormattingChunks(YTransaction) - Method in interface net.carcdr.ycrdt.YXmlText
-
Returns the text content as formatting chunks within a transaction.
- getGuid() - Method in interface net.carcdr.ycrdt.YDoc
-
Returns the globally unique identifier for this document.
- getIndexInParent() - Method in interface net.carcdr.ycrdt.YXmlElement
-
Returns the index of this element within its parent.
- getIndexInParent() - Method in interface net.carcdr.ycrdt.YXmlText
-
Returns the index of this node within its parent.
- getIndexInParent(YTransaction) - Method in interface net.carcdr.ycrdt.YXmlElement
-
Returns the index of this element within its parent, using a transaction.
- getIndexInParent(YTransaction) - Method in interface net.carcdr.ycrdt.YXmlText
-
Returns the index of this node within its parent, using a transaction.
- getInstance() - Static method in interface net.carcdr.ycrdt.YBinding
-
Returns the default binding discovered via ServiceLoader.
- getItems() - Method in class net.carcdr.ycrdt.YArrayChange
-
Returns the items for INSERT changes.
- getKey() - Method in class net.carcdr.ycrdt.YMapChange
-
Returns the key that was changed.
- getLength() - Method in class net.carcdr.ycrdt.YArrayChange
-
Returns the length of the change.
- getLength() - Method in class net.carcdr.ycrdt.YTextChange
-
Returns the length of the change.
- getMap(String) - Method in interface net.carcdr.ycrdt.YDoc
-
Gets or creates a collaborative map with the given name.
- getNewValue() - Method in class net.carcdr.ycrdt.YMapChange
-
Returns the new value for the key.
- getNewValue() - Method in class net.carcdr.ycrdt.YXmlElementChange
-
Returns the new value of the attribute.
- getNodeType() - Method in interface net.carcdr.ycrdt.YXmlNode
-
Returns the type of this node.
- getNodeType(int) - Method in interface net.carcdr.ycrdt.YXmlFragment
-
Returns the type of the child node at the specified index.
- getNodeType(YTransaction, int) - Method in interface net.carcdr.ycrdt.YXmlFragment
-
Returns the type of the child node at the specified index within a transaction.
- getObserver() - Method in interface net.carcdr.ycrdt.YSubscription
-
Returns the registered observer, if available.
- getObserverErrorHandler() - Method in interface net.carcdr.ycrdt.YDoc
-
Gets the current error handler for observer exceptions.
- getOldValue() - Method in class net.carcdr.ycrdt.YMapChange
-
Returns the previous value for the key.
- getOldValue() - Method in class net.carcdr.ycrdt.YXmlElementChange
-
Returns the previous value of the attribute.
- getOrigin() - Method in interface net.carcdr.ycrdt.YEvent
-
Returns the origin identifier for this change.
- getParent() - Method in interface net.carcdr.ycrdt.YXmlElement
-
Returns the parent element or fragment.
- getParent() - Method in interface net.carcdr.ycrdt.YXmlText
-
Returns the parent element or fragment.
- getParent(YTransaction) - Method in interface net.carcdr.ycrdt.YXmlElement
-
Returns the parent element or fragment within a transaction.
- getParent(YTransaction) - Method in interface net.carcdr.ycrdt.YXmlText
-
Returns the parent element or fragment within a transaction.
- getString(int) - Method in interface net.carcdr.ycrdt.YArray
-
Gets a string value at the specified index.
- getString(String) - Method in interface net.carcdr.ycrdt.YMap
-
Gets a string value for the specified key.
- getString(YTransaction, int) - Method in interface net.carcdr.ycrdt.YArray
-
Gets a string value at the specified index within a transaction.
- getString(YTransaction, String) - Method in interface net.carcdr.ycrdt.YMap
-
Gets a string value for the specified key within a transaction.
- getSubscriptionId() - Method in interface net.carcdr.ycrdt.YSubscription
-
Returns the internal subscription ID.
- getTag() - Method in interface net.carcdr.ycrdt.YXmlElement
-
Returns the tag name of this element.
- getTag(YTransaction) - Method in interface net.carcdr.ycrdt.YXmlElement
-
Returns the tag name of this element within a transaction.
- getTarget() - Method in interface net.carcdr.ycrdt.YEvent
-
Returns the Y-CRDT type that was modified.
- getTarget() - Method in interface net.carcdr.ycrdt.YSubscription
-
Returns the observed target.
- getText() - Method in interface net.carcdr.ycrdt.FormattingChunk
-
Returns the text content of this chunk.
- getText(int) - Method in interface net.carcdr.ycrdt.YXmlFragment
-
Gets a child text node at the specified index.
- getText(String) - Method in interface net.carcdr.ycrdt.YDoc
-
Gets or creates a collaborative text with the given name.
- getText(YTransaction, int) - Method in interface net.carcdr.ycrdt.YXmlFragment
-
Gets a child text node at the specified index within a transaction.
- getType() - Method in class net.carcdr.ycrdt.YChange
-
Returns the type of this change.
- getXmlElement(String) - Method in interface net.carcdr.ycrdt.YDoc
-
Gets or creates a collaborative XML element with the given name.
- getXmlFragment(String) - Method in interface net.carcdr.ycrdt.YDoc
-
Gets or creates a collaborative XML fragment with the given name.
- getXmlText(String) - Method in interface net.carcdr.ycrdt.YDoc
-
Gets or creates a collaborative XML text with the given name.
H
- handleError(Exception, Object) - Method in class net.carcdr.ycrdt.DefaultObserverErrorHandler
-
Handles an observer exception by printing to stderr.
- handleError(Exception, Object) - Method in interface net.carcdr.ycrdt.ObserverErrorHandler
-
Handles an exception thrown by an observer callback.
- hasAttributes() - Method in interface net.carcdr.ycrdt.FormattingChunk
-
Checks if this chunk has any formatting attributes.
I
- insert(int, String) - Method in interface net.carcdr.ycrdt.YText
-
Inserts text at the specified index.
- insert(int, String) - Method in interface net.carcdr.ycrdt.YXmlText
-
Inserts text at the specified index.
- insert(YTransaction, int, String) - Method in interface net.carcdr.ycrdt.YText
-
Inserts text at the specified index within a transaction.
- insert(YTransaction, int, String) - Method in interface net.carcdr.ycrdt.YXmlText
-
Inserts text at the specified index within a transaction.
- INSERT - Enum constant in enum class net.carcdr.ycrdt.YChange.Type
-
Content was inserted.
- insertDoc(int, YDoc) - Method in interface net.carcdr.ycrdt.YArray
-
Inserts a subdocument at the specified index.
- insertDoc(YTransaction, int, YDoc) - Method in interface net.carcdr.ycrdt.YArray
-
Inserts a subdocument at the specified index within a transaction.
- insertDouble(int, double) - Method in interface net.carcdr.ycrdt.YArray
-
Inserts a double at the specified index.
- insertDouble(YTransaction, int, double) - Method in interface net.carcdr.ycrdt.YArray
-
Inserts a double at the specified index within a transaction.
- insertElement(int, String) - Method in interface net.carcdr.ycrdt.YXmlElement
-
Inserts a child element at the specified index.
- insertElement(int, String) - Method in interface net.carcdr.ycrdt.YXmlFragment
-
Inserts a child element at the specified index.
- insertElement(YTransaction, int, String) - Method in interface net.carcdr.ycrdt.YXmlElement
-
Inserts a child element at the specified index within a transaction.
- insertElement(YTransaction, int, String) - Method in interface net.carcdr.ycrdt.YXmlFragment
-
Inserts a child element at the specified index within a transaction.
- insertString(int, String) - Method in interface net.carcdr.ycrdt.YArray
-
Inserts a string at the specified index.
- insertString(YTransaction, int, String) - Method in interface net.carcdr.ycrdt.YArray
-
Inserts a string at the specified index within a transaction.
- insertText(int) - Method in interface net.carcdr.ycrdt.YXmlElement
-
Inserts a child text node at the specified index.
- insertText(int, String) - Method in interface net.carcdr.ycrdt.YXmlFragment
-
Inserts a child text node at the specified index.
- insertText(YTransaction, int) - Method in interface net.carcdr.ycrdt.YXmlElement
-
Inserts a child text node at the specified index within a transaction.
- insertText(YTransaction, int, String) - Method in interface net.carcdr.ycrdt.YXmlFragment
-
Inserts a child text node at the specified index within a transaction.
- insertWithAttributes(int, String, Map<String, Object>) - Method in interface net.carcdr.ycrdt.YXmlText
-
Inserts text with formatting attributes at the specified index.
- insertWithAttributes(YTransaction, int, String, Map<String, Object>) - Method in interface net.carcdr.ycrdt.YXmlText
-
Inserts text with formatting attributes at the specified index within a transaction.
- INSTANCE - Static variable in class net.carcdr.ycrdt.DefaultObserverErrorHandler
-
Singleton instance of the default handler.
- isClosed() - Method in interface net.carcdr.ycrdt.YArray
-
Checks if this array has been closed.
- isClosed() - Method in interface net.carcdr.ycrdt.YDoc
-
Checks if this document has been closed.
- isClosed() - Method in interface net.carcdr.ycrdt.YMap
-
Checks if this map has been closed.
- isClosed() - Method in interface net.carcdr.ycrdt.YSubscription
-
Checks if this subscription has been closed.
- isClosed() - Method in interface net.carcdr.ycrdt.YText
-
Checks if this text has been closed.
- isClosed() - Method in interface net.carcdr.ycrdt.YTransaction
-
Checks if this transaction has been closed.
- isClosed() - Method in interface net.carcdr.ycrdt.YXmlElement
-
Checks if this element has been closed.
- isClosed() - Method in interface net.carcdr.ycrdt.YXmlFragment
-
Checks if this fragment has been closed.
- isClosed() - Method in interface net.carcdr.ycrdt.YXmlText
-
Checks if this text has been closed.
- isEmpty() - Method in interface net.carcdr.ycrdt.YMap
-
Checks if the map is empty.
J
- jni() - Static method in class net.carcdr.ycrdt.YBindingFactory
-
Returns the JNI binding implementation.
K
- keys() - Method in interface net.carcdr.ycrdt.YMap
-
Returns all keys in the map.
- keys(YTransaction) - Method in interface net.carcdr.ycrdt.YMap
-
Returns all keys in the map within a transaction.
L
- length() - Method in interface net.carcdr.ycrdt.YArray
-
Returns the length of the array.
- length() - Method in interface net.carcdr.ycrdt.YText
-
Returns the length of the text.
- length() - Method in interface net.carcdr.ycrdt.YXmlFragment
-
Returns the number of child nodes.
- length() - Method in interface net.carcdr.ycrdt.YXmlText
-
Returns the length of the text.
- length(YTransaction) - Method in interface net.carcdr.ycrdt.YArray
-
Returns the length of the array within a transaction.
- length(YTransaction) - Method in interface net.carcdr.ycrdt.YText
-
Returns the length of the text within a transaction.
- length(YTransaction) - Method in interface net.carcdr.ycrdt.YXmlFragment
-
Returns the number of child nodes within a transaction.
- length(YTransaction) - Method in interface net.carcdr.ycrdt.YXmlText
-
Returns the length of the text within a transaction.
M
- mergeUpdates(byte[][]) - Method in interface net.carcdr.ycrdt.YBinding
-
Merges multiple updates into a single update.
N
- net.carcdr.ycrdt - package net.carcdr.ycrdt
O
- observe(YObserver) - Method in interface net.carcdr.ycrdt.YArray
-
Registers an observer for changes to this array.
- observe(YObserver) - Method in interface net.carcdr.ycrdt.YMap
-
Registers an observer for changes to this map.
- observe(YObserver) - Method in interface net.carcdr.ycrdt.YText
-
Registers an observer for changes to this text.
- observe(YObserver) - Method in interface net.carcdr.ycrdt.YXmlElement
-
Registers an observer for changes to this element.
- observe(YObserver) - Method in interface net.carcdr.ycrdt.YXmlFragment
-
Registers an observer for changes to this fragment.
- observe(YObserver) - Method in interface net.carcdr.ycrdt.YXmlText
-
Registers an observer for changes to this text.
- ObserverErrorHandler - Interface in net.carcdr.ycrdt
-
Functional interface for handling exceptions thrown by observers.
- observeUpdateV1(UpdateObserver) - Method in interface net.carcdr.ycrdt.YDoc
-
Registers an observer for document updates.
- onChange(YEvent) - Method in interface net.carcdr.ycrdt.YObserver
-
Called when the observed Y-CRDT type changes.
- onUpdate(byte[], String) - Method in interface net.carcdr.ycrdt.UpdateObserver
-
Called when the document is updated.
P
- panama() - Static method in class net.carcdr.ycrdt.YBindingFactory
-
Returns the Panama FFM binding implementation.
- push(String) - Method in interface net.carcdr.ycrdt.YText
-
Appends text to the end.
- push(String) - Method in interface net.carcdr.ycrdt.YXmlText
-
Appends text to the end.
- push(YTransaction, String) - Method in interface net.carcdr.ycrdt.YText
-
Appends text to the end within a transaction.
- push(YTransaction, String) - Method in interface net.carcdr.ycrdt.YXmlText
-
Appends text to the end within a transaction.
- pushDoc(YDoc) - Method in interface net.carcdr.ycrdt.YArray
-
Appends a subdocument to the end.
- pushDoc(YTransaction, YDoc) - Method in interface net.carcdr.ycrdt.YArray
-
Appends a subdocument to the end within a transaction.
- pushDouble(double) - Method in interface net.carcdr.ycrdt.YArray
-
Appends a double to the end.
- pushDouble(YTransaction, double) - Method in interface net.carcdr.ycrdt.YArray
-
Appends a double to the end within a transaction.
- pushString(String) - Method in interface net.carcdr.ycrdt.YArray
-
Appends a string to the end.
- pushString(YTransaction, String) - Method in interface net.carcdr.ycrdt.YArray
-
Appends a string to the end within a transaction.
R
- remove(int, int) - Method in interface net.carcdr.ycrdt.YArray
-
Removes elements at the specified range.
- remove(int, int) - Method in interface net.carcdr.ycrdt.YXmlFragment
-
Removes child nodes at the specified range.
- remove(String) - Method in interface net.carcdr.ycrdt.YMap
-
Removes the specified key from the map.
- remove(YTransaction, int, int) - Method in interface net.carcdr.ycrdt.YArray
-
Removes elements at the specified range within a transaction.
- remove(YTransaction, int, int) - Method in interface net.carcdr.ycrdt.YXmlFragment
-
Removes child nodes at the specified range within a transaction.
- remove(YTransaction, String) - Method in interface net.carcdr.ycrdt.YMap
-
Removes the specified key from the map within a transaction.
- removeAttribute(String) - Method in interface net.carcdr.ycrdt.YXmlElement
-
Removes an attribute.
- removeAttribute(YTransaction, String) - Method in interface net.carcdr.ycrdt.YXmlElement
-
Removes an attribute within a transaction.
- removeChild(int) - Method in interface net.carcdr.ycrdt.YXmlElement
-
Removes a child node at the specified index.
- removeChild(YTransaction, int) - Method in interface net.carcdr.ycrdt.YXmlElement
-
Removes a child node at the specified index within a transaction.
- RETAIN - Enum constant in enum class net.carcdr.ycrdt.YChange.Type
-
Content was retained (unchanged).
S
- setAttribute(String, String) - Method in interface net.carcdr.ycrdt.YXmlElement
-
Sets an attribute value.
- setAttribute(YTransaction, String, String) - Method in interface net.carcdr.ycrdt.YXmlElement
-
Sets an attribute value within a transaction.
- setDoc(String, YDoc) - Method in interface net.carcdr.ycrdt.YMap
-
Sets a subdocument for the specified key.
- setDoc(YTransaction, String, YDoc) - Method in interface net.carcdr.ycrdt.YMap
-
Sets a subdocument for the specified key within a transaction.
- setDouble(String, double) - Method in interface net.carcdr.ycrdt.YMap
-
Sets a double value for the specified key.
- setDouble(YTransaction, String, double) - Method in interface net.carcdr.ycrdt.YMap
-
Sets a double value for the specified key within a transaction.
- setObserverErrorHandler(ObserverErrorHandler) - Method in interface net.carcdr.ycrdt.YDoc
-
Sets the error handler for observer exceptions.
- setString(String, String) - Method in interface net.carcdr.ycrdt.YMap
-
Sets a string value for the specified key.
- setString(YTransaction, String, String) - Method in interface net.carcdr.ycrdt.YMap
-
Sets a string value for the specified key within a transaction.
- size() - Method in interface net.carcdr.ycrdt.YMap
-
Returns the number of entries in the map.
- size(YTransaction) - Method in interface net.carcdr.ycrdt.YMap
-
Returns the number of entries in the map within a transaction.
T
- TEXT - Enum constant in enum class net.carcdr.ycrdt.YXmlNode.NodeType
-
An XML text node.
- toJson() - Method in interface net.carcdr.ycrdt.YArray
-
Returns a JSON representation of this array.
- toJson() - Method in interface net.carcdr.ycrdt.YMap
-
Returns a JSON representation of this map.
- toJson(YTransaction) - Method in interface net.carcdr.ycrdt.YArray
-
Returns a JSON representation of this array within a transaction.
- toJson(YTransaction) - Method in interface net.carcdr.ycrdt.YMap
-
Returns a JSON representation of this map within a transaction.
- toString() - Method in interface net.carcdr.ycrdt.YText
-
Returns the text content.
- toString() - Method in interface net.carcdr.ycrdt.YXmlElement
-
Returns the XML representation of this element.
- toString() - Method in interface net.carcdr.ycrdt.YXmlFragment
-
Returns the XML representation of this fragment.
- toString() - Method in interface net.carcdr.ycrdt.YXmlText
-
Returns the text content.
- toString(YTransaction) - Method in interface net.carcdr.ycrdt.YXmlElement
-
Returns the XML representation of this element within a transaction.
- toString(YTransaction) - Method in interface net.carcdr.ycrdt.YXmlText
-
Returns the text content within a transaction.
- toXmlString() - Method in interface net.carcdr.ycrdt.YXmlFragment
-
Returns the XML representation of this fragment.
- toXmlString(YTransaction) - Method in interface net.carcdr.ycrdt.YXmlFragment
-
Returns the XML representation of this fragment within a transaction.
- transaction(Consumer<YTransaction>) - Method in interface net.carcdr.ycrdt.YDoc
-
Executes a function within a transaction.
U
- UpdateObserver - Interface in net.carcdr.ycrdt
-
Functional interface for observing document-level updates.
V
- valueOf(String) - Static method in enum class net.carcdr.ycrdt.YChange.Type
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.carcdr.ycrdt.YXmlNode.NodeType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class net.carcdr.ycrdt.YChange.Type
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class net.carcdr.ycrdt.YXmlNode.NodeType
-
Returns an array containing the constants of this enum class, in the order they are declared.
Y
- YArray - Interface in net.carcdr.ycrdt
-
A collaborative array type that supports concurrent editing.
- YArrayChange - Class in net.carcdr.ycrdt
-
Represents a change to a YArray or YXmlFragment instance.
- YArrayChange() - Constructor for class net.carcdr.ycrdt.YArrayChange
-
Protected constructor for subclasses.
- YBinding - Interface in net.carcdr.ycrdt
-
Factory for creating Y-CRDT documents.
- YBindingFactory - Class in net.carcdr.ycrdt
-
Factory for explicitly selecting a Y-CRDT binding implementation.
- YChange - Class in net.carcdr.ycrdt
-
Base class for all Y-CRDT change types.
- YChange() - Constructor for class net.carcdr.ycrdt.YChange
-
Protected constructor for subclasses.
- YChange.Type - Enum Class in net.carcdr.ycrdt
-
Types of changes that can occur in Y-CRDT data structures.
- YDoc - Interface in net.carcdr.ycrdt
-
A collaborative document containing shared types.
- YEvent - Interface in net.carcdr.ycrdt
-
Represents an event triggered by changes to a Y-CRDT data structure.
- YMap - Interface in net.carcdr.ycrdt
-
A collaborative map type that supports concurrent editing.
- YMapChange - Class in net.carcdr.ycrdt
-
Represents a change to a YMap instance.
- YMapChange() - Constructor for class net.carcdr.ycrdt.YMapChange
-
Protected constructor for subclasses.
- YObserver - Interface in net.carcdr.ycrdt
-
Functional interface for observing changes to Y-CRDT types.
- YSubscription - Interface in net.carcdr.ycrdt
-
Handle to a registered observer subscription.
- YText - Interface in net.carcdr.ycrdt
-
A collaborative text type that supports concurrent editing.
- YTextChange - Class in net.carcdr.ycrdt
-
Represents a change to a YText or YXmlText instance.
- YTextChange() - Constructor for class net.carcdr.ycrdt.YTextChange
-
Protected constructor for subclasses.
- YTransaction - Interface in net.carcdr.ycrdt
-
A transaction for batching multiple operations on a Y-CRDT document.
- YXmlElement - Interface in net.carcdr.ycrdt
-
A collaborative XML element that supports concurrent editing.
- YXmlElementChange - Class in net.carcdr.ycrdt
-
Represents an attribute change to a YXmlElement instance.
- YXmlElementChange() - Constructor for class net.carcdr.ycrdt.YXmlElementChange
-
Protected constructor for subclasses.
- YXmlFragment - Interface in net.carcdr.ycrdt
-
A collaborative XML fragment container that supports concurrent editing.
- YXmlNode - Interface in net.carcdr.ycrdt
-
Marker interface for XML node types.
- YXmlNode.NodeType - Enum Class in net.carcdr.ycrdt
-
Types of XML nodes.
- YXmlText - Interface in net.carcdr.ycrdt
-
A collaborative XML text node that supports concurrent editing with formatting.
All Classes and Interfaces|All Packages