InfraRuby Vision delivers solutions for mobile and web applications.
You can try InfraRuby live in your browser!
Try the InfraRuby statically typed Ruby compiler live in your browser. Try our examples or write your own code.
Follow @InfraRuby on Twitter for news and updates.

Set

class Set<E: java.lang.Object?> extends Object implements Enumerable<E>

class methods

  • []
    <E: java.lang.Object?> *E -> Set<E>
  • new
    <E: java.lang.Object?> -> Set<E>

instance methods

  • -
    Set<*\E> -> Set<E>
  • <<
    E -> self
  • &
    Set<*\E> -> Set<E>
  • |
    Set<*\E> -> Set<E>
  • ==
    java.lang.Object? -> boolean
  • !=
    java.lang.Object? -> boolean
  • ===
    java.lang.Object? -> boolean
  • add
    E -> void
  • clear
    -> void
  • delete
    java.lang.Object? -> void
  • delete_if
    &{E -> boolean} -> void
  • each
    -> Enumerator<E>
    &{E -> void} -> void
  • each_with_object
    <O: java.lang.Object?> O, &{E, O -> void} -> void
  • empty?
    -> boolean
  • eql?
    java.lang.Object? -> boolean
  • first
    -> E?
  • first!
    -> E
  • freeze
    -> self
  • frozen?
    -> boolean
  • hash
    -> Integer
  • inspect
    -> String
  • member?
    java.lang.Object? -> boolean
  • merge
    Set<*\E> -> void
    Enumerable<*\E> -> void
    java.lang.Iterable<*\E> -> void
  • reject!
    &{E -> boolean} -> void
  • replace
    Set<*\E> -> void
  • select!
    &{E -> boolean} -> void
  • size
    -> Integer
  • size_as_int32
    -> int32
  • to_enum
    -> Enumerator<E>
  • to_set
    -> Set<E>
Follow @InfraRuby on Twitter
Copyright © 2011-2017 InfraRuby Vision Limited