Module: Java::JavaLang::Iterable
- Defined in:
- rtm-javatmapi/lib/rtm/javatmapi/ext/java_util_set.rb,
rtm/spec/rtm/tmapi/ext/java_util_set_spec.rb
Overview
Copyright: Copyright 2009 Topic Maps Lab, University of Leipzig. License: Apache License, Version 2.0
Instance Method Summary
Instance Method Details
- (Object) first
5 6 7 8 9 |
# File 'rtm-javatmapi/lib/rtm/javatmapi/ext/java_util_set.rb', line 5 def first it = self.iterator return it.next if it.has_next nil end unless self.method_defined?(:first) |