Module: Java::java::lang::Comparable

Includes:
Comparable
Defined in:
core/src/main/ruby/jruby/java/java_ext/java.lang.rb

Overview

java.lang.Comparable mixes in Ruby's `Comparable` support.

See Also:

Instance Method Summary (collapse)

Instance Method Details

- (Object) <=>(a)



90
91
92
93
94
# File 'core/src/main/ruby/jruby/java/java_ext/java.lang.rb', line 90

def <=>(a)
  # stub implemented in org.jruby.javasupport.ext.JavaLang.java
  # return nil if a.nil?
  # compareTo(a)
end