代码搜索:toString
找到约 10,000 项符合「toString」的源代码
代码结果 10,000
www.eeworm.com/read/171479/5394441
java dombuilder.java
/*
$Id: DOMBuilder.java,v 1.6 2004/05/23 20:05:25 spullara Exp $
Copyright 2003 (C) James Strachan and Bob Mcwhirter. All Rights Reserved.
Redistribution and use of this software and associated d
www.eeworm.com/read/171479/5394780
groovy verbatimgstringtest.groovy
class VerbatimGStringTest extends GroovyTestCase {
void testWithOneVariable() {
def name = "Bob"
def template = """
hello ${name} how are you?
"""
asser
www.eeworm.com/read/171479/5394812
groovy expandopropertytest.groovy
class ExpandoPropertyTest extends GroovyTestCase {
void testExpandoProperty() {
def foo = new Expando()
foo.cheese = "Cheddar"
foo.name = "Gromit"
www.eeworm.com/read/171479/5394814
groovy safenavigationtest.groovy
class SafeNavigationTest extends GroovyTestCase {
void testNullNavigation() {
def x = null
def y = x?.bar
assert y == null
}
void testNormalPropertyNavigation()
www.eeworm.com/read/171479/5394851
groovy groovyinterceptabletest.groovy
import org.codehaus.groovy.runtime.ReflectionMethodInvoker
class GroovyInterceptableTest extends GroovyTestCase {
void testMethodInterception() {
def g = new GI()
assert g.someIn
www.eeworm.com/read/171479/5394869
java gstringtest.java
/*
* $Id: GStringTest.java,v 1.5 2005/03/02 08:21:04 jstrachan Exp $
*
* Copyright 2003 (C) James Strachan and Bob Mcwhirter. All Rights Reserved.
*
* Redistribution and use of this software an
www.eeworm.com/read/171479/5394893
groovy markupwithwritertest.groovy
package groovy.xml
/**
* This test uses GroovyMarkup with writers other than System.out
*/
class MarkupWithWriterTest extends TestXmlSupport {
void testSmallTreeWithStringWriter() {
de
www.eeworm.com/read/171479/5394898
groovy usemarkupwithwriterscript.groovy
// used by MarkupWithWriterTest.testWriterUseInScriptFile
writer = new java.io.StringWriter()
b = new groovy.xml.MarkupBuilder(writer)
b.root1(a:5)
println writer.toString()
assert ""