public final class Gap extends Duration
nameOrNumber, time_periods, time_units, unit, us| Constructor and Description |
|---|
Gap(double us) |
Gap(double d,
String unit) |
Gap(IrpParser.GapContext ctx) |
Gap(NameOrNumber non,
String unit) |
Gap(String str) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
protected Gap |
evaluatedDuration(GeneralSpec generalSpec,
NameEngine nameEngine)
Deliver an "evaluated" Duration (variables resolved) of the same subclass.
|
double |
evaluateWithSign(GeneralSpec generalSpec,
NameEngine nameEngine,
double elapsed) |
int |
hashCode() |
protected boolean |
isOn() |
IrStreamItem |
substituteConstantVariables(Map<String,Long> constantVariables)
Returns an IrStreamItem of the same type with all occurrences of the
variables in the dictionary replaced by their values in the dictionary.
|
String |
toIrpString(int radix) |
allDurationsInMicros, assignmentVariables, constant, decode, endingDurationType, evaluate, evaluate, evaluate, extractPass, getTimeInUnits, getUnit, guessParameterLength, hasExtent, interleavingOk, interleavingOk, isEmpty, isOn, microSeconds, newDuration, newDuration, newDuration, newDuration, nonConstantBitFieldLength, numberOfBareDurations, numberOfBits, numberOfDurations, propertiesMap, recognize, render, startingDuratingType, toElement, toFloat, weightgetParseTree, numberOfBitSpecs, numberOfInfiniteRepeats, prerender, propertiesMap, stateWhenEntering, stateWhenExiting, toDocument, toIrpString, toString, toStringTree, toStringTree, toTreeViewer, toTreeViewer, toTreeViewerclone, finalize, getClass, notify, notifyAll, wait, wait, waitnewIrStreamItem, newIrStreamItem, newIrStreamItem, numberOfBitSpecs, numberOfInfiniteRepeats, propertiesMap, stateWhenEntering, stateWhenExitingtoDocumentnumberOfBitSpecs, propertiesMap, stateWhenEntering, stateWhenExitingpublic Gap(String str)
Gap(IrpParser.GapContext ctx)
public Gap(double us)
public Gap(double d,
String unit)
public Gap(NameOrNumber non, String unit)
public IrStreamItem substituteConstantVariables(Map<String,Long> constantVariables)
IrStreamItemconstantVariables - Map<String, Long> of variables to replace.public double evaluateWithSign(GeneralSpec generalSpec, NameEngine nameEngine, double elapsed) throws IrpInvalidArgumentException, NameUnassignedException
evaluateWithSign in class DurationIrpInvalidArgumentExceptionNameUnassignedExceptionpublic String toIrpString(int radix)
toIrpString in interface FloatabletoIrpString in interface IrStreamItemtoIrpString in class Durationprotected Gap evaluatedDuration(GeneralSpec generalSpec, NameEngine nameEngine) throws NameUnassignedException, IrpInvalidArgumentException
DurationevaluatedDuration in class DurationNameUnassignedExceptionIrpInvalidArgumentExceptionCopyright © 2019. All rights reserved.