Uses of Class
io.keikai.doc.collab.structs.AbstractStruct
Packages that use AbstractStruct
-
Uses of AbstractStruct in io.keikai.doc.collab.structs
Subclasses of AbstractStruct in io.keikai.doc.collab.structsMethods in io.keikai.doc.collab.structs that return AbstractStructMethods in io.keikai.doc.collab.structs with parameters of type AbstractStructModifier and TypeMethodDescriptionbooleanAbstractStruct.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 AbstractStructModifier and TypeMethodDescriptionstatic AbstractStructStructStore.find(StructStore store, ID id) Expects that id is actually in store.LazyStructReader.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.LazyStructReader.next()Methods in io.keikai.doc.collab.utils that return types with arguments of type AbstractStructModifier and TypeMethodDescriptionstatic Function<AbstractStruct,AbstractStruct> Updates.createObfuscator(ObfuscatorOptions obfuscator) Create an obfuscator with the given options.static Function<AbstractStruct,AbstractStruct> Updates.createObfuscator(ObfuscatorOptions obfuscator) Create an obfuscator with the given options.StructStore.getClients()Transaction.getMergeStructs()StructRef.getRefs()static Iterable<AbstractStruct>Updates.lazyStructReaderGenerator(UpdateDecoder decoder) LazyStructReaderGeneratorMethods in io.keikai.doc.collab.utils with parameters of type AbstractStructModifier and TypeMethodDescriptionbooleanYEvent.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 AbstractStructModifier and TypeMethodDescriptionstatic Uint8ArrayUpdates.convertUpdateFormat(Uint8Array update, Function<AbstractStruct, AbstractStruct> blockTransformer, Class<? extends UpdateDecoder> clzYDecoder, Class<? extends UpdateEncoder> clzYEncoder) Convert the update format using a block transformer.static Uint8ArrayUpdates.convertUpdateFormat(Uint8Array update, Function<AbstractStruct, AbstractStruct> blockTransformer, Class<? extends UpdateDecoder> clzYDecoder, Class<? extends UpdateEncoder> clzYEncoder) Convert the update format using a block transformer.static intStructStore.findIndexCleanStart(Transaction transaction, List<AbstractStruct> structs, int clock) static intStructStore.findIndexSS(List<AbstractStruct> structs, int clock) Perform a binary search on a sorted arraystatic voidDeleteSet.iterateDeletedStructs(Transaction transaction, DeleteSet ds, Consumer<AbstractStruct> f) Iterate over all structs that the DeleteSet gc's.static voidStructStore.iterateStructs(Transaction transaction, List<AbstractStruct> structs, int clockStart, int len, Consumer<AbstractStruct> f) Iterate over a range of structsstatic voidStructStore.iterateStructs(Transaction transaction, List<AbstractStruct> structs, int clockStart, int len, Consumer<AbstractStruct> f) Iterate over a range of structsvoidStructRef.setRefs(List<AbstractStruct> refs) static voidEncodings.writeStructs(UpdateEncoder encoder, 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