UnaryWord

com.netflix.atlas.core.model.MathVocabulary.UnaryWord
sealed trait UnaryWord extends SimpleWord

Attributes

Graph
Supertypes
trait SimpleWord
trait Word
class Object
trait Matchable
class Any
Known subtypes
object Abs
object Negate
object PerStep
object Sine
object Sqrt

Members list

Value members

Abstract methods

Concrete methods

override def examples: List[String]

Set of examples showing the usage of the word.

Set of examples showing the usage of the word.

Attributes

Definition Classes
protected def executor: PartialFunction[List[Any], List[Any]]
protected def matcher: PartialFunction[List[Any], Boolean]
override def signature: String

Signature of the method showing the before and after effect on the stack.

Signature of the method showing the before and after effect on the stack.

Attributes

Definition Classes

Inherited methods

def execute(context: Context): Context

Execute this command against the provided context.

Execute this command against the provided context.

Attributes

Inherited from:
SimpleWord
protected def invalidStack: Nothing

Throw an exception to indicate an invalid stack was passed into the execution.

Throw an exception to indicate an invalid stack was passed into the execution.

Attributes

Inherited from:
Word
def isStable: Boolean

Returns true if this operation is considered stable. New operations should override this method to return false until the API is finalized.

Returns true if this operation is considered stable. New operations should override this method to return false until the API is finalized.

Attributes

Inherited from:
Word
def matches(stack: List[Any]): Boolean

Check if the this word can be executed against the current stack. Can be used as a basis for finding auto-completion candidates.

Check if the this word can be executed against the current stack. Can be used as a basis for finding auto-completion candidates.

Attributes

Inherited from:
SimpleWord

Inherited and Abstract methods

def name: String

Name used to refer to this command.

Name used to refer to this command.

Attributes

Inherited from:
Word
def summary: String

Short description of the word to help the user understand what it does.

Short description of the word to help the user understand what it does.

Attributes

Inherited from:
Word