Sha256: d39cc40c15528e1595f96acaba867d1a8eeb4ecd854be341757d4860f401b946
Contents?: true
Size: 602 Bytes
Versions: 1
Compression:
Stored size: 602 Bytes
Contents
require_relative '../s9api' require_relative 'sequence_like' module Saxon module XDM # Represents the empty sequence in XDM class EmptySequence def self.create @instance ||= new end include SequenceLike def sequence_enum [].to_enum end def sequence_size 0 end def ==(other) other.class == self.class end alias_method :eql?, :== def hash [].hash end def to_java @s9_xdm_empty_sequence ||= Saxon::S9API::XdmEmptySequence.getInstance end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
saxon-rb-0.4.0-java | lib/saxon/xdm/empty_sequence.rb |