O'Reilly logo

Groovy: Grundlagen und fortgeschrittene Techniken by Joachim Baumann

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

A Das GDK – Groovy Development Kit540
void withObjectOutputStream(Closure closure)
void withOutputStream(Closure closure)
void withPrintWriter(Closure closure)
void withPrintWriter(String charset, Closure closure)
void withReader(Closure closure)
void withWriter(Closure closure)
void withWriter(String charset, Closure closure)
void withWriterAppend(Closure closure)
void withWriterAppend(String charset, Closure closure)
void write(String text)
void write(String text, String charset)
Float (4 Methoden)
float abs()
void downto(Number to, Closure closure)
int round()
void upto(Number to, Closure closure)
GString (1 Methode)
Object asType(Class c)
InputStream (11 Methoden)
void eachByte(Closure closure)
void eachLine(Closure closure)
Writable filterLine(Closure predicate)
void filterLine(Writer writer, Closure predicate)
String getText()
String getText(String charset)
Iterator iterator()
BufferedReader newReader()
List readLines()
void withReader(Closure closure)
void withStream(Closure closure)
Iterator (3 Methoden)
Object inject(Object value, Closure closure)
Iterator iterator()
List toList()
541A.1 GDK-Methoden (496 Methoden)
List (20 Methoden)
List asImmutable()
List asSynchronized()
boolean equals(List right)
boolean equals(Object[] right)
Process execute()
List flatten()
List getAt(Collection indices)
List getAt(IntRange range)
Object getAt(int idx)
List minus(Collection removeMe)
List minus(Object operand)
Object pop()
void putAt(EmptyRange range, Object value)
void putAt(IntRange range, Collection col)
void putAt(IntRange range, Object value)
void putAt(List splice, List values)
void putAt(List splice, Object value)
void putAt(int idx, Object value)
List reverse()
List reverseEach(Closure closure)
Long (3 Methoden)
long abs()
void downto(Number to, Closure closure)
void upto(Number to, Closure closure)
Map (20 Methoden)
boolean any(Closure closure)
Map asImmutable()
Map asSynchronized()
Object asType(Class clazz)
List collect(Closure closure)
Collection collect(Collection collection, Closure closure)
Map each(Closure closure)
boolean every(Closure closure)
Object find(Closure closure)
Map findAll(Closure closure)
Object get(Object key, Object defaultValue)
Object getAt(Object key)
Map groupBy(Closure closure)
A Das GDK – Groovy Development Kit542
Map plus(Map right)
Object putAt(Object key, Object value)
SpreadMap spread()
Map subMap(Collection keys)
String toMapString()
SpreadMap toSpreadMap()
String toString()
Matcher (8 Methoden)
Matcher each(Closure closure)
String getAt(Collection indices)
Object getAt(int idx)
int getCount()
boolean hasGroup()
Iterator iterator()
void setIndex(int idx)
long size()
NodeList (1 Methode)
Iterator iterator()
Number (37 Methoden)
int abs()
Number and(Number right)
Object asType(Class c)
int compareTo(Character right)
int compareTo(Number right)
Number div(Character right)
Number div(Number right)
void downto(Number to, Closure closure)
Number intdiv(Character right)
Number intdiv(Number right)
boolean isCase(Number switchValue)
Number leftShift(Number operand)
Number minus(Character right)
Number minus(Number right)
Number mod(Number right)
Number multiply(Character right)
Number multiply(Number right)
Number next()
Number or(Number right)
543A.1 GDK-Methoden (496 Methoden)
Number plus(Character right)
Number plus(Number right)
String plus(String right)
Number power(Number exponent)
Number previous()
Number rightShift(Number operand)
Number rightShiftUnsigned(Number operand)
void step(Number to, Number stepNumber, Closure closure)
void times(Closure closure)
BigDecimal toBigDecimal()
BigInteger toBigInteger()
Double toDouble()
Float toFloat()
Integer toInteger()
Long toLong()
Number unaryMinus()
void upto(Number to, Closure closure)
Number xor(Number right)
Object (40 Methoden)
void addShutdownHook(Closure closure)
boolean any()
boolean any(Closure closure)
Object asType(Class type)
List collect(Closure closure)
Collection collect(Collection collection, Closure closure)
String dump()
Object each(Closure closure)
Object eachWithIndex(Closure closure)
boolean every()
boolean every(Closure closure)
Object find(Closure closure)
List findAll(Closure closure)
int findIndexOf(Closure closure)
Object getAt(String property)
MetaClass getMetaClass()
List getMetaPropertyValues()
Map getProperties()
List grep(Object filter)
Object identity(Closure closure)
Object inject(Object value, Closure closure)
String inspect()
A Das GDK – Groovy Development Kit544
Object invokeMethod(String method, Object arguments)
boolean is(Object other)
boolean isCase(Object switchValue)
Iterator iterator()
void print(Object value)
void print(PrintWriter out)
void printf(String format, Object arg)
void printf(String format, Object[] values)
void println()
void println(Object value)
void println(PrintWriter out)
void putAt(String property, Object newValue)
String sprintf(String format, Object arg)
String sprintf(String format, Object[] values)
Object use(Class categoryClass, Closure closure)
Object use(List categoryClassList, Closure closure)
Object use(Object[] array)
Object with(Closure closure)
ObjectInputStream (1 Methode)
void eachObject(Closure closure)
ObjectOutputStream (1 Methode)
void leftShift(Object value)
Object[] (15 Methoden)
boolean equals(List right)
List getAt(Collection indices)
List getAt(EmptyRange range)
List getAt(IntRange range)
List getAt(ObjectRange range)
List getAt(Range range)
Object getAt(int idx)
Object inject(Object initialValue, Closure closure)
String join(String separator)
void putAt(int idx, Object value)
int size()
String toArrayString()
List toList()
SpreadMap toSpreadMap()
String toString()

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required