Uses of Interface
org.apache.datasketches.memory.Resource

  • Uses of Resource in org.apache.datasketches.memory

    Modifier and Type
    Interface
    Description
    interface 
    Defines the read-only API for relative positional access to a resource.
    interface 
    Defines the read-only API for offset access to a resource.
    interface 
    Defines the writable API for relative positional access to a resource
    interface 
    Defines the writable API for offset access to a resource.
    Methods in org.apache.datasketches.memory with parameters of type Resource
    Modifier and Type
    Method
    Description
    boolean
    Resource.equalTo(long thisOffsetBytes, Resource that, long thatOffsetBytes, long lengthBytes)
    Returns true if the given object is an instance of this class and has equal contents to this object in the given range of bytes.
    default boolean
    Resource.equalTo(Resource that)
    Returns true if the given object is an instance of this class and has equal contents to this object.
    long
    Resource.getRelativeOffset(Resource that)
    Gets the relative base offset of this with respect to that, defined as: this - that.
    boolean
    Resource.isSameResource(Resource that)
    Returns true if the underlying resource is the same underlying resource as that.
    long
    Resource.mismatch(Resource that)
    long
    Resource.nativeOverlap(Resource that)
    Returns a positive number if this overlaps that and this base address is ≤ that base address.