public class MockComponent extends Object implements SomeInterface
Constructor and Description |
---|
MockComponent(com.atlassian.sal.api.ApplicationProperties applicationProperties) |
Modifier and Type | Method and Description |
---|---|
int |
getApplicationNameHash(int identity,
IntBinaryOperator hashOp) |
BinaryOperator<String> |
getStringBinOp() |
Function<String,Integer> |
getStringHashFunction() |
int |
reduce(int identity,
int[] array,
IntBinaryOperator op) |
int |
sum(int[] array) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isNumber
public MockComponent(com.atlassian.sal.api.ApplicationProperties applicationProperties)
public int sum(int[] array)
sum
in interface SomeInterface
public int reduce(int identity, int[] array, IntBinaryOperator op)
reduce
in interface SomeInterface
public int getApplicationNameHash(int identity, IntBinaryOperator hashOp)
getApplicationNameHash
in interface SomeInterface
public Function<String,Integer> getStringHashFunction()
getStringHashFunction
in interface SomeInterface
public BinaryOperator<String> getStringBinOp()
getStringBinOp
in interface SomeInterface
Copyright © 2003–2018 Atlassian. All rights reserved.