text:
package chronic;

import chronic.alert.TopicMessage;
import chronic.alert.TopicMessageParser;
import chronic.alert.TopicMessagePatterns;
import chronic.app.ChronicApp;
import chronic.app.ChronicProperties;
import chronic.type.StatusType;
import java.io.IOException;
import java.util.ArrayDeque;
import java.util.Deque;
import java.util.regex.Matcher;
import org.junit.Assert;
import org.junit.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import vellum.exception.ParseException;
import vellum.jx.JMap;
import vellum.util.Strings;

/**
 *
 * @author evans
 */
public class TestTopicMessageParser {

    static Logger logger = LoggerFactory.getLogger(TestTopicMessageParser.class);

    ChronicApp app;

    public TestTopicMessageParser() throws Exception {
        app = new ChronicApp(new ChronicProperties(new JMap()));
    }

    @Test
    public void testCron() throws IOException, ParseException {
        StringBuilder builder = new StringBuilder();
        TopicMessage topicMessage = new TopicMessage();
        TopicMessageParser parser = new TopicMessageParser(app, topicMessage);
        builder.append("From: root (Cron Daemon)\n");
        builder.append("Subject: Cron <root@vm> scripts/minutely.sh\n");
        parser.parse(builder.toString());
        Assert.assertEquals("minutely", topicMessage.getServiceLabel());
        Assert.assertEquals("root@vm", topicMessage.getFrom());
    }

    @Test
    public void testMetricValue() throws IOException, ParseException {
        StringBuilder builder = new StringBuilder();
        TopicMessage topicMessage = new TopicMessage();
        TopicMessageParser parser = new TopicMessageParser(app, topicMessage);
        builder.append("Value: Load 3.5\n");
        parser.parse(builder.toString());
        Assert.assertEquals(1, topicMessage.getMetricList().size());
        Assert.assertEquals("Load", topicMessage.getMetricList().get(0).getLabel());
        Assert.assertEquals(new Float(3.5), topicMessage.getMetricList().get(0).getValue());
    }

    @Test
    public void testSingleStatus() throws IOException, ParseException {
        Deque<String> lineList = new ArrayDeque();
        TopicMessage topicMessage = new TopicMessage();
        TopicMessageParser parser = new TopicMessageParser(app, topicMessage);
        lineList.add("Load CRITICAL - 3.5");
        Matcher matcher = TopicMessagePatterns.SERVICE_STATUS.matcher(lineList.getLast());
        Assert.assertTrue(matcher.find());
        parser.parse(Strings.join("\n", lineList));
        Assert.assertEquals(1, topicMessage.getStatusList().size());
        Assert.assertEquals(StatusType.CRITICAL, topicMessage.getStatusList().get(0).getStatusType());
        Assert.assertEquals(0, topicMessage.getMetricList().size());
        Assert.assertEquals("Load", topicMessage.getServiceLabel());
        Assert.assertEquals(StatusType.CRITICAL, topicMessage.getStatusType());
    }

    @Test
    public void testMultiStatus() throws IOException, ParseException {
        Deque<String> lineList = new ArrayDeque();
        TopicMessage topicMessage = new TopicMessage();
        TopicMessageParser parser = new TopicMessageParser(app, topicMessage);
        lineList.add("Load WARNING - 3.5");
        lineList.add("Disk CRITICAL - 95%");
        Matcher matcher = TopicMessagePatterns.SERVICE_STATUS.matcher(lineList.getLast());
        Assert.assertTrue(matcher.find());
        parser.parse(Strings.join("\n", lineList));
        Assert.assertEquals(0, topicMessage.getMetricList().size());
        Assert.assertEquals(2, topicMessage.getStatusList().size());
        Assert.assertEquals(StatusType.WARNING, topicMessage.getStatusList().get(0).getStatusType());
        Assert.assertEquals(StatusType.CRITICAL, topicMessage.getStatusList().get(1).getStatusType());
        Assert.assertEquals("Disk", topicMessage.getServiceLabel());
        Assert.assertEquals(StatusType.CRITICAL, topicMessage.getStatusType());
    }
}


text:
<#
    .SYNOPSIS
        Function to be used within pester for end to end testing of
        Get/Set/Test-TargetResource. Function first calls Set-TargetResource
        with provided parameters, then runs Get and Test-TargetResource, and
        ensures they match $ExpectedGetResults and $ExpectedTestResult.

    .PARAMETER Params
        The Parameters to pass when calling Get/Set/Test-TargetResource.

    .PARAMETER ContextLabel
        The label to use within the Context block of tests.

    .PARAMETER ExpectedGetResults
        A hashtable containing the expected return values from
        Get-TargetResource.

    .PARAMETER ExpectedTestResult
        The expected return value from Test-TargetResource.
#>
function Test-TargetResourceFunctionality
{
    [CmdletBinding()]
    param
    (
        [Parameter()]
        [System.Collections.Hashtable]
        $Params,

        [Parameter()]
        [System.String]
        $ContextLabel,

        [Parameter()]
        [System.Collections.Hashtable]
        $ExpectedGetResults,

        [Parameter()]
        [System.Boolean]
        $ExpectedTestResult = $true
    )

    Context $ContextLabel {
        $addedVerbose = $false

        if ($null -eq ($Params.Keys | Where-Object -FilterScript {$_ -like 'Verbose'}))
        {
            $Params.Add('Verbose', $true)
            $addedVerbose = $true
        }

        [System.Boolean] $testResult = Test-TargetResource @Params

        Write-Verbose -Message "Test-TargetResource results before running Set-TargetResource: $testResult"

        Set-TargetResource @Params

        [System.Collections.Hashtable] $getResult = Get-TargetResource @Params
        [System.Boolean] $testResult = Test-TargetResource @Params

        # The ExpectedGetResults are $null, so let's check that what we got back is $null
        if ($null -eq $ExpectedGetResults)
        {
            It 'Get-TargetResource: Should Be Null' {
                $getResult | Should -BeNullOrEmpty
            }
        }
        else
        {
            Test-CommonGetTargetResourceFunctionality -GetResult $getResult

            # Test each individual key in $ExpectedGetResult to see if they exist, and if the expected value matches
            foreach ($key in $ExpectedGetResults.Keys)
            {
                $getContainsKey = $getResult.ContainsKey($key)

                It "Get-TargetResource: Contains Key: $($key)" {
                    $getContainsKey | Should -Be $true
                }

                if ($getContainsKey)
                {
                    if ($getResult.ContainsKey($key))
                    {
                        switch ((Get-Command Get-TargetResource).Parameters[$key].ParameterType)
                        {
                            ([System.String[]])
                            {
                                $getValueMatchesForKey = Compare-ArrayContent -Array1 $getResult[$key] -Array2 $ExpectedGetResults[$key]
                            }
                            ([System.Management.Automation.PSCredential])
                            {
                                $getValueMatchesForKey = $getResult[$key].UserName -like $ExpectedGetResults[$key].UserName
                            }
                            default
                            {
                                $getValueMatchesForKey = ($getResult[$key] -eq $ExpectedGetResults[$key])
                            }
                        }
                    }
                    else
                    {
                        $getValueMatchesForKey = $false
                    }

                    It "Get-TargetResource: Value Matches for Key: $($key)" {
                        $getValueMatchesForKey | Should -Be $true
                    }
                }
            }
        }

        # Test the Test-TargetResource results
        It 'Test-TargetResource' {
            $testResult | Should -Be $ExpectedTestResult
        }

        if ($addedVerbose)
        {
            $Params.Remove('Verbose')
        }
    }
}

<#
    .SYNOPSIS
        Runs Get-TargetTesource, or takes the results of a previous
        Get-TargetResource execution, and performs common tests against the
        results. The function must be provided either the results from a
        previous Get-TargetResource execution, or the parameters to send to
        Get-TargetResource, but not both. If neither parameter is specified,
        or both parameters are specified, the function will throw an exception.

    .PARAMETER GetResult
        The results of a previous Get-TargetResource execution.

    .PARAMETER GetTargetResourceParams
        The parameters that should be passed to Get-TargetResource.
#>
function Test-CommonGetTargetResourceFunctionality
{
    [CmdletBinding()]
    param
    (
        [Parameter()]
        [System.Collections.Hashtable]
        $GetResult,

        [Parameter()]
        [System.Collections.Hashtable]
        $GetTargetResourceParams
    )

    if (($GetResult.Count -eq 0 -and $GetTargetResourceParams.Count -eq 0) -or ($GetResult.Count -gt 0 -and $GetTargetResourceParams.Count -gt 0))
    {
        throw 'Either the GetResult or GetTargetResourceParams parameters must be specified with non-empty hashtables, but not both.'
    }

    if ($GetResult.Count -eq 0)
    {
        $GetResult = Get-TargetResource @GetTargetResourceParams
    }

    It 'Should return a hashtable of properties' {
        $GetResult | Should -Be -Not $null
    }

    $getTargetResourceCommand = Get-Command Get-TargetResource

    It 'Only 1 Get-TargetResource function should be loaded' {
        $getTargetResourceCommand.Count -eq 1 | Should -Be $true
    }

    if ($getTargetResourceCommand.Count -eq 1)
    {
        foreach ($getTargetResourceParam in $getTargetResourceCommand.Parameters.Keys | Where-Object -FilterScript {$GetResult.ContainsKey($_)})
        {
            $getResultMemberType = '$null'

            if ($null -ne ($GetResult[$getTargetResourceParam]))
            {
                $getResultMemberType = $GetResult[$getTargetResourceParam].GetType().ToString()
            }

            It "Should return a value of type '$($getTargetResourceCommand.Parameters[$getTargetResourceParam].ParameterType.ToString())' for hashtable member '$getTargetResourceParam'. Actual return type: '$getResultMemberType'" {
                ($getTargetResourceCommand.Parameters[$getTargetResourceParam].ParameterType.ToString()) -eq $getResultMemberType | Should -Be $true
            }
        }
    }
}

function Test-ArrayContentsEqual
{
    [CmdletBinding()]
    param
    (
        [Parameter()]
        [System.Collections.Hashtable]
        $TestParams,

        [Parameter()]
        [System.String[]]
        $DesiredArrayContents,

        [Parameter()]
        [System.String]
        $GetResultParameterName,

        [Parameter()]
        [System.String]
        $ContextLabel,

        [Parameter()]
        [System.String]
        $ItLabel
    )

    Context $ContextLabel {
        [System.Collections.Hashtable] $getResult = Get-TargetResource @TestParams

        It $ItLabel {
            Compare-ArrayContent -Array1 $DesiredArrayContents -Array2 $getResult."$($GetResultParameterName)" -IgnoreCase | Should Be $true
        }
    }
}

function Test-Array2ContainsArray1
{
    [CmdletBinding()]
    param
    (
        [Parameter()]
        [System.Collections.Hashtable]
        $TestParams,

        [Parameter()]
        [System.String[]]
        $DesiredArrayContents,

        [Parameter()]
        [System.String]
        $GetResultParameterName,

        [Parameter()]
        [System.String]
        $ContextLabel,

        [Parameter()]
        [System.String]
        $ItLabel
    )

    Context $ContextLabel {
        [System.Collections.Hashtable] $getResult = Get-TargetResource @TestParams

        It $ItLabel {
            Test-ArrayElementsInSecondArray -Array1 $DesiredArrayContents -Array2 $getResult."$GetResultParameterName" -IgnoreCase | Should Be $true
        }
    }
}

# Creates a test OAB for DSC, or sees if it exists. If it is created or exists, return the name of the OAB.
function Get-TestOfflineAddressBook
{
    [CmdletBinding()]
    [OutputType([System.String])]
    param
    (
        [Parameter()]
        [System.Management.Automation.PSCredential]
        [System.Management.Automation.Credential()]
        $ShellCredentials
    )

    [System.String] $testOabName = 'Offline Address Book (DSC Test)'

    Get-RemoteExchangeSession -Credential $ShellCredentials -CommandsToLoad '*-OfflineAddressBook'

    if ($null -eq (Get-OfflineAddressBook -Identity $testOabName -ErrorAction SilentlyContinue))
    {
        Write-Verbose -Message "Test OAB does not exist. Creating OAB with name '$testOabName'."

        $testOab = New-OfflineAddressBook -Name $testOabName -AddressLists '\'

        if ($null -eq $testOab)
        {
            throw 'Failed to create test OAB.'
        }
    }

    return $testOabName
}

# Removes the test DAG if it exists, and any associated databases
function Initialize-TestForDAG
{
    [CmdletBinding()]
    param
    (
        [Parameter()]
        [System.String[]]
        $ServerName,

        [Parameter()]
        [System.String]
        $DAGName,

        [Parameter()]
        [System.String]
        $DatabaseName,

        [Parameter()]
        [System.Management.Automation.PSCredential]
        $ShellCredentials
    )

    Write-Verbose -Message 'Cleaning up test DAG and related resources'

    Get-RemoteExchangeSession -Credential $ShellCredentials -CommandsToLoad '*-MailboxDatabase',`
                                                                                '*-DatabaseAvailabilityGroup',`
                                                                                'Remove-DatabaseAvailabilityGroupServer',`
                                                                                'Get-MailboxDatabaseCopyStatus',`
                                                                                'Remove-MailboxDatabaseCopy'

    $existingDB = Get-MailboxDatabase -Identity "$($DatabaseName)" -Status -ErrorAction SilentlyContinue

    # First remove the test database copies
    Remove-CopiesOfTestDatabase -DatabaseName $DatabaseName

    # Now remove the actual DB's
    Remove-TestDatabase -DatabaseName $DatabaseName -ServerName $ServerName

    # Last remove the test DAG
    $dag = Get-DatabaseAvailabilityGroup -Identity "$($DAGName)" -ErrorAction SilentlyContinue

    if ($null -ne $dag)
    {
        Set-DatabaseAvailabilityGroup -Identity "$($DAGName)" -DatacenterActivationMode Off

        foreach ($server in $dag.Servers)
        {
            Remove-DatabaseAvailabilityGroupServer -MailboxServer "$($server.Name)" -Identity "$($DAGName)" -Confirm:$false
        }

        Remove-DatabaseAvailabilityGroup -Identity "$($DAGName)" -Confirm:$false
    }

    if ($null -ne (Get-DatabaseAvailabilityGroup -Identity "$($DAGName)" -ErrorAction SilentlyContinue))
    {
        throw 'Failed to remove test DAG'
    }

    # Disable the DAG computer account
    $compAccount = Get-ADComputer -Identity $DAGName -ErrorAction SilentlyContinue

    if ($null -ne $compAccount -and $compAccount.Enabled -eq $true)
    {
        $compAccount | Disable-ADAccount
    }

    Write-Verbose -Message 'Finished cleaning up test DAG and related resources'
}

<#
    .SYNOPSIS
        Removes all copies of the given Mailbox Database that are not currently
        mounted.

    .PARAMETER DatabaseName
        The name of the Database to remove copies from.
#>
function Remove-CopiesOfTestDatabase
{
    [CmdletBinding()]
    param
    (
        [Parameter()]
        [System.String]
        $DatabaseName
    )

    $existingDB = Get-MailboxDatabase -Identity "$($DatabaseName)" -Status -ErrorAction SilentlyContinue

    # First remove the test database copies
    if ($null -ne $existingDB)
    {
        Get-MailboxDatabaseCopyStatus -Identity "$($DatabaseName)" | Where-Object -FilterScript {
            $_.Status -notlike 'Mounted'
        } | Remove-MailboxDatabaseCopy -Confirm:$false
    }
}

<#
    .SYNOPSIS
        Removes the specified Mailbox Database, as well as associated database
        files from the specified Servers.

    .PARAMETER ServerName
        The servers to remove database files from.

    .PARAMETER DatabaseName
        The name of the Database to remove.
#>
function Remove-TestDatabase
{
    [CmdletBinding()]
    param
    (
        [Parameter()]
        [System.String[]]
        $ServerName,

        [Parameter()]
        [System.String]
        $DatabaseName
    )

    Get-MailboxDatabase | Where-Object -FilterScript {
        $_.Name -like "$($DatabaseName)"
    } | Remove-MailboxDatabase -Confirm:$false

    # Remove the files
    foreach ($server in $ServerName)
    {
        Get-ChildItem -LiteralPath "\\$($server)\c`$\Program Files\Microsoft\Exchange Server\V15\Mailbox\$($DatabaseName)" `
                      -ErrorAction SilentlyContinue | Remove-Item -Recurse -Force -Confirm:$false -ErrorAction SilentlyContinue
    }
}

<#
    .SYNOPSIS
        Prompts for credentials to use for Exchange tests and returns the
        credentials as a PSCredential object. Only prompts for credentials
        on the first call to the function.
#>
function Get-TestCredential
{
    # Suppressing this rule so that Exchange credentials can be re-used across multiple test scripts
    [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidGlobalVars', '')]
    [CmdletBinding()]
    [OutputType([System.Management.Automation.PSCredential])]
    param()

    if ($null -eq $Global:TestCredential)
    {
        [PSCredential] $Global:TestCredential = Get-Credential -Message 'Enter credentials for connecting a Remote PowerShell session to Exchange'
    }

    return $Global:TestCredential
}

<#
    .SYNOPSIS
        Gets all configured Accepted Domains, and returns the Domain name of
        the first retrieved Accepted Domain. Throws an exception if no
        Accepted Domains are configured.
#>
function Get-TestAcceptedDomainName
{
    [CmdletBinding()]
    [OutputType([System.String])]
    param()

    [System.Object[]] $acceptedDomains = Get-AcceptedDomain

    if ($acceptedDomains.Count -gt 0)
    {
        return $acceptedDomains[0].DomainName.ToString()
    }
    else
    {
        throw 'One or more Accepted Domains must be configured for tests to function.'
    }
}

<#
    .SYNOPSIS
        Returns a Mailbox object corresponding to a DSC Test Mailbox. Creates
        the Mailbox if it does not already exist.
#>
function Get-DSCTestMailbox
{
    [CmdletBinding()]
    [OutputType([Microsoft.Exchange.Data.Directory.Management.Mailbox])]
    param()

    $testMailboxName = 'DSCTestMailbox'

    $testDomain = Get-TestAcceptedDomainName
    $testCreds = Get-TestCredential

    $testMailbox = Get-Mailbox $testMailboxName -ErrorAction SilentlyContinue
    $primarySMTP = "$testMailboxName@$testDomain"
    $secondarySMTP = "$($testMailboxName)2@$testDomain"
    [System.Object[]] $dbsOnServer = Get-MailboxDatabase -Server $env:COMPUTERNAME -ErrorAction SilentlyContinue

    $changedMailbox = $false

    # Create the test mailbox if it doesn't exist
    if ($null -eq $testMailbox)
    {
        Write-Verbose -Message "Creating test mailbox: $testMailboxName"

        $newMailboxParams = @{
            Name               = $testMailboxName
            PrimarySmtpAddress = $primarySMTP
            UserPrincipalName  = $primarySMTP
            Password           = $testCreds.Password
        }

        if ($dbsOnServer.Count -gt 0)
        {
            $newMailboxParams.Add('Database',$dbsOnServer[0].Name)
        }

        $testMailbox = New-Mailbox @newMailboxParams

        if ($null -eq $testMailbox)
        {
            throw 'Failed to create test mailbox'
        }
    }

    # Set the test mailbox primary SMTP if not correct
    if ($testMailbox.PrimarySmtpAddress.Address -notlike $primarySMTP)
    {
        Write-Verbose -Message "Changing primary SMTP on test mailbox: $testMailboxName"

        $testMailbox | Set-Mailbox -PrimarySmtpAddress $primarySMTP

        $changedMailbox = $true
    }

    # Add the secondary SMTP if necessary
    if (($testMailbox.EmailAddresses | Where-Object {$_.AddressString -like $secondarySMTP}).Count -eq 0)
    {
        Write-Verbose -Message "Adding secondary SMTP on test mailbox: $testMailboxName"

        $testMailbox | Set-Mailbox -EmailAddresses @{add=$secondarySMTP}

        $changedMailbox = $true
    }

    # Get the mailbox one more time so we have updated properties on it
    if ($changedMailbox)
    {
        $testMailbox = Get-Mailbox $testMailboxName
    }

    return $testMailbox
}

<#
    .SYNOPSIS
        Returns a MailUser object corresponding to a DSC Test MailUser. Creates
        the MailUser if it does not already exist.
#>
function Get-DSCTestMailUser
{
    [CmdletBinding()]
    [OutputType([Microsoft.Exchange.Data.Directory.Management.MailUser])]
    param()

    $testMailUserName = 'DSCTestMailUser'

    $testMailUser = Get-MailUser $testMailUserName -ErrorAction SilentlyContinue
    $primarySMTP = "$testMailUserName@contoso.local"

    $changedMailUser = $false

    # Create the test MailUser if it doesn't exist
    if ($null -eq $testMailUser)
    {
        Write-Verbose -Message "Creating test mail user: $testMailUserName"

        $newMailUserParams = @{
            Name                 = $testMailUserName
            ExternalEmailAddress = $primarySMTP
        }

        $testMailUser = New-MailUser @newMailUserParams

        if ($null -eq $testMailUser)
        {
            throw 'Failed to create test MailUser'
        }
    }

    # Set the test MailUser primary SMTP if not correct
    if ($testMailUser.ExternalEmailAddress.AddressString -notlike $primarySMTP)
    {
        Write-Verbose -Message "Changing ExternalEmailAddress on test mail user: $testMailboxName"

        $testMailUser | Set-MailUser -ExternalEmailAddress $primarySMTP

        $changedMailUser = $true
    }

    # Get the MailUser one more time so we have updated properties on it
    if ($changedMailUser)
    {
        $testMailUser = Get-MailUser $testMailUserName
    }

    return $testMailUser
}

<#
    .SYNOPSIS
        Returns a MailContact object corresponding to a DSC Test MailContact.
        Creates the MailContact if it does not already exist.
#>
function Get-DSCTestMailContact
{
    [CmdletBinding()]
    [OutputType([Microsoft.Exchange.Data.Directory.Management.MailContact])]
    param()

    $testMailContactName = 'DSCTestMailContact'

    $testMailContact = Get-MailContact $testMailContactName -ErrorAction SilentlyContinue
    $primarySMTP = "$testMailContactName@contoso.local"

    $changedMailContact = $false

    # Create the test MailContact if it doesn't exist
    if ($null -eq $testMailContact)
    {
        Write-Verbose -Message "Creating test mail contact: $testMailContactName"

        $newMailContactParams = @{
            Name                 = $testMailContactName
            ExternalEmailAddress = $primarySMTP
        }

        $testMailContact = New-MailContact @newMailContactParams

        if ($null -eq $testMailContact)
        {
            throw 'Failed to create test MailContact'
        }
    }

    # Set the test MailContact primary SMTP if not correct
    if ($testMailContact.ExternalEmailAddress.AddressString -notlike $primarySMTP)
    {
        Write-Verbose -Message "Changing ExternalEmailAddress on test mail contact: $testMailContactName"

        $testMailContact | Set-MailContact -ExternalEmailAddress $primarySMTP

        $changedMailContact = $true
    }

    # Get the MailContact one more time so we have updated properties on it
    if ($changedMailContact)
    {
        $testMailContact = Get-MailContact $testMailContactName
    }

    return $testMailContact
}

<#
    .SYNOPSIS
        Returns the FQDN of the first domain controller discovered using
        Get-ADDomainController.
#>
function Get-TestDomainController
{
    [CmdletBinding()]
    [OutputType([System.String])]
    param()

    $dcToTestAgainst = ''

    [System.Object[]] $foundDCs = Get-ADDomainController

    if ($foundDCs.Count -gt 0)
    {
        [System.String] $dcToTestAgainst = $foundDCs[0].HostName
    }

    return $dcToTestAgainst
}

Export-ModuleMember -Function *

redpajama_set_name: RedPajamaGithub


text:
package com.itranswarp.bitcoin.util;

import java.util.LinkedHashMap;
import java.util.Map;

public class LRUCache<K, V> extends LinkedHashMap<K, V> {

	private final int size;

	public LRUCache() {
		this(16);
	}

	public LRUCache(int size) {
		super(size, 0.75f, true);
		this.size = size;
	}

	@Override
	protected boolean removeEldestEntry(Map.Entry<K, V> eldest) {
		return size() > size;
	}

}


text:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<TITLE>
Uses of Interface org.apache.poi.ss.formula.eval.ValueEval (POI API Documentation)
</TITLE>

<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../../stylesheet.css" TITLE="Style">

      Overview
      Package
      Class
    Use
      Tree
      Deprecated
      Index
      Help

 PREV
 NEXT

  FRAMES
 NO FRAMES

  All Classes

Uses of Interface
org.apache.poi.ss.formula.eval.ValueEval

Packages that use ValueEval

org.apache.poi.ss.formula
This package contains common internal POI code for manipulating formulas.

org.apache.poi.ss.formula.eval

org.apache.poi.ss.formula.eval.forked

org.apache.poi.ss.formula.functions

Uses of ValueEval in org.apache.poi.ss.formula

Subinterfaces of ValueEval in org.apache.poi.ss.formula

 interface
ThreeDEval

          Optional Extension to the likes of AreaEval and
  AreaEvalBase,
  which allows for looking up 3D (sheet+row+column) evaluations

 interface
TwoDEval

          Common interface of AreaEval and AreaEvalBase,
 for 2D (row+column) evaluations

Methods in org.apache.poi.ss.formula that return ValueEval

static ValueEval
WorkbookEvaluator.dereferenceResult(ValueEval evaluationResult,
                  int srcRowNum,
                  int srcColNum)

          Dereferences a single value from any AreaEval or RefEval evaluation
 result.

 ValueEval
WorkbookEvaluator.evaluate(EvaluationCell srcCell)

 ValueEval
OperationEvaluationContext.getArea3DEval(Area3DPtg aptg)

 ValueEval
OperationEvaluationContext.getArea3DEval(Area3DPxg aptg)

 ValueEval
OperationEvaluationContext.getAreaEval(int firstRowIndex,
            int firstColumnIndex,
            int lastRowIndex,
            int lastColumnIndex)

 ValueEval
OperationEvaluationContext.getDynamicReference(java.lang.String workbookName,
                    java.lang.String sheetName,
                    java.lang.String refStrPart1,
                    java.lang.String refStrPart2,
                    boolean isA1Style)

          Resolves a cell or area reference dynamically.

 ValueEval
OperationEvaluationContext.getNameXEval(NameXPtg nameXPtg)

 ValueEval
OperationEvaluationContext.getNameXEval(NameXPxg nameXPxg)

 ValueEval
OperationEvaluationContext.getRef3DEval(Ref3DPtg rptg)

 ValueEval
OperationEvaluationContext.getRef3DEval(Ref3DPxg rptg)

 ValueEval
OperationEvaluationContext.getRefEval(int rowIndex,
           int columnIndex)

 ValueEval
TwoDEval.getValue(int rowIndex,
         int columnIndex)

 ValueEval
ThreeDEval.getValue(int sheetIndex,
         int rowIndex,
         int columnIndex)

Methods in org.apache.poi.ss.formula with parameters of type ValueEval

static ValueEval
WorkbookEvaluator.dereferenceResult(ValueEval evaluationResult,
                  int srcRowNum,
                  int srcColNum)

          Dereferences a single value from any AreaEval or RefEval evaluation
 result.

Uses of ValueEval in org.apache.poi.ss.formula.eval

Subinterfaces of ValueEval in org.apache.poi.ss.formula.eval

 interface
AreaEval

          Evaluation of 2D (Row+Column) and 3D (Sheet+Row+Column) areas

 interface
NumericValueEval

 interface
RefEval

          RefEval is the super interface for Ref2D and Ref3DEval.

 interface
StringValueEval

Classes in org.apache.poi.ss.formula.eval that implement ValueEval

 class
AreaEvalBase

 class
BlankEval

 class
BoolEval

 class
ErrorEval

          Evaluations for formula errors

 class
ExternalNameEval

          Evaluation of a Name defined in a Sheet or Workbook scope

 class
FunctionNameEval

 class
MissingArgEval

          Represents the (intermediate) evaluated result of a missing function argument.

 class
NumberEval

 class
RefEvalBase

          Common base class for implementors of RefEval

 class
StringEval

Methods in org.apache.poi.ss.formula.eval that return ValueEval

static ValueEval
OperandResolver.chooseSingleElementFromArea(AreaEval ae,
                            int srcCellRow,
                            int srcCellCol)

          Implements (some perhaps not well known) Excel functionality to select a single cell from an
 area depending on the coordinates of the calling cell.

 ValueEval
UnaryPlusEval.evaluate(int srcCellRow,
         int srcCellCol,
         ValueEval arg0)

 ValueEval
UnaryMinusEval.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0)

 ValueEval
PercentEval.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0)

 ValueEval
TwoOperandNumericOperation.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1)

 ValueEval
RelationalOperationEval.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1)

          This is a description of how the relational operators apply in MS Excel.

 ValueEval
RangeEval.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1)

 ValueEval
IntersectionEval.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1)

 ValueEval
ConcatEval.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1)

 ValueEval
AreaEvalBase.getAbsoluteValue(int row,
                 int col)

 ValueEval
AreaEval.getAbsoluteValue(int row,
                 int col)

 ValueEval
RefEval.getInnerValueEval(int sheetIndex)

abstract  ValueEval
AreaEvalBase.getRelativeValue(int relativeRowIndex,
                 int relativeColumnIndex)

 ValueEval
AreaEval.getRelativeValue(int relativeRowIndex,
                 int relativeColumnIndex)

abstract  ValueEval
AreaEvalBase.getRelativeValue(int sheetIndex,
                 int relativeRowIndex,
                 int relativeColumnIndex)

static ValueEval
OperandResolver.getSingleValue(ValueEval arg,
               int srcCellRow,
               int srcCellCol)

          Retrieves a single value from a variety of different argument types according to standard
 Excel rules.

 ValueEval
AreaEvalBase.getValue(int row,
         int col)

 ValueEval
AreaEvalBase.getValue(int sheetIndex,
         int row,
         int col)

Methods in org.apache.poi.ss.formula.eval with parameters of type ValueEval

static java.lang.Boolean
OperandResolver.coerceValueToBoolean(ValueEval ve,
                     boolean stringsAreBlanks)

static double
OperandResolver.coerceValueToDouble(ValueEval ev)

          Applies some conversion rules if the supplied value is not already a number.

static int
OperandResolver.coerceValueToInt(ValueEval ev)

          Applies some conversion rules if the supplied value is not already an integer.

 Value is first coerced to a <tt>double</tt> ( See <tt>coerceValueToDouble()</tt> ).

static java.lang.String
OperandResolver.coerceValueToString(ValueEval ve)

 ValueEval
UnaryPlusEval.evaluate(int srcCellRow,
         int srcCellCol,
         ValueEval arg0)

 ValueEval
UnaryMinusEval.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0)

 ValueEval
PercentEval.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0)

 ValueEval
TwoOperandNumericOperation.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1)

 ValueEval
RelationalOperationEval.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1)

          This is a description of how the relational operators apply in MS Excel.

 ValueEval
RangeEval.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1)

 ValueEval
IntersectionEval.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1)

 ValueEval
ConcatEval.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1)

static ValueEval
OperandResolver.getSingleValue(ValueEval arg,
               int srcCellRow,
               int srcCellCol)

          Retrieves a single value from a variety of different argument types according to standard
 Excel rules.

protected  double
TwoOperandNumericOperation.singleOperandEvaluate(ValueEval arg,
                      int srcCellRow,
                      int srcCellCol)

Uses of ValueEval in org.apache.poi.ss.formula.eval.forked

Methods in org.apache.poi.ss.formula.eval.forked that return ValueEval

 ValueEval
ForkedEvaluator.evaluate(java.lang.String sheetName,
         int rowIndex,
         int columnIndex)

          If cell contains a formula, the formula is evaluated and returned,
 else the CellValue simply copies the appropriate cell value from
 the cell and also its cell type.

Methods in org.apache.poi.ss.formula.eval.forked with parameters of type ValueEval

 void
ForkedEvaluator.updateCell(java.lang.String sheetName,
           int rowIndex,
           int columnIndex,
           ValueEval value)

          Sets the specified cell to the supplied <tt>value</tt>

Uses of ValueEval in org.apache.poi.ss.formula.functions

Methods in org.apache.poi.ss.formula.functions that return ValueEval

 ValueEval
Today.evaluate(int srcRowIndex,
         int srcColumnIndex)

 ValueEval
RowFunc.evaluate(int srcRowIndex,
         int srcColumnIndex)

 ValueEval
Now.evaluate(int srcRowIndex,
         int srcColumnIndex)

 ValueEval
Na.evaluate(int srcCellRow,
         int srcCellCol)

 ValueEval
Function0Arg.evaluate(int srcRowIndex,
         int srcColumnIndex)

          see Function.evaluate(ValueEval[], int, int)

 ValueEval
Column.evaluate(int srcRowIndex,
         int srcColumnIndex)

 ValueEval
Value.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0)

 ValueEval
T.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0)

 ValueEval
Rows.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0)

 ValueEval
RowFunc.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0)

 ValueEval
Oct2Dec.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval numberVE)

 ValueEval
NumericFunction.OneArg.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0)

 ValueEval
LogicalFunction.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0)

 ValueEval
ImReal.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval inumberVE)

 ValueEval
Imaginary.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval inumberVE)

 ValueEval
Hyperlink.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0)

 ValueEval
Hex2Dec.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval numberVE)

 ValueEval
Function1Arg.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0)

          see Function.evaluate(ValueEval[], int, int)

 ValueEval
Fixed.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0)

 ValueEval
FactDouble.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval numberVE)

 ValueEval
Errortype.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0)

 ValueEval
Dec2Hex.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0)

 ValueEval
Dec2Bin.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval numberVE)

 ValueEval
Countblank.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0)

 ValueEval
Columns.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0)

 ValueEval
Column.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0)

 ValueEval
Code.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval textArg)

 ValueEval
CalendarFieldFunction.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0)

 ValueEval
Bin2Dec.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval numberVE)

 ValueEval
XYNumericFunction.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1)

 ValueEval
WeekNum.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval serialNumVE,
         ValueEval returnTypeVE)

 ValueEval
Sumif.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1)

 ValueEval
Slope.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1)

 ValueEval
Roman.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval numberVE,
         ValueEval formVE)

 ValueEval
Rept.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval text,
         ValueEval number_times)

 ValueEval
Rank.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1)

 ValueEval
Quotient.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval venumerator,
         ValueEval vedenominator)

 ValueEval
NumericFunction.TwoArg.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1)

 ValueEval
Match.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1)

 ValueEval
Lookup.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1)

 ValueEval
LinearRegressionFunction.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1)

 ValueEval
Intercept.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1)

 ValueEval
Index.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1)

 ValueEval
IfFunc.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1)

 ValueEval
Hyperlink.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1)

 ValueEval
Function2Arg.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1)

          see Function.evaluate(ValueEval[], int, int)

 ValueEval
Fixed.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1)

 ValueEval
Delta.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg1,
         ValueEval arg2)

 ValueEval
Dec2Hex.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval number,
         ValueEval places)

 ValueEval
Dec2Bin.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval numberVE,
         ValueEval placesVE)

 ValueEval
Days360.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1)

 ValueEval
Countif.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1)

 ValueEval
Complex.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval real_num,
         ValueEval i_num)

 ValueEval
Vlookup.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1,
         ValueEval arg2)

 ValueEval
TimeFunc.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1,
         ValueEval arg2)

 ValueEval
Sumif.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1,
         ValueEval arg2)

 ValueEval
Substitute.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1,
         ValueEval arg2)

 ValueEval
Rank.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1,
         ValueEval arg2)

 ValueEval
Match.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1,
         ValueEval arg2)

 ValueEval
Lookup.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1,
         ValueEval arg2)

 ValueEval
Index.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1,
         ValueEval arg2)

 ValueEval
IfFunc.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1,
         ValueEval arg2)

 ValueEval
Hlookup.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1,
         ValueEval arg2)

 ValueEval
Function3Arg.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1,
         ValueEval arg2)

          see Function.evaluate(ValueEval[], int, int)

 ValueEval
Fixed.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1,
         ValueEval arg2)

 ValueEval
FinanceFunction.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1,
         ValueEval arg2)

 ValueEval
DStarRunner.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval database,
         ValueEval filterColumn,
         ValueEval conditionDatabase)

 ValueEval
Days360.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1,
         ValueEval arg2)

 ValueEval
DateFunc.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1,
         ValueEval arg2)

 ValueEval
Complex.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval real_num,
         ValueEval i_num,
         ValueEval suffix)

 ValueEval
Vlookup.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval lookup_value,
         ValueEval table_array,
         ValueEval col_index,
         ValueEval range_lookup)

 ValueEval
Substitute.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1,
         ValueEval arg2,
         ValueEval arg3)

 ValueEval
Replace.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1,
         ValueEval arg2,
         ValueEval arg3)

 ValueEval
Index.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1,
         ValueEval arg2,
         ValueEval arg3)

 ValueEval
Hlookup.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1,
         ValueEval arg2,
         ValueEval arg3)

 ValueEval
Function4Arg.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1,
         ValueEval arg2,
         ValueEval arg3)

          see Function.evaluate(ValueEval[], int, int)

 ValueEval
FinanceFunction.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1,
         ValueEval arg2,
         ValueEval arg3)

 ValueEval
FinanceFunction.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1,
         ValueEval arg2,
         ValueEval arg3,
         ValueEval arg4)

 ValueEval
WeekdayFunc.evaluate(ValueEval[] args,
         int srcRowIndex,
         int srcColumnIndex)

          Perform WEEKDAY(date, returnOption) function.

 ValueEval
TextFunction.evaluate(ValueEval[] args,
         int srcCellRow,
         int srcCellCol)

 ValueEval
Sumproduct.evaluate(ValueEval[] args,
         int srcCellRow,
         int srcCellCol)

 ValueEval
Subtotal.evaluate(ValueEval[] args,
         int srcRowIndex,
         int srcColumnIndex)

 ValueEval
RowFunc.evaluate(ValueEval[] args,
         int srcRowIndex,
         int srcColumnIndex)

 ValueEval
Rate.evaluate(ValueEval[] args,
         int srcRowIndex,
         int srcColumnIndex)

 ValueEval
Offset.evaluate(ValueEval[] args,
         int srcCellRow,
         int srcCellCol)

 ValueEval
NumericFunction.evaluate(ValueEval[] args,
         int srcCellRow,
         int srcCellCol)

 ValueEval
Npv.evaluate(ValueEval[] args,
         int srcRowIndex,
         int srcColumnIndex)

 ValueEval
NotImplementedFunction.evaluate(ValueEval[] operands,
         int srcRow,
         int srcCol)

 ValueEval
MultiOperandNumericFunction.evaluate(ValueEval[] args,
         int srcCellRow,
         int srcCellCol)

 ValueEval
Mode.evaluate(ValueEval[] args,
         int srcCellRow,
         int srcCellCol)

 ValueEval
Irr.evaluate(ValueEval[] args,
         int srcRowIndex,
         int srcColumnIndex)

 ValueEval
Index.evaluate(ValueEval[] args,
         int srcRowIndex,
         int srcColumnIndex)

 ValueEval
Function.evaluate(ValueEval[] args,
         int srcRowIndex,
         int srcColumnIndex)

 ValueEval
Fixed4ArgFunction.evaluate(ValueEval[] args,
         int srcRowIndex,
         int srcColumnIndex)

 ValueEval
Fixed3ArgFunction.evaluate(ValueEval[] args,
         int srcRowIndex,
         int srcColumnIndex)

 ValueEval
Fixed2ArgFunction.evaluate(ValueEval[] args,
         int srcRowIndex,
         int srcColumnIndex)

 ValueEval
Fixed1ArgFunction.evaluate(ValueEval[] args,
         int srcRowIndex,
         int srcColumnIndex)

 ValueEval
Fixed0ArgFunction.evaluate(ValueEval[] args,
         int srcRowIndex,
         int srcColumnIndex)

 ValueEval
Fixed.evaluate(ValueEval[] args,
         int srcRowIndex,
         int srcColumnIndex)

 ValueEval
FinanceFunction.evaluate(ValueEval[] args,
         int srcRowIndex,
         int srcColumnIndex)

 ValueEval
DStarRunner.evaluate(ValueEval[] args,
         int srcRowIndex,
         int srcColumnIndex)

 ValueEval
Counta.evaluate(ValueEval[] args,
         int srcCellRow,
         int srcCellCol)

 ValueEval
Count.evaluate(ValueEval[] args,
         int srcCellRow,
         int srcCellCol)

 ValueEval
Column.evaluate(ValueEval[] args,
         int srcRowIndex,
         int srcColumnIndex)

 ValueEval
Choose.evaluate(ValueEval[] args,
         int srcRowIndex,
         int srcColumnIndex)

 ValueEval
BooleanFunction.evaluate(ValueEval[] args,
         int srcRow,
         int srcCol)

 ValueEval
Address.evaluate(ValueEval[] args,
         int srcRowIndex,
         int srcColumnIndex)

 ValueEval
WeekNum.evaluate(ValueEval[] args,
         OperationEvaluationContext ec)

 ValueEval
Sumifs.evaluate(ValueEval[] args,
         OperationEvaluationContext ec)

 ValueEval
Quotient.evaluate(ValueEval[] args,
         OperationEvaluationContext ec)

 ValueEval
Oct2Dec.evaluate(ValueEval[] args,
         OperationEvaluationContext ec)

 ValueEval
Indirect.evaluate(ValueEval[] args,
         OperationEvaluationContext ec)

 ValueEval
ImReal.evaluate(ValueEval[] args,
         OperationEvaluationContext ec)

 ValueEval
Imaginary.evaluate(ValueEval[] args,
         OperationEvaluationContext ec)

 ValueEval
Hex2Dec.evaluate(ValueEval[] args,
         OperationEvaluationContext ec)

 ValueEval
FreeRefFunction.evaluate(ValueEval[] args,
         OperationEvaluationContext ec)

 ValueEval
FactDouble.evaluate(ValueEval[] args,
         OperationEvaluationContext ec)

 ValueEval
EOMonth.evaluate(ValueEval[] args,
         OperationEvaluationContext ec)

 ValueEval
EDate.evaluate(ValueEval[] args,
         OperationEvaluationContext ec)

 ValueEval
Delta.evaluate(ValueEval[] args,
         OperationEvaluationContext ec)

 ValueEval
Dec2Hex.evaluate(ValueEval[] args,
         OperationEvaluationContext ec)

 ValueEval
Dec2Bin.evaluate(ValueEval[] args,
         OperationEvaluationContext ec)

 ValueEval
Countifs.evaluate(ValueEval[] args,
         OperationEvaluationContext ec)

 ValueEval
Complex.evaluate(ValueEval[] args,
         OperationEvaluationContext ec)

 ValueEval
Bin2Dec.evaluate(ValueEval[] args,
         OperationEvaluationContext ec)

protected abstract  ValueEval
TextFunction.evaluateFunc(ValueEval[] args,
             int srcCellRow,
             int srcCellCol)

 ValueEval
IDStarAlgorithm.getResult()

          Return a result ValueEval that will be the result of the calculation.

 ValueEval
DMin.getResult()

 ValueEval
DGet.getResult()

Methods in org.apache.poi.ss.formula.functions with parameters of type ValueEval

 double
PPMT.eval(ValueEval[] args,
     int srcCellRow,
     int srcCellCol)

protected abstract  double
NumericFunction.eval(ValueEval[] args,
     int srcCellRow,
     int srcCellCol)

protected  double
NumericFunction.OneArg.eval(ValueEval[] args,
     int srcCellRow,
     int srcCellCol)

 double
IPMT.eval(ValueEval[] args,
     int srcCellRow,
     int srcCellCol)

 ValueEval
Value.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0)

 ValueEval
T.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0)

 ValueEval
Rows.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0)

 ValueEval
RowFunc.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0)

 ValueEval
Oct2Dec.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval numberVE)

 ValueEval
NumericFunction.OneArg.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0)

 ValueEval
LogicalFunction.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0)

 ValueEval
ImReal.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval inumberVE)

 ValueEval
Imaginary.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval inumberVE)

 ValueEval
Hyperlink.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0)

 ValueEval
Hex2Dec.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval numberVE)

 ValueEval
Function1Arg.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0)

          see Function.evaluate(ValueEval[], int, int)

 ValueEval
Fixed.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0)

 ValueEval
FactDouble.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval numberVE)

 ValueEval
Errortype.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0)

 ValueEval
Dec2Hex.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0)

 ValueEval
Dec2Bin.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval numberVE)

 ValueEval
Countblank.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0)

 ValueEval
Columns.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0)

 ValueEval
Column.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0)

 ValueEval
Code.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval textArg)

 ValueEval
CalendarFieldFunction.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0)

 ValueEval
Bin2Dec.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval numberVE)

 ValueEval
XYNumericFunction.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1)

 ValueEval
WeekNum.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval serialNumVE,
         ValueEval returnTypeVE)

 ValueEval
Sumif.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1)

 ValueEval
Slope.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1)

 ValueEval
Roman.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval numberVE,
         ValueEval formVE)

 ValueEval
Rept.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval text,
         ValueEval number_times)

 ValueEval
Rank.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1)

 ValueEval
Quotient.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval venumerator,
         ValueEval vedenominator)

 ValueEval
NumericFunction.TwoArg.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1)

 ValueEval
Match.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1)

 ValueEval
Lookup.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1)

 ValueEval
LinearRegressionFunction.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1)

 ValueEval
Intercept.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1)

 ValueEval
Index.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1)

 ValueEval
IfFunc.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1)

 ValueEval
Hyperlink.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1)

 ValueEval
Function2Arg.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1)

          see Function.evaluate(ValueEval[], int, int)

 ValueEval
Fixed.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1)

 ValueEval
Delta.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg1,
         ValueEval arg2)

 ValueEval
Dec2Hex.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval number,
         ValueEval places)

 ValueEval
Dec2Bin.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval numberVE,
         ValueEval placesVE)

 ValueEval
Days360.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1)

 ValueEval
Countif.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1)

 ValueEval
Complex.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval real_num,
         ValueEval i_num)

 ValueEval
Vlookup.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1,
         ValueEval arg2)

 ValueEval
TimeFunc.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1,
         ValueEval arg2)

 ValueEval
Sumif.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1,
         ValueEval arg2)

 ValueEval
Substitute.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1,
         ValueEval arg2)

 ValueEval
Rank.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1,
         ValueEval arg2)

 ValueEval
Match.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1,
         ValueEval arg2)

 ValueEval
Lookup.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1,
         ValueEval arg2)

 ValueEval
Index.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1,
         ValueEval arg2)

 ValueEval
IfFunc.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1,
         ValueEval arg2)

 ValueEval
Hlookup.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1,
         ValueEval arg2)

 ValueEval
Function3Arg.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1,
         ValueEval arg2)

          see Function.evaluate(ValueEval[], int, int)

 ValueEval
Fixed.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1,
         ValueEval arg2)

 ValueEval
FinanceFunction.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1,
         ValueEval arg2)

 ValueEval
DStarRunner.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval database,
         ValueEval filterColumn,
         ValueEval conditionDatabase)

 ValueEval
Days360.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1,
         ValueEval arg2)

 ValueEval
DateFunc.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1,
         ValueEval arg2)

 ValueEval
Complex.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval real_num,
         ValueEval i_num,
         ValueEval suffix)

 ValueEval
Vlookup.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval lookup_value,
         ValueEval table_array,
         ValueEval col_index,
         ValueEval range_lookup)

 ValueEval
Substitute.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1,
         ValueEval arg2,
         ValueEval arg3)

 ValueEval
Replace.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1,
         ValueEval arg2,
         ValueEval arg3)

 ValueEval
Index.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1,
         ValueEval arg2,
         ValueEval arg3)

 ValueEval
Hlookup.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1,
         ValueEval arg2,
         ValueEval arg3)

 ValueEval
Function4Arg.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1,
         ValueEval arg2,
         ValueEval arg3)

          see Function.evaluate(ValueEval[], int, int)

 ValueEval
FinanceFunction.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1,
         ValueEval arg2,
         ValueEval arg3)

 ValueEval
FinanceFunction.evaluate(int srcRowIndex,
         int srcColumnIndex,
         ValueEval arg0,
         ValueEval arg1,
         ValueEval arg2,
         ValueEval arg3,
         ValueEval arg4)

protected abstract  boolean
LogicalFunction.evaluate(ValueEval arg)

 ValueEval
WeekdayFunc.evaluate(ValueEval[] args,
         int srcRowIndex,
         int srcColumnIndex)

          Perform WEEKDAY(date, returnOption) function.

 ValueEval
TextFunction.evaluate(ValueEval[] args,
         int srcCellRow,
         int srcCellCol)

 ValueEval
Sumproduct.evaluate(ValueEval[] args,
         int srcCellRow,
         int srcCellCol)

 ValueEval
Subtotal.evaluate(ValueEval[] args,
         int srcRowIndex,
         int srcColumnIndex)

 ValueEval
RowFunc.evaluate(ValueEval[] args,
         int srcRowIndex,
         int srcColumnIndex)

 ValueEval
Rate.evaluate(ValueEval[] args,
         int srcRowIndex,
         int srcColumnIndex)

 ValueEval
Offset.evaluate(ValueEval[] args,
         int srcCellRow,
         int srcCellCol)

 ValueEval
NumericFunction.evaluate(ValueEval[] args,
         int srcCellRow,
         int srcCellCol)

 ValueEval
Npv.evaluate(ValueEval[] args,
         int srcRowIndex,
         int srcColumnIndex)

 ValueEval
NotImplementedFunction.evaluate(ValueEval[] operands,
         int srcRow,
         int srcCol)

 ValueEval
MultiOperandNumericFunction.evaluate(ValueEval[] args,
         int srcCellRow,
         int srcCellCol)

 ValueEval
Mode.evaluate(ValueEval[] args,
         int srcCellRow,
         int srcCellCol)

 ValueEval
Irr.evaluate(ValueEval[] args,
         int srcRowIndex,
         int srcColumnIndex)

 ValueEval
Index.evaluate(ValueEval[] args,
         int srcRowIndex,
         int srcColumnIndex)

 ValueEval
Function.evaluate(ValueEval[] args,
         int srcRowIndex,
         int srcColumnIndex)

 ValueEval
Fixed4ArgFunction.evaluate(ValueEval[] args,
         int srcRowIndex,
         int srcColumnIndex)

 ValueEval
Fixed3ArgFunction.evaluate(ValueEval[] args,
         int srcRowIndex,
         int srcColumnIndex)

 ValueEval
Fixed2ArgFunction.evaluate(ValueEval[] args,
         int srcRowIndex,
         int srcColumnIndex)

 ValueEval
Fixed1ArgFunction.evaluate(ValueEval[] args,
         int srcRowIndex,
         int srcColumnIndex)

 ValueEval
Fixed0ArgFunction.evaluate(ValueEval[] args,
         int srcRowIndex,
         int srcColumnIndex)

 ValueEval
Fixed.evaluate(ValueEval[] args,
         int srcRowIndex,
         int srcColumnIndex)

 ValueEval
FinanceFunction.evaluate(ValueEval[] args,
         int srcRowIndex,
         int srcColumnIndex)

 ValueEval
DStarRunner.evaluate(ValueEval[] args,
         int srcRowIndex,
         int srcColumnIndex)

 ValueEval
Counta.evaluate(ValueEval[] args,
         int srcCellRow,
         int srcCellCol)

 ValueEval
Count.evaluate(ValueEval[] args,
         int srcCellRow,
         int srcCellCol)

 ValueEval
Column.evaluate(ValueEval[] args,
         int srcRowIndex,
         int srcColumnIndex)

 ValueEval
Choose.evaluate(ValueEval[] args,
         int srcRowIndex,
         int srcColumnIndex)

 ValueEval
BooleanFunction.evaluate(ValueEval[] args,
         int srcRow,
         int srcCol)

 ValueEval
Address.evaluate(ValueEval[] args,
         int srcRowIndex,
         int srcColumnIndex)

 ValueEval
WeekNum.evaluate(ValueEval[] args,
         OperationEvaluationContext ec)

 ValueEval
Sumifs.evaluate(ValueEval[] args,
         OperationEvaluationContext ec)

 ValueEval
Quotient.evaluate(ValueEval[] args,
         OperationEvaluationContext ec)

 ValueEval
Oct2Dec.evaluate(ValueEval[] args,
         OperationEvaluationContext ec)

 ValueEval
Indirect.evaluate(ValueEval[] args,
         OperationEvaluationContext ec)

 ValueEval
ImReal.evaluate(ValueEval[] args,
         OperationEvaluationContext ec)

 ValueEval
Imaginary.evaluate(ValueEval[] args,
         OperationEvaluationContext ec)

 ValueEval
Hex2Dec.evaluate(ValueEval[] args,
         OperationEvaluationContext ec)

 ValueEval
FreeRefFunction.evaluate(ValueEval[] args,
         OperationEvaluationContext ec)

 ValueEval
FactDouble.evaluate(ValueEval[] args,
         OperationEvaluationContext ec)

 ValueEval
EOMonth.evaluate(ValueEval[] args,
         OperationEvaluationContext ec)

 ValueEval
EDate.evaluate(ValueEval[] args,
         OperationEvaluationContext ec)

 ValueEval
Delta.evaluate(ValueEval[] args,
         OperationEvaluationContext ec)

 ValueEval
Dec2Hex.evaluate(ValueEval[] args,
         OperationEvaluationContext ec)

 ValueEval
Dec2Bin.evaluate(ValueEval[] args,
         OperationEvaluationContext ec)

 ValueEval
Countifs.evaluate(ValueEval[] args,
         OperationEvaluationContext ec)

 ValueEval
Complex.evaluate(ValueEval[] args,
         OperationEvaluationContext ec)

 ValueEval
Bin2Dec.evaluate(ValueEval[] args,
         OperationEvaluationContext ec)

protected static double
TextFunction.evaluateDoubleArg(ValueEval arg,
                  int srcCellRow,
                  int srcCellCol)

static boolean
IfFunc.evaluateFirstArg(ValueEval arg,
                 int srcCellRow,
                 int srcCellCol)

static int
Choose.evaluateFirstArg(ValueEval arg0,
                 int srcRowIndex,
                 int srcColumnIndex)

protected abstract  ValueEval
TextFunction.evaluateFunc(ValueEval[] args,
             int srcCellRow,
             int srcCellCol)

protected static int
TextFunction.evaluateIntArg(ValueEval arg,
               int srcCellRow,
               int srcCellCol)

protected static java.lang.String
TextFunction.evaluateStringArg(ValueEval eval,
                  int srcRow,
                  int srcCol)

protected  double[]
MultiOperandNumericFunction.getNumberArray(ValueEval[] operands)

          Returns a double array that contains values for the numeric cells
 from among the list of operands.

 boolean
Countif.ErrorMatcher.matches(ValueEval x)

 boolean
Countif.StringMatcher.matches(ValueEval x)

 boolean
IDStarAlgorithm.processMatch(ValueEval eval)

          Process a match that is found during a run through a database.

 boolean
DMin.processMatch(ValueEval eval)

 boolean
DGet.processMatch(ValueEval eval)

protected static double
NumericFunction.singleOperandEvaluate(ValueEval arg,
                      int srcRowIndex,
                      int srcColumnIndex)

      Overview
      Package
      Class
    Use
      Tree
      Deprecated
      Index
      Help

 PREV
 NEXT

  FRAMES
 NO FRAMES

  All Classes

                Copyright 2015 The Apache Software Foundation or
        its licensors, as applicable.


text:
const debug = require('debug')('glue:webSocketToStore');
import { apply_patch } from 'jsonpatch';

export default function webSocketToStore(resolve) {
    const webSocket = resolve('webSocket');
    const store = resolve('store');

    webSocket.on('state', ({ state }) =>
        store.dispatch(() => ({ ...state, url: location.pathname })),
    );

    webSocket.on('patch', ({ patch }) => store.dispatch(state => apply_patch(state, patch)));
    webSocket.on('message', (...args) => debug('undhandled message', ...args));
}


text:
var MemoryGame = (function() {

	function GameCtor(cardset) {

		// some of the instance methods may need to be
		// specific to each instance
		// ...

		this.reset = function() {}

		this.remaining = function() {}

		this.faceupWhere = function() {}

		this.faceupValue = function() {}

		this.lift = function(where) {}

		// New methods:
		this.gui = function(useGui) {}

		this.size = function() {}
	}

	// some of those instance methods could instead be shared
	// by installing them in GameCtor.prototype
	// ...

	return GameCtor;
})();


text:
/**
 *     This code was auto-generated by a Codezu.
 *
 *     Changes to this file may cause incorrect behavior and will be lost if
 *     the code is regenerated.
 */
package com.mozu.api.clients.commerce.settings;

import java.util.List;
import java.util.ArrayList;
import com.mozu.api.MozuClient;
import com.mozu.api.MozuClientFactory;
import com.mozu.api.MozuUrl;
import com.mozu.api.Headers;
import com.mozu.api.security.AuthTicket;
import org.apache.commons.lang.StringUtils;
/**
 * Use the shipping subresource to manage settings for the site shipping information, such as origin address information, carrier shipping methods, shipping rate providers, and regions available for shipping.
 *
 */
public class SiteShippingSettingsClient {

	/**
	 * Retrieves a list of the shipping settings configured for a site.
	 *

	 * MozuClient<com.mozu.api.contracts.sitesettings.shipping.SiteShippingSettings> mozuClient=GetSiteShippingSettingsClient();
	 * client.setBaseAddress(url);
	 * client.executeRequest();
	 * SiteShippingSettings siteShippingSettings = client.Result();
	 *

	 * @return Mozu.Api.MozuClient <com.mozu.api.contracts.sitesettings.shipping.SiteShippingSettings>
	 * @see com.mozu.api.contracts.sitesettings.shipping.SiteShippingSettings
	 */
	public static MozuClient<com.mozu.api.contracts.sitesettings.shipping.SiteShippingSettings> getSiteShippingSettingsClient() throws Exception
	{
		return getSiteShippingSettingsClient( null);
	}

	/**
	 * Retrieves a list of the shipping settings configured for a site.
	 *

	 * MozuClient<com.mozu.api.contracts.sitesettings.shipping.SiteShippingSettings> mozuClient=GetSiteShippingSettingsClient( responseFields);
	 * client.setBaseAddress(url);
	 * client.executeRequest();
	 * SiteShippingSettings siteShippingSettings = client.Result();
	 *

	 * @param responseFields Use this field to include those fields which are not included by default.
	 * @return Mozu.Api.MozuClient <com.mozu.api.contracts.sitesettings.shipping.SiteShippingSettings>
	 * @see com.mozu.api.contracts.sitesettings.shipping.SiteShippingSettings
	 */
	public static MozuClient<com.mozu.api.contracts.sitesettings.shipping.SiteShippingSettings> getSiteShippingSettingsClient(String responseFields) throws Exception
	{
		MozuUrl url = com.mozu.api.urls.commerce.settings.SiteShippingSettingsUrl.getSiteShippingSettingsUrl(responseFields);
		String verb = "GET";
		Class<?> clz = com.mozu.api.contracts.sitesettings.shipping.SiteShippingSettings.class;
		MozuClient<com.mozu.api.contracts.sitesettings.shipping.SiteShippingSettings> mozuClient = (MozuClient<com.mozu.api.contracts.sitesettings.shipping.SiteShippingSettings>) MozuClientFactory.getInstance(clz);
		mozuClient.setVerb(verb);
		mozuClient.setResourceUrl(url);
		return mozuClient;

	}

}


text:
<?php

namespace SebastianBergmann\ObjectEnumerator;

interface Exception
{
}


text:
{% load editor_controls %}
{% load helplink %}

<form class="form-horizontal" data-bind="submit: Editor.noop">

        {% property '$parent.marks' 'Marks' min=0 help_url='question/parts/reference.html#term-Marks' %}

        {% jmeproperty 'answer' 'Correct answer' display_property='displayAnswer' help_url='question/parts/mathematical-expression.html#term-Correct-answer' rules='answerSimplification' %}

{% helplink 'question/parts/mathematical-expression.html#marking-an-equation' subject='marking equations' %} The correct answer is an equation. Use the accuracy tab to generate variable values satisfying this equation so it can be marked accurately.

    {% include "question/generic_part_marking_settings.html" %}

Advanced settings

    {% property 'answerSimplification' 'Answer simplification rules' monospace=True help_url='question/parts/mathematical-expression.html#term-Answer-simplification-rules' %}
    {% booleanproperty 'showPreview' 'Show preview of student\'s answer?' help_url='question/parts/mathematical-expression.html#term-Show-preview-of-student-s-answer' %}
    {% booleanproperty 'caseSensitive' 'Expression is case-sensitive?' help_url='question/parts/mathematical-expression.html#term-Expression-is-case-sensitive' %}
</form>

<form class="form-horizontal" data-bind="submit: Editor.noop">

Checking accuracy

        {% helplink 'question/parts/mathematical-expression.html#string-restrictions' subject='the advice section' %}
        Define the range of points over which the student's answer will be compared with the correct answer, and the method used to compare them.

            Checking type {% helplink 'question/parts/mathematical-expression.html#term-Checking-type' %}

            <select {% if not editable %}disabled{% endif %} class="form-control" data-bind="options: checkingTypes, value: checkingType, optionsText:'niceName'"></select>

    {% property 'checkingType().accuracy' 'Checking accuracy' min=0 help_url='question/parts/mathematical-expression.html#term-Checking-accuracy' %}
    {% property 'vset.points' 'Points to check' help_url='question/parts/mathematical-expression.html#term-Points-to-check' %}
    {% property 'failureRate' 'Maximum no. of failures' min=0 max='vset.points' help_url='question/parts/mathematical-expression.html#term-Maximum-no.-of-failures' %}
    {% property 'vset.start' 'Checking range start' max='vset.end' help_url='question/parts/mathematical-expression.html#term-Checking-range-start' %}
    {% property 'vset.end' 'Checking range end' help_url='question/parts/mathematical-expression.html#term-Checking-range-end' %}

Variable value generators

            {% helplink 'question/parts/mathematical-expression.html#variable-value-generators' subject='the advice section' %}
            Give expressions which produce values for each of the variables in the expected answer. Leave blank to pick a random value from the range defined above, following the inferred type of the variable.

                        {% jme_input 'value' %}
                        (this might be a )

</form>

Pattern restriction

    <form class="form-horizontal" data-bind="submit: Editor.noop">

                Pattern student's answer must match
                {% helplink 'question/parts/mathematical-expression.html#term-Pattern-student-s-answer-must-match' %}

                <textarea {% if not editable %}disabled{% endif %} class="def" data-bind="codemirror: mustmatchpattern.pattern, codemirrorMode: 'jme'"></textarea>

0">

                    Part of expression to mark {% helplink 'question/parts/mathematical-expression.html#term-Part-of-expression-to-mark' %}

                    <select {% if not editable %}disabled{% endif %} class="form-control" data-bind="options: mustmatchpattern.capturedNameOptions, value: mustmatchpattern.nameToCompare, optionsValue: 'name', optionsText:'label'"></select>

                {% percentproperty 'mustmatchpattern.partialCredit' 'Partial credit for not matching pattern' %}

                    Warning message

    </form>

Variables

    <form class="form-horizontal" data-bind="submit: Editor.noop">
        {% booleanproperty 'checkVariableNames' 'Warn if student uses an unexpected variable name?' help_url='question/parts/mathematical-expression.html#term-Warn-if-student-uses-an-unexpected-variable-name' %}
        {% booleanproperty 'singleLetterVariables' 'Force single letter variable names?' help_url='question/parts/mathematical-expression.html#term-Force-single-letter-variable-names' %}
        {% booleanproperty 'allowUnknownFunctions' 'Allow unknown function names?' help_url='question/parts/mathematical-expression.html#term-Allow-unknown-function-names' %}
        {% booleanproperty 'implicitFunctionComposition' 'Use implicit function composition?' help_url='question/parts/mathematical-expression.html#term-Use-implicit-function-composition' %}
    </form>

String restrictions

    <form class="form-horizontal" data-bind="submit: Editor.noop">
        {% property 'minlength.length' 'Minimum length' min=0 help_url='question/parts/mathematical-expression.html#term-Minimum-length-restriction' %}

0">
            {% percentproperty 'minlength.partialCredit' 'Partial credit for short answer' %}

                    Warning message

    </form>
    <form class="form-horizontal" data-bind="submit: Editor.noop">
        {% property 'maxlength.length' 'Maximum length' min=0 help_url='question/parts/mathematical-expression.html#term-Maximum-length-restriction' zero_means='no maximum' %}

0">
            {% percentproperty 'maxlength.partialCredit' 'Partial credit for long answer' %}

                    Warning message

    </form>

    <form class="form-horizontal" data-bind="submit: Editor.noop">

                Required strings {% helplink 'question/parts/mathematical-expression.html#term-Required-strings' %}

                <listbox params="items: musthave.strings{% if not editable %}, disabled: true{% endif %}"></listbox>

0">
            {% percentproperty 'musthave.partialCredit' 'Partial credit for not using all required strings' %}
            {% booleanproperty 'musthave.showStrings' 'Show required strings in warning?' %}

                    Warning message

    </form>

    <form class="form-horizontal" data-bind="submit: Editor.noop">

                Forbidden strings: {% helplink 'question/parts/mathematical-expression.html#term-Forbidden-strings' %}

                <listbox params="items: notallowed.strings{% if not editable %}, disabled: true{% endif %}"></listbox>

0">
            {% percentproperty 'notallowed.partialCredit' 'Partial credit for using any forbidden string' %}
            {% booleanproperty 'notallowed.showStrings' 'Show forbidden strings in warning?' %}

                    Warning message

    </form>


text:
namespace Kontroller
{
   Service::Service()
   {
      serviceStatus.dwServiceType = SERVICE_WIN32_OWN_PROCESS;
      serviceStatus.dwCurrentState = SERVICE_START_PENDING;
      serviceStatus.dwControlsAccepted = SERVICE_ACCEPT_STOP | SERVICE_ACCEPT_SHUTDOWN;
      serviceStatus.dwWin32ExitCode = NO_ERROR;
      serviceStatus.dwServiceSpecificExitCode = 0;
      serviceStatus.dwCheckPoint = checkPoint++;
      serviceStatus.dwWaitHint = 0;
   }

   void Service::onStart(SERVICE_STATUS_HANDLE handle)
   {
      assert(handle != nullptr && serviceStatusHandle == nullptr && !server);

      serviceStatusHandle = handle;
      updateServiceState(SERVICE_RUNNING);

      server = std::make_unique<Server>();
   }

   void Service::onStop()
   {
      updateServiceState(SERVICE_STOP_PENDING);

      server.reset();

      updateServiceState(SERVICE_STOPPED);
   }

   void Service::onShutdown()
   {
      if (server)
      {
         onStop();
      }

      serviceStatusHandle = nullptr;
   }

   void Service::updateServiceState(DWORD dwCurrentState)
   {
      serviceStatus.dwCurrentState = dwCurrentState;
      serviceStatus.dwCheckPoint = (dwCurrentState == SERVICE_RUNNING || dwCurrentState == SERVICE_STOPPED) ? 0 : checkPoint++;

      SetServiceStatus(serviceStatusHandle, &serviceStatus);
   }
}


text:
import BaseSerializer from './application';

export default BaseSerializer.extend({
  serialize() {
    // This is how to call super, as Mirage borrows [Backbone's implementation of extend](http://backbonejs.org/#Model-extend)
    let json = BaseSerializer.prototype.serialize.apply(this, arguments);
    return json;
  }
});


text:
import Alert from '@material-ui/lab/Alert';

Telepresence supports locally mounting of volumes that are mounted to your Pods.  You can specify a command to run when starting the intercept, this could be a subshell or local server such as Python or Node.

```
telepresence intercept <mysvc> --port <port> --mount=/tmp/ -- /bin/bash
```

In this case, Telepresence creates the intercept, mounts the Pod's volumes to locally to `/tmp`, and starts a Bash subshell.

Telepresence can set a random mount point for you by using `--mount=true` instead, you can then find the mount point in the output of `telepresence list` or using the `$TELEPRESENCE_ROOT` variable.

```
$ telepresence intercept <mysvc> --port <port> --mount=true -- /bin/bash
Using Deployment <mysvc>
intercepted
    Intercept name    : <mysvc>
    State             : ACTIVE
    Workload kind     : Deployment
    Destination       : 127.0.0.1:<port>
    Volume Mount Point: /var/folders/cp/2r22shfd50d9ymgrw14fd23r0000gp/T/telfs-988349784
    Intercepting      : all TCP connections

bash-3.2$ echo $TELEPRESENCE_ROOT
/var/folders/cp/2r22shfd50d9ymgrw14fd23r0000gp/T/telfs-988349784
```

<Alert severity="info">--mount=true is the default if a mount option is not specified, use --mount=false to disable mounting volumes.</Alert>

With either method, the code you run locally either from the subshell or from the intercept command will need to be prepended with the `$TELEPRESENCE_ROOT` environment variable to utilitze the mounted volumes.

For example, Kubernetes mounts secrets to `/var/run/secrets/kubernetes.io` (even if no `mountPoint` for it exists in the Pod spec).  Once mounted, to access these you would need to change your code to use `$TELEPRESENCE_ROOT/var/run/secrets/kubernetes.io`.

<Alert severity="info">If using --mount=true without a command, you can use either environment variable flag to retrieve the variable.</Alert>


text:
import {
  AsyncTestCompleter,
  beforeEach,
  ddescribe,
  describe,
  expect,
  iit,
  inject,
  it,
  xit,
} from 'angular2/test_lib';
import {Injector, bind, Key} from 'angular2/di';
import {Inject, InjectPromise} from 'angular2/src/di/annotations_impl';
import {Promise, PromiseWrapper} from 'angular2/src/facade/async';

class UserList {
}

function fetchUsers() {
  return PromiseWrapper.resolve(new UserList());
}

class SynchronousUserList {
}

class UserController {
  list:UserList;
  constructor(list:UserList) {
    this.list = list;
  }
}

class AsyncUserController {
  userList;
  constructor(@InjectPromise(UserList) userList) {
    this.userList = userList;
  }
}

export function main() {
  describe("async injection", function () {

    describe("asyncGet", function () {
      it('should return a promise', function () {
        var injector = Injector.resolveAndCreate([
          bind(UserList).toAsyncFactory(fetchUsers)
        ]);
        var p = injector.asyncGet(UserList);
        expect(p).toBePromise();
      });

      it('should return a promise when the binding is sync', function () {
        var injector = Injector.resolveAndCreate([
          SynchronousUserList
        ]);
        var p = injector.asyncGet(SynchronousUserList);
        expect(p).toBePromise();
      });

      it("should return a promise when the binding is sync (from cache)", function () {
        var injector = Injector.resolveAndCreate([
          UserList
        ]);
        expect(injector.get(UserList)).toBeAnInstanceOf(UserList);
        expect(injector.asyncGet(UserList)).toBePromise();
      });

      it('should return the injector', inject([AsyncTestCompleter], (async) => {
        var injector = Injector.resolveAndCreate([]);
        var p = injector.asyncGet(Injector);
        p.then(function (injector) {
          expect(injector).toBe(injector);
          async.done();
        });
      }));

      it('should return a promise when instantiating a sync binding ' +
      'with an async dependency', inject([AsyncTestCompleter], (async) => {
        var injector = Injector.resolveAndCreate([
          bind(UserList).toAsyncFactory(fetchUsers),
          UserController
        ]);

        injector.asyncGet(UserController).then(function (userController) {
          expect(userController).toBeAnInstanceOf(UserController);
          expect(userController.list).toBeAnInstanceOf(UserList);
          async.done();
        });
      }));

      it("should create only one instance (async + async)", inject([AsyncTestCompleter], (async) => {
        var injector = Injector.resolveAndCreate([
          bind(UserList).toAsyncFactory(fetchUsers)
        ]);

        var ul1 = injector.asyncGet(UserList);
        var ul2 = injector.asyncGet(UserList);

        PromiseWrapper.all([ul1, ul2]).then(function (uls) {
          expect(uls[0]).toBe(uls[1]);
          async.done();
        });
      }));

      it("should create only one instance (sync + async)", inject([AsyncTestCompleter], (async) => {
        var injector = Injector.resolveAndCreate([
          UserList
        ]);

        var promise = injector.asyncGet(UserList);
        var ul = injector.get(UserList);

        expect(promise).toBePromise();
        expect(ul).toBeAnInstanceOf(UserList);

        promise.then(function (ful) {
          expect(ful).toBe(ul);
          async.done();
        });
      }));

      it('should show the full path when error happens in a constructor', inject([AsyncTestCompleter], (async) => {
        var injector = Injector.resolveAndCreate([
          UserController,
          bind(UserList).toAsyncFactory(function () {
            throw "Broken UserList";
          })
        ]);

        var promise = injector.asyncGet(UserController);
        PromiseWrapper.then(promise, null, function (e) {
          expect(e.message).toContain("Error during instantiation of UserList! (UserController -> UserList)");
          async.done();
        });
      }));
    });

    describe("get", function () {
      it('should throw when instantiating an async binding', function () {
        var injector = Injector.resolveAndCreate([
          bind(UserList).toAsyncFactory(fetchUsers)
        ]);

        expect(() => injector.get(UserList))
          .toThrowError('Cannot instantiate UserList synchronously. It is provided as a promise!');
      });

      it('should throw when instantiating a sync binding with an async dependency', function () {
        var injector = Injector.resolveAndCreate([
          bind(UserList).toAsyncFactory(fetchUsers),
          UserController
        ]);

        expect(() => injector.get(UserController))
          .toThrowError('Cannot instantiate UserList synchronously. It is provided as a promise! (UserController -> UserList)');
      });

      it('should not throw when instantiating a sync binding with a resolved async dependency',
        inject([AsyncTestCompleter], (async) => {
        var injector = Injector.resolveAndCreate([
          bind(UserList).toAsyncFactory(fetchUsers),
          UserController
        ]);

        injector.asyncGet(UserList).then((_) => {
          expect(() => { injector.get(UserController); }).not.toThrow();
          async.done();
        });
      }));

      it('should resolve synchronously when an async dependency requested as a promise', function () {
        var injector = Injector.resolveAndCreate([
          bind(UserList).toAsyncFactory(fetchUsers),
          AsyncUserController
        ]);
        var controller = injector.get(AsyncUserController);

        expect(controller).toBeAnInstanceOf(AsyncUserController);
        expect(controller.userList).toBePromise();
      });

      it('should wrap sync dependencies into promises if required', function () {
        var injector = Injector.resolveAndCreate([
          bind(UserList).toFactory(() => new UserList()),
          AsyncUserController
        ]);
        var controller = injector.get(AsyncUserController);

        expect(controller).toBeAnInstanceOf(AsyncUserController);
        expect(controller.userList).toBePromise();
      });
    });
  });
}


text:
//
//       Copyright (C) DataStax Inc.
//
//    Licensed under the Apache License, Version 2.0 (the "License");
//    you may not use this file except in compliance with the License.
//    You may obtain a copy of the License at
//
//       http://www.apache.org/licenses/LICENSE-2.0
//
//    Unless required by applicable law or agreed to in writing, software
//    distributed under the License is distributed on an "AS IS" BASIS,
//    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
//    See the License for the specific language governing permissions and
//    limitations under the License.
//

using System.Collections.Generic;
using Cassandra.Helpers;

namespace Cassandra.Requests
{
    internal class StartupOptionsFactory : IStartupOptionsFactory
    {
        public const string CqlVersionOption = "CQL_VERSION";
        public const string CompressionOption = "COMPRESSION";
        public const string NoCompactOption = "NO_COMPACT";
        public const string DriverNameOption = "DRIVER_NAME";
        public const string DriverVersionOption = "DRIVER_VERSION";

        public const string CqlVersion = "3.0.0";
        public const string SnappyCompression = "snappy";
        public const string Lz4Compression = "lz4";

        public IReadOnlyDictionary<string, string> CreateStartupOptions(ProtocolOptions options)
        {
            var startupOptions = new Dictionary<string, string>
            {
                { StartupOptionsFactory.CqlVersionOption, StartupOptionsFactory.CqlVersion }
            };

            string compressionName = null;
            switch (options.Compression)
            {
                case CompressionType.LZ4:
                    compressionName = StartupOptionsFactory.Lz4Compression;
                    break;
                case CompressionType.Snappy:
                    compressionName = StartupOptionsFactory.SnappyCompression;
                    break;
            }

            if (compressionName != null)
            {
                startupOptions.Add(StartupOptionsFactory.CompressionOption, compressionName);
            }

            if (options.NoCompact)
            {
                startupOptions.Add(StartupOptionsFactory.NoCompactOption, "true");
            }

            startupOptions.Add(StartupOptionsFactory.DriverNameOption, AssemblyHelpers.GetAssemblyTitle(typeof(StartupOptionsFactory)));
            startupOptions.Add(
                StartupOptionsFactory.DriverVersionOption, AssemblyHelpers.GetAssemblyInformationalVersion(typeof(StartupOptionsFactory)));

            return startupOptions;
        }
    }
}


text:
namespace starboard {
namespace nplb {
namespace {

const char kTestString[] = "012345678901234567890123456789";
const char* kNull = NULL;

TEST(SbStringFindLastCharacterTest, SunnyDay) {
  for (int i = 0; i < 10; ++i) {
    EXPECT_EQ(kTestString + strlen(kTestString) - 10 + i,
              SbStringFindLastCharacter(kTestString, '0' + i));
  }
}

TEST(SbStringFindLastCharacterTest, RainyDayNotFound) {
  EXPECT_EQ(kNull, SbStringFindLastCharacter(kTestString, 'X'));
}

}  // namespace
}  // namespace nplb
}  // namespace starboard

#endif  // SB_API_VERSION < 13


text:
<?php

namespace Zend\Mvc\Controller\Plugin;

use Zend\Mvc\Exception\RuntimeException;
use Zend\Session\Container;

/**
 * Plugin to help facilitate Post/Redirect/Get (http://en.wikipedia.org/wiki/Post/Redirect/Get)
 *
 * @category Zend
 * @package Zend_Mvc
 * @subpackage Controller
 */
class PostRedirectGet extends AbstractPlugin
{
    public function __invoke($redirect, $redirectToUrl = false)
    {
        $controller = $this->getController();
        $request = $controller->getRequest();

        $container = new Container('prg_post1');

        if ($request->isPost()) {
            $container->setExpirationHops(1, 'post');
            $container->post = $request->getPost()->toArray();

            if (method_exists($controller, 'getPluginManager')) {
                // get the redirect plugin from the plugin manager
                $redirector = $controller->getPluginManager()->get('Redirect');
            } else {

                /*
                 * if the user wants to redirect to a route, the redirector has to come
                 * from the plugin manager -- otherwise no router will be injected
                 */
                if ($redirectToUrl === false) {
                    throw new RuntimeException('Could not redirect to a route without a router');
                }

                $redirector = new Redirect();
            }

            if ($redirectToUrl === false) {
                return $redirector->toRoute($redirect);
            }

            return $redirector->toUrl($redirect);
        } else {
            if ($container->post !== null) {
                $post = $container->post;
                unset($container->post);
                return $post;
            }

            return false;
        }
    }
}


text:
""" Noisy Networks
    - Converts variables in a graph to their noisy equivalent
"""
from math import sqrt
import sys
assert 'tensorflow' in sys.modules, 'You need to import TF before importing this module.'

from diplomacy_research.utils.tensorflow import tf
from diplomacy_research.utils.tensorflow import graph_editor

def convert_to_noisy_variables(variables, activation=None):
    """ Converts a list of variables to noisy variables
        :param variables: A list of variables to make noisy
        :param activation: Optional. The activation function to use on the linear noisy transformation
        :return: Nothing, but modifies the graph in-place

        Reference: 1706.10295 - Noisy Networks for exploration
    """
    if tf.get_collection(tf.GraphKeys.TRAIN_OP):
        raise RuntimeError('You must call convert_to_noisy_variables before applying an optimizer on the graph.')

    graph = tf.get_default_graph()
    if not isinstance(variables, list):
        variables = list(variables)

    # Replacing each variable
    for variable in variables:
        variable_read_op = _get_variable_read_op(variable, graph)
        variable_outputs = _get_variable_outputs(variable_read_op, graph)
        variable_scope = variable.name.split(':')[0]
        variable_shape = variable.shape.as_list()
        fan_in = variable_shape[0]

        # Creating noisy variables
        with tf.variable_scope(variable_scope + '_noisy'):
            with tf.device(variable.device):
                s_init = tf.constant_initializer(0.5 / sqrt(fan_in))

                noisy_u = tf.identity(variable, name='mu')
                noisy_s = tf.get_variable(name='sigma',
                                          shape=variable.shape,
                                          dtype=tf.float32,
                                          initializer=s_init,
                                          caching_device=variable._caching_device)      # pylint: disable=protected-access
                noise = tf.random.normal(shape=variable_shape)

                replaced_var = noisy_u + noisy_s * noise
                replaced_var = activation(replaced_var) if activation else replaced_var

        # Replacing in-place
        inputs_index = [var_index for var_index, var_input in enumerate(graph_editor.sgv(*variable_outputs).inputs)
                        if var_input.name.split(':')[0] == variable_read_op.name.split(':')[0]]
        graph_editor.connect(graph_editor.sgv(replaced_var.op),
                             graph_editor.sgv(*variable_outputs).remap_inputs(inputs_index),
                             disconnect_first=True)

def _get_variable_read_op(variable, graph):
    """ Returns the /read operation for a variable """
    return graph.get_operation_by_name(variable.name.split(':')[0] + '/read')

def _get_variable_outputs(variable_read_op, graph):
    """ Returns the list of tensors that have the variable as input """
    outputs = []
    for graph_op in graph.get_operations():
        for var_input in graph_op.inputs._inputs:                                       # pylint: disable=protected-access
            if var_input in variable_read_op.outputs:
                outputs += [graph_op]
    return outputs


text:
package io.gravitee.rest.api.service.impl.search.lucene;

import io.gravitee.repository.exceptions.TechnicalException;
import io.gravitee.rest.api.service.impl.search.SearchResult;
import io.gravitee.rest.api.service.impl.search.lucene.handler.TypedHandler;
import io.gravitee.rest.api.service.search.query.Query;
import java.util.List;

/**
 * @author David BRASSELY (david.brassely at graviteesource.com)
 * @author GraviteeSource Team
 */
public interface DocumentSearcher extends TypedHandler {
    String FIELD_REFERENCE_TYPE = "reference_type";
    String FIELD_REFERENCE_ID = "reference_id";

    /**
     *
     * @param query
     * @return Returns the ID field value of the matching documents.
     */
    SearchResult search(Query query) throws TechnicalException;
}


text:
<?php

/**
 * @testCase
 */

require __DIR__ . '/../vendor/autoload.php';

use Tester\Assert;

class SkipLintProcessTest extends Tester\TestCase
{
    public function testLargeInput()
    {
        $filesToCheck = array(
            __DIR__ . '/skip-on-5.3/class.php',
            __DIR__ . '/skip-on-5.3/trait.php',
        );

        for ($i = 0; $i < 15; $i++) {
            $filesToCheck = array_merge($filesToCheck, $filesToCheck);
        }

        $phpExecutable = \JakubOnderka\PhpParallelLint\Process\PhpExecutable::getPhpExecutable('php');
        $process = new \JakubOnderka\PhpParallelLint\Process\SkipLintProcess($phpExecutable, $filesToCheck);

        while (!$process->isFinished()) {
            usleep(100);
            $process->getChunk();
        }

        foreach ($filesToCheck as $fileToCheck) {
            $status = $process->isSkipped($fileToCheck);
            Assert::notEqual(null, $status);
        }
    }
}

$skipLintProcessTest = new SkipLintProcessTest;
$skipLintProcessTest->run();