# Created by IntelliJ IDEA.
# User: oleg
# Date: Jan 15, 2008
# Time: 3:20:14 PM
# To change this template use File | Settings | File Templates.

=begin
  This file includes JRubyStubs for Java classes
  This is a stub used for indexing
=end

=begin
    see jruby/lib/collections.rb
=end
class JavaUtilMap
    include Enumerable
    def each(&block)
        #This is a stub, used for indexing
    end
    def [](key)
        #This is a stub, used for indexing
    end
    def []=(key, val)
        #This is a stub, used for indexing
    end
end

class  JavaLangComparable
    include Comparable
    def <=>(a)
        #This is a stub, used for indexing
    end
end

class JavaLangObject
  def field_reader(*args)
    #This is a stub, used for indexing
  end

  def field_writer(*args)
    #This is a stub, used for indexing
  end

  def field_accessor(*args)
    #This is a stub, used for indexing
  end
end

class JavaUtilCollection
    include Enumerable
    def each(&block)
        #This is a stub, used for indexing
    end
    def <<(a)
        #This is a stub, used for indexing
    end
    def +(oth)
        #This is a stub, used for indexing
    end
    def -(oth)
        #This is a stub, used for indexing
    end
    def length
        #This is a stub, used for indexing
    end
    def join(*args)
        #This is a stub, used for indexing
    end
end

class JavaUtilEnumeration
    include Enumerable

    def each
        #This is a stub, used for indexing
    end
end

class JavaUtilIterator
    include Enumerable

    def each
        #This is a stub, used for indexing
    end
end

class JavaUtilList
    def [](ix)
        #This is a stub, used for indexing
    end
    def []=(ix, val)
        #This is a stub, used for indexing
    end
    def sort()
        #This is a stub, used for indexing
    end
    def sort!()
        #This is a stub, used for indexing
    end
    def _wrap_yield(*args)
        #This is a stub, used for indexing
    end
end

=begin
    see jruby/lib/interfaces.rb
=end
class JavaLangRunnable
    def to_proc
        #This is a stub, used for indexing
    end
end

class String
    def to_java_bytes
        #This is a stub, used for indexing
    end

    def self.from_java_bytes(bytes)
        #This is a stub, used for indexing
    end
end

class Array
    def to_java(arg=nil)
      #This is a stub, used for indexing
    end
end

class Hash
    def to_java(arg=nil)
      #This is a stub, used for indexing
    end
end