NetLogo 6.2.2 - org.nlogo.nvm.Argument
Keywords: NetLogo 6.2.2 org.nlogo.nvm.Argument

NetLogo6.2.2 < Back
 

# Packages

-  package root
  Definition Classes
    root
-  package org
  Definition Classes
    root
-  package nlogo
  Definition Classes
    org
-  package nvm
  Definition Classes
    nlogo
- Activation
- AnonymousCommand
- AnonymousProcedure
- AnonymousReporter
- Argument
- ArgumentTypeException
- AssemblerAssistant
- AuxiliaryCompilerInterface
- Binding
- Command
- CompilerFlags
- CompilerInterface
- CompilerResults
- CompilerScoping
- ConcurrentJob
- Context
- CustomAssembled
- CustomGenerated
- DefaultCompilerServices
- EditorWorkspace
- EngineException
- ExclusiveJob
- ExtensionContext
- ExtensionManager
- FileManager
- GeneratorInterface
- HaltException
- ImportHandler
- Instruction
- InstructionJ
- Job
- JobManagerInterface
- JobManagerOwner
- LabInterface
- LetBinding
- LiftedLambda
- LoggingWorkspace
- MutableDouble
- MutableInteger
- MutableLong
- NetLogoStackOverflow
- NonLocalExit
- Optimizations
- PresentationCompilerInterface
- Procedure
- Referencer
- ReferencerReporter
- Reporter
- RuntimePrimitiveException
- Scoping
- SelfScoping
- StackTraceBuilder
- StackTraceBuilt
- Thunk
- Tracer
- Workspace
- WrappedExtensionException
- WrappedLogoException

c

org.nlogo.nvm

# Argument 

###

#### class Argument extends api.Argument

Passes arguments to extension primitives.

Source
  Argument.scala

Linear Supertypes
api.Argument, AnyRef, Any
 
Ordering

1. Alphabetic
2. By Inheritance

Inherited

1. Argument
2. Argument
3. AnyRef
4. Any

1. Hide All
2. Show All

Visibility

1. Public
2. All

### Instance Constructors

1.  new Argument(context: Context, arg: Reporter)

### Value Members

1.  final def !=(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
2.  final def ##(): Int
   Definition Classes
     AnyRef → Any
3.  final def ==(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
4.  final def asInstanceOf[T0]: T0
   Definition Classes
     Any
5.  def clone(): AnyRef
   Attributes
     protected[lang]
   Definition Classes
     AnyRef
   Annotations
     @throws( ... ) @native()
6.  final def eq(arg0: AnyRef): Boolean
   Definition Classes
     AnyRef
7.  def equals(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
8.  def finalize(): Unit
   Attributes
     protected[lang]
   Definition Classes
     AnyRef
   Annotations
     @throws( classOf[java.lang.Throwable] )
9.  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

10.  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 an `Agent`

      `api.LogoException` if a LogoException occurred while evaluating this argument

11.  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 an `AgentSet`

      `api.LogoException` if a LogoException occurred while evaluating this argument

12.  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 a `Boolean`

      `api.LogoException` if a LogoException occurred while evaluating this argument

13.  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 a `boolean`

      `api.LogoException` if a LogoException occurred while evaluating this argument

14.  final def getClass(): Class[_]
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
15.  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 tokens

      `api.LogoException` if a LogoException occurred while evaluating this argument

16.  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 an `AnonymousCommand`

      `api.LogoException` if a LogoException occurred while evaluating this argument

17.  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

18.  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

19.  def getExceptionMessage(wantedType: Int, badValue: AnyRef): String
20.  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

21.  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 a `Link`

      `api.LogoException` if a LogoException occurred while evaluating this argument

22.  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 a `LogoList`

      `api.LogoException` if a LogoException occurred while evaluating this argument

23.  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 a `Patch`

      `api.LogoException` if a LogoException occurred while evaluating this argument

24.  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] )
25.  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 an `AnonymousReporter`

      `api.LogoException` if a LogoException occurred while evaluating this argument

26.  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 a `String`

      `api.LogoException` if a LogoException occurred while evaluating this argument

27.  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 a `Token`

      `api.LogoException` if a LogoException occurred while evaluating this argument

28.  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 a `Turtle`

      `api.LogoException` if a LogoException occurred while evaluating this argument

29.  def hashCode(): Int
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
30.  final def isInstanceOf[T0]: Boolean
    Definition Classes
      Any
31.  final def ne(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
32.  final def notify(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
33.  final def notifyAll(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
34.  final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
      AnyRef
35.  def toString(): String
    Definition Classes
      AnyRef → Any
36.  def unevaluatedArgument: Reporter

    Used by the rnd extension.

    Used by the rnd extension. Other extensions should use getReporter where possible

37.  final def wait(): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
38.  final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
39.  final def wait(arg0: Long): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... ) @native()

### Inherited from api.Argument

### Inherited from AnyRef

### Inherited from Any

### Ungrouped