class Argument extends api.Argument
- Alphabetic
- By Inheritance
- Argument
- Argument
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
get: AnyRef
Returns the argument as an
Object
without type checking.Returns the argument as an
Object
without type checking.- Definition Classes
- Argument → Argument
- Exceptions thrown
api.LogoException
if a LogoException occurred while evaluating this argument
-
def
getAgent: Agent
Returns the argument as an
Agent
.Returns the argument as an
Agent
.- Definition Classes
- Argument → Argument
- Annotations
- @throws( classOf[ExtensionException] )
- Exceptions thrown
api.ExtensionException
if the argument is not anAgent
api.LogoException
if a LogoException occurred while evaluating this argument
-
def
getAgentSet: AgentSet
Returns the argument as an
org.nlogo.api.AgentSet
.Returns the argument as an
org.nlogo.api.AgentSet
.- Definition Classes
- Argument → Argument
- Annotations
- @throws( classOf[ExtensionException] )
- Exceptions thrown
api.ExtensionException
if the argument is not anAgentSet
api.LogoException
if a LogoException occurred while evaluating this argument
-
def
getBoolean: Boolean
Returns the argument as a boxed
java.lang.Boolean
Returns the argument as a boxed
java.lang.Boolean
- Definition Classes
- Argument → Argument
- Annotations
- @throws( classOf[ExtensionException] )
- Exceptions thrown
api.ExtensionException
if the argument is not aBoolean
api.LogoException
if a LogoException occurred while evaluating this argument
-
def
getBooleanValue: Boolean
Returns the value of the argument as an unboxed
boolean
.Returns the value of the argument as an unboxed
boolean
.- Definition Classes
- Argument → Argument
- Annotations
- @throws( classOf[ExtensionException] )
- Exceptions thrown
api.ExtensionException
if the argument is not aboolean
api.LogoException
if a LogoException occurred while evaluating this argument
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
getCode: List[Token]
Returns the argument as a
java.utilList[Token]
.Returns the argument as a
java.utilList[Token]
.- Definition Classes
- Argument → Argument
- Annotations
- @throws( classOf[ExtensionException] )
- Exceptions thrown
api.ExtensionException
if the argument is not a valid block of tokensapi.LogoException
if a LogoException occurred while evaluating this argument
-
def
getCommand: api.AnonymousCommand
Returns the argument as a org.nlogo.api.AnonymousCommand.
Returns the argument as a org.nlogo.api.AnonymousCommand.
- Definition Classes
- Argument → Argument
- Annotations
- @throws( classOf[ExtensionException] )
- Exceptions thrown
api.ExtensionException
if the argument is not anAnonymousCommand
api.LogoException
if a LogoException occurred while evaluating this argument
-
def
getDouble: Double
Returns the value of the argument as a boxed
java.lang.Double
.Returns the value of the argument as a boxed
java.lang.Double
.- Definition Classes
- Argument → Argument
- Annotations
- @throws( classOf[ExtensionException] )
- Exceptions thrown
api.ExtensionException
if the argument is not a number.api.LogoException
if a LogoException occurred while evaluating this argument
-
def
getDoubleValue: Double
Returns the value of the argument as an unboxed
double
.Returns the value of the argument as an unboxed
double
.- Definition Classes
- Argument → Argument
- Annotations
- @throws( classOf[ExtensionException] )
- Exceptions thrown
api.ExtensionException
if the argument is not a number.api.LogoException
if a LogoException occurred while evaluating this argument
- def getExceptionMessage(wantedType: Int, badValue: AnyRef): String
-
def
getIntValue: Int
Returns the value of the argument as an unboxed
int
.Returns the value of the argument as an unboxed
int
. Any fractional part is discarded.- Definition Classes
- Argument → Argument
- Annotations
- @throws( classOf[ExtensionException] )
- Exceptions thrown
api.ExtensionException
if the argument is not a number.api.LogoException
if a LogoException occurred while evaluating this argument
-
def
getLink: Link
Returns the argument as a
org.nlogo.api.Link
.Returns the argument as a
org.nlogo.api.Link
.- Definition Classes
- Argument → Argument
- Annotations
- @throws( classOf[ExtensionException] )
- Exceptions thrown
api.ExtensionException
if the argument is not aLink
api.LogoException
if a LogoException occurred while evaluating this argument
-
def
getList: LogoList
Returns the argument as a
org.nlogo.core.LogoList
Returns the argument as a
org.nlogo.core.LogoList
- Definition Classes
- Argument → Argument
- Annotations
- @throws( classOf[ExtensionException] )
- Exceptions thrown
api.ExtensionException
if the argument is not aLogoList
api.LogoException
if a LogoException occurred while evaluating this argument
-
def
getPatch: Patch
Returns the argument as an
org.nlogo.api.Patch
Returns the argument as an
org.nlogo.api.Patch
- Definition Classes
- Argument → Argument
- Annotations
- @throws( classOf[ExtensionException] )
- Exceptions thrown
api.ExtensionException
if the argument is not aPatch
api.LogoException
if a LogoException occurred while evaluating this argument
-
def
getReference: Reference
Used by the GIS extension.
Used by the GIS extension. Other extensions should use getSymbol where possible. The compiler turns the reference into a _const, we just ensure the value is a reference.
- Annotations
- @throws( classOf[ExtensionException] ) @throws( classOf[LogoException] )
-
def
getReporter: api.AnonymousReporter
Returns the argument as a org.nlogo.api.AnonymousReporter.
Returns the argument as a org.nlogo.api.AnonymousReporter.
- Definition Classes
- Argument → Argument
- Annotations
- @throws( classOf[ExtensionException] )
- Exceptions thrown
api.ExtensionException
if the argument is not anAnonymousReporter
api.LogoException
if a LogoException occurred while evaluating this argument
-
def
getString: String
Returns the argument as a
String
Returns the argument as a
String
- Definition Classes
- Argument → Argument
- Annotations
- @throws( classOf[ExtensionException] )
- Exceptions thrown
api.ExtensionException
if the argument cannot be cast to aString
api.LogoException
if a LogoException occurred while evaluating this argument
-
def
getSymbol: Token
Returns the argument as a
org.nlogo.api.Token
.Returns the argument as a
org.nlogo.api.Token
.- Definition Classes
- Argument → Argument
- Annotations
- @throws( classOf[ExtensionException] )
- Exceptions thrown
api.ExtensionException
if the argument is not aToken
api.LogoException
if a LogoException occurred while evaluating this argument
-
def
getTurtle: Turtle
Returns the argument as a
org.nlogo.api.Turtle
.Returns the argument as a
org.nlogo.api.Turtle
.- Definition Classes
- Argument → Argument
- Annotations
- @throws( classOf[ExtensionException] )
- Exceptions thrown
api.ExtensionException
if the argument is not aTurtle
api.LogoException
if a LogoException occurred while evaluating this argument
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
unevaluatedArgument: Reporter
Used by the rnd extension.
Used by the rnd extension. Other extensions should use getReporter where possible
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )