|
Groovy 1.8.4 | |||||||
PREV NEXT | FRAMES NO FRAMES |
UnsupportedOperationException
for an empty range.synchronized void add${name.capitalize}(${listener.name} listener) { if (listener == null) return if (${field.name} == null) ${field.name} = [] ${field.name}.add(listener) }
UnsupportedOperationException
for an empty range.void fire${fireMethod.capitalize()}(${parameterList.join(', ')}) { if (${field.name} !
synchronized ${name.capitalize}[] get${name.capitalize}s() { def __result = [] if (${field.name} !
synchronized void remove${name.capitalize}(${listener.name} listener) { if (listener == null) return if (${field.name} == null) ${field.name} = [] ${field.name}.remove(listener) }
AnnotationNode
conforms to annotation meta
- enhancing an AnnotationNode
AST to reflect real annotation metaReduction
from this node. Reduction
from this node. Reduction
from this token, adding the supplied
nodes as the second, third, and fourth element, respectively.
assert i !
null
).asBoolean()
method added on types.CharsetToolkit
utility class.JsonDelegate
s from closures.from
value for the range and less than or equal to the to
value.this.firePropertyChange("field", field, field = value)
this.fireVetoableChange("field", field, field = value)
field = value
.
@Delegate
annotationtrue
if the intersection of two collections is empty.
SwingUtilities.invokeLater.
dot( base, "" )
.SwingUtilities.invokeAndWait.
eval(ScriptEngine, Reader, Binding)
except that the
source of the script is provided as a Reader
true
according to the Groovy Truth.
envp
and under the working directory dir
.
IndexOutOfBoundsException
for an empty range.Object
.Charset
s on the platform,
among which the default charset
.true
if attribute values are output with
double quotes; false
if single quotes are used.
break foo
inside a loop to end the
execution of the marked loop. continue foo
inside a loop to continue
the execution of the marked loop. ClassLoader
that will serve as the parent ClassLoader of the
GroovyClassLoader in which scripts will be executed. Object
.BufferedReader
(indeed a LineNumberReader
) from the File
specified in the constructor of CharsetToolkit
using the charset discovered or the default
charset if an 8-bit Charset
is encountered.URLConnection
to retrieve a script
from the ResourceConnector
.invokeMethod
mechanism
of GroovyObject
.ScriptEngines
and also exposes metadata describing
Groovy's engine class.RetentionPolicy.CLASS
.RetentionPolicy
.RetentionPolicy.SOURCE
.IntRange
.compareTo()
method for comparing numbers of different
types.JavadocAssertionTestBuilder
will dynamically create a test cases from Groovy assertions placed within
the Javadoc comments of a source file. JavadocAssertionTestSuite
will dynamically create test cases from Groovy assertions placed within
Javadoc comments. toString()
representation of each
items in this array, with the given String as a separator between each
item.JsonException
is the exception thrown by the JSON builder and slurper classes,
whenever a problem occurs when creating or parsing JSON data structures.LineColumnReader
is an extension to BufferedReader
that keeps track of the line and column information of where the cursor is.Reader
(FileReader
, FileReader
, InputStreamReader
, etc.)interceptConstruction
flag allows mocking of
constructor calls. Reduction
with Token.NULL
as it's root.gotoPhase( phase + 1 )
.GroovyTestCase.notYetImplemented(this);.
"1.5"
) is the value for targetBytecode to compile for a JDK 1.5 or later JVM"1.4"
) is the value for targetBytecode to compile for a JDK 1.4 JVM
getResultSet()
object.key
to the specified
value
in this table. Object
value.QName
class represents the value of a qualified name
as specified in XML
Schema Part2: Datatypes specification.ResultSet
object. from
value and calling next()
successively
until you reach the to
value. Parser
.Reduction
with the specified root.Invoker
to call the method if it fails.
UnsupportedOperationException
for an empty range.Reduction
. UnsupportedOperationException
for an empty range.GroovyScriptEngine
.null
or a compiled pattern matcher read from "resource.name.regex"
and used in AbstractHttpServlet.getScriptUri.UnsupportedOperationException
for an empty range.ReverseListIterator
for the provided list.UnsupportedOperationException
for an empty range.RetentionPolicy.CLASS
.ProxyGenerator
to dump generated Groovy
source code to standard output during construction. Charset
used in case the buffer represents
an 8-bit Charset
.keepWhitespace
- If true then whitespace before elements is kept.parentClassLoader
- ClassLoader to be used as the parent ClassLoader
for scripts executed by the engineObject
value.RetentionPolicy.SOURCE
.myFile.setText('some text', charset)or with some help from
ExpandoMetaClass
, you could do something like:
myFile.metaClass.setText = { String s -> delegate.setText(s, 'UTF-8') } myfile.text = 'some text'
size()
method for JTabbedPane
.debug
or
always
.num
elements from this CharSequence.
CSTNode
produced by the Lexer
.String
and returns it.getMessage()
.this
stageVisitors
at the appropriate processor visitor.get(key)
. Writer
.
PrintWriter
.Writable
interface,
so that you can have the builder serialize itself the JSON payload to a writer.groovy.util.Node
(as used with XmlParser
) including all children in XML format.
Copyright © 2003-2011 The Codehaus. All rights reserved.