Uses of Class
io.keikai.doc.collab.structs.AbstractStruct
-
Packages that use AbstractStruct Package Description io.keikai.doc.collab.structs io.keikai.doc.collab.utils -
-
Uses of AbstractStruct in io.keikai.doc.collab.structs
Subclasses of AbstractStruct in io.keikai.doc.collab.structs Modifier and Type Class Description classGCclassItemclassSkipMethods in io.keikai.doc.collab.structs that return AbstractStruct Modifier and Type Method Description AbstractStructItem. getLeft()AbstractStructItem. getRight()Methods in io.keikai.doc.collab.structs with parameters of type AbstractStruct Modifier and Type Method Description booleanAbstractStruct. mergeWith(AbstractStruct right)Merge this struct with the item to the right.booleanGC. mergeWith(AbstractStruct right)booleanItem. mergeWith(AbstractStruct right)Try to merge two itemsbooleanSkip. mergeWith(AbstractStruct right)voidItem. setLeft(AbstractStruct left)voidItem. setRight(AbstractStruct right) -
Uses of AbstractStruct in io.keikai.doc.collab.utils
Methods in io.keikai.doc.collab.utils that return AbstractStruct Modifier and Type Method Description static AbstractStructStructStore. find(StructStore store, ID id)Expects that id is actually in store.AbstractStructLazyStructReader. getCurr()static AbstractStructStructStore. getItem(StructStore store, ID id)Expects that id is actually in store.static AbstractStructStructStore. getItemCleanEnd(Transaction transaction, StructStore store, ID id)Expects that id is actually in store.AbstractStructLazyStructReader. next()Methods in io.keikai.doc.collab.utils that return types with arguments of type AbstractStruct Modifier and Type Method Description static java.util.function.Function<AbstractStruct,AbstractStruct>Updates. createObfuscator(ObfuscatorOptions obfuscator)Create an obfuscator with the given options.static java.util.function.Function<AbstractStruct,AbstractStruct>Updates. createObfuscator(ObfuscatorOptions obfuscator)Create an obfuscator with the given options.java.util.Map<java.lang.Integer,java.util.List<AbstractStruct>>StructStore. getClients()java.util.List<AbstractStruct>Transaction. getMergeStructs()java.util.List<AbstractStruct>StructRef. getRefs()static java.lang.Iterable<AbstractStruct>Updates. lazyStructReaderGenerator(UpdateDecoder decoder)LazyStructReaderGeneratorMethods in io.keikai.doc.collab.utils with parameters of type AbstractStruct Modifier and Type Method Description booleanYEvent. adds(AbstractStruct struct)Check if a struct is added by this event.static voidStructStore. addStruct(StructStore store, AbstractStruct struct)booleanYEvent. deletes(AbstractStruct struct)Check if a struct is deleted by this event.static voidStructStore. replaceStruct(StructStore store, AbstractStruct struct, AbstractStruct newStruct)Replace `item` with `newitem` in storeMethod parameters in io.keikai.doc.collab.utils with type arguments of type AbstractStruct Modifier and Type Method Description static Uint8ArrayUpdates. convertUpdateFormat(Uint8Array update, java.util.function.Function<AbstractStruct,AbstractStruct> blockTransformer, java.lang.Class<? extends UpdateDecoder> clzYDecoder, java.lang.Class<? extends UpdateEncoder> clzYEncoder)Convert the update format using a block transformer.static Uint8ArrayUpdates. convertUpdateFormat(Uint8Array update, java.util.function.Function<AbstractStruct,AbstractStruct> blockTransformer, java.lang.Class<? extends UpdateDecoder> clzYDecoder, java.lang.Class<? extends UpdateEncoder> clzYEncoder)Convert the update format using a block transformer.static intStructStore. findIndexCleanStart(Transaction transaction, java.util.List<AbstractStruct> structs, int clock)static intStructStore. findIndexSS(java.util.List<AbstractStruct> structs, int clock)Perform a binary search on a sorted arraystatic voidDeleteSet. iterateDeletedStructs(Transaction transaction, DeleteSet ds, java.util.function.Consumer<AbstractStruct> f)Iterate over all structs that the DeleteSet gc's.static voidStructStore. iterateStructs(Transaction transaction, java.util.List<AbstractStruct> structs, int clockStart, int len, java.util.function.Consumer<AbstractStruct> f)Iterate over a range of structsstatic voidStructStore. iterateStructs(Transaction transaction, java.util.List<AbstractStruct> structs, int clockStart, int len, java.util.function.Consumer<AbstractStruct> f)Iterate over a range of structsvoidStructRef. setRefs(java.util.List<AbstractStruct> refs)static voidEncodings. writeStructs(UpdateEncoder encoder, java.util.List<AbstractStruct> structs, int client, int clock)Write structs to the encoder.Constructor parameters in io.keikai.doc.collab.utils with type arguments of type AbstractStruct Constructor Description StructRef(int i, java.util.List<AbstractStruct> refs)
-