Package org.jruby.javasupport.ext
Class JavaUtil.List.BlockComparator
java.lang.Object
org.jruby.javasupport.ext.JavaUtil.List.BlockComparator
- All Implemented Interfaces:
Comparator
- Enclosing class:
- JavaUtil.List
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintfinal IRubyObjectcompare(ThreadContext context, IRubyObject o1, IRubyObject o2) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Field Details
-
context
-
block
-
-
Constructor Details
-
BlockComparator
BlockComparator(ThreadContext context, Block block)
-
-
Method Details
-
compare
- Specified by:
comparein interfaceComparator
-
compare
-