Gets the.

@return the stmt runner
480194
public static StmtRunner get()
    {
        if (StmtRunner.RUNNER == null) {
            StmtRunner.RUNNER = new StmtRunner();
            EQLRUNNERS.add(SQLRunner.class);
        }
        return StmtRunner.RUNNER;
    }
786375
String getPid(TaskRunner t) {
    if (t != null && t.getTask() != null) {
      if (t.getTask().isMapTask()) {
        JVMId id = mapJvmManager.runningTaskToJvm.get(t);
        if (id != null) {
          return mapJvmManager.jvmIdToPid.get(id);
        }
      } else {
        JVMId id = reduceJvmManager.runningTaskToJvm.get(t);
        if (id != null) {
          return reduceJvmManager.jvmIdToPid.get(id);
        }
      }
    }
    return null;
  }
1085341
public double trace()
    {
        double t = 0;
        for (int i = 0; i < Math.min(m, n); i++)
        {
            t += A[i][i];
        }
        return t;
    }
1037211
public TraceStep getLastStep() {
		TraceStep result = this;
		while (true) {
			if (result.children == null || result.children.size() == 0)
				return result;
			result = result.children.get(result.children.size() - 1);
		}
	}
570064
public synchronized Set<Runnable> getInProgress() {
        Set<Runnable> items = new HashSet<>();
        for (QueueEntry entry : inProgress) {
            items.add(entry.item);
        }
        return items;
    }
520066
public Object getNextData()
    {
        try   {
            String strNext = m_daIn.readUTF();
            return strNext;
        } catch (IOException ex)    {
            ex.printStackTrace();
            return null;
        }
    }
1297493
@Exported
    @QuickSilver
    public RunT getFirstBuild() {
        SortedMap<Integer, ? extends RunT> runs = _getRuns();

        if (runs.isEmpty())
            return null;
        return runs.get(runs.lastKey());
    }
436918
public OperaRunner getRunner() {
    String klassName = (String) options.get(RUNNER).getValue();

    // If no runner is set, use the default one
    if (klassName == null) {
      setRunner(OperaLauncherRunner.class);
      return getRunner();
    }

    Class<?> klass;
    try {
      klass = Class.forName(klassName);
    } catch (ClassNotFoundException e) {
      throw new WebDriverException("Unable to find runner class on classpath: " + klassName);
    }

    Constructor constructor;
    try {
      constructor = klass.getDeclaredConstructor(OperaSettings.class);
    } catch (NoSuchMethodException e) {
      throw new WebDriverException("Invalid constructor in runner: " + klass.getName());
    }

    OperaRunner runner;
    try {
      runner = (OperaRunner) constructor.newInstance(this);
    } catch (InstantiationException e) {
      throw new WebDriverException("Unable to create new instance of runner", e);
    } catch (IllegalAccessException e) {
      throw new WebDriverException("Denied access to runner: " + klass.getName());
    } catch (InvocationTargetException e) {
      throw new WebDriverException("Runner threw exception on construction", e);
    }

    return runner;
  }
1074031
public String getStack() {
		if (stackTrace == null) {
			if (stack == null) {
				StringWriter sw = new StringWriter(512);
				PrintWriter pw = new PrintWriter(sw, true);
				super.printStackTrace(pw);
				stackTrace = sw.toString().trim();
			} else {
				stackTrace = stack.trim();
			}
		}
		return stackTrace;
	}
646662
private static ScriptRunner getRunner() throws IOException {
		if (sharedRunner.get() == null) {
			//create JavaScript runner
			ScriptRunner runner = ScriptRunnerFactory.createRunner();
			
			//load bundled scripts
			try {
				runner.loadScript(CSL.class.getResource("dump.js"));
				runner.loadScript(CSL.class.getResource("citeproc.js"));
				runner.loadScript(CSL.class.getResource("formats.js"));
				runner.loadScript(CSL.class.getResource("loadsys.js"));
			} catch (ScriptRunnerException e) {
				//should never happen because bundled JavaScript files
				//should be OK indeed
				throw new RuntimeException("Invalid bundled javascript file", e);
			}
			
			sharedRunner.set(runner);
		}
		return sharedRunner.get();
	}
954145
protected String getReport() {
    StringBuffer sb = new StringBuffer();

    Iterator iter = this.longCounters.entrySet().iterator();
    while (iter.hasNext()) {
      Entry e = (Entry) iter.next();
      sb.append(e.getKey().toString()).append("\t").append(e.getValue())
        .append("\n");
    }
    iter = this.doubleCounters.entrySet().iterator();
    while (iter.hasNext()) {
      Entry e = (Entry) iter.next();
      sb.append(e.getKey().toString()).append("\t").append(e.getValue())
        .append("\n");
    }
    return sb.toString();
  }
1039877
public function getRuntimePath()
    {
        if ($this->_runtimePath !== null) {
            return $this->_runtimePath;
        } else {
            $this->setRuntimePath($this->getBasePath() . DIRECTORY_SEPARATOR . 'runtime');
            return $this->_runtimePath;
        }
    }
727014
public Object get() {
		Object result = null;
		if (over)
			return eventResult;
		try {
			boolean runOk = (Boolean) futureTask.get(timeoutforeturnResult, TimeUnit.MILLISECONDS);
			if (runOk) {
				result = this.eventResult;
			}
			over = true;
		} catch (Exception e) {
			e.printStackTrace();
		}
		return result;
	}
389617
protected function getStdIn()
    {
        if ($this->stdIn && !feof($this->stdIn)) {
            return $this->stdIn;
        }

        try {
            $this->setStdIn();
        } catch (\Error $e) {
            throw new RuntimeException('Unable to read from STDIN', 0, $e);
        }

        return $this->stdIn;
    }
141730
public Object next()
  {
    if(_currentSubIterator == null || !_currentSubIterator.hasNext())
    {
      nextQueue();
    }
    
    Object nextRemoteQueue = null;

    if(_currentSubIterator != null)
    {
      nextRemoteQueue = _currentSubIterator.next(); 
    }

    return nextRemoteQueue;        
  }
39253
public T first() {
        Iterator<T> iterator = iterator();
        return (iterator.hasNext() ? iterator.next() : null);
    }
739189
public Object next()
  {
    if(tc.isEntryEnabled())
      SibTr.entry(tc, "next");
    
    StreamSet targetStreamSet = (StreamSet)super.next();
    TargetStreamSetControl targetStreamSetControl = 
      (TargetStreamSetControl)targetStreamSet.getControlAdapter();
    if(targetStreamSetControl != null)
    {
      targetStreamSetControl.setTargetStreamManager(tsm);
    }
    
    if(tc.isEntryEnabled())
      SibTr.exit(tc, "next", targetStreamSetControl);
    return targetStreamSetControl;
  }