query
stringlengths 7
33.1k
| document
stringlengths 7
335k
| metadata
dict | negatives
listlengths 3
101
| negative_scores
listlengths 3
101
| document_score
stringlengths 3
10
| document_rank
stringclasses 102
values |
---|---|---|---|---|---|---|
/ Casts any two arguments method reference to a BiFunction type | static <T, U, R> BiFunction<T, U, R> biFunction(BiFunction<T, U, R> biFunction) {
return biFunction;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@FunctionalInterface\npublic interface BiIntFunction {\n int apply(int var1, int var2);\n}",
"public interface BinaryFunction<T1, T2, R> {\n\n\t/**\n\t * Invoke the function.\n\t * @param arg1 The first argument.\n\t * @param arg2 The second argument.\n\t * @return The result of the function.\n\t */\n\tpublic R invoke(T1 arg1, T2 arg2);\n\t\n}",
"@FunctionalInterface\npublic interface BiFunction<I1,I2,O,E extends Exception> {\n\n\tpublic O apply(I1 first, I2 second) throws E;\n\n}",
"public static <T, R> BiFunction<T, T, R> apply22(BiFunction<T, T, R> function) {\n return (arg1, arg2) -> function.apply(arg2, arg2);\n }",
"public static <T, U, R, A2 extends U> Function<T, R> bind2(BiFunction<T, U, R> function, A2 arg2) {\n return (arg1) -> function.apply(arg1, arg2);\n }",
"static <A, B, R> Function<B, R> bind(BiFunction<A, B, R> f, A firstParam) {\n return secondParam -> f.apply(firstParam, secondParam);\n }",
"@FunctionalInterface\npublic interface Convert<S,T> {\n T convert(S arg);\n}",
"public static <T, R> BiFunction<T, T, R> apply21(BiFunction<T, T, R> function) {\n return (arg1, arg2) -> function.apply(arg2, arg1);\n }",
"static <T, U> BiFunction<T,U,SibillaValue> apply(BinaryOperator<SibillaValue> op, BiFunction<T, U, SibillaValue> f1, BiFunction<T, U, SibillaValue> f2) {\n return (t,u) -> op.apply(f1.apply(t, u), f2.apply(t, u));\n }",
"public static <T, R> BiFunction<T, T, R> apply11(BiFunction<T, T, R> function) {\n return (arg1, arg2) -> function.apply(arg1, arg1);\n }",
"static <A, B, R> BiFunction<B, A, R> flip(BiFunction<A, B, R> f) {\n return (a, b) -> f.apply(b, a);\n }",
"public interface SerializableFunction2<T1,U,R> extends BiFunction<T1,U,R>, Serializable\n{\n}",
"@java.lang.FunctionalInterface()\r\n @jsweet.lang.Erased\r\n public interface CallbackBiConsumer<T1,T2> {\r\n public void $apply(T1 p1, T2 p2);\r\n }",
"static <A, B, R> Supplier<R> bind(BiFunction<A, B, R> f, A firstParam, B secondParam) {\n return () -> f.apply(firstParam, secondParam);\n }",
"public interface Function2<T, U, K> {\n\n /**\n * This method is a composition of two functions:\n * it acts as g(f(x, y))) where f is the Function2 class object\n * and g is a Function1 class object.\n * @param g one-argument function,\n * the outer function of the composition\n * @param <V> outer function range type parameter\n * @return function of one argument that represents g(f(x, y))\n */\n default <V> Function2<T, U, V> compose(@NotNull final Function1<? super K, ? extends V> g) {\n return (t, u) -> g.apply(Function2.this.apply(t, u));\n }\n\n /**\n * This method binds the first argument with a provided value.\n * @param newFirstArgument argument to be bound\n * @return new function object with a bound first argument\n */\n default Function1<U, K> bind1(T newFirstArgument) {\n return u -> Function2.this.apply(newFirstArgument, u);\n }\n\n /**\n * This method binds the second argument with a provided value.\n * @param newSecondArgument argument to be bound\n * @return new function object with a bound second argument\n */\n default Function1<T, K> bind2(U newSecondArgument) {\n return t -> Function2.this.apply(t, newSecondArgument);\n }\n\n /**\n * This method implements currying:\n * instead of a two-argument function we get\n * two one-argument functions.\n * @return function g such that g(x)(y) == f.apply(x, y)\n */\n default Function1<T, Function1<U, K>> curry() {\n return this::bind1;\n }\n\n /**\n * This method applies the function to provided arguments.\n * @param arg1 first argument\n * @param arg2 second argument\n * @return result of function application\n */\n K apply(T arg1, U arg2);\n}",
"public interface BinaryOperators<T> {\n\n\t/** BinaryOperator<T> extends BiFunction<T,T,T> */\n\tT apply(T t1, T t2);\n\n\t/** DoubleBinaryOperator */\n\tdouble applyAsDouble(double left, double right);\n\n\t/** IntBinaryOperator */\n\tint applyAsInt(int left, int right);\n\n\t/** LongBinaryOperator */\n\tlong applyAsLong(long left, long right);\n\n}",
"public interface Function1<A,B> {\n\tB apply(A a);\n}",
"public static <T, U, R, A1 extends T> Function<U, R> bind1(BiFunction<T, U, R> function, A1 arg1) {\n return (arg2) -> function.apply(arg1, arg2);\n }",
"public static <T, R> BiFunction<T, T, R> apply12(BiFunction<T, T, R> function) {\n return function;\n }",
"public interface Function2<T, U, R> {\n R apply(T t, U u);\n\n /**\n * Method to create composition: after(this(x, y)).\n *\n * @param after function to apply after.\n * @param <V> return type of after.\n * @return composition of functions.\n */\n default <V> Function2<T, U, V> compose(Function1<? super R, ? extends V> after) {\n return (t, u) -> after.apply(this.apply(t, u));\n }\n\n /**\n * Method to bind 1st parameter of function.\n *\n * @param firstParameter value of 1st argument to bind.\n * @return function from 1 arguments that waits for the second argument.\n */\n default Function1<U, R> bind1(T firstParameter) {\n return (u) -> apply(firstParameter, u);\n }\n\n /**\n * Method to bind 2nd parameter of function.\n *\n * @param secondParameter value of 2nd argument to bind.\n * @return function from 1 arguments that waits for the first argument.\n */\n default Function1<T, R> bind2(U secondParameter) {\n return (t) -> apply(t, secondParameter);\n }\n\n /**\n * Method to curry function, second parameter will be bind.\n *\n * @param parameter parameter to set.\n * @return function from 1 argument(1st argument of Function2).\n */\n default Function1<T, R> curry(U parameter) {\n return bind2(parameter);\n }\n}",
"static <T> Function<T,SibillaValue> apply(BinaryOperator<SibillaValue> op, Function<T,SibillaValue> f1, Function<T, SibillaValue> f2) {\n return arg -> op.apply(f1.apply(arg), f2.apply(arg));\n }",
"@FunctionalInterface\npublic interface SilentBiFunction<A, B, R> extends BiFunction<A, B, R> {\n @Override\n default R apply(A a, B b) { try { return actualApply(a, b); } catch (Exception ignored) { return null; } }\n\n R actualApply(A a, B b) throws Exception;\n}",
"public static <U1, U2, R> BiFunction<MonoT<U1>, MonoT<U2>, MonoT<R>> lift2(\n BiFunction<? super U1, ? super U2, ? extends R> fn) {\n return (optTu1, optTu2) -> optTu1.bind(input1 -> optTu2.map(input2 -> fn.apply(input1, input2)));\n }",
"@FunctionalInterface\n private interface TwoParameterFunction<T, U, R> {\n R apply(T t, U u);\n }",
"@FunctionalInterface\ninterface ConverterInterface<F, T> {\n T convert(F from);\n}",
"static <A, B, C, R> BiFunction<B, C, R> bind(TriFunction<A, B, C, R> f, A firstParam) {\n return (secondParam, thirdParam) -> f.apply(firstParam, secondParam, thirdParam);\n }",
"@Override\n public Function<List<? extends A>, B> apply(final Function2<? super A, ? super B, B> arg1, final B arg2) {\n return new Function<List<? extends A>, B>() {\n @Override\n public B apply(List<? extends A> arg) {\n B acc = arg2;\n Collections.reverse(arg);\n for (A element : arg) {\n acc = arg1.apply(element, acc);\n }\n return acc;\n }\n };\n }",
"default Function1<T, K> bind2(U newSecondArgument) {\n return t -> Function2.this.apply(t, newSecondArgument);\n }",
"public interface Function2<X1,X2,Y> {\n\tY apply(X1 x1, X2 x2);\n}",
"default Function1<T, R> bind2(U secondParameter) {\n return (t) -> apply(t, secondParameter);\n }",
"public static <IN extends OUT, OUT> Function<IN, OUT> cast() {\n return new Function<IN, OUT>() {\n\n @Override\n public OUT apply(IN in) {\n return in;\n }\n\n };\n }",
"default Function1<U, K> bind1(T newFirstArgument) {\n return u -> Function2.this.apply(newFirstArgument, u);\n }",
"static <T, U> BiFunction<T, U, SibillaValue> apply(DoubleBinaryOperator op, BiFunction<T, U, SibillaValue> f1, BiFunction<T, U, SibillaValue> f2) {\n return (t, u) -> SibillaValue.of(op.applyAsDouble(f1.apply(t, u).doubleOf(), f2.apply(t, u).doubleOf()));\n }",
"public interface PartialApplication {\n\n /**\n * Binds the provided argument to the function, and returns a Supplier with that argument applied.\n *\n * bind(f, a) is equivalent to () -> f.apply(a)\n */\n static <I, O> Supplier<O> bind(Function<I, O> f, I input) {\n return () -> f.apply(input);\n }\n\n /**\n * Binds the provided argument to the function, and returns a new Function with that argument already applied.\n *\n * bind(f, a) is equivalent to b -> f.apply(a, b)\n */\n static <A, B, R> Function<B, R> bind(BiFunction<A, B, R> f, A firstParam) {\n return secondParam -> f.apply(firstParam, secondParam);\n }\n\n /**\n * Binds the provided arguments to the function, and returns a new Supplier with those arguments already applied.\n *\n * bind(f, a, b) is equivalent to () -> f.apply(a, b)\n */\n static <A, B, R> Supplier<R> bind(BiFunction<A, B, R> f, A firstParam, B secondParam) {\n return () -> f.apply(firstParam, secondParam);\n }\n\n /**\n * Binds the provided argument to the function, and returns a new BiFunction with that argument already applied.\n *\n * bind(f, a) is equivalent to (b, c) -> f.apply(a, b, c)\n */\n static <A, B, C, R> BiFunction<B, C, R> bind(TriFunction<A, B, C, R> f, A firstParam) {\n return (secondParam, thirdParam) -> f.apply(firstParam, secondParam, thirdParam);\n }\n\n /**\n * Binds the provided arguments to the function, and returns a new Function with those arguments already applied.\n *\n * bind(f, a, b) is equivalent to c -> f.apply(a, b, c)\n */\n static <A, B, C, R> Function<C, R> bind(TriFunction<A, B, C, R> f, A firstParam, B secondParam) {\n return thirdParam -> f.apply(firstParam, secondParam, thirdParam);\n }\n}",
"@FunctionalInterface\n interface NonnullBiFunction<T, U, R> {\n\n /**\n * Applies this function to the given arguments.\n *\n * @param t the first function argument\n * @param u the second function argument\n * @return the function result\n */\n @Nonnull\n R apply(@Nonnull T t, @Nonnull U u);\n }",
"static <A, B, C, R> Function<C, R> bind(TriFunction<A, B, C, R> f, A firstParam, B secondParam) {\n return thirdParam -> f.apply(firstParam, secondParam, thirdParam);\n }",
"public interface Operator<Downstream, Upstream> extends Function<Subscriber<? super Downstream>, Subscriber<? super Upstream>> {\n\n }",
"public static BinaryExpression makeBinary(ExpressionType binaryType, Expression expression0, Expression expression1, boolean liftToNull, Method method, LambdaExpression lambdaExpression) { throw Extensions.todo(); }",
"@FunctionalInterface\npublic interface LongBiConsumer {\n void accept(long l, long r);\n\n default LongBiConsumer andThen(LongBiConsumer after) {\n Objects.requireNonNull(after);\n\n return (l, r) -> {\n accept(l, r);\n after.accept(l,r);\n };\n }\n\n LongBiConsumer DUMMY = (l, r) -> {};\n}",
"static <T> Function<T,SibillaValue> apply(UnaryOperator<SibillaValue> op, Function<T,SibillaValue> f1) {\n return arg -> op.apply(f1.apply(arg));\n }",
"@java.lang.FunctionalInterface()\r\n @jsweet.lang.Erased\r\n public interface CallbackThenableBiConsumer<T1,T2> {\r\n public void $apply(T1 p1, T2 p2);\r\n }",
"public interface BoxedDoubleToBooleanFunction extends ObjectToBooleanFunction<Double> {\n\n}",
"public static BinaryExpression makeBinary(ExpressionType binaryType, Expression expression0, Expression expression1, boolean liftToNull, Method method) { throw Extensions.todo(); }",
"public interface Function<T, U> {\n static <X,Y,Z> Function<Y,Z> partialA(X i, Function<X,Function<Y,Z>> l) {\n return l.apply(i);\n }\n\n static <X,Y,Z> Function<X,Z> partialB(Y i, Function<X,Function<Y,Z>> l) {\n return x->l.apply(x).apply(i);\n }\n\n static <X,Y,Z> Function<X,Function<Y,Z>> curry(Function<Tuple<X,Y>,Z> l) {\n return x->y->l.apply(new Tuple<X,Y>(x,y));\n }\n\n static <X,Y,Z> Function<Tuple<X,Y>,Z> unCurry(Function<X,Function<Y,Z>> l) {\n return x->l.apply(x._1).apply(x._2);\n }\n\n static <X,Y,Z> Function<X,Function<Y,Z>> reverseParameter(Function<Y,Function<X,Z>> l) {\n return x->y->l.apply(y).apply(x);\n }\n\n static <U> Function<U,U> composeAll(List<Function<U,U>> list) {\n return list.foldLeft(Function.<U>identity(),x->y->Function.compose(x,y));\n }\n\n U apply(T arg);\n\n\t/**\n\t * It directly return a function which is trivial. It just return whatever input.\n\t * @param <T>\n\t * @return\n\t */\n\tstatic <T> Function<T, T> identity() {\n\t\treturn t -> t;\n\t}\n\n\t/**\n\t * Should be able to higherCompose two function into one function\n\t * @return\n\t */\n\tstatic <X, Y, Z> Function<Function<X, Y>,\n Function<Function<Y, Z>,\n Function<X, Z>>> higherAndThen() {\n return x -> y -> z -> y.apply(x.apply(z));\n }\n\n /**\n * It is similar to {@link #higherCompose}\n * @return\n */\n static <X, Y, Z> Function<Function<Y, Z>,\n Function<Function<X, Y>,\n Function<X, Z>>> higherCompose() {\n return x -> y -> z -> x.apply(y.apply(z));\n }\n\n static <X, Y, Z> Function<X, Z> composeAndThen(Function<X,Y> f1, Function<Y,Z> f2){\n return Function.<X,Y,Z>higherAndThen().apply(f1).apply(f2);\n }\n\n static <X, Y, Z> Function<X, Z> compose(Function<Y,Z> f1, Function<X,Y> f2){\n return Function.<X,Y,Z>higherCompose().apply(f1).apply(f2);\n }\n\n\n}",
"public interface TransformFunc<FROM, TO>\r\n{\r\n TO transform(FROM source);\r\n}",
"static <T> Function<T, SibillaValue> apply(DoubleBinaryOperator op, Function<T,SibillaValue> f1, Function<T,SibillaValue> f2) {\n return arg -> SibillaValue.of(op.applyAsDouble(f1.apply(arg).doubleOf(), f2.apply(arg).doubleOf()));\n }",
"public static void main(String[] args) {\n BiPredicate<Integer,String> biPredicate = (number,str)->{\n return number<10 && str.length()>5;\n };\n System.out.println(biPredicate.test(3,\"Renga\"));\n\n //Takes 2 input and returns an output of any type.\n BiFunction<Integer,String,Boolean> biFunction = (number,str)->{\n return number<10 && str.length()>5;\n };\n System.out.println(biFunction.apply(2,\"kkk\"));\n\n //Takes 2 input and returns nothing.\n BiConsumer<Integer,String> biConsumer = (s1,s2)->{\n System.out.println(s1);\n System.out.println(s2);\n };\n biConsumer.accept(12,\"10\");\n }",
"OpFunctionCast createOpFunctionCast();",
"OUT apply(IN argument);",
"public static void main(String[] args) {\n System.out.println(getInt());\n// Function<Integer, Integer> increment = num -> ++num;\n// System.out.println(increment.apply(2));\n// Function<Integer, Integer> incrementTwoTimes = increment.andThen(increment);\n// System.out.println(incrementTwoTimes.apply(2));\n//\n// BiFunction <Integer, Integer, Integer> biIncrement = (number1, number) -> number1 + number ;\n// System.out.println(biIncrement.apply(increment.apply(2), increment.apply(2)));\n }",
"public interface IBinaryValueSvc {\n ICallable<byte[]> fromLong(long value);\n\n ICallable<byte[]> fromShort(short value);\n\n ICallable<byte[]> fromString(String value);\n\n ICallable<byte[]> concat(byte[]... values);\n\n ICallable<Long> toLong(byte[] value);\n\n ICallable<String> toString(byte[] value);\n}",
"arrowType(String a, int b)\n {\n }",
"public static void main(String[] arg) {\n\r\n System.out.println(incrementByOneFunction.apply(2));\r\n\r\n System.out.println(multipleByTen.apply(12));\r\n\r\n System.out.println(addByOneThenMulByTen.apply(19));\r\n\r\n // BiFunction takes two argument and produce one result\r\n\r\n System.out.println(incrementByOneAndMultiplyBiFunction.apply(4,100));\r\n }",
"public static void main(String[] args) {\n\n MethodReferences methodReferences = new MethodReferences();\n MyInterface3 myInterface3 = methodReferences::display;\n System.out.println(myInterface3.msg());\n\n\n BiFunction<Integer,Integer,Integer> addition = MyInterface4::add;\n\n int i = addition.apply(3,5);\n System.out.println(i);\n }",
"@FunctionalInterface\npublic interface ICorfuSMRUpcallTarget<R> {\n\n /** Do the upcall.\n * @param obj The upcall target.\n * @param args The arguments to the upcall.\n *\n * @return The return value of the upcall.\n */\n Object upcall(R obj, Object[] args);\n}",
"BParameterTyping createBParameterTyping();",
"public static Object invoke(Method arg0, Object arg1, Object[] arg2, Fiber ???)\n/* */ throws Pausable, IllegalAccessException, IllegalArgumentException, InvocationTargetException\n/* */ {\n/* 258 */ Object localObject1 = ???;Fiber f = ((Fiber)localObject1).task.fiber;",
"FunctionArgument getRef();",
"public abstract BoundType b();",
"default <T> T match(BiFunction<? super K, ? super V, ? extends T> func) {\n return func.apply(getKey(), getValue());\n }",
"public Object lambda11(Object i2) {\n return Scheme.applyToArgs.apply2(this.sk, i2);\n }",
"public interface BiConsumerWithException<T1, T2> {\n\tvoid apply(T1 t1, T2 t2) throws Throwable;\n}",
"@FunctionalInterface\npublic interface ITierConverter<TIER> {\n TIER convert(Block block, int meta);\n}",
"public interface TriFunction<Arg1, Arg2, Arg3, Result> {\n Result apply(Arg1 arg1, Arg2 arg2, Arg3 arg3);\n}",
"static <T, U, V> Fn<Fn<T, U>, Fn<Fn<U, V>, Fn<T, V>>> higherOrderAndThen(){\n return tuFn -> uvFn -> (T t) -> uvFn.apply(tuFn.apply(t));\n }",
"public static void main(String[] args) {\n\t\tFunctionInterface<?,Integer> imp = (a,b) -> a+b;\n\t\tSystem.out.println(imp.add(3, 5));\n\t\t//使用系统提供的functional interface\n\t\t//BiFunction<Integer,String,Long> sub = (a,b) -> System.out.println(b + a);\n\t}",
"@Ignore\n @Test\n public void untypedLambda2() {\n DependentLink A = param(\"A\", Universe(0));\n DependentLink params = params(A, param(\"B\", Pi(Reference(A), Universe(0))), param(\"a\", Reference(A)));\n Expression type = Pi(params, Apps(Reference(params.getNext()), Reference(params.getNext().getNext())));\n List<Binding> context = new ArrayList<>();\n context.add(new TypedBinding(\"f\", type));\n\n CheckTypeVisitor.Result result = typeCheckExpr(context, \"\\\\lam x1 x2 x3 => f x1 x2 x3\", null);\n assertEquals(type, result.type);\n }",
"public interface Function<IN, OUT> {\n\n /**\n * Compute the result of applying the function to the input argument\n *\n * @param in the input object\n * @return the function result\n */\n OUT apply( IN in );\n\n}",
"@FunctionalInterface\npublic interface Subtrac {\n\n Double substrac (Double a, Double b);\n}",
"static DoubleUnaryOperator convert(double f, double b) {\n\t\treturn (double x) -> f * x + b;\n\t}",
"private static <R, I, T> SerializableFunction<R, T> compose(\n SerializableFunction<R, I> f1, SerializableFunction<I, T> f2) {\n return r -> f2.apply(f1.apply(r));\n }",
"public static <R, T1, T2> Function<R, T1> bind2(final Function2<R, T1, ? super T2> func, final T2 arg2) {\r\n return new Function<R, T1>() {\r\n @Override\r\n public R apply(T1 arg1) {\r\n return func.apply(arg1, arg2);\r\n }\r\n };\r\n }",
"@FunctionalInterface\n public interface BiIterationReceiver {\n\n BiIterateResult onChar(int index, char c, int of, int remaining);\n }",
"void apply(FnIntFloatToFloat lambda);",
"K apply(T arg1, U arg2);",
"public interface o<Downstream, Upstream> {\n r<? super Upstream> a(r<? super Downstream> rVar) throws Exception;\n}",
"@FunctionalInterface\npublic interface QuadFunction<P1, P2, P3, P4, R> extends MethodFinder {\n\n R apply(P1 p1, P2 p2, P3 p3, P4 p4);\n\n}",
"public static <R, T1, T2> Function<R, T2> bind1(final Function2<R, ? super T1, T2> func, final T1 arg1) {\r\n return new Function<R, T2>() {\r\n @Override\r\n public R apply(T2 arg2) {\r\n return func.apply(arg1, arg2);\r\n }\r\n };\r\n }",
"public interface BooleanFunction<T> extends Function<T, Boolean> {\r\n\r\n}",
"@Test\n public void test4() {\n Comparator<Integer> comparator = Integer::compare;\n }",
"private void functionalInterfacesForBoolean() {\n BooleanSupplier b1 = () -> true;\n BooleanSupplier b2 = () -> Math.random() > .5;\n }",
"public static void main(String[] args) {\r\n\t\t\r\n\t\t//Calling normal method with 2 arguments\r\n\t\tint a = incBy1AndMul(5, 100);\r\n\t\tSystem.out.println(a);\r\n \r\n\t\t//Calling BiFunction i.e. passing 2 arguments\r\n\t\tint b = biIncBy1andMulByY.apply(5, 100);\r\n\t\tSystem.out.println(b);\r\n\t}",
"public Object lambda22(Object i1) {\n Object x = Scheme.applyToArgs.apply2(this.staticLink.sk, i1);\n return x != Boolean.FALSE ? x : this.staticLink.lambda7loupOr(lists.cdr.apply1(this.res));\n }",
"public RealValuedFunctionTwo(ScriptingContext scriptingContext,\n\t\t\t\t Object object)\n {\n\tsuper(2,2);\n\tcontext = scriptingContext;\n\tthis.object = object;\n }",
"public Object convert(Object from, Class to) {\n \t\tif (from instanceof Function) {\n \t\t\tif (to == Callable.class)\n \t\t\t\treturn new RhinoCallable(engine, (Function) from);\n \t\t} else if (from instanceof Scriptable || from instanceof String) { // Let through string as well, for ArgumentReader\n \t\t\tif (Map.class.isAssignableFrom(to)) {\n \t\t\t\treturn toMap((Scriptable) from);\n \t\t\t} else {\n \t\t\t\t/* try constructing from this prototype first\n \t\t\t\ttry {\n \t\t\t\t\tScriptable scope = engine.getScope();\n \t\t\t\t\tExtendedJavaClass cls = ExtendedJavaClass.getClassWrapper(scope, to);\n \t\t\t\t\treturn cls.construct(Context.getCurrentContext(), scope, new Object[] { from });\n \t\t\t\t} catch(Throwable e) {\n \t\t\t\t\tint i = 0;\n \t\t\t\t}\n \t\t\t\t*/\n \t\t\t\tArgumentReader reader = null;\n \t\t\t\tif (ArgumentReader.canConvert(to) && (reader = getArgumentReader(from)) != null) {\n \t\t\t\t return ArgumentReader.convert(reader, unwrap(from), to);\n \t\t\t\t} else if (from instanceof NativeObject && getZeroArgumentConstructor(to) != null) {\n \t\t\t\t\t// Try constructing an object of class type, through\n \t\t\t\t\t// the JS ExtendedJavaClass constructor that takes \n \t\t\t\t\t// a last optional argument: A NativeObject of which\n \t\t\t\t\t// the fields define the fields to be set in the native type.\n \t\t\t\t\tScriptable scope = ((RhinoEngine) this.engine).getScope();\n \t\t\t\t\tExtendedJavaClass cls =\n \t\t\t\t\t\t\tExtendedJavaClass.getClassWrapper(scope, to);\n \t\t\t\t\tif (cls != null) {\n \t\t\t\t\t\tObject obj = cls.construct(Context.getCurrentContext(),\n \t\t\t\t\t\t\t\tscope, new Object[] { from });\n \t\t\t\t\t\tif (obj instanceof Wrapper)\n \t\t\t\t\t\t\tobj = ((Wrapper) obj).unwrap();\n \t\t\t\t\t\treturn obj;\n \t\t\t\t\t}\n \t\t\t\t}\n \t\t\t}\n \t\t} else if (from == Undefined.instance) {\n \t\t\t// Convert undefined ot false if destination is boolean\n \t\t\tif (to == Boolean.TYPE)\n \t\t\t\treturn Boolean.FALSE;\n \t\t} else if (from instanceof Boolean) {\n \t\t\t// Convert false to null / undefined for non primitive destination classes.\n\t\t\tif (!((Boolean) from).booleanValue() && !to.isPrimitive())\n \t\t\t\treturn Undefined.instance;\n \t\t}\n \t\treturn null;\n \t}",
"void foo(java.util.function.Consumer<T> c) {}",
"void visitOperandFunction(ArgumentFunction operand);",
"public abstract Out apply(In value);",
"@FunctionalInterface\npublic interface Consumer<T> {\n\n /**\n * Performs operation on argument.\n *\n * @param value the input argument\n */\n void accept(T value);\n\n class Util {\n\n private Util() { }\n\n /**\n * Composes {@code Consumer} calls.\n *\n * <p>{@code c1.accept(value); c2.accept(value); }\n *\n * @param <T> the type of the input to the operation\n * @param c1 the first {@code Consumer}\n * @param c2 the second {@code Consumer}\n * @return a composed {@code Consumer}\n * @throws NullPointerException if {@code c1} or {@code c2} is null\n */\n public static <T> Consumer<T> andThen(final Consumer<? super T> c1, final Consumer<? super T> c2) {\n return new Consumer<T>() {\n @Override\n public void accept(T value) {\n c1.accept(value);\n c2.accept(value);\n }\n };\n }\n }\n}",
"interface MyNumberType {\n Integer transform(Integer n1);\n\n default MyNumberType andThen(MyNumberType after) {\n Objects.requireNonNull(after);\n return (nt) -> after.transform(transform(nt));\n }\n}",
"interface MyFirstVoidFunctionalInterface {\n\n public void methodOne();\n\n}",
"public interface _t<FROM, TO> {\n\tTO call(FROM f, int index, Iterable<FROM> list);\n}",
"public static void main(String[] args) {\n\n Function<String, String> function1 = (string) -> string +string;\n System.out.println(function1.apply(\"aaa\"));\n\n Function<String,String> function2 =s -> new String(s);\n System.out.println(function2.apply(function2.apply(\"sss\")));\n\n// Function<String, Emp> function = s -> new Emp(s);\n// System.out.println(function.apply(\"yy\"));\n\n Function<String, Emp> function3 = Emp::new;\n System.out.println(function3.apply(\"yy\"));\n }",
"C map(A first, B second);",
"public static <A, B> Function<Tuple2<A, B>, Tuple2<A, B>> withB(@Nullable final B b) {\n final class WithBFunction implements Function<Tuple2<A, B>, Tuple2<A, B>>, Serializable {\n private static final long serialVersionUID = -3772229372311193449L;\n\n @Override\n public Tuple2<A, B> apply(Tuple2<A, B> input) {\n return input.withB(b);\n }\n }\n return new WithBFunction();\n }",
"void mo2508a(bxb bxb);",
"public static void main(String[] args) {\n\t\tA i2 = (a,b) -> a+b;\r\n\t\t//B i2 = new B();\r\n\t\tSystem.out.println(i2.add(\"10\",30));\r\n\t\t//System.out.println(i.squrtIt(10));\r\n\t\t\r\n\t}",
"public static Function<Binding, BindingNodeId> convFromBinding(final NodeTable nodeTable)\n {\n return binding -> SolverLib.convert(binding, nodeTable);\n }",
"public Object lambda9(Object i1) {\n return Scheme.applyToArgs.apply1(this.fk);\n }",
"@FunctionalInterface\r\ninterface SingleMethod { // functional interface cant have more than one abstract method\r\n\tvoid method();\r\n\t\r\n}"
]
| [
"0.6928976",
"0.66550225",
"0.66150856",
"0.6471437",
"0.63320625",
"0.6306761",
"0.6237806",
"0.61378163",
"0.6131657",
"0.6126489",
"0.60994595",
"0.60421515",
"0.60359657",
"0.59844047",
"0.59662867",
"0.5959501",
"0.5945226",
"0.5920151",
"0.5892538",
"0.58796847",
"0.5878622",
"0.5835172",
"0.58189917",
"0.58027506",
"0.5802717",
"0.57617986",
"0.57549",
"0.57252496",
"0.56275624",
"0.5554199",
"0.5524599",
"0.5478019",
"0.5473261",
"0.54719085",
"0.5426212",
"0.5417038",
"0.5397247",
"0.53835225",
"0.535229",
"0.5308477",
"0.5301622",
"0.53007954",
"0.5288694",
"0.5287451",
"0.52672714",
"0.52629393",
"0.52608776",
"0.52585375",
"0.52555084",
"0.52466565",
"0.52441573",
"0.52216554",
"0.52016944",
"0.518953",
"0.51879555",
"0.5182613",
"0.5170419",
"0.514208",
"0.51339746",
"0.51257867",
"0.50968",
"0.5084572",
"0.50741863",
"0.50633717",
"0.5052401",
"0.504997",
"0.504061",
"0.5025176",
"0.5024823",
"0.5003841",
"0.4985479",
"0.49835357",
"0.49761346",
"0.497391",
"0.49369043",
"0.49337062",
"0.49322855",
"0.49321318",
"0.49305633",
"0.49299103",
"0.4925125",
"0.49243015",
"0.49094635",
"0.49007654",
"0.48843965",
"0.48590362",
"0.48582023",
"0.48510572",
"0.48475355",
"0.48314637",
"0.4828941",
"0.48250926",
"0.4813999",
"0.48106977",
"0.4805066",
"0.47975534",
"0.4789732",
"0.4782307",
"0.47797582",
"0.4763658"
]
| 0.64733124 | 3 |
/ Negates the predicate | static <T> Predicate<T> not(Predicate<T> predicate) {
return predicate.negate();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static <T> Predicate<T> not(Predicate<T> predicate) { return object -> !predicate.test(object); }",
"default Predicate<T> negate() {\n/* 80 */ return paramObject -> !test((T)paramObject);\n/* */ }",
"public static <T> Predicate<T> not(final Predicate<T> predicate) {\n return new Predicate<T>() {\n\n @Override\n public boolean test(T t) {\n return !predicate.test(t);\n }\n\n };\n }",
"public static Predicate not(Predicate predicate)\n {\n return new LogicPredicate(Type.NOT, predicate);\n }",
"default DoublePredicate negate() {\n/* 81 */ return paramDouble -> !test(paramDouble);\n/* */ }",
"default Filter<T> negate()\n {\n final Filter<T> parent = this;\n\n return new Filter<T>()\n {\n @Override\n public boolean isFiltered(final T element)\n {\n return !parent.isFiltered(element);\n }\n\n @Override\n public Filter<T> negate()\n {\n return parent;\n }\n };\n }",
"@Test\n public void testPredicateNot() {\n Predicate<Integer> isEven = (x) -> (x % 2) == 0;\n\n assertTrue(isEven.apply(10));\n assertFalse(isEven.not().apply(10));\n }",
"default boolean none( Predicate<V> predicate ) {\n if ( ((Tensor<V>)this).isVirtual() ) return !predicate.test( this.item() );\n return stream().noneMatch(predicate);\n }",
"@Override\n\tpublic void visit(NotExpression arg0) {\n\t\t\n\t}",
"@Test\n public void testPredicateAlwaysFalse() {\n Predicate<Integer> predicate = Predicate.alwaysFalse();\n\n assertFalse(predicate.apply(10));\n assertFalse(predicate.apply(null));\n assertFalse(predicate.apply(0));\n }",
"boolean getNegated();",
"Relation getNegation();",
"public NegationExpression(Expression passinnum){\r\n\t\tthis.arg=passinnum;\r\n\t}",
"public void negateIf(final Predicate<Boolean> cond, final Statement f) {\n this.ifThen(cond, () -> {\n this.val = !this.val;\n f.execute();\n });\n }",
"@Override public String toDot() {\r\n return \"¬ \" + predicate.toDot();\r\n }",
"@Override\n public Literal not() {\n if (negation == null) {\n negation = new NotBoolVar(this);\n }\n return negation;\n }",
"@Override\n public CharMatcher negate() {\n return new Negated(this);\n }",
"boolean doFilter() { return false; }",
"public boolean evaluate(P object)\n\t{\n\t\treturn !m_predicate.evaluate(object);\n\t}",
"public abstract ArithValue negate();",
"public Query not() {\n builder.negateQuery();\n return this;\n }",
"StatementChain not(ProfileStatement... statements);",
"public NegationFilter(QueryFilter subFilter) {\n this.subFilter = subFilter;\n }",
"boolean not_query(DiagnosticChain diagnostics, Map<Object, Object> context);",
"@Override\n\tpublic Object visit(ASTFilterNot node, Object data) {\n\t\tSystem.out.print(\"not \");\n\t\tnode.childrenAccept(this, data);\n\t\treturn null;\n\t}",
"public static Predicate<String> none() {\n return (each) -> false;\n }",
"public Units whereNot(UnitSelector.BooleanSelector selector)\n\t{\n\t\tUnits result = new Units();\n\t\tfor (Unit unit : this)\n\t\t{\n\t\t\tif (!selector.isTrueFor(unit))\n\t\t\t{\n\t\t\t\tresult.add(unit);\n\t\t\t}\n\t\t}\n\t\treturn result;\n\t}",
"public ExecutionPolicy not()\n\t{\n\t\treturn new NotRule(this);\n\t}",
"public void negateIf(final boolean cond, final Statement f) {\n this.negateIf(x -> x == cond, f);\n }",
"@SuppressWarnings(\"unchecked\")\n @Test\n public void oneFalsePredicate() {\n // use the constructor directly, as getInstance() returns the original predicate when passed\n // an array of size one.\n final Predicate<Integer> predicate = createMockPredicate(false);\n assertFalse(allPredicate(predicate).evaluate(getTestValue()),\n \"single false predicate evaluated to true\");\n }",
"public R visit(com.biosimilarity.lift.lib.scalar.Absyn.Negation p, A arg)\n {\n\n p.arithmeticexpr_.accept(new ArithmeticExprVisitor<R,A>(), arg);\n\n return null;\n }",
"public void neg_() {\n TH.THTensor_(neg)(this, this);\n }",
"public boolean offForEvaluation();",
"private void negate()\n\t{\n\t\tif(Fun == null)\n\t\t{\n\t\t\tsetLeftValue();\n\t\t\tresult = calc.negate();\n\t\t\tupdateText();\n\t\t\tsetLeftValue();\n\t\t}\n\t}",
"public void negateBoolean(MethodVisitor mv) {\n // code to negate the primitive boolean\n Label endLabel = new Label();\n Label falseLabel = new Label();\n mv.visitJumpInsn(Opcodes.IFNE, falseLabel);\n mv.visitInsn(Opcodes.ICONST_1);\n mv.visitJumpInsn(Opcodes.GOTO, endLabel);\n mv.visitLabel(falseLabel);\n mv.visitInsn(Opcodes.ICONST_0);\n mv.visitLabel(endLabel);\n }",
"public NotExpression(BooleanExpression expression, SourceLocation source) throws \r\n\t\t\tIllegalSourceException, IllegalExpressionException {\r\n\t\tsuper(expression, source);\r\n\t}",
"public static ArticleFilter none() {\n return new ArticleFilter() {\n @Override public boolean testArticle(PubmedArticle article) {\n return false;\n };\n };\n }",
"void negarAnalise();",
"public Unary createNot(Expr expr) {\n return createNot(expr.position(), expr);\n }",
"public static void main(String[] args){\n\t\tSystem.out.println(negate(8)); //should be -8\n\t\tSystem.out.println(negate(-2)); //should be 2\n\t}",
"private boolean NOT(boolean b) {\r\n in = saves[--save];\r\n return !b;\r\n }",
"public Unary createNot(Position pos, Expr expr) {\n assert (expr.type().isBoolean());\n return createUnary(pos, Unary.NOT, expr);\n }",
"public Instances notCoveredBy(Instances data) {\n\n Instances r = new Instances(data, data.numInstances());\n Enumeration enu = data.enumerateInstances();\n while (enu.hasMoreElements()) {\n\tInstance i = (Instance) enu.nextElement();\n\tif (resultRule(i) == -1) {\n\t r.add(i);\n\t}\n }\n r.compactify();\n return r;\n }",
"T negativeResult();",
"public SingleRuleBuilder orNot(String predicate, String... variables) { return or(true, predicate, variables); }",
"private void negateProduction(PlainGraph graph) {\n List<? extends PlainEdge> bools = graph.edgeSet().stream().filter(e ->\n e.label().text().equals(String.format(\"%s:%s\", BOOL, TRUE_STRING)) ||\n e.label().text().equals(String.format(\"%s:%s\", BOOL, FALSE_STRING))\n ).collect(Collectors.toList());\n\n for (PlainEdge bool : bools) {\n if (bool.label().text().contains(TRUE_STRING)) {\n addEdge(graph, bool.source(), String.format(\"%s:%s\", BOOL, FALSE_STRING), bool.target());\n } else {\n addEdge(graph, bool.source(), String.format(\"%s:%s\", BOOL, TRUE_STRING), bool.target());\n }\n removeEdge(graph, bool);\n }\n }",
"public FindOperationEvaluator(boolean negate) {\r\n this.negate = negate;\r\n }",
"public static void main(String[] args) {\n\t\tPredicate<Integer> even=x->x%2==0;\n\t\tList<Integer> li=Arrays.asList(1,2,3,4,5,6,7,8);\n\t\tList<Integer> Leven=li.stream().filter(even).collect(Collectors.toList());\n\t\tSystem.out.println(Leven);\n\t\tList<Integer> Lodd=li.stream().filter(even.negate()).collect(Collectors.toList());\n\t\tSystem.out.println(Lodd);\n\t}",
"public static NotSpecification not( Specification<Composite> operand )\n {\n return new NotSpecification( operand );\n }",
"public static Filter not(Filter filter) {\r\n return new NotFilter(filter);\r\n }",
"public NotSearch not()\n\t\t{\n\t\t\treturn new NotSearch();\n\t\t}",
"private static LogicalExpression negateCase(LogicalExpression e){\n\t\t// returns the expression itself\n\t\tif (e instanceof NotExpression) {\n\t\t\treturn (LogicalExpression)((NotExpression)e).arg1();\n\t\t}\n\t\t// a=>b is (not a or b) so returns return (a and not b)\n\t\telse if (e instanceof ImpliesExpression){\n\t\t\tExpression a1 = ((ImpliesExpression)e).arg1();\n\t\t\tLogicalExpression a2 = (LogicalExpression)((ImpliesExpression)e).arg2();\n\t\t\treturn new AndExpression(a1,negateCase(a2));\n\t\t}\n\t\t// returns the negation\n\t\telse return new NotExpression(e);\n\t}",
"boolean hasCustomerNegativeCriterion();",
"public MethodPredicate withoutModifiers(int... modifiers) {\n this.withoutModifiers = Arrays.stream(modifiers).boxed().collect(Collectors.toList());\n return this;\n }",
"default boolean ne(int lhs, int rhs) {\r\n return !eq(lhs,rhs);\r\n }",
"KTable<K, V> filterOut(Predicate<K, V> predicate);",
"boolean isExcluded();",
"public IsEmptyOperationEvaluator(boolean negate) {\r\n this.negate = negate;\r\n }",
"@OperationMeta(name = {Constants.NEGATION, Constants.NEGATION_ALIAS }, opType = OperationType.PREFIX)\n public static boolean not(boolean val) {\n return !val;\n }",
"public boolean getNegated() {\r\n return Negated;\r\n }",
"boolean isExcluded(Individual ind);",
"@Override\n\tpublic boolean exister(final Predicate<Reservation> condition) throws IllegalArgumentException {\n\t\treturn false;\n\t}",
"public ConditionItem not(ConditionItem constraint) {\n\t\treturn blockCondition(ConditionType.NOT, constraint);\n\t}",
"public boolean remove(Predicate<String> predicate);",
"public static void main(String[] args) {\n\t\tPredicate<Integer> fun1= x-> x>5;\r\n\t\tSystem.out.println(fun1.test(5));\r\n\t\t\r\n\t\tPredicate<String> fun2 = x-> x.isEmpty();\r\n\t\tSystem.out.println(fun2.test(\"\"));\r\n\t\t\r\n\t\tList<Integer> numbers = Arrays.asList(1,2,3,4,6,5,7,8,0);\r\n\t\tSystem.out.println(numbers.stream().filter(fun1).collect(Collectors.toList()));\r\n\t\t\r\n\t\t//predicate with and\r\n\t\tSystem.out.println(numbers.stream().filter(x-> x>5 && x<8).collect(Collectors.toList()));\r\n\t\t\r\n\t\t//predicate with negate\r\n\t\tList<String> names = Arrays.asList(\"Nayeem\", \"John\", \"SDET\");\r\n\t\tPredicate<String> fun3 = x -> x.contains(\"e\");\r\n\t\tSystem.out.println(names.stream().filter(fun3.negate()).collect(Collectors.toList()));\r\n\t\t\r\n\t}",
"public List<Predicate> usedNegativeBodyPredicates() {\n\t\tArrayList<Predicate> usedPredicates = new ArrayList<>(bodyAtomsNegative.size());\n\t\tfor (Atom basicAtom : bodyAtomsNegative) {\n\t\t\tusedPredicates.add(basicAtom.getPredicate());\n\t\t}\n\t\treturn usedPredicates;\n\t}",
"public boolean contradicts(Predicate p){\r\n\t\treturn (type.equals(p.type) && (id.equals(p.id)) && !(value.equals(p.value)));\r\n\t}",
"public static UnaryExpression not(Expression expression) {\n return makeUnary(ExpressionType.Not, expression, expression.getType());\n }",
"@Override\r\n protected boolean excludesAnd(AbstractResourceFilter<T> filter) {\n return this.equals(filter);\r\n }",
"public SeleniumQueryObject not(String selector) {\n\t\treturn NotFunction.not(this, this.elements, selector);\n\t}",
"public void discard() {\n }",
"boolean isNeg();",
"private Proof subNot(Expression a, Proof nb, java.util.function.Function<Proof, Proof> ab) {\n Proof hypoAssume = hypotesisAssume(a, ab); //|- (a -> b)\n return contraTwice(hypoAssume, nb); //|- !a\n }",
"public void discard();",
"private void negateOclIsOps(PlainGraph graph) {\n List<PlainEdge> typeEdges = graph.edgeSet().stream()\n .filter(e -> labelContainsType(e.label().text()))\n .sorted((i1, i2) ->\n Integer.compare(i2.source().getNumber(), i1.source().getNumber()))\n .collect(Collectors.toList());\n\n // negate all except for the first, starting node (which is on the last index)\n for (int i = 0; i < typeEdges.size() - 1; i++) {\n PlainEdge edge = typeEdges.get(i);\n // negate the edge\n List<PlainEdge> notEdge = getNotEdge(graph, edge);\n if (notEdge.isEmpty()) {\n // add not edge\n addEdge(graph, edge.source(), String.format(\"%s:\", NOT), edge.target());\n } else {\n // remove not edge\n removeEdge(graph, notEdge.get(0));\n }\n }\n }",
"public MethodPredicate withoutModifiers(Collection<Integer> modifiers) {\n this.withoutModifiers = new ArrayList<>(modifiers);\n return this;\n }",
"public FalseFilter() {\n\t\t//can be ignored\n\t}",
"public void executeNot() {\n\t\tBitString destBS = mIR.substring(4, 3);\n\t\tBitString sourceBS = mIR.substring(7, 3);\n\t\tmRegisters[destBS.getValue()] = mRegisters[sourceBS.getValue()].copy();\n\t\tmRegisters[destBS.getValue()].invert();\n\n\t\tBitString notVal = mRegisters[destBS.getValue()];\n\t\tsetConditionalCode(notVal);\n\t}",
"public static ArrayList<LogicalExpression> negate(TermSystem p,Node next){\n\t\tArrayList<LogicalExpression> result = new ArrayList<LogicalExpression>();\n\t\t\tNode saveNext = next.cloneNode(true);\n\t\t\tLogicalExpression exp;\n\t\t\ttry {\n\t\t\t\texp = LogicalExprVisitor.parse(saveNext,p);\n\t\t\t\taddConjunct(exp,result);\n\t\t\t} catch (AnalyzeException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t} catch (ConstraintException e) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\treturn result;\n\t}",
"protected boolean ifnot(boolean b) {\r\n\t\tif(not) {\r\n\t\t\treturn !b;\r\n\t\t}\r\n\t\treturn b;\r\n\t}",
"private static Code negationNormalForm(Code.FunCall e, boolean negate) {\n\t\treturn negate(e,negate);\n\t}",
"public Roster without (Player p)\n\t{\n\t\tList<Player> resultList = new ArrayList<Player>();\n\t\tIterator<Player> it = iterator();\n\t\twhile(it.hasNext())\n\t\t{\n\t\t\tPlayer p2 = it.next();\n\t\t\tif(!p.equals(p2))\n\t\t\t\tresultList.add(p2);\n\t\t}\n\t\treturn new Rosters(resultList);\n\t}",
"public static void main(String[] args) {\n\n\t\tList<String> list = new ArrayList<>();\n\t\tlist.add(\"veg\");\n\t\tlist.add(\"veg\");\n\t\tlist.add(\"veg\");\n\t\tlist.add(\"nveg\");\n\t\tlist.add(\"veg\");\n\t\tlist.add(\"nveg\");\n\t\tlist.add(\"veg\");\n\n\t\t// -------------------------------------\n\t\t// way-1\n\t\t// -------------------------------------\n\n//\t\tlist.removeIf(item->item.equals(\"nveg\"));\n//\t\tSystem.out.println(list);\n\n\t\t// -------------------------------------\n\t\t// way-2\n\t\t// -------------------------------------\n\n\t\tlist.removeIf(item -> Method_Reference_Ex.isNonVeg(item));\n\t\tSystem.out.println(list);\n\n\t\t// -------------------------------------\n\t\t// way-3\n\t\t// -------------------------------------\n\t\t\n\t\tPredicate<String> predicate=Method_Reference_Ex::isNonVeg;\n\n\t\tlist.removeIf(Method_Reference_Ex::isNonVeg);\n\t\tSystem.out.println(list);\n\n\t}",
"public Object visitLogicalNegationExpression(GNode n) {\n if (dostring) {\n Object a = dispatch(n.getGeneric(0));\n \n if (a instanceof Long) {\n return \"\" + ((((Long) a).equals(new Long(0))) ? 1 : 0);\n }\n else {\n return \"! \" + parens(a);\n }\n }\n else {\n BDD a = ensureBDD(dispatch(n.getGeneric(0)));\n BDD bdd;\n \n bdd = a.not();\n \n a.free();\n \n return bdd;\n }\n }",
"private Token negationCheck(Token pToken, Token pPrevToken) {\n if (pPrevToken == null || pPrevToken instanceof BinaryOperator || pPrevToken instanceof LeftParen) {\n pToken = new NegOperator();\n }\n return pToken;\n }",
"public final EObject ruleNegation() throws RecognitionException {\r\n EObject current = null;\r\n\r\n EObject lv_operator_0_0 = null;\r\n\r\n EObject lv_value_1_0 = null;\r\n\r\n\r\n enterRule(); \r\n \r\n try {\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:2475:28: ( ( ( (lv_operator_0_0= ruleNotOperator ) ) ( (lv_value_1_0= ruleBooleanUnit ) ) ) )\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:2476:1: ( ( (lv_operator_0_0= ruleNotOperator ) ) ( (lv_value_1_0= ruleBooleanUnit ) ) )\r\n {\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:2476:1: ( ( (lv_operator_0_0= ruleNotOperator ) ) ( (lv_value_1_0= ruleBooleanUnit ) ) )\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:2476:2: ( (lv_operator_0_0= ruleNotOperator ) ) ( (lv_value_1_0= ruleBooleanUnit ) )\r\n {\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:2476:2: ( (lv_operator_0_0= ruleNotOperator ) )\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:2477:1: (lv_operator_0_0= ruleNotOperator )\r\n {\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:2477:1: (lv_operator_0_0= ruleNotOperator )\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:2478:3: lv_operator_0_0= ruleNotOperator\r\n {\r\n if ( state.backtracking==0 ) {\r\n \r\n \t newCompositeNode(grammarAccess.getNegationAccess().getOperatorNotOperatorParserRuleCall_0_0()); \r\n \t \r\n }\r\n pushFollow(FOLLOW_ruleNotOperator_in_ruleNegation5293);\r\n lv_operator_0_0=ruleNotOperator();\r\n\r\n state._fsp--;\r\n if (state.failed) return current;\r\n if ( state.backtracking==0 ) {\r\n\r\n \t if (current==null) {\r\n \t current = createModelElementForParent(grammarAccess.getNegationRule());\r\n \t }\r\n \t\tset(\r\n \t\t\tcurrent, \r\n \t\t\t\"operator\",\r\n \t\tlv_operator_0_0, \r\n \t\t\"NotOperator\");\r\n \t afterParserOrEnumRuleCall();\r\n \t \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:2494:2: ( (lv_value_1_0= ruleBooleanUnit ) )\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:2495:1: (lv_value_1_0= ruleBooleanUnit )\r\n {\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:2495:1: (lv_value_1_0= ruleBooleanUnit )\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:2496:3: lv_value_1_0= ruleBooleanUnit\r\n {\r\n if ( state.backtracking==0 ) {\r\n \r\n \t newCompositeNode(grammarAccess.getNegationAccess().getValueBooleanUnitParserRuleCall_1_0()); \r\n \t \r\n }\r\n pushFollow(FOLLOW_ruleBooleanUnit_in_ruleNegation5314);\r\n lv_value_1_0=ruleBooleanUnit();\r\n\r\n state._fsp--;\r\n if (state.failed) return current;\r\n if ( state.backtracking==0 ) {\r\n\r\n \t if (current==null) {\r\n \t current = createModelElementForParent(grammarAccess.getNegationRule());\r\n \t }\r\n \t\tset(\r\n \t\t\tcurrent, \r\n \t\t\t\"value\",\r\n \t\tlv_value_1_0, \r\n \t\t\"BooleanUnit\");\r\n \t afterParserOrEnumRuleCall();\r\n \t \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n leaveRule(); \r\n }\r\n }\r\n \r\n catch (RecognitionException re) { \r\n recover(input,re); \r\n appendSkippedTokens();\r\n } \r\n finally {\r\n }\r\n return current;\r\n }",
"public JTensor neg() {\n JTensor r = new JTensor();\n TH.THTensor_(neg)(r, this);\n return r;\n }",
"public void assertNotEval(final String expression, final String textPattern);",
"@Test\n public void testCaseOfClassNotMatchingWithPredicate() {\n Object o = \"Boo\";\n match(o).caseOf(Integer.class, s -> {\n fail();\n return false;\n }, s -> fail());\n }",
"public static UnaryExpression isFalse(Expression expression) { throw Extensions.todo(); }",
"public final EObject ruleGoalNegation() throws RecognitionException {\r\n EObject current = null;\r\n\r\n EObject lv_operator_0_0 = null;\r\n\r\n EObject lv_value_1_0 = null;\r\n\r\n\r\n enterRule(); \r\n \r\n try {\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:1772:28: ( ( ( (lv_operator_0_0= ruleNotOperator ) ) ( (lv_value_1_0= ruleGoalBooleanUnit ) ) ) )\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:1773:1: ( ( (lv_operator_0_0= ruleNotOperator ) ) ( (lv_value_1_0= ruleGoalBooleanUnit ) ) )\r\n {\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:1773:1: ( ( (lv_operator_0_0= ruleNotOperator ) ) ( (lv_value_1_0= ruleGoalBooleanUnit ) ) )\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:1773:2: ( (lv_operator_0_0= ruleNotOperator ) ) ( (lv_value_1_0= ruleGoalBooleanUnit ) )\r\n {\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:1773:2: ( (lv_operator_0_0= ruleNotOperator ) )\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:1774:1: (lv_operator_0_0= ruleNotOperator )\r\n {\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:1774:1: (lv_operator_0_0= ruleNotOperator )\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:1775:3: lv_operator_0_0= ruleNotOperator\r\n {\r\n if ( state.backtracking==0 ) {\r\n \r\n \t newCompositeNode(grammarAccess.getGoalNegationAccess().getOperatorNotOperatorParserRuleCall_0_0()); \r\n \t \r\n }\r\n pushFollow(FOLLOW_ruleNotOperator_in_ruleGoalNegation3714);\r\n lv_operator_0_0=ruleNotOperator();\r\n\r\n state._fsp--;\r\n if (state.failed) return current;\r\n if ( state.backtracking==0 ) {\r\n\r\n \t if (current==null) {\r\n \t current = createModelElementForParent(grammarAccess.getGoalNegationRule());\r\n \t }\r\n \t\tset(\r\n \t\t\tcurrent, \r\n \t\t\t\"operator\",\r\n \t\tlv_operator_0_0, \r\n \t\t\"NotOperator\");\r\n \t afterParserOrEnumRuleCall();\r\n \t \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:1791:2: ( (lv_value_1_0= ruleGoalBooleanUnit ) )\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:1792:1: (lv_value_1_0= ruleGoalBooleanUnit )\r\n {\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:1792:1: (lv_value_1_0= ruleGoalBooleanUnit )\r\n // ../eu.artist.postmigration.nfrvt.lang.gml/src-gen/eu/artist/postmigration/nfrvt/lang/gml/parser/antlr/internal/InternalGML.g:1793:3: lv_value_1_0= ruleGoalBooleanUnit\r\n {\r\n if ( state.backtracking==0 ) {\r\n \r\n \t newCompositeNode(grammarAccess.getGoalNegationAccess().getValueGoalBooleanUnitParserRuleCall_1_0()); \r\n \t \r\n }\r\n pushFollow(FOLLOW_ruleGoalBooleanUnit_in_ruleGoalNegation3735);\r\n lv_value_1_0=ruleGoalBooleanUnit();\r\n\r\n state._fsp--;\r\n if (state.failed) return current;\r\n if ( state.backtracking==0 ) {\r\n\r\n \t if (current==null) {\r\n \t current = createModelElementForParent(grammarAccess.getGoalNegationRule());\r\n \t }\r\n \t\tset(\r\n \t\t\tcurrent, \r\n \t\t\t\"value\",\r\n \t\tlv_value_1_0, \r\n \t\t\"GoalBooleanUnit\");\r\n \t afterParserOrEnumRuleCall();\r\n \t \r\n }\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n\r\n }\r\n\r\n if ( state.backtracking==0 ) {\r\n leaveRule(); \r\n }\r\n }\r\n \r\n catch (RecognitionException re) { \r\n recover(input,re); \r\n appendSkippedTokens();\r\n } \r\n finally {\r\n }\r\n return current;\r\n }",
"public boolean containsNotOperator() {\r\n\t\tfor (int n = 0; n < elements.size(); ++n) {\r\n\t\t\tObject ob = elements.get(n);\r\n\t\t\tif (ob instanceof Operator) {\r\n\t\t\t\tif (((Operator) ob).isNot()) {\r\n\t\t\t\t\treturn true;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn false;\r\n\t}",
"@NotNull\n Stream<StandardMethodContract> excludeContract(StandardMethodContract contract) {\n assert contract.getParameterCount() == myParameters.length;\n List<ValueConstraint> constraints = contract.getConstraints();\n List<ValueConstraint> template = StreamEx.constant(ValueConstraint.ANY_VALUE, myParameters.length).toList();\n List<StandardMethodContract> antiContracts = new ArrayList<>();\n for (int i = 0; i < constraints.size(); i++) {\n ValueConstraint constraint = constraints.get(i);\n if (constraint == ValueConstraint.ANY_VALUE) continue;\n template.set(i, constraint.negate());\n antiContracts.add(new StandardMethodContract(template.toArray(new ValueConstraint[0]), getReturnValue()));\n template.set(i, constraint);\n }\n return StreamEx.of(antiContracts).map(this::intersect).nonNull();\n }",
"public Boolean filter(Entry e) {\n\t\t//TODO you will need to implement this method\n\t\treturn false;\n\t}",
"PolynomialNode filter(Predicate test);",
"default boolean removeIf(LongPredicate filter) {\n/* 193 */ Objects.requireNonNull(filter);\n/* 194 */ boolean removed = false;\n/* 195 */ LongIterator each = iterator();\n/* 196 */ while (each.hasNext()) {\n/* 197 */ if (filter.test(each.nextLong())) {\n/* 198 */ each.remove();\n/* 199 */ removed = true;\n/* */ } \n/* */ } \n/* 202 */ return removed;\n/* */ }",
"public void not() {\n\t\tfinal EWAHIterator i =\n\t\t\t\tnew EWAHIterator(this.buffer, this.actualsizeinwords);\n\t\tif (!i.hasNext())\n\t\t\treturn;\n\t\twhile (true) {\n\t\t\tfinal RunningLengthWord rlw1 = i.next();\n\t\t\tif (rlw1.getRunningLength() > 0)\n\t\t\t\trlw1.setRunningBit(!rlw1.getRunningBit());\n\t\t\tfor (int j = 0; j < rlw1.getNumberOfLiteralWords(); ++j) {\n\t\t\t\ti.buffer()[i.dirtyWords() + j] =\n\t\t\t\t\t\t~i.buffer()[i.dirtyWords() + j];\n\t\t\t}\n\t\t\tif (!i.hasNext()) {// must potentially adjust the last dirty word\n\t\t\t\tif (rlw1.getNumberOfLiteralWords() == 0)\n\t\t\t\t\treturn;\n\t\t\t\tint usedbitsinlast = this.sizeinbits % wordinbits;\n\t\t\t\tif (usedbitsinlast == 0)\n\t\t\t\t\treturn;\n\t\t\t\ti.buffer()[i.dirtyWords() + rlw1.getNumberOfLiteralWords() - 1] &=\n\t\t\t\t\t\t((oneMask) >>> (wordinbits - usedbitsinlast));\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t}",
"public Object visitBitwiseNegationExpression(GNode n) {\n Object a, result;\n \n nonboolean = true;\n \n dostring = true;\n \n a = dispatch(n.getGeneric(0));\n \n dostring = false;\n \n if (a instanceof Long) {\n result = ~ (Long) a;\n }\n else {\n return \"~ \" + parens(a);\n }\n \n return result;\n }",
"public static UnaryExpression isFalse(Expression expression, Method method) { throw Extensions.todo(); }",
"public static UnaryExpression negate(Expression expression, Method method) {\n return makeUnary(ExpressionType.Negate, expression, null, method);\n }"
]
| [
"0.7792502",
"0.77817535",
"0.72159797",
"0.71623135",
"0.6912812",
"0.6747164",
"0.6652507",
"0.66089004",
"0.6520809",
"0.6438733",
"0.6354723",
"0.6289223",
"0.62855744",
"0.62737685",
"0.62082267",
"0.6111492",
"0.609785",
"0.6086903",
"0.60734963",
"0.6038781",
"0.60332006",
"0.6000118",
"0.59992313",
"0.59968144",
"0.5977772",
"0.59671044",
"0.59656197",
"0.5962287",
"0.593863",
"0.5917997",
"0.58767915",
"0.5873255",
"0.5848681",
"0.58140385",
"0.58080214",
"0.58028525",
"0.57930714",
"0.5783052",
"0.5755987",
"0.5747689",
"0.5709472",
"0.5702356",
"0.5698521",
"0.56947917",
"0.56836915",
"0.5674401",
"0.5666796",
"0.5665498",
"0.566433",
"0.5662541",
"0.5653715",
"0.5633874",
"0.5633743",
"0.56101507",
"0.56072646",
"0.5607128",
"0.56012213",
"0.5598511",
"0.5594478",
"0.5592484",
"0.55849487",
"0.55646455",
"0.55590177",
"0.55547756",
"0.5552332",
"0.554873",
"0.5548233",
"0.5544465",
"0.553754",
"0.5532113",
"0.55276394",
"0.55256313",
"0.5523666",
"0.55209315",
"0.55203193",
"0.5507187",
"0.5487216",
"0.54848516",
"0.5465742",
"0.54582465",
"0.54578227",
"0.54554594",
"0.5443802",
"0.5423614",
"0.5404055",
"0.53943145",
"0.5391565",
"0.5383294",
"0.5379281",
"0.537903",
"0.53724706",
"0.5368139",
"0.53652984",
"0.53583413",
"0.5355586",
"0.53518075",
"0.53473854",
"0.53473026",
"0.5346921",
"0.534627"
]
| 0.80254304 | 0 |
Creates a new instance representing the information relevant for the customer | public RecieptDTO (String storeNameIn, String storeAdressIn, ArrayList itemListIn, double runningTotalIn, double totalVATPriceIn, LocalDate dateIn, LocalTime timeIn, double cashIn, double changeIn, double discountIn) {
storeName = storeNameIn;
storeAdress = storeAdressIn;
itemList = itemListIn;
totalPrice = runningTotalIn;
totalVATPrice = totalVATPriceIn;
date = dateIn;
time = timeIn;
cash = cashIn;
change = changeIn;
discount = discountIn;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Customer createCustomer() {\n return new Customer(nameNested, surNameNested, ageNested, streetNested);\n }",
"private Customer createCustomerData() {\n int id = -1;\n Timestamp createDate = DateTime.getUTCTimestampNow();\n String createdBy = session.getUsername();\n\n if (action.equals(Constants.UPDATE)) {\n id = existingCustomer.getCustomerID();\n createDate = existingCustomer.getCreateDate();\n createdBy = existingCustomer.getCreatedBy();\n }\n\n String name = nameField.getText();\n String address = addressField.getText() + \", \" + cityField.getText();\n System.out.println(address);\n String postal = postalField.getText();\n String phone = phoneField.getText();\n Timestamp lastUpdate = DateTime.getUTCTimestampNow();\n String lastUpdatedBy = session.getUsername();\n\n FirstLevelDivision division = divisionComboBox.getSelectionModel().getSelectedItem();\n int divisionID = division.getDivisionID();\n\n return new Customer(id, name, address, postal, phone, createDate, createdBy, lastUpdate, lastUpdatedBy, divisionID);\n }",
"Customer createCustomer();",
"Customer createCustomer();",
"Customer createCustomer();",
"Customer createCustomer();",
"Customer(){}",
"private Customer createCustomerInstance(String name, String email, String phoneNumber) {\n Customer customer = new Customer();\n customer.setName(name);\n customer.setEmail(email);\n customer.setPhoneNumber(phoneNumber);\n return customer;\n }",
"public CustomerNew () {\n\t\tsuper();\n\t}",
"Customers createCustomers();",
"private CustomerDetails initCustomerDetails() {\n CustomerDetails mCustomerDetails = new CustomerDetails();\n mCustomerDetails.setPhone(\"085310102020\");\n mCustomerDetails.setFirstName(\"user fullname\");\n mCustomerDetails.setEmail(\"[email protected]\");\n return mCustomerDetails;\n }",
"public Customer() {\r\n\t\tthis.name = \"\";\r\n\t\tthis.parcelID = \"\";\r\n\t\tthis.seqNo = 0;\r\n\t}",
"public CustomerService() {\n\n Customer c1 = new Customer(\"Brian May\", \"45 Dalcassian\", \"[email protected]\", 123);\n Customer c2 = new Customer(\"Roger Taylor\", \"40 Connaught Street\", \"[email protected]\", 123);\n Customer c3 = new Customer(\"John Deacon\", \"2 Santry Avenue\", \"[email protected]\", 123);\n Customer c4 = new Customer(\"Paul McCartney\", \"5 Melville Cove\", \"[email protected]\", 123);\n\n c1.setIdentifier(1);\n c2.setIdentifier(2);\n c3.setIdentifier(3);\n c4.setIdentifier(4);\n customers.add(c1);\n customers.add(c2);\n customers.add(c3);\n customers.add(c4);\n\n c1.addAccount(new Account(101));\n c2.addAccount(new Account(102));\n c2.addAccount(new Account(102));\n c3.addAccount(new Account(103));\n c3.addAccount(new Account(103));\n c3.addAccount(new Account(103));\n c4.addAccount(new Account(104));\n\n }",
"public static void CreateCustomer() \r\n\t{\n\t\t\r\n\t}",
"Customer() \n\t{\n\t}",
"@Override\n\tpublic void create(Customer t) {\n\n\t}",
"private Customer createCustomerInstanceWithId(String name, String email, String phoneNumber) {\n Customer customer = new Customer();\n customer.setId(1000L);\n customer.setName(name);\n customer.setEmail(email);\n customer.setPhoneNumber(phoneNumber);\n return customer;\n }",
"Customer() {\n }",
"public Customer() {\n name = \"N.A.\";\n surname = \"N.A.\";\n address = \"N.A.\";\n email = \"N.A.\";\n }",
"public Customer(){}",
"public Customer() {\n\t\tsuper();\n\t}",
"public Customer(){\n\t \n }",
"public Customer() {\r\n }",
"public Customer() { }",
"SerialResponse createCustomer(PinCustomerPost pinCustomerPost);",
"public Customer() {\n }",
"public Customer() {\n }",
"public Customer(){\n\n }",
"public Customer() {\n\t}",
"public Customer() {\n\t}",
"public Customer () {\n\t\tsuper();\n\t}",
"private Customer(CustomerBuilder customerBuilder) {\n id = customerBuilder.id;\n friends = customerBuilder.friends;\n purchases = customerBuilder.purchases;\n }",
"public Customer (String customerName, String address,\n String telephoneNumber){\n this.customerName = customerName;\n this.address = address;\n this.telephoneNumber = telephoneNumber;\n }",
"public Customer()\n {\n\n }",
"public Customer(int customer_ID, String customer_Name, String address, String postalCode, String phone, String createdDate, String createdBy, String lastUpdate, String lastUpdatedBy, int divisionID) {\n this.customer_ID = customer_ID;\n this.customer_Name = customer_Name;\n this.address = address;\n this.postalCode = postalCode;\n this.phone = phone;\n this.createdDate = createdDate;\n this.createdBy = createdBy;\n this.lastUpdate = lastUpdate;\n this.lastUpdatedBy = lastUpdatedBy;\n this.divisionID = divisionID;\n }",
"public ResponseEntity<?> createCustomer(customer.controller.Customer customer);",
"public Customer createCustomer() {\r\n\t\ttry {\r\n\t\t\treturn manager.createCustomer();\t\t\t\r\n\t\t}catch(SQLException e) {\r\n\t\t\tJOptionPane.showMessageDialog(null, \"The manager was unable to create a new customer\");\r\n\t\t}\r\n\t\treturn null;\r\n\t}",
"public Customer(String name) {\n this.name=name;\n }",
"public Customer(String name) {\n this.name = name;\n }",
"TypicalCustomer() {\n super();\n }",
"private Customer storeCustomer(Customer customer){\n customerRestService.createCustomer(customer);\n return customer;\n }",
"public void addCustomer(){\n Customer customer = new Customer();\n customer.setId(data.numberOfCustomer());\n customer.setFirstName(GetChoiceFromUser.getStringFromUser(\"Enter First Name: \"));\n customer.setLastName(GetChoiceFromUser.getStringFromUser(\"Enter Last Name: \"));\n data.addCustomer(customer,data.getBranch(data.getBranchEmployee(ID).getBranchID()));\n System.out.println(\"Customer has added Successfully!\");\n }",
"private PersonCtr createCustomer()\n {\n\n // String name, String addres, int phone, int customerID\n PersonCtr c = new PersonCtr();\n String name = jTextField3.getText();\n String address = jTextPane1.getText();\n int phone = Integer.parseInt(jTextField2.getText());\n int customerID = phone;\n Customer cu = new Customer();\n cu = c.addCustomer(name, address, phone, customerID);\n JOptionPane.showMessageDialog(null, cu.getName() + \", \" + cu.getAddress()\n + \", tlf.nr.: \" + cu.getPhone() + \" er oprettet med ID nummer: \" + cu.getCustomerID()\n , \"Kunde opretttet\", JOptionPane.INFORMATION_MESSAGE);\n return c;\n\n\n }",
"public CustomerNew (\n\t\t Long in_id\n ) {\n\t\tthis.setId(in_id);\n }",
"public Customer() {\n\n }",
"public Customer() // default constructor to initialize data\r\n\t{\r\n\t\tthis.address = null;\r\n\t\tthis.name = null;\r\n\t\tthis.phoneNumber = null;\r\n\t\t// intializes the data\r\n\t}",
"public Customer(String name, String email, String password, double amount, LocalDate regDate) {\r\n\t\tthis.custId = idCounter++;\r\n\t\tthis.name = name;\r\n\t\tthis.email = email;\r\n\t\tthis.password = password;\r\n\t\tthis.amount = amount;\r\n\t\tthis.regDate = regDate;\r\n\t}",
"public Customer build() {\n return new Customer(this);\n }",
"public CustomerObj(String user_first_name, String user_last_name, String user_email) {\n \n this.user_first_name = user_first_name;\n this.user_last_name = user_last_name;\n this.user_email = user_email;\n \n }",
"@Test\n\tpublic void create() {\n\t\t// Given\n\t\tString name = \"Mark\";\n\t\tString address = \"Auckland\";\n\t\tString telephoneNumber = \"0211616447\";\n\n\t\t// When\n\t\tICustomer customer = customerController.create(name, address, telephoneNumber);\n\n\t\t// Then\n\t\tAssert.assertNotNull(customer);\n\t}",
"public Customer(String name, String surname, String address, String email, long tel) {\n this.name = name;\n this.surname = surname;\n this.address = address;\n this.email = email;\n this.tel = tel;\n }",
"public MessageResponseCustomerDto createCustomer(CustomerDto customer);",
"private Customer parseNewCustomer(HttpServletRequest request, int cust_id){\n\t\t//parse new customer from request\n\t\tCustomer cust = new Customer();\n\t\tcust.setID(cust_id);\n\t\tcust.setFirstName(request.getParameter(\"first_name\"));\n\t\tcust.setLastName(request.getParameter(\"last_name\"));\n\t\tcust.setAddress(request.getParameter(\"address\"));\n\t\tcust.setCity(request.getParameter(\"city\"));\n\t\tcust.setState(request.getParameter(\"state\"));\n\t\tcust.setPhoneNumber(request.getParameter(\"phone\"));\n\t\treturn cust;\n\t}",
"public Customer(String name, double amount)\n {\n customer = name;\n sale = amount;\n }",
"public Customers(int customerId, String customerName, String customerAddress, String customerPostalCode,\n String customerPhone, int divisionId, String divisionName, int countryId, String countryName) {\n this.customerId = customerId;\n this.customerName = customerName;\n this.customerAddress = customerAddress;\n this.customerPostalCode = customerPostalCode;\n this.customerPhone = customerPhone;\n this.divisionId = divisionId;\n this.divisionName = divisionName;\n this.countryId = countryId;\n this.countryName = countryName;\n }",
"public Customer(int custId, String name, String email, String password, double amount, LocalDate regDate) {\r\n\t\tsuper();\r\n\t\tthis.custId = custId;\r\n\t\tthis.name = name;\r\n\t\tthis.email = email;\r\n\t\tthis.password = password;\r\n\t\tthis.amount = amount;\r\n\t\tthis.regDate = regDate;\r\n\t}",
"public Customer(String name, String address, String phoneNumber) {\r\n\t\tsuper(name, address, phoneNumber);\r\n\t\tsuper.setId(CUSTOMER_STRING + (IdServer.instance().getId()));\r\n\t}",
"public Customer(String address, String name, String phoneNumber) {\r\n\t\tsuper();\r\n\t\tthis.address = address;\r\n\t\tthis.name = name;\r\n\t\tthis.phoneNumber = phoneNumber;\r\n\t}",
"@Transactional\n\t@Override\n\tpublic Customer createCustomer(String name) {\n\t\t\n\t\tvalidateName(name);\n\t\tLocalDateTime now = LocalDateTime.now();\n\t\tAccount account = new Account(5000.0, now);\n\t\taccountRepository.save(account);\n\t\tSet<Item> set = new HashSet<>();\n\t\tCustomer customer = new Customer(name, account,set);\n\t\tcustRepository.save(customer);\n\t\treturn customer;\n\t\t\n\t}",
"@Override\n\tpublic Customers create(Customers newcust) {\n\t\tif (newcust.getId()!=null)\n\t\t{\n\t\t\treturn null;\n\t\t}\n\t\tCustomers savecust = CustRepo.save(newcust);\n\t\treturn savecust;\n\t}",
"public Customer(String FirstName, String LastName, String Address, String Nationality, String eMail, int phoneNumber) {\n\t\tthis.FirstName = FirstName ;\n\t\tthis.LastName = LastName ;\n this.Address = Address;\n this.Nationality = Nationality;\n this.eMail = eMail;\n this.phoneNumber = phoneNumber;\n\t}",
"public Customers(){\r\n \r\n }",
"public static Customer createNewCustomer(String fullName, Integer branchID )\n {\n return new Customer(fullName, branchID);\n }",
"public Customer(int id, String surname, String name, String patronymic, String address, int creditCardNumber, int bankAccountNumber) {\n this.id = id;\n this.surname = surname;\n this.name = name;\n this.patronymic = patronymic;\n this.address = address;\n this.creditCardNumber = creditCardNumber;\n this.bankAccountNumber = bankAccountNumber;\n }",
"@Override\r\n\tpublic void createAccount(Customer customer) {\n\t\tcustMap.put(customer.getMobileNo(),customer);\r\n\t\t\r\n\t}",
"@GetMapping(\"/new\")\n public String newCustomer(Model model) {\n Customer customer = new Customer();\n Address actualAddress = new Address();\n Address registeredAddress = new Address();\n customer.setActualAddress(actualAddress);\n customer.setRegisteredAddress(registeredAddress);\n model.addAttribute(CUSTOMER, customer);\n return NEW_VIEW;\n }",
"public Customer(int custNum) \n\t{\n\t\t// stores the randomly assigned task where 1 is buying stamps, 2 is mailing a letter, and 3 is mailing a package\n\t\ttask = (int)(Math.random()*3 )+ 1; // randomly generates a number from 1 to 3\n\t\tcustomerNumber = custNum; // keeps track of which customer this is\n\t}",
"public Customer(CustomerTransaction cust) {\n this.name = cust.getName();\n this.mobile = cust.getMobile();\n this.email = cust.getEmail();\n this.history = new ArrayList <CustomerTransaction>();\n history.add(cust);\n }",
"CustomerDto createCustomer(CustomerEntity customerEntity);",
"static Customer getCustomerWithId(int id){ return new Customer();}",
"private void loadCustomerData() {\n\t\tCustomerDTO cust1 = new CustomerDTO();\n\t\tcust1.setId(null);\n\t\tcust1.setFirstName(\"Steven\");\n\t\tcust1.setLastName(\"King\");\n\t\tcust1.setEmail(\"[email protected]\");\n\t\tcust1.setCity(\"Hyderabad\");\n\t\tcustomerService.createCustomer(cust1);\n\n\t\tCustomerDTO cust2 = new CustomerDTO();\n\t\tcust2.setId(null);\n\t\tcust2.setFirstName(\"Neena\");\n\t\tcust2.setLastName(\"Kochhar\");\n\t\tcust2.setEmail(\"[email protected]\");\n\t\tcust2.setCity(\"Pune\");\n\t\tcustomerService.createCustomer(cust2);\n\n\t\tCustomerDTO cust3 = new CustomerDTO();\n\t\tcust3.setId(null);\n\t\tcust3.setFirstName(\"John\");\n\t\tcust3.setLastName(\"Chen\");\n\t\tcust3.setEmail(\"[email protected]\");\n\t\tcust3.setCity(\"Bangalore\");\n\t\tcustomerService.createCustomer(cust3);\n\n\t\tCustomerDTO cust4 = new CustomerDTO();\n\t\tcust4.setId(null);\n\t\tcust4.setFirstName(\"Nancy\");\n\t\tcust4.setLastName(\"Greenberg\");\n\t\tcust4.setEmail(\"[email protected]\");\n\t\tcust4.setCity(\"Mumbai\");\n\t\tcustomerService.createCustomer(cust4);\n\n\t\tCustomerDTO cust5 = new CustomerDTO();\n\t\tcust5.setId(5L);\n\t\tcust5.setFirstName(\"Luis\");\n\t\tcust5.setLastName(\"Popp\");\n\t\tcust5.setEmail(\"[email protected]\");\n\t\tcust5.setCity(\"Delhi\");\n\t\tcustomerService.createCustomer(cust5);\n\n\t}",
"public Customer() {\n\t\tcustref++;\n\t}",
"void createACustomer() {\r\n\t\tSystem.out.println(\"\\nCreating a customer:\");\r\n\t\tEntityManager em = emf.createEntityManager();\r\n\t\tEntityTransaction tx = em.getTransaction();\r\n\t\tCustomer2 c1 = new Customer2(\"Ali\", \"Telli\");\r\n\t\ttx.begin();\r\n\t\tem.persist(c1);\r\n\t\ttx.commit();\r\n\t\tem.close();\r\n\t}",
"public Customer(String name, double initialAmount) { //constructor for our customer class\r\n this.name = name;\r\n addId++;\r\n this.custId=addId;\r\n this.transactions = new ArrayList<>();\r\n balance=initialAmount;\r\n transactions.add(initialAmount);\r\n }",
"public CustomerContract() {\n\n }",
"public static void createCustomer() throws IOException\r\n\t{\r\n\t\tclearScreen();\r\n\t\t\r\n\t\tSystem.out.println(\"[CUSTOMER CREATOR]\\n\");\r\n\t\tSystem.out.println(\"Enter the name of the customer you would like to create:\");\r\n\t\t\r\n\t\t// create a new customer with a user-defined name\r\n\t\tCustomer c = new Customer(inputString(false));\r\n\t\t// add the customer to the ArrayList\r\n\t\tcustomers.add(c);\r\n\t\t// display the edit screen for the customer\r\n\t\teditCustomer(c);\r\n\t}",
"private Customer buildCustomer (ResultSet resultSet) throws SQLException{\r\n long id = resultSet.getLong(1);\r\n String firstName =resultSet.getString(2);\r\n String lastName = resultSet.getString(3);\r\n String email = resultSet.getString(4);\r\n String password = resultSet.getString(5);\r\n return new Customer(id,firstName,lastName,email,password);\r\n }",
"private static BookingCustomer customerDetailsInput()\n\t{\n\t\t//constructor with initial values for the customer's informations\n\t\tBookingCustomer aClient = new BookingCustomer(\"Paludo\", 21, true);\n\t\t\n\t\t//new scanner\n\t\tScanner input = new Scanner(System.in);\n\t\t\n\t\t//asks the user to enter his/her information and uses the set methods to build the object\n\t\tSystem.out.println(\"Please enter your name:\");\n\t\taClient.setName(input.nextLine());\n\t\t\n\t\tSystem.out.println(\"Please enter your age:\");\n\t\taClient.setAge(input.nextInt());\n\t\t\n\t\t//asks if the student is a student\n\t\tSystem.out.println(\"Are you a student? (Y/N)\");\n\t\tchar yesNo = input.next().charAt(0);\n\t\t\n\t\t//if the answer is y\n\t\tif (yesNo == 'Y' || yesNo == 'y')\n\t\t{\n\t\t\t//is a student\n\t\t\taClient.setStudent(true);\n\t\t}\n\t\t//if the answer is n\n\t\telse if (yesNo == 'N' || yesNo == 'n')\n\t\t{\n\t\t\t//is not a student\n\t\t\taClient.setStudent(false);\n\t\t}\n\t\t\n\t\t//returns the client object\n\t\treturn\n\t\t\t\taClient;\n\t}",
"private Customer addCustomer(String title, String firstName, String lastName, String phone, String email, String addressLine1, String addressLine2, String city, String state, String postCode, String country) {\r\n out.print(title);\r\n out.print(firstName);\r\n out.print(lastName);\r\n out.print(phone);\r\n out.print(email);\r\n out.print(addressLine1);\r\n out.print(addressLine2);\r\n out.print(city);\r\n out.print(state);\r\n out.print(postCode);\r\n out.print(country);\r\n\r\n Customer customer = new Customer();\r\n customer.setCustomerTitle(title);\r\n customer.setCustomerFirstName(firstName);\r\n customer.setCustomerLastName(lastName);\r\n customer.setCustomerPhone(phone);\r\n customer.setCustomerEmail(email);\r\n customer.setCustomerAddressLine1(addressLine1);\r\n customer.setCustomerAddressLine2(addressLine2);\r\n customer.setCustomerCity(city);\r\n customer.setCustomerState(state);\r\n customer.setCustomerPostCode(postCode);\r\n customer.setCustomerCountry(country);\r\n\r\n em.persist(customer);\r\n return customer;\r\n }",
"public Customer()\n{\n this.firstName = \"noFName\";\n this.lastName = \"noLName\";\n this.address = \"noAddress\";\n this.phoneNumber = 0;\n this.emailAddress = \"noEmail\";\n \n}",
"public Customer(int id, String name, int age, String address) {\r\n super(id, name, age, address);\r\n }",
"@DOpt(type = DOpt.Type.ObjectFormConstructor)\n\t@DOpt(type = DOpt.Type.RequiredConstructor)\n\tpublic Customer( @AttrRef(\"name\") String name,\n\t\t\t@AttrRef(\"gender\") Gender gender,\n\t\t\t@AttrRef(\"dob\") Date dob, \n\t\t\t@AttrRef(\"address\") Address address, \n\t\t\t@AttrRef(\"email\") String email,\n\t\t\t@AttrRef(\"phone\") String phone) {\n\t\tthis(null, name, gender,dob, address, email, phone, null);\n\t}",
"public Customer(String name, String address, String phone) {\n\t\tthis.customerID = generateID(6);\n\t\tthis.name = name;\n\t\tthis.address = address;\n\t\tthis.phone = phone;\n\t}",
"public Customer(String customerName, String mobileNo, String email, Address address, String role) {\n\t\tsuper();\n\t\tthis.customerName = customerName;\n\t\tthis.mobileNo = mobileNo;\n\t\tthis.email = email;\n\t\tthis.address = address;\n\t\tthis.role = role;\n\t}",
"public Account(String customerName, String customerEmail, String customerPhone) {\n this(\"99999\", 100.55, customerName, customerEmail, customerPhone);\n // created from IntelliJ's Generate - but we used them inside of the constructor above, using \"this\"\n// this.customerName = customerName;\n// this.customerEmail = customerEmail;\n// this.customerPhone = customerPhone;\n }",
"public Customer(String CustomerDetails) throws CustomException \n {\n if(CustomerDetails.trim().length()==0)\n {\n throw new CustomException(\"Empty customer Details are not allowed.\");\n }\n\n String[] CustomerDetail = CustomerDetails.split(\", \");\n setCustomerId(Integer.parseInt(CustomerDetail[0]));\n setCustomerName(CustomerDetail[1]);\n setCustomerType(CustomerDetail[2]);\n }",
"public Customer(String name)\n {\n this.name = name;\n this.happy = 5;\n }",
"public Customer (\n\t\t Integer in_customerId\n\t\t) {\n\t\tsuper (\n\t\t in_customerId\n\t\t);\n\t}",
"protected Customers(int ID, String first, String last, Adress adress, String mail, String phone, int typeCusto) {\r\n // Bouml preserved body begin 00040A82\r\n\t this.adress = adress;\r\n\t this.firstName = first;\r\n\t this.lastName = last;\r\n\t this.phoneNumber = phone;\r\n this.email = mail;\r\n\t this.ID = ID;\r\n //Mdero\r\n this.typeCusto = typeCusto;\r\n // Bouml preserved body end 00040A82\r\n if (!customersMap.containsKey(ID)&&ID!=-1)\r\n customersMap.put(ID, this);\r\n }",
"public DemonstrationApp()\n {\n // Create Customers of all 3 types\n s = new Senior(\"alice\", \"123 road\", 65, \"555-5555\", 1);\n a = new Adult(\"stacy\", \"123 lane\", 65, \"555-1111\", 2);\n u = new Student(\"bob\", \"123 street\", 65, \"555-3333\", 3);\n \n //Create an account for each customer \n ca = new CheckingAccount(s,1,0);\n sa = new SavingsAccount(a,2,100);\n sav = new SavingsAccount(u,3,1000);\n \n //Create a bank\n b = new Bank();\n \n //Create a date object\n date = new Date(2019, 02, 12);\n }",
"public Customer(int customerID, String name, String address, String email){\n\t\t\n\t\tthis.customerID = customerID;\n\t\tthis.name = name;\n\t\tthis.address = address;\n\t\tthis.email = email;\n\t}",
"private static CreditRequest getRequestDataFromCustomer() {\n\t\treturn new CreditRequest(0, new Vector<Warrantor>(), null, null, null, null);\n\t}",
"public PhoneBill(String customerName) {\n this.customerName = customerName;\n }",
"private void createCustomer(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n\n String customerName = request.getParameter(\"CustomerName\");\n System.out.println(\"them mới id\"+ customerName);\n String customerBir = request.getParameter(\"CustomerBir\");\n String gender = request.getParameter(\"Gender\");\n int cusIdNum =Integer.parseInt(request.getParameter(\"CusIdNum\"));\n int cusTelNum = Integer.parseInt(request.getParameter(\"CusTelNum\"));\n String cusEmail = request.getParameter(\"CusEmail\");\n String address = request.getParameter(\"Address\");\n String customerTypeId = request.getParameter(\"CustomerTypeId\");\n System.out.println(\"them mới id\"+ customerName);\n Customer customer = new Customer(customerName,customerBir,gender,cusIdNum,cusTelNum,cusEmail,address, new CustomerType(customerTypeId));\n customerService.save(customer);\n showCustomerList(request,response);\n System.out.println(\"them mới\"+ customer);\n }",
"public CustomerController() {\n\t\tsuper();\n\n\t}",
"public void create(Customer c){\n Connection conn = ConnectionFactory.getConnection();\n PreparedStatement ppst = null;\n try {\n ppst = conn.prepareCall(\"INSERT INTO customer (name, id, phone) VALUES (?, ?, ?)\");\n ppst.setString(1, c.getName());\n ppst.setString(2, c.getId());\n ppst.setString(3, c.getPhone());\n ppst.executeUpdate();\n System.out.println(\"Customer created.\");\n } catch (SQLException e) {\n throw new RuntimeException(\"Creation error: \", e);\n } finally {\n ConnectionFactory.closeConnection(conn, ppst);\n }\n }",
"void createAndManageCustomer() {\r\n\t\tSystem.out.println(\"\\nCreating and managing a customer:\");\r\n\r\n\t\tEntityManager em = emf.createEntityManager();\r\n\t\tEntityTransaction tx = em.getTransaction();\r\n\t\tCustomer2 c = new Customer2(\"Sami\", \"Cemil\");\r\n\t\ttx.begin();\r\n\t\tem.persist(c);\r\n\t\ttx.commit();\r\n\t\tSystem.out.println(c);\r\n\t\t\r\n\t\ttx = em.getTransaction();\r\n\t\ttx.begin();\r\n\t\tc.setLastName(\"Kamil\");\r\n\t\ttx.commit();\r\n\t\tSystem.out.println(c);\r\n\t\tem.close();\r\n\t}",
"public CustomerAccount(int newAccountNo, String newCustName, String newCustAddr)\r\n\t{\r\n\t\t// Constructor chaining to simplify code\r\n\t\tthis(newAccountNo, newCustName, newCustAddr, DEFAULT_CREDIT_LIMIT);\r\n\t\t\r\n\t}",
"io.opencannabis.schema.commerce.OrderCustomer.Customer getCustomer();",
"public static CustomerDetailsDto getCustomerDetailsDto() {\n\t\treturn new CustomerDetailsDto();\n\t}",
"public CustomerReader() {\r\n }"
]
| [
"0.8009462",
"0.7875221",
"0.77576464",
"0.77576464",
"0.77576464",
"0.77576464",
"0.7633731",
"0.7484416",
"0.74595267",
"0.7402967",
"0.73134375",
"0.72889596",
"0.7245506",
"0.7230348",
"0.72225595",
"0.72157556",
"0.71989447",
"0.7181726",
"0.71312577",
"0.7119629",
"0.71193284",
"0.711102",
"0.70109546",
"0.699372",
"0.69429135",
"0.69358504",
"0.69358504",
"0.6929036",
"0.69040006",
"0.69040006",
"0.6903186",
"0.6902208",
"0.68887526",
"0.6876844",
"0.68671894",
"0.68282664",
"0.6823449",
"0.6808891",
"0.68063575",
"0.68020135",
"0.6790385",
"0.67799926",
"0.67391616",
"0.67388254",
"0.6733768",
"0.6656056",
"0.6629962",
"0.66255975",
"0.66210765",
"0.66180557",
"0.6616795",
"0.6608576",
"0.65997744",
"0.65971065",
"0.6593273",
"0.6584027",
"0.658279",
"0.65759254",
"0.6571989",
"0.65664274",
"0.6525919",
"0.6504448",
"0.6497764",
"0.64919704",
"0.64752156",
"0.6471582",
"0.6470767",
"0.64662474",
"0.64553374",
"0.644881",
"0.64393306",
"0.6424469",
"0.6422986",
"0.6417391",
"0.6404995",
"0.6403641",
"0.6398392",
"0.63942003",
"0.63802224",
"0.6363881",
"0.636176",
"0.6356995",
"0.6339775",
"0.6318531",
"0.6308637",
"0.63078207",
"0.6305151",
"0.6297553",
"0.6288251",
"0.62848365",
"0.6273019",
"0.62615925",
"0.6261485",
"0.6245085",
"0.6233176",
"0.62286156",
"0.6225273",
"0.6220131",
"0.62135756",
"0.62088144",
"0.62076503"
]
| 0.0 | -1 |
String representation of the receipt | public String toString(){
return storeName + "\n" +
storeAdress + "\n" +
date + "\n" +
time + "\n" +
itemList + "\n" +
"total price " + totalPrice + "\n" +
"total VAT price " + String.format("%.2f",totalVATPrice) + "\n" +
"payed amount " + cash + "\n" +
"money back " + change + "\n" +
"discount " + discount + "\n";
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public String toString() {\n return \"Receipt{id=\"\n + this.receiptId.toString()\n + \", \"\n + \"Time placed=\"\n + this.timePlaced\n + \", \"\n + \"StoreId=\"\n + this.cart.getStoreID()\n + \", \"\n + \"Pizzas=\"\n + this.cart.getPizzas()\n + \", \"\n + \"Sides=\"\n + this.cart.getSides()\n + \", \"\n + \"Total Amount=\"\n + this.cart.getTotalAmount()\n + \", \"\n + \"Card=card number ending with \"\n + this.card.getCardNumber().substring(this.card.getCardNumber().length() - 4)\n + \"}\";\n }",
"@Override\n public String toString() {\n return \"Receipt{\"\n + \"itemsReceived=\" + itemsReceived\n + \", itemsOutOfStock=\" + itemsOutOfStock\n + \", removedItems=\" + removedItems\n + '}';\n }",
"@Override\n public String toString()\n {\n String str = \"\";\n str += \"\\n********* Receipt *********\\n\";\n str += \"Order Number: \" + orderNum + \"\\nDate: \" + date + \"\\n\";\n str += \"Bartender: \" + bartenderName + \", \" + \"Customer: \" + customerName + \"\\n\";\n str += \"Drinks: \";\n\n for(DrinkAndQuantity d : drinksAndQuantities){\n str += d.toString() + \", \";\n }\n str = str.substring(0, str.length() - 2);\n \n //get payment info\n String payValue = \"\";\n String payType = \"\";\n if(paid){\n payValue = \" Yes,\";\n payType = paymentType;\n }else{\n payValue = \" No,\";\n payType = paymentType;\n }\n \n str += \"\\n\";\n str += \"Paid: \" + payValue + \" \" + paymentType;\n \n //get price\n NumberFormat formatter = NumberFormat.getCurrencyInstance();\n String totalCurrency = formatter.format(totalPrice);\n str += \"\\n\";\n str += \"Total: \" + totalCurrency;\n str += \"\\n***************************\\n\";\n return str;\n }",
"public String toString() {\n\t\treturn String.format(\"%.0f-%s note [%d]\", this.getValue(),this.getCurrency(),this.getSerial());\n\t}",
"public void printReceipt(){\n\t\t//TO DO\n\t\t\n\t}",
"public void printReceipt(Receipt receipt) {\n System.out.println(receipt.receiptInStringFormat());\n }",
"public void printReceipt(Receipt receipt){\n System.out.println(receipt.toString());\n }",
"public String toString()\n\t{\n\t\treturn String.format(\"%-25s%-15s\\n%-25s%-15s\\n%-25s%-15s\\n%-25s%-15d\\n%-25s%-15s\\n%-25s$%,-13.2f\", \n\t\t\t\t \t\t \t \"Name\", this.getName(), \"Address:\", this.getAddress(), \"Telephone number:\", this.getTelephone(), \n\t\t\t\t \t\t \t \"Customer Number:\", this.getCustNum(), \"Email notifications:\", this.getSignedUp() == true ? \"Yes\" : \"No\",\n\t\t\t\t \t\t \t \"Purchase amount:\", this.getCustomerPurchase());\n\t}",
"public String toString(){\n String reply = \"|\\n\";\n\t\t reply += \"| Product's name: \"+name+\"\\n\";\n\t\t reply += \"| Product's code: \"+code+\"\\n\";\n\t\t reply += \"| Water required for manufacture: \"+waterRequired4Manufacturing+\" litres\\n\";\n\t\t reply += \"| Units in inventory: \"+unitsInventory+\" COP\\n\";\n\t\t reply += \"|\\n\";\n\t\t reply += \"+-------------------------------------------------------------------------------------------------------------+\\n\";\n\t\t if (invima != null) {\n\t\t \treply += invima.toString();\n\t\t }\n\t\t\t \n\n\t\treturn reply;\n\n\t}",
"public String toString() {\n StringBuffer stringBuffer = new StringBuffer();\n stringBuffer.append(\"PrepaidDscrId: \" + _prepaidDscrId);\n stringBuffer.append(\"ProcessDt: \" + _processDt);\n stringBuffer.append(\"LocationCd: \" + _locationCd);\n stringBuffer.append(\"AwbNbr: \" + _awbNbr);\n stringBuffer.append(\"TinUniqId: \" + _tinUniqId);\n stringBuffer.append(\"CourierId: \" + _courierId);\n stringBuffer.append(\"PaymentCurrency: \" + _paymentCurrency);\n stringBuffer.append(\"FreightAmtInVisa: \" + _freightAmtInVisa);\n stringBuffer.append(\"DiscrepancyFound: \" + _discrepancyFound);\n stringBuffer.append(\"DiscrepancyAmt: \" + _discrepancyAmt);\n stringBuffer.append(\"ExchRate: \" + _exchRate);\n stringBuffer.append(\"DiscrepancyRsn: \" + _discrepancyRsn);\n stringBuffer.append(\"ShipDate: \" + _shipDate);\n stringBuffer.append(\"Pux16Amount: \" + _pux16Amount);\n stringBuffer.append(\"CouponAmount: \" + _couponAmount);\n stringBuffer.append(\"Comments: \" + _comments);\n stringBuffer.append(\"StatusId: \" + _statusId);\n stringBuffer.append(\"ManagerEmpId: \" + _managerEmpId);\n return stringBuffer.toString();\n }",
"public String toString() {\n StringBuffer sb = new StringBuffer();\n sb.append('{');\n sb.append(\" Volume=\" + volume());\n sb.append(\" Issue=\" + issue());\n sb.append(\" Pub Date=\" + pubDate());\n sb.append('}');\n return sb.toString();\n }",
"public String toString()\n\t{\n\t\treturn \"[MessageSentConfirmation] - \" + plate + \", \" + state + \", \" + text;\n\t}",
"@Override\n\tpublic String toString() {\n\t\tStringBuilder stringBuilder = new StringBuilder();\n\t\tstringBuilder\n\t\t\t\t.append(\"ID \").append(id).append(\"\\n\")\n\t\t\t\t.append(\"Date \").append(date).append(\"\\n\")\n\t\t\t\t.append(\"INVOICE_NUMBER \").append(invoiceNumber).append(\"\\n\")\n\t\t\t\t.append(\"CUSTOMER_ID \").append(customer.getId()).append(\"\\n\")\n\t\t\t\t.append(\"Name \").append(customer.getName()).append(\"\\n\")\n\t\t\t\t.append(\"Address \").append(customer.getAddress()).append(\"\\n\")\n\t\t\t\t.append(\"Products == \").append(\"\\n\");\n\t\tfor (Order o : orderList){\n\t\t\tstringBuilder\n\t\t\t\t\t.append(\"Product Manufac \").append(o.getManufacturer()).append(\"\\n\")\n\t\t\t\t\t.append(\"Product model \").append(o.getModel()).append(\"\\n\")\n\t\t\t\t\t.append(\"Product IEMI \").append(o.getImeiNumber()).append(\"\\n\")\n\t\t\t\t\t.append(\"Product Rate \").append(o.getRate()).append(\"\\n\")\n\t\t\t\t\t.append(\"Product ID\").append(o.getP().getId()).append(\"\\n\");\n\t\t}\n\t\tstringBuilder.append(\"Payment Mode \").append(paymentMode).append(\"\\n\");\n\t\treturn stringBuilder.toString();\n\t}",
"public String printableString()\r\n {\r\n String answer=\"\";\r\n answer=\"\\n Title:\\t\"+title+\"\\n Author:\\t\"+author+\"\\n Asking Price:\\t\"+askingPrice+\r\n \"\\n Purchased for:\\t\"+purchasePrice+\"\\n Date Acquired:\\t\"+dateAcquired+\"\\n Genre:\\t\"+genre+\"\\n Number on hand:\\t\"+bookCount+\"\\n\";\r\n return answer;\r\n }",
"public String getFormattedReceiptLabel() {\t \n\t String receiptLabel = res.getString(getReceiptLabel().getKey());\t \n\t int numberOfSpaces = ((totalLength - receiptLabel.length()) / 2);\t \n\t String prefix = \"\";\n\t String postfix = \"\";\n\t for(int i = 0; i < numberOfSpaces; i++) {\n\t\t prefix += \" \";\n\t\t postfix += \" \";\n\t }\n\t receiptLabel = prefix + receiptLabel + postfix;\t \n\t return receiptLabel;\n }",
"public String toString(){\n\t String output = String.format(\"Ticket ##: %d\\nPrice: $%.2f\\n\", this.ticketNumber, this.getPrice());\n\t\treturn output;\n\t}",
"public String getStringRecord() {\n NumberFormat nf = new DecimalFormat(\"0000.00\");\n String delimiter = \",\";\n\n return String.format(\"%05d\", orderLineId) + delimiter + String.format(\"%05d\", orderId) + delimiter\n + String.format(\"%05d\", userId) + delimiter + String.format(\"%05d\", productId) + delimiter\n + String.format(\"%05d\", orderLineQuantity) + delimiter + nf.format(salesPrice)\n + System.getProperty(\"line.separator\");\n }",
"public String toString() {\r\n\t\tString s = \"\";\r\n\t\tfor(String t : transactions) {\r\n\t\t\ts += t + \"\\n\";\r\n\t\t}\r\n\t\treturn s;\r\n\t}",
"private static void displayReceipt()\r\n\t{\r\n\t\tSystem.out.println(\"__________________________________________________________\");\r\n\t\tSystem.out.println(\"Receipt \");\r\n\t\tSystem.out.println(\"__________________________________________________________\");\r\n\t\tSystem.out.println(\"Waiter/waitress: \"+name);\r\n\t\tSystem.out.println(\"Table Number: \"+tableNo);\r\n\t\tSystem.out.println(\"__________________________________________________________\");\r\n\t\tSystem.out.println(\"ID Item Name Unit Price Quantity Sub-total\");\r\n\t\tSystem.out.println(\"__________________________________________________________\");\r\n\t\tBillingSystemFormatter.receiptFormatter(orderList,menu,subTotalList);\r\n\t\tSystem.out.println(\"__________________________________________________________\");\r\n\t\tBillingSystemFormatter.billFormatter(total, tax, tip, grandTotal);\r\n\t}",
"public String getDetailString()\n {\n short type = this.getType();\n StringBuffer buffer = new StringBuffer(PriceAdjustmentTypes.toString(type));\n switch(type)\n {\n case PriceAdjustmentTypes.SPLIT:\n buffer.append(\": \");\n buffer.append(this.getSplitNumerator()).append(\" for \").append(this.getSplitDenominator());\n break;\n // SYMBOL_CHANGE and MERGER only change the product symbol\n case PriceAdjustmentTypes.SYMBOL_CHANGE:\n case PriceAdjustmentTypes.MERGER:\n buffer.append(\": \");\n String symbol = getNewProductSymbol();\n if (symbol!=null && symbol.length() > 0)\n {\n buffer.append(\"New Symbol: \").append(symbol);\n }\n else\n {\n buffer.append(\"No Symbol Change.\");\n }\n break;\n case PriceAdjustmentTypes.DIVIDEND_CASH:\n buffer.append(\": \");\n buffer.append('$').append(this.getCashDividend().toString());\n break;\n case PriceAdjustmentTypes.DIVIDEND_STOCK:\n buffer.append(\": \");\n buffer.append(this.getStockDividend().toString()).append(\" shares.\");\n break;\n case PriceAdjustmentTypes.DIVIDEND_PERCENT:\n buffer.append(\": \");\n buffer.append(this.getStockDividend().toString()).append('%');\n break;\n case PriceAdjustmentTypes.COMMON_DISTRIBUTION:\n break;\n case PriceAdjustmentTypes.LEAP_ROLLOVER:\n break;\n default:\n break;\n }\n return buffer.toString();\n }",
"public String toString()\n {\n \treturn \"\" + purchases;\n }",
"@Override\r\n\tpublic String toString() {\r\n\t\tString chaine = \"\\t * Transaction * \\t\\n\";\r\n\t\tchaine = chaine + \"[somme : \"+ this.somme + \"] \";\r\n\t\tchaine = chaine + \"[payeur : \"+ this.payeur + \"] \";\r\n\t\tchaine = chaine + \"[receveur :\"+ this.receveur + \"] \";\r\n\t\treturn chaine;\r\n\t}",
"@Override\n\tpublic String toString() {\n\t\treturn description + \", \" + billAmount + \", \" + tipAmount + \", \" + totalAmount;\n\t}",
"@Override\r\n public String toString()\r\n {\r\n return String.format(\"%s: %n%s: %s (%s) %n%s: %d %n%s: $%,.2f\", \r\n \"invoice\", \"part number\", getPartNumber(), getPartDescription(), \r\n \"quantity\", getQuantity(), \"price per item\", getPricePerItem());\r\n }",
"public String toString() {\n if (displayString == null)\n {\n displayString = this.exchange + ':' + this.firmNumber + ':' + classKey;\n }\n return displayString;\n }",
"public String toString() {\r\n int totalPrice = 0;\r\n for (Ticket ticket : tickets) {\r\n totalPrice += ticket.price;\r\n }\r\n StringBuilder stringBuilder = new StringBuilder();\r\n stringBuilder.append(\"Costo totale : \").append(totalPrice);\r\n stringBuilder.append(String.format(\" Itinerario numero: \", itinerary.id+1));\r\n for (Ticket ticket : tickets) {\r\n stringBuilder.append(String.format(\"(Ticket numero %d prezzo %d) + \",ticket.ticketNumber, ticket.price));\r\n }\r\n if (tickets.size() == 0)\r\n stringBuilder.append(\"Itinerario non possibile\");\r\n else\r\n stringBuilder.setLength(stringBuilder.length()-2);\r\n return stringBuilder.toString();\r\n\r\n }",
"@Override\n public String toString()\n {\n \tStringBuilder sb = new StringBuilder();\n\n \tsb.append( mSDF.format( new Date() ) );\n\n \tsb.append( \" MPT1327 \" );\n \t\n \tsb.append( getParity() );\n\n \tsb.append( \" \" );\n \t\n \tsb.append( getMessage() );\n \t\n \tsb.append( getFiller( sb, 100 ) );\n \t\n \tsb.append( \" [\" + mMessage.toString() + \"]\" );\n \t\n \treturn sb.toString();\n }",
"public String toString(){\n\n\t\tString toString=super.toString();\n\t\ttoString+=\"\\n\tEncuestas: \"+calculateSurveyQuantity();\n\t\treturn toString;\n\n\t}",
"@Override\n public String toString(){\n String printString = profile.toString();\n printString = printString + \"Payment $\";\n printString = printString + payDue;\n return printString;\n }",
"public String toString() {\n String ret = \"\\n*****\" + title + \"*****\" + \"\\n\" + description + \"\\nBusiness Contact: \" + contact\n + \"\\nSupply List: \";\n for (String supply : supplies) {\n ret += \"\\n-\" + supply;\n }\n ret += \"\\nPrice: $\" + price + \"\\n\";\n return ret;\n }",
"public String toString() {\n\n\t\tfinal StringBuilder buffer = new StringBuilder();\n\n\t\tbuffer.append(\"affCustAlgmntId=[\").append(affCustAlgmntId).append(\"] \");\n\t\tbuffer.append(\"custAlgmntId=[\").append(custAlgmntId).append(\"] \");\n\n\t\treturn buffer.toString();\n\t}",
"public String toString() {\n final StringBuilder buffer = new StringBuilder() ;\n final DecimalFormat df = new DecimalFormat( \"#00.00\" ) ;\n\n buffer.append( StringUtil.rightPad( this.symbol, 20 ) ) ;\n buffer.append( StringUtil.leftPad( \"\" + getNumActiveCashUnits(), 5 ) ) ;\n buffer.append( StringUtil.leftPad( df.format( this.avgCashUnitPrice ), 10 ) ) ;\n buffer.append( StringUtil.leftPad( df.format( this.realizedProfit ), 10 ) ) ;\n buffer.append( StringUtil.leftPad( df.format( getUnRealizedCashProfit() ), 10 ) ) ;\n\n return buffer.toString() ;\n }",
"@Override\n\tpublic String toString()\n\t{\n\t\treturn new String(bytes);\n\t}",
"@Override\n public String toTransmissionString() {\n return toHexString();\n }",
"@Override\n public String toString() {\n return payment; \n }",
"public String toString(){\n\n\t\tString msg =\"\";\n\t\tmsg += super.toString()+\"\\n\";\n\t\tmsg +=\"El tipo de servicio es: \"+typeOfService+\"\\n\";\n\t\tmsg +=\"La cantidad de kiloWatts registrada es: \"+kiloWatts+\"\\n\";\n\t\tmsg +=\"Cantidad de arboles que deben plantar: \"+calculatedConsuption()+\"\\n\";\n\n\t return msg;\n\t}",
"@Override\n public String toString(){\n return \"\\n\"+String.valueOf(orderId) + \" $\"+String.valueOf(amount)+ \" Name:\"+String.valueOf(vendor);\n }",
"public String toString()\n\t{\n\t\treturn Printer.stringify(this, false);\n\t}",
"public String toString() {\r\n return \"Product: \" + this.product + \", Amount: \" + this.amount;\r\n }",
"public String getreceiptnum() {\n return (String) getAttributeInternal(RECEIPTNUM);\n }",
"@Override\n public String toString() {\n StringBuilder builder = new StringBuilder();\n if(validItem) {\n builder.append(amount);\n builder.append(\"x\\t\" + itemInfo.getName() + \"\\n\");\n builder.append(\"Item description:\\n\" + itemInfo.getDescription() + \"\\n\");\n } else {\n builder.append(\"INVALID ITEM\\n\");\n }\n builder.append(\"Running total: \");\n builder.append(salePrice);\n builder.append(\"\\n\");\n return builder.toString();\n }",
"public String toString() {\n\t\tString s1,s2,s3,s4;\r\n\t\ts1 = \"{FIR ID: \"+id + \"\\nname= \" + name + \", phone number=\" + phone_no \r\n\t\t\t\t+\"\\nDate: \"+filing_date+\", Address: \" +address\r\n\t\t\t\t+\"\\nFIR Category: \"+category;\r\n\t\t\r\n\t\tif(statement_uploaded) {\r\n\t\t\ts2 = \", Statement Uploaded\";\r\n\t\t}\r\n\t\telse {\r\n\t\t\ts2 = \", Statement Not Uploaded\";\r\n\t\t}\r\n\t\tif(id_proof_uploaded) {\r\n\t\t\ts3 = \", ID Proof Uploaded\";\r\n\t\t}\r\n\t\telse {\r\n\t\t\ts3 = \", ID Proof Not Uploaded\";\r\n\t\t}\r\n\t\ts4 = \"\\nStatus : \"+status+\"}\";\r\n\t\treturn s1+s2+s3+s4;\r\n\t}",
"public String toString(){\n\t\treturn \"Title: \" + title + \"\\nAuthor: \" + author + \"\\nSubject: \" + subject + \"\\nisbn: \" + \n\t\t\t\t\tisbn + String.format( \"\\nPrice: $%.2f\", cost );\n\t}",
"public void printReceipt(){\n sale.updateExternalSystems();\n sale.printReceipt(totalCost, amountPaid, change);\n }",
"private void generateReceipt(){\n ArrayList<Product> productList = cart.getProductList();\n ArrayList<Float> costsList = cart.getCostsList();\n for (int i=0; i<productList.size(); i++){\n String quantity = \"\"+productList.get(i).getQuantity();\n String name = \"\"+productList.get(i).getName();\n String cost = \"\"+Math.round(costsList.get(i) * 100.0) / 100.0;\n //String cost = \"\"+costsList.get(i);\n \n reciept.addLine(quantity+\" \"+name+\": \"+cost);\n }\n \n reciept.addLine(\"Total Taxes: \"+Math.round(cart.getTotalTax() * 100.0) / 100.0);\n reciept.addLine(\"Total: \"+ Math.round((cart.getTotalTax()+cart.getTotalCost()) * 100.0) / 100.0);\n // print reciept\n }",
"public String toString() {\n\t\treturn \"Lend ID: \" + getID() + \" \\n\" + myBook.toString() +\"\\n \" + \"due: \" + getReturnDate();\n\t}",
"public String toString()\n\t{\n\treturn\n\t\t\t//is the customer a student ? \"Yes, do it\" : \"No, do it\"\n\t\t\t\"CUSTOMER DETAILS: \" + this.name + \" age: \" + this.age + \" Student? \" + (this.isStudent ? \"Yes\" : \"No\")\n\t\t\t+ \"\\n\" + \n\t\t\t//returns the final price of the ticket using the get method\n\t\t\t//the String.format gives the decimal ccurrent format for currency\n\t\t\tString.format(\"TOTAL COST: $%1.2f\", cost())\n\t\t\t+ \"\\n\" + \n\t\t\t\"------------------------------------------------------------\";\n\t}",
"@Override\r\n\tpublic String toStringFormat() {\n\t\treturn transactionId + \" \" + merhcantId\r\n\t\t\t\t+ \" \" + transactionVolume + \" \" + transactionAmount\r\n\t\t\t\t+ \" \" + transactionDate+\"\\n\";\r\n\t}",
"public String getPopReceipt() {\n\t\treturn m_PopReceipt;\n\t}",
"@Override\n public String toString() {\n int width = DessertShoppe.RECEIPT_WIDTH; //get the width of the receipt\n int widthCand = width - (super.getName()).length(); //get the width of the candy receipt\n\n //get all of the information needed to output for the given candy\n String output = this.weight + \" lbs. @ $\" + DessertShoppe.cents2dollarsAndCents(this.pricePerLbs) + \" /lb. \\n\" + super.getName();\n String candCost = DessertShoppe.cents2dollarsAndCents(this.getCost()); //get the cost of the candy\n output += String.format(\"%\" + widthCand + \"s%n\", candCost); //format the line to fi properly to the receipt\n return output; //return the formatted output\n }",
"public String toString() {\n return \" Carta [numero=\" + numero + \", seme=\" + seme + \" ,valore= \"+valore+\" , punti= \"+punti+\"] \";\n }",
"public String toString() {\n\t\treturn String.format(\"Id: %s\\nContent: %s\\nInsertion Time: %s\\nExpiration Time: %s\\nDequeue Count: %s\\nPop Receipt: %s\\nNext Visible Time: %s\\n\",\n\t\t\t\tm_MessageId,\n\t\t\t\tthis.getAsString(),\n\t\t\t\tm_InsertionTime,\n\t\t\t\tm_ExpirationTime,\n\t\t\t\tm_DequeueCount,\n\t\t\t\tm_PopReceipt,\n\t\t\t\tm_NextVisibleTime);\n\t}",
"public String toString () {\n String lLineFeed = System.getProperty(\"line.separator\");\n StringBuffer lStringBuffer = new StringBuffer();\n lStringBuffer.append (lLineFeed);\n lStringBuffer.append (\"***************************************************\" + lLineFeed);\n lStringBuffer.append (\" Order Appeasement \" + lLineFeed);\n lStringBuffer.append (\"Appeasement ID .................. \" + getId() + lLineFeed); \n lStringBuffer.append (\"Appeasement Code ................ \" + getAppeaseCode() + lLineFeed); \n lStringBuffer.append (\"Appeasement Description ......... \" + getAppeaseDescription() + lLineFeed); \n lStringBuffer.append (\"Reference ....................... \" + getReference() + lLineFeed); \n lStringBuffer.append (\"Appeasement Date ................ \" + getAppeaseDate() + lLineFeed); \n lStringBuffer.append (\"Amount .......................... \" + getAmount() + lLineFeed); \n lStringBuffer.append (\"***************************************************\");\n return lStringBuffer.toString();\n }",
"public String toString(){\n StringBuffer sb = new StringBuffer();\n sb.append(\"*****\" + title + \"*****\");\n sb.append( \"\\n\" + description + \"\\n\");\n sb.append(\"Business Contact: \" + contact + \"\\n\");\n sb.append(\"Supply List: \\n\");\n for (String s : supplies){\n sb.append(\"- \"+ s + \"\\n\");\n\n }\n sb.append(\"Price: $\" + price + \"\\n\");\n return sb.toString();\n }",
"public String toString() {\n\t\treturn \"[\"+this.produto + \"]\" + \"[\"+ this.preco + \"]\"+\"[\"+ this.quantidade+\"]\";\n\t\t\t\t\n\t}",
"String getReceiptId();",
"public String toString()\n {\n \tString text = \"------------------------\\n\";\n \ttext += \"Name: \" + name + \"\\n\";\n \ttext += \"Phone Number: \" + formatPhoneNumber(phoneNumber) + \"\\n\";\n \ttext += \"Email: \" + email + \"\\n\";\n \tif (!notes.equals(\"\"))\n \t{\n \t\ttext += \"Notes:\\n\" + notes + \"\\n\";\n \t}\n \treturn text;\n }",
"public String setReceiptTpsString()\n\t{\n\t\treturn BP_SECRET_KEY + BP_MERCHANT + RECEIPT_FORM_ID + RETURN_URL + DBA + AMEX_IMAGE + DISCOVER_IMAGE + RECEIPT_TPS_DEF;\n\t}",
"@Override\n public String toString() {\n String output = quantity + \" x \" + product;\n\n return output;\n }",
"public String toString() {\n String s = \"Message <OctopusCollectedMsg> \\n\";\n try {\n s += \" [moteId=0x\"+Long.toHexString(get_moteId())+\"]\\n\";\n } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ }\n try {\n s += \" [count=0x\"+Long.toHexString(get_count())+\"]\\n\";\n } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ }\n try {\n s += \" [reading=0x\"+Long.toHexString(get_reading())+\"]\\n\";\n } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ }\n try {\n s += \" [quality=0x\"+Long.toHexString(get_quality())+\"]\\n\";\n } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ }\n try {\n s += \" [parentId=0x\"+Long.toHexString(get_parentId())+\"]\\n\";\n } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ }\n try {\n s += \" [reply=0x\"+Long.toHexString(get_reply())+\"]\\n\";\n } catch (ArrayIndexOutOfBoundsException aioobe) { /* Skip field */ }\n return s;\n }",
"public String toString() {\r\n\t\treturn super.display() + \"\\n\" + listAllCards() + \r\n\t\t\t\t\"Purchased tickets: \\n\" + listAllTickets() +\r\n\t\t\t\t\"___________________________________________\";\r\n\t}",
"@Override public String toString() {\n return(trackingNumber + \" \" + type + \" \" + specification + \" \" + mailing + \" \" + weight + \" \" + volume);\n }",
"public String toString() {\n String output = \"\\nName: \" + name;\n output += \"\\nType: \" + type;\n output += \"\\nContact Details: \" + contactNo;\n output += \"\\nEmail address: \" + email;\n output += \"\\nResidentail Address: \" + address;\n\n return output;\n }",
"@Override\n public String toString() {\n StringBuffer sb = new StringBuffer(\"[ApptranregFeesAud |\");\n sb.append(\" atrfAudUid=\").append(getAtrfAudUid());\n sb.append(\"]\");\n return sb.toString();\n }",
"public String showReceipt(Account account);",
"@Override\n public String toString() {\n String string = \"Donor name: \" + name + \" id \" + donorID + \"phone \" + phoneNumber;\n string += \" donated: [\";\n string += \"] transactions: [\";\n for (Iterator iterator = transactions.iterator(); iterator.hasNext();) {\n string += (Transaction) iterator.next();\n }\n string += \"]\";\n return string;\n }",
"@Override\n public String toString() {\n StringBuilder sb = new StringBuilder();\n sb.append(\"{\");\n if (getName() != null)\n sb.append(\"Name: \").append(getName()).append(\",\");\n if (getPhoneNumber() != null)\n sb.append(\"PhoneNumber: \").append(\"***Sensitive Data Redacted***\").append(\",\");\n if (getEmail() != null)\n sb.append(\"Email: \").append(\"***Sensitive Data Redacted***\").append(\",\");\n if (getIdentificationNumber() != null)\n sb.append(\"IdentificationNumber: \").append(getIdentificationNumber()).append(\",\");\n if (getIdentificationExpirationDate() != null)\n sb.append(\"IdentificationExpirationDate: \").append(getIdentificationExpirationDate()).append(\",\");\n if (getIdentificationIssuingOrg() != null)\n sb.append(\"IdentificationIssuingOrg: \").append(getIdentificationIssuingOrg()).append(\",\");\n if (getDevicePickupId() != null)\n sb.append(\"DevicePickupId: \").append(getDevicePickupId());\n sb.append(\"}\");\n return sb.toString();\n }",
"public String toString() {\n\t\treturn getUserName() + \" quote: \" + getProduct() + \" \" + buy.getPrice() + \" x \" + buy.getRemainingVolume() \n\t\t\t\t+ \" (Original Vol: \" + buy.getOriginalVolume() + \", CXL'd Vol: \" + buy.getCancelledVolume()\n\t\t\t\t+ \") [\" + buy.getId() + \"]\"+ \" - \" + sell.getPrice() + \" x \" + sell.getRemainingVolume()\n\t\t\t\t+ \" (Original Vol: \" + sell.getOriginalVolume() + \", CXL'd Vol: \" + sell.getCancelledVolume()\n\t\t\t\t+ \") [\" + sell.getId() + \"]\";\n\t}",
"public String toString(){\n\t\t\tString x = (roomnumber + \" \" + nop + \" \" + equipment + \" \" + price + \" \" + priceoffer + \" \" + rating);\n\t\t\treturn x;\n\t\t}",
"@Override\n\tpublic String toString()\n\t{\n\t\tint qty = quantity;\n\n\t\tif ( qty > 999 )\n\t\t\tqty = 999;\n\n\t\treturn Utility.pad(title, TITLE_LENGTH) + ' ' + Utility.pad(qty, QUANTITY_LENGTH) + ' ' + status.getCode() + ' ' + Utility.pad(price, PRICE_LENGTH);\n\t}",
"public String toString(){\n return invoiceStatus;\n }",
"public String toString() {\n String str = \"Manufacturer: \" + manufacturer + \"\\n\";\n str += \"Serial Number: \" + serialNumber + \"\\n\";\n str += \"Date: \" + manufacturedOn + \"\\n\";\n str += \"Name: \" + name;\n return str;\n }",
"public String toString()\n {\n /**\n * Set the format as [timestamp] account number : command\n */\n String transaction = \"[\" + timestamp + \"] \" + accountInfo.getAccountNumber() + \" : \" + command.name(); \n \n /**\n * Return the string.\n */\n return transaction;\n }",
"@Override\r\n\tpublic String toString()\r\n\t{\r\n\t\treturn new String(\"Le prix:\"+this.cost+\", Le tpsRep: \"+this.tpsRep);\r\n\t}",
"public String toString(){\r\n\t\tString a, b, c, d;\r\n\r\n\t\ta = \"Book ID: \" + (new Integer(id)).toString() + \"\\n\";\r\n\t\tb = \"Book Title: \" + title + \"\\n\";\r\n\t\tc = \"Book Author: \" + author + \"\\n\";\r\n\t\td = \"Book Date: \" + dateToString(dateOfPublication) + \"\\n\";\r\n\t\t\r\n\t\treturn a + b + c + d;\r\n\t}",
"public String toString() {\n return (\"Item: \" + itemCode + \" \" + itemName + \" \" + itemQuantityInStock + \" price: $\" + df.format(itemPrice) +\" cost: $\"+ df.format(itemCost) + \" farm supplier: \" + farmName);\n }",
"public String toString() {\n String result = \"\";\n // for each item in stock\n for (int i = 0; i < this._noOfItems; i++) {\n // add \\n (line down) for prev. item if it's not the first item\n if (i > 0)\n result += \"\\n\";\n // add it's toString result to the final result string\n result += this._stock[i].toString();\n }\n return result;\n }",
"@Override\n public String toString() {\n return product.toString() + \", Quantity: \" + quantity;\n }",
"public String toTransmissionString() {\n return this.toHexString();\n }",
"public void printReceipt() {\n Alert alert = new Alert(Alert.AlertType.CONFIRMATION,\"Would you like a receipt?\",ButtonType.YES,ButtonType.NO);\n Optional<ButtonType> result = alert.showAndWait();\n if (result.get() == ButtonType.YES) {\n try {\n String element = \"\";\n int height = 200;\n int length = 0;\n for (int i = 0; i < getItemList().size(); i++) {\n element += getItemList().get(i).toString() + \" \"+System.getProperty(\"line.separator\");\n height += 20;\n }\n String text = \"Receipt \" + System.getProperty(\"line.separator\")\n + System.getProperty(\"line.separator\") + \"Items: \" + System.getProperty(\"line.separator\")\n + element + System.getProperty(\"line.separator\") + \"Total: \" + getTotalCost();\n char[] array = text.toCharArray();\n System.out.println(array);\n length += array.length;\n BufferedImage bi = imageGenerator.createImageWithText(array, length, height);\n File outputfile = new File(\"receipt.png\");\n ImageIO.write(bi, \"png\", outputfile);\n\n } catch (Exception e) {\n e.printStackTrace();\n }\n } else{\n alert.close();\n }\n }",
"public String toStringOrder(){\n\t\treturn \" CustomerID: \" + customerID + \"\\n Name: \" + name + \"\\n Address: \" + address + \"\\n Email: \" + email + \"\\n\\n\";\n\t}",
"public String toString(){\n\t\tString msg = \"\";\n\t\tmsg += messageInfo[0] + \" \" + messageInfo[1] + \" \" + messageInfo[2] + \"\\n\";\n\t\tif (!headerLines.isEmpty()){\n\t\t\tfor (int i = 0; i < headerLines.size(); i++){\n\t\t\t\tmsg += headerLines.get(i).get(0) + \" \" + headerLines.get(i).get(1) + \"\\n\";\n\t\t\t}\n\t\t}\n\t\tmsg += \"\\n\";\n\t\tif (entity.length > 0){\n\t\t\t\tmsg += entity;\n\t\t}\n\t\treturn msg;\n\t}",
"public String toString() {\n\treturn \"--------------------\" +\n\t\t\t\"\\n ID: \" + this.book_id +\n\t\t\t\"\\n Title: \" + this.title +\n\t\t\t\"\\n Author: \" + this.author +\n\t\t\t\"\\n Year: \" + this.year +\n\t\t\t\"\\n Edition: \" + this.edition +\n\t\t\t\"\\n Publisher: \" + this.publisher +\n\t\t\t\"\\n ISBN: \" + this.isbn +\n\t\t\t\"\\n Cover: \" + this.cover +\n\t\t\t\"\\n Condition: \" + this.condition +\n\t\t\t\"\\n Price: \" + this.price +\n\t\t\t\"\\n Notes: \" + this.notes +\n\t\t\t\"\\n--------------------\";\n}",
"public String toString(){\n\t\treturn String.format(\"Address: %s\\nType: %s\\nPrice: %.2f\\nOwner: %s\",getAddress(),getType(),getPrice(),getOwner());\n\t}",
"public String toString(){\r\n String output = \"\";\r\n //Display the name \r\n output += this.name;\r\n //Turn the cost int in cents to a string in dollars\r\n String totalcost = DessertShoppe.cents2dollarsAndCents(getCost());\r\n //Print out a space between the name and where the cost needs to be\r\n for (int i = this.name.length(); i < DessertShoppe.RECEIPT_WIDTH - totalcost.length(); i++){\r\n output+=\" \";\r\n }\r\n //Print outt he cost string with the dollar sign\r\n output += totalcost;\r\n return output;\r\n \r\n }",
"public String toString() {\n return \"\" + this.prodCode;\n }",
"public String toString() {\n return \"\" + data;\n }",
"@Override\r\n\tpublic String toString() {\r\n\t\tJsonObject jo = new JsonObject();\r\n\t\t\r\n\t\tjo.addProperty(\"IssuerInfo\", issuerInfo.toString());\r\n\t\tjo.addProperty(\"SubjectInfo\", subjectInfo.toString());\r\n\t\tjo.addProperty(\"AccessRights\", accessRights.toString());\r\n\t\tjo.addProperty(\"ResourceID\", resourceId);\r\n\t\tjo.addProperty(\"ValidityCondition\", validityCondition.toString());\r\n\t\tjo.addProperty(\"RevocationURL\", revocationUrl);\r\n\t\tString sig = \"\";\r\n\t\tfor(byte b : digitalSignature){\r\n\t\t\tsig = sig + Integer.toHexString(0xFF & b);\r\n\t\t}\r\n\t\tjo.addProperty(\"DigitalSignature\", sig);\r\n\t\t\r\n\t\treturn jo.toString();\r\n\t}",
"@Override\n public String toString() {\n // TODO: Using Serializer\n return Serializer.toByteArray(this).toString();\n }",
"@Override\n\tpublic String toString() {\n\t\treturn getSenderPk()+\":\"+getAmount()+\":\"+getReceiverPk();\n\t}",
"@Override\n\tpublic String toString() {\n\t\treturn (\" ReqId : \" + reqId + \"\\n\" + \" User id : \"\n\t\t\t\t+ userId + \"\\n\" + \" Cub no : \" + cubicleNo + \"\\n\"\n\t\t\t\t+ \" Dept : \" + department + \"\\n\"\n\t\t\t\t+ \" Location : \" + location + \"\\n\"\n\t\t\t\t+ \" Req by date : \" + requiredByDate + \"\\n\"\n\t\t\t\t+ \" Req type id : \" + reqTypeId + \"\\n\"\n\t\t\t\t+ \" Justification : \" + justification + \"\\n\"\n\t\t\t\t+ \" Rejection reasn : \" + rejectionReason + \"\\n\"\n\t\t\t\t+ \" Cancel reason : \" + cancellationReason + \"\\n\"\n\t\t\t\t+ \" Requested date : \" + requestedDate + \"\\n\"\n\t\t\t\t+ \" Assigned date : \" + assignedDate + \"\\n\"\n\t\t\t\t+ \" Comited date : \" + committedDate + \"\\n\"\n\t\t\t\t+ \" Completed date : \" + completedDate + \"\\n\"\n\t\t\t\t+ \" Status id : \" + statusId + \"\\n\" + \"\\n\\n----------------------------------------------------------\\n\\n\");\n\n\t}",
"public String toString() {\n\t\treturn accNum + \" $\" + balance + \" \" + rate + \" \" + numWithdraws;\n\t}",
"public String toString(){\n\t\tStringBuilder output = new StringBuilder();\n\t\tfor (int i=13; i<=16; i++){\n\t\t\toutput.append(linesAndStores[i].makeString());\n\t\t\toutput.append(\"\\n\");\n\t\t}\n\t\treturn output.toString();\n\t}",
"public String toString()\n\t{\n\t\tString result = \"\";\n\t\tresult += this.data;\n\t\treturn result;\n\t}",
"public String rtvAsString()\n\t{\n\t\t// any lines to return?\n\t\tif (lines.size() == 0)\n\t\t{\n\t\t\treturn printerFormatter.rtvJournalNotFound();\n\t\t}\n\n\t\t// Concatenate the list\n\t\tStringBuffer str = new StringBuffer();\n\t\tfor (int i = 0; i < lines.size(); i++)\n\t\t{\n\t\t\tstr.append(lines.get(i) + EqDataType.GLOBAL_DELIMETER);\n\t\t}\n\t\treturn str.toString();\n\t}",
"public String toString() {\n\t\treturn \"\\t\" + this.getName() + \" \" + this.getAmount();\n\t}",
"public String toString(){\n\n\tString msg =\"\";\n\n\tmsg += super.toString()+\"\\n\";\n\tmsg +=\"El tipo de servicio es: \"+typeOfService+\"\\n\";\n\tmsg +=\"La cantidad de kiloWatts registrada es: \"+kiloWatts+\"\\n\";\n\tmsg +=\"Cantidad de arboles que deben plantar: \"+calculatedConsuption()+\"\\n\";\n\tmsg += \"---------------------------------------------------------\";\n\n\n return msg;\n}",
"public String toString()\n {\n \tNumberFormat fmt = NumberFormat.getCurrencyInstance();\n \tString item;\n \tif (name.length() >= 8)\n \t\titem = name + \"\\t\";\n \telse\n \t\titem = name + \"\\t\\t\";\n \treturn (item + \" \" + fmt.format(price) + \"\\t \" + quantity \n \t\t\t+ \"\\t\\t\" + fmt.format(price*quantity));\n }",
"public String toString() {\n if (this.data.isEmpty()) {\n return super.toString();\n }\n return BytesUtil.bytes2HexString(toBinary());\n }",
"public String toString()\r\n\t{\r\n\t\tString s = \"Volume Name: \" + volumeName + \" \" + \"Number of Books: \" + numberOfBooks + \"\\n\";\r\n\r\n\t\ts = s + getBookArray();\r\n\t\treturn s;\r\n\t}"
]
| [
"0.82281166",
"0.76183575",
"0.75832903",
"0.7067822",
"0.70301",
"0.70113873",
"0.6938025",
"0.69065315",
"0.68554735",
"0.6723561",
"0.6684764",
"0.6660978",
"0.665914",
"0.6656704",
"0.6635744",
"0.661372",
"0.66024905",
"0.65171516",
"0.6484765",
"0.648467",
"0.647133",
"0.645438",
"0.64537805",
"0.64512897",
"0.6438234",
"0.6423363",
"0.6417506",
"0.6411145",
"0.63700426",
"0.6345619",
"0.63438046",
"0.6340801",
"0.6339629",
"0.63352984",
"0.6333214",
"0.6330513",
"0.63299596",
"0.6329226",
"0.63270843",
"0.63223135",
"0.6319375",
"0.631759",
"0.63131",
"0.63124794",
"0.6306447",
"0.6298051",
"0.62936366",
"0.627739",
"0.6269798",
"0.62579197",
"0.62449515",
"0.62442696",
"0.62329394",
"0.62319964",
"0.62269396",
"0.62257254",
"0.621783",
"0.6214385",
"0.6209306",
"0.6191947",
"0.6191944",
"0.61914426",
"0.6190766",
"0.6190368",
"0.6178858",
"0.6173177",
"0.6170653",
"0.6169643",
"0.6169197",
"0.61690336",
"0.61552703",
"0.61530244",
"0.61389655",
"0.61291826",
"0.61264795",
"0.61246717",
"0.6124465",
"0.61153257",
"0.61143124",
"0.61140805",
"0.61060405",
"0.6100403",
"0.60982114",
"0.6095829",
"0.6093503",
"0.60843664",
"0.60812736",
"0.6076258",
"0.60755694",
"0.6074949",
"0.6072605",
"0.60659295",
"0.605747",
"0.60500765",
"0.6046923",
"0.6045751",
"0.60451853",
"0.6042061",
"0.60370076",
"0.60357255"
]
| 0.6805525 | 9 |
TODO Autogenerated method stub | @Override
public void onClick(View v) {
Activity_number.this.finish();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExras() {\n\n\t}",
"@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}",
"@Override\n\tpublic void entrenar() {\n\t\t\n\t}",
"@Override\n\tpublic void nadar() {\n\t\t\n\t}",
"@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}",
"@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}",
"@Override\n\tprotected void interr() {\n\t}",
"@Override\n\tpublic void emprestimo() {\n\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\n\tpublic void gravarBd() {\n\t\t\n\t}",
"@Override\r\n\tpublic void rozmnozovat() {\n\t}",
"@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}",
"@Override\n protected void getExras() {\n }",
"@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}",
"@Override\n\tpublic void nefesAl() {\n\n\t}",
"@Override\n\tpublic void ligar() {\n\t\t\n\t}",
"@Override\n public void func_104112_b() {\n \n }",
"@Override\n\tprotected void initdata() {\n\n\t}",
"@Override\n\tpublic void nghe() {\n\n\t}",
"@Override\n public void function()\n {\n }",
"@Override\n public void function()\n {\n }",
"public final void mo51373a() {\n }",
"@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}",
"@Override\n public void inizializza() {\n\n super.inizializza();\n }",
"@Override\n\tprotected void initData() {\n\t\t\n\t}",
"@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}",
"@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}",
"public void designBasement() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}",
"public void gored() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\r\n\t}",
"@Override\n\tpublic void einkaufen() {\n\t}",
"@Override\n protected void initialize() {\n\n \n }",
"public void mo38117a() {\n }",
"@Override\n\tprotected void getData() {\n\t\t\n\t}",
"Constructor() {\r\n\t\t \r\n\t }",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void one() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"private stendhal() {\n\t}",
"@Override\n\tprotected void update() {\n\t\t\n\t}",
"@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n public void init() {\n\n }",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\n\tpublic void debite() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"public contrustor(){\r\n\t}",
"@Override\n\tprotected void initialize() {\n\n\t}",
"@Override\r\n\tpublic void dispase() {\n\r\n\t}",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"@Override\n\tpublic void dtd() {\n\t\t\n\t}",
"@Override\n\tprotected void logic() {\n\n\t}",
"@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}",
"public void mo4359a() {\n }",
"@Override\r\n\tprotected void initialize() {\n\r\n\t}",
"@Override\n public void memoria() {\n \n }",
"@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}",
"private RepositorioAtendimentoPublicoHBM() {\r\t}",
"@Override\n protected void initialize() \n {\n \n }",
"@Override\r\n\tpublic void getProposition() {\n\r\n\t}",
"@Override\n\tpublic void particular1() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n protected void prot() {\n }",
"@Override\r\n\tpublic void init()\r\n\t{\n\t}",
"@Override\n\tprotected void initValue()\n\t{\n\n\t}",
"public void mo55254a() {\n }"
]
| [
"0.6671074",
"0.6567672",
"0.6523024",
"0.6481211",
"0.6477082",
"0.64591026",
"0.64127725",
"0.63762105",
"0.6276059",
"0.6254286",
"0.623686",
"0.6223679",
"0.6201336",
"0.61950207",
"0.61950207",
"0.61922914",
"0.6186996",
"0.6173591",
"0.61327106",
"0.61285484",
"0.6080161",
"0.6077022",
"0.6041561",
"0.6024072",
"0.6020252",
"0.59984857",
"0.59672105",
"0.59672105",
"0.5965777",
"0.59485507",
"0.5940904",
"0.59239364",
"0.5910017",
"0.5902906",
"0.58946234",
"0.5886006",
"0.58839184",
"0.58691067",
"0.5857751",
"0.58503544",
"0.5847024",
"0.58239377",
"0.5810564",
"0.5810089",
"0.5806823",
"0.5806823",
"0.5800025",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5792378",
"0.5790187",
"0.5789414",
"0.5787092",
"0.57844025",
"0.57844025",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5774479",
"0.5761362",
"0.57596046",
"0.57596046",
"0.575025",
"0.575025",
"0.575025",
"0.5747959",
"0.57337177",
"0.57337177",
"0.57337177",
"0.5721452",
"0.5715831",
"0.57142824",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.57140535",
"0.5711723",
"0.57041645",
"0.56991017",
"0.5696783",
"0.56881124",
"0.56774884",
"0.56734604",
"0.56728",
"0.56696945",
"0.5661323",
"0.5657007",
"0.5655942",
"0.5655942",
"0.5655942",
"0.56549734",
"0.5654792",
"0.5652974",
"0.5650185"
]
| 0.0 | -1 |
Test of extractTaxonomy method, of class TransTaxoExtract. | @Test
public void testExtractTaxonomy() throws Exception {
System.out.println("extractTaxonomy");
Set<String> terms = new HashSet<>();
terms.add("");
terms.add("a");
terms.add("b");
terms.add("c");
terms.add("ab");
terms.add("ac");
terms.add("abc");
terms.add("ba");
terms.add("bd");
TransTaxoExtract instance = new TransTaxoExtract(new TestSupervisedTaxo(), 0.5);
Taxonomy result = instance.extractTaxonomy(terms);
assertEquals("", result.root);
assertEquals(3, result.children.size());
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Test\n\tpublic void testSearchIteratorDenormalizedFilter(){\n\t\t\n\t\tRegionQueryPart regionQueryPart = new RegionQueryPart();\n\t\tregionQueryPart.setRegion(new String[]{\"AB\",\"bc\"});\n\t\t//allof should be read : give me all the native and ephemere of AB and BC\n\t\tregionQueryPart.setRegionSelector(RegionSelector.ALL_OF);\n\t\t\n\t\tIterator<Map<String,Object>> taxonIt = taxonDAO.searchIteratorDenormalized(-1, null, null, regionQueryPart, NATIVE_EPHEMERE_STATUSES, null, false, null);\n\t\tassertTrue(taxonIt.hasNext());\n\t\t\n\t\tList<String> mockTaxonNameList = extractMockTaxonNameFromMap(taxonIt);\n\t\tassertTrue(mockTaxonNameList.containsAll(Arrays.asList(new String[]{MOCK1_AUTHOR,MOCK3_AUTHOR})));\n\t\tassertFalse(mockTaxonNameList.contains(MOCK2_AUTHOR));\n\t\t\n\t\t//anyof should be read : give me any of the native and ephemere of AB or BC\n\t\tregionQueryPart.setRegionSelector(RegionSelector.ANY_OF);\n\t\ttaxonIt = taxonDAO.searchIteratorDenormalized(-1, null, -1, regionQueryPart, NATIVE_EPHEMERE_STATUSES, null, false, null);\n\t\tassertTrue(extractMockTaxonNameFromMap(taxonIt).containsAll(Arrays.asList(new String[]{MOCK1_AUTHOR,MOCK2_AUTHOR,MOCK3_AUTHOR})));\n\t\t\n\t\t//only_in should be read : give me the native and ephemere that are only native or ephemere in AB or BC\n\t\tregionQueryPart.setRegionSelector(RegionSelector.ONLY_IN);\n\t\ttaxonIt = taxonDAO.searchIteratorDenormalized(-1, null, -1, regionQueryPart, NATIVE_EPHEMERE_STATUSES, null, false, null);\n\t\tmockTaxonNameList = extractMockTaxonNameFromMap(taxonIt);\n\t\tassertTrue(mockTaxonNameList.containsAll(Arrays.asList(new String[]{MOCK3_AUTHOR, MOCK5_AUTHOR})));\n\t\tassertEquals(2, mockTaxonNameList.size());\n\t\t\n\t\t//only_in and setSearchOnlyInCanada should be read : give me the native and ephemere that are only native or ephemere in AB or BC (ignoring Greenland and St-Pierre)\n\t\tregionQueryPart.setRegionSelector(RegionSelector.ONLY_IN);\n\t\tregionQueryPart.setSearchOnlyInCanada(true);\n\t\ttaxonIt = taxonDAO.searchIteratorDenormalized(-1, null, -1, regionQueryPart, NATIVE_EPHEMERE_STATUSES, null, false, null);\n\t\tmockTaxonNameList = extractMockTaxonNameFromMap(taxonIt);\n\t\tassertTrue(mockTaxonNameList.containsAll(Arrays.asList(new String[]{MOCK3_AUTHOR, MOCK4_AUTHOR, MOCK5_AUTHOR, MOCK6_AUTHOR, MOCK7_AUTHOR})));\n\t\tassertEquals(5, mockTaxonNameList.size());\n\t\t\n\t\t//all of, only in and setSearchOnlyInCanada should be read : give me the native,ephemere that are only native or ephemere in AB and BC (ignoring Greenland and St-Pierre status)\n\t\tregionQueryPart.setRegionSelector(RegionSelector.ALL_OF_ONLY_IN);\n\t\tregionQueryPart.setSearchOnlyInCanada(true);\n\t\ttaxonIt = taxonDAO.searchIteratorDenormalized(-1, null, -1, regionQueryPart, NATIVE_EPHEMERE_STATUSES, null, false, null);\n\t\tmockTaxonNameList = extractMockTaxonNameFromMap(taxonIt);\n\t\tassertTrue(mockTaxonNameList.containsAll(Arrays.asList(new String[]{MOCK3_AUTHOR, MOCK4_AUTHOR, MOCK5_AUTHOR})));\n\t\tassertEquals(3, mockTaxonNameList.size());\n\t\t\n\t\t//all of, only in should be read : give me the native,ephemere that are only native or ephemere in AB and BC (including Greenland and St-Pierre status)\n\t\tregionQueryPart.setRegionSelector(RegionSelector.ALL_OF_ONLY_IN);\n\t\tregionQueryPart.setSearchOnlyInCanada(false);\n\t\ttaxonIt = taxonDAO.searchIteratorDenormalized(-1, null, -1, regionQueryPart, NATIVE_EPHEMERE_STATUSES, null, false, null);\n\t\tmockTaxonNameList = extractMockTaxonNameFromMap(taxonIt);\n\t\tassertTrue(mockTaxonNameList.containsAll(Arrays.asList(new String[]{MOCK3_AUTHOR, MOCK5_AUTHOR})));\n\t\tassertEquals(2, mockTaxonNameList.size());\n\t\t\n\t\t//test taxonid filter\n\t\tregionQueryPart.setRegionSelector(RegionSelector.ALL_OF);\n\t\ttaxonIt = taxonDAO.searchIteratorDenormalized(-1, null, 1, regionQueryPart, NATIVE_EPHEMERE_STATUSES, null, false, null);\n\t\tmockTaxonNameList = extractMockTaxonNameFromMap(taxonIt);\n\t\tassertTrue(mockTaxonNameList.containsAll(Arrays.asList(new String[]{MOCK1_AUTHOR})));\n\t}",
"@Test\n public void testRegistrarTax() throws Exception {\n Line line = new Line(LineItemType.Tax, \"\", \"\", \"Amazon Registrar\", \"\", \"\", \"Tax for product code AmazonRegistrar\", PricingTerm.none, \"2021-04-19T23:59:59Z\", \"2022-04-19T00:00:00Z\", \"1\", \"5.25\", \"\");\n line.setTaxFields(\"VAT\", \"AWS EMEA SARL\");\n ProcessTest test = new ProcessTest(line, Result.hourly, 31);\n Datum[] expected = {\n new Datum(CostType.tax, a2, Region.GLOBAL, null, registrar, Operation.getOperation(\"Tax - VAT\"), \"Tax - AWS EMEA SARL\", 5.25, 1),\n };\n test.run(\"2021-03-01T00:00:00Z\", expected);\n }",
"public Taxonomy getInterests();",
"@Test\n\tpublic void testSearchIteratorDenormalized(){\n\t\tIterator<Map<String,Object>> taxonIt = taxonDAO.searchIteratorDenormalized(-1, null, null, null, null, new String[]{\"class\"}, false, null);\n\t\t\n\t\tassertTrue(taxonIt.hasNext());\n\t\tMap<String,Object> row = null;\n\t\tint qty=0;\n\t\twhile(taxonIt.hasNext()){\n\t\t\trow = taxonIt.next();\n\t\t\tqty++;\n\t\t}\n\t\tassertEquals(1, qty);\n\t\tassertEquals(new Integer(73), (Integer)row.get(\"id\"));\n\t\tassertEquals(\"class\", (String)row.get(\"rank\"));\n\t}",
"public abstract void calcuteTax(Transfer aTransfer);",
"public void buildTaxonomyTree(String name){\n IndexHits<Node> foundNodes = findTaxNodeByName(name);\n Node firstNode = null;\n if (foundNodes.size() < 1){\n System.out.println(\"name '\" + name + \"' not found. quitting.\");\n return;\n } else if (foundNodes.size() > 1) {\n System.out.println(\"more than one node found for name '\" + name + \"'not sure how to deal with this. quitting\");\n } else {\n for (Node n : foundNodes)\n firstNode = n;\n }\n TraversalDescription CHILDOF_TRAVERSAL = Traversal.description()\n \t\t .relationships( RelTypes.TAXCHILDOF,Direction.INCOMING );\n \t\tSystem.out.println(firstNode.getProperty(\"name\"));\n \t\tJadeNode root = new JadeNode();\n \t\troot.setName(((String) firstNode.getProperty(\"name\")).replace(\" \", \"_\"));\n \t\tHashMap<Node,JadeNode> nodes = new HashMap<Node,JadeNode>();\n \t\tnodes.put(firstNode, root);\n \t\tint count =0;\n \t\tfor(Relationship friendrel : CHILDOF_TRAVERSAL.traverse(firstNode).relationships()){\n \t\t\tcount += 1;\n \t\t\tif (nodes.containsKey(friendrel.getStartNode())==false){\n \t\t\t\tJadeNode node = new JadeNode();\n \t\t\t\tnode.setName(((String) friendrel.getStartNode().getProperty(\"name\")).replace(\" \", \"_\").replace(\",\", \"_\").replace(\")\", \"_\").replace(\"(\", \"_\").replace(\":\", \"_\"));\n \t\t\t\tnodes.put(friendrel.getStartNode(), node);\n \t\t\t}\n \t\t\tif(nodes.containsKey(friendrel.getEndNode())==false){\n \t\t\t\tJadeNode node = new JadeNode();\n \t\t\t\tnode.setName(((String)friendrel.getEndNode().getProperty(\"name\")).replace(\" \", \"_\").replace(\",\", \"_\").replace(\")\", \"_\").replace(\"(\", \"_\").replace(\":\", \"_\"));\n \t\t\t\tnodes.put(friendrel.getEndNode(),node);\n \t\t\t}\n \t\t\tnodes.get(friendrel.getEndNode()).addChild(nodes.get(friendrel.getStartNode()));\n \t\t\tif (count % 100000 == 0)\n \t\t\t\tSystem.out.println(count);\n \t\t}\n \t\tJadeTree tree = new JadeTree(root);\n \t\tPrintWriter outFile;\n \t\ttry {\n \t\t\toutFile = new PrintWriter(new FileWriter(\"taxtree.tre\"));\n \t\t\toutFile.write(tree.getRoot().getNewick(false));\n \t\t\toutFile.write(\";\\n\");\n \t\t\toutFile.close();\n \t\t} catch (IOException e) {\n \t\t\te.printStackTrace();\n \t\t}\n \t}",
"@Test\n\tpublic void testLoadTaxonModel(){\n\t\tTaxonModel taxon = taxonDAO.loadTaxon(73, false);\n\t\tassertEquals(\"Equisetopsida\",taxon.getUninomial());\n\t\t//validate joins\n\t\tassertEquals(\"accepted\",taxon.getStatus().getStatus());\n\t\tassertEquals(\"Class\",taxon.getRank().getRank());\n\t\t\n\t\t//validate taxonomy\n\t\tTaxonModel childTaxon = null;\n\t\tIterator<TaxonModel> taxonIt = taxon.getChildren().iterator();\n\t\twhile(taxonIt.hasNext()){\n\t\t\tchildTaxon = taxonIt.next();\n\t\t\t//try to find back Equisetidae (id == 26)\n\t\t\tif(childTaxon.getId().intValue() == 26){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\t//validate distribution\n\t\tint qty = 0;\n\t\tIterator<DistributionModel> distIt = taxon.getDistribution().iterator();\n\t\twhile(distIt.hasNext()){\n\t\t\tdistIt.next();\n\t\t\tqty++;\n\t\t}\n\t\tassertTrue(qty > 2);\n\t\t\n\t\tassertEquals(\"Equisetidae\",childTaxon.getUninomial());\n\t\tassertEquals(\"accepted\",childTaxon.getStatus().getStatus());\n\t\tassertEquals(\"Subclass\",childTaxon.getRank().getRank());\n\t\t\n\t\tassertEquals(new Integer(73),childTaxon.getParents().get(0).getId());\n\t\t\n\t\tList<TaxonModel> taxonList = taxonDAO.loadTaxonByName(\"Equisetopsida\");\n\t\tassertEquals(new Integer(73),taxonList.get(0).getId());\n\t\t\n\t\t//test loadTaxonList(...)\n\t\tList<TaxonModel> taxonModelList = taxonDAO.loadTaxonList(Arrays.asList(new Integer[]{73,26}));\n\t\tassertTrue(taxonModelList.get(0).getId().equals(73) || taxonModelList.get(0).getId().equals(26));\n\t\tassertTrue(taxonModelList.get(1).getId().equals(73) || taxonModelList.get(1).getId().equals(26));\n\t}",
"public void classifyTaxonomy(ReasonerTaskListener taskListener) throws DIGReasonerException;",
"private DefaultMutableTreeNode buildTaxonNode() {\n LoggerFactory.LogInfo(\"buildTaxaNode\");\n SortableTreeNode taxonomyNode = new SortableTreeNode(\"TAXONOMY\");\n TaxaLookup.getInstance().populate(\"taxons.bin\");\n for (TaxonEntity taxa : TaxaLookup.getInstance().getList()) {\n addFirstTaxa(taxonomyNode, taxa);\n }\n\n TaxaLookup.getInstance().populate(\"echinodermata.bin\");\n SortableTreeNode animaliaNode = null;\n animaliaNode = findChild(taxonomyNode, \"Animalia(Animals)\");\n for (TaxonEntity taxa : TaxaLookup.getInstance().getList()) {\n addTaxa(animaliaNode, taxa);\n }\n\n TaxaLookup.getInstance().populate(\"decapoda.bin\");\n if (animaliaNode == null) {\n animaliaNode = taxonomyNode;\n }\n for (TaxonEntity taxa : TaxaLookup.getInstance().getList()) {\n addTaxa(animaliaNode, taxa);\n }\n\n TaxaLookup.getInstance().populate(\"test.bin\");\n for (TaxonEntity taxa : TaxaLookup.getInstance().getList()) {\n addTaxa(animaliaNode, taxa);\n }\n\n\n //TaxaLookup.getInstance().writeToXML();\n return taxonomyNode;\n }",
"@Secured({ \"IS_AUTHENTICATED_ANONYMOUSLY\", \"ACL_SECURABLE_READ\" })\n Taxon getTaxon( BioAssaySet bioAssaySet );",
"private void parseWSCTaxonomyFile(String fileName) {\n\t\ttry {\n\t \tFile fXmlFile = new File(fileName);\n\t \tDocumentBuilderFactory dbFactory = DocumentBuilderFactory.newInstance();\n\t \tDocumentBuilder dBuilder = dbFactory.newDocumentBuilder();\n\t \tDocument doc = dBuilder.parse(fXmlFile);\n\t \tElement taxonomy = (Element) doc.getChildNodes().item(0);\n\n\t \tprocessTaxonomyChildren(null, taxonomy.getChildNodes());\n\t\t}\n\n\t\tcatch (ParserConfigurationException e) {\n System.out.println(\"Taxonomy file parsing failed...\");\n\t\t}\n\t\tcatch (SAXException e) {\n System.out.println(\"Taxonomy file parsing failed...\");\n\t\t}\n\t\tcatch (IOException e) {\n System.out.println(\"Taxonomy file parsing failed...\");\n\t\t}\n\t}",
"@Test\n\tpublic void testGetAcceptedTaxon(){\n\t\tList<Object[]> taxonInfo = taxonDAO.getAcceptedTaxon(1);\n\t\tassertEquals(1,taxonInfo.size());\n\t\tassertEquals(new Integer(73),taxonInfo.get(0)[0]);\n\t}",
"public void Taxidentificaiton(String itemnum){\t\r\n\t\tString searchitem = getValue(itemnum);\r\n\t\tString countryspecific_tax = \"Italy\";\r\n\t\tclass Local {};\r\n\t\tReporter.log(\"TestStepComponent\"+Local.class.getEnclosingMethod().getName());\r\n\t\tReporter.log(\"TestStepInput:-\"+searchitem);\r\n\t\tReporter.log(\"TestStepOutput:-\"+\"NA\");\r\n\t\tReporter.log(\"TestStepExpectedResult:- Taxidentificaiton should be entered in the Tax field\");\r\n\t\ttry{\r\n\t\t\t//editSubmit(locator_split(\"txtSearch\"));\r\n\t\t\tif((countryspecific_tax).contains(countries.get(countrycount))){\r\n\t\t\t\tThread.sleep(3000);\r\n\t\t\t\twaitforElementVisible(locator_split(\"Checkouttax\"));\r\n\t\t\t\tclearWebEdit(locator_split(\"Checkouttax\"));\r\n\t\t\t\tsendKeys(locator_split(\"Checkouttax\"), searchitem);\r\n\t\t\t\tReporter.log(\"PASS_MESSAGE:- Item is searched in the search box\");}\r\n\t\t\telse{\r\n\t\t\t\tReporter.log(\"PASS_MESSAGE:- Taxidentificaiton is not applicable for this country\");\r\n\t\t\t}\r\n\r\n\t\t}\r\n\t\tcatch(Exception e){\r\n\t\t\tReporter.log(\"FAIL_MESSAGE:- Item is not entered in the search box \"+elementProperties.getProperty(\"Tax\"));\r\n\t\t\tthrow new NoSuchElementException(\"The element with \"\r\n\t\t\t\t\t+ elementProperties.getProperty(\"Tax\").toString().replace(\"By.\", \" \")\r\n\t\t\t\t\t+ \" not found\");\r\n\r\n\t\t}\r\n\t}",
"private void populateTaxonomyTree() {\n\t\tfor (Node s: serviceMap.values()) {\n\t\t\taddServiceToTaxonomyTree(s);\n\t\t}\n\t}",
"@Test\n public void test18() {\n\n List<Integer> services = response.extract().path(\"data.findAll{it.name=='Fargo'}.zip\");\n System.out.println(\"------------------StartingTest---------------------------\");\n System.out.println(\"The name of all services:\" + services);\n System.out.println(\"------------------End of Test---------------------------\");\n }",
"public boolean importTaxData() {\n\t\treturn importData(\"/tax/taxSetup.impex\");\n\t}",
"private List<String> extractMockTaxonNameFromLookup(Iterator<TaxonLookupModel> it){\n\t\tList<String> mockTaxonList = new ArrayList<String>();\n\t\tString calname;\n\t\twhile(it.hasNext()){\n\t\t\tcalname = it.next().getCalname();\n\t\t\tif(calname.startsWith(MOCK_TAXON_NAME)){\n\t\t\t\tmockTaxonList.add(calname);\n\t\t\t}\n\t\t}\n\t\treturn mockTaxonList;\n\t}",
"public void setTaxcopy(String taxcopy) {\r\n this.taxcopy = taxcopy;\r\n }",
"@Test\r\n \tpublic void testDoubleExtraction () {\n \t\t\r\n \t\tArrayList<InputDocument> list = new ArrayList<InputDocument>();\r\n \t\t\r\n \t\tlist.add(new InputDocument(root + \"csv_test1.txt\", \"\"));\r\n \t\tlist.add(new InputDocument(root + \"csv_test2.txt\", \"\"));\r\n \t\tlist.add(new InputDocument(root + \"csv_testc.txt\", \"\"));\r\n \t\tlist.add(new InputDocument(root + \"csv_test3.txt\", \"\"));\r\n \t\tlist.add(new InputDocument(root + \"csv.txt\", \"\"));\r\n \t\tlist.add(new InputDocument(root + \"csv2.txt\", \"\"));\r\n \t\tlist.add(new InputDocument(root + \"csv3.txt\", \"\"));\r\n \t\tlist.add(new InputDocument(root + \"CSVTest_96.txt\", \"\"));\r\n \t\tlist.add(new InputDocument(root + \"CSVTest_97.txt\", \"\"));\r\n \t\tlist.add(new InputDocument(root + \"CSVTesting01.csv\", \"\"));\r\n \t\t\r\n \t\tRoundTripComparison rtc = new RoundTripComparison();\r\n \t\tassertTrue(rtc.executeCompare(filter, list, \"UTF-8\", locEN, locFR));\r\n \t}",
"@Test public void term_value_01() {\n RDF_Term rt = testTermValue(\"123\") ;\n assertEquals(rt.getTermCase(), TermCase.VALINTEGER);\n assertEquals(123, rt.getValInteger()) ;\n }",
"@Test\n public void testGetTurmas() {\n System.out.println(\"getTurmas\");\n Curso instance = null;\n Collection<Turma> expResult = null;\n Collection<Turma> result = instance.getTurmas();\n assertEquals(expResult, result);\n // TODO review the generated test code and remove the default call to fail.\n fail(\"The test case is a prototype.\");\n }",
"@Test\n public void testGetTotalTax() {\n double expResult = 4.0;\n double result = receipt.getTotalTax();\n assertEquals(expResult, result, 0.0);\n }",
"@Test\n public void term_tag() throws AtlasBaseException {\n SearchParameters params = new SearchParameters();\n params.setTermName(SALES_TERM+\"@\"+SALES_GLOSSARY);\n params.setClassification(METRIC_CLASSIFICATION);\n\n List<AtlasEntityHeader> entityHeaders = discoveryService.searchWithParameters(params).getEntities();\n\n Assert.assertTrue(CollectionUtils.isNotEmpty(entityHeaders));\n for(AtlasEntityHeader e : entityHeaders){\n System.out.println(e.toString());\n }\n assertEquals(entityHeaders.size(), 4);\n }",
"public void setTaxcopy(String taxcopy) {\r\n\t\tthis.taxcopy = taxcopy;\r\n\t}",
"public void testGetRelevantTerms408() throws IOException {\n String narr = \"The date of the storm, the area affected, and the extent of \\n\" +\n \"damage/casualties are all of interest. Documents that describe\\n\" +\n \"the damage caused by a tropical storm as \\\"slight\\\", \\\"limited\\\", or\\n\" +\n \"\\\"small\\\" are not relevant. \";\n ArrayList<ArrayList<String>> result = getRelevantTermsHelper(narr);\n assertTrue(result.get(0).toString().equals(\"[date, storm, area, affected, extent, damage, casualties, damage, caused, tropical, storm]\"));\n assertTrue(result.get(1).toString().equals(\"[slight, limited, small]\"));\n }",
"public boolean isTaxIncluded();",
"@Test(enabled = false, description = \"test Unirest http client \")\n public void shouldCombineIntegrationAndUiTest() throws UnirestException {\n Map<String, Object> formData = new HashMap<>();\n formData.put(\"action\", \"blog_option\");\n formData.put(\"blog_option[category]\", \"trends\");\n formData.put(\"blog_option[role]\", \"null\");\n String blogResponse = Unirest.post(\"https://jelvix.com/wp-admin/admin-ajax.php\")\n .fields(formData)\n .asString()\n .getBody();\n\n List<String> responseHashtags = JsonPath.read(blogResponse, \"$.posts[*].hashtags[0]\");\n\n HttpResponse<JsonNode> response = Unirest.post(\"https://jelvix.com/wp-admin/admin-ajax.php\")\n .fields(formData)\n .asJson();\n assertTrue(response.getStatus() >= 200 && response.getStatus() <= 208);\n// pageBlog.clickTheFilterButton(\"TRENDS\");\n// pageBlog.isAllArticlesSortedByCorrectTag()\n\n\n }",
"private void parseWSCTaxonomyFile(String fileName) {\n\t\ttry {\n\t\t\tFile fXmlFile = new File(fileName);\n\t\t\tDocumentBuilderFactory dbFactory = DocumentBuilderFactory.newInstance();\n\t\t\tDocumentBuilder dBuilder = dbFactory.newDocumentBuilder();\n\t\t\tDocument doc = dBuilder.parse(fXmlFile);\n\t\t\tNodeList taxonomyRoots = doc.getChildNodes();\n\n\t\t\tprocessTaxonomyChildren(null, taxonomyRoots);\n\t\t}\n\n\t\tcatch (ParserConfigurationException e) {\n\t\t\tSystem.err.println(\"Taxonomy file parsing failed...\");\n\t\t}\n\t\tcatch (SAXException e) {\n\t\t\tSystem.err.println(\"Taxonomy file parsing failed...\");\n\t\t}\n\t\tcatch (IOException e) {\n\t\t\tSystem.err.println(\"Taxonomy file parsing failed...\");\n\t\t}\n\t}",
"@Test\n public void testUbicarNodo() {\n System.out.println(\"ubicarNodo\");\n Nodo miNodo = null;\n Nodo aux2 = null;\n Huffman instance = null;\n Nodo expResult = null;\n Nodo result = instance.ubicarNodo(miNodo, aux2);\n assertEquals(expResult, result);\n // TODO review the generated test code and remove the default call to fail.\n \n }",
"@Before\n\tpublic void setUp() throws Exception {\n\t\tcatalogTestPersister = persisterFactory.getCatalogTestPersister();\n\t\tsettingsTestPersister = persisterFactory.getSettingsTestPersister();\n\t\ttaxCode = persisterFactory.getTaxTestPersister().getTaxCode(TaxTestPersister.TAX_CODE_GOODS);\n\t}",
"public String getTaxcategory() {\r\n return taxcategory;\r\n }",
"int countByExample(TdxCompanyTaxArrearsExample example);",
"private RDF_Term testTerm(Node node, PrefixMap pmap, boolean asValue) {\n RDF_Term rt = ProtobufConvert.convert(node, pmap, asValue) ;\n\n if ( node == null) {\n assertTrue(rt.hasUndefined());\n return rt;\n }\n\n switch (rt.getTermCase()) {\n// message RDF_Term {\n// oneof term {\n// RDF_IRI iri = 1 ;\n// RDF_BNode bnode = 2 ;\n// RDF_Literal literal = 3 ;\n// RDF_PrefixName prefixName = 4 ;\n// RDF_VAR variable = 5 ;\n// RDF_Triple tripleTerm = 6 ;\n// RDF_ANY any = 7 ;\n// RDF_UNDEF undefined = 8 ;\n// RDF_REPEAT repeat = 9 ;\n//\n// // Value forms of literals.\n// int64 valInteger = 20 ;\n// double valDouble = 21 ;\n// RDF_Decimal valDecimal = 22 ;\n// }\n// }\n case IRI : {\n RDF_IRI iri = rt.getIri() ;\n assertEquals(node.getURI(), iri.getIri()) ;\n break;\n }\n case BNODE : {\n RDF_BNode bnode = rt.getBnode() ;\n assertEquals(node.getBlankNodeLabel(), bnode.getLabel()) ;\n break;\n }\n case LITERAL : {\n RDF_Literal lit = rt.getLiteral() ;\n assertEquals(node.getLiteralLexicalForm(), lit.getLex()) ;\n\n if (JenaRuntime.isRDF11) {\n // RDF 1.1\n if ( Util.isSimpleString(node) ) {\n assertTrue(lit.getSimple());\n // Protobug default is \"\"\n assertNullPB(lit.getDatatype()) ;\n assertEquals(RDF_PrefixName.getDefaultInstance(), lit.getDtPrefix());\n assertNullPB(lit.getLangtag()) ;\n } else if ( Util.isLangString(node) ) {\n assertFalse(lit.getSimple());\n assertNullPB(lit.getDatatype()) ;\n assertEquals(RDF_PrefixName.getDefaultInstance(), lit.getDtPrefix());\n assertNotSame(\"\", lit.getLangtag()) ;\n }\n else {\n assertFalse(lit.getSimple());\n // Regular typed literal.\n assertTrue(lit.getDatatype() != null || lit.getDtPrefix() != null );\n assertNullPB(lit.getLangtag()) ;\n }\n } else {\n // RDF 1.0\n if ( node.getLiteralDatatype() == null ) {\n if ( Util.isLangString(node ) ) {\n assertFalse(lit.getSimple());\n assertNullPB(lit.getDatatype()) ;\n assertNull(lit.getDtPrefix()) ;\n assertNotSame(\"\", lit.getLangtag()) ;\n } else {\n assertTrue(lit.getSimple());\n assertNullPB(lit.getDatatype()) ;\n assertEquals(RDF_PrefixName.getDefaultInstance(), lit.getDtPrefix());\n assertNullPB(lit.getLangtag()) ;\n }\n } else {\n assertTrue(lit.getDatatype() != null || lit.getDtPrefix() != null );\n }\n }\n break;\n }\n case PREFIXNAME : {\n assertNotNull(rt.getPrefixName().getPrefix()) ;\n assertNotNull(rt.getPrefixName().getLocalName()) ;\n String x = pmap.expand(rt.getPrefixName().getPrefix(), rt.getPrefixName().getLocalName());\n assertEquals(node.getURI(),x);\n break;\n }\n case VARIABLE :\n assertEquals(node.getName(), rt.getVariable().getName());\n break;\n case TRIPLETERM : {\n RDF_Triple encTriple = rt.getTripleTerm();\n Triple t = node.getTriple();\n RDF_Term rt_s = testTerm(t.getSubject(), pmap, asValue);\n RDF_Term rt_p = testTerm(t.getPredicate(), pmap, asValue);\n RDF_Term rt_o = testTerm(t.getObject(), pmap, asValue);\n assertEquals(encTriple.getS(), rt_s);\n assertEquals(encTriple.getP(), rt_p);\n assertEquals(encTriple.getO(), rt_o);\n break;\n }\n case ANY :\n assertEquals(Node.ANY, node);\n case REPEAT :\n break;\n case UNDEFINED :\n assertNull(node);\n return rt;\n case VALINTEGER : {\n long x = rt.getValInteger();\n assertTrue(integerSubTypes.contains(node.getLiteralDatatype()));\n //assertEquals(node.getLiteralDatatype(), XSDDatatype.XSDinteger);\n long x2 = Long.parseLong(node.getLiteralLexicalForm());\n assertEquals(x,x2);\n break;\n }\n case VALDOUBLE : {\n double x = rt.getValDouble();\n assertEquals(node.getLiteralDatatype(), XSDDatatype.XSDdouble);\n double x2 = Double.parseDouble(node.getLiteralLexicalForm());\n assertEquals(x, x2, 0.01);\n break;\n }\n case VALDECIMAL : {\n assertEquals(node.getLiteralDatatype(), XSDDatatype.XSDdecimal);\n NodeValue nv = NodeValue.makeNode(node);\n assertTrue(nv.isDecimal());\n\n long value = rt.getValDecimal().getValue() ;\n int scale = rt.getValDecimal().getScale() ;\n BigDecimal d = BigDecimal.valueOf(value, scale) ;\n assertEquals(nv.getDecimal(), d);\n break;\n }\n case TERM_NOT_SET :\n break;\n }\n\n // And reverse\n if ( ! asValue ) {\n // Value based does not preserve exact datatype or lexical form.\n Node n2 = ProtobufConvert.convert(rt, pmap);\n assertEquals(node, n2) ;\n }\n\n return rt;\n }",
"@Before\n\tpublic void setUp() {\n\t\tsalary = new TaxDepartment<Object>();\n\t}",
"public abstract double calculateTax();",
"public ISalesTax getTaxObject();",
"private List<String> extractMockTaxonNameFromMap(Iterator<Map<String,Object>> it){\n\t\tList<String> mockTaxonNameList = new ArrayList<String>();\n\t\tString calNameAuthor;\n\t\twhile(it.hasNext()){\n\t\t\tcalNameAuthor = (String)it.next().get(TaxonDAO.DD_CALNAME_AUTHOR);\n\t\t\tif(calNameAuthor.startsWith(MOCK_TAXON_NAME)){\n\t\t\t\tmockTaxonNameList.add(calNameAuthor);\n\t\t\t}\n\t\t}\n\t\treturn mockTaxonNameList;\n\t}",
"public static void main(String[] args) {\n\t\tList<Good> goodList = new ArrayList<Good>();\n\t\tgoodList.add(new Good(\"paracetamol\", \"medical\", 120.65));\n\t\tgoodList.add(new Good(\"notebook\", \"stationary\", 35));\n\t\tgoodList.add(new Good(\"pizza\", \"food\", 350));\n\t\tgoodList.add(new Good(\"old monk\", \"alchohol\", 1000));\n\n\t\tList<Tax> taxList = new ArrayList<Tax>();\n\t\ttaxList.add(new Tax(\"basic tax\", 5.5, Arrays.asList(\"medical\")));\n\t\ttaxList.add(new Tax(\"import tax\", 10, Arrays.asList(\"medical\", \"food\")));\n\n\t\tdouble totalTax = new TaxCalculator().calculateTotalTax(goodList,\n\t\t\t\ttaxList);\n\t\tSystem.out.println(\"toal tax is:\" + totalTax);\n\t}",
"public abstract Set<String> getTerms(Document doc);",
"@Test\n\tpublic void testTiles() throws Exception {\n\n\t\tRelatedTilesUtils.testTiles(geoPackage);\n\n\t}",
"@Test\n public void testReadProductAndTaxDaoCorrectly() throws Exception {\n service.loadFiles(); \n\n Order newOrder = new Order();\n newOrder.setCustomerName(\"Jake\");\n newOrder.setState(\"OH\");\n newOrder.setProductType(\"Wood\");\n newOrder.setArea(new BigDecimal(\"233\"));\n\n service.calculateNewOrderDataInput(newOrder);\n\n Assert.assertEquals(newOrder.getTaxRate(), (new BigDecimal(\"6.25\")));\n Assert.assertEquals(newOrder.getCostPerSquareFoot(), (new BigDecimal(\"5.15\")));\n Assert.assertEquals(newOrder.getLaborCostPerSquareFoot(), (new BigDecimal(\"4.75\")));\n\n }",
"@Test\n\tpublic void testTermBasics() throws IOException, OBOParserException\n\t{\n\t\tSystem.out.println(\"Parse OBO file\");\n\t\tOBOParser oboParser = new OBOParser(new ParserFileInput(GOtermsOBOFile));\n\t\tSystem.out.println(oboParser.doParse());\n\t\tHashMap<String,Term> id2Term = new HashMap<String,Term>();\n\n\t\tint relations = 0;\n\t\tfor (Term t : oboParser.getTermMap())\n\t\t{\n\t\t\trelations += t.getParents().length;\n\t\t\tid2Term.put(t.getIDAsString(),t);\n\t\t}\n\n\t\tassertEquals(nTermCount, oboParser.getTermMap().size());\n\t\tassertEquals(formatVersion,oboParser.getFormatVersion());\n\t\tassertEquals(date,oboParser.getDate());\n\t\tassertEquals(data_version,oboParser.getDataVersion());\n\t\tassertEquals(nRelations,relations);\n\t\tassertTrue(id2Term.containsKey(\"GO:0008150\"));\n\t\tassertEquals(0,id2Term.get(\"GO:0008150\").getParents().length);\n\t}",
"double getTax();",
"public void navigateToTaxonomyPage(String appname){\n\trefApplicationGenericUtils.clickOnElement(objectRepository.get(\"GlobalElements.FeaturedArticle\"), \"Featured Article\");\n\t\t\n\t// Verify if sectional Tag is displayed.\n\trefApplicationGenericUtils.checkForElement(objectRepository.get(\"ArticlePageElements.Tag\"), \"Tag\");\n\t\n\t\n\t//Click on the tag.\n\trefApplicationGenericUtils.clickOnElement(objectRepository.get(\"ArticlePageElements.Tag\"), \"Tag\");\n\t\n\t//Scroll till the news letter Signup.\n\tsubscribeNewsLetter();\n\n\t}",
"@Test\n\tpublic void predFuncTest() \n\t{\n\t\tPath filePath = Paths.get(\"src/test/testfile/test.txt\");\n\t\tScanner scanner;\n\t\ttry {\n\t\t\tscanner = new Scanner(filePath);\n\t\t\tTranslator translator = new Translator();\n\t\t\tList<String> startCodons = new ArrayList<String>();\n\t\t\tstartCodons.add(\"ATG\");\n\t\t\tList<List<String>> result = translator.translation(scanner.next(), startCodons );\n\t\t\tfor(List<String> r : result){\n\t\t\t\tfor(String s : r){\n\t\t\t\t\tif(scanner.hasNext()){\n\t\t\t\t\t\tassertEquals(s, scanner.next());\n\t\t\t\t\t\t\n\t\t\t\t\t}else{\n\t\t\t\t\t\tfail();\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\t\n\t\t\t\n\t\t\t \n\n\t\t} catch (IOException e) {\n\t\t\tfail(e.getLocalizedMessage());\n\t\t}\n\t}",
"@Override\n public double calcTaxes() {\n return getCost() * 0.07;\n }",
"@Test\n public void test002() {\n int total = response.extract().path(\"total\");\n\n\n System.out.println(\"------------------StartingTest---------------------------\");\n System.out.println(\"The search query is: \" + total);\n System.out.println(\"------------------End of Test---------------------------\");\n\n }",
"public double getTaxa() {\n\t\treturn taxa;\n\t}",
"public String getTaxcopy() {\r\n\t\treturn taxcopy;\r\n\t}",
"public String getTaxcopy() {\r\n return taxcopy;\r\n }",
"@Test\n public void testConvertPhenotypeAssociation() {\n assertThat( searchService.loadValueObject( SearchResult.from( PhenotypeAssociation.class, phenotypeAssociation, 1.0, \"test object\" ) ) )\n .extracting( \"resultObject\" )\n .isSameAs( phenotypeAssociation );\n assertThat( searchService.loadValueObjects( Collections.singleton( SearchResult.from( PhenotypeAssociation.class, phenotypeAssociation, 1.0, \"test object\" ) ) ) )\n .extracting( \"resultObject\" )\n .containsExactly( phenotypeAssociation );\n }",
"public abstract double getTaxValue(String country);",
"@Test\n\tpublic void test75000() {\n\n\tdouble tax = Main.calcTax(75_000.);\n\tassertEquals(1000., tax, .01);\n\t}",
"boolean calculateExternalTaxes(final AbstractOrderModel abstractOrder);",
"private CText getTaxonomyList(\tfinal String inputText, \n\t\t\t\t\t\t\t\t\tfinal String title, \n\t\t\t\t\t\t\t\t\tboolean breakdown) {\n\t\tCText document = new CText(title);\n\t\t\t\t\n\t\t\t/*\n\t\t\t * Step 2:Extract the N-Grams from the document\n\t\t\t */\n\t\tCNGramsExtractor nGramsExtract = new CNGramsExtractor();\n\t\t\n\t\t//INFO\n\t\tSystem.out.println(\"Last execution\");\n\t\tif( nGramsExtract.extract(document, inputText) ) {\n\t\t\tdocument.setState(CText.E_STATES.NGRAMS);\n\t\t\tSystem.out.println(\"NGram extracted\");\n\t\t\t\n\t\t\t/*\n\t\t\t * Step 3: Extract Composite and semantics \n\t\t\t */\n\t\t\tCTaxonomyExtractor taxonomyExtractor = new CTaxonomyExtractor(_taxonomyConnection, breakdown);\n\t\t\tif( taxonomyExtractor.extract(document) ) {\n\t\t\t\tdocument.setState(CText.E_STATES.TAXONOMY);\n\t\t\t}\n\t\t}\n\t\t\n\t\treturn document;\n\t}",
"public void Checkouttaxsubmit(){\t\r\n\t\tString countryspecific_tax = \"Italy,Germany,Sweden,Spain\";\r\n\t\tclass Local {};\r\n\t\tReporter.log(\"TestStepComponent\"+Local.class.getEnclosingMethod().getName());\r\n\t\tReporter.log(\"TestStepInput:-\"+\"NA\");\r\n\t\tReporter.log(\"TestStepOutput:-\"+\"NA\");\r\n\t\tReporter.log(\"TestStepExpectedResult:- Item should be searched in the search box\");\r\n\t\ttry{\r\n\t\t\tif((countryspecific_tax).contains(countries.get(countrycount))){\r\n\t\t\t\t//editSubmit(locator_split(\"txtSearch\"));\r\n\t\t\t\twaitforElementVisible(locator_split(\"checkouttaxsubmit\"));\r\n\t\t\t\tclick(locator_split(\"checkouttaxsubmit\"));\r\n\t\t\t\tReporter.log(\"PASS_MESSAGE:- Tax submit button is clicked\");\r\n\t\t\t}\r\n\t\t\telse\r\n\t\t\t{\r\n\t\t\t\tReporter.log(\"PASS_MESSAGE:- Tax submit button is not applicable to \" +country);\r\n\t\t\t}\r\n\r\n\t\t}\r\n\t\tcatch(Exception e){\r\n\t\t\tReporter.log(\"FAIL_MESSAGE:- Item is not entered in the search box \"+elementProperties.getProperty(\"checkoutFiscalCode\"));\r\n\t\t\tthrow new NoSuchElementException(\"The element with \"\r\n\t\t\t\t\t+ elementProperties.getProperty(\"checkoutFiscalCode\").toString().replace(\"By.\", \" \")\r\n\t\t\t\t\t+ \" not found\");\r\n\r\n\t\t}\r\n\t}",
"public static Tax[] getTaxes() {\n Tax[] taxes = new Tax[DeclarationFiller.getDeclaration().size()];\n int count = 0;\n if (taxes != null ) {\n for (Map.Entry<String, Integer> incomePoint : DeclarationFiller.getDeclaration().entrySet()) {\n String taxName = \"Tax of \" + incomePoint.getKey();\n int incomValue = incomePoint.getValue();\n taxes[count] = new Tax(count+1001 ,taxName, incomValue, 0.18);\n count++;\n }\n }\n return taxes;\n }",
"public void testGetRelevantTerms428() throws IOException {\n String narr = \"To be relevant, a document will name a country other than the U.S. \\n\" +\n \"or China in which the birth rate fell from the rate of the\\n\" +\n \"previous year. The decline need not have occurred in more\\n\" +\n \"than the one preceding year.\";\n ArrayList<ArrayList<String>> result = getRelevantTermsHelper(narr);\n assertTrue(result.get(0).toString().equals(\"[name, country, birth, rates, fell, previous, year]\"));\n assertTrue(result.get(1).toString().equals(\"[united, states, china]\"));\n }",
"@Test\n\tpublic void testSearchIteratorTaxonIdCriteria(){\n\t\tIterator<TaxonLookupModel> it = taxonDAO.searchIterator(-1, null, 7, null, null, null, false, \"taxonomically\");\n\t\tString[] orderedCalName = new String[]{\"_Mock7\",\"_Mock1\",\"_Mock3\",\"_Mock5\",\"_Mock2\",\"_Mock4\",\"_Mock6\"};\n\t\tint i = 0;\n\t\twhile(it.hasNext()){\n\t\t\tassertEquals(orderedCalName[i], it.next().getCalname());\n\t\t\ti++;\n\t\t}\n\t}",
"@Test\n public void testGetTamano() {\n System.out.println(\"getTamano\");\n Huffman instance = null;\n int expResult = 0;\n int result = instance.getTamano();\n assertEquals(expResult, result);\n // TODO review the generated test code and remove the default call to fail.\n \n }",
"public interface Interest {\n\t/**\n\t * Returns Taxonomy of Interests (a Taxonomy is a loss collection of the SemanticTags)\n\t * @return\n */\n\tpublic Taxonomy getInterests();\n\n\t/**\n\t * Adds Interest to the Taxonomy with a Name and the subjectidentifier\n\t * @param name\n\t * @param si\n * @return\n */\n\tpublic TXSemanticTag addInterest(String name, String si);\n\n\t/**\n\t * Add Interest by a TXSemanticTag (used for adding interest in feed)\n\t * @param interest\n */\n\tpublic void addInterest(TXSemanticTag interest);\n\n\t/**\n\t * Returns the TXSemanticTag of a Topic identified by the subject identifier\n\t * @param si\n\t * @return\n */\n\tpublic TXSemanticTag getTopicAsSemanticTag(String si);\n\n\t/**\n\t * Removes the Interest from the Taxonomy\n\t * @param i\n */\n\tpublic void deleteInterest(TXSemanticTag i);\n\n\t/**\n\t * Moves a child interest under a parent interest\n\t * @param parent\n\t * @param child\n */\n\tpublic void moveInterest(TXSemanticTag parent, TXSemanticTag child);\n\n\t/**\n\t * Evaluates if the Interest contains at least all Interests of i\n\t * @param i\n\t * @return\n */\n\tpublic boolean contains(Interest i);\n\n\t/**\n\t * Returns a List of All Topics as a List within the Taxonomy\n\t * @return\n */\n\tpublic List<TXSemanticTag> getAllTopics();\n\n\t/**\n\t * Writes the Taxonomy specified in the Interest in the DB\n\t */\n\tpublic void save();\n\n\t/**\n\t * Deletes the Taxonomy specified in the Interest from the DB\n\t */\n\tpublic void delete();\n\n\t/**\n\t * Removes a TXSemanticTag from Parents and takes childs with him\n\t * @param child\n */\n\tpublic void removeFromParent(TXSemanticTag child);\n\n}",
"@Test\n public void test009() {\n\n List<String> services = response.extract().path(\"data[7].services\");\n System.out.println(\"------------------StartingTest---------------------------\");\n System.out.println(\"The names of the all stores are:: \" + services);\n System.out.println(\"------------------End of Test---------------------------\");\n }",
"@Test\n public void testExtractTextFromPage()\n {\n PDFExtractor instance = new PDFExtractor();\n \n int page = 0;\n String expResult = page1;\n String result = instance.extractTextFromPage(pathToFile, page);\n \n assertEquals(expResult, result);\n \n page = 1;\n expResult = page2;\n result = instance.extractTextFromPage(pathToFile, page);\n assertEquals(expResult, result);\n }",
"@Override\n public Output doExtract(File file, AbstractExtractor extractor,\n String encoding)\n {\n return null;\n }",
"@Test(timeout = 4000)\n public void test05() throws Throwable {\n LovinsStemmer lovinsStemmer0 = new LovinsStemmer();\n TechnicalInformation technicalInformation0 = lovinsStemmer0.getTechnicalInformation();\n assertEquals(TechnicalInformation.Type.ARTICLE, technicalInformation0.getType());\n }",
"public void extractKnowledge()\n {\n }",
"@Test\n public void testGetTitulo() {\n System.out.println(\"getTitulo\");\n Cobertura instance = cobertura;\n String expResult = \"Incendio\";\n String result = instance.toDTO().getTitulo();\n assertEquals(expResult, result);\n\n }",
"@Test\r\n public void genePageIntegrationTest() {\n PhenoDigmDao diseaseDao = instance;\r\n\r\n String mgiGeneId = \"MGI:95523\";\r\n System.out.println(String.format(\"\\n\\nGene: %s\", mgiGeneId));\r\n System.out.println(\"Known Disease Associations:\");\r\n Map<Disease, Set<DiseaseAssociation>> knownDiseases = diseaseDao.getKnownDiseaseAssociationsForMgiGeneId(mgiGeneId);\r\n Map<Disease, Set<DiseaseAssociation>> predictedDiseases = diseaseDao.getPredictedDiseaseAssociationsForMgiGeneId(mgiGeneId);\r\n\r\n if (knownDiseases.keySet().isEmpty()) {\r\n System.out.println(\" No known disease associations for \" + mgiGeneId);\r\n }\r\n for (Disease disease : knownDiseases.keySet()) {\r\n System.out.println(disease.getTerm());\r\n System.out.println(disease);\r\n System.out.println(String.format(\"%n Mouse Disease Models with Phenotypic Similarity to %s - via Literature:\", disease.getTerm()));\r\n Set<DiseaseAssociation> literatureDiseaseAssociations = knownDiseases.get(disease);\r\n System.out.print(formatDiseaseAssociations(literatureDiseaseAssociations));\r\n\r\n System.out.println(String.format(\"%n Phenotypic Matches to Mouse Models of %s:\", disease.getTerm()));\r\n Set<DiseaseAssociation> phenotypicDiseaseAssociations = predictedDiseases.get(disease);\r\n if (phenotypicDiseaseAssociations == null) {\r\n phenotypicDiseaseAssociations = new TreeSet<DiseaseAssociation>();\r\n }\r\n System.out.print(formatDiseaseAssociations(phenotypicDiseaseAssociations));\r\n }\r\n\r\n System.out.println(\"\\nPredicted Disease Associations: (first 10 only)\");\r\n if (knownDiseases.keySet().isEmpty()) {\r\n System.out.println(\" No predicted disease associations for \" + mgiGeneId);\r\n }\r\n \r\n Iterator<Disease> predictedDiseaseIterator = predictedDiseases.keySet().iterator();\r\n for (int i = 0; i < 10; i++) {\r\n if (predictedDiseaseIterator.hasNext()) {\r\n Disease disease = predictedDiseaseIterator.next();\r\n System.out.println(String.format(\" %s %s\", disease.getTerm(), disease.getDiseaseId()));\r\n System.out.print(formatDiseaseAssociations(predictedDiseases.get(disease))); \r\n } \r\n }\r\n \r\n System.out.println(\"--------------------------------------------------------------------------------------------------\\n\");\r\n }",
"public void testVocabulary() throws Exception {\n assertVocabulary(a, getDataPath(\"kstemTestData.zip\"), \"kstem_examples.txt\");\n }",
"@Test\n public void testTolerantParsing() {\n assertExtract(\"/html/rdfa/oreilly-invalid-datatype.html\", false);\n }",
"public double getTax() {\n return tax_;\n }",
"public static void main(String[] args) {\n TaxVisitor taxCalc = new TaxVisitor();\n TaxHolidayVisitor taxHolidayCalc = new TaxHolidayVisitor();\n Necessity milk = new Necessity(3.47);\n Liquor vodka = new Liquor(11.99);\n Tobacco cigars = new Tobacco(19.99);\n\n System.out.println(milk.accept(taxCalc) + \"\\n\");\n System.out.println(vodka.accept(taxCalc) + \"\\n\");\n System.out.println(cigars.accept(taxCalc) + \"\\n\");\n\n System.out.println(\"TAX HOLIDAY PRICES\\n\");\n System.out.println(milk.accept(taxHolidayCalc) + \"\\n\");\n System.out.println(vodka.accept(taxHolidayCalc) + \"\\n\");\n System.out.println(cigars.accept(taxHolidayCalc) + \"\\n\");\n }",
"public void transformUsingFlavor(XSLTestfileInfo fileInfo, String flavor)\n throws Exception\n {\n TransformWrapper transformWrapper = TransformWrapperFactory.newWrapper(flavor);\n transformWrapper.newProcessor(testProps);\n reporter.logHashtable(Logger.TRACEMSG, transformWrapper.getProcessorInfo(), \"wrapper.getProcessorInfo() for next transform\");\n if (null == fileInfo.inputName)\n {\n // presume it's an embedded test\n reporter.logInfoMsg(\"transformEmbedded(\" + fileInfo.xmlName + \", \" + fileInfo.outputName + \")\");\n long[] times = transformWrapper.transformEmbedded(fileInfo.xmlName, fileInfo.outputName);\n logPerfElem(times, fileInfo, flavor);\n }\n else\n {\n // presume it's a normal stylesheet test\n reporter.logInfoMsg(\"transform(\" + fileInfo.xmlName + \", \" + fileInfo.inputName + \", \" + fileInfo.outputName + \")\");\n long[] times = transformWrapper.transform(fileInfo.xmlName, fileInfo.inputName, fileInfo.outputName);\n logPerfElem(times, fileInfo, flavor);\n }\n \n }",
"@Test\n public void test003() {\n String name = response.extract().path(\"data[4].name\");\n\n\n System.out.println(\"------------------StartingTest---------------------------\");\n System.out.printf(\"The 5th sore name is: %s%n\", name);\n System.out.println(\"------------------End of Test---------------------------\");\n }",
"@Test\n\tpublic void obtenerContenidoTest() {\n\t\tArchivo ar = new Imagen(\"test\", \"contenido\");\n\t\tassertEquals(\"contenido\", ar.obtenerContenido());\n\t}",
"public <T,R> TempCollectionStepExtension<R,X> thenExtract(Extractor<T,R> extractor);",
"public abstract boolean testArticle(PubmedArticle article);",
"@Test\n public void test19(){\n // List<Integer> services = response.extract().path(\"data.findAll{it.services=='Samsung Experience'}.storeservices\");\n //List<HashMap<String, ?>> address = response.extract().path(\"data.findAll{it.service=='Samsung Experience'}.storeservices\");\n System.out.println(\"------------------StartingTest---------------------------\");\n System.out.println(\"The name of all services:\" );\n System.out.println(\"------------------End of Test---------------------------\");\n }",
"@Test\n public void testTermine(){\n //Test ob testTermin1 vorhanden\n assertNotNull(testTermin1);\n System.out.println(\"Termin 1 NotNull\");\n assertNotNull(testTermin2);\n System.out.println(\"Termin 2 NotNull\");\n }",
"@Test\n public void testObjectResourceConversion() throws RepositoryException {\n assertExtract(\"/html/rdfa/object-resource-test.html\");\n logger.debug(dumpModelToTurtle());\n assertContains(null, FOAF.getInstance().page, RDFUtils.iri(\"http://en.wikipedia.org/New_York\"));\n }",
"abstract public TermEnum terms(Term t) throws IOException;",
"@Override\n public void extract(MetadataTarget target, CachedUrl cu, Emitter emitter)\n throws IOException {\n log.debug(\"The MetadataExtractor attempted to extract metadata from cu: \"+cu);\n ArticleMetadata am = \n new SimpleHtmlMetaTagMetadataExtractor().extract(target, cu);\n am.cook(tagMap);\n \n // handle journal.title\n String copyRightStr = am.getRaw(\"dc.Rights\");\n if (copyRightStr != null) {\n log.debug3(\"copyRightStr: \"+ copyRightStr);\n // unicode of copyright symbol is \\u00a9\n // dc.Rights: \"© Perceptual and Motor Skills 2011\"\n Pattern copyRightPat = Pattern.compile(\"(\\\\u00a9\\\\s)(.+)(\\\\s\\\\d{4})\");\n Matcher mat = copyRightPat.matcher(copyRightStr);\n if (mat.find()) {\n log.debug3(\"found match for copyRightStr\");\n String journalTitle = mat.replaceFirst(\"$2\");\n log.debug3(\"journalTitle: \" + journalTitle);\n am.put(MetadataField.FIELD_JOURNAL_TITLE, mat.replaceFirst(\"$2\"));\n }\n }\n emitter.emitMetadata(cu, am);\n }",
"double getTaxAmount();",
"@Test\n public void testTaxpayerInfoFromXml() throws FileNotFoundException {\n\n Database.processTaxpayersDataFromFilesIntoDatabase(databaseInstance.getTaxpayersInfoFilesPath(), xmlTestFilenameList);\n\n // Get the taxpayer from the Database\n Taxpayer actualTaxpayerInfoXml = databaseInstance.getTaxpayerFromArrayList(0);\n\n // Test user info from xml file\n Taxpayer expectedTaxpayerInfoFromXml = new Taxpayer(\"Nikos Zisis\", \"130456094\",\n ApplicationConstants.SINGLE, \"40000.0\");\n\n Receipt expectedTaxpayerReceiptFromXml =\n new Receipt(ApplicationConstants.OTHER_RECEIPT, \"1\", \"25/2/2014\", \"2000.0\",\n \"Omega Watches\", \"Greece\", \"Ioannina\", \"Kaloudi\", \"4\");\n\n expectedTaxpayerInfoFromXml.setReceipts( new ArrayList<>( Collections.singletonList(expectedTaxpayerReceiptFromXml)));\n expectedTaxpayerInfoFromXml.calculateTaxpayerTaxIncreaseOrDecreaseBasedOnReceipts();\n\n assertEquals(expectedTaxpayerReceiptFromXml.toString(), actualTaxpayerInfoXml.getReceipts().get(0).toString());\n assertEquals(expectedTaxpayerInfoFromXml.toString(), actualTaxpayerInfoXml.toString());\n }",
"@Test\n\tpublic void test82000() {\n\n\tdouble tax = Main.calcTax(82_000.);\n\tassertEquals(1_210., tax, .01);\n\n\t}",
"@Test\n public void Scenario1() {\n\n Response resp = reqSpec.request().get();\n\n DataWrapper respBody = resp.as(DataWrapper.class);\n List<Regions> regions = respBody.getData().get(0).getRegions();\n\n Map<Integer, String> sortedIntensity = new TreeMap<>();\n\n try {\n\n ListIterator iterator = regions.listIterator();\n int iter = 0;\n\n while (iterator.hasNext()) {\n\n sortedIntensity.put(regions.get(iter).getIntensity().getForecast(),\n regions.get(iter).getShortname());\n iter++;\n iterator.next();\n }\n\n } catch (NullPointerException npe) {\n npe.printStackTrace();\n }\n\n System.out.println(\"Regions sorted by intensity forecast:\");\n System.out.println(sortedIntensity);\n }",
"@Test\n\tpublic void singleWordGrepTest3() throws Exception {\n\t\t// word is 'mistress'\n\t\tHashSet<String> grepFound = loadGrepResults(\"mistress\");\n\t\tCollection<Page> index = queryTest.query(\"mistress\");\n\t\tHashSet<String> indexFound = new HashSet<String>();\n\n\t\tfor (Page p : index)\n\t\t\tindexFound.add(p.getURL().getPath().toLowerCase());\n\t\t\n\t\t// tests set equality \n\t\tassertEquals(indexFound, grepFound);\n\t}",
"double applyTax(double price);",
"public TaxCategory() {\n\t\ttaxRates=new TreeSet<TaxRate>();\n\t\t\n\t}",
"@Test\n public void testLeerArchivo() {\n System.out.println(\"LeerArchivo\");\n String RutaArchivo = \"\";\n RandomX instance = null;\n Object[] expResult = null;\n Object[] result = instance.LeerArchivo(RutaArchivo);\n assertArrayEquals(expResult, result);\n // TODO review the generated test code and remove the default call to fail.\n \n }",
"public double getTax() {\n return tax_;\n }",
"public double getTax() {\r\n\r\n return getSubtotal() * 0.06;\r\n\r\n }",
"@Test\n public void listProdTags() {\n }",
"public boolean isTaxonomyAttribute(String name) {\n\t\tif (taxoMap != null) {\n\t\t\treturn taxoMap.containsKey(name);\n\t\t}\n\t\treturn false;\n\t}",
"@Override\n\tpublic void visit(ExtractExpression arg0) {\n\t\t\n\t}",
"@Test\n public void testExtractTextFromDocumentPagewise()\n {\n PDFExtractor instance = new PDFExtractor();\n \n List<String> result = instance.extractTextFromDocumentPagewise(pathToFile);\n List<String> expResult = new ArrayList<>();\n expResult.add(page1);\n expResult.add(page2);\n \n assertEquals(expResult, result);\n }",
"@Test\n public void testCoverageTrimmingLatitudeNativeCRSXMLMultipart() throws Exception {\n final File xml = new File(\"./src/test/resources/requestGetCoverageTrimmingLatitudeNativeCRSXMLMultipart.xml\");\n final String request = FileUtils.readFileToString(xml);\n MockHttpServletResponse response = postAsServletResponse(\"wcs\", request);\n TestCase.assertEquals(\"multipart/related\", response.getContentType());\n // parse the multipart, check there are two parts\n Multipart multipart = getMultipart(response);\n TestCase.assertEquals(2, multipart.getCount());\n BodyPart xmlPart = multipart.getBodyPart(0);\n TestCase.assertEquals(\"application/gml+xml\", xmlPart.getHeader(\"Content-Type\")[0]);\n TestCase.assertEquals(\"wcs\", xmlPart.getHeader(\"Content-ID\")[0]);\n Document gml = dom(xmlPart.getInputStream());\n // print(gml);\n // check the gml part refers to the file as its range\n XMLAssert.assertXpathEvaluatesTo(\"fileReference\", \"//gml:rangeSet/gml:File/gml:rangeParameters/@xlink:arcrole\", gml);\n XMLAssert.assertXpathEvaluatesTo(\"cid:/coverages/wcs__BlueMarble.tif\", \"//gml:rangeSet/gml:File/gml:rangeParameters/@xlink:href\", gml);\n XMLAssert.assertXpathEvaluatesTo(\"http://www.opengis.net/spec/GMLCOV_geotiff-coverages/1.0/conf/geotiff-coverage\", \"//gml:rangeSet/gml:File/gml:rangeParameters/@xlink:role\", gml);\n XMLAssert.assertXpathEvaluatesTo(\"cid:/coverages/wcs__BlueMarble.tif\", \"//gml:rangeSet/gml:File/gml:fileReference\", gml);\n XMLAssert.assertXpathEvaluatesTo(\"image/tiff\", \"//gml:rangeSet/gml:File/gml:mimeType\", gml);\n BodyPart coveragePart = multipart.getBodyPart(1);\n TestCase.assertEquals(\"/coverages/wcs__BlueMarble.tif\", coveragePart.getHeader(\"Content-ID\")[0]);\n TestCase.assertEquals(\"image/tiff\", coveragePart.getContentType());\n // make sure we can read the coverage back and perform checks on it\n byte[] tiffContents = IOUtils.toByteArray(coveragePart.getInputStream());\n checkCoverageTrimmingLatitudeNativeCRS(tiffContents);\n }",
"@Test\n public void test1() throws IOException {\n FileSystem fs = FileSystem.getLocal(new Configuration());\n Path termsFilePath = new Path(\"etc/trec-index-terms.dat\");\n Path termIDsFilePath = new Path(\"etc/trec-index-termids.dat\");\n Path idToTermFilePath = new Path(\"etc/trec-index-termid-mapping.dat\");\n\n DefaultFrequencySortedDictionary dictionary =\n new DefaultFrequencySortedDictionary(termsFilePath, termIDsFilePath, idToTermFilePath, fs);\n\n assertEquals(312232, dictionary.size());\n assertEquals(\"page\", dictionary.getTerm(1));\n assertEquals(\"time\", dictionary.getTerm(2));\n assertEquals(\"will\", dictionary.getTerm(3));\n assertEquals(\"year\", dictionary.getTerm(4));\n assertEquals(\"nikaan\", dictionary.getTerm(100000));\n\n assertEquals(1, dictionary.getId(\"page\"));\n assertEquals(2, dictionary.getId(\"time\"));\n assertEquals(3, dictionary.getId(\"will\"));\n assertEquals(4, dictionary.getId(\"year\"));\n assertEquals(100000, dictionary.getId(\"nikaan\"));\n \n assertEquals(null, dictionary.getTerm(312233));\n\n Iterator<String> iter = dictionary.iterator();\n assertTrue(iter.hasNext());\n assertEquals(\"page\", iter.next());\n assertTrue(iter.hasNext());\n assertEquals(\"time\", iter.next());\n assertTrue(iter.hasNext());\n assertEquals(\"will\", iter.next());\n assertTrue(iter.hasNext());\n assertEquals(\"year\", iter.next());\n assertTrue(iter.hasNext());\n\n int cnt = 0;\n for (@SuppressWarnings(\"unused\") String s : dictionary) {\n cnt++;\n }\n assertEquals(dictionary.size(), cnt);\n\n cnt = 0;\n iter = dictionary.iterator();\n while(iter.hasNext()) {\n cnt++;\n iter.next();\n }\n assertEquals(dictionary.size(), cnt);\n }",
"public double getTax(){\n\n return this.tax;\n }",
"@Test\r\n public void test_getTermsOfUse_1() throws Exception {\r\n Map<Integer, List<TermsOfUse>> res = instance.getTermsOfUse(1, 1, null);\r\n\r\n assertEquals(\"'getTermsOfUse' should be correct.\", 3, res.get(0).size());\r\n }"
]
| [
"0.55583483",
"0.5405396",
"0.5167855",
"0.51464736",
"0.50487494",
"0.49671453",
"0.4908303",
"0.48006472",
"0.47912055",
"0.47798383",
"0.47548693",
"0.47297546",
"0.471897",
"0.4659669",
"0.4643882",
"0.46376476",
"0.46348855",
"0.46122277",
"0.45897347",
"0.45894745",
"0.45868537",
"0.4585378",
"0.4569",
"0.45651188",
"0.4560622",
"0.45587537",
"0.4542783",
"0.4533617",
"0.45311767",
"0.45297244",
"0.45072937",
"0.4491376",
"0.44910493",
"0.44840828",
"0.44806814",
"0.44572788",
"0.44430023",
"0.44225746",
"0.44205478",
"0.43931192",
"0.4387777",
"0.4383013",
"0.43780681",
"0.43690854",
"0.43685734",
"0.4350107",
"0.43421882",
"0.434048",
"0.43361902",
"0.43345827",
"0.43258077",
"0.43250424",
"0.43090844",
"0.430695",
"0.43042746",
"0.42971575",
"0.42935497",
"0.4293043",
"0.4288111",
"0.42756924",
"0.42714924",
"0.4265837",
"0.42646387",
"0.4260287",
"0.42600197",
"0.42582977",
"0.4256485",
"0.42475554",
"0.42354614",
"0.4234897",
"0.42334434",
"0.4226138",
"0.42183235",
"0.42039603",
"0.41999352",
"0.41990992",
"0.4198875",
"0.41899374",
"0.4183728",
"0.41746032",
"0.41734278",
"0.41717833",
"0.41687578",
"0.41657406",
"0.41652",
"0.41647983",
"0.41642746",
"0.415722",
"0.41563097",
"0.41554344",
"0.41551778",
"0.41506413",
"0.41501027",
"0.414389",
"0.41434702",
"0.41416755",
"0.41372204",
"0.41349825",
"0.41344783",
"0.4134429"
]
| 0.8628709 | 0 |
Creates new data migration. | public DataMigration(int version) {
super(MigrationType.DATA, version);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"protected void migrate() {\r\n java.util.Date dateNow = new java.util.Date();\r\n SQLiteBuilder builder = createBuilder();\r\n for (AbstractTable<?, ?, ?> table : tables) {\r\n if (table.migrated() < table.migrations()) {\r\n //FIXME this doesn't yet implement table updates.\r\n builder.createMigration(table).up(this);\r\n VersionRecord<DBT> v = _versions.create();\r\n v.table.set(table.helper.getTable().getRecordSource().tableName);\r\n v.version.set(1);\r\n v.updated.set(dateNow);\r\n v.insert();\r\n }\r\n }\r\n }",
"public void startMigrating();",
"public void onUpgrade() {\r\n\t\t// Create New table\r\n\t\tDataBaseCreatorTable newt = new DataBaseCreatorTable();\r\n\t\t// Update Table Items\r\n\t\tcreatorClass.onCreate(newt);\r\n\t\t// Update Data Base\r\n\t\t//...\r\n\t\ttable = newt;\r\n\t}",
"@Test\n void migrate() {\n }",
"boolean doMigration();",
"public SchemaMigrationTest(String testName) {\n\t\tsuper(testName);\n\t\t\n\t\tcollection = new SchemaCollection();\n\t\t\n\t\tcollection.registerSchema(new Sample1MigrationSchema());\n\t\tcollection.registerSchema(new Sample2MigrationsSchema());\n\t\t\n\t\ttry {\n\t\t\tcollection.createOrMigrateSchema();\n\t\t} catch (SQLException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"@Override\n\t\tpublic void onCreate(SQLiteDatabase database) {\n\t\t\tcreateTable(database);\n\n\t\t}",
"private static void doCreate(SQLiteDatabase db) {\r\n Logger.info(Logger.Type.GHOST_SMS, \"*** execute doCreate\");\r\n final Version version = new Version(VERSION_1, Names.GHOST_SMS, DateTimeUtils.currentDateWithoutSeconds());\r\n Versions.insert(db, version);\r\n doUpgrade(db, version.version);\r\n }",
"public static void createMigration(DBConnection db, String migrationKey, int id, Callable<Boolean> executable,\n\t\t\tString... queries) {\n\t\tif (executable == null && queries.length == 0) {\n\t\t\tthrow new IllegalArgumentException(String.format(\"Can not register empty migration with id %d\", id));\n\t\t}\n\t\tif (usedIds.contains(id)) {\n\t\t\tthrow new IllegalArgumentException(String.format(\"Migration with id %d was already registered\", id));\n\t\t}\n\t\tusedIds.add(id);\n\t\tDBMigration migration = new DBMigration(db, id, migrationKey, executable, queries);\n\t\tEidoMain.getDBMigrationHandler().registerMigration(migration);\n\t}",
"@Override\n public void migrate(SupportSQLiteDatabase database) {\n }",
"private void creates() {\n \tDBPeer.fetchTableColumns();\n \tDBPeer.fetchTableRows();\n \tDBPeer.fetchTableIndexes();\n \t\n for (int i = 0; i < creates.size(); i++) {\n creates.get(i).init();\n }\n \n DBPeer.updateTableColumns();\n DBPeer.updateTableRows();\n DBPeer.updateTableIndexes();\n }",
"@Override\n public void migrate(@NonNull SupportSQLiteDatabase database) {\n database.execSQL(\"ALTER TABLE notes ADD COLUMN dateCreated INTEGER DEFAULT \" + new Date().getTime());\n database.execSQL(\"ALTER TABLE notes ADD COLUMN dateEdited INTEGER DEFAULT \" + new Date().getTime());\n database.execSQL(\"ALTER TABLE notes ADD COLUMN favorite INTEGER NOT NULL DEFAULT 0\");\n\n }",
"public void create() {\n\t\t\tdb.execSQL(AGENCYDB_CREATE+\".separete,.import agency.txt agency\");\n\t\t\tdb.execSQL(STOPSDB_CREATE+\".separete,.import stop_times.txt stop_times\");\n\t\t\t\n\t\t\t// Add 2 agencies for testing\n\t\t\t\n\t\t\t\n\t\t\tdb.setVersion(DATABASE_VERSION);\n\t\t}",
"@Override\n public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion)\n {\n if(newVersion > oldVersion){\n try {\n this.dbCreate();\n }catch (Exception e){\n e.printStackTrace();\n }\n }\n }",
"public List<Long> createOrUpdate(MigrationType type, List<DatabaseObject<?>> batch);",
"public static void createDataBase() {\n final Configuration conf = new Configuration();\n\n addAnnotatedClass(conf);\n\n conf.configure();\n new SchemaExport(conf).create(true, true);\n }",
"@Override\n\tpublic void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {\n\t\tdb.execSQL(\"DROP TABLE IF EXISTS \" + CREATE_TABLE_USERDATA);\n\t\t// create new tables\n\t\t onCreate(db);\n\t}",
"@Override\n public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {\n db.execSQL(\"DROP TABLE IF EXISTS tasks\");\n\n // create fresh tasks table\n this.onCreate(db);\n }",
"@Test\n public void migrationsWithPlaceholders() throws Exception {\n int countUserObjects1 = jdbcTemplate.queryForInt(\"SELECT count(*) FROM user_objects\");\n\n Map<String, String> placeholders = new HashMap<String, String>();\n placeholders.put(\"tableName\", \"test_user\");\n flyway.setPlaceholders(placeholders);\n flyway.setLocations(\"migration/dbsupport/oracle/sql/placeholders\");\n\n flyway.migrate();\n MigrationVersion version = flyway.info().current().getVersion();\n assertEquals(\"1.1\", version.toString());\n assertEquals(\"Populate table\", flyway.info().current().getDescription());\n\n assertEquals(\"Mr. T triggered\", jdbcTemplate.queryForString(\"select name from test_user\"));\n\n flyway.clean();\n\n int countUserObjects2 = jdbcTemplate.queryForInt(\"SELECT count(*) FROM user_objects\");\n assertEquals(countUserObjects1, countUserObjects2);\n\n MigrationInfo[] migrationInfos = flyway.info().applied();\n for (MigrationInfo migrationInfo : migrationInfos) {\n assertNotNull(migrationInfo.getScript() + \" has no checksum\", migrationInfo.getChecksum());\n }\n }",
"public void migrateData() throws Throwable\r\n\t{\r\n\t\tthis.createStagingPrivateInstance();\r\n\t\tthis.maskData();\r\n\t\tthis.importDataInPublicInstance();\r\n\t}",
"public void createRoleData() throws DataLayerException\r\n\t{\r\n\t\t// ---------------------------------------------------------------\r\n\t\t// Task States\r\n\t\t// ---------------------------------------------------------------\r\n\t\tfor (Role.RoleType roleType : Role.RoleType.values())\r\n\t\t{\r\n\t\t\tRole role = createHelper.createRole(0);\r\n\t\t\trole.setRoleType(roleType);\r\n\t\t\troleDao.save(role);\r\n\t\t}\r\n\t}",
"@Override\n public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {\n onCreate(db);\n }",
"@Override\n public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {\n onCreate(db);\n }",
"protected abstract void createDatabaseData(EntityManager entityManager);",
"public static void performMigrations(@NonNull SQLiteDatabase database) {\n\n if (Utils.isTableExists(database, \"ec_woman\")) {\n changeTableNameToEcMother(database);\n }\n }",
"@Override\n public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {\n onCreate(db);\n\n }",
"@Override\n public void migrate(@NonNull SupportSQLiteDatabase database) {\n }",
"@Override\n\tpublic void onCreate(SQLiteDatabase db, ConnectionSource source) {\n\n\t\ttry {\n\t\t\tTableUtils.createTable(source, Priority.class);\n\t\t\tTableUtils.createTable(source, Category.class);\n\t\t\tTableUtils.createTable(source, Task.class);\n\t\t} catch (SQLException ex) {\n\t\t\tLog.e(LOG, \"error creating tables\", ex);\n\t\t}\n\n\t}",
"protected void migrateData(CiDb db, UpdateUI ui) throws OrmException, SQLException {\n }",
"@Override\n\tpublic void createTable() {\n\t\tSystem.out.println(\"++++++++++++++++++++++++++++++++++++++++++++++\");\n\t\ttry {\n\t\t\tTableUtils.createTable(connectionSource, UserEntity.class);\n\t\t\tTableUtils.createTable(connectionSource, Downloads.class);\n\t\t} catch (SQLException e) {\n\t\t\tSystem.out.println(\"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\");\n\t\t}\n\t}",
"@Override\n\tpublic void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {\n\t\tonCreate(db);\n\t}",
"@Test\n public void createPackage() throws FlywayException {\n flyway.setLocations(\"migration/dbsupport/oracle/sql/package\");\n flyway.migrate();\n }",
"public void testDatabaseUpgrade_Incremental() {\n create1108(mDb);\n upgradeTo1109();\n upgradeTo1110();\n assertDatabaseStructureSameAsList(TABLE_LIST, /* isNewDatabase =*/ false);\n }",
"public void migrateData(String fromTable, String toTable)\n throws SQLException {\n throw new UnsupportedOperationException();\n }",
"private void doUpgrade() {\n // implement the database upgrade here.\n }",
"@Override\n public void migrate(@NonNull SupportSQLiteDatabase database) {\n }",
"Database createDatabase();",
"public void createTables(){\n Map<String, String> name_type_map = new HashMap<>();\n List<String> primaryKey = new ArrayList<>();\n try {\n name_type_map.put(KEY_SINK_NAME, MyDatabase.TYPE_VARCHAR);\n name_type_map.put(KEY_SINK_ADDRESS, MyDatabase.TYPE_VARCHAR);\n name_type_map.put(KEY_SINK_DETAIL, MyDatabase.TYPE_VARCHAR);\n primaryKey.add(KEY_SINK_ADDRESS);\n myDatabase.createTable(TABLE_SINK, name_type_map, primaryKey, null);\n }catch (MySQLException e){ //数据表已存在\n e.print();\n }\n try {\n name_type_map.clear();\n name_type_map.put(KEY_NODE_NAME, MyDatabase.TYPE_VARCHAR);\n name_type_map.put(KEY_NODE_PARENT, MyDatabase.TYPE_VARCHAR);\n name_type_map.put(KEY_NODE_DETAIL, MyDatabase.TYPE_VARCHAR);\n name_type_map.put(KEY_NODE_ADDRESS,MyDatabase.TYPE_VARCHAR);\n primaryKey.clear();\n primaryKey.add(KEY_NODE_PARENT);\n primaryKey.add(KEY_NODE_ADDRESS);\n myDatabase.createTable(TABLE_NODE, name_type_map, primaryKey, null);\n }catch (MySQLException e){\n e.print();\n }\n\n try {\n name_type_map.clear();\n name_type_map.put(KEY_NODE_ADDRESS, MyDatabase.TYPE_VARCHAR);\n name_type_map.put(KEY_NODE_PARENT, MyDatabase.TYPE_VARCHAR);\n name_type_map.put(KEY_DATA_TIME, MyDatabase.TYPE_TIMESTAMP);\n name_type_map.put(KEY_DATA_VAL, MyDatabase.TYPE_FLOAT);\n primaryKey.clear();\n primaryKey.add(KEY_DATA_TIME);\n primaryKey.add(KEY_NODE_ADDRESS);\n primaryKey.add(KEY_NODE_PARENT);\n myDatabase.createTable(TABLE_DATA, name_type_map, primaryKey, null);\n }catch (MySQLException e) {\n e.print();\n }\n }",
"public static void main(String[] args) throws IOException {\n\n System.setProperty(\"ddl.migration.pendingDropsFor\", \"1.4\");\n\n// ObjectMapper objectMapper = new ObjectMapper();\n//\n\n HikariConfig config = new HikariConfig();\n config.setJdbcUrl(\"jdbc:mysql://127.0.0.1:3306/zk-springboot-demo\");\n config.setUsername(\"root\");\n config.setPassword(\"\");\n config.setDriverClassName(\"com.mysql.cj.jdbc.Driver\");\n\n DatabaseConfig databaseConfig = new DatabaseConfig();\n databaseConfig.setDataSource(new HikariDataSource(config));\n\n// databaseConfig.setObjectMapper(objectMapper);\n\n DbMigration dbMigration = DbMigration.create();\n dbMigration.setPlatform(Platform.MYSQL55);\n dbMigration.setStrictMode(false);\n// dbMigration.setPathToResources(path);\n dbMigration.setApplyPrefix(\"V\");\n dbMigration.setServerConfig(databaseConfig);\n dbMigration.generateMigration();\n\n }",
"public void createNewDataBase() {\n try (Connection conn = DriverManager.getConnection(url)) {\n if (conn != null) {\n DatabaseMetaData meta = conn.getMetaData();\n createNewTable();\n }\n } catch (SQLException e) {\n System.out.println(e.getMessage());\n }\n }",
"@Override\n\tpublic void onCreate(SQLiteDatabase database) {\n\t\tAppDBTableCreation.onCreate(database);\n\t}",
"@Override\n public void onUpgrade(SQLiteDatabase db, int i, int i1) {\n onCreate(db);\n\n }",
"@Before\n public void createDatabase() {\n dbService.getDdlInitializer()\n .initDB();\n kicCrud = new KicCrud();\n }",
"@Override\n public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {\n try {\n db.execSQL(DROP_TABLE); //drop/remove old table\n onCreate(db); //create new table using updated parameters\n ToastMessage.message(context, \"Change to database has been made!\");\n } catch (SQLException e) {\n //add toast message\n }\n }",
"@Override\n public void onCreate(SQLiteDatabase database, ConnectionSource connectionSource) {\n\n try {\n TableUtils.createTableIfNotExists(connectionSource, MessageBoard.class);\n TableUtils.createTableIfNotExists(connectionSource, User.class);\n TableUtils.createTableIfNotExists(connectionSource, ChatServerBean.class);\n\n } catch (SQLException e) {\n e.printStackTrace();\n }\n }",
"@Override\n\t\tpublic void onCreate(SQLiteDatabase db) {\n\t\t\tEventData.create(db);\n\t\t\tTriggerData.create(db);\n\t\t\tHostData.create(db);\n\t\t\tHostGroupData.create(db);\n\t\t\tItemData.create(db);\n\t\t\tApplicationData.create(db);\n\t\t\tCacheData.create(db);\n\t\t\tApplicationItemRelationData.create(db);\n\t\t\tHistoryDetailData.create(db);\n\t\t\tScreenData.create(db);\n\t\t\tScreenItemData.create(db);\n\t\t\tGraphData.create(db);\n\t\t\tGraphItemData.create(db);\n\t\t}",
"@Override\n\t\tpublic void up() {\n\t\t\t\n\t\t}",
"public abstract void createTables() throws DataServiceException;",
"@Override\n\t\t\tpublic void onUpgrade(DbUtils arg0, int arg1, int arg2) {\n\t\t\t\ttry {\n\t\t\t\t\targ0.createTableIfNotExist(Active.class);\n\t\t\t\t\targ0.execNonQuery(\"alter table Active add picUrl LONGTEXT \");\n\t\t\t\t} catch (DbException e) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\t}",
"public void createDB() {\n\t\ttry {\n\t\t\tBufferedReader br= new BufferedReader(new FileReader(\"db_schema.txt\"));\n\t\t\tString line= null;\n\t\t\tStringBuilder sb= new StringBuilder();\n\t\t\twhile ((line=br.readLine())!=null){\n\t\t\t\tsb.append(line);\n\t\t\t\tif(sb.length()>0 && sb.charAt(sb.length()-1)==';'){//see if it is the end of one line of command\n\t\t\t\t\tstatement.executeUpdate(sb.toString());\n\t\t\t\t\tsb= new StringBuilder();\n\t\t\t\t}\n\t\t\t}\n\t\t\tbr.close();\n\t\t} catch (FileNotFoundException e) {\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t} catch (SQLException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"@SuppressWarnings(\"unchecked\")\n void add(MigrationCommand command);",
"CreationData creationData();",
"@Override\n\tpublic void onUpgrade(SQLiteDatabase database, int oldVersion, int newVersion) {\n\t\tAppDBTableCreation.onUpgrade(database, oldVersion, newVersion);\n\t}",
"@Before\n\tpublic void setUpData() {\n\n\t\t// Make sure there is a type in the database\n\t\tType defaultType = new Type();\n\t\tdefaultType.setName(\"type\");\n\t\ttypeService.save(defaultType);\n\n\t\t// Make sure there is a seed packet in the database\n\t\tSeedPacket seedPacket = new SeedPacketBuilder()\n\t\t\t\t.withName(\"seed\")\n\t\t\t\t.withType(\"type\")\n\t\t\t\t.withPackSize(500).build();\n\n\t\tseedPacketService.save(seedPacket);\n\t}",
"public void createNewSchema() throws SQLException {\n ResultSet resultSet = databaseStatement.executeQuery(\"select count(datname) from pg_database\");\n int uniqueID = 0;\n if(resultSet.next()) {\n uniqueID = resultSet.getInt(1);\n }\n if(uniqueID != 0) {\n uniqueID++;\n databaseStatement.executeQuery(\"CREATE DATABASE OSM\"+uniqueID+\";\");\n }\n }",
"@Override\r\n\tpublic void onCreate(SQLiteDatabase db) {\n\t\tcreateDataTable(db);\r\n\t\tcreateTableNote(db);\r\n\t}",
"@Override\n public void onCreate(SQLiteDatabase db) {\n executeSQLScript(db, \"sql/cstigo_v\" + DATABASE_VERSION + \".sql\");\n }",
"@Override\n public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {\n db.execSQL(\"DROP TABLE IF EXISTS \" + UserContract.UserEntry.TABLE_NAME);\n\n // create new table\n onCreate(db);\n }",
"public void setupDB()\r\n\t{\n\tjdbcTemplateObject.execute(\"DROP TABLE IF EXISTS employee1 \");\r\n\r\n\tjdbcTemplateObject.\r\n\texecute(\"CREATE TABLE employee1\"\r\n\t+ \"(\" + \"name VARCHAR(255), id SERIAL)\");\r\n\t}",
"public static void createMigration(DBConnection db, String migrationKey, int id, String query, String... queries) {\n\t\t// add single element to front of array\n\t\tString[] allQueries = new String[queries.length + 1];\n\t\tallQueries[0] = query;\n\t\tfor (int i = 1; i < allQueries.length; i++) {\n\t\t\tallQueries[i] = queries[i - 1];\n\t\t}\n\t\tcreateMigration(db, migrationKey, id, (Callable<Boolean>) null, allQueries);\n\t}",
"@Override\n public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {\n\n db.execSQL(SQL_DELETE_ENTRIES);\n onCreate(db);\n\n // TODO: insert the current data\n }",
"public CreateData() {\n\t\t\n\t\t// TODO Auto-generated constructor stub\n\t}",
"@Override\n public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {\n db.execSQL(\"DROP TABLE IF EXISTS \" + TODO_TABLE);\n //Create tables again\n onCreate(db);\n }",
"@Override\n\t\tpublic void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {\n\t\t\ttry {\n\t\t\t\tdb.execSQL(TABLE_DROP);\n\t\t\t\tonCreate(db);\n\t\t\t} catch (SQLException e) {\n\t\t\t\t\n\t\t\t}\n\t\t}",
"FromTable createFromTable();",
"@Override\n public void onCreate(SQLiteDatabase sqLiteDatabase) {\n String sql = \"drop table \" + MelodyData.CreateDB._TABLENAME;\n sqLiteDatabase.execSQL(AccompanimentData.CreateDB._CREATE);\n sqLiteDatabase.execSQL(MelodyData.CreateDB._CREATE);\n }",
"public void testMigrationIsNeededOnData() {\n Version firstVsmLoadedVersion = checkVsmFileMigrationStatus(URI.createPlatformPluginURI(VSM_PATH, true), true);\n Version secondVsmLoadedVersion = checkVsmFileMigrationStatus(URI.createPlatformPluginURI(VSM_WITH_REF_TO_MIGRATED_VSM_PATH, true), true);\n Version firstRepresentationsFileloadedVersion = checkRepresentationFileMigrationStatus(URI.createPlatformPluginURI(AIRD_PATH, true), true);\n Version secondRepresentationsFileloadedVersion = checkRepresentationFileMigrationStatus(URI.createPlatformPluginURI(AIRD_WITH_REF_TO_MIGRATED_VSM_PATH, true), true);\n\n // Check that the migration is needed.\n Version firstVsmMigrationVersion = new OptionalLayersVSMMigrationParticipant().getMigrationVersion();\n assertTrue(\"Data corrupted: The first VSM should require a migration corresponding to the optional layers.\",\n firstVsmLoadedVersion == null || firstVsmMigrationVersion.compareTo(firstVsmLoadedVersion) > 0);\n\n Version secondVsmMigrationVersion = new OptionalLayersVSMMigrationParticipant().getMigrationVersion();\n assertTrue(\"Data corrupted: The first VSM should require a migration corresponding to the optional layers.\",\n secondVsmLoadedVersion == null || secondVsmMigrationVersion.compareTo(secondVsmLoadedVersion) > 0);\n\n Version firstRepresentationsFileMigrationVersion = DiagramRepresentationsFileMigrationParticipantV690.MIGRATION_VERSION;\n assertTrue(\"Data corrupted: The representations file should require a migration corresponding to the optional layers.\", firstRepresentationsFileloadedVersion == null\n || firstRepresentationsFileMigrationVersion.compareTo(firstRepresentationsFileloadedVersion) > 0);\n\n Version secondRepresentationsFileMigrationVersion = DiagramRepresentationsFileMigrationParticipantV690.MIGRATION_VERSION;\n assertTrue(\"Data corrupted: The representations file should require a migration corresponding to the optional layers.\", secondRepresentationsFileloadedVersion == null\n || secondRepresentationsFileMigrationVersion.compareTo(secondRepresentationsFileloadedVersion) > 0);\n }",
"@Override\n public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {\n db.execSQL(\"DROP TABLE IF EXISTS \" + TABLE_DEBITOS);\n\n // create new tables\n onCreate(db);\n }",
"@Override\n\tpublic void onCreate(SQLiteDatabase database) {\n\t\tcreateTables(database);\n\t}",
"public void dbCreate() throws IOException\n {\n boolean dbExist = dbCheck();\n\n if(!dbExist)\n {\n //By calling this method an empty database will be created into the default system patt\n //of the application so we can overwrite that db with our db.\n this.getReadableDatabase(); // create a new empty database in the correct path\n try\n {\n //copy the data from the database in the Assets folder to the new empty database\n copyDBFromAssets();\n }\n catch(IOException e)\n {\n throw new Error(\"Error copying database\");\n }\n }\n }",
"@Override\n public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {\n db.execSQL(DROP_USER_TABLE);\n // db.execSQL(DR);\n\n // Create tables again\n onCreate(db);\n\n }",
"public void createDataBase() throws IOException {\n boolean dbExist = checkDataBase();\n\n if (dbExist) {\n\n } else {\n this.getReadableDatabase();\n try {\n copyDataBase();\n } catch (IOException e) {\n Log.e(\"tle99 - create\", e.getMessage());\n }\n }\n }",
"protected abstract void finalizeMigration();",
"@Override\n\tpublic void onCreate(SQLiteDatabase db, ConnectionSource connectionSource) {\n\t\tthis.connectionSource = connectionSource;\n\t\tcreateTable();\n\t}",
"@Override\n public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {\n db.execSQL(\"DROP TABLE IF EXISTS \"+USER_DATA);\n onCreate(db);\n }",
"@Override\n public void onUpgrade(SQLiteDatabase sqLiteDatabase, int i, int i2) {\n sqLiteDatabase.execSQL(\"DROP TABLE IF EXISTS \"+ AccompanimentData.CreateDB._TABLENAME);\n sqLiteDatabase.execSQL(\"DROP TABLE IF EXISTS \"+ MelodyData.CreateDB._TABLENAME);\n onCreate(sqLiteDatabase);\n }",
"@Override\n public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {\n if (oldVersion > newVersion) {\n // TODO: lanzar excepcion\n } else {\n /*\n * por cada version de base de datos existe un script que actualiza\n * la misma a su version inmediata superior, ejecutar cada uno de\n * los scripts desde la version inicial (oldVersion) hasta la\n * version final (newVersion), esto para no crear archivos cada vez\n * mas grandes, sino simplemente ir actualizando la base a versiones\n * inmediatamente superiores hasta llegar a la version final\n */\n\n for (int versionToUpgrade = oldVersion + 1; versionToUpgrade <= newVersion; versionToUpgrade++) {\n executeSQLScript(db, \"sql/cstigo_v\" + (versionToUpgrade - 1)\n + \"to\" + versionToUpgrade + \".sql\");\n }\n }\n }",
"void create(DataTableDef def) throws IOException;",
"@Override\n\tpublic String createTable() {\n\t\t\t\treturn \"CREATE TABLE history_table_view(id number(8) primary key not null ,sqltext text, pointid varchar2(1024), type varchar2(100))\";\n\t}",
"@Override\n public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {\n db.execSQL(\"DROP TABLE IF EXISTS \" + TABLE_EMPLOYEE);\n db.execSQL(\"DROP TABLE IF EXISTS \" + TABLE_LEAVES);\n // create new tables\n onCreate(db);\n }",
"@Override\n\tpublic void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {\n\t\tdb.execSQL(\"DROP TABLE IF EXISTS \" + TABLE_FILE);\n\t\t// Create tables again\n\t\tonCreate(db);\n\t}",
"public static void insertTestDataLight() throws ArcException {\n\t\tinsertTestData(\"BdDTest/script_test_fonctionnel_sample.sql\");\n\t}",
"static void resetTestDatabase() {\n String URL = \"jdbc:mysql://localhost:3306/?serverTimezone=CET\";\n String USER = \"fourthingsplustest\";\n\n InputStream stream = UserStory1Test.class.getClassLoader().getResourceAsStream(\"init.sql\");\n if (stream == null) throw new RuntimeException(\"init.sql\");\n try (Connection conn = DriverManager.getConnection(URL, USER, null)) {\n conn.setAutoCommit(false);\n ScriptRunner runner = new ScriptRunner(conn);\n runner.setStopOnError(true);\n runner.runScript(new BufferedReader(new InputStreamReader(stream)));\n conn.commit();\n } catch (SQLException throwables) {\n throwables.printStackTrace();\n }\n System.out.println(\"Done running migration\");\n }",
"void go() {\n\t\tthis.conn = super.getConnection();\n\t\tcreateCustomersTable();\n\t\tcreateBankersTable();\n\t\tcreateCheckingAccountsTable();\n\t\tcreateSavingsAccountsTable();\n\t\tcreateCDAccountsTable();\n\t\tcreateTransactionsTable();\n\t\tcreateStocksTable();\n\t\tif(createAdminBanker) addAdminBanker();\n\t\tSystem.out.println(\"Database Created\");\n\n\t}",
"@Override\n public void onUpgrade(SQLiteDatabase db, int i, int i1) {\n db.execSQL(\"DROP TABLE IF EXISTS \" + NewsModel.TABLE_NAME);\n\n // Create tables again\n onCreate(db);\n }",
"public void createTable() {\r\n\t\tclient.createTable();\r\n\t}",
"@Override\n public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {\n db.execSQL(DROP_VEHICLE_TABLE);\n\n // Create tables again\n onCreate(db);\n\n }",
"@Override\n public void onUpgrade(SQLiteDatabase db, int oldV, int newV ){\n db.execSQL(\"DROP TABLE IF EXISTS \" + DAILY_ACCOUNT_TABLE);\n db.execSQL(\"DROP TABLE IF EXISTS \" + JOURNEY_ACCOUNT_TABLE);\n db.execSQL(\"DROP TABLE IF EXISTS \" + JOURNEY_TABLE);\n // Drop older table if existed\n db.execSQL(\"DROP TABLE IF EXISTS data\");\n // Create tables again\n onCreate(db);\n }",
"@Override\r\n\tpublic void onCreate(SQLiteDatabase db) {\n\t\tFormDAO.createTable(db);\r\n//\t\tCreate table ENumber\r\n\t\tENumberDAO.createTable(db);\r\n\t\t\r\n\r\n\t}",
"public void onCreate() {\r\n\t\tcreatorClass.onCreate(table);\r\n\t}",
"@Override\n public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {\n db.execSQL(\"DROP TABLE IF EXISTS \" + TABLE_PUSH);\n db.execSQL(\"DROP TABLE IF EXISTS \" + TABLE_PULL);\n db.execSQL(\"DROP TABLE IF EXISTS \" + TABLE_LEGS);\n\n // create new tables\n onCreate(db);\n }",
"Collection<Migration> handle(ResourceContext ctx);",
"private void createTables() {\n\n\t\tAutoDao.createTable(db, true);\n\t\tAutoKepDao.createTable(db, true);\n\t\tMunkaDao.createTable(db, true);\n\t\tMunkaEszkozDao.createTable(db, true);\n\t\tMunkaKepDao.createTable(db, true);\n\t\tMunkaTipusDao.createTable(db, true);\n\t\tPartnerDao.createTable(db, true);\n\t\tPartnerKepDao.createTable(db, true);\n\t\tProfilKepDao.createTable(db, true);\n\t\tSoforDao.createTable(db, true);\n\t\tTelephelyDao.createTable(db, true);\n\t\tPushMessageDao.createTable(db, true);\n\n\t}",
"@Override\n\tpublic void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {\n\t\tdrop();\n\t\tonCreate(db);\n\t}",
"@Override\n public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {\n db.execSQL(\"DROP TABLE IF EXISTS \" + TABLE_Activitys);\n // Create tables again\n onCreate(db);\n }",
"@Override\n public Pipe execute(DBMS engine) throws DBxicException {\n engine.storManager.createTable(table);\n engine.catalog.saveCatalog();\n return new MessageThroughPipe(\"Table \" + table.getName() + \" successfully created\");\n }",
"public abstract boolean migrate(int userId, String uuid, String tarHost, String content, String conid);",
"public void generateDB() {\n\t\t// Database tables creation\n\t\tcreateTables();\n\n\t\t// Try catch estructure in case there is an exception during the data\n\t\t// insertion\n\t\ttry {\n\t\t\t// Create an admin user\n\t\t\tadminUser = new User(\"admin\", \"1234\", \"admin\", \"admin\", \"admin\", 1);\n\n\t\t\t// Create some default players\n\t\t\tString p1DateString = \"1988-05-12\";\n\t\t\tString p2DateString = \"1985-02-05\";\n\t\t\tString p3DateString = \"1987-06-24\";\n\t\t\tString p4DateString = \"1992-02-05\";\n\t\t\tDate p1Date = sdf.parse(p1DateString);\n\t\t\tDate p2Date = sdf.parse(p2DateString);\n\t\t\tDate p3Date = sdf.parse(p3DateString);\n\t\t\tDate p4Date = sdf.parse(p4DateString);\n\t\t\tp1 = new Player(\"Marcelo\", \"Vieira\", p1Date, 174);\n\t\t\tp2 = new Player(\"Cristiano\", \"Ronaldo\", p2Date, 185);\n\t\t\tp3 = new Player(\"Lionel\", \"Messi\", p3Date, 170);\n\t\t\tp4 = new Player(\"Neymar\", \"Silva\", p4Date, 175);\n\n\t\t\t// Create some default teams\n\t\t\tString t1DateString = \"1902-03-6\";\n\t\t\tString t2DateString = \"1985-02-05\";\n\t\t\tDate t1Date = sdf.parse(t1DateString);\n\t\t\tDate t2Date = sdf.parse(t2DateString);\n\t\t\tList<Player> t1Players = formatPlayers(getPlayersByTeamId(REAL_MADRID));\n\t\t\tList<Player> t2Players = formatPlayers(getPlayersByTeamId(BARCELONA));\n\t\t\tt1 = new Team(t1Players, \"Real Madrid C.F.\", \"Zinedine Zidane\", \"Madrid\", t1Date);\n\t\t\tt2 = new Team(t2Players, \"FC Barcelona\", \"Luis Enrique\", \"Barcelona\", t2Date);\n\n\t\t\t// Create some default stats\n\t\t\ts1 = new Stats(1, 1, 6, 15);\n\t\t\ts2 = new Stats(3, 1, 8, 18);\n\n\t\t\t// Create some default matches\n\t\t\tString m1DateString = \"2017-01-20\";\n\t\t\tString m2DateString = \"2017-03-06\";\n\t\t\tDate m1Date = sdf.parse(m1DateString);\n\t\t\tDate m2Date = sdf.parse(m2DateString);\n\t\t\tm1 = new Match(t2, t1, s1, m1Date, \"Alfonso Alvarez Izq\");\n\t\t\tm2 = new Match(t1, t2, s2, m2Date, \"Carlos Clos Gomez\");\n\n\t\t\t// Fill the database tables only if they are empty\n\t\t\tif (!usersFilled()) {\n\t\t\t\tinsertUser(adminUser);\n\t\t\t}\n\t\t\tif (!playersFilled()) {\n\t\t\t\tinsertPlayer(p1, REAL_MADRID);\n\t\t\t\tinsertPlayer(p2, REAL_MADRID);\n\t\t\t\tinsertPlayer(p3, BARCELONA);\n\t\t\t\tinsertPlayer(p4, BARCELONA);\n\t\t\t}\n\t\t\tif (!teamsFilled()) {\n\t\t\t\tinsertTeam(t1);\n\t\t\t\tinsertTeam(t2);\n\t\t\t}\n\t\t\tif (!matchesFilled() && !statsFilled()) {\n\t\t\t\tinsertStat(s1);\n\t\t\t\tinsertMatch(m1);\n\t\t\t\tinsertStat(s2);\n\t\t\t\tinsertMatch(m2);\n\t\t\t}\n\t\t} catch (SQLException e) {\n\t\t\te.printStackTrace();\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}",
"@Override\n\tpublic void onCreate(SQLiteDatabase db) {\n\t\tString[] tables = CREATE_TABLES.split(\";\");\n\t\tfor(String SQL : tables){\n\t\t db.execSQL(SQL);\n\t\t}\n\t}",
"@Override\n public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {\n db.execSQL(DROP_USER_TABLE);\n db.execSQL(SQL_DELETE_ENTRIES);\n\n // Create tables again\n onCreate(db);\n\n }"
]
| [
"0.6467968",
"0.62336427",
"0.60777456",
"0.5905632",
"0.5779864",
"0.56215954",
"0.5554996",
"0.5503526",
"0.5467041",
"0.546083",
"0.5459928",
"0.54568535",
"0.54094243",
"0.5389781",
"0.5386071",
"0.5371104",
"0.53480303",
"0.53413135",
"0.5329152",
"0.5327056",
"0.532151",
"0.53058493",
"0.53058493",
"0.52946186",
"0.52805924",
"0.52733856",
"0.52619886",
"0.525952",
"0.5259494",
"0.5239155",
"0.5230447",
"0.52163357",
"0.5211566",
"0.51960516",
"0.5186862",
"0.5183919",
"0.5179132",
"0.51677597",
"0.5143403",
"0.51388866",
"0.5133111",
"0.51318884",
"0.5129478",
"0.51284117",
"0.51271313",
"0.5122791",
"0.51222974",
"0.5120399",
"0.5118512",
"0.5106377",
"0.5097542",
"0.5083866",
"0.5079684",
"0.5079674",
"0.5071791",
"0.5068203",
"0.506466",
"0.5053847",
"0.5052887",
"0.5044485",
"0.50399065",
"0.5034283",
"0.5030337",
"0.5029953",
"0.5025055",
"0.50226825",
"0.5022439",
"0.5021655",
"0.502003",
"0.500878",
"0.500771",
"0.49895152",
"0.4986261",
"0.49857032",
"0.49844933",
"0.49770796",
"0.49766746",
"0.49732855",
"0.49707708",
"0.49685085",
"0.49662235",
"0.49653563",
"0.49627855",
"0.4961876",
"0.49592865",
"0.4955401",
"0.4954279",
"0.49443197",
"0.4943036",
"0.4938904",
"0.49383232",
"0.49381265",
"0.49379164",
"0.49373534",
"0.49368453",
"0.49363017",
"0.49304712",
"0.49288207",
"0.49276006",
"0.49266535"
]
| 0.5946194 | 3 |
Copy all values from ExerciseConfig ino this Exercise object | public void set(ExerciseConfig other) {
this.title = other.getTitle();
this.longTitle = other.getLongTitle() == null ? other.getTitle() : other.getLongTitle();
this.type = other.getType();
this.language = other.getLanguage();
this.isGraded = other.getIsGraded();
this.maxScore = other.getMaxScore();
this.maxSubmits = other.getMaxSubmits();
this.gradingSetup = other.getGradingSetup();
this.options = other.getOptions();
this.solutions = other.getSolutions();
this.hints = other.getHints();
this.executionLimits = other.getExecutionLimits();
this.rounding = other.getRounding();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void update(Exercise other) {\n set(other);\n this.gitHash = other.gitHash;\n this.private_files = other.private_files;\n this.public_files = other.public_files;\n this.solution_files = other.solution_files;\n this.resource_files = other.resource_files;\n this.question = other.question;\n }",
"private void updateConfig(){\n try {\n BeanUtils.copyProperties(config_,newConfig_);//copy the properties of newConfig_ into config_\n } catch (IllegalAccessException ex) {\n ReportingUtils.logError(ex, \"Failed to make copy of settings\");\n } catch (InvocationTargetException ex) {\n ReportingUtils.logError(ex, \"Failed to make copy of settings\");\n }\n }",
"public Config(Properties props) {\n entries = (Properties)props.clone();\n }",
"public void loadConfig(){\n this.saveDefaultConfig();\n //this.saveConfig();\n\n\n }",
"public Exercise(String name) {\n\t\tthis.name = name;\n\t\tsetList = new ArrayList<Set>();\n\t\trepsGoal = -1;\n\t\tweightGoal = -1;\n\t\trest = -1;\n\t\texerciseInstance = false;\n\t\tnotes = \"\";\n\t\toldId = -1;\n\t\tid = -1;\n\t}",
"private static void configure(final VendingTileEntity vte) {\n\n\t\tfinal ItemStack[] inv = vte.getRawInventory();\n\t\tfinal VillagerProfession profession = VillagerProfession.randomProfession();\n\t\tfinal int count = 2 + random.nextInt(5);\n\n\t\t// Use this method because if the spawn point is created before\n\t\t// the world is launched it is not possible to have a FakePlayer\n\t\t// \"log in\".\n\t\tvte.setOwnerId(FakePlayerHelper.getFakePlayerID());\n\t\tvte.setName(profession.getVendingTitle());\n\t\tvte.setNameBackgroundColor(profession.getBackgroundColor());\n\t\tvte.setNameColor(profession.getForegroundColor());\n\n\t\tint index = 0;\n\t\tfor (final Object rm : profession.getTradeList(count)) {\n\t\t\tif (rm instanceof MerchantRecipe) {\n\t\t\t\tfinal MerchantRecipe mr = (MerchantRecipe)rm;\n\t\t\t\tfinal int base = index + VendingTileEntity.CONFIG_SLOT_START;\n\t\t\t\tinv[base] = mr.getItemToBuy().copy();\n\t\t\t\tif (mr.hasSecondItemToBuy())\n\t\t\t\t\tinv[base + 6] = mr.getSecondItemToBuy().copy();\n\t\t\t\tfinal ItemStack stack = inv[base + 12] = mr.getItemToSell().copy();\n\n\t\t\t\t// Put items in inventory to give to the player\n\t\t\t\tint stacks = 0;\n\t\t\t\tif (stack.isStackable())\n\t\t\t\t\tstacks = random.nextInt(6) + random.nextInt(6) + 2;\n\t\t\t\telse\n\t\t\t\t\tstacks = random.nextInt(3) + 1;\n\n\t\t\t\tfor (int i = 0; i < stacks; i++)\n\t\t\t\t\tvte.addStackToOutput(stack.copy());\n\n\t\t\t\tindex++;\n\t\t\t}\n\t\t}\n\t}",
"public void updateConfig() {\n conf.set(\"racetype\", raceType.name());\n conf.set(\"perkpoints\", perkpoints);\n conf.set(\"health\", getHealth());\n\n if (conf.isSet(\"binds\")) {\n conf.set(\"binds\", null);\n }\n\n if (!binds.getBinds().isEmpty()) {\n for (Bind b : binds.getBinds()) {\n String key = b.getItem().name().toLowerCase() + b.getData();\n conf.set(\"binds.\" + key + \".item\", b.getItem().name());\n conf.set(\"binds.\" + key + \".data\", b.getData());\n List<String> abilities = Lists.newArrayList();\n b.getAbilityTypes().stream().forEach(a -> abilities.add(a.name()));\n conf.set(\"binds.\" + key + \".abilities\", abilities);\n }\n }\n\n\n AbilityFileManager.saveAbilities(this);\n }",
"public void copyConfig()\n {\n if (srcParts == null || dstParts == null)\n {\n logger.error(\"VObjectTreeCopier.copyConfig: null source or destination\");\n return;\n }\n if (hasRootTranslation)\n {\n srcParts[rootTranslationIdx].getTranslation(buf);\n dstParts[rootTranslationIdx].setTranslation(buf);\n }\n if (hasTranslation)\n {\n for (int i = 0; i < srcParts.length; i++)\n {\n srcParts[i].getTranslation(buf);\n dstParts[i].setTranslation(buf);\n }\n }\n if (hasRotation)\n {\n for (int i = 0; i < srcParts.length; i++)\n {\n srcParts[i].getRotation(buf);\n dstParts[i].setRotation(buf);\n }\n }\n if (hasScale)\n {\n for (int i = 0; i < srcParts.length; i++)\n {\n srcParts[i].getScale(buf);\n dstParts[i].setScale(buf);\n }\n }\n if (hasVelocity)\n {\n for (int i = 0; i < srcParts.length; i++)\n {\n srcParts[i].getVelocity(buf);\n dstParts[i].setVelocity(buf);\n }\n }\n if (hasAngularVelocity)\n {\n for (int i = 0; i < srcParts.length; i++)\n {\n srcParts[i].getAngularVelocity(buf);\n dstParts[i].setAngularVelocity(buf);\n }\n }\n\n }",
"public void setExercise(Exercise target, Exercise editedExercise) {\n logger.info(\"Setting exercise\");\n int index = workoutExercises.indexOf(target);\n if (index != -1) {\n workoutExercises.set(index, editedExercise);\n }\n }",
"public static void LoadIntoConfigFiles()\n {\n \tProperties prop = new Properties();\n ///*\n \ttry {\n \t\t//set the properties value\n \n prop.setProperty(\"comp_name\", \"Teledom International Ltd\");\n prop.setProperty(\"com_city\", \"Lagos\");\n \t\tprop.setProperty(\"State\", \"Lagos\");\n \t\tprop.setProperty(\"logo_con\", \"logo.png\");\n \t\tprop.setProperty(\"front_frame\", \"front.png\");\n prop.setProperty(\"back_frame\", \"back.png\");\n \n \n \n \n \t\t//save properties to project root folder\n \t\tprop.store(new FileOutputStream(setupFileName), null);\n \n \t} catch (IOException ex) {\n \t\tex.printStackTrace();\n }\n // */\n \n \n \n }",
"public void setConfiguration(Properties props);",
"protected void copyProperties(AbstractContext context) {\n\t\tcontext.description = this.description;\n\t\tcontext.batchSize = this.batchSize;\n\t\tcontext.injectBeans = this.injectBeans;\n\t\tcontext.commitImmediately = this.isCommitImmediately();\n\t\tcontext.script = this.script;\n\t}",
"public void fromConfig (VoxConfig conf);",
"@Override\n\tpublic Properties getConfig() {\n\t\treturn null;\n\t}",
"private void initConfiguration() {\n\t\tseedList = new ArrayList<String>();\n\t\t// TODO: add other initialization here...\n\t}",
"protected void makeConfigImmutable() {\n final Project project = speedment.getProjectComponent().getProject();\n if (project != null) {\n final Project immutableProject = ImmutableProject.wrap(project);\n speedment.getProjectComponent().setProject(immutableProject);\n }\n }",
"void overwriteConfiguration(Map<String, Object> config);",
"public void loadConfig(){\n \t\tFile configDir = this.getDataFolder();\n \t\tif (!configDir.exists())\n \t\t\tconfigDir.mkdir();\n \n \t\t// Check for existance of config file\n \t\tFile configFile = new File(this.getDataFolder().toString() + \"/config.yml\");\n \t\tconfig = YamlConfiguration.loadConfiguration(configFile);\n \t\t\n \t\t// Adding Variables\n \t\tif(!config.contains(\"Debug\"))\n \t\t{\n \t\t\tconfig.addDefault(\"Debug\", false);\n \t \n \t config.addDefault(\"Worlds\", \"ExampleWorld1, ExampleWorld2\");\n \t\n\t config.addDefault(\"Regions.Residence\", \"ExampleWorld.ExampleResRegion1, ExampleWorld.ExampleResRegion2\");\n \t \n\t config.addDefault(\"Regions.WorldGuard\", \"ExampleWorld.ExampleWGRegion1, ExampleWorld.ExampleWGRegion2\"); \n \t\t}\n \n // Loading the variables from config\n \tdebug = (Boolean) config.get(\"Debug\");\n \tpchestWorlds = (String) config.get(\"Worlds\");\n \tpchestResRegions = (String) config.get(\"Regions.Residence\");\n \tpchestWGRegions = (String) config.get(\"Regions.WorldGuard\");\n \n if(pchestWorlds != null)\n {\n \tlog.info(\"[\"+getDescription().getName()+\"] All Chests Worlds: \" + pchestWorlds);\n }\n \n if(pchestResRegions != null)\n {\n \tlog.info(\"[\"+getDescription().getName()+\"] All Residence Regions: \" + pchestResRegions);\n }\n \n if(pchestWGRegions != null)\n {\n \tlog.info(\"[\"+getDescription().getName()+\"] All World Guard Regions: \" + pchestWGRegions);\n }\n \n config.options().copyDefaults(true);\n try {\n config.save(configFile);\n } catch (IOException ex) {\n Logger.getLogger(JavaPlugin.class.getName()).log(Level.SEVERE, \"Could not save config to \" + configFile, ex);\n }\n }",
"public void populate(Config config) {\n }",
"private void config() {\n\t}",
"protected void copyValuesFrom(IProjectConfig config) {\n configuration = null;\n withMetaborgVersion(config.metaborgVersion());\n withCompileDeps(config.compileDeps());\n withSourceDeps(config.sourceDeps());\n withJavaDeps(config.javaDeps());\n }",
"public Exercise(int index) {\n this.index = index;\n }",
"public synchronized void resetExercises() {\n exercises = null;\n }",
"private void saveProperties() throws IOException {\r\n\t\tsetProperties();\r\n\t\tOutputStream outputStream;\r\n\t\toutputStream = new FileOutputStream(configFile);\r\n\t\tconfigProps.store(outputStream, \"Lot Data Mapper Application\");\r\n\t\tString msg = \"SAVING PROPERTIES WITH VALUES: \\n\\t 1 \\t\" + dt.Root+\"\\n \\t 2 \\t\" + dt.Map+\" \\n\\t 3 \\t\" + dt.Out+\" \\n\\t 4 \\t\" + Trans.ReportTypeName+\" \\n\\t 5 \\t\"+Trans.ReportedByPersonName+\" \\n\\t 6\\t\"+Trans.ReportedDate + \"\\n PROPERTIIES SAVED\";\r\n\t\tlg.l(msg);\r\n\t\toutputStream.close();\r\n\t}",
"protected void additionalConfig(ConfigType config){}",
"@BeforeTest\n\tpublic void config() {\n\t\tString path=System.getProperty(\"user.dir\")+\"\\\\reports\\\\index.html\"; //after + we want new path to add to it\n\t\tExtentSparkReporter reporter=new ExtentSparkReporter(path);// this is responsible for creating report\n\t\treporter.config().setReportName(\"Web Automation Akhil\");\n\t\treporter.config().setDocumentTitle(\"Test Results\");\n\t\t\n\t\tExtentReports extent=new ExtentReports();// this is main class for Tracking the things.\n\t\textent.attachReporter(reporter); // Here is link of config with main class\n\t\textent.setSystemInfo(\"Tester\", \"Akhilesh Rawat\");\n\t}",
"public void save() {\n if (worldOreConfig == null) {\n return;\n }\n\n final WorldOreConfig worldOreConfig;\n\n if (!(this.worldOreConfig instanceof ConfigurationSerializable)) {\n worldOreConfig = new WorldOreConfigYamlImpl(this.worldOreConfig.getName(), this.worldOreConfig.getConfigType(), this.worldOreConfig.getOreSettings(), this.worldOreConfig.getBiomeOreSettings());\n } else {\n worldOreConfig = this.worldOreConfig;\n }\n\n final Config config = new Config(file);\n\n config.set(\"value\", worldOreConfig);\n\n try {\n config.options().header(\"This file is machine generated, please use the in game commands and gui to change values. \\nModifying this file per hand on your own risk.\").copyHeader(true);\n config.save(file);\n } catch (final IOException e) {\n throw new RuntimeException(\"Unexpected error while saving WorldOreConfig \" + worldOreConfig.getName() + \" to disk!\", e);\n }\n }",
"public synchronized static void initConfig(ITestContext context) {\n SeLionLogger.getLogger().entering(context);\n Map<ConfigProperty, String> initialValues = new HashMap<>();\n Map<String, String> testParams = context.getCurrentXmlTest().getLocalParameters();\n if (!testParams.isEmpty()) {\n for (ConfigProperty prop : ConfigProperty.values()) {\n // Check if a selionConfig param resides in the <test>\n String newValue = testParams.get(prop.getName());\n // accept param values that are empty in initialValues.\n if (newValue != null) {\n initialValues.put(prop, newValue);\n }\n }\n }\n\n ConfigManager.addConfig(context.getCurrentXmlTest().getName(), new LocalConfig(initialValues));\n SeLionLogger.getLogger().exiting();\n }",
"public void reload() {\n FileConfiguration config = plugin.getConfig();\n\n // Set up answers\n answers = new HashMap<>();\n if(config.contains(\"answers\")) {\n Map<String, Object> answersConfig = config.getConfigurationSection(\"answers\").getValues(true);\n for (Map.Entry<String, Object> entry : answersConfig.entrySet()) {\n if(entry.getValue() instanceof String) {\n answers.put(entry.getKey(), (String) entry.getValue());\n } else {\n logger.info(\"Invalid value for answer ID \" + entry.getKey());\n }\n }\n } else {\n logger.info(\"The config does not have answers! Not even for your existence!\");\n }\n\n // Set up questions\n questions = new HashMap<>();\n if(config.contains(\"questions\")) {\n Map<String, Object> questionsConfig = config.getConfigurationSection(\"questions\").getValues(true);\n for (Map.Entry<String, Object> entry : questionsConfig.entrySet()) {\n String answerID = \"\";\n if(entry.getValue() instanceof Integer) {\n answerID = entry.getValue().toString();\n } else if(entry.getValue() instanceof String) {\n answerID = (String) entry.getValue();\n } else if(answerID.isEmpty()) {\n logger.info(\"Invalid value for question regex \" + entry.getKey());\n continue;\n }\n\n if(questions.containsKey(entry.getKey()) && !answers.containsKey(answerID)) {\n logger.warning(\"Answer ID \" + entry.getValue() + \" not found\");\n } else {\n questions.put(entry.getKey(), answerID);\n }\n }\n\n logger.info(\"Registered \" + questions.size() + \" questions\");\n } else {\n logger.info(\"The config does not have questions!\");\n }\n\n commands = new HashMap<>();\n if(config.contains(\"listen-commands\")) {\n Map<String, Object> cmdsConfig = config.getConfigurationSection(\"listen-commands\").getValues(false);\n for (Map.Entry<String, Object> entry : cmdsConfig.entrySet()) {\n String cmdName = entry.getKey().toLowerCase();\n if(commands.containsKey(cmdName)) continue;\n\n CommandConfig newCmd = new CommandConfig(cmdName);\n ConfigurationSection ms = config.getConfigurationSection(\"listen-commands\").getConfigurationSection(cmdName);\n if(ms == null) continue;\n\n if(ms.contains(\"cancel\")) newCmd.cancel = ms.getBoolean(\"cancel\");\n if(ms.contains(\"tell-staff\")) newCmd.tellStaff = ms.getBoolean(\"tell-staff\");\n if(ms.contains(\"args-offset\")) newCmd.offset = ms.getInt(\"args-offset\");\n commands.put(cmdName, newCmd);\n logger.info(\"Listening to command '\" + cmdName + \"'\");\n }\n }\n }",
"void setup(Map<String, Object> cfg);",
"protected void storeTestConf(Properties props) throws IOException\n {\n ByteArrayOutputStream arrayOutputStream = new ByteArrayOutputStream();\n DataOutputStream dataStream = new DataOutputStream(arrayOutputStream); \n createJobConf().write(dataStream); \n dataStream.flush();\n props.setProperty(\"test.conf\", new String(Base64.encodeBase64(arrayOutputStream.toByteArray())));\n }",
"public IConfiguration configToConvert() {\n\t\tString inputFiles = jTextFieldInputFiles.getText();\n\t\tString outputFile = jTextFieldOutputFile.getText();\n\t\tif (inputFiles.length() > 0)\n\t\t\tmodifications.insertPoolSource(inputFiles);\n\t\tif (outputFile.length() > 0)\n\t\t\tmodifications.insertPoolOutputModule(outputFile);\n\t\tif (asFragment()) {\n\t\t\tmodifications.filterAllEDSources(true);\n\t\t\tmodifications.filterAllOutputModules(true);\n\t\t}\n\t\tmodifier.modify(modifications);\n\t\treturn modifier;\n\t}",
"private void saveConfiguration() {\n }",
"public void saveProperties()\n {\n _appContext.Configuration.save();\n }",
"private void copy(ECLWorkunit base)\n {\n if (base == null)\n {\n return;\n }\n this.eclWorkunit=base;\n this.setAccessFlag(base.getAccessFlag());\n this.setAction(base.getAction());\n this.setActionEx(base.getActionEx());\n this.setActive(base.getActive());\n this.setAlertCount(base.getAlertCount());\n this.setAllowedClusters(base.getAllowedClusters());\n this.setApplicationValueCount(base.getApplicationValueCount());\n if (base.getApplicationValues() != null)\n {\n this.applicationValues=new ArrayList<ApplicationValueInfo>();\n for (int i=0; i < base.getApplicationValues().length;i++) {\n applicationValues.add(new ApplicationValueInfo(base.getApplicationValues()[i]));\n }\n }\n this.setApplicationValuesDesc(base.getApplicationValuesDesc());\n this.setArchived(base.getArchived());\n this.setCluster(base.getCluster());\n this.setClusterFlag(base.getClusterFlag());\n this.setDateTimeScheduled(base.getDateTimeScheduled());\n this.setDebugValueCount(base.getDebugValueCount());\n this.setDebugValues(base.getDebugValues());\n this.setDebugValuesDesc(base.getDebugValuesDesc());\n this.setDescription(base.getDescription()); \n this.setErrorCount(base.getErrorCount());\n this.setEventSchedule(base.getEventSchedule());\n if (base.getExceptions() != null ) {\n this.exceptions=new ArrayList<ECLExceptionInfo>();\n for (int i=0; i < base.getExceptions().length;i++) {\n exceptions.add(new ECLExceptionInfo(base.getExceptions()[i]));\n }\n }\n this.setGraphCount(base.getGraphCount());\n this.setGraphs(base.getGraphs());\n this.setGraphsDesc(base.getGraphsDesc());\n this.setHasArchiveQuery(base.getHasArchiveQuery());\n this.setHasDebugValue(base.getHasDebugValue());\n this.setHelpers(base.getHelpers());\n this.setHelpersDesc(base.getHelpersDesc());\n this.setInfoCount(base.getInfoCount());\n this.setIsPausing(base.getIsPausing());\n this.setJobname(base.getJobname());\n this.setOwner(base.getOwner());\n this.setPriorityClass(base.getPriorityClass());\n this.setPriorityLevel(base.getPriorityLevel());\n this.setQuery(base.getQuery());\n this.setQueue(base.getQueue());\n this.setResourceURLCount(base.getResourceURLCount());\n this.setResourceURLs(base.getResourceURLs());\n this.setResultCount(base.getResultCount());\n this.setResultLimit(base.getResultLimit());\n if (base.getResults() != null)\n {\n this.eclResults=new ArrayList<ECLResultInfo>();\n for (int i=0; i < base.getResults().length;i++) {\n eclResults.add(new ECLResultInfo(base.getResults()[i]));\n }\n }\n this.setResultsDesc(base.getResultsDesc());\n this.setRoxieCluster(base.getRoxieCluster());\n this.setScope(base.getScope());\n this.setSnapshot(base.getSnapshot());\n this.setSourceFileCount(base.getSourceFileCount());\n this.setSourceFiles(base.getSourceFiles());\n this.setSourceFilesDesc(base.getSourceFilesDesc());\n this.setState(base.getState());\n this.setStateEx(base.getStateEx());\n this.setStateID(base.getStateID());\n this.setTimerCount(base.getTimerCount());\n this.setTimersDesc(base.getTimersDesc());\n this.setTimingData(base.getTimingData());\n this.setTotalClusterTime(base.getTotalClusterTime());\n this.setVariableCount(base.getVariableCount());\n if (base.getVariables() != null)\n {\n this.variables=new ArrayList<ECLResultInfo>();\n for (int i=0; i < base.getVariables().length;i++) {\n variables.add(new ECLResultInfo(base.getVariables()[i]));\n }\n }\n this.setThorLCR(base.getThorLCR());\n this.setThorLogList(base.getThorLogList()); \n this.setVariablesDesc(base.getVariablesDesc());\n this.setWarningCount(base.getWarningCount());\n this.setWorkflowCount(base.getWorkflowCount());\n this.setWorkflows(base.getWorkflows());\n this.setWorkflowsDesc(base.getWorkflowsDesc());\n this.setWuid(base.getWuid());\n this.setXmlParams(base.getXmlParams());\n\n }",
"public void IntialProperties() {\r\n Properties prop = new Properties();\r\n try (FileInputStream input = new FileInputStream(\"./config.properties\")) {\r\n prop.load(input);\r\n generate = prop.getProperty(\"generate\");\r\n solve = prop.getProperty(\"algorithm\");\r\n setChanged();\r\n notifyObservers(\"prop\");\r\n } catch (FileNotFoundException e) {\r\n e.printStackTrace();\r\n } catch (IOException e) {\r\n e.printStackTrace();\r\n }\r\n\r\n }",
"public Config() {\n this(System.getProperties());\n\n }",
"public SettingsSaver() {\n set[0] = advModeUnlocked;\n set[1] = LIM_NOTESPERLINE;\n set[2] = LIM_96_MEASURES;\n set[3] = LIM_VOLUME_LINE;\n set[4] = LIM_LOWA;\n set[5] = LIM_HIGHD;\n set[6] = LOW_A_ON;\n set[7] = NEG_TEMPO_FUN;\n set[8] = LIM_TEMPO_GAPS;\n set[9] = RESIZE_WIN;\n set[10] = ADV_MODE;\n }",
"public synchronized static void initConfig(ISuite suite) {\n SeLionLogger.getLogger().entering(suite);\n Map<ConfigProperty, String> initialValues = new HashMap<>();\n for (ConfigProperty prop : ConfigProperty.values()) {\n String paramValue = suite.getParameter(prop.getName());\n // empty values may be valid for some properties\n if (paramValue != null) {\n initialValues.put(prop, paramValue);\n }\n }\n initConfig(initialValues);\n\n SeLionLogger.getLogger().exiting();\n }",
"private void ReadConfig()\n {\n try\n {\n Yaml yaml = new Yaml();\n\n BufferedReader reader = new BufferedReader(new FileReader(confFileName));\n\n yamlConfig = yaml.loadAll(reader);\n\n for (Object confEntry : yamlConfig)\n {\n //System.out.println(\"Configuration object type: \" + confEntry.getClass());\n\n Map<String, Object> confMap = (Map<String, Object>) confEntry;\n //System.out.println(\"conf contents: \" + confMap);\n\n\n for (String keyName : confMap.keySet())\n {\n //System.out.println(keyName + \" = \" + confMap.get(keyName).toString());\n\n switch (keyName)\n {\n case \"lineInclude\":\n\n for ( String key : ((Map<String, String>) confMap.get(keyName)).keySet())\n {\n lineFindReplace.put(key, ((Map<String, String>) confMap.get(keyName)).get(key).toString());\n }\n\n lineIncludePattern = ConvertToPattern(lineFindReplace.keySet().toString());\n\n break;\n case \"lineExclude\":\n lineExcludePattern = ConvertToPattern(confMap.get(keyName).toString());\n break;\n case \"fileExclude\":\n fileExcludePattern = ConvertToPattern(confMap.get(keyName).toString());\n break;\n case \"fileInclude\":\n fileIncludePattern = ConvertToPattern(confMap.get(keyName).toString());\n break;\n case \"dirExclude\":\n dirExcludePattern = ConvertToPattern(confMap.get(keyName).toString());\n break;\n case \"dirInclude\":\n dirIncludePattern = ConvertToPattern(confMap.get(keyName).toString());\n break;\n case \"urlPattern\":\n urlPattern = ConvertToPattern(confMap.get(keyName).toString());\n break;\n }\n }\n }\n\n } catch (Exception e)\n {\n System.err.format(\"Exception occurred trying to read '%s'.\", confFileName);\n e.printStackTrace();\n }\n }",
"private void read() {\n // Read the properties from the project\n EditableProperties sharedProps = antProjectHelper.getProperties(AntProjectHelper.PROJECT_PROPERTIES_PATH);\n EditableProperties privateProps = antProjectHelper.getProperties(AntProjectHelper.PRIVATE_PROPERTIES_PATH);\n final ProjectConfiguration cfgs[] = configHelper.getConfigurations().toArray(new ProjectConfiguration[0]);\n final ProjectConfiguration confs[] = new ProjectConfiguration[cfgs.length];\n System.arraycopy(cfgs, 0, confs, 0, cfgs.length);\n setConfigurations(confs);\n // Initialize the property map with objects\n properties.put(J2ME_PROJECT_NAME, new PropertyInfo(new PropertyDescriptor(J2ME_PROJECT_NAME, true, DefaultPropertyParsers.STRING_PARSER), ProjectUtils.getInformation(project).getDisplayName()));\n for (PropertyDescriptor pd:PROPERTY_DESCRIPTORS) {\n EditableProperties ep = pd.isShared() ? sharedProps : privateProps;\n String raw = ep.getProperty( pd.getName());\n properties.put( pd.getName(), new PropertyInfo( pd, raw == null ? pd.getDefaultValue() : raw));\n for (int j=0; j<devConfigs.length; j++) {\n final PropertyDescriptor clone = pd.clone(CONFIG_PREFIX + devConfigs[j].getDisplayName() + '.' + pd.getName());\n raw = ep.getProperty(clone.getName());\n if (raw != null) {\n properties.put(clone.getName(), new PropertyInfo(clone, raw));\n }\n }\n }\n }",
"private void setUpFrom(){\n\t\tEPVentanaTemporal ven = new EPVentanaTemporal();\n\t\tEPPropiedad pro = new EPPropiedad();\n\t\t//setemamos la ventana.\n\t\tven.setNombre(\"time_batch\");\n\t\tven.setValor(\"10\");\n\t\tven.setUnidadTemporal(\"seconds\");\n\t\tven.setPseudonombre(\"a1\");\n\t\tpro.setNombre(\"p4\");\n\t\tpro.setPseudonombre(\"\");\n\t\tpro.setVentana(ven);\n\t\texpresionesFrom.add(pro);\n\t}",
"public void transferStateToConfig() {\r\n \t\t\r\n \t\t\tSeamCorePlugin.getDefault().getPluginPreferences().setValue(\r\n \t\t\t\t\tSeamProjectPreferences.SEAM_DEFAULT_RUNTIME_NAME,\r\n \t\t\t\t\tjBossSeamHomeEditor.getValueAsString());\r\n \r\n \t\t\tSeamCorePlugin.getDefault().getPluginPreferences().setValue(\r\n \t\t\t\t\tSeamProjectPreferences.SEAM_DEFAULT_CONNECTION_PROFILE,\r\n \t\t\t\t\tconnProfileSelEditor.getValueAsString());\r\n \t\t\t\r\n \t\t\tSeamCorePlugin.getDefault().getPluginPreferences().setValue(\r\n \t\t\t\t\tSeamProjectPreferences.JBOSS_AS_DEFAULT_DEPLOY_AS,\r\n \t\t\t\t\tthis.jBossAsDeployAsEditor.getValueAsString());\r\n \t\t\t\r\n \t\t\tSeamCorePlugin.getDefault().getPluginPreferences().setValue(\r\n \t\t\t\t\tSeamProjectPreferences.HIBERNATE_DEFAULT_DB_TYPE,\r\n \t\t\t\t\tthis.jBossHibernateDbTypeEditor.getValueAsString());\r\n \t\t\t\r\n \t}",
"EventWriterConfig getConfig();",
"public synchronized static void initConfig(ITestContext context) {\n\t\tMap<CatPawConfigProperty, String> initialValues = new HashMap<CatPawConfigProperty, String>();\n\t\tfor (CatPawConfigProperty prop : CatPawConfigProperty.values()) {\n\t\t\t// Check if parameter is here\n\t\t\tString newValue = context.getCurrentXmlTest().getAllParameters().get(prop.getName());\n\t\t\tif (newValue != null && newValue != \"\") {\n\t\t\t\tinitialValues.put(prop, newValue);\n\t\t\t}\n\t\t}\n\t\tinitConfig(initialValues);\n\n\n\t}",
"public Exercise(String name,int sets,int reps){\n setName(name);\n setReps(reps);\n setSets(sets);\n }",
"public BaseTest() {\n\n String path = System.getProperty(\"user.dir\") + \"/src/test/resources/config.properties\";\n prop = new Properties();\n /** Stream to read the spreadsheet. */\n FileInputStream fis = null;\n try {\n fis = new FileInputStream(path);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n try {\n prop.load(fis);\n\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n\n }",
"private void restore() {\n AppSettings.setInstance(backupConfig);\n }",
"public void initConfigurations() {\r\n for (int configId = 0; configId < savedConfigurations.length; configId++) {\r\n if (configId == InterfaceConfiguration.HD_TEXTURES.getId()) {\r\n continue;\r\n }\r\n int value = savedConfigurations[configId];\r\n if (value != 0) {\r\n set(configId, value, false);\r\n }\r\n }\r\n }",
"public Exercise(String name, int sets, int reps) {\n this.name = name;\n this.sets = sets;\n this.reps = reps;\n }",
"public void copyDefaults() {\n getConfig().options().copyDefaults(true);\n save();\n }",
"@Override\r\n\tpublic void configTestInterpreter(XMLConfiguration config, String section) {\n\t\t\r\n\t}",
"private void initConfigVar() {\n\t\tConfigUtils configUtils = new ConfigUtils();\n\t\tmenuColor = configUtils.readConfig(\"MENU_COLOR\");\n\t\taboutTitle = configUtils.readConfig(\"ABOUT_TITLE\");\n\t\taboutHeader = configUtils.readConfig(\"ABOUT_HEADER\");\n\t\taboutDetails = configUtils.readConfig(\"ABOUT_DETAILS\");\n\t\tgsTitle = configUtils.readConfig(\"GS_TITLE\");\n\t\tgsHeader = configUtils.readConfig(\"GS_HEADER\");\n\t\tgsDetailsFiles = configUtils.readConfig(\"GS_DETAILS_FILES\");\n\t\tgsDetailsCases = configUtils.readConfig(\"GS_DETAILS_CASES\");\n\t}",
"public void setupProperties() {\n // left empty for subclass to override\n }",
"private void override() {\n AppSettings.setInstance(\n ConfigFactory.parseMap(newSettingsMap).withFallback(AppSettings.getInstance()));\n }",
"protected void propagateConfigData() {\n\t\tList<MeshNode> potentialChildren = configData.getChildNodes();\n\t\tList<MeshNode> notChildren = new ArrayList<MeshNode>();\n\t\tList<MeshNode> realChildren = new ArrayList<MeshNode>();\n\t\tfor (MeshNode i : potentialChildren) {\n\t\t\tif (!meshNetwork.probe(this, i)) {\n\t\t\t\tnotChildren.add(i);\n\t\t\t} else {\n\t\t\t\trealChildren.add(i);\n\t\t\t}\n\t\t}\n\t\tint startNumberCnt = 1;\n\t\tfor (MeshNode i : realChildren) {\n\t\t\ti.setStartNumber((startNumberCnt++) + this.startNumber);\n\t\t\tConfigData forExport = new ConfigData(i, notChildren);\n\t\t\tforExport.addParent(this);\n\t\t\tforExport.removeChildNode(i);\n\t\t\tmeshNetwork.sendConfigData(i, this, forExport);\n\t\t\tconfigData.configAckMap.put(i, false);\n\t\t}\n\t\tconfigData.setChildNodes(realChildren);\n\t}",
"public void importConfiguration(){\n\t\t\n\t\tUnitConfiguration[] configArray = controller.importTestConfiguration();\n\t\t\n\t\tif(configArray != null){\n\t\t\tint panelCount = tabbedPane.getTabCount();\n\t\t\t\n\t\t\t//remove all units before we import new ones\n\t\t\ttestUnitCounter = 1;\n\t\t\tfor(int i = 1; i < panelCount; i++){\n\t\t\t\t\n\t\t\t\tremoveUnit(i);\n\t\t\t}\n\t\t\t\n\t\t\t//import the new configuration of remote units\n\t\t\tfor(UnitConfiguration config : configArray){\n\t\t\t\taddUnit(config.getHost(),config.getRegistryPort());\n\t\t\t}\n\t\t}else{\n\t\t\tConsoleLog.Message(\"Found any configurations\");\n\t\t}\n\t}",
"void store() {\n UserPreferences.setLogFileCount(Integer.parseInt(logFileCount.getText()));\n if (!agencyLogoPathField.getText().isEmpty()) {\n File file = new File(agencyLogoPathField.getText());\n if (file.exists()) {\n ModuleSettings.setConfigSetting(ReportBranding.MODULE_NAME, ReportBranding.AGENCY_LOGO_PATH_PROP, agencyLogoPathField.getText());\n }\n } else {\n ModuleSettings.setConfigSetting(ReportBranding.MODULE_NAME, ReportBranding.AGENCY_LOGO_PATH_PROP, \"\");\n }\n UserPreferences.setMaxSolrVMSize((int)solrMaxHeapSpinner.getValue());\n if (memField.isEnabled()) { //if the field could of been changed we need to try and save it\n try {\n writeEtcConfFile();\n } catch (IOException ex) {\n logger.log(Level.WARNING, \"Unable to save config file to \" + PlatformUtil.getUserDirectory() + \"\\\\\" + ETC_FOLDER_NAME, ex);\n }\n }\n }",
"public Config() {\n\t\t// TODO Auto-generated constructor stub\n\t\t\n\t}",
"protected Config(AFK plugin) {\n this.cfg = plugin.getConfig();\n cfg.options().copyDefaults(true);\n plugin.saveConfig();\n }",
"public WerewolfConfig() {\n super(\n EvilCraft._instance,\n \ttrue,\n \"werewolf\",\n null,\n Werewolf.class\n );\n }",
"protected void updateFromTemplate() {\r\n try {\r\n if (templateList.getSelectedItem() != null) {\r\n getConfigurer().loadPropertiesFromFile((String) templateList.getSelectedItem());\r\n Iterator<PropertyInputPanel> it = propertyInputPanels.iterator();\r\n while (it.hasNext()) {\r\n PropertyInputPanel panel = it.next();\r\n \r\n Object currentValue = getConfigurer().getProperty(panel.getName());\r\n if (currentValue != null && panel.isEnabled()) {\r\n panel.setValue(currentValue);\r\n }\r\n \r\n }\r\n }\r\n } catch (ClassCastException e) {\r\n Util.debugMsg(\"Saved template has incompatible data, it will be ignored\");\r\n }\r\n }",
"public static void acceptConfig() {\r\n\t\t//Here, it tries to read over the config file using try-catch in case of Exception\r\n\t\ttry {\r\n\t\t\tProperties properties = new Properties();\r\n\t\t\tFileInputStream fis = new FileInputStream(new File(\"config.properties\"));\r\n\t\t\tproperties.load(fis);\r\n\t\t\tString storage = properties.getProperty(\"storage\");\r\n\t\t\tif(storage == null) \r\n\t\t\t\tthrow new IllegalArgumentException(\"Property 'storage' not found\");\r\n\t\t\tif(storage.equals(\"tree\"))\r\n\t\t\t\tdata = new BinarySearchTree();\r\n\t\t\tif(storage.equals(\"trie\"))\r\n\t\t\t\tdata = new Trie();\r\n\t\t\tif(data == null) \r\n\t\t\t\tthrow new IllegalArgumentException(\"Not valid storage configuration.\");\r\n\t\t}\r\n\t\t//If an Exception occurs, it just prints a message\r\n\t\tcatch (FileNotFoundException e) {\r\n\t\t\tSystem.out.println(\"Configuration file not found.\");\r\n\t\t\tSystem.exit(1);\r\n\t\t} catch (IllegalArgumentException e) {\r\n\t\t\tSystem.out.println(e.getMessage());\r\n\t\t\tSystem.exit(1);\r\n\t\t} catch (IOException e) {\r\n\t\t\tSystem.out.println(\"Error reading the configuration file.\");\r\n\t\t\tSystem.exit(1);\r\n\t\t}\r\n\t}",
"private static void initSettings(TransferITModel model) {\n if (settingsfile.exists()) {\n try {\n ObjectInputStream objectInputStream = new ObjectInputStream(new FileInputStream(settingsfile));\n Object[] readObjects = new Object[6];\n for (int x = 0; x < readObjects.length; x++) {\n readObjects[x] = objectInputStream.readUnshared();\n if (readObjects[x] == null) {\n return;\n }\n }\n model.putAll((Properties) readObjects[0]);\n\n model.setHostHistory((HashSet<String>) readObjects[1]);\n\n model.setUsernameHistory((HashMap<String, String>) readObjects[2]);\n\n model.setPasswordHistory((HashMap<String, String>) readObjects[3]);\n\n model.setUsers((HashMap<String, String>) readObjects[4]);\n\n model.setUserRights((HashMap<String, Boolean>) readObjects[5]);\n\n\n\n } catch (IOException ex) {\n Logger.getLogger(TransferIT.class.getName()).log(Level.SEVERE, null, ex);\n } catch (ClassNotFoundException ex) {\n Logger.getLogger(TransferIT.class.getName()).log(Level.SEVERE, null, ex);\n }\n } else {\n model.addUser(\"anon\", \"anon\", false);\n }\n }",
"void config(Config config);",
"public void applyConfiguration(HMV app)\n {\n FaderUIPrefs prefs = app.getFaderUIPrefs();\n\n // node color\n prefs.setNodeFadeSourceColor(getNodeFadeSourceColor());\n prefs.setNodeFadeDestinationColor(getNodeFadeDestinationColor());\n\n // node stroke color\n prefs.setNodeStrokeSourceColor(getNodeStrokeSourceColor());\n prefs.setNodeStrokeDestinationColor(getNodeStrokeDestinationColor());\n\n // node stroke width\n prefs.setNodeStrokeSourceWidth(getNodeStrokeSourceWidth());\n prefs.setNodeStrokeDestinationWidth(getNodeStrokeDestinationWidth());\n\n // support edge\n prefs.setEdgePositiveFadeSourceColor(getSupportEdgeFadeSourceColor());\n prefs.setEdgePositiveFadeDestinationColor(getSupportEdgeFadeDestinationColor());\n\n // refute edge\n prefs.setEdgeNegativeFadeSourceColor(getRefuteEdgeFadeSourceColor());\n prefs.setEdgeNegativeFadeDestinationColor(getRefuteEdgeFadeDestinationColor());\n\n // edge stroke width\n prefs.setEdgeStrokeSourceWidth(getEdgeStrokeSourceWidth());\n prefs.setEdgeStrokeDestinationWidth(getEdgeStrokeDestinationWidth());\n\n // use curved edges\n prefs.setCurvedLines(getCurvedLines());\n\n // manual background color\n prefs.setManualBackgroundColor(getManualBackgroundColor());\n\n // realt time slider mode\n app.setRealTimeSliderMode(getRealTimeSliderResponse());\n }",
"public synchronized static void initConfig() {\n SeLionLogger.getLogger().entering();\n Map<ConfigProperty, String> initialValues = new HashMap<>();\n\n initConfig(initialValues);\n\n SeLionLogger.getLogger().exiting();\n }",
"public static void main(String[] args) throws IOException {\n String readPath=\"C:\\\\Users\\\\masou\\\\IdeaProjects\\\\SDETjavaBATCH10\\\\Files\\\\Config1.properties\";\n String writePath=\"C:\\\\Users\\\\masou\\\\IdeaProjects\\\\SDETjavaBATCH10\\\\Files\\\\Config.properties\";\n\n\n FileInputStream fileInputStream=new FileInputStream(readPath);\n FileInputStream fileInputStream1=new FileInputStream(writePath);\n\n\n Properties properties1=new Properties();\n properties1.load(fileInputStream1);\n\n Properties properties=new Properties();\n properties.load(fileInputStream);\n\n String URL=properties.get(\"URL\").toString(); // store it in a string\n\n\n properties1.put(\"URL\",URL);\n FileOutputStream fileOutputStream=new FileOutputStream(writePath);\n properties1.store(fileOutputStream,\"some comments\");\n\n\n\n }",
"@Test\n\tpublic void testLoadExistingConfig() throws IOException\n\t{\n\t\tFileWriter out = new FileWriter(outfile, true);\n\t\tout.write(\"\\nTestEntry=TestData\");\n\t\tout.close();\n\t\t\n\t\t// Creating it again forces it to read the modified config\n\t\tproperties = new Configuration(outfile);\n\t\t\n\t\tassertEquals(\"TestData\", properties.get(\"TestEntry\"));\n\t}",
"public ExamMagicDataModule(Configuration config){\r\n\t\tthis.config = config;\r\n\t}",
"private void getAllExercises() {\n getView().disableUI();\n\n // get all exercises\n doGetExercises();\n }",
"protected Properties newTestProperties() throws IOException\n {\n Properties props = new Properties();\n storeTestConf(props); \n return props;\n }",
"@Override\r\n\tpublic void config() {\n\t\tinter.setState(inter.getConfig());\r\n\t}",
"private void restoreProperties() {\n restoreModeAndItemValue();\n restoreStringValue(Variable.DEST_PATH);\n restoreBooleanValue(Variable.MAXTRACKS_ENABLED);\n restoreIntValue(Variable.MAXTRACKS);\n restoreBooleanValue(Variable.MAXSIZE_ENABLED);\n restoreIntValue(Variable.MAXSIZE);\n restoreBooleanValue(Variable.MAXLENGTH_ENABLED);\n restoreIntValue(Variable.MAXLENGTH);\n restoreBooleanValue(Variable.ONE_MEDIA_ENABLED);\n restoreStringValue(Variable.ONE_MEDIA);\n restoreBooleanValue(Variable.CONVERT_MEDIA);\n restoreStringValue(Variable.CONVERT_COMMAND);\n if (StringUtils.isBlank((String) data.get(Variable.CONVERT_COMMAND))) {\n data.put(Variable.CONVERT_COMMAND, \"pacpl\"); // use default value if none set\n // yet\n }\n restoreBooleanValue(Variable.NORMALIZE_FILENAME);\n restoreIntValue(Variable.RATING_LEVEL);\n }",
"private List<Row> getConfigEntries() {\n InputStream inputStream = null;\n try {\n inputStream = getAssets().open(\"config.conf\");\n } catch (IOException ex) {\n System.err.println(\"File konnte nicht gelesen werden!\");\n }\n\n // inputStream in String umwandeln\n String configString = \"\";\n try {\n configString = inputStreamToString(inputStream);\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n // String in Zeilen umwandeln\n String[] keyValuePairs = configString.trim().split(\"\\n\");\n\n // String in Objekt mit key und value umwandeln\n return Arrays.stream(keyValuePairs).map(r -> {\n String[] temp = r.split(\"=\");\n String key = temp[0];\n String values = temp[1];\n return new Row(key, values);\n }).collect(Collectors.toList());\n }",
"public Conf() {\n createIfNotExists = false;\n deleteInputOnSuccess = false;\n }",
"public void printConfig() {\n\t\tProperty props = Property.getInstance();\n\t\tSystem.out.println(\"You are using the following settings. If this is correct, \"\n\t\t\t\t+ \"you do not have to do anything. If they are not correct, please alter \" + \"your config files.\");\n\t\tString[] importantSettings = new String[] { \"apkname\", \"alphabetFile\", \"learningAlgorithm\", \"EquivMethod\",\"deviceName\" };\n\t\tfor (int i = 0; i < importantSettings.length; i++) {\n\t\t\tSystem.out.printf(\"%-25s%s%n\", importantSettings[i], \" = \" + props.get(importantSettings[i]));\n\t\t}\n\t}",
"public void intiSettings()throws Exception{\r\n\r\n\t\tinputStream = new FileInputStream(System.getProperty(\"user.dir\")+\"\\\\config.properties\");\r\n\t\tconfig.load(inputStream);\r\n\t\t\r\n\t\tprop.put(\"bootstrap.servers\", config.getProperty(\"bootstrap.servers\"));\r\n\t\tprop.put(\"key.serializer\", \"org.apache.kafka.common.serialization.StringSerializer\");\r\n\t\tprop.put(\"value.serializer\", \"org.apache.kafka.common.serialization.StringSerializer\");\r\n\r\n\t\ttopicName = config.getProperty(\"TopicName\");\r\n\t\ttopicName = createTopic(topicName);\r\n\t\t\r\n\t\tmessageList = Arrays.asList(config.getProperty(\"messages\").split(\"\\\\|\"));\r\n\t}",
"private void setupDefaultAsPerProperties()\n {\n /// Do the minimum of what App.init() would do to allow to run.\n Gui.mainFrame = new MainFrame();\n App.p = new Properties();\n App.loadConfig();\n System.out.println(App.getConfigString());\n Gui.progressBar = Gui.mainFrame.getProgressBar(); //must be set or get Nullptr\n\n // configure the embedded DB in .jDiskMark\n System.setProperty(\"derby.system.home\", App.APP_CACHE_DIR);\n\n // code from startBenchmark\n //4. create data dir reference\n App.dataDir = new File(App.locationDir.getAbsolutePath()+File.separator+App.DATADIRNAME);\n\n //5. remove existing test data if exist\n if (App.dataDir.exists()) {\n if (App.dataDir.delete()) {\n App.msg(\"removed existing data dir\");\n } else {\n App.msg(\"unable to remove existing data dir\");\n }\n }\n else\n {\n App.dataDir.mkdirs(); // create data dir if not already present\n }\n }",
"public void reload() {\n try {\n this.configuration = ConfigurationProvider.getProvider(YamlConfiguration.class).load(this.getConfigurationFile());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"@Override\n public void loadFromString(String contents) throws InvalidConfigurationException {\n //Load data of the base yaml (keys and values).\n super.loadFromString(contents);\n\n //Parse the contents into lines.\n String[] lines = contents.split(\"\\n\");\n int currentIndex = 0;\n\n //Variables that are used to track progress.\n StringBuilder comments = new StringBuilder();\n String currentSection = \"\";\n\n while (currentIndex < lines.length) {\n //Checking if the current line is a comment.\n if (isComment(lines[currentIndex])) {\n //Adding the comment to the builder with a new line at the end.\n comments.append(lines[currentIndex]).append(\"\\n\");\n }\n\n //Checking if the current line is a valid new section.\n else if (isNewSection(lines[currentIndex])) {\n //Parsing the line into a full-path.\n currentSection = getSectionPath(this, lines[currentIndex], currentSection);\n\n //If there is a valid comment for the section.\n if (comments.length() > 1)\n //Adding the comment.\n setComment(currentSection, comments.toString().substring(0, comments.length() - 1));\n\n //Reseting the comment variable for further usage.\n comments = new StringBuilder();\n }\n\n //Skipping to the next line.\n currentIndex++;\n }\n }",
"void loadConfig() {\r\n\t\tFile file = new File(\"open-ig-mapeditor-config.xml\");\r\n\t\tif (file.canRead()) {\r\n\t\t\ttry {\r\n\t\t\t\tElement root = XML.openXML(file);\r\n\t\t\t\t\r\n\t\t\t\t// reposition the window\r\n\t\t\t\tElement eWindow = XML.childElement(root, \"window\");\r\n\t\t\t\tif (eWindow != null) {\r\n\t\t\t\t\tsetBounds(\r\n\t\t\t\t\t\tInteger.parseInt(eWindow.getAttribute(\"x\")),\r\n\t\t\t\t\t\tInteger.parseInt(eWindow.getAttribute(\"y\")),\r\n\t\t\t\t\t\tInteger.parseInt(eWindow.getAttribute(\"width\")),\r\n\t\t\t\t\t\tInteger.parseInt(eWindow.getAttribute(\"height\"))\r\n\t\t\t\t\t);\r\n\t\t\t\t\tsetExtendedState(Integer.parseInt(eWindow.getAttribute(\"state\")));\r\n\t\t\t\t}\r\n\t\t\t\tElement eLanguage = XML.childElement(root, \"language\");\r\n\t\t\t\tif (eLanguage != null) {\r\n\t\t\t\t\tString langId = eLanguage.getAttribute(\"id\");\r\n\t\t\t\t\tif (\"hu\".equals(langId)) {\r\n\t\t\t\t\t\tui.languageHu.setSelected(true);\r\n\t\t\t\t\t\tui.languageHu.doClick();\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tui.languageEn.setSelected(true);\r\n\t\t\t\t\t\tui.languageEn.doClick();\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tElement eSplitters = XML.childElement(root, \"splitters\");\r\n\t\t\t\tif (eSplitters != null) {\r\n\t\t\t\t\tsplit.setDividerLocation(Integer.parseInt(eSplitters.getAttribute(\"main\")));\r\n\t\t\t\t\ttoolSplit.setDividerLocation(Integer.parseInt(eSplitters.getAttribute(\"preview\")));\r\n\t\t\t\t\tfeaturesSplit.setDividerLocation(Integer.parseInt(eSplitters.getAttribute(\"surfaces\")));\r\n\t\t\t\t}\r\n\r\n\t\t\t\tElement eTabs = XML.childElement(root, \"tabs\");\r\n\t\t\t\tif (eTabs != null) {\r\n\t\t\t\t\tpropertyTab.setSelectedIndex(Integer.parseInt(eTabs.getAttribute(\"selected\")));\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tElement eLights = XML.childElement(root, \"lights\");\r\n\t\t\t\tif (eLights != null) {\r\n\t\t\t\t\talphaSlider.setValue(Integer.parseInt(eLights.getAttribute(\"preview\")));\r\n\t\t\t\t\talpha = Float.parseFloat(eLights.getAttribute(\"map\"));\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tElement eMode = XML.childElement(root, \"editmode\");\r\n\t\t\t\tif (eMode != null) {\r\n\t\t\t\t\tif (\"true\".equals(eMode.getAttribute(\"type\"))) {\r\n\t\t\t\t\t\tui.buildButton.doClick();\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tElement eView = XML.childElement(root, \"view\");\r\n\t\t\t\tif (eView != null) {\r\n\t\t\t\t\tui.viewShowBuildings.setSelected(false);\r\n\t\t\t\t\tif (\"true\".equals(eView.getAttribute(\"buildings\"))) {\r\n\t\t\t\t\t\tui.viewShowBuildings.doClick();\r\n\t\t\t\t\t}\r\n\t\t\t\t\tui.viewSymbolicBuildings.setSelected(false);\r\n\t\t\t\t\tif (\"true\".equals(eView.getAttribute(\"minimap\"))) {\r\n\t\t\t\t\t\tui.viewSymbolicBuildings.doClick();\r\n\t\t\t\t\t}\r\n\t\t\t\t\t\r\n\t\t\t\t\tui.viewTextBackgrounds.setSelected(false);\r\n\t\t\t\t\tif (\"true\".equals(eView.getAttribute(\"textboxes\"))) {\r\n\t\t\t\t\t\tui.viewTextBackgrounds.doClick();\r\n\t\t\t\t\t}\r\n\t\t\t\t\tui.viewTextBackgrounds.setSelected(false);\r\n\t\t\t\t\tif (\"true\".equals(eView.getAttribute(\"textboxes\"))) {\r\n\t\t\t\t\t\tui.viewTextBackgrounds.doClick();\r\n\t\t\t\t\t}\r\n\t\t\t\t\trenderer.scale = Double.parseDouble(eView.getAttribute(\"zoom\"));\r\n\t\t\t\t\t\r\n\t\t\t\t\tui.viewStandardFonts.setSelected(\"true\".equals(eView.getAttribute(\"standard-fonts\")));\r\n\t\t\t\t\tui.viewPlacementHints.setSelected(!\"true\".equals(eView.getAttribute(\"placement-hints\")));\r\n\t\t\t\t\tui.viewPlacementHints.doClick();\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tElement eSurfaces = XML.childElement(root, \"custom-surface-names\");\r\n\t\t\t\tif (eSurfaces != null) {\r\n\t\t\t\t\tfor (Element tile : XML.childrenWithName(eSurfaces, \"tile\")) {\r\n\t\t\t\t\t\tTileEntry te = new TileEntry();\r\n\t\t\t\t\t\tte.id = Integer.parseInt(tile.getAttribute(\"id\"));\r\n\t\t\t\t\t\tte.surface = tile.getAttribute(\"type\");\r\n\t\t\t\t\t\tte.name = tile.getAttribute(\"name\");\r\n\t\t\t\t\t\tcustomSurfaceNames.add(te);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tElement eBuildigns = XML.childElement(root, \"custom-building-names\");\r\n\t\t\t\tif (eBuildigns != null) {\r\n\t\t\t\t\tfor (Element tile : XML.childrenWithName(eBuildigns, \"tile\")) {\r\n\t\t\t\t\t\tTileEntry te = new TileEntry();\r\n\t\t\t\t\t\tte.id = Integer.parseInt(tile.getAttribute(\"id\"));\r\n\t\t\t\t\t\tte.surface = tile.getAttribute(\"type\");\r\n\t\t\t\t\t\tte.name = tile.getAttribute(\"name\");\r\n\t\t\t\t\t\tcustomBuildingNames.add(te);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\tElement eFilter = XML.childElement(root, \"filter\");\r\n\t\t\t\tif (eFilter != null) {\r\n\t\t\t\t\tfilterSurface.setText(eFilter.getAttribute(\"surface\"));\r\n\t\t\t\t\tfilterBuilding.setText(eFilter.getAttribute(\"building\"));\r\n\t\t\t\t}\r\n\t\t\t\tElement eAlloc = XML.childElement(root, \"allocation\");\r\n\t\t\t\tif (eAlloc != null) {\r\n\t\t\t\t\tui.allocationPanel.availableWorkers.setText(eAlloc.getAttribute(\"worker\"));\r\n\t\t\t\t\tui.allocationPanel.strategies.setSelectedIndex(Integer.parseInt(eAlloc.getAttribute(\"strategy\")));\r\n\t\t\t\t}\r\n\t\t\t\tElement eRecent = XML.childElement(root, \"recent\");\r\n\t\t\t\tif (eRecent != null) {\r\n\t\t\t\t\tfor (Element r : XML.childrenWithName(eRecent, \"entry\")) {\r\n\t\t\t\t\t\taddRecentEntry(r.getAttribute(\"file\")); \r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t} catch (IOException ex) {\r\n\t\t\t\tex.printStackTrace();\r\n\t\t\t}\r\n\t\t}\r\n\t}",
"public void cache() {\n cache.clear();\n for (String s : getConfig().getKeys(true)) {\n if (getConfig().get(s) instanceof String)\n cache.put(s, getConfig().getString(s));\n }\n }",
"static void updateConfig(FileConfiguration config)\n\t{\n\t\tProfessionListener.config = config;\n\t}",
"public void updateConfig() {\n String[] config = getConfiguration();\n Config.MEASUREMENT_INTERVAL = (int)Double.parseDouble(config[2]);\n Config.MAX_INJECTION = Double.parseDouble(config[3]);\n Config.MIN_INJECTION = Double.parseDouble(config[4]);\n Config.MAX_CUMULATIVE_DOSE = Double.parseDouble(config[5]);\n }",
"private void addProperties() {\n\n\t\t/**\n\t\t * Add fusion.conf = src/test/resource\n\t\t */\n\t\tif (isPropertyRequired(\"fusion.conf.dir\")) {\n\t\t\texpect(bundleContextMock.getProperty(\"fusion.conf.dir\")).andReturn(\n\t\t\t\t\t\"src/test/resources/\").anyTimes();\n\t\t}\n\t\t/**\n\t\t * set fusion.process.dir\n\t\t */\n\t\tif (isPropertyRequired(\"fusion.process.dir\")) {\n\t\t\texpect(bundleContextMock.getProperty(\"fusion.process.dir\"))\n\t\t\t\t\t.andReturn(\"src/test/resources/\").anyTimes();\n\t\t}\n\n\t\t/**\n\t\t * set fusion.process.temp\n\t\t */\n\t\tif (isPropertyRequired(\"fusion.process.temp.dir\")) {\n\t\t\texpect(bundleContextMock.getProperty(\"fusion.process.temp.dir\"))\n\t\t\t\t\t.andReturn(\"src/test/resources/\").anyTimes();\n\t\t}\n\n\t\t/**\n\t\t * set fusion.home\n\t\t */\n\t\tif (isPropertyRequired(\"fusion.home\")) {\n\t\t\texpect(bundleContextMock.getProperty(\"fusion.home\")).andReturn(\n\t\t\t\t\t\"src/test/resources/\").anyTimes();\n\t\t}\n\t}",
"private void fillValues() {\n // TODO\n //copy global config\n //copy player\n Player[] newPlayers = new Player[2];\n if (globalConfiguration.isFirstPlayerHuman()){\n newPlayers[0] = new ConsolePlayer(globalConfiguration.getPlayers()[0].getName());\n }else{\n newPlayers[0] = new RandomPlayer(globalConfiguration.getPlayers()[0].getName());\n }\n if (globalConfiguration.isSecondPlayerHuman()){\n newPlayers[1] = new ConsolePlayer(globalConfiguration.getPlayers()[1].getName());\n }else{\n newPlayers[1] = new RandomPlayer(globalConfiguration.getPlayers()[1].getName());\n }\n //create local config\n this.localConfig = new Configuration(globalConfiguration.getSize(),\n newPlayers, globalConfiguration.getNumMovesProtection());\n\n this.localAudio = AudioManager.getInstance().isEnabled();\n\n //fill in values\n this.sizeFiled.setText(String.valueOf(localConfig.getSize()));\n this.numMovesProtectionField.setText(String.valueOf(localConfig.getNumMovesProtection()));\n this.durationField.setText(String.valueOf(DurationTimer.getDefaultEachRound()));\n\n if (localConfig.isFirstPlayerHuman()){\n this.isHumanPlayer1Button.setText(\"Player 1: Human\");\n }else{\n this.isHumanPlayer1Button.setText(\"Player 1: Computer\");\n }\n\n if (localConfig.isSecondPlayerHuman()){\n this.isHumanPlayer2Button.setText(\"Player 2: Human\");\n }else{\n this.isHumanPlayer2Button.setText(\"Player 2: Computer\");\n }\n\n if (localAudio){\n this.toggleSoundButton.setText(\"Sound FX: Enabled\");\n }else{\n this.toggleSoundButton.setText(\"Sound FX: Disabled\");\n }\n }",
"public ExpansionCostConfigRecord() {\n\t\tsuper(ExpansionCostConfig.EXPANSION_COST_CONFIG);\n\t}",
"void saveConfig() {\r\n\t\ttry {\r\n\t\t\tPrintWriter out = new PrintWriter(new OutputStreamWriter(new BufferedOutputStream(new FileOutputStream(\"open-ig-mapeditor-config.xml\"), 64 * 1024), \"UTF-8\"));\r\n\t\t\ttry {\r\n\t\t\t\tout.printf(\"<?xml version='1.0' encoding='UTF-8'?>%n\");\r\n\t\t\t\tout.printf(\"<mapeditor-config>%n\");\r\n\t\t\t\tout.printf(\" <window x='%d' y='%d' width='%d' height='%d' state='%d'/>%n\", getX(), getY(), getWidth(), getHeight(), getExtendedState());\r\n\t\t\t\tout.printf(\" <language id='%s'/>%n\", ui.languageEn.isSelected() ? \"en\" : \"hu\");\r\n\t\t\t\tout.printf(\" <splitters main='%d' preview='%d' surfaces='%d'/>%n\", split.getDividerLocation(), toolSplit.getDividerLocation(), featuresSplit.getDividerLocation());\r\n\t\t\t\tout.printf(\" <editmode type='%s'/>%n\", ui.buildButton.isSelected());\r\n\t\t\t\tout.printf(\" <tabs selected='%d'/>%n\", propertyTab.getSelectedIndex());\r\n\t\t\t\tout.printf(\" <lights preview='%d' map='%s'/>%n\", alphaSlider.getValue(), Float.toString(alpha));\r\n\t\t\t\tout.printf(\" <filter surface='%s' building='%s'/>%n\", XML.toHTML(filterSurface.getText()), XML.toHTML(filterBuilding.getText()));\r\n\t\t\t\tout.printf(\" <allocation worker='%s' strategy='%d'/>%n\", ui.allocationPanel.availableWorkers.getText(), ui.allocationPanel.strategies.getSelectedIndex());\r\n\t\t\t\tout.printf(\" <view buildings='%s' minimap='%s' textboxes='%s' zoom='%s' standard-fonts='%s' placement-hints='%s'/>%n\", ui.viewShowBuildings.isSelected(), \r\n\t\t\t\t\t\tui.viewSymbolicBuildings.isSelected(), ui.viewTextBackgrounds.isSelected(), Double.toString(renderer.scale), ui.viewStandardFonts.isSelected()\r\n\t\t\t\t\t\t, ui.viewPlacementHints.isSelected());\r\n\t\t\t\tout.printf(\" <custom-surface-names>%n\");\r\n\t\t\t\tfor (TileEntry te : surfaceTableModel.rows) {\r\n\t\t\t\t\tout.printf(\" <tile id='%s' type='%s' name='%s'/>%n\", te.id, XML.toHTML(te.surface), XML.toHTML(te.name));\r\n\t\t\t\t}\r\n\t\t\t\tout.printf(\" </custom-surface-names>%n\");\r\n\t\t\t\tout.printf(\" <custom-building-names>%n\");\r\n\t\t\t\tfor (TileEntry te : buildingTableModel.rows) {\r\n\t\t\t\t\tout.printf(\" <tile id='%s' type='%s' name='%s'/>%n\", te.id, XML.toHTML(te.surface), XML.toHTML(te.name));\r\n\t\t\t\t}\r\n\t\t\t\tout.printf(\" </custom-building-names>%n\");\r\n\t\t\t\tout.printf(\" <recent>%n\");\r\n\t\t\t\tfor (int i = ui.fileRecent.getItemCount() - 1; i >= 2 ; i--) {\r\n\t\t\t\t\tout.printf(\" <entry file='%s'/>%n\", XML.toHTML(ui.fileRecent.getItem(i).getText()));\r\n\t\t\t\t}\r\n\t\t\t\tout.printf(\" </recent>%n\");\r\n\t\t\t\tout.printf(\"</mapeditor-config>%n\");\r\n\t\t\t} finally {\r\n\t\t\t\tout.close();\r\n\t\t\t}\r\n\t\t} catch (IOException ex) {\r\n\t\t\tex.printStackTrace();\r\n\t\t}\r\n\t}",
"public void read() {\n\t\tconfigfic = new Properties();\n\t\tInputStream input = ConfigReader.class.getClassLoader().getResourceAsStream(\"source/config.properties\");\n\t\t// on peut remplacer ConfigReader.class par getClass()\n\t\ttry {\n\t\t\tconfigfic.load(input);\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"static Properties getConfig()\n {\n return(config);\n }",
"public void exportConfiguration(){\n\t\tcontroller.exportTestConfiguration();\n\t}",
"@Override\r\n public void initValues() {\r\n try {\r\n crackedPasswords = Files.readAllLines(Paths.get(DefectivePasswordValidatorConstants.PASSWORD_FILE_PATH),\r\n StandardCharsets.UTF_8);\r\n } catch (IOException e) {\r\n log.error(\"Exception occured while reading and initializing values from \"\r\n + DefectivePasswordValidatorConstants.PASSWORD_FILE_NAME, e);\r\n }\r\n }",
"public Dictionary copyToAnotherMeta(KylinConfig srcConfig, KylinConfig dstConfig) throws IOException {\n return this;\n }",
"public void editCoordinatesInConfiguration(int x, int y, int id) {\n Configuration configuration = dataModel.getConfiguration(id);\n Coordinates coordinates = dataModel.createCoords(x, y);\n dataModel.setCoordinatesToConfiguration(coordinates, configuration);\n }",
"@Override\n\tpublic void loadExtraConfigs(Configuration config)\n\t{\n\n\t}",
"private void configInit() {\r\n\t\tconfig = pluginInstance.getConfiguration();\r\n\t\tif (!new File(pluginInstance.getDataFolder().getPath() + File.separator + \"config.yml\")\r\n\t\t\t\t.exists()) {\r\n\t\t\tconfig.setProperty(\"reset-deathloc\", true);\r\n\t\t\tconfig.setProperty(\"use-iConomy\", true);\r\n\t\t\tconfig.setProperty(\"creation-price\", 10.0D);\r\n\t\t\tconfig.setProperty(\"deathtp-price\", 50.0D);\r\n\t\t\tconfig.setProperty(\"allow-tp\", true);\r\n\t\t\tconfig.setProperty(\"maxTombStone\", 0);\r\n\t\t\tconfig.setProperty(\"TombKeyword\", \"[Tomb]\");\r\n\t\t\tconfig.setProperty(\"use-tombAsSpawnPoint\", true);\r\n\t\t\tconfig.setProperty(\"cooldownTp\", 5.0D);\r\n\t\t\tconfig.setProperty(\"reset-respawn\", false);\r\n\t\t\tconfig.setProperty(\"maxDeaths\", 0);\r\n\t\t\tconfig.save();\r\n\t\t\tworkerLog.info(\"Config created\");\r\n\t\t}\r\n\t\tconfig.load();\r\n\t}",
"@Override\r\n public void onConfigurationChanged(Configuration newConfig){\r\n super.onConfigurationChanged(newConfig);\r\n ExamManager.activateTicket();\r\n }",
"private synchronized void storeAppSettings() {\n\t \n\t\n \tif(_appSettings != null){\t\n \t\tAppLogger.debug2(\"AppFrame.storeAppSettings saving.\");\n\n \t\ttry {\t \n \t\t\tFileOutputStream oFile = new FileOutputStream(_configFile);\n\t\t\tOutputStream setupOutput = new DataOutputStream(oFile);\t\t \t\t\t\t\n\t\t\t_appSettings.store(setupOutput, \"\");\t\t\n \t\t}catch(Exception oEx){\n \t\tAppLogger.error(oEx);\n \t\t}\t\t \t\t\t\t\t\t\n\t}\t\t\t\t \t\n }",
"public ExcelImportConfig() {\n super();\n }"
]
| [
"0.5556869",
"0.52334213",
"0.510789",
"0.4995129",
"0.4976057",
"0.49663207",
"0.49579006",
"0.4916302",
"0.48372048",
"0.47889113",
"0.47678632",
"0.47400165",
"0.47291842",
"0.47257185",
"0.47219357",
"0.47173187",
"0.4702543",
"0.46981633",
"0.46974832",
"0.46394053",
"0.4627988",
"0.46137705",
"0.46068227",
"0.45899323",
"0.45783234",
"0.4572234",
"0.45675468",
"0.45672992",
"0.45559224",
"0.45549682",
"0.45316383",
"0.4528424",
"0.45241302",
"0.45067215",
"0.45037246",
"0.44972774",
"0.44906458",
"0.4489998",
"0.4482878",
"0.4481106",
"0.4476599",
"0.44733927",
"0.44686338",
"0.44652936",
"0.4459446",
"0.4459123",
"0.4456321",
"0.44537252",
"0.4447805",
"0.44440472",
"0.44400567",
"0.44372252",
"0.4434653",
"0.4432921",
"0.44249088",
"0.4423408",
"0.44219685",
"0.44196498",
"0.44149154",
"0.44117272",
"0.44093916",
"0.440913",
"0.43875253",
"0.4384965",
"0.43808478",
"0.43804953",
"0.43792778",
"0.43757537",
"0.43744326",
"0.4370735",
"0.43703353",
"0.43693164",
"0.43634966",
"0.43574226",
"0.43566784",
"0.43551594",
"0.43545765",
"0.43539858",
"0.4348767",
"0.43458426",
"0.43449265",
"0.43371046",
"0.43358755",
"0.43296713",
"0.4329506",
"0.43290663",
"0.43280825",
"0.43267494",
"0.43238592",
"0.43236977",
"0.4322103",
"0.43217313",
"0.4320822",
"0.43194228",
"0.4317959",
"0.4317711",
"0.43134928",
"0.431238",
"0.43085098",
"0.4303504"
]
| 0.64937586 | 0 |
Update this instance of Exercise with all attributes of the other Exercise object | public void update(Exercise other) {
set(other);
this.gitHash = other.gitHash;
this.private_files = other.private_files;
this.public_files = other.public_files;
this.solution_files = other.solution_files;
this.resource_files = other.resource_files;
this.question = other.question;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void update(Employee e) {\n\t\t\r\n\t}",
"void update(Employee nurse);",
"@PUT\n\t@Path(\"/\")\n\t@Nonnull\n\t@Consumes(MediaType.APPLICATION_JSON)\n\t@Produces(MediaType.APPLICATION_JSON)\n\tExercise update(@Nonnull Exercise exercise);",
"public void updateByObject()\r\n\t{\n\t}",
"@Override\n\tpublic void update(WorkSummary entity1, Employee entity2) {\n\n\t}",
"E update(E entiry);",
"@Override\r\n\tpublic void updateEmployee(Employee t) {\n\t\t\r\n\t}",
"public void set(ExerciseConfig other) {\n this.title = other.getTitle();\n this.longTitle = other.getLongTitle() == null ? other.getTitle() : other.getLongTitle();\n this.type = other.getType();\n this.language = other.getLanguage();\n this.isGraded = other.getIsGraded();\n this.maxScore = other.getMaxScore();\n this.maxSubmits = other.getMaxSubmits();\n this.gradingSetup = other.getGradingSetup();\n this.options = other.getOptions();\n this.solutions = other.getSolutions();\n this.hints = other.getHints();\n this.executionLimits = other.getExecutionLimits();\n this.rounding = other.getRounding();\n }",
"@Override\n\tpublic void updateEmployee() {\n\n\t}",
"public void extend(){\n\t\tsolenoid1.set(true);\n\t\tsolenoid2.set(true);\n\t}",
"@Override\n\tpublic void updateEmployee(Employee e) {\n\t\t\n\t}",
"@Override\n\tpublic void update(Unidade obj) {\n\n\t}",
"@Override\n\tpublic void update(Employee employee) {\n\t}",
"public void setExercise(Exercise target, Exercise editedExercise) {\n logger.info(\"Setting exercise\");\n int index = workoutExercises.indexOf(target);\n if (index != -1) {\n workoutExercises.set(index, editedExercise);\n }\n }",
"@Override\n\tpublic void update(Object entidade) {\n\t\t\n\t}",
"private void updateEISAndEAS(){\n eas.registerPayment(paymentDTO);\n eis.updateInventory(saleDTO);\n }",
"public void update() throws IOException{\r\n\t\tObjectOutputStream oos = new ObjectOutputStream(new FileOutputStream(\"agenda.txt\", false));\r\n\t\toos.writeObject(artists);\r\n\t\toos.writeObject(stages);\r\n\t\toos.writeObject(performances);\r\n\t\tartists.clear();\r\n\t\tstages.clear();\r\n\t\tperformances.clear();\r\n\t\toos.close();\r\n\t}",
"public void update(Ejemplar ej);",
"@Override\n\tpublic void update() {\n\t\tobj.update();\n\t}",
"public void updateEntity();",
"@Override\r\n protected void updateObject(SimpleBody object, Entity e) {\n }",
"@Override\r\n protected void updateObject(SimpleBody object, Entity e) {\n }",
"private void updateEmployeeSeating() {\n BookingModel bookingModel1 = new BookingModel();\n UserModel userModel1 = new UserModel();\n try {\n bookingModel1.updateBookingSeat(employeeID, seatNum);\n userModel1.setPreviousSeat(seatNum);\n } catch (SQLException e) {\n e.printStackTrace();\n }\n }",
"public void update(E entity);",
"protected static void update() {\n\t\tstepsTable.update();\n\t\tactive.update();\n\t\tmeals.update();\n\t\t\n\t}",
"public void updateEmp(Emp emp) {\n\t\t\n\t}",
"public void updateIdentities() {\n // get a list of the internal conversation addresses\n ArrayList<String> addresses = new ArrayList<>();\n for (int i = 0; i < size(); i++)\n addresses.add(get(i).getFromAddress());\n\n // retrieve and set the identities of the internal addresses\n ArrayList<String> identities = retrieveIdentities(addresses);\n for (int i = 0; i < size(); i++)\n get(i).setIdentity(identities.get(i));\n }",
"private void update(Instance instance) throws Exception {\n\n if (instance.classIsMissing()) {\n return;\n }\n\n instance.replaceMissingValues(m_MissingVector);\n m_Train.add(instance);\n\n /* Update the minimum and maximum for all the attributes */\n updateMinMax(instance);\n\n /* update the mutual information datas */\n updateMI(instance);\n\n /* Nearest Exemplar */\n Exemplar nearest = nearestExemplar(instance);\n\t\n /* Adjust */\n if(nearest == null){\n Exemplar newEx = new Exemplar(this, m_Train, 10, instance.classValue());\n newEx.generalise(instance);\n initWeight(newEx);\n addExemplar(newEx);\n return;\n }\n adjust(instance, nearest);\n\n /* Generalise */\n generalise(instance);\n }",
"@Override\n protected void updateProperties() {\n }",
"void update( ExperimentDTO item );",
"public void update(){}",
"public void update(){}",
"boolean updateBase(TQuestionsVo source, TQuestionsVo target);",
"void update(int id, int teacherid, int noteid );",
"public Exercise(String name) {\n\t\tthis.name = name;\n\t\tsetList = new ArrayList<Set>();\n\t\trepsGoal = -1;\n\t\tweightGoal = -1;\n\t\trest = -1;\n\t\texerciseInstance = false;\n\t\tnotes = \"\";\n\t\toldId = -1;\n\t\tid = -1;\n\t}",
"@Override\n\tpublic void updateEmployee(List<Employee> employees) {\n\t\t\n\t}",
"@Override\n\tpublic void updateExam(ExamBean exam) {\n\t\t\n\t}",
"private void updateAssessment() {\n Converters c = new Converters();\n\n //get UI fields\n int courseId = thisCourseId;\n String title = editTextAssessmentTitle.getText().toString();\n LocalDate dueDate = c.stringToLocalDate(textViewAssessmentDueDate.getText().toString());\n String status = editTextAssessmentStatus.getText().toString();\n String note = editTextAssessmentNote.getText().toString();\n String type = editTextAssessmentType.getText().toString();\n\n if (title.trim().isEmpty() || dueDate == null || status.trim().isEmpty() || type.trim().isEmpty()) {\n Toast.makeText(this, \"Please complete all fields\", Toast.LENGTH_SHORT).show();\n return;\n }\n\n //instantiate Assessment object\n Assessment assessment = new Assessment(courseId, title, dueDate, status, note, type);\n //since we're updating, add the assessmentId to the assessment object\n assessment.setAssessmentId(thisAssessmentId);\n\n\n //add new assessment\n addEditAssessmentViewModel.update(assessment);\n finish();\n }",
"public void update(Teacher o) throws SQLException {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void update(Cidade obj) {\n\r\n\t}",
"public void updateEmployeeDetails(EmployeeDetails employeeDetails);",
"@Override\n public void updateProperties() {\n // unneeded\n }",
"@Override\r\n\tpublic void update(Person p) \r\n\t{\n\t\t\r\n\t}",
"@Test\n\tpublic void testSetValueMult1to1OverwriteInverse() {\n\n\t\t// set up\n\t\tPerson martin = new Person(\"\\\"Bl�mel\\\" \\\"Martin\\\" \\\"19641014\\\"\");\n\t\tPerson jojo = new Person(\"\\\"Bl�mel\\\" \\\"Johannes\\\" \\\"19641014\\\"\");\n\t\tTestUser user = new TestUser(\"admin\");\n\t\tuser.setPerson(jojo);\n\t\tAssert.assertSame(jojo, user.getPerson());\n\t\tAssert.assertSame(user, jojo.getUser());\n\t\tAssert.assertNull(martin.getUser());\n\n\t\t// test: relink martin to user (other way round)\n\t\tmartin.setUser(user);\n\t\tAssert.assertSame(martin, user.getPerson());\n\t\tAssert.assertSame(user, martin.getUser());\n\t\tAssert.assertNull(jojo.getUser());\n\t}",
"public void updateEmployee(Employe employee) {\n\t\t\n\t}",
"void update(ReferenceData instance) throws DataException;",
"Test update(TestData testData, Test test);",
"public updateVertice_args(updateVertice_args other) {\n __isset_bitfield = other.__isset_bitfield;\n this.nome = other.nome;\n this.cor = other.cor;\n this.peso = other.peso;\n if (other.isSetDescricao()) {\n this.descricao = other.descricao;\n }\n }",
"public void update(TheatreMashup todo) {\n\t\t\n\t}",
"@Test\n @WithMockUser(username = \"instructor1\", roles = \"INSTRUCTOR\")\n void updateTextExercise_updatingCourseId_asInstructor() throws Exception {\n final Course course = database.addCourseWithOneReleasedTextExercise();\n TextExercise existingTextExercise = textExerciseRepository.findByCourseIdWithCategories(course.getId()).get(0);\n\n // Create a new course with different id.\n Long oldCourseId = course.getId();\n Long newCourseId = oldCourseId + 1L;\n Course newCourse = databaseUtilService.createCourse(newCourseId);\n\n // Assign new course to the text exercise.\n existingTextExercise.setCourse(newCourse);\n\n // Text exercise update with the new course should fail.\n TextExercise returnedTextExercise = request.putWithResponseBody(\"/api/text-exercises\", existingTextExercise, TextExercise.class, HttpStatus.CONFLICT);\n assertThat(returnedTextExercise).isNull();\n }",
"@Override\r\n\tpublic void update(Interest model, InterestEntity entity) {\n\r\n\t}",
"@Test\n public void update() {\n try{\n repo.save(s);\n repot.save(t);\n repon.save(n);\n Tema t2 = new Tema(1, 0, 6, \"GUI\");\n Student s2 = new Student(1,221, \"Pop Ion\",\"[email protected]\",\"prof\");\n Nota n2 = new Nota(1, 1, \"prof\", 10, \"Irelevant\");\n repo.save(s2);\n repot.save(t2);\n repon.save(n2);\n repo.update(s2);\n repot.update(t2);\n repon.update(n2);\n assert repo.findOne(1).getGrupa()==221;\n assert repot.findOne(1).getDeadline()==8;\n assert repon.findOne(\"11\").getFeedback()==\"Irelevant\";\n\n }\n catch (ValidationException e){\n }\n }",
"void update(Student entity);",
"Restaurant setRestaurant(Restaurant modifiedRest);",
"public void upateResources() {\r\n\t\tResourceBase resourcesBase = parent.getResources();\r\n\t\tresourcesBase.getAll().forEach((key, value) -> {\r\n\t\t\tif(resources.containsKey(key))\t//ak už je vypísaná\r\n\t\t\t\tresources.get(key).updateValue();\t//aktualizuje ju to\r\n\t\t\telse{\t//ináč\r\n\t\t\t\tint need = resourcesBase.getRequired(key);\r\n\t\t\t\tint have = resourcesBase.getOwned(key);\r\n\t\t\t\tOtherResourceViewer newViewer = new OtherResourceViewer(key,need, have, parent);\t//vytvorí nový viewer \r\n\t\t\t\tresources.put(key, newViewer);\t//pridá ho do zoznamu viewerov\r\n\t\t\t\tadd(newViewer);\t//aj do panelu\r\n\t\t\t}\r\n\t\t});\r\n\t}",
"public void updateModel(Stream<Iterable> stream)\n {\n this.infos.clear();\n stream.forEach(this::getUsefulVariables);\n this.update();\n }",
"public void update()\n\t{\n\t\tsuper.update();\n\t}",
"@Override\n\tpublic void update(Object o) {\n\n\t}",
"@Override\n\tpublic void update(Object o) {\n\n\t}",
"@Test\n public void updateEspecieTest() {\n EspecieEntity entity = especieData.get(0);\n EspecieEntity pojoEntity = factory.manufacturePojo(EspecieEntity.class);\n pojoEntity.setId(entity.getId());\n especieLogic.updateSpecies(pojoEntity.getId(), pojoEntity);\n EspecieEntity resp = em.find(EspecieEntity.class, entity.getId());\n Assert.assertEquals(pojoEntity.getId(), resp.getId());\n Assert.assertEquals(pojoEntity.getNombre(), resp.getNombre());\n }",
"public void update() {\n\t\tSession session = DBManager.getSession();\n\t\tsession.beginTransaction();\n\t\tsession.update(this);\n\t\tsession.getTransaction().commit();\n\t}",
"private void update() {\n\t\ttheMap.update();\n\t\ttheTrainer.update();\n\t}",
"void update(CE entity);",
"@Override\n\tpublic void update(Instance ins) {\n\t\t\n\t}",
"@Override\r\n public void update(Answer entity) {\n\r\n }",
"@Override\r\n\tpublic Result update(Employees employees) {\n\t\treturn null;\r\n\t}",
"@Override\n\tpublic void update(Recipe entity) {\n\t\t\n\t}",
"@Override\n\tpublic Studentbean2 updateAddress(AddressBean upd) {\n\t\tStudentbean2 s=null;\n\t\tfor(Studentbean2 e:stu2)\n\t\t{ \n\t\t\tif(e.getId()==upd.getId())\n\t\t\t{ \n\t\t\t\te.setA(upd);\n\t\t\t\ts=e;\n\t\t\t}\n\t\t}\n\t\treturn s;\n\t}",
"@Test\n public void testEditSuperPower() throws Exception {\n Superpower sp1 = new Superpower();\n sp1.setSuperPowerName(\"Ice Power\");\n sp1.setSuperPowerDescription(\"Control the elements of ice\"); \n \n Superpower sp2 = new Superpower();\n sp2.setSuperPowerName(\"Fire Power\");\n sp2.setSuperPowerDescription(\"Control the elements of fire\");\n \n Superpower sp1fromDao = dao.addSuperpower(sp1);\n Superpower sp2fromDao = dao.addSuperpower(sp2);\n \n assertEquals(sp1,sp1fromDao);\n assertEquals(sp2,sp2fromDao);\n \n sp2.setSuperPowerName(\"Earth Power\");\n sp2fromDao = dao.editSuperPower(sp2);\n \n assertEquals(sp2,sp2fromDao);\n \n }",
"@Override\r\n\tpublic void updateAll() throws IOException {\n\t}",
"public Exercise(int index) {\n this.index = index;\n }",
"@Override\n\tpublic void update(EmpType entity) {\n\t\t\n\t}",
"@Override\n\tpublic boolean update(Eleve o) {\n\t\tmap.replace(o.getId(), o);\n\t\treturn true;\n\t}",
"public void update() {\n setAge(getAge() - 1);\n }",
"E update(E entity);",
"E update(E entity);",
"@Override\n\tpublic boolean update(Etape obj) {\n\t\treturn false;\n\t}",
"public void updateWarehouse(Warehouse warehouse, boolean inverse) ;",
"void update(String identifier, T instance) throws IOException;",
"@Override\n\t\tpublic void update() {\n\n\t\t}",
"@Override\n\t\tpublic void update() {\n\n\t\t}",
"@Override\n\t\tpublic void update() {\n\n\t\t}",
"public void updateEnemies() {\n for (Map.Entry<Integer, Enemy> entry :enemies.entrySet()) {\n entry.getValue().update(mainPlayerPosX, mainPlayerPosY);\n if (entry.getValue().isDead()) {\n enemiesSize--;\n }\n }\n }",
"@Override //function was implemented as abstract in super class\n public void Set(Instruction toCopy){\n Extra temp = (Extra) toCopy; //downcast for valid assignment\n this.Price = temp.Price;\n this.Allergens = temp.Allergens;\n this.Notes = new String(temp.Notes);\n this.Density = temp.Density;\n this.Topping = new String(temp.Topping);\n this.Vegetarian = temp.Vegetarian;\n }",
"public void updateFakeEntities() { \n for(ViewableEntity playerEntity : replicatedEntites.values()) {\n playerEntity.update();\n }\n }",
"@Test\r\n @DataSet(\"BugBeforeUpdateDataSet.xml\")\r\n @ExpectedDataSet(\"BugAfterUpdateDataSet.xml\")\r\n public void testUpdateBug() throws Exception {\n Bug result = (Bug)entityManager.find(Bug.class, BugTestUtils.getDefaultIdentity());\r\n\r\n // Set simple properties\r\n result.setDescription(\"t\");\r\n result.setOpen(Boolean.FALSE);\r\n result.setTitle(\"t\");\r\n\r\n // Update\r\n entityManager.merge(result);\r\n\r\n }",
"@Override\n\tpublic Item update() {\n\t\t\n\t\treadAll();\n\t\n\t\tLOGGER.info(\"State the shoe name you wish to update\");\n\t\tString name = util.getString().toLowerCase();;\n\t\tLOGGER.info(\"State the size you wish to update\");\n\t\tdouble size = util.getDouble();\n\t\tLOGGER.info(\"Change price\");\n\t\tdouble price = util.getDouble();\n\t\tLOGGER.info(\"Change amount in stock\");\n\t\tlong stock = util.getLong();\n\t\tLOGGER.info(\"\\n\");\n\t\treturn itemDAO.update(new Item(name,size,price,stock));\n\t\t\n\t\t\n\t\t\n\t}",
"public abstract void mutate();",
"void updateEnemies() {\n getEnemies().forEach(e -> {\n if (!e.isAlive()) {\n e.die();\n SoundPlayer.play(SoundPlayer.enemyDestroyed);\n }\n });\n objectsInMap.removeIf(o -> o instanceof Enemy && !(((Enemy) o).isAlive()));//Removing Dead Enemies\n getEnemies().forEach(e -> e.setTarget(objectsInMap.stream().filter(p -> p.identifier.contains(\"PlayerTank0.\") &&\n p.isBlocking && ((Tank) p).isVisible()).collect(Collectors.toList())));//Giving Possible target to enemies to decide\n }",
"public void update(){\r\n\t\tList<Point> list = new ArrayList<Point>();\r\n\t\t\r\n\t\tlist.addAll(Arrays.asList(points));\r\n\t\t\r\n\t\tsetPoints(list);\r\n\t}",
"public getEmployeeInfo_args(getEmployeeInfo_args other) {\n __isset_bitfield = other.__isset_bitfield;\n this.userId = other.userId;\n }",
"void update(T objectToUpdate);",
"@Test\r\n public void testEditRecipe() {\r\n coffeeMaker.addRecipe(recipe1);\r\n assertEquals(recipe1.getName(), coffeeMaker.editRecipe(0, recipe2));\r\n }",
"@Override\n\tpublic Employee update(Employee emp) {\n\t\treturn null;\n\t}",
"@Override\r\n\tpublic void editTea(Teacher teacher) {\n\r\n\t}",
"@Override\n\tpublic Trainee updateTrainee(Trainee t) {\n\t\tTrainee a=em.find(Trainee.class,t.getId());\n\t\tif(a!=null) {\n\t\t\ta.setName(t.getName());\n\t\t\ta.setLocation(t.getLocation());\n\t\t\ta.setDomain(t.getDomain());\n\t\t}\n\t\treturn a;\n\t}",
"@Override\n public void update(EntityModel model) {\n super.update(model);\n\n }",
"@Test(description = \"update interface with one relationship for existing interface with another interface\")\n public void updateOneRelationship4ExistingOneRelationships()\n throws Exception\n {\n final DataCollection data = new DataCollection(this);\n final RelationshipData rel1 = data.getRelationship(\"TestRel1\");\n final RelationshipData rel2 = data.getRelationship(\"TestRel2\");\n final InterfaceData inter = data.getInterface(\"TestInterface\").addRelationship(rel1);\n data.create();\n\n inter.removeRelationships()\n .addRelationship(rel2);\n this.update(inter);\n\n Assert.assertEquals(this.mql(\"print interface '\" + inter.getName() + \"' select relationship dump\"),\n rel2.getName(),\n \"check that only second relationship is defined\");\n }",
"@Override\r\n\tpublic EvaluationDTO update(Integer id, EvaluationDTO e) {\n\t\treturn null;\r\n\t}",
"@Override\n\tpublic void update(Empleado e) {\n\t\tSystem.out.println(\"Actualiza el empleado \" + e + \" en la BBDD.\");\n\t}"
]
| [
"0.54703885",
"0.5390329",
"0.5304537",
"0.5265005",
"0.52411723",
"0.52243143",
"0.51821876",
"0.5177105",
"0.5174814",
"0.5092492",
"0.50833744",
"0.5040281",
"0.5014737",
"0.5011386",
"0.5009108",
"0.50013006",
"0.4998226",
"0.49913353",
"0.49613038",
"0.4945681",
"0.4928993",
"0.4928993",
"0.49199587",
"0.49129722",
"0.49017248",
"0.48929757",
"0.48803475",
"0.48791808",
"0.4869603",
"0.48683578",
"0.48580664",
"0.48580664",
"0.48450103",
"0.4830548",
"0.48248318",
"0.481873",
"0.4793404",
"0.4785172",
"0.4783593",
"0.4781717",
"0.4776382",
"0.47746313",
"0.4770492",
"0.47636354",
"0.47629148",
"0.47598594",
"0.47567838",
"0.47542495",
"0.4730052",
"0.4725253",
"0.47251263",
"0.47242182",
"0.47213304",
"0.47154275",
"0.47049925",
"0.46919814",
"0.4691562",
"0.46912208",
"0.46912208",
"0.4691068",
"0.46750522",
"0.46698725",
"0.46642467",
"0.46425167",
"0.46381345",
"0.46354985",
"0.4634899",
"0.46192625",
"0.45970538",
"0.4589102",
"0.45721003",
"0.4571693",
"0.4563354",
"0.4562674",
"0.45618",
"0.45618",
"0.4557824",
"0.4555891",
"0.45525122",
"0.45443082",
"0.45443082",
"0.45443082",
"0.4540701",
"0.4533187",
"0.45248842",
"0.4522014",
"0.45217356",
"0.45200494",
"0.45104203",
"0.4503141",
"0.44959274",
"0.44956112",
"0.4494554",
"0.44945535",
"0.44930834",
"0.4492588",
"0.448392",
"0.44766355",
"0.447031",
"0.44671333"
]
| 0.76384234 | 0 |
For privileged users or if solutions have been published, search on all folders | public Optional<VirtualFile> getAnyFileById(String id) {
Stream<VirtualFile> files = Stream.concat(Stream.concat(public_files.stream(), resource_files.stream()), Stream.concat(solution_files.stream(), private_files.stream()));
return files.filter(file -> file.getId().equals(id)).findFirst();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Test(groups={\"Enterprise-only\",\"Enterprise4.2Bug\"})\n public void folderSearchTest() throws Exception\n {\n \tAdvanceSearchContentPage contentSearchPage = dashBoard.getNav().selectAdvanceSearch().render();\n \tfolderSearchPage = contentSearchPage.searchLink(\"Folders\").render(); \t\n contentSearchPage.inputName(\"Contracts\");\n contentSearchPage.inputDescription(\"This folder holds the agency contracts\"); \n FacetedSearchPage searchResults = contentSearchPage.clickSearch().render();\n Assert.assertTrue(searchResults.hasResults()); \n }",
"private List<File> getSearchFiles() {\n\t\tif (searchDirs == null || searchDirs.size() <= 0) {\n\n\t\t\tsearchDirs = new ArrayList<File>();\n\t\t\t\n\t\t\tsearchDirs.add(StorageUtils.getLocalCacheDir(this));\n//\t\t\tsearchDirs.add(StorageUtils.getExternalCacheDir(this));\n\t\t\tsearchDirs.add(StorageUtils.getFavorDir(this));\n\t\t}\n\t\treturn searchDirs;\n\t}",
"@Override\n protected Collection<String> getRelevantScannedFolders(Collection<String> scannedFolders) {\n return scannedFolders == null ? Collections.emptyList() : scannedFolders;\n }",
"public void performSearch() throws IOException {\n configuration();\n\n File fileDir = new File(queryFilePath);\n if (fileDir.isDirectory()) {\n File[] files = fileDir.listFiles();\n Arrays.stream(files).forEach(file -> performSearchUsingFileContents(file));\n }\n }",
"NodeRef getSearchTermsFolder();",
"@Test(groups={\"Enterprise-only\",\"Enterprise4.2Bug\"})\n public void folderKeywordSearchTest() throws Exception\n {\n AdvanceSearchContentPage contentSearchPage = dashBoard.getNav().selectAdvanceSearch().render();\n folderSearchPage = contentSearchPage.searchLink(\"Folders\").render();\n folderSearchPage.inputKeyword(\"Contracts\");\n FacetedSearchPage searchResults = contentSearchPage.clickSearch().render();\n Assert.assertTrue(searchResults.hasResults());\n //folderSearchPage = searchResults.goBackToAdvanceSearch().render();\n //Assert.assertEquals(\"Contracts\", contentSearchPage.getKeyword());\n }",
"private void getDriveContents() {\n Thread t = new Thread(new Runnable() {\n @Override\n public void run() {\n // get only the folders in the root directory of drive account\n List<File> files = getContents(TOP_LEVEL + \" and \" + NOT_TRASHED + \" and \" + FOLDER + \" and \" + NOT_SPREADSHEET);\n \n prune(targetDir, files);\n processLanguages(files);\n }\n });\n t.start();\n }",
"NodeRef getCurrentSearchTermsFolder(NodeRef searchTermsFolder);",
"public void performSearch()\r\n {\r\n setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR) );\r\n\r\n try\r\n {\r\n // Create the search pattern.\r\n String SearchPatternString = SearchPatternField.getText();\r\n if ( SearchPatternString == null\r\n || SearchPatternString.equals(\"\") )\r\n throw new ScreenInputException(\"No search pattern entered\",\r\n SearchPatternField);\r\n SearchPattern = new Regex(SearchPatternString);\r\n SearchPattern.optimize();\r\n\r\n // Build the definition of the root directory to search.\r\n String FilePatternString = FilePatternField.getText();\r\n if ( FilePatternString == null\r\n || FilePatternString.equals(\"\") )\r\n throw new ScreenInputException(\"No file pattern entered\",\r\n FilePatternField);\r\n\r\n String DirPathString = DirPatternField.getText();\r\n if ( DirPathString == null\r\n || DirPathString.equals(\"\") )\r\n throw new ScreenInputException(\"No directory specified\",\r\n DirPatternField);\r\n File DirectoryFile = new File(DirPathString);\r\n if (!DirectoryFile.exists() )\r\n throw new ScreenInputException(\"Directory '\" + DirPathString + \"'does not exist\",\r\n DirPatternField);\r\n\r\n // Prepare the walker that performs the grep on each directory.\r\n GrepSubDirWalker.prepareSearch(SearchPattern,\r\n FilePatternString,\r\n DirPathString,\r\n ResultsDocument);\r\n\r\n if (SubDirsTooCheckBox.isSelected() )\r\n {\r\n // Process named directory and its sub-directories.\r\n Directory RootDirectory = new Directory(DirPathString);\r\n RootDirectory.walk(GrepSubDirWalker);\r\n }\r\n else\r\n // Process just the named directory.\r\n GrepSubDirWalker.processDirectory(DirPathString);\r\n\r\n GrepSubDirWalker.appendStatistics(); // Show statistics\r\n }\r\n catch (NoClassDefFoundError InputException)\r\n {\r\n showPatMissingDialog();\r\n }\r\n catch (ScreenInputException InputException)\r\n {\r\n InputException.requestComponentFocus();\r\n showExceptionDialog(InputException);\r\n }\r\n catch (Exception InputException)\r\n {\r\n showExceptionDialog(InputException);\r\n }\r\n setCursor(Cursor.getPredefinedCursor(Cursor.DEFAULT_CURSOR) );\r\n }",
"private void searchNextFolder() {\n File nextFolder = foldersToSearch.get(0);\n File[] files = nextFolder.listFiles();\n for (int i = 0; i < files.length; i++) {\n if (this.isCancelled()) { break; }\n File nextFile = files[i];\n String nextLower = nextFile.getName().toLowerCase();\n if (nextFile.isHidden()) {\n // Skip hidden files and folders\n } else if (nextFile.isDirectory()) {\n if (nextLower.contains(\"archive\")\n || nextLower.contains(\"backup\")\n || nextLower.equals(\"deploy\")\n || nextLower.equals(\"dist\")\n || nextLower.equals(\"icons\")\n || nextLower.equals(\"jars\")\n || nextFile.getName().equalsIgnoreCase(\"Library\")\n || nextFile.getName().equalsIgnoreCase(\"Music\")\n || nextFile.getName().equalsIgnoreCase(\"Pictures\")\n || nextFile.getName().equalsIgnoreCase(\"PSPub Omni Pack\")\n || nextFile.getName().endsWith(\".app\")) {\n // Let's not search certain folders\n } else {\n foldersToSearch.add(nextFile);\n }\n } else if (nextFile.getName().equals(NoteIO.README_FILE_NAME)) {\n String line = \"\";\n boolean notenikLineFound = false;\n try {\n FileReader fileReader = new FileReader(nextFile);\n BufferedReader reader = new BufferedReader(fileReader);\n line = reader.readLine();\n while (line != null && (! notenikLineFound)) {\n int j = line.indexOf(NoteIO.README_LINE_1);\n notenikLineFound = (j >= 0);\n line = reader.readLine();\n }\n } catch(IOException e) {\n // Ignore\n }\n if (notenikLineFound) {\n FileSpec collectionSpec = master.getFileSpec(nextFolder);\n if (collectionSpec == null) {\n collectionsToAdd.add(nextFolder);\n }\n } // end if notenik line found within README file\n } // end if we found a README file\n } // end for each file in directory\n foldersToSearch.remove(0);\n }",
"public void performFileSearch() {\n\n // ACTION_OPEN_DOCUMENT is the intent to choose a file via the system's file browser.\n Intent intent = new Intent(Intent.ACTION_OPEN_DOCUMENT);\n\n // Filter to only show results that can be \"opened\", such as a\n // file (as opposed to a list of contacts or timezones)\n intent.addCategory(Intent.CATEGORY_OPENABLE);\n\n // Filter to show only images, using the image MIME data type.\n // If one wanted to search for ogg vorbis files, the type would be \"audio/ogg\".\n // To search for all documents available via installed storage providers, it would be \"*/*\".\n intent.setFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION | Intent.FLAG_GRANT_PERSISTABLE_URI_PERMISSION);\n intent.setType(\"image/*\");\n\n startActivityForResult(intent, READ_REQUEST_CODE);\n }",
"public List<String> search(File file, String name) {\n\t\t\n\t\tif (file.isDirectory()) {\n\t\t\tlog.debug(\"Searching directory:[{}]\", file.getAbsoluteFile());\n\n\t\t\t// do you have permission to read this directory?\n\t\t\tif (file.canRead()) {\n\t\t\t\tfor (File temp : file.listFiles()) {\n\t\t\t\t\tif (temp.isDirectory()) {\n\t\t\t\t\t\tsearch(temp, name);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tif (name.equals(temp.getName())) {\n\t\t\t\t\t\t\tresult.add(temp.getAbsoluteFile().toString());\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t} else {\n\t\t\t\tlog.info(\"Permission Denied: [{}]\", file.getAbsoluteFile());\n\t\t\t}\n\t\t}\n\n\t\treturn result;\n\t}",
"public List<SearchableInfo> getSearchablesInGlobalSearch() {\n try {\n return mService.getSearchablesInGlobalSearch();\n } catch (RemoteException e) {\n throw e.rethrowFromSystemServer();\n }\n }",
"private void searchforResults() {\n\n List<String> queryList = new SavePreferences(this).getStringSetPref();\n if(queryList != null && queryList.size() > 0){\n Log.i(TAG, \"Searching for results \" + queryList.get(0));\n Intent searchIntent = new Intent(Intent.ACTION_WEB_SEARCH);\n searchIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);\n searchIntent.putExtra(SearchManager.QUERY, queryList.get(0));\n this.startActivity(searchIntent);\n }\n }",
"static void searchForFile() {\n\t\ttry {\n\t\t\t// Get the path for the user's current shared and not-shared directories\n\t\t\tFile sharedPath = new File(\"users/\" + username + \"/shared\");\n\t\t\tFile notSharedPath = new File(\"users/\" + username + \"/not-shared\");\n\n\t\t\t// Allow the user to enter the name of the file they want to search for\n\t\t\tSystem.out.println(\"Enter the name of the file you wish to search for followed by Enter\");\n\t\t\tSystem.out.print(\"Your Entry: \");\n\n\t\t\tString fileToSearchFor = input.readLine();\n\n\t\t\t// Create an array of filenames for the shared and not-shared files\n\t\t\tFile[] sharedFiles = sharedPath.listFiles();\n\t\t\tFile[] notSharedFiles = notSharedPath.listFiles();\n\n\t\t\t// Check through the shared files array to see if the user already owns the file and is sharing it\n\t\t\tfor (File file : sharedFiles) {\n\t\t\t\tif (fileToSearchFor.equals(file.getName())) {\n\t\t\t\t\t// If it exists, tell the user and prompt to exit\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t\tSystem.out.println(\"You already own the file: \" + fileToSearchFor);\n\t\t\t\t\tSystem.out.println(\"It is in your shared files.\");\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t\t// This has been added in order to allow the user to review the results before going back to the main menu\n\t\t\t\t\t// Upon pressing Enter, the main menu will come back up again and ready for a new menu option to be selected\n\t\t\t\t\ttry {\n\t\t\t\t\t\tSystem.out.println(\"Press any key to return\");\n\t\t\t\t\t\tinput.readLine();\n\t\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t\tSystem.out.println(\"Error! \" + e.getMessage());\n\t\t\t\t\t}\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Check through the not-shared files array to see if the user already owns the file and is not sharing it\n\t\t\tfor (File file : notSharedFiles) {\n\t\t\t\tif (fileToSearchFor.equals(file.getName())) {\n\t\t\t\t\t// If it exists, tell the user and prompt to exit\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t\tSystem.out.println(\"You already own the file: \" + fileToSearchFor);\n\t\t\t\t\tSystem.out.println(\"It is in your non-shared files.\");\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t\t// This has been added in order to allow the user to review the results before going back to the main menu\n\t\t\t\t\t// Upon pressing Enter, the main menu will come back up again and ready for a new menu option to be selected\n\t\t\t\t\ttry {\n\t\t\t\t\t\tSystem.out.println(\"Press any key to return\");\n\t\t\t\t\t\tinput.readLine();\n\t\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t\tSystem.out.println(\"Error! \" + e.getMessage());\n\t\t\t\t\t}\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\t\t\t// Otherwise, this means the user does not have the file\n\t\t\t// In this case, send a request to the server via CORBA to see who owns the file\n\t\t\tString[] usersWithFile = server.findFile(fileToSearchFor);\n\t\t\t// If no one owns a file by this name that is available for sharing, let the user know\n\t\t\tif(usersWithFile.length == 0){\n\t\t\t\tSystem.out.println(\"No match was found for: '\"+ fileToSearchFor + \"'\");\n\t\t\t\tSystem.out.println(\"It does not exist, or is not currently being shared.\");\n\t\t\t}\n\t\t\t// Otherwise a match was found\n\t\t\t// Give the user an option to download the file and share it, download the file and keep it in their not-shared directory, or return to the main menu\n\t\t\t// Keep the owner of the file's information hidden from the user\n\t\t\telse {\n\t\t\t\tSystem.out.println(\"A match for : \"+ fileToSearchFor + \" was found.\");\n\t\t\t\tSystem.out.println(\"Would you like to download the file?\");\n\t\t\t\tSystem.out.println(\"\\t[1] | Download And Share The File\");\n\t\t\t\tSystem.out.println(\"\\t[2] | Download And Do Not Share The File\");\n\t\t\t\tSystem.out.println(\"\\t[3] | Return To The Main Menu\");\n\t\t\t\tSystem.out.println(\"--------------------------------------------------------------------\");\n\t\t\t\tSystem.out.print(\"Your Entry: \");\n\t\t\t\tString userEntry = input.readLine();\n\n\t\t\t\t// If the user enters 1, start the download file method with the flag of 1\n\t\t\t\tif(userEntry.equals(\"1\")){\n\t\t\t\t\tdownloadFile(usersWithFile, fileToSearchFor, 1);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\t// If the user enters 2, start the download file method with the flag of 2\n\t\t\t\telse if (userEntry.equals(\"2\")) {\n\t\t\t\t\tdownloadFile(usersWithFile, fileToSearchFor, 2);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\t// If the user enters 3, bring them back to the main menu\n\t\t\t\telse if (userEntry.equals(\"3\")){\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\t// Otherwise, they entered something invalid, return to the main menu\n\t\t\t\telse {\n\t\t\t\t\tSystem.out.println(\"Invalid entry! Returning to the main menu.\");\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(\"Error! : \" + e.getMessage());\n\t\t\treturn;\n\t\t}\n System.out.println();\n\t\t// This has been added in order to allow the user to review the results before going back to the main menu\n\t\t// Upon pressing Enter, the main menu will come back up again and ready for a new menu option to be selected\n try {\n System.out.println(\"Press any key to return\");\n input.readLine();\n } catch (Exception e) {\n System.out.println(\"Error! \" + e.getMessage());\n }\n\t}",
"public List<SearchableInfo> getSearchablesInGlobalSearch() {\n return getSearchables(UserHandle.getCallingUserId()).getSearchablesInGlobalSearchList();\n }",
"@Action\r\n public String search() {\n ServiceFunctions.clearCache();\r\n\r\n if (isAdmin()) {\r\n return adminSearch();\r\n }\r\n\r\n return publicSearch();\r\n }",
"public void testFindFilesForLocation() {\n \t\t//should not find the workspace root\n \t\tIWorkspaceRoot root = getWorkspace().getRoot();\n \t\tIFile[] result = root.findFilesForLocation(root.getLocation());\n \t\tassertEquals(\"1.0\", 0, result.length);\n\t\t\n\t\tIProject project = root.getProject(\"p1\");\n\t\tIFile existing = project.getFile(\"file1\");\n\t\tensureExistsInWorkspace(existing, true);\n\t\t\n\t\t//existing file\n\t\tresult = root.findFilesForLocation(existing.getLocation());\n\t\tassertResources(\"2.0\", existing, result);\n\t\t\n\t\t//non-existing file\n\t\tIFile nonExisting = project.getFile(\"nonExisting\");\n\t\tresult = root.findFilesForLocation(nonExisting.getLocation());\n\t\tassertResources(\"2.1\", nonExisting, result);\n \n \t\t// TODO add more tests\n \t}",
"private void searchFunction() {\n\t\t\r\n\t}",
"@InputFiles\n @Incremental\n @PathSensitive(PathSensitivity.RELATIVE)\n public abstract ConfigurableFileCollection getDexFolders();",
"static void walkTheDir(){ \n\t try (Stream<Path> paths = Files.walk(Paths.get(\"/ownfiles/tullverketCert/source\"))) {\n\t \t paths\n\t \t .filter(Files::isRegularFile)\n\t \t //.forEach(System.out::println);\n\t \t .forEach( e ->{\n\t \t \t\tSystem.out.println(e);\n\t \t \t\tSystem.out.println(e.getParent());\n\t \t \t\t\n\t \t \t});\n\t \t \n \t}catch (Exception e) { \n\t System.out.println(\"Exception: \" + e); \n\t } \n\t }",
"private void scanAllDirectories()\n throws IOException, InstanceNotFoundException {\n\n int errcount = 0;\n final StringBuilder b = new StringBuilder();\n for (ObjectName key : scanmap.keySet()) {\n final DirectoryScannerMXBean s = scanmap.get(key);\n try {\n if (state == STOPPED) return;\n s.scan();\n } catch (Exception ex) {\n LOG.log(Level.FINE,key + \" failed to scan: \"+ex,ex);\n errcount++;\n append(b,\"\\t\",ex);\n }\n }\n if (errcount > 0) {\n b.insert(0,\"scan partially performed with \"+errcount+\" error(s):\");\n throw new RuntimeException(b.toString());\n }\n }",
"public static Set<CharSequence> getSearchBase(Project project, Folder folder) {\n Set<CharSequence> result = new HashSet<>();\n ConcurrentMap<Folder,List<CharSequence>> projectSearchBase = searchBase.get(project);\n if (projectSearchBase != null) {\n List<CharSequence> list = projectSearchBase.get(folder);\n if (list != null) {\n synchronized(list) {\n result.addAll(list);\n }\n }\n }\n return result;\n }",
"public static void searchFile() \n\t{\n\t\t//Variable Declaration\n\t\tString fileName;\n\t\tScanner obj = new Scanner(System.in);\n\n\t\t//Read file name from user\n\t\tSystem.out.println(\"Enter file name to searched:\");\n\t\tfileName= obj.nextLine();\n\t\t\n\t\t//Searching the file\n\t\tboolean isFound = FileManager.searchFile(folderpath, fileName);\n\t\t\n\t\tif(isFound)\n\t\t\tSystem.out.println(\"File is present\");\n\t\telse\n\t\t\tSystem.out.println(\"File not present.\");\n\n\t}",
"public String searchExportedPlugins()\n\t{\n\t\tFile parent = null;\n\t\tif (System.getProperty(\"eclipse.home.location\") != null)\n\t\t\tparent = new File(URI.create(System.getProperty(\"eclipse.home.location\").replaceAll(\" \", \"%20\")));\n\t\telse parent = new File(System.getProperty(\"user.dir\"));\n\n\t\tList<String> pluginLocations = exportModel.getPluginLocations();\n\t\tfor (String libName : NG_LIBS)\n\t\t{\n\t\t\tint i = 0;\n\t\t\tboolean found = false;\n\t\t\twhile (!found && i < pluginLocations.size())\n\t\t\t{\n\t\t\t\tFile pluginLocation = new File(pluginLocations.get(i));\n\t\t\t\tif (!pluginLocation.isAbsolute())\n\t\t\t\t{\n\t\t\t\t\tpluginLocation = new File(parent, pluginLocations.get(i));\n\t\t\t\t}\n\t\t\t\tFileFilter filter = new WildcardFileFilter(libName);\n\t\t\t\tFile[] libs = pluginLocation.listFiles(filter);\n\t\t\t\tif (libs != null && libs.length > 0)\n\t\t\t\t{\n\t\t\t\t\tfound = true;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\ti++;\n\t\t\t}\n\t\t\tif (!found) return libName;\n\t\t}\n\t\treturn null;\n\t}",
"public void performFileSearch() {\n Intent intent = new Intent(Intent.ACTION_OPEN_DOCUMENT);\n\n // Filter to only show results that can be \"opened\", such as a file (as opposed to a list\n // of contacts or timezones)\n intent.addCategory(Intent.CATEGORY_OPENABLE);\n\n // Filter to show only images, using the image MIME data type.\n // If one wanted to search for ogg vorbis files, the type would be \"audio/ogg\".\n // To search for all documents available via installed storage providers, it would be\n // \"*/*\".\n intent.setType(\"image/*\");\n\n startActivityForResult(intent, READ_REQUEST_CODE);\n // END_INCLUDE (use_open_document_intent)\n }",
"private void listAllClasses(List<Path> foundFiles, Path root) {\r\n if (root.toFile().isFile()) {\r\n foundFiles.add(root);\r\n } else {\r\n try (DirectoryStream<Path> stream = Files.newDirectoryStream(root, filter)) {\r\n for (Path path : stream) {\r\n if (Files.isDirectory(path)) {\r\n listAllClasses(foundFiles, path);\r\n } else {\r\n foundFiles.add(path);\r\n }\r\n }\r\n } catch (AccessDeniedException e) {\r\n logger.error(\"Access denied to directory {}\", root, e);\r\n } catch (IOException e) {\r\n logger.error(\"Error while reading directory {}\", root, e);\r\n }\r\n }\r\n }",
"private HashSet<String> refreshLinterFromGoPath() {\n String goPath = System.getenv(\"GOPATH\");\n HashSet<String> rst = new HashSet<>();\n\n if (goPath != null) {\n for (String path: goPath.split(File.pathSeparator)) {\n Path fullPath = Paths.get(path, \"bin\", PlatformSettings.INSTANCE.getLinterExecutableName());\n if (fullPath.toFile().canExecute()) {\n rst.add(fullPath.toString());\n }\n }\n }\n return rst;\n }",
"private void searchDFS(File[] files, ArrayList<String> list) {\n\n\t\tfor (File file : files) {\n\t\t\tif (file.isDirectory()) {\n\t\t\t\tif (file.getAbsolutePath().endsWith(GIT)) {\n\t\t\t\t\tgitDir = file.getAbsolutePath();\n\t\t\t\t}\n\t\t\t\tsearchDFS(file.listFiles(), list);\n\t\t\t} else {\n\t\t\t\tif (file.getName().endsWith(EXTENSION)) {\n\t\t\t\t\tlist.add(file.getAbsolutePath());\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"public CollectFolderExample() {\n oredCriteria = new ArrayList<Criteria>();\n }",
"private void seekBy() {\n Queue<File> queue = new LinkedList<>();\n queue.offer(new File(root));\n while (!queue.isEmpty()) {\n File file = queue.poll();\n File[] list = file.listFiles();\n if (file.isDirectory() && list != null) {\n for (File tempFile : list) {\n queue.offer(tempFile);\n }\n } else {\n if (args.isFullMatch() && searchingFile.equalsIgnoreCase(file.getName())) {\n result.add(file);\n }\n if (args.isMask() && searchingFile.replaceAll(\"\\\\*\", \".*\").equalsIgnoreCase(file.getName())) {\n result.add(file);\n }\n if (args.isRegex() && file.getName().matches(args.getName())) {\n result.add(file);\n }\n }\n }\n this.writeLog(output, result);\n }",
"private void scanProject() {\n ProjectResources resources = ResourceManager.getInstance().getProjectResources(mProject);\n if (resources != null) {\n Collection<ResourceItem> layouts = resources.getResourceItemsOfType(LAYOUT);\n for (ResourceItem layout : layouts) {\n List<ResourceFile> sources = layout.getSourceFileList();\n for (ResourceFile source : sources) {\n updateFileIncludes(source, false);\n }\n }\n\n return;\n }\n }",
"private void browseUsersFolders(Path path) {\n try (DirectoryStream<Path> streamUserDir = Files.newDirectoryStream(path)) {\n for (Path userDir : streamUserDir) {\n // recursive deletion if userDir not modified anymore\n if (checkDeletion(userDir)) {\n logger.log(Level.INFO, \"Deletion started for: \"\n + userDir.getFileName());\n FilesHelper.deleteFolder(userDir);\n }\n\n // if modified and exists, then check inside\n if (Files.exists(userDir)) {\n browseApplicationsFolders(userDir);\n }\n }\n } catch (Exception ex) {\n logger.log(Level.ERROR, \"Cannot get directory list\", ex);\n }\n }",
"public void findMatchingDirectories(CompleteOperation completion) {\n completion.doAppendSeparator(false);\n \n //if incDir is empty, just list cwd\n if(incDir.trim().isEmpty()) {\n completion.addCompletionCandidates( listDirectory(cwd, null));\n }\n else if(startWithHome()) {\n if(isHomeAndIncDirADirectory()) {\n if(endWithSlash()) {\n completion.addCompletionCandidates(\n listDirectory(new File(Config.getHomeDir()+incDir.substring(1)), null));\n }\n else\n completion.addCompletionCandidate(Config.getPathSeparator());\n }\n else if(isHomeAndIncDirAFile()) {\n completion.addCompletionCandidate(\"\");\n //append when we have a file\n completion.doAppendSeparator(true);\n }\n //not a directory or file, list what we find\n else {\n listPossibleDirectories(completion);\n }\n }\n else if(!startWithSlash()) {\n if(isCwdAndIncDirADirectory()) {\n if(endWithSlash()) {\n completion.addCompletionCandidates(\n listDirectory(new File(cwd.getAbsolutePath() +\n Config.getPathSeparator()+incDir), null));\n }\n else\n completion.addCompletionCandidate(Config.getPathSeparator());\n }\n else if(isCwdAndIncDirAFile()) {\n completion.addCompletionCandidate(\"\");\n //append when we have a file\n completion.doAppendSeparator(true);\n }\n //not a directory or file, list what we find\n else {\n listPossibleDirectories(completion);\n }\n }\n else if(startWithSlash()) {\n if(isIncDirADirectory()) {\n if(endWithSlash()) {\n completion.addCompletionCandidates(\n listDirectory(new File(incDir), null));\n }\n else\n completion.addCompletionCandidate(Config.getPathSeparator());\n }\n else if(isIncDirAFile()) {\n completion.addCompletionCandidate(\"\");\n //append when we have a file\n completion.doAppendSeparator(true);\n }\n //not a directory or file, list what we find\n else {\n listPossibleDirectories(completion);\n }\n }\n \n }",
"void parallelSearch(File searchFrom) {\n for (File file : searchFrom.listFiles()) {\n if (file.isDirectory()) {\n this.parallelSearch(file);\n }\n\n if (extensions.stream().anyMatch(x -> file.getName().endsWith(x))) {\n try {\n queue.put(file);\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n }\n }\n }",
"private static Pair<List<Path>/*enabled*/, List<Path>/*disabled*/> scanDirectory(Location serverRoot, DataRegistry dataRegistry) {\n Path dir = IOX.asPath(serverRoot);\n \n try { \n List<Path> directory = ListUtils.toList( Files.list(dir).filter(p->Files.isDirectory(p)).sorted() );\n// directory.stream()\n// .filter(LocalServer::isFormattedDataSource)\n// .collect(Collectors.toList());\n List<Path> enabled = directory.stream()\n .filter(path -> isEnabled(path))\n .collect(Collectors.toList());\n List<Path> disabled = directory.stream()\n .filter(path -> !isEnabled(path))\n .collect(Collectors.toList());\n return Pair.create(enabled, disabled);\n }\n catch (IOException ex) {\n LOG.error(\"Exception while reading \"+dir);\n throw IOX.exception(ex);\n }\n }",
"private void searchImages()\n {\n searchWeb = false;\n search();\n }",
"private static boolean shouldDoGlobalSearch(Account account, Mailbox mailbox) {\n return ((account.mFlags & Account.FLAGS_SUPPORTS_GLOBAL_SEARCH) != 0)\n && (mailbox.mType == Mailbox.TYPE_INBOX);\n }",
"@RequestMapping(\"/web/**\")\n\tpublic String allFolders() {\n\t System.out.println(\"In /web/**\");\n\t return \"success\";\n\t}",
"static List<PsiFile> findViewFiles(String relativePath, Project project) {\n PsiManager psiManager = PsiManager.getInstance(project);\n\n // If no extension is specified, it's a PHP file\n relativePath = PhpExtensionUtil.addIfMissing(relativePath);\n\n List<PsiFile> viewFiles = new ArrayList<>();\n for (PsiFileSystemItem fileSystemItem : getViewDirectories(project)) {\n VirtualFile viewDirectory = fileSystemItem.getVirtualFile();\n VirtualFile viewFile = viewDirectory.findFileByRelativePath(relativePath);\n if (viewFile != null && !viewFile.isDirectory()) {\n PsiFile psiFile = psiManager.findFile(viewFile);\n if (psiFile != null) {\n viewFiles.add(psiFile);\n }\n }\n }\n return viewFiles;\n }",
"private void FindFiles(Path findPath)\n {\n\n try (DirectoryStream<Path> stream = Files.newDirectoryStream(findPath))\n {\n\n for (Path thisPath : stream)\n {\n File file = new File(thisPath.toString());\n\n if (file.isDirectory())\n {\n dirCount++;\n\n if (HasMatch(thisPath.toString(), lineIncludePattern, lineExcludePattern))\n {\n dirLineMatchCount++;\n\n System.out.println(thisPath.toAbsolutePath().toString() + \",directory,none\");\n }\n\n if (HasMatch(thisPath.toString(), dirIncludePattern, dirExcludePattern))\n {\n dirMatchCount++;\n folderLevel++;\n //indentBuffer = String.join(\"\", Collections.nCopies(folderLevel * 3, \" \"));\n indentBuffer = \"\";\n\n //System.out.println(indentBuffer + thisPath.toString() + \" ...\");\n FindFiles(thisPath.toAbsolutePath());\n\n folderLevel--;\n //indentBuffer = String.join(\"\", Collections.nCopies(folderLevel * 3, \" \"));\n }\n }\n else\n {\n fileCount++;\n\n if (HasMatch(thisPath.getParent().toString(), lineIncludePattern, lineExcludePattern))\n {\n fileLineMatchCount++;\n\n System.out.println(thisPath.getParent().toString() + \",\" + thisPath.getFileName() + \",none\");\n }\n\n if (HasMatch(thisPath.toString(), fileIncludePattern, fileExcludePattern))\n {\n fileMatchCount++;\n\n File refFile;\n if (doReplace)\n {\n refFile = new File(thisPath.toString() + \"_bak\");\n file.renameTo(refFile);\n\n //System.out.println(indentBuffer + thisPath.toString());\n Scan(refFile.toPath().toAbsolutePath().toString(),thisPath.toAbsolutePath().toString());\n }\n else\n {\n //System.out.println(indentBuffer + thisPath.toString());\n Scan(file.toPath().toAbsolutePath().toString(),thisPath.toAbsolutePath().toString());\n }\n\n }\n }\n }\n }\n catch (Exception e)\n {\n System.err.format(\"Exception occurred trying to read '%s'.\", findPath);\n e.printStackTrace();\n }\n\n }",
"public boolean isGlobSearch() {\n return getGlobCheckBox().isSelected();\n }",
"public List<Directory> search(final EntityQuery<Directory> query)\n {\n if (query == null || query.getSearchRestriction() == null || query.getSearchRestriction() instanceof NullRestriction)\n {\n return directoryCache.get();\n }\n if (query.getSearchRestriction() instanceof TermRestriction)\n {\n final TermRestriction termRestriction = (TermRestriction) query.getSearchRestriction();\n final Property property = termRestriction.getProperty();\n\n if (!property.getPropertyName().equals(\"name\"))\n {\n throw new UnsupportedOperationException(\"Searching on '\" + property.getPropertyName() + \"' not supported.\");\n }\n final MatchMode matchMode = termRestriction.getMatchMode();\n switch (matchMode)\n {\n case EXACTLY_MATCHES:\n return searchByName((String) termRestriction.getValue());\n default:\n throw new UnsupportedOperationException(\"Unsupported MatchMode \" + matchMode);\n }\n }\n throw new UnsupportedOperationException(\"Complex Directory searching is not supported.\");\n }",
"@Override\n\tpublic String[] query() {\n\t\t// Return an array of (decoded) filenames\n\t\tif (!serviceDir.exists()) {\n\t\t\treturn new String[0];\n\t\t}\n\t\tFile[] files = serviceDir.listFiles();\n\t\tString[] addrs = new String[files.length];\n\t\tfor (int i = 0; i < addrs.length; ++i) {\n\t\t\taddrs[i] = decode(files[i].getName());\n\t\t}\n\t\treturn addrs;\n\t}",
"@Override\r\n public List<Folder> getAllFolder() {\n return folderRepository.findAll();\r\n }",
"@Override\n public ObservableList<File> call() {\n this.updateTitle(\"Collections Finder Task\");\n collectionsToAdd = FXCollections.<File>observableArrayList();\n foldersToSearch = new ArrayList<>();\n foldersToSearch.add(startingFolder);\n while (foldersToSearch.size() > 0) {\n if (this.isCancelled()) { break; }\n searchNextFolder();\n }\n return collectionsToAdd;\n }",
"List<String> getDirectories(String path, String searchPattern, String searchOption) throws IOException;",
"private void getDirectoryContents() {\n\t File directory = Utilities.prepareDirectory(\"Filtering\");\n\t if(directory.exists()) {\n\t FilenameFilter filter = new FilenameFilter() {\n\t public boolean accept(File dir, String filename) {\n\t return filename.contains(\".pcm\") || filename.contains(\".wav\");\n\t }\n\t };\n\t fileList = directory.list(filter);\n\t }\n\t else {\n\t fileList = new String[0];\n\t }\n\t}",
"private List<IUser> userSearch(IChannel root, String str) {\n List<IUser> list = new LinkedList<IUser>();\n userSearch(root, str, list);\n return list;\n }",
"static void listRepositories(File repositoriesRootDir, boolean includeUserAccessDetails) {\n\t\tString[] names = RepositoryManager.getRepositoryNames(repositoriesRootDir);\n\t\tSystem.out.println(\"\\nRepositories:\");\n\t\tif (names.length == 0) {\n\t\t\tSystem.out.println(\" <No repositories have been created>\");\n\t\t\treturn;\n\t\t}\n\n\t\tfor (String name : names) {\n\t\t\tFile repoDir = new File(repositoriesRootDir, NamingUtilities.mangle(name));\n\t\t\tString rootPath = repoDir.getAbsolutePath();\n\t\t\tboolean isIndexed = IndexedLocalFileSystem.isIndexed(rootPath);\n\t\t\tString type;\n\t\t\tif (isIndexed || IndexedLocalFileSystem.hasIndexedStructure(rootPath)) {\n\t\t\t\ttype = \"Indexed Filesystem\";\n\t\t\t\ttry {\n\t\t\t\t\tint indexVersion = IndexedLocalFileSystem.readIndexVersion(rootPath);\n\t\t\t\t\tif (indexVersion == IndexedLocalFileSystem.LATEST_INDEX_VERSION) {\n\t\t\t\t\t\ttype = null;\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\ttype += \" (V\" + indexVersion + \")\";\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tcatch (IOException e) {\n\t\t\t\t\ttype += \"(unknown)\";\n\t\t\t\t}\n\t\t\t}\n\t\t\telse {\n\t\t\t\ttype = \"Mangled Filesystem\";\n\t\t\t}\n\n\t\t\tSystem.out.println(\" \" + name + (type == null ? \"\" : (\" - uses \" + type)));\n\n\t\t\tif (includeUserAccessDetails) {\n\t\t\t\tSystem.out.print(Repository.getFormattedUserPermissions(repoDir, \" \"));\n\t\t\t}\n\t\t}\n\t}",
"public static void main(String[] args) {\n WebDriver driver = new ChromeDriver();\r\n driver.get(\"https://www.guru99.com/software-testing-seven-principles.html\");\r\n \r\n if(driver.getPageSource().contains(\"Folder B is on a shared drive and storage capacity is full.\"))\r\n {\r\n \t System.out.println(\"Page contaise is available\");\r\n }else\r\n {\r\n \t System.out.println(\"Page Containse is not available\");\r\n }\r\n\t}",
"private List<DownloadPackage> searchByParentCode(String parentCode) {\n Collection<DownloadPackage> packages = application.getPackageMap().values();\n List<DownloadPackage> results = new ArrayList<DownloadPackage>();\n for (DownloadPackage pack : packages) {\n if (parentCode == null) {\n if (pack.getParentCode() == null) {\n results.add(pack);\n }\n } else if (parentCode.equals(pack.getParentCode())) {\n results.add(pack);\n }\n }\n return results;\n }",
"List<File> list(String directory) throws FindException;",
"public void search() {\r\n \t\r\n }",
"static Stream<File> allFilesIn(File folder) \r\n\t{\r\n\t\tFile[] children = folder.listFiles();\r\n\t\tStream<File> descendants = Arrays.stream(children).filter(File::isDirectory).flatMap(Program::allFilesIn);\r\n\t\treturn Stream.concat(descendants, Arrays.stream(children).filter(File::isFile));\r\n\t}",
"@Override\n\tpublic void search() {\n\t}",
"private void iterateOverDefinitionDirectories() {\n\tfor (short repoIndex = Constants.gshMaxRepoDepth; repoIndex > Constants.gshZero; repoIndex--) {\n\t if (repoIndex == Constants.gshMaxRepoDepth) {\n\t\tif (mbJrestRepositoryRead == false) {\n\t\t mfDefinitionFile = new File(msPathToJrestRepo);\n\n\t\t mLogger.debug(String.format(Exceptions.gsJrestCurrentScanningFolder,\n\t\t\t msPathToJrestRepo));\n\n\t\t /*\n\t\t * loadDefinitions to be executed here only in the case of mbJrestRepositoryRead\n\t\t * being false and (repoIndex == Constants.gshMaxRepoDepth).\n\t\t */\n\t\t loadDefinitions(repoIndex);\n\t\t}// if (mbJrestRepositoryRead == false)\n\t } else {\n\t\tmLogger.debug(String.format(Exceptions.gsJrestCurrentScanningFolder,\n\t\t\tmsPathToDefinitionFiles));\n\n\t\tmfDefinitionFile = new File(msPathToDefinitionFiles);\n\n\t\tloadDefinitions(repoIndex);\n\t }// if (mbJrestRepositoryRead == false)\n\t}// for (short repoIndex = Constants.gshMaxRepoDepth; ... )\n }",
"public void searchAllFiles() {\n\t\t/**\n\t\t * Realizamos un pequeño algoritmo de recorrido de árboles en preorden para listar todos los\n\t\t * ebooks con un coste de 2n+1 donde n es el número de nodos.\n\t\t */\n\t\tArrayList<Entry> booksEntry = null;\n\t\ttry {\n\t\t\tString auxPath;\n\t\t\tbooksEntry = new ArrayList<DropboxAPI.Entry>();\n\t\t\tLinkedList<Entry> fifo = new LinkedList<DropboxAPI.Entry>();\n\t\t\tEntry nodo = _mApi.metadata(\"/\", 0, null, true, null);\n\t\t\tfifo.addAll(nodo.contents);\n\t\t\twhile (!fifo.isEmpty()) {\n\t\t\t\tSystem.out.println(fifo);\n\t\t\t\tnodo = fifo.getFirst();\n\t\t\t\tfifo.removeFirst();\n\t\t\t\tauxPath = nodo.path;\n\t\t\t\tif (nodo.isDir) {\n\t\t\t\t\tfifo.addAll(_mApi.metadata(auxPath, 0, null, true, null).contents);\n\t\t\t\t} else {\n\t\t\t\t\tif (isEbook(nodo))\n\t\t\t\t\t\tbooksEntry.add(nodo);\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(\"parar\");\n\t\t} catch (DropboxUnlinkedException e) {\n\t\t\t// The AuthSession wasn't properly authenticated or user unlinked.\n\t\t} catch (DropboxPartialFileException e) {\n\t\t\t// We canceled the operation\n\t\t\t_mErrorMsg = \"Download canceled\";\n\t\t} catch (DropboxServerException e) {\n\t\t\t// Server-side exception. These are examples of what could happen,\n\t\t\t// but we don't do anything special with them here.\n\t\t\tif (e.error == DropboxServerException._304_NOT_MODIFIED) {\n\t\t\t\t// won't happen since we don't pass in revision with metadata\n\t\t\t} else if (e.error == DropboxServerException._401_UNAUTHORIZED) {\n\t\t\t\t// Unauthorized, so we should unlink them. You may want to\n\t\t\t\t// automatically log the user out in this case.\n\t\t\t} else if (e.error == DropboxServerException._403_FORBIDDEN) {\n\t\t\t\t// Not allowed to access this\n\t\t\t} else if (e.error == DropboxServerException._404_NOT_FOUND) {\n\t\t\t\t// path not found (or if it was the thumbnail, can't be\n\t\t\t\t// thumbnailed)\n\t\t\t} else if (e.error == DropboxServerException._406_NOT_ACCEPTABLE) {\n\t\t\t\t// too many entries to return\n\t\t\t} else if (e.error == DropboxServerException._415_UNSUPPORTED_MEDIA) {\n\t\t\t\t// can't be thumbnailed\n\t\t\t} else if (e.error == DropboxServerException._507_INSUFFICIENT_STORAGE) {\n\t\t\t\t// user is over quota\n\t\t\t} else {\n\t\t\t\t// Something else\n\t\t\t}\n\t\t\t// This gets the Dropbox error, translated into the user's language\n\t\t\t_mErrorMsg = e.body.userError;\n\t\t\tif (_mErrorMsg == null) {\n\t\t\t\t_mErrorMsg = e.body.error;\n\t\t\t}\n\t\t} catch (DropboxIOException e) {\n\t\t\t// Happens all the time, probably want to retry automatically.\n\t\t\t_mErrorMsg = \"Network error. Try again.\";\n\t\t} catch (DropboxParseException e) {\n\t\t\t// Probably due to Dropbox server restarting, should retry\n\t\t\t_mErrorMsg = \"Dropbox error. Try again.\";\n\t\t} catch (DropboxException e) {\n\t\t\t// Unknown error\n\t\t\t_mErrorMsg = \"Unknown error. Try again.\";\n\t\t}\n\t\t_booksListEntry = booksEntry;\n\t\tcreateListBooks();\n\t}",
"public static void [] consult(String directoryName)\n {\n\n }",
"@Override\n\tpublic List<String> viewAllProjects(String userId) {\n\t\treturn fileDao.getUserAllProjectsName(userId);\n\t}",
"private void scanIntermediateDirectory() throws IOException {\n List<FileStatus> userDirList = JobHistoryUtils.localGlobber(\n intermediateDoneDirFc, intermediateDoneDirPath, \"\");\n\n for (FileStatus userDir : userDirList) {\n String name = userDir.getPath().getName();\n long newModificationTime = userDir.getModificationTime();\n boolean shouldScan = false;\n synchronized (userDirModificationTimeMap) {\n if (!userDirModificationTimeMap.containsKey(name)\n || newModificationTime > userDirModificationTimeMap.get(name)) {\n shouldScan = true;\n userDirModificationTimeMap.put(name, newModificationTime);\n }\n }\n if (shouldScan) {\n scanIntermediateDirectory(userDir.getPath());\n }\n }\n }",
"private static String[] findFiles(String dirpath) {\n\t\tString fileSeparator = System.getProperty(\"file.separator\");\n\t\tVector<String> fileListVector = new Vector<String>();\n\t\tFile targetDir = null;\n\t\ttry {\n\t\t\ttargetDir = new File(dirpath);\n\t\t\tif (targetDir.isDirectory())\n\t\t\t\tfor (String val : targetDir.list(new JavaFilter()))\n\t\t\t\t\tfileListVector.add(dirpath + fileSeparator + val);\n\t\t} catch(Exception e) {\n\t\t\tlogger.error(e);\n\t\t\tSystem.exit(1);\n\t\t}\n\t\t\n\t\tString fileList = \"\";\n\t\tfor (String filename : fileListVector) {\n\t\t\tString basename = filename.substring(filename.lastIndexOf(fileSeparator) + 1);\n\t\t\tfileList += \"\\t\" + basename;\n\t\t}\n\t\tif (fileList.equals(\"\")) \n\t\t\tfileList += \"none.\";\n\t\tlogger.trace(\"Unpackaged source files found in dir \" + dirpath + fileSeparator + \": \" + fileList);\n\t\t\n\t\treturn (String[]) fileListVector.toArray(new String[fileListVector.size()]);\n\t}",
"public void search() {\n }",
"void getFilesInfoInFolder(String pathToFolder) {\n File[] listOfFiles = getFilesInFolder(pathToFolder);\n for (int i = 0; i < listOfFiles.length; i++) {\n if (listOfFiles[i].isFile()) {\n System.out.println(\"File \" + listOfFiles[i].getName());\n continue;\n }\n\n if (listOfFiles[i].isDirectory()) {\n System.out.println(\"Directory \" + listOfFiles[i].getName());\n }\n }\n }",
"private static ArrayList<Folder> hiddenFolders(Context context) {\n final String FILE_TYPE_NO_MEDIA = \".nomedia\";\n\n ArrayList<Folder> listOfHiddenFiles = new ArrayList<>();\n\n String nonMediaCondition = MediaStore.Files.FileColumns.MEDIA_TYPE\n + \"=\" + MediaStore.Files.FileColumns.MEDIA_TYPE_NONE;\n\n String where = nonMediaCondition + \" AND \"\n + MediaStore.Files.FileColumns.TITLE + \" LIKE ?\";\n\n String[] params = new String[]{\"%\" + FILE_TYPE_NO_MEDIA + \"%\"};\n\n Cursor cursor = context.getContentResolver().query(\n MediaStore.Files.getContentUri(\"external\"),\n new String[]{MediaStore.Files.FileColumns._ID,\n MediaStore.Files.FileColumns.DATA,\n MediaStore.Files.FileColumns.DISPLAY_NAME},\n where,\n params, null);\n\n // No Hidden file found\n if (cursor.getCount() == 0) {\n // showAll Nothing Found\n return listOfHiddenFiles;\n }\n\n ArrayList<File> ids = new ArrayList<>();\n\n // Add Hidden file name, path and directory in file object\n while (cursor.moveToNext()) {\n String id = cursor.getString(cursor.getColumnIndex(MediaStore.Files.FileColumns._ID));\n\n Uri vidUri = Uri.withAppendedPath(MediaStore.Files.getContentUri(\"external\"), id);\n File file = new File(getRealPathFromHiddenURI(context, vidUri)).getParentFile();\n //Log.d(\"MEME\", file.getAbsolutePath());\n\n if (!ids.contains(file)) {\n ids.add(file);\n\n checkAndAddFolder(file, listOfHiddenFiles, true);\n }\n }\n cursor.close();\n\n return listOfHiddenFiles;\n }",
"@Test(dependsOnMethods=\"folderSearchTest\")\n public void testIsFolder() throws Exception\n {\n AdvanceSearchContentPage contentSearchPage = dashBoard.getNav().selectAdvanceSearch().render();\n folderSearchPage = contentSearchPage.searchLink(\"Folders\").render();\n folderSearchPage.inputName(\"Contracts\");\n FacetedSearchPage searchResults = contentSearchPage.clickSearch().render();\n Assert.assertTrue(searchResults.hasResults());\n Assert.assertTrue(searchResults.getResults().get(0).isFolder());\n }",
"protected Enumeration<URL> convertedFindResources(String name) throws IOException {\n ServiceReference reference = bundle.getBundleContext().getServiceReference(PackageAdmin.class.getName());\n PackageAdmin packageAdmin = (PackageAdmin) bundle.getBundleContext().getService(reference);\n try {\n List<URL> resources = findResources(packageAdmin, bundle, name, true);\n if (isMetaInfResource(name)) {\n LinkedHashSet<Bundle> wiredBundles = getWiredBundles();\n for (Bundle wiredBundle : wiredBundles) {\n resources.addAll(findResources(packageAdmin, wiredBundle, name, true));\n }\n }\n return Collections.enumeration(resources);\n } catch (Exception e) {\n throw (IOException) new IOException(\"Error discovering resources: \" + e).initCause(e);\n } finally {\n bundle.getBundleContext().ungetService(reference);\n }\n }",
"private void query() {\n if (mDriveServiceHelper != null) {\n Log.d(\"error\", \"Querying for files.\");\n\n mDriveServiceHelper.queryFiles()\n .addOnSuccessListener(fileList -> {\n StringBuilder builder = new StringBuilder();\n for (File file : fileList.getFiles()) {\n builder.append(file.getName()).append(\"\\n\");\n }\n String fileNames = builder.toString();\n\n// mFileTitleEditText.setText(\"File List\");\n// mDocContentEditText.setText(fileNames);\n\n setReadOnlyMode();\n })\n .addOnFailureListener(exception -> Log.e(\"error\", \"Unable to query files.\", exception));\n }\n }",
"@Override\r\n\tpublic void search() {\n\r\n\t}",
"@Override\n public void run() {\n String whichFiles = \"'\" + languageFolder.getId() + \"' in parents and \" + NOT_TRASHED + \" and \" + FOLDER + \" and \" + NOT_SPREADSHEET;\n List<File> files = getContents(whichFiles);\n \n prune(localLanguageFolder, files);\n processFolders(files, localLanguageFolder);\n }",
"private String adminSearch() {\r\n\r\n resetSelections();\r\n\r\n if (toStop != null && toStop.equals(\"\")) {\r\n toStop = null;\r\n }\r\n\r\n List<SearchResultEntry> result = searchService.adminSearch(\r\n loggedUserHolder.getLoggedUser(), fromStop, toStop, date,\r\n fromHour, toHour, timeForDeparture);\r\n\r\n resultsModel = new ListDataModel(result);\r\n\r\n return Screen.ADMIN_SEARCH_RESULTS.getOutcome();\r\n }",
"boolean getUseSearchResult();",
"@android.annotation.SuppressLint({\"NewApi\"})\n private void listRoots() {\n /*\n r23 = this;\n r21 = 0;\n r0 = r21;\n r1 = r23;\n r1.currentDir = r0;\n r0 = r23;\n r0 = r0.items;\n r21 = r0;\n r21.clear();\n r17 = new java.util.HashSet;\n r17.<init>();\n r21 = android.os.Environment.getExternalStorageDirectory();\n r5 = r21.getPath();\n r12 = android.os.Environment.isExternalStorageRemovable();\n r6 = android.os.Environment.getExternalStorageState();\n r21 = \"mounted\";\n r0 = r21;\n r21 = r6.equals(r0);\n if (r21 != 0) goto L_0x003c;\n L_0x0031:\n r21 = \"mounted_ro\";\n r0 = r21;\n r21 = r6.equals(r0);\n if (r21 == 0) goto L_0x0084;\n L_0x003c:\n r8 = new org.telegram.ui.DocumentSelectActivity$ListItem;\n r21 = 0;\n r0 = r23;\n r1 = r21;\n r8.<init>();\n r21 = android.os.Environment.isExternalStorageRemovable();\n if (r21 == 0) goto L_0x02ae;\n L_0x004d:\n r21 = \"SdCard\";\n r22 = 2131494825; // 0x7f0c07a9 float:1.861317E38 double:1.0530983673E-314;\n r21 = org.telegram.messenger.LocaleController.getString(r21, r22);\n r0 = r21;\n r8.title = r0;\n r21 = 2131165433; // 0x7f0700f9 float:1.7945083E38 double:1.052935626E-314;\n r0 = r21;\n r8.icon = r0;\n L_0x0062:\n r0 = r23;\n r21 = r0.getRootSubtitle(r5);\n r0 = r21;\n r8.subtitle = r0;\n r21 = android.os.Environment.getExternalStorageDirectory();\n r0 = r21;\n r8.file = r0;\n r0 = r23;\n r0 = r0.items;\n r21 = r0;\n r0 = r21;\n r0.add(r8);\n r0 = r17;\n r0.add(r5);\n L_0x0084:\n r3 = 0;\n r4 = new java.io.BufferedReader;\t Catch:{ Exception -> 0x0302 }\n r21 = new java.io.FileReader;\t Catch:{ Exception -> 0x0302 }\n r22 = \"/proc/mounts\";\n r21.<init>(r22);\t Catch:{ Exception -> 0x0302 }\n r0 = r21;\n r4.<init>(r0);\t Catch:{ Exception -> 0x0302 }\n L_0x0094:\n r14 = r4.readLine();\t Catch:{ Exception -> 0x01c3, all -> 0x02d5 }\n if (r14 == 0) goto L_0x02dd;\n L_0x009a:\n r21 = \"vfat\";\n r0 = r21;\n r21 = r14.contains(r0);\t Catch:{ Exception -> 0x01c3, all -> 0x02d5 }\n if (r21 != 0) goto L_0x00b0;\n L_0x00a5:\n r21 = \"/mnt\";\n r0 = r21;\n r21 = r14.contains(r0);\t Catch:{ Exception -> 0x01c3, all -> 0x02d5 }\n if (r21 == 0) goto L_0x0094;\n L_0x00b0:\n r21 = org.telegram.messenger.BuildVars.LOGS_ENABLED;\t Catch:{ Exception -> 0x01c3, all -> 0x02d5 }\n if (r21 == 0) goto L_0x00b7;\n L_0x00b4:\n org.telegram.messenger.FileLog.d(r14);\t Catch:{ Exception -> 0x01c3, all -> 0x02d5 }\n L_0x00b7:\n r19 = new java.util.StringTokenizer;\t Catch:{ Exception -> 0x01c3, all -> 0x02d5 }\n r21 = \" \";\n r0 = r19;\n r1 = r21;\n r0.<init>(r14, r1);\t Catch:{ Exception -> 0x01c3, all -> 0x02d5 }\n r20 = r19.nextToken();\t Catch:{ Exception -> 0x01c3, all -> 0x02d5 }\n r16 = r19.nextToken();\t Catch:{ Exception -> 0x01c3, all -> 0x02d5 }\n r0 = r17;\n r1 = r16;\n r21 = r0.contains(r1);\t Catch:{ Exception -> 0x01c3, all -> 0x02d5 }\n if (r21 != 0) goto L_0x0094;\n L_0x00d5:\n r21 = \"/dev/block/vold\";\n r0 = r21;\n r21 = r14.contains(r0);\t Catch:{ Exception -> 0x01c3, all -> 0x02d5 }\n if (r21 == 0) goto L_0x0094;\n L_0x00e0:\n r21 = \"/mnt/secure\";\n r0 = r21;\n r21 = r14.contains(r0);\t Catch:{ Exception -> 0x01c3, all -> 0x02d5 }\n if (r21 != 0) goto L_0x0094;\n L_0x00eb:\n r21 = \"/mnt/asec\";\n r0 = r21;\n r21 = r14.contains(r0);\t Catch:{ Exception -> 0x01c3, all -> 0x02d5 }\n if (r21 != 0) goto L_0x0094;\n L_0x00f6:\n r21 = \"/mnt/obb\";\n r0 = r21;\n r21 = r14.contains(r0);\t Catch:{ Exception -> 0x01c3, all -> 0x02d5 }\n if (r21 != 0) goto L_0x0094;\n L_0x0101:\n r21 = \"/dev/mapper\";\n r0 = r21;\n r21 = r14.contains(r0);\t Catch:{ Exception -> 0x01c3, all -> 0x02d5 }\n if (r21 != 0) goto L_0x0094;\n L_0x010c:\n r21 = \"tmpfs\";\n r0 = r21;\n r21 = r14.contains(r0);\t Catch:{ Exception -> 0x01c3, all -> 0x02d5 }\n if (r21 != 0) goto L_0x0094;\n L_0x0117:\n r21 = new java.io.File;\t Catch:{ Exception -> 0x01c3, all -> 0x02d5 }\n r0 = r21;\n r1 = r16;\n r0.<init>(r1);\t Catch:{ Exception -> 0x01c3, all -> 0x02d5 }\n r21 = r21.isDirectory();\t Catch:{ Exception -> 0x01c3, all -> 0x02d5 }\n if (r21 != 0) goto L_0x0163;\n L_0x0126:\n r21 = 47;\n r0 = r16;\n r1 = r21;\n r11 = r0.lastIndexOf(r1);\t Catch:{ Exception -> 0x01c3, all -> 0x02d5 }\n r21 = -1;\n r0 = r21;\n if (r11 == r0) goto L_0x0163;\n L_0x0136:\n r21 = new java.lang.StringBuilder;\t Catch:{ Exception -> 0x01c3, all -> 0x02d5 }\n r21.<init>();\t Catch:{ Exception -> 0x01c3, all -> 0x02d5 }\n r22 = \"/storage/\";\n r21 = r21.append(r22);\t Catch:{ Exception -> 0x01c3, all -> 0x02d5 }\n r22 = r11 + 1;\n r0 = r16;\n r1 = r22;\n r22 = r0.substring(r1);\t Catch:{ Exception -> 0x01c3, all -> 0x02d5 }\n r21 = r21.append(r22);\t Catch:{ Exception -> 0x01c3, all -> 0x02d5 }\n r15 = r21.toString();\t Catch:{ Exception -> 0x01c3, all -> 0x02d5 }\n r21 = new java.io.File;\t Catch:{ Exception -> 0x01c3, all -> 0x02d5 }\n r0 = r21;\n r0.<init>(r15);\t Catch:{ Exception -> 0x01c3, all -> 0x02d5 }\n r21 = r21.isDirectory();\t Catch:{ Exception -> 0x01c3, all -> 0x02d5 }\n if (r21 == 0) goto L_0x0163;\n L_0x0161:\n r16 = r15;\n L_0x0163:\n r0 = r17;\n r1 = r16;\n r0.add(r1);\t Catch:{ Exception -> 0x01c3, all -> 0x02d5 }\n r13 = new org.telegram.ui.DocumentSelectActivity$ListItem;\t Catch:{ Exception -> 0x01bd, all -> 0x02d5 }\n r21 = 0;\n r0 = r23;\n r1 = r21;\n r13.<init>();\t Catch:{ Exception -> 0x01bd, all -> 0x02d5 }\n r21 = r16.toLowerCase();\t Catch:{ Exception -> 0x01bd, all -> 0x02d5 }\n r22 = \"sd\";\n r21 = r21.contains(r22);\t Catch:{ Exception -> 0x01bd, all -> 0x02d5 }\n if (r21 == 0) goto L_0x02c5;\n L_0x0182:\n r21 = \"SdCard\";\n r22 = 2131494825; // 0x7f0c07a9 float:1.861317E38 double:1.0530983673E-314;\n r21 = org.telegram.messenger.LocaleController.getString(r21, r22);\t Catch:{ Exception -> 0x01bd, all -> 0x02d5 }\n r0 = r21;\n r13.title = r0;\t Catch:{ Exception -> 0x01bd, all -> 0x02d5 }\n L_0x0190:\n r21 = 2131165433; // 0x7f0700f9 float:1.7945083E38 double:1.052935626E-314;\n r0 = r21;\n r13.icon = r0;\t Catch:{ Exception -> 0x01bd, all -> 0x02d5 }\n r0 = r23;\n r1 = r16;\n r21 = r0.getRootSubtitle(r1);\t Catch:{ Exception -> 0x01bd, all -> 0x02d5 }\n r0 = r21;\n r13.subtitle = r0;\t Catch:{ Exception -> 0x01bd, all -> 0x02d5 }\n r21 = new java.io.File;\t Catch:{ Exception -> 0x01bd, all -> 0x02d5 }\n r0 = r21;\n r1 = r16;\n r0.<init>(r1);\t Catch:{ Exception -> 0x01bd, all -> 0x02d5 }\n r0 = r21;\n r13.file = r0;\t Catch:{ Exception -> 0x01bd, all -> 0x02d5 }\n r0 = r23;\n r0 = r0.items;\t Catch:{ Exception -> 0x01bd, all -> 0x02d5 }\n r21 = r0;\n r0 = r21;\n r0.add(r13);\t Catch:{ Exception -> 0x01bd, all -> 0x02d5 }\n goto L_0x0094;\n L_0x01bd:\n r7 = move-exception;\n org.telegram.messenger.FileLog.e(r7);\t Catch:{ Exception -> 0x01c3, all -> 0x02d5 }\n goto L_0x0094;\n L_0x01c3:\n r7 = move-exception;\n r3 = r4;\n L_0x01c5:\n org.telegram.messenger.FileLog.e(r7);\t Catch:{ all -> 0x0300 }\n if (r3 == 0) goto L_0x01cd;\n L_0x01ca:\n r3.close();\t Catch:{ Exception -> 0x02ec }\n L_0x01cd:\n r9 = new org.telegram.ui.DocumentSelectActivity$ListItem;\n r21 = 0;\n r0 = r23;\n r1 = r21;\n r9.<init>();\n r21 = \"/\";\n r0 = r21;\n r9.title = r0;\n r21 = \"SystemRoot\";\n r22 = 2131495071; // 0x7f0c089f float:1.8613668E38 double:1.053098489E-314;\n r21 = org.telegram.messenger.LocaleController.getString(r21, r22);\n r0 = r21;\n r9.subtitle = r0;\n r21 = 2131165426; // 0x7f0700f2 float:1.7945069E38 double:1.0529356226E-314;\n r0 = r21;\n r9.icon = r0;\n r21 = new java.io.File;\n r22 = \"/\";\n r21.<init>(r22);\n r0 = r21;\n r9.file = r0;\n r0 = r23;\n r0 = r0.items;\n r21 = r0;\n r0 = r21;\n r0.add(r9);\n r18 = new java.io.File;\t Catch:{ Exception -> 0x02f7 }\n r21 = android.os.Environment.getExternalStorageDirectory();\t Catch:{ Exception -> 0x02f7 }\n r22 = \"Telegram\";\n r0 = r18;\n r1 = r21;\n r2 = r22;\n r0.<init>(r1, r2);\t Catch:{ Exception -> 0x02f7 }\n r21 = r18.exists();\t Catch:{ Exception -> 0x02f7 }\n if (r21 == 0) goto L_0x0254;\n L_0x0223:\n r10 = new org.telegram.ui.DocumentSelectActivity$ListItem;\t Catch:{ Exception -> 0x02f7 }\n r21 = 0;\n r0 = r23;\n r1 = r21;\n r10.<init>();\t Catch:{ Exception -> 0x02f7 }\n r21 = \"Telegram\";\n r0 = r21;\n r10.title = r0;\t Catch:{ Exception -> 0x02fd }\n r21 = r18.toString();\t Catch:{ Exception -> 0x02fd }\n r0 = r21;\n r10.subtitle = r0;\t Catch:{ Exception -> 0x02fd }\n r21 = 2131165426; // 0x7f0700f2 float:1.7945069E38 double:1.0529356226E-314;\n r0 = r21;\n r10.icon = r0;\t Catch:{ Exception -> 0x02fd }\n r0 = r18;\n r10.file = r0;\t Catch:{ Exception -> 0x02fd }\n r0 = r23;\n r0 = r0.items;\t Catch:{ Exception -> 0x02fd }\n r21 = r0;\n r0 = r21;\n r0.add(r10);\t Catch:{ Exception -> 0x02fd }\n r9 = r10;\n L_0x0254:\n r9 = new org.telegram.ui.DocumentSelectActivity$ListItem;\n r21 = 0;\n r0 = r23;\n r1 = r21;\n r9.<init>();\n r21 = \"Gallery\";\n r22 = 2131493847; // 0x7f0c03d7 float:1.8611186E38 double:1.053097884E-314;\n r21 = org.telegram.messenger.LocaleController.getString(r21, r22);\n r0 = r21;\n r9.title = r0;\n r21 = \"GalleryInfo\";\n r22 = 2131493848; // 0x7f0c03d8 float:1.8611188E38 double:1.0530978846E-314;\n r21 = org.telegram.messenger.LocaleController.getString(r21, r22);\n r0 = r21;\n r9.subtitle = r0;\n r21 = 2131165529; // 0x7f070159 float:1.7945278E38 double:1.0529356735E-314;\n r0 = r21;\n r9.icon = r0;\n r21 = 0;\n r0 = r21;\n r9.file = r0;\n r0 = r23;\n r0 = r0.items;\n r21 = r0;\n r0 = r21;\n r0.add(r9);\n r0 = r23;\n r0 = r0.listView;\n r21 = r0;\n org.telegram.messenger.AndroidUtilities.clearDrawableAnimation(r21);\n r21 = 1;\n r0 = r21;\n r1 = r23;\n r1.scrolling = r0;\n r0 = r23;\n r0 = r0.listAdapter;\n r21 = r0;\n r21.notifyDataSetChanged();\n return;\n L_0x02ae:\n r21 = \"InternalStorage\";\n r22 = 2131493929; // 0x7f0c0429 float:1.8611352E38 double:1.0530979246E-314;\n r21 = org.telegram.messenger.LocaleController.getString(r21, r22);\n r0 = r21;\n r8.title = r0;\n r21 = 2131165528; // 0x7f070158 float:1.7945276E38 double:1.052935673E-314;\n r0 = r21;\n r8.icon = r0;\n goto L_0x0062;\n L_0x02c5:\n r21 = \"ExternalStorage\";\n r22 = 2131493730; // 0x7f0c0362 float:1.8610948E38 double:1.0530978263E-314;\n r21 = org.telegram.messenger.LocaleController.getString(r21, r22);\t Catch:{ Exception -> 0x01bd, all -> 0x02d5 }\n r0 = r21;\n r13.title = r0;\t Catch:{ Exception -> 0x01bd, all -> 0x02d5 }\n goto L_0x0190;\n L_0x02d5:\n r21 = move-exception;\n r3 = r4;\n L_0x02d7:\n if (r3 == 0) goto L_0x02dc;\n L_0x02d9:\n r3.close();\t Catch:{ Exception -> 0x02f2 }\n L_0x02dc:\n throw r21;\n L_0x02dd:\n if (r4 == 0) goto L_0x0305;\n L_0x02df:\n r4.close();\t Catch:{ Exception -> 0x02e5 }\n r3 = r4;\n goto L_0x01cd;\n L_0x02e5:\n r7 = move-exception;\n org.telegram.messenger.FileLog.e(r7);\n r3 = r4;\n goto L_0x01cd;\n L_0x02ec:\n r7 = move-exception;\n org.telegram.messenger.FileLog.e(r7);\n goto L_0x01cd;\n L_0x02f2:\n r7 = move-exception;\n org.telegram.messenger.FileLog.e(r7);\n goto L_0x02dc;\n L_0x02f7:\n r7 = move-exception;\n L_0x02f8:\n org.telegram.messenger.FileLog.e(r7);\n goto L_0x0254;\n L_0x02fd:\n r7 = move-exception;\n r9 = r10;\n goto L_0x02f8;\n L_0x0300:\n r21 = move-exception;\n goto L_0x02d7;\n L_0x0302:\n r7 = move-exception;\n goto L_0x01c5;\n L_0x0305:\n r3 = r4;\n goto L_0x01cd;\n */\n throw new UnsupportedOperationException(\"Method not decompiled: org.telegram.ui.DocumentSelectActivity.listRoots():void\");\n }",
"public String getFolders()\r\n\t{\r\n\t\tIrUser user = userService.getUser(userId, false);\r\n\t\tif( !item.getOwner().equals(user) && !user.hasRole(IrRole.ADMIN_ROLE) && \r\n\t\t\t\t!institutionalCollectionPermissionHelper.isInstitutionalCollectionAdmin(user, genericItemId))\r\n\t\t{\r\n\t\t return \"accessDenied\";\r\n\t\t}\r\n\t\tif(parentFolderId != null && parentFolderId > 0)\r\n\t\t{\r\n\t\t folderPath = userFileSystemService.getPersonalFolderPath(parentFolderId);\r\n\t\t}\r\n\t\t\r\n\t\tCollection<PersonalFolder> myPersonalFolders = userFileSystemService.getPersonalFoldersForUser(userId, parentFolderId);\r\n\t\t\r\n\t\tCollection<PersonalFile> myPersonalFiles = userFileSystemService.getPersonalFilesInFolder(userId, parentFolderId);\r\n\t\t\r\n\t fileSystem = new LinkedList<FileSystem>();\r\n\t \r\n\t for(PersonalFolder o : myPersonalFolders)\r\n\t {\r\n\t \tfileSystem.add(o);\r\n\t }\r\n\t \r\n\t for(PersonalFile o: myPersonalFiles)\r\n\t {\r\n\t \tfileSystem.add(o);\r\n\t }\r\n\t \r\n\t FileSystemSortHelper sortHelper = new FileSystemSortHelper();\r\n\t sortHelper.sort(fileSystem, FileSystemSortHelper.TYPE_DESC);\r\n\t return SUCCESS;\r\n\t \r\n\t}",
"private List<File> getContents(String whichFiles) {\n List<File> result = new ArrayList<File>();\n Files f1 = mService.files();\n Files.List request = null;\n\n do {\n try { \n request = f1.list();\n // get the language folders from drive\n request.setQ(whichFiles);\n FileList fileList = request.execute();\n \n result.addAll(fileList.getItems());\n request.setPageToken(fileList.getNextPageToken());\n } catch (UserRecoverableAuthIOException e) {\n startActivityForResult(e.getIntent(), REQUEST_AUTHORIZATION);\n } catch (IOException e) {\n e.printStackTrace();\n if (request != null) \n request.setPageToken(null);\n }\n } while ((request.getPageToken() != null) \n && (request.getPageToken().length() > 0));\n \n return result;\n }",
"private void searchWeb()\n {\n searchWeb = true;\n search();\n }",
"@Override\n public void doIT() throws RepositoryException {\n Repository repo = taskData.getRepository();\n\n if (repo instanceof RemoteRepository && taskData.getSubject() != null) {\n RemoteRepository rr = (RemoteRepository) repo;\n NamedEntity entity = (NamedEntity) taskData.getSubject().getTL();\n boolean includeIndirect = true;\n\n repoResults = new ArrayList<>();\n rr.getEntityWhereExtended( entity ).forEach( e -> repoResults.add( e ) );\n repoResults.addAll( rr.getEntityWhereUsed( entity, includeIndirect ) );\n // Returns list of repo items\n // RepositoryItem item = null;\n // rr.getItemWhereUsed( item, includeIndirect );\n log.debug( \"Found \" + repoResults.size() + \" entities.\" );\n } else {\n // Run full-text search\n // Result list contains both entity and library result items\n repoResults = repo.search( taskData.getQuery(), taskData.getIncludeStatus(),\n taskData.isLatestVersionsOnly(), taskData.getItemType() );\n log.debug( \"Found \" + repoResults.size() + \" items in repo.\" );\n }\n }",
"private ArrayList<String> findChampions() {\n\t\tString searchContents = search.getText();\n\t\tArrayList<String> result = new ArrayList<String>();\n\t\tfor (String c : CHAMPIONLIST) {\n\t\t\tif (c.toLowerCase().contains(searchContents.toLowerCase())) {\n\t\t\t\tresult.add(c);\n\t\t\t}\n\t\t}\n\t\treturn result;\n\t}",
"private Future<List<String>> findMissingSubs(List<String> subPerms, Conn connection) {\n Map<String, Future<Boolean>> futureMap = new HashMap<>();\n List<String> notFoundList = new ArrayList<>();\n for (String permName : subPerms) {\n Future<Boolean> permCheckFuture = checkPermExists(permName, connection);\n futureMap.put(permName, permCheckFuture);\n }\n CompositeFuture compositeFuture = CompositeFuture.all(new ArrayList<>(futureMap.values()));\n return compositeFuture.compose(res -> {\n futureMap.forEach((permName, existsCheckFuture) -> {\n if (Boolean.FALSE.equals(existsCheckFuture.result())) {\n notFoundList.add(permName);\n }\n });\n return Future.succeededFuture(notFoundList);\n });\n }",
"public void search() {\n try {\n for(int i = 0; i < this.queries.size(); i++){\n search(i);\n // in case of error stop\n if(!this.searchOK(i)){\n System.out.println(\"\\t\" + new Date().toString() + \" \" + db + \" Search for rest queries cancelled, because failed for query \" + i + \" : \" + this.queries.get(i));\n break;\n }\n }\n } catch (UnsupportedEncodingException ex) {\n Logger.getLogger(EntrezSearcher.class.getName()).log(Level.SEVERE, null, ex);\n }\n }",
"protected void slowScan()\n throws TaskException\n {\n if( haveSlowResults )\n {\n return;\n }\n\n String[] excl = new String[ dirsExcluded.size() ];\n excl = (String[])dirsExcluded.toArray( excl );\n\n String[] notIncl = new String[ dirsNotIncluded.size() ];\n notIncl = (String[])dirsNotIncluded.toArray( notIncl );\n\n for( int i = 0; i < excl.length; i++ )\n {\n if( !couldHoldIncluded( excl[ i ] ) )\n {\n scandir( new File( basedir, excl[ i ] ),\n excl[ i ] + File.separator, false );\n }\n }\n\n for( int i = 0; i < notIncl.length; i++ )\n {\n if( !couldHoldIncluded( notIncl[ i ] ) )\n {\n scandir( new File( basedir, notIncl[ i ] ),\n notIncl[ i ] + File.separator, false );\n }\n }\n\n haveSlowResults = true;\n }",
"@Override\n\tprotected void rethinkSearchStrings() {\n\t\tsearchStrings = new String[world.getNumItemBases()];\n\t\tint i = 0;\n\t\tfor (Map.Entry<String, ItemBase> entry : world.getItemBaseMap().entrySet()) {\n\t\t\tsearchStrings[i] = entry.getValue().getFilePath();\n\t\t\ti++;\n\t\t}\n\t}",
"public void findSolution() {\n\n\t\t// TODO\n\t}",
"@In String search();",
"private boolean searchSystem(String name) {\n for (ExternalSystem system : connectedExternalSystems) {\n if (system.getSystemName().equals(name)){\n return true;\n }\n }\n\n return false;\n }",
"private void searchLocalFiles(TwitchVideoInfo videoInfo) {\n if (videoInfo.getState().equals(INITIAL)) {\n File playlist = new File(playlistFolderPath + videoInfo.getId() + \".m3u\");\n if (playlist.exists() && playlist.isFile() && playlist.canRead()) {\n videoInfo.setMainRelatedFileOnDisk(playlist);\n videoInfo.putRelatedFile(\"playlist\", playlist);\n\n try {\n InputStream is = new FileInputStream(playlist);\n Scanner sc = new Scanner(is);\n int i = 0;\n while (sc.hasNextLine()) {\n String line = sc.nextLine();\n File file = new File(line);\n if (file.exists()) {\n i++;\n String key = String.format(\"playlist_item_%04d\", i);\n videoInfo.putRelatedFile(key, file);\n }\n }\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n videoInfo.setState(DOWNLOADED);\n }\n\n ffmpegFileListFile = new File(playlistFolderPath + videoInfo.getId() + \".ffmpeglist\");\n if (ffmpegFileListFile.exists()) {\n videoInfo.putRelatedFile(\"ffmpegFileListFile\", ffmpegFileListFile);\n }\n\n File mp4Video = getVideoFile(videoInfo, true);\n\n if (mp4Video.exists() && mp4Video.isFile() && mp4Video.canRead()) {\n videoInfo.setMainRelatedFileOnDisk(mp4Video);\n videoInfo.putRelatedFile(\"mp4Video\", mp4Video);\n videoInfo.setState(CONVERTED);\n }\n }\n }",
"private boolean doesCVSDirectoryExist() {\n \t\tShell shell = null;\n \t\tif (getContainer() != null) {\n \t\t\tshell = getContainer().getShell();\n \t\t}\n \t\tfinal boolean[] isCVSFolder = new boolean[] { false };\n \t\ttry {\n \t\t\tCVSUIPlugin.runWithRefresh(shell, new IResource[] { project }, new IRunnableWithProgress() {\n \t\t\t\tpublic void run(IProgressMonitor monitor) throws InvocationTargetException, InterruptedException {\n \t\t\t\t\ttry {\n \t\t\t\t\t\tICVSFolder folder = (ICVSFolder)CVSWorkspaceRoot.getCVSResourceFor(project);\n \t\t\t\t\t\tFolderSyncInfo info = folder.getFolderSyncInfo();\n \t\t\t\t\t\tisCVSFolder[0] = info != null;\n \t\t\t\t\t} catch (final TeamException e) {\n \t\t\t\t\t\tthrow new InvocationTargetException(e);\n \t\t\t\t\t}\n \t\t\t\t}\n \t\t\t}, null);\n \t\t} catch (InvocationTargetException e) {\n \t\t\tCVSUIPlugin.openError(shell, null, null, e);\n \t\t} catch (InterruptedException e) {\n \t\t}\n \t\treturn isCVSFolder[0];\n \t}",
"List<DirectoryEntry> listAllDirEntries(OkHttpClient client, String token, String repo_id);",
"List<String> getDirectories(String path, String searchPattern) throws IOException;",
"@Override\n\tpublic boolean isSearching() {\n\t\treturn false;\n\t}",
"@Override\n\tpublic boolean isSearching() {\n\t\treturn false;\n\t}",
"List<String> getFileSystemEntries(String path, String searchPattern) throws IOException;",
"@Test\n public void testQueries() {\n nuxeoClient.repository().createDocumentById(testWorkspaceId, new Document(\"file1\", \"File\"));\n nuxeoClient.repository().createDocumentById(testWorkspaceId, new Document(\"file2\", \"File\"));\n\n // Get descendants of Workspaces\n String query = \"select * from Document where ecm:path startswith '/default-domain/workspaces'\";\n Documents documents = nuxeoClient.repository().query(query, \"10\", \"0\", \"50\", \"ecm:path\", \"asc\", null);\n assertEquals(3, documents.size());\n\n // Get all the File documents\n // TODO\n\n // Content of a given Folder, using a page provider\n // TODO\n }",
"public abstract List<String> getDirs( );",
"private List<String> scoutForFiles(FileType fileType, Path path) {\n\t\tfinal List<String> filesFound = new ArrayList<>();\n\n\t\t// Create a stream of Paths for the contents of the directory\n\t\ttry (Stream<Path> walk = Files.walk(path)) {\n\n\t\t\t// Filter the stream to find only Paths that match the filetype we are looking\n\t\t\tfilesFound.addAll(walk.map(x -> x.toString())\n\t\t\t\t.filter(f -> f.endsWith(fileType.suffix)).collect(Collectors.toList()));\n\t\t} catch (IOException e) {\n\t\t\tthrow new MessagePassableException(EventKey.ERROR_EXTERNAL_DIR_NOT_READABLE, e, path.toString());\n\t\t}\n\n\t\treturn filesFound;\n\t}",
"void search();",
"void search();",
"@Override\n\tpublic Solution localSearch() {\n\t\treturn this;\n\t}",
"void listingFiles(String remoteFolder);",
"private static String files()\n\t{\n\t\tString path = dirpath + \"\\\\Server\\\\\";\n\t\tFile folder = new File(path);\n\t\tFile[] listOfFiles = folder.listFiles();\n\t\tString msg1 = \"\";\n\n\t\tfor (int i = 0; i < listOfFiles.length; i++)\n\t\t{\n\t\t\tif (listOfFiles[i].isFile())\n\t\t\t{\n\t\t\t\tmsg1 = msg1 + \"&\" + listOfFiles[i].getName();\n\t\t\t}\n\t\t}\n\t\tmsg1 = msg1 + \"#\" + path + \"\\\\\";\n\t\treturn msg1;\n\t}",
"public List<Recipe> search(String[] keywords, boolean searchLocally, boolean searchFromWeb) {\n \t\treturn model.searchRecipe(keywords);\r\n \t}"
]
| [
"0.6096571",
"0.60585105",
"0.6014333",
"0.58952856",
"0.5803072",
"0.5779572",
"0.5777765",
"0.57240057",
"0.5591554",
"0.55693513",
"0.5529862",
"0.5503943",
"0.54553485",
"0.5448349",
"0.5446755",
"0.54426813",
"0.54381114",
"0.53860056",
"0.5385115",
"0.53802305",
"0.5377172",
"0.5370924",
"0.53625804",
"0.53537834",
"0.53160655",
"0.53019404",
"0.52980906",
"0.52977693",
"0.52502894",
"0.5249019",
"0.5237595",
"0.52357054",
"0.5212991",
"0.5207742",
"0.520689",
"0.51959604",
"0.51878405",
"0.5177702",
"0.51772267",
"0.5174483",
"0.51690996",
"0.5155989",
"0.515154",
"0.5150892",
"0.51432645",
"0.51392394",
"0.5134628",
"0.5132274",
"0.5118921",
"0.51155347",
"0.5114299",
"0.51111096",
"0.51091254",
"0.51052636",
"0.5104604",
"0.51042956",
"0.51027536",
"0.5090005",
"0.508884",
"0.5080845",
"0.5077212",
"0.507276",
"0.50710046",
"0.5070434",
"0.5064856",
"0.50580055",
"0.5057119",
"0.50553834",
"0.5054431",
"0.5051615",
"0.5037225",
"0.5025296",
"0.50190705",
"0.500192",
"0.49993315",
"0.49971652",
"0.49900523",
"0.49887675",
"0.4983787",
"0.49786684",
"0.49786147",
"0.4976606",
"0.49752206",
"0.49726585",
"0.49706674",
"0.4960314",
"0.49597648",
"0.49553686",
"0.495211",
"0.49489465",
"0.49489465",
"0.4948927",
"0.49475557",
"0.4942062",
"0.49416387",
"0.49387762",
"0.49387762",
"0.4935691",
"0.4931889",
"0.49233052",
"0.49208543"
]
| 0.0 | -1 |
For normal users or if solutions have not been published yet, we should only search in files in the public and resource folders | public Optional<VirtualFile> getPublicOrResourcesFile(String id) {
Stream<VirtualFile> files = Stream.concat(public_files.stream(), resource_files.stream());
return files.filter(file -> file.getId().equals(id)).findFirst();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void scanProject() {\n ProjectResources resources = ResourceManager.getInstance().getProjectResources(mProject);\n if (resources != null) {\n Collection<ResourceItem> layouts = resources.getResourceItemsOfType(LAYOUT);\n for (ResourceItem layout : layouts) {\n List<ResourceFile> sources = layout.getSourceFileList();\n for (ResourceFile source : sources) {\n updateFileIncludes(source, false);\n }\n }\n\n return;\n }\n }",
"public void performFileSearch() {\n\n // ACTION_OPEN_DOCUMENT is the intent to choose a file via the system's file browser.\n Intent intent = new Intent(Intent.ACTION_OPEN_DOCUMENT);\n\n // Filter to only show results that can be \"opened\", such as a\n // file (as opposed to a list of contacts or timezones)\n intent.addCategory(Intent.CATEGORY_OPENABLE);\n\n // Filter to show only images, using the image MIME data type.\n // If one wanted to search for ogg vorbis files, the type would be \"audio/ogg\".\n // To search for all documents available via installed storage providers, it would be \"*/*\".\n intent.setFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION | Intent.FLAG_GRANT_PERSISTABLE_URI_PERMISSION);\n intent.setType(\"image/*\");\n\n startActivityForResult(intent, READ_REQUEST_CODE);\n }",
"public void testFindFilesForLocation() {\n \t\t//should not find the workspace root\n \t\tIWorkspaceRoot root = getWorkspace().getRoot();\n \t\tIFile[] result = root.findFilesForLocation(root.getLocation());\n \t\tassertEquals(\"1.0\", 0, result.length);\n\t\t\n\t\tIProject project = root.getProject(\"p1\");\n\t\tIFile existing = project.getFile(\"file1\");\n\t\tensureExistsInWorkspace(existing, true);\n\t\t\n\t\t//existing file\n\t\tresult = root.findFilesForLocation(existing.getLocation());\n\t\tassertResources(\"2.0\", existing, result);\n\t\t\n\t\t//non-existing file\n\t\tIFile nonExisting = project.getFile(\"nonExisting\");\n\t\tresult = root.findFilesForLocation(nonExisting.getLocation());\n\t\tassertResources(\"2.1\", nonExisting, result);\n \n \t\t// TODO add more tests\n \t}",
"public void performFileSearch() {\n Intent intent = new Intent(Intent.ACTION_OPEN_DOCUMENT);\n\n // Filter to only show results that can be \"opened\", such as a file (as opposed to a list\n // of contacts or timezones)\n intent.addCategory(Intent.CATEGORY_OPENABLE);\n\n // Filter to show only images, using the image MIME data type.\n // If one wanted to search for ogg vorbis files, the type would be \"audio/ogg\".\n // To search for all documents available via installed storage providers, it would be\n // \"*/*\".\n intent.setType(\"image/*\");\n\n startActivityForResult(intent, READ_REQUEST_CODE);\n // END_INCLUDE (use_open_document_intent)\n }",
"@NotNull\n protected VirtualFile searchForVirtualFileInProject(String filename) {\n Collection<VirtualFile> files = FilenameIndex.getVirtualFilesByName(myProject, filename, GlobalSearchScope.allScope(myProject));\n assertEquals(String.format(\"%s not found.\", filename), 1, files.size());\n return files.iterator().next();\n }",
"public void performSearch() throws IOException {\n configuration();\n\n File fileDir = new File(queryFilePath);\n if (fileDir.isDirectory()) {\n File[] files = fileDir.listFiles();\n Arrays.stream(files).forEach(file -> performSearchUsingFileContents(file));\n }\n }",
"public static void searchFile() \n\t{\n\t\t//Variable Declaration\n\t\tString fileName;\n\t\tScanner obj = new Scanner(System.in);\n\n\t\t//Read file name from user\n\t\tSystem.out.println(\"Enter file name to searched:\");\n\t\tfileName= obj.nextLine();\n\t\t\n\t\t//Searching the file\n\t\tboolean isFound = FileManager.searchFile(folderpath, fileName);\n\t\t\n\t\tif(isFound)\n\t\t\tSystem.out.println(\"File is present\");\n\t\telse\n\t\t\tSystem.out.println(\"File not present.\");\n\n\t}",
"static List<PsiFile> findViewFiles(String relativePath, Project project) {\n PsiManager psiManager = PsiManager.getInstance(project);\n\n // If no extension is specified, it's a PHP file\n relativePath = PhpExtensionUtil.addIfMissing(relativePath);\n\n List<PsiFile> viewFiles = new ArrayList<>();\n for (PsiFileSystemItem fileSystemItem : getViewDirectories(project)) {\n VirtualFile viewDirectory = fileSystemItem.getVirtualFile();\n VirtualFile viewFile = viewDirectory.findFileByRelativePath(relativePath);\n if (viewFile != null && !viewFile.isDirectory()) {\n PsiFile psiFile = psiManager.findFile(viewFile);\n if (psiFile != null) {\n viewFiles.add(psiFile);\n }\n }\n }\n return viewFiles;\n }",
"@Override\n public InputStream findResource(String filename)\n {\n InputStream resource = null;\n try\n {\n Path scriptRootPath = Files.createDirectories(getScriptRootPath(side));\n Path scriptPath = scriptRootPath.resolve(filename).toAbsolutePath();\n resource = Files.newInputStream(scriptPath, StandardOpenOption.READ);\n } catch (IOException e)\n {\n resource = super.findResource(filename);\n }\n return resource;\n }",
"private List<File> getContents(String whichFiles) {\n List<File> result = new ArrayList<File>();\n Files f1 = mService.files();\n Files.List request = null;\n\n do {\n try { \n request = f1.list();\n // get the language folders from drive\n request.setQ(whichFiles);\n FileList fileList = request.execute();\n \n result.addAll(fileList.getItems());\n request.setPageToken(fileList.getNextPageToken());\n } catch (UserRecoverableAuthIOException e) {\n startActivityForResult(e.getIntent(), REQUEST_AUTHORIZATION);\n } catch (IOException e) {\n e.printStackTrace();\n if (request != null) \n request.setPageToken(null);\n }\n } while ((request.getPageToken() != null) \n && (request.getPageToken().length() > 0));\n \n return result;\n }",
"private List<File> getSearchFiles() {\n\t\tif (searchDirs == null || searchDirs.size() <= 0) {\n\n\t\t\tsearchDirs = new ArrayList<File>();\n\t\t\t\n\t\t\tsearchDirs.add(StorageUtils.getLocalCacheDir(this));\n//\t\t\tsearchDirs.add(StorageUtils.getExternalCacheDir(this));\n\t\t\tsearchDirs.add(StorageUtils.getFavorDir(this));\n\t\t}\n\t\treturn searchDirs;\n\t}",
"@NotNull\n protected VirtualFile firstMatchingVirtualFileInProject(String filename) {\n Collection<VirtualFile> files = FilenameIndex.getVirtualFilesByName(myProject, filename, GlobalSearchScope.allScope(myProject));\n assertTrue(String.format(\"Filename %s not found in project\", filename), files.size() > 0);\n return files.iterator().next();\n }",
"private void performFileSearch() {\n Intent intent = new Intent();\n intent.setType(\"*/*\");\n intent.setAction(Intent.ACTION_GET_CONTENT);\n startActivityForResult(Intent.createChooser(intent, \"Select Picture\"), PICK_IMAGE_REQUEST);\n\n }",
"private void searchLocalFiles(TwitchVideoInfo videoInfo) {\n if (videoInfo.getState().equals(INITIAL)) {\n File playlist = new File(playlistFolderPath + videoInfo.getId() + \".m3u\");\n if (playlist.exists() && playlist.isFile() && playlist.canRead()) {\n videoInfo.setMainRelatedFileOnDisk(playlist);\n videoInfo.putRelatedFile(\"playlist\", playlist);\n\n try {\n InputStream is = new FileInputStream(playlist);\n Scanner sc = new Scanner(is);\n int i = 0;\n while (sc.hasNextLine()) {\n String line = sc.nextLine();\n File file = new File(line);\n if (file.exists()) {\n i++;\n String key = String.format(\"playlist_item_%04d\", i);\n videoInfo.putRelatedFile(key, file);\n }\n }\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n videoInfo.setState(DOWNLOADED);\n }\n\n ffmpegFileListFile = new File(playlistFolderPath + videoInfo.getId() + \".ffmpeglist\");\n if (ffmpegFileListFile.exists()) {\n videoInfo.putRelatedFile(\"ffmpegFileListFile\", ffmpegFileListFile);\n }\n\n File mp4Video = getVideoFile(videoInfo, true);\n\n if (mp4Video.exists() && mp4Video.isFile() && mp4Video.canRead()) {\n videoInfo.setMainRelatedFileOnDisk(mp4Video);\n videoInfo.putRelatedFile(\"mp4Video\", mp4Video);\n videoInfo.setState(CONVERTED);\n }\n }\n }",
"public boolean getUseFiles();",
"public List<Resource> getFileLocations() throws IOException;",
"protected Enumeration<URL> convertedFindResources(String name) throws IOException {\n ServiceReference reference = bundle.getBundleContext().getServiceReference(PackageAdmin.class.getName());\n PackageAdmin packageAdmin = (PackageAdmin) bundle.getBundleContext().getService(reference);\n try {\n List<URL> resources = findResources(packageAdmin, bundle, name, true);\n if (isMetaInfResource(name)) {\n LinkedHashSet<Bundle> wiredBundles = getWiredBundles();\n for (Bundle wiredBundle : wiredBundles) {\n resources.addAll(findResources(packageAdmin, wiredBundle, name, true));\n }\n }\n return Collections.enumeration(resources);\n } catch (Exception e) {\n throw (IOException) new IOException(\"Error discovering resources: \" + e).initCause(e);\n } finally {\n bundle.getBundleContext().ungetService(reference);\n }\n }",
"static void searchForFile() {\n\t\ttry {\n\t\t\t// Get the path for the user's current shared and not-shared directories\n\t\t\tFile sharedPath = new File(\"users/\" + username + \"/shared\");\n\t\t\tFile notSharedPath = new File(\"users/\" + username + \"/not-shared\");\n\n\t\t\t// Allow the user to enter the name of the file they want to search for\n\t\t\tSystem.out.println(\"Enter the name of the file you wish to search for followed by Enter\");\n\t\t\tSystem.out.print(\"Your Entry: \");\n\n\t\t\tString fileToSearchFor = input.readLine();\n\n\t\t\t// Create an array of filenames for the shared and not-shared files\n\t\t\tFile[] sharedFiles = sharedPath.listFiles();\n\t\t\tFile[] notSharedFiles = notSharedPath.listFiles();\n\n\t\t\t// Check through the shared files array to see if the user already owns the file and is sharing it\n\t\t\tfor (File file : sharedFiles) {\n\t\t\t\tif (fileToSearchFor.equals(file.getName())) {\n\t\t\t\t\t// If it exists, tell the user and prompt to exit\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t\tSystem.out.println(\"You already own the file: \" + fileToSearchFor);\n\t\t\t\t\tSystem.out.println(\"It is in your shared files.\");\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t\t// This has been added in order to allow the user to review the results before going back to the main menu\n\t\t\t\t\t// Upon pressing Enter, the main menu will come back up again and ready for a new menu option to be selected\n\t\t\t\t\ttry {\n\t\t\t\t\t\tSystem.out.println(\"Press any key to return\");\n\t\t\t\t\t\tinput.readLine();\n\t\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t\tSystem.out.println(\"Error! \" + e.getMessage());\n\t\t\t\t\t}\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Check through the not-shared files array to see if the user already owns the file and is not sharing it\n\t\t\tfor (File file : notSharedFiles) {\n\t\t\t\tif (fileToSearchFor.equals(file.getName())) {\n\t\t\t\t\t// If it exists, tell the user and prompt to exit\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t\tSystem.out.println(\"You already own the file: \" + fileToSearchFor);\n\t\t\t\t\tSystem.out.println(\"It is in your non-shared files.\");\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t\t// This has been added in order to allow the user to review the results before going back to the main menu\n\t\t\t\t\t// Upon pressing Enter, the main menu will come back up again and ready for a new menu option to be selected\n\t\t\t\t\ttry {\n\t\t\t\t\t\tSystem.out.println(\"Press any key to return\");\n\t\t\t\t\t\tinput.readLine();\n\t\t\t\t\t} catch (Exception e) {\n\t\t\t\t\t\tSystem.out.println(\"Error! \" + e.getMessage());\n\t\t\t\t\t}\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\t\t\t// Otherwise, this means the user does not have the file\n\t\t\t// In this case, send a request to the server via CORBA to see who owns the file\n\t\t\tString[] usersWithFile = server.findFile(fileToSearchFor);\n\t\t\t// If no one owns a file by this name that is available for sharing, let the user know\n\t\t\tif(usersWithFile.length == 0){\n\t\t\t\tSystem.out.println(\"No match was found for: '\"+ fileToSearchFor + \"'\");\n\t\t\t\tSystem.out.println(\"It does not exist, or is not currently being shared.\");\n\t\t\t}\n\t\t\t// Otherwise a match was found\n\t\t\t// Give the user an option to download the file and share it, download the file and keep it in their not-shared directory, or return to the main menu\n\t\t\t// Keep the owner of the file's information hidden from the user\n\t\t\telse {\n\t\t\t\tSystem.out.println(\"A match for : \"+ fileToSearchFor + \" was found.\");\n\t\t\t\tSystem.out.println(\"Would you like to download the file?\");\n\t\t\t\tSystem.out.println(\"\\t[1] | Download And Share The File\");\n\t\t\t\tSystem.out.println(\"\\t[2] | Download And Do Not Share The File\");\n\t\t\t\tSystem.out.println(\"\\t[3] | Return To The Main Menu\");\n\t\t\t\tSystem.out.println(\"--------------------------------------------------------------------\");\n\t\t\t\tSystem.out.print(\"Your Entry: \");\n\t\t\t\tString userEntry = input.readLine();\n\n\t\t\t\t// If the user enters 1, start the download file method with the flag of 1\n\t\t\t\tif(userEntry.equals(\"1\")){\n\t\t\t\t\tdownloadFile(usersWithFile, fileToSearchFor, 1);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\t// If the user enters 2, start the download file method with the flag of 2\n\t\t\t\telse if (userEntry.equals(\"2\")) {\n\t\t\t\t\tdownloadFile(usersWithFile, fileToSearchFor, 2);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\t// If the user enters 3, bring them back to the main menu\n\t\t\t\telse if (userEntry.equals(\"3\")){\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\t// Otherwise, they entered something invalid, return to the main menu\n\t\t\t\telse {\n\t\t\t\t\tSystem.out.println(\"Invalid entry! Returning to the main menu.\");\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(\"Error! : \" + e.getMessage());\n\t\t\treturn;\n\t\t}\n System.out.println();\n\t\t// This has been added in order to allow the user to review the results before going back to the main menu\n\t\t// Upon pressing Enter, the main menu will come back up again and ready for a new menu option to be selected\n try {\n System.out.println(\"Press any key to return\");\n input.readLine();\n } catch (Exception e) {\n System.out.println(\"Error! \" + e.getMessage());\n }\n\t}",
"public static File[] findFiles(String fileName) {\n List<File> fileList_ = new ArrayList<File>();\n if(fileRepoPath_ != null)\n listFiles(new File(fileRepoPath_),fileName, fileList_);\n if(fileList_.size()==0) {\n try {\n \t Enumeration<URL> en_ = FileFinder.class.getClassLoader().getResources(fileName);\n \t while(en_.hasMoreElements()) {\n \t fileList_.add(new File(en_.nextElement().getFile().replaceAll(\"%20\",\" \")));\n \t }\n \t } \n \t catch(IOException e) { }\n }\n \treturn (File[])fileList_.toArray(new File[fileList_.size()]);\n }",
"private InputSource filesystemLookup(ResourceLocation matchingEntry) {\n\n String uri = matchingEntry.getLocation();\n // the following line seems to be necessary on Windows under JDK 1.2\n uri = uri.replace(File.separatorChar, '/');\n URL baseURL;\n\n //\n // The ResourceLocation may specify a relative path for its\n // location attribute. This is resolved using the appropriate\n // base.\n //\n if (matchingEntry.getBase() != null) {\n baseURL = matchingEntry.getBase();\n } else {\n try {\n baseURL = FILE_UTILS.getFileURL(getProject().getBaseDir());\n } catch (MalformedURLException ex) {\n throw new BuildException(\"Project basedir cannot be converted to a URL\");\n }\n }\n\n URL url = null;\n try {\n url = new URL(baseURL, uri);\n } catch (MalformedURLException ex) {\n // this processing is useful under Windows when the location of the DTD\n // has been given as an absolute path\n // see Bugzilla Report 23913\n File testFile = new File(uri);\n if (testFile.exists() && testFile.canRead()) {\n log(\"uri : '\"\n + uri + \"' matches a readable file\", Project.MSG_DEBUG);\n try {\n url = FILE_UTILS.getFileURL(testFile);\n } catch (MalformedURLException ex1) {\n throw new BuildException(\n \"could not find an URL for :\" + testFile.getAbsolutePath());\n }\n } else {\n log(\"uri : '\"\n + uri + \"' does not match a readable file\", Project.MSG_DEBUG);\n\n }\n }\n\n InputSource source = null;\n if (url != null && \"file\".equals(url.getProtocol())) {\n String fileName = FILE_UTILS.fromURI(url.toString());\n if (fileName != null) {\n log(\"fileName \" + fileName, Project.MSG_DEBUG);\n File resFile = new File(fileName);\n if (resFile.exists() && resFile.canRead()) {\n try {\n source = new InputSource(Files.newInputStream(resFile.toPath()));\n String sysid = JAXPUtils.getSystemId(resFile);\n source.setSystemId(sysid);\n log(\"catalog entry matched a readable file: '\"\n + sysid + \"'\", Project.MSG_DEBUG);\n } catch (IOException ex) {\n // ignore\n }\n }\n }\n }\n return source;\n }",
"private WebFile[] getFilesForPackageName(String packageName)\n {\n // Get file path\n String filePath = '/' + packageName.replace(\".\", \"/\");\n WebFile[] files = new WebFile[0];\n\n // Iterate over sites and return first match\n for (WebSite classPathSite : _classPathSites) {\n WebFile nodeFile = classPathSite.getFileForPath(filePath);\n if (nodeFile != null)\n files = ArrayUtils.add(files, nodeFile);\n }\n\n // Return files\n return files;\n }",
"@Override\n public void findFiles_hdfs_native() throws Exception {\n assumeTrue( !isWindows() );\n super.findFiles_hdfs_native();\n }",
"private void checkFileSystemResource(UserRequest ureq) {\n\n if (FolderCommandStatus.STATUS_FAILED == FolderCommandHelper.sanityCheck(getWindowControl(), folderComponent)) {\n folderComponent.updateChildren();\n }\n\n VFSItem item = VFSManager.resolveFile(folderComponent.getRootContainer(), ureq.getModuleURI());\n\n if (FolderCommandStatus.STATUS_FAILED == FolderCommandHelper.sanityCheck2(getWindowControl(), folderComponent, ureq, item)) {\n folderComponent.setCurrentContainerPath(folderComponent.getCurrentContainerPath());\n }\n\n }",
"private void searchImages()\n {\n searchWeb = false;\n search();\n }",
"@SuppressWarnings(\"unchecked\")\n protected List<File> getAllDocuments() {\n\n return (List<File>)stage.getProperties().get(GlobalConstants.ALL_DOCUMENTS_PROPERTY_KEY);\n }",
"@Override\n public Iterable<File> list(File storageDirectory, FilenameFilter filter) {\n\treturn null;\n }",
"static void walkTheDir(){ \n\t try (Stream<Path> paths = Files.walk(Paths.get(\"/ownfiles/tullverketCert/source\"))) {\n\t \t paths\n\t \t .filter(Files::isRegularFile)\n\t \t //.forEach(System.out::println);\n\t \t .forEach( e ->{\n\t \t \t\tSystem.out.println(e);\n\t \t \t\tSystem.out.println(e.getParent());\n\t \t \t\t\n\t \t \t});\n\t \t \n \t}catch (Exception e) { \n\t System.out.println(\"Exception: \" + e); \n\t } \n\t }",
"@Override\r\n\t\tpublic boolean accept(File dir, String name) {\n\t\t\treturn indexFilenames.contains(name.toLowerCase());\r\n\t\t}",
"List<String> externalResources();",
"private List<String> scoutForFiles(FileType fileType, Path path) {\n\t\tfinal List<String> filesFound = new ArrayList<>();\n\n\t\t// Create a stream of Paths for the contents of the directory\n\t\ttry (Stream<Path> walk = Files.walk(path)) {\n\n\t\t\t// Filter the stream to find only Paths that match the filetype we are looking\n\t\t\tfilesFound.addAll(walk.map(x -> x.toString())\n\t\t\t\t.filter(f -> f.endsWith(fileType.suffix)).collect(Collectors.toList()));\n\t\t} catch (IOException e) {\n\t\t\tthrow new MessagePassableException(EventKey.ERROR_EXTERNAL_DIR_NOT_READABLE, e, path.toString());\n\t\t}\n\n\t\treturn filesFound;\n\t}",
"private List<String> getValidFiles(File currentFolder) {\n File[] subFiles = currentFolder.listFiles();\n List<String> sValidFiles = new ArrayList<>();\n\n // recurse through root directory, http://stackoverflow.com/questions/1844688/read-all-files-in-a-folder\n // valid file must not be a directory, not be the redirect file, and be a supported content type\n if (subFiles != null) {\n for (File fileEntry : subFiles) {\n String sFileName = fileEntry.getPath();\n if (fileEntry.isDirectory()) {\n sValidFiles.addAll(getValidFiles(fileEntry));\n } else if (isValidContentType(sFileName) && !sFileName.equals(REDIRECT_FILE_NAME)) {\n sValidFiles.add(sFileName.replaceFirst(\".\",\"\").toLowerCase());\n }\n }\n }\n return sValidFiles;\n }",
"private void query() {\n if (mDriveServiceHelper != null) {\n Log.d(\"error\", \"Querying for files.\");\n\n mDriveServiceHelper.queryFiles()\n .addOnSuccessListener(fileList -> {\n StringBuilder builder = new StringBuilder();\n for (File file : fileList.getFiles()) {\n builder.append(file.getName()).append(\"\\n\");\n }\n String fileNames = builder.toString();\n\n// mFileTitleEditText.setText(\"File List\");\n// mDocContentEditText.setText(fileNames);\n\n setReadOnlyMode();\n })\n .addOnFailureListener(exception -> Log.e(\"error\", \"Unable to query files.\", exception));\n }\n }",
"static void searchFile( ) \r\n\t {\n\t\t\r\n\t\t File directoryPath = new File(\"D:\\\\java_project\");\r\n\t File filesList[] = directoryPath.listFiles();\r\n\t\t Scanner file = new Scanner(System.in);\r\n System.out.println(\"Enter a file name\");\r\n String newfilename = file.next();\r\n\t\t File f = new File( \"D:\\\\java_project\\\\\"+file+\".txt\");\r\n\t boolean fileound=false;\r\n\t\t for(File file1:filesList)\r\n\t\t {\r\n\t\t \t File tempFile = new File(\"D:\\\\java_project\\\\\"+newfilename+\".txt\");\r\n\t\t\t boolean exists = tempFile.exists();\r\n\t\t\t\r\n\t\t \t if(exists)\r\n\t\t \t{\r\n\t\t\t\t fileound = true;\r\n\t\t\t\t\r\n\t\t\t }\r\n\t\t\t else {\r\n\t\t\t }\r\n\t\t }\r\n\t\t if(fileound)\r\n\t\t {\r\n\t\t\t System.out.println(\"File found\");\t\r\n\t\t }\r\n\t\t else\r\n\t\t {\r\n\t\t\t System.out.println(\"File not found\");\r\n\t\t }\r\n\t\t\r\n\t }",
"private void seekBy() {\n Queue<File> queue = new LinkedList<>();\n queue.offer(new File(root));\n while (!queue.isEmpty()) {\n File file = queue.poll();\n File[] list = file.listFiles();\n if (file.isDirectory() && list != null) {\n for (File tempFile : list) {\n queue.offer(tempFile);\n }\n } else {\n if (args.isFullMatch() && searchingFile.equalsIgnoreCase(file.getName())) {\n result.add(file);\n }\n if (args.isMask() && searchingFile.replaceAll(\"\\\\*\", \".*\").equalsIgnoreCase(file.getName())) {\n result.add(file);\n }\n if (args.isRegex() && file.getName().matches(args.getName())) {\n result.add(file);\n }\n }\n }\n this.writeLog(output, result);\n }",
"private static void searchFile(File fileDir) throws Exception {\n String fileName = getFileNameInput();\n File targetFile = new File(fileDir.toString() + \"\\\\\" + fileName);\n boolean fileExists = targetFile.exists();\n if (fileExists) {\n System.out.println(\"File is found on current directory.\");\n } else {\n throw new FileNotFoundException(\"No such file on current directory.\");\n }\n }",
"public File[] getLocalFiles() {\n\t\tFile[] filesArray = new File(this.fileStorage.toString()).listFiles(\n\t\t\t\tnew FileFilter() {\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic boolean accept(File file) {\n\t\t\t\t\t\treturn !file.isHidden();\n\t\t\t\t\t}\n\t\t\t\t});\n\t\treturn filesArray;\n\t}",
"private String retrieveWorkSpaceFileLoc(String fileName) {\n ArrayList<String> regResourceProjects = loadRegistryResourceProjects();\n boolean fileExists = false;\n IWorkspace workspace = ResourcesPlugin.getWorkspace();\n String folder = workspace.getRoot().getLocation().toFile().getPath().toString();\n String resourceFilePath = null;\n for (String regResourceProject : regResourceProjects) {\n resourceFilePath = folder + File.separator + regResourceProject + File.separator +\n fileName;\n File resourceFile = new File(resourceFilePath);\n if (resourceFile.exists()) {\n fileExists = true;\n break;\n }\n }\n if (!fileExists) {\n displayUserError(RESGISTRY_RESOURCE_RETRIVING_ERROR, NO_SUCH_RESOURCE_EXISTS);\n }\n return resourceFilePath;\n }",
"private static void testFileSearch(TrackingServer ts) {\r\n\t\tString requestFormat = \"FIND=%s|FAILED_SERVERS=%s\";\r\n\t\tString finalRequest = null;\r\n\t\tStringBuilder failedPeer = null;\r\n\t\tts.readL.lock();\r\n\t\ttry {\r\n\t\t\tfor (Entry<String, HashSet<Machine>> entry : ts.filesServersMap.entrySet()) {\r\n\t\t\t\tfailedPeer = new StringBuilder();\r\n\t\t\t\tfor (Machine m : entry.getValue()) {\r\n\t\t\t\t\tfailedPeer.append(m.toString());\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\t\t\t\tfinalRequest = String.format(requestFormat, entry.getKey(), failedPeer.toString());\r\n\t\t\t\tbyte[] result = ts.handleSpecificRequest(finalRequest);\r\n\t\t\t\tSystem.out.println(\"result of find=\" + Utils.byteToString(result) + \" entrySet=\" + entry.getValue());\r\n\t\t\t}\r\n\t\t} finally {\r\n\t\t\tts.readL.unlock();\r\n\t\t}\r\n\r\n\t}",
"protected String getStaticFilesLocation(PortletRequest request) {\n // TODO allow overriding on portlet level?\n String staticFileLocation = getPortalProperty(\n Constants.PORTAL_PARAMETER_VAADIN_RESOURCE_PATH,\n request.getPortalContext());\n if (staticFileLocation != null) {\n // remove trailing slash if any\n while (staticFileLocation.endsWith(\".\")) {\n staticFileLocation = staticFileLocation.substring(0,\n staticFileLocation.length() - 1);\n }\n return staticFileLocation;\n } else {\n // default for Liferay\n return \"/html\";\n }\n }",
"@Override\n public boolean containsFile(IFile file) {\n // TODO Auto-generated method stub\n return childFiles.contains(file);\n }",
"private void getDriveContents() {\n Thread t = new Thread(new Runnable() {\n @Override\n public void run() {\n // get only the folders in the root directory of drive account\n List<File> files = getContents(TOP_LEVEL + \" and \" + NOT_TRASHED + \" and \" + FOLDER + \" and \" + NOT_SPREADSHEET);\n \n prune(targetDir, files);\n processLanguages(files);\n }\n });\n t.start();\n }",
"List<File> getSystemDescriptionFiles();",
"@Test\n\tpublic void testWellknownFileAnalyzers() {\n\t\tfinal File py = new File(\"./src/test/resources/file.py\");\n\t\tFileAnalyzer fa = FileAnalyzerFactory.buildFileAnalyzer(py);\n\t\tassertTrue(fa instanceof PythonFileAnalyzer);\n\t\t\n\t\tfinal File d = new File(\"./src/test/resources\");\n\t\tfa = FileAnalyzerFactory.buildFileAnalyzer(d);\n\t\tassertTrue(fa instanceof DirAnalyzer);\n\t\t\n\t\tfinal File ja = new File(\"./src/test/resources/file.java\");\n\t\tfa = FileAnalyzerFactory.buildFileAnalyzer(ja);\n\t\tassertTrue(fa instanceof JavaFileAnalyzer2);\n\t}",
"@Test(groups={\"Enterprise-only\",\"Enterprise4.2Bug\"})\n public void folderSearchTest() throws Exception\n {\n \tAdvanceSearchContentPage contentSearchPage = dashBoard.getNav().selectAdvanceSearch().render();\n \tfolderSearchPage = contentSearchPage.searchLink(\"Folders\").render(); \t\n contentSearchPage.inputName(\"Contracts\");\n contentSearchPage.inputDescription(\"This folder holds the agency contracts\"); \n FacetedSearchPage searchResults = contentSearchPage.clickSearch().render();\n Assert.assertTrue(searchResults.hasResults()); \n }",
"public File searchForFile(String searchFilename) {\r\n File[] files = new File(APP_INSTANCE.getAppDirectory()).listFiles((dir1, examineName) -> examineName.equals(searchFilename));\r\n return Arrays.stream(files).findFirst().orElse(null);\r\n }",
"public List<String> checkFiles() {\n List<String> instances = new ArrayList<String>();\n if (StringUtils.isBlank(getPathOffset())) return instances;\n File[] directories = listFiles(new File(getPathOffset()), \"gcm_\");\n for (File dir : directories) {\n File[] files = listFiles(new File(dir.toString() + \"\\\\logs\"), \"GcmWebServices\");\n for (File file : files)\n instances.add(file.toString());\n }\n return instances;\n }",
"private static String files()\n\t{\n\t\tString path = dirpath + \"\\\\Server\\\\\";\n\t\tFile folder = new File(path);\n\t\tFile[] listOfFiles = folder.listFiles();\n\t\tString msg1 = \"\";\n\n\t\tfor (int i = 0; i < listOfFiles.length; i++)\n\t\t{\n\t\t\tif (listOfFiles[i].isFile())\n\t\t\t{\n\t\t\t\tmsg1 = msg1 + \"&\" + listOfFiles[i].getName();\n\t\t\t}\n\t\t}\n\t\tmsg1 = msg1 + \"#\" + path + \"\\\\\";\n\t\treturn msg1;\n\t}",
"private void searchNextFolder() {\n File nextFolder = foldersToSearch.get(0);\n File[] files = nextFolder.listFiles();\n for (int i = 0; i < files.length; i++) {\n if (this.isCancelled()) { break; }\n File nextFile = files[i];\n String nextLower = nextFile.getName().toLowerCase();\n if (nextFile.isHidden()) {\n // Skip hidden files and folders\n } else if (nextFile.isDirectory()) {\n if (nextLower.contains(\"archive\")\n || nextLower.contains(\"backup\")\n || nextLower.equals(\"deploy\")\n || nextLower.equals(\"dist\")\n || nextLower.equals(\"icons\")\n || nextLower.equals(\"jars\")\n || nextFile.getName().equalsIgnoreCase(\"Library\")\n || nextFile.getName().equalsIgnoreCase(\"Music\")\n || nextFile.getName().equalsIgnoreCase(\"Pictures\")\n || nextFile.getName().equalsIgnoreCase(\"PSPub Omni Pack\")\n || nextFile.getName().endsWith(\".app\")) {\n // Let's not search certain folders\n } else {\n foldersToSearch.add(nextFile);\n }\n } else if (nextFile.getName().equals(NoteIO.README_FILE_NAME)) {\n String line = \"\";\n boolean notenikLineFound = false;\n try {\n FileReader fileReader = new FileReader(nextFile);\n BufferedReader reader = new BufferedReader(fileReader);\n line = reader.readLine();\n while (line != null && (! notenikLineFound)) {\n int j = line.indexOf(NoteIO.README_LINE_1);\n notenikLineFound = (j >= 0);\n line = reader.readLine();\n }\n } catch(IOException e) {\n // Ignore\n }\n if (notenikLineFound) {\n FileSpec collectionSpec = master.getFileSpec(nextFolder);\n if (collectionSpec == null) {\n collectionsToAdd.add(nextFolder);\n }\n } // end if notenik line found within README file\n } // end if we found a README file\n } // end for each file in directory\n foldersToSearch.remove(0);\n }",
"public String getFiles() {\r\n\t\tIrUser user = userService.getUser(userId, false);\r\n\t\tif( !item.getOwner().equals(user) && !user.hasRole(IrRole.ADMIN_ROLE) && \r\n\t\t\t\t!institutionalCollectionPermissionHelper.isInstitutionalCollectionAdmin(user, genericItemId))\r\n\t\t{\r\n\t\t return \"accessDenied\";\r\n\t\t}\r\n\t\tList<ItemObject> itemObjects = item.getItemObjects();\r\n\t\t\r\n\t\t// Sort item objects by order\r\n\t\tCollections.sort(itemObjects, new AscendingOrderComparator());\r\n\t\t\r\n\t\tcreateItemFileVersionForDisplay(itemObjects);\r\n\t\t\r\n\t\treturn SUCCESS;\r\n\t}",
"public List <WebFile> getChildFiles()\n{\n if(_type==FileType.SOURCE_DIR) return getSourceDirChildFiles();\n return _file.getFiles();\n}",
"private FileSystem resolve(String fileName)\n {\n return fileSystems.stream().filter(fs->fs.fsName.equals(fileName)).findAny().get();\n }",
"public void getFiles()\n\t{\n\t\tif(fileList.size() == 0)\n\t\t{\n\t\t\tSystem.out.println(\"There is no file or file not found\");\n\t\t}\n\t\tfor(int i = 0; i < fileList.size(); i++)\n\t\t{\n\t\t\tSystem.out.println(\"File is at: \" + fileList.get(i));\n\t\t}\n\t}",
"private Resource useDeveloperBuild() throws IOException { Find ourselves in the CLASSPATH. We should be a loose class file.\n //\n URL u = getClass().getResource(getClass().getSimpleName() + \".class\");\n if (u == null) {\n throw new FileNotFoundException(\"Cannot find web application root\");\n }\n if (!\"file\".equals(u.getProtocol())) {\n throw new FileNotFoundException(\"Cannot find web root from \" + u);\n }\n\n // Pop up to the top level classes folder that contains us.\n //\n File dir = new File(u.getPath());\n String myName = getClass().getName();\n for (;;) {\n int dot = myName.lastIndexOf('.');\n if (dot < 0) {\n dir = dir.getParentFile();\n break;\n }\n myName = myName.substring(0, dot);\n dir = dir.getParentFile();\n }\n\n // We should be in a Maven style output, that is $jar/target/classes.\n //\n if (!dir.getName().equals(\"classes\")) {\n throw new FileNotFoundException(\"Cannot find web root from \" + u);\n }\n dir = dir.getParentFile(); // pop classes\n if (!dir.getName().equals(\"target\")) {\n throw new FileNotFoundException(\"Cannot find web root from \" + u);\n }\n dir = dir.getParentFile(); // pop target\n dir = dir.getParentFile(); // pop the module we are in\n\n // Drop down into gerrit-gwtui to find the WAR assets we need.\n //\n dir = new File(new File(dir, \"gerrit-gwtui\"), \"target\");\n final File[] entries = dir.listFiles();\n if (entries == null) {\n throw new FileNotFoundException(\"No \" + dir);\n }\n for (File e : entries) {\n if (e.isDirectory() /* must be a directory */\n && e.getName().startsWith(\"gerrit-gwtui-\")\n && new File(e, \"gerrit/gerrit.nocache.js\").isFile()) {\n return Resource.newResource(e.toURI());\n }\n }\n throw new FileNotFoundException(\"No \" + dir + \"/gerrit-gwtui-*\");\n }",
"private static void getFiles(String root, Vector files) {\n Location f = new Location(root);\n String[] subs = f.list();\n if (subs == null) subs = new String[0];\n Arrays.sort(subs);\n \n // make sure that if a config file exists, it is first on the list\n for (int i=0; i<subs.length; i++) {\n if (subs[i].endsWith(\".bioformats\") && i != 0) {\n String tmp = subs[0];\n subs[0] = subs[i];\n subs[i] = tmp;\n break;\n }\n }\n \n if (subs == null) {\n LogTools.println(\"Invalid directory: \" + root);\n return;\n }\n \n ImageReader ir = new ImageReader();\n Vector similarFiles = new Vector();\n \n for (int i=0; i<subs.length; i++) {\n LogTools.println(\"Checking file \" + subs[i]);\n subs[i] = new Location(root, subs[i]).getAbsolutePath();\n if (isBadFile(subs[i]) || similarFiles.contains(subs[i])) {\n LogTools.println(subs[i] + \" is a bad file\");\n String[] matching = new FilePattern(subs[i]).getFiles();\n for (int j=0; j<matching.length; j++) {\n similarFiles.add(new Location(root, matching[j]).getAbsolutePath());\n }\n continue;\n }\n Location file = new Location(subs[i]);\n \n if (file.isDirectory()) getFiles(subs[i], files);\n else if (file.getName().equals(\".bioformats\")) {\n // special config file for the test suite\n configFiles.add(file.getAbsolutePath());\n }\n else {\n if (ir.isThisType(subs[i])) {\n LogTools.println(\"Adding \" + subs[i]);\n files.add(file.getAbsolutePath());\n }\n else LogTools.println(subs[i] + \" has invalid type\");\n }\n file = null;\n }\n }",
"protected List <WebFile> getSourceDirChildFiles()\n{\n // Iterate over source dir and add child packages and files\n List children = new ArrayList();\n for(WebFile child : getFile().getFiles()) {\n if(child.isDir() && child.getType().length()==0)\n addPackageDirFiles(child, children);\n else children.add(child);\n }\n \n return children;\n}",
"public Optional<VirtualFile> getAnyFileById(String id) {\n Stream<VirtualFile> files = Stream.concat(Stream.concat(public_files.stream(), resource_files.stream()), Stream.concat(solution_files.stream(), private_files.stream()));\n return files.filter(file -> file.getId().equals(id)).findFirst();\n }",
"@Override\n\tpublic String[] query() {\n\t\t// Return an array of (decoded) filenames\n\t\tif (!serviceDir.exists()) {\n\t\t\treturn new String[0];\n\t\t}\n\t\tFile[] files = serviceDir.listFiles();\n\t\tString[] addrs = new String[files.length];\n\t\tfor (int i = 0; i < addrs.length; ++i) {\n\t\t\taddrs[i] = decode(files[i].getName());\n\t\t}\n\t\treturn addrs;\n\t}",
"protected final List<FileObjectView> computeInvokableFiles() {\n if (currentFiles == null || currentFiles.length == 0) {\n return Collections.EMPTY_LIST;\n }\n final List<FileObjectView> r = new ArrayList();\n for (int i = 0; i < currentFiles.length; i++) {\n if (invokable(currentFiles[i])) {\n r.add(currentFiles[i]);\n }\n }\n return r;\n }",
"void parallelSearch(File searchFrom) {\n for (File file : searchFrom.listFiles()) {\n if (file.isDirectory()) {\n this.parallelSearch(file);\n }\n\n if (extensions.stream().anyMatch(x -> file.getName().endsWith(x))) {\n try {\n queue.put(file);\n } catch (InterruptedException e) {\n e.printStackTrace();\n }\n }\n }\n }",
"@InputFiles\n @Incremental\n @PathSensitive(PathSensitivity.RELATIVE)\n public abstract ConfigurableFileCollection getDexFolders();",
"protected URL convertedFindResource(String name) {\n ServiceReference reference = bundle.getBundleContext().getServiceReference(PackageAdmin.class.getName());\n PackageAdmin packageAdmin = (PackageAdmin) bundle.getBundleContext().getService(reference);\n try {\n List<URL> resources = findResources(packageAdmin, bundle, name, false);\n if (resources.isEmpty() && isMetaInfResource(name)) {\n LinkedHashSet<Bundle> wiredBundles = getWiredBundles();\n Iterator<Bundle> iterator = wiredBundles.iterator();\n while (iterator.hasNext() && resources.isEmpty()) { \n Bundle wiredBundle = iterator.next();\n resources = findResources(packageAdmin, wiredBundle, name, false);\n }\n }\n return (resources.isEmpty()) ? null : resources.get(0);\n } catch (Exception e) {\n return null;\n } finally {\n bundle.getBundleContext().ungetService(reference);\n }\n }",
"@Override\n\tprotected void rethinkSearchStrings() {\n\t\tsearchStrings = new String[world.getNumItemBases()];\n\t\tint i = 0;\n\t\tfor (Map.Entry<String, ItemBase> entry : world.getItemBaseMap().entrySet()) {\n\t\t\tsearchStrings[i] = entry.getValue().getFilePath();\n\t\t\ti++;\n\t\t}\n\t}",
"@Debug.Renderer(text = \"getClass().getName() + \\\":\\\" + getDebugName()\")\[email protected]\[email protected]\npublic interface IndexableFilesIterator {\n\n /**\n * Presentable name that can be shown in logs and used for debugging purposes.\n */\n @NonNls\n String getDebugName();\n\n /**\n * Presentable text shown in progress indicator during indexing of files of this provider.\n */\n @NlsContexts.ProgressText\n String getIndexingProgressText();\n\n /**\n * Presentable text shown in progress indicator during traversing of files of this provider.\n */\n @NlsContexts.ProgressText\n String getRootsScanningProgressText();\n\n /**\n * Iterates through all files and directories corresponding to this provider.\n * <br />\n * The {@param visitedFileSet} is used to store positive {@link VirtualFileWithId#getId()} of Virtual Files,\n * the implementation is free to skip other {@link VirtualFile} implementations and\n * non-positive {@link VirtualFileWithId#getId()}.\n * The {@param visitedFileSet} is used to implement filtering to skip already visited files by looking to [visitedFileSet].\n * <br />\n * The {@param fileIterator} should be invoked on every new file (with respect to {@oaram visitedFileSet},\n * should the {@link ContentIterator#processFile(VirtualFile)} returns false, the processing should be\n * stopped and the {@code false} should be returned from the method.\n *\n * @return `false` if [fileIterator] has stopped iteration by returning `false`, `true` otherwise.\n */\n boolean iterateFiles(@NotNull Project project,\n @NotNull ContentIterator fileIterator,\n @NotNull ConcurrentBitSet visitedFileSet);\n}",
"public static void searchFile(String path){\n try {\n Scanner scanner = new Scanner(System.in);\n System.out.println(\"Enter the File Name You need to Find:\");\n String name = scanner.next();\n File file = new File(path + \"/\" + name);\n if (file.isFile()) {\n file.getName();\n System.out.println(\"File Exists\");\n }\n else{\n System.out.println(\"File Not Found\");\n\n }\n\n }\n catch (Exception e)\n {\n e.printStackTrace();\n }\n }",
"private static File[] listScripts(File baseDir) {\n\n return baseDir.listFiles(new FilenameFilter() {\n @Override\n public boolean accept(File dir, String name) {\n boolean hasJsonFileExtension = \"json\".equals(Files.getFileExtension(name));\n if (!(hasJsonFileExtension || new File(dir, name).isDirectory())) {\n System.err.println(\"Ignoring script \" + name + \". File name must be have .json extension.\");\n return false;\n }\n Integer index = getIndex(name);\n if (index == null) {\n System.err.println(\"Ignoring script \" + name + \". File name must start with an index number followed by an underscore and a description.\");\n return false;\n }\n return true;\n }\n });\n }",
"@Override\n public FileInfo findFile(String pkgPath) {\n if (fileLookup == null) {\n buildFileLookupMap();\n }\n return fileLookup.get(pkgPath);\n }",
"public void searchAllFiles() {\n\t\t/**\n\t\t * Realizamos un pequeño algoritmo de recorrido de árboles en preorden para listar todos los\n\t\t * ebooks con un coste de 2n+1 donde n es el número de nodos.\n\t\t */\n\t\tArrayList<Entry> booksEntry = null;\n\t\ttry {\n\t\t\tString auxPath;\n\t\t\tbooksEntry = new ArrayList<DropboxAPI.Entry>();\n\t\t\tLinkedList<Entry> fifo = new LinkedList<DropboxAPI.Entry>();\n\t\t\tEntry nodo = _mApi.metadata(\"/\", 0, null, true, null);\n\t\t\tfifo.addAll(nodo.contents);\n\t\t\twhile (!fifo.isEmpty()) {\n\t\t\t\tSystem.out.println(fifo);\n\t\t\t\tnodo = fifo.getFirst();\n\t\t\t\tfifo.removeFirst();\n\t\t\t\tauxPath = nodo.path;\n\t\t\t\tif (nodo.isDir) {\n\t\t\t\t\tfifo.addAll(_mApi.metadata(auxPath, 0, null, true, null).contents);\n\t\t\t\t} else {\n\t\t\t\t\tif (isEbook(nodo))\n\t\t\t\t\t\tbooksEntry.add(nodo);\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(\"parar\");\n\t\t} catch (DropboxUnlinkedException e) {\n\t\t\t// The AuthSession wasn't properly authenticated or user unlinked.\n\t\t} catch (DropboxPartialFileException e) {\n\t\t\t// We canceled the operation\n\t\t\t_mErrorMsg = \"Download canceled\";\n\t\t} catch (DropboxServerException e) {\n\t\t\t// Server-side exception. These are examples of what could happen,\n\t\t\t// but we don't do anything special with them here.\n\t\t\tif (e.error == DropboxServerException._304_NOT_MODIFIED) {\n\t\t\t\t// won't happen since we don't pass in revision with metadata\n\t\t\t} else if (e.error == DropboxServerException._401_UNAUTHORIZED) {\n\t\t\t\t// Unauthorized, so we should unlink them. You may want to\n\t\t\t\t// automatically log the user out in this case.\n\t\t\t} else if (e.error == DropboxServerException._403_FORBIDDEN) {\n\t\t\t\t// Not allowed to access this\n\t\t\t} else if (e.error == DropboxServerException._404_NOT_FOUND) {\n\t\t\t\t// path not found (or if it was the thumbnail, can't be\n\t\t\t\t// thumbnailed)\n\t\t\t} else if (e.error == DropboxServerException._406_NOT_ACCEPTABLE) {\n\t\t\t\t// too many entries to return\n\t\t\t} else if (e.error == DropboxServerException._415_UNSUPPORTED_MEDIA) {\n\t\t\t\t// can't be thumbnailed\n\t\t\t} else if (e.error == DropboxServerException._507_INSUFFICIENT_STORAGE) {\n\t\t\t\t// user is over quota\n\t\t\t} else {\n\t\t\t\t// Something else\n\t\t\t}\n\t\t\t// This gets the Dropbox error, translated into the user's language\n\t\t\t_mErrorMsg = e.body.userError;\n\t\t\tif (_mErrorMsg == null) {\n\t\t\t\t_mErrorMsg = e.body.error;\n\t\t\t}\n\t\t} catch (DropboxIOException e) {\n\t\t\t// Happens all the time, probably want to retry automatically.\n\t\t\t_mErrorMsg = \"Network error. Try again.\";\n\t\t} catch (DropboxParseException e) {\n\t\t\t// Probably due to Dropbox server restarting, should retry\n\t\t\t_mErrorMsg = \"Dropbox error. Try again.\";\n\t\t} catch (DropboxException e) {\n\t\t\t// Unknown error\n\t\t\t_mErrorMsg = \"Unknown error. Try again.\";\n\t\t}\n\t\t_booksListEntry = booksEntry;\n\t\tcreateListBooks();\n\t}",
"protected ArrayList<Path> find(Path file) {\n\t\tPath name = file.getFileName();\n\t\tif (name != null && matcher.matches(name)) {\n\t\t\tresults.add(file);\n\t\t}\n\t\treturn null;\n\t}",
"public boolean fileExists(Context context, String filename)\r\n{\r\n File file = context.getFileStreamPath(filename);\r\n if(file == null || !file.exists())\r\n {\r\n return false;\r\n }\r\nreturn true;\r\n}",
"public boolean usesFiles(Files inFile) {\n\t\treturn false;\n\t}",
"public void testFilesDirectoryAccessible() {\n File file = new File(rootBlog.getRoot(), \"files\");\n assertEquals(file, new File(rootBlog.getFilesDirectory()));\n assertTrue(file.exists());\n }",
"public ArrayList<File> findRelevantFiles (int reimburseID);",
"@Override\n public Enumeration<URL> getResources(String name) throws IOException {\n if (\"META-INF/services/org.neo4j.ogm.spi.CypherModificationProvider\".equals(name)) {\n return Collections.enumeration(Arrays.asList(\n super.getResource(\"spi/cypher_modification1\"),\n super.getResource(\"spi/cypher_modification2\")));\n } else {\n return super.getResources(name);\n }\n }",
"public static List<Path> getRequestedFiles(\n String[] givenPaths, Map<String, Documentation> pkgDocs)\n throws IOException, ShadowException, ConfigurationException {\n List<Path> sourceFiles = new ArrayList<>();\n Map<Path, Path> imports = Configuration.getConfiguration().getImport();\n Path current = null;\n for (String path : givenPaths) {\n\n for (Path _import : imports.keySet()) {\n Path candidate = _import.resolve(Paths.get(path));\n if (Files.exists(candidate)) current = candidate.toAbsolutePath().normalize();\n break;\n }\n\n // Ensure that the source file exists\n if (current == null) throw new FileNotFoundException(\"File at \" + path + \" not found\");\n\n // If the file is a directory, process it as a package\n if (Files.isDirectory(current)) sourceFiles.addAll(getPackageFiles(current, true, pkgDocs));\n else if (current.toString().endsWith(SRC_EXTENSION)) sourceFiles.add(current);\n else if (current.getFileName().toString().equals(PKG_INFO_FILE))\n processPackageInfo(current, pkgDocs);\n else\n // Only do this for explicitly requested files\n throw new DocumentationException(\n \"File at \"\n + current\n + \" is not a package \"\n + \"directory, \"\n + PKG_INFO_FILE\n + \" file, or a source \"\n + \"file ending in \"\n + SRC_EXTENSION);\n }\n return sourceFiles;\n }",
"private List<String> getMyDocsFromSomewhere(String aPath) {\n\t\tList<String> ret = new ArrayList<>();\n\t\ttry {\n\t\t\tFile startFileUrl = new File(aPath);\n\t\t\tFile[] files = startFileUrl.listFiles();\n\t\t\tfor (File file : files) {\n\t\t\t\t\n\t\t\t\tBodyContentHandler handler = new BodyContentHandler();\n\t\t\t\tMetadata metadata = new Metadata();\n\t\t\t\tFileInputStream inputstream = new FileInputStream(file);\n\t\t\t\tParseContext pcontext = new ParseContext();\n\n\t\t\t\t// Html parser\n\t\t\t\tHtmlParser htmlparser = new HtmlParser();\n\t\t\t\thtmlparser.parse(inputstream, handler, metadata, pcontext);\n\t\t\t\t// System.out.println(\"Contents of the document:\" +\n\t\t\t\t// handler.toString());\n\t\t\t\t// System.out.println(\"Metadata of the document:\");\n\t\t\t\tString[] metadataNames = metadata.names();\n\t\t\t\tStringBuilder build = new StringBuilder();\n\t\t\t\tfor (String name : metadataNames) {\n\t\t\t\t\tbuild.append(metadata.get(name));\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tret.add(handler.toString());\n\t\t\t\tret.add(build.toString());\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(\"--error: \" + aPath);\n\t\t\tSystem.out.println(\"--error: \" + e.getMessage());\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\treturn ret;\n\t}",
"public static void searchForImageReferences(File rootDir, FilenameFilter fileFilter) {\n \t\tfor (File file : rootDir.listFiles()) {\n \t\t\tif (file.isDirectory()) {\n \t\t\t\tsearchForImageReferences(file, fileFilter);\n \t\t\t\tcontinue;\n \t\t\t}\n \t\t\ttry {\n \t\t\t\tif (fileFilter.accept(rootDir, file.getName())) {\n \t\t\t\t\tif (MapTool.getFrame() != null) {\n \t\t\t\t\t\tMapTool.getFrame().setStatusMessage(\"Caching image reference: \" + file.getName());\n \t\t\t\t\t}\n \t\t\t\t\trememberLocalImageReference(file);\n \t\t\t\t}\n \t\t\t} catch (IOException ioe) {\n \t\t\t\tioe.printStackTrace();\n \t\t\t}\n \t\t}\n \t\t// Done\n \t\tif (MapTool.getFrame() != null) {\n \t\t\tMapTool.getFrame().setStatusMessage(\"\");\n \t\t}\n \t}",
"public static void start() throws IOException {\n\n\t\t/* if relation aliases are already cached, ignore */\n\t\tif(relationAliasIndex.size() > 0) {\n\n\t\t\treturn;\n\t\t}\n\n\t\tfinal String filePath = singleton.getClass().getResource(localFileRepositoryPath)\n\t\t\t\t.getFile();\n\n\t\t// if file path contains jar, it means we are executing from a jar file\n\t\tif(filePath.contains(\".jar\")) {\n\n\t\t\tindexFromJarFile(\n\t\t\t\t\tnew BufferedInputStream(\n\t\t\t\t\t\t\tnew FileInputStream(filePath.substring\n\t\t\t\t\t(filePath.indexOf(\":\") + 1, filePath.indexOf(\"!\")))));\n\t\t} else {\n\n\t\t\tnew java.io.File(filePath).listFiles(new java.io.FileFilter() {\n\n\t\t\t\tpublic boolean accept(java.io.File file) {\n\n\t\t\t\t\tif(file.isFile() && file.getName().endsWith(classExtension)) {\n\n\t\t\t\t\t\taddToIndex(file.getName());\n\t\t\t\t\t}\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t}",
"@Override\n public Collection<LocalFile> referencedLocalFiles() {\n return ImmutableList.of(new LocalFile(queryOutputFilePath, LocalFileType.OUTPUT));\n }",
"private void removeOldFiles() {\n Set<File> existingFiles = new HashSet<File>();\n collectFiles(existingFiles);\n for (ResourceResponse r : cacheResponseProcessor.getResources()) {\n String remotePathId = r.pathId;\n String remotePath = localClasspathProcessor.getLocalClasspath().get(remotePathId);\n String localPath = localPathTranslation.get(remotePath);\n File localFile = new File(localPath);\n File file = new File(localFile, r.name);\n existingFiles.remove(file);\n }\n }",
"public abstract List<LocalFile> getAllFiles();",
"private void helperDisplayProjectFiles ()\r\n\t{\r\n\t\ttry\r\n\t\t{\r\n\t\t\tString[] fileNameList = DataController.scenarioGetFileNames();\r\n\r\n\t\t\tmainFormLink.getComponentPanelLeft().getComponentComboboxFileName().removeAllItems();\r\n\r\n\t\t\tfor (int i = 0; i < fileNameList.length; i++)\r\n\t\t\t{\r\n\t\t\t\tmainFormLink.getComponentPanelLeft().getComponentComboboxFileName().addItem(fileNameList[i]);\r\n\t\t\t}\r\n\t\t}\r\n\t\tcatch (ExceptionMessage e)\r\n\t\t{\r\n\t\t\tExceptionHandler.processException(e);\r\n\t\t}\r\n\t}",
"private void getDirectoryContents() {\n\t File directory = Utilities.prepareDirectory(\"Filtering\");\n\t if(directory.exists()) {\n\t FilenameFilter filter = new FilenameFilter() {\n\t public boolean accept(File dir, String filename) {\n\t return filename.contains(\".pcm\") || filename.contains(\".wav\");\n\t }\n\t };\n\t fileList = directory.list(filter);\n\t }\n\t else {\n\t fileList = new String[0];\n\t }\n\t}",
"@objid (\"116a5759-3df1-4c8b-bd9e-e521507f07e6\")\r\n public String searchFile() {\r\n String nomFichier = this.dialog.open();\r\n if ((nomFichier != null) && (nomFichier.length() != 0)) {\r\n this.currentFile = new File(nomFichier);\r\n this.text.setText(nomFichier);\r\n }\r\n return this.text.getText();\r\n }",
"public DocFile[] search(String query, int permissionLevel, String[] fileTypes) throws ParseException, IOException {\n if (indexDir.listAll().length < 2) return new DocFile[0];\n // create a master query builder\n BooleanQuery.Builder masterQueryBuilder = new BooleanQuery.Builder();\n // check content\n BooleanQuery.Builder queryBuilder = new BooleanQuery.Builder();\n QueryParser parser = new QueryParser(Constants.INDEX_KEY_CONTENT, analyzer);\n parser.setDefaultOperator(QueryParser.Operator.AND);\n parser.setAllowLeadingWildcard(true);\n queryBuilder.add(parser.parse(query), BooleanClause.Occur.SHOULD);\n // to match single word querries on top of all the phrases\n parser = new QueryParser(Constants.INDEX_KEY_CONTENT, analyzer);\n parser.setAllowLeadingWildcard(true);\n queryBuilder.add(parser.parse(query), BooleanClause.Occur.SHOULD);\n // check title\n parser = new QueryParser(Constants.INDEX_KEY_TITLE, analyzer);\n parser.setAllowLeadingWildcard(true);\n queryBuilder.add(parser.parse(query), BooleanClause.Occur.SHOULD);\n // check course\n parser = new QueryParser(Constants.INDEX_KEY_COURSE, analyzer);\n parser.setAllowLeadingWildcard(true);\n queryBuilder.add(parser.parse(\"*\" + query + \"*\"), BooleanClause.Occur.SHOULD);\n // add to the master builder\n masterQueryBuilder.add(queryBuilder.build(), BooleanClause.Occur.MUST);\n if (permissionLevel > Constants.PERMISSION_ALL)\n masterQueryBuilder.add(new QueryParser(Constants.INDEX_KEY_PERMISSION, analyzer).parse(Integer.toString(permissionLevel)),\n BooleanClause.Occur.MUST);\n\n String filterString = fileTypes[0];\n for (String fileType : fileTypes) {\n filterString += \" OR \" + fileType;\n }\n masterQueryBuilder.add(new QueryParser(Constants.INDEX_KEY_TYPE, analyzer).parse(filterString),\n BooleanClause.Occur.MUST);\n\n // build the masterQuery\n BooleanQuery masterQuery = masterQueryBuilder.build();\n\n return searchResponse(searchExec(masterQuery), masterQuery);\n }",
"public List<String> search(File file, String name) {\n\t\t\n\t\tif (file.isDirectory()) {\n\t\t\tlog.debug(\"Searching directory:[{}]\", file.getAbsoluteFile());\n\n\t\t\t// do you have permission to read this directory?\n\t\t\tif (file.canRead()) {\n\t\t\t\tfor (File temp : file.listFiles()) {\n\t\t\t\t\tif (temp.isDirectory()) {\n\t\t\t\t\t\tsearch(temp, name);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tif (name.equals(temp.getName())) {\n\t\t\t\t\t\t\tresult.add(temp.getAbsoluteFile().toString());\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t} else {\n\t\t\t\tlog.info(\"Permission Denied: [{}]\", file.getAbsoluteFile());\n\t\t\t}\n\t\t}\n\n\t\treturn result;\n\t}",
"private boolean isLocalRepository() {\n\r\n File file = new File(m_Path.toString() + \"/.magit/Remote\");\r\n return file.exists();\r\n }",
"protected File getFile(HttpServletRequest request) {\n String path = request.getPathInfo();\n\n // we want to extract everything after /spa/spaResources/ from the path info. This should cater for sub-directories\n String extractedFile = path.substring(path.indexOf('/', BASE_URL.length() - 1) + 1);\n File folder = SpaModuleUtils.getSpaStaticFilesDir();\n\n //Resolve default index.html\n if (extractedFile.endsWith(\"index.htm\") || !extractedFile.contains(\".\")) {\n extractedFile = \"index.html\";\n }\n\n File file = folder.toPath().resolve(extractedFile).toFile();\n if (!file.exists()) {\n log.warn(\"File with path '{}' doesn't exist\", file.toString());\n return null;\n }\n return file;\n }",
"private static List<String> loadDocuments(String path) throws Exception {\n\t\tFile folder = new File(path);\n\t\tArrayList<String> documents = new ArrayList<String>();\n\t\tfor (final File fileEntry : folder.listFiles()) {\n\t\t\tSystem.out.println(fileEntry.getName());\n\t\t\tif (fileEntry.isFile() && !fileEntry.isHidden()) {\n\t\t\t\tString content = getTextFromHtml(fileEntry);\n\t\t\t\tdocuments.add(content);\n\t\t\t}\n\t\t}\n\t\treturn documents;\n\t}",
"@Override\n protected Collection<String> getRelevantScannedFolders(Collection<String> scannedFolders) {\n return scannedFolders == null ? Collections.emptyList() : scannedFolders;\n }",
"public List<FileWithFaultLocations> getFaultyFiles();",
"private void findMatches(String key, String path, boolean caseSensitive, boolean fileName) {\n\t\tfor (String word : document) {\n\t\t\tif (contains(key, word, caseSensitive)) {\n\t\t\t\tif (fileName) {\n\t\t\t\t\tSystem.out.println(path);\n\t\t\t\t\tbreak;\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(word);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"private void scanForIcons() {\n\t\t\ttry {\n\t\t\t\tFile graphicDir = new File(helpIconBase + File.separator);\n\t\t\t\tlist = filter(graphicDir.listFiles(), \"tip\", \".png\");\n\t\t\t} catch (NullPointerException npe) {\n\t\t\t\tSystem.err.println(npe);\n\t\t\t\tlist = null;\n\t\t\t}\n\t\t}",
"public boolean getResourceFile(HttpServletRequest request, HttpServletResponse response) throws IOException\n {\n String path = request.getPathInfo();\n if (path == null)\n return false;\n if (!path.startsWith(\"/\"))\n path = \"/\" + path; // Must start from root\n \n URL url = this.getClass().getResource(path);\n if (url == null)\n return false; // Not found\n InputStream inStream = null;\n try {\n inStream = url.openStream();\n } catch (Exception e) {\n return false; // Not found\n }\n \n // Todo may want to add cache info (using bundle lastModified).\n OutputStream writer = response.getOutputStream();\n copyStream(inStream, writer);\n writer.close();\n return true;\n }",
"protected void check() throws IOException, ServletException {\n if(value.length()==0)\n error(\"please set the path to the Rhapsody Project !\");\n else\n if(value.length()<4)\n warning(\"isn't the path too short?\");\n else {\n \tFile file = new File(value);\n \tif (file.isDirectory()) {\n \t\terror(\"you entered a directory please select the *.rpy file !\");\n \t} else \n \t\t//TODO add more checks\n \t\tok();\n }\n\n }",
"public interface IReadDirectory {\n\n /**\n * List all files existing in the given directory.\n * \n * @param directory\n * @return file list\n * @throws FindException\n */\n List<File> list(String directory) throws FindException;\n\n}",
"private void getDemographicFiles(Uin uinObject, List<DocumentsDTO> documents) {\n\t\tuinObject.getDocuments().stream().forEach(demo -> {\n\t\t\ttry {\n\t\t\t\tString fileName = DEMOGRAPHICS + SLASH + demo.getDocId();\n\t\t\t\tLocalDateTime startTime = DateUtils.getUTCCurrentDateTime();\n\t\t\t\tbyte[] data = securityManager\n\t\t\t\t\t\t.decrypt(IOUtils.toByteArray(fsAdapter.getFile(uinObject.getUinHash(), fileName)));\n\t\t\t\tmosipLogger.debug(IdRepoSecurityManager.getUser(), ID_REPO_SERVICE_IMPL, GET_FILES,\n\t\t\t\t\t\t\"time taken to get file in millis: \" + fileName + \" - \"\n\t\t\t\t\t\t\t\t+ Duration.between(startTime, DateUtils.getUTCCurrentDateTime()).toMillis() + \" \"\n\t\t\t\t\t\t\t\t+ \"Start time : \" + startTime + \" \" + \"end time : \"\n\t\t\t\t\t\t\t\t+ DateUtils.getUTCCurrentDateTime());\n\t\t\t\tif (demo.getDocHash().equals(securityManager.hash(data))) {\n\t\t\t\t\tdocuments.add(new DocumentsDTO(demo.getDoccatCode(), CryptoUtil.encodeBase64(data)));\n\t\t\t\t} else {\n\t\t\t\t\tmosipLogger.error(IdRepoSecurityManager.getUser(), ID_REPO_SERVICE_IMPL, GET_FILES,\n\t\t\t\t\t\t\tIdRepoErrorConstants.DOCUMENT_HASH_MISMATCH.getErrorMessage());\n\t\t\t\t\tthrow new IdRepoAppException(IdRepoErrorConstants.DOCUMENT_HASH_MISMATCH);\n\t\t\t\t}\n\t\t\t} catch (IdRepoAppException e) {\n\t\t\t\tmosipLogger.error(IdRepoSecurityManager.getUser(), ID_REPO_SERVICE_IMPL, GET_FILES, \"\\n\" + e.getMessage());\n\t\t\t\tthrow new IdRepoAppUncheckedException(e.getErrorCode(), e.getErrorText(), e);\n\t\t\t} catch (FSAdapterException e) {\n\t\t\t\tmosipLogger.error(IdRepoSecurityManager.getUser(), ID_REPO_SERVICE_IMPL, GET_FILES, \"\\n\" + e.getMessage());\n\t\t\t\tthrow new IdRepoAppUncheckedException(\n\t\t\t\t\t\te.getErrorCode().equals(HDFSAdapterErrorCode.FILE_NOT_FOUND_EXCEPTION.getErrorCode())\n\t\t\t\t\t\t\t\t? IdRepoErrorConstants.FILE_NOT_FOUND\n\t\t\t\t\t\t\t\t: IdRepoErrorConstants.FILE_STORAGE_ACCESS_ERROR,\n\t\t\t\t\t\te);\n\t\t\t} catch (IOException e) {\n\t\t\t\tmosipLogger.error(IdRepoSecurityManager.getUser(), ID_REPO_SERVICE_IMPL, GET_FILES, \"\\n\" + e.getMessage());\n\t\t\t\tthrow new IdRepoAppUncheckedException(IdRepoErrorConstants.FILE_STORAGE_ACCESS_ERROR, e);\n\t\t\t}\n\t\t});\n\t}",
"public boolean shouldIncludeInGlobalSearch() {\n/* 255 */ throw new RuntimeException(\"Stub!\");\n/* */ }",
"private void loadBasePaths() {\n\n Log.d(TAG, \"****loadBasePaths*****\");\n List<FileInfo> paths = BaseMediaPaths.getInstance().getBasePaths();\n for (FileInfo path : paths) {\n\n }\n }",
"static void find(final File current,\n final Histogram class_use,\n final Histogram method_use) {\n if (current.isDirectory()) {\n for (File child:current.listFiles()){\n find(child, class_use, method_use);\n }\n } else if (current.isFile()) {\n String name = current.toString();\n if ( name.endsWith(\".zip\")\n || name.endsWith(\".jar\")\n || name.endsWith(\".rar\") // weird use of rar for zip, but ... used in case study.\n || name.endsWith(\".war\")\n ) {\n processZip(current, class_use, method_use);\n } else if (name.endsWith(\".class\")) {\n processClass(current, class_use, method_use);\n }\n } else {\n TextIo.error(\"While processing file `\" + current + \"` an error occurred.\");\n }\n }",
"private static String[] findFiles(String dirpath) {\n\t\tString fileSeparator = System.getProperty(\"file.separator\");\n\t\tVector<String> fileListVector = new Vector<String>();\n\t\tFile targetDir = null;\n\t\ttry {\n\t\t\ttargetDir = new File(dirpath);\n\t\t\tif (targetDir.isDirectory())\n\t\t\t\tfor (String val : targetDir.list(new JavaFilter()))\n\t\t\t\t\tfileListVector.add(dirpath + fileSeparator + val);\n\t\t} catch(Exception e) {\n\t\t\tlogger.error(e);\n\t\t\tSystem.exit(1);\n\t\t}\n\t\t\n\t\tString fileList = \"\";\n\t\tfor (String filename : fileListVector) {\n\t\t\tString basename = filename.substring(filename.lastIndexOf(fileSeparator) + 1);\n\t\t\tfileList += \"\\t\" + basename;\n\t\t}\n\t\tif (fileList.equals(\"\")) \n\t\t\tfileList += \"none.\";\n\t\tlogger.trace(\"Unpackaged source files found in dir \" + dirpath + fileSeparator + \": \" + fileList);\n\t\t\n\t\treturn (String[]) fileListVector.toArray(new String[fileListVector.size()]);\n\t}"
]
| [
"0.6114508",
"0.6045507",
"0.6044211",
"0.5948652",
"0.59348434",
"0.58449805",
"0.5826168",
"0.5794676",
"0.57547337",
"0.5597435",
"0.55370456",
"0.5502397",
"0.5481882",
"0.5481793",
"0.54807186",
"0.5465162",
"0.54582167",
"0.54547703",
"0.5419997",
"0.53907394",
"0.5358047",
"0.53506255",
"0.53495055",
"0.53252673",
"0.5322783",
"0.5308118",
"0.53016764",
"0.5300532",
"0.52950305",
"0.52799886",
"0.52682126",
"0.52492774",
"0.5247234",
"0.5244226",
"0.5239047",
"0.52355796",
"0.52165204",
"0.5214917",
"0.5206987",
"0.5204711",
"0.5197968",
"0.51941997",
"0.518366",
"0.5172737",
"0.51666707",
"0.5160515",
"0.5151182",
"0.51442176",
"0.5139799",
"0.5127004",
"0.511222",
"0.5104314",
"0.50936455",
"0.50933933",
"0.50933623",
"0.5092464",
"0.5091495",
"0.50877464",
"0.50838786",
"0.5082982",
"0.5078729",
"0.5075283",
"0.5074955",
"0.50560135",
"0.5054718",
"0.5052839",
"0.5052741",
"0.505104",
"0.50445753",
"0.5042548",
"0.504007",
"0.5040051",
"0.50364494",
"0.5031229",
"0.50308824",
"0.50301033",
"0.5028832",
"0.50234115",
"0.5014352",
"0.501431",
"0.50133926",
"0.5009664",
"0.5008314",
"0.50055736",
"0.500416",
"0.50040287",
"0.500013",
"0.49957576",
"0.498887",
"0.49880332",
"0.4987185",
"0.4979135",
"0.49753",
"0.49717313",
"0.49637604",
"0.4963688",
"0.49622524",
"0.4959446",
"0.49582392",
"0.49570683"
]
| 0.53970194 | 19 |
Created by matthew on 11/20/14. | public interface AreaOccupier {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"protected boolean func_70814_o() { return true; }",
"public void gored() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"private void m50366E() {\n }",
"public void method_4270() {}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n\tprotected void interr() {\n\t}",
"@Override\n public void func_104112_b() {\n \n }",
"private void kk12() {\n\n\t}",
"private stendhal() {\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"public final void mo51373a() {\n }",
"private void poetries() {\n\n\t}",
"@Override\n\tpublic void jugar() {\n\t\t\n\t}",
"@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}",
"@Override\n\tpublic void ligar() {\n\t\t\n\t}",
"@Override\n\tpublic void nadar() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}",
"@Override\n public int describeContents() { return 0; }",
"public void mo38117a() {\n }",
"@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"private void m50367F() {\n }",
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"public void mo21877s() {\n }",
"@Override\n public void init() {\n\n }",
"public abstract void mo70713b();",
"public void m23075a() {\n }",
"public abstract void mo56925d();",
"private static void cajas() {\n\t\t\n\t}",
"private void strin() {\n\n\t}",
"public void mo21779D() {\n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void entrenar() {\n\t\t\n\t}",
"@Override\r\n\tprotected void doF8() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}",
"@Override\n\tpublic void nghe() {\n\n\t}",
"private void init() {\n\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"public void mo4359a() {\n }",
"@Override\n\tpublic void one() {\n\t\t\n\t}",
"public void mo21825b() {\n }",
"@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}",
"@Override\n public void init() {\n }",
"public abstract void mo27386d();",
"@Override\r\n\tpublic void rozmnozovat() {\n\t}",
"public void mo115190b() {\n }",
"public void mo21878t() {\n }",
"@Override\n\tpublic void debite() {\n\t\t\n\t}",
"@Override\n\tpublic void dtd() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}",
"@Override\n public int retroceder() {\n return 0;\n }",
"public void mo12628c() {\n }",
"@Override\r\n\tprotected void doF6() {\n\t\t\r\n\t}",
"public void skystonePos4() {\n }",
"public final void mo91715d() {\n }",
"@Override\r\n\tpublic void init() {}",
"@Override\n protected void initialize() {\n\n \n }",
"@Override\n public void init() {}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tprotected void getExras() {\n\n\t}",
"@Override\n\tprotected void initialize() {\n\n\t}",
"@Override\n public void init() {\n\n }",
"@Override\n public void init() {\n\n }",
"public void mo3376r() {\n }",
"@Override\n\tpublic void init() {\n\t}",
"void mo57277b();",
"@Override\r\n\tpublic void init()\r\n\t{\n\t}",
"@Override\n protected void init() {\n }",
"public void mo97908d() {\n }",
"static void feladat9() {\n\t}",
"public void mo3749d() {\n }",
"protected boolean func_70041_e_() { return false; }",
"public void mo23813b() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"public abstract void mo6549b();",
"static void feladat4() {\n\t}",
"private Rekenhulp()\n\t{\n\t}"
]
| [
"0.5645851",
"0.5608724",
"0.55946887",
"0.55822486",
"0.5563285",
"0.55602276",
"0.5551298",
"0.5515348",
"0.5505193",
"0.5459575",
"0.54347247",
"0.54196614",
"0.539884",
"0.539884",
"0.5378067",
"0.53752714",
"0.5366454",
"0.5363716",
"0.53557724",
"0.53541106",
"0.5347962",
"0.5347962",
"0.5347962",
"0.5347962",
"0.5347962",
"0.5319665",
"0.5301261",
"0.5289135",
"0.52846205",
"0.5282895",
"0.52813905",
"0.5277636",
"0.5272853",
"0.5272853",
"0.526968",
"0.52469414",
"0.524095",
"0.52402496",
"0.5237644",
"0.5233477",
"0.522494",
"0.5220475",
"0.52034295",
"0.5188408",
"0.5178908",
"0.5175429",
"0.5169861",
"0.5169251",
"0.5165793",
"0.5165793",
"0.5165793",
"0.5164478",
"0.51527554",
"0.5148492",
"0.5144132",
"0.51383847",
"0.51381224",
"0.5136807",
"0.5130781",
"0.51296407",
"0.5125733",
"0.51253986",
"0.5125033",
"0.5120566",
"0.5111416",
"0.5109449",
"0.5103377",
"0.5103032",
"0.5102379",
"0.5099304",
"0.5096646",
"0.5093274",
"0.5093274",
"0.5093274",
"0.50923306",
"0.5086979",
"0.5086546",
"0.5086546",
"0.5086362",
"0.5086193",
"0.50855494",
"0.50836205",
"0.5082857",
"0.5079126",
"0.5077939",
"0.50777453",
"0.5075969",
"0.50752485",
"0.5070923",
"0.5070923",
"0.5070923",
"0.5070923",
"0.5070923",
"0.5070923",
"0.5070923",
"0.5068283",
"0.5068283",
"0.5068283",
"0.50677145",
"0.5056652",
"0.50561357"
]
| 0.0 | -1 |
sildeshow = location + size Draw while anyvertex of c inside slideshow. | public void paint(Graphics g) {
this.recalculateSize();
if(this.isOpaque()) {
g.setColor(getBackground());
g.fillRect(0, 0, getWidth(), getHeight());
}
Component[] components = this.getComponents();
for(int i = components.length - 1; i >= 0; i --) {
Component c = components[i];
int vc_x0 = c.getX();
int vc_y0 = c.getY();
int vc_x1 = vc_x0 + c.getPreferredSize().width;
int vc_y1 = vc_y0 + c.getPreferredSize().height;
if(this.insideSlideShow(vc_x0, vc_y0) || this.insideSlideShow(vc_x0, vc_y1)
|| this.insideSlideShow(vc_x1, vc_y0) || this.insideSlideShow(vc_x1, vc_y1)) {
c.setSize(c.getPreferredSize());
c.paint(g.create(vc_x0, vc_y0, c.getPreferredSize().width, c.getPreferredSize().height));
}
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void show(int c) {\n noFill();\n stroke(255, c, 0);\n strokeWeight(5);\n ellipse(x, y, size, size);\n \n }",
"public void showMazeSize(int size);",
"public void showNet()\n/* */ {\n/* 482 */ update(getGraphics());\n/* */ }",
"public void med1() {\n DrawingPanel win = new DrawingPanel(WIDTH, HEIGHT);\n java.awt.Graphics g = win.getGraphics();\n win.setTitle(\"Med. 1\");\n win.setLocation(300, 10);\n win.setBackground(java.awt.Color.red);\n for(int y = -10; y < HEIGHT; y += 24) {\n for(int x = -10; x < WIDTH; x += 24) {\n octagon(x, y, g);\n }\n }\n }",
"public void display() {\n PVector d = location.get();\n float diam = d.y/height;\n println(diam);\n\n stroke(0);\n fill(255,0,0);\n ellipse (location.x, location.y, diameter, diameter);\n }",
"void draw() {\n\n // SeamInfo lowestSeam = this.lowestSeamVert();\n // lowestSeam.changeColor();\n\n ComputedPixelImage seamRemovedImg = new ComputedPixelImage(this.newImg.width,\n this.newImg.height);\n int countRow = 0;\n int countCol = 0;\n\n Pixel current = this.curPixel;\n Pixel temp;\n\n while (current.down != null) {\n temp = current.down;\n while (current.right != null) {\n Color c = Color.MAGENTA;\n if (current.highlighted) {\n c = Color.RED;\n }\n else {\n c = current.color;\n }\n if (this.showType.equals(\"e\")) {\n int energy = (int) (current.energy * 100);\n if (energy > 255) {\n System.out.println(\"energy: \" + energy + \" to 255\");\n energy = 255;\n }\n c = new Color(energy, energy, energy);\n }\n else if (this.showType.equals(\"w\")) {\n int weight = (int) (current.seam.totalWeight);\n if (weight > 255) {\n System.out.println(\"weight: \" + weight + \" to 255\");\n weight = 255;\n }\n c = new Color(weight, weight, weight);\n }\n\n seamRemovedImg.setColorAt(countCol, countRow, c);\n countCol += 1;\n current = current.right;\n }\n countCol = 0;\n countRow += 1;\n current = temp;\n }\n countCol = 0;\n\n this.newImg = seamRemovedImg;\n\n }",
"public void displayWave(ArrayList<Float> wave,Color color){\r\n\r\n //find the center pixel's Y value so we know where to start drawing the wave from\r\n //this will ensure the wave is drawn where the distance to the top and the bottom of the screen is equal\r\n int CenterYPixel = canvas.heightProperty().intValue()/2;//this is int division\r\n gc.beginPath();\r\n gc.setStroke(color);\r\n gc.setLineWidth(waveThickness);\r\n\r\n\r\n\r\n if(!drawFromRisingEdge) {\r\n gc.moveTo(0, CenterYPixel + Math.round(-wave.get(0) / VoltagePerDivision * pixelsPerDivision));\r\n for (int i = 0; i < wave.size(); i++) {\r\n //for the x value of the lineTo function, we use canvas.widthProperty().intValue()/wave1.size()\r\n //to convert the wave index number to pixels such that it fills the entire width of the canvas\r\n //for the y value, we start from the center CenterYPixel, and then add the value of the wave\r\n //(0,0) of the canvas is top left, so a high y value is lower, so we use the - to flip the wave\r\n //we then scale this by the voltageMultiplier for our user defined divisions\r\n //and lastly scale by pixelsPerDivision so convert the voltage into pixel values (1V is pixelsPerDivision pixels from the center line)\r\n float xPos = (int) (pixelsPerSample * i);\r\n // System.out.println(\"XVal:\"+xPos+\" pix per sample \"+pixelsPerSample);\r\n // gc.lineTo(i * canvas.widthProperty().intValue() / wave.size(), CenterYPixel + Math.round(-wave.get(i) * voltageMultiplier * pixelsPerDivision));\r\n gc.lineTo(xPos, CenterYPixel + Math.round(-wave.get(i) / VoltagePerDivision * pixelsPerDivision));\r\n }\r\n }else{\r\n int risingIndex = findRisingEdgeIndex();\r\n gc.moveTo(0, CenterYPixel + Math.round(-wave.get(risingIndex) / VoltagePerDivision * pixelsPerDivision));\r\n for (int i = risingIndex; i < wave.size(); i++) {\r\n\r\n float xPos = (int) (pixelsPerSample * (i-risingIndex));\r\n\r\n gc.lineTo(xPos, CenterYPixel + Math.round(-wave.get(i) / VoltagePerDivision * pixelsPerDivision));\r\n }\r\n\r\n }\r\n gc.stroke();\r\n }",
"ZHDraweeView mo91981h();",
"public void showbitmap4() {\n \n \t}",
"@Override\n\tpublic void show4() {\n\t\t\n\t}",
"void draw() {\n scsw.draw();\n \n}",
"@Override\r\n\tpublic void display() {\n\t\tif (silenced.contains(caster))\r\n\t\t\tdead = true;\r\n\t\tif (lastloc == null)\r\n\t\t\tlastloc = loc;\r\n\t\tdir = loc.toVector().subtract(lastloc.toVector());\r\n\t\tif (speed > 2)\r\n\t\t\tParUtils.dropItemEffectVector(loc.clone().add(0,1,0), Material.CACTUS, 1,1, 1,dir);\r\n\t\t\t\r\n\t\t\t//ParUtils.createFlyingParticle(Particles.CRIT, loc.clone().add(0,2.5,0), 0, 0, 0, 1, 5, dir.normalize());\r\n\t\t//ParUtils.createRedstoneParticle(loc.clone().add(0,2.5,0), 0.5,0.5, 0.5, 1, Color.GREEN, 1.5F);\r\n\t}",
"public void showbitmap3() {\n \n \t}",
"private void prepareDrawingSwiping() {\n if (controlView != null) {\n controlView.setVisibility(View.VISIBLE);\n controlSize = vertical ? controlView.getWidth() : controlView.getHeight();\n } else controlSize = Float.MAX_VALUE;\n }",
"public void show(){\n fill(255);\n stroke(255);\n \n if (left){\n rect(0, y, size, brickLength);\n x = 0;\n }\n else{\n rect(width - size, y, size, brickLength);\n x = width - size;\n }\n }",
"public void showDraw(){\n\t\tdraw = new Document( drawFilePath);\n\t}",
"public void makeGraphic() {\n\t\tStdDraw.clear();\n\n\t\tfor (int i = 0; i < p.showArray.size(); i++) {\n\t\t\tStdDraw.setPenColor(0, 255, 255);\n\n\t\t\tStdDraw.circle(p.showArray.get(i).acquirePosition().x, p.showArray.get(i).acquirePosition().y,\n\t\t\t\t\tp.showArray.get(i).acquireSizeOfBody());\n\t\t\tStdDraw.setPenColor(StdDraw.GRAY);\n\n\t\t\tStdDraw.filledCircle(p.showArray.get(i).acquirePosition().x, p.showArray.get(i).acquirePosition().y,\n\t\t\t\t\tp.showArray.get(i).acquireSizeOfBody());\n\n\t\t}\n\t\tStdDraw.show();\n\t}",
"void previewSized();",
"void diplayNeighborPoints() {\n\t\tfor (int i = 0; i < amount; i++) {\n\t\t\tif (point[i].position.dist(P) < 10) {\n\t\t\t\tmyParent.pushStyle();\n\t\t\t\tmyParent.fill(255, 255, 0);\n\t\t\t\tmyParent.text(i, point[i].x + 10, point[i].y + 5); // draw\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// selected\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// point\n\t\t\t\tmyParent.text(\"left neighbor\", point[neighbor(i)[0]].x, point[neighbor(i)[0]].y);\n\t\t\t\tmyParent.text(\"right neighbor\", point[neighbor(i)[1]].x, point[neighbor(i)[1]].y);\n\t\t\t\tmyParent.text(\"opposite\", point[neighbor(i)[2]].x, point[neighbor(i)[2]].y);\n\t\t\t\t// neighbor(int sourcePointId)\n\t\t\t\tmyParent.noFill();\n\t\t\t\tmyParent.popStyle();\n\t\t\t}\n\t\t}\n\n\t\tif (state == State.SCALE_PORPORTIONALLY_POINT || state == State.SCALE_FREE_POINT)\n\t\t\tdisplayLineBetweenCurrentAndOppositePoints();\n\t}",
"static private void showSolution() {\n\t\tfor (int x = 1; x <= 6; ++x) {\n\t\t\tfor (int y = 1; y <= 6; ++y) {\n\t\t\t\tSystem.out.print(color[x - 1][y - 1]\n\t\t\t\t\t\t+ Messages.getString(\"dddcube.stringkey.0\")); //$NON-NLS-1$\n\t\t\t}\n\t\t\tSystem.out.print(Messages.getString(\"dddcube.stringkey.1\")); //$NON-NLS-1$\n\t\t\tfor (int y = 1; y <= 6; ++y) {\n\t\t\t\tSystem.out.print(offset[x - 1][y - 1]\n\t\t\t\t\t\t+ Messages.getString(\"dddcube.stringkey.0\")); //$NON-NLS-1$\n\t\t\t}\n\t\t\tSystem.out.print(Messages.getString(\"dddcube.stringkey.1\")); //$NON-NLS-1$\n\t\t\tbricks.showColorBricks(x);\n\n\t\t\tSystem.out.println(Messages.getString(\"dddcube.stringkey.2\")); //$NON-NLS-1$\n\t\t}\n\t}",
"abstract public char drawGadget(Vect position);",
"public void drawColorFlow() {\n for(int ix=0;ix<cols;ix++) {\n int x0=ix*resolution+resolution/2;\n //int lerpyCount = 0;\n for(int iy=0;iy<rows;iy++) {\n int y0=iy*resolution+resolution/2;\n int ig=iy*cols+ix;\n\n float u=df*sflowx[ig];\n float v=df*sflowy[ig];\n\n // draw the line segments for optical flow\n float a=sqrt(u*u+v*v);\n //if(a>=2.0) { // draw only if the length >=2.0\n if(a>=minRegisterFlowVelocity) { // draw only if the length >=2.0\n //float r=0.5*(1.0+u/(a+0.1));\n //float g=0.5*(1.0+v/(a+0.1));\n //float b=0.5*(2.0-(r+g));\n\n //stroke(255*r,255*g,255*b);\n\n // draw the optical flow field red!\n if (drawOpticalFlow) \n {\n stroke(255.0f, 0.0f, 0.0f);\n line(x0,y0,x0+u,y0+v);\n }\n\n\n // same syntax as memo's fluid solver (http://memo.tv/msafluid_for_processing)\n float mouseNormX = (x0+u) * invKWidth;// / kWidth;\n float mouseNormY = (y0+v) * invKHeight; // kHeight;\n float mouseVelX = ((x0+u) - x0) * invKWidth;// / kWidth;\n float mouseVelY = ((y0+v) - y0) * invKHeight;// / kHeight; \n\n particleManager.addForce(1-mouseNormX, mouseNormY, -mouseVelX, mouseVelY);\n }\n }\n }\n }",
"public void med2() {\n DrawingPanel win = new DrawingPanel(WIDTH, HEIGHT);\n java.awt.Graphics g = win.getGraphics();\n win.setTitle(\"Med. 2\");\n win.setLocation(600, 10);\n //This is as far as I could get in the 30 minutes\n //I had after work. I usually do all the work for \n //this class on the weekend.\n }",
"@SuppressWarnings(\"unused\")\r\n private void JCATsegmentVisceralFat2D01() {\r\n \r\n // get the VOI for the external boundary of the abdomen\r\n VOIVector vois = abdomenImage.getVOIs();\r\n if(vois.size() != 1) {\r\n System.err.println(\"segmentVisceralFat2D() Error, did not get 1 VOI\");\r\n return;\r\n }\r\n\r\n // abdomenImage has one VOI, lets get it\r\n VOI theVOI = vois.get(0);\r\n \r\n // find the center-of-mass of the contour\r\n VOIContour maxContour = ((VOIContour)theVOI.getCurves().get(0));\r\n int[] xVals = new int [maxContour.size()];\r\n int[] yVals = new int [maxContour.size()];\r\n int[] zVals = new int [maxContour.size()];\r\n maxContour.exportArrays(xVals, yVals, zVals);\r\n \r\n int xcm = 0, ycm = 0, zcm = 0;\r\n for (int idx = 0; idx < maxContour.size(); idx++) {\r\n xcm += xVals[idx];\r\n ycm += yVals[idx];\r\n zcm += zVals[idx];\r\n }\r\n \r\n xcm /= maxContour.size();\r\n ycm /= maxContour.size();\r\n zcm /= maxContour.size();\r\n \r\n ViewUserInterface.getReference().getMessageFrame().append(\"Xcm: \" +xcm +\" Ycm: \" +ycm +\" Zcm: \" +zcm+\"\\n\", ViewJFrameMessage.DEBUG);\r\n \r\n // This point should be inside the abdomen\r\n // walk right until you find the external border of the abdomen\r\n \r\n // update the volumeBitSet to match the closed abdomenImage\r\n short[] srcSliceBuffer = new short[sliceSize];\r\n short[] profile = new short[xDim];\r\n try {\r\n abdomenImage.exportData(0, sliceSize, sliceBuffer);\r\n srcImage.exportData(0, sliceSize, srcSliceBuffer);\r\n } catch (IOException ex) {\r\n System.err.println(\"Error exporting data\");\r\n return;\r\n }\r\n\r\n int x = xcm;\r\n int elementCount = 0;\r\n int yOffset = ycm * xDim;\r\n while (x < xDim && sliceBuffer[x + yOffset] == abdomenTissueLabel) {\r\n profile[elementCount] = srcSliceBuffer[x + yOffset];\r\n x++;\r\n elementCount++;\r\n } // end while(...)\r\n \r\n // profile has an intensity profile of the pixels along the ray from the \r\n // contour CM to the external skin boundary. \r\n \r\n \r\n }",
"static void visible() {\n int x, y;\n int[][] res = deepClone( pgmInf.img );\n\n System.out.print(\"Enter reference point: \");\n y = scan.nextInt();\n x = scan.nextInt();\n scan.nextLine(); // flush\n \n System.out.printf(\"Marking all pixels visible from %d,%d as white.\\n\", x, y);\n // mark visible points\n for (int i=0 ; i < pgmInf.width ; i++) {\n for (int j=0 ; j < pgmInf.height ; j++) {\n if ( lineBetween(x, y, i, j) ) res[j][i] = 9;\n }\n }\n pgmInf.img = res;\n System.out.println(\"Done.\");\n }",
"private void zeichneWindow(int ypos,int xpos, int size)\r\n {\r\n ypos = ypos + size/6;\r\n xpos = xpos + size/6;\r\n size = size/4;\r\n zeichneWand(\"blau\",ypos,xpos,size); \r\n }",
"public void show() {\n\t\tImageJFunctions.show( imageFloat );\t\t\n\t}",
"void display(DisplayInfo info, Coordinates position, Graphics2D g, ImageObserver io);",
"public void display (Graphics2D g, double x, double y);",
"public void showDrones(MyCanvas c) {\n for (Pieces d : drones) { //loop through drones and display\n d.displayDrone(c);\n }\n\n }",
"void show() {\n if (!isDead) {\n for (int i = 0; i < bullets.size(); i++) {//show bullets\n bullets.get(i).show();\n }\n if (immortalityTimer >0) {//no need to decrease immortalityCounter if its already 0\n immortalityTimer--;\n }\n\n if (immortalityTimer >0 && floor(((float)immortalityTimer)/5)%2 ==0) {//needs to appear to be flashing so only show half of the time\n } else {\n\n Constants.processing.pushMatrix();\n Constants.processing.translate(this.position.x, this.position.y);\n Constants.processing.rotate(rotation);\n\n //actually draw the player\n Constants.processing.fill(0);\n Constants.processing.noStroke();\n Constants.processing.beginShape();\n int size = 12;\n\n //black triangle\n Constants.processing.vertex(-size - 2, -size);\n Constants.processing.vertex(-size - 2, size);\n Constants.processing.vertex(2 * size - 2, 0);\n Constants.processing.endShape(CLOSE);\n Constants.processing.stroke(255);\n\n //white out lines\n Constants.processing.line(-size - 2, -size, -size - 2, size);\n Constants.processing.line(2 * size - 2, 0, -22, 15);\n Constants.processing.line(2 * size - 2, 0, -22, -15);\n if (boosting) {//when boosting draw \"flames\" its just a little triangle\n boostCount--;\n if (floor(((float)boostCount)/3)%2 ==0) {//only show it half of the time to appear like its flashing\n Constants.processing.line(-size - 2, 6, -size - 2 - 12, 0);\n Constants.processing.line(-size - 2, -6, -size - 2 - 12, 0);\n }\n }\n Constants.processing.popMatrix();\n }\n }\n for (int i = 0; i < asteroids.size(); i++) {//show asteroids\n asteroids.get(i).show();\n }\n }",
"public void beginDrawing();",
"public void Display() \n {\n float theta = velocity.heading() + PI/2;\n fill(175);\n stroke(0);\n pushMatrix();\n translate(pos.x,pos.y);\n rotate(theta);\n beginShape();\n vertex(0, -birdSize*2);\n vertex(-birdSize, birdSize*2);\n vertex(birdSize, birdSize*2);\n endShape(CLOSE);\n popMatrix();\n }",
"static void renderScreenImage(JmolViewer viewer, Object g, Object size) {\n /**\n * @j2sNative\n * \n */\n {\n System.out.println(\"\" + viewer + g + size);\n }\n }",
"void displayDebugInformation() {\n\t\tmyParent.text(\"X\", X.x + 10, X.y + 5);\n\t\tmyParent.text(\"Y\", Y.x + 10, Y.y + 5);\n\t\tmyParent.text(\"Z\", Z.x + 10, Z.y + 5);\n\t\tmyParent.text(\"Q\", Q.x + 10, Q.y + 5);\n\t\tmyParent.fill(255);\n\n\t\tString pointFocuses = \"\";\n\t\tString stickedPoints = \"\";\n\t\tfor (int i = 0; i < amount; i++) {\n\t\t\tpointFocuses += point[i].isFocusedOnThePoint() + \" \";\n\t\t\tstickedPoints += point[i].sticked + \" \";\n\n\t\t\t// fill(200);\n\t\t\tmyParent.text(i, point[i].x + 10, point[i].y + 5);\n\t\t}\n\n\t\tmyParent.text(\"state: \" + state + \"\\nfocused on line: \" + selectedLine + \"\\nfocused on point: \" + selectedPoint\n\t\t\t\t+ \"\\nmouseLockedToLine: \" + mouseLockedToLine + \"\\npointFocuses: \" + pointFocuses + \"\\nstickedPoints: \"\n\t\t\t\t+ stickedPoints + \"\\ndragLock: \" + dragLock + \"\\ndiagonal scale factor: \" + diagonalScaleFactor\n\t\t\t\t+ \"\\npress D to hide debug\", 40, myParent.height - 160);\n\n\t\t// diplayNeighborPoints();\n\t}",
"public void display2() { // for drag action -> color change\n stroke (255);\n fill(0,255,255);\n ellipse (location.x, location.y, diameter, diameter);\n }",
"public void show3() {\n\t\t\n\t}",
"public void displayAllWaves(){\r\n // System.out.println(\"showing waves:\"+wave1.size());\r\n\r\n //we start by clearing anything we have drawn previously\r\n gc.clearRect(0, 0, canvas.widthProperty().intValue(), canvas.heightProperty().intValue());\r\n gc.setFill(backgroundColour);\r\n gc.fillRect(0, 0, canvas.widthProperty().intValue(), canvas.heightProperty().intValue());\r\n //then we draw the grid mentioned previously\r\n drawGrid();\r\n\r\n drawTriggerVoltage();\r\n\r\n drawCursors();\r\n\r\n if(showWave1) {\r\n //we then start drawing the first wave in red\r\n displayWave(wave1, wave1Colour);\r\n }\r\n\r\n if(showWaveMath){\r\n\r\n }\r\n\r\n }",
"@Override\n\tpublic void show() {\n\t\tSystem.out.println(\"SHOWWWW_ACCUEIL\");\n\t\tMusicManager.playLoop(typeSong.accueil);\n\t\tfond = new Texture(Gdx.files.internal(LauncherScreen.accueil));\n\t\tbatch = new SpriteBatch();\n\t\tGdx.input.setInputProcessor(this.inputHandler());\n\t}",
"public static void show(int[][][] pic) {\n\t\tStdDraw.setCanvasSize(pic[0].length, pic.length);\n\t\tint height = pic.length;\n\t\tint width = pic[0].length;\n\t\tStdDraw.setXscale(0, width);\n\t\tStdDraw.setYscale(0, height);\n\t\tStdDraw.show(30);\n\t\tfor (int i = 0; i < height; i++) {\n\t\t\tfor (int j = 0; j < width; j++) {\n\t\t\t\tStdDraw.setPenColor(pic[i][j][0], pic[i][j][1], pic[i][j][2]);\n\t\t\t\tStdDraw.filledRectangle(j + 0.5, height - i - 0.5, 0.5, 0.5);\n\t\t\t}\n\t\t}\n\t\tStdDraw.show();\n\t}",
"private void showDraw() {\n StdDraw.show(0);\n // reset the pen radius\n StdDraw.setPenRadius();\n }",
"private void show(Graphics g){\n g.setColor(Color.WHITE);\n g.drawRect(x,y,width,height);\n if(lu != null)\n lu.show(g);\n if(ld != null)\n ld.show(g);\n if(ru != null)\n ru.show(g);\n if(rd != null)\n rd.show(g);\n }",
"void showpos(pieces chesspiece)\n {if(chesspiece.alive == true)\n {\n int position = chesspiece.position;\n chesspiece.select = true;\n \n int x;int y;\n if((position+1)%8 == 0) {x = 8; y = (position+8)/8;}\n else{ x = (position+1)%8;\n y = (position+9)/8;}\n chesspiece.move(new moves(x,y));\n for( int a : chesspiece.movnum )\n {\n if ( chesspiece.color == 0)\n {\n if (Checkerboard.allWhitePositions.contains(a-1)== true)\n panel[a-1].setBackground(Color.GRAY);\n else if (Checkerboard.allBlackPositions.contains(a-1)== true)\n panel[a-1].setBackground(Color.RED);\n else\n panel[a-1].setBackground(Color.GREEN);\n }\n else\n {\n if (Checkerboard.allWhitePositions.contains(a-1)== true)\n panel[a-1].setBackground(Color.RED);\n else if (Checkerboard.allBlackPositions.contains(a-1)== true)\n panel[a-1].setBackground(Color.GRAY);\n else\n panel[a-1].setBackground(Color.GREEN);\n }\n \n }\n }//if(chesspiece.alive==true) ends\n }",
"public void show(int i){\n if (i == 0){\n this.showmap();\n } else \n this.showfigure();\n }",
"public void draw() {\n draw(clientController.getUser().getShows());\n }",
"protected abstract void narisi(Graphics2D g, double wPlatno, double hPlatno);",
"void show();",
"void show();",
"void show();",
"void show();",
"void show();",
"void show();",
"public static void show(int[] kd){\n final int NUM_OF_LINES = 5;\n\n Line[] lines = new Line[NUM_OF_LINES];\n\n //gives each array element the necessary memory\n for(int i = 0; i < NUM_OF_LINES; i++){\n lines[i] = new Line();\n }\n\n //in order to print\n lines[0].setLine(4,0,0);\n lines[1].setLine(3,1,2);\n lines[2].setLine(2,3,5);\n lines[3].setLine(1,6,9);\n lines[4].setLine(0,10,14);\n\n for(int i = 0; i < NUM_OF_LINES; i++){\n String tab = \"\";\n\n //creates the 'tab' effect based on position\n for(int j = 0; j < lines[i].getT(); j++){\n tab += \" \";\n }\n System.out.print(tab);\n\n for(int j = lines[i].getA(); j < lines[i].getB() + 1; j++){\n if(kd[j] == 0){\n System.out.print(\". \");\n }\n else{\n System.out.print(\"x \");\n }\n }\n System.out.println();\n }\n\n }",
"public static void show() {\n\t\t\n\t}",
"public void draw() {\n easyFade();\n\n if(showSettings) \n { \n // updates the kinect raw depth + pixels\n kinecter.updateKinectDepth(true);\n \n // display instructions for adjusting kinect depth image\n instructionScreen();\n\n // want to see the optical flow after depth image drawn.\n flowfield.update();\n }\n else\n {\n // updates the kinect raw depth\n kinecter.updateKinectDepth(false);\n \n // updates the optical flow vectors from the kinecter depth image (want to update optical flow before particles)\n flowfield.update();\n particleManager.updateAndRenderGL();\n }\n}",
"@Override\r\n\tpublic void show() {\n\t\t\r\n\t\t\r\n\t}",
"public void show(Graphics g, Client client){\n if(getDirection() == Location.NORTH){\n IconLoader.getIcon(\"ant_N.jpg\").paintIcon(client,g,500/client.x*this.getLocation().getX(),500/client.y*this.getLocation().getY()+25);\n }else if(getDirection() == Location.NORTH_WEST){\n IconLoader.getIcon(\"ant_NW.jpg\").paintIcon(client,g,500/client.x*this.getLocation().getX(),500/client.y*this.getLocation().getY()+25);\n }else if(getDirection() == Location.WEST){\n IconLoader.getIcon(\"ant_W.jpg\").paintIcon(client,g,500/client.x*this.getLocation().getX(),500/client.y*this.getLocation().getY()+25);\n }else if(getDirection() == Location.SOUTH_WEST){\n IconLoader.getIcon(\"ant_SW.jpg\").paintIcon(client,g,500/client.x*this.getLocation().getX(),500/client.y*this.getLocation().getY()+25);\n }else if(getDirection() == Location.SOUTH){\n IconLoader.getIcon(\"ant_S.jpg\").paintIcon(client,g,500/client.x*this.getLocation().getX(),500/client.y*this.getLocation().getY()+25);\n }else if(getDirection() == Location.SOUTH_EAST){\n IconLoader.getIcon(\"ant_SE.jpg\").paintIcon(client,g,500/client.x*this.getLocation().getX(),500/client.y*this.getLocation().getY()+25);\n }else if(getDirection() == Location.EAST){\n IconLoader.getIcon(\"ant_E.jpg\").paintIcon(client,g,500/client.x*this.getLocation().getX(),500/client.y*this.getLocation().getY()+25);\n }else{\n IconLoader.getIcon(\"ant_NE.jpg\").paintIcon(client,g,500/client.x*this.getLocation().getX(),500/client.y*this.getLocation().getY()+25);\n }\n }",
"public void visitLineDisplay( DevCat devCat ) {}",
"public void showBlocks()\r\n {\r\n repaint();\r\n }",
"@Override\r\n\tpublic void draw() {\n\t\tPoint p = this.getP();\r\n\t\tint start_point = p.getX();\r\n\t\tint end_point = p.getY();\r\n\t\t\r\n\t\tint width = this.getWidth();\r\n\t\tint height = this.getHeight();\r\n\t\t\r\n\t\tSystem.out.println(\"�l�p�`��`�� �_(\" + start_point +\",\"+ end_point + \")����Ƃ��āA��\"+ width +\"����\"+ height +\"�̎l�p�`\");\r\n\t}",
"public void toutDessiner(Graphics g);",
"@Override\n\tprotected void display(Coordination c) {\n\t\tSystem.out.println(\"白棋,颜色是:\" + color + \"位置是:\" + c.getX() + \"--\" + c.getY());\n\t}",
"public void display()\n\t{\n\t\tfor(Character characher : characterAdded)\n\t\t{\t\n\t\t\tif(!characher.getIsDragging())\n\t\t\t{ \n\t\t\t\t//when dragging, the mouse has the exclusive right of control\n\t\t\t\tcharacher.x = (float)(circleX + Math.cos(Math.PI * 2 * characher.net_index/net_num) * radius);\n\t\t\t\tcharacher.y = (float)(circleY + Math.sin(Math.PI * 2 * characher.net_index/net_num) * radius);\n\t\t\t}\n\t\t}\n\t\t\n\t\t\n\t\tint lineWeight = 0;\n\t\t//draw the line between the characters on the circle\n\t\tif(characterAdded.size() > 0)\n\t\t{\n\t\t\tfor(Character characher : characterAdded)\n\t\t\t{\n\t\t\t\tfor(Character ch : characher.getTargets())\n\t\t\t\t{\n\t\t\t\t\tif(ch.net_index != -1)\n\t\t\t\t\t{\n\t\t\t\t\t\tfor(int i = 0; i < links.size(); i++)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tJSONObject tem = links.getJSONObject(i);\n\t\t\t\t\t\t\tif((tem.getInt(\"source\") == characher.index) && \n\t\t\t\t\t\t\t\t\t\t\t\t(tem.getInt(\"target\") == ch.index))\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\tlineWeight = tem.getInt(\"value\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t\tparent.strokeWeight(lineWeight/4 + 1);\t\t\n\t\t\t\t\t\tparent.noFill();\n\t\t\t\t\t\tparent.stroke(0);\n\t\t\t\t\t\tparent.line(characher.x, characher.y, ch.x, ch.y);\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"public void settings() { size(1200, 800); }",
"public final void mo39748p() {\n if (this.f40704E == null) {\n C15593cd.m50346a(this.f40707H.f44224a, this.f40705F, \"aes2\");\n this.f40704E = C15593cd.m50345a(this.f40707H.f44224a);\n this.f40707H.mo41452a(\"native:view_show\", this.f40704E);\n }\n HashMap hashMap = new HashMap(1);\n hashMap.put(C38347c.f99551f, this.f40721c.f45677a);\n mo39809a(\"onshow\", (Map<String, ?>) hashMap);\n }",
"@Override\n\tpublic void show() {\n\t\t\n\t}",
"@Override\n\tpublic void show() {\n\t\t\n\t}",
"@Override\n\tpublic void show() {\n\t\t\n\t}",
"@Override\n\tpublic void show() {\n\t\t\n\t}",
"@Override\n\tpublic void show() {\n\t\t\n\t}",
"@Override\n\tpublic void show() {\n\t\t\n\t}",
"@Override\n\tpublic void show() {\n\t\t\n\t}",
"@Override\n\tpublic void show() {\n\t\t\n\t}",
"@Override\n\tpublic void show() {\n\t\t\n\t}",
"@Override\n\tpublic void show() {\n\t\t\n\t}",
"@Override\n\tpublic void show() {\n\t\t\n\t}",
"@Override\n\tpublic void show() {\n\t\t\n\t}",
"@Override\n\tpublic void show() {\n\t\t\n\t}",
"@Override\n\tpublic void show() {\n\t\t\n\t}",
"@Override\n\tpublic void show() {\n\t\t\n\t}",
"public void recallPaint() { advw.showResearchersPanel();}",
"public void show() {\n\t\tJFrame frame = new JFrame(\"Canvas\");\r\n\r\n\t\tContainer content = frame.getContentPane();\r\n\t\t// set layout on content pane\r\n\t\tcontent.setLayout(new BorderLayout());\r\n\t\t// create draw area\r\n\t\tcanvas = new Canvas(dos, dis);\r\n\t\t\r\n\t\t\r\n\t\t// add to content pane\r\n\t\tcontent.add(canvas, BorderLayout.CENTER);\r\n\t\tJPanel controls = new JPanel();\r\n\t\tframe.addComponentListener(new ComponentListener() {\r\n\r\n\t\t\t@Override\r\n\t\t\tpublic void componentHidden(ComponentEvent arg0) {\r\n\t\t\t\t// TODO Auto-generated method stub\r\n\t\t\t\t\r\n\t\t\t}\r\n\r\n\t\t\t@Override\r\n\t\t\tpublic void componentMoved(ComponentEvent arg0) {\r\n\t\t\t\t// TODO Auto-generated method stub\r\n\t\t\t\t\r\n\t\t\t}\r\n\r\n\t\t\t@Override\r\n\t\t\tpublic void componentResized(ComponentEvent arg0) {\r\n\t\t\t\t// TODO Auto-generated method stub\r\n\t\t\t/*\tSystem.out.println(\"Frame size : \" + frame.getSize());\r\n\t\t\t\tSystem.out.println(\"Canvas size : \" + canvas.getSize());\r\n\t\t\t\tSystem.out.println(\"Control panel size : \" + controls.getSize());\r\n\t\t\t\tcanvas.validate();*/\r\n\t\t\t}\r\n\r\n\t\t\t@Override\r\n\t\t\tpublic void componentShown(ComponentEvent arg0) {\r\n\t\t\t\t// TODO Auto-generated method stub\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t\t\r\n\t\t});\r\n\t\t\r\n\t\t// create controls to apply colors and call clear feature\r\n\t\t/*JPanel controls = new JPanel();*/\r\n\r\n\t\tclearBtn.addActionListener(actionListener);\r\n\t\tblackBtn.addActionListener(actionListener);\r\n\t\tblueBtn.addActionListener(actionListener);\r\n\t\tgreenBtn.addActionListener(actionListener);\r\n\t\tredBtn.addActionListener(actionListener);\r\n\t\tmagentaBtn.addActionListener(actionListener);\r\n\t\tyellowBtn.addActionListener(actionListener);\r\n\r\n\t\t// add to panel\r\n\t\tcontrols.add(greenBtn);\r\n\t\tcontrols.add(blueBtn);\r\n\t\tcontrols.add(blackBtn);\r\n\t\tcontrols.add(redBtn);\r\n\t\tcontrols.add(magentaBtn);\r\n\t\tcontrols.add(yellowBtn);\r\n\t\tcontrols.add(clearBtn);\r\n\r\n\t\t// add to content pane\r\n\t\tcontent.add(controls, BorderLayout.NORTH);\r\n\r\n\t\tframe.setSize(600, 600);\r\n\t\tframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\r\n\t\t// show the swing paint result\r\n\t\tframe.setVisible(true);\r\n\t}",
"private void drawsegment_gouraud_texture24(float leftadd,\n float rghtadd,\n int ytop,\n int ybottom) {\n //Accurate texture mode added - comments stripped from dupe code, see drawsegment_texture24() for details\n int ypixel = ytop;\n int lastRowStart = m_texture.length - TEX_WIDTH - 2;\n boolean accurateMode = parent.hints[ENABLE_ACCURATE_TEXTURES];\n float screenx = 0; float screeny = 0; float screenz = 0;\n float a = 0; float b = 0; float c = 0;\n int linearInterpPower = TEX_INTERP_POWER;\n int linearInterpLength = 1 << linearInterpPower;\n if (accurateMode){\n if(precomputeAccurateTexturing()){ //see if the precomputation goes well, if so finish the setup\n newax *= linearInterpLength;\n newbx *= linearInterpLength;\n newcx *= linearInterpLength;\n screenz = nearPlaneDepth;\n firstSegment = false;\n } else{\n accurateMode = false; //if the matrix inversion screwed up, revert to normal rendering (something is degenerate)\n }\n }\n \n ytop *= SCREEN_WIDTH;\n ybottom *= SCREEN_WIDTH;\n // int p = m_index;\n \n float iuf = iuadd;\n float ivf = ivadd;\n float irf = iradd;\n float igf = igadd;\n float ibf = ibadd;\n \n while (ytop < ybottom) {\n int xstart = (int) (xleft + PIXEL_CENTER);\n if (xstart < 0)\n xstart = 0;\n \n int xpixel = xstart;//accurate mode\n \n int xend = (int) (xrght + PIXEL_CENTER);\n if (xend > SCREEN_WIDTH)\n xend = SCREEN_WIDTH;\n float xdiff = (xstart + PIXEL_CENTER) - xleft;\n \n int iu = (int) (iuf * xdiff + uleft);\n int iv = (int) (ivf * xdiff + vleft);\n int ir = (int) (irf * xdiff + rleft);\n int ig = (int) (igf * xdiff + gleft);\n int ib = (int) (ibf * xdiff + bleft);\n float iz = izadd * xdiff + zleft;\n \n xstart+=ytop;\n xend+=ytop;\n \n if (accurateMode){\n screenx = xmult*(xpixel+.5f-(SCREEN_WIDTH/2.0f));\n screeny = ymult*(ypixel+.5f-(SCREEN_HEIGHT/2.0f));\n a = screenx*ax+screeny*ay+screenz*az;\n b = screenx*bx+screeny*by+screenz*bz;\n c = screenx*cx+screeny*cy+screenz*cz;\n }\n boolean goingIn = ( (newcx > 0) == (c > 0) )?false:true;\n int interpCounter = 0;\n int deltaU = 0; int deltaV = 0;\n float fu = 0; float fv = 0;\n float oldfu = 0; float oldfv = 0;\n \n if (accurateMode&&goingIn){\n int rightOffset = (xend-xstart-1)%linearInterpLength;\n int leftOffset = linearInterpLength-rightOffset;\n float rightOffset2 = rightOffset / ((float)linearInterpLength);\n float leftOffset2 = leftOffset / ((float)linearInterpLength);\n interpCounter = leftOffset;\n float ao = a-leftOffset2*newax;\n float bo = b-leftOffset2*newbx;\n float co = c-leftOffset2*newcx;\n float oneoverc = 65536.0f/co;\n oldfu = (ao*oneoverc); oldfv = (bo*oneoverc);\n a += rightOffset2*newax;\n b += rightOffset2*newbx;\n c += rightOffset2*newcx;\n oneoverc = 65536.0f/c;\n fu = a*oneoverc; fv = b*oneoverc;\n deltaU = ((int)(fu - oldfu)) >> linearInterpPower;\n deltaV = ((int)(fv - oldfv)) >> linearInterpPower;\n iu = ( (int)oldfu )+(leftOffset-1)*deltaU; iv = ( (int)oldfv )+(leftOffset-1)*deltaV; //another \"off-by-one\" hack\n } else{\n float preoneoverc = 65536.0f/c;\n fu = (a*preoneoverc);\n fv = (b*preoneoverc);\n }\n \n for ( ; xstart < xend; xstart++ ) {\n if(accurateMode){\n if (interpCounter == linearInterpLength) interpCounter = 0;\n if (interpCounter == 0){\n a += newax;\n b += newbx;\n c += newcx;\n float oneoverc = 65536.0f/c;\n oldfu = fu; oldfv = fv;\n fu = (a*oneoverc); fv = (b*oneoverc);\n iu = (int)oldfu; iv = (int)oldfv;\n deltaU = ((int)(fu - oldfu)) >> linearInterpPower;\n deltaV = ((int)(fv - oldfv)) >> linearInterpPower;\n } else{\n iu += deltaU;\n iv += deltaV;\n }\n interpCounter++;\n }\n \n try {\n if (noDepthTest || (iz <= m_zbuffer[xstart])) {\n m_zbuffer[xstart] = iz;\n \n int red;\n int grn;\n int blu;\n \n if (m_bilinear) {\n int ofs = (iv >> 16) * TEX_WIDTH + (iu >> 16);\n int iui = (iu & 0xFFFF) >> 9;\n int ivi = (iv & 0xFFFF) >> 9;\n \n // get texture pixels\n int pix0 = m_texture[ofs];\n int pix1 = m_texture[ofs + 1];\n if (ofs < lastRowStart) ofs+=TEX_WIDTH;\n int pix2 = m_texture[ofs];\n int pix3 = m_texture[ofs + 1];\n \n // red\n int red0 = (pix0 & 0xFF0000);\n int red2 = (pix2 & 0xFF0000);\n int up = red0 + ((((pix1 & 0xFF0000) - red0) * iui) >> 7);\n int dn = red2 + ((((pix3 & 0xFF0000) - red2) * iui) >> 7);\n red = up + (((dn-up) * ivi) >> 7);\n \n // grn\n red0 = (pix0 & 0xFF00);\n red2 = (pix2 & 0xFF00);\n up = red0 + ((((pix1 & 0xFF00) - red0) * iui) >> 7);\n dn = red2 + ((((pix3 & 0xFF00) - red2) * iui) >> 7);\n grn = up + (((dn-up) * ivi) >> 7);\n \n // blu\n red0 = (pix0 & 0xFF);\n red2 = (pix2 & 0xFF);\n up = red0 + ((((pix1 & 0xFF) - red0) * iui) >> 7);\n dn = red2 + ((((pix3 & 0xFF) - red2) * iui) >> 7);\n blu = up + (((dn-up) * ivi) >> 7);\n } else {\n // get texture pixel color\n blu = m_texture[(iv >> 16) * TEX_WIDTH + (iu >> 16)];\n red = (blu & 0xFF0000);\n grn = (blu & 0xFF00);\n blu = blu & 0xFF;\n }\n \n //\n int r = (ir >> 16);\n int g = (ig >> 16);\n // oops, namespace collision with accurate \n // texture vector b...sorry [ewjordan]\n int bb2 = (ib >> 16); \n \n m_pixels[xstart] = 0xFF000000 | \n ((((red * r) & 0xFF000000) | ((grn * g) & 0xFF0000) | (blu * bb2)) >> 8);\n // m_stencil[xstart] = p;\n }\n } catch (Exception e) { }\n \n //\n xpixel++;//accurate mode\n if (!accurateMode){\n iu+=iuadd;\n iv+=ivadd;\n }\n ir+=iradd;\n ig+=igadd;\n ib+=ibadd;\n iz+=izadd;\n }\n ypixel++;//accurate mode\n \n ytop+=SCREEN_WIDTH;\n xleft+=leftadd;\n xrght+=rghtadd;\n uleft+=uleftadd;\n vleft+=vleftadd;\n rleft+=rleftadd;\n gleft+=gleftadd;\n bleft+=bleftadd;\n zleft+=zleftadd;\n }\n }",
"public void show() {\n hidden = false;\n }",
"@Override\n\tpublic void showSize() {\n\t\tSystem.out.print(\"This pen is small.\");\n\t}",
"public void recordLocation(){\n\t\tg2d.setColor(Color.blue);\n\t\n int x = (int)(sd.getLocationX() * scale) + width/2;\n int y = (int)(sd.getLocationY() * scale) + height/2;\n g2d.fillRect(x,y,8,8);\n\t\n\t}",
"@Override\n\tpublic void show () {\n overWorld = new Sprite(new TextureRegion(new Texture(Gdx.files.internal(\"Screens/overworldscreen.png\"))));\n overWorld.setPosition(0, 0);\n batch = new SpriteBatch();\n batch.getProjectionMatrix().setToOrtho2D(0, 0, 320, 340);\n\n // Creates the indicator and sets it to the position of the first grid item.\n indicator = new MapIndicator(screen.miscAtlases.get(2));\n // Creates the icon of Daur that indicates his position.\n icon = new DaurIcon(screen.miscAtlases.get(2));\n // Sets the mask position to zero, as this screen does not lie on the coordinate plane of any tiled map.\n screen.mask.setPosition(0, 0);\n screen.mask.setSize(320, 340);\n Gdx.input.setInputProcessor(inputProcessor);\n\n // Creates all relevant text.\n createText();\n // Sets numX and numY to the position of Daur on the map.\n numX = storage.cellX;\n numY = storage.cellY;\n indicator.setPosition(numX * 20, numY * 20 + 19);\n // Sets the icon to the center of this cell.\n icon.setPosition(numX * 20 + 10 - icon.getWidth() / 2, numY * 20 + 29 - icon.getHeight() / 2);\n // Creates all the gray squares necessary.\n createGraySquares();\n }",
"public void draw(Graphics g, int... paneOffsets) { }",
"@Override\n\tpublic void shown() {\n\n\t}",
"public void debugDraw(Graphics g)\n\t{\n\t}",
"public void drawInfoWindow(){\n\n p.pushMatrix();\n p.translate(0,0); // translate whole window if necessary\n\n // display name and show\n p.stroke(0);\n p.strokeWeight(2);\n p.textSize(30);\n p.fill(0);\n p.text(\"Info\",735,35);\n p.rectMode(CORNER);\n p.fill(219, 216, 206);\n p.rect(730,40,550,700);\n p.rectMode(CENTER);\n\n p.fill(0);\n p.pushMatrix();{\n p.translate(740,80);\n p.textSize(15);\n p.text(\"General\",0,-20);\n p.line(-3,-15,150,-15);\n p.text(\"Speed: \" + manipulator.maxSpeed,0,0);\n p.text(\"Angle of rotation for segment_1: \" + p.degrees(manipulator.segment_1_rot),0,20);\n p.text(\"Angle of rotation for segment_2: \" + p.degrees(manipulator.segment_2_rot),0,40);\n\n\n }p.popMatrix();\n\n p.popMatrix();\n\n }",
"@SuppressWarnings(\"unused\")\r\n private void JCATsegmentSubcutaneousFat2D() {\r\n \r\n // a buffer to store a slice from the source Image\r\n short[] srcBuffer;\r\n try {\r\n srcBuffer = new short [sliceSize];\r\n } catch (OutOfMemoryError error) {\r\n System.gc();\r\n MipavUtil.displayError(\"JCATsegmentVisceralFat2D(): Can NOT allocate srcBuffer\");\r\n return;\r\n }\r\n \r\n // get the data from the segmented abdomenImage and the srcImage\r\n try {\r\n abdomenImage.exportData(0, sliceSize, sliceBuffer);\r\n srcImage.exportData(0, sliceSize, srcBuffer);\r\n } catch (IOException ex) {\r\n// System.err.println(\"JCATsegmentVisceralFat2D(): Error exporting data\");\r\n MipavUtil.displayError(\"JCATsegmentVisceralFat2D(): Error exporting data\");\r\n return;\r\n }\r\n \r\n // find the center of mass of the single label object in the sliceBuffer (abdomenImage)\r\n findAbdomenCM();\r\n\r\n // Use the CM, the abdomenImage, and the srcImage to define points on the\r\n // abdomen and visceral VOI's\r\n ArrayList<Integer> xArrAbdom = new ArrayList<Integer>();\r\n ArrayList<Integer> yArrAbdom = new ArrayList<Integer>();\r\n ArrayList<Integer> xArrVis = new ArrayList<Integer>();\r\n ArrayList<Integer> yArrVis = new ArrayList<Integer>();\r\n findVOIs(centerOfMass, xArrAbdom, yArrAbdom, srcBuffer, xArrVis, yArrVis);\r\n \r\n int[] x1 = new int[xArrAbdom.size()];\r\n int[] y1 = new int[xArrAbdom.size()];\r\n int[] z1 = new int[xArrAbdom.size()];\r\n for(int idx = 0; idx < xArrAbdom.size(); idx++) {\r\n x1[idx] = xArrAbdom.get(idx);\r\n y1[idx] = yArrAbdom.get(idx);\r\n z1[idx] = 0;\r\n }\r\n\r\n // make the VOI's and add the points to them\r\n abdomenVOI = new VOI((short)0, \"Abdomen\");\r\n abdomenVOI.importCurve(x1, y1, z1);\r\n \r\n\r\n for(int idx = 0; idx < xArrVis.size(); idx++) {\r\n x1[idx] = xArrVis.get(idx);\r\n y1[idx] = yArrVis.get(idx);\r\n }\r\n\r\n subcutaneousVOI = new VOI((short)0, \"Subcutaneous area\");\r\n subcutaneousVOI.importCurve(x1, y1, z1);\r\n \r\n/*\r\n ViewUserInterface.getReference().getMessageFrame().append(\"Xcm: \" +xcm +\" Ycm: \" +ycm);\r\n sliceBuffer[ycm * xDim + xcm] = 20;\r\n for (int idx = 0; idx < xArr.size(); idx++) {\r\n sliceBuffer[yArr.get(idx) * xDim + xArr.get(idx)] = 20;\r\n sliceBuffer[yArrVis.get(idx) * xDim + xArrVis.get(idx)] = 30;\r\n }\r\n // save the sliceBuffer into the abdomenImage\r\n try {\r\n abdomenImage.importData(0, sliceBuffer, false);\r\n } catch (IOException ex) {\r\n System.err.println(\"segmentThighTissue(): Error importing data\");\r\n }\r\n*/\r\n// ShowImage(srcImage, \"Segmented Abdomen\");\r\n\r\n\r\n// ViewUserInterface.getReference().getMessageFrame().append(\"Abdomen VOI points:\");\r\n// for (int idx = 0; idx < xArr.size(); idx++) {\r\n// ViewUserInterface.getReference().getMessageFrame().append(xArr.get(idx) +\" \" + yArr.get(idx));\r\n// }\r\n\r\n }",
"public void show() {\n\t\t// TODO Auto-generated method stub\n\n\t}",
"public int showPen () {\n myPenDown = true;\n return 1;\n }",
"@Override\n\tpublic void update() {\n\t\t\n\t\tif(!this.explShowing)\n\t\t{\n\t\t\tx+= dx;\n\t\t\ty+= dy;\n\t\n\t\t\tif(x < 0)\n\t\t\t{\n\t\t\t\tx = 0;\n\t\t\t\tdx = dx *-1;\n\t\t\t}\n\t\t\telse\n\t\t\tif(x + w > MainGame.getInstance().X_WORLD_END)\n\t\t\t{\n\t\t\t\tx = MainGame.getInstance().X_WORLD_END - w ;\n\t\t\t\tdx = dx *-1;\t\n\t\t\t}\n\t\n\t\t\tif(y < 0)\n\t\t\t{\n\t\t\t\tthis.reset();\n\t\t\t}\n\t\t\telse\n\t\t\tif(y + h > MainGame.getInstance().Y_WORLD_END)\n\t\t\t{\n\t\t\t\t\n\t\t\t\tthis.reset();\n\t\t\t}\n\t\t}\n\t\t\n\t\ts.update();\n\t\n\t\tif(this.explShowing)\n\t\t{\n\t\t\tif(expl.isHasFinished())\n\t\t\t{\n\t\t\t\texplShowing = false;\n\t\t\t\ts = this.normalImage;\n\t\t\t\tthis.x = this.xStart;\n\t\t\t\tthis.y = this.yStart;\n\t\t\t\ts.setX(this.xStart);\n\t\t\t\ts.setY(this.yStart);\n\t\t\t}\n\t\t}\n\t\t\n\t\t//s.setX(x);\n\t\t//s.setY(y);\n\t\t\n\t\tthis.rect.setFrame(getX(),getY(),getW(),getH());\t\n\t}",
"private static void draw() {\n\t\tinitField();\n\t\tview = new View(field);\n\t\tview.setSize(viewWidth, viewHeight);\n\t\tframe = new JFrame();\n\t\tframe.setSize(fwidth, fheight);\n\t\tframe.setTitle(\"Land Mine\");\n\t\tframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\t\tframe.add(view);\n\t\tframe.setVisible(true);\n\t}",
"void figureRemovedAt(Location loc);",
"private static native boolean showDigitalActionOrigins(long pointer, long controllerHandle,\n long digitalActionHandle, float scale,\n float xPosition, float yPosition);",
"public void display() {\n float dRadial = reactionRadialMax - reactionRadial;\n if(dRadial != 0){\n noStroke();\n reactionRadial += abs(dRadial) * radialEasing;\n fill(255,255,255,150-reactionRadial*(255/reactionRadialMax));\n ellipse(location.x, location.y, reactionRadial, reactionRadial);\n }\n \n // grow text from point of origin\n float dText = textSizeMax - textSize;\n if(dText != 0){\n noStroke();\n textSize += abs(dText) * surfaceEasing;\n textSize(textSize);\n }\n \n // draw agent (point)\n fill(255);\n pushMatrix();\n translate(location.x, location.y);\n float r = 3;\n ellipse(0, 0, r, r);\n popMatrix();\n noFill(); \n \n // draw text \n textSize(txtSize);\n float lifeline = map(leftToLive, 0, lifespan, 25, 255);\n if(mouseOver()){\n stroke(229,28,35);\n fill(229,28,35);\n }\n else {\n stroke(255);\n fill(255);\n }\n \n text(word, location.x, location.y);\n \n // draw connections to neighboars\n gaze();\n }",
"void disp(int index) {\n this.renderEngine.b(index);\n }",
"public void showSquareDetails(){\r\n view.printSquareDetails(model.getSideLength(), model.getColor());\r\n }"
]
| [
"0.58021456",
"0.5690973",
"0.5643433",
"0.55847037",
"0.55570066",
"0.5549979",
"0.55225927",
"0.54992914",
"0.5437764",
"0.54006493",
"0.53515154",
"0.5351293",
"0.5314569",
"0.5306017",
"0.5298927",
"0.52979684",
"0.52951825",
"0.5240558",
"0.5217609",
"0.5217179",
"0.52096903",
"0.5207781",
"0.52042925",
"0.519902",
"0.5190089",
"0.51735157",
"0.5157498",
"0.5151247",
"0.5138162",
"0.5123946",
"0.5121472",
"0.5118106",
"0.5110659",
"0.51095396",
"0.51087254",
"0.5106813",
"0.509369",
"0.508334",
"0.5083281",
"0.50735694",
"0.50722945",
"0.50633353",
"0.5057274",
"0.50548565",
"0.50507164",
"0.50461864",
"0.5040814",
"0.5040814",
"0.5040814",
"0.5040814",
"0.5040814",
"0.5040814",
"0.5038472",
"0.50356686",
"0.5034415",
"0.50338405",
"0.5032877",
"0.4998934",
"0.4996761",
"0.49944776",
"0.49918106",
"0.49827975",
"0.49781016",
"0.4977494",
"0.495487",
"0.49540266",
"0.49540266",
"0.49540266",
"0.49540266",
"0.49540266",
"0.49540266",
"0.49540266",
"0.49540266",
"0.49540266",
"0.49540266",
"0.49540266",
"0.49540266",
"0.49540266",
"0.49540266",
"0.49540266",
"0.49410614",
"0.4939898",
"0.4927356",
"0.4925721",
"0.49171254",
"0.4913824",
"0.4904467",
"0.48965684",
"0.48934284",
"0.48904046",
"0.48881516",
"0.4887537",
"0.48859075",
"0.48854363",
"0.48852956",
"0.48833594",
"0.48804128",
"0.48759472",
"0.48708943",
"0.4859644",
"0.48575756"
]
| 0.0 | -1 |
It just works with Transformations for now. | public static Runner createRunner(File xmlFile) {
return new TransformationRunner(xmlFile);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Test\n\tpublic abstract void testTransform4();",
"public Transform() {\n setIdentity();\n }",
"public Transform getTransform() {return transform;}",
"public Transform() {\n }",
"@Override\n final public String getTransform() {\n String transform = ScijavaGsonHelper.getGson(context).toJson(rt, RealTransform.class);\n //logger.debug(\"Serialization result = \"+transform);\n return transform;\n }",
"@Test\n public void TransformConstructorTest() {\n }",
"public static Transformer nopTransformer() {\n return NOP_TRANSFORMER;\n }",
"boolean hasTransformValue();",
"public static Transformer nullTransformer() {\n return NULL_TRANSFORMER;\n }",
"@Override\r\n\tprotected AffineTransform getPointTransformation() {\n\t\treturn null;\r\n\t}",
"@Override\n \t\t\t\tpublic EnumTransformationType getTransformationType() {\n \t\t\t\t\treturn null;\n \t\t\t\t}",
"public AxesTransform() {\n\n\t}",
"protected Matrix4 computeTransform() {\n return super.computeTransform();\n }",
"public interface Transformation {\n\n\t/**\n\t * @return A description of the transformation this class performs.\n\t */\n\tpublic String getDescription();\n\n\t/**\n\t * @return the {@link FileType} for which this transformer can be used.\n\t */\n\tpublic Set<FileType> getSupportedFileTypes();\n\n /**\n * Determines when this Transformation has to be build\n * \n * @return the priority when to execute this transformation.\n */\n public int getBuildOrderPriority();\n // XXX(leo;20.11.2011) add uniform transform statement or two! so that the\n // sub transformation interfaces can be merged to one\n\n}",
"public AnXmlTransform() {\n super();\n }",
"@java.lang.Override\n public boolean hasTransformValue() {\n return typeCase_ == 14;\n }",
"@Override\n public void preprocess() {\n }",
"@Override\n public void preprocess() {\n }",
"@java.lang.Override\n public boolean hasTransformValue() {\n return typeCase_ == 14;\n }",
"godot.wire.Wire.Transform getTransformValue();",
"@Override\n \t\t\t\tpublic File getTransformerDirectory() {\n \t\t\t\t\treturn null;\n \t\t\t\t}",
"protected abstract Object transform(Object o);",
"public CopyTransformTest() {\n }",
"public TransformationBuff() {}",
"private FlexOrderTransformer() {\n // constructor preventing instantiation.\n }",
"@Override\r\n\t\tpublic void normalize()\r\n\t\t\t{\n\t\t\t\t\r\n\t\t\t}",
"@Override\n\t\tpublic GLGroupTransform transforms() { return transforms; }",
"TransformationFactory getTransformationFactory();",
"TransformFactory getFactory();",
"protected Matrix4 computeTransform() {\n return internalGroup.computeTransform();\n }",
"@Override\n public AffineTransform getAffineTransform() {\n return null;\n }",
"public AffineTransform getTransform()\n/* */ {\n/* 194 */ return this.transform;\n/* */ }",
"public void testTransformWithNullCaller() throws Exception {\n try {\n instance.transform(element, document, null);\n fail(\"IllegalArgumentException is excepted[\" + suhClassName + \"].\");\n } catch (IllegalArgumentException iae) {\n // pass\n }\n }",
"@Override\n\tpublic void transformarse() throws ErrorNoCumpleReqTrans, ErrorNoHayMasTrans {\n\n\t}",
"@Override\n\tpublic void apply() {\n\t\t\n\t}",
"Transform<A, B> getTransform();",
"@Override\r\n\tpublic Node visitComposition(CompositionContext ctx) {\n\t\treturn super.visitComposition(ctx);\r\n\t}",
"public void transform(AffineTransform Tx)\r\n\t{\r\n\t\t// System.out.println(\"transform\");\r\n\t}",
"public String getTransformType();",
"public Matrix getTransform()\n {\n return transform;\n }",
"Transforms getTransforms();",
"public Transform getTransform(){\n switch (this){\n case promote_terminals: return new SubexpressionTransformation.TerminalChain();\n case promote_redundant: return new SubexpressionTransformation.RedundantChain();\n case promote_summary: return new SubexpressionTransformation.SummarisingChain();\n case promote_chomsky: return new SubexpressionTransformation.ChomskyChain();\n case filter: return new RelationFilterTransformation();\n case order: return new EvaluationOrderTransformation(true, true);\n default: throw new RuntimeException(\"Unreachable\");\n }\n }",
"public Transformation getTransform() {\n\t\treturn mk;\n\t}",
"public TransformDesign() {\n tLayerPool = new TransformLayerPool();\n }",
"public T caseTransformation(Transformation object) {\n\t\treturn null;\n\t}",
"public static Transformer instantiateTransformer() {\n return INSTANTIATE_TRANSFORMER;\n }",
"@Override\n\tprotected final int getNumSpiralTransforms() { return 2;}",
"private Expression transform(Expression exp)\n {\n return UseContracts.execute(exp, fun, callers);\n }",
"@Override\n public Object preProcess() {\n return null;\n }",
"private GenericTransformer<Tweet, PoliticalTweet> transformToPoliticalTweet(){\t\r\n\t\treturn tweet -> {\r\n\t\t\tPoliticalTweet polTweet = new PoliticalTweet();\r\n\t\t\tpolTweet.setTweet(tweet);\r\n\t\t\treturn polTweet;\r\n\t\t};\r\n\t}",
"public void setTransform(Transform transform);",
"protected boolean transformIncomingData() {\r\n\t\tboolean rB=false;\r\n\t\tArrayList<String> targetStruc ;\r\n\t\t\r\n\t\t\r\n\t\ttry {\r\n\t\t\t\r\n\t\t\tif (transformationModelImported == false){\r\n\t\t\t\testablishTransformationModel();\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t// soappTransform.requiredVariables\r\n\t\t\tif (transformationsExecuted == false){\r\n\t\t\t\texecuteTransformationModel();\r\n\t\t\t}\r\n\t\t\trB = transformationModelImported && transformationsExecuted ;\r\n\t\t\t\r\n\t\t} catch (Exception e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\treturn rB;\r\n\t}",
"public boolean isTransformed() {\n\treturn nonIdentityTx;\n }",
"@Override\r\n\tpublic void transform(ClassNode cn) {\n\t\t\r\n\t}",
"public void transform() {\n\t\tOrganism newOrg;\n\t\t\n\t\tfor (int i=0; i < 1; i++) {\n\t\t\tnewOrg = new Organism(_world);\n\t\t\tif (newOrg.inheritTransformation(this, i==0)) {\n\t\t\t\t// It can be created\n\t\t\t\t_world.addOrganism(newOrg,this);\n\t\t\t}\n\t\t}\n\t}",
"public void fromTransformations(Transformations transformations);",
"public interface Transformer {\n\t/**\n\t * \n\t * @param srcComp an instance of the old version component\n\t * @param targetComp and instance of the new version component\n\t * @return\n\t */\n\tpublic boolean transform(Object srcComp, Object targetComp);\n\n}",
"public RMTransform getTransform()\n{\n return new RMTransform(getX(), getY(), getRoll(), getWidth()/2, getHeight()/2,\n getScaleX(), getScaleY(), getSkewX(), getSkewY());\n}",
"@Override\n public void apply() {\n }",
"private XSLTTransformerFactory() {\r\n\t}",
"private void swapTransforms() {\n Transform tmp = workTransform;\n workTransform = userTransform;\n userTransform = tmp;\n }",
"public String transform(String text){\n for(int i=0; i<transforms.length; i++)\n {\n if(transforms[i].contains(\"fromabbreviation\")){\n text = textTransformerAbbreviation.fromAbbreviation(text);\n }\n if(transforms[i].contains(\"toabbreviation\")){\n text = textTransformerAbbreviation.toAbbreviation(text);\n }\n if(transforms[i].contains(\"inverse\")){\n text = textTransformerInverse.inverse(text);\n }\n if(transforms[i].contains(\"upper\")){\n text = textTransformerLetterSize.upper(text);\n }\n if(transforms[i].contains(\"lower\")){\n text = textTransformerLetterSize.lower(text);\n }\n if(transforms[i].contains(\"capitalize\")) {\n text = textTransformerLetterSize.capitalize(text);\n }\n if(transforms[i].contains(\"latex\")){\n text = textTransformerLatex.toLatex(text);\n }\n if(transforms[i].contains(\"numbers\")){\n text = textTransformerNumbers.toText(text);\n }\n if(transforms[i].contains(\"repetitions\")){\n text = textTransformerRepetition.deleteRepetitions(text);\n }\n logger.debug(\"Text after \" + (i+1) + \" transform: \" + text);\n }\n\n logger.debug(\"Final form: \" + text);\n return text;\n }",
"public final Transformation getTransformation() {\n\t\treturn transform;\n\t}",
"@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}",
"private Transform(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }",
"public void testTransformWithNullElement() throws Exception {\n try {\n instance.transform(null, document, caller);\n fail(\"IllegalArgumentException is excepted[\" + suhClassName + \"].\");\n } catch (IllegalArgumentException iae) {\n // pass\n }\n }",
"public interface Transformer {\n\t/**\n\t * Transform a source object dynamically.\n\t * \n\t * This iteratively calls {@link #transform(Object, Class) transform}\n\t * \n\t * @param <S>\n\t * the source type.\n\t * @param <T>\n\t * the target type.\n\t * @param source\n\t * The source object.\n\t * @return The target object or <em>null</em> if no applicable rule has been\n\t * found.\n\t * @see #getTransformationRules()\n\t */\n\tpublic <S, T> T transform(S source);\n\n\t/**\n\t * Transform a source object using a specific type of rule.\n\t * \n\t * @param <S>\n\t * the source type.\n\t * @param <T>\n\t * the target type.\n\t * @param source\n\t * The source object.\n\t * @param with\n\t * The type of rule to be used.\n\t * @return The target object or <em>null</em> if no applicable rule has been\n\t * found.\n\t */\n\tpublic <S, T> T transform(S source, Class<? extends Rule<S, T>> with);\n\n\t/**\n\t * Get the list of rule definitions related to this transformation instance.\n\t * \n\t * @return An ordered collection of transformation rule definitions.\n\t */\n\tpublic Set<Class<? extends Rule<?, ?>>> getTransformationRules();\n\n\t/**\n\t * \n\t * @return\n\t */\n\tpublic Context getContext();\n}",
"@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"@Override\r\n\tpublic Node visitSequence(SequenceContext ctx) {\n\t\treturn super.visitSequence(ctx);\r\n\t}",
"@org.junit.jupiter.api.Test\n public void test1() throws Exception {\n File file1 = null;\n File file2 = null;\n if (BASEDIR != null && !\"\".equals(BASEDIR)) {\n file1 = new File(BASEDIR + SEP + SOURCE_PATH, SIGNATURE_FILE);\n file2 = new File(BASEDIR + SEP + SOURCE_PATH, STYLESHEET_FILE);\n } else {\n file1 = new File(SOURCE_PATH, SIGNATURE_FILE);\n file1 = new File(SOURCE_PATH, STYLESHEET_FILE);\n }\n Document doc1 = getDocument(file1);\n Document doc2 = getDocument(file2);\n\n XPathFactory xpf = XPathFactory.newInstance();\n XPath xpath = xpf.newXPath();\n xpath.setNamespaceContext(new DSNamespaceContext());\n\n String expression = \"//ds:Transform[1]\";\n Element transformEl =\n (Element) xpath.evaluate(expression, doc1, XPathConstants.NODE);\n\n Transform transform =\n new Transform(doc1, Transforms.TRANSFORM_XSLT, transformEl.getChildNodes());\n\n transform.performTransform(new XMLSignatureInput(doc2), false);\n }",
"public interface Transformation {\n public static final Object NOTHING = new Object();\n public Object transform(Object o);\n}",
"@java.lang.Override\n public boolean hasTransform2DValue() {\n return typeCase_ == 9;\n }",
"public abstract boolean appliesTo(Transformation<?> transformation);",
"@SuppressWarnings(\"PMD.DefaultPackage\")\n TransformationContextImpl getTransformationContext() {\n return transformationContext;\n }",
"@Test\n public void testTransform() {\n File file1=new File(\"testData/testfile.mgf\");\n MgfReader rdr=new MgfReader(file1);\n ArrayList<Spectrum> specs = rdr.readAll();\n System.out.println(\"transform\");\n Spectrum spec = specs.get(0);\n ReciprocalTransform instance = new ReciprocalTransform();\n Spectrum expResult = null;\n Spectrum result = null;//instance.transform(spec);\n assertEquals(result, expResult);\n }",
"public interface Transform<INPUT, OUTPUT> {\n\n\tOUTPUT transform(INPUT input);\n\t\n}",
"Object transform(Object o);",
"public void testTransformWithNullDocument() throws Exception {\n try {\n instance.transform(element, null, caller);\n fail(\"IllegalArgumentException is excepted[\" + suhClassName + \"].\");\n } catch (IllegalArgumentException iae) {\n // pass\n }\n }",
"public ResultTransform() {\n super(((org.xms.g.utils.XBox) null));\n if (org.xms.g.utils.GlobalEnvSetting.isHms()) {\n this.setHInstance(new HImpl());\n } else {\n this.setGInstance(new GImpl());\n }\n wrapper = false;\n }",
"public boolean canBeTransformedWith(Transformation other) {\n return false; // Independent transformation\n }",
"@java.lang.Override\n public boolean hasTransform2DValue() {\n return typeCase_ == 9;\n }",
"public final native void transform(String transform, Element node) /*-{ this.transform(transform, node) }-*/;",
"protected static final Transformer newTransformer() {\r\n try {\r\n return getOutTransformer(getTransformerFactory().newTransformer());\r\n } catch (final TransformerConfigurationException tce) {\r\n logB.error(\"XmlFactory.newTransformer : failure on creating new Transformer : \", tce);\r\n }\r\n\r\n return null;\r\n }",
"@Override\n public void setAffineTransform(AffineTransform af) {\n\n }",
"@Test (groups = { \"endpoints\" })\n\t\tpublic static void testTransform() throws Exception {\n\t\t\t\n\t\t\tSystem.out.println(\"\\n**** In QASandboxTransformTest/testTransform module ****\\n\");\n\t\t\t\n\t\t\t// Load the files from the designated directory\t\t\t\t\n//\t\t\tFile startDir = new File(Constants.transformFileStartDir);\n\t\t\tFile startDir = new File(Constants.transformFileStartDir + \"/spaGeneralConferenceHTML\");\t\t// Replace the line above with this one to test with less documents\n\t\t\t\tSystem.out.println(\"Loading files to test...\");\t\t\t\n\t\t\tList<File> filesToTransform = new ArrayList<>();\t\t\t\n\t\t\tQAFileUtils.loadTestFiles(filesToTransform, startDir);\t\t\t\n\t\t\t\tAssert.assertNotEquals(filesToTransform.size(),0,\"No files found in the passed folder\");\n\t\t\t\tSystem.out.println(filesToTransform.size() + \" files found\");\t\t\t\t\n\n\t\t\t// Transform all of the files\t\t\t\t\n\t\t\tfor (File file : filesToTransform) {\n\t\t\t\t\tSystem.out.println(\"\\nTransforming file: \" + file.getPath()); // was getAbsolutePath\n\t\t\t\tQATransformationResult result = QASandboxTransformService.transformFile(file);\t// 1. Transform each file\t\t\t\t\t\t\n\t\t\t\t\tSystem.out.println(result.wasSuccessful() ? \"Transform result shows successful\" : \"ERROR: Transform result shows failure\" );\n\t\t\t\t\t\n\t\t\t}\n\t\t\t\t\t\t\t\t\t\n\t\t\tSystem.out.println(\"\\n**** EXIT QASandboxTransformTest/testTransform module ****\\n\");\t\t\t\n\t\t\t\n\t\t}",
"@Override\n\tpublic void processing() {\n\n\t}",
"@Override\n public void testTransform() {\n BinaryStringStringPipe b1 = randomInstance();\n Expression newExpression = randomValueOtherThan(b1.expression(), () -> randomBinaryStringStringExpression());\n BinaryStringStringPipe newB = new BinaryStringStringPipe(\n b1.source(),\n newExpression,\n b1.left(),\n b1.right(),\n b1.operation());\n assertEquals(newB, b1.transformPropertiesOnly(v -> Objects.equals(v, b1.expression()) ? newExpression : v, Expression.class));\n \n BinaryStringStringPipe b2 = randomInstance();\n Source newLoc = randomValueOtherThan(b2.source(), () -> randomSource());\n newB = new BinaryStringStringPipe(\n newLoc,\n b2.expression(),\n b2.left(),\n b2.right(),\n b2.operation());\n assertEquals(newB,\n b2.transformPropertiesOnly(v -> Objects.equals(v, b2.source()) ? newLoc : v, Source.class));\n }",
"public abstract Shape transform(Transformation t);",
"@Override\n public void perish() {\n \n }",
"@Test\n public void testIdentity() throws TransformException {\n create(3, 0, 1, 2);\n assertIsIdentity(transform);\n assertParameterEquals(Affine.provider(3, 3, true).getParameters(), null);\n\n final double[] source = generateRandomCoordinates();\n final double[] target = source.clone();\n verifyTransform(source, target);\n\n makeProjectiveTransform();\n verifyTransform(source, target);\n }",
"protected void establishTransformationModel() {\r\n\t \r\n\t\tTransformationModel transformModel ;\r\n\t\tArrayList<TransformationStack> modelTransformStacks ;\r\n\t\t\r\n\t\t\r\n\t\t// the variables needed for the profile\r\n\t\t// targetStruc = getTargetVector();\r\n\t\tsomData = soappTransformer.getSomData() ; \r\n\t\t// soappTransformer.setSomData( somApplication.getSomData() );\r\n\t\tsomApplication.setSomData(somData) ;\r\n\t\t\r\n\t\tsomData.getVariablesLabels() ;\r\n\t\t \r\n\t\t\r\n\t\t// from here we transfer...\r\n\t\tmodelTransformStacks = soappTransformer.getTransformationModel().getVariableTransformations();\r\n\t\ttransformModel = soappTransformer.getTransformationModel() ;\r\n\t\t \r\n\t\t\r\n\t\ttransformationModelImported = true;\r\n\t}",
"@RepeatedTest(20)\n void transformtoTStringTest(){\n assertEquals(st.transformtoString(),new TString(hello));\n assertEquals(bot.transformtoString(),new TString(bot.toString()));\n assertEquals(bof.transformtoString(),new TString(bof.toString()));\n assertEquals(f.transformtoString(),new TString(f.toString()));\n assertEquals(i.transformtoString(),new TString(i.toString()));\n assertEquals(bi.transformtoString(),new TString(bi.toString()));\n assertEquals(Null.transformtoString(), Null);\n }",
"public synchronized void transform() {\n Iterator<String> it = entity_to_wxy.keySet().iterator();\n while (it.hasNext()) {\n String entity = it.next();\n double wx = entity_to_wxy.get(entity).getX(),\n wy = entity_to_wxy.get(entity).getY();\n int sx, sy;\n entity_to_sxy.put(entity, (sx = wxToSx(wx)) + BundlesDT.DELIM + (sy = wyToSy(wy)));\n entity_to_sx.put(entity, sx); entity_to_sy.put(entity, sy);\n }\n transform_id++;\n }",
"public interface LinopTransform extends Transform {\r\n public double[][] getMat();\r\n}",
"private void applyTransform() {\n GlStateManager.rotate(180, 1.0F, 0.0F, 0.0F);\n GlStateManager.translate(offsetX, offsetY - 26, offsetZ);\n }",
"@Override\r\n \tpublic void process() {\n \t\t\r\n \t}",
"godot.wire.Wire.TransformOrBuilder getTransformValueOrBuilder();",
"private FactoryTransformer(Factory factory) {\n super();\n iFactory = factory;\n }",
"public Object enterTransform(Object value) {\n return value;\n }",
"@Override\n\tprotected ProducedData performs() {\n\t\treturn null;\n\t}",
"@Override\n\tpublic void stablize() {\n\n\t}"
]
| [
"0.6691419",
"0.6445275",
"0.6412777",
"0.6303779",
"0.6110772",
"0.6077067",
"0.60104626",
"0.5994323",
"0.59641236",
"0.58717114",
"0.5850773",
"0.5824943",
"0.5817749",
"0.5816197",
"0.57873785",
"0.57741904",
"0.57729715",
"0.5748022",
"0.5740841",
"0.568414",
"0.5681363",
"0.56550515",
"0.5638343",
"0.5634588",
"0.5632601",
"0.56316584",
"0.561962",
"0.5617928",
"0.5614452",
"0.56109744",
"0.55976665",
"0.5586356",
"0.55792105",
"0.5570398",
"0.55664665",
"0.55575305",
"0.55486697",
"0.5529417",
"0.5522551",
"0.55136245",
"0.55107087",
"0.5501",
"0.55003756",
"0.54988736",
"0.54967064",
"0.5490535",
"0.54836357",
"0.5480427",
"0.54778177",
"0.54728794",
"0.5463661",
"0.5459457",
"0.5459336",
"0.545564",
"0.54258895",
"0.5418918",
"0.5405113",
"0.54027814",
"0.5400524",
"0.54001707",
"0.5390272",
"0.5384199",
"0.537794",
"0.5373363",
"0.5371918",
"0.5364496",
"0.5356822",
"0.5354316",
"0.53516436",
"0.5350912",
"0.53469473",
"0.5342439",
"0.5342415",
"0.53405094",
"0.5340262",
"0.5332203",
"0.5328403",
"0.5321238",
"0.5316394",
"0.53098464",
"0.53046703",
"0.5304649",
"0.53004307",
"0.5287873",
"0.5277487",
"0.5276363",
"0.5274066",
"0.5273473",
"0.5260116",
"0.5258829",
"0.5241825",
"0.5240709",
"0.52382886",
"0.5237837",
"0.522935",
"0.52269614",
"0.5223262",
"0.5205693",
"0.5195226",
"0.518713",
"0.51853466"
]
| 0.0 | -1 |
This function get the content of an input stream | private String getContent(InputStream inputStream) throws AspireException{
BufferedReader bufferReader = null;
StringBuilder stringBuilder = new StringBuilder();
String line;
try {
bufferReader = new BufferedReader(new InputStreamReader(inputStream));
while ((line = bufferReader.readLine()) != null) {
stringBuilder.append(line);
stringBuilder.append("\n");
}
} catch (IOException e) {
throw new AspireException("SubversionJavaParser.getContent", e);
} finally {
if (bufferReader != null) {
try {
bufferReader.close();
} catch (IOException e) {
throw new AspireException("SubversionJavaParser.getContent", e);
}
}
}
return stringBuilder.toString();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"Stream<In> getInputStream();",
"InputStream getDataStream();",
"InputStream getInputStream() throws IOException;",
"InputStream getInputStream() throws IOException;",
"InputStream getInputStream() throws IOException;",
"private String readStream(InputStream in) {\n try {\n ByteArrayOutputStream bo = new ByteArrayOutputStream();\n int i = in.read();\n while(i != -1) {\n bo.write(i);\n i = in.read();\n }\n return bo.toString();\n } catch (IOException e) {\n return \"\";\n }\n }",
"public InputStream getInputStream();",
"public InputStream getInputStream();",
"private static String readIt(InputStream stream) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(stream));\n StringBuilder sb = new StringBuilder();\n String line;\n while ((line = br.readLine()) != null) {\n sb.append(line+\"\\n\");\n }\n br.close();\n return sb.toString();\n\t}",
"public InputStream getStream();",
"public abstract InputStream getInputStream();",
"public abstract InputStream getInputStream();",
"private String readStream(InputStream is) {\n try {\n ByteArrayOutputStream bo = new ByteArrayOutputStream();\n int i = is.read();\n while(i != -1) {\n bo.write(i);\n i = is.read();\n }\n return bo.toString();\n } catch (IOException e) {\n return \"\";\n }\n }",
"private String readStream(InputStream in) throws IOException {\n BufferedReader r = new BufferedReader(new InputStreamReader(in));\n\n StringBuilder sb = new StringBuilder();\n String line;\n\n // Reads every line and stores them in sb.\n while((line = r.readLine()) != null) {\n sb.append(line);\n }\n\n // Closes the input stream.\n in.close();\n\n return sb.toString();\n }",
"static String loadStream(InputStream in) throws IOException {\n int ptr = 0;\n in = new BufferedInputStream(in);\n StringBuffer buffer = new StringBuffer();\n while( (ptr = in.read()) != -1 ) {\n buffer.append((char)ptr);\n }\n return buffer.toString();\n }",
"static String loadStream(InputStream in) throws IOException { \n\t\tint ptr = 0; \n\t\tin = new BufferedInputStream(in); \n\t\tStringBuffer buffer = new StringBuffer(); \n\t\twhile( (ptr = in.read()) != -1 ) { \n\t\t\tbuffer.append((char)ptr); \n\t\t} \n\t\treturn buffer.toString(); \n\t}",
"private String readStream(InputStream is) throws IOException {\n StringBuilder sb = new StringBuilder();\n BufferedReader r = new BufferedReader(new InputStreamReader(is),1000);\n for (String line = r.readLine(); line != null; line =r.readLine()){\n sb.append(line);\n }\n is.close();\n return sb.toString();\n }",
"static protected byte[] readContent( InputStream in )\n \t{\n \t\tBufferedInputStream bin = in instanceof BufferedInputStream\n \t\t\t\t? (BufferedInputStream) in\n \t\t\t\t: new BufferedInputStream( in );\n \t\tByteArrayOutputStream out = new ByteArrayOutputStream( 1024 );\n \t\tbyte[] buffer = new byte[1024];\n \t\tint readSize = 0;\n \t\ttry\n \t\t{\n \t\t\treadSize = bin.read( buffer );\n \t\t\twhile ( readSize != -1 )\n \t\t\t{\n \t\t\t\tout.write( buffer, 0, readSize );\n \t\t\t\treadSize = bin.read( buffer );\n \t\t\t}\n \t\t}\n \t\tcatch ( IOException ex )\n \t\t{\n \t\t\tlogger.log( Level.SEVERE, ex.getMessage( ), ex );\n \t\t}\n \t\treturn out.toByteArray( );\n \t}",
"public String readStream(InputStream in) {\n BufferedReader reader = null;\n StringBuffer data = new StringBuffer(\"\");\n try {\n reader = new BufferedReader(new InputStreamReader(in));\n String line = \"\";\n while ((line = reader.readLine()) != null) {\n data.append(line);\n }\n } catch (IOException e) {\n Log.e(\"Log\", \"IOException\");\n } finally {\n if (reader != null) {\n try {\n reader.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n }\n return data.toString();\n }",
"public InputStream getInputStream() throws IOException;",
"public InputStream getInputStream() throws IOException;",
"public java.io.InputStream getStream(String content) {\r\n\t\ttry {\r\n\t\t\tjava.io.ByteArrayInputStream bais = new java.io.ByteArrayInputStream(content.getBytes());\r\n\t\t\treturn bais;\r\n\t\t} catch (Exception ex) {\r\n\t\t\tlogger.error(ex.getMessage());\r\n\t\t\treturn null;\r\n\t\t}\r\n\t}",
"private static String getStringFromInputStream(InputStream is) {\r\n\r\n BufferedReader br = null;\r\n StringBuilder sb = new StringBuilder();\r\n\r\n String line;\r\n try {\r\n\r\n br = new BufferedReader(new InputStreamReader(is));\r\n while ((line = br.readLine()) != null) {\r\n sb.append(line);\r\n }\r\n\r\n } catch (IOException e) {\r\n e.printStackTrace();\r\n }\r\n finally {\r\n if (br != null) {\r\n try {\r\n br.close();\r\n } catch (IOException e) {\r\n e.printStackTrace();\r\n }\r\n }\r\n }\r\n\r\n return sb.toString();\r\n\r\n }",
"private String read(InputStream in) throws IOException {\n StringBuilder sb = new StringBuilder();\n BufferedReader r = new BufferedReader(new InputStreamReader(in), 1000);\n for (String line = r.readLine(); line != null; line = r.readLine()) {\n sb.append(line);\n }\n in.close();\n return sb.toString();\n }",
"private static StringBuilder receiveInputStream(InputStream input) throws IOException{\r\n\t\tStringBuilder response = new StringBuilder();\r\n\t\tint i;\r\n\t\twhile((i = input.read())!= -1){//stock the inputstream\r\n\t\t\tresponse.append((char)i); \r\n\t\t}\r\n\t\treturn response;\r\n\t}",
"public static String readIt(InputStream stream, int len) throws IOException, UnsupportedEncodingException {\n BufferedReader br = null;\n StringBuilder sb = new StringBuilder();\n\n String line;\n try {\n\n br = new BufferedReader(new InputStreamReader(stream));\n while ((line = br.readLine()) != null) {\n sb.append(line);\n }\n\n } catch (IOException e) {\n e.printStackTrace();\n } finally {\n if (br != null) {\n try {\n br.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n }\n\n return sb.toString();\n }",
"public static String readIt(InputStream is) throws IOException {\n BufferedReader reader = null;\n reader = new BufferedReader(new InputStreamReader(is, \"UTF-8\"));\n StringBuilder responseStrBuilder = new StringBuilder();\n String inputStr;\n while ((inputStr = reader.readLine()) != null) {\n responseStrBuilder.append(inputStr);\n }\n return responseStrBuilder.toString();\n }",
"private static String read(InputStream in) throws IOException {\n StringBuilder builder = new StringBuilder();\n\n BufferedReader reader = new BufferedReader(new InputStreamReader(in));\n\n String line = null;\n while ((line = reader.readLine()) != null)\n builder.append(line);\n\n return builder.toString();\n }",
"@Override\r\n\tpublic InputStream getInputStream() throws IOException {\n\t\treturn this.s.getInputStream();\r\n\t}",
"public String getStringFromInputStream(InputStream is) {\n\n BufferedReader br = null;\n StringBuilder sb = new StringBuilder();\n\n String line;\n try {\n\n br = new BufferedReader(new InputStreamReader(is));\n while ((line = br.readLine()) != null) {\n sb.append(line);\n }\n } catch (Exception e) {\n } finally {\n try {\n br.close();\n } catch (Exception e) {\n }\n br = null;\n return sb.toString();\n }\n }",
"private String getResponse(InputStream input) throws IOException {\n\t\ttry (BufferedReader buffer = new BufferedReader(new InputStreamReader(input))) {\n\t\t\treturn buffer.lines().collect(Collectors.joining(\"\\n\"));\n\t\t}\n\t}",
"InputStream openStream() throws IOException;",
"private String readIt(InputStream stream) throws IOException {\n BufferedReader reader = new BufferedReader(new InputStreamReader(stream, \"iso-8859-1\"), 128);\n StringBuilder sb = new StringBuilder();\n String line;\n while ((line = reader.readLine()) != null) {\n sb.append(line);\n }\n return sb.toString();\n }",
"public static String loadStream(InputStream in) throws IOException {\r\n\t\tInputStream is = in;\r\n\t\tint ptr = 0;\r\n\t\tis = new BufferedInputStream(is);\r\n\t\tStringBuffer buffer = new StringBuffer();\r\n\t\ttry {\r\n\t\t\twhile ((ptr = is.read()) != -1) {\r\n\t\t\t\tbuffer.append((char) ptr);\r\n\t\t\t}\r\n\t\t} finally {\r\n\t\t\tis.close();\r\n\t\t}\r\n\t\treturn buffer.toString();\r\n\t}",
"private String getTextLineFromStream( InputStream is ) throws IOException {\n StringBuffer buffer = new StringBuffer();\n int b;\n\n \twhile( (b = is.read()) != -1 && b != (int) '\\n' ) {\n \t\tbuffer.append( (char) b );\n \t}\n \treturn buffer.toString().trim();\n }",
"public static String getStringFromInputStream(InputStream is) {\n\n BufferedReader br = null;\n StringBuilder sb = new StringBuilder();\n\n String line;\n try {\n\n br = new BufferedReader(new InputStreamReader(is));\n while ((line = br.readLine()) != null) {\n sb.append(line);\n }\n\n } catch (IOException e) {\n e.printStackTrace();\n } finally {\n if (br != null) {\n try {\n br.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n }\n return sb.toString();\n }",
"protected abstract InputStream getStream(String resource);",
"private static String readFromStream(InputStream inputStream) throws IOException {\n\n // Create a new empty string builder\n StringBuilder stringBuilder = new StringBuilder();\n\n // Create a bufferedReader that reads from the inputStream param\n BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(inputStream,\n Charset.forName(\"UTF-8\")));\n\n // Create a string that is one line of the buffered reader\n String line = bufferedReader.readLine();\n\n while (line != null) {\n // Add line to stringBuilder\n stringBuilder.append(line);\n\n // Set line to the next line in buffered reader\n line = bufferedReader.readLine();\n }\n\n // Return string builder as a string\n return stringBuilder.toString();\n }",
"public InputStream getInputStream() throws IOException {\n/* 521 */ return Minecraft.getMinecraft().getResourceManager().getResource(p_148612_0_).getInputStream();\n/* */ }",
"public static String getContent(InputStream stream) throws Exception {\n return getContent(new InputStreamReader(stream));\n }",
"public void readData(InputStream inStream);",
"public static String ReadData(InputStream input) throws IOException {\n BufferedReader reader = new BufferedReader(new\n InputStreamReader(input));\n StringBuilder builder = new StringBuilder();\n while (true) {\n String line = reader.readLine();\n if(line == null) {\n break;\n }\n\n builder.append(line);\n }\n\n return builder.toString();\n }",
"public String parserResultFromContent(InputStream is) throws IOException {\n String result = \"\";\n BufferedReader reader = new BufferedReader(\n new InputStreamReader(is, Constants.CHARSET_NAME_UTF8));\n String line = \"\";\n while ((line = reader.readLine()) != null) {\n result += line;\n }\n is.close();\n return result;\n }",
"public static String readFileFromInputStream(final InputStream is) throws IOException\n\t{\n\t\tfinal BufferedReader input = new BufferedReader(new InputStreamReader(\n\t\t\t\tis, FILE_CHARSET_NAME));\n\t\ttry\n\t\t{\n\t\t\tfinal StringBuilder contents = new StringBuilder(BUFFER_SIZE);\n\n\t\t\t// copy from input stream\n\t\t\tfinal char[] charBuffer = new char[BUFFER_SIZE];\n\t\t\tint len;\n\t\t\twhile ((len = input.read(charBuffer)) > 0)\n\t\t\t{\n\t\t\t\tcontents.append(charBuffer, 0, len);\n\t\t\t}\n\n\t\t\treturn contents.toString().replaceAll(\"\\r\\n\", \"\\n\");\n\n\t\t}\n\t\tfinally\n\t\t{\n\t\t\tinput.close();\n\t\t}\n\t}",
"public InputStream getInputStream(long position);",
"private String _read(InputStream in, String enc) throws IOException\n {\n int ptr = 0;\n int count;\n \n while ((count = in.read(_readBuffer, ptr, _readBuffer.length - ptr)) > 0) {\n ptr += count;\n // buffer full? Need to realloc\n if (ptr == _readBuffer.length) {\n _readBuffer = Arrays.copyOf(_readBuffer, ptr + ptr);\n }\n }\n \n return new String(_readBuffer, 0, ptr, enc);\n }",
"public BCPGInputStream getInputStream()\n {\n return in;\n }",
"private static String readFromStream(InputStream inputStream) throws IOException {\n StringBuilder output = new StringBuilder();\n if (inputStream != null) {\n InputStreamReader inputStreamReader = new InputStreamReader(inputStream, Charset.forName(\"UTF-8\"));\n BufferedReader reader = new BufferedReader(inputStreamReader);\n String line = reader.readLine();\n while (line != null) {\n output.append(line);\n line = reader.readLine();\n }\n }\n return output.toString();\n }",
"abstract public InputStream retrieveContent( String path )\r\n throws Exception;",
"private static byte[] getDataFromInputStream(final InputStream input) throws IOException {\r\n if (input == null) {\r\n return new byte[0];\r\n }\r\n int nBytes = 0;\r\n final byte[] buffer = new byte[BUFFER_SIZE];\r\n final ByteArrayOutputStream baos = new ByteArrayOutputStream();\r\n while ((nBytes = input.read(buffer)) != -1) {\r\n baos.write(buffer, 0, nBytes);\r\n }\r\n return baos.toByteArray();\r\n }",
"protected abstract InputStream getInStreamImpl(String filename) throws IOException;",
"@Override\n public Ini read(InputStream in) throws IOException {\n return read(new InputStreamReader(in));\n }",
"@NotNull InputStream openInputStream() throws IOException;",
"private String getResponseText(InputStream inStream) {\n return new Scanner(inStream).useDelimiter(\"\\\\A\").next();\n }",
"static String slurp(InputStream stream) throws IOException {\n StringBuilder sb = new StringBuilder();\n BufferedReader br = new BufferedReader(new InputStreamReader(stream));\n String line;\n while ((line = br.readLine()) != null) {\n sb.append(line).append(System.lineSeparator());\n }\n br.close();\n return sb.toString();\n }",
"public static String GetStringFromInputStream(InputStream is) {\n\t\tString line;\n\t\tStringBuilder total = new StringBuilder();\n\n\t\t// Wrap a BufferedReader around the InputStream\n\t\tBufferedReader rd = new BufferedReader(new InputStreamReader(is));\n\n\t\t// Read response until the end\n\t\ttry {\n\t\t\twhile ((line = rd.readLine()) != null) {\n\t\t\t\ttotal.append(line);\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t} finally {\n\t\t\ttry {\n\t\t\t\tis.close();\n\t\t\t} catch (Exception e) {\n\t\t\t\tUtilities\n\t\t\t\t\t\t.LogWarning(\"GetStringFromInputStream - could not close stream\");\n\t\t\t}\n\t\t}\n\n\t\t// Return full string\n\t\treturn total.toString();\n\t}",
"private String inputStreamToString(InputStream is) {\n Scanner scanner = new Scanner(is);\n Scanner tokenizer = scanner.useDelimiter(\"\\\\A\");\n String str = tokenizer.hasNext() ? tokenizer.next() : \"\";\n scanner.close();\n return str;\n }",
"private String streamToString(InputStream is) throws IOException {\n String str = \"\";\n \n if (is != null) {\n StringBuilder sb = new StringBuilder();\n String line;\n \n try {\n BufferedReader reader = new BufferedReader(\n new InputStreamReader(is));\n \n while ((line = reader.readLine()) != null) {\n sb.append(line);\n }\n \n reader.close();\n } finally {\n is.close();\n }\n \n str = sb.toString();\n }\n \n return str;\n }",
"private StringBuilder inputStreamToString(InputStream is) {\n \t String line = \"\";\n \t StringBuilder total = new StringBuilder();\n \t \n \t // Wrap a BufferedReader around the InputStream\n \t BufferedReader rd = new BufferedReader(new InputStreamReader(is));\n \n \t // Read response until the end\n \t try {\n \t\t\twhile ((line = rd.readLine()) != null) { \n \t\t\t total.append(line); \n \t\t\t}\n \t\t} catch (IOException e) {\n \t\t\te.printStackTrace();\n \t\t}\n \t \n \t // Return full string\n \t return total;\n \t}",
"static void readRequest(InputStream is) throws IOException {\n out.println(\"starting readRequest\");\n byte[] buf = new byte[1024];\n String s = \"\";\n while (true) {\n int n = is.read(buf);\n if (n <= 0)\n throw new IOException(\"Error\");\n s = s + new String(buf, 0, n);\n if (s.indexOf(\"\\r\\n\\r\\n\") != -1)\n break;\n }\n out.println(\"returning from readRequest\");\n }",
"private static String readStream(InputStream is, String charsetName) throws UnsupportedEncodingException, IOException {\r\n StringBuffer sb = new StringBuffer();\r\n byte[] buffer = new byte[1024];\r\n int length = 0;\r\n while ((length = is.read(buffer)) != -1) {\r\n sb.append(new String(buffer, 0, length, charsetName));\r\n }\r\n return sb.toString();\r\n }",
"private static String readFromStream(InputStream inputStream) {\n StringBuilder outputString = new StringBuilder();\n if (inputStream != null) {\n InputStreamReader inputStreamReader = new InputStreamReader(inputStream, Charset.forName(\"UTF-8\"));\n BufferedReader reader = new BufferedReader(inputStreamReader);\n try {\n String line = reader.readLine();\n while (line != null) {\n outputString.append(line);\n line = reader.readLine();\n }\n } catch (IOException e) {\n Log.e(LOG_TAG, \"Error reading line from reader, readFromStream() block\", e);\n }\n }\n return outputString.toString();\n }",
"public static String read(InputStream in) throws IOException {\n\t\tStringBuilder result = new StringBuilder();\n\t try {\n\t byte[] buf = new byte[1024]; int r = 0;\n\t while ((r = in.read(buf)) != -1) {result.append(new String(buf, 0, r));}\n\t } finally { in.close();}\n\t\tString text=result.toString();\n\t\treturn text;\n\t}",
"public abstract SeekInputStream getRawInput();",
"InputStream mo1151a();",
"StreamReader underlyingReader();",
"public InputStream getIn() {\n\t\treturn proc.getInputStream();\n\t}",
"private InputStream openContentStream() {\n\t\tString contents =\n\t\t\t\"This is the initial file contents for *.opera file that should be word-sorted in the Preview page of the multi-page editor\";\n\t\treturn new ByteArrayInputStream(contents.getBytes());\n\t}",
"public String readIt(InputStream stream, int len) throws IOException, UnsupportedEncodingException {\n Reader reader = null;\n reader = new InputStreamReader(stream, \"UTF-8\");\n char[] buffer = new char[len];\n reader.read(buffer);\n return new String(buffer);\n }",
"protected final InputStream getStream() { return _inputSource; }",
"public static String readFile(InputStream in) throws IOException {\n final StringBuffer sBuffer = new StringBuffer();\n final BufferedReader br = new BufferedReader(new InputStreamReader(in));\n final char[] buffer = new char[1024];\n\n int cnt;\n while ((cnt = br.read(buffer, 0, buffer.length)) > -1) {\n sBuffer.append(buffer, 0, cnt);\n }\n br.close();\n in.close();\n return sBuffer.toString();\n }",
"public InputStream getStream() {\n\t\treturn this.in;\n\t}",
"static String convertStreamToString(java.io.InputStream is) {\n java.util.Scanner s = new java.util.Scanner(is).useDelimiter(\"\\\\A\");\n return s.hasNext() ? s.next() : \"\";\n }",
"static String convertStreamToString(java.io.InputStream is) {\n java.util.Scanner s = new java.util.Scanner(is).useDelimiter(\"\\\\A\");\n return s.hasNext() ? s.next() : \"\";\n }",
"public abstract InputStream openStream(String str);",
"private ObjectInputStream getInputStream() {\n\t\t// retornamos el stream de entrada\n\t\treturn this.inputStream;\n\t}",
"String read();",
"String read();",
"@NonNull\n public static String getStringFrom(InputStream inputStream) {\n StringBuffer dataStringBuffer = new StringBuffer(\"\");\n try {\n InputStreamReader isr = new InputStreamReader(inputStream);\n BufferedReader bufferedReader = new BufferedReader(isr);\n String readString = bufferedReader.readLine();\n while (readString != null) {\n dataStringBuffer.append(readString);\n readString = bufferedReader.readLine();\n }\n isr.close();\n } catch (IOException ioe) {\n ioe.printStackTrace();\n }\n return dataStringBuffer.toString();\n }",
"public String StreamToString(InputStream is) {\r\n //Creamos el Buffer\r\n BufferedReader reader =\r\n new BufferedReader(new InputStreamReader(is));\r\n StringBuilder sb = new StringBuilder();\r\n String line = null;\r\n try {\r\n //Bucle para leer todas las líneas\r\n //En este ejemplo al ser solo 1 la respuesta\r\n //Pues no haría falta\r\n while((line = reader.readLine())!=null){\r\n sb.append(line);\r\n }\r\n } catch (IOException e) {\r\n e.printStackTrace();\r\n } finally {\r\n try {\r\n is.close();\r\n } catch (IOException e) {\r\n e.printStackTrace();\r\n }\r\n }\r\n //retornamos el codigo límpio\r\n return sb.toString();\r\n }",
"private String getBody(InputStream stream) throws IOException {\r\n\t\t// retrieve response body\r\n\t\tBufferedReader br = null;\r\n\r\n\t\ttry {\r\n\t\t\tbr = new BufferedReader(new InputStreamReader(stream));\r\n\t\t\tStringBuffer buffer = new StringBuffer();\r\n\t\t\tString line;\r\n\r\n\t\t\twhile ((line = br.readLine()) != null) {\r\n\t\t\t\tbuffer.append(line);\r\n\t\t\t}\r\n\r\n\t\t\treturn buffer.toString();\r\n\t\t} finally {\r\n\t\t\tif (br != null) {\r\n\t\t\t\tbr.close();\r\n\t\t\t}\r\n\t\t}\r\n\t}",
"public abstract InputStream getInputStream() throws AccessException;",
"public InputStream getInputStream()\r\n\t{\r\n\t\treturn this.inputStream;\r\n\t}",
"public static String read(InputStream input) throws Exception {\r\n\t\treader.setInput(input);\r\n\t\treader.setCharset(\"UTF-8\");\r\n\t\treturn reader.read();\r\n\t}",
"String getContents();",
"@Override\n\tpublic void read(InStream inStream) {\n\t}",
"private String read() {\n\n String s = \"\";\n\n try {\n // Check if there are bytes available\n if (inStream.available() > 0) {\n\n // Read bytes into a buffer\n byte[] inBuffer = new byte[1024];\n int bytesRead = inStream.read(inBuffer);\n\n // Convert read bytes into a string\n s = new String(inBuffer, \"ASCII\");\n s = s.substring(0, bytesRead);\n }\n\n } catch (Exception e) {\n Log.e(TAG, \"Read failed!\", e);\n }\n\n return s;\n }",
"String getContent() throws IOException;",
"byte[] getContent() throws IOException;",
"private String stringFromInputStream(InputStream instream) throws IOException {\n StringBuilder sb = new StringBuilder(\"\");\n if (instream == null) {\n logger.warn(\"Input stream is null.\");\n return sb.toString();\n }\n BufferedReader bufreader = new BufferedReader(new InputStreamReader(instream));\n String line = \"\";\n while ((line = bufreader.readLine()) != null) {\n sb.append(line);\n sb.append(LINE_SEPARATOR);\n }\n return sb.toString();\n }",
"public InputStream getInputStream() {\n return inputStream;\n }",
"public InputStream getInputStream() {\n return inputStream;\n }",
"public void processStreamInput() {\n }",
"private static String stringFromInputStream(InputStream inIS) {\n\n if (inIS == null) {\n return null;\n }\n StringBuffer outBuffer = new StringBuffer();\n InputStreamReader isr = null;\n BufferedReader input = null;\n try {\n String line = null;\n isr = new InputStreamReader(inIS);\n input = new BufferedReader(isr);\n while ((line = input.readLine()) != null) {\n if (line.indexOf(\"//\") == -1) {\n outBuffer.append(line);\n outBuffer.append(System.getProperty(\"line.separator\"));\n }\n }\n } catch (IOException ioe) {\n log.error(\"Unable to read from InputStream or write to output buffer\");\n ioe.printStackTrace();\n outBuffer = null;\n }\n try {\n isr.close();\n input.close();\n inIS.close();\n } catch (IOException ioe) {\n log.error(\"InputStream could not be closed\");\n ioe.printStackTrace();\n }\n if (outBuffer == null) {\n return null;\n } else {\n return outBuffer.toString();\n }\n\n }",
"public static\n InputStream inputStream() {\n return Input.wrappedInputStream;\n }",
"public static String inputStreamToString(InputStream is) {\n\n BufferedReader br = null;\n StringBuilder sb = new StringBuilder();\n\n String line;\n try {\n\n br = new BufferedReader(new InputStreamReader(is));\n while ((line = br.readLine()) != null) {\n sb.append(line);\n }\n\n } catch (IOException e) {\n\n return null;\n\n } finally {\n if (br != null) {\n try {\n br.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n }\n\n return sb.toString();\n\n }",
"public String read();",
"public abstract InputStream mo131998b();",
"public InputStream getStream(URL url) throws IOException {\n return engine.getStream(url);\n }",
"public InputStream getInputStream() throws IOException {\n return body.getInputStream();\n }"
]
| [
"0.758261",
"0.75100696",
"0.74614257",
"0.74614257",
"0.74614257",
"0.73918605",
"0.73799515",
"0.73799515",
"0.727769",
"0.72763294",
"0.72656417",
"0.72656417",
"0.72359574",
"0.72069",
"0.72007895",
"0.7127599",
"0.7089482",
"0.7019907",
"0.6956826",
"0.69523233",
"0.69523233",
"0.6819869",
"0.6801243",
"0.6716876",
"0.67091733",
"0.6708546",
"0.67015326",
"0.6685164",
"0.66847336",
"0.6638353",
"0.6625184",
"0.6584913",
"0.6584392",
"0.65515435",
"0.6539385",
"0.6527098",
"0.6510311",
"0.6504396",
"0.64765674",
"0.6466687",
"0.6462466",
"0.64580345",
"0.64551383",
"0.6450939",
"0.6441847",
"0.6426034",
"0.6425406",
"0.64148664",
"0.6377067",
"0.637005",
"0.6357518",
"0.6349845",
"0.6337123",
"0.6318039",
"0.629008",
"0.6286273",
"0.6280382",
"0.62762356",
"0.62739223",
"0.6261815",
"0.62577283",
"0.62487143",
"0.62472284",
"0.62411195",
"0.6235569",
"0.6234691",
"0.6214502",
"0.6213201",
"0.62099546",
"0.6190792",
"0.6173612",
"0.61711156",
"0.6162712",
"0.6162712",
"0.61615163",
"0.6160518",
"0.6144926",
"0.6144926",
"0.6144229",
"0.6138175",
"0.6093402",
"0.6087091",
"0.60869706",
"0.60792774",
"0.60714453",
"0.60661525",
"0.6039424",
"0.6032231",
"0.6025165",
"0.6024412",
"0.602281",
"0.602281",
"0.6014336",
"0.60138565",
"0.6009407",
"0.5998184",
"0.59977895",
"0.5996637",
"0.5994836",
"0.59852004"
]
| 0.650693 | 37 |
Return the name of the file including the package path. | private String getFullJavaName(String contents, String fileName) throws AspireException{
BufferedReader reader = new BufferedReader(new StringReader(contents));
String line = null;
String fullname = null;
try{
while ((line = reader.readLine()) != null){
String newLine = line.trim();
if (newLine.startsWith("package ")){
String packageSplited[] = newLine.split("\\s+");
return packageSplited[1].substring(0, (packageSplited[1].length() - 1)) + "." + fileName;
}
}
}
catch (IOException e){
throw new AspireException("SubversionJavaParser.getFullJavaName", e, "Could not get java full name for file: %s", fileName);
}
return fullname;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getName() { return FilePathUtils.getFileName(getPath()); }",
"public String getName() {\n return _file.getAbsolutePath();\n }",
"java.lang.String getFileName();",
"java.lang.String getFileName();",
"java.lang.String getFileName();",
"java.lang.String getFileName();",
"java.lang.String getFileName();",
"java.lang.String getFileName();",
"java.lang.String getFileName();",
"java.lang.String getFileName();",
"java.lang.String getFileName();",
"public String getName() {\n return dtedDir + \"/\" + filename;\n }",
"public String getName()\n {\n return( file );\n }",
"public String filename() {\n int dot = fullPath.lastIndexOf(extensionSeparator);\n int sep = fullPath.lastIndexOf(pathSeparator);\n return fullPath.substring(sep + 1, dot);\n }",
"public static String fileName(File file)\n {\n if (file == Configuration.STD_OUT)\n {\n return \"standard output\";\n }\n else\n {\n try\n {\n return file.getCanonicalPath();\n }\n catch (IOException ex)\n {\n return file.getPath();\n }\n }\n }",
"private String fileName(ModuleReference mref) {\n URI uri = mref.location().orElse(null);\n if (uri != null) {\n if (uri.getScheme().equalsIgnoreCase(\"file\")) {\n Path file = Path.of(uri);\n return file.getFileName().toString();\n } else {\n return uri.toString();\n }\n } else {\n return \"<unknown>\";\n }\n }",
"public String getSimpleName() { return FilePathUtils.getFileName(_name); }",
"java.lang.String getFilename();",
"java.lang.String getFilename();",
"@Override\n\tpublic String getFilename() {\n\t\treturn this.path.getFileName().toString();\n\t}",
"public String filename() {\n\t int sep = fullPath.lastIndexOf(pathSeparator);\n\t return fullPath.substring(sep + 1);\n\t }",
"public String getNameFile(){\n\t\t\treturn this.nameFile;\n\t\t}",
"public String getFileName() {\n\t\treturn file.getFileName();\n\t}",
"@Nullable public String getFileName() {\n return getSourceLocation().getFileName();\n }",
"public final String getFileName() {\n\t\treturn m_info.getFileName();\n\t}",
"String getFileName();",
"String getFileName();",
"String getFileName();",
"String getFileName();",
"String getFileName();",
"@Override\n\tpublic String getName() {\n\t\treturn new File(relativePath).getName();\n\t}",
"public String getName() {\r\n return mFile.getName();\r\n }",
"public String getFileName()\n {\n return getJarfileName();\n }",
"public String getFileName() {\n\t\treturn file.getName();\n\t}",
"public String getFileName()\n {\n return getString(\"FileName\");\n }",
"protected String retrieveRbFile() {\r\n\t\tString className = this.getClass().getName();\r\n\t\tString packageName = this.getClass().getPackage().getName() + \".\";\r\n\t\treturn className.replaceFirst(packageName, \"\");\r\n\t}",
"public String getBundleFileName()\n {\n if ( bundleFileName == null )\n {\n bundleFileName = artifact.getFile().getName();\n }\n return bundleFileName;\n }",
"@Override\n\tpublic String getName()\n\t{\n\t\treturn fileName;\n\t}",
"public String fullFileName () {\n\t\tif (directory == null || directory.equals(\"\"))\n\t\t\treturn fileName;\n\t\telse\n\t\t\treturn directory + File.separator + fileName;\t//add a '\\' in the path\n\t}",
"String getFilename();",
"public String getName() {\n\t\treturn filename;\n\t}",
"public String getFileName() {\n return String.format(\"%s%o\", this.fileNamePrefix, getIndex());\n }",
"public String getFileName();",
"public String getFileName();",
"public final String getFileName() {\n\n\t\treturn getValue(FILE_NAME);\n\t}",
"public String getFileName()\r\n\t{\r\n\t\treturn settings.getFileName();\r\n\t}",
"public String getNameForFileSystem() {\r\n\t\treturn filename;\r\n\t}",
"public static String getFileName() {\n File base = new File(\"C:/Users/Steve/IdeaProjects/MiniJavaCompiler/samples/clean/\");\n File file = new File(inputFile);\n String relativePath = base.toURI().relativize(file.toURI()).getPath();\n return relativePath;\n }",
"public String filename(File f) {\r\n int dot = f.toString().lastIndexOf(\".\");\r\n int sep = f.toString().lastIndexOf(\"\\\\\");\r\n return f.toString().substring(sep + 1, dot);\r\n }",
"protected String getFileName()\n {\n return new StringBuilder()\n .append(getInfoAnno().filePrefix())\n .append(getName())\n .append(getInfoAnno().fileSuffix())\n .toString();\n }",
"String getFullWorkfileName();",
"public String getJarfileName()\n {\n return mcVersion.name() +'-'+name+'-'+modVersion;\n }",
"@Override\r\n\tpublic String getName() {\n\t\treturn \"C:/path/to/file/rdfSpecimen_2013-06-28.xml\";\r\n\t}",
"public String getName()\n\t{\n\t\treturn _fileName;\n\t}",
"public String getFilename() {\n\treturn file.getFilename();\n }",
"String getPackageName() {\n final int lastSlash = name.lastIndexOf('/');\n final String parentPath = name.substring(0, lastSlash);\n return parentPath.replace('/', '.');\n }",
"public String getNiceName()\n {\n String name = getBuildFile().getName();\n\n return Utility.replaceBadChars(name);\n }",
"public String getFileName() {\r\n \t\tif (isFileOpened()) {\r\n \t\t\treturn curFile.getName();\r\n \t\t} else {\r\n \t\t\treturn \"\";\r\n \t\t}\r\n \t}",
"public static String getName() {\n\t\treturn _asmFileStr;\n\t}",
"public String getFile_name() {\n\t\treturn file_name;\n\t}",
"public java.lang.String getFileName() {\n java.lang.Object ref = fileName_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n fileName_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public java.lang.String getFileName() {\n java.lang.Object ref = fileName_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n fileName_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public java.lang.String getFileName() {\n java.lang.Object ref = fileName_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n fileName_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public java.lang.String getFileName() {\n java.lang.Object ref = fileName_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n fileName_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public java.lang.String getFileName() {\n java.lang.Object ref = fileName_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n fileName_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public java.lang.String getFileName() {\n java.lang.Object ref = fileName_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n fileName_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public java.lang.String getFileName() {\n java.lang.Object ref = fileName_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n if (bs.isValidUtf8()) {\n fileName_ = s;\n }\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public java.lang.String getFileName() {\n java.lang.Object ref = fileName_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n if (bs.isValidUtf8()) {\n fileName_ = s;\n }\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public java.lang.String getFileName() {\n java.lang.Object ref = fileName_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n if (bs.isValidUtf8()) {\n fileName_ = s;\n }\n return s;\n }\n }",
"public java.lang.String getFileName() {\n java.lang.Object ref = fileName_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n if (bs.isValidUtf8()) {\n fileName_ = s;\n }\n return s;\n }\n }",
"private static String getPackageNameForPackageDirFile(WebFile aFile)\n {\n String filePath = aFile.getPath();\n return filePath.substring(1).replace('/', '.');\n }",
"public String getFileName ();",
"public String getFileName() {\n\t\t\n\t\tString result = null;\n\t\t\n\t\tif(this.exists() && !this.isDirectory())\n\t\t\tresult = this.get(this.lenght - 1);\n\t\t\n\t\treturn result;\n\t}",
"public static String getFileName()\r\n\t{\r\n\t\tString name = \"d3_\";\r\n\t\tjava.util.Date tNow = new java.util.Date();\r\n\r\n\t\tjava.text.SimpleDateFormat df = new java.text.SimpleDateFormat(\"mm_ss\");\r\n\r\n\t\tname = name + \"_\" + df.format(tNow) + \".wmf\";\r\n\r\n\t\treturn name;\r\n\t}",
"public String getFileName() {\n\t\treturn mItems.getJustFileName();\n\t}",
"public String getFileRealName() {\n return fileRealName;\n }",
"public String getRuntimeName() {\r\n\t\tfinal StringBuffer runtimeName = new StringBuffer();\r\n\t\tfinal String name = this.getName();\r\n\t\tfinal Package packagee = this.getPackage();\r\n\t\tfinal String packageName = null == packagee ? null : packagee.getName();\r\n\t\tString nameLessPackageName = name;\r\n\r\n\t\tif (false == Tester.isNullOrEmpty(packageName)) {\r\n\t\t\truntimeName.append(packageName);\r\n\t\t\truntimeName.append('.');\r\n\r\n\t\t\tnameLessPackageName = name.substring(packageName.length() + 1);\r\n\t\t}\r\n\r\n\t\tnameLessPackageName = nameLessPackageName.replace('.', '$');\r\n\t\truntimeName.append(nameLessPackageName);\r\n\r\n\t\treturn runtimeName.toString();\r\n\t}",
"public java.lang.String getFileName() {\n java.lang.Object ref = fileName_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n fileName_ = s;\n return s;\n }\n }",
"public java.lang.String getFileName() {\n java.lang.Object ref = fileName_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n fileName_ = s;\n return s;\n }\n }",
"public java.lang.String getFileName() {\n java.lang.Object ref = fileName_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n fileName_ = s;\n return s;\n }\n }",
"public java.lang.String getFileName() {\n java.lang.Object ref = fileName_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n fileName_ = s;\n return s;\n }\n }",
"public java.lang.String getFileName() {\n java.lang.Object ref = fileName_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n fileName_ = s;\n return s;\n }\n }",
"public java.lang.String getFileName() {\n java.lang.Object ref = fileName_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n fileName_ = s;\n return s;\n }\n }",
"public String getFileName() {\n return getCellContent(FILE).split(FILE_LINE_SEPARATOR)[0];\n }",
"public String getSimpleName() {\r\n final int startFileName = fileName.lastIndexOf(File.separator) + 1;\r\n if (startFileName < 0) {\r\n return fileName;\r\n } else {\r\n return fileName.substring(startFileName, fileName.length());\r\n }\r\n }",
"public String getName(){\n return(hackerFile.getName());\n }",
"public String getFilename();",
"@Override\n\tpublic java.lang.String getSrcFileName() {\n\t\treturn _scienceApp.getSrcFileName();\n\t}",
"public String GetFileName() {\r\n\treturn fileName;\r\n }",
"String getPathName();",
"String getPathName();",
"public String fileName () {\n\t\treturn fileName;\n\t}",
"public String getName() {\n return Utility.getInstance().getPackageName();\n }",
"private String nakedFileName() {\n return f.getName().split(\"\\\\.\")[0];\n }",
"public final String getFileName() {\n return this.fileName;\n }",
"String getShortName() {\n final int lastSlash = name.lastIndexOf('/');\n final String fileName = name.substring(lastSlash + 1);\n final int lastDot = fileName.lastIndexOf('.');\n return fileName.substring(0, lastDot);\n }",
"public String getFinalFileName()\r\n\t{\r\n\t\treturn this.getFileName() + this.getFileFormat();\r\n\t}",
"public String getFileName(){\r\n\t\treturn linfo != null ? linfo.getFileName() : \"\";\r\n\t}",
"public java.lang.String getFilename() {\n java.lang.Object ref = filename_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n filename_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public java.lang.String getFilename() {\n java.lang.Object ref = filename_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n filename_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public String getPathName()\n {\n return getString(\"PathName\");\n }"
]
| [
"0.7708326",
"0.7590943",
"0.7375147",
"0.7375147",
"0.7375147",
"0.7375147",
"0.7375147",
"0.7375147",
"0.7375147",
"0.7375147",
"0.7375147",
"0.73267925",
"0.7272395",
"0.72025937",
"0.718214",
"0.71706474",
"0.71424603",
"0.7118014",
"0.7118014",
"0.70908785",
"0.7079672",
"0.7078895",
"0.70409346",
"0.7030055",
"0.70200366",
"0.70000875",
"0.70000875",
"0.70000875",
"0.70000875",
"0.70000875",
"0.697992",
"0.6977109",
"0.6949272",
"0.6937263",
"0.68931556",
"0.6871511",
"0.68449885",
"0.68368316",
"0.68104166",
"0.68089163",
"0.6801802",
"0.67944807",
"0.6787969",
"0.6787969",
"0.67846227",
"0.6780295",
"0.6748638",
"0.6744122",
"0.6743239",
"0.67336047",
"0.6706999",
"0.6705709",
"0.6696553",
"0.6690672",
"0.66798747",
"0.6652138",
"0.66460395",
"0.6645312",
"0.6639383",
"0.661491",
"0.6603436",
"0.6603436",
"0.6603436",
"0.6603436",
"0.6603436",
"0.6603436",
"0.6592988",
"0.6592988",
"0.6592953",
"0.6592953",
"0.65898585",
"0.6580434",
"0.6576161",
"0.6574371",
"0.6569404",
"0.6560985",
"0.6557909",
"0.65576375",
"0.65576375",
"0.65576375",
"0.65576375",
"0.65576375",
"0.65576375",
"0.6553955",
"0.6549153",
"0.6545629",
"0.6532125",
"0.65243363",
"0.6512112",
"0.6494494",
"0.6494494",
"0.6480758",
"0.6451681",
"0.6433328",
"0.6422479",
"0.6409329",
"0.6405637",
"0.6405612",
"0.640084",
"0.640084",
"0.63971895"
]
| 0.0 | -1 |
This function extracts the class name from the file name. | private String getClassName(String fileName){
String className = FilenameUtils.getBaseName(fileName);
return className;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private static String getClassNameForClassFile(WebFile aFile)\n {\n String filePath = aFile.getPath();\n String filePathNoExtension = filePath.substring(1, filePath.length() - 6);\n String className = filePathNoExtension.replace('/', '.');\n return className;\n }",
"private String filePathToClassname(File file) {\n return file.getPath().replace(\".class\", \"\")\n .replace(\"/\", \".\")\n .replace(\"\\\\\", \".\");\n }",
"public String getClassName(String path);",
"private String getClassname() {\r\n\t\tString classname = this.getClass().getName();\r\n\t\tint index = classname.lastIndexOf('.');\r\n\t\tif (index >= 0)\r\n\t\t\tclassname = classname.substring(index + 1);\r\n\t\treturn classname;\r\n\t}",
"private static String extractClassName(String classNameWithExtension) {\n\n\t\treturn classNameWithExtension.replace(classExtension, \"\");\n\t}",
"private String getClassName( Class c ) {\n\treturn c.getName().substring(c.getName().lastIndexOf('.')+1);\n }",
"java.lang.String getClassName();",
"private String checkName(String filename,int start_off){\n String name=FilenameUtil.setForwardSlash(filename);\n\n // check that it is a possibility\n if(name==null || name.length()<=0) return null;\n if(name.indexOf(matchname)<0) \n if( name.indexOf( matchname1) < 0) return null;\n if(! name.endsWith(\".class\") ) return null;\n if(name.indexOf(\"$\")>name.lastIndexOf(\"/\")) return null;\n \n // chop off the class part\n name=name.substring(start_off,name.length()-6);\n name=name.replace('/','.');\n \n return name;\n }",
"private static String getSimpleClassName(String className) {\n\n\n\t\tString[] names = className.split(\"\\\\.\");\n\n\t\tfor (int i = 0; i < names.length; i++) {\n\t\t\tLog.d(\"\", \"names =\" + names[i]);\n\t\t}\n\n\t\treturn names[names.length - 1];\n\t}",
"public static String getClassNameFromFile(final File classesDir, File file) {\n\t\tString name = file.getPath().substring(classesDir.getPath().length() + 1).replace('/', '.').replace('\\\\', '.');\n\t\tname = name.substring(0, name.length() - 6);\n\t\treturn name;\n\t}",
"public String getClassName(final String fullClassName) {\r\n\t\tint lastIndexPoint = fullClassName.lastIndexOf(\".\");\r\n\t\tString resultClassName = fullClassName.substring(lastIndexPoint + 1,\r\n\t\t\t\tfullClassName.length());\r\n\t\treturn resultClassName;\r\n\t}",
"private static String convertToQualifiedName(final String fileName) {\n final String replacedSeparators = fileName.replace(File.separatorChar, '.');\n return replacedSeparators.substring(0, replacedSeparators.length() - \".class\".length());\n }",
"public ClassFile getClassFile(String name) throws IOException {\n if (name.indexOf('.') > 0) {\n int i = name.lastIndexOf('.');\n String pathname = name.replace('.', File.separatorChar) + \".class\";\n if (baseFileName.equals(pathname) ||\n baseFileName.equals(pathname.substring(0, i) + \"$\" +\n pathname.substring(i+1, pathname.length()))) {\n return readClassFile(path);\n }\n } else {\n if (baseFileName.equals(name.replace('/', File.separatorChar) + \".class\")) {\n return readClassFile(path);\n }\n }\n return null;\n }",
"String getClassName();",
"String getClassName();",
"String getClassName();",
"private static String typeName(File file) {\r\n String name = file.getName();\r\n int split = name.lastIndexOf('.');\r\n\r\n return (split == -1) ? name : name.substring(0, split);\r\n }",
"private static String getFQClassName(final String root, final String path) {\r\n\t\t//Remove root from front of path and \".class\" from end of path\r\n\t\tString trimmed = path.substring(path.indexOf(root) + root.length(), path.indexOf(\".class\"));\r\n\t\t\r\n\t\t//Replace backslashes with periods\r\n\t\treturn trimmed.replaceAll(Matcher.quoteReplacement(\"\\\\\"), \".\");\r\n\t}",
"protected static String getResourceName(final String classname) {\n return classname.replace('.', '/') + \".class\";\n }",
"public String getClassName() {\n\t\tString tmp = methodBase();\n\t\treturn tmp.substring(0, 1).toUpperCase()+tmp.substring(1);\n\t}",
"public static final String getUnqualifiedClassName(ClassFile cf, short cpIndex) {\n ClassInfo ci = (ClassInfo) cf.getCpInfo(cpIndex);\n short nameIndex = ci.nameIndex;\n String className = getUtf8(cf, nameIndex);\n /*if (className != null) {\n int i = className.lastIndexOf('.');\n return i != -1 ? className.substring(i + 1) : className;\n } else {\n return null;\n }*/\n int i;\n return className != null && (i = className.lastIndexOf('/')) >= 0 ? className.substring(i + 1) : className;\n }",
"public String getSimpleName() {\r\n final int startFileName = fileName.lastIndexOf(File.separator) + 1;\r\n if (startFileName < 0) {\r\n return fileName;\r\n } else {\r\n return fileName.substring(startFileName, fileName.length());\r\n }\r\n }",
"public final String toStringClassName() {\r\n \t\tString str = this.getClass().getName();\r\n \t\tint lastIx = str.lastIndexOf('.');\r\n \t\treturn str.substring(lastIx+1);\r\n \t}",
"String getClassName(Element e) {\n // e has to be a TypeElement\n TypeElement te = (TypeElement)e;\n String packageName = elementUtils.getPackageOf(te).getQualifiedName().toString();\n String className = te.getQualifiedName().toString();\n if (className.startsWith(packageName + \".\")) {\n String classAndInners = className.substring(packageName.length() + 1);\n className = packageName + \".\" + classAndInners.replace('.', '$');\n }\n return className;\n }",
"private String jarName(){\n // determine the name of this class\n String className=\"/\"+this.getClass().getName().replace('.','/')+\".class\";\n // find out where the class is on the filesystem\n String classFile=this.getClass().getResource(className).toString();\n\n if( (classFile==null) || !(classFile.startsWith(\"jar:\")) ) return null;\n \n // trim out parts and set this to be forwardslash\n classFile=classFile.substring(5,classFile.indexOf(className));\n classFile=FilenameUtil.setForwardSlash(classFile);\n\n // chop off a little bit more\n classFile=classFile.substring(4,classFile.length()-1);\n \n return FilenameUtil.URLSpacetoSpace(classFile);\n }",
"private static String getClassName() {\n\n\t\tThrowable t = new Throwable();\n\n\t\ttry {\n\t\t\tStackTraceElement[] elements = t.getStackTrace();\n\n\t\t\t// for (int i = 0; i < elements.length; i++) {\n\t\t\t//\n\t\t\t// }\n\n\t\t\treturn elements[2].getClass().getSimpleName();\n\n\t\t} finally {\n\t\t\tt = null;\n\t\t}\n\n\t}",
"protected static String getSimpleName(Class<?> c) {\n String name = c.getName();\n return name.substring(name.lastIndexOf(\".\") + 1);\n }",
"public static String getClass(String element) {\n return element.substring(element.lastIndexOf('.') + 1);\n }",
"abstract String getClassName();",
"public String getClassName();",
"@NotNull\n public static String getClassName(@NotNull File classes, @NotNull File file) {\n return getRelativePath(file, classes).split(\"\\\\.class\")[0].replace(File.separatorChar, '.');\n }",
"public static String parseSortClassName(final String name) {\n final int index = name.lastIndexOf('.');\n return name.substring(index + 1, name.length());\n }",
"public String extractName(String line) {\n\t\t// Linux case\n\t\tif (line.contains(\"/\")) {\n\t\t\treturn line.substring(line.lastIndexOf(\"/\") + 1, line.indexOf(\".\"));\n\t\t}\n\t\t// Root dir case\n\t\treturn line.substring(1, line.indexOf(\".\")).trim();\n\t}",
"private String fixClassName(String strClassName) {\r\n\t\tstrClassName = strClassName.replace('\\\\', '.');\r\n\t\tstrClassName = strClassName.replace('/', '.');\r\n\t\tstrClassName = strClassName.substring(0, strClassName.length() - 6);\r\n\t\t// remove \".class\"\r\n\t\treturn strClassName;\r\n\t}",
"public static final String getFullyQualifiedClassName(ClassFile cf, short cpIndex) {\n ClassInfo ci = (ClassInfo) cf.getCpInfo(cpIndex);\n short nameIndex = ci.nameIndex;\n String className = getUtf8(cf, nameIndex);\n return className != null ? className.replace('/', '.') : null;\n }",
"private String getSimpleName(String name) {\n\t\tint i = name.lastIndexOf(\".\");\n\t\treturn name.substring(i + 1);\n\t}",
"public String getClassname() {\n return classname;\n }",
"public String getSimpleName() { return FilePathUtils.getFileName(_name); }",
"public abstract String getClassName();",
"public String getClassname() {\n\t\treturn classname;\n\t}",
"private String getEntryName( File file, String prefix ) {\n String name = file .getName();\n if ( ! name .endsWith( \".class\" ) ) {\n // see if the file is in fact a .class file, and determine its actual name.\n try {\n InputStream input = new FileInputStream( file );\n String className = ClassNameReader .getClassName( input );\n input .close();\n if ( className != null ) {\n return className .replace( '.', '/' ) + \".class\";\n }\n } catch( IOException ioe ) {}\n }\n System.out.println(\"From \" + file.getPath() + \" and prefix \" + prefix + \", creating entry \" + prefix+name);\n return (prefix + name);\n }",
"protected String getClassName() {\r\n return newName.getText();\r\n }",
"public String getClassname(Class<?> aClass) {\n\t\tString result = aClass.getCanonicalName();\n\t\tif (result.endsWith(\"[]\")) {\n\t\t\tresult = result.substring(0, result.length() - 2);\n\t\t}\n\t\treturn result;\n\t}",
"public static String getClassNameNoPackage(Class<?> aClass) {\n \t\n String fullClassName = aClass.getName();\n int index = fullClassName.lastIndexOf('.');\n String className = null;\n \n //in this case, there is no package name\n if(index==-1) {\n \treturn fullClassName;\n }\n else {\n className = fullClassName.substring(index+1);\n return className;\n } \n }",
"@Override\n\tprotected Class<?> findClass(String name) throws ClassNotFoundException {\n\t\tFile file = new File(getSimpleName(name) + \".class\");\n FileInputStream fis = null;\n Class<?> clazz = null;\n try {\n fis = new FileInputStream(file);\n int content = 0;\n int i = 0;\n byte[] data = new byte[fis.available()];\n while ((content = fis.read()) != -1) {\n // convert to char and display it\n data[i] = (byte) content;\n i++;\n }\n clazz = defineClass(name, data, 0, data.length);\n } catch (IOException e) {\n e.printStackTrace();\n } finally {\n try {\n if (fis != null)\n fis.close();\n } catch (IOException ex) {\n \t\tex.printStackTrace();\n \t}\n }\n return clazz;\n\t}",
"java.lang.String getClass_();",
"java.lang.String getClass_();",
"private String getFileName(String eingabe) {\n\t\tString[] words = eingabe.split(\" \");\n\t\tfor (int i = 0; i < words.length; i++) {\n\t\t\tif (words[i].equals(\"public\") && i <= words.length) {\n\t\t\t\tif (words[i+1].equals(\"class\") && i+1 <= words.length) {\n\t\t\t\t\treturn words[i+2];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\treturn null;\n\t}",
"protected String getFullyQualifiedClassName(String classname)\n {\n return classname.contains(\".\") ? classname : \"org.apache.cassandra.hadoop.\" + classname;\n }",
"public String getCurrentClassName () {\n String currentClass = getCurrentElement(ElementKind.CLASS);\n if (currentClass == null) return \"\";\n else return currentClass;\n }",
"IArenaClass getClass(final String name);",
"public String getClassname()\r\n {\r\n return m_classname;\r\n }",
"private File getClassFile(String name) {\n File file = new File(\"/Users/dingchenchen/Downloads/Test.class\");\n return file;\n }",
"protected String getClassName(Object o) {\n\t\tString classString = o.getClass().getName();\n\t\tint dotIndex = classString.lastIndexOf(\".\");\n\n\t\treturn classString.substring(dotIndex + 1);\n\t}",
"private static String resolveName(@Nonnull final Class<?> clazz) {\n\t\tfinal String n = clazz.getName();\n\t\tfinal int i = n.lastIndexOf('.');\n\t\treturn i > 0 ? n.substring(i + 1) : n;\n\t}",
"public void testClassName() {\n\t\tClassName name = this.compiler.createClassName(\"test.Example\");\n\t\tassertEquals(\"Incorrect package\", \"generated.officefloor.test\", name.getPackageName());\n\t\tassertTrue(\"Incorrect class\", name.getClassName().startsWith(\"Example\"));\n\t\tassertEquals(\"Incorrect qualified name\", name.getPackageName() + \".\" + name.getClassName(), name.getName());\n\t}",
"public String getName_Class() {\n\t\treturn name;\n\t}",
"public static final String toJavaClass( String className ) {\n if ( className.endsWith( \".class\" ) ) {\n className = className.substring( 0, className.length() - 6 );\n }\n return className.replace( '/', '.' );\n }",
"@Override\n public String getClassName() {\n Object ref = className_;\n if (ref instanceof String) {\n return (String) ref;\n } else {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n String s = bs.toStringUtf8();\n className_ = s;\n return s;\n }\n }",
"String getClassName() {\n final StringBuilder builder = new StringBuilder();\n final String shortName = getShortName();\n boolean upperCaseNextChar = true;\n for (final char c : shortName.toCharArray()) {\n if (c == '_' || c == '-') {\n upperCaseNextChar = true;\n continue;\n }\n\n if (upperCaseNextChar) {\n builder.append(Character.toUpperCase(c));\n upperCaseNextChar = false;\n } else {\n builder.append(c);\n }\n }\n builder.append(\"Messages\");\n return builder.toString();\n }",
"public static String toClassName(String name)\r\n {\r\n return toCamelCase(name);\r\n }",
"public static String formatNameForClassLoading(String name) {\n if (name == null) {\n return \"java.lang.Object;\";\n }\n\n if (name.equals(\"int\")\n || name.equals(\"long\")\n || name.equals(\"short\")\n || name.equals(\"float\")\n || name.equals(\"double\")\n || name.equals(\"byte\")\n || name.equals(\"char\")\n || name.equals(\"boolean\")\n || name.equals(\"void\")\n ) {\n return name;\n }\n\n if (name.startsWith(\"[\")) {\n return name.replace('/', '.');\n }\n\n if (name.startsWith(\"L\")) {\n name = name.substring(1);\n if (name.endsWith(\";\")) {\n name = name.substring(0, name.length() - 1);\n }\n return name.replace('/', '.');\n }\n\n String prefix = \"\";\n if (name.endsWith(\"[]\")) { // todo need process multi\n prefix = \"[\";\n name = name.substring(0, name.length() - 2);\n if (name.equals(\"int\")) {\n return prefix + \"I\";\n } else if (name.equals(\"long\")) {\n return prefix + \"J\";\n } else if (name.equals(\"short\")) {\n return prefix + \"S\";\n } else if (name.equals(\"float\")) {\n return prefix + \"F\";\n } else if (name.equals(\"double\")) {\n return prefix + \"D\";\n } else if (name.equals(\"byte\")) {\n return prefix + \"B\";\n } else if (name.equals(\"char\")) {\n return prefix + \"C\";\n } else if (name.equals(\"boolean\")) {\n return prefix + \"Z\";\n } else {\n return prefix + \"L\" + name.replace('/', '.') + \";\";\n }\n }\n return name.replace('/', '.');\n\n }",
"public static String getQualifier(String className) {\n \tString name = className;\n \tif (name.indexOf('<') >= 0) {//is generic class?\n \t\tname = erase(name);\n \t}\n int index = name.lastIndexOf('.');\n return (index < 0) ? null : name.substring(0, index);\n }",
"public String getClassName() {\n Object ref = className_;\n if (!(ref instanceof String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n String s = bs.toStringUtf8();\n className_ = s;\n return s;\n } else {\n return (String) ref;\n }\n }",
"public String getClassName() { return className; }",
"public String getBinaryClassName() {\n\t\tString bcn = classQName.dotSeparated();\n\t\t// Inner classes not supported yet\n\t\tassert(!bcn.contains(\"$\"));\n\t\treturn bcn;\n\t}",
"public static String getCurrentClassName(){\n\t\tString s2 = Thread.currentThread().getStackTrace()[2].getClassName();\n// System.out.println(\"s0=\"+s0+\" s1=\"+s1+\" s2=\"+s2);\n\t\t//s0=java.lang.Thread s1=g1.tool.Tool s2=g1.TRocketmq1Application\n\t\treturn s2;\n\t}",
"public String getClazzName();",
"com.google.protobuf.ByteString\n getClassNameBytes();",
"public static final String toInternalClass( String className ) {\n if ( className.endsWith( \".class\" ) ) {\n className = className.substring( 0, className.length() - 6 );\n }\n return className.replace( '.', '/' );\n }",
"public String getName() {\n return className;\n }",
"public JPClass getParsedClass(File f) throws Exception;",
"@Override\n\tpublic String getMainClassName() throws IOException {\n\t\tlog.debug(\"getMainClassName()\");\n\t\treturn mainClassName;\n\t}",
"protected String getClassName() {\n return getDescriptedClass().getName();\n }",
"private ClassName getClassName(String rClass, String resourceType) {\n ClassName className = rClassNameMap.get(rClass);\n\n if (className == null) {\n Element rClassElement = getElementByName(rClass, elementUtils, typeUtils);\n\n String rClassPackageName =\n elementUtils.getPackageOf(rClassElement).getQualifiedName().toString();\n className = ClassName.get(rClassPackageName, \"R\", resourceType);\n\n rClassNameMap.put(rClass, className);\n }\n\n return className;\n }",
"private String getClassNameInStructureHandle(String structureHandle) {\n\t\tString className = \"\";\n\t\tif (structureHandle.contains(\"[\")) {\n\t\t\tint index = structureHandle.indexOf(\"[\");\n\t\t\tString substring = structureHandle.substring(index + 1);\n\t\t\tif (!substring.contains(\"[\")) {\n\t\t\t\tif (substring.contains(\"~\")) {\n\t\t\t\t\tclassName = substring.substring(0, substring.indexOf(\"~\"));\n\t\t\t\t} else {\n\t\t\t\t\tclassName = substring;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tint index2 = substring.indexOf(\"[\");\n\t\t\t\tif (substring.contains(\"~\")) {\n\t\t\t\t\tint indexOfMethod = substring.indexOf(\"~\");\n\t\t\t\t\tif (indexOfMethod < index2) {\n\t\t\t\t\t\tclassName = substring.substring(0, indexOfMethod);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tString subsubstring = substring.substring(index2 + 1);\n\t\t\t\t\t\tclassName = subsubstring.substring(0,\n\t\t\t\t\t\t\t\tsubsubstring.indexOf(\"~\"));\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tString subsubstring = substring.substring(index2 + 1);\n\t\t\t\t\tclassName = subsubstring;\n\t\t\t\t}\n\t\t\t}\n\t\t} else if (structureHandle.contains(\"{\")) {\n\t\t\tint index = structureHandle.indexOf(\"{\");\n\n\t\t\tclassName = structureHandle.substring(index + 1,\n\t\t\t\t\tstructureHandle.lastIndexOf(\".\"));\n\n\t\t}\n\t\treturn className;\n\t}",
"private static List<Class<?>>\n getClassNameFromFile(String path, String packageName, boolean isRecursion, String postfix) {\n List<Class<?>> lct = new ArrayList<>();\n\n try {\n path = java.net.URLDecoder.decode(\n new String(path.getBytes(\"ISO-8859-1\"),\"UTF-8\"),\"UTF-8\");\n\n File file =new File(path);\n File[] files = file.listFiles();\n\n for (File childFile : files) {\n if (childFile.isDirectory()) {\n if (isRecursion) {\n lct.addAll(getClassNameFromFile(childFile.getPath(),\n packageName + \".\" +childFile.getName(), isRecursion, postfix));\n }\n } else {\n String fileName = childFile.getName();\n if (fileName.endsWith(postfix) && !fileName.contains(\"$\")) {\n System.out.println(fileName);\n lct.add(Class.forName(packageName + \".\" + fileName.replace(\".class\", \"\")));\n }\n }\n }\n }catch (UnsupportedEncodingException | ClassNotFoundException e) {\n e.printStackTrace();\n }\n return lct;\n }",
"private String getTypeFromExtension()\n {\n String filename = getFileName();\n String ext = \"\";\n\n if (filename != null && filename.length() > 0)\n {\n int index = filename.lastIndexOf('.');\n if (index >= 0)\n {\n ext = filename.substring(index + 1);\n }\n }\n\n return ext;\n }",
"com.google.protobuf.ByteString\n getClassNameBytes();",
"protected static String getClassName(String key){\n\t\tif(browser.equalsIgnoreCase(\"IE\"))\n\t\t\treturn systemProperties.getProperty(\"IE.\" + key);\n\t\telse if(browser.equalsIgnoreCase(\"FF\"))\n\t\t\treturn systemProperties.getProperty(\"FF.\" + key);\n\t\telse {\n\t\t\tlogger.error(\"Class for key <\" + key + \"> not found. Is it defined in \" + propertiesFileName);\n\t\t\tthrow new ScriptExecutionException(\"Class for key <\" + key + \"> not found. Is it defined in \" + propertiesFileName);\n\t\t}\n\t}",
"public static String convertInternalFormToQualifiedClassName(final String classInternalName) {\n String out = classInternalName.replaceAll(\"/\", \"\\\\.\");\n // Doesn't attempt to deal with inner classes etc yet...\n return out;\n }",
"public static Class<?> lenientClassForName(String className) throws ClassNotFoundException {\n try {\n return loadClass(className);\n } catch (ClassNotFoundException ignored) {\n // try replacing the last dot with a $, in case that helps\n // example: tutorial.Tutorial.Benchmark1 becomes tutorial.Tutorial$Benchmark1\n // amusingly, the $ character means three different things in this one line alone\n String newName = className.replaceFirst(\"\\\\.([^.]+)$\", \"\\\\$$1\");\n return loadClass(newName);\n }\n }",
"private static String getClassName (String label)\n {\n\tchar c;\n\tfor (int i = 0; i < label.length (); i++) {\n\t c = label.charAt (i);\n\t if (Character.isDigit (c)) {\n\t\treturn label.substring (0, i);\n\t }; // if\n\t}; // for\n\n\treturn label;\n\n }",
"public String getClassName (\n String url, \n int lineNumber\n ) {\n DataObject dataObject = getDataObject (url);\n if (dataObject == null) return null;\n JavaFXSource js = JavaFXSource.forFileObject(dataObject.getPrimaryFile());\n if (js == null) return \"\";\n EditorCookie ec = (EditorCookie) dataObject.getCookie(EditorCookie.class);\n if (ec == null) return \"\";\n StyledDocument doc;\n try {\n doc = ec.openDocument();\n } catch (IOException ex) {\n ErrorManager.getDefault().notify(ex);\n return \"\";\n }\n try {\n final int offset = NbDocument.findLineOffset(doc, lineNumber - 1);\n final String[] result = new String[] {\"\"};\n js.runUserActionTask(new CancellableTask<CompilationController>() {\n public void cancel() {\n }\n public void run(CompilationController ci) throws Exception {\n if (ci.toPhase(Phase.ANALYZED).lessThan(Phase.ANALYZED)) {\n ErrorManager.getDefault().log(ErrorManager.WARNING,\n \"Unable to resolve \"+ci.getCompilationUnit().getSourceFile()+\" to phase \"+Phase.ANALYZED+\", current phase = \"+ci.getPhase()+\n \"\\nDiagnostics = \"/*+ci.getDiagnostics()*/+\n \"\\nFree memory = \"+Runtime.getRuntime().freeMemory());\n return;\n }\n Scope scope = ci.getTreeUtilities().scopeFor(offset);\n // JavafxcScope scope = ci.getTreeUtilities().javafxcScopeFor(offset);\n TypeElement te = scope.getEnclosingClass();\n if (te != null) {\n result[0] = getBinaryName(te);\n } else {\n ErrorManager.getDefault().log(ErrorManager.WARNING,\n \"No enclosing class for \"+ci.getCompilationUnit().getSourceFile()+\", offset = \"+offset);\n }\n }\n }, true);\n return result[0];\n } catch (IOException ioex) {\n ErrorManager.getDefault().notify(ioex);\n return \"\";\n } catch (IndexOutOfBoundsException ioobex) {\n //XXX: log the exception?\n return null;\n }\n /*\n SourceCookie.Editor sc = (SourceCookie.Editor) dataObject.getCookie \n (SourceCookie.Editor.class);\n if (sc == null) return null;\n StyledDocument sd = null;\n try {\n sd = sc.openDocument ();\n } catch (IOException ex) {\n }\n if (sd == null) return null;\n int offset;\n try {\n offset = NbDocument.findLineOffset (sd, lineNumber - 1);\n } catch (IndexOutOfBoundsException ioobex) {\n return null;\n }\n Element element = sc.findElement (offset);\n \n if (element == null) return \"\";\n if (element instanceof ClassElement)\n return getClassName ((ClassElement) element);\n if (element instanceof ConstructorElement)\n return getClassName (((ConstructorElement) element).getDeclaringClass ());\n if (element instanceof FieldElement)\n return getClassName (((FieldElement) element).getDeclaringClass ());\n if (element instanceof InitializerElement)\n return getClassName (((InitializerElement) element).getDeclaringClass());\n return \"\";\n */\n }",
"@Override\n public com.google.protobuf.ByteString\n getClassNameBytes() {\n Object ref = className_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b =\n com.google.protobuf.ByteString.copyFromUtf8(\n (String) ref);\n className_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public static String extractClassURI(Class klass) {\n\n\t\tString javaName = klass.getCanonicalName();\n\t\t// System.out.println(\"JAVA \" + javaName);\n\n\t\tIterator<String> keys = nsMap.keySet().iterator();\n\t\tString uri = Describer.defaultBase;\n\n\t\twhile (keys.hasNext()) {\n\t\t\tString key = keys.next();\n\t\t\tif (javaName.startsWith(key)) {\n\t\t\t\tjavaName = javaName.substring(key.length());\n\t\t\t\turi = nsMap.get(key);\n\t\t\t}\n\t\t}\n\n\t\tString[] split = javaName.split(\"\\\\.\");\n\t\t// System.out.println(split.length);\n\n\t\t// uri += split[1] + \".\" + split[0];\n\t\t// uri += \"/projects/\" + split[2] + \"/code\";\n\t\tfor (int i = 1; i < split.length; i++) {\n\t\t\turi += \"/\" + split[i];\n\t\t}\n\t\treturn uri;\n\t}",
"public String getClassName(){\n\t\treturn classname;\n\t}",
"private String getFileName(String url) {\n // get the begin and end index of name which will be between the\n //last \"/\" and \".\"\n int beginIndex = url.lastIndexOf(\"/\")+1;\n int endIndex = url.lastIndexOf(\".\");\n return url.substring(beginIndex, endIndex);\n \n }",
"public String getName() {\n\t\treturn className;\n\t}",
"public String prepareClassName(String className)\n {\n return camelCaseName(className, true);\n }",
"public String getName() {\n // defaults to class name\n String className = getClass().getName();\n return className.substring(className.lastIndexOf(\".\")+1);\n }",
"public String getClassName () { return _className; }",
"public String getClassName() {\r\n return className;\r\n }",
"public String getClassName() {\n return className;\n }",
"public String getClassName()\n {\n return className;\n }",
"public static String getShortClassName(String longClassName) {\r\n\t\tfinal StringTokenizer tk = new StringTokenizer(longClassName, \".\");\r\n\t\tString last = longClassName;\r\n\t\twhile (tk.hasMoreTokens()) {\r\n\t\t\tlast = tk.nextToken();\r\n\t\t}\r\n\r\n\t\treturn last;\r\n\t}",
"private String discoverDriverClassName(URLClassLoader urlClassLoader) throws IOException {\n String className = null;\n URL resource = urlClassLoader.findResource(\"META-INF/services/java.sql.Driver\");\n if (resource != null) {\n BufferedReader br = null;\n try {\n br = new BufferedReader(new InputStreamReader(resource.openStream()));\n className = br.readLine();\n } finally {\n if (br != null) {\n br.close();\n }\n }\n }\n return className;\n }",
"public String getClassName()\n {\n return _className;\n }",
"public String getClassName(){\n\t\treturn targetClass.name;\n\t}",
"@DISPID(-2147417111)\n @PropGet\n java.lang.String className();"
]
| [
"0.78637755",
"0.7510625",
"0.7379793",
"0.731161",
"0.7203658",
"0.7167384",
"0.7144551",
"0.70507425",
"0.7006294",
"0.69566756",
"0.69287086",
"0.6815564",
"0.6814066",
"0.6679828",
"0.6679828",
"0.6679828",
"0.6661149",
"0.66460925",
"0.66265416",
"0.64979595",
"0.6482149",
"0.6457333",
"0.6455234",
"0.6418405",
"0.64168733",
"0.6415535",
"0.6406473",
"0.6399188",
"0.6337046",
"0.6327019",
"0.6321883",
"0.62843794",
"0.6272006",
"0.6246021",
"0.62300044",
"0.6228349",
"0.6220151",
"0.621609",
"0.62156725",
"0.62071663",
"0.61884016",
"0.6174519",
"0.6151627",
"0.6140759",
"0.613745",
"0.61317986",
"0.61317986",
"0.61166286",
"0.60926753",
"0.6068922",
"0.6051778",
"0.6030356",
"0.60050464",
"0.5996007",
"0.59876615",
"0.59869576",
"0.59740376",
"0.5963676",
"0.595757",
"0.5934939",
"0.5933965",
"0.5916968",
"0.59001994",
"0.5894622",
"0.58782434",
"0.58691216",
"0.586387",
"0.5861071",
"0.5859027",
"0.58561414",
"0.584625",
"0.58450794",
"0.5839354",
"0.58273274",
"0.5812054",
"0.5806968",
"0.57988644",
"0.5796067",
"0.5794462",
"0.5790378",
"0.5785151",
"0.5774516",
"0.57692844",
"0.5754557",
"0.5749902",
"0.57331556",
"0.57299834",
"0.5728202",
"0.5718941",
"0.57183504",
"0.5717794",
"0.5706701",
"0.57048523",
"0.57031196",
"0.56977725",
"0.56944513",
"0.56931406",
"0.5678088",
"0.5676105",
"0.56552744"
]
| 0.8176758 | 0 |
This function gets any separate name from a className | private String getSplitNames(String className){
String nameSplited = "";
for (String character : className.split("(?<!(^|[A-Z]))(?=[A-Z])|(?<!^)(?=[A-Z][a-z])")){
nameSplited = nameSplited + character + " ";
}
return nameSplited;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private static String getSimpleClassName(String className) {\n\n\n\t\tString[] names = className.split(\"\\\\.\");\n\n\t\tfor (int i = 0; i < names.length; i++) {\n\t\t\tLog.d(\"\", \"names =\" + names[i]);\n\t\t}\n\n\t\treturn names[names.length - 1];\n\t}",
"java.lang.String getClassName();",
"String getClassName();",
"String getClassName();",
"String getClassName();",
"private String getClassName( Class c ) {\n\treturn c.getName().substring(c.getName().lastIndexOf('.')+1);\n }",
"protected String getClassName() {\r\n return newName.getText();\r\n }",
"private static String extractClassName(String classNameWithExtension) {\n\n\t\treturn classNameWithExtension.replace(classExtension, \"\");\n\t}",
"abstract String getClassName();",
"public abstract String getClassName();",
"private String getClassName(String fileName){\n String className = FilenameUtils.getBaseName(fileName);\n return className;\n }",
"public String getClassName();",
"private String getClassname() {\r\n\t\tString classname = this.getClass().getName();\r\n\t\tint index = classname.lastIndexOf('.');\r\n\t\tif (index >= 0)\r\n\t\t\tclassname = classname.substring(index + 1);\r\n\t\treturn classname;\r\n\t}",
"public String prepareClassName(String className)\n {\n return camelCaseName(className, true);\n }",
"Caseless getName();",
"private String derivePrefixFromClassName(String className) {\n int prefixIdx = 0;\n int lastUpperIndex = 0;\n char[] prefix = new char[PREFIX_LENGTH];\n char[] src = className.toCharArray();\n\n prefix[prefixIdx++] = Character.toLowerCase(src[0]);\n\n for (int i = 1; i < src.length; i++) {\n char c = src[i];\n if (Character.isUpperCase(c)) {\n prefix[prefixIdx++] = Character.toLowerCase(c);\n if (prefixIdx == PREFIX_LENGTH) {\n return new String(prefix);\n }\n lastUpperIndex = i;\n }\n }\n\n while (prefixIdx < PREFIX_LENGTH) {\n prefix[prefixIdx++] = Character.toLowerCase(src[++lastUpperIndex]);\n }\n\n return new String(prefix);\n }",
"protected static String getSimpleName(Class<?> c) {\n String name = c.getName();\n return name.substring(name.lastIndexOf(\".\") + 1);\n }",
"public String getName() {\n return className;\n }",
"public String getClassName(final String fullClassName) {\r\n\t\tint lastIndexPoint = fullClassName.lastIndexOf(\".\");\r\n\t\tString resultClassName = fullClassName.substring(lastIndexPoint + 1,\r\n\t\t\t\tfullClassName.length());\r\n\t\treturn resultClassName;\r\n\t}",
"public static String getQualifier(String className) {\n \tString name = className;\n \tif (name.indexOf('<') >= 0) {//is generic class?\n \t\tname = erase(name);\n \t}\n int index = name.lastIndexOf('.');\n return (index < 0) ? null : name.substring(0, index);\n }",
"public String getClassName() { return className; }",
"public String getClassname(Class<?> aClass) {\n\t\tString result = aClass.getCanonicalName();\n\t\tif (result.endsWith(\"[]\")) {\n\t\t\tresult = result.substring(0, result.length() - 2);\n\t\t}\n\t\treturn result;\n\t}",
"private String getClassName(final Class<?> clazz) {\n return EntityType.getEntityType(clazz).map(e -> e.getEntityName(clazz)).orElse(clazz.getSimpleName());\n }",
"public String getName() {\n\t\treturn className;\n\t}",
"private String getSimpleName(String name) {\n\t\tint i = name.lastIndexOf(\".\");\n\t\treturn name.substring(i + 1);\n\t}",
"public String getClassName() {\n\t\tString tmp = methodBase();\n\t\treturn tmp.substring(0, 1).toUpperCase()+tmp.substring(1);\n\t}",
"public String getClassName () { return _className; }",
"private String getClassNameInStructureHandle(String structureHandle) {\n\t\tString className = \"\";\n\t\tif (structureHandle.contains(\"[\")) {\n\t\t\tint index = structureHandle.indexOf(\"[\");\n\t\t\tString substring = structureHandle.substring(index + 1);\n\t\t\tif (!substring.contains(\"[\")) {\n\t\t\t\tif (substring.contains(\"~\")) {\n\t\t\t\t\tclassName = substring.substring(0, substring.indexOf(\"~\"));\n\t\t\t\t} else {\n\t\t\t\t\tclassName = substring;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tint index2 = substring.indexOf(\"[\");\n\t\t\t\tif (substring.contains(\"~\")) {\n\t\t\t\t\tint indexOfMethod = substring.indexOf(\"~\");\n\t\t\t\t\tif (indexOfMethod < index2) {\n\t\t\t\t\t\tclassName = substring.substring(0, indexOfMethod);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tString subsubstring = substring.substring(index2 + 1);\n\t\t\t\t\t\tclassName = subsubstring.substring(0,\n\t\t\t\t\t\t\t\tsubsubstring.indexOf(\"~\"));\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tString subsubstring = substring.substring(index2 + 1);\n\t\t\t\t\tclassName = subsubstring;\n\t\t\t\t}\n\t\t\t}\n\t\t} else if (structureHandle.contains(\"{\")) {\n\t\t\tint index = structureHandle.indexOf(\"{\");\n\n\t\t\tclassName = structureHandle.substring(index + 1,\n\t\t\t\t\tstructureHandle.lastIndexOf(\".\"));\n\n\t\t}\n\t\treturn className;\n\t}",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"java.lang.String getName();",
"private static String getClassName (String label)\n {\n\tchar c;\n\tfor (int i = 0; i < label.length (); i++) {\n\t c = label.charAt (i);\n\t if (Character.isDigit (c)) {\n\t\treturn label.substring (0, i);\n\t }; // if\n\t}; // for\n\n\treturn label;\n\n }",
"private static String getClassName() {\n\n\t\tThrowable t = new Throwable();\n\n\t\ttry {\n\t\t\tStackTraceElement[] elements = t.getStackTrace();\n\n\t\t\t// for (int i = 0; i < elements.length; i++) {\n\t\t\t//\n\t\t\t// }\n\n\t\t\treturn elements[2].getClass().getSimpleName();\n\n\t\t} finally {\n\t\t\tt = null;\n\t\t}\n\n\t}",
"public final String toStringClassName() {\r\n \t\tString str = this.getClass().getName();\r\n \t\tint lastIx = str.lastIndexOf('.');\r\n \t\treturn str.substring(lastIx+1);\r\n \t}",
"public static ByClassName className(final String className) {\r\n if (className == null)\r\n throw new IllegalArgumentException(\r\n \"Cannot find elements when the class name expression is null.\");\r\n return className(className, \"\");\r\n }",
"public String getClazzName();",
"String getClassName(Element e) {\n // e has to be a TypeElement\n TypeElement te = (TypeElement)e;\n String packageName = elementUtils.getPackageOf(te).getQualifiedName().toString();\n String className = te.getQualifiedName().toString();\n if (className.startsWith(packageName + \".\")) {\n String classAndInners = className.substring(packageName.length() + 1);\n className = packageName + \".\" + classAndInners.replace('.', '$');\n }\n return className;\n }",
"protected String getClassName(Object o) {\n\t\tString classString = o.getClass().getName();\n\t\tint dotIndex = classString.lastIndexOf(\".\");\n\n\t\treturn classString.substring(dotIndex + 1);\n\t}",
"private String name() {\r\n return cls.getSimpleName() + '.' + mth;\r\n }",
"String getSimpleName();",
"String getSimpleName();",
"public String getName() {\n // defaults to class name\n String className = getClass().getName();\n return className.substring(className.lastIndexOf(\".\")+1);\n }",
"private static String getClassNameForClassFile(WebFile aFile)\n {\n String filePath = aFile.getPath();\n String filePathNoExtension = filePath.substring(1, filePath.length() - 6);\n String className = filePathNoExtension.replace('/', '.');\n return className;\n }",
"@DISPID(-2147417111)\n @PropPut\n void className(\n java.lang.String rhs);",
"public String getClassName(String path);",
"private static String resolveName(@Nonnull final Class<?> clazz) {\n\t\tfinal String n = clazz.getName();\n\t\tfinal int i = n.lastIndexOf('.');\n\t\treturn i > 0 ? n.substring(i + 1) : n;\n\t}",
"@DISPID(-2147417111)\n @PropGet\n java.lang.String className();",
"Name getName();",
"SimpleName getName();",
"protected static String getResourceName(final String classname) {\n return classname.replace('.', '/') + \".class\";\n }",
"String getClassName() {\n final StringBuilder builder = new StringBuilder();\n final String shortName = getShortName();\n boolean upperCaseNextChar = true;\n for (final char c : shortName.toCharArray()) {\n if (c == '_' || c == '-') {\n upperCaseNextChar = true;\n continue;\n }\n\n if (upperCaseNextChar) {\n builder.append(Character.toUpperCase(c));\n upperCaseNextChar = false;\n } else {\n builder.append(c);\n }\n }\n builder.append(\"Messages\");\n return builder.toString();\n }"
]
| [
"0.77697337",
"0.75194365",
"0.7131789",
"0.7131789",
"0.7131789",
"0.6944221",
"0.69265896",
"0.68213224",
"0.68084806",
"0.67783785",
"0.67713577",
"0.6766205",
"0.67292655",
"0.6673143",
"0.66286594",
"0.6620838",
"0.6603102",
"0.6588516",
"0.6523849",
"0.6501405",
"0.64198345",
"0.6404079",
"0.63892406",
"0.638616",
"0.63826144",
"0.63546383",
"0.6336005",
"0.63320446",
"0.6322864",
"0.6322864",
"0.6322864",
"0.6322864",
"0.6322864",
"0.6322864",
"0.6322864",
"0.6322864",
"0.6322864",
"0.6322864",
"0.6322864",
"0.6322864",
"0.6322864",
"0.6322864",
"0.6322864",
"0.6322864",
"0.6322864",
"0.6322864",
"0.6322864",
"0.6322864",
"0.6322864",
"0.6322864",
"0.6322864",
"0.6322864",
"0.6322864",
"0.6322864",
"0.6322864",
"0.6322864",
"0.6322864",
"0.6322864",
"0.6322864",
"0.6322864",
"0.6322864",
"0.6322864",
"0.6322864",
"0.6322864",
"0.6322864",
"0.6322864",
"0.6322864",
"0.6322864",
"0.6322864",
"0.6322864",
"0.6322864",
"0.6322864",
"0.6322864",
"0.6322864",
"0.6322864",
"0.6322864",
"0.6322864",
"0.6322864",
"0.6322864",
"0.6322864",
"0.63196707",
"0.6312893",
"0.63097113",
"0.6297993",
"0.629614",
"0.6293322",
"0.62778264",
"0.62746495",
"0.6259072",
"0.6259072",
"0.62426805",
"0.6207422",
"0.62052655",
"0.62038165",
"0.6196851",
"0.6186081",
"0.6162572",
"0.6161786",
"0.61591274",
"0.6152584"
]
| 0.73910093 | 2 |
TODO Autogenerated method stub | @Override
public void close() {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExras() {\n\n\t}",
"@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}",
"@Override\n\tpublic void entrenar() {\n\t\t\n\t}",
"@Override\n\tpublic void nadar() {\n\t\t\n\t}",
"@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}",
"@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}",
"@Override\n\tprotected void interr() {\n\t}",
"@Override\n\tpublic void emprestimo() {\n\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\n\tpublic void gravarBd() {\n\t\t\n\t}",
"@Override\r\n\tpublic void rozmnozovat() {\n\t}",
"@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}",
"@Override\n protected void getExras() {\n }",
"@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}",
"@Override\n\tpublic void nefesAl() {\n\n\t}",
"@Override\n\tpublic void ligar() {\n\t\t\n\t}",
"@Override\n public void func_104112_b() {\n \n }",
"@Override\n\tprotected void initdata() {\n\n\t}",
"@Override\n\tpublic void nghe() {\n\n\t}",
"@Override\n public void function()\n {\n }",
"@Override\n public void function()\n {\n }",
"public final void mo51373a() {\n }",
"@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}",
"@Override\n public void inizializza() {\n\n super.inizializza();\n }",
"@Override\n\tprotected void initData() {\n\t\t\n\t}",
"@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}",
"@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}",
"public void designBasement() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}",
"public void gored() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\r\n\t}",
"@Override\n\tpublic void einkaufen() {\n\t}",
"@Override\n protected void initialize() {\n\n \n }",
"public void mo38117a() {\n }",
"@Override\n\tprotected void getData() {\n\t\t\n\t}",
"Constructor() {\r\n\t\t \r\n\t }",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void one() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"private stendhal() {\n\t}",
"@Override\n\tprotected void update() {\n\t\t\n\t}",
"@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n public void init() {\n\n }",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\n\tpublic void debite() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"public contrustor(){\r\n\t}",
"@Override\n\tprotected void initialize() {\n\n\t}",
"@Override\r\n\tpublic void dispase() {\n\r\n\t}",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"@Override\n\tpublic void dtd() {\n\t\t\n\t}",
"@Override\n\tprotected void logic() {\n\n\t}",
"@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}",
"public void mo4359a() {\n }",
"@Override\r\n\tprotected void initialize() {\n\r\n\t}",
"@Override\n public void memoria() {\n \n }",
"@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}",
"private RepositorioAtendimentoPublicoHBM() {\r\t}",
"@Override\n protected void initialize() \n {\n \n }",
"@Override\r\n\tpublic void getProposition() {\n\r\n\t}",
"@Override\n\tpublic void particular1() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n protected void prot() {\n }",
"@Override\r\n\tpublic void init()\r\n\t{\n\t}",
"@Override\n\tprotected void initValue()\n\t{\n\n\t}",
"public void mo55254a() {\n }"
]
| [
"0.66713095",
"0.6567948",
"0.652319",
"0.648097",
"0.64770466",
"0.64586824",
"0.64132667",
"0.6376419",
"0.62759",
"0.62545097",
"0.62371093",
"0.62237984",
"0.6201738",
"0.619477",
"0.619477",
"0.61924416",
"0.61872935",
"0.6173417",
"0.613289",
"0.6127952",
"0.6080854",
"0.6076905",
"0.6041205",
"0.6024897",
"0.60200036",
"0.59985113",
"0.5967729",
"0.5967729",
"0.5965808",
"0.5949083",
"0.5941002",
"0.59236866",
"0.5909713",
"0.59030116",
"0.589475",
"0.58857024",
"0.58837134",
"0.586915",
"0.58575684",
"0.5850424",
"0.5847001",
"0.5824116",
"0.5810248",
"0.5809659",
"0.58069366",
"0.58069366",
"0.5800507",
"0.5792168",
"0.5792168",
"0.5792168",
"0.5792168",
"0.5792168",
"0.5792168",
"0.57900196",
"0.5790005",
"0.578691",
"0.578416",
"0.578416",
"0.5774115",
"0.5774115",
"0.5774115",
"0.5774115",
"0.5774115",
"0.5761079",
"0.57592577",
"0.57592577",
"0.5749888",
"0.5749888",
"0.5749888",
"0.5748457",
"0.5733414",
"0.5733414",
"0.5733414",
"0.57209575",
"0.57154554",
"0.57149583",
"0.57140404",
"0.57140404",
"0.57140404",
"0.57140404",
"0.57140404",
"0.57140404",
"0.57140404",
"0.571194",
"0.57043016",
"0.56993437",
"0.5696782",
"0.5687825",
"0.5677794",
"0.5673577",
"0.5672046",
"0.5669512",
"0.5661156",
"0.56579345",
"0.5655569",
"0.5655569",
"0.5655569",
"0.56546396",
"0.56543446",
"0.5653163",
"0.56502634"
]
| 0.0 | -1 |
Creates new form pageLogin | public pageLogin() {
initComponents();
labelimage.setBorder(new EmptyBorder(0,0,0,0));
enterButton.setBorder(null);
enterButton.setContentAreaFilled(false);
enterButton.setVisible(true);
usernameTextField.setText("Username");
usernameTextField.setForeground(new Color(153,153,153));
passwordTextField.setText("Password");
passwordTextField.setForeground(new Color(153,153,153));
usernameAlert.setText(" ");
passwordAlert.setText(" ");
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"NewAccountPage openNewAccountPage();",
"public LoginPage(){\n\t\tPageFactory.initElements(driver, this);\n\t\t\n\t}",
"public loginPage() {\n\t\tPageFactory.initElements(driver, this);\n\t}",
"public LoginPage(){\n\t\tPageFactory.initElements(driver, this);\n\t}",
"public LoginPage goToLoginPage() {\n loginButton.click();\n return new LoginPage();\n }",
"public Loginpage()\n\t{\n\t\tPageFactory.initElements(driver, this);\n\t}",
"public LoginPage() {\n }",
"public LoginPage()\r\n\t{\r\n\t\tPageFactory.initElements(driver,this);\r\n\t}",
"public LoginPage() {\n\t\tPageFactory.initElements(driver, this);\n\t}",
"public LoginPage() {\n\t\tPageFactory.initElements(driver, this);\n\t}",
"public PageBase click_on_login_submit_form_button () {\r\n HomePageClass homePage = new HomePageClass(driver);\r\n\r\n LGN_Login_submitBTN.click();\r\n\r\n WebDriverWait wait = getWait();\r\n wait.until(ExpectedConditions.visibilityOf(homePage.logout));\r\n\r\n return homePage;\r\n\r\n }",
"public AccountPage Signup_through_loginpage() {\n\tJavascriptExecutor js = (JavascriptExecutor)driver;\n\tjs.executeScript( \"arguments[0].click();\", SignUpButton );\n\tsignupPage.SignUp_Form();\n\treturn new AccountPage();\n\t}",
"public LoginPage() {\n initComponents();\n }",
"public LoginPage() {\n {\n }\n initComponents();\n\n }",
"public LoginPage() {\r\n\t\t\t\r\n\t\t\t//Initialize webElements.\r\n\t\t\tPageFactory.initElements(driver, this);\r\n\t\t}",
"public LoginPage()\n{\n\tPageFactory.initElements(driver, this);\n}",
"public static Result login(){\n String username= Form.form().bindFromRequest().get(\"username\");\n String password= Form.form().bindFromRequest().get(\"password\");\n String new_user= Form.form().bindFromRequest().get(\"new_user\");\n if(new_user != null){\n return ok(login.render(username,password));\n } else {\n Skier s=Session.authenticate(username,password);\n if(s==null){\n return badRequest(index.render(\"Invalid Username or Password\"));\n } else {\n login(s);\n return redirect(\"/home\");\n }\n }\n }",
"void goToLogin() {\n mainFrame.setPanel(panelFactory.createPanel(PanelFactoryOptions.panelNames.LOGIN));\n }",
"public MainPage submitForm() {\n LOGGER.info(\"Clicked the button 'LOGIN'\");\n clickOnElement(loginButtonLocator);\n return MainPage.Instance;\n }",
"public LoginPOJO() {\n\n\t\tPageFactory.initElements(driver, this);\t\n\t}",
"public Page_Home doDefaultLogin() {\n\t\tLogStatus.info(\"Logging in with username :: \\'\" + TestUtils.getValue(\"username\") + \"\\' and password :: \\'\"\n\t\t\t\t+ TestUtils.getValue(\"password\") + \"\\'\");\n\t\tDriverManager.getDriver().findElement(By.name(\"username\")).sendKeys(TestUtils.getValue(\"username\"));\n\t\tDriverManager.getDriver().findElement(By.name(\"password\")).sendKeys(TestUtils.getValue(\"password\"));\n\t\tDriverManager.getDriver().findElement(By.id(\"Registration Desk\")).click();\n\t\tDriverManager.getDriver().findElement(By.id(\"loginButton\")).click();\n\n\t\treturn new Page_Home();\n\n\t}",
"public login() {\n initComponents();\n \n \n }",
"public LoginPageTest()\n\t{\n\t\tsuper();\n\t}",
"public LoginPage(String username, String password, String userType) {\n\t\tsuper();\n\t\tthis.username=username;\n\t\tthis.password=password;\n\t\tthis.userType=userType;\n\t\t\n\t}",
"Login() { \n }",
"private static void postLoginPage() {\n post(\"/login\", \"application/json\", (req, res) -> {\n HomerAccount loggedInAccount = homerAuth.login(req.body());\n if(loggedInAccount != null) {\n req.session().attribute(\"account\", loggedInAccount);\n res.redirect(\"/team\");\n } else {\n res.redirect(\"/login\");\n }\n return null;\n });\n }",
"public void CreateAccount(View view)\n {\n Toast.makeText(getApplicationContext(), \"Redirecting...\", \n Toast.LENGTH_SHORT).show();\n Intent i = new Intent(LoginView.this, Page_CreateAccount.class);\n startActivity(i);\n }",
"public LoginPageActions Navigate_LoginPage()\n\t{\n\t\t\n\t\tUIActions.fn_click(HomePageObjects.customerAccount);\n\t\treturn new LoginPageActions();\n\t}",
"public Login() \n {\n super();\n create();\n this.setVisible(true);\n initComponents();\n }",
"public AdminLogInPage() {\n initComponents();\n }",
"@AutoGenerated\r\n\tprivate Panel buildPnlLogin() {\n\t\tpnlLogin = new Panel();\r\n\t\tpnlLogin.setImmediate(false);\r\n\t\tpnlLogin.setWidth(\"-1px\");\r\n\t\tpnlLogin.setHeight(\"500px\");\r\n\t\t\r\n\t\t// layoutLogin\r\n\t\tlayoutLogin = buildLayoutLogin();\r\n\t\tpnlLogin.setContent(layoutLogin);\r\n\t\t\r\n\t\treturn pnlLogin;\r\n\t}",
"public login() {\n initComponents();\n }",
"private Component createLogin() {\n CustomLayout custom = new CustomLayout(\"../../sampler/layouts/examplecustomlayout\");\n\n // Create components and bind them to the location tags\n // in the custom layout.\n username = new TextField();\n custom.addComponent(username, \"username\");\n\n password = new PasswordField();\n custom.addComponent(password, \"password\");\n\n Button ok = new Button(\"Login\");\n custom.addComponent(ok, \"okbutton\");\n\n // Add login listener\n ok.addListener(this);\n\n return custom;\n\n }",
"public loginForm() {\n initComponents();\n \n }",
"public frm_LoginPage() {\n initComponents();\n setIcon();\n txt_userName.setText(\"\");\n txt_userName.requestFocus();\n password_password.setText(\"\");\n }",
"public ForgotPasswordPage goToNewPasswordPage(){\n\n botStyle.click(forgotPasswordLink);\n\n return PageFactory.initElements(driver, ForgotPasswordPage.class);\n }",
"public LoginPage(){\n PageFactory.initElements(driver, this); //all vars in this class will be init with this driver\n }",
"protected void login() {\n\t\t\r\n\t}",
"Page createPage();",
"protected String getLoginPage() {\r\n return loginPage;\r\n }",
"public void goToLoginPage()\n\t{\n\t\tclickAccountNameIcon();\n\t\tclickSignInLink();\n\t}",
"public void LoginButton() {\n\t\t\r\n\t}",
"public void createHomePage(){\n\t\tsetLayout(new GridBagLayout());\n\t\tGridBagConstraints c = new GridBagConstraints(); \n\t\t//insert username and password fields\n\t\tJLabel title;\n\n\t\t//build the title panel\n\t\ttitlePanel = new JPanel();\n\t\ttitle = new JLabel(\"Budgie\");\n\t\ttitle.setSize(new Dimension(40, 40));\n\t\ttitlePanel.add(title);\n\n\t\tc.anchor = GridBagConstraints.CENTER;\n\t\tc.gridy = 0;\n\t\tc.weighty = .5;\n\t\tadd(titlePanel, c);\n\n\t\tinputField = addinputField();\n\n\t\t//positioning of the grid field\n\t\tc.fill = GridBagConstraints.HORIZONTAL;\n\t\tc.gridy = 1;\n\t\tc.ipady = 10;\n\t\tc.weighty = .5;\n\t\tadd(inputField, c);\n\n\t\tc.gridy++;\n\t\tJButton debug = new JButton(\"Debug\");\n\t\tdebug.addActionListener(new ActionListener(){\n\n\t\t\t@Override\n\t\t\tpublic void actionPerformed(ActionEvent arg0) {\n\t\t\t\tDebugPrinter.toggleDebug();\n\t\t\t}\n\n\t\t});\n\t\tadd(debug,c);\n\n\n\t\tpack();\n\n\n\t}",
"public LoginPageController() {\n\t}",
"@Override\n\tpublic void goToLogin() {\n\t\t\n\t}",
"public Form getLoginForm() {\n if (LoginForm == null) {//GEN-END:|14-getter|0|14-preInit\n // write pre-init user code here\n LoginForm = new Form(\"Welcome\", new Item[]{getTextField()});//GEN-BEGIN:|14-getter|1|14-postInit\n LoginForm.addCommand(getExitCommand());\n LoginForm.addCommand(getOkCommand());\n LoginForm.setCommandListener(this);//GEN-END:|14-getter|1|14-postInit\n // write post-init user code here\n }//GEN-BEGIN:|14-getter|2|\n return LoginForm;\n }",
"public FormLogin() {\n initComponents();\n open_db();\n setLocationRelativeTo(this);\n }",
"public void premutoLogin()\n\t{\n\t\tnew _FINITO_funzione_loginGUI();\n\t}",
"public DashboardPage clickLogin() {\n driver.findElement(By.id(\"login-button\")).click();\n return new DashboardPage(driver);\n }",
"public HomePage loginAs(String username, String password) {\n // The PageObject methods that enter username, password & submit login have\n // already defined and should not be repeated here.\n typeUserName(username);\n typePassword(password);\n return clickOnSignInButton();\n }",
"public T01Login() {\n initComponents();\n btnMenu.setVisible(false);\n }",
"@BeforeMethod\n public void loadLoginPage(){\n driver.get(\"http://ec2-52-53-181-39.us-west-1.compute.amazonaws.com/\");\n Loginpage page = new Loginpage(driver);\n page.createAccount();\n }",
"public DashboardPage clickloginButton (){\n driver.findElement(loginButton).click ();\n\n return new DashboardPage (driver);\n }",
"public Login() {\n initComponents();\n \n }",
"@RequestMapping(method = RequestMethod.GET)\n \tpublic String createForm(Model model, ForgotLoginForm form) {\n \t\tmodel.addAttribute(\"form\", form);\n \t\treturn \"forgotlogin/index\";\n \t}",
"@RequestMapping(\"/newuser\")\r\n\tpublic ModelAndView newUser() {\t\t\r\n\t\tRegister reg = new Register();\r\n\t\treg.setUser_type(\"ROLE_INDIVIDUAL\");\r\n\t\treg.setEmail_id(\"[email protected]\");\r\n\t\treg.setFirst_name(\"First Name\");\r\n\t\treg.setCity(\"pune\");\r\n\t\treg.setMb_no(new BigInteger(\"9876543210\"));\r\n\t\treturn new ModelAndView(\"register\", \"rg\", reg);\r\n\t}",
"private void adminLogin() {\n\t\tdriver.get(loginUrl);\r\n\t\t// fill the form\r\n\t\tdriver.findElement(By.name(\"username\")).sendKeys(USERNAME);\r\n\t\tdriver.findElement(By.name(\"password\")).sendKeys(PASSWORD);\r\n\t\t// submit login\r\n\t\tdriver.findElement(By.name(\"btn_submit\")).click();\r\n\t}",
"public void showPage(){\n\t\tflexTable.setWidget(0, 0, lblNome);\n\t flexTable.setWidget(0, 1, nomePratoBox);\n\t flexTable.setWidget(0, 2, pesquisarButton);\n\t\t\n\t initWidget(flexTable);\n\t \n\t\tRootPanel formRootPanel = RootPanel.get(\"loginContainer\");\n\t\tformRootPanel.add(this);\n\t}",
"@Test\n\tpublic void checkPageLoginFlow() {\n\t driver.findElement(By.cssSelector(\"a.login\")).click();\n\n\t // Click login again on Login Page\n\t driver.findElement(By.cssSelector(\"button.login-page-dialog-button\")).click();\n\t\t \n\t // Enter Username & PW\n\t String username = \"username\";\n\t String password = \"password\";\n\n\t // Select and enter text for username and password\n\t driver.findElement(By.id(\"1-email\")).click();\n\t driver.findElement(By.id(\"1-email\")).sendKeys(username);\n\t driver.findElement(By.name(\"password\")).click();\n\t driver.findElement(By.name(\"password\")).sendKeys(password);\n\n\t // Verify Username box displayed\n\t boolean usernameElement = driver.findElement(By.id(\"1-email\")).isDisplayed();\n\t \tAssert.assertTrue(usernameElement, \"Is Not Present, this is not expected\");\n\t \n\t // Verify Password box displayed\n\t boolean passwordElement = driver.findElement(By.name(\"password\")).isDisplayed();\n\t \tAssert.assertTrue(passwordElement, \"Is Not Present, this is not expected\");\n\t}",
"private MarkupContainer createLoginFragment() {\r\n return new Fragment(CONTENT_VIEW, LOGIN_FRAGMENT, this)\r\n .add(new LoginPanel(PART_LOGIN_VIEW, LoginPanel.NextPage.CART))\r\n .add(new RegisterPanel(PART_REGISTER_VIEW, RegisterPanel.NextPage.CART))\r\n .add(new GuestPanel(PART_GUEST_VIEW));\r\n }",
"@GetMapping(\"/loginForm\")\n\t\tpublic String login() {\n\t\t\treturn\"user/loginForm\";\n\t\t}",
"public LoginBackendPage() {\n\t\t PageFactory.initElements(driver, this);\n\t}",
"public void navigateToLoginPage() {\r\n\t\tBrowser.open(PhpTravelsGlobal.PHP_TRAVELS_LOGIN_URL);\r\n\t}",
"public void goToLoginPage(ActionEvent event) throws IOException{\n\t\t//this should return to the Login Page\n\t\tParent user_page = FXMLLoader.load(getClass().getResource(\"/view/LoginPage.fxml\"));\n\t\tScene userpage_scene = new Scene(user_page);\n\t\tStage app_stage = (Stage) ((Node) (event.getSource())).getScene().getWindow();\n\t\tapp_stage.setScene(userpage_scene);\n\t\tapp_stage.setTitle(\"Login Page\");\n\t\tapp_stage.show();\n\t}",
"@Test\n\t\tpublic void login() {\n\n\t\t\tlaunchApp(\"chrome\", \"http://demo1.opentaps.org/opentaps/control/main\");\n\t\t\t//Enter username\n\t\t\tenterTextById(\"username\", \"DemoSalesManager\");\n\t\t\t//Enter Password\n\t\t\tenterTextById(\"password\", \"crmsfa\");\n\t\t\t//Click Login\n\t\t\tclickByClassName(\"decorativeSubmit\");\n\t\t\t//Check Browser Title\n\t\t\tverifyBrowserTitle(\"Opentaps Open Source ERP + CRM\");\n\t\t\t//Click Logout\n\t\t\tclickByClassName(\"decorativeSubmit\");\n\t\t\t\n\n\t\t}",
"@RequestMapping(\"Home1\")\r\n\tpublic String createUser1(Model m) \r\n\t{\n\t\tm.addAttribute(\"employee\",new Employee());\r\n\t\treturn \"register\";//register.jsp==form action=register\r\n\t}",
"public login() {\r\n\t\tsuper();\r\n\t}",
"public AfterLogin() {\n initComponents();\n }",
"public Login() {\n initComponents();\n \n }",
"public LoginController(LoginForm form) {this.loginForm = form;}",
"@Given(\"^User is on Login Page$\")\n\tpublic void userIsOnLoginPage() throws Throwable {\n\t\tassertTrue(isElementPresent(driver, By.id(\"new_user\")));\n\t}",
"public void loginAsUser() {\n vinyardApp.navigateToUrl(\"http://localhost:8080\");\n vinyardApp.fillUsername(\"user\");\n vinyardApp.fillPassord(\"123\");\n vinyardApp.clickSubmitButton();\n }",
"@Override\r\n\tpublic void login() {\n\t\t\r\n\t}",
"Login(String strLogin)\n {\n \tsetLogin(strLogin);\n }",
"public void clciklogin() {\n\t driver.findElement(loginBtn).click();\r\n\t \r\n\t //Print the web page heading\r\n\t System.out.println(\"The page title is : \" +driver.findElement(By.xpath(\"//*[@id=\\\"app\\\"]//div[@class=\\\"main-header\\\"]\")).getText());\r\n\t \r\n\t //Click on Logout button\r\n\t// driver.findElement(By.id(\"submit\")).click();\r\n\t }",
"void redirectToLogin();",
"public login() {\n initComponents();\n setTitle(\"COLLAGE MANAGEMENT SYSTEM\");\n }",
"public static void Login() \r\n\t{\n\t\t\r\n\t}",
"public void login() {\n\n String username = usernameEditText.getText().toString();\n String password = passwordEditText.getText().toString();\n regPresenter.setHost(hostEditText.getText().toString());\n regPresenter.login(username, password);\n }",
"@Test\r\n \t public void testAddnewCourse() {\r\n \t \tLoginpg loginPage = new Loginpg();\r\n \t \tloginPage.setUsernameValue(\"admin\");\r\n \t \tloginPage.setpassWordValue(\"myvirtualx\");\r\n \t \tloginPage.clickSignin();\r\n \t \t\r\n \t \tCoursepg coursePage= new Coursepg();\r\n \t \tcoursePage.clickCourse().clickNewCourse().typeNewCourseName(\"selenium\").clickSubmit();\r\n \t\r\n \t }",
"@RequestMapping(value=\"/loginForm\", method = RequestMethod.POST)\n\tpublic String homePOST(){\n\n\t\treturn \"loginForm\";\n\t}",
"@Override\n\t\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\t\ttry {\n\t\t\t\t\t\tloginPage = new LoginGUI();\n\t\t\t\t\t} catch (ClassNotFoundException | IOException e1) {\n\t\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\t\te1.printStackTrace();\n\t\t\t\t\t}\n\t\t\t\t\tloginPage.setVisible(true);\n\t\t\t\t\t\n\t\t\t\t\tdispose();\n\t\t\t\t}",
"public login() {\n\n initComponents();\n \n usuarios.add(new usuarios(\"claudio\", \"claudioben10\"));\n usuarios.get(0).setAdminOno(true);\n \n }",
"public Login() {\n initComponents();\n hideregister ();\n }",
"@RequestMapping(value = \"/loginProcess\", method = RequestMethod.POST)\n public ModelAndView loginProcess(@ModelAttribute(\"login\") Login login) {\n ModelAndView mav = null;\n\n User user = userService.validateUser(login);\n\n if (null != user) {\n mav = new ModelAndView(\"welcome\");\n mav.addObject(\"firstname\", user.getFirstname());\n } else {\n mav = new ModelAndView(\"login\");\n mav.addObject(\"message\", \"Username or Password is wrong!!\");\n }\n\n return mav;\n }",
"public Login() {\n initComponents();\n }",
"public Login() {\n initComponents();\n }",
"public Login() {\n initComponents();\n }",
"public Login() {\n initComponents();\n }",
"public Login() {\n initComponents();\n }",
"public Login() {\n initComponents();\n }",
"public Login() {\n initComponents();\n }",
"public Login() {\n initComponents();\n }",
"public Login() {\n initComponents();\n }",
"public Login() {\n initComponents();\n }",
"public Login() {\n initComponents();\n }",
"public Login() {\n initComponents();\n }",
"public Login() {\n initComponents();\n }",
"public Login() {\n initComponents();\n }",
"public Login() {\n initComponents();\n }"
]
| [
"0.7073457",
"0.6814614",
"0.6787463",
"0.67018515",
"0.66445404",
"0.66439813",
"0.6633971",
"0.65853286",
"0.6578027",
"0.6578027",
"0.65234756",
"0.64245415",
"0.64192325",
"0.64053255",
"0.63999003",
"0.638688",
"0.63400465",
"0.6306292",
"0.6192748",
"0.618536",
"0.617273",
"0.61586165",
"0.61440057",
"0.6135193",
"0.6125165",
"0.6110834",
"0.6103487",
"0.6093392",
"0.60900265",
"0.6064506",
"0.6061151",
"0.6052989",
"0.60496926",
"0.60467196",
"0.60319906",
"0.6023012",
"0.60189563",
"0.59753644",
"0.59678286",
"0.59673923",
"0.5957998",
"0.5956025",
"0.5950638",
"0.594882",
"0.5945885",
"0.59352225",
"0.5934052",
"0.59330535",
"0.59032536",
"0.5900503",
"0.5882377",
"0.5872767",
"0.58692235",
"0.58582735",
"0.5840686",
"0.58366174",
"0.58343714",
"0.5832485",
"0.5830382",
"0.58219045",
"0.58146983",
"0.5811439",
"0.5811312",
"0.5801238",
"0.5792255",
"0.57881653",
"0.5786755",
"0.57853013",
"0.57785636",
"0.57722133",
"0.5755157",
"0.5754487",
"0.575166",
"0.5749609",
"0.574696",
"0.5742794",
"0.5742076",
"0.5734417",
"0.57332313",
"0.5732486",
"0.5732367",
"0.57294095",
"0.57263356",
"0.57249767",
"0.5717279",
"0.5712845",
"0.5712845",
"0.5712845",
"0.5712845",
"0.5712845",
"0.5712845",
"0.5712845",
"0.5712845",
"0.5712845",
"0.5712845",
"0.5712845",
"0.5712845",
"0.5712845",
"0.5712845",
"0.5712845"
]
| 0.6445806 | 11 |
This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor. | @SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() {
jPanel2 = new javax.swing.JPanel();
jPanel1 = new javax.swing.JPanel();
jPanel3 = new javax.swing.JPanel();
labelimage = new javax.swing.JLabel();
iconFTI = new javax.swing.JLabel();
jLabel1 = new javax.swing.JLabel();
usernameTextField = new javax.swing.JTextField();
passwordTextField = new javax.swing.JTextField();
enterButton = new javax.swing.JButton();
usernameAlert = new javax.swing.JLabel();
passwordAlert = new javax.swing.JLabel();
jLabel2 = new javax.swing.JLabel();
disiniButton = new javax.swing.JLabel();
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
setUndecorated(true);
jPanel1.setBackground(new java.awt.Color(220, 221, 216));
jPanel3.setBackground(new java.awt.Color(255, 255, 255));
labelimage.setIcon(new javax.swing.ImageIcon(getClass().getResource("/arsipsuratlk/img/login_1.jpg"))); // NOI18N
labelimage.setText(" ");
iconFTI.setIcon(new javax.swing.ImageIcon(getClass().getResource("/arsipsuratlk/img/logo_fti_50x50.png"))); // NOI18N
iconFTI.setText(" ");
jLabel1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/arsipsuratlk/img/icon_idpass.jpg"))); // NOI18N
jLabel1.setText(" ");
usernameTextField.setFont(new java.awt.Font("Arial", 0, 18)); // NOI18N
usernameTextField.setText("Username");
usernameTextField.addFocusListener(new java.awt.event.FocusAdapter() {
public void focusGained(java.awt.event.FocusEvent evt) {
usernameTextFieldFocusGained(evt);
}
public void focusLost(java.awt.event.FocusEvent evt) {
usernameTextFieldFocusLost(evt);
}
});
passwordTextField.setFont(new java.awt.Font("Arial", 0, 18)); // NOI18N
passwordTextField.setText("Password");
passwordTextField.addFocusListener(new java.awt.event.FocusAdapter() {
public void focusGained(java.awt.event.FocusEvent evt) {
passwordTextFieldFocusGained(evt);
}
public void focusLost(java.awt.event.FocusEvent evt) {
passwordTextFieldFocusLost(evt);
}
});
enterButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/arsipsuratlk/img/icon_enter.jpg"))); // NOI18N
enterButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
enterButtonActionPerformed(evt);
}
});
usernameAlert.setForeground(new java.awt.Color(255, 51, 51));
passwordAlert.setForeground(new java.awt.Color(255, 51, 51));
jLabel2.setText("Tidak punya akun?daftar");
disiniButton.setForeground(new java.awt.Color(51, 51, 255));
disiniButton.setText("di sini");
disiniButton.addMouseListener(new java.awt.event.MouseAdapter() {
public void mouseClicked(java.awt.event.MouseEvent evt) {
disiniButtonMouseClicked(evt);
}
});
javax.swing.GroupLayout jPanel3Layout = new javax.swing.GroupLayout(jPanel3);
jPanel3.setLayout(jPanel3Layout);
jPanel3Layout.setHorizontalGroup(
jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel3Layout.createSequentialGroup()
.addComponent(labelimage, javax.swing.GroupLayout.PREFERRED_SIZE, 821, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel3Layout.createSequentialGroup()
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 64, Short.MAX_VALUE)
.addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel3Layout.createSequentialGroup()
.addGap(48, 48, 48)
.addComponent(jLabel2)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(disiniButton))
.addComponent(enterButton, javax.swing.GroupLayout.PREFERRED_SIZE, 258, javax.swing.GroupLayout.PREFERRED_SIZE))
.addGap(63, 63, 63))
.addGroup(jPanel3Layout.createSequentialGroup()
.addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel3Layout.createSequentialGroup()
.addGap(32, 32, 32)
.addComponent(jLabel1)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(usernameTextField, javax.swing.GroupLayout.PREFERRED_SIZE, 219, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(passwordTextField, javax.swing.GroupLayout.PREFERRED_SIZE, 219, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(usernameAlert)
.addComponent(passwordAlert)))
.addGroup(jPanel3Layout.createSequentialGroup()
.addGap(114, 114, 114)
.addComponent(iconFTI)))
.addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))))
);
jPanel3Layout.setVerticalGroup(
jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(labelimage, javax.swing.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE)
.addGroup(jPanel3Layout.createSequentialGroup()
.addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel3Layout.createSequentialGroup()
.addGap(257, 257, 257)
.addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jLabel1)
.addComponent(usernameAlert)))
.addGroup(jPanel3Layout.createSequentialGroup()
.addGap(52, 52, 52)
.addComponent(iconFTI)
.addGap(67, 67, 67)
.addComponent(usernameTextField, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(26, 26, 26)
.addComponent(passwordTextField, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(passwordAlert)
.addGap(55, 55, 55)
.addComponent(enterButton)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jLabel2)
.addComponent(disiniButton))
.addContainerGap(158, Short.MAX_VALUE))
);
javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
jPanel1.setLayout(jPanel1Layout);
jPanel1Layout.setHorizontalGroup(
jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel1Layout.createSequentialGroup()
.addGap(76, 76, 76)
.addComponent(jPanel3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addContainerGap(83, Short.MAX_VALUE))
);
jPanel1Layout.setVerticalGroup(
jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel1Layout.createSequentialGroup()
.addGap(58, 58, 58)
.addComponent(jPanel3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addContainerGap(62, Short.MAX_VALUE))
);
javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);
jPanel2.setLayout(jPanel2Layout);
jPanel2Layout.setHorizontalGroup(
jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
);
jPanel2Layout.setVerticalGroup(
jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
);
javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
getContentPane().setLayout(layout);
layout.setHorizontalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jPanel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
);
layout.setVerticalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jPanel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
);
pack();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Form() {\n initComponents();\n }",
"public MainForm() {\n initComponents();\n }",
"public MainForm() {\n initComponents();\n }",
"public MainForm() {\n initComponents();\n }",
"public frmRectangulo() {\n initComponents();\n }",
"public form() {\n initComponents();\n }",
"public AdjointForm() {\n initComponents();\n setDefaultCloseOperation(HIDE_ON_CLOSE);\n }",
"public FormListRemarking() {\n initComponents();\n }",
"public MainForm() {\n initComponents();\n \n }",
"public FormPemilihan() {\n initComponents();\n }",
"public GUIForm() { \n initComponents();\n }",
"public FrameForm() {\n initComponents();\n }",
"public TorneoForm() {\n initComponents();\n }",
"public FormCompra() {\n initComponents();\n }",
"public muveletek() {\n initComponents();\n }",
"public Interfax_D() {\n initComponents();\n }",
"public quanlixe_form() {\n initComponents();\n }",
"public SettingsForm() {\n initComponents();\n }",
"public RegistrationForm() {\n initComponents();\n this.setLocationRelativeTo(null);\n }",
"public Soru1() {\n initComponents();\n }",
"public FMainForm() {\n initComponents();\n this.setResizable(false);\n setLocationRelativeTo(null);\n }",
"public soal2GUI() {\n initComponents();\n }",
"public EindopdrachtGUI() {\n initComponents();\n }",
"public MechanicForm() {\n initComponents();\n }",
"public AddDocumentLineForm(java.awt.Frame parent) {\n super(parent);\n initComponents();\n myInit();\n }",
"public BloodDonationGUI() {\n initComponents();\n }",
"public quotaGUI() {\n initComponents();\n }",
"public Customer_Form() {\n initComponents();\n setSize(890,740);\n \n \n }",
"public PatientUI() {\n initComponents();\n }",
"public myForm() {\n\t\t\tinitComponents();\n\t\t}",
"public Oddeven() {\n initComponents();\n }",
"public intrebarea() {\n initComponents();\n }",
"public Magasin() {\n initComponents();\n }",
"public RadioUI()\n {\n initComponents();\n }",
"public NewCustomerGUI() {\n initComponents();\n }",
"public ZobrazUdalost() {\n initComponents();\n }",
"public FormUtama() {\n initComponents();\n }",
"public p0() {\n initComponents();\n }",
"public INFORMACION() {\n initComponents();\n this.setLocationRelativeTo(null); \n }",
"public ProgramForm() {\n setLookAndFeel();\n initComponents();\n }",
"public AmountReleasedCommentsForm() {\r\n initComponents();\r\n }",
"public form2() {\n initComponents();\n }",
"public MainForm() {\n\t\tsuper(\"Hospital\", List.IMPLICIT);\n\n\t\tstartComponents();\n\t}",
"public kunde() {\n initComponents();\n }",
"public LixeiraForm() {\n initComponents();\n setLocationRelativeTo(null);\n }",
"@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n setName(\"Form\"); // NOI18N\n setRequestFocusEnabled(false);\n setVerifyInputWhenFocusTarget(false);\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);\n this.setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 465, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 357, Short.MAX_VALUE)\n );\n }",
"public frmMain() {\n initComponents();\n }",
"public frmMain() {\n initComponents();\n }",
"public MusteriEkle() {\n initComponents();\n }",
"public DESHBORDPANAL() {\n initComponents();\n }",
"public GUIForm() {\n initComponents();\n inputField.setText(NO_FILE_SELECTED);\n outputField.setText(NO_FILE_SELECTED);\n progressLabel.setBackground(INFO);\n progressLabel.setText(SELECT_FILE);\n }",
"public frmVenda() {\n initComponents();\n }",
"public Botonera() {\n initComponents();\n }",
"public FrmMenu() {\n initComponents();\n }",
"public OffertoryGUI() {\n initComponents();\n setTypes();\n }",
"public JFFornecedores() {\n initComponents();\n }",
"@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents()\n {\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n setBackground(new java.awt.Color(255, 255, 255));\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 983, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 769, Short.MAX_VALUE)\n );\n\n pack();\n }",
"public EnterDetailsGUI() {\n initComponents();\n }",
"public vpemesanan1() {\n initComponents();\n }",
"public Kost() {\n initComponents();\n }",
"public UploadForm() {\n initComponents();\n }",
"public FormHorarioSSE() {\n initComponents();\n }",
"public frmacceso() {\n initComponents();\n }",
"public HW3() {\n initComponents();\n }",
"public Managing_Staff_Main_Form() {\n initComponents();\n }",
"@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents()\n {\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n getContentPane().setLayout(null);\n\n pack();\n }",
"@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n setName(\"Form\"); // NOI18N\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);\n this.setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 400, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 300, Short.MAX_VALUE)\n );\n }",
"public sinavlar2() {\n initComponents();\n }",
"public P0405() {\n initComponents();\n }",
"public IssueBookForm() {\n initComponents();\n }",
"public MiFrame2() {\n initComponents();\n }",
"public Choose1() {\n initComponents();\n }",
"public MainForm() {\n initComponents();\n\n String oldAuthor = prefs.get(\"AUTHOR\", \"\");\n if(oldAuthor != null) {\n this.authorTextField.setText(oldAuthor);\n }\n String oldBook = prefs.get(\"BOOK\", \"\");\n if(oldBook != null) {\n this.bookTextField.setText(oldBook);\n }\n String oldDisc = prefs.get(\"DISC\", \"\");\n if(oldDisc != null) {\n try {\n int oldDiscNum = Integer.parseInt(oldDisc);\n oldDiscNum++;\n this.discNumberTextField.setText(Integer.toString(oldDiscNum));\n } catch (Exception ex) {\n this.discNumberTextField.setText(oldDisc);\n }\n this.bookTextField.setText(oldBook);\n }\n\n\n }",
"public GUI_StudentInfo() {\n initComponents();\n }",
"public JFrmPrincipal() {\n initComponents();\n }",
"public Lihat_Dokter_Keseluruhan() {\n initComponents();\n }",
"public bt526() {\n initComponents();\n }",
"public Pemilihan_Dokter() {\n initComponents();\n }",
"public Ablak() {\n initComponents();\n }",
"@Override\n\tprotected void initUi() {\n\t\t\n\t}",
"@SuppressWarnings(\"unchecked\")\n\t// <editor-fold defaultstate=\"collapsed\" desc=\"Generated\n\t// Code\">//GEN-BEGIN:initComponents\n\tprivate void initComponents() {\n\n\t\tlabel1 = new java.awt.Label();\n\t\tlabel2 = new java.awt.Label();\n\t\tlabel3 = new java.awt.Label();\n\t\tlabel4 = new java.awt.Label();\n\t\tlabel5 = new java.awt.Label();\n\t\tlabel6 = new java.awt.Label();\n\t\tlabel7 = new java.awt.Label();\n\t\tlabel8 = new java.awt.Label();\n\t\tlabel9 = new java.awt.Label();\n\t\tlabel10 = new java.awt.Label();\n\t\ttextField1 = new java.awt.TextField();\n\t\ttextField2 = new java.awt.TextField();\n\t\tlabel14 = new java.awt.Label();\n\t\tlabel15 = new java.awt.Label();\n\t\tlabel16 = new java.awt.Label();\n\t\ttextField3 = new java.awt.TextField();\n\t\ttextField4 = new java.awt.TextField();\n\t\ttextField5 = new java.awt.TextField();\n\t\tlabel17 = new java.awt.Label();\n\t\tlabel18 = new java.awt.Label();\n\t\tlabel19 = new java.awt.Label();\n\t\tlabel20 = new java.awt.Label();\n\t\tlabel21 = new java.awt.Label();\n\t\tlabel22 = new java.awt.Label();\n\t\ttextField6 = new java.awt.TextField();\n\t\ttextField7 = new java.awt.TextField();\n\t\ttextField8 = new java.awt.TextField();\n\t\tlabel23 = new java.awt.Label();\n\t\ttextField9 = new java.awt.TextField();\n\t\ttextField10 = new java.awt.TextField();\n\t\ttextField11 = new java.awt.TextField();\n\t\ttextField12 = new java.awt.TextField();\n\t\tlabel24 = new java.awt.Label();\n\t\tlabel25 = new java.awt.Label();\n\t\tlabel26 = new java.awt.Label();\n\t\tlabel27 = new java.awt.Label();\n\t\tlabel28 = new java.awt.Label();\n\t\tlabel30 = new java.awt.Label();\n\t\tlabel31 = new java.awt.Label();\n\t\tlabel32 = new java.awt.Label();\n\t\tjButton1 = new javax.swing.JButton();\n\n\t\tlabel1.setFont(new java.awt.Font(\"Segoe UI Semibold\", 0, 18)); // NOI18N\n\t\tlabel1.setText(\"It seems that some of the buttons on the ATM machine are not working!\");\n\n\t\tlabel2.setFont(new java.awt.Font(\"Segoe UI Semibold\", 0, 18)); // NOI18N\n\t\tlabel2.setText(\"Unfortunately these numbers are exactly what Professor has to use to type in his password.\");\n\n\t\tlabel3.setFont(new java.awt.Font(\"Segoe UI Semibold\", 0, 18)); // NOI18N\n\t\tlabel3.setText(\n\t\t\t\t\"If you want to eat tonight, you have to help him out and construct the numbers of the password with the working buttons and math operators.\");\n\n\t\tlabel4.setFont(new java.awt.Font(\"Segoe UI Semibold\", 0, 14)); // NOI18N\n\t\tlabel4.setText(\"Denver's Password: 2792\");\n\n\t\tlabel5.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel5.setText(\"import java.util.Scanner;\\n\");\n\n\t\tlabel6.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel6.setText(\"public class ATM{\");\n\n\t\tlabel7.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel7.setText(\"public static void main(String[] args){\");\n\n\t\tlabel8.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel8.setText(\"System.out.print(\");\n\n\t\tlabel9.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel9.setText(\" -\");\n\n\t\tlabel10.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel10.setText(\");\");\n\n\t\ttextField1.addActionListener(new java.awt.event.ActionListener() {\n\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent evt) {\n\t\t\t\ttextField1ActionPerformed(evt);\n\t\t\t}\n\t\t});\n\n\t\tlabel14.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel14.setText(\"System.out.print( (\");\n\n\t\tlabel15.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel15.setText(\"System.out.print(\");\n\n\t\tlabel16.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel16.setText(\"System.out.print( ( (\");\n\n\t\tlabel17.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel17.setText(\")\");\n\n\t\tlabel18.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel18.setText(\" +\");\n\n\t\tlabel19.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel19.setText(\");\");\n\n\t\tlabel20.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel20.setText(\" /\");\n\n\t\tlabel21.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel21.setText(\" %\");\n\n\t\tlabel22.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel22.setText(\" +\");\n\n\t\tlabel23.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel23.setText(\");\");\n\n\t\tlabel24.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel24.setText(\" +\");\n\n\t\tlabel25.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel25.setText(\" /\");\n\n\t\tlabel26.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel26.setText(\" *\");\n\n\t\tlabel27.setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));\n\t\tlabel27.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel27.setText(\")\");\n\n\t\tlabel28.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel28.setText(\")\");\n\n\t\tlabel30.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel30.setText(\"}\");\n\n\t\tlabel31.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel31.setText(\"}\");\n\n\t\tlabel32.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel32.setText(\");\");\n\n\t\tjButton1.setFont(new java.awt.Font(\"Segoe UI Semibold\", 0, 14)); // NOI18N\n\t\tjButton1.setText(\"Check\");\n\t\tjButton1.addActionListener(new java.awt.event.ActionListener() {\n\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent evt) {\n\t\t\t\tjButton1ActionPerformed(evt);\n\t\t\t}\n\t\t});\n\n\t\tjavax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);\n\t\tlayout.setHorizontalGroup(layout.createParallelGroup(Alignment.LEADING)\n\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(28).addGroup(layout\n\t\t\t\t\t\t.createParallelGroup(Alignment.LEADING).addComponent(getDoneButton()).addComponent(jButton1)\n\t\t\t\t\t\t.addComponent(label7, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addComponent(label6, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addComponent(label5, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addComponent(label4, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addComponent(label3, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t.addComponent(label1, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t.addGap(1)\n\t\t\t\t\t\t\t\t.addComponent(label2, GroupLayout.PREFERRED_SIZE, 774, GroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t.addGap(92).addGroup(layout.createParallelGroup(Alignment.LEADING).addGroup(layout\n\t\t\t\t\t\t\t\t\t\t.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING, false)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label15, GroupLayout.PREFERRED_SIZE, 145,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField8, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(2)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label21, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField7, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label8, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField1, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label9, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED).addComponent(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttextField2, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label31, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label14, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(37))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(174)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField5, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t20, GroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label18, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(7)))\n\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING).addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.TRAILING, false).addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField4, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t20, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label17, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label22, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField9, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t20, GroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t.addGap(20)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label23, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label20, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField3, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t20, GroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t.addGap(20).addComponent(label19, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(23).addComponent(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tlabel10, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))))\n\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label16, GroupLayout.PREFERRED_SIZE, 177,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField12, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label24, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField6, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label27, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label25, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField11, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label28, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGap(1)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label26, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField10, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED).addComponent(label32,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))))\n\t\t\t\t\t\t.addComponent(label30, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t.addContainerGap(GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)));\n\t\tlayout.setVerticalGroup(\n\t\t\t\tlayout.createParallelGroup(Alignment.LEADING).addGroup(layout.createSequentialGroup().addContainerGap()\n\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t.addComponent(label1, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t.addComponent(label2, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t.addGap(1)\n\t\t\t\t\t\t.addComponent(label3, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addComponent(label4, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addComponent(label5, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addComponent(label6, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addComponent(label7, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\tAlignment.TRAILING)\n\t\t\t\t\t\t\t\t.addGroup(\n\t\t\t\t\t\t\t\t\t\tlayout.createSequentialGroup().addGroup(layout.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\t\t\tAlignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createSequentialGroup().addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.TRAILING).addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label9,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label8,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField1,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttextField2, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label10,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(3)))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(19)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField5,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label14,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label18,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label17,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField4,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(1))))\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label20, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label19, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField3, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(78)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label27, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(76)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField11, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(75)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label32,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField10,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tShort.MAX_VALUE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.TRAILING, false)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAlignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label15,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField8,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label21,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField7,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(27))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAlignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField9,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAlignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label22,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlayout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(3)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlabel23,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(29)))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label16,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField12,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAlignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label24,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField6,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(1))))))\n\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t.addComponent(label25, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t.addComponent(label28, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t.addComponent(label26, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t.addGap(30)\n\t\t\t\t\t\t.addComponent(label31, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addGap(25)\n\t\t\t\t\t\t.addComponent(label30, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addGap(26).addComponent(jButton1).addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addComponent(getDoneButton()).addContainerGap(23, Short.MAX_VALUE)));\n\t\tthis.setLayout(layout);\n\n\t\tlabel16.getAccessibleContext().setAccessibleName(\"System.out.print( ( (\");\n\t\tlabel17.getAccessibleContext().setAccessibleName(\"\");\n\t\tlabel18.getAccessibleContext().setAccessibleName(\" +\");\n\t}",
"public Pregunta23() {\n initComponents();\n }",
"public FormMenuUser() {\n super(\"Form Menu User\");\n initComponents();\n }",
"public AvtekOkno() {\n initComponents();\n }",
"public busdet() {\n initComponents();\n }",
"public ViewPrescriptionForm() {\n initComponents();\n }",
"public Ventaform() {\n initComponents();\n }",
"public Kuis2() {\n initComponents();\n }",
"public CreateAccount_GUI() {\n initComponents();\n }",
"public POS1() {\n initComponents();\n }",
"public Carrera() {\n initComponents();\n }",
"public EqGUI() {\n initComponents();\n }",
"public JFriau() {\n initComponents();\n this.setLocationRelativeTo(null);\n this.setTitle(\"BuNus - Budaya Nusantara\");\n }",
"@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n setBackground(new java.awt.Color(204, 204, 204));\n setMinimumSize(new java.awt.Dimension(1, 1));\n setPreferredSize(new java.awt.Dimension(760, 402));\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);\n this.setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 750, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 400, Short.MAX_VALUE)\n );\n }",
"public nokno() {\n initComponents();\n }",
"public dokter() {\n initComponents();\n }",
"public ConverterGUI() {\n initComponents();\n }",
"public hitungan() {\n initComponents();\n }",
"public Modify() {\n initComponents();\n }",
"public frmAddIncidencias() {\n initComponents();\n }",
"public FP_Calculator_GUI() {\n initComponents();\n \n setVisible(true);\n }"
]
| [
"0.73197734",
"0.72914416",
"0.72914416",
"0.72914416",
"0.72862023",
"0.72487676",
"0.7213741",
"0.7207628",
"0.7196503",
"0.7190263",
"0.71850693",
"0.71594703",
"0.7147939",
"0.7093137",
"0.70808756",
"0.70566356",
"0.6987119",
"0.69778043",
"0.6955563",
"0.6953879",
"0.6945632",
"0.6943359",
"0.69363457",
"0.6931661",
"0.6927987",
"0.6925778",
"0.6925381",
"0.69117576",
"0.6911631",
"0.68930036",
"0.6892348",
"0.6890817",
"0.68904495",
"0.6889411",
"0.68838716",
"0.6881747",
"0.6881229",
"0.68778914",
"0.6876094",
"0.6874808",
"0.68713",
"0.6859444",
"0.6856188",
"0.68556464",
"0.6855074",
"0.68549985",
"0.6853093",
"0.6853093",
"0.68530816",
"0.6843091",
"0.6837124",
"0.6836549",
"0.6828579",
"0.68282986",
"0.68268806",
"0.682426",
"0.6823653",
"0.6817904",
"0.68167645",
"0.68102163",
"0.6808751",
"0.680847",
"0.68083245",
"0.6807882",
"0.6802814",
"0.6795573",
"0.6794048",
"0.6792466",
"0.67904556",
"0.67893785",
"0.6789265",
"0.6788365",
"0.67824304",
"0.6766916",
"0.6765524",
"0.6765339",
"0.67571205",
"0.6755559",
"0.6751974",
"0.67510027",
"0.67433685",
"0.67390305",
"0.6737053",
"0.673608",
"0.6733373",
"0.67271507",
"0.67262334",
"0.67205364",
"0.6716807",
"0.67148036",
"0.6714143",
"0.67090863",
"0.67077154",
"0.67046666",
"0.6701339",
"0.67006236",
"0.6699842",
"0.66981244",
"0.6694887",
"0.6691074",
"0.66904294"
]
| 0.0 | -1 |
End of variables declaration//GENEND:variables | private void reset() {
usernameTextField.setText("Username");
usernameTextField.setForeground(new Color(153,153,153));
passwordTextField.setText("Password");
passwordTextField.setForeground(new Color(153,153,153));
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void lavar() {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t}",
"public void mo38117a() {\n }",
"@Override\r\n\tpublic void initVariables() {\n\t\t\r\n\t}",
"private void assignment() {\n\n\t\t\t}",
"private void kk12() {\n\n\t}",
"public void gored() {\n\t\t\n\t}",
"@Override\n public void func_104112_b() {\n \n }",
"public void mo21779D() {\n }",
"public final void mo51373a() {\n }",
"protected boolean func_70041_e_() { return false; }",
"public void mo4359a() {\n }",
"public void mo21782G() {\n }",
"private void m50366E() {\n }",
"public void mo12930a() {\n }",
"public void mo115190b() {\n }",
"public void method_4270() {}",
"public void mo1403c() {\n }",
"public void mo3376r() {\n }",
"public void mo3749d() {\n }",
"public void mo21793R() {\n }",
"protected boolean func_70814_o() { return true; }",
"public void mo21787L() {\n }",
"@Override\r\n\tpublic void dispase() {\n\r\n\t}",
"public void mo21780E() {\n }",
"public void mo21792Q() {\n }",
"public void mo21791P() {\n }",
"public void mo12628c() {\n }",
"@Override\n\tpublic void gravarBd() {\n\t\t\n\t}",
"public void mo97908d() {\n }",
"public void mo21878t() {\n }",
"public void mo9848a() {\n }",
"public void mo21825b() {\n }",
"public void mo23813b() {\n }",
"public void mo3370l() {\n }",
"public void mo21879u() {\n }",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\n\tpublic void nghe() {\n\n\t}",
"@Override\n\tpublic void ligar() {\n\t\t\n\t}",
"public void mo21785J() {\n }",
"public void mo21795T() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void m23075a() {\n }",
"public void mo21789N() {\n }",
"@Override\n\tpublic void einkaufen() {\n\t}",
"public void mo21794S() {\n }",
"public final void mo12688e_() {\n }",
"@Override\r\n\tvoid func04() {\n\t\t\r\n\t}",
"private Rekenhulp()\n\t{\n\t}",
"public void mo6944a() {\n }",
"public static void listing5_14() {\n }",
"public void mo1405e() {\n }",
"public final void mo91715d() {\n }",
"public void mo55254a() {\n }",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\r\n\tprotected void func03() {\n\t\t\r\n\t}",
"public void mo9137b() {\n }",
"@Override\n\tpublic void entrenar() {\n\t\t\n\t}",
"public void func_70295_k_() {}",
"void mo57277b();",
"public void mo21877s() {\n }",
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"public void Tyre() {\n\t\t\r\n\t}",
"void berechneFlaeche() {\n\t}",
"public void mo115188a() {\n }",
"public void mo21880v() {\n }",
"@Override\n\tpublic void nadar() {\n\t\t\n\t}",
"public void mo21784I() {\n }",
"private stendhal() {\n\t}",
"@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}",
"@Override\n\tpublic void nefesAl() {\n\n\t}",
"public void mo56167c() {\n }",
"public void mo44053a() {\n }",
"public void mo21781F() {\n }",
"public void mo2740a() {\n }",
"public void mo21783H() {\n }",
"public void mo1531a() {\n }",
"double defendre();",
"private zzfl$zzg$zzc() {\n void var3_1;\n void var2_-1;\n void var1_-1;\n this.value = var3_1;\n }",
"public void stg() {\n\n\t}",
"void m1864a() {\r\n }",
"private void poetries() {\n\n\t}",
"public void skystonePos4() {\n }",
"public void mo2471e() {\n }",
"@Override\n\tprotected void getExras() {\n\n\t}",
"private void yy() {\n\n\t}",
"@Override\n\tpublic void verkaufen() {\n\t}",
"@AnyLogicInternalCodegenAPI\n private void setupPlainVariables_Main_xjal() {\n }",
"static void feladat4() {\n\t}",
"@Override\n\tpublic void emprestimo() {\n\n\t}",
"@Override\r\n\t\t\tpublic void func02() {\n\t\t\t\t\r\n\t\t\t}",
"public void init() { \r\n\t\t// TODO Auto-generated method\r\n\t }",
"public void furyo ()\t{\n }",
"public void verliesLeven() {\r\n\t\t\r\n\t}",
"@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}",
"protected void mo6255a() {\n }"
]
| [
"0.6359434",
"0.6280371",
"0.61868024",
"0.6094568",
"0.60925734",
"0.6071678",
"0.6052686",
"0.60522056",
"0.6003249",
"0.59887564",
"0.59705925",
"0.59680873",
"0.5967989",
"0.5965816",
"0.5962006",
"0.5942372",
"0.5909877",
"0.5896588",
"0.5891321",
"0.5882983",
"0.58814824",
"0.5854075",
"0.5851759",
"0.58514243",
"0.58418584",
"0.58395296",
"0.5835063",
"0.582234",
"0.58090156",
"0.5802706",
"0.5793836",
"0.57862717",
"0.5784062",
"0.5783567",
"0.5782131",
"0.57758564",
"0.5762871",
"0.5759349",
"0.5745087",
"0.57427835",
"0.573309",
"0.573309",
"0.573309",
"0.573309",
"0.573309",
"0.573309",
"0.573309",
"0.57326084",
"0.57301426",
"0.57266665",
"0.57229686",
"0.57175463",
"0.5705802",
"0.5698347",
"0.5697827",
"0.569054",
"0.5689405",
"0.5686434",
"0.56738997",
"0.5662217",
"0.56531453",
"0.5645255",
"0.5644223",
"0.5642628",
"0.5642476",
"0.5640595",
"0.56317437",
"0.56294966",
"0.56289655",
"0.56220204",
"0.56180173",
"0.56134313",
"0.5611337",
"0.56112075",
"0.56058615",
"0.5604383",
"0.5602629",
"0.56002104",
"0.5591573",
"0.55856615",
"0.5576992",
"0.55707216",
"0.5569681",
"0.55570376",
"0.55531484",
"0.5551123",
"0.5550893",
"0.55482954",
"0.5547471",
"0.55469507",
"0.5545719",
"0.5543553",
"0.55424106",
"0.5542057",
"0.55410767",
"0.5537739",
"0.55269134",
"0.55236584",
"0.55170715",
"0.55035424",
"0.55020875"
]
| 0.0 | -1 |
Overridden for performance reasons. | @Override
public void firePropertyChange(final String propertyName, final boolean oldValue, final boolean newValue) {
/* we dont need propertychange events */
if ("indeterminate".equals(propertyName)) {
// this is required to forward indeterminate changes to the ui. This
// would cfreate nullpointers in the uis because progresbar might
// try to paint indeterminate states, but the ui has not been
// initialized due to the missing event
super.firePropertyChange(propertyName, oldValue, newValue);
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"@Override\n\tprotected void interr() {\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\n public int retroceder() {\n return 0;\n }",
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n protected void prot() {\n }",
"@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}",
"@Override\n public void func_104112_b() {\n \n }",
"public final void mo51373a() {\n }",
"@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void rozmnozovat() {\n\t}",
"@Override\r\n\tpublic int sub() {\n\t\treturn 0;\r\n\t}",
"@Override\n\tprotected void getExras() {\n\n\t}",
"@Override\r\n\tpublic void just() {\n\t\t\r\n\t}",
"@Override\n\t\tprotected void reset()\n\t\t{\n\t\t}",
"@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\tpublic void nadar() {\n\t\t\n\t}",
"@Override\r\n\t\t\tpublic void reset() {\n\t\t\t\t\r\n\t\t\t}",
"@Override\n\tpublic void entrenar() {\n\t\t\n\t}",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\n\tpublic void einkaufen() {\n\t}",
"@Override public int describeContents() { return 0; }",
"@Override\n protected void getExras() {\n }",
"@Override\n\t\t\tpublic void reset() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\t\t\tpublic void reset() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\t\t\tpublic void reset() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\t\t\tpublic void reset() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\tprotected void update() {\n\t\t\n\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"public void method_6349() {\r\n super.method_6349();\r\n }",
"@Override\n public int describeContents() { return 0; }",
"@Override\n public Object preProcess() {\n return null;\n }",
"@Override\n public void function()\n {\n }",
"@Override\n public void function()\n {\n }",
"protected boolean func_70814_o() { return true; }",
"@Override\n\tpublic void ligar() {\n\t\t\n\t}",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\r\n\tprotected void initSelfData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initSelfData() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\r\n\t\tprotected void run() {\n\t\t\t\r\n\t\t}",
"@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}",
"@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}",
"@Override\n protected void init() {\n }",
"protected boolean func_70041_e_() { return false; }",
"@Override\r\n\tprotected void doF8() {\n\t\t\r\n\t}",
"@Override\n public void reset() \n {\n\n }",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"public void method_6191() {\r\n super.method_6191();\r\n }",
"@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"protected void method_3848() {\r\n super.method_3848();\r\n }",
"@Override\n protected void end() {\n \n }",
"@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}",
"@Override\r\n \tpublic void process() {\n \t\t\r\n \t}",
"@Override\n protected void initialize() \n {\n \n }",
"@Override\r\n\t\tpublic void normalize()\r\n\t\t\t{\n\t\t\t\t\r\n\t\t\t}",
"@Override\r\n protected void end() {\r\n\r\n }",
"@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}",
"@Override\n\tpublic void emprestimo() {\n\n\t}",
"private final T self() { return (T)this; }",
"private final T self() { return (T)this; }",
"protected abstract Set method_1559();",
"private void m50366E() {\n }",
"@Override\r\n\tpublic void dispase() {\n\r\n\t}",
"@Override\n public void reset()\n {\n super.reset();\n }",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\n\tpublic void inorder() {\n\n\t}",
"@Override\n public boolean d() {\n return false;\n }",
"@Override\n public void inizializza() {\n\n super.inizializza();\n }",
"@Override\n public void reset() {\n super.reset();\n }",
"@Override\n\tprotected void logic() {\n\n\t}",
"@Override\n\tpublic void debite() {\n\t\t\n\t}",
"@Override\n\tprotected void getData() {\n\t\t\n\t}",
"public void method_1449() {\r\n super.method_1449();\r\n }",
"public void method_1449() {\r\n super.method_1449();\r\n }",
"public void method_1449() {\r\n super.method_1449();\r\n }",
"private stendhal() {\n\t}",
"@Override\n protected void initialize() {\n\n \n }"
]
| [
"0.66266733",
"0.66144234",
"0.65552056",
"0.64581615",
"0.6322522",
"0.62592286",
"0.6255816",
"0.6137584",
"0.60879487",
"0.6069481",
"0.6055304",
"0.60516286",
"0.60516286",
"0.60466534",
"0.6029377",
"0.60249865",
"0.6019364",
"0.6014495",
"0.60143304",
"0.5980733",
"0.59760976",
"0.596096",
"0.5946832",
"0.5942776",
"0.5938579",
"0.59325284",
"0.5922526",
"0.590218",
"0.590218",
"0.590218",
"0.590218",
"0.58984643",
"0.58972794",
"0.58921397",
"0.5879752",
"0.5876921",
"0.5870025",
"0.5870025",
"0.5854995",
"0.58469325",
"0.583857",
"0.58302647",
"0.58302647",
"0.5808953",
"0.5808953",
"0.5798451",
"0.5793272",
"0.5775522",
"0.5774931",
"0.57703537",
"0.57697713",
"0.5765924",
"0.5759216",
"0.5759216",
"0.5759216",
"0.5759216",
"0.5759216",
"0.5759216",
"0.5741757",
"0.5739246",
"0.573624",
"0.573624",
"0.573624",
"0.573624",
"0.573624",
"0.573624",
"0.573624",
"0.573624",
"0.573624",
"0.573624",
"0.573624",
"0.573624",
"0.5728941",
"0.57146245",
"0.5708454",
"0.5703284",
"0.5700951",
"0.5698786",
"0.5696468",
"0.5687131",
"0.5686466",
"0.567192",
"0.567192",
"0.5654491",
"0.5654272",
"0.5650531",
"0.5647871",
"0.56446475",
"0.56446475",
"0.5644108",
"0.56339145",
"0.5628048",
"0.56265086",
"0.56218696",
"0.5614228",
"0.56069887",
"0.5605437",
"0.5605437",
"0.5605437",
"0.56052303",
"0.5604956"
]
| 0.0 | -1 |
Overridden for performance reasons. | @Override
public void invalidate() {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"@Override\n\tprotected void interr() {\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\n public int retroceder() {\n return 0;\n }",
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n protected void prot() {\n }",
"@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}",
"@Override\n public void func_104112_b() {\n \n }",
"public final void mo51373a() {\n }",
"@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void rozmnozovat() {\n\t}",
"@Override\r\n\tpublic int sub() {\n\t\treturn 0;\r\n\t}",
"@Override\n\tprotected void getExras() {\n\n\t}",
"@Override\r\n\tpublic void just() {\n\t\t\r\n\t}",
"@Override\n\t\tprotected void reset()\n\t\t{\n\t\t}",
"@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\tpublic void nadar() {\n\t\t\n\t}",
"@Override\r\n\t\t\tpublic void reset() {\n\t\t\t\t\r\n\t\t\t}",
"@Override\n\tpublic void entrenar() {\n\t\t\n\t}",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\n\tpublic void einkaufen() {\n\t}",
"@Override public int describeContents() { return 0; }",
"@Override\n protected void getExras() {\n }",
"@Override\n\t\t\tpublic void reset() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\t\t\tpublic void reset() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\t\t\tpublic void reset() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\t\t\tpublic void reset() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\tprotected void update() {\n\t\t\n\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"public void method_6349() {\r\n super.method_6349();\r\n }",
"@Override\n public int describeContents() { return 0; }",
"@Override\n public Object preProcess() {\n return null;\n }",
"@Override\n public void function()\n {\n }",
"@Override\n public void function()\n {\n }",
"protected boolean func_70814_o() { return true; }",
"@Override\n\tpublic void ligar() {\n\t\t\n\t}",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\r\n\tprotected void initSelfData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initSelfData() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\r\n\t\tprotected void run() {\n\t\t\t\r\n\t\t}",
"@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}",
"@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}",
"@Override\n protected void init() {\n }",
"protected boolean func_70041_e_() { return false; }",
"@Override\r\n\tprotected void doF8() {\n\t\t\r\n\t}",
"@Override\n public void reset() \n {\n\n }",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"public void method_6191() {\r\n super.method_6191();\r\n }",
"@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"protected void method_3848() {\r\n super.method_3848();\r\n }",
"@Override\n protected void end() {\n \n }",
"@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}",
"@Override\r\n \tpublic void process() {\n \t\t\r\n \t}",
"@Override\n protected void initialize() \n {\n \n }",
"@Override\r\n\t\tpublic void normalize()\r\n\t\t\t{\n\t\t\t\t\r\n\t\t\t}",
"@Override\r\n protected void end() {\r\n\r\n }",
"@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}",
"@Override\n\tpublic void emprestimo() {\n\n\t}",
"private final T self() { return (T)this; }",
"private final T self() { return (T)this; }",
"protected abstract Set method_1559();",
"private void m50366E() {\n }",
"@Override\r\n\tpublic void dispase() {\n\r\n\t}",
"@Override\n public void reset()\n {\n super.reset();\n }",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\n\tpublic void inorder() {\n\n\t}",
"@Override\n public boolean d() {\n return false;\n }",
"@Override\n public void inizializza() {\n\n super.inizializza();\n }",
"@Override\n public void reset() {\n super.reset();\n }",
"@Override\n\tprotected void logic() {\n\n\t}",
"@Override\n\tpublic void debite() {\n\t\t\n\t}",
"@Override\n\tprotected void getData() {\n\t\t\n\t}",
"public void method_1449() {\r\n super.method_1449();\r\n }",
"public void method_1449() {\r\n super.method_1449();\r\n }",
"public void method_1449() {\r\n super.method_1449();\r\n }",
"private stendhal() {\n\t}",
"@Override\n protected void initialize() {\n\n \n }"
]
| [
"0.66266733",
"0.66144234",
"0.65552056",
"0.64581615",
"0.6322522",
"0.62592286",
"0.6255816",
"0.6137584",
"0.60879487",
"0.6069481",
"0.6055304",
"0.60516286",
"0.60516286",
"0.60466534",
"0.6029377",
"0.60249865",
"0.6019364",
"0.6014495",
"0.60143304",
"0.5980733",
"0.59760976",
"0.596096",
"0.5946832",
"0.5942776",
"0.5938579",
"0.59325284",
"0.5922526",
"0.590218",
"0.590218",
"0.590218",
"0.590218",
"0.58984643",
"0.58972794",
"0.58921397",
"0.5879752",
"0.5876921",
"0.5870025",
"0.5870025",
"0.5854995",
"0.58469325",
"0.583857",
"0.58302647",
"0.58302647",
"0.5808953",
"0.5808953",
"0.5798451",
"0.5793272",
"0.5775522",
"0.5774931",
"0.57703537",
"0.57697713",
"0.5765924",
"0.5759216",
"0.5759216",
"0.5759216",
"0.5759216",
"0.5759216",
"0.5759216",
"0.5741757",
"0.5739246",
"0.573624",
"0.573624",
"0.573624",
"0.573624",
"0.573624",
"0.573624",
"0.573624",
"0.573624",
"0.573624",
"0.573624",
"0.573624",
"0.573624",
"0.5728941",
"0.57146245",
"0.5708454",
"0.5703284",
"0.5700951",
"0.5698786",
"0.5696468",
"0.5687131",
"0.5686466",
"0.567192",
"0.567192",
"0.5654491",
"0.5654272",
"0.5650531",
"0.5647871",
"0.56446475",
"0.56446475",
"0.5644108",
"0.56339145",
"0.5628048",
"0.56265086",
"0.56218696",
"0.5614228",
"0.56069887",
"0.5605437",
"0.5605437",
"0.5605437",
"0.56052303",
"0.5604956"
]
| 0.0 | -1 |
Overridden for performance reasons. | @Override
public void repaint() {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"@Override\n\tprotected void interr() {\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\n public int retroceder() {\n return 0;\n }",
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n protected void prot() {\n }",
"@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}",
"@Override\n public void func_104112_b() {\n \n }",
"public final void mo51373a() {\n }",
"@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void rozmnozovat() {\n\t}",
"@Override\r\n\tpublic int sub() {\n\t\treturn 0;\r\n\t}",
"@Override\n\tprotected void getExras() {\n\n\t}",
"@Override\r\n\tpublic void just() {\n\t\t\r\n\t}",
"@Override\n\t\tprotected void reset()\n\t\t{\n\t\t}",
"@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\tpublic void nadar() {\n\t\t\n\t}",
"@Override\r\n\t\t\tpublic void reset() {\n\t\t\t\t\r\n\t\t\t}",
"@Override\n\tpublic void entrenar() {\n\t\t\n\t}",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\n\tpublic void einkaufen() {\n\t}",
"@Override public int describeContents() { return 0; }",
"@Override\n protected void getExras() {\n }",
"@Override\n\t\t\tpublic void reset() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\t\t\tpublic void reset() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\t\t\tpublic void reset() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\t\t\tpublic void reset() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\tprotected void update() {\n\t\t\n\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"public void method_6349() {\r\n super.method_6349();\r\n }",
"@Override\n public int describeContents() { return 0; }",
"@Override\n public Object preProcess() {\n return null;\n }",
"@Override\n public void function()\n {\n }",
"@Override\n public void function()\n {\n }",
"protected boolean func_70814_o() { return true; }",
"@Override\n\tpublic void ligar() {\n\t\t\n\t}",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\r\n\tprotected void initSelfData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initSelfData() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\r\n\t\tprotected void run() {\n\t\t\t\r\n\t\t}",
"@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}",
"@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}",
"@Override\n protected void init() {\n }",
"protected boolean func_70041_e_() { return false; }",
"@Override\r\n\tprotected void doF8() {\n\t\t\r\n\t}",
"@Override\n public void reset() \n {\n\n }",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"public void method_6191() {\r\n super.method_6191();\r\n }",
"@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"protected void method_3848() {\r\n super.method_3848();\r\n }",
"@Override\n protected void end() {\n \n }",
"@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}",
"@Override\r\n \tpublic void process() {\n \t\t\r\n \t}",
"@Override\n protected void initialize() \n {\n \n }",
"@Override\r\n\t\tpublic void normalize()\r\n\t\t\t{\n\t\t\t\t\r\n\t\t\t}",
"@Override\r\n protected void end() {\r\n\r\n }",
"@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}",
"@Override\n\tpublic void emprestimo() {\n\n\t}",
"private final T self() { return (T)this; }",
"private final T self() { return (T)this; }",
"protected abstract Set method_1559();",
"private void m50366E() {\n }",
"@Override\r\n\tpublic void dispase() {\n\r\n\t}",
"@Override\n public void reset()\n {\n super.reset();\n }",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\n\tpublic void inorder() {\n\n\t}",
"@Override\n public boolean d() {\n return false;\n }",
"@Override\n public void inizializza() {\n\n super.inizializza();\n }",
"@Override\n public void reset() {\n super.reset();\n }",
"@Override\n\tprotected void logic() {\n\n\t}",
"@Override\n\tpublic void debite() {\n\t\t\n\t}",
"@Override\n\tprotected void getData() {\n\t\t\n\t}",
"public void method_1449() {\r\n super.method_1449();\r\n }",
"public void method_1449() {\r\n super.method_1449();\r\n }",
"public void method_1449() {\r\n super.method_1449();\r\n }",
"private stendhal() {\n\t}",
"@Override\n protected void initialize() {\n\n \n }"
]
| [
"0.66266733",
"0.66144234",
"0.65552056",
"0.64581615",
"0.6322522",
"0.62592286",
"0.6255816",
"0.6137584",
"0.60879487",
"0.6069481",
"0.6055304",
"0.60516286",
"0.60516286",
"0.60466534",
"0.6029377",
"0.60249865",
"0.6019364",
"0.6014495",
"0.60143304",
"0.5980733",
"0.59760976",
"0.596096",
"0.5946832",
"0.5942776",
"0.5938579",
"0.59325284",
"0.5922526",
"0.590218",
"0.590218",
"0.590218",
"0.590218",
"0.58984643",
"0.58972794",
"0.58921397",
"0.5879752",
"0.5876921",
"0.5870025",
"0.5870025",
"0.5854995",
"0.58469325",
"0.583857",
"0.58302647",
"0.58302647",
"0.5808953",
"0.5808953",
"0.5798451",
"0.5793272",
"0.5775522",
"0.5774931",
"0.57703537",
"0.57697713",
"0.5765924",
"0.5759216",
"0.5759216",
"0.5759216",
"0.5759216",
"0.5759216",
"0.5759216",
"0.5741757",
"0.5739246",
"0.573624",
"0.573624",
"0.573624",
"0.573624",
"0.573624",
"0.573624",
"0.573624",
"0.573624",
"0.573624",
"0.573624",
"0.573624",
"0.573624",
"0.5728941",
"0.57146245",
"0.5708454",
"0.5703284",
"0.5700951",
"0.5698786",
"0.5696468",
"0.5687131",
"0.5686466",
"0.567192",
"0.567192",
"0.5654491",
"0.5654272",
"0.5650531",
"0.5647871",
"0.56446475",
"0.56446475",
"0.5644108",
"0.56339145",
"0.5628048",
"0.56265086",
"0.56218696",
"0.5614228",
"0.56069887",
"0.5605437",
"0.5605437",
"0.5605437",
"0.56052303",
"0.5604956"
]
| 0.0 | -1 |
Overridden for performance reasons. | @Override
public void repaint(final long tm, final int x, final int y, final int width, final int height) {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"@Override\n\tprotected void interr() {\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\n public int retroceder() {\n return 0;\n }",
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n protected void prot() {\n }",
"@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}",
"@Override\n public void func_104112_b() {\n \n }",
"public final void mo51373a() {\n }",
"@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void rozmnozovat() {\n\t}",
"@Override\r\n\tpublic int sub() {\n\t\treturn 0;\r\n\t}",
"@Override\n\tprotected void getExras() {\n\n\t}",
"@Override\r\n\tpublic void just() {\n\t\t\r\n\t}",
"@Override\n\t\tprotected void reset()\n\t\t{\n\t\t}",
"@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\tpublic void nadar() {\n\t\t\n\t}",
"@Override\r\n\t\t\tpublic void reset() {\n\t\t\t\t\r\n\t\t\t}",
"@Override\n\tpublic void entrenar() {\n\t\t\n\t}",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\n\tpublic void einkaufen() {\n\t}",
"@Override public int describeContents() { return 0; }",
"@Override\n protected void getExras() {\n }",
"@Override\n\t\t\tpublic void reset() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\t\t\tpublic void reset() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\t\t\tpublic void reset() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\t\t\tpublic void reset() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\tprotected void update() {\n\t\t\n\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"public void method_6349() {\r\n super.method_6349();\r\n }",
"@Override\n public int describeContents() { return 0; }",
"@Override\n public Object preProcess() {\n return null;\n }",
"@Override\n public void function()\n {\n }",
"@Override\n public void function()\n {\n }",
"protected boolean func_70814_o() { return true; }",
"@Override\n\tpublic void ligar() {\n\t\t\n\t}",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\r\n\tprotected void initSelfData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initSelfData() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\r\n\t\tprotected void run() {\n\t\t\t\r\n\t\t}",
"@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}",
"@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}",
"@Override\n protected void init() {\n }",
"protected boolean func_70041_e_() { return false; }",
"@Override\r\n\tprotected void doF8() {\n\t\t\r\n\t}",
"@Override\n public void reset() \n {\n\n }",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"public void method_6191() {\r\n super.method_6191();\r\n }",
"@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"protected void method_3848() {\r\n super.method_3848();\r\n }",
"@Override\n protected void end() {\n \n }",
"@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}",
"@Override\r\n \tpublic void process() {\n \t\t\r\n \t}",
"@Override\n protected void initialize() \n {\n \n }",
"@Override\r\n\t\tpublic void normalize()\r\n\t\t\t{\n\t\t\t\t\r\n\t\t\t}",
"@Override\r\n protected void end() {\r\n\r\n }",
"@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}",
"@Override\n\tpublic void emprestimo() {\n\n\t}",
"private final T self() { return (T)this; }",
"private final T self() { return (T)this; }",
"protected abstract Set method_1559();",
"private void m50366E() {\n }",
"@Override\r\n\tpublic void dispase() {\n\r\n\t}",
"@Override\n public void reset()\n {\n super.reset();\n }",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\n\tpublic void inorder() {\n\n\t}",
"@Override\n public boolean d() {\n return false;\n }",
"@Override\n public void inizializza() {\n\n super.inizializza();\n }",
"@Override\n public void reset() {\n super.reset();\n }",
"@Override\n\tprotected void logic() {\n\n\t}",
"@Override\n\tpublic void debite() {\n\t\t\n\t}",
"@Override\n\tprotected void getData() {\n\t\t\n\t}",
"public void method_1449() {\r\n super.method_1449();\r\n }",
"public void method_1449() {\r\n super.method_1449();\r\n }",
"public void method_1449() {\r\n super.method_1449();\r\n }",
"private stendhal() {\n\t}",
"@Override\n protected void initialize() {\n\n \n }"
]
| [
"0.66266733",
"0.66144234",
"0.65552056",
"0.64581615",
"0.6322522",
"0.62592286",
"0.6255816",
"0.6137584",
"0.60879487",
"0.6069481",
"0.6055304",
"0.60516286",
"0.60516286",
"0.60466534",
"0.6029377",
"0.60249865",
"0.6019364",
"0.6014495",
"0.60143304",
"0.5980733",
"0.59760976",
"0.596096",
"0.5946832",
"0.5942776",
"0.5938579",
"0.59325284",
"0.5922526",
"0.590218",
"0.590218",
"0.590218",
"0.590218",
"0.58984643",
"0.58972794",
"0.58921397",
"0.5879752",
"0.5876921",
"0.5870025",
"0.5870025",
"0.5854995",
"0.58469325",
"0.583857",
"0.58302647",
"0.58302647",
"0.5808953",
"0.5808953",
"0.5798451",
"0.5793272",
"0.5775522",
"0.5774931",
"0.57703537",
"0.57697713",
"0.5765924",
"0.5759216",
"0.5759216",
"0.5759216",
"0.5759216",
"0.5759216",
"0.5759216",
"0.5741757",
"0.5739246",
"0.573624",
"0.573624",
"0.573624",
"0.573624",
"0.573624",
"0.573624",
"0.573624",
"0.573624",
"0.573624",
"0.573624",
"0.573624",
"0.573624",
"0.5728941",
"0.57146245",
"0.5708454",
"0.5703284",
"0.5700951",
"0.5698786",
"0.5696468",
"0.5687131",
"0.5686466",
"0.567192",
"0.567192",
"0.5654491",
"0.5654272",
"0.5650531",
"0.5647871",
"0.56446475",
"0.56446475",
"0.5644108",
"0.56339145",
"0.5628048",
"0.56265086",
"0.56218696",
"0.5614228",
"0.56069887",
"0.5605437",
"0.5605437",
"0.5605437",
"0.56052303",
"0.5604956"
]
| 0.0 | -1 |
Overridden for performance reasons. | @Override
public void repaint(final Rectangle r) {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"@Override\n\tprotected void interr() {\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\n public int retroceder() {\n return 0;\n }",
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n protected void prot() {\n }",
"@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}",
"@Override\n public void func_104112_b() {\n \n }",
"public final void mo51373a() {\n }",
"@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void rozmnozovat() {\n\t}",
"@Override\r\n\tpublic int sub() {\n\t\treturn 0;\r\n\t}",
"@Override\n\tprotected void getExras() {\n\n\t}",
"@Override\r\n\tpublic void just() {\n\t\t\r\n\t}",
"@Override\n\t\tprotected void reset()\n\t\t{\n\t\t}",
"@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\tpublic void nadar() {\n\t\t\n\t}",
"@Override\r\n\t\t\tpublic void reset() {\n\t\t\t\t\r\n\t\t\t}",
"@Override\n\tpublic void entrenar() {\n\t\t\n\t}",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\n\tpublic void einkaufen() {\n\t}",
"@Override public int describeContents() { return 0; }",
"@Override\n protected void getExras() {\n }",
"@Override\n\t\t\tpublic void reset() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\t\t\tpublic void reset() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\t\t\tpublic void reset() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\t\t\tpublic void reset() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\tprotected void update() {\n\t\t\n\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"public void method_6349() {\r\n super.method_6349();\r\n }",
"@Override\n public int describeContents() { return 0; }",
"@Override\n public Object preProcess() {\n return null;\n }",
"@Override\n public void function()\n {\n }",
"@Override\n public void function()\n {\n }",
"protected boolean func_70814_o() { return true; }",
"@Override\n\tpublic void ligar() {\n\t\t\n\t}",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\r\n\tprotected void initSelfData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initSelfData() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\r\n\t\tprotected void run() {\n\t\t\t\r\n\t\t}",
"@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}",
"@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}",
"@Override\n protected void init() {\n }",
"protected boolean func_70041_e_() { return false; }",
"@Override\r\n\tprotected void doF8() {\n\t\t\r\n\t}",
"@Override\n public void reset() \n {\n\n }",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"public void method_6191() {\r\n super.method_6191();\r\n }",
"@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"protected void method_3848() {\r\n super.method_3848();\r\n }",
"@Override\n protected void end() {\n \n }",
"@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}",
"@Override\r\n \tpublic void process() {\n \t\t\r\n \t}",
"@Override\n protected void initialize() \n {\n \n }",
"@Override\r\n\t\tpublic void normalize()\r\n\t\t\t{\n\t\t\t\t\r\n\t\t\t}",
"@Override\r\n protected void end() {\r\n\r\n }",
"@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}",
"@Override\n\tpublic void emprestimo() {\n\n\t}",
"private final T self() { return (T)this; }",
"private final T self() { return (T)this; }",
"protected abstract Set method_1559();",
"private void m50366E() {\n }",
"@Override\r\n\tpublic void dispase() {\n\r\n\t}",
"@Override\n public void reset()\n {\n super.reset();\n }",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\n\tpublic void inorder() {\n\n\t}",
"@Override\n public boolean d() {\n return false;\n }",
"@Override\n public void inizializza() {\n\n super.inizializza();\n }",
"@Override\n public void reset() {\n super.reset();\n }",
"@Override\n\tprotected void logic() {\n\n\t}",
"@Override\n\tpublic void debite() {\n\t\t\n\t}",
"@Override\n\tprotected void getData() {\n\t\t\n\t}",
"public void method_1449() {\r\n super.method_1449();\r\n }",
"public void method_1449() {\r\n super.method_1449();\r\n }",
"public void method_1449() {\r\n super.method_1449();\r\n }",
"private stendhal() {\n\t}",
"@Override\n protected void initialize() {\n\n \n }"
]
| [
"0.66266733",
"0.66144234",
"0.65552056",
"0.64581615",
"0.6322522",
"0.62592286",
"0.6255816",
"0.6137584",
"0.60879487",
"0.6069481",
"0.6055304",
"0.60516286",
"0.60516286",
"0.60466534",
"0.6029377",
"0.60249865",
"0.6019364",
"0.6014495",
"0.60143304",
"0.5980733",
"0.59760976",
"0.596096",
"0.5946832",
"0.5942776",
"0.5938579",
"0.59325284",
"0.5922526",
"0.590218",
"0.590218",
"0.590218",
"0.590218",
"0.58984643",
"0.58972794",
"0.58921397",
"0.5879752",
"0.5876921",
"0.5870025",
"0.5870025",
"0.5854995",
"0.58469325",
"0.583857",
"0.58302647",
"0.58302647",
"0.5808953",
"0.5808953",
"0.5798451",
"0.5793272",
"0.5775522",
"0.5774931",
"0.57703537",
"0.57697713",
"0.5765924",
"0.5759216",
"0.5759216",
"0.5759216",
"0.5759216",
"0.5759216",
"0.5759216",
"0.5741757",
"0.5739246",
"0.573624",
"0.573624",
"0.573624",
"0.573624",
"0.573624",
"0.573624",
"0.573624",
"0.573624",
"0.573624",
"0.573624",
"0.573624",
"0.573624",
"0.5728941",
"0.57146245",
"0.5708454",
"0.5703284",
"0.5700951",
"0.5698786",
"0.5696468",
"0.5687131",
"0.5686466",
"0.567192",
"0.567192",
"0.5654491",
"0.5654272",
"0.5650531",
"0.5647871",
"0.56446475",
"0.56446475",
"0.5644108",
"0.56339145",
"0.5628048",
"0.56265086",
"0.56218696",
"0.5614228",
"0.56069887",
"0.5605437",
"0.5605437",
"0.5605437",
"0.56052303",
"0.5604956"
]
| 0.0 | -1 |
Overridden for performance reasons. | @Override
public void revalidate() {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"@Override\n\tprotected void interr() {\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\n public int retroceder() {\n return 0;\n }",
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n protected void prot() {\n }",
"@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}",
"@Override\n public void func_104112_b() {\n \n }",
"public final void mo51373a() {\n }",
"@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void rozmnozovat() {\n\t}",
"@Override\r\n\tpublic int sub() {\n\t\treturn 0;\r\n\t}",
"@Override\n\tprotected void getExras() {\n\n\t}",
"@Override\r\n\tpublic void just() {\n\t\t\r\n\t}",
"@Override\n\t\tprotected void reset()\n\t\t{\n\t\t}",
"@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\tpublic void nadar() {\n\t\t\n\t}",
"@Override\r\n\t\t\tpublic void reset() {\n\t\t\t\t\r\n\t\t\t}",
"@Override\n\tpublic void entrenar() {\n\t\t\n\t}",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\n\tpublic void einkaufen() {\n\t}",
"@Override public int describeContents() { return 0; }",
"@Override\n protected void getExras() {\n }",
"@Override\n\t\t\tpublic void reset() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\t\t\tpublic void reset() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\t\t\tpublic void reset() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\t\t\tpublic void reset() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\tprotected void update() {\n\t\t\n\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"public void method_6349() {\r\n super.method_6349();\r\n }",
"@Override\n public int describeContents() { return 0; }",
"@Override\n public Object preProcess() {\n return null;\n }",
"@Override\n public void function()\n {\n }",
"@Override\n public void function()\n {\n }",
"protected boolean func_70814_o() { return true; }",
"@Override\n\tpublic void ligar() {\n\t\t\n\t}",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\r\n\tprotected void initSelfData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initSelfData() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\r\n\t\tprotected void run() {\n\t\t\t\r\n\t\t}",
"@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}",
"@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}",
"@Override\n protected void init() {\n }",
"protected boolean func_70041_e_() { return false; }",
"@Override\r\n\tprotected void doF8() {\n\t\t\r\n\t}",
"@Override\n public void reset() \n {\n\n }",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"public void method_6191() {\r\n super.method_6191();\r\n }",
"@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"protected void method_3848() {\r\n super.method_3848();\r\n }",
"@Override\n protected void end() {\n \n }",
"@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}",
"@Override\r\n \tpublic void process() {\n \t\t\r\n \t}",
"@Override\n protected void initialize() \n {\n \n }",
"@Override\r\n\t\tpublic void normalize()\r\n\t\t\t{\n\t\t\t\t\r\n\t\t\t}",
"@Override\r\n protected void end() {\r\n\r\n }",
"@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}",
"@Override\n\tpublic void emprestimo() {\n\n\t}",
"private final T self() { return (T)this; }",
"private final T self() { return (T)this; }",
"protected abstract Set method_1559();",
"private void m50366E() {\n }",
"@Override\r\n\tpublic void dispase() {\n\r\n\t}",
"@Override\n public void reset()\n {\n super.reset();\n }",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\n\tpublic void inorder() {\n\n\t}",
"@Override\n public boolean d() {\n return false;\n }",
"@Override\n public void inizializza() {\n\n super.inizializza();\n }",
"@Override\n public void reset() {\n super.reset();\n }",
"@Override\n\tprotected void logic() {\n\n\t}",
"@Override\n\tpublic void debite() {\n\t\t\n\t}",
"@Override\n\tprotected void getData() {\n\t\t\n\t}",
"public void method_1449() {\r\n super.method_1449();\r\n }",
"public void method_1449() {\r\n super.method_1449();\r\n }",
"public void method_1449() {\r\n super.method_1449();\r\n }",
"private stendhal() {\n\t}",
"@Override\n protected void initialize() {\n\n \n }"
]
| [
"0.66266733",
"0.66144234",
"0.65552056",
"0.64581615",
"0.6322522",
"0.62592286",
"0.6255816",
"0.6137584",
"0.60879487",
"0.6069481",
"0.6055304",
"0.60516286",
"0.60516286",
"0.60466534",
"0.6029377",
"0.60249865",
"0.6019364",
"0.6014495",
"0.60143304",
"0.5980733",
"0.59760976",
"0.596096",
"0.5946832",
"0.5942776",
"0.5938579",
"0.59325284",
"0.5922526",
"0.590218",
"0.590218",
"0.590218",
"0.590218",
"0.58984643",
"0.58972794",
"0.58921397",
"0.5879752",
"0.5876921",
"0.5870025",
"0.5870025",
"0.5854995",
"0.58469325",
"0.583857",
"0.58302647",
"0.58302647",
"0.5808953",
"0.5808953",
"0.5798451",
"0.5793272",
"0.5775522",
"0.5774931",
"0.57703537",
"0.57697713",
"0.5765924",
"0.5759216",
"0.5759216",
"0.5759216",
"0.5759216",
"0.5759216",
"0.5759216",
"0.5741757",
"0.5739246",
"0.573624",
"0.573624",
"0.573624",
"0.573624",
"0.573624",
"0.573624",
"0.573624",
"0.573624",
"0.573624",
"0.573624",
"0.573624",
"0.573624",
"0.5728941",
"0.57146245",
"0.5708454",
"0.5703284",
"0.5700951",
"0.5698786",
"0.5696468",
"0.5687131",
"0.5686466",
"0.567192",
"0.567192",
"0.5654491",
"0.5654272",
"0.5650531",
"0.5647871",
"0.56446475",
"0.56446475",
"0.5644108",
"0.56339145",
"0.5628048",
"0.56265086",
"0.56218696",
"0.5614228",
"0.56069887",
"0.5605437",
"0.5605437",
"0.5605437",
"0.56052303",
"0.5604956"
]
| 0.0 | -1 |
for renderer reasons, there is a bug in java, that disabled icons to not get cached properly. thats why we override the method here and extend it to use a cached disabled icon | @Override
public void setEnabled(final boolean b) {
_enabled = b;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public boolean isIcon(){\n return super.isIcon() || speciallyIconified;\n }",
"@Source(\"update.gif\")\n\tpublic DataResource updateIconDisabledResource();",
"@Override\r\n\t\tpublic void requestIcon(String arg0) {\n\t\t\t\r\n\t\t}",
"@Override\n public void setIconOnly(boolean iconOnly)\n {\n }",
"@Override\n public Image getIconImage() {\n Image retValue = Toolkit.getDefaultToolkit().\n getImage(ClassLoader.getSystemResource(\"Imagenes/Icono.png\"));\n return retValue;\n}",
"public Image getDisabledImage () {\r\n\tcheckWidget();\r\n\treturn disabledImage;\r\n}",
"public org.netbeans.modules.j2ee.dd.api.common.Icon getIcon(){return null;}",
"public interface PluginIcons {\n\n Icon playFirst = IconLoader.getIcon(\"/icons/play_first.svg\", PluginIcons.class);\n Icon playPrevious = IconLoader.getIcon(\"/icons/play_back.svg\", PluginIcons.class);\n Icon play = IconLoader.getIcon(\"/icons/toolWindowRun.svg\", PluginIcons.class);\n Icon pause = IconLoader.getIcon(\"/icons/pause.svg\", PluginIcons.class);\n Icon playNext = IconLoader.getIcon(\"/icons/play_forward.svg\", PluginIcons.class);\n Icon playLast = IconLoader.getIcon(\"/icons/play_last.svg\", PluginIcons.class);\n Icon volume = IconLoader.getIcon(\"/icons/volume_up.svg\", PluginIcons.class);\n Icon volumeOff = IconLoader.getIcon(\"/icons/volume_off.svg\", PluginIcons.class);\n Icon autoPlayOff = IconLoader.getIcon(\"/icons/infinity.svg\", PluginIcons.class);\n Icon autoPlayOn = IconLoader.getIcon(\"/icons/infinity_on.svg\", PluginIcons.class);\n Icon showCodeOff = IconLoader.getIcon(\"/icons/showCode.svg\", PluginIcons.class);\n Icon showCodeOn = IconLoader.getIcon(\"/icons/showCode_on.svg\", PluginIcons.class);\n Icon jumpToCode = IconLoader.getIcon(\"/icons/stepOutCodeBlock.svg\", PluginIcons.class);\n Icon playCodecast = IconLoader.getIcon(\"/icons/play_codecast.svg\", PluginIcons.class);\n Icon refresh = IconLoader.getIcon(\"/icons/refresh.svg\", PluginIcons.class);\n}",
"public void paintIcon(Component c, Graphics g, int x, int y)\r\n/* 164: */ {\r\n/* 165:198 */ Graphics2D g2 = (Graphics2D)g;\r\n/* 166:199 */ AbstractButton rb = (AbstractButton)c;\r\n/* 167:200 */ ButtonModel model = rb.getModel();\r\n/* 168:201 */ boolean paintFocus = ((model.isArmed()) && (!model.isPressed())) || ((rb.hasFocus()) && (PlasticXPIconFactory.isBlank(rb.getText())));\r\n/* 169: */ \r\n/* 170: */ \r\n/* 171:204 */ RenderingHints.Key key = RenderingHints.KEY_ANTIALIASING;\r\n/* 172:205 */ Object newAAHint = RenderingHints.VALUE_ANTIALIAS_ON;\r\n/* 173:206 */ Object oldAAHint = g2.getRenderingHint(key);\r\n/* 174:207 */ if (newAAHint != oldAAHint) {\r\n/* 175:208 */ g2.setRenderingHint(key, newAAHint);\r\n/* 176: */ } else {\r\n/* 177:210 */ oldAAHint = null;\r\n/* 178: */ }\r\n/* 179:213 */ drawFill(g2, model.isPressed(), x, y, SIZE - 1, SIZE - 1);\r\n/* 180:214 */ if (paintFocus) {\r\n/* 181:215 */ drawFocus(g2, x + 1, y + 1, SIZE - 3, SIZE - 3);\r\n/* 182: */ }\r\n/* 183:217 */ if (model.isSelected()) {\r\n/* 184:218 */ drawCheck(g2, c, model.isEnabled(), x + 4, y + 4, SIZE - 8, SIZE - 8);\r\n/* 185: */ }\r\n/* 186:220 */ drawBorder(g2, model.isEnabled(), x, y, SIZE - 1, SIZE - 1);\r\n/* 187:222 */ if (oldAAHint != null) {\r\n/* 188:223 */ g2.setRenderingHint(key, oldAAHint);\r\n/* 189: */ }\r\n/* 190: */ }",
"protected String customIconSet(Object inNode)\n\t{\n\t\treturn null;\n\t}",
"public abstract String typeIcon();",
"String getIcon();",
"String getIcon();",
"public String getIconURL()\n {\n return null; \n }",
"private void updateBaseIcon() {\n this.squareIcon.setDecoratedIcon( getSelectedBaseIcon() );\n this.radialIcon.setDecoratedIcon( getSelectedBaseIcon() );\n }",
"@Nullable\n @Override\n public Icon getIcon(boolean unused) {\n return ToolkitIcons.METHOD.get(method);\n }",
"@Override\n\tpublic String getIconURI() {\n\t\treturn null;\n\t}",
"@Override\r\n\tpublic Image getGameIcon() {\n\t\treturn null;\r\n\t}",
"@Override\n public void setIconURI(String arg0)\n {\n \n }",
"public void replaceIcons(){\n int nb = this.listGraphFrame.size();\n int x = 0;\n int y = this.getHeight()-DataProcessToolPanel.ICON_HEIGHT;\n for (int i=0; i<nb; i++){\n InternalGraphFrame gFrame = listGraphFrame.get(i);\n if(gFrame.isIcon() && gFrame.getDesktopIcon() != null){\n JInternalFrame.JDesktopIcon icon = gFrame.getDesktopIcon();\n icon.setBounds(x, y, icon.getWidth(), icon.getHeight());\n if(x+(2*DataProcessToolPanel.ICON_WIDTH) < getWidth()){\n x += DataProcessToolPanel.ICON_WIDTH;\n }else{\n x = 0;\n y = y-DataProcessToolPanel.ICON_HEIGHT;\n }\n }\n }\n }",
"@Nullable\n @Override\n public Icon getIcon(boolean unused) {\n RowIcon rowIcon = new RowIcon(2);\n\n rowIcon.setIcon(ElixirIcons.MODULE, 0);\n rowIcon.setIcon(PlatformIcons.ANONYMOUS_CLASS_ICON, 1);\n\n return rowIcon;\n }",
"@Override\n public Image getIconImage() {\n Image retValue = Toolkit.getDefaultToolkit().\n getImage(ClassLoader.getSystemResource(\"Images/mainIcon.png\"));\n\n\n return retValue;\n }",
"@Override\n\tpublic String getIconFileName() {\n\t\treturn null;\n\t}",
"java.lang.String getIcon();",
"java.lang.String getIcon();",
"@Override\n public Image getIconImage() {\n Image retValue = Toolkit.getDefaultToolkit().getImage(ClassLoader.getSystemResource(\"images/icon.png\"));\n return retValue;\n }",
"public abstract String getIconPath();",
"boolean hasIcon();",
"boolean hasIcon();",
"private void setIcon() {\n \n setIconImage(Toolkit.getDefaultToolkit().getImage(getClass().getResource(\"iconabc.png\")));\n }",
"public IconRenderer() \n\t{\n\t\t\n\t}",
"public abstract String getIconString();",
"Icon getIcon();",
"protected Image loadIcon() {\n /*\n * Icon by http://www.artua.com/, retrieved here:\n * http://www.iconarchive.com/show/star-wars-icons-by-artua.html\n */\n return new ImageLoader().loadIcon(\"moon.png\");\n }",
"public Icon getIcon() {\n \t\treturn null;\n \t}",
"@Override\n\tpublic void setIcon(int resId) {\n\t\t\n\t}",
"Icon createIcon();",
"@Override\n public void onPackageIconChanged() {\n }",
"private void iconImage() {\n setIconImage(Toolkit.getDefaultToolkit().getImage(getClass().getResource(\"icon.jpg\")));\n }",
"public void paintIcon(Component c, Graphics g, int x, int y)\r\n/* 60: */ {\r\n/* 61:103 */ JCheckBox cb = (JCheckBox)c;\r\n/* 62:104 */ ButtonModel model = cb.getModel();\r\n/* 63:105 */ Graphics2D g2 = (Graphics2D)g;\r\n/* 64:106 */ boolean paintFocus = ((model.isArmed()) && (!model.isPressed())) || ((cb.hasFocus()) && (PlasticXPIconFactory.isBlank(cb.getText())));\r\n/* 65: */ \r\n/* 66: */ \r\n/* 67:109 */ RenderingHints.Key key = RenderingHints.KEY_ANTIALIASING;\r\n/* 68:110 */ Object newAAHint = RenderingHints.VALUE_ANTIALIAS_ON;\r\n/* 69:111 */ Object oldAAHint = g2.getRenderingHint(key);\r\n/* 70:112 */ if (newAAHint != oldAAHint) {\r\n/* 71:113 */ g2.setRenderingHint(key, newAAHint);\r\n/* 72: */ } else {\r\n/* 73:115 */ oldAAHint = null;\r\n/* 74: */ }\r\n/* 75:118 */ drawBorder(g2, model.isEnabled(), x, y, SIZE - 1, SIZE - 1);\r\n/* 76:119 */ drawFill(g2, model.isPressed(), x + 1, y + 1, SIZE - 2, SIZE - 2);\r\n/* 77:120 */ if (paintFocus) {\r\n/* 78:121 */ drawFocus(g2, x + 1, y + 1, SIZE - 3, SIZE - 3);\r\n/* 79: */ }\r\n/* 80:123 */ if (model.isSelected()) {\r\n/* 81:124 */ drawCheck(g2, model.isEnabled(), x + 3, y + 3, SIZE - 7, SIZE - 7);\r\n/* 82: */ }\r\n/* 83:127 */ if (oldAAHint != null) {\r\n/* 84:128 */ g2.setRenderingHint(key, oldAAHint);\r\n/* 85: */ }\r\n/* 86: */ }",
"private void setModifiedAndUpdateIcon() {\n document.setModified(true);\n updateTabIcon(document);\n }",
"@Source(\"images/deleteButton.png\")\n @ImageOptions(flipRtl = true)\n ImageResource removeIcon();",
"public void clearMainIcon();",
"private void loadAndSetIcon()\n\t{\t\t\n\t\ttry\n\t\t{\n\t\t\twindowIcon = ImageIO.read (getClass().getResource (\"calculator.png\"));\n\t\t\tsetIconImage(windowIcon);\n\t\t}\n\t\tcatch(Exception e)\n\t\t{\n\t\t\t\n\t\t}\t\t\n\t}",
"public abstract ImageIcon getButtonIcon();",
"@Override\n public String getFlagIconPath() {\n return flagIconPath;\n }",
"@Override\n\tprotected String iconResourceName() {\n\t\treturn \"nkv550.png\";\n\t}",
"public void setIcon(Image i) {icon = i;}",
"@Override\n public Image getIconImage() {\n Image retValue = Toolkit.getDefaultToolkit().getImage(ClassLoader.getSystemResource(\"imagenes/Icon.jpg\"));\n return retValue;\n }",
"protected String getStatusIcon() {\n return isDone ? \"x\" : \" \";\n }",
"public Icon getIcon() {\n\t\treturn null;\n\t}",
"public Icon getIcon();",
"@Override\n\tpublic ToolIconURL getIconURL() {\n\t\treturn iconURL;\n\t}",
"@Override\n\tpublic void setIcon(Drawable icon) {\n\t\t\n\t}",
"private void setIcon() {\n setIconImage(Toolkit.getDefaultToolkit().getImage(getClass().getResource(\"icon.png\")));\n }",
"public String getIconFileName() {\n return null;\n }",
"@Override\r\n\tpublic IconsApi getIconsApi() {\r\n\t\treturn this;\r\n\t}",
"public void registerIcons(IIconRegister iconRegister) {\n/* 51 */ this.itemIcon = iconRegister.registerIcon(\"forgottenrelics:Soul_Tome\");\n/* */ }",
"public BufferedImage getTrayiconInactive() {\n return loadTrayIcon(\"/images/\" + OS + TRAYICON_INACTIVE);\n }",
"private ImageIcon getJLFImageIcon(String name) {\n\t\tString imgLocation = \"/toolbarButtonGraphics/\" + name + \"24.gif\";\n\t\treturn getMyImage(imgLocation);\n\t}",
"private String getStatusIcon() {\n return this.isDone ? \"X\" : \"\";\n }",
"public void resetShellIcon() {\r\n\t\tGDE.display.asyncExec(new Runnable() {\r\n\t\t\tpublic void run() {\r\n\t\t\t\tGDE.shell.setImage(SWTResourceManager.getImage(GDE.IS_MAC ? \"gde/resource/DataExplorer_MAC.png\" : \"gde/resource/DataExplorer.png\")); //$NON-NLS-1$ //$NON-NLS-2$\r\n\t\t\t}\r\n\t\t});\r\n\t}",
"public void setMainIcon(IconReference ref);",
"private void SetIcon() {\n \n setIconImage(Toolkit.getDefaultToolkit().getImage(getClass().getResource(\"appIcon.png\")));\n }",
"private static Component createIconComponent()\n {\n JPanel wrapIconPanel = new TransparentPanel(new BorderLayout());\n\n JLabel iconLabel = new JLabel();\n\n iconLabel.setIcon(DesktopUtilActivator.getResources()\n .getImage(\"service.gui.icons.AUTHORIZATION_ICON\"));\n\n wrapIconPanel.add(iconLabel, BorderLayout.NORTH);\n\n return wrapIconPanel;\n }",
"private void updateDisplayModeIcon() {\n FontAwesome icon = FontAwesome.CALENDAR;\n if (getDisplayMode().equals(DisplayMode.GRID)) {\n icon = FontAwesome.TABLE;\n }\n\n final FontIcon graphic = new FontIcon(icon);\n graphic.getStyleClass().addAll(\"button-icon\", \"display-mode-icon\");\n displayModeButton.setGraphic(graphic);\n }",
"public static synchronized Icon getIllegalIcon ()\n\t{\n\t\tif (_illegalIcon == null)\n\t\t{\n\t\t\t_illegalIcon = getIcon(\n\t\t\t\t\"org/openide/resources/propertysheet/invalid.gif\", // NOI18N\n\t\t\t\tMappingContextFactory.getDefault().getString(\"ICON_illegal\"));\n\t\t}\n\n\t\treturn _illegalIcon;\n\t}",
"public abstract Drawable getIcon();",
"@Override\n public Image getFlagImage() {\n Image image = AwsToolkitCore.getDefault().getImageRegistry().get(AwsToolkitCore.IMAGE_FLAG_PREFIX + id);\n if ( image == null ) {\n image = AwsToolkitCore.getDefault().getImageRegistry().get(AwsToolkitCore.IMAGE_AWS_ICON);\n }\n return image;\n }",
"@Override public Icon getIcon(DotPalette pal) {\n int i=0;\n for(Object choice: DotPalette.values()) {\n if (i>=icons.size()) break;\n if (pal==choice) return icons.get(i);\n i++;\n }\n return icons.get(0);\n }",
"public void showButtonIcon( boolean b ) {\n if ( b ) {\n URL url = getClass().getClassLoader().getResource( \"images/Play16.gif\" );\n Icon icon = null;\n if ( url != null )\n icon = new ImageIcon( url );\n _run_btn.setIcon( icon );\n\n url = getClass().getClassLoader().getResource( \"images/Zoom16.gif\" );\n icon = null;\n if ( url != null )\n icon = new ImageIcon( url );\n _trace_btn.setIcon( icon );\n\n url = getClass().getClassLoader().getResource( \"images/Edit16.gif\" );\n icon = null;\n if ( url != null )\n icon = new ImageIcon( url );\n _edit_btn.setIcon( icon );\n\n url = getClass().getClassLoader().getResource( \"images/Information16.gif\" );\n icon = null;\n if ( url != null )\n icon = new ImageIcon( url );\n _props_btn.setIcon( icon );\n\n url = getClass().getClassLoader().getResource( \"images/Properties16.gif\" );\n icon = null;\n if ( url != null )\n icon = new ImageIcon( url );\n _options_btn.setIcon( icon );\n\n url = getClass().getClassLoader().getResource( \"images/Refresh16.gif\" );\n icon = null;\n if ( url != null )\n icon = new ImageIcon( url );\n _reload_btn.setIcon( icon );\n }\n else {\n _run_btn.setIcon( null );\n _trace_btn.setIcon( null );\n _edit_btn.setIcon( null );\n _props_btn.setIcon( null );\n _options_btn.setIcon( null );\n _reload_btn.setIcon( null );\n }\n }",
"private String getStatusIcon() {\n return (isDone ? \"+\" : \"-\");\n }",
"private static IconResource initIconResource() {\n\t\tIconResource iconResource = new IconResource(Configuration.SUPERVISOR_LOGGER);\n\t\t\n\t\ticonResource.addResource(IconTypeAWMS.HOME.name(), iconPath + \"home.png\");\n\t\ticonResource.addResource(IconTypeAWMS.INPUT_ORDER.name(), iconPath + \"input-order.png\");\n\t\ticonResource.addResource(IconTypeAWMS.OUTPUT_ORDER.name(), iconPath + \"output-order.png\");\n\t\ticonResource.addResource(IconTypeAWMS.PLUS.name(), iconPath + \"plus.png\");\n\t\ticonResource.addResource(IconTypeAWMS.MINUS.name(), iconPath + \"minus.png\");\n\t\ticonResource.addResource(IconTypeAWMS.EDIT.name(), iconPath + \"edit.png\");\n\t\ticonResource.addResource(IconTypeAWMS.CONFIRM.name(), iconPath + \"confirm.png\");\n\t\ticonResource.addResource(IconTypeAWMS.CANCEL.name(), iconPath + \"cancel.png\");\n\t\ticonResource.addResource(IconTypeAWMS.USER.name(), iconPath + \"user.png\");\n\t\t\n\t\treturn iconResource;\n\t}",
"public void clearStatusIcons();",
"private DuakIcons()\r\n {\r\n }",
"public IconCache getIconCache() {\n return mIconCache;\n }",
"public ImageIcon getIcon() {\n\t\treturn null;\n\t}",
"public ImageIcon getIcon() {\n\t\treturn null;\n\t}",
"private void initBaseIcons() {\n iconMonitor = new ImageIcon( getClass().getResource(\"/system.png\") );\n iconBattery = new ImageIcon( getClass().getResource(\"/klaptopdaemon.png\") );\n iconSearch = new ImageIcon( getClass().getResource(\"/xmag.png\") );\n iconJava = new ImageIcon( getClass().getResource(\"/java-icon.png\") );\n iconPrinter = new ImageIcon( getClass().getResource(\"/printer.png\") );\n iconRun = new ImageIcon( getClass().getResource(\"/run.png\") );\n }",
"String getIconFile();",
"public AppIcon getAppIcon () ;",
"private void setIcons(){\n\t\tfinal List<BufferedImage> icons = new ArrayList<BufferedImage>();\n\t\ttry {\n\t\t\ticons.add(ImageLoader.getBufferedImage(SMALL_ICON_PATH));\n\t\t\ticons.add(ImageLoader.getBufferedImage(BIG_ICON_PATH));\n\t\t} catch (IOException e) {\n\t\t\tmanager.handleException(e);\n\t\t}\n\t\tif(icons.size() > 0)\n\t\t\tsetIconImages(icons);\n\t}",
"private void updateBusyIcon() {\n this.jLabelIcon.setIcon( getSelectedBusyICon() );\n }",
"protected HStaticIcon createHStaticIcon()\n {\n return new HStaticIcon();\n }",
"@SideOnly(Side.CLIENT)\n/* 31: */ public void registerIcons(IIconRegister iconRegister) {}",
"@Override\n public void setIcon(boolean iconified) throws PropertyVetoException{\n if ((getParent() == null) && (desktopIcon.getParent() == null)){\n if (speciallyIconified == iconified)\n return;\n\n Boolean oldValue = speciallyIconified ? Boolean.TRUE : Boolean.FALSE; \n Boolean newValue = iconified ? Boolean.TRUE : Boolean.FALSE;\n fireVetoableChange(IS_ICON_PROPERTY, oldValue, newValue);\n\n speciallyIconified = iconified;\n }\n else\n super.setIcon(iconified);\n }",
"public Component getTreeCellRendererComponent(\n JTree tree, //stablo koje se prikazuje\n Object value, //stavka koja se iscrtava \n boolean sel, //da li je stavka selektovana\n boolean expanded,\n boolean leaf, //da li je list\n int row,\n boolean hasFocus) {\n super.getTreeCellRendererComponent(tree, value, sel,expanded, leaf, row,hasFocus);\n \n \n if (value instanceof Entity ) {\n URL imageURL = getClass().getResource(\"gui_icons/table1.png\");\n Icon icon = null;\n if (imageURL != null) \n icon = new ImageIcon(imageURL);\n setIcon(icon);\n \n } else if (value instanceof InformationResource ) {\n \t URL imageURL=getClass().getResource(\"gui_icons/file.jpg\");\n Icon icon = null;\n if (imageURL != null) \n icon = new ImageIcon(imageURL);\n setIcon(icon);\n \n } else if (value instanceof Attribute ) {\n \t URL imageURL=getClass().getResource(\"gui_icons/attribute.png\");\n Icon icon = null;\n if (imageURL != null) \n icon = new ImageIcon(imageURL);\n setIcon(icon);\n \n } else if (value instanceof AttributeConstraint) {\n \tAttributeConstraint ac = (AttributeConstraint) value;\n \t URL imageURL=null;\n \t if (ac.getConstraintType() == ConstraintType.PRIMARY_KEY) imageURL=getClass().getResource(\"gui_icons/primary.png\");\n \t else if(ac.getConstraintType() == ConstraintType.FOREIGN_KEY) imageURL=getClass().getResource(\"gui_icons/imported.jpg\");\n \t else if(ac.getConstraintType() == ConstraintType.NOT_NULL) imageURL=getClass().getResource(\"gui_icons/notnull.png\");\n Icon icon = null;\n if (imageURL != null) \n icon = new ImageIcon(imageURL);\n setIcon(icon);\n \n } \n return this;\n}",
"private void updateIcon(MarketIndex index) throws IOException {\n\n if(index.getImage()==null){\n String url = \"https://etoro-cdn.etorostatic.com/market-avatars/\"+index.getSymbol().toLowerCase()+\"/150x150.png\";\n byte[] bytes = utils.getBytesFromUrl(url);\n if(bytes!=null){\n if(bytes.length>0){\n byte[] scaled = utils.scaleImage(bytes, Application.STORED_ICON_WIDTH, Application.STORED_ICON_HEIGHT);\n index.setImage(scaled);\n }\n }else{ // Icon not found on etoro, symbol not managed on eToro or icon has a different name? Use standard icon.\n Image img = utils.getDefaultIndexIcon();\n bytes = utils.imageToByteArray(img);\n byte[] scaled = utils.scaleImage(bytes, Application.STORED_ICON_WIDTH, Application.STORED_ICON_HEIGHT);\n index.setImage(scaled);\n }\n }\n\n }",
"@Override\n\tpublic ImageIcon getFrameIcon() {\n\t\treturn null;\n\t}",
"private void setIconImage(ImageIcon imageIcon) {\n throw new UnsupportedOperationException(\"Not supported yet.\"); //To change body of generated methods, choose Tools | Templates.\n }",
"private void setIconImage(ImageIcon imageIcon) {\n throw new UnsupportedOperationException(\"Not supported yet.\"); //To change body of generated methods, choose Tools | Templates.\n }",
"protected abstract String getAddDataIconDefaultCaption () ;",
"protected Icon getIcon() {\n return getConnection().getIcon(getIconUri());\n }",
"private void setIcon() {\n setIconImage(Toolkit.getDefaultToolkit().getImage(getClass().getResource(\"radarlogoIcon.png\")));\n }",
"public String getAccessibleIconDescription();",
"private void setIcon() {\n setIconImage(Toolkit.getDefaultToolkit().getImage(getClass().getResource(\"croissant.png\")));\n }",
"@Override\n public int getSmallIconId() throws android.os.RemoteException {\n return 0;\n }",
"@Override\n\tpublic Icon getIcon(int width, int height) {\n\t\treturn null; // Use Display Name instead of an icon.\n\t}",
"@Override\n public Image getIconImage() {\n Image retValue = Toolkit.getDefaultToolkit().\n getImage(ClassLoader.getSystemResource(\"Imagenes/Sisapre001.png\"));\n return retValue;\n }",
"public String getIcon() {\n\t\treturn \"icon\";\n\t}",
"private void SetIcon() {\n setIconImage(Toolkit.getDefaultToolkit().getImage(getClass().getResource(\"Icon.png.png\")));\n }"
]
| [
"0.71063477",
"0.7066787",
"0.6877362",
"0.67287016",
"0.66845655",
"0.6631503",
"0.65131956",
"0.63651377",
"0.6362903",
"0.63491297",
"0.6319094",
"0.6291924",
"0.6291924",
"0.6280755",
"0.62577814",
"0.62528884",
"0.62526125",
"0.62523115",
"0.62459105",
"0.62396526",
"0.6227262",
"0.62105876",
"0.6193896",
"0.6177058",
"0.6177058",
"0.6175047",
"0.6175045",
"0.61707324",
"0.61707324",
"0.61643577",
"0.6154683",
"0.61538076",
"0.61517644",
"0.61426276",
"0.6141954",
"0.61363596",
"0.61309624",
"0.6124396",
"0.60576797",
"0.6033168",
"0.6023617",
"0.60072154",
"0.5995946",
"0.59743506",
"0.59640557",
"0.5945936",
"0.5934091",
"0.5927947",
"0.5927237",
"0.5904541",
"0.59003913",
"0.5893533",
"0.589159",
"0.588184",
"0.586487",
"0.58646005",
"0.58617",
"0.58613",
"0.5852983",
"0.5852969",
"0.58502716",
"0.5846946",
"0.58440715",
"0.5843968",
"0.58316433",
"0.5831523",
"0.5830706",
"0.5830654",
"0.58304995",
"0.5830065",
"0.5829601",
"0.5827264",
"0.5826527",
"0.5814765",
"0.58127266",
"0.58035105",
"0.58001596",
"0.58001596",
"0.5796825",
"0.57960385",
"0.57876605",
"0.5787305",
"0.5786897",
"0.57674676",
"0.5765353",
"0.57547677",
"0.575176",
"0.57405484",
"0.57377875",
"0.57104117",
"0.57104117",
"0.57075006",
"0.57069695",
"0.5705084",
"0.5703036",
"0.570282",
"0.56995535",
"0.56990945",
"0.56914675",
"0.56882167",
"0.56874436"
]
| 0.0 | -1 |
Overridden for performance reasons. | @Override
public void validate() {
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"@Override\n\tprotected void interr() {\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\n public int retroceder() {\n return 0;\n }",
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n protected void prot() {\n }",
"@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}",
"@Override\n public void func_104112_b() {\n \n }",
"public final void mo51373a() {\n }",
"@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void rozmnozovat() {\n\t}",
"@Override\r\n\tpublic int sub() {\n\t\treturn 0;\r\n\t}",
"@Override\n\tprotected void getExras() {\n\n\t}",
"@Override\r\n\tpublic void just() {\n\t\t\r\n\t}",
"@Override\n\t\tprotected void reset()\n\t\t{\n\t\t}",
"@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\tpublic void nadar() {\n\t\t\n\t}",
"@Override\r\n\t\t\tpublic void reset() {\n\t\t\t\t\r\n\t\t\t}",
"@Override\n\tpublic void entrenar() {\n\t\t\n\t}",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\n\tpublic void einkaufen() {\n\t}",
"@Override public int describeContents() { return 0; }",
"@Override\n protected void getExras() {\n }",
"@Override\n\t\t\tpublic void reset() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\t\t\tpublic void reset() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\t\t\tpublic void reset() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\t\t\tpublic void reset() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\tprotected void update() {\n\t\t\n\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"public void method_6349() {\r\n super.method_6349();\r\n }",
"@Override\n public int describeContents() { return 0; }",
"@Override\n public Object preProcess() {\n return null;\n }",
"@Override\n public void function()\n {\n }",
"@Override\n public void function()\n {\n }",
"protected boolean func_70814_o() { return true; }",
"@Override\n\tpublic void ligar() {\n\t\t\n\t}",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\r\n\tprotected void initSelfData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initSelfData() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\r\n\t\tprotected void run() {\n\t\t\t\r\n\t\t}",
"@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}",
"@Override\n\tpublic int method() {\n\t\treturn 0;\n\t}",
"@Override\n protected void init() {\n }",
"protected boolean func_70041_e_() { return false; }",
"@Override\r\n\tprotected void doF8() {\n\t\t\r\n\t}",
"@Override\n public void reset() \n {\n\n }",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"@Override\n protected void initialize() {\n }",
"public void method_6191() {\r\n super.method_6191();\r\n }",
"@Override\r\n\tprotected void doF4() {\n\t\t\r\n\t}",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"@Override\n protected void end() {\n }",
"protected void method_3848() {\r\n super.method_3848();\r\n }",
"@Override\n protected void end() {\n \n }",
"@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}",
"@Override\r\n \tpublic void process() {\n \t\t\r\n \t}",
"@Override\n protected void initialize() \n {\n \n }",
"@Override\r\n\t\tpublic void normalize()\r\n\t\t\t{\n\t\t\t\t\r\n\t\t\t}",
"@Override\r\n protected void end() {\r\n\r\n }",
"@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}",
"@Override\n\tpublic void emprestimo() {\n\n\t}",
"private final T self() { return (T)this; }",
"private final T self() { return (T)this; }",
"protected abstract Set method_1559();",
"private void m50366E() {\n }",
"@Override\r\n\tpublic void dispase() {\n\r\n\t}",
"@Override\n public void reset()\n {\n super.reset();\n }",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\n\tpublic void inorder() {\n\n\t}",
"@Override\n public boolean d() {\n return false;\n }",
"@Override\n public void inizializza() {\n\n super.inizializza();\n }",
"@Override\n public void reset() {\n super.reset();\n }",
"@Override\n\tprotected void logic() {\n\n\t}",
"@Override\n\tpublic void debite() {\n\t\t\n\t}",
"@Override\n\tprotected void getData() {\n\t\t\n\t}",
"public void method_1449() {\r\n super.method_1449();\r\n }",
"public void method_1449() {\r\n super.method_1449();\r\n }",
"public void method_1449() {\r\n super.method_1449();\r\n }",
"private stendhal() {\n\t}",
"@Override\n protected void initialize() {\n\n \n }"
]
| [
"0.66266733",
"0.66144234",
"0.65552056",
"0.64581615",
"0.6322522",
"0.62592286",
"0.6255816",
"0.6137584",
"0.60879487",
"0.6069481",
"0.6055304",
"0.60516286",
"0.60516286",
"0.60466534",
"0.6029377",
"0.60249865",
"0.6019364",
"0.6014495",
"0.60143304",
"0.5980733",
"0.59760976",
"0.596096",
"0.5946832",
"0.5942776",
"0.5938579",
"0.59325284",
"0.5922526",
"0.590218",
"0.590218",
"0.590218",
"0.590218",
"0.58984643",
"0.58972794",
"0.58921397",
"0.5879752",
"0.5876921",
"0.5870025",
"0.5870025",
"0.5854995",
"0.58469325",
"0.583857",
"0.58302647",
"0.58302647",
"0.5808953",
"0.5808953",
"0.5798451",
"0.5793272",
"0.5775522",
"0.5774931",
"0.57703537",
"0.57697713",
"0.5765924",
"0.5759216",
"0.5759216",
"0.5759216",
"0.5759216",
"0.5759216",
"0.5759216",
"0.5741757",
"0.5739246",
"0.573624",
"0.573624",
"0.573624",
"0.573624",
"0.573624",
"0.573624",
"0.573624",
"0.573624",
"0.573624",
"0.573624",
"0.573624",
"0.573624",
"0.5728941",
"0.57146245",
"0.5708454",
"0.5703284",
"0.5700951",
"0.5698786",
"0.5696468",
"0.5687131",
"0.5686466",
"0.567192",
"0.567192",
"0.5654491",
"0.5654272",
"0.5650531",
"0.5647871",
"0.56446475",
"0.56446475",
"0.5644108",
"0.56339145",
"0.5628048",
"0.56265086",
"0.56218696",
"0.5614228",
"0.56069887",
"0.5605437",
"0.5605437",
"0.5605437",
"0.56052303",
"0.5604956"
]
| 0.0 | -1 |
TODO Autogenerated method stub | @Override
public String validateSpoiledOr(Map<String, Object> params) throws SQLException {
return this.giacSpoiledOrDAO.validateSpoiledOr(params);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}",
"@Override\n\tpublic void comer() {\n\t\t\n\t}",
"@Override\n public void perish() {\n \n }",
"@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}",
"@Override\n\tpublic void anular() {\n\n\t}",
"@Override\n\tprotected void getExras() {\n\n\t}",
"@Override\r\n\tpublic void anularFact() {\n\t\t\r\n\t}",
"@Override\n\tpublic void entrenar() {\n\t\t\n\t}",
"@Override\n\tpublic void nadar() {\n\t\t\n\t}",
"@Override\r\n\tpublic void tires() {\n\t\t\r\n\t}",
"@Override\r\n\t\t\tpublic void ayuda() {\n\r\n\t\t\t}",
"@Override\n\tprotected void interr() {\n\t}",
"@Override\n\tpublic void emprestimo() {\n\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void bicar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void grabar() {\n\t\t\n\t}",
"@Override\n\tpublic void gravarBd() {\n\t\t\n\t}",
"@Override\r\n\tpublic void rozmnozovat() {\n\t}",
"@Override\r\n\tpublic void dormir() {\n\t\t\r\n\t}",
"@Override\n protected void getExras() {\n }",
"@Override\r\n\tpublic void publierEnchere() {\n\t\t\r\n\t}",
"@Override\n\tpublic void nefesAl() {\n\n\t}",
"@Override\n\tpublic void ligar() {\n\t\t\n\t}",
"@Override\n public void func_104112_b() {\n \n }",
"@Override\n\tprotected void initdata() {\n\n\t}",
"@Override\n\tpublic void nghe() {\n\n\t}",
"@Override\n public void function()\n {\n }",
"@Override\n public void function()\n {\n }",
"public final void mo51373a() {\n }",
"@Override\r\n\tpublic void stehReagieren() {\r\n\t\t//\r\n\t}",
"@Override\n public void inizializza() {\n\n super.inizializza();\n }",
"@Override\n\tprotected void initData() {\n\t\t\n\t}",
"@Override\r\n\t\tpublic void init() {\n\t\t\t\r\n\t\t}",
"@Override\n\tpublic void sacrifier() {\n\t\t\n\t}",
"@Override\r\n\tprotected void InitData() {\n\t\t\r\n\t}",
"public void designBasement() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initialize() {\r\n\t\t\r\n\t\t\r\n\t}",
"public void gored() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\r\n\t}",
"@Override\n\tpublic void einkaufen() {\n\t}",
"@Override\n protected void initialize() {\n\n \n }",
"public void mo38117a() {\n }",
"@Override\n\tprotected void getData() {\n\t\t\n\t}",
"Constructor() {\r\n\t\t \r\n\t }",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void dibujar() {\n\t\t\r\n\t}",
"@Override\n\tpublic void one() {\n\t\t\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"@Override\r\n\tprotected void initData() {\n\t\t\r\n\t}",
"private stendhal() {\n\t}",
"@Override\n\tprotected void update() {\n\t\t\n\t}",
"@Override\n\t\t\tpublic void ic() {\n\t\t\t\t\n\t\t\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tprotected void initData() {\n\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\t\t\n\t}",
"@Override\n public void init() {\n\n }",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\n\tprotected void initialize() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\r\n\tpublic void init() {\n\t\t\r\n\t}",
"@Override\n\tpublic void debite() {\n\t\t\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"@Override\r\n\tpublic void init() {\n\r\n\t}",
"public contrustor(){\r\n\t}",
"@Override\n\tprotected void initialize() {\n\n\t}",
"@Override\r\n\tpublic void dispase() {\n\r\n\t}",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"public void mo55254a() {\n }",
"@Override\n\tpublic void dtd() {\n\t\t\n\t}",
"@Override\n\tprotected void logic() {\n\n\t}",
"@Override\n\tprotected void lazyLoad() {\n\t\t\n\t}",
"public void mo4359a() {\n }",
"@Override\r\n\tprotected void initialize() {\n\r\n\t}",
"@Override\n public void memoria() {\n \n }",
"@Override\n\t\tpublic void method() {\n\t\t\t\n\t\t}",
"private RepositorioAtendimentoPublicoHBM() {\r\t}",
"@Override\n protected void initialize() \n {\n \n }",
"@Override\r\n\tpublic void getProposition() {\n\r\n\t}",
"@Override\n\tpublic void particular1() {\n\t\t\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n\tpublic void init() {\n\n\t}",
"@Override\n protected void prot() {\n }",
"@Override\r\n\tpublic void init()\r\n\t{\n\t}",
"@Override\n\tprotected void initValue()\n\t{\n\n\t}",
"public void mo55254a() {\n }"
]
| [
"0.66713095",
"0.6567948",
"0.652319",
"0.648097",
"0.64770466",
"0.64586824",
"0.64132667",
"0.6376419",
"0.62759",
"0.62545097",
"0.62371093",
"0.62237984",
"0.6201738",
"0.619477",
"0.619477",
"0.61924416",
"0.61872935",
"0.6173417",
"0.613289",
"0.6127952",
"0.6080854",
"0.6076905",
"0.6041205",
"0.6024897",
"0.60200036",
"0.59985113",
"0.5967729",
"0.5967729",
"0.5965808",
"0.5949083",
"0.5941002",
"0.59236866",
"0.5909713",
"0.59030116",
"0.589475",
"0.58857024",
"0.58837134",
"0.586915",
"0.58575684",
"0.5850424",
"0.5847001",
"0.5824116",
"0.5810248",
"0.5809659",
"0.58069366",
"0.58069366",
"0.5800507",
"0.5792168",
"0.5792168",
"0.5792168",
"0.5792168",
"0.5792168",
"0.5792168",
"0.57900196",
"0.5790005",
"0.578691",
"0.578416",
"0.578416",
"0.5774115",
"0.5774115",
"0.5774115",
"0.5774115",
"0.5774115",
"0.5761079",
"0.57592577",
"0.57592577",
"0.5749888",
"0.5749888",
"0.5749888",
"0.5748457",
"0.5733414",
"0.5733414",
"0.5733414",
"0.57209575",
"0.57154554",
"0.57149583",
"0.57140404",
"0.57140404",
"0.57140404",
"0.57140404",
"0.57140404",
"0.57140404",
"0.57140404",
"0.571194",
"0.57043016",
"0.56993437",
"0.5696782",
"0.5687825",
"0.5677794",
"0.5673577",
"0.5672046",
"0.5669512",
"0.5661156",
"0.56579345",
"0.5655569",
"0.5655569",
"0.5655569",
"0.56546396",
"0.56543446",
"0.5653163",
"0.56502634"
]
| 0.0 | -1 |
Permet de lancer le mode duel selon les modes defenseur et challenge | public boolean jeu() {
int k;
String compJoueur = "";
String compOrdi = "";
String reponse;
boolean victoireJoueur = false;
boolean victoireOrdi = false;
String mystJoueur = challenger.nbMystere(); /**nb que le joueur doit trouver*/
String mystOrdi = defenseur.nbMystere(); /**nb que l'ordinateur doit trouver*/
String propOrdi = defenseur.proposition(); /**ordinateur genere un code aleatoire en premiere proposition*/
log.info("Proposition ordinateur : " + propOrdi); /**afficher proposition ordinateur*/
String propJoueur = "";
String goodResult = MethodesRepetitives.bonResultat();
for (k = 1; !victoireJoueur && !victoireOrdi && k <= nbEssais; k++) { /**si ni le joueur ou l'ordinateur n'ont gagne et si le nombre d'essais n'est pas atteind, relancer*/
compOrdi = MethodesRepetitives.compare(mystOrdi, propOrdi); /**lancer la methode de comparaison du niveau defenseur*/
log.info("Reponse Ordinateur :" + compOrdi); /**afficher la comparaison*/
propJoueur = challenger.proposition(); /**demander une saisie au joueur selon le mode challenger*/
compJoueur = MethodesRepetitives.compare(mystJoueur, propJoueur); /**comparer selon le mode challenger*/
log.info("Reponse Joueur :" + compJoueur); /**afficher la comparaison*/
if (compOrdi.equals(goodResult)) { /**si l'ordinateur a gagne, changement de la valeur victoireOrdi*/
victoireOrdi = true;
}else if(compJoueur.equals(goodResult)) {/**si le joueur a gagne changement de la valeur victoireJoeur*/
victoireJoueur = true;
} else if (k < nbEssais) { /**sinon redemander un code a l'ordinateur selon les symboles de comparaison*/
propOrdi = defenseur.ajuste(propOrdi, compOrdi);
log.info("Proposition Ordinateur :" + propOrdi);
}
}
if (victoireOrdi || !victoireJoueur)/**si l'ordinateur ou le joueur perdent alors perdu sinon gagne*/
victoireJoueur = false;
else
victoireJoueur = true;
return victoireJoueur;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void runMasterMindDefenseurMode() {\n configuration.runConfiguration();\n\n //Affichage du mode de jeux\n System.out.println(\"********** ******************************* *******************\");\n System.out.println(\"********** **Master Mind Defenseur Mode** *******************\");\n System.out.println(\"********** ******************************* *******************\");\n\n //Pré configuration de la partie\n if (configuration.getConfigurationJeux().equalsIgnoreCase(\"false\")) {\n\n do {\n System.out.println(\"Veuillez saisir une combinaison à 4 chiffres \");\n traitementEtCalcul.chiffreMystereJoueur = traitementEtCalcul.sc.nextLine();\n configuration.setNbrEssai(10);\n } while (!traitementEtCalcul.chiffreMystereJoueur.matches(traitementEtCalcul.regex) || traitementEtCalcul.chiffreMystereJoueur.length() != 4);\n } else {\n do {\n System.out.println(\"Veuillez sasir une combinaison à \" + configuration.getNbrCases() + \" chiffres , les chiffres utilisables vont de 0 a \" + (configuration.getChiffreUtilisable() - 1));\n traitementEtCalcul.chiffreMystereJoueur = traitementEtCalcul.sc.nextLine();\n } while (!traitementEtCalcul.chiffreMystereJoueur.matches(configuration.getRegexFinal()) || traitementEtCalcul.chiffreMystereJoueur.length() != configuration.getNbrCases());\n }\n\n //Mode développeur activé ou non\n if (configuration.getModeDeveloppeur().equalsIgnoreCase(\"On\") || Main.modeDeveloppeur.equalsIgnoreCase(\"off\")) {\n System.out.println(\"Votre combinaison secrète est \" + traitementEtCalcul.chiffreMystereJoueur);\n ;\n }\n\n //Découpe du chiffre mystere du joueur et passage dans un tableau\n traitementEtCalcul.tabChiffreMystereJoueur = traitementEtCalcul.decoupePropositionChiffreJoueur(traitementEtCalcul.chiffreMystereJoueur);\n\n //Partie Ordinateur\n System.out.println(\"L'ordinateur réfléchi à une proposition\");\n\n if (configuration.getConfigurationJeux().equalsIgnoreCase(\"false\")) {\n traitementEtCalcul.propositionChiffreMystereOrdinateur = traitementEtCalcul.generateNumberX(4,10);\n\n } else {\n traitementEtCalcul.propositionChiffreMystereOrdinateur = traitementEtCalcul.generateNumberX(configuration.getNbrCases(),configuration.getChiffreUtilisable());\n }\n\n traitementEtCalcul.tabPropositionChiffreMystereOrdinateur = traitementEtCalcul.decoupeChiffreMystereOrdinateur(traitementEtCalcul.propositionChiffreMystereOrdinateur);\n System.out.println(\"Proposition de l'ordinateur \" + traitementEtCalcul.propositionChiffreMystereOrdinateur);\n //Test resolution mastermind par ordinateur\n traitementEtCalcul.compareMasterMind(traitementEtCalcul.tabPropositionChiffreMystereOrdinateur, traitementEtCalcul.tabChiffreMystereJoueur, traitementEtCalcul.propositionChiffreMystereOrdinateur);\n traitementEtCalcul.remiseAzero();\n\n traitementEtCalcul.compteur = 1;\n do {\n traitementEtCalcul.compteur++;\n try {\n Thread.sleep(1000);\n } catch (InterruptedException e) {\n logger.debug(\"problème avec le threadsleep\");\n }\n traitementEtCalcul.testProposition();\n traitementEtCalcul.compareMasterMind(traitementEtCalcul.tabChiffreMystereJoueur, traitementEtCalcul.tabPropositionChiffreMystereOrdinateur, traitementEtCalcul.propositionChiffreMystereOrdinateur);\n System.out.println();\n }\n while ((!Arrays.equals(traitementEtCalcul.tabChiffreMystereJoueur, traitementEtCalcul.tabPropositionChiffreMystereOrdinateur)) && traitementEtCalcul.compteur != configuration.getNbrEssai());\n\n if (Arrays.equals(traitementEtCalcul.tabPropositionChiffreMystereOrdinateur, traitementEtCalcul.tabChiffreMystereJoueur)) {\n System.out.println(\"L'ordinateur à gagné !!! La réponse est \" + traitementEtCalcul.chiffreMystereJoueur);\n } else {\n System.out.println(\"L'ordinateur à perdu, la réponse était \" + traitementEtCalcul.chiffreMystereJoueur);\n }\n\n\n //Affichage Menu fin de Jeux\n do {\n menuGameSelection.displayEndGameSelection();\n System.out.println(\"Veuillez faire un choix svp\");\n\n try {\n traitementEtCalcul.choixFinJeux = traitementEtCalcul.sc.nextInt();\n } catch (InputMismatchException e) {\n logger.debug(\"Erreur de saisie, veuillez saisir des chiffres svp\");\n }\n traitementEtCalcul.sc.nextLine();\n } while (traitementEtCalcul.choixFinJeux < 1 || traitementEtCalcul.choixFinJeux > 3);\n menuTraitement.selectedEndGameMode(2, 2, traitementEtCalcul.choixFinJeux);\n }",
"public static int mode()\r\n\t{\r\n\t\tint mode;\r\n\t\tdo {\r\n\t\t\tSystem.out.println(\"Veuillez entrer 1 pour allez en mode Joueur1 contre Joueur2\");\r\n\t\t\tSystem.out.println(\"Veuillez entrer 2 pour aller en mode Joueur1 contre IA\");\r\n\t\t\tSystem.out.println(\"Veuillez entrer 3 pour allez en mode spectateur d'une partie IA contre IA\");\r\n\t\t\tmode = Saisie.litentier();\r\n\t\t} while (mode > 4);\r\n\t\treturn mode;\r\n\t}",
"GameMode mode();",
"private static void SetMode() {\n Enum[] modes = {Mode.SINGLEPLAYER, Mode.MULTIPLAYER};\r\n // setting GameMode by passing in array to validator which will prompt what Enum is wanted\r\n Game.GameMode = (Mode) Validator.Mode(modes);\r\n }",
"private void gameMode(int mode) {\r\n\t\tif(mode == 1) {\r\n\t\t\t//PVP\r\n\t\t\tPVP();\r\n\t\t}else{\r\n\t\t\t//PVE\r\n\t\t\tPVE();\r\n\t\t}\r\n\t\t\r\n\t}",
"Main(String mode) {\n if (mode.equals(\"game\")) {\n createGameMode();\n } else {\n createSimulatorMode();\n }\n }",
"public T mode();",
"void setMode(SolvingMode solvingMode);",
"public void setMode(SwerveMode newMode) {\n\t\tSmartDashboard.putString(\"mode\", newMode.toString());\n // Re-enable SwerveModules after mode changed from Disabled\n if (mode == SwerveMode.Disabled) {\n for (SwerveModule mod: modules) {\n mod.enable();\n }\n }\n mode = newMode;\n int index = 0; // Used for iteration\n switch(newMode) {\n case Disabled:\n for (SwerveModule mod: modules) {\n mod.setSpeed(0);\n mod.disable();\n }\n break;\n case FrontDriveBackDrive:\n for (SwerveModule mod: modules) {\n mod.unlockSetpoint();\n mod.setSetpoint(RobotMap.forwardSetpoint);\n }\n break;\n case FrontDriveBackLock:\n for (SwerveModule mod: modules) {\n if (index < 2) {\n mod.unlockSetpoint();\n mod.setSetpoint(RobotMap.forwardSetpoint);\n }\n else {\n mod.unlockSetpoint();\n\n mod.lockSetpoint(RobotMap.forwardSetpoint);\n }\n index++;\n }\n break;\n case FrontLockBackDrive:\n for (SwerveModule mod: modules) {\n if (index > 1) {\n mod.unlockSetpoint();\n }\n else {\n mod.unlockSetpoint();\n\n mod.lockSetpoint(RobotMap.forwardSetpoint);\n }\n index++;\n }\n break;\n case StrafeLeft:\n for (SwerveModule mod: modules) {\n \t\tmod.unlockSetpoint();\n mod.lockSetpoint(RobotMap.leftSetpoint);\n }\n break;\n case StrafeRight:\n for (SwerveModule mod: modules) {\n \t\tmod.unlockSetpoint();\n mod.lockSetpoint(RobotMap.rightSetpoint);\n }\n break;\n default:\n break;\n\n }\n}",
"public abstract void initMode();",
"public int switchMode() {\r\n int mode = GameInfo.getInstance().switchMode();\r\n MazeMap.getInstance().updateMaze(mode);\r\n return mode;\r\n }",
"public void setModele(java.lang.String modele) {\n this.modele = modele;\n }",
"void changeMode(int mode);",
"public void normalMode() {\n this.brokenPumpNo = -1;\n if (howManyBrokenUnits()) {\n this.mode = State.EMERGENCY_STOP;\n this.outgoing.send(new Message(MessageKind.MODE_m, Mailbox.Mode.EMERGENCY_STOP));\n emergencyStopMode();\n return;\n }\n if (steamFailure()) { // if steam failure go to degraded mode\n this.mode = State.DEGRADED;\n this.outgoing.send(new Message(MessageKind.MODE_m, Mailbox.Mode.DEGRADED));\n this.outgoing.send(new Message(MessageKind.STEAM_FAILURE_DETECTION));\n this.waterLevel = this.levelMessage.getDoubleParameter();\n degradedMode();\n return;\n }\n\n // check for water-level detection failure\n if (waterLevelFailure() || this.levelMessage.getDoubleParameter() == 0) {\n // failure, goes to rescue mode\n this.outgoing.send(new Message(MessageKind.LEVEL_FAILURE_DETECTION));\n this.outgoing.send(new Message(MessageKind.MODE_m, Mailbox.Mode.RESCUE));\n this.mode = State.RESCUE;\n this.prevRescueMode = State.NORMAL;\n this.steamLevel = this.steamMessage.getDoubleParameter();\n rescueMode();\n return;\n }\n if (nearMaxMin() || overMax()) { // checks if water is near or over the max\n this.outgoing.send(new Message(MessageKind.MODE_m, Mailbox.Mode.EMERGENCY_STOP));\n this.mode = State.EMERGENCY_STOP;\n emergencyStopMode();\n return;\n }\n int no = pumpFailure();\n if (no != -1) { // check for any pump failure\n this.brokenPumpNo = no;\n this.mode = State.DEGRADED;\n this.prevDegradedMode = State.NORMAL;\n this.outgoing.send(new Message(MessageKind.MODE_m, Mailbox.Mode.DEGRADED));\n this.outgoing.send(new Message(MessageKind.PUMP_FAILURE_DETECTION_n, no));\n degradedMode();\n return;\n }\n no = pumpControllerFailure();\n if (no != -1) { // check for any controller failure\n this.mode = State.DEGRADED;\n this.prevDegradedMode = State.NORMAL;\n this.outgoing.send(new Message(MessageKind.MODE_m, Mailbox.Mode.DEGRADED));\n this.outgoing.send(new Message(MessageKind.PUMP_CONTROL_FAILURE_DETECTION_n, no));\n degradedMode();\n return;\n }\n\n // all error messages checked. Can run normal mode as per usual.\n this.outgoing.send(new Message(MessageKind.MODE_m, Mailbox.Mode.NORMAL));\n this.waterLevel = this.levelMessage.getDoubleParameter();\n this.steamLevel = this.steamMessage.getDoubleParameter();\n int noOfPumps = estimatePumps(this.steamMessage.getDoubleParameter(),\n this.levelMessage.getDoubleParameter());\n turnOnPumps(noOfPumps); // pump water in\n\n if (this.levelMessage.getDoubleParameter() < this.configuration.getMinimalNormalLevel()) {\n\n noOfPumps = estimatePumps(this.steamMessage.getDoubleParameter(),\n this.levelMessage.getDoubleParameter());\n turnOnPumps(noOfPumps);\n }\n if (this.levelMessage.getDoubleParameter() > this.configuration.getMaximalNormalLevel()) {\n // if it goes above max normal level\n noOfPumps = estimatePumps(this.steamMessage.getDoubleParameter(),\n this.levelMessage.getDoubleParameter());\n turnOnPumps(noOfPumps);\n }\n\n }",
"public void runOpMode() {\n robot.init(hardwareMap);\n\n // Send telemetry message to signify robot waiting;\n telemetry.addData(\"Status\", \"Resetting Encoders\"); //\n telemetry.update();\n\n robot.leftMotor.setMode(DcMotor.RunMode.STOP_AND_RESET_ENCODER);\n robot.rightMotor.setMode(DcMotor.RunMode.STOP_AND_RESET_ENCODER);\n idle();\n\n robot.leftMotor.setMode(DcMotor.RunMode.RUN_USING_ENCODER);\n robot.rightMotor.setMode(DcMotor.RunMode.RUN_USING_ENCODER);\n\n // Send telemetry message to indicate successful Encoder reset\n telemetry.addData(\"Path0\", \"Starting at %7d :%7d\",\n robot.leftMotor.getCurrentPosition(),\n robot.rightMotor.getCurrentPosition());\n telemetry.addData(\"Gyro Heading:\", \"%.4f\", getHeading());\n telemetry.update();\n\n int cameraMonitorViewId = hardwareMap.appContext.getResources().getIdentifier(\"cameraMonitorViewId\", \"id\", hardwareMap.appContext.getPackageName());\n\n VuforiaLocalizer.Parameters parameters = new VuforiaLocalizer.Parameters(cameraMonitorViewId);\n\n parameters.vuforiaLicenseKey = \"Adiq0Gb/////AAAAme76+E2WhUFamptVVqcYOs8rfAWw8b48caeMVM89dEw04s+/mRV9TqcNvLkSArWax6t5dAy9ISStJNcnGfxwxfoHQIRwFTqw9i8eNoRrlu+8X2oPIAh5RKOZZnGNM6zNOveXjb2bu8yJTQ1cMCdiydnQ/Vh1mSlku+cAsNlmfcL0b69Mt2K4AsBiBppIesOQ3JDcS3g60JeaW9p+VepTG1pLPazmeBTBBGVx471G7sYfkTO0c/W6hyw61qmR+y7GJwn/ECMmXZhhHkNJCmJQy3tgAeJMdKHp62RJqYg5ZLW0FsIh7cOPRkNjpC0GmMCMn8AbtfadVZDwn+MPiF02ZbthQN1N+NEUtURP0BWB1CmA\";\n\n\n parameters.cameraDirection = VuforiaLocalizer.CameraDirection.FRONT;\n this.vuforia = ClassFactory.createVuforiaLocalizer(parameters);\n\n VuforiaTrackables relicTrackables = this.vuforia.loadTrackablesFromAsset(\"RelicVuMark\");\n VuforiaTrackable relicTemplate = relicTrackables.get(0);\n relicTemplate.setName(\"relicVuMarkTemplate\"); // can help in debugging; otherwise not necessary\n\n telemetry.addData(\">\", \"Press Play to start\");\n telemetry.update();\n\n\n\n // Wait for the game to start (driver presses PLAY)\n waitForStart();\n relicTrackables.activate();\n\n //while (opModeIsActive()) {\n\n /**\n * See if any of the instances of {@link relicTemplate} are currently visible.\n * {@link RelicRecoveryVuMark} is an enum which can have the following values:\n * UNKNOWN, LEFT, CENTER, and RIGHT. When a VuMark is visible, something other than\n * UNKNOWN will be returned by {@link RelicRecoveryVuMark#from(VuforiaTrackable)}.\n */\n RelicRecoveryVuMark vuMark = RelicRecoveryVuMark.from(relicTemplate);\n while (vuMark == RelicRecoveryVuMark.UNKNOWN) {\n vuMark = RelicRecoveryVuMark.from(relicTemplate);\n /* Found an instance of the template. In the actual game, you will probably\n * loop until this condition occurs, then move on to act accordingly depending\n * on which VuMark was visible. */\n }\n telemetry.addData(\"VuMark\", \"%s visible\", vuMark);\n telemetry.update();\n sleep(550);\n\n //switch (vuMark) {\n // case LEFT: //RelicRecoveryVuMark vuMark = RelicRecoveryVuMark.LEFT;\n // coLumn = 2;\n // case CENTER:// RelicRecoveryVuMark vuMark = RelicRecoveryVuMark.CENTER;\n // coLumn = 1;\n // case RIGHT:// RelicRecoveryVuMark vuMark = RelicRecoveryVuMark.RIGHT;\n // coLumn = 0;\n //}\n if ( vuMark == RelicRecoveryVuMark.LEFT) {\n coLumn = 2;\n }\n else if(vuMark == RelicRecoveryVuMark.RIGHT){\n coLumn = 0;\n }\n else if(vuMark == RelicRecoveryVuMark.CENTER){\n coLumn = 1;\n }\n\n\n telemetry.addData(\"coLumn\", \"%s visible\", coLumn);\n telemetry.update();\n sleep(550);\n\n\n\n//if jewej is red 1 if jewel is blue 2\n\n // if(jewel == 1) {\n // gyroturn(-10, TURN_SPEED, -TURN_SPEED); //encoderDrive(TURN_SPEED, TURN_SPEED, turndistance[1], -turndistance[1], 5.0);\n //gyroturn(-2, -TURN_SPEED, TURN_SPEED); //encoderDrive(TURN_SPEED, TURN_SPEED, turndistance[1], -turndistance[1], 5.0);\n //}\n //else if(jewel == 2){\n // gyroturn(10, -TURN_SPEED, TURN_SPEED); //encoderDrive(TURN_SPEED, TURN_SPEED, turndistance[1], -turndistance[1], 5.0);\n // gyroturn(-2, TURN_SPEED, -TURN_SPEED); //encoderDrive(TURN_SPEED, TURN_SPEED, turndistance[1], -turndistance[1], 5.0);\n //}\n encoderDrive(DRIVE_SPEED, DRIVE_SPEED, disandTurn[0][coLumn], disandTurn[0][coLumn], 5.0); // S1: Forward 24 Inches with 5 Sec timeout shoot ball\n\n gyroturn(disandTurn[1][coLumn], TURN_SPEED, -TURN_SPEED); //encoderDrive(TURN_SPEED, TURN_SPEED, turndistance[0], -turndistance[0], 5.0);\n\n encoderDrive(DRIVE_SPEED, DRIVE_SPEED, disandTurn[2][coLumn], disandTurn[2][coLumn], 5.0); // S3: Forward 43.3 iNCHES\n\n gyroturn(disandTurn[3][coLumn], TURN_SPEED, -TURN_SPEED); //encoderDrive(TURN_SPEED, TURN_SPEED, turndistance[1], -turndistance[1], 5.0);\n\n encoderDrive(DRIVE_SPEED, DRIVE_SPEED, disandTurn[4][coLumn], disandTurn[4][coLumn], 5.0);// S5: Forward 12 Inches with 4 Sec timeout\n\n gyroturn(disandTurn[5][coLumn], TURN_SPEED, -TURN_SPEED); //encoderDrive(TURN_SPEED, TURN_SPEED, turndistance[1], -turndistance[1], 5.0);\n\n encoderDrive(DRIVE_SPEED, DRIVE_SPEED, disandTurn[6][coLumn], disandTurn[6][coLumn], 5.0);// S5: Forward 12 Inches with 4 Sec timeout\n\n\n Outake();\n encoderDrive(DRIVE_SPEED, DRIVE_SPEED, disandTurn[7][coLumn], disandTurn[7][coLumn], 5.0);// S6: Forward 48 inches with 4 Sec timeout\n }",
"@Override\n public void challengeMode() {\n super.setHP(2100);\n super.getFrontAttack().setBaseDamage(43.75);\n super.getRightAttack().setBaseDamage(43.75);\n super.getBackAttack().setBaseDamage(43.75);\n super.getBackAttack().setMainStatus(new Bleed(0.7));\n super.getBackAttack().setDescription(\"The Jyuratodus uses the razor fin on its tail to slice the area \" +\n \"behind it while flinging mud to the sides!\");\n super.getLeftAttack().setBaseDamage(43.75);\n }",
"public abstract int getMode();",
"private void findMode(ArrayList<PlanElement> elements) {\r\n\t\tfor(PlanElement p : elements){\r\n\t\t\tif(p instanceof Leg){\r\n\t\t\t\tif(((Leg) p).getMode().equals(TransportMode.transit_walk)){\r\n\t\t\t\t\tsuper.setMode(TransportMode.transit_walk);\r\n\t\t\t\t}else{\r\n\t\t\t\t\tsuper.setMode(((Leg) p).getMode());\r\n\t\t\t\t\treturn;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}",
"public int switch_modes() {\r\n //when angle modes is selected power field is disabled\r\n if(angle_radio.isArmed()){\r\n power_combo.setDisable(true);\r\n power_combo.setOpacity(.5);\r\n }\r\n //Power Field is necessary for Powers mode\r\n else if(power_radio.isArmed()){\r\n power_combo.setDisable(false);\r\n power_combo.setOpacity(1);\r\n }\r\n //when Angle sum mode is selected power field is disabled\r\n else if(sum_radio.isArmed()){\r\n power_combo.setDisable(true);\r\n power_combo.setOpacity(.5);\r\n }\r\n //Returning values to switch whole Program's mode based on Radio buttons\r\n if(angle_radio.isSelected()) return -1;\r\n else if(power_radio.isSelected()) return -2;\r\n else if(sum_radio.isSelected()) return -3;\r\n return 0;\r\n }",
"protected void choixModeTri(){\r\n boolean choix = false;\r\n OPMode.menuChoix=true;\r\n OPMode.telemetryProxy.addLine(\"**** CHOIX DU MODE DE TRI ****\");\r\n OPMode.telemetryProxy.addLine(\" Bouton X : GAUCHE\");\r\n OPMode.telemetryProxy.addLine(\" Bouton B : DROITE\");\r\n OPMode.telemetryProxy.addLine(\" Bouton Y : UNE SEULE COULEUR\");\r\n OPMode.telemetryProxy.addLine(\" Bouton A : MANUEL\");\r\n OPMode.telemetryProxy.addLine(\" CHOIX ? .........\");\r\n OPMode.telemetryProxy.update();\r\n while (!choix){\r\n if (gamepad.x){\r\n OPMode.modeTri = ModeTri.GAUCHE;\r\n choix = true;\r\n }\r\n if (gamepad.b){\r\n OPMode.modeTri = ModeTri.DROITE;\r\n choix = true;\r\n }\r\n if (gamepad.y){\r\n OPMode.modeTri = ModeTri.UNI;\r\n choix = true;\r\n }\r\n if (gamepad.a){\r\n OPMode.modeTri = ModeTri.MANUEL;\r\n choix = true;\r\n }\r\n }\r\n OPMode.menuChoix = false;\r\n\r\n }",
"public void setMode(String mode) {\n this.mode = mode;\n }",
"private void __selectMode(Gamemode mode) throws IOException {\n Game game = new Game(mode);\n MainApp.setGameState(game);\n MainApp.setRoot(Views.TOPIC);\n }",
"public void setModelo(String Modelo) {\n this.Modelo = Modelo;\n }",
"@Override\n public void setMode(RunMode mode) {\n\n }",
"public void setMode(String mode){\n\t\tthis.mode=mode;\n\t}",
"public void cargarModelo() {\n\t}",
"public ProblemSolver(int inRunMode){\n\t\trunmode = inRunMode;\n\t}",
"public void setMode(int mode) {\n this.mode = mode;\n }",
"public void lancerJeu () {\n switch (choixModeJeu) {\n case \"C\":\n Jeu jeuJoueC = new JeuChallenger(modeDev, choixJeu, nbdeCouleur, nbessaiPossible, longueurduSecret);\n jeuJoueC.unJeu();\n break;\n case \"U\":\n Jeu jeuJoueU = new JeuDuel(modeDev, choixJeu, nbdeCouleur, nbessaiPossible, longueurduSecret);\n jeuJoueU.unJeu();\n break;\n case \"D\":\n Jeu jeuJoueD = new JeuDefenseur(modeDev, choixJeu, nbdeCouleur, nbessaiPossible, longueurduSecret);\n jeuJoueD.unJeu();\n break;\n default:\n LOG.error(\"Cas du choix du mode de jeu non géré\");\n break;\n }\n }",
"boolean setMode(int mode);",
"public void mode() {\n APIlib.getInstance().addJSLine(jsBase + \".mode();\");\n }",
"public void setMode(int i){\n\tgameMode = i;\n }",
"public Mode getMode();",
"java.lang.String getMode();",
"public int getMode()\r\n { \r\n return this.mode; // used at the beginning to check if the game has started yet\r\n }",
"public void initializationMode() {\n int noOfPumpsOn;\n if (this.steamMessage.getDoubleParameter() != 0) { // steam measuring device is defective\n this.mode = State.EMERGENCY_STOP;\n this.outgoing.send(new Message(MessageKind.MODE_m, Mailbox.Mode.EMERGENCY_STOP));\n return;\n }\n\n // check for water level detection failure\n if (waterLevelFailure()) {\n this.outgoing.send(new Message(MessageKind.LEVEL_FAILURE_DETECTION));\n this.outgoing.send(new Message(MessageKind.MODE_m, Mailbox.Mode.EMERGENCY_STOP));\n this.mode = State.EMERGENCY_STOP;\n return;\n }\n\n this.waterLevel = this.levelMessage.getDoubleParameter();\n this.steamLevel = this.steamMessage.getDoubleParameter();\n\n // checks if water level is ready to go to normal\n if (this.levelMessage.getDoubleParameter() > this.configuration.getMinimalNormalLevel()\n && this.levelMessage.getDoubleParameter() < this.configuration.getMaximalNormalLevel()) {\n\n turnOnPumps(-1);\n this.outgoing.send(new Message(MessageKind.PROGRAM_READY));\n return;\n }\n if (this.levelMessage.getDoubleParameter() > this.configuration.getMaximalNormalLevel()) {\n // empty\n this.outgoing.send(new Message(MessageKind.VALVE));\n this.openValve = true;\n } else if (this.levelMessage.getDoubleParameter() < this.configuration\n .getMinimalNormalLevel()) { // fill\n\n if (this.openValve) { // if valve is open, shuts valve\n this.outgoing.send(new Message(MessageKind.VALVE));\n this.openValve = false;\n }\n noOfPumpsOn = estimatePumps(this.steamMessage.getDoubleParameter(),\n this.levelMessage.getDoubleParameter());\n turnOnPumps(noOfPumpsOn);\n }\n\n }",
"@Override\n public void runOpMode() {\n servo0 = hardwareMap.servo.get(\"servo0\");\n servo1 = hardwareMap.servo.get(\"servo1\");\n digital0 = hardwareMap.digitalChannel.get(\"digital0\");\n motor0 = hardwareMap.dcMotor.get(\"motor0\");\n motor1 = hardwareMap.dcMotor.get(\"motor1\");\n motor0B = hardwareMap.dcMotor.get(\"motor0B\");\n motor2 = hardwareMap.dcMotor.get(\"motor2\");\n blinkin = hardwareMap.get(RevBlinkinLedDriver.class, \"blinkin\");\n motor3 = hardwareMap.dcMotor.get(\"motor3\");\n park_assist = hardwareMap.dcMotor.get(\"motor3B\");\n\n if (digital0.getState()) {\n int_done = true;\n } else {\n int_done = false;\n }\n motor_stuff();\n waitForStart();\n if (opModeIsActive()) {\n while (opModeIsActive()) {\n lancher_position();\n slow_mode();\n drive_robot();\n foundation_grabber(1);\n launcher_drive();\n data_out();\n Pickingupblockled();\n lettingoutblockled();\n Forwardled();\n backwardled();\n Turnleftled();\n Turnrightled();\n Stationaryled();\n }\n }\n }",
"public void setMode(short mode)\n\t{\n\t\tthis.mode = mode;\n\t}",
"@Override\n public void runOpMode() {\n\n robot.init(hardwareMap);\n robot.MotorRightFront.setMode(DcMotor.RunMode.STOP_AND_RESET_ENCODER);\n robot.MotorLeftFront.setMode(DcMotor.RunMode.STOP_AND_RESET_ENCODER);\n robot.MotorRightFront.setMode(DcMotor.RunMode.RUN_USING_ENCODER);\n robot.MotorLeftFront.setMode(DcMotor.RunMode.RUN_USING_ENCODER);\n\n /** Wait for the game to begin */\n while (!isStarted()) {\n telemetry.addData(\"angle\", \"0\");\n telemetry.update();\n }\n\n\n }",
"@Override\n public void runOpMode() {\n motorFL = hardwareMap.get(DcMotor.class, \"motorFL\");\n motorBL = hardwareMap.get(DcMotor.class, \"motorBL\");\n motorFR = hardwareMap.get(DcMotor.class, \"motorFR\");\n motorBR = hardwareMap.get(DcMotor.class, \"motorBR\");\n landerRiser = hardwareMap.get(DcMotor.class, \"lander riser\");\n landerRiser = hardwareMap.get(DcMotor.class, \"lander riser\");\n landerRiser.setDirection(DcMotor.Direction.FORWARD);\n landerRiser.setMode(DcMotor.RunMode.RUN_USING_ENCODER);\n markerDrop = hardwareMap.get(Servo.class, \"marker\");\n markerDrop.setDirection(Servo.Direction.FORWARD);\n telemetry.addData(\"Status\", \"Initialized\");\n telemetry.update();\n\n // Wait for the game to start (driver presses PLAY)\n waitForStart();\n runtime.reset();\n\n //Landing & unlatching\n landerRiser.setPower(-1);\n telemetry.addData(\"Status\", \"Descending\");\n telemetry.update();\n sleep(5550);\n landerRiser.setPower(0);\n telemetry.addData(\"Status\",\"Unhooking\");\n telemetry.update();\n move(-0.5, 600, true);\n strafe(-0.4,0.6, 3600, true);\n move(0.5,600,true);\n markerDrop.setPosition(0);\n sleep(1000);\n markerDrop.setPosition(0.5);\n sleep(700);\n markerDrop.setPosition(0);\n strafe(0, -0.5,500,true);\n strafe(0.5, -0.25, 8500, true);\n\n }",
"private void automaticModeChecks(){\n // turn on lights if underground\n if (this.isUnderground()){ this.selectedTrain.setLights(1);}\n // set heat\n if (this.selectedTrain.getTemp() <= 40.0){this.selectedTrain.setThermostat(60.0);}\n else if (this.selectedTrain.getTemp() >= 80){ this.selectedTrain.setThermostat(50.0);}\n }",
"public void setMode(int mode) {\n \t\treset();\n \t}",
"@Override\n\tpublic void setMode(int mode) {\n\t\t\n\t}",
"public void setMode(int mode) {\r\n\t\tthis.mode = mode;\r\n\t}",
"public void setMode(int mode){\n mMode = mode;\n }",
"@Override\n public void runOpMode() {\n detector = new modifiedGoldDetector(); //Create detector\n detector.init(hardwareMap.appContext, CameraViewDisplay.getInstance(), DogeCV.CameraMode.BACK); //Initialize it with the app context and camera\n detector.enable(); //Start the detector\n\n //Initialize the drivetrain\n motorFL = hardwareMap.get(DcMotor.class, \"motorFL\");\n motorFR = hardwareMap.get(DcMotor.class, \"motorFR\");\n motorRL = hardwareMap.get(DcMotor.class, \"motorRL\");\n motorRR = hardwareMap.get(DcMotor.class, \"motorRR\");\n motorFL.setDirection(DcMotor.Direction.REVERSE);\n motorFR.setDirection(DcMotor.Direction.FORWARD);\n motorRL.setDirection(DcMotor.Direction.REVERSE);\n motorRR.setDirection(DcMotor.Direction.FORWARD);\n\n //Reset encoders\n motorFL.setMode(DcMotor.RunMode.STOP_AND_RESET_ENCODER);\n motorFR.setMode(DcMotor.RunMode.STOP_AND_RESET_ENCODER);\n motorRL.setMode(DcMotor.RunMode.STOP_AND_RESET_ENCODER);\n motorRR.setMode(DcMotor.RunMode.STOP_AND_RESET_ENCODER);\n motorFL.setMode(DcMotor.RunMode.RUN_USING_ENCODER);\n motorFR.setMode(DcMotor.RunMode.RUN_USING_ENCODER);\n motorRL.setMode(DcMotor.RunMode.RUN_USING_ENCODER);\n motorRR.setMode(DcMotor.RunMode.RUN_USING_ENCODER);\n\n telemetry.addData(\"IsFound: \", detector.isFound());\n telemetry.addData(\">\", \"Waiting for start\");\n telemetry.update();\n\n\n //TODO Pass skystone location to storage\n\n //Wait for the game to start (driver presses PLAY)\n waitForStart();\n\n /**\n * *****************\n * OpMode Begins Here\n * *****************\n */\n\n //Disable the detector\n if(detector != null) detector.disable();\n\n //Start the odometry processing thread\n odometryPositionUpdate positionUpdate = new odometryPositionUpdate(motorFL, motorFR, motorRL, motorRR, inchPerCount, trackWidth, wheelBase, 75);\n Thread odometryThread = new Thread(positionUpdate);\n odometryThread.start();\n runtime.reset();\n\n //Run until the end of the match (driver presses STOP)\n while (opModeIsActive()) {\n\n absPosnX = startPosnX + positionUpdate.returnOdometryX();\n absPosnY = startPosnY + positionUpdate.returnOdometryY();\n absPosnTheta = startPosnTheta + positionUpdate.returnOdometryTheta();\n\n telemetry.addData(\"X Position [in]\", absPosnX);\n telemetry.addData(\"Y Position [in]\", absPosnY);\n telemetry.addData(\"Orientation [deg]\", absPosnTheta);\n telemetry.addData(\"Thread Active\", odometryThread.isAlive());\n telemetry.update();\n\n//Debug: Drive forward for 3.0 seconds and make sure telemetry is correct\n if (runtime.seconds() < 3.0) {\n motorFL.setPower(0.25);\n motorFR.setPower(0.25);\n motorRL.setPower(0.25);\n motorRR.setPower(0.25);\n }else {\n motorFL.setPower(0);\n motorFR.setPower(0);\n motorRL.setPower(0);\n motorRR.setPower(0);\n }\n\n\n }\n //Stop the odometry processing thread\n odometryThread.interrupt();\n }",
"public void setMode(WhichVariables mode)\n\t{\n\t\tif (!mode.equals(m_mode))\n\t\t{\n\t\t\tm_mode = mode;\n\t\t\tm_viewer.refresh();\n\t\t}\n\t}",
"public static void driveMode(){\n\n\t\tSmartDashboard.putBoolean(\"Is Climbing:\", TalonDio.climbEncodDio(Actuators.getClimbMotor()));\n\t\tSmartDashboard.putBoolean(\"Is Driving:\", TalonDio.driveEncodDio(Actuators.getLeftDriveMotor(), Actuators.getRightDriveMotor()));\n\t\tSmartDashboard.putBoolean(\"Is Intake Disabled:\", Intake.intakeDisabled);\n\t\tSmartDashboard.putNumber(\"motorSpeed\", Intake.intakeMotorSpeed);\n\t\tSmartDashboard.putNumber(\"conveyorMotorSpeed\", Score.conveyorMotorSpeed);\n\t\tSmartDashboard.putBoolean(\"Intake Motor Inverted?:\", Actuators.getFuelIntakeMotor().getInverted());\n\t\tSmartDashboard.putBoolean(\"Is Climbing Motor Stalling:\", TalonDio.CIMStall(Actuators.getClimbMotor()));\n\n\t\t\n\n\t\tSmartDashboard.putBoolean(\"Is Climbing:\", TalonDio.climbEncodDio(Actuators.getClimbMotor()));\n\t\tSmartDashboard.putBoolean(\"Is Driving:\", TalonDio.driveEncodDio(Actuators.getLeftDriveMotor(), Actuators.getRightDriveMotor()));\n\t\tSmartDashboard.putBoolean(\"Is Climbing Motor Stalling:\", TalonDio.CIMStall(Actuators.getClimbMotor()));\n\t\tSmartDashboard.putNumber(\"Total Current Draw:\", SensorsDio.PDPCurrent(Sensors.getPowerDistro()));\n\n\t\n\t//TODO: Add Gear Vibrations for both controllers\n\t//Vibration Feedback\n\t\t//Sets the Secondary to vibrate if climbing motor is going to stall\n\t\tVibrations.climbStallVibrate(Constants.MAX_RUMBLE);\t\n\t\t//If within the second of TIME_RUMBLE then both controllers are set to HALF_RUMBLE\n\t\tVibrations.timeLeftVibrate(Constants.HALF_RUMBLE, Constants.TIME_RUMBLE);\t\n\t\t\n\t}",
"private static boolean mode(int option) {\r\n System.out.println(\"Mode(1) = 1\" + \" ::: \" + \"Mode(2) = 2\");\r\n Scanner sc = new Scanner(System.in);\r\n System.out.println(\"Please enter the mode number:\");\r\n option = sc.nextInt();\r\n sc.close();\r\n switch (option) {\r\n case 1:\r\n System.out.println(\"You have selected Mode 1.\");\r\n mode1 = true;\r\n break;\r\n case 2:\r\n System.out.println(\"You have selected Mode 2.\");\r\n mode2 = true;\r\n break;\r\n }\r\n return mode;\r\n }",
"private void changeUIMode(int mode){\n findViewById(R.id.ui_circle_thermostat).setVisibility(View.GONE);\n findViewById(R.id.ui_coinstack_thermometer).setVisibility(View.GONE);\n findViewById(R.id.saving_text1).setVisibility(View.GONE);\n\n if(mode == 0){\n mSavingText = (TextView) findViewById(R.id.saving_text);\n mTargetTempText = (TextView) findViewById(R.id.target_temp);\n\n findViewById(R.id.ui_circle_thermostat).setVisibility(View.VISIBLE);\n findViewById(R.id.coin_view).setVisibility(View.VISIBLE);\n }else if(mode == 1){\n mSavingText = (TextView) findViewById(R.id.saving_text1);\n mTargetTempText = (TextView) findViewById(R.id.target_thermometer_temp);\n\n findViewById(R.id.ui_coinstack_thermometer).setVisibility(View.VISIBLE);\n findViewById(R.id.thermometer).setVisibility(View.VISIBLE);\n mSavingText.setVisibility(View.VISIBLE);\n }else if(mode == 2){\n mTargetTempText = (TextView) findViewById(R.id.target_temp);\n mSavingText = (TextView) findViewById(R.id.saving_text1);\n\n findViewById(R.id.ui_circle_thermostat).setVisibility(View.VISIBLE);\n findViewById(R.id.ui_coinstack_thermometer).setVisibility(View.VISIBLE);\n mCoinStackImg.setVisibility(View.VISIBLE);\n mSavingText.setVisibility(View.VISIBLE);\n\n findViewById(R.id.thermometer).setVisibility(View.GONE);\n findViewById(R.id.coin_view).setVisibility(View.GONE);\n }\n updateViews();\n }",
"@Override\n public void runOpMode() {\n initialize();\n\n //wait for user to press start\n waitForStart();\n\n if (opModeIsActive()) {\n\n // drive forward 24\"\n // turn left 90 degrees\n // turnLeft(90);\n // drive forward 20\"\n // driveForward(20);\n // turn right 90 degrees\n // turnRight(90);\n // drive forward 36\"\n // driveForward(36);\n\n }\n\n\n }",
"protected void adjustToolForMode() {\n if(!staticOptimizationMode) return;\n // Check if have non-inverse dynamics analyses, or multiple inverse dynamics analyses\n boolean foundOtherAnalysis = false;\n boolean advancedSettings = false;\n int numFoundAnalyses = 0;\n InverseDynamics inverseDynamicsAnalysis = null;\n int numStaticOptimizationAnalyses = 0;\n StaticOptimization staticOptimizationAnalysis = null;\n if (false){\n // Since we're not using the model's actuator set, clear the actuator set related fields\n analyzeTool().setReplaceForceSet(true);\n analyzeTool().getForceSetFiles().setSize(0);\n // Mode is either InverseDynamics or StaticOptimization\n for(int i=analyzeTool().getAnalysisSet().getSize()-1; i>=0; i--) {\n Analysis analysis = analyzeTool().getAnalysisSet().get(i);\n //System.out.println(\" PROCESSING ANALYSIS \"+analysis.getType()+\",\"+analysis.getName());\n if(InverseDynamics.safeDownCast(analysis)==null) {\n foundOtherAnalysis = true;\n analyzeTool().getAnalysisSet().remove(i);\n } else{\n numFoundAnalyses++;\n if(numFoundAnalyses==1) {\n inverseDynamicsAnalysis = InverseDynamics.safeDownCast(analysis);\n if(inverseDynamicsAnalysis.getUseModelForceSet() || !inverseDynamicsAnalysis.getOn())\n advancedSettings = true;\n } else {\n analyzeTool().getAnalysisSet().remove(i);\n }\n }\n }\n if(inverseDynamicsAnalysis==null) {\n inverseDynamicsAnalysis = InverseDynamics.safeDownCast(new InverseDynamics().clone());\n setAnalysisTimeFromTool(inverseDynamicsAnalysis);\n //analyzeTool().addAnalysis(inverseDynamicsAnalysis);\n }\n inverseDynamicsAnalysis.setOn(true);\n inverseDynamicsAnalysis.setUseModelForceSet(false);\n \n }\n else { // StaticOptimization assumed\n // Mode is StaticOptimization\n for(int i=analyzeTool().getAnalysisSet().getSize()-1; i>=0; i--) {\n Analysis analysis = analyzeTool().getAnalysisSet().get(i);\n //System.out.println(\" PROCESSING ANALYSIS \"+analysis.getType()+\",\"+analysis.getName());\n if(StaticOptimization.safeDownCast(analysis)==null) {\n foundOtherAnalysis = true;\n analyzeTool().getAnalysisSet().remove(i);\n } else{\n numFoundAnalyses++;\n if(numFoundAnalyses==1) {\n staticOptimizationAnalysis = StaticOptimization.safeDownCast(analysis);\n //if(staticOptimizationAnalysis.getUseModelActuatorSet() || !staticOptimizationAnalysis.getOn())\n // advancedSettings = true;\n } else {\n analyzeTool().getAnalysisSet().remove(i);\n }\n }\n }\n if(staticOptimizationAnalysis==null) {\n staticOptimizationAnalysis = new StaticOptimization(); \n analyzeTool().getAnalysisSet().setMemoryOwner(false);\n analyzeTool().getAnalysisSet().cloneAndAppend(staticOptimizationAnalysis);\n staticOptimizationAnalysis = StaticOptimization.safeDownCast(\n analyzeTool().getAnalysisSet().get(\"StaticOptimization\"));\n }\n staticOptimizationAnalysis.setOn(true);\n staticOptimizationAnalysis.setUseModelForceSet(true);\n analyzeTool().setReplaceForceSet(false);\n }\n if(foundOtherAnalysis || advancedSettings || numFoundAnalyses>1) {\n String message = \"\";\n if(foundOtherAnalysis) message = \"Settings file contained analyses other than requested. The tool will ignore these.\\n\";\n if(numFoundAnalyses>1) message += \"More than one analysis was found. Extras will be ignored.\\n\";\n if(advancedSettings) message += \"Settings file contained an analysis with advanced settings which will be ignored by the tool.\\n\";\n message += \"Please use the analyze tool if you wish to handle different analysis types and advanced analysis settings.\\n\";\n DialogDisplayer.getDefault().notify(new NotifyDescriptor.Message(message, NotifyDescriptor.WARNING_MESSAGE));\n }\n }",
"public void endGame()\r\n {\r\n mode = 2;\r\n }",
"public void setMode(DcMotor.RunMode mode) {\n leftFront.setMode(mode);\n leftRear.setMode(mode);\n rightFront.setMode(mode);\n rightRear.setMode(mode);\n }",
"void setMotorsMode(DcMotor.RunMode runMode);",
"void setBasicMode() {basicMode = true;}",
"public void resetMode() {\n\t\televatorManager.resetMode();\n\t}",
"@Override\r\n public void runOpMode() {\n\r\n mtrFL = hardwareMap.dcMotor.get(\"fl_drive\");\r\n mtrFR = hardwareMap.dcMotor.get(\"fr_drive\");\r\n mtrBL = hardwareMap.dcMotor.get(\"bl_drive\");\r\n mtrBR = hardwareMap.dcMotor.get(\"br_drive\");\r\n\r\n\r\n // Set directions for motors.\r\n mtrFL.setDirection(DcMotor.Direction.REVERSE);\r\n mtrFR.setDirection(DcMotor.Direction.FORWARD);\r\n mtrBL.setDirection(DcMotor.Direction.REVERSE);\r\n mtrBR.setDirection(DcMotor.Direction.FORWARD);\r\n\r\n\r\n //zero power behavior\r\n mtrFL.setZeroPowerBehavior(DcMotor.ZeroPowerBehavior.BRAKE);\r\n mtrFR.setZeroPowerBehavior(DcMotor.ZeroPowerBehavior.BRAKE);\r\n mtrBL.setZeroPowerBehavior(DcMotor.ZeroPowerBehavior.BRAKE);\r\n mtrBR.setZeroPowerBehavior(DcMotor.ZeroPowerBehavior.BRAKE);\r\n\r\n\r\n // Set power for all motors.\r\n mtrFL.setPower(powFL);\r\n mtrFR.setPower(powFR);\r\n mtrBL.setPower(powBL);\r\n mtrBR.setPower(powBR);\r\n\r\n\r\n // Set all motors to run with given mode\r\n mtrFL.setMode(DcMotor.RunMode.RUN_WITHOUT_ENCODER);\r\n mtrFR.setMode(DcMotor.RunMode.RUN_WITHOUT_ENCODER);\r\n mtrBL.setMode(DcMotor.RunMode.RUN_WITHOUT_ENCODER);\r\n mtrBR.setMode(DcMotor.RunMode.RUN_WITHOUT_ENCODER);\r\n\r\n waitForStart();\r\n\r\n // run until the end of the match (driver presses STOP)\r\n while (opModeIsActive()) {\r\n g1ch2 = -gamepad1.left_stick_y;\r\n g1ch3 = gamepad1.right_stick_x;\r\n g2ch2 = -gamepad2.left_stick_x;\r\n g2ch4 = -gamepad2.right_stick_x;\r\n g2left = gamepad2.left_trigger;\r\n g2right = gamepad2.right_trigger;\r\n\r\n\r\n powFL = Range.clip(g1ch2 + g1ch3, -1, 1);\r\n powFR = Range.clip(g1ch2 - g1ch3, -1, 1);\r\n powBL = Range.clip(g1ch2 + g1ch3, -1, 1);\r\n powBR = Range.clip(g1ch2 - g1ch3, -1, 1);\r\n\r\n\r\n mtrFL.setPower(powFL);\r\n mtrFR.setPower(powFR);\r\n mtrBL.setPower(powBL);\r\n mtrBR.setPower(powBR);\r\n sleep(50);\r\n }\r\n }",
"public TournamentMode(int rounds) {\n\n\t\tthis.rounds = rounds;\n\t\tdealer = Director.getInstance().getDealer();\n\t}",
"public void setModelo(String modelo) {\n this.modelo = modelo;\n }",
"public void setModeloProblema(ModeloProblemaLinear modeloProblema) {\r\n this.modeloProblema = modeloProblema;\r\n }",
"public void setMode(final String mode) {\n this.mode = checkEmpty(mode);\n }",
"@Override\n\n public void runOpMode() {\n telemetry.addData(\"Status\", \"Initialized\");\n telemetry.update();\n\n // Initialize the hardware variables. Note that the strings used here as parameters\n // to 'get' must correspond to the names assigned during the robot configuration\n // step (using the FTC Robot Controller app on the phone).\n // FR = hardwareMap.get(DcMotor.class, \"FR\");\n // FL = hardwareMap.get(DcMotor.class, \"FL\");\n // BR = hardwareMap.get(DcMotor.class, \"BR\");\n //BL = hardwareMap.get(DcMotor.class, \"BL\");\n //yoo are ___\n // Most robots need the motor on one side to be reversed to drive forward\n // Reverse the motor that runs backwards when connected directly to the battery\n/* FR.setDirection(DcMotor.Direction.FORWARD);\n FL.setDirection(DcMotor.Direction.REVERSE);\n BR.setDirection(DcMotor.Direction.FORWARD);\n BL.setDirection(DcMotor.Direction.REVERSE);\n\n */ RevBlinkinLedDriver blinkinLedDriver;\n RevBlinkinLedDriver.BlinkinPattern pattern;\n\n // Wait for the game to start (driver presses PLAY)\n waitForStart();\n\n blinkinLedDriver = this.hardwareMap.get(RevBlinkinLedDriver.class, \"PrettyBoi\");\n blinkinLedDriver.setPattern(RevBlinkinLedDriver.BlinkinPattern.RAINBOW_WITH_GLITTER);\n// runtime.reset();\n\n // run until the end of the match (driver presses STOP)\n while (opModeIsActive()) {\n\n\n\n // Show the elapsed game time and wheel power.\n// telemetry.addData(\"Status\", \"Run Time: \" + runtime.toString());\n// // telemetry.addData(\"Motors\", \"FL (%.2f), FR (%.2f), BL (%.2f), BR (%.2f)\", v1, v2, v3, v4);\n// telemetry.update();\n }\n }",
"public void useNormalVarimax(){\n this. varimaxOption = true;\n }",
"public void changePlayerMode(PlayerMode p) {\n\t\t\r\n\t\tplayerMode = p;\r\n\t\tif (playerMode != PlayerMode.manual) decideMakeAutomaicMove();\r\n\t\t\r\n\t\t\r\n\t}",
"public Reversi(GameMode gameMode) {\n\t\tsuper(GameType.REVERSI);\n\n\t\t// Set turn\n\t\tturn = 0;\n\n\t\t// Set the first pieces\n\t\ttry {\n\t\t\tboard.setPiece(3, 3, WHITE);\n\t\t\tboard.setPiece(3, 4, BLACK);\n\t\t\tboard.setPiece(4, 3, BLACK);\n\t\t\tboard.setPiece(4, 4, WHITE);\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"public PnlNoviUgovorOIzdavanjuNekretnine(PanelModeEnum mode) {\n initComponents();\n this.mode = mode;\n dekorisiPanel();\n }",
"private void __intialiseMode(Gamemode mode) {\n List<ImageView> imageViews = new ArrayList<ImageView>();\n\n switch (mode) {\n case PRACTICE:\n imageViews.add(practice);\n imageViews.add(practiceAvatar);\n break;\n case RANKED:\n imageViews.add(ranked);\n imageViews.add(rankedAvatar);\n break;\n default:\n System.err.println(\"ERROR: Game mode not implemented.\");\n break;\n }\n\n for (ImageView view : imageViews) {\n view.addEventHandler(MouseEvent.MOUSE_ENTERED, event -> {\n try {\n this.__toggleSaturation(imageViews, true);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n });\n\n view.addEventHandler(MouseEvent.MOUSE_EXITED, event -> {\n try {\n this.__toggleSaturation(imageViews, false);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n });\n\n view.addEventHandler(MouseEvent.MOUSE_CLICKED, event -> {\n try {\n Sounds.playSoundEffect(\"pop\");\n this.__selectMode(mode);\n } catch (IOException e) {\n e.printStackTrace();\n }\n });\n }\n }",
"public void degradedMode() {\n\n // if failure of water-level measuring unit got to rescueMode()\n if (waterLevelFailure()) {\n this.outgoing.send(new Message(MessageKind.LEVEL_FAILURE_DETECTION));\n this.outgoing.send(new Message(MessageKind.MODE_m, Mailbox.Mode.RESCUE));\n this.mode = State.RESCUE;\n this.prevRescueMode = State.DEGRADED;\n rescueMode();\n return;\n }\n // if water level risks reaching M1 or M2 go to emergencyStopMode()\n if (nearMaxMin()) {\n this.outgoing.send(new Message(MessageKind.MODE_m, Mailbox.Mode.EMERGENCY_STOP));\n this.mode = State.EMERGENCY_STOP;\n emergencyStopMode();\n return;\n }\n\n for (int i = 0; i < this.incoming.size(); i++) { // check for fixed messages\n Message msg = this.incoming.read(i);\n if (msg.getKind().equals(MessageKind.PUMP_REPAIRED_n)) {\n int pumpNo = msg.getIntegerParameter();\n this.outgoing.send(new Message(MessageKind.PUMP_REPAIRED_ACKNOWLEDGEMENT_n, pumpNo));\n this.mode = this.prevDegradedMode;\n }\n if (msg.getKind().equals(MessageKind.PUMP_CONTROL_REPAIRED_n)) {\n int pumpNo = msg.getIntegerParameter();\n this.outgoing\n .send(new Message(MessageKind.PUMP_CONTROL_REPAIRED_ACKNOWLEDGEMENT_n, pumpNo));\n this.mode = this.prevDegradedMode;\n\n }\n if (msg.getKind().equals(MessageKind.STEAM_REPAIRED)) {\n this.outgoing.send(new Message(MessageKind.STEAM_REPAIRED_ACKNOWLEDGEMENT));\n this.mode = this.prevDegradedMode;\n }\n }\n\n if (this.mode.equals(State.NORMAL)) {\n this.brokenPumpNo = -1;\n this.outgoing.send(new Message(MessageKind.MODE_m, Mailbox.Mode.NORMAL));\n return;\n } else if (this.mode.equals(State.READY)) {\n this.brokenPumpNo = -1;\n this.outgoing.send(new Message(MessageKind.MODE_m, Mailbox.Mode.INITIALISATION));\n return;\n } else { // pump water in\n this.waterLevel = this.levelMessage.getDoubleParameter();\n this.outgoing.send(new Message(MessageKind.MODE_m, Mailbox.Mode.DEGRADED));\n this.mode = State.DEGRADED;\n int noOfPumps = estimatePumps(this.steamLevel, this.waterLevel);\n turnOnPumps(noOfPumps);\n }\n\n // if transmissionFailure go to emergencyStopMode()\n }",
"public int evalMode(int op, int mode) {\n if (mode == 4) {\n return this.state <= AppOpsManager.resolveFirstUnrestrictedUidState(op) ? 0 : 1;\n }\n return mode;\n }",
"public void faiLavoro(){\n System.out.println(\"Scrivere 1 per Consegna lunga\\nSeleziona 2 per Consegna corta\\nSeleziona 3 per Consegna normale\");\n\n switch (creaturaIn.nextInt()) {\n case 1 -> {\n soldiTam += 500;\n puntiVita -= 40;\n puntiFame -= 40;\n puntiFelicita -= 40;\n }\n case 2 -> {\n soldiTam += 300;\n puntiVita -= 20;\n puntiFame -= 20;\n puntiFelicita -= 20;\n }\n case 3 -> {\n soldiTam += 100;\n puntiVita -= 10;\n puntiFame -= 10;\n puntiFelicita -= 10;\n }\n }\n checkStato();\n }",
"public static void startGame()\r\n\t{\r\n\t\tnew ModeFrame();\r\n\t}",
"public static void setCurrentMode(Modes mode){\n\t\tcurrentMode = mode;\n\t}",
"@Test\r\n\tpublic void testRunTournamentMode() {\r\n\t\tString result=cl.runTournamentMode();\r\n\t\tassertEquals(\"Success\", result);\r\n\t}",
"@Override\n public void runOpMode () {\n motor1 = hardwareMap.get(DcMotor.class, \"motor1\");\n motor2 = hardwareMap.get(DcMotor.class, \"motor2\");\n\n telemetry.addData(\"Status\", \"Initialized\");\n telemetry.update();\n //Wait for game to start (driver presses PLAY)\n waitForStart();\n\n /*\n the overridden runOpMode method happens with every OpMode using the LinearOpMode type.\n hardwareMap is an object that references the hardware listed above (private variables).\n The hardwareMap.get method matches the name of the device used in the configuration, so\n we would have to change the names (ex. motorTest to Motor 1 or Motor 2 (or something else))\n if not, the opMode won't recognize the device\n\n in the second half of this section, it uses something called telemetry. In the first and\n second lines it sends a message to the driver station saying (\"Status\", \"Initialized\") and\n then it prompts the driver to press start and waits. All linear functions should have a wait\n for start command so that the robot doesn't start executing the commands before the driver\n wants to (or pushes the start button)\n */\n\n //run until end of match (driver presses STOP)\n double tgtpower = 0;\n while (opModeIsActive()) {\n telemetry.addData(\"Left Stick X\", this.gamepad1.left_stick_x);\n telemetry.addData(\"Left Stick Y\", this.gamepad1.left_stick_y);\n telemetry.addData(\"Right Stick X\", this.gamepad1.right_stick_x);\n telemetry.addData(\"Right Stick Y\", this.gamepad1.right_stick_y);\n if (this.gamepad1.left_stick_y < 0){\n tgtpower=-this.gamepad1.left_stick_y;\n motor1.setPower(tgtpower);\n motor2.setPower(-tgtpower);\n }else if (this.gamepad1.left_stick_y > 0){\n tgtpower=this.gamepad1.left_stick_y;\n motor1.setPower(-tgtpower);\n motor2.setPower(tgtpower);\n }else if (this.gamepad1.left_stick_x > 0){\n tgtpower=this.gamepad1.left_stick_x;\n motor1.setPower(tgtpower);\n motor2.setPower(tgtpower);\n }else if (this.gamepad1.left_stick_x < 0){\n tgtpower=-this.gamepad1.left_stick_x;\n motor1.setPower(-tgtpower);\n motor2.setPower(-tgtpower);\n }else{\n motor1.setPower(0);\n motor2.setPower(0);\n }\n telemetry.addData(\"Motor1 Power\", motor1.getPower());\n telemetry.addData(\"Motor2 Power\", motor2.getPower());\n telemetry.addData(\"Status\", \"Running\");\n telemetry.update ();\n\n\n /*\n if (this.gamepad1.right_stick_x == 1){\n //trying to make robot turn right, == 1 may be wrong\n motor2.setPower(-1);\n }\n else if (this.gamepad1.right_stick_x == -1){\n //trying to make robot turn left, == -1 may be wrong\n motor1.setPower(-1);\n }\n else {\n\n }\n */\n\n\n /*\n After the driver presses start,the opMode enters a while loop until the driver presses stop,\n while the loop is running it will continue to send messages of (\"Status\", \"Running\") to the\n driver station\n */\n\n\n }\n }",
"public void setModelo(String modelo) {\n\t\tthis.modelo = modelo;\n\t}",
"public void setMode(Mode type) {\n this.mode = type;\n if (type == Mode.THREE_STATE)\n value = null;\n else\n value = false;\n }",
"public static void Turno(){\n\t\tif (pl1){\n\t\t\tpl1=false;\n\t\t\tpl2=true;\t\n\t\t\tvalore = 1;\n\t\t}\n\t\telse{\n\t\t\tpl1=true;\n\t\t\tpl2=false;\n\t\t\tvalore = 2;\n\t\t}\n\t}",
"public void setDoblyMode (String mode) {\n int i = Integer.parseInt(mode);\n if (i >= 0 && i <= 3) {\n writeSysfs(AUIDO_DSP_AC3_DRC, \"drcmode\" + \" \" + mode);\n } else {\n writeSysfs(AUIDO_DSP_AC3_DRC, \"drcmode\" + \" \" + \"2\");\n }\n }",
"public void changeMode() {\n methodMode = !methodMode;\n }",
"private void initSimulateMode() {\n initSimulateModeView();\n initSimulateModeController();\n }",
"public void setGameMode(char mode) throws IllegalArgumentException {\n if (mode != 'c' && mode != 'C' && mode != 'p' && mode != 'P') {\n throw new IllegalArgumentException(\"Invalid Input: \" + mode);\n }\n if (mode == 'c' || mode == 'C') {\n gameMode = 0;\n } else {\n gameMode = 1;\n }\n }",
"@Override\n public void runOpMode() {\n frontLeftWheel = hardwareMap.dcMotor.get(\"frontLeft\");\n backRightWheel = hardwareMap.dcMotor.get(\"backRight\");\n frontRightWheel = hardwareMap.dcMotor.get(\"frontRight\");\n backLeftWheel = hardwareMap.dcMotor.get(\"backLeft\");\n\n //telemetry sends data to robot controller\n telemetry.addData(\"Output\", \"hardwareMapped\");\n\n // The TFObjectDetector uses the camera frames from the VuforiaLocalizer, so we create that\n // first.\n initVuforia();\n\n if (ClassFactory.getInstance().canCreateTFObjectDetector()) {\n initTfod();\n } else {\n telemetry.addData(\"Sorry!\", \"This device is not compatible with TFOD\");\n }\n\n /**\n * Activate TensorFlow Object Detection before we wait for the start command.\n * Do it here so that the Camera Stream window will have the TensorFlow annotations visible.\n **/\n if (tfod != null) {\n tfod.activate();\n }\n\n /** Wait for the game to begin */\n telemetry.addData(\">\", \"Press Play to start op mode\");\n telemetry.update();\n waitForStart();\n\n if (opModeIsActive()) {\n while (opModeIsActive()) {\n if (tfod != null) {\n // getUpdatedRecognitions() will return null if no new information is available since\n // the last time that call was made\n List<Recognition> updatedRecognitions = tfod.getUpdatedRecognitions();\n if(updatedRecognitions == null) {\n frontLeftWheel.setPower(0);\n frontRightWheel.setPower(0);\n backLeftWheel.setPower(0);\n backRightWheel.setPower(0);\n } else if (updatedRecognitions != null) {\n telemetry.addData(\"# Object Detected\", updatedRecognitions.size());\n // step through the list of recognitions and display boundary info.\n int i = 0;\n\n\n for (Recognition recognition : updatedRecognitions) {\n float imageHeight = recognition.getImageHeight();\n float blockHeight = recognition.getHeight();\n\n //-----------------------\n// stoneCX = (recognition.getRight() + recognition.getLeft())/2;//get center X of stone\n// screenCX = recognition.getImageWidth()/2; // get center X of the Image\n// telemetry.addData(\"screenCX\", screenCX);\n// telemetry.addData(\"stoneCX\", stoneCX);\n// telemetry.addData(\"width\", recognition.getImageWidth());\n //------------------------\n\n telemetry.addData(\"blockHeight\", blockHeight);\n telemetry.addData(\"imageHeight\", imageHeight);\n telemetry.addData(String.format(\"label (%d)\", i), recognition.getLabel());\n telemetry.addData(String.format(\" left,top (%d)\", i), \"%.03f , %.03f\", recognition.getLeft(), recognition.getTop());\n telemetry.addData(String.format(\" right,bottom (%d)\", i), \"%.03f , %.03f\", recognition.getRight(), recognition.getBottom());\n\n\n if(hasStrafed == false) {\n float midpoint = (recognition.getLeft() + recognition.getRight()) /2;\n float multiplier ;\n if(midpoint > 500) {\n multiplier = -(((int)midpoint - 500) / 100) - 1;\n log = \"Adjusting Right\";\n sleep(200);\n } else if(midpoint < 300) {\n multiplier = 1 + ((500 - midpoint) / 100);\n log = \"Adjusting Left\";\n sleep(200);\n } else {\n multiplier = 0;\n log = \"In acceptable range\";\n hasStrafed = true;\n }\n frontLeftWheel.setPower(-0.1 * multiplier);\n backLeftWheel.setPower(0.1 * multiplier);\n frontRightWheel.setPower(-0.1 * multiplier);\n backRightWheel.setPower(0.1 * multiplier);\n } else {\n if( blockHeight/ imageHeight < .5) {\n frontLeftWheel.setPower(-.3);\n backLeftWheel.setPower(.3);\n frontRightWheel.setPower(.3);\n backRightWheel.setPower(-.3);\n telemetry.addData(\"detecting stuff\", true);\n } else {\n frontLeftWheel.setPower(0);\n backLeftWheel.setPower(0);\n frontRightWheel.setPower(0);\n backRightWheel.setPower(0);\n telemetry.addData(\"detecting stuff\", false);\n }\n }\n\n telemetry.addData(\"Angle to unit\", recognition.estimateAngleToObject(AngleUnit.DEGREES));\n telemetry.addData(\"Log\", log);\n\n }\n telemetry.update();\n }\n\n }\n }\n }\n if (tfod != null) {\n tfod.shutdown();\n }\n }",
"void verifyModesEnable(String mode);",
"@Override \n public void runOpMode() \n {\n leftMotors = hardwareMap.get(DcMotor.class, \"left_Motors\");\n rightMotors = hardwareMap.get(DcMotor.class, \"right_Motors\");\n vLiftMotor = hardwareMap.get(DcMotor.class, \"vLift_Motor\"); \n \n leftMotors.setZeroPowerBehavior(DcMotor.ZeroPowerBehavior.BRAKE);\n rightMotors.setZeroPowerBehavior(DcMotor.ZeroPowerBehavior.BRAKE);\n leftMotors.setDirection(DcMotor.Direction.REVERSE);\n rightMotors.setDirection(DcMotor.Direction.FORWARD);\n vLiftMotor.setDirection(DcMotor.Direction.REVERSE);\n vLiftMotor.setZeroPowerBehavior(DcMotor.ZeroPowerBehavior.BRAKE);\n \n waitForStart(); //press play button, actives opMode\n intakePivotServo.setPosition(intakePivotServoPos);\n while (opModeIsActive()) \n { \n drive();\n pivotIntake();\n pivotLift();\n \n }//opModeIsActive \n \n }",
"public void gameEngineInitializer() {\n\t\t\r\n\t\tthis.sputacchioGameEngine = new SputacchioGameEngine(supportDeck, mainDeck, mainBoard, players, gamestate, playerDoingTurnNumber);// da implementare alla fine\r\n\t\tthis.classicGameEngine = new ClassicGameEngine(supportDeck, mainDeck, mainBoard, players, gamestate, playerDoingTurnNumber, engineUtility, filter);\r\n\t\t\r\n\t\tthis.gamestate.setCurrentGameType(GameType.CLASSICGAME);//si dovrebbe iniziare dal cucù ma facciamo dopo\r\n\t\tthis.gamestate.setCurrentHandNumber(INITIALHANDNUMBER);\r\n\t\tthis.givePersonalJolly();\r\n\t\t\r\n\t\tthis.classicGameEngine.distributeHands();//queste due si fanno all'inizio di ogni mano, non sono da fare solo la prima volta e basta\r\n\t\tthis.classicGameEngine.substituteJolly();\r\n\t\t\r\n\t\tmainEngine();\r\n\t\t//TODO ci vuole un metodo che, a parte la prima chiamata di Server Room, chiama il sotto-engine giusto in base a game type. Se classic game engine fa una return per segnalare\r\n\t\t//che la mano è finita perchè nessuno ha carte in mano, game engine deve ridare le 6 carte o settare l'ultima mano, o la mano della scala obbligatoria, e cambiare chi inizia a cucù.\r\n\t\t//Poi penso che debba chiamare Filter per mostrare a entrambi cosa accade, stampare le nuove carte e dichiarare l'inizio del cucù.\r\n\t}",
"public DrivingInputMode() {\n super(\"Driving Mode\", F_FORWARD, F_MAIN_BRAKE, F_PARKING_BRAKE, F_RESET,\n F_RETURN, F_REVERSE, F_START_ENGINE, F_TURN_LEFT, F_TURN_RIGHT);\n\n assign((FunctionId function, InputState inputState, double tpf) -> {\n if (inputState == InputState.Positive) {\n accelerating = true;\n } else {\n accelerating = false;\n }\n }, F_FORWARD);\n\n assign((FunctionId function, InputState inputState, double tpf) -> {\n if (inputState == InputState.Positive) {\n mainBrake = true;\n } else {\n mainBrake = false;\n }\n }, F_MAIN_BRAKE);\n\n assign((FunctionId function, InputState inputState, double tpf) -> {\n if (inputState == InputState.Positive) {\n parkingBrake = true;\n } else {\n parkingBrake = false;\n }\n }, F_PARKING_BRAKE);\n\n assign((FunctionId function, InputState inputState, double tpf) -> {\n if (inputState == InputState.Positive) {\n resetVehicle();\n }\n }, F_RESET);\n\n assign((FunctionId function, InputState inputState, double tpf) -> {\n if (inputState == InputState.Positive) {\n returnToMainMenu();\n }\n }, F_RETURN);\n\n assign((FunctionId function, InputState inputState, double tpf) -> {\n GearBox gearBox = MavDemo1.getVehicle().getGearBox();\n if (inputState == InputState.Positive) {\n boolean isInReverse = gearBox.isInReverse();\n gearBox.setReversing(!isInReverse);\n }\n }, F_REVERSE);\n\n assign((FunctionId function, InputState inputState, double tpf) -> {\n if (inputState == InputState.Positive) {\n getState(DriverHud.class).toggleEngineStarted();\n }\n }, F_START_ENGINE);\n\n assign((FunctionId function, InputState inputState, double tpf) -> {\n if (inputState == InputState.Positive) {\n turningLeft = true;\n } else {\n turningLeft = false;\n }\n }, F_TURN_LEFT);\n\n assign((FunctionId function, InputState inputState, double tpf) -> {\n if (inputState == InputState.Positive) {\n turningRight = true;\n } else {\n turningRight = false;\n }\n }, F_TURN_RIGHT);\n }",
"public void setModeId(Integer modeId) {\n this.modeId = modeId;\n }",
"public void startTrainingMode() {\n\t\t\r\n\t}",
"public interface DelayMode {\n\t/** A delay is made before the start of each player's turn.\n\t * This value is static, and cannot be accumulated. */\n\tpublic static final byte BASIC = 0;\n\t/** A delay time is added <i>before</i> a player's turn.\n\t * The delay duration can be accumulated. If the player\n\t * moves faster than the given delay duration, the remaining time\n\t * is retained and added next turn. */\n\tpublic static final byte FISCHER = 1;\n\t/** A delay time is added <i>after</i> a player's turn.\n\t * The delay duration can be accumulated. If the player\n\t * moves faster than the given delay duration, the remaining time\n\t * is retained and added next turn. */\n\tpublic static final byte FISCHER_AFTER = 2;\n\t/** A delay time is added <i>after</i> a player's turn.\n\t * The delay duration can be accumulated. If the player\n\t * moves faster than the given delay duration, the remaining time\n\t * is retained and added next turn. */\n\tpublic static final byte BRONSTEIN = 3;\n\t/** One player loses time, while the other gains */\n\tpublic static final byte HOUR_GLASS = 4;\n\t/** Number of Modes */\n\tpublic static final byte NUM_MODES = 5;\n\t\n\t/** String version of {@link #BASIC} */\n\tpublic static final String STRING_BASIC = \"basicDelay\";\n\t/** String version of {@link #FISCHER} */\n\tpublic static final String STRING_FISCHER = \"fischer\";\n\t/** String version of {@link #FISCHER_AFTER} */\n\tpublic static final String STRING_FISCHER_AFTER = \"fischerAfter\";\n\t/** String version of {@link #BRONSTEIN} */\n\tpublic static final String STRING_BRONSTEIN = \"bronstein\";\n\t/** String version of {@link #HOUR_GLASS} */\n\tpublic static final String STRING_HOUR_GLASS = \"hourGlass\";\n\t\n\t/** Hash set to convert bytes to strings */\n\tpublic static final String[] BYTE_TO_STRING = new String[] {\n\t\tSTRING_BASIC,\n\t\tSTRING_FISCHER,\n\t\tSTRING_FISCHER_AFTER,\n\t\tSTRING_BRONSTEIN,\n\t\tSTRING_HOUR_GLASS\n\t};\n}",
"private void initPlayerTypes(){\n\t\tplayerModes = new HashMap <Piece, PlayerMode>();\n\t\tfor(Piece p: this.pieces) playerModes.put(p, PlayerMode.MANUAL);\n\t}",
"private void setquestion() {\n qinit();\n question_count++;\n\n if (modeflag == 3) {\n modetag = (int) (Math.random() * 3);\n } else {\n modetag = modeflag;\n }\n\n WordingIO trueword = new WordingIO(vocabulary);\n\n if (modetag == 0) {\n\n MCmode(trueword);\n }\n\n if (modetag == 1) {\n BFmode(trueword);\n }\n\n if (modetag == 2) {\n TLmode(trueword);\n }\n\n if (time_limit != 0) {\n timingtoanswer(time_limit, jLabel2, answer_temp, jLabel5, jLabel6, jButton1);\n }\n }",
"public SwerveMode nextMode() {\n return values()[(ordinal() + 1) % values().length];\n }",
"@Override\n public void runOpMode() {\n hw = new RobotHardware(robotName, hardwareMap);\n rd = new RobotDrive(hw);\n rs=new RobotSense(hw, telemetry);\n /*rd.moveDist(RobotDrive.Direction.FORWARD, .5, .3);\n rd.moveDist(RobotDrive.Direction.REVERSE, .5, .3);\n rd.moveDist(RobotDrive.Direction.FORWARD, .5, 1);\n rd.moveDist(RobotDrive.Direction.REVERSE, .5, 1);*/\n telemetry.addData(\"Ready! \", \"Go Flamangos!\"); \n telemetry.update();\n\n //Starting the servos in the correct starting position\n /*hw.armRight.setPosition(1-.3);\n hw.armLeft.setPosition(.3);\n hw.level.setPosition(.3+.05);*/\n hw.f_servoLeft.setPosition(1);\n hw.f_servoRight.setPosition(0.5);\n \n rd.moveArm(hw.startPos());\n waitForStart();\n while (opModeIsActive()) {\n \n /*Starting close to the bridge on the building side\n Move under the bridge and push into the wall*/\n rd.moveDist(RobotDrive.Direction.LEFT,2,.5);\n rd.moveDist(RobotDrive.Direction.FORWARD, 10, .5);\n break;\n }\n }",
"public Check(Mode mode) {\n init();\n setMode(mode);\n }",
"public void setMode(int inMode) {\n mode = inMode;\n }",
"public void setMode(int mode0) {\n\t\t// invalid mode?\n\t\tint mode = mode0;\n\t\tif (mode != MODE_IMAGES && mode != MODE_GEOGEBRA\n\t\t\t\t&& mode != MODE_GEOGEBRA_SAVE && mode != MODE_DATA) {\n\t\t\tLog.debug(\n\t\t\t\t\t\"Invalid file chooser mode, MODE_GEOGEBRA used as default.\");\n\t\t\tmode = MODE_GEOGEBRA;\n\t\t}\n\n\t\t// do not perform any unnecessary actions\n\t\tif (this.currentMode == mode) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (mode == MODE_GEOGEBRA) { // load/save ggb, ggt etc. files\n\t\t\tsetMultiSelectionEnabled(true);\n\t\t} else { // load images\n\t\t\tsetMultiSelectionEnabled(false);\n\t\t}\n\n\t\t// set the preview panel type: image, data or ?\n\t\tpreviewPanel.setPreviewPanelType(mode);\n\n\t\t// TODO apply mode specific settings..\n\n\t\tthis.currentMode = mode;\n\t}",
"public Builder setMode(int mode){\n mMode = mode;\n return this;\n }",
"public void autoMode4Red(int delay){\n \taddParallel(new LightCommand(0.25));\n// \taddSequential(new OpenGearSocketCommand());\n//\t\taddSequential(new OpenBoilerSocketCommand());\n \taddSequential(new AutoDriveCommand(6));\n \taddSequential(new TurnWithPIDCommand(-45)); \n \taddSequential(new WaitWithoutCheckCommand(.5));\n \taddSequential(new VisionGearTargetCommand(\"targets\"));\n \taddSequential(new TargetGearSortCommand());\n \taddSequential(new AutoTurnCommand());\n \taddParallel(new EnvelopeCommand(true));\n \taddSequential(new AutoDriveUltraSonicForwardCommand(.6, 7));\n \taddSequential(new WaitCommand(2));\n// \tif(Robot.envelopeSubsystem.gearCheck()){\n// \t\taddParallel(new EnvelopeCommand(false));\n// \t\taddSequential(new AutoDriveUltraSonicBackwardCommand(-.7, 35));\n// \t\taddSequential(new VisionGearTargetCommand(\"targets\"),0.5);\n// \t\taddSequential(new TargetGearSortCommand(),0.5);\n// \t\taddSequential(new AutoTurnCommand());\n// \t\taddParallel(new EnvelopeCommand(true));\n// \taddSequential(new AutoDriveUltraSonicForwardCommand(.6, 7));\n// \t\taddSequential(new WaitCommand(2));\n// \t}else{\n// \t\n// \t}\n }",
"public interface ModeTest {\n\n public void traditionalTest();\n\n public void modeTest();\n\n}",
"protected int runMode() {\n\t\tint resultLap = Parameter.NO_WINNER;\n\t\tint currentLap = 0;\n\t\twhile(currentLap < nbTests && resultLap == Parameter.NO_WINNER) {\n\t\t\trunLap(currentLap);\n\t\t\tlogLap(currentLap);\n\t\t\t\n\t\t\tresultLap = getLapResult();\n\t\t\tcurrentLap++;\n\t\t}\n\t\t\n\t\treturn resultLap;\n\t}"
]
| [
"0.69632185",
"0.6634378",
"0.6560773",
"0.65597653",
"0.649643",
"0.6235629",
"0.6206366",
"0.6193709",
"0.61458963",
"0.60894185",
"0.59645516",
"0.5959895",
"0.5953727",
"0.5948454",
"0.5945516",
"0.58926415",
"0.5886366",
"0.58598804",
"0.58355147",
"0.5834836",
"0.5806085",
"0.58046234",
"0.58010584",
"0.57811296",
"0.5776022",
"0.5768295",
"0.5766497",
"0.576309",
"0.5747275",
"0.5746394",
"0.57453",
"0.57272136",
"0.57215863",
"0.5707956",
"0.56918776",
"0.56915253",
"0.5685186",
"0.56787586",
"0.56785077",
"0.56779015",
"0.5671967",
"0.5670599",
"0.5660339",
"0.5656066",
"0.56489027",
"0.5642324",
"0.5630818",
"0.56306237",
"0.5630072",
"0.56278384",
"0.56272364",
"0.5615833",
"0.5613321",
"0.55997765",
"0.55943507",
"0.5589587",
"0.5589222",
"0.5583878",
"0.5582869",
"0.55660105",
"0.55631554",
"0.556146",
"0.5552258",
"0.5542191",
"0.55342966",
"0.5528421",
"0.5525651",
"0.55126417",
"0.5505005",
"0.5492432",
"0.5491852",
"0.5488813",
"0.54757524",
"0.54664934",
"0.5463918",
"0.54591846",
"0.5445381",
"0.5439424",
"0.543857",
"0.54385656",
"0.5438351",
"0.5433207",
"0.54323924",
"0.54138434",
"0.5406893",
"0.54065716",
"0.5398276",
"0.53955704",
"0.53947574",
"0.5394756",
"0.5392772",
"0.53848064",
"0.5384702",
"0.53726137",
"0.5371407",
"0.5368554",
"0.53637886",
"0.53555137",
"0.5350828",
"0.53506315",
"0.5347708"
]
| 0.0 | -1 |
Returns all resumes list from DB. | public List<Resume> getResumesList() {
List<Resume> resumes = new ArrayList<Resume>();
SQLiteDatabase db = this.getReadableDatabase();
Cursor cursor = db.query("resume", null, null, null, null, null, null);
Resume resume;
int colIndex;
if (cursor.moveToFirst()) {
do {
resume = new Resume();
colIndex = cursor.getColumnIndex(DBHelper.COL_ROWID);
resume.setId(cursor.getInt(colIndex));
colIndex = cursor.getColumnIndex(DBHelper.COL_NAME);
resume.setLastFirstName(cursor.getString(colIndex));
colIndex = cursor.getColumnIndex(DBHelper.COL_BIRTHDAY);
long birthday = cursor.getLong(colIndex);
resume.setBirthday(new Date(birthday));
colIndex = cursor.getColumnIndex(DBHelper.COL_GENDER);
resume.setGender(cursor.getString(colIndex));
colIndex = cursor.getColumnIndex(DBHelper.COL_POSITION);
resume.setDesiredJobTitle(cursor.getString(colIndex));
colIndex = cursor.getColumnIndex(DBHelper.COL_SALARY);
resume.setSalary(cursor.getString(colIndex));
colIndex = cursor.getColumnIndex(DBHelper.COL_PHONE);
resume.setPhone(cursor.getString(colIndex));
colIndex = cursor.getColumnIndex(DBHelper.COL_EMAIL);
resume.setEmail(cursor.getString(colIndex));
resumes.add(resume);
} while (cursor.moveToNext());
}
cursor.close();
db.close();
return resumes;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"java.util.List<hr.domain.ResumeDBOuterClass.Resume> \n getResumesList();",
"public java.util.List<hr.domain.ResumeDBOuterClass.Resume> getResumesList() {\n return resumes_;\n }",
"public java.util.List<hr.domain.ResumeDBOuterClass.Resume> getResumesList() {\n if (resumesBuilder_ == null) {\n return java.util.Collections.unmodifiableList(resumes_);\n } else {\n return resumesBuilder_.getMessageList();\n }\n }",
"@Override\n\tpublic List<Resume> all() {\n\t\treturn resumeMapper.all();\n\t}",
"public hr.domain.ResumeDBOuterClass.Resume getResumes(int index) {\n return resumes_.get(index);\n }",
"hr.domain.ResumeDBOuterClass.Resume getResumes(int index);",
"public java.util.List<? extends hr.domain.ResumeDBOuterClass.ResumeOrBuilder> \n getResumesOrBuilderList() {\n return resumes_;\n }",
"public java.util.List<? extends hr.domain.ResumeDBOuterClass.ResumeOrBuilder> \n getResumesOrBuilderList() {\n if (resumesBuilder_ != null) {\n return resumesBuilder_.getMessageOrBuilderList();\n } else {\n return java.util.Collections.unmodifiableList(resumes_);\n }\n }",
"public hr.domain.ResumeDBOuterClass.Resume getResumes(int index) {\n if (resumesBuilder_ == null) {\n return resumes_.get(index);\n } else {\n return resumesBuilder_.getMessage(index);\n }\n }",
"java.util.List<? extends hr.domain.ResumeDBOuterClass.ResumeOrBuilder> \n getResumesOrBuilderList();",
"public hr.domain.ResumeDBOuterClass.ResumeOrBuilder getResumesOrBuilder(\n int index) {\n return resumes_.get(index);\n }",
"@GetMapping(\"/listresumes\")\n public String listResumes (Model model)\n {\n Iterable<Resume> resumeList = resumeRepository.findAll();\n model.addAttribute(\"resumes\", resumeList);\n return\"listresumes\";\n }",
"ArrayList<Resume> getAllAspirantResume(String email)\n throws IllegalArgumentException, ServiceException;",
"@RequestMapping(value = \"/resume-educations\",\n method = RequestMethod.GET,\n produces = MediaType.APPLICATION_JSON_VALUE)\n @Timed\n public List<ResumeEducation> getAllResumeEducations() {\n log.debug(\"REST request to get all ResumeEducations\");\n List<ResumeEducation> resumeEducations = resumeEducationRepository.findAll();\n return resumeEducations;\n }",
"hr.domain.ResumeDBOuterClass.ResumeOrBuilder getResumesOrBuilder(\n int index);",
"java.util.List<hr.domain.ResumeDBOuterClass.Experience> \n getExperiencesList();",
"@Override\n\tprotected void onResume() {\n\t\tsuper.onResume();\n\t\tquerytonlistdata();\n\t}",
"public hr.domain.ResumeDBOuterClass.ResumeOrBuilder getResumesOrBuilder(\n int index) {\n if (resumesBuilder_ == null) {\n return resumes_.get(index); } else {\n return resumesBuilder_.getMessageOrBuilder(index);\n }\n }",
"public int getResumesCount() {\n return resumes_.size();\n }",
"java.util.List<hr.domain.ResumeDBOuterClass.Education> \n getEducationsList();",
"public List<Playlist> findAll() {\n String sql = \"SELECT * FROM Playlists\";\n List<Playlist> list = new ArrayList();\n Connection connection = DatabaseConnection.getDatabaseConnection();\n\n try {\n Statement statement = connection.createStatement();\n ResultSet resultSet = statement.executeQuery(sql);\n while (resultSet.next()) {\n list.add(processRow(resultSet));\n }\n } catch (SQLException ex) {\n System.out.println(\"PlaylistDAO - findAll Exception: \" + ex);\n }\n\n DatabaseConnection.closeConnection(connection);\n return list;\n }",
"public Builder addAllResumes(\n java.lang.Iterable<? extends hr.domain.ResumeDBOuterClass.Resume> values) {\n if (resumesBuilder_ == null) {\n ensureResumesIsMutable();\n com.google.protobuf.AbstractMessageLite.Builder.addAll(\n values, resumes_);\n onChanged();\n } else {\n resumesBuilder_.addAllMessages(values);\n }\n return this;\n }",
"@RequestMapping(value = \"/_search/resume-educations\",\n method = RequestMethod.GET,\n produces = MediaType.APPLICATION_JSON_VALUE)\n @Timed\n public List<ResumeEducation> searchResumeEducations(@RequestParam String query) {\n log.debug(\"REST request to search ResumeEducations for query {}\", query);\n return StreamSupport\n .stream(resumeEducationSearchRepository.search(queryStringQuery(query)).spliterator(), false)\n .collect(Collectors.toList());\n }",
"@Override\r\n\tprotected void onResume() {\n\t\tsuper.onResume();\r\n\r\n\t\tqueryData();\r\n\t}",
"@Override\n public List<Part> findAll() {\n List<Part> resultList = new ArrayList<>();\n repositoryPart.findAll().iterator().forEachRemaining(resultList::add);\n return resultList;\n }",
"public hr.domain.ResumeDBOuterClass.Resume.Builder addResumesBuilder() {\n return getResumesFieldBuilder().addBuilder(\n hr.domain.ResumeDBOuterClass.Resume.getDefaultInstance());\n }",
"@Override\n public List<Seq> getAll() {\n Connection conn = null;\n Statement stmt = null;\n List<Seq> listSeqs = new ArrayList<>();\n\n try {\n String url = \"jdbc:sqlite:src\\\\database\\\\AT2_Mobile.db\";\n conn = DriverManager.getConnection(url);\n stmt = conn.createStatement();\n ProcessesDAO pdao = new ProcessesDAO();\n String sql = \"select * from seq;\";\n ResultSet rs = stmt.executeQuery(sql);\n\n while (rs.next()) {\n\n Seq seq = new Seq(rs.getInt(\"id\"), pdao.getbyidentifier(rs.getString(\"identifier\")), rs.getInt(\"seq_number\"));\n listSeqs.add(seq);\n }\n rs.close();\n\n } catch (SQLException e) {\n System.out.println(e.getMessage());\n } finally {\n try {\n if (conn != null) {\n conn.close();\n }\n } catch (SQLException ex) {\n System.out.println(ex.getMessage());\n }\n }\n return listSeqs;\n }",
"public java.util.List<hr.domain.ResumeDBOuterClass.Experience> getExperiencesList() {\n return experiences_;\n }",
"@Override\n\tpublic List<Reparto> list() throws Exception {\n\t\treturn entityManager.createQuery(\"from Reparto\", Reparto.class).getResultList();\n\t}",
"@Override\n\tpublic Resume selectByPrimaryKey(Integer id) {\n\t\treturn resumeMapper.selectByPrimaryKey(id);\n\t}",
"@RequestMapping(method = RequestMethod.GET, produces = \"application/json\")\n\tpublic List<Profile> preloaded() {\n\t\tlog.info(\"Fetching all preloaded profiles...\");\n\t\tList<Profile> result = profileService.findAllPreloaded();\n\t\treturn result;\n\t}",
"public java.util.List<hr.domain.ResumeDBOuterClass.Resume.Builder> \n getResumesBuilderList() {\n return getResumesFieldBuilder().getBuilderList();\n }",
"@Override\r\n public List<Professor> findAll() {\r\n return getEntityManager().createNamedQuery(\"Professor.findAll\",Professor.class).getResultList();\r\n }",
"public List<ProveedorEntity> getProveedores(){\n List<ProveedorEntity>proveedores = proveedorPersistence.findAll();\n return proveedores;\n }",
"public void onResume() {\n\t\tsuper.onResume();\n\t\tthis.getDataFromSql(ID);\n\t}",
"@Override\n protected void onResume() {\n getList(currentPage.toString(), tag);\n super.onResume();\n }",
"public Long getResumeId() {\n return resumeId;\n }",
"List<Receipt> getAllReceipts() throws DbException;",
"public List <reclamation> findall(){\n\t\tList<reclamation> a = reclamationRepository.findAll();\n\t\t\n\t\tfor(reclamation reclamations : a)\n\t\t{\n\t\t\tL.info(\"reclamations :\"+ reclamations);\n\t\t\t\n\t\t}\n\t\treturn a;\n\t\t}",
"@Override\n public String getResumeID() {\n return resume_id;\n }",
"@SuppressWarnings(\"unchecked\")\r\n\tpublic List<Profilo> getAll() {\r\n\t\t//Recupero la sessione da Hibernate\r\n\t\tSession session = sessionFactory.getCurrentSession();\r\n\t\t\t\r\n\t\t//Creo la query usando il linguaggio HQL (Hibernate Query Language)\r\n\t\tQuery query = session.createQuery(\"FROM Vocelicenza\");\r\n\t\t\t\r\n\t\t//Restituisco la lista di Profili\r\n\t\treturn query.list();\r\n\t}",
"public List<Dept> list() {\n try {\n List<Dept> dept = new ArrayList<Dept>();\n PreparedStatement stmt = this.connection\n .prepareStatement(\"select * from dept_sr\"); //here\n\n ResultSet rs = stmt.executeQuery();\n\n while (rs.next()) {\n // adiciona a tarefa na lista\n dept.add(populateDept(rs));\n }\n\n rs.close();\n stmt.close();\n\n return dept;\n } catch (SQLException e) {\n throw new RuntimeException(e);\n }\n }",
"@Override\n\tpublic List<Pais> findAll() {\n\t\treturn (List<Pais>)paisRepository.findAll();\n\t}",
"@Transactional(readOnly=true)\n\t@Override\n\tpublic List<Prenotazione> getAll() {\n\t\treturn this.prenotazioneRepository.getAll();\n\t}",
"public int getResumesCount() {\n if (resumesBuilder_ == null) {\n return resumes_.size();\n } else {\n return resumesBuilder_.getCount();\n }\n }",
"public void listarProvincia() {\n provincias = JPAFactoryDAO.getFactory().getProvinciaDAO().find();\n// for(int i=0;i<provincias.size();i++ ){\n// System.out.println(\"lista:\"+provincias.get(i).getNombreprovincia());\n// }\n }",
"@Override\n\tpublic List<Provincia> fiindAll() {\n\t\treturn provincieRepository.findAllByOrderByNameAsc();\n\t}",
"public List<Proveedores> listProveedores() {\r\n\t\tString sql = \"select p from Proveedores p\";\r\n\t\tTypedQuery<Proveedores> query = em.createQuery(sql, Proveedores.class);\r\n\t\tSystem.out.println(\"2\");\r\n\t\tList<Proveedores> lpersonas = query.getResultList();\r\n\t\treturn lpersonas;\r\n\t}",
"@Override\n\t@Transactional\n\tpublic List<Lecture> listLectures() {\n\t\treturn this.lectureDao.listLectures();\n\t}",
"public List findAll() {\n\t\ttry {\n\t\t\tString queryString = \"from Procurator\";\n\t\t\tQuery queryObject = getSession().createQuery(queryString);\n\t\t\treturn queryObject.list();\n\t\t} catch (RuntimeException re) {\n\t\t\tthrow re;\n\t\t}\n\t}",
"public ArrayList<MedEntry> allPrescriptions() {\n\n ArrayList<MedEntry> prescriptions = new ArrayList<MedEntry>();\n String query = \"SELECT * FROM \" + TABLE_NAME;\n SQLiteDatabase db = this.getWritableDatabase();\n Cursor cursor = db.rawQuery(query, null);\n MedEntry pres = null;\n\n if (cursor.moveToFirst()) {\n do {\n pres = new MedEntry(cursor.getString(1),cursor.getInt(2), cursor.getInt(3), cursor.getInt(4));\n prescriptions.add(pres);\n } while (cursor.moveToNext());\n }\n\n return prescriptions;\n }",
"public List<Professor> findAll();",
"@SuppressWarnings(\"unchecked\")\n\t@Override\n\tpublic List<Lecture> listLectures() {\n\t\tSession session = this.sessionFactory.getCurrentSession();\n\t\tList<Lecture> LecturesList = session.createQuery(\"from Lecture\").list();\n\t\treturn LecturesList;\n\t}",
"public Builder clearResumes() {\n if (resumesBuilder_ == null) {\n resumes_ = java.util.Collections.emptyList();\n bitField0_ = (bitField0_ & ~0x00000001);\n onChanged();\n } else {\n resumesBuilder_.clear();\n }\n return this;\n }",
"public Integer getResumeId() {\n return resumeId;\n }",
"public static List<Invoice> getAllInvoices() {\n\t\tList<Invoice> invoiceList = new ArrayList<Invoice>();\n\t\tConnection conn = ConnectionFactory.getConnection();\n\t\tPreparedStatement ps = null;\n\t\tResultSet rs = null;\n\t\t\n\t\tString query = \"SELECT invoiceKey, invoiceUuid, customerKey, personKey FROM Invoice\";\n\t\t\n\t\t//This try/catch executes the query from above to retrieve all invoices in the DB\n\t\ttry {\n\t\t\tps = conn.prepareStatement(query);\n\t\t\trs = ps.executeQuery();\n\t\t\t//while there are still invoices in the database continue\n\t\t\twhile (rs.next()) {\n\t\t\t\tint invoiceKey = rs.getInt(\"invoiceKey\"); \n\t\t\t\tString invoiceUuid = rs.getString(\"invoiceUuid\");\n\t\t\t\tint customerKey = rs.getInt(\"customerKey\");\n\t\t\t\tint personKey = rs.getInt(\"personKey\");\n\t\t\t\t\n\t\t\t\t//Get the corresponding customer, salesperson, and productList from the database\n\t\t\t\tCustomer customer = Customer.getCustomerByKey(customerKey);\n\t\t\t\tPerson salesPerson = Person.getPersonByKey(personKey);\n\t\t\t\tList<Product> productList = DatabaseReader.getProductList(invoiceKey);\n\t\t\t\t\n\t\t\t\tInvoice invoices = new Invoice(invoiceUuid, customer, salesPerson, productList);\n\t\t\t\tinvoiceList.add(invoices);\n\t\t\t}\n\t\t} catch (SQLException e) {\n\t\t\tSystem.out.println(\"SQLException: \");\n\t\t\te.printStackTrace();\n\t\t\tthrow new RuntimeException(e);\n\t\t} finally {\n\t\t\t//Close the connections that were opened in this method.\n\t\t\tConnectionFactory.closeConnection(conn, ps, rs);\n\t\t}\n\t\treturn invoiceList;\n\t}",
"public List<PrimeNr> getAllPrimeNrs(){\n Cursor cursor = database.query(PrimeNrBaseHelper.TABLE,null, null, null, null\n , null, PrimeNrBaseHelper.PRIME_NR);\n\n List<PrimeNr> primeNrList = new ArrayList<>();\n\n try {\n cursor.moveToFirst();\n while(!cursor.isAfterLast()){\n Long pnr = cursor.getLong(cursor.getColumnIndex(PrimeNrBaseHelper.PRIME_NR));\n String foundOn = cursor.getString(cursor.getColumnIndex(PrimeNrBaseHelper.FOUND_ON));\n primeNrList.add(new PrimeNr(pnr, foundOn));\n cursor.moveToNext();\n }\n } finally {\n cursor.close();\n }\n\n return primeNrList;\n }",
"public List<Residence> getAllResidence()\n {\n return em.createNamedQuery(FIND_ALL_RESIDENCE, Residence.class).getResultList();\n }",
"public List<ReservaEntity> getReservas() {\n LOGGER.log(Level.INFO, \"Inicia proceso de consultar todas las reservas\");\n // Note que, por medio de la inyección de dependencias se llama al método \"findAll()\" que se encuentra en la persistencia.\n List<ReservaEntity> reservas = persistence.findAllReservas();\n LOGGER.log(Level.INFO, \"Termina proceso de consultar todas las reservas\");\n return reservas;\n }",
"@Override\n\tpublic Iterable<Profesores> listaProfesores() {\n\t\treturn profesoresRepositorio.findAll();\n\t}",
"public List<InvoiceViewModel> getAllInvoices(){\n\n try{\n return invoiceService.getAllInvoices();\n }catch (RuntimeException e){\n throw new InvoiceNotFoundException(\"The database is empty!!! No Invoice(s) found in the Database\");\n }\n }",
"@Override\n public ArrayList<Course> getAll() {\n ArrayList<Course> allCourses = new ArrayList();\n String statement = FINDALL;\n ResultSet rs = data.makeStatement(statement);\n try {\n while(rs.next()){\n Course course = new Course(rs.getInt(\"id\"),rs.getString(\"title\"),rs.getString(\"stream\"),\n rs.getString(\"type\"),rs.getDate(\"start_date\").toLocalDate(),rs.getDate(\"end_date\").toLocalDate());\n allCourses.add(course);\n }\n } catch (SQLException ex) {\n System.out.println(\"Problem with CourseDao.getAll()\");\n }\n finally{\n data.closeConnections(rs,data.statement,data.conn);\n }\n return allCourses;\n }",
"private List<PageExtract> getList() throws SQLException {\n\t\tDbConnector db = null;\n\t\ttry {\n\t\t\tdb = new DbConnector();\n\t\t} catch (ClassNotFoundException | SQLException e1) {\n\t\t\te1.printStackTrace();\n\t\t}\n\t\tdb.executeQuery(SqlConstants.SET_MAX_CONCAT_LENGTH);\n\t\tResultSet pageResult = db.executeQuery(SqlConstants.PAGE_EXTRACT);\n\t\tList<PageExtract> list = new ArrayList<>();\n\t\twhile (pageResult.next()) {\n\t\t\tint pageId = pageResult.getInt(\"pageId\");\n\t\t\tString content = pageResult.getString(\"content\");\n\t\t\tlist.add(new PageExtract(pageId, content));\n\n\t\t}\n\t\treturn list;\n\t}",
"public void getProfileList() {\n\t\t\n\t\tdbo = new DBObject(this);\n\t\t\n\t\tcursor_profile = dbo.getPhoneProfileList();\n\t\t\n\t\tif( cursor_profile.getCount() >0 ) // more than one profile in cursor\n\t\t{\n\t\t\tprofile_id = new int[cursor_profile.getCount()];\n\t\t\tprofile_name = new String[cursor_profile.getCount()];\n\t\t\t\n\t\t\tint idx_id = cursor_profile.getColumnIndexOrThrow(\"_id\");\n\t\t\tint idx_name = cursor_profile.getColumnIndexOrThrow(\"name\");\n\t\t\t\n\t\t\tint counter = 0;\n\t\t\t\n\t\t\tcursor_profile.moveToFirst();\n\t\t\t\n\t\t\tdo {\n\t\t\t\tprofile_id[counter] = cursor_profile.getInt(idx_id);\n\t\t\t\tprofile_name[counter] = cursor_profile.getString(idx_name);\n\t\t\t\tLog.d(TAG, \"retrieved: \" + profile_id[counter] + \"(\" + profile_name[counter] + \")\");\n\t\t\t\tcounter++;\n\t\t\t}while(cursor_profile.moveToNext());\n\t\t}\n\t\t\n\t\tdbo.close();\n\t}",
"@Override\r\n public List<Profile> getAllProfiles() {\r\n\r\n return profileDAO.getAllProfiles();\r\n }",
"@Override\n\tpublic List<Proyecto> listarProyectos() {\n\t\treturn proyectoRepo.findAll();\n\t}",
"public List<Speaker> selectAll() {\n\t\treturn dao.selectAll();\r\n\t}",
"public java.util.List<hr.domain.ResumeDBOuterClass.Experience> getExperiencesList() {\n if (experiencesBuilder_ == null) {\n return java.util.Collections.unmodifiableList(experiences_);\n } else {\n return experiencesBuilder_.getMessageList();\n }\n }",
"public Collection getListaPartidos(int idEleicao){\n return this.eleicaoDB.getListaPartidos(idEleicao);\n }",
"public static List<Book> retrieveAll( EntityManager em) {\n TypedQuery<Book> query = em.createQuery( \"SELECT b FROM Book b\", Book.class);\n List<Book> books = query.getResultList();\n System.out.println( \"Book.retrieveAll: \" + books.size()\n + \" books were loaded from DB.\");\n return books;\n }",
"@Override\n protected void onResume() {\n plutusDbManager.openReadMode();\n super.onResume();\n }",
"hr.domain.ResumeDBOuterClass.Experience getExperiences(int index);",
"public PreferenceBean[] loadAll() throws SQLException \n {\n Connection c = null;\n PreparedStatement ps = null;\n try \n {\n c = getConnection();\n ps = c.prepareStatement(\"SELECT \" + ALL_FIELDS + \" FROM preference\",ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY);\n return loadByPreparedStatement(ps);\n }\n finally\n {\n getManager().close(ps);\n freeConnection(c);\n }\n }",
"@Override\n\tprotected void onResume() {\n\t\tsuper.onResume();\n\t\tArrayList<Contacts> phone_contacts_list=new ArrayList<Contacts>();\n\t\tArrayList<Contacts> db_contact_list=new ArrayList<Contacts>();\n\t\t\n\t\t//////////////////Fetch Phone Number//////////////////\n\t\tPhoneContactsUtility.getListContacts(AllContactsActivity.this, phone_contacts_list,user.getPhone_number());\n\t\t\n\t\t\n\t\t///////////////////////Put phone numbers on DB//////////////\n\t\tdb_contact_list=(ArrayList<Contacts>) ContactsTableManager.getSavedContactList(AllContactsActivity.this, ringToneBaseApplication);\n\t\tSystem.out.println(\"db_contact_list 1\"+db_contact_list.size());\n\t\tif(db_contact_list.size()==0){\n\t\t\tOrm_SQLManager.insertCollectionIntoTable(Contacts.class, phone_contacts_list, AllContactsActivity.this, ringToneBaseApplication.databaseManager);\n\t\t\tdb_contact_list.clear();\n\t\t\tdb_contact_list=(ArrayList<Contacts>) ContactsTableManager.getSavedContactList(AllContactsActivity.this, ringToneBaseApplication);\n\t\t}\n\t\t\n\t\n\t}",
"public List<PartDto> getAllParts(){\n var result = this.repoParts.findAll();\n ArrayList<PartDto> parts = new ArrayList<>();\n return mapper.mapList(result, false);\n }",
"public List<UserProfile> getProfili() {\r\n\t\t// return upDao.findAll();\r\n\t\treturn upDao.getAllUserProfile();\r\n\t}",
"public List<Employees> getEmployeesList()\n {\n return employeesRepo.findAll();\n }",
"java.util.List<? extends hr.domain.ResumeDBOuterClass.ExperienceOrBuilder> \n getExperiencesOrBuilderList();",
"@Override\n\tpublic List<Pais> findAllPaises() {\n\t\treturn getSession().createQuery(\"from Pais\").list();\n\t}",
"@Transactional(readOnly = true)\n public List<Exam> findAll() {\n log.debug(\"Request to get all Exams\");\n return examRepository.findAll();\n }",
"@Override\r\n\tpublic List<Prize> findAll() {\n\t\treturn prizeDao.findAll();\r\n\t}",
"ArrayList<ResumeView> getAllAspirantResumeViews(String email, String careerObjective)\n throws IllegalArgumentException, ResumeNotFoundException, ServiceException;",
"public List<Employee> listAll(){\n return employeeRepository.findAll();\n }",
"@Override\n @Transactional\n public List<Employee> getlistEmployee() {\n \tList<Employee> employees = entityManager.createQuery(\"SELECT e FROM Employee e\", Employee.class).getResultList();\n \tfor(Employee p : employees)\n \t\tLOGGER.info(\"employee list::\" + p);\n \treturn employees;\n }",
"public Optional<List<Pessoa>> getList() {\n\t\treturn dao.getList();\n\t}",
"public List findAll() {\n\t\treturn dao.findAll();\r\n\t}",
"public List<Record> listAllRecords();",
"public static List<SqlRow> findAll() {\n\n try{\n List<SqlRow> queryFindAll = Ebean.createSqlQuery(\"SELECT * FROM pub_infoapi;\")\n .findList();\n return queryFindAll;\n }catch(Exception e){\n e.printStackTrace();\n return null;\n }\n }",
"public List<PrsMain> listPatients() {\n Log.info(LifeCARDAdmin.class.getName() + \":listPatients()\");\n\n List<PrsMain> list;\n String sql = \"SELECT p.* FROM prs_main p where p.prsid IN (SELECT l.prsid FROM lc_main l where l.prsid>0 and l.prsid is not null)\";\n Query query = em.createNativeQuery(sql, PrsMain.class);\n try {\n list = query.getResultList();\n } catch (PersistenceException pe) {\n Log.warning(LifeCARDAdmin.class.getName() + \":listPatients():\" + pe.getMessage());\n return null;\n }\n return list;\n }",
"public List<Player> loadAll() throws SQLException {\n\t\tfinal Connection connection = _database.getConnection();\n\t\tfinal String sql = \"SELECT * FROM \" + table_name + \" ORDER BY id ASC \";\n\t\tfinal List<Player> searchResults = listQuery(connection.prepareStatement(sql));\n\n\t\treturn searchResults;\n\t}",
"@Override\n\tpublic List<JobPreferences> findAll() {\n\t\treturn jobPreferenceDao.findAll();\n\t}",
"@SuppressWarnings({ \"unchecked\", \"static-access\" })\n\t@Override\n\t/**\n\t * Leo todos los empleados.\n\t */\n\tpublic List<Employees> readAll() {\n\t\tList<Employees> ls = null;\n\n\t\tls = ((SQLQuery) sm.obtenerSesionNueva().createQuery(\n\t\t\t\tInstruccionesSQL.CONSULTAR_TODOS)).addEntity(Employees.class)\n\t\t\t\t.list();// no creo que funcione, revisar\n\n\t\treturn ls;\n\t}",
"public static List<Parte> listarPartes(){\n List <Parte> partes=new ArrayList<>();\n Conexion.conectar();\n String sql = \"call ppartes.partesList (?)\";\n \n try {\n CallableStatement cs = Conexion.getConexion().prepareCall(sql);\n cs.registerOutParameter(1, OracleTypes.CURSOR);\n cs.execute();\n \n ResultSet rs = (ResultSet) cs.getObject(1);\n while (rs.next()){\n Parte p = new Parte();\n p.setFecha(rs.getString(\"fecha\"));\n p.setKmInicial(rs.getBigDecimal(\"kmInicial\"));\n p.setKmFinal(rs.getBigDecimal(\"kmFinal\"));\n p.setGastoPeaje(rs.getBigDecimal(\"gastosPeaje\")); \n p.setGastoDietas(rs.getBigDecimal(\"gastosDietas\"));\n p.setGastoCombustible(rs.getBigDecimal(\"gastosCombustible\"));\n p.setGastoVarios(rs.getBigDecimal(\"otrosGastos\"));\n p.setIncidencias(rs.getString(\"incidencias\"));\n p.setEstado(rs.getString(\"estado\"));\n p.setValidado(rs.getString(\"validado\"));\n p.setHorasExtras(rs.getBigDecimal(\"horasExtras\"));\n p.setIdTrabajador(rs.getBigDecimal(\"TRABAJADORES_ID\"));\n p.setNotasAdministrativas(rs.getString(\"notasAdministrativas\"));\n partes.add(p);\n }\n \n rs.close();\n cs.close();\n Conexion.desconectar();\n return partes;\n } catch (SQLException ex) {\n JOptionPane.showMessageDialog(null, \"No se puede efectuar la conexión, hable con el administrador del sistema\" + ex.getMessage());\n }\n return null;\n }",
"@Generated\n public List<Proveedor> getProveedores() {\n if (proveedores == null) {\n __throwIfDetached();\n ProveedorDao targetDao = daoSession.getProveedorDao();\n List<Proveedor> proveedoresNew = targetDao._queryUsuarios_Proveedores(id);\n synchronized (this) {\n if(proveedores == null) {\n proveedores = proveedoresNew;\n }\n }\n }\n return proveedores;\n }",
"public static List<DiagramTask> getAllrecords()\r\n {\r\n List<DiagramTask> tasks = new ArrayList();\r\n \r\n try\r\n {\r\n tasks = TASK_DAO.retrieveTask();\r\n \r\n }\r\n catch (HibernateException e)\r\n {\r\n addMessage(\"Error!\", \"Please try again.\");\r\n Logger.getLogger(DiagramTaskBean.class.getName()).log(Level.SEVERE, null, e);\r\n }\r\n return tasks;\r\n }",
"@Override\n public List<Promocion> findAll() {\n return promocionRepository.findAll();\n }",
"public List<Articulos> listarArticulos(){\n\t\treturn iArticulos.findAll();\n\t}",
"private String[] loadSites() {\n RealmConfiguration realmConfig = new RealmConfiguration.Builder(getApplicationContext()).build();\n Realm.setDefaultConfiguration(realmConfig);\n Realm realm = Realm.getDefaultInstance();\n RealmQuery<Sites> query = realm.where(Sites.class);\n RealmResults<Sites> sites = query.findAll();\n int sitesCount = sites.size();\n String[] sitesArray = new String[sitesCount];\n for (int i = 0; i < sitesCount; i++) {\n String siteName = sites.get(i).getName();\n sitesArray[i] = siteName;\n }\n realm.close();\n return sitesArray;\n }",
"@Override\n\tpublic List<Record> getAllRecord() {\n\t\tSession session = HibernateSessionFactory.getSession();\n\t\tTransaction tx = session.beginTransaction();\n\t\ttry {\n\t\t\tlist = dao.findAll();\n\t\t\ttx.commit();\n\t\t} catch (RuntimeException e) {\n\t\t\t// TODO: handle exception\n\t\t\te.printStackTrace();\n\t\t\ttx.rollback();\n\t\t} finally {\n\t\t\tsession.close();\n\t\t}\n\n\t\treturn list;\n\t}",
"public List<ProfessionEntity> getAll() throws SQLException {\n openTransactionSession();\n\n String sql = \"SELECT * FROM profession\";\n\n Session session = getSession();\n Query query = session.createNativeQuery(sql).addEntity(ProfessionEntity.class);\n List<ProfessionEntity> professionList = query.list();\n\n //close session with a transaction\n closeTransactionSession();\n\n return professionList;\n }"
]
| [
"0.78508234",
"0.7726162",
"0.73558396",
"0.7223963",
"0.71092546",
"0.7077575",
"0.7015373",
"0.66844434",
"0.6630926",
"0.65490025",
"0.6323727",
"0.63149995",
"0.6310602",
"0.62140536",
"0.6145003",
"0.6121895",
"0.5928336",
"0.57972443",
"0.576936",
"0.5660504",
"0.56566507",
"0.5651013",
"0.55874145",
"0.5537796",
"0.55332226",
"0.5525181",
"0.5498021",
"0.547645",
"0.5468898",
"0.54655457",
"0.5398826",
"0.5393652",
"0.53924686",
"0.5381443",
"0.53790706",
"0.5374959",
"0.53447306",
"0.53272915",
"0.5327213",
"0.53239715",
"0.5321891",
"0.5303802",
"0.5300272",
"0.52707094",
"0.52701914",
"0.52700084",
"0.52474177",
"0.52437806",
"0.523982",
"0.5237197",
"0.52293444",
"0.52259165",
"0.52207005",
"0.5217992",
"0.5206243",
"0.5197604",
"0.51955104",
"0.5194976",
"0.5184139",
"0.5180032",
"0.5165189",
"0.5164363",
"0.5146111",
"0.5140939",
"0.5139785",
"0.51362276",
"0.5133137",
"0.5117813",
"0.51096857",
"0.5108608",
"0.5107698",
"0.51025665",
"0.510128",
"0.50853246",
"0.5079974",
"0.50661373",
"0.5066046",
"0.5055296",
"0.50508827",
"0.50464755",
"0.50426185",
"0.5038436",
"0.5035764",
"0.50348294",
"0.50331444",
"0.50327075",
"0.5023903",
"0.5016113",
"0.50122744",
"0.5008968",
"0.50052446",
"0.5000465",
"0.49985978",
"0.4990865",
"0.49895498",
"0.4979877",
"0.4979341",
"0.49693635",
"0.49664766",
"0.49657"
]
| 0.7854549 | 0 |
Inserts resume into DB and returns newly created rowId. | public long insertResumeIntoDB(Resume resume) {
ContentValues cv = new ContentValues();
SQLiteDatabase db = this.getWritableDatabase();
cv.put(DBHelper.COL_NAME, resume.getLastFirstName());
cv.put(DBHelper.COL_BIRTHDAY, resume.getBirthday().getTime());
cv.put(DBHelper.COL_GENDER, resume.getGender());
cv.put(DBHelper.COL_POSITION, resume.getDesiredJobTitle());
cv.put(DBHelper.COL_SALARY, resume.getSalary());
cv.put(DBHelper.COL_PHONE, resume.getPhone());
cv.put(DBHelper.COL_EMAIL, resume.getEmail());
long rowId = db.insert(DBHelper.TABLE_RESUME, null, cv);
db.close();
return rowId;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n\tpublic int insert(Resume record) {\n\t\treturn resumeMapper.insert(record);\n\t}",
"int insert(ResumePractice record);",
"@Insert({\n \"insert into resume_kpi (resume_id, field_name, \",\n \"created_by, updated_by, \",\n \"created_at, updated_at)\",\n \"values (#{resumeId,jdbcType=BIGINT}, #{fieldName,jdbcType=VARCHAR}, \",\n \"#{createdBy,jdbcType=BIGINT}, #{updatedBy,jdbcType=BIGINT}, \",\n \"#{createdAt,jdbcType=TIMESTAMP}, #{updatedAt,jdbcType=TIMESTAMP})\"\n })\n @SelectKey(statement=\"SELECT LAST_INSERT_ID()\", keyProperty=\"id\", before=false, resultType=Long.class)\n int insert(ResumeKpiPO record);",
"public long insertNewRow(){\n ContentValues initialValues = new ContentValues();\n initialValues.put(KEY_PAIN_ASSESSMENT_NUM, \"0\");\n initialValues.put(KEY_ANALGESIC_PRES_NUM, \"0\");\n initialValues.put(KEY_ANALGESIC_ADMIN_NUM, \"0\");\n initialValues.put(KEY_NERVE_BLOCK_NUM, \"0\");\n initialValues.put(KEY_ALTERNATIVE_PAIN_RELIEF_NUM, \"0\");\n long id = db.insert(DATA_TABLE, null, initialValues);\n\n String value = MainActivity.deviceID + \"-\" + id;\n updateFieldData(id, KEY_UNIQUEID, value);\n\n return id;\n }",
"int insertSelective(ResumePractice record);",
"int insertSelective(ResumeKpiPO record);",
"@Override\n\tpublic int insertSelective(Resume record) {\n\t\treturn resumeMapper.insertSelective(record);\n\t}",
"public long insert(ContentValues values){\n long id = sqlDB.insert(tableName,\"\",values);\n\n return id;\n }",
"public long insert(ContentValues initialValues) {\n\t\treturn db.insert(tableName, null, initialValues);\t\t\n\t}",
"public long insertContentValues(String tableName, ContentValues cv){\n\n long id = 0;\n\n try{\n db.beginTransaction();\n id = db.insert(tableName,null,cv);\n db.setTransactionSuccessful();\n }catch (Exception e){\n e.printStackTrace();\n }finally {\n db.endTransaction();\n }\n\n return id;\n }",
"private long insertRow(){\n // Mukund Inserted New Table here\n mDbHelper = new ClientDbHelper(this);\n SQLiteDatabase db = mDbHelper.getWritableDatabase();\n\n // Create a new map of values, where column names are the keys\n ContentValues values = new ContentValues();\n values.put(ClientEntry.COLUMN_CLIENT_NAME, name);\n values.put(ClientEntry.COLUMN_CLIENT_GENDER, mGender);\n values.put(ClientEntry.COLUMN_CLIENT_SOCIETY, society);\n values.put(ClientEntry.COLUMN_CLIENT_ADDRESS, address);\n values.put(ClientEntry.COLUMN_CLIENT_PHONE, phone);\n //values.put(ClientEntry.COLUMN_CLIENT_EMAIL, emailString);\n\n // Insert the new row, returning the primary key value of the new row\n long newRowId = db.insert(ClientEntry.TABLE_NAME, null, values);\n\n\n Log.v(\"ClientActivity\",\"New Row ID: \"+ newRowId);\n return newRowId;\n }",
"public int insert(){\n\t\tif (jdbcTemplate==null) createJdbcTemplate();\n\t\t jdbcTemplate.update(insertStatement, ticketId,locationNumber);\n\t\treturn ticketId;\n\t}",
"private int save_InsertGetInsertId() {\n\t\t\n\t\tfinal String INSERT_SQL = \"INSERT INTO project__insert_id_tbl ( ) VALUES ( )\";\n\t\t\n\t\t// Use Spring JdbcTemplate so Transactions work properly\n\t\t\n\t\t// How to get the auto-increment primary key for the inserted record\n\t\t\n\t\ttry {\n\t\t\tKeyHolder keyHolder = new GeneratedKeyHolder();\n\t\t\tint rowsUpdated = this.getJdbcTemplate().update(\n\t\t\t\t\tnew PreparedStatementCreator() {\n\t\t\t\t\t\t@Override\n\t\t\t\t\t\tpublic PreparedStatement createPreparedStatement(Connection connection) throws SQLException {\n\n\t\t\t\t\t\t\tPreparedStatement pstmt =\n\t\t\t\t\t\t\t\t\tconnection.prepareStatement( INSERT_SQL, Statement.RETURN_GENERATED_KEYS );\n\n\t\t\t\t\t\t\treturn pstmt;\n\t\t\t\t\t\t}\n\t\t\t\t\t},\n\t\t\t\t\tkeyHolder);\n\n\t\t\tNumber insertedKey = keyHolder.getKey();\n\t\t\t\n\t\t\tlong insertedKeyLong = insertedKey.longValue();\n\t\t\t\n\t\t\tif ( insertedKeyLong > Integer.MAX_VALUE ) {\n\t\t\t\tString msg = \"Inserted key is too large, is > Integer.MAX_VALUE. insertedKey: \" + insertedKey;\n\t\t\t\tlog.error( msg );\n\t\t\t\tthrow new LimelightInternalErrorException( msg );\n\t\t\t}\n\t\t\t\n\t\t\tint insertedKeyInt = (int) insertedKeyLong; // Inserted auto-increment primary key for the inserted record\n\t\t\t\n\t\t\treturn insertedKeyInt;\n\t\t\t\n\t\t} catch ( RuntimeException e ) {\n\t\t\tString msg = \"SQL: \" + INSERT_SQL;\n\t\t\tlog.error( msg, e );\n\t\t\tthrow e;\n\t\t}\n\t}",
"int insert(ProcurementSource record);",
"int insert(PdfCodeTemporary record);",
"int insert(ParkCurrent record);",
"private void insert(String sql, long rowId, int runId, int payloadColumns) {\n String nodeId = engine.getEngineName();\n\n Object[] values = new Object[payloadColumns + 3];\n values[0] = rowId;\n values[1] = nodeId;\n values[2] = runId;\n\n for (int c = 3; c < values.length; c++) {\n values[c] = RandomStringUtils.randomAlphanumeric(100);\n }\n\n engine.getSqlTemplate().update(sql, values);\n }",
"int insert(PrefecturesMt record);",
"int insert(TbCrmTask record);",
"int insert(PmKeyDbObj record);",
"int insert(ProcRecInvoice record);",
"int insert(ReEducation record);",
"int insert(ExamineApproveResult record);",
"public long insert(ContentValues contentValues){\n long rowID = mDB.insert(DATABASE_TABLE, \"\", contentValues);\n return rowID;\n }",
"int insert(TbSnapshot record);",
"int insert(TrainingCourse record);",
"Long insert(Access record);",
"public long insert();",
"public void updateResumeByRowId(long rowId, Resume resume) {\r\n SQLiteDatabase db = this.getWritableDatabase();\r\n\r\n ContentValues cv = new ContentValues();\r\n cv.put(DBHelper.COL_NAME, resume.getLastFirstName());\r\n cv.put(DBHelper.COL_BIRTHDAY, resume.getBirthday().getTime());\r\n cv.put(DBHelper.COL_GENDER, resume.getGender());\r\n cv.put(DBHelper.COL_POSITION, resume.getDesiredJobTitle());\r\n cv.put(DBHelper.COL_SALARY, resume.getSalary());\r\n cv.put(DBHelper.COL_PHONE, resume.getPhone());\r\n cv.put(DBHelper.COL_EMAIL, resume.getEmail());\r\n\r\n db.update(DBHelper.TABLE_RESUME, cv, \"rowid=\" + rowId, null);\r\n db.close();\r\n }",
"int insert(AccountBankStatementImportJournalCreationEntity record);",
"int insert(CptDataStore record);",
"int insert(WizardValuationHistoryEntity record);",
"Long insert(EventDetail record);",
"int insert(CodeBuildProcedure record);",
"int insert(SysId record);",
"private void insertTemplateRow(Connection con,\n IdentifiedRecordTemplate template) throws SQLException {\n PreparedStatement insert = null;\n \n try {\n int internalId = getNextId(TEMPLATE_TABLE, \"templateId\");\n template.setInternalId(internalId);\n String externalId = template.getExternalId();\n String templateName = template.getTemplateName();\n \n insert = con.prepareStatement(INSERT_TEMPLATE);\n insert.setInt(1, internalId);\n insert.setString(2, externalId);\n insert.setString(3, templateName);\n insert.execute();\n } finally {\n DBUtil.close(insert);\n }\n }",
"int insert(UsecaseRoleData record);",
"int insert(TrainCourse record);",
"public long insertRecipe(Recipe recipe)\n {\n ContentValues cv = new ContentValues();\n cv.put(RECIPE_NAME, recipe.getRecipeName());\n cv.put(RECIPE, recipe.getRecipe());\n cv.put(PROCESS, recipe.getProcess());\n cv.put(NOTES, recipe.getNotes());\n this.openWriteableDB();\n long rowID = db.insert(TABLE_RECIPES, null, cv);\n this.closeDB();\n\n return rowID;\n }",
"int insert(RoleResource record);",
"public long insertStartTime(String dateTimeStamp, String employer) {\n \tContentValues values = new ContentValues();\n \tvalues.put(Logs.COLUMN_NAME_EMPLOYER, employer);\n \tvalues.put(Logs.COLUMN_NAME_START_TIME, dateTimeStamp);\n\n \t// Insert the new row, returning the primary key value of the new row\n \tlong newRowId;\n \ttry\n \t{\n\t \tnewRowId = db.insert(\n\t \t Logs.TABLE_NAME,\n\t \t null,\n\t \t values);\n \t}\n \tcatch(NullPointerException e)\n \t{\n \t\te.printStackTrace();\n \t\tnewRowId = -1;\n \t}\n \treturn newRowId;\n\t}",
"int updateByPrimaryKey(ResumePractice record);",
"public void insert() throws LRException\n\t{\n\t\tDataHRecordData myData=(DataHRecordData)getData();\n\t\tgetBackground();\n\t\ttry { myData.record.save(background.getClient()); }\n\t\tcatch (LDBException e) { setStatus(e); }\n\t}",
"int insert(PaasCustomAutomationRecord record);",
"int insert(DBPublicResources record);",
"int insertSelective(ProcRecInvoice record);",
"int insert(AutoAssessDetailWithBLOBs record);",
"int insert(EnterprisePicture record);",
"int insert(Assist_table record);",
"int insert(Course record);",
"int insert(Course record);",
"int insert(DebtsRecordEntity record);",
"int insert(ResourceWithBLOBs record);",
"int insert(PensionRoleMenu record);",
"int insert(T00RolePost record);",
"public Long insertDBrow(String title, String subtitle) {\n SQLiteDatabase db = mDbHelper.getWritableDatabase();\n SimpleDateFormat dateFormat = new SimpleDateFormat(\"yyyy-MM-dd HH:mm:ss\", Locale.getDefault());\n\n // Create a new map of values, where column names are the keys\n ContentValues values = new ContentValues();\n values.put(FeedEntry.COLUMN_NAME_TITLE, title);\n values.put(FeedEntry.COLUMN_NAME_SUBTITLE, subtitle);\n values.put(FeedEntry.COLUMN_NAME_UPDATED, dateFormat.format(new Date()));\n\n // Insert the new row, returning the primary key value of the new row\n return db.insert(\n FeedEntry.TABLE_NAME,\n null,\n values);\n }",
"int insert(Engine record);",
"public int insertOneRecord(String insertSQL) {\n System.out.println(\"INSERT STATEMENT: \" + insertSQL);\n int key = -1;\n\n try {\n // get connection and initialize statement\n Connection con = getConnection();\n Statement stmt = con.createStatement();\n\n stmt.executeUpdate(insertSQL, Statement.RETURN_GENERATED_KEYS);\n\n // extract auto-incremented ID\n ResultSet rs = stmt.getGeneratedKeys();\n if (rs.next()) key = rs.getInt(1);\n\n // Cleanup\n rs.close();\n stmt.close();\n } catch (SQLException e) {\n System.err.println(\"ERROR: Could not insert record: \"+insertSQL);\n System.err.println(e.getMessage());\n e.printStackTrace();\n }\n\n return key;\n }",
"public void test_ROWID_insert_select() {\r\n // ## Arrange ##\r\n VendorCheck vendorCheck = new VendorCheck();\r\n vendorCheck.setVendorCheckId(99999L);\r\n vendorCheck.setTypeOfRowid(\"123456789012345678\");\r\n\r\n // ## Act ##\r\n try {\r\n vendorCheckBhv.insert(vendorCheck);\r\n\r\n // ## Assert ##\r\n fail(\"Now unsupported\");\r\n } catch (SQLFailureException e) {\r\n // OK\r\n log(e.getMessage());\r\n }\r\n }",
"public Long insert(User record) {\r\n Object newKey = getSqlMapClientTemplate().insert(\"spreader_tb_user.ibatorgenerated_insert\", record);\r\n return (Long) newKey;\r\n }",
"int insert(PrescriptionVerifyRecordDetail record);",
"int insert(BPBatchBean record);",
"public Integer getResumeId() {\n return resumeId;\n }",
"int insert(courses record);",
"public long insertEmployer(String employer){\n \tContentValues values = new ContentValues();\n \tvalues.put(Employers.COLUMN_NAME_TITLE, employer);\n\n \t// Insert the new row, returning the primary key value of the new row\n \tlong row = db.insert(\n \t Employers.TABLE_NAME,\n \t null,\n \t values);\n \treturn row;\n\t}",
"int insert(Body record);",
"int insert(PracticeClass record);",
"@Override\n\tpublic int storeRow(java.sql.Connection conn, com.vaadin.data.Item row) throws UnsupportedOperationException, java.sql.SQLException { \n\t String newid = null;\n\t int retval = 0;\n\t try ( java.sql.CallableStatement call = conn.prepareCall(\"{ ? = call EMAIL.EMAILTEMPLATE (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) }\")) {\n\n\t int i = 1;\n\t call.registerOutParameter(i++, java.sql.Types.VARCHAR); \n\t \n\t \t\t\n\t setString(call, i++, getString(row,\"ID\"));\n\t setString(call, i++, getString(row,\"ROWSTAMP\"));\n\n\t setString(call, i++, getString(row, \"EMAILNAME\"));\n\t setString(call, i++, getString(row, \"EMAILSUBJECT\"));\n\t setString(call, i++, getString(row, \"CONTENT\"));\n\t setString(call, i++, getString(row, \"HELPTEXT\"));\n\t setBoolean(call, i++, getOracleBoolean(row, \"ISACTIVE\"));\n\t setString(call, i++, getString(row, \"CREATEDBY\"));\n\t setTimestamp(call, i++, getOracleTimestamp(row, \"CREATED\"));\n\t setString(call, i++, User.getUser().getUserId());\n\t setTimestamp(call, i++, OracleTimestamp.now());\n\t \n\t retval = call.executeUpdate();\n\t newid = call.getString(1);\n\t if(logger.isDebugEnabled()) {\n\t logger.debug(\"newid = {} retval = {}\",newid, retval);\n\t }\n\t }\n\t setLastId(newid);\n\t return retval;\n\t}",
"int insertSelective(ReEducation record);",
"int insert(Project record);",
"public Long getResumeId() {\n return resumeId;\n }",
"@Override\n\tpublic Long insert(String sql, Object... parameters) {\n\t\tConnection conn = null;\n\t\tPreparedStatement stm = null;\n\t\tResultSet rs = null;\n\t\tLong id = null;\n\t\ttry {\n\t\t\tconn = getConnection();\n\t\t\tstm = conn.prepareStatement(sql, stm.RETURN_GENERATED_KEYS);\n\t\t\tconn.setAutoCommit(false);\n\t\t\tsetParameter(stm, parameters);\n\t\t\tstm.executeUpdate();\n\t\t\trs = stm.getGeneratedKeys();\n\t\t\tif (rs.next()) {\n\t\t\t\tid = rs.getLong(1);\n\t\t\t}\n\t\t\tconn.commit();\n\t\t\treturn id;\n\t\t\t\n\t\t} catch (SQLException e) {\n\t\t\t// TODO: handle exception\n\t\t\ttry {\n\t\t\t\tconn.rollback();\n\t\t\t} catch (SQLException e2) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te2.printStackTrace();\n\t\t\t}\n\t\t\ttry {\n\t\t\t\tconn.rollback();\n\t\t\t} catch (SQLException e1) {\n\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\te1.printStackTrace();\n\t\t\t}\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t} finally {\n\t\t\ttry {\n\t\t\t\tif (conn != null) {\n\t\t\t\t\tconn.close();\n\t\t\t\t}\n\n\t\t\t\tif (stm != null) {\n\t\t\t\t\tstm.close();\n\t\t\t\t}\n\n\t\t\t\tif (rs != null) {\n\t\t\t\t\trs.close();\n\t\t\t\t}\n\t\t\t} catch (Exception e2) {\n\t\t\t\t// TODO: handle exception\n\t\t\t\te2.printStackTrace();\n\t\t\t\treturn null;\n\t\t\t}\n\t\t}\n\t\n\t}",
"public void insertPractice(PracticeEntry entry) {\n\t\tpatchMissingDefaults(entry);\n\t\tContentValues entryValues = sanitizeColumns(entry);\n\t\tlong columnId;\n\t\tif ((columnId = db.insert(PRACTICE_TABLE_NAME, null, entryValues)) == -1) {\n\t\t\tthrow new SQLException(\"There was an error inserting new row.\");\n\t\t}\n\n\t\tentry.getValues().put(BaseColumns._ID, columnId);\n\n\t\tupdatePractice(entry);\n\t}",
"int insert(Ltsprojectpo record);",
"public void insert() throws SQLException {\r\n\t\t//SQL-Statement\r\n\r\n\t\tString sql = \"INSERT INTO \" + table +\" VALUES (\" + seq_genreID +\".nextval, ?)\";\r\n\t\tPreparedStatement stmt = DBConnection.getConnection().prepareStatement(sql);\r\n\t\tstmt.setString(1, this.getGenre());\r\n\r\n\t\tint roswInserted = stmt.executeUpdate();\r\n\t\tSystem.out.println(\"Es wurden \" +roswInserted+ \"Zeilen hinzugefügt\");\r\n\r\n\t\tsql = \"SELECT \"+seq_genreID+\".currval FROM DUAL\";\r\n\t\tstmt = DBConnection.getConnection().prepareStatement(sql);\r\n\t\tResultSet rs = stmt.executeQuery();\r\n\t\tif(rs.next())this.setGenreID(rs.getInt(1));\r\n\t\trs.close();\r\n\t\tstmt.close();\r\n\t}",
"int insert(AccountAccountTemplateEntityWithBLOBs record);",
"private void insertRecordRow(Connection con,\n IdentifiedRecordTemplate template, GenericDataRecord record)\n throws SQLException {\n PreparedStatement insert = null;\n \n try {\n int internalId = getNextId(RECORD_TABLE, \"recordId\");\n record.setInternalId(internalId);\n int templateId = template.getInternalId();\n String externalId = record.getId();\n \n SilverTrace.debug(\"form\", \"GenericRecordSetManager.insertRecordRow\",\n \"root.MSG_GEN_PARAM_VALUE\", \"internalId = \" + internalId\n + \", templateId = \" + templateId + \", externalId = \" + externalId\n + \", language = \" + record.getLanguage());\n \n insert = con.prepareStatement(INSERT_RECORD);\n insert.setInt(1, internalId);\n insert.setInt(2, templateId);\n insert.setString(3, externalId);\n if (!I18NHelper.isI18N\n || I18NHelper.isDefaultLanguage(record.getLanguage())) {\n insert.setNull(4, Types.VARCHAR);\n } else {\n insert.setString(4, record.getLanguage());\n }\n insert.execute();\n } finally {\n DBUtil.close(insert);\n }\n }",
"int insert(SdkMobileVcode record);",
"int insert(Transaction record);",
"int insert(CmsActivity record);",
"int insert(Role record);",
"int insert(Role record);",
"Integer insertBannerPosition(BannerPosition record) throws SQLException;",
"int insertSelective(CptDataStore record);",
"int insertSelective(ProcurementSource record);",
"public Long newTestHeadData(@NotNull TestHeadData testHeadData) {\n Long id = null;\n Session session = SessionFactoryHelper.getOpenedSession();\n try {\n session.beginTransaction();\n session.save(testHeadData); //insert into table !\n session.getTransaction().commit();\n id = testHeadData.getId();\n logger.info(\"TestHead record created successfully: {}\", id);\n } catch (Exception e) {\n session.getTransaction().rollback();\n logger.warn(\"TestHead record creation failure\", e);\n }\n session.close();\n return id;\n }",
"int insertSelective(CodeBuildProcedure record);",
"int insert(ApplicationDO record);",
"int insert(HomeWork record);",
"private void insertTupel(Connection c) {\n try {\n String query = \"INSERT INTO \" + getEntityName() + \" VALUES (null,?,?,?,?,?);\";\n PreparedStatement ps = c.prepareStatement(query, Statement.RETURN_GENERATED_KEYS);\n ps.setString(1, getAnlagedatum());\n ps.setString(2, getText());\n ps.setString(3, getBild());\n ps.setString(4, getPolizist());\n ps.setString(5, getFall());\n ps.executeUpdate();\n ResultSet rs = ps.getGeneratedKeys();\n rs.next();\n setID(rs.getString(1));\n getPk().setValue(getID());\n } catch (SQLException e) {\n e.printStackTrace();\n }\n\n }",
"int insert(CmsRoomBook record);",
"int insert(TmpUserPayAccount record);",
"int insertSelective(PdfCodeTemporary record);",
"int insert(TempletLink record);",
"@Override\n\tpublic long getResumeId() {\n\t\treturn _candidate.getResumeId();\n\t}",
"int insert(Procdef record);",
"int insert(Prueba record);",
"int insert(TopicFragmentWithBLOBs record);",
"int insertSelective(PrefecturesMt record);",
"@Override\n public String getResumeDeleteID() {\n return id;\n }"
]
| [
"0.66561973",
"0.6583164",
"0.6484427",
"0.6381267",
"0.6287105",
"0.60494244",
"0.5983685",
"0.57760954",
"0.5755133",
"0.57467663",
"0.573586",
"0.5724777",
"0.56356525",
"0.5604174",
"0.5587656",
"0.55456454",
"0.55206114",
"0.5520091",
"0.5514541",
"0.5490407",
"0.5487437",
"0.5483687",
"0.54533875",
"0.54498583",
"0.5446527",
"0.5446232",
"0.54201466",
"0.5419036",
"0.5418365",
"0.5409486",
"0.5408474",
"0.540709",
"0.54030716",
"0.5390463",
"0.53884214",
"0.5381273",
"0.5378314",
"0.53769857",
"0.5376778",
"0.5371781",
"0.5370223",
"0.53654027",
"0.53610957",
"0.535936",
"0.5348841",
"0.5347577",
"0.53413516",
"0.5326757",
"0.53255516",
"0.53187025",
"0.53187025",
"0.5317726",
"0.53152084",
"0.53006476",
"0.5290501",
"0.5277765",
"0.52751625",
"0.52738214",
"0.52692765",
"0.5257532",
"0.525338",
"0.52530766",
"0.524783",
"0.52449363",
"0.5242376",
"0.5234141",
"0.5227493",
"0.52261084",
"0.5225185",
"0.52236396",
"0.5223485",
"0.5214602",
"0.52077067",
"0.5205014",
"0.5204177",
"0.52001655",
"0.5194024",
"0.51915675",
"0.5190247",
"0.5190172",
"0.5181628",
"0.5181628",
"0.5179478",
"0.5175299",
"0.5175123",
"0.517108",
"0.5166086",
"0.5158854",
"0.5153354",
"0.51493186",
"0.51483697",
"0.5148164",
"0.51481164",
"0.51396966",
"0.51376134",
"0.51362866",
"0.51343876",
"0.5133393",
"0.51321495",
"0.51300013"
]
| 0.75879014 | 0 |
Remove resume from DB by rowId. | public void removeResumeByRowId(long rowId) {
SQLiteDatabase db = this.getWritableDatabase();
db.delete(DBHelper.TABLE_RESUME, "rowid=" + rowId, null);
db.close();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void delete(@Nonnull String resumeId);",
"@Override\n\tpublic int deleteByPrimaryKey(Integer id) {\n\t\treturn resumeMapper.deleteByPrimaryKey(id);\n\t}",
"void remove(PK id);",
"@Transactional\n public void delete(Resume resume,MultipartFile resumeUpload) {\n resumeDao.delete(resume);\n }",
"public DResult delete(byte[] row, long startId) throws IOException;",
"private void removeResumeDataFile(final Hash hash) {\n deleteFile(\"rd_\" + hash.toString());\n dbHelper.removeResumeData(hash);\n }",
"public void deleteEntry(int rowid) {\n\t\t\tourDatabase.delete(DATABASE_TABLE1, KEY_ID + \"=\" + rowid, null);\n\t\t}",
"void remover(Long id);",
"void remover(Long id);",
"public void updateResumeByRowId(long rowId, Resume resume) {\r\n SQLiteDatabase db = this.getWritableDatabase();\r\n\r\n ContentValues cv = new ContentValues();\r\n cv.put(DBHelper.COL_NAME, resume.getLastFirstName());\r\n cv.put(DBHelper.COL_BIRTHDAY, resume.getBirthday().getTime());\r\n cv.put(DBHelper.COL_GENDER, resume.getGender());\r\n cv.put(DBHelper.COL_POSITION, resume.getDesiredJobTitle());\r\n cv.put(DBHelper.COL_SALARY, resume.getSalary());\r\n cv.put(DBHelper.COL_PHONE, resume.getPhone());\r\n cv.put(DBHelper.COL_EMAIL, resume.getEmail());\r\n\r\n db.update(DBHelper.TABLE_RESUME, cv, \"rowid=\" + rowId, null);\r\n db.close();\r\n }",
"void remove(Long id);",
"void remove(Long id);",
"public void removeByid_(long id_);",
"public void rollbackRow(byte[] row, long startId) throws IOException;",
"public void eliminar(Long id) throws AppException;",
"void eliminar(PK id);",
"public int deleteByPrimaryKey(Integer rowid) {\r\n ZyCorporation key = new ZyCorporation();\r\n key.setRowid(rowid);\r\n int rows = getSqlMapClientTemplate().delete(\"zy_corporation.deleteByPrimaryKey\", key);\r\n return rows;\r\n }",
"@Override\r\n\tpublic int deleteByPrimaryKey(Integer remarkId) {\n\t\treturn remarkmapper.deleteByPrimaryKey(remarkId);\r\n\t}",
"public void deleteRowPaymentReq(Number rowId) {\n Row[] deleteRows = null;\n deleteRows = getFilteredRows(\"Id\", rowId);\n if (deleteRows.length > 0) {\n deleteRows[0].remove();\n }\n }",
"int deleteByPrimaryKey(String licFlow);",
"int deleteByPrimaryKey(Integer prefecturesId);",
"@Override\n\tpublic void delByPrimaryKey(int id) throws SQLException {\n\n\t}",
"public void removeEntry(long mId) {\n Log.d(TAG, \"Removing row mId=\" + mId);\n db.delete(ExcursionSQLiteHelper.TABLE_EXCURSIONS, ExcursionSQLiteHelper.COLUMN_ID + \" = \" + mId, null);\n }",
"public int deleteDBrow(Long rowId) {\n SQLiteDatabase db = mDbHelper.getWritableDatabase();\n\n // Define 'where' part of query.\n String selection = FeedEntry._ID + \" LIKE ?\";\n // Specify arguments in placeholder order.\n String[] selectionArgs = {rowId.toString()};\n // Issue SQL statement.\n return db.delete(FeedEntry.TABLE_NAME, selection, selectionArgs);\n }",
"void removeById(Long id) throws DaoException;",
"E remove(Id id);",
"int deleteByPrimaryKey(Long researchid);",
"int deleteByPrimaryKey(Long dictId);",
"public static void delRecord(String tableName, String rowKey)\n\t\t\tthrows IOException {\n\t\tHTable table = connectTable(tableName);\n\t\tDelete del = new Delete(Bytes.toBytes(rowKey));\n\t\ttable.delete(del);\n\t\treleaseTable(table);\n\t\tLOG.info(\"delete recored \" + rowKey + \" from table[\" + tableName\n\t\t\t\t+ \"] ok.\");\n\t}",
"int deleteByPrimaryKey(Long idreg);",
"int deleteByPrimaryKey(Integer actPrizeId);",
"public void removeRow(String rowName);",
"int deleteByPrimaryKey(Integer rebateId);",
"void removeNextId(int nextId);",
"public boolean delete(long rowId) {\n\t\treturn db.delete(tableName, fields[0] + \" = \" + String.valueOf(rowId), null) > 0;\t\t\n\t}",
"public void removetuple(String cid) throws SQLException\n {\n StringBuffer tpremove=new StringBuffer();\n tpremove.append(\" DELETE FROM Credit \");\n tpremove.append(\" WHERE CID = \");\n tpremove.append(cid);\n Statement statement =null;\n System.out.println(\"Removing record....\");\n\n try {\n statement = this.getConnection().createStatement();\n statement.executeUpdate (tpremove.toString());\n }catch (SQLException e){\n throw e;\n }finally{\n statement.close();\n }\n }",
"public void remove(int objectId) throws SQLException;",
"void removeDetail(String id);",
"int deleteByPrimaryKey(Integer educationid);",
"public void eliminarTripulante(Long id);",
"Long deleteByPrimaryKey(Long id);",
"int deleteByPrimaryKey(Integer recordId);",
"public boolean delete(long rowId) {\n\t\treturn db.delete(CertificationConstants.DB_TABLE, CertificationConstants.FIELD_ROWID + \" = \" + rowId, null) > 0;\n\t}",
"public boolean deleteRevision(long rowId) {\n\t checkMDbAndReopen();\n\t\treturn mDb.delete(DATABASE_TABLE, KEY_ROWID + \"=\" + rowId, null) > 0;\n\t}",
"int deleteSellMediaByPrimaryKey(Integer id) throws SQLException;",
"public void removeHistory(long _rowIndex) {\n\t// Delete the row.\n\t SQLiteDatabase db = SQLiteDatabase.openDatabase(context.getDatabasePath(DATABASE_NAME).getAbsolutePath(), null, SQLiteDatabase.CREATE_IF_NECESSARY);\n \n String sql = \"Delete from airtime_history where _id = \" + _rowIndex; \n db.execSQL(sql);\n db.close();\n }",
"void deleteById(long id);",
"public void deleteEntry(long row) {\n database.delete(ORDER_MASTER, ROW_ID + \"=\" + row, null);\n }",
"ReEducation selectByPrimaryKey(Integer educationid);",
"@Override\r\n public void removerQuestaoDiscursiva(long id) throws Exception {\n rnQuestaoDiscursiva.remover(id);\r\n\r\n }",
"@RequestMapping(value = \"/resume-educations/{id}\",\n method = RequestMethod.DELETE,\n produces = MediaType.APPLICATION_JSON_VALUE)\n @Timed\n public ResponseEntity<Void> deleteResumeEducation(@PathVariable Long id) {\n log.debug(\"REST request to delete ResumeEducation : {}\", id);\n resumeEducationRepository.delete(id);\n resumeEducationSearchRepository.delete(id);\n return ResponseEntity.ok().headers(HeaderUtil.createEntityDeletionAlert(\"resumeEducation\", id.toString())).build();\n }",
"public static void removeRow(String fileName) {\n tableModel.removeRow(fileName);\n }",
"@Transactional void removeById(long id) throws IllegalArgumentException;",
"int deleteByPrimaryKey(Long relId);",
"public void removeEvent(long rowIndex) {\n SQLiteDatabase dbObj = getWritableDatabase();\n dbObj.delete(TABLE_EVENT_ENTRIES, KEY_ROWID + \"=\" + rowIndex, null);\n dbObj.close();\n }",
"int deleteByPrimaryKey(String samId);",
"int deleteByPrimaryKey(Long personId);",
"public void supprimerRole(Long idRoUt);",
"void eliminar(Long id);",
"private void removeLocalEntry(int dbId,\n ArrayList<ContentProviderOperation> batch,\n SyncResult syncResult) {\n\n Uri deleteUri = CONTENT_URI.buildUpon().appendPath(Integer.toString(dbId)).build();\n Log.i(TAG, \"Scheduling delete: \" + deleteUri);\n batch.add(ContentProviderOperation.newDelete(deleteUri).build());\n syncResult.stats.numDeletes++;\n }",
"public boolean BorrarDato(long rowId)\n {\n return db.delete(DATABASE_TABLE, KEY_ROWID + \"=\" + rowId, null) > 0;\n }",
"@Override\r\n\tpublic int delById(int id) {\n\t\tint flag=0;\r\n\t\ttry {\r\n\t\t\tString sql=\"DELETE FROM payedproduct WHERE PayedProduct_id=?\";\r\n\t\t\tflag= qr.update(sql, id);\r\n\t\t} catch (Exception e) {\r\n\t\t\t// TODO: handle exception\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\treturn flag;\r\n\t}",
"@Override\r\n\tpublic void remove(int id) throws SQLException {\r\n\t\tString removeSql = \"DELETE FROM \" + tableName + \" WHERE (id = ?)\";\r\n\t\ttry {\r\n\t\t\t//connection = ds.getConnection();\r\n\t\t\tpreparedStatement = connection.prepareStatement(removeSql);\r\n\t\t\tpreparedStatement.setInt(1, id);\r\n\t\t\tpreparedStatement.executeUpdate();\r\n\t\t\tconnection.commit();\r\n\t\t} catch (SQLException e) {\r\n\t\t}\r\n\t}",
"@Override\n\tpublic void remove(Long id) throws ApplicationException {\n\n\t}",
"int deleteByPrimaryKey(String objId);",
"int deleteByPrimaryKey(String objId);",
"@Override\r\n\tpublic int deleteByPrimaryKey(Integer prid) {\n\t\treturn 0;\r\n\t}",
"public boolean deletePreg(long rowId) {\n\n return mDb.delete(DATABASE_TABLE, KEY_ROWID + \"=\" + rowId, null) > 0;\n }",
"public void rollbackRow(byte[] row, long startId, Integer lockId)\n throws IOException;",
"int deleteByPrimaryKey(String hash);",
"@Override\n public String getResumeDeleteID() {\n return id;\n }",
"@Override\n\tpublic boolean eliminaRisposta(Long id) {\n\t\tDB db = getDB();\n\t\tMap<Long, Risposta> risposte = db.getTreeMap(\"risposte\");\n\t\trisposte.remove(id);\n\t\tdb.commit();\n\t\t\n\t\tif(!risposte.containsKey(id))\n\t\t\treturn true;\n\t\telse \n\t\t\treturn false;\n\t}",
"int deleteByPrimaryKey(Integer hId);",
"int logicalDeleteByPrimaryKey(Integer id);",
"int logicalDeleteByPrimaryKey(Integer id);",
"int logicalDeleteByPrimaryKey(Integer id);",
"int logicalDeleteByPrimaryKey(Integer id);",
"int logicalDeleteByPrimaryKey(Integer id);",
"int logicalDeleteByPrimaryKey(Integer id);",
"int logicalDeleteByPrimaryKey(Integer id);",
"@Transactional\n\tpublic void eliminaPartita(Long idPartita) {\n\t\tpartitaRepository.deleteById(idPartita);\n\t}",
"SpCharInSeq delete(Integer spcharinseqId);",
"@Override\n public void remove(int id) {\n Venda v;\n\n v = em.find(Venda.class, id);\n em.remove(v);\n// transaction.commit();\n }",
"void delete(long idToDelete);",
"@Override\n\tpublic int deleteFromLicenseFileSignByPrimaryKey(Integer id) {\n\t\treturn licenseFileSignMapper.deleteByPrimaryKey(id);\n\t}",
"public static void excluir(Integer idArt) throws SQLException{\r\n String delete = \"DELETE FROM Artigo WHERE idArt = '\" + idArt + \"'\";\r\n System.out.println(\"Delete statement: \" + delete);\r\n Statement statement = dbConnection.createStatement();\r\n statement.executeUpdate(delete);\r\n }",
"int updateByPrimaryKeySelective(ResumePractice record);",
"@Override\n public void removeFromDb() {\n }",
"int deleteByPrimaryKey(String repaymentId);",
"void remove(int id);",
"boolean excluir(long id);",
"@Override\r\n public void removerConcursando(long id) throws Exception {\n rnConcursando.remover(id);\r\n }",
"int updateByPrimaryKey(ResumePractice record);",
"public boolean delete(long rowId)\n {\n return db.delete(DATABASE_TABLE, KEY_ROWID +\n \"=\" + rowId, null) > 0;\n }",
"int deleteByPrimaryKey(Integer r_p_i);",
"int deleteByPrimaryKey(String id);",
"int deleteByPrimaryKey(String id);",
"int deleteByPrimaryKey(String id);",
"int deleteByPrimaryKey(String id);",
"int deleteByPrimaryKey(String id);"
]
| [
"0.7037765",
"0.70369774",
"0.62402344",
"0.60847765",
"0.60723263",
"0.6034886",
"0.5995331",
"0.5942914",
"0.5942914",
"0.59119356",
"0.58621705",
"0.58621705",
"0.58453053",
"0.5826238",
"0.5825903",
"0.5777769",
"0.57417095",
"0.57371515",
"0.5731655",
"0.57109326",
"0.56867284",
"0.5681614",
"0.5673834",
"0.56395227",
"0.5636626",
"0.5632556",
"0.5620173",
"0.5593686",
"0.55842966",
"0.55783266",
"0.55754423",
"0.5573913",
"0.55519533",
"0.554855",
"0.5544856",
"0.55290794",
"0.55286646",
"0.55240434",
"0.5521705",
"0.55174375",
"0.55172384",
"0.550948",
"0.5505379",
"0.5501754",
"0.5490429",
"0.54862314",
"0.5481114",
"0.5469377",
"0.54664755",
"0.5465855",
"0.5461819",
"0.5457699",
"0.5446062",
"0.5436318",
"0.5434726",
"0.54323417",
"0.5431178",
"0.5429114",
"0.541846",
"0.5410277",
"0.54102474",
"0.5410012",
"0.5403175",
"0.54022115",
"0.5393829",
"0.5393829",
"0.53928703",
"0.5392376",
"0.5389086",
"0.53830916",
"0.5381718",
"0.53769106",
"0.5374711",
"0.5371836",
"0.5371836",
"0.5371836",
"0.5371836",
"0.5371836",
"0.5371836",
"0.5371836",
"0.5371536",
"0.53692067",
"0.5366843",
"0.53643703",
"0.5361872",
"0.5361508",
"0.53611714",
"0.53575134",
"0.5344634",
"0.5342749",
"0.5340325",
"0.53400993",
"0.53381157",
"0.5333617",
"0.5332818",
"0.53328",
"0.53328",
"0.53328",
"0.53328",
"0.53328"
]
| 0.8276965 | 0 |
Updates resume into DB by rowId. | public void updateResumeByRowId(long rowId, Resume resume) {
SQLiteDatabase db = this.getWritableDatabase();
ContentValues cv = new ContentValues();
cv.put(DBHelper.COL_NAME, resume.getLastFirstName());
cv.put(DBHelper.COL_BIRTHDAY, resume.getBirthday().getTime());
cv.put(DBHelper.COL_GENDER, resume.getGender());
cv.put(DBHelper.COL_POSITION, resume.getDesiredJobTitle());
cv.put(DBHelper.COL_SALARY, resume.getSalary());
cv.put(DBHelper.COL_PHONE, resume.getPhone());
cv.put(DBHelper.COL_EMAIL, resume.getEmail());
db.update(DBHelper.TABLE_RESUME, cv, "rowid=" + rowId, null);
db.close();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"int updateByPrimaryKey(ResumePractice record);",
"int updateByPrimaryKeySelective(ResumePractice record);",
"@Override\n\tpublic int updateByPrimaryKey(Resume record) {\n\t\treturn resumeMapper.updateByPrimaryKey(record);\n\t}",
"int updateByPrimaryKeyWithBLOBs(ResumePractice record);",
"@Override\n\tpublic int updateByPrimaryKeyWithBLOBs(Resume record) {\n\t\treturn resumeMapper.updateByPrimaryKeyWithBLOBs(record);\n\t}",
"@Override\n\tpublic int updateByPrimaryKeySelective(Resume record) {\n\t\treturn resumeMapper.updateByPrimaryKeySelective(record);\n\t}",
"int updateByPrimaryKey(ReEducation record);",
"int updateByPrimaryKeySelective(ReEducation record);",
"int updateByPrimaryKey(PdfCodeTemporary record);",
"int updateByPrimaryKey(courses record);",
"int updateByPrimaryKey(PrefecturesMt record);",
"int updateByPrimaryKey(ParkCurrent record);",
"int updateByPrimaryKey(TrainingCourse record);",
"int updateByPrimaryKey(TrainCourse record);",
"int updateByPrimaryKey(ExamineApproveResult record);",
"int updateByPrimaryKey(PracticeClass record);",
"int updateByPrimaryKey(CptDataStore record);",
"int updateByPrimaryKey(TempletLink record);",
"int updateByPrimaryKey(EhrPersonFile record);",
"int updateByPrimaryKey(Prueba record);",
"int updateByPrimaryKey(Course record);",
"int updateByPrimaryKey(Course record);",
"int updateByPrimaryKey(Ltsprojectpo record);",
"int updateByPrimaryKey(RoleResource record);",
"int updateByPrimaryKey(Assist_table record);",
"int updateByPrimaryKey(PrhFree record);",
"public void setResumeId(Integer resumeId) {\n this.resumeId = resumeId;\n }",
"int updateByPrimaryKey(EvaluationRecent record);",
"int updateByPrimaryKey(SecondSlideshow record);",
"public void removeResumeByRowId(long rowId) {\r\n SQLiteDatabase db = this.getWritableDatabase();\r\n db.delete(DBHelper.TABLE_RESUME, \"rowid=\" + rowId, null);\r\n db.close();\r\n }",
"int updateByPrimaryKey(Resource record);",
"int updateByPrimaryKey(Storage record);",
"int updateByPrimaryKey(Storage record);",
"int updateByPrimaryKey(Enfermedad record);",
"public void setResumeId(Long resumeId) {\n this.resumeId = resumeId;\n }",
"int updateByPrimaryKey(ResPartnerBankEntity record);",
"int updateByPrimaryKeySelective(PdfCodeTemporary record);",
"int updateByPrimaryKey(Engine record);",
"int updateByPrimaryKey(Body record);",
"int updateByPrimaryKey(TCar record);",
"int updateByPrimaryKey(RetailModule record);",
"int updateByPrimaryKey(Access record);",
"int updateByPrimaryKey(TbCrmTask record);",
"int updateByPrimaryKey(PensionRoleMenu record);",
"int updateByPrimaryKey(SysId record);",
"int updateByPrimaryKey(ProcurementSource record);",
"int updateByPrimaryKey(CartDO record);",
"int updateByPrimaryKey(Product record);",
"int updateByPrimaryKey(TResearchTeach record);",
"int updateByPrimaryKey(WizardValuationHistoryEntity record);",
"int updateByPrimaryKey(RepStuLearning record);",
"int updateByPrimaryKey(Article record);",
"int updateByPrimaryKey(JzAct record);",
"int updateByPrimaryKey(RecordLike record);",
"int updateByPrimaryKey(EnterprisePicture record);",
"int updateByPrimaryKey(TUserResources record);",
"int updateByPrimaryKey(TbSnapshot record);",
"int updateByPrimaryKey(AutoAssessDetail record);",
"int updateByPrimaryKeySelective(Prueba record);",
"int updateByPrimaryKey(ProEmployee record);",
"int updateByPrimaryKey(T00RolePost record);",
"int updateByPrimaryKey(Online record);",
"int updateByPrimaryKey(HomeWork record);",
"int updateByPrimaryKey(Terms record);",
"int updateByPrimaryKey(IceApp record);",
"int updateByPrimaryKey(ClinicalData record);",
"int updateByPrimaryKey(ResourcePojo record);",
"int updateByPrimaryKey(Procdef record);",
"int updateByPrimaryKey(DebtsRecordEntity record);",
"int updateByPrimaryKey(Disproduct record);",
"public long insertResumeIntoDB(Resume resume) {\r\n ContentValues cv = new ContentValues();\r\n SQLiteDatabase db = this.getWritableDatabase();\r\n\r\n cv.put(DBHelper.COL_NAME, resume.getLastFirstName());\r\n cv.put(DBHelper.COL_BIRTHDAY, resume.getBirthday().getTime());\r\n cv.put(DBHelper.COL_GENDER, resume.getGender());\r\n cv.put(DBHelper.COL_POSITION, resume.getDesiredJobTitle());\r\n cv.put(DBHelper.COL_SALARY, resume.getSalary());\r\n cv.put(DBHelper.COL_PHONE, resume.getPhone());\r\n cv.put(DBHelper.COL_EMAIL, resume.getEmail());\r\n\r\n long rowId = db.insert(DBHelper.TABLE_RESUME, null, cv);\r\n db.close();\r\n return rowId;\r\n }",
"public void resumeUpdates();",
"void update(@Nonnull ResumeIntroduction resumeIntroduction);",
"public void setRowId(Integer rowId) {\n this.rowId = rowId;\n }",
"int updateByPrimaryKey(AccessModelEntity record);",
"int updateByPrimaryKey(ConfigData record);",
"int updateByPrimaryKey(AdminTab record);",
"int updateByPrimaryKey(Tourst record);",
"int updateByPrimaryKey(SPerms record);",
"int updateByPrimaryKey(Email record);",
"int updateByPrimaryKey(Promo record);",
"int updateByPrimaryKey(AccessKeyRecordEntity record);",
"@Override\n\tpublic Resume selectByPrimaryKey(Integer id) {\n\t\treturn resumeMapper.selectByPrimaryKey(id);\n\t}",
"int updateByPrimaryKey(Transaction record);",
"int updateByPrimaryKey(UsrMmenus record);",
"int updateByPrimaryKey(NjProductTaticsRelation record);",
"int updateByPrimaryKey(Movimiento record);",
"int updateByPrimaryKeySelective(PracticeClass record);",
"int updateByPrimaryKey(HpItemParamItem record);",
"int updateByPrimaryKey(DBPublicResources record);",
"int updateByPrimaryKey(ExamRoom record);",
"int updateByPrimaryKey(Task record);",
"int updateByPrimaryKey(ProductPricelistEntity record);",
"int updateByPrimaryKeySelective(Assist_table record);",
"int updateByPrimaryKey(DiaryFile record);",
"int updateByPrimaryKey(Massage record);",
"int updateByPrimaryKey(RoleUser record);",
"int updateByPrimaryKey(SelectUserRecruit record);",
"int updateByPrimaryKey(DataSync record);",
"int updateByPrimaryKeySelective(ResourceWithBLOBs record);"
]
| [
"0.7200854",
"0.6955943",
"0.69479114",
"0.69139886",
"0.66342866",
"0.6526329",
"0.6454692",
"0.6194751",
"0.6103827",
"0.6079737",
"0.6052306",
"0.60484004",
"0.6041835",
"0.6028828",
"0.6020352",
"0.60166246",
"0.6012252",
"0.6011836",
"0.60028327",
"0.60001117",
"0.59964615",
"0.59964615",
"0.599348",
"0.5990265",
"0.5985067",
"0.5984596",
"0.59803724",
"0.5976436",
"0.59755844",
"0.5960687",
"0.5939323",
"0.5938091",
"0.5938091",
"0.5932578",
"0.5925985",
"0.5924934",
"0.5923375",
"0.59091014",
"0.58995014",
"0.58892494",
"0.5881609",
"0.58814716",
"0.5868884",
"0.58675075",
"0.5856171",
"0.5851928",
"0.5851665",
"0.5846185",
"0.58413804",
"0.5839397",
"0.58360314",
"0.58315206",
"0.58306634",
"0.58285",
"0.58222365",
"0.5821369",
"0.5820605",
"0.5819308",
"0.5817906",
"0.5813962",
"0.5808417",
"0.5807793",
"0.5801424",
"0.58012563",
"0.57994133",
"0.5792223",
"0.5790124",
"0.57894903",
"0.5785971",
"0.57851106",
"0.57831144",
"0.57825",
"0.5782378",
"0.57809365",
"0.5779329",
"0.5777906",
"0.5773712",
"0.5772624",
"0.5772239",
"0.5772094",
"0.57632744",
"0.57629985",
"0.57529324",
"0.5748103",
"0.574245",
"0.57410324",
"0.5739018",
"0.57368875",
"0.5733366",
"0.5733",
"0.5729909",
"0.57277524",
"0.57266116",
"0.5721786",
"0.572168",
"0.57200414",
"0.5719802",
"0.5716622",
"0.5715276",
"0.57145375"
]
| 0.7947343 | 0 |
Constructor for Employee class | public Employee(String Name) {
this.Name = Name;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Employee() {\n\t\tsuper();\n\t}",
"public Employee() {\t}",
"public Employee(){\r\n this(\"\", \"\", \"\", 0, \"\", 0.0);\r\n }",
"public Employee(){\n\t\t\n\t}",
"public Employee(){\n\t\t\n\t}",
"public Employee() {\n\t\t\n\t}",
"public Employee() {\n\n\t}",
"public Employee() {}",
"public Employee(){\r\n }",
"Employee() {\n\t}",
"public Employee() {\n \n }",
"public Employee() {\n }",
"public Employee() {\n }",
"public Employee() {\n }",
"public Employee() {\n\t\tSystem.out.println(\"Employee Contructor Called...\");\n\t}",
"public Employee(String name){\r\n\t\tthis.employeeName = name;\r\n\t\tthis.salary = 0;\r\n\t}",
"public Employee() throws OutOfRangeException { //default constructors have no parameters\n\t\t//must create a default constructor, if a subclass is created\n\t\tthis(\"\",\"\",10.0f,40);\n\t\temployeeCount++;\n\t}",
"public Employee () {\r\n lName = \"NO LAST NAME\";\r\n fName = \"NO FIRST NAME\";\r\n empID = \"NO EMPLOYEE ID\";\r\n salary = -1;\r\n }",
"public Employee(){\n this.employeeName = new String();\n this.employeeSalary = null;\n this.employeeProjectList = new ArrayList<String>();\n this.employeeDepartmentLead = new String();\n }",
"public Employee(String id) {\n super(id);\n }",
"public Employee(String nama, int usia) {\r\n // Constructor digunakan untuk inisialisasi value, yang di inisiate saat melakukan instantiation\r\n this.nama = nama;\r\n this.usia = usia;\r\n }",
"public EmployeeRecord(){}",
"public Employee(String n, double s)\n {\n name = n;\n salary = s;\n }",
"public Employee(String employeeFirstName, String employeeLastName, \r\n String employeeEmail, long employeePhoneNumber, \r\n String employeeStatus, double employeeSalary) {\r\n this.employeeFirstName = employeeFirstName;\r\n this.employeeLastName = employeeLastName;\r\n this.employeeEmail = employeeEmail;\r\n this.employeePhoneNumber = employeePhoneNumber;\r\n this.employeeStatus = employeeStatus;\r\n this.dateHired = new Date();\r\n this.employeeAddress = new Address();\r\n this.employeeSalary = employeeSalary;\r\n }",
"Employee(int id, String name, String birthDate, int eage, double esalary){\r\n ID=id; \r\n NAME=name; \r\n BIRTHDATE=birthDate; \r\n age=eage; \r\n salary=esalary; \r\n }",
"public Employee() {\n this.isActivated = false;\n this.salt = CryptographicHelper.getInstance().generateRandomString(32);\n\n this.address = new Address();\n this.reports = new ArrayList<>();\n }",
"public Employee() {\r\n\t\t// super should be 1st line \r\n\t\tsuper();\r\n\t\tSystem.out.println(\"Hi i'm from constructor \");\r\n\t}",
"Employees() { \r\n\t\t this(100,\"Hari\",\"TestLeaf\");\r\n\t\t System.out.println(\"default Constructor\"); \r\n\t }",
"public Employee(String firstName, String lastName, int age, double salary) {\r\n //envoke the super class's constructor\r\n super(firstName, lastName, age);\r\n \r\n //set the instance variables specific to this class. \r\n this.salary = salary;\r\n employeeNumber = nextEmployeeNumber;\r\n nextEmployeeNumber++;\r\n }",
"public Employee(String name, int id) {\n super(name, id);\n position = \"None\";\n salary = 0.0;\n }",
"public Employee(String employeeId, String name) {\n this.employeeId = employeeId;\n this.name = name; // TODO fill in code here\n }",
"public Employee(String inName, double inSalary)\n\t{\n\t\tname = inName;\n\t\tsalary = inSalary;\n\t}",
"public EmployeesImpl() {\r\n }",
"public Employee(String employeeName, PositionTitle position, boolean salary, double payRate, int employeeShift,\n String startDate, double hrsIn) {\n // ////////////// construct Employees\n this.employeeName = employeeName;\n this.position = position;\n this.salary = salary;\n this.payRate = payRate;\n this.employeeShift = employeeShift;\n this.startDate = startDate;\n this.hrsIn = hrsIn;\n\n }",
"public Employee(String name, int id, String position, double salary) { \n super(name, id);\n this.position = position;\n this.salary = salary;\n }",
"public Employee(String fName, String lName, String gender, double salary) {\n this.fName = fName;\n this.lName = lName;\n this.gender = gender;\n this.salary = salary; \n }",
"public Employee(String firstName, String lastName, Date birthDate, \n Date hireDate, Address Address) {\n this.firstName = firstName;\n this.lastName = lastName;\n this.birthDate = birthDate;\n this.hireDate = hireDate;\n this.Address = Address;\n }",
"public Employee(String name, double salary){\r\n\t\tthis.employeeName = name;\r\n\t\tthis.salary = salary;\r\n\t}",
"public Employee(int employeeId, String employeeName, String employeeAddress) {\r\n\t\r\n\t\tthis.employeeId = employeeId;\r\n\t\tthis.employeeName = employeeName;\r\n\t\tthis.employeeAddress = employeeAddress;\r\n\t}",
"public Employee(EmployeeDto e) {\n\t\tthis.id = e.getId();\n\t\tthis.firstName = e.getFirstName();\n this.lastName = e.getLastName();\n\t\tthis.dateOfBirth = e.getDateOfBirth();\n\t\tthis.gender = e.getGender();\n\t\tthis.startDate = e.getStartDate();\n\t\tthis.endDate = e.getEndDate();\n\t\tthis.position = e.getPosition();\n this.monthlySalary = e.getMonthlySalary();\n this.hourSalary = e.getHourSalary();\n this.area = e.getArea();\n this.createdAt = e.getCreatedAt();\n this.modifiedAt = e.getModifiedAt();\n\t}",
"public Employee(String firstName, String lastName) {\n\t\tsuper();\n\t\tthis.firstName = firstName;\n\t\tthis.lastName = lastName;\n\t}",
"public Employee(String firstName, String lastName, String SSN){\r\n this.firstName=firstName;\r\n this.lastName=lastName;\r\n this.SSN=SSN;\r\n }",
"public Employee(int eId, String first, String last, String email, String hireYear,\r\n\t\t\tString position){\r\n\t\tthis.employeeId = eId;\r\n\t\tthis.firstName = first;\r\n\t\tthis.lastName = last;\r\n\t\tthis.email = email;\r\n\t\tthis.hireYear = hireYear;\r\n\t\tthis.role = position;\r\n\t\t\r\n\t}",
"public Employee(int eId, String first, String last, String email, String hireYear,\r\n\t\t\tString position, int departmentId, int groupId)\r\n\t{\r\n\t\tthis.employeeId = eId;\r\n\t\tthis.firstName = first;\r\n\t\tthis.lastName = last;\r\n\t\tthis.email = email;\r\n\t\tthis.hireYear = hireYear;\r\n\t\tthis.role = position;\r\n\t\tthis.departmentId = departmentId;\r\n\t\tthis.groupId = groupId;\r\n\t}",
"public SalesEmployee(){\n\t\tfirstName = \"unassigned\";\n\t\tlastName = \"unassigned\";\n\t\tppsNumber = \"unassigned\";\n\t\tbikeEmployeeNumber++;\n\t}",
"public Employee(String proffesion) {\n\n this.name = rnd.randomCharName(8);\n this.surname = rnd.randomCharName(7);\n this.hourSalary = rnd.randomNumber(75,100);\n this.profession = proffesion;\n this.workingHour = WORKING_HOURS;\n this.moneyEarned = 0;\n this.moneyEarned = 0;\n this.isAbleTowork = true; \n }",
"public Manager(Employee[] employees) {\n\t\tsuper();\n\t\tthis.employees = employees;\n\t}",
"public Employee(int eId, String first, String last, String email, String hireYear,\r\n\t\t\tString position, int departmentId)\r\n\t{\r\n\t\tthis.employeeId = eId;\r\n\t\tthis.firstName = first;\r\n\t\tthis.lastName = last;\r\n\t\tthis.email = email;\r\n\t\tthis.hireYear = hireYear;\r\n\t\tthis.role = position;\r\n\t\tthis.departmentId = departmentId;\r\n\r\n\t}",
"public Employee(int id, String name, double salary, Date dateOfBirth,\n String emailId, String mobileNumber) {\n this.id = id;\n this.name = name;\n this.salary = salary;\n this.dateOfBirth = dateOfBirth;\n this.emailId = emailId;\n this.mobileNumber = mobileNumber;\n }",
"public Employee(int empID, String firstName, String lastName, int ssNum,\n Date hireDate, double salary) {\n if (Employee.setOfIDs.contains(empID) || !Employee.isPositive(empID)) {\n this.empID = Employee.generateID();\n } else {\n this.empID = empID;\n }\n Employee.sortType = SortType.SORT_BY_ID;\n Employee.setOfIDs.add(this.empID);\n this.firstName = firstName;\n this.lastName = lastName;\n this.ssNum = ssNum;\n this.hireDate = hireDate;\n this.salary = salary;\n }",
"public Employee(String name, int salary)\n\n\t{\n\t\tthis.name = name;\n\t\tthis.salary = salary;\n\t}",
"Employee(String employeeName, double employeeSalary, int employeeAge) {\n\t\tthis.employeeName = employeeName;\n\t\tthis.employeeSalary = employeeSalary;\n\t\tthis.employeeAge = employeeAge;\n\t}",
"Employee(String firstName, String lastName, String role) {\n\n\t\tthis.firstName = firstName;\n\t\tthis.lastName = lastName;\n\t\tthis.role = role;\n\t}",
"Employee(String name, String password, String username, String email) {\n this.name = name;\n this.username = username;\n this.email = email;\n this.password = password;\n\n }",
"public EmployeeSet()\n\t{\n\t\tnumOfEmployees = 0;\n\t\temployeeData = new Employee[10];\n\t}",
"public Employee() {\n employeeID = genID.incrementAndGet();\n }",
"private Employee(String name, String city, String id,int salary) {\n\t\tthis.name = name;\n\t\tthis.city = city;\n\t\tthis.id = id;\n\t\tthis.salary = salary;\n\t}",
"public Employee(String fName, String lName, int ID) {\n this.FName = fName;\n this.LName = lName;\n this.ID = ID;\n }",
"public Employee(int id, String firstName, String lastName, String company) {\n this(firstName, lastName, company);\n\n this.id = id;\n }",
"public Employee(int emp_no, Date birth_date, String first_name, String last_name, String gender, Date hire_date) {\n this.emp_no = emp_no;\n this.birth_date = birth_date;\n this.first_name = first_name;\n this.last_name = last_name;\n this.gender = gender.equals(\"M\")?Gender.M:Gender.F;\n this.hire_date = hire_date;\n }",
"public Employee()\n\t{\n\t\tthis(\"(2)Invoke Employee's overload constructor\");\n\t\tSystem.out.println(\"(3)Employee's no-arg constructor is invoked\");\n\t}",
"public Employee(String username,String password,String firstname,String lastname,Date DoB,\n String contactNamber,String email,float salary,String positionStatus,String name,\n String buildingName, String street, Integer buildingNo, String area,\n String city, String country, String postcode){\n\n super(username, password,firstname, lastname,DoB, contactNamber, email,\n name, buildingName, street, buildingNo, area, city, country, postcode);\n setSalary(salary);\n setPositionStatus(positionStatus);\n }",
"public Employee(int id, String firstName, String lastName, int age, double salary, String address) {\n\t\tsuper();\n\t\tthis.id = id;\n\t\tthis.firstName = firstName;\n\t\tthis.lastName = lastName;\n\t\tthis.age = age;\n\t\tthis.salary = salary;\n\t\tthis.address = address;\n\t}",
"public Employe() {\r\n this(NOM_BIDON, null);\r\n }",
"public EmployeeRecords(String n, int s){ // defined a parameterized constructor\r\n this.name = n; // assigning a local variable value to a global variable\r\n this.salary = s; // assigning a local variable value to a global variable\r\n }",
"public EmployeeNotFoundException() {\n super();\n }",
"public EmpName() {\n\t\tsuper(\"Aditi\",\"Tyagi\");\n\t\t//this(10);\n\t\tSystem.out.println(\"Employee name is Vipin\");\n\t\t\n\t}",
"public Employee(int id, String name, double salary, Date dateOfBirth,\n String mobileNumber, String emailId, List<Address> address,\n List<Project> project) {\n this.id = id;\n this.name = name;\n this.salary = salary;\n this.dateOfBirth = dateOfBirth;\n this.mobileNumber = mobileNumber;\n this.emailId = emailId;\n this.address = address;\n this.project = project;\n }",
"public Employee(int id, String name, double salary, Date dateOfBirth,\n String mobileNumber, String emailId, List<Address> address) {\n this.name = name;\n this.id = id;\n this.salary = salary;\n this.dateOfBirth = dateOfBirth;\n this.address = address;\n this.mobileNumber = mobileNumber;\n this.emailId = emailId;\n }",
"Employee(int index, int jindex)\n \t{\n \t\t// calling base class constructor\n \t\tsuper(index,jindex);\n \t\t\n \t\tSystem.out.println(\"[EMP] : inside parameterised constructor (super method)\");\n \t\t\n \t\ti_Val = index;\n \t\tj_Val = jindex;\n \t}",
"public Employee(int id, String first, String last, String email,\r\n\t\t\tString role, String username, String password)\r\n\t{\r\n\t\tthis.employeeId = id;\r\n\t\tthis.firstName = first;\r\n\t\tthis.lastName = last;\r\n\t\tthis.email = email;\r\n\t\tthis.role = role;\r\n\t\tthis.username = username;\r\n\t\tthis.password= password;\r\n\t}",
"public Employee(String code, Name name, Address address, String[] emails){\n super(code, address);\n this.emails = emails;\n this.name = name;\n }",
"public Manager() {\n\t\tsuper();\n\t\temployees = new Employee[10];\n\t}",
"Employee(String id, Kitchen kitchen) {\r\n this.id = id;\r\n this.kitchen = kitchen;\r\n this.attendance = \"Present\";\r\n this.password = \"password\";\r\n }",
"public Employe () {\n this ( NOM_BIDON, null );\n }",
"public Employee(String firstName, String lastName, String username, String password, Date dateCreated, String title) {\n super(firstName,lastName,username,password,null,dateCreated,true); \n this.title = title;\n }",
"public Employee(String nom, int number )\n\t{\n\t\tName = nom;\n\t\tthis.Number = number;\n\t}",
"public Employee(String firstName, String lastName, int age, Address address, int id, String ssn) {\n\t\tsuper(firstName, lastName, age, ssn, address);\n\t\tthis.id = id;\n\t}",
"Employee(String name, String profile, int id, String regime) {\n super(name, profile, id);\n this.regime = regime;\n }",
"public Empleado() { }",
"private Employee(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {\n super(builder);\n }",
"Employee(String name, String password) {\n if (checkName()) {\n setUsername(name);\n setEmail(name);\n } else {\n this.username = \"default\";\n this.email = \"[email protected]\";\n }\n\n if (isValidPassword()) {\n this.password = password;\n } else {\n this.password = \"pw\";\n }\n\n }",
"public Large_Employee(\n String txtMobile,\n String txtEmail,\n String emailPassword,\n String corpPhoneType,\n String corpPhoneNumber,\n int employeeID){\n this.txtMobile = txtMobile;\n this.txtEmail = txtEmail;\n this.emailPassword = emailPassword;\n this.corpPhoneType = corpPhoneType;\n this.corpPhoneNumber = corpPhoneNumber;\n this.employeeID = employeeID;\n }",
"Employee(String empId, String name, int roleId, double basic, double allowancePercentage, double hra){\r\n\t\tthis.empId = empId;\r\n\t\tthis.name = name;\r\n\t\tthis.role.setRoleId(roleId);\r\n\t\tthis.basic = basic;\r\n\t\tthis.allowancePercentage = allowancePercentage;\r\n\t\tthis.hra = hra;\r\n\t}",
"public SalesEmployee(String firstName, String lastName, String number, double salary, double commission){\r\n this.firstname = firstName;\r\n this.lastname = lastName;\r\n this.number = number;\r\n this.salary = salary;\r\n this.commission = commission;\r\n }",
"public SalesPerson(String firstName, String lastName, String ppsNumber){\r\n //pulls the constructor with parameters from the superclass SalesEmployee\r\n super(firstName, lastName, ppsNumber);\r\n }",
"public EmployeeTransition(Employee employee) {\n this.id = employee.getId();\n this.f_name = employee.getFname();\n this.l_name = employee.getLname();\n this.employeeid = employee.getEmployeeid();\n this.active = employee.getActive();\n this.role = employee.getRole();\n this.manager = employee.getManager();\n this.password = employee.getPassword();\n this.createdOn = employee.getCreatedOn();\n }",
"public Manager(Employee[] employees, String name, String jobTitle, int level, String dept) {\n\t\tsuper(name, jobTitle, level, dept);\n\t\tthis.employees = employees;\n\t}",
"public Employee(String name, String email, Address address, String phoneNumber, GenderEnum genderEnum) {\n this();\n this.name = name;\n this.email = email;\n this.address = address;\n this.phoneNumber = phoneNumber;\n this.gender = genderEnum;\n }",
"public Large_Employee(int employeeID,\n String mex_code,\n String givenName,\n String surName,\n String dateOfBirth,\n String passportNumber,\n String passportExpiration,\n String SII,\n String visaNumber,\n String nickName,\n String txtNotes) {\n this.employeeID = employeeID;\n this.mex_code = mex_code;\n this.givenName = givenName;\n this.surName = surName;\n this.name = givenName +\" \"+surName;\n this.dateOfBirth = dateOfBirth;\n this.passportNumber = passportNumber;\n this.passportExpiration = passportExpiration;\n this.SII = SII;\n this.visaNumber = visaNumber;\n this.nickName = nickName;\n this.txtNotes = txtNotes;\n }",
"public EmployerRecord() {\n super(Employer.EMPLOYER);\n }",
"public EmployeeArrivalEvent(int arrival, Employee employee) {\n super(arrival, employee);\n }",
"public Employee(String name, String address, String phone, String secNumber, double rate){\n\t\tsuper(name, address, phone);\n\t\tsocialSecurityNumber = secNumber;\n\t\tpayRate = rate;\n\t}",
"public Employee(String firstName, String lastName, int salary, int bonus) {\n this.firstName = firstName;\n this.lastName = lastName;\n this.salary = salary;\n this.bonus = bonus;\n this.taxableSalary=this.salary+this.bonus-this.taxAllowance;\n }",
"public static void main(String[] args) {\nnew Employee();// Calling the Constructor.\r\n\t}",
"public Employee(String name,String pos,int sal, int Vbal, int AnBon){\n Random rnd = new Random();\n this.idnum = 100000 + rnd.nextInt(900000);\n this.name = name;\n this.position = pos;\n this.salary = sal;\n this.vacationBal = Vbal;\n this.annualBonus = AnBon;\n this.password = \"AJDLIAFYI\";\n salaryHist[0] = salary;\n }",
"public User() {\r\n\t\temployee=new HashMap<Integer, Employee>();\r\n\t\tperformance=new HashMap<Employee,String>();\r\n\t}",
"@Override\n\tpublic void createEmployee(Employee e) {\n\t\t\n\t}",
"public EmployeeSet(Object obj)\n\t{\n\t\tif((obj != null) && (obj instanceof EmployeeSet))\n\t\t{\n\t\t\t//proceed to create a new instance of EmployeeSet\n\t\t\tEmployeeSet copiedEmployeeSet = (EmployeeSet) obj;\n\t\t\tthis.employeeData = copiedEmployeeSet.employeeData;\n\t\t\tthis.numOfEmployees = copiedEmployeeSet.numOfEmployees;\n\t\t}\n\t\telse\n\t\t{\n\t\t\t//throw new IllegalArgumentException(\"Unable to activate copy constructor. Object to be copied from is either a null object or is not an EmployeeSet object\");\n\t\t\tSystem.out.println(\"ERROR: Unable to activate copy constructor. Object to be copied from is either a null object or is not an EmployeeSet object\");\n\t\t}\n\t}",
"public EmployeeTransition() {\n this.id = new UUID(0, 0);\n this.f_name = StringUtils.EMPTY;\n this.l_name = StringUtils.EMPTY;\n this.employeeid = \"-1\";\n this.active = StringUtils.EMPTY;\n this.role = StringUtils.EMPTY;\n this.manager = StringUtils.EMPTY;\n this.password = StringUtils.EMPTY;\n this.createdOn = new Date();\n }"
]
| [
"0.87621534",
"0.86532086",
"0.8603623",
"0.86008966",
"0.86008966",
"0.8586171",
"0.8547397",
"0.85321933",
"0.84782434",
"0.84708035",
"0.84142673",
"0.84087193",
"0.84087193",
"0.84087193",
"0.83288354",
"0.8190774",
"0.8139069",
"0.8109259",
"0.80371517",
"0.80053467",
"0.7988862",
"0.79852706",
"0.7932802",
"0.7924027",
"0.7916054",
"0.7910322",
"0.78097886",
"0.7800088",
"0.7798011",
"0.77840376",
"0.7772317",
"0.77569115",
"0.774677",
"0.77373666",
"0.77227616",
"0.7668401",
"0.76593924",
"0.7600853",
"0.7571428",
"0.7569124",
"0.7565816",
"0.75572234",
"0.7542111",
"0.7538912",
"0.75149703",
"0.7513158",
"0.75017035",
"0.75015545",
"0.7490137",
"0.74830097",
"0.7474923",
"0.74175644",
"0.7378634",
"0.73732394",
"0.73692167",
"0.73599225",
"0.7355808",
"0.7348693",
"0.7319831",
"0.73012334",
"0.7295177",
"0.7254416",
"0.72541606",
"0.7246676",
"0.7243658",
"0.7215008",
"0.7186313",
"0.7148476",
"0.7148093",
"0.7135243",
"0.71105003",
"0.71081877",
"0.70855576",
"0.7030741",
"0.7023129",
"0.7014855",
"0.70032454",
"0.69998974",
"0.69988847",
"0.69797873",
"0.696953",
"0.6959009",
"0.69546175",
"0.69486046",
"0.6938632",
"0.69374835",
"0.69066983",
"0.6903376",
"0.689819",
"0.68914956",
"0.6888313",
"0.68641675",
"0.6830689",
"0.6801407",
"0.6796575",
"0.6785359",
"0.6784853",
"0.6780373",
"0.6769115",
"0.67681414"
]
| 0.80246437 | 19 |
this method aims to assign the 1) Employees' email addresses and 2) this email's vendor 1) email address for Gmail/Walla/Yahoo is a concatenation of 'Name' of the employee [orsan] | public void SetAddress(EmailVendor Gmail, EmailVendor Yahoo, EmailVendor Walla)
{
setGmailAccount(Gmail);
setGmailAddress(Name.concat(this.GmailAccount.getPostFix()));
setWallaAccount(Walla);
setWallaMailAddress(Name.concat(this.WallaAccount.getPostFix()));
setYahooAccount(Yahoo);
setYahooMailAddress(Name.concat(this.YahooAccount.getPostFix()));
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static String build_GOT_Email(String fName, String lName){\n\n //String email = fName.substring(0,1)+lName+\"@NightWatch.com\";\n //String email = fName.charAt(0)+lName+\"@NightWatch.com\";\n //return email;\n return fName.charAt(0)+lName+\"@NightWatch.com\";\n\n\n }",
"private String SuggestEmail() {\n EmailDAOHE emaildaohe = new EmailDAOHE();\n List<String> suggestString = emaildaohe.findEmailByUserId(getUserId());\n List<Email> suggestList = new ArrayList<Email>();\n for (int i = 0; i < suggestString.size(); i++) {\n Email email = new Email();\n email.setUserId((long) i);\n email.setSender(StringEscapeUtils.escapeHtml(suggestString.get(i) + \"; \"));\n suggestList.add(email);\n }\n String listEmail = emaildaohe.convertToJSONArray(suggestList, \"userId\", \"sender\", \"sender\");\n return listEmail;\n }",
"protected String createEmailString(Set emails) {\n StringBuffer commaDelimitedString = new StringBuffer();\n Iterator emailIterator = emails.iterator();\n \n while (emailIterator.hasNext()) {\n String mappedUser = (String) emailIterator.next();\n // append default suffix if need to\n if (mappedUser.indexOf(\"@\") < 0) {\n mappedUser += defaultSuffix;\n }\n \n commaDelimitedString.append(mappedUser);\n if (emailIterator.hasNext()) {\n commaDelimitedString.append(\",\");\n }\n } \n \n LOG.debug(\"List of emails: \" + commaDelimitedString);\n \n return commaDelimitedString.toString();\n }",
"public void addEmail(String s){\r\n\t\temail.add(s);\t\t\r\n\t}",
"private String findDisplayName(String emailText) {\n for (User user : userList) {\n //Log.i(TAG, \"findDisplayName() : for loop\");\n if (user.getEmail().equals(emailText)) {\n //Log.i(TAG, \"emailText: \" + emailText);\n //Log.i(TAG, \"user.getEmail(): \" + user.getEmail());\n //Log.i(TAG, \"user.getUserName(): \" + user.getUserName());\n if (user.getUserName() == null) {\n break;\n }\n return user.getUserName();\n }\n }\n return \"No UserName\";\n }",
"private String _getEmail(int classType, int index) {\n String email = \"\";\n\n switch (classType) {\n case CS_C_UNIV:\n email += _getRelativeName(classType, index) + \"@\" +\n _getRelativeName(classType, index) + \".edu\";\n break;\n case CS_C_DEPT:\n email += _getRelativeName(classType, index) + \"@\" +\n _getRelativeName(classType, index) + \".\" +\n _getRelativeName(CS_C_UNIV, instances_[CS_C_UNIV].count - 1) + \".edu\";\n break;\n default:\n email += _getRelativeName(classType, index) + \"@\" +\n _getRelativeName(CS_C_DEPT, instances_[CS_C_DEPT].count - 1) +\n \".\" + _getRelativeName(CS_C_UNIV, instances_[CS_C_UNIV].count - 1) +\n \".edu\";\n break;\n }\n\n return email;\n }",
"public Employee(String code, Name name, Address address, String[] emails){\n super(code, address);\n this.emails = emails;\n this.name = name;\n }",
"protected void updateTaskEmailsManually() {\n List<Object> arguments = new ArrayList<Object>();\n String emailToReplace = \"[email protected]\";\n arguments.add(emailToReplace);\n List<Task> results = BeanHelper.getWorkflowDbService().searchTasksAllStores(\"(wfc_owner_email=? )\", arguments, -1).getFirst();\n Map<QName, Serializable> changedProps = new HashMap<QName, Serializable>();\n for (Task task : results) {\n changedProps.clear();\n try {\n String ownerId = task.getOwnerId();\n String newTaskOwnerEmail = BeanHelper.getUserService().getUserEmail(ownerId);\n if (StringUtils.isBlank(newTaskOwnerEmail)) {\n LOG.warn(\"The e-mail of following task was not updated because no user e-mail address was found:\\n\" + task);\n continue;\n }\n changedProps.put(WorkflowCommonModel.Props.OWNER_EMAIL, newTaskOwnerEmail);\n BeanHelper.getWorkflowDbService().updateTaskEntryIgnoringParent(task, changedProps);\n LOG.info(\"Updated task [nodeRef=\" + task.getNodeRef() + \"] e-mail manually: \" + emailToReplace + \" -> \" + newTaskOwnerEmail);\n } catch (Exception e) {\n LOG.error(e);\n continue;\n }\n }\n }",
"private static void LessonComplexProperties() {\n EntityType emailWorkType = new EntityType(\"Work\");\n emailWorkType.setEntityTypeId(1);\n\n //instance of an object using constructor sending email in\n Email myEmail = new Email(\"[email protected]\");\n //setting email type on the Email object that is connected to EntityType Object through an instance\n myEmail.setEmailType(emailWorkType);\n\n //myEmail.getEmailType().getEntityTypeName() object within and object accessed with dot notation\n System.out.println(myEmail.getEmailAddress() + \" Type: \" + myEmail.getEmailType().getEntityTypeName() +\n myEmail.getEmailType().getEntityTypeId());\n\n //collection/list of complex(nested) objects as a property\n Employee myEmployee = new Employee();\n //Employee inherits from Person which has getEmails which sends back a List\n //then you use .add to add more emails to that List and create new Email object in that list\n myEmployee.getEmails().add(new Email(\"[email protected]\"));\n myEmployee.getEmails().add(new Email(\"[email protected]\"));\n myEmployee.getEmails().add(new Email(\"[email protected]\"));\n\n //for each statement reads email with in myEmployee object then list using getEmails\n for(Email email : myEmployee.getEmails()) {\n System.out.println(email.getEmailAddress());\n }\n\n }",
"private static List<String> getEmailList(){\n List<String> lista = new ArrayList<>();\n lista.add(\"[email protected]\");\n lista.add(\"[email protected].\");\n lista.add(\"[email protected]\");\n lista.add(\"[email protected].\");\n lista.add(\"meu#[email protected]\");\n lista.add(\"[email protected]\");\n lista.add(\"[email protected]\");\n lista.add(\"[email protected]\");\n lista.add(\"[[email protected]\");\n lista.add(\"<[email protected]\");\n lista.add(\"[email protected]\");\n lista.add(\"[email protected]\");\n lista.add(\"[email protected]\");\n\n lista.add(\"[email protected]\");\n lista.add(\"[email protected]\");\n\n\n return lista;\n\n }",
"java.lang.String getEmail();",
"java.lang.String getEmail();",
"java.lang.String getEmail();",
"java.lang.String getEmail();",
"java.lang.String getEmail();",
"java.lang.String getEmail();",
"public static String buildEmail (String first, String last){\n\n String firstNameFixed = \"\";\n firstNameFixed+=firstNameFixed+first.charAt(0); // first.charAt(0);\n\n String lastNameFixed = \"\";\n for (int i = 0; i <last.length() ; i++) { //last.length();\n lastNameFixed += last.charAt(i);\n\n }\n String nameFixed = firstNameFixed+lastNameFixed+\"@NightWatch.com\";\n\n\n return nameFixed ;\n }",
"public void setSpEmail(String _empEmail) {\r\n this.spEmail = _empEmail;\r\n }",
"private static SendGridRequest.EmailAddress [] getPersonalizationAddresses(String addresses) {\n if (addresses != null) {\n return Arrays.stream(addresses.split(\";\"))\n .map(String::trim)\n .map(address -> {\n SendGridRequest.EmailAddress emailAddress = new SendGridRequest.EmailAddress();\n emailAddress.setEmail(address);\n return emailAddress;\n })\n .toArray(SendGridRequest.EmailAddress []::new);\n } else {\n return null;\n }\n }",
"public abstract String getEmail( String [ ] strLineDataArray );",
"@Override\r\n\tpublic String getEmailAdrress() {\n\t\treturn null;\r\n\t}",
"public void setEmail_address(String email_address);",
"private void addEmailsToAutoComplete(List<String> emailAddressCollection) {\n ArrayAdapter<String> adapter =\n new ArrayAdapter<>(AGLoginActivity.this,\n android.R.layout.simple_dropdown_item_1line, emailAddressCollection);\n\n mNameView.setAdapter(adapter);\n }",
"@AutoEscape\n\tpublic String getEmail_address();",
"private static void addToCompanyEmails(Email email, InputStream resourceEmail) throws IOException, JSONException {\n\t\tInputStreamReader isr = new InputStreamReader(resourceEmail);\n\t\tBufferedReader reader = new BufferedReader(isr);\n\t\tString lineEmail = \"\";\n\t\t\n\t\t// We read the file line by line\n\t\twhile ((lineEmail = reader.readLine()) != null) {\n\t\t\temail.addTo(lineEmail); //Adds the email to where it will be sent\n\t\t}\n\t\t\n\t}",
"public String[][] getVendorEmployeeData() {\r\n\t\tint p = 0;\r\n\t\tString [][] employees = new String[companyDirectory.size()][4];\r\n\t\tfor(int i = 0; i < companyDirectory.size(); i++) {\r\n\t\t\tif(companyDirectory.get(i) instanceof VendorCompany) {\r\n\t\t\t for(int j = 0; j < companyDirectory.get(i).getLocations().size();j++) {\r\n\t\t\t\t for(int k = 0; k < companyDirectory.get(i).getLocations().get(j).getEmployees().size(); k++ ) {\r\n\t\t\t\t\t employees[p][0] = companyDirectory.get(i).getLocations().get(j).getEmployees().get(k).getFirstName();\r\n\t\t\t\t\t employees[p][1] = companyDirectory.get(i).getLocations().get(j).getEmployees().get(k).getLastName();\r\n\t\t\t\t\t employees[p][2] = companyDirectory.get(i).getLocations().get(j).getEmployees().get(k).getId();\r\n\t\t\t\t\t employees[p][3] = companyDirectory.get(i).getLocations().get(j).getEmployees().get(k).getEmail();\r\n\t\t\t\t\t p++;\r\n\t\t\t\t }\r\n\t\t\t }\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn employees;\r\n\t}",
"public String adcionarEmail() {\n\t\tpessoa.adicionaEmail(email);\n\t\tthis.email = new Email();\n\t\treturn null;\n\t}",
"@Override \r\n\tpublic Set<String> emailList() {\n\t\treturn new HashSet<String>(jdbcTemplate.query(\"select * from s_member\",\r\n\t\t\t\t(rs,idx)->{return rs.getString(\"email\");}));\r\n\t}",
"public void setEmailAddress(String email_address){\n this.email_address = email_address;\n }",
"public static String build_GOT_Email (String first, String last){\n // String email = first.charAt(0) + last + \"@NightWatch.com\";\n // return email ;\n // another way to print i can say this is the simplest way\n return first.charAt(0) + last + \"@NightWatch.com\";\n\n }",
"public static void fillEmployees() {\n\t\tString name1;\n\t\tString name2;\n\t\tString name3;\n\t\tString name4;\n\t\tfor(int i=0;i<auxEmployees.length;i++) { //Va llenando de una en una las filas del array auxiliar de empleados (cada fila es una empresa) con nommbres aleatorios del array employees\n\t\t\tname1=\"\";\n\t\t\tname2=\"\";\n\t\t\tname3=\"\";\n\t\t\tname4=\"\";\n\t\t\twhile (name1.equals(name2) || name1.equals(name3) || name1.equals(name4) || name2.equals(name3) || name2.equals(name4) || name3.equals(name4)) { //Si los nombres son iguales vuelve a asignar nombres\n\t\t\t\tname1=employees[selector.nextInt(employees.length)];\n\t\t\t\tname2=employees[selector.nextInt(employees.length)];\n\t\t\t\tname3=employees[selector.nextInt(employees.length)];\n\t\t\t\tname4=employees[selector.nextInt(employees.length)];\n\t\t\t}\n\t\t\tauxEmployees[i][0]=name1;\n\t\t\tauxEmployees[i][1]=name2;\n\t\t\tauxEmployees[i][2]=name3;\n\t\t\tauxEmployees[i][3]=name4;\n\t\t}\n\t}",
"public void setAlternateEmail(String altemail) { this.alternateEmail = altemail; }",
"private List<InternetAddress> getEmailAddresses(List<String> userList) {\n\t\tRepositorySecurityManager securityManager = RepositoryComponentFactory.getDefault().getSecurityManager();\n\t\tList<InternetAddress> emailAddresses = new ArrayList<>();\n\t\t\n\t\tfor (String userId : userList) {\n\t\t\ttry {\n\t\t\t\tUserPrincipal user = securityManager.getUser( userId );\n\t\t\t\t\n\t\t\t\tif ((user != null) && (user.getEmailAddress() != null) && (user.getEmailAddress().length() > 0)) {\n\t\t\t\t\tString fullName = user.getLastName();\n\t\t\t\t\t\n\t\t\t\t\tif (user.getFirstName() != null) {\n\t\t\t\t\t\tfullName = user.getFirstName() + \" \" + fullName;\n\t\t\t\t\t}\n\t\t\t\t\temailAddresses.add( new InternetAddress( user.getEmailAddress(), fullName ) );\n\t\t\t\t}\n\t\t\t\t\n\t\t\t} catch (UnsupportedEncodingException e) {\n\t\t\t\t// Should never happen; ignore and keep going\n\t\t\t}\n\t\t}\n\t\treturn emailAddresses;\n\t}",
"public void testMultipleEmailAddresses() {\n rootBlog.setProperty(SimpleBlog.EMAIL_KEY, \"[email protected],[email protected]\");\n assertEquals(\"[email protected],[email protected]\", rootBlog.getEmail());\n assertEquals(2, rootBlog.getEmailAddresses().size());\n Iterator it = rootBlog.getEmailAddresses().iterator();\n assertEquals(\"[email protected]\", it.next());\n assertEquals(\"[email protected]\", it.next());\n }",
"private static void makeApplyLeaveEmailAddress(HttpServletRequest request, Employee employee, Map<String, String> messageMap,\n List<ActualCourse> actualCourses) throws ServerErrorException, DataWarningException {\n EmployeeService employeeService = BeanFactory.getEmployeeService();\n ActualCourseService actualCourseService = BeanFactory.getActualCourseService();\n String trainerEmail = \"\";\n String masterEmail = \"\";\n String managerEmail = \"\";\n String emailTo = \"\";\n String emailCc = \"\";\n for (ActualCourse actualCourse : actualCourses) {\n Employee trainee = employee;\n // Get report trainer for IAP\n if (null != actualCourse.getCourseTrainer() && \"\" != actualCourse.getCourseTrainer()) {\n Employee trainer = employeeService.findEmployeeByName(actualCourse.getCourseTrainer());\n trainerEmail = trainer.getAugEmail();\n }\n // Get report manager for IAP\n managerEmail = trainee.getManagerEmail();\n ActualCourse planCourse = actualCourseService.findActualCourseById(actualCourse.getActualCourseId());\n String masterName = planCourse.getPlan().getPlanCreator();\n masterEmail = employeeService.findEmployeeByName(masterName).getAugEmail();\n if (emailCc.indexOf(trainee.getAugEmail()) == -1) {\n emailCc = emailCc + trainee.getAugEmail() + \";\";\n }\n if (emailTo.indexOf(trainerEmail) == -1) {\n emailTo = emailTo + trainerEmail + \";\";\n }\n if (emailTo.indexOf(masterEmail) == -1) {\n emailTo = emailTo + masterEmail + \";\";\n }\n if (emailTo.indexOf(managerEmail) == -1) {\n emailTo = emailTo + managerEmail + \";\";\n }\n }\n messageMap.put(EmailConstant.EMAIL_TO, emailTo);\n messageMap.put(EmailConstant.EMAIL_CC, emailCc);\n }",
"public void setEmail(final String e)\n {\n this.email = e;\n }",
"public void setEmailAddress(java.lang.String newEmailAddress);",
"private void emailExistCheck() {\n usernameFromEmail(email.getText().toString());\n }",
"Professor procurarEmail(String email)throws ProfessorEmailNExisteException;",
"public void setEmailCom(String emailCom);",
"protected String getTargetAccountFromRecipients(MimeMessage emailMessage) throws MessagingException {\r\n\t\tAddress[] addresses = emailMessage.getAllRecipients();\r\n\t\tString targetAccount = null;\r\n\t\tfor (Address add : addresses) {\r\n\t\t\tif (add.toString().contains(\"appspotmail\")) {\r\n\t\t\t\tString emailAddress = add.toString();\r\n\t\t\t\tlog.info(\"appspotmail email address found: \" + emailAddress);\r\n\t\t\t\tint atIndex = emailAddress.indexOf('@');\r\n\t\t\t\tint startIndex = emailAddress.lastIndexOf('<');\r\n\t\t\t\ttargetAccount = emailAddress.substring(startIndex+1, atIndex) + \"@gmail.com\";\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn targetAccount;\r\n\t}",
"public void updateEmail(String newEmailAddress)\r\n {\r\n emailAddress = newEmailAddress;\r\n }",
"private Set<String> getEmailAccounts() {\n HashSet<String> emailAccounts = new HashSet<>();\n AccountManager manager = (AccountManager) getContext().getSystemService(Context.ACCOUNT_SERVICE);\n final Account[] accounts = manager.getAccounts();\n for (Account account : accounts) {\n if (!TextUtils.isEmpty(account.name) && Patterns.EMAIL_ADDRESS.matcher(account.name).matches()) {\n emailAccounts.add(account.name);\n }\n }\n return emailAccounts;\n }",
"public static String build_GOT_Email(String firstName, String lastName){\n String email = firstName.charAt(0)+lastName+\"@NightWatch.com\";\n return email;\n }",
"public static void main(String[] args) {\n\r\n System.out.println(\"* * * * * Welcome to the employee inform * * * * * \");\r\n\r\n Employee_Company Jane = new Employee_Company();\r\n Employee_Company Lucas = new Employee_Company();\r\n Employee_Company Intern_Sophia = new Employee_Company();\r\n Employee_Company Intern_Ava = new Employee_Company();\r\n Employee_Company Intern_James = new Employee_Company();\r\n Employee_Company Intern_Nicholas = new Employee_Company();\r\n\r\n\r\n Lucas.Set_name_employee(\"Lucas Smith\");\r\n Lucas.Set_Email_employee(\"[email protected]\");\r\n Lucas.Set_role_employee(\"Software Engineer\");\r\n Lucas.setSalary_employee(103438);\r\n\r\n\r\n Jane.Set_name_employee(\"Jane charlotte\");\r\n Jane.Set_Email_employee(\"[email protected]\");\r\n Jane.setSalary_employee(623100);\r\n Jane.Set_role_employee(\"CEO Tech Company\");\r\n\r\n\r\n Intern_Sophia.Set_name_employee(\"Sophia Wood\");\r\n Intern_Sophia.Set_Intern_application('A');\r\n Intern_Sophia.Set_role_employee(\"Intern Artificial Intelligence \");\r\n\r\n\r\n Intern_Ava.Set_name_employee(\"Ava Richardson\");\r\n Intern_Ava.Set_Intern_application('B');\r\n Intern_Ava.Set_role_employee(\"Intern Computer Science\");\r\n\r\n\r\n Intern_James.Set_name_employee(\"James Benjamin\");\r\n Intern_James.Set_Intern_application('B');\r\n Intern_James.Set_role_employee(\"Intern Business Analyst\");\r\n\r\n\r\n Intern_Nicholas.Set_name_employee(\"Nicholas Miller\");\r\n Intern_Nicholas.Set_Intern_application('C');\r\n Intern_Nicholas.Set_role_employee(\"Intern Systems Integration Engineering\");\r\n\r\n\r\n\r\n System.out.println(\"\\n\\t*** Tech Company employee information ***\");\r\n System.out.println(\"1. View Salary\");\r\n System.out.println(\"2. View Name of the Employee\");\r\n System.out.println(\"3. View Email Address\");\r\n System.out.println(\"4. View Employee Role\");\r\n System.out.println(\"5. View Intern Application grade\");\r\n\r\n\r\n\r\n Scanner input = new Scanner(System.in);\r\n System.out.println(\"Direction: Input the number is addressed in Tech Company employee information\");\r\n int input_user = input.nextInt();\r\n\r\n switch (input_user){\r\n case 1 -> {\r\n System.out.println(\"Here is the salary of the employee of Tech Company\");\r\n System.out.println(\"Salary of Software engineering: \"+Lucas.getSalary_employee());\r\n System.out.println(\"Salary of CEO: \"+Jane.getSalary_employee());\r\n }\r\n case 2 ->{\r\n System.out.println(\"Here is the name of the employee of Tech Company\");\r\n System.out.println(\"The software engineering of Tech Company name of the employee is: \"+Jane.Get_name_employee());\r\n System.out.println(\"The CEO Tech Company name of the employee is: \"+Lucas.Get_name_employee());\r\n }\r\n case 3 ->{\r\n System.out.println(\"Here is the Email Address of employee of Tech Company\");\r\n System.out.println(\"Jane Charlotte is CEO of Tech company Email Address its : \"+Jane.Get_Email_employee());\r\n System.out.println(\"Lucas Smith is Software Engineering of Tech Company Email Address its: \"+Lucas.Get_Email_employee());\r\n }\r\n case 4 ->{\r\n System.out.println(\"Here is the Employee Role of Tech Company\");\r\n System.out.println(Jane.Get_role_employee());\r\n System.out.println(Lucas.Get_role_employee());\r\n }\r\n case 5 ->{\r\n System.out.println(\"Here is all the Intern get accepted to Tech Company \");\r\n System.out.println(\"1.\"+Intern_Ava.Get_name_employee()+\" GPA college: \"+Intern_Ava.Get_Intern_application()+\"- \"+\" Application: Accepted \"+Intern_Ava.Get_role_employee());\r\n System.out.println(\"2.\"+Intern_Sophia.Get_name_employee()+\" GPA college: \"+Intern_Sophia.Get_Intern_application()+\"+ \"+\" Application: Accepted \"+Intern_Sophia.Get_role_employee());\r\n System.out.println(\"3.\"+Intern_James.Get_name_employee()+\" GPA college: \"+Intern_James.Get_Intern_application()+\"+ \"+\" Application: Accepted \"+Intern_James.Get_role_employee());\r\n System.out.println(\"4.\"+Intern_Nicholas.Get_name_employee()+\"GPA college: \"+Intern_Nicholas.Get_Intern_application()+\"+ \"+\" Application: Accepted \"+Intern_Nicholas.Get_role_employee());\r\n }\r\n }\r\n\r\n\r\n\r\n }",
"private void addEmailsToAutoComplete(List<String> emailAddressCollection) {\n ArrayAdapter<String> adapter =\n new ArrayAdapter<>(SignUpActivity.this,\n android.R.layout.simple_dropdown_item_1line, emailAddressCollection);\n\n mEmailView.setAdapter(adapter);\n }",
"private static void lookupAccount(String email) {\n\t\t\n\t}",
"@Override\n\tpublic Employer registerNewEmployer(String name, String emailAddress) {\n\t\t//FIX ME\n\t\treturn null;\n\t}",
"private void addEmailsToAutoComplete(List<String> emailAddressCollection) {\n ArrayAdapter<String> adapter =\n new ArrayAdapter<>(RegisterScreen.this,\n android.R.layout.simple_dropdown_item_1line, emailAddressCollection);\n\n inputEmail.setAdapter(adapter);\n }",
"public void sendingMessageForEmp(Set<String> emailCCList){\n\tSimpleMailMessage[] mailMessageArray = new SimpleMailMessage[1];\r\n Iterator iterator = emailCCList.iterator();\r\n // for (int index = 0; iterator.hasNext(); index ++){\r\n while(iterator.hasNext())\r\n {\r\n String mailids=(String)iterator.next();\r\n SimpleMailMessage message = new SimpleMailMessage();\r\n String toAddress = (String)iterator.next();\r\n message.setFrom(\"[email protected]\");\r\n message.setTo(\"[email protected]\");\r\n message.setSubject(\"With CC\");\r\n message.setCc(mailids);\r\n message.setText(\"Mail Sent from @[email protected]\");\r\n mailMessageArray[0] = message;\r\n//}\r\n\r\n System.out.println(\"Sending email ....\");\r\n mailSender.send(mailMessageArray);\r\n System.out.println(\"Sent email ....\");\r\n }\r\n\r\n}",
"public PersonBuilderEmail name(Name name)\n {\n if(name == null) throw new NullPointerException(\"The field name in the Person ValueDomain may not be null\");\n edma_value[1] = ((IValueInstance) name).edma_getValue();\n return this;\n }",
"public static void main(String[] args) {\n\n String email=\"[email protected]\";\n\n String firstName=email.substring(0,email.indexOf('_')) ;\n String lastName=email.substring(email.indexOf('_')+1,email.indexOf('@'));\n\n String domain=email.substring(email.indexOf('@')+1,email.indexOf('.'));\n String topLevelDomain = email.substring(email.indexOf('.')+1);\n\n\n\n String ch=\"\"+firstName.charAt(0);\n ch=ch.toUpperCase();\n\n firstName=firstName.replaceFirst(firstName.charAt(0)+\"\", \"\");\n System.out.println(\"First name: \"+ch+firstName );\n\n\n String ch1=\"\"+lastName.charAt(0);\n ch1=ch1.toUpperCase();\n\n lastName=lastName.replaceFirst(lastName.charAt(0)+\"\", \"\");\n System.out.println(\"Last name: \"+ch1+lastName);\n\n\n\n System.out.println(\"Domain: \"+domain );\n System.out.println(\"Top-Level Domain: \"+topLevelDomain);\n\n\n\n\n\n\n\n\n }",
"private void addEmailsToAutoComplete(List<String> emailAddressCollection) {\n ArrayAdapter<String> adapter =\n new ArrayAdapter<>(SellMainActivity.this,\n android.R.layout.simple_dropdown_item_1line, emailAddressCollection);\n\n // mEmailView.setAdapter(adapter);\n }",
"public void pesquisarEmail() {\n\t\tif (this.alunoDao.pesquisar(this.emailPesquisa) != null) {\n\t\t\tAluno alunoAtual = this.alunoDao.pesquisar(this.emailPesquisa);\n\t\t\tthis.alunos.clear();\n\t\t\tthis.alunos.add(alunoAtual);\n\t\t\tthis.quantPesquisada = this.alunos.size();\n\t\t} else {\n\t\t\tFacesContext.getCurrentInstance().addMessage(null,\n\t\t\t\t\tnew FacesMessage(FacesMessage.SEVERITY_ERROR, \"\", \" email inválido \"));\n\t\t}\n\t}",
"private void addEmailsToAutoComplete(List<String> emailAddressCollection) {\n ArrayAdapter<String> adapter =\n new ArrayAdapter<>(LoginActivity.this,\n android.R.layout.simple_dropdown_item_1line, emailAddressCollection);\n\n mStudentId.setAdapter(adapter);\n }",
"private void addEmailsToAutoComplete(List<String> emailAddressCollection) {\n //Create adapter to tell the AutoCompleteTextView what to show in its dropdown list.\n ArrayAdapter<String> adapter =\n new ArrayAdapter<>(LoginActivity.this,\n android.R.layout.simple_dropdown_item_1line, emailAddressCollection);\n\n mEmailView.setAdapter(adapter);\n }",
"public void getEmailIdDetails(ArrayList<Address> forEmailDetails,int personId)\n\t{\n\t\tConnection conn = null;\n\t\tPreparedStatement stmt = null;\n\t\tResultSet rs = null;\n\t\tString sqlQuery=\"\";\n\t\tArrayList<EmailId> addressList = new ArrayList<EmailId>();\n\t\tEmailId addressObj;\n\t\ttry\n\t\t{\n\t\t\t conn = ConnectionObj.getConnection();\n\t\t\t sqlQuery = \"select * from email_id_info where person_id=?\";\n\t\t\t \n\t\t stmt = conn.prepareStatement(sqlQuery);\n\t\t stmt.setInt(1, personId);\n\n\t\t rs = stmt.executeQuery();\n\t\t \n\t\t while (rs.next()) {\n\t\t \t addressObj = new EmailId(rs.getString(1),rs.getString(3));\n\t\t \t addressList.add(addressObj);\n\t\t \t \n\t\t }\n\t\t try\n\t\t {\n\t\t \t for (int i = 0; i < forEmailDetails.size(); i++) {\n\t\t\t \t forEmailDetails.get(i).setEmailAddressId(addressList.get(i).getEmailIdKey());\n\t\t\t \t forEmailDetails.get(i).setEmailAddress(addressList.get(i).getEmailId());\n\t\t\t\t} \n\t\t }\n\t\t catch(Exception e)\n\t\t {\n\t\t \t System.out.println(\"Size Miss match in Table Email Address\");\n\t\t }\n\t\t \n\t\t \n\t\t}\n\t\tcatch(Exception e )\n\t\t{\n\t\t\tSystem.out.println(\"Problem in Searching Person Data \");\n\t\t\te.printStackTrace();\n\t\t}\n\t\tfinally {\n\t\t\tif(conn!=null)\n\t\t\t\ttry {\n\t\t\t\t\tconn.close();\n\t\t\t\t} catch (SQLException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\tif(stmt!=null)\n\t\t\t\ttry {\n\t\t\t\t\tstmt.close();\n\t\t\t\t} catch (SQLException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\tif(rs!=null)\n\t\t\t\ttry {\n\t\t\t\t\trs.close();\n\t\t\t\t} catch (SQLException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t}\n\t\t\n\t}",
"public String getEmailAddress() {\n return EmailAddress.commaSeperateList(this.emailAddressList);\n }",
"public String getEmailAddressesString() {\r\n return this.emailAddressesString;\r\n }",
"public String getOrganizationEmail() {\n\n \n return organizationEmail;\n\n }",
"public String checkEmail() {\n String email = \"\"; // Create email\n boolean isOK = true; // Condition loop\n\n while (isOK) {\n email = checkEmpty(\"Email\"); // Call method to check input of email\n // Pattern for email\n String emailRegex = \"^[a-zA-Z0-9_+&*-]+(?:\\\\.\" + \"[a-zA-Z0-9_+&*-]+)*@\"\n + \"(?:[a-zA-Z0-9-]+\\\\.)+[a-z\" + \"A-Z]{2,7}$\";\n boolean isContinue = true; // Condition loop\n\n while (isContinue) {\n // If pattern not match, the print out error\n if (!Pattern.matches(emailRegex, email)) {\n System.out.println(\"Your email invalid!\");\n System.out.print(\"Try another email: \");\n email = checkEmpty(\"Email\");\n } else {\n isContinue = false;\n }\n }\n\n boolean isExist = false; // Check exist email\n for (Account acc : accounts) {\n if (email.equals(acc.getEmail())) {\n // Check email if exist print out error\n System.out.println(\"This email has already existed!\");\n System.out.print(\"Try another email: \");\n isExist = true;\n }\n }\n\n // If email not exist then return email\n if (!isExist) {\n return email;\n }\n }\n return email; // Return email\n }",
"public abstract void arhivare(Email email);",
"public void setEmail(Email email) { this.email = email; }",
"private void addEmailsToAutoComplete(List<String> emailAddressCollection) {\n ArrayAdapter<String> adapter =\n new ArrayAdapter<>(LoginActivity.this,\n android.R.layout.simple_dropdown_item_1line, emailAddressCollection);\n\n mEmailView.setAdapter(adapter);\n }",
"private void addEmailsToAutoComplete(List<String> emailAddressCollection) {\n ArrayAdapter<String> adapter =\n new ArrayAdapter<>(LoginActivity.this,\n android.R.layout.simple_dropdown_item_1line, emailAddressCollection);\n\n mEmailView.setAdapter(adapter);\n }",
"private void addEmailsToAutoComplete(List<String> emailAddressCollection) {\n ArrayAdapter<String> adapter =\n new ArrayAdapter<>(LoginActivity.this,\n android.R.layout.simple_dropdown_item_1line, emailAddressCollection);\n\n mEmailView.setAdapter(adapter);\n }",
"private void addEmailsToAutoComplete(List<String> emailAddressCollection) {\n ArrayAdapter<String> adapter =\n new ArrayAdapter<>(LoginActivity.this,\n android.R.layout.simple_dropdown_item_1line, emailAddressCollection);\n\n mEmailView.setAdapter(adapter);\n }",
"private void addEmailsToAutoComplete(List<String> emailAddressCollection) {\n ArrayAdapter<String> adapter =\n new ArrayAdapter<>(LoginActivity.this,\n android.R.layout.simple_dropdown_item_1line, emailAddressCollection);\n\n mEmailView.setAdapter(adapter);\n }",
"private void addEmailsToAutoComplete(List<String> emailAddressCollection) {\n ArrayAdapter<String> adapter =\n new ArrayAdapter<>(LoginActivity.this,\n android.R.layout.simple_dropdown_item_1line, emailAddressCollection);\n\n mEmailView.setAdapter(adapter);\n }",
"private void addEmailsToAutoComplete(List<String> emailAddressCollection) {\n ArrayAdapter<String> adapter =\n new ArrayAdapter<>(LoginActivity.this,\n android.R.layout.simple_dropdown_item_1line, emailAddressCollection);\n\n mEmailView.setAdapter(adapter);\n }",
"private void addEmailsToAutoComplete(List<String> emailAddressCollection) {\n ArrayAdapter<String> adapter =\n new ArrayAdapter<>(LoginActivity.this,\n android.R.layout.simple_dropdown_item_1line, emailAddressCollection);\n\n mEmailView.setAdapter(adapter);\n }",
"private void addEmailsToAutoComplete(List<String> emailAddressCollection)\n\t{\n\t\tArrayAdapter<String> adapter =\n\t\t\t\tnew ArrayAdapter<>(SignupPersonalActivity.this,\n\t\t\t\t\t\tandroid.R.layout.simple_dropdown_item_1line, emailAddressCollection);\n\n\t\tmEmailView.setAdapter(adapter);\n\t}",
"public void setEmailAddress(EmailType newEmailAddress) {\n _emailAddress = newEmailAddress;\n }",
"void transferOwnerShipToUser(List<String> list, String toEmail);",
"public java.lang.String getEmailAddress();",
"private void addEmailsToAutoComplete(List<String> emailAddressCollection) {\n ArrayAdapter<String> adapter =\r\n new ArrayAdapter<>(LoginUserActivity.this,\r\n android.R.layout.simple_dropdown_item_1line, emailAddressCollection);\r\n mLoginEmailView.setAdapter(adapter);\r\n }",
"java.lang.String getUserEmail();",
"private void addEmailsToAutoComplete(List<String> emailAddressCollection) {\n ArrayAdapter<String> adapter =\n new ArrayAdapter<String>(LoginActivity.this,\n android.R.layout.simple_dropdown_item_1line, emailAddressCollection);\n\n mEmailView.setAdapter(adapter);\n }",
"private void addEmailsToAutoComplete(List<String> emailAddressCollection) {\n ArrayAdapter<String> adapter =\n new ArrayAdapter<String>(LoginActivity.this,\n android.R.layout.simple_dropdown_item_1line, emailAddressCollection);\n\n mEmailView.setAdapter(adapter);\n }",
"public String getEmail()\r\n/* 31: */ {\r\n/* 32:46 */ return this.email;\r\n/* 33: */ }",
"public void setEmailAddress(String emailAddress);",
"public void setEmail(String email)\r\n/* 36: */ {\r\n/* 37:50 */ this.email = email;\r\n/* 38: */ }",
"public void uponSuccessfulRegistration(String[] emailCCList){\n \tSimpleMailMessage[] mailMessageArray = new SimpleMailMessage[1];\r\n Iterator iterator = userEmailIds.iterator();\r\n // for (int index = 0; iterator.hasNext(); index ++){\r\n SimpleMailMessage message = new SimpleMailMessage();\r\n String toAddress = (String)iterator.next();\r\n message.setFrom(\"[email protected]\");\r\n message.setTo(\"[email protected]\");\r\n message.setSubject(\"With CC\");\r\n message.setCc(emailCCList);\r\n message.setText(\"Mail Sent from @[email protected]\");\r\n mailMessageArray[0] = message;\r\n// }\r\n mailSender.send(mailMessageArray);\r\n }",
"private void addEmailsToAutoComplete(List<String> emailAddressCollection) {\n ArrayAdapter<String> adapter =\r\n new ArrayAdapter<>(LoginActivity.this,\r\n android.R.layout.simple_dropdown_item_1line, emailAddressCollection);\r\n\r\n mEmailView.setAdapter(adapter);\r\n }",
"protected static void updateName(Company company, String newName) {\n String followersString = \"{\";\n for (User follower : company.getFollowersList()) {\n followersString += follower.getUsername() + \",\";\n }\n followersString = Utils.removeStartEndChars(followersString);\n String [] strings = Utils.splitCommas(followersString);\n\n for (String follower : strings) {\n try {\n Connection connection = DriverManager.getConnection(secrets.getUrl(), secrets.getUsername(), secrets.getPassword());\n Statement statement = connection.createStatement();\n String query = String.format(\"SELECT * FROM users WHERE username='%s'\", follower);\n ResultSet result = statement.executeQuery(query);\n\n while (result.next()) {\n String companiesList = result.getString(\"companies\");\n companiesList = Utils.parseString(companiesList);\n String [] companies = Utils.splitCommas(Utils.removeStartEndChars(companiesList));\n companiesList = \"{\";\n\n for (int j=0; j<companies.length; j++) {\n if (companies[j].equals(company.getName())) companies[j] = newName;\n\n companiesList += companies[j] + \",\";\n }\n companiesList = Utils.removeEndChar(companiesList) + \"}\";\n query = String.format(\"UPDATE users SET companies='%s' WHERE username='%s'\", companiesList, follower);\n updateDBWithQuery(query);\n }\n\n // close connection to db\n connection.close();\n } catch (Exception e) {\n e.printStackTrace();\n\n return;\n }\n }\n\n String networksList = \"{\";\n for (Company network : company.getNetworksList()) {\n networksList += network.getName() + \",\";\n }\n\n networksList = Utils.removeStartEndChars(networksList);\n String [] networks = Utils.splitCommas(networksList);\n\n for (String networkName : networks) {\n try {\n Connection connection = DriverManager.getConnection(secrets.getUrl(), secrets.getUsername(), secrets.getPassword());\n Statement statement = connection.createStatement();\n String query = String.format(\"SELECT * FROM companies WHERE name='%s'\", networkName);\n ResultSet result = statement.executeQuery(query);\n\n while (result.next()) {\n String networksNetworksList = result.getString(\"network_list\");\n networksNetworksList = Utils.parseString(networksNetworksList);\n String [] companies = Utils.splitCommas(Utils.removeStartEndChars(networksNetworksList));\n networksNetworksList = \"{\";\n\n for (int j=0; j<companies.length; j++) {\n if (companies[j].equals(company.getName())) companies[j] = newName;\n\n networksNetworksList += companies[j] + \",\";\n }\n networksNetworksList = Utils.removeEndChar(networksNetworksList) + \"}\";\n query = String.format(\"UPDATE companies SET network_list='%s' WHERE name='%s'\", networksNetworksList, networkName);\n updateDBWithQuery(query);\n }\n\n } catch (Exception e) {\n e.printStackTrace();\n\n return;\n }\n }\n\n String query = String.format(\"UPDATE companies SET name='%s' WHERE name='%s'\", newName, company.getName());\n updateDBWithQuery(query);\n }",
"public void setPrimaryContactEmail(String newValue) {\n String oldValue = _primaryContactEmail;\n if (!oldValue.equals(newValue)) {\n _primaryContactEmail = newValue;\n firePropertyChange(NGO_CONTACT_EMAIL_PROP, oldValue, newValue);\n }\n }",
"@Override\r\n\tpublic Map<String, MemberDto> nameList() {\n\t\tMap<String, MemberDto> list = new HashMap<>();\r\n\t\tfor (String email : emailList()) {\r\n\t\t\tlist.put(email, myInfo(email));\r\n\t\t}\r\n\t\treturn list;\r\n\t}",
"public String getAlternateEmail() { return alternateEmail; }",
"private ArrayList<String> getContactsEmails() {\n //Credits go to \n //http://stackoverflow.com/questions/10117049/get-only-email-address-from-contact-list-android\n ArrayList<String> emlRecs = new ArrayList<String>();\n HashSet<String> emlRecsHS = new HashSet<String>();\n Context context = getBaseContext();\n ContentResolver cr = context.getContentResolver();\n String[] projection = new String[] { \n ContactsContract.RawContacts._ID, \n ContactsContract.Contacts.DISPLAY_NAME,\n ContactsContract.Contacts.PHOTO_ID,\n ContactsContract.CommonDataKinds.Email.DATA, \n ContactsContract.CommonDataKinds.Photo.CONTACT_ID };\n String order = \"CASE WHEN \" \n + ContactsContract.Contacts.DISPLAY_NAME \n + \" NOT LIKE '%@%' THEN 1 ELSE 2 END, \" \n + ContactsContract.Contacts.DISPLAY_NAME \n + \", \" \n + ContactsContract.CommonDataKinds.Email.DATA\n + \" COLLATE NOCASE\";\n String filter = ContactsContract.CommonDataKinds.Email.DATA + \" NOT LIKE ''\";\n Cursor cursor = cr.query(ContactsContract.CommonDataKinds.Email.CONTENT_URI, projection, filter, null, order);\n if (cursor.moveToFirst()) {\n do {\n // names comes in hand sometimes\n //String name = cursor.getString(1);\n String emaillAddress = cursor.getString(EMAIL_INDEX);\n\n // keep unique only\n if (emlRecsHS.add(emaillAddress.toLowerCase(Locale.US))) {\n emlRecs.add(emaillAddress.toLowerCase(Locale.US));\n }\n } while (cursor.moveToNext());\n }\n cursor.close();\n Collections.sort(emlRecs.subList(0, emlRecs.size()));\n return emlRecs;\n }",
"private void addEmailsToAutoComplete(List<String> emailAddressCollection) {\n ArrayAdapter<String> adapter =\n new ArrayAdapter<>(Screen_open.this,\n android.R.layout.simple_dropdown_item_1line, emailAddressCollection);\n }",
"private void generateEmails(List<EmailAccount> emailAccounts, int count) {\n \t\t\n \t}",
"public void setEmailAddresses(String emailAddr)\n {\n this.emailAddresses = StringTools.trim(emailAddr);\n }",
"String getEmail();",
"String getEmail();",
"String getEmail();",
"String getEmail();",
"String getEmail();",
"public String getEmailAddresses()\n {\n return this.emailAddresses;\n }",
"private void addEmailsToAutoComplete(List<String> emailAddressCollection) {\n\t\tArrayAdapter<String> adapter = new ArrayAdapter<String>(\n\t\t\t\tCertainActivity.this, android.R.layout.simple_dropdown_item_1line,\n\t\t\t\temailAddressCollection);\n\n\t}",
"public static String getPrimaryEmail(Context context) {\n try {\n AccountManager accountManager = AccountManager.get(context);\n if (accountManager == null)\n return \"\";\n Account[] accounts = accountManager.getAccounts();\n Pattern emailPattern = Patterns.EMAIL_ADDRESS;\n for (Account account : accounts) {\n // make sure account.name is an email address before adding to the list\n if (emailPattern.matcher(account.name).matches()) {\n return account.name;\n }\n }\n return \"\";\n } catch (SecurityException e) {\n // exception will occur if app doesn't have GET_ACCOUNTS permission\n return \"\";\n }\n }"
]
| [
"0.6043709",
"0.5961727",
"0.59569025",
"0.5879812",
"0.574142",
"0.56840706",
"0.5672939",
"0.56538427",
"0.56494874",
"0.56398827",
"0.56332976",
"0.56332976",
"0.56332976",
"0.56332976",
"0.56332976",
"0.56332976",
"0.5630657",
"0.5623123",
"0.5623041",
"0.56056476",
"0.5605173",
"0.56027955",
"0.55893785",
"0.5575689",
"0.55750084",
"0.55360276",
"0.55317503",
"0.5523425",
"0.552007",
"0.5507021",
"0.5505759",
"0.5504269",
"0.5496672",
"0.5472386",
"0.54544556",
"0.5453344",
"0.5442647",
"0.5425155",
"0.54228354",
"0.5420011",
"0.54180557",
"0.5417763",
"0.5417174",
"0.5410796",
"0.5399584",
"0.53980917",
"0.53954923",
"0.5392834",
"0.53914684",
"0.5386031",
"0.5382006",
"0.5380664",
"0.53793967",
"0.53661776",
"0.5365895",
"0.5359199",
"0.533747",
"0.5337375",
"0.5333538",
"0.53293586",
"0.5327244",
"0.53254396",
"0.531994",
"0.5304819",
"0.5304819",
"0.5304819",
"0.5304819",
"0.5304819",
"0.5304819",
"0.5304819",
"0.5304819",
"0.5304702",
"0.5300148",
"0.5299549",
"0.5294531",
"0.5287781",
"0.52844095",
"0.5281059",
"0.5281059",
"0.52747625",
"0.52695614",
"0.52659917",
"0.52628255",
"0.5262672",
"0.52514654",
"0.52406055",
"0.5240218",
"0.5238468",
"0.5236523",
"0.5230028",
"0.5224024",
"0.52201927",
"0.5217872",
"0.5217872",
"0.5217872",
"0.5217872",
"0.5217872",
"0.5216945",
"0.521246",
"0.52007294"
]
| 0.56745315 | 6 |
Getter for GmailAddress property | public String getGmailAddress() {
return GmailAddress;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public java.lang.String getEmailAddress();",
"public String getEmailAddress()\r\n {\r\n return emailAddress;\r\n }",
"public java.lang.CharSequence getEmailAddress() {\n return email_address;\n }",
"public String getEmailAddress() {\n return emailAddress;\n }",
"public String getEmailAddress();",
"public java.lang.CharSequence getEmailAddress() {\n return email_address;\n }",
"@Override\n public String getEmailAddress() {\n\n if(this.emailAddress == null){\n\n this.emailAddress = TestDatabase.getInstance().getClientField(token, id, \"emailAddress\");\n }\n\n return emailAddress;\n }",
"public String getEmailAddress() {\r\n return emailAddress;\r\n }",
"@JsonIgnore\r\n public String getEmailAddress() {\r\n return OptionalNullable.getFrom(emailAddress);\r\n }",
"public String getEmailAddress(){\r\n\t\treturn emailAddress;\r\n\t}",
"public String getEmailAddress() {\n return emailAddress;\n }",
"public String getEmailAddress() {\n return emailAddress;\n }",
"public String getEmailAddress() {\n return emailAddress;\n }",
"public String getEmailAddress() {\n return emailAddress;\n }",
"public String getEmailAddress() {\n return emailAddress;\n }",
"public String getEmail()\n {\n return emailAddress;\n }",
"public String getEmailAddress() {\n return this.emailAddress;\n }",
"@AutoEscape\n\tpublic String getEmail_address();",
"public String getEmailAddress() {\n return email;\n }",
"public String getEmailAddress() {\r\n return email;\r\n }",
"@gw.internal.gosu.parser.ExtendedProperty\n public java.lang.String getEmail() {\n return (java.lang.String)__getInternalInterface().getFieldValueForCodegen(EMAIL_PROP.get());\n }",
"@java.lang.Override\n public java.lang.String getEmail() {\n java.lang.Object ref = email_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n email_ = s;\n return s;\n }\n }",
"public String getEmailAddress() {\r\n\t\treturn emailAddress;\r\n\t}",
"public EmailType getEmailAddress() {\n return _emailAddress;\n }",
"@gw.internal.gosu.parser.ExtendedProperty\n public java.lang.String getEmail() {\n return (java.lang.String)__getInternalInterface().getFieldValueForCodegen(EMAIL_PROP.get());\n }",
"HasValue<String> getEmailAddress();",
"java.lang.String getEmail();",
"java.lang.String getEmail();",
"java.lang.String getEmail();",
"java.lang.String getEmail();",
"java.lang.String getEmail();",
"java.lang.String getEmail();",
"public java.lang.String getEmailAddress() {\n return EmailAddress;\n }",
"@JsonGetter(\"email_address\")\r\n @JsonInclude(JsonInclude.Include.NON_NULL)\r\n @JsonSerialize(using = OptionalNullable.Serializer.class)\r\n protected OptionalNullable<String> internalGetEmailAddress() {\r\n return this.emailAddress;\r\n }",
"@java.lang.Override\n public com.google.protobuf.StringValueOrBuilder getAddressOrBuilder() {\n return getAddress();\n }",
"public String getWallaMailAddress() {\r\n return WallaMailAddress;\r\n }",
"@ApiModelProperty(value = \"User's email. Effect: Controls the value of the corresponding CfgPerson attribute \")\n public String getEmailAddress() {\n return emailAddress;\n }",
"@AutoEscape\n\tpublic String getFromEmailAddress();",
"public java.lang.String getEmailAddress()\r\n\t{\r\n\t\tString result = \"\";\r\n\t\tint length = emailAddress.length();\r\n\t\t\r\n\t\tif (!locked)\r\n\t\t\tresult = emailAddress;\r\n\t\telse\r\n\t\t{\r\n\t\t\tfor(int i = 1; i < length; i++)\r\n\t\t\t{\r\n\t\t\t\t//char asterisk = emailAddress.charAt(i);\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t\t\r\n\t\t}\r\n\t\treturn result;\r\n\t\t\t\r\n\t}",
"String getEmail();",
"String getEmail();",
"String getEmail();",
"String getEmail();",
"String getEmail();",
"public String getEmail()\r\n/* 31: */ {\r\n/* 32:46 */ return this.email;\r\n/* 33: */ }",
"public java.lang.String getEmail() {\n java.lang.Object ref = email_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n if (bs.isValidUtf8()) {\n email_ = s;\n }\n return s;\n }\n }",
"public java.lang.String getEmail() {\n java.lang.Object ref = email_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n if (bs.isValidUtf8()) {\n email_ = s;\n }\n return s;\n }\n }",
"public java.lang.String getEmail() {\n java.lang.Object ref = email_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n if (bs.isValidUtf8()) {\n email_ = s;\n }\n return s;\n }\n }",
"@java.lang.Override\n public com.google.protobuf.StringValue getAddress() {\n return address_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : address_;\n }",
"@java.lang.Override\n public com.google.protobuf.ByteString\n getEmailBytes() {\n java.lang.Object ref = email_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n email_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public java.lang.String getEmail() {\n java.lang.Object ref = email_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n if (bs.isValidUtf8()) {\n email_ = s;\n }\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public java.lang.String getEmail() {\n java.lang.Object ref = email_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n if (bs.isValidUtf8()) {\n email_ = s;\n }\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"@JsonProperty( \"eMailAddress\" )\n\tpublic String geteMailAddress()\n\t{\n\t\treturn m_eMailAddress;\n\t}",
"public java.lang.String getEmail() {\n java.lang.Object ref = email_;\n if (!(ref instanceof java.lang.String)) {\n java.lang.String s = ((com.google.protobuf.ByteString) ref)\n .toStringUtf8();\n email_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public EmailVendor getGmailAccount() {\r\n return GmailAccount;\r\n }",
"public java.lang.String getEmail() {\n java.lang.Object ref = email_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n email_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public String getFormattedAddress() {\n return formattedAddress;\n }",
"public java.lang.String getEmail() {\n\t\t\t\tjava.lang.Object ref = email_;\n\t\t\t\tif (!(ref instanceof java.lang.String)) {\n\t\t\t\t\tcom.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;\n\t\t\t\t\tjava.lang.String s = bs.toStringUtf8();\n\t\t\t\t\temail_ = s;\n\t\t\t\t\treturn s;\n\t\t\t\t} else {\n\t\t\t\t\treturn (java.lang.String) ref;\n\t\t\t\t}\n\t\t\t}",
"public java.lang.String getEmail() {\n\t\t\tjava.lang.Object ref = email_;\n\t\t\tif (ref instanceof java.lang.String) {\n\t\t\t\treturn (java.lang.String) ref;\n\t\t\t} else {\n\t\t\t\tcom.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;\n\t\t\t\tjava.lang.String s = bs.toStringUtf8();\n\t\t\t\temail_ = s;\n\t\t\t\treturn s;\n\t\t\t}\n\t\t}",
"public String getAddress()\r\n {\r\n return address.getFullAddress();\r\n }",
"public String getAddress()\r\n {\r\n return address.getFullAddress();\r\n }",
"public String getContactAddress() {\n\n \n return contactAddress;\n\n }",
"public String getContactEmail() {\n\n \n return contactEmail;\n\n }",
"public String getFormattedAddress() {\n return formattedAddress;\n }",
"public void setGmailAddress(String gmailAddress) {\r\n GmailAddress = gmailAddress;\r\n }",
"public String getFromEmailAddress() {\n return this.fromEmailAddress;\n }",
"public String getGmail() {\n\t\treturn user.getAuthEmail();\n\t}",
"public String getEmailAddress() {\n return EmailAddress.commaSeperateList(this.emailAddressList);\n }",
"public synchronized String getMail()\r\n {\r\n return mail;\r\n }",
"public java.lang.String getSMTP_ADDR()\n {\n \n return __SMTP_ADDR;\n }",
"public com.google.protobuf.StringValueOrBuilder getAddressOrBuilder() {\n if (addressBuilder_ != null) {\n return addressBuilder_.getMessageOrBuilder();\n } else {\n return address_ == null ?\n com.google.protobuf.StringValue.getDefaultInstance() : address_;\n }\n }",
"public String getEmail()\r\n {\r\n return email;\r\n }",
"public String getEmail()\n {\n return email;\n }",
"public String getEmail()\n {\n return email;\n }",
"public String getEmail() { return email; }",
"public String getEmail()\n {\n return this.email;\n }",
"public String getEmail() {return email; }",
"public java.lang.String getEmail() {\r\n return email;\r\n }",
"public String getAddress();",
"public java.lang.Object getRecipientEmailAddress() {\n return recipientEmailAddress;\n }",
"public String getAddress() {\n return m_Address;\n }",
"@Override\r\n\tpublic String getEmail() {\n\t\treturn email;\r\n\t}",
"public String getEmail() {\n return email;\n }",
"public String getEmail() {\n return email;\n }",
"public com.google.protobuf.StringValue getAddress() {\n if (addressBuilder_ == null) {\n return address_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : address_;\n } else {\n return addressBuilder_.getMessage();\n }\n }",
"public InternetAddress getNotificationEmailAddress();",
"public Email getEmail() { return this.email; }",
"public String getEmailAddressesString() {\r\n return this.emailAddressesString;\r\n }",
"public Email getEmail() {\n return email;\n }",
"public String getEmail() {\r\n return email;\r\n }",
"public String getEmail() {\r\n return email;\r\n }",
"public String getEmail() {\r\n return email;\r\n }",
"public String getEmail() {\r\n return email;\r\n }",
"public String getEmail() {\r\n return email;\r\n }",
"public String getEmail() {\r\n return email;\r\n }",
"public String getEmail() {\r\n return email;\r\n }",
"public String getEmail() {\r\n return email;\r\n }",
"public String getEmail() {\r\n return email;\r\n }",
"public String getEmail() {\r\n return email;\r\n }",
"public String getEmail() {\r\n return email;\r\n }"
]
| [
"0.76838946",
"0.7513561",
"0.75077736",
"0.7474193",
"0.7472178",
"0.738901",
"0.73810196",
"0.7355911",
"0.7352891",
"0.73342365",
"0.73150253",
"0.73150253",
"0.73150253",
"0.73150253",
"0.73150253",
"0.72995806",
"0.7272785",
"0.7227265",
"0.71737784",
"0.71497494",
"0.711976",
"0.7095408",
"0.7093698",
"0.7086601",
"0.7070525",
"0.7062019",
"0.70581084",
"0.70581084",
"0.70581084",
"0.70581084",
"0.70581084",
"0.70581084",
"0.6991577",
"0.69728595",
"0.69712734",
"0.69568485",
"0.6905147",
"0.6864233",
"0.6858318",
"0.68504035",
"0.68504035",
"0.68504035",
"0.68504035",
"0.68504035",
"0.68297887",
"0.68293965",
"0.68293965",
"0.68293965",
"0.6827261",
"0.68062156",
"0.68048596",
"0.68048596",
"0.67645544",
"0.6761243",
"0.6708499",
"0.6703454",
"0.67000335",
"0.66886955",
"0.6667629",
"0.6666682",
"0.6666682",
"0.6639988",
"0.6634069",
"0.6630866",
"0.66178644",
"0.66150326",
"0.66093165",
"0.66034085",
"0.6602624",
"0.6601715",
"0.6587623",
"0.65781885",
"0.65584624",
"0.65584624",
"0.6548415",
"0.6546498",
"0.65458286",
"0.6544626",
"0.6536927",
"0.65204644",
"0.6518184",
"0.6517642",
"0.6516635",
"0.6516635",
"0.64998084",
"0.64885056",
"0.64862674",
"0.6478973",
"0.64721805",
"0.64711726",
"0.64711726",
"0.64711726",
"0.64711726",
"0.64711726",
"0.64711726",
"0.64711726",
"0.64711726",
"0.64711726",
"0.64711726",
"0.64711726"
]
| 0.84793246 | 0 |
Setter for GmailAddress property | public void setGmailAddress(String gmailAddress) {
GmailAddress = gmailAddress;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getGmailAddress() {\r\n return GmailAddress;\r\n }",
"public void setSMTP_ADDR(java.lang.String value)\n {\n if ((__SMTP_ADDR == null) != (value == null) || (value != null && ! value.equals(__SMTP_ADDR)))\n {\n _isDirty = true;\n }\n __SMTP_ADDR = value;\n }",
"public com.politrons.avro.AvroPerson.Builder setEmailAddress(java.lang.CharSequence value) {\n validate(fields()[2], value);\n this.email_address = value;\n fieldSetFlags()[2] = true;\n return this; \n }",
"public void setEmailAddress(java.lang.String newEmailAddress);",
"public void setEmailAddress(String emailAddress);",
"public void setEmailAddress(java.lang.CharSequence value) {\n this.email_address = value;\n }",
"public void setEmail_address(String email_address);",
"public void SetAddress(EmailVendor Gmail, EmailVendor Yahoo, EmailVendor Walla) \r\n {\r\n setGmailAccount(Gmail);\r\n setGmailAddress(Name.concat(this.GmailAccount.getPostFix()));\r\n\r\n setWallaAccount(Walla);\r\n setWallaMailAddress(Name.concat(this.WallaAccount.getPostFix()));\r\n\r\n setYahooAccount(Yahoo);\r\n setYahooMailAddress(Name.concat(this.YahooAccount.getPostFix()));\r\n }",
"public void setEmailAddress(String email_address){\n this.email_address = email_address;\n }",
"public void setFromEmailAddress(String fromEmailAddress);",
"public void setEmailAddress(EmailType newEmailAddress) {\n _emailAddress = newEmailAddress;\n }",
"public void setEmail(java.lang.String value) {\n __getInternalInterface().setFieldValueForCodegen(EMAIL_PROP.get(), value);\n }",
"public String getEmailAddress(){\r\n\t\treturn emailAddress;\r\n\t}",
"public String getEmailAddress()\r\n {\r\n return emailAddress;\r\n }",
"public String getEmailAddress() {\n return emailAddress;\n }",
"public void setEmail(java.lang.String value) {\n __getInternalInterface().setFieldValueForCodegen(EMAIL_PROP.get(), value);\n }",
"public java.lang.CharSequence getEmailAddress() {\n return email_address;\n }",
"public String getEmailAddress() {\r\n return emailAddress;\r\n }",
"public void setGmailAccount(EmailVendor GmailAccount) {\r\n this.GmailAccount = GmailAccount;\r\n }",
"public void setEmailAddress(String emailAddress) {\n this.emailAddress = emailAddress;\n }",
"public Builder setUserEmail(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000004;\n userEmail_ = value;\n onChanged();\n return this;\n }",
"public java.lang.CharSequence getEmailAddress() {\n return email_address;\n }",
"public void setEmailAddress(String value) {\n setAttributeInternal(EMAILADDRESS, value);\n }",
"public void setEmailAddress(String value) {\n setAttributeInternal(EMAILADDRESS, value);\n }",
"public String getEmailAddress() {\n return emailAddress;\n }",
"public String getEmailAddress() {\n return emailAddress;\n }",
"public String getEmailAddress() {\n return emailAddress;\n }",
"public String getEmailAddress() {\n return emailAddress;\n }",
"public String getEmailAddress() {\n return emailAddress;\n }",
"public Builder setEmail(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000004;\n email_ = value;\n onChanged();\n return this;\n }",
"public void setEmail(String email)\r\n/* 36: */ {\r\n/* 37:50 */ this.email = email;\r\n/* 38: */ }",
"public void updateEmail(String newEmailAddress)\r\n {\r\n emailAddress = newEmailAddress;\r\n }",
"public String getEmailAddress() {\n return this.emailAddress;\n }",
"public void setEmailAddress(String emailAddress) {\r\n this.emailAddress = doTrim(emailAddress);\r\n }",
"public Builder setEmail(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000001;\n email_ = value;\n onChanged();\n return this;\n }",
"public Builder setEmail(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000001;\n email_ = value;\n onChanged();\n return this;\n }",
"public void setMailBillAddress(String value) {\n setAttributeInternal(MAILBILLADDRESS, value);\n }",
"public String getEmailAddress() {\r\n\t\treturn emailAddress;\r\n\t}",
"@Override\n public void setEmail(String email) {\n\n }",
"public String getEmailAddress() {\r\n return email;\r\n }",
"public void setEmailAddress(String emailAddress) {\n this.emailAddress = emailAddress;\n }",
"public void setEmailAddress(String emailAddress) {\n this.emailAddress = emailAddress;\n }",
"public void setEmailAddress(String emailAddress) {\n this.emailAddress = emailAddress;\n }",
"public void setEmailAddress(String emailAddress) {\n this.emailAddress = emailAddress;\n }",
"public String getEmailAddress() {\n return email;\n }",
"@ApiModelProperty(value = \"User's email. Effect: Controls the value of the corresponding CfgPerson attribute \")\n public String getEmailAddress() {\n return emailAddress;\n }",
"void setEmail(String email);",
"void setEmail(String email);",
"public Builder setEmail(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n email_ = value;\n onChanged();\n return this;\n }",
"public void setWallaMailAddress(String wallaMailAddress) {\r\n WallaMailAddress = wallaMailAddress;\r\n }",
"public void setContact(String email){ contact = email; }",
"public java.lang.String getEmailAddress();",
"public void setEmailAddress(String emailAddress) {\r\n\t\tthis.emailAddress = emailAddress;\r\n\t}",
"public String getEmail()\n {\n return emailAddress;\n }",
"public AddressEntry setEmailAddress(String emailAddress){\r\n\t\tthis.emailAddress=emailAddress;\r\n\t\treturn this;\r\n\t}",
"public void setEmail(Email email) { this.email = email; }",
"public void setSenderAddress(final String value) {\n setProperty(SENDER_ADDRESS_KEY, value);\n }",
"public void setEmailAddress(String email) {\n this.email = email;\n }",
"public com.politrons.avro.AvroPerson.Builder clearEmailAddress() {\n email_address = null;\n fieldSetFlags()[2] = false;\n return this;\n }",
"public void setEmail(String email);",
"@AutoEscape\n\tpublic String getEmail_address();",
"public String getEmailAddress();",
"public void setEmailAddressOfCustomer(final SessionContext ctx, final String value)\n\t{\n\t\tsetProperty(ctx, EMAILADDRESSOFCUSTOMER,value);\n\t}",
"public Builder setUserEmailBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000004;\n userEmail_ = value;\n onChanged();\n return this;\n }",
"public Builder setEmail(java.lang.String value) {\n\t\t\t\tif (value == null) {\n\t\t\t\t\tthrow new NullPointerException();\n\t\t\t\t}\n\n\t\t\t\temail_ = value;\n\t\t\t\tonChanged();\n\t\t\t\treturn this;\n\t\t\t}",
"@Override\n public String getEmailAddress() {\n\n if(this.emailAddress == null){\n\n this.emailAddress = TestDatabase.getInstance().getClientField(token, id, \"emailAddress\");\n }\n\n return emailAddress;\n }",
"public void setEmail(final String e)\n {\n this.email = e;\n }",
"public String getWallaMailAddress() {\r\n return WallaMailAddress;\r\n }",
"public void setAddress(String address);",
"public void setAddress(String address);",
"public void setAddress(String address);",
"public void setAddress(String address);",
"public void setEmailAddressOfCustomer(final String value)\n\t{\n\t\tsetEmailAddressOfCustomer( getSession().getSessionContext(), value );\n\t}",
"public void setEmail(String aEmail) {\n email = aEmail;\n }",
"public void setEmailAddress(java.lang.String EmailAddress) {\n this.EmailAddress = EmailAddress;\n }",
"public Builder setEmailBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000004;\n email_ = value;\n onChanged();\n return this;\n }",
"public java.lang.String getEmailAddress() {\n return EmailAddress;\n }",
"public Builder setAddress(\n\t\t\t\t\t\tjava.lang.String value) {\n\t\t\t\t\tif (value == null) {\n\t\t\t\t\t\tthrow new NullPointerException();\n\t\t\t\t\t}\n\n\t\t\t\t\taddress_ = value;\n\t\t\t\t\tonChanged();\n\t\t\t\t\treturn this;\n\t\t\t\t}",
"public EmailType getEmailAddress() {\n return _emailAddress;\n }",
"public void setUserEmail(String userEmail) {\r\n this.userEmail = userEmail;\r\n }",
"public Builder setEmailBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000001;\n email_ = value;\n onChanged();\n return this;\n }",
"public Builder setEmailBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000001;\n email_ = value;\n onChanged();\n return this;\n }",
"public void setYahooMailAddress(String yahooMailAddress) {\r\n YahooMailAddress = yahooMailAddress;\r\n }",
"private void setEmail(String email) {\n this.email = StringExtension.nullFilter(email);\n }",
"@JsonIgnore\r\n public String getEmailAddress() {\r\n return OptionalNullable.getFrom(emailAddress);\r\n }",
"public void setExternalAddress(String address);",
"public void setAddress(final URL value) {\n this.address = value;\n }",
"public boolean changeEmail(String email, Person g, Booking b)\r\n {\r\n if(b == null)\r\n return false;\r\n \r\n b.changeEmail(email, g);\r\n return true;\r\n }",
"public Builder setEmailBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n email_ = value;\n onChanged();\n return this;\n }",
"public void setAddress(String _address){\n address = _address;\n }",
"public PersonBuilderMobile email(Email email)\n {\n if(email == null) throw new NullPointerException(\"The field email in the Person ValueDomain may not be null\");\n edma_value[2] = ((IValueInstance) email).edma_getValue();\n return this;\n }",
"public com.opentext.bn.converters.avro.entity.DocumentEvent.Builder setSenderAddress(java.lang.String value) {\n validate(fields()[20], value);\n this.senderAddress = value;\n fieldSetFlags()[20] = true;\n return this;\n }",
"public Builder setAddress(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n address_ = value;\n onChanged();\n return this;\n }",
"@java.lang.Override\n public com.google.protobuf.StringValueOrBuilder getAddressOrBuilder() {\n return getAddress();\n }",
"@java.lang.Override\n public java.lang.String getEmail() {\n java.lang.Object ref = email_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n email_ = s;\n return s;\n }\n }",
"public void setEmail(String email)\n {\n String regex = \"^[\\\\w!#$%&'*+/=?`{|}~^-]+(?:\\\\.[\\\\w!#$%&'*+/=?`{|}~^-]+)*@(?:[a-zA-Z0-9-]+\\\\.)+[a-zA-Z]{2,6}$\";\n Pattern pattern = Pattern.compile(regex);\n Matcher matcher = pattern.matcher(email);\n if(matcher.matches())\n {\n this.email=email;\n }\n else \n {\n this.email=\"\";\n }\n }",
"public Builder setEmailBytes(com.google.protobuf.ByteString value) {\n\t\t\t\tif (value == null) {\n\t\t\t\t\tthrow new NullPointerException();\n\t\t\t\t}\n\t\t\t\tcheckByteStringIsUtf8(value);\n\n\t\t\t\temail_ = value;\n\t\t\t\tonChanged();\n\t\t\t\treturn this;\n\t\t\t}",
"public void setMailing(String mail) {\n mailing = mail;\n }",
"@java.lang.Override\n public com.google.protobuf.StringValue getAddress() {\n return address_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : address_;\n }",
"public Builder setAddress(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n address_ = value;\n onChanged();\n return this;\n }"
]
| [
"0.7513804",
"0.7260479",
"0.7093472",
"0.70879084",
"0.7065757",
"0.70160806",
"0.69583565",
"0.6943471",
"0.6708",
"0.66257834",
"0.6601092",
"0.65788084",
"0.6556988",
"0.6538368",
"0.6512516",
"0.6482617",
"0.64693904",
"0.6467744",
"0.64637446",
"0.64459443",
"0.6430895",
"0.6387414",
"0.63867265",
"0.63867265",
"0.6375367",
"0.6375367",
"0.6375367",
"0.6375367",
"0.6375367",
"0.6374302",
"0.63555336",
"0.63478786",
"0.6325299",
"0.63097495",
"0.6306531",
"0.6306531",
"0.6306402",
"0.6305948",
"0.62782806",
"0.6266933",
"0.62604666",
"0.62604666",
"0.62604666",
"0.62604666",
"0.6250828",
"0.62488395",
"0.6238679",
"0.6238679",
"0.6228722",
"0.62178683",
"0.61849576",
"0.61747783",
"0.61642313",
"0.61191857",
"0.6114624",
"0.61057323",
"0.6105657",
"0.60964304",
"0.6082848",
"0.6077431",
"0.6073988",
"0.60688245",
"0.6065696",
"0.6064936",
"0.6049815",
"0.60402614",
"0.6032828",
"0.6010332",
"0.60043895",
"0.60043895",
"0.60043895",
"0.60043895",
"0.5996408",
"0.59612864",
"0.59572417",
"0.5952193",
"0.59464246",
"0.59309477",
"0.5923467",
"0.59110457",
"0.5910243",
"0.5910243",
"0.59060264",
"0.5901043",
"0.5897704",
"0.5896923",
"0.586622",
"0.58552486",
"0.58485466",
"0.5842821",
"0.58422655",
"0.58285016",
"0.58280945",
"0.5810149",
"0.58066297",
"0.5804453",
"0.58031434",
"0.5802468",
"0.5801518",
"0.5800577"
]
| 0.78531426 | 0 |
Getter for WallaAddress property | public String getWallaMailAddress() {
return WallaMailAddress;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getAddress()\r\n {\r\n return address.getFullAddress();\r\n }",
"public String getAddress()\r\n {\r\n return address.getFullAddress();\r\n }",
"public String getAddress() {\n return address;\n }",
"public String getAddress() {\n return address;\n }",
"public String getAddress() {return address;}",
"public String getAddress();",
"public String getAddress(){\n return address;\n\n }",
"public String getAddress() {\r\n return address;\r\n }",
"public String getAddress() {\r\n return address;\r\n }",
"public String getAddress() {\r\n return address;\r\n }",
"public String getAddress() {\r\n return address;\r\n }",
"public String getAddress() {\r\n return address;\r\n }",
"public String getAddress() {\r\n return address;\r\n }",
"public String getAddress() {\r\n return address;\r\n }",
"java.lang.String getAddress();",
"java.lang.String getAddress();",
"java.lang.String getAddress();",
"java.lang.String getAddress();",
"java.lang.String getAddress();",
"java.lang.String getAddress();",
"public String getAddress() {\n return address;\n }",
"public String getAddress() {\n return address;\n }",
"public String getAddress() {\n return address;\n }",
"public String getAddress() {\n return address;\n }",
"public String getAddress() {\n return address;\n }",
"public String getAddress() {\n return address;\n }",
"public String getAddress() {\n return address;\n }",
"public String getAddress() {\n return address;\n }",
"public String getAddress() {\n return address;\n }",
"public String getAddress() {\n return address;\n }",
"public String getAddress() {\n return address;\n }",
"public String getAddress() {\n return address;\n }",
"public String getAddress() {\n return address;\n }",
"public String getAddress() {\n return address;\n }",
"public String getAddress() {\n return address;\n }",
"public String getAddress() {\n return address;\n }",
"public String getAddress() {\n return address;\n }",
"public String getAddress() {\n return address;\n }",
"public String getAddress() {\n return address;\n }",
"public String getAddress() {\n return address;\n }",
"public String getAddress() {\n return address;\n }",
"public String getAddress() {\n return address;\n }",
"public String getAddress() {\n return address;\n }",
"public String getAddress() {\n return address;\n }",
"public String getAddress() {\n return address;\n }",
"public String getAddress() {\n return address;\n }",
"public String getAddress() {\n return address;\n }",
"public String getAddress() {\n return address;\n }",
"public String getAddress() {\n return address;\n }",
"public String getAddress() {\n return address;\n }",
"public String getAddress() {\n return address;\n }",
"public String getAddress() {\n return address;\n }",
"public String getAddress() {\n return address;\n }",
"public String getAddress() {\n return address;\n }",
"public String getAddress() {\n return m_Address;\n }",
"public String getAddress(){\r\n return address;\r\n }",
"public abstract LinphoneAddress getAddress();",
"public String getAddress() {\n return this.address;\n }",
"public String getAddress() {\n return this.address;\n }",
"public String getAddress()\n {\n \treturn address;\n }",
"public String getAddress()\r\n\t{\r\n\t\treturn address;\r\n\t}",
"public com.commercetools.api.models.common.Address getAddress() {\n return this.address;\n }",
"public String getAddress() {\n return this._address;\n }",
"public String getAddress(){\n return address;\n }",
"public String getAddress(){\n return address;\n }",
"public String getAddress(){\n return address;\n }",
"public java.lang.String getAddress() {\r\n return address;\r\n }",
"java.lang.String getHotelAddress();",
"public String getAddress(){\n\t\treturn this.address;\n\t}",
"public final String getAddress() {\n return address;\n }",
"public Address getAddress() {\n return address;\n }",
"public Address getAddress() {\n return address;\n }",
"public Address getAddress() {\n return address;\n }",
"public String getAddress(){\n\t\treturn address;\n\t}",
"public java.lang.String getAddress() {\n\treturn address;\n}",
"public java.lang.String getAddress() {\n\treturn address;\n}",
"public String getAddress()\r\n\t{\r\n\t\treturn address.getModelObjectAsString();\r\n\t}",
"public String getExternalAddress();",
"public PostalAddress getAddress() {\n return address;\n }",
"public String getAddress() {\r\n\t\treturn this.address;\r\n\t}",
"String getAddress();",
"String getAddress();",
"public Address getAddress(){\n\t\treturn address;\n\t}",
"public String getAddress() {\r\n\t\treturn address;\r\n\t}",
"public String getAddress() {\r\n\t\treturn address;\r\n\t}",
"@Override\r\n\tpublic String getAddress() {\n\t\treturn address;\r\n\t}",
"@Override\n public String getAddress() {\n\n if(this.address == null){\n\n this.address = TestDatabase.getInstance().getClientField(token, id, \"address\");\n }\n\n return address;\n }",
"@Override\n public Adress getAdress() {\n return adress;\n }",
"public String getAddress() {\n return definition.getString(ADDRESS);\n }",
"public String getAddress() {\n\t\treturn this.address;\n\t}",
"public String getAddress() {\n\t\treturn address;\n\t}",
"public String getAddress() {\n\t\treturn address;\n\t}",
"public String getAddress() {\n\t\treturn address;\n\t}",
"public String getAddress() {\n\t\treturn address;\n\t}",
"public String getAddress() {\n\t\treturn address;\n\t}",
"public String getAddress() {\n\t\treturn address;\n\t}",
"public String getAddress() {\n\t\treturn address;\n\t}",
"@Override\n\tpublic String getAddress() {\n\t\treturn address;\n\t}",
"public String getAddress() {\n return m_address;\n }",
"@java.lang.Override\n public com.google.protobuf.StringValue getAddress() {\n return address_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : address_;\n }",
"public String getFormattedAddress() {\n return formattedAddress;\n }"
]
| [
"0.77558345",
"0.77558345",
"0.75249106",
"0.75249106",
"0.751671",
"0.74766755",
"0.7475011",
"0.747288",
"0.747288",
"0.747288",
"0.747288",
"0.747288",
"0.747288",
"0.747288",
"0.74577916",
"0.74577916",
"0.74577916",
"0.74577916",
"0.74577916",
"0.74577916",
"0.7445536",
"0.7445536",
"0.7445536",
"0.7445536",
"0.7445536",
"0.7445536",
"0.7445536",
"0.7445536",
"0.7445536",
"0.7445536",
"0.7445536",
"0.7445536",
"0.7445536",
"0.7445536",
"0.7445536",
"0.7445536",
"0.7445536",
"0.7445536",
"0.7445536",
"0.7445536",
"0.7445536",
"0.7445536",
"0.7445536",
"0.7445536",
"0.7445536",
"0.7445536",
"0.7445536",
"0.7445536",
"0.7445536",
"0.7445536",
"0.7445536",
"0.7445536",
"0.7445536",
"0.7445536",
"0.7439322",
"0.7431996",
"0.7426851",
"0.7421259",
"0.7421259",
"0.7414916",
"0.7412163",
"0.7402212",
"0.73930085",
"0.73929876",
"0.73929876",
"0.73929876",
"0.7389014",
"0.7378944",
"0.7354752",
"0.73490065",
"0.73451245",
"0.73451245",
"0.73451245",
"0.73407793",
"0.73300934",
"0.73300934",
"0.73090976",
"0.729018",
"0.728053",
"0.7260745",
"0.7260465",
"0.7260465",
"0.7260192",
"0.7252618",
"0.7252618",
"0.7235967",
"0.7233782",
"0.7232598",
"0.7205268",
"0.71927637",
"0.7189555",
"0.7189555",
"0.7189555",
"0.7189555",
"0.7189555",
"0.7189555",
"0.7189555",
"0.7187545",
"0.7172365",
"0.7166327",
"0.7165775"
]
| 0.0 | -1 |
Setter for WallaAddress property | public void setWallaMailAddress(String wallaMailAddress) {
WallaMailAddress = wallaMailAddress;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setLocationAddress(final BwString val) {\n locationAddress = val;\n }",
"public void setAddress(String address);",
"public void setAddress(String address);",
"public void setAddress(String address);",
"public void setAddress(String address);",
"public void setAddress(String address) { this.address = address; }",
"public void setExternalAddress(String address);",
"public void setAddress(String address) {\n this.address = address;\n }",
"public void setAddress(String adrs) {\n address = adrs;\n }",
"public void setAddress(String _address){\n address = _address;\n }",
"Builder setAddress(String address);",
"public void setAddress(Address address) {\n this.address = address;\n }",
"public void setAddress(Address address) {\n this.address = address;\n }",
"public void setAddress(Address address) {\n this.address = address;\n }",
"public void setInternalAddress(String address);",
"public Builder setAddress(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n address_ = value;\n onChanged();\n return this;\n }",
"public void setAddress(String address)\n {\n this.address = address;\n }",
"public Builder setAddress(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n address_ = value;\n onChanged();\n return this;\n }",
"public Builder setAddress(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n address_ = value;\n onChanged();\n return this;\n }",
"public void setAddress(final String address){\n this.address=address;\n }",
"public void setAddress(String address) {\r\n this.address = address;\r\n }",
"public void setAddress(String address) {\r\n this.address = address;\r\n }",
"public void setAddress(String address) {\r\n this.address = address;\r\n }",
"public void setAddress(String address) {\n this.address = address;\n }",
"public void setAddress(String address) {\n this.address = address;\n }",
"@Override\n public void setAdress(Adress adress) {\n this.adress = adress;\n }",
"public Builder setAddress(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n address_ = value;\n onChanged();\n return this;\n }",
"public Builder setAddress(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n address_ = value;\n onChanged();\n return this;\n }",
"public void setAddress(String s) {\r\n\t\t// Still deciding how to do the address to incorporate apartments\r\n\t\taddress = s;\t\t\r\n\t}",
"public Builder setAddress(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000008;\n address_ = value;\n onChanged();\n return this;\n }",
"public void setAddress(String address) {\n this.address = address;\n }",
"public void setAddress(String address) {\n this.address = address;\n }",
"public void setAddress(String address) {\n this.address = address;\n }",
"public void setAddress(String address) {\n this.address = address;\n }",
"public void setAddress(String address) {\n this.address = address;\n }",
"public void setAddress(String address) {\n this.address = address;\n }",
"public void setAddress(String address) {\n this.address = address;\n }",
"public void setAddress(String address) {\n this.address = address;\n }",
"public void setAddress(String address) {\n this.address = address;\n }",
"public void setAddress(String address) {\n this.address = address;\n }",
"public void setAddress(String address) {\n this.address = address;\n }",
"public void setAddress(String address) {\n this.address = address;\n }",
"public void setAddress(String address) {\n this.address = address;\n }",
"public void setAddress(String address) {\n this.address = address;\n }",
"public void setAddress(String address) {\n this.address = address;\n }",
"public void setAddress(String address) {\n this.address = address;\n }",
"public void setAddress(String address) {\n this.address = address;\n }",
"public void setAddress(java.lang.String param) {\r\n localAddressTracker = param != null;\r\n\r\n this.localAddress = param;\r\n }",
"public void setAddress(java.lang.String address) {\r\n this.address = address;\r\n }",
"public void setAddress(String address){\n\t\tthis.address = address;\n\t}",
"public void setAddress(String address){\n\t\tthis.address = address;\n\t}",
"public Builder setAddress(\n java.lang.String value) {\n if (value == null) { throw new NullPointerException(); }\n address_ = value;\n bitField0_ |= 0x00000020;\n onChanged();\n return this;\n }",
"public void setAdress(Adress adr) {\r\n // Bouml preserved body begin 00040F82\r\n\t this.adress = adr;\r\n // Bouml preserved body end 00040F82\r\n }",
"public void setAddress(java.lang.String newAddress) {\n\taddress = newAddress;\n}",
"public void setAddress(java.lang.String newAddress) {\n\taddress = newAddress;\n}",
"public void setAddress(final URL value) {\n this.address = value;\n }",
"public Builder setAddress(\n\t\t\t\t\t\tjava.lang.String value) {\n\t\t\t\t\tif (value == null) {\n\t\t\t\t\t\tthrow new NullPointerException();\n\t\t\t\t\t}\n\n\t\t\t\t\taddress_ = value;\n\t\t\t\t\tonChanged();\n\t\t\t\t\treturn this;\n\t\t\t\t}",
"public void setAddress2(String address2);",
"public void setAddress(String address) {\n\t\tthis.address = StringUtils.trimString( address );\n\t}",
"public void setAddress(java.lang.String address)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ADDRESS$2);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(ADDRESS$2);\n }\n target.setStringValue(address);\n }\n }",
"@Override\n\tpublic void setAddress(String address) {\n\t\tthis.address = address;\n\t}",
"public void setAddress(final String address) {\n\t\tthis.address = address;\n\t}",
"public void setAddress(final String address) {\n this._address = address;\n }",
"public void setAddress(String newAddress) {\r\n\t\tthis.address = newAddress;\r\n\t}",
"public void setAddress(String address) {\n\t\tthis.address = address;\n\t}",
"public void setAddress(String address) {\n\t\tthis.address = address;\n\t}",
"public void setAddress(String address) {\n\t\tthis.address = address;\n\t}",
"public void setAddress(String address) {\n\t\tthis.address = address;\n\t}",
"public void setAddress(String address) {\n\t\tthis.address = address;\n\t}",
"public String getAddress(){\n return address;\n\n }",
"public void setAddress(String address) {\r\n this.address = address == null ? null : address.trim();\r\n }",
"public void setAddress(String address) {\r\n this.address = address == null ? null : address.trim();\r\n }",
"public void setAddress(String address) {\r\n this.address = address == null ? null : address.trim();\r\n }",
"public void setAddr(String addr) {\n this.addr = addr;\n }",
"public String getAddress() {return address;}",
"public void setAddress(String address) {\n this.address = address == null ? null : address.trim();\n }",
"public void setAddress(String address) {\n this.address = address == null ? null : address.trim();\n }",
"public void setAddress(String address) {\n this.address = address == null ? null : address.trim();\n }",
"public void setAddress(String address) {\n this.address = address == null ? null : address.trim();\n }",
"public void setAddress(String address) {\n this.address = address == null ? null : address.trim();\n }",
"public void setAddress(String address) {\n this.address = address == null ? null : address.trim();\n }",
"public void setAddress(String address) {\n this.address = address == null ? null : address.trim();\n }",
"public void setAddress(String address) {\n this.address = address == null ? null : address.trim();\n }",
"public void setAddress(String address) {\n this.address = address == null ? null : address.trim();\n }",
"public void setAddress(String address) {\n this.address = address == null ? null : address.trim();\n }",
"public void setAddress(String address) {\n this.address = address == null ? null : address.trim();\n }",
"public void setAddress(String address) {\n this.address = address == null ? null : address.trim();\n }",
"@ApiModelProperty(required = true, value = \"The aliased address in hexadecimal.\")\n public String getAddress() {\n return address;\n }",
"public String getAddress() {\r\n return address;\r\n }",
"public String getAddress() {\r\n return address;\r\n }",
"public String getAddress() {\r\n return address;\r\n }",
"public String getAddress() {\r\n return address;\r\n }",
"public String getAddress() {\r\n return address;\r\n }",
"public String getAddress() {\r\n return address;\r\n }",
"public String getAddress() {\r\n return address;\r\n }",
"public String getAddress() {\n return address;\n }",
"public String getAddress() {\n return address;\n }",
"public final void setAddress(final String addressNew) {\n this.address = addressNew;\n }",
"public void setAddress (java.lang.String address) {\n\t\tthis.address = address;\n\t}",
"public String getAddress(){\r\n return address;\r\n }"
]
| [
"0.7286888",
"0.71969336",
"0.71969336",
"0.71969336",
"0.71969336",
"0.7169541",
"0.7136721",
"0.7077212",
"0.70698404",
"0.70086",
"0.69681644",
"0.69675803",
"0.69675803",
"0.69675803",
"0.692386",
"0.6921817",
"0.6894026",
"0.6893596",
"0.6893596",
"0.68916386",
"0.6869523",
"0.6869523",
"0.6869523",
"0.6847839",
"0.6847839",
"0.6815243",
"0.67969215",
"0.67969215",
"0.67656726",
"0.6763959",
"0.6737458",
"0.6737458",
"0.6737458",
"0.6737458",
"0.6737458",
"0.6737458",
"0.6737458",
"0.6737458",
"0.6737458",
"0.6737458",
"0.6737458",
"0.6737458",
"0.6737458",
"0.6737458",
"0.6737458",
"0.6737458",
"0.6737458",
"0.6707797",
"0.669029",
"0.6673699",
"0.6673699",
"0.66693527",
"0.66676664",
"0.66310877",
"0.66310877",
"0.66192484",
"0.66136694",
"0.6591183",
"0.65650016",
"0.6563525",
"0.6536357",
"0.65276587",
"0.6520303",
"0.65156996",
"0.6487399",
"0.6487399",
"0.6487399",
"0.6487399",
"0.6487399",
"0.6481056",
"0.64754343",
"0.64754343",
"0.64754343",
"0.64678466",
"0.64615566",
"0.6460274",
"0.6460274",
"0.6460274",
"0.6460274",
"0.6460274",
"0.6460274",
"0.6460274",
"0.6460274",
"0.6460274",
"0.6460274",
"0.6460274",
"0.6460274",
"0.644744",
"0.64384127",
"0.64384127",
"0.64384127",
"0.64384127",
"0.64384127",
"0.64384127",
"0.64384127",
"0.6434833",
"0.6434833",
"0.6424786",
"0.64244694",
"0.64050806"
]
| 0.6909743 | 16 |
Getter for YahooMailAddress property | public String getYahooMailAddress() {
return YahooMailAddress;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setYahooMailAddress(String yahooMailAddress) {\r\n YahooMailAddress = yahooMailAddress;\r\n }",
"public java.lang.String getEmailAddress();",
"public String getEmailAddress()\r\n {\r\n return emailAddress;\r\n }",
"public java.lang.CharSequence getEmailAddress() {\n return email_address;\n }",
"public String getEmailAddress() {\n return emailAddress;\n }",
"public String getEmailAddress(){\r\n\t\treturn emailAddress;\r\n\t}",
"public String getGmailAddress() {\r\n return GmailAddress;\r\n }",
"public java.lang.CharSequence getEmailAddress() {\n return email_address;\n }",
"public String getEmailAddress();",
"@JsonProperty( \"eMailAddress\" )\n\tpublic String geteMailAddress()\n\t{\n\t\treturn m_eMailAddress;\n\t}",
"public String getEmailAddress() {\r\n return emailAddress;\r\n }",
"@AutoEscape\n\tpublic String getEmail_address();",
"@Override\n public String getEmailAddress() {\n\n if(this.emailAddress == null){\n\n this.emailAddress = TestDatabase.getInstance().getClientField(token, id, \"emailAddress\");\n }\n\n return emailAddress;\n }",
"@JsonIgnore\r\n public String getEmailAddress() {\r\n return OptionalNullable.getFrom(emailAddress);\r\n }",
"public String getEmailAddress() {\n return this.emailAddress;\n }",
"public String getEmailAddress() {\n return emailAddress;\n }",
"public String getEmailAddress() {\n return emailAddress;\n }",
"public String getEmailAddress() {\n return emailAddress;\n }",
"public String getEmailAddress() {\n return emailAddress;\n }",
"public String getEmailAddress() {\n return emailAddress;\n }",
"public String getMailBillAddress() {\n return (String) getAttributeInternal(MAILBILLADDRESS);\n }",
"public EmailType getEmailAddress() {\n return _emailAddress;\n }",
"public String getEmailAddress() {\r\n return email;\r\n }",
"public String getEmail()\n {\n return emailAddress;\n }",
"public String getEmailAddress() {\r\n\t\treturn emailAddress;\r\n\t}",
"public String getEmailAddress() {\n return email;\n }",
"public String getWallaMailAddress() {\r\n return WallaMailAddress;\r\n }",
"public java.lang.String getEmailAddress() {\n return EmailAddress;\n }",
"@gw.internal.gosu.parser.ExtendedProperty\n public java.lang.String getEmail() {\n return (java.lang.String)__getInternalInterface().getFieldValueForCodegen(EMAIL_PROP.get());\n }",
"@gw.internal.gosu.parser.ExtendedProperty\n public java.lang.String getEmail() {\n return (java.lang.String)__getInternalInterface().getFieldValueForCodegen(EMAIL_PROP.get());\n }",
"public java.lang.String getMailboxAddress() {\n\t\treturn mailboxAddress;\n\t}",
"java.lang.String getEmail();",
"java.lang.String getEmail();",
"java.lang.String getEmail();",
"java.lang.String getEmail();",
"java.lang.String getEmail();",
"java.lang.String getEmail();",
"public String getEmail()\r\n/* 31: */ {\r\n/* 32:46 */ return this.email;\r\n/* 33: */ }",
"@AutoEscape\n\tpublic String getFromEmailAddress();",
"public synchronized String getMail()\r\n {\r\n return mail;\r\n }",
"public java.lang.String getEmailAddress()\r\n\t{\r\n\t\tString result = \"\";\r\n\t\tint length = emailAddress.length();\r\n\t\t\r\n\t\tif (!locked)\r\n\t\t\tresult = emailAddress;\r\n\t\telse\r\n\t\t{\r\n\t\t\tfor(int i = 1; i < length; i++)\r\n\t\t\t{\r\n\t\t\t\t//char asterisk = emailAddress.charAt(i);\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t\t\r\n\t\t}\r\n\t\treturn result;\r\n\t\t\t\r\n\t}",
"public String getEmailAddress() {\n return (String)getAttributeInternal(EMAILADDRESS);\n }",
"public String getEmailAddress() {\n return (String)getAttributeInternal(EMAILADDRESS);\n }",
"private EmailAddress getEmail(final String mail) {\r\n\t\treturn (EmailAddress) this.getSingleResult(this.em.createNativeQuery(\"select * from emailaddress WHERE eMailAddress ='\" + mail + \"'\",\r\n\t\t\t\tEmailAddress.class));\r\n\t}",
"@JsonGetter(\"email_address\")\r\n @JsonInclude(JsonInclude.Include.NON_NULL)\r\n @JsonSerialize(using = OptionalNullable.Serializer.class)\r\n protected OptionalNullable<String> internalGetEmailAddress() {\r\n return this.emailAddress;\r\n }",
"public URL getAddress() {\n return address;\n }",
"public String getAddress()\r\n {\r\n return address.getFullAddress();\r\n }",
"public String getAddress()\r\n {\r\n return address.getFullAddress();\r\n }",
"@Override\r\n\tpublic String getEmailAdrress() {\n\t\treturn null;\r\n\t}",
"public String getEmailAddressesString() {\r\n return this.emailAddressesString;\r\n }",
"public String getAddress() {\n return this._address;\n }",
"@Override\r\n\tpublic String getAddress() {\n\t\treturn address;\r\n\t}",
"String getEmail();",
"String getEmail();",
"String getEmail();",
"String getEmail();",
"String getEmail();",
"public String getFormattedAddress() {\n return formattedAddress;\n }",
"public java.lang.String getAddress() {\n\treturn address;\n}",
"public java.lang.String getAddress() {\n\treturn address;\n}",
"public Email getEmail() { return this.email; }",
"public String getEmailAddresses()\n {\n return this.emailAddresses;\n }",
"public String getAddress(){\n\t\treturn this.address;\n\t}",
"public String getAddress() {\r\n\t\treturn this.address;\r\n\t}",
"public String getAddress() throws JAXRException{\n return address;\n }",
"@Override\n\tpublic String getAddress() {\n\t\treturn address;\n\t}",
"@java.lang.Override\n public java.lang.String getEmail() {\n java.lang.Object ref = email_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n email_ = s;\n return s;\n }\n }",
"public java.lang.String getAddress()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ADDRESS$2);\n if (target == null)\n {\n return null;\n }\n return target.getStringValue();\n }\n }",
"public String getAddress()\r\n\t{\r\n\t\treturn address;\r\n\t}",
"public String getAddress() {\n return this.address;\n }",
"public String getAddress() {\n return this.address;\n }",
"public java.lang.String getMail() {\n return mail;\n }",
"public String getAddress() {\n\t\treturn this.address;\n\t}",
"@Override\r\n\tpublic String getEmail() {\n\t\treturn email;\r\n\t}",
"private String extractEMailAddress() {\n return SwingUtil.extract(emailJTextField, Boolean.TRUE);\n }",
"public java.lang.String getAddress() {\r\n return address;\r\n }",
"public String getEmailAddress() {\n return EmailAddress.commaSeperateList(this.emailAddressList);\n }",
"public String getAddress() {\n return m_Address;\n }",
"@ApiModelProperty(value = \"User's email. Effect: Controls the value of the corresponding CfgPerson attribute \")\n public String getEmailAddress() {\n return emailAddress;\n }",
"public String getAddress()\n {\n \treturn address;\n }",
"public final String getAddress() {\n return address;\n }",
"public String getFormattedAddress() {\n return formattedAddress;\n }",
"public String getBounceAddress() {\n return bounceAddress;\n }",
"public String getAddress() {\r\n return address;\r\n }",
"public String getAddress() {\r\n return address;\r\n }",
"public String getAddress() {\r\n return address;\r\n }",
"public String getAddress() {\r\n return address;\r\n }",
"public String getAddress() {\r\n return address;\r\n }",
"public String getAddress() {\r\n return address;\r\n }",
"public String getAddress() {\r\n return address;\r\n }",
"public String getAddress() {\n return address;\n }",
"public String getAddress() {\n return address;\n }",
"public String getAddress() {\n return m_address;\n }",
"public String getAddress() {return address;}",
"public java.lang.String getAddress () {\n\t\treturn address;\n\t}",
"public java.lang.String getEmail() {\r\n return email;\r\n }",
"public Email getEmail() {\n return email;\n }",
"public String getAddress()\r\n\t{\r\n\t\treturn address.getModelObjectAsString();\r\n\t}",
"public gov.nih.nlm.ncbi.www.soap.eutils.efetch_pmc.Email getEmail() {\r\n return email;\r\n }",
"public String getEmail()\n\t{\n\t\treturn this._email;\n\t}"
]
| [
"0.6931798",
"0.69311154",
"0.69057506",
"0.688894",
"0.6827874",
"0.6814497",
"0.67993534",
"0.6791152",
"0.678514",
"0.67506444",
"0.6742639",
"0.6741443",
"0.67329985",
"0.67120457",
"0.6703124",
"0.6680138",
"0.6680138",
"0.6680138",
"0.6680138",
"0.6680138",
"0.661282",
"0.65882164",
"0.65698224",
"0.65667033",
"0.656095",
"0.65549046",
"0.65049255",
"0.6458995",
"0.64378756",
"0.64232564",
"0.64135456",
"0.63968533",
"0.63968533",
"0.63968533",
"0.63968533",
"0.63968533",
"0.63968533",
"0.63742656",
"0.63705957",
"0.63674575",
"0.6333837",
"0.62810165",
"0.62810165",
"0.62526816",
"0.6239044",
"0.6216389",
"0.6211289",
"0.6211289",
"0.6204922",
"0.62048054",
"0.61733335",
"0.6158886",
"0.61506015",
"0.61506015",
"0.61506015",
"0.61506015",
"0.61506015",
"0.61503273",
"0.61440265",
"0.61440265",
"0.61435133",
"0.61397034",
"0.61371386",
"0.61288273",
"0.6123594",
"0.6122763",
"0.6112986",
"0.6106406",
"0.60988456",
"0.60967535",
"0.60967535",
"0.60962343",
"0.6095378",
"0.6091341",
"0.6087534",
"0.60865015",
"0.6083789",
"0.60828626",
"0.60819644",
"0.60819435",
"0.6081315",
"0.6080669",
"0.6062381",
"0.60610366",
"0.60610366",
"0.60610366",
"0.60610366",
"0.60610366",
"0.60610366",
"0.60610366",
"0.6060116",
"0.6060116",
"0.6059373",
"0.60525453",
"0.6048519",
"0.6047319",
"0.60469",
"0.6037976",
"0.6036512",
"0.6030733"
]
| 0.8613054 | 0 |
Setter for YahooMailAddress property | public void setYahooMailAddress(String yahooMailAddress) {
YahooMailAddress = yahooMailAddress;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getYahooMailAddress() {\r\n return YahooMailAddress;\r\n }",
"public void setYahooAccount(EmailVendor yahooAccount) {\r\n YahooAccount = yahooAccount;\r\n }",
"public void SetAddress(EmailVendor Gmail, EmailVendor Yahoo, EmailVendor Walla) \r\n {\r\n setGmailAccount(Gmail);\r\n setGmailAddress(Name.concat(this.GmailAccount.getPostFix()));\r\n\r\n setWallaAccount(Walla);\r\n setWallaMailAddress(Name.concat(this.WallaAccount.getPostFix()));\r\n\r\n setYahooAccount(Yahoo);\r\n setYahooMailAddress(Name.concat(this.YahooAccount.getPostFix()));\r\n }",
"public void setEmailAddress(java.lang.String newEmailAddress);",
"public void setEmailAddress(String emailAddress);",
"public void setSMTP_ADDR(java.lang.String value)\n {\n if ((__SMTP_ADDR == null) != (value == null) || (value != null && ! value.equals(__SMTP_ADDR)))\n {\n _isDirty = true;\n }\n __SMTP_ADDR = value;\n }",
"public void setEmail_address(String email_address);",
"public void setMailBillAddress(String value) {\n setAttributeInternal(MAILBILLADDRESS, value);\n }",
"public void setEmailAddress(String email_address){\n this.email_address = email_address;\n }",
"public void setEmailAddress(java.lang.CharSequence value) {\n this.email_address = value;\n }",
"public void setEmailAddress(String value) {\n setAttributeInternal(EMAILADDRESS, value);\n }",
"public void setEmailAddress(String value) {\n setAttributeInternal(EMAILADDRESS, value);\n }",
"public void setWallaMailAddress(String wallaMailAddress) {\r\n WallaMailAddress = wallaMailAddress;\r\n }",
"public void setEmailAddress(EmailType newEmailAddress) {\n _emailAddress = newEmailAddress;\n }",
"public com.politrons.avro.AvroPerson.Builder setEmailAddress(java.lang.CharSequence value) {\n validate(fields()[2], value);\n this.email_address = value;\n fieldSetFlags()[2] = true;\n return this; \n }",
"public void setEmailAddress(String emailAddress) {\n this.emailAddress = emailAddress;\n }",
"public void setFromEmailAddress(String fromEmailAddress);",
"@Override\n public void setEmail(String email) {\n\n }",
"public void setEmailAddressOfCustomer(final SessionContext ctx, final String value)\n\t{\n\t\tsetProperty(ctx, EMAILADDRESSOFCUSTOMER,value);\n\t}",
"public void setEmailAddress(String emailAddress) {\r\n this.emailAddress = doTrim(emailAddress);\r\n }",
"public String getEmailAddress(){\r\n\t\treturn emailAddress;\r\n\t}",
"public void setGmailAddress(String gmailAddress) {\r\n GmailAddress = gmailAddress;\r\n }",
"public void setEmail(String email)\r\n/* 36: */ {\r\n/* 37:50 */ this.email = email;\r\n/* 38: */ }",
"public void setEmailAddress(String emailAddress) {\n this.emailAddress = emailAddress;\n }",
"public void setEmailAddress(String emailAddress) {\n this.emailAddress = emailAddress;\n }",
"public void setEmailAddress(String emailAddress) {\n this.emailAddress = emailAddress;\n }",
"public void setEmailAddress(String emailAddress) {\n this.emailAddress = emailAddress;\n }",
"public void setEmailAddress(String emailAddress) {\r\n\t\tthis.emailAddress = emailAddress;\r\n\t}",
"public void updateEmail(String newEmailAddress)\r\n {\r\n emailAddress = newEmailAddress;\r\n }",
"public String getEmailAddress()\r\n {\r\n return emailAddress;\r\n }",
"public AddressEntry setEmailAddress(String emailAddress){\r\n\t\tthis.emailAddress=emailAddress;\r\n\t\treturn this;\r\n\t}",
"public void setEmail(java.lang.String value) {\n __getInternalInterface().setFieldValueForCodegen(EMAIL_PROP.get(), value);\n }",
"void setEmail(String email);",
"void setEmail(String email);",
"public java.lang.CharSequence getEmailAddress() {\n return email_address;\n }",
"public String getEmailAddress() {\n return emailAddress;\n }",
"public String getEmailAddress() {\r\n return emailAddress;\r\n }",
"public void setEmail(final SessionContext ctx, final String value)\n\t{\n\t\tsetProperty(ctx, EMAIL,value);\n\t}",
"public void setEmail(final SessionContext ctx, final String value)\n\t{\n\t\tsetProperty(ctx, EMAIL,value);\n\t}",
"public void setEmailAddress(java.lang.String EmailAddress) {\n this.EmailAddress = EmailAddress;\n }",
"public java.lang.CharSequence getEmailAddress() {\n return email_address;\n }",
"public void setEmail(java.lang.String value) {\n __getInternalInterface().setFieldValueForCodegen(EMAIL_PROP.get(), value);\n }",
"public void setEmailAddress(String email) {\n this.email = email;\n }",
"public com.opentext.bn.converters.avro.entity.DocumentEvent.Builder setReceiverAddress(java.lang.String value) {\n validate(fields()[19], value);\n this.receiverAddress = value;\n fieldSetFlags()[19] = true;\n return this;\n }",
"public String getGmailAddress() {\r\n return GmailAddress;\r\n }",
"public String getEmailAddress() {\n return this.emailAddress;\n }",
"public String getEmailAddress() {\r\n\t\treturn emailAddress;\r\n\t}",
"@JsonProperty( \"eMailAddress\" )\n\tpublic String geteMailAddress()\n\t{\n\t\treturn m_eMailAddress;\n\t}",
"public void setMailing(String mail) {\n mailing = mail;\n }",
"public String getEmailAddress() {\n return emailAddress;\n }",
"public String getEmailAddress() {\n return emailAddress;\n }",
"public String getEmailAddress() {\n return emailAddress;\n }",
"public String getEmailAddress() {\n return emailAddress;\n }",
"public String getEmailAddress() {\n return emailAddress;\n }",
"public void setEmailCom(String emailCom);",
"public void setAddress(String address);",
"public void setAddress(String address);",
"public void setAddress(String address);",
"public void setAddress(String address);",
"public void setEmail(Email email) { this.email = email; }",
"@AutoEscape\n\tpublic String getEmail_address();",
"public void setEmail(final String e)\n {\n this.email = e;\n }",
"public void setExternalAddress(String address);",
"public void setAddress(String _address){\n address = _address;\n }",
"public String getEmailAddress() {\r\n return email;\r\n }",
"public void setContact(String email){ contact = email; }",
"public void setEmailAddressOfCustomer(final String value)\n\t{\n\t\tsetEmailAddressOfCustomer( getSession().getSessionContext(), value );\n\t}",
"public void setAddress(String adrs) {\n address = adrs;\n }",
"public void setShippingAddressInCart(Address addr);",
"public void setAddress(java.lang.String address)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(ADDRESS$2);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(ADDRESS$2);\n }\n target.setStringValue(address);\n }\n }",
"public void setAddress(String s) {\r\n\t\t// Still deciding how to do the address to incorporate apartments\r\n\t\taddress = s;\t\t\r\n\t}",
"public void seteMailString(String eMailString) {\n\t\t\n\t}",
"public String getWallaMailAddress() {\r\n return WallaMailAddress;\r\n }",
"public String getEmailAddress() {\n return email;\n }",
"private void setEmail(String email) {\n this.email = StringExtension.nullFilter(email);\n }",
"public void setEmail(String email);",
"public void setEmail(String aEmail) {\n email = aEmail;\n }",
"@Override\r\n\tpublic String getEmailAdrress() {\n\t\treturn null;\r\n\t}",
"public void xsetAddress(org.apache.xmlbeans.XmlString address)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.XmlString target = null;\n target = (org.apache.xmlbeans.XmlString)get_store().find_attribute_user(ADDRESS$2);\n if (target == null)\n {\n target = (org.apache.xmlbeans.XmlString)get_store().add_attribute_user(ADDRESS$2);\n }\n target.set(address);\n }\n }",
"public void setEmail(final String value)\n\t{\n\t\tsetEmail( getSession().getSessionContext(), value );\n\t}",
"public void setEmail(final String value)\n\t{\n\t\tsetEmail( getSession().getSessionContext(), value );\n\t}",
"public void setAlternateEmail(String altemail) { this.alternateEmail = altemail; }",
"public void setEmail(String email)\n {\n String regex = \"^[\\\\w!#$%&'*+/=?`{|}~^-]+(?:\\\\.[\\\\w!#$%&'*+/=?`{|}~^-]+)*@(?:[a-zA-Z0-9-]+\\\\.)+[a-zA-Z]{2,6}$\";\n Pattern pattern = Pattern.compile(regex);\n Matcher matcher = pattern.matcher(email);\n if(matcher.matches())\n {\n this.email=email;\n }\n else \n {\n this.email=\"\";\n }\n }",
"public void setAddress(String address) throws JAXRException {\n this.address = address;\n }",
"public java.lang.String getMailboxAddress() {\n\t\treturn mailboxAddress;\n\t}",
"public java.lang.String getEmailAddress();",
"public void setAddress(final URL value) {\n this.address = value;\n }",
"public void setBillingAddressInCart(Address addr);",
"public void setEmail(gov.nih.nlm.ncbi.www.soap.eutils.efetch_pmc.Email email) {\r\n this.email = email;\r\n }",
"public void setAddress(final String address){\n this.address=address;\n }",
"public void seteMail(String eMail) {\n this.eMail = eMail;\n }",
"public void setEmailAddresses(String emailAddr)\n {\n this.emailAddresses = StringTools.trim(emailAddr);\n }",
"@Override\n public String getEmailAddress() {\n\n if(this.emailAddress == null){\n\n this.emailAddress = TestDatabase.getInstance().getClientField(token, id, \"emailAddress\");\n }\n\n return emailAddress;\n }",
"public Builder setEmail(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000004;\n email_ = value;\n onChanged();\n return this;\n }",
"public PersonBuilderMobile email(Email email)\n {\n if(email == null) throw new NullPointerException(\"The field email in the Person ValueDomain may not be null\");\n edma_value[2] = ((IValueInstance) email).edma_getValue();\n return this;\n }",
"public void setEMail (java.lang.String eMail) {\r\n\t\tthis.eMail = eMail;\r\n\t}",
"public String getEmailAddress();",
"public void setInternalAddress(String address);",
"public void setAddress(String address) { this.address = address; }",
"public EmailType getEmailAddress() {\n return _emailAddress;\n }"
]
| [
"0.7761139",
"0.7076176",
"0.70114344",
"0.6646443",
"0.66341543",
"0.6520969",
"0.64231455",
"0.6389836",
"0.6377372",
"0.63326305",
"0.620267",
"0.620267",
"0.6191371",
"0.617756",
"0.61413264",
"0.6132501",
"0.6118454",
"0.60845166",
"0.60687864",
"0.601728",
"0.59937006",
"0.5982885",
"0.59705305",
"0.59551924",
"0.59551924",
"0.59551924",
"0.59551924",
"0.5952668",
"0.59290814",
"0.59137195",
"0.5877813",
"0.58545995",
"0.5850329",
"0.5850329",
"0.58466476",
"0.5842243",
"0.58120334",
"0.5802668",
"0.5802668",
"0.57869923",
"0.5778233",
"0.5770068",
"0.57519543",
"0.5737279",
"0.57342756",
"0.5718147",
"0.5715147",
"0.57087445",
"0.57068604",
"0.5703757",
"0.5703757",
"0.5703757",
"0.5703757",
"0.5703757",
"0.56890404",
"0.5682503",
"0.5682503",
"0.5682503",
"0.5682503",
"0.56776965",
"0.56639105",
"0.5663681",
"0.56631565",
"0.5661788",
"0.5653301",
"0.56427306",
"0.56416714",
"0.5637912",
"0.56307",
"0.56297296",
"0.56148285",
"0.56146777",
"0.5604566",
"0.56039417",
"0.5590188",
"0.5580917",
"0.5573646",
"0.5568449",
"0.5560637",
"0.5544957",
"0.5544957",
"0.5517257",
"0.5509938",
"0.5501374",
"0.5488941",
"0.54882246",
"0.5487893",
"0.5477835",
"0.54740137",
"0.5471192",
"0.54708606",
"0.54701555",
"0.54659873",
"0.54637563",
"0.5450398",
"0.54492545",
"0.5448946",
"0.54445904",
"0.5443558",
"0.5442208"
]
| 0.8282503 | 0 |
Getter for WallaAccount property | public EmailVendor getWallaAccount() {
return WallaAccount;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getAccount() {\r\n return account;\r\n }",
"public String getAccount() {\n return account;\n }",
"public String getAccount() {\n return account;\n }",
"public String getAccount() {\n return account;\n }",
"public String getAccount() {\n return account;\n }",
"public String getAccount() {\n return account;\n }",
"public String getAccount() {\n return account;\n }",
"public String getAccount() {\n return account;\n }",
"public String getAccount() {\n return account;\n }",
"public String getAccount() {\n return account;\n }",
"public String getAccount() {\n return account;\n }",
"java.lang.String getAccount();",
"public Account getAccount() {\n return account;\n }",
"public Account getAccount() {\n return account;\n }",
"Account getAccount();",
"public String getAccount(){\n\t\treturn account;\n\t}",
"public\n Account\n getAccount()\n {\n return itsAccount;\n }",
"public String getAccount() {\r\n\t\treturn account;\r\n\t}",
"public Account getAccount() {\r\n\t\treturn account;\r\n\t}",
"public String getWeixingaccount() {\n return weixingaccount;\n }",
"public com.huawei.www.bme.cbsinterface.cbs.businessmgr.Account getAccount() {\r\n return account;\r\n }",
"GlAccount getGlAccount();",
"public java.lang.String getAccount() {\n java.lang.Object ref = account_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n if (bs.isValidUtf8()) {\n account_ = s;\n }\n return s;\n }\n }",
"public Long getRaAccount() {\n\t\treturn raAccount;\n\t}",
"public java.lang.String getAccount() {\n java.lang.Object ref = account_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n account_ = s;\n return s;\n }\n }",
"java.lang.String getLoginAccount();",
"java.lang.String getLoginAccount();",
"AccountProperties properties();",
"public long getAccountId()\r\n/* 115: */ {\r\n/* 116:121 */ return this.accountId;\r\n/* 117: */ }",
"public String getAccountName() {\n return this.accountName;\n }",
"public int getAccountNumber() {\n return accountNumber;\n }",
"public java.lang.String getAccount() {\n java.lang.Object ref = account_;\n if (!(ref instanceof java.lang.String)) {\n java.lang.String s = ((com.google.protobuf.ByteString) ref)\n .toStringUtf8();\n account_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public LocalAccount\t\tgetAccount();",
"public BigDecimal getBasicAccount() {\r\n return basicAccount;\r\n }",
"public String getAccountName() {\r\n return accountName;\r\n }",
"public java.lang.String getAccount() {\n java.lang.Object ref = account_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n account_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public String getAccountName() {\n return accountName;\n }",
"public String getAccountName() {\n return accountName;\n }",
"public String getAccountName() {\n return accountName;\n }",
"BillingAccount getBillingAccount();",
"public int getAccountType() {\r\n return accountType;\r\n }",
"public String getAccountNo();",
"public long getAccountId() {\n return accountId;\n }",
"java.lang.String getAccountId();",
"java.lang.String getAccountId();",
"java.lang.String getAccountId();",
"public Account getLead() {\r\n return lead;\r\n }",
"public AccountInfo getAccountInfo() {\n return accountInfo;\n }",
"public String getAccountId() {\n return accountId;\n }",
"public String getAccountId() {\n return accountId;\n }",
"public Long getAccountId() {\n return accountId;\n }",
"public int getAccountId() {\n return accountId;\n }",
"public String getAccountCode() {\n return accountCode;\n }",
"public String getAccountNumber() {\n return accountNumber;\n }",
"public String getAccountNumber() {\n return accountNumber;\n }",
"public String getAccountNumber() {\n return accountNumber;\n }",
"protected final Account getAccount() {\n\t\treturn getRegisterView().getAccount();\n\t}",
"public Long getAccountID() {\n return accountID;\n }",
"public Long getAccountID() {\n return accountID;\n }",
"public String getLoginAccount() {\n return loginAccount;\n }",
"public UserAccount.Immutable getUserAccount() {\n return this.userAccount;\n }",
"public void setWallaAccount(EmailVendor wallaAccount) {\r\n WallaAccount = wallaAccount;\r\n }",
"public Integer getAccountNumber() {\n return accountNumber;\n }",
"public Integer getAccountNumber() {\n return accountNumber;\n }",
"public Integer getAccountId() {\n return accountId;\n }",
"public Integer getAccountId() {\n return accountId;\n }",
"java.lang.String getAccountNumber();",
"public int getAccountNo() {\n return accountNo;\n }",
"public java.lang.String getAccountNumber() {\r\n return accountNumber;\r\n }",
"String getTradingAccount();",
"public String getAccountNo() {\n return accountNo;\n }",
"public java.lang.Object getAccountID() {\n return accountID;\n }",
"public String getAccountId() {\n return this.accountId;\n }",
"public AccountType getAccountType() {\n return accountType;\n }",
"public AccountType getAccountType() {\n return accountType;\n }",
"public java.lang.String getAccount_Id() {\n return account_Id;\n }",
"public com.google.protobuf.ByteString\n getAccountBytes() {\n java.lang.Object ref = account_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n account_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public String getAlipayAccount() {\n return alipayAccount;\n }",
"com.google.protobuf.ByteString\n getAccountBytes();",
"public java.lang.String getAccountNumber() {\n return accountNumber;\n }",
"public jkt.hms.masters.business.MasAccountType getAccount() {\n\t\treturn account;\n\t}",
"public com.google.protobuf.ByteString\n getAccountBytes() {\n java.lang.Object ref = account_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n account_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public net.nyhm.protonet.example.proto.AccountProto.Account getAccount() {\n if (accountBuilder_ == null) {\n return account_ == null ? net.nyhm.protonet.example.proto.AccountProto.Account.getDefaultInstance() : account_;\n } else {\n return accountBuilder_.getMessage();\n }\n }",
"public net.nyhm.protonet.example.proto.AccountProto.Account getAccount() {\n if (accountBuilder_ == null) {\n return account_ == null ? net.nyhm.protonet.example.proto.AccountProto.Account.getDefaultInstance() : account_;\n } else {\n return accountBuilder_.getMessage();\n }\n }",
"public com.google.protobuf.ByteString\n getAccountBytes() {\n java.lang.Object ref = account_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n account_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public String getAccountID() {\n return (tozAdAccountID);\n }",
"public String getZhifubaoaccount() {\n return zhifubaoaccount;\n }",
"public com.google.protobuf.ByteString\n getAccountBytes() {\n java.lang.Object ref = account_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n account_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public AccountInfo getAccount()\n {\n if(accountInfo == null)\n {\n System.out.println(\"You need to generate an account before getting the details.\");\n return null;\n }\n return accountInfo;\n }",
"public java.lang.String getAccount_number() {\n return account_number;\n }",
"public Integer getAccountId() {\n return this.accountId;\n }",
"public int getAccountID() {\n return accountID;\n }",
"Long getAccountId();",
"public String getAccountId() {\n return mAccountId;\n }",
"public String getCampaignAccount() {\n return (tozAdCampaignAccount);\n }",
"public Long getAccountID() {\n return accountID;\n }",
"public Long getAccountID() {\n return accountID;\n }",
"public String getWallaMailAddress() {\r\n return WallaMailAddress;\r\n }",
"public String getAccountType() {\n return accountType;\n }",
"public String getAccountType() {\n return accountType;\n }"
]
| [
"0.7452121",
"0.74463075",
"0.74463075",
"0.74463075",
"0.74463075",
"0.74463075",
"0.74463075",
"0.74463075",
"0.74463075",
"0.74463075",
"0.74463075",
"0.7403581",
"0.732778",
"0.732778",
"0.73102",
"0.7297829",
"0.72899175",
"0.7223422",
"0.71833557",
"0.67708284",
"0.6769005",
"0.6766719",
"0.6684627",
"0.6643265",
"0.6636132",
"0.6623869",
"0.6623869",
"0.6620627",
"0.6609384",
"0.66088474",
"0.6608404",
"0.6602753",
"0.6598892",
"0.6597539",
"0.6593246",
"0.65845865",
"0.6578757",
"0.6578757",
"0.6578757",
"0.6560552",
"0.6540192",
"0.6528371",
"0.65179265",
"0.6474842",
"0.6474842",
"0.6474842",
"0.6473587",
"0.6470813",
"0.64668757",
"0.64668757",
"0.6460269",
"0.64595896",
"0.6459425",
"0.64442724",
"0.64442724",
"0.64442724",
"0.6429123",
"0.64090574",
"0.64090574",
"0.64086014",
"0.63893425",
"0.63874257",
"0.6386606",
"0.6386606",
"0.63856053",
"0.63856053",
"0.6384063",
"0.6378855",
"0.6374786",
"0.6373338",
"0.6367964",
"0.6367818",
"0.63592196",
"0.6337208",
"0.6337208",
"0.631626",
"0.6315516",
"0.63148075",
"0.63061297",
"0.6304024",
"0.6302074",
"0.63018435",
"0.62953705",
"0.62953705",
"0.6292278",
"0.6277178",
"0.62756246",
"0.6275238",
"0.6271702",
"0.62667936",
"0.62661344",
"0.6257195",
"0.6244243",
"0.6243565",
"0.6235775",
"0.6233866",
"0.6233866",
"0.62271774",
"0.6216",
"0.6216"
]
| 0.7970574 | 0 |
Setter for WallaAccount vendor | public void setWallaAccount(EmailVendor wallaAccount) {
WallaAccount = wallaAccount;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setVendor(String vendor) {\n this.vendor = vendor;\n }",
"public void setVendor(String vendor) {\n this.vendor = vendor;\n }",
"public void setVendor(String vendor) {\n this.vendor = vendor;\n }",
"public EmailVendor getWallaAccount() {\r\n return WallaAccount;\r\n }",
"public String getVendor() {\n return vendor;\n }",
"public String getVendor() {\n return vendor;\n }",
"public String getVendor() {\n return vendor;\n }",
"public String getVendor()\r\n {\r\n return vendor;\r\n }",
"public String vendor() {\n return this.vendor;\n }",
"public final void setVendorId(String vendorId){\n peripheralVendorId = vendorId;\n }",
"public void setVendorValue(int vendorValue)\r\n {\r\n\tthis.vendorValue = vendorValue;\r\n }",
"public void setVendor(Vendor vendor) {\n this.setConfig(this.getConfig().toBuilder().setVendor(RobotProto.MotorConfig.Vendor.valueOf(vendor.toString())).build());\n }",
"public int getVendorValue()\r\n {\r\n\treturn vendorValue;\r\n }",
"public String getVendorName() {\r\n return vendorName;\r\n }",
"@JsonProperty(\"vendorName\")\r\n public void setVendorName(String vendorName) {\r\n this.vendorName = vendorName;\r\n }",
"private void setDeviceVendor() {\n addToMobileContext(Parameters.DEVICE_MANUFACTURER, android.os.Build.MANUFACTURER);\n }",
"@Override\r\n\tpublic String updateVendor(Vendor v) {\n\t\treturn dao.updateVendorDetails(v);\r\n\t}",
"public Vendor retrieveVendor() {\n return vendor;\n }",
"public void setGmailAccount(EmailVendor GmailAccount) {\r\n this.GmailAccount = GmailAccount;\r\n }",
"public void setAccountNo (String AccountNo);",
"public void setAccountId(String s) { accountId = s;}",
"public void setUWCompany(entity.UWCompany value);",
"static String getVendor() {return glVendor;}",
"public Builder setCouponVendor(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n couponVendor_ = value;\n onChanged();\n return this;\n }",
"public final String getVendorId(){\n return peripheralVendorId;\n }",
"public short getIdVendor() {\r\n\t\treturn idVendor;\r\n\t}",
"public Builder setCouponVendorBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n couponVendor_ = value;\n onChanged();\n return this;\n }",
"void setVendorManagerFilePath(Path vendorManagerFilePath);",
"@JsonProperty(\"vendorName\")\r\n public String getVendorName() {\r\n return vendorName;\r\n }",
"public Vendor getVendor(com.kcdataservices.partners.kcdebdmnlib_hva.businessobjects.vendor.v1.Vendor res){\n\t\tVendor vendor = new Vendor();\n\t\tvendor.setVendorId( res.getVendorId() );\n\t\tvendor.setFirstName( res.getFirstName() );\n\t\tvendor.setLastName( res.getLastName() );\n\t\tvendor.setStreetAddrs( res.getStreetAddrs() );\n\t\tvendor.setCity( res.getCity() );\n\t\tvendor.setRegion( res.getRegion() );\n\t\tvendor.setCountry( res.getCountry() );\n\t\tvendor.setPostalCode( res.getPostalCode() );\n\t\tvendor.setPhone( res.getPhone() );\n\t\tvendor.setEmail( res.getEmail() );\n\t\tvendor.setFaxNo( res.getFaxNo() );\n\t\tvendor.setMode( res.getMode() );\n\t\tif( res.isVendorExist() != null ){\n\t\t\tvendor.setVendorExist( res.isVendorExist().booleanValue() );\n\t\t}\n\t\t\n\t\treturn vendor;\n\t}",
"public String getDbVendor() {\n return dbVendor;\n }",
"public CimString getVendorUrl() {\n return vendorUrl;\n }",
"public Vendor(VendorBuilder builder){\r\n this.owner = builder.owner;\r\n this.address = builder.address;\r\n this.firstBrand = builder.firstBrand;\r\n this.secondBrand = builder.secondBrand;\r\n }",
"public void setYahooAccount(EmailVendor yahooAccount) {\r\n YahooAccount = yahooAccount;\r\n }",
"public\n void\n setAccount(Account account)\n {\n itsAccount = account;\n }",
"public EmailVendor getGmailAccount() {\r\n return GmailAccount;\r\n }",
"java.lang.String getCouponVendor();",
"public TVendor(Long id) {\r\n\t\tthis.id = id;\r\n\t}",
"public String getMerchantAccount() {\n return merchantAccount;\n }",
"public com.google.protobuf.ByteString\n getCouponVendorBytes() {\n java.lang.Object ref = couponVendor_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n couponVendor_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"void setAccountId(Long accountId);",
"void setAccount(final Account account);",
"public void updateNewTandC(Integer vendorId, String userName);",
"public com.google.protobuf.ByteString\n getCouponVendorBytes() {\n java.lang.Object ref = couponVendor_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n couponVendor_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public void setAccountNo(String AccountNo) {\n super.setAccountNo(MPaymentValidate.checkNumeric(AccountNo));\n }",
"public void setAccount(Account account) {\n this.account = account;\n }",
"public void setBankaccount(java.lang.String param) {\r\n localBankaccountTracker = param != null;\r\n\r\n this.localBankaccount = param;\r\n }",
"public void setAccountId(UUID accountId) {\n this.accountId = accountId;\n }",
"public String getMerchantAccount() {\n return merchantAccount;\n }",
"public String getZhifubaoaccount() {\n return zhifubaoaccount;\n }",
"public void setVendorSpecificConfig(com.vmware.converter.DistributedVirtualSwitchKeyedOpaqueBlob[] vendorSpecificConfig) {\r\n this.vendorSpecificConfig = vendorSpecificConfig;\r\n }",
"public static void saveCustom(Vendor vendor, HttpServletRequest request,\n SessionManager sessionMgr)\n {\n FieldSecurity fs = (FieldSecurity) sessionMgr\n .getAttribute(VendorConstants.FIELD_SECURITY_CHECK_PROJS);\n if (fs != null)\n {\n String access = fs.get(VendorSecureFields.CUSTOM_FIELDS);\n if (\"hidden\".equals(access) || \"locked\".equals(access))\n {\n return;\n }\n }\n Hashtable fields = vendor.getCustomFields();\n if (fields == null)\n {\n fields = new Hashtable();\n }\n ArrayList list = CustomPageHelper.getCustomFieldNames();\n for (int i = 0; i < list.size(); i++)\n {\n String key = (String) list.get(i);\n String value = (String) request.getParameter(key);\n if (value == null)\n {\n fields.remove(key);\n }\n else\n {\n // if already in the list\n CustomField cf = (CustomField) fields.get(key);\n if (cf != null)\n {\n cf.setValue(value);\n }\n else\n {\n cf = new CustomField(key, value);\n }\n fields.put(key, cf);\n\n }\n }\n vendor.setCustomFields(fields);\n }",
"public void setAccount(com.huawei.www.bme.cbsinterface.cbs.businessmgr.Account account) {\r\n this.account = account;\r\n }",
"public void setAccount(String account) {\n this.account = account;\n }",
"public void setAccount(String account) {\n this.account = account;\n }",
"public void setAccount(String account) {\n this.account = account;\n }",
"public void setAccount(String account) {\n this.account = account;\n }",
"public java.lang.String getCouponVendor() {\n java.lang.Object ref = couponVendor_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n couponVendor_ = s;\n return s;\n }\n }",
"public java.lang.String getCouponVendor() {\n java.lang.Object ref = couponVendor_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n couponVendor_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public String getMerchantAccountCode() {\n return merchantAccountCode;\n }",
"private String getVendorString(String forUk, String forUs) {;\r\n\t\treturn forUk;\r\n\t}",
"public MsgType getVendor() {\n return vendor;\n }",
"public void initAccount() {\n initAccount(Huobi.PLATFORM_NAME, Gateio.PLATFORM_NAME, \"EOS_USDT\", 14.5632);\n\n\n initAccount(Huobi.PLATFORM_NAME, Fcoin.PLATFORM_NAME, \"LTCUSDT\", 112.610000000);\n initAccount(Huobi.PLATFORM_NAME, Fcoin.PLATFORM_NAME, \"BCHUSDT\", 1032.690000000);\n initAccount(Huobi.PLATFORM_NAME, Fcoin.PLATFORM_NAME, \"ETHUSDT\", 572.300000000);\n\n initAccount(Huobi.PLATFORM_NAME, Dragonex.PLATFORM_NAME, \"EOSUSDT\", 13.1469);\n initAccount(Huobi.PLATFORM_NAME, Dragonex.PLATFORM_NAME, \"NEOUSDT\", 48.4760);\n initAccount(Huobi.PLATFORM_NAME, Dragonex.PLATFORM_NAME, \"ETHUSDT\", 572.1195);\n }",
"com.google.protobuf.ByteString\n getCouponVendorBytes();",
"public String getSku(){\n return sku;\n }",
"public void setOuantity(java.lang.String param) {\r\n localOuantityTracker = param != null;\r\n\r\n this.localOuantity = param;\r\n }",
"public void setAccount(String account) {\r\n\t\tthis.account = account;\r\n\t}",
"public Integer showLeadsSignUp(Integer vendorId);",
"public void setBankAccountType (String BankAccountType);",
"@Override\n\tpublic void updateAccount(String pwd, String field, String company) {\n\t}",
"public boolean addVendorAddress(VendorAddress vaddress);",
"public void setJP_BankAccount_Value (String JP_BankAccount_Value);",
"public void setProductOwner(String productOwner);",
"protected void setAccountName(final String account) {\n this.account = account;\n }",
"public void setZhifubaoaccount(String zhifubaoaccount) {\n this.zhifubaoaccount = zhifubaoaccount == null ? null : zhifubaoaccount.trim();\n }",
"public Builder setAccount(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000002;\n account_ = value;\n onChanged();\n return this;\n }",
"public String getAccount() {\r\n return account;\r\n }",
"public String getJavaVendor() {\r\n\t\treturn javaVendor;\r\n\t}",
"public String getAccountCode() {\n return accountCode;\n }",
"@Accessor(qualifier = \"voucherCode\", type = Accessor.Type.SETTER)\n\tpublic void setVoucherCode(final String value)\n\t{\n\t\tgetPersistenceContext().setPropertyValue(VOUCHERCODE, value);\n\t}",
"public TVendor() {\r\n\t\t// Default constructor\r\n\t}",
"public String getAccount(){\n\t\treturn account;\n\t}",
"public void setAccountId(String accountId) {\n this.accountId = accountId;\n }",
"public String getAccount() {\n return account;\n }",
"public String getAccount() {\n return account;\n }",
"public String getAccount() {\n return account;\n }",
"public String getAccount() {\n return account;\n }",
"public String getAccount() {\n return account;\n }",
"public String getAccount() {\n return account;\n }",
"public String getAccount() {\n return account;\n }",
"public String getAccount() {\n return account;\n }",
"public String getAccount() {\n return account;\n }",
"public String getAccount() {\n return account;\n }",
"public void setAccountId(int accountId) {\n this.accountId = accountId;\n }",
"public Builder setAccountBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000002;\n account_ = value;\n onChanged();\n return this;\n }",
"public java.lang.Long getBolPreferredVendor()\n\t{\n\t\treturn bolPreferredVendor;\n\t}",
"public Builder setAccount(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n account_ = value;\n onChanged();\n return this;\n }",
"public AdobeVendorID(\n final String in_value)\n {\n this.value = Objects.requireNonNull(in_value);\n }",
"public void setAccount(String account) {\r\n this.account = account == null ? null : account.trim();\r\n }",
"public void setAccountId(long value) {\n this.accountId = value;\n }"
]
| [
"0.72515506",
"0.72515506",
"0.72515506",
"0.69547784",
"0.67186165",
"0.67186165",
"0.67186165",
"0.67180115",
"0.6639474",
"0.6560138",
"0.6416315",
"0.6230776",
"0.6210263",
"0.6182715",
"0.60616314",
"0.5955766",
"0.59453386",
"0.593097",
"0.5919369",
"0.58977395",
"0.5886727",
"0.5829521",
"0.5815264",
"0.577687",
"0.5724964",
"0.5703378",
"0.5703061",
"0.5697083",
"0.56929505",
"0.56806695",
"0.5662865",
"0.56397414",
"0.5624963",
"0.5611168",
"0.55939275",
"0.5580314",
"0.5570593",
"0.5518337",
"0.55010635",
"0.54853505",
"0.5483358",
"0.5481666",
"0.5467569",
"0.5440274",
"0.54059404",
"0.53952944",
"0.53919816",
"0.5391817",
"0.5384425",
"0.53480506",
"0.5337975",
"0.53369194",
"0.53339565",
"0.5322373",
"0.5322373",
"0.5322373",
"0.5322373",
"0.53194225",
"0.53182423",
"0.5301004",
"0.52777183",
"0.526472",
"0.52599347",
"0.5258801",
"0.5239091",
"0.5235108",
"0.5214857",
"0.520226",
"0.5193616",
"0.51827437",
"0.5175644",
"0.5174774",
"0.5174762",
"0.51651824",
"0.515901",
"0.5158074",
"0.51568097",
"0.51560396",
"0.51541346",
"0.5150497",
"0.5144492",
"0.51423544",
"0.5131485",
"0.5130031",
"0.5130031",
"0.5130031",
"0.5130031",
"0.5130031",
"0.5130031",
"0.5130031",
"0.5130031",
"0.5130031",
"0.5130031",
"0.5123787",
"0.5118325",
"0.5098974",
"0.5091217",
"0.5068905",
"0.5059513",
"0.5059312"
]
| 0.75027674 | 0 |
Setter for YahooAccount property | public void setYahooAccount(EmailVendor yahooAccount) {
YahooAccount = yahooAccount;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setYahooMailAddress(String yahooMailAddress) {\r\n YahooMailAddress = yahooMailAddress;\r\n }",
"public\n void\n setAccount(Account account)\n {\n itsAccount = account;\n }",
"void setAccount(final Account account);",
"public void setJP_BankAccount_Value (String JP_BankAccount_Value);",
"public void setAccountNo (String AccountNo);",
"public String getYahooMailAddress() {\r\n return YahooMailAddress;\r\n }",
"public void setAccountId(String s) { accountId = s;}",
"public void setAccount(Account account) {\n this.account = account;\n }",
"private void setAccount(SessionData sessionData, Account account) {\n \ttry {\n\t sessionData.set(\"account\", account);\n \t} catch (Exception e) {\n \t throw new RuntimeException(e.toString());\n \t}\n }",
"@Override\n\tpublic void updateAccount(String pwd, String field, String company) {\n\t}",
"public void setC_BankAccount_ID (int C_BankAccount_ID);",
"public void setBankAccountType (String BankAccountType);",
"public String getEbayAccount() {\r\n return ebayAccount;\r\n }",
"public void setWallaAccount(EmailVendor wallaAccount) {\r\n WallaAccount = wallaAccount;\r\n }",
"protected void setAccountName(final String account) {\n this.account = account;\n }",
"public void SetAddress(EmailVendor Gmail, EmailVendor Yahoo, EmailVendor Walla) \r\n {\r\n setGmailAccount(Gmail);\r\n setGmailAddress(Name.concat(this.GmailAccount.getPostFix()));\r\n\r\n setWallaAccount(Walla);\r\n setWallaMailAddress(Name.concat(this.WallaAccount.getPostFix()));\r\n\r\n setYahooAccount(Yahoo);\r\n setYahooMailAddress(Name.concat(this.YahooAccount.getPostFix()));\r\n }",
"public void setCompany(final SessionContext ctx, final String value)\n\t{\n\t\tsetProperty(ctx, COMPANY,value);\n\t}",
"public Builder setAccount(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000002;\n account_ = value;\n onChanged();\n return this;\n }",
"public void setAccount(String account) {\n this.account = account;\n }",
"public void setAccount(String account) {\n this.account = account;\n }",
"public void setAccount(String account) {\n this.account = account;\n }",
"public void setAccount(String account) {\n this.account = account;\n }",
"public void setBankaccount(java.lang.String param) {\r\n localBankaccountTracker = param != null;\r\n\r\n this.localBankaccount = param;\r\n }",
"public void setCompany(Company aCompany) {\n company = aCompany;\n }",
"public void setJP_BankAccountType (String JP_BankAccountType);",
"public Gateway setAccountName(java.lang.String accountName) {\n return genClient.setOther(accountName, CacheKey.accountName);\n }",
"void setAccountId(Long accountId);",
"public void setMoneyMarketAccount(BankAccount moneyMarketAcct) {\n this.moneyMarket = moneyMarketAcct;\n }",
"void setAccountNumber(java.lang.String accountNumber);",
"public void setAccount(String account) {\r\n\t\tthis.account = account;\r\n\t}",
"public SavingsAccount(double rate) //setting interest rate with constructor\r\n { \r\n interestRate = rate;\r\n }",
"public void setAccountName(String accountName){\n if(checkAccountClosed()){\n System.out.println(\"This transaction could not be processed. Please check your account status.\");\n }\n this.accountName = accountName;\n }",
"public void setAccountNo(String AccountNo) {\n super.setAccountNo(MPaymentValidate.checkNumeric(AccountNo));\n }",
"public void setCompany(final String value)\n\t{\n\t\tsetCompany( getSession().getSessionContext(), value );\n\t}",
"public void setAccount(String accountID) {\n this.account = accountID;\n }",
"public void setAccount(com.huawei.www.bme.cbsinterface.cbs.businessmgr.Account account) {\r\n this.account = account;\r\n }",
"public String getAccount(){\n\t\treturn account;\n\t}",
"public void setCompany(String company)\r\n {\r\n m_company = company;\r\n }",
"void updateAccount(Account account);",
"public String getAccount() {\r\n return account;\r\n }",
"public void setAccountService(AccountService accountService){\n this.accountService = accountService;\n }",
"public String getAccount() {\n return account;\n }",
"public String getAccount() {\n return account;\n }",
"public String getAccount() {\n return account;\n }",
"public String getAccount() {\n return account;\n }",
"public String getAccount() {\n return account;\n }",
"public String getAccount() {\n return account;\n }",
"public String getAccount() {\n return account;\n }",
"public String getAccount() {\n return account;\n }",
"public String getAccount() {\n return account;\n }",
"public String getAccount() {\n return account;\n }",
"public Builder setAccount(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n account_ = value;\n onChanged();\n return this;\n }",
"void setGetQuote(amdocs.iam.pd.pdwebservices.GetQuoteDocument.GetQuote getQuote);",
"public void setUserAccount(String userAccount) {\n sessionData.setUserAccount(userAccount);\n }",
"public void setGmailAccount(EmailVendor GmailAccount) {\r\n this.GmailAccount = GmailAccount;\r\n }",
"public void setAccount(String bank, String account)\n\t{\n\t\tbank = bank.trim().replaceAll(\" +\",\" \");\n\t\t\n\t\tif(account.length() == 19) //length of digits including hyphen(-)\n\t\t{\n\t\t this.account = MaskDigits.mask(account, \"xxxx-xxxx-xxxx-####\");\n\t\t}\n\t\tif(bank.equals(\"HSBC Canada\"))\n\t\t{\n\t\t\t\n\t\t\tthis.account = MaskDigits.mask(account, \"##xx-xxxx-xxxx-xxxx\");\n\t\t}\n\t\t\n\t\tif(bank.equals(\"Royal Bank of Canada\"))\n\t\t{\n\t\t\tthis.account = MaskDigits.mask(account, \"####-xxxx-xxxx-xxxx\");\n\t\t}\n\t\t\n\t\tif(bank.equals(\"American Express\"))\n\t\t{\n\t\t\tthis.account = MaskDigits.mask(account, \"xxxx-xxxx-xxxx-###\");\n\t\t}\n\t}",
"public void setAccountID(Long value) {\n this.accountID = value;\n }",
"public void setAccountID(Long value) {\n this.accountID = value;\n }",
"public String getAlipayAccount() {\n return alipayAccount;\n }",
"public String getAccount() {\r\n\t\treturn account;\r\n\t}",
"@Override\n\tpublic void updateStockAccountInfo(StockAccount account) {\n\t\t\n\t}",
"void setAuditingCompany(ch.crif_online.www.webservices.crifsoapservice.v1_00.CompanyBaseData auditingCompany);",
"void updateAccount();",
"public void setUWCompany(entity.UWCompany value);",
"void setCurrency(Currency currency);",
"public Builder setTradingAccount(\n String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000080;\n tradingAccount_ = value;\n onChanged();\n return this;\n }",
"public void setAccount(String account) {\r\n this.account = account == null ? null : account.trim();\r\n }",
"void setBank(shared.data.Bank bank);",
"public void setBasicAccount(BigDecimal basicAccount) {\r\n this.basicAccount = basicAccount;\r\n }",
"public void setJP_BankDataCustomerCode2 (String JP_BankDataCustomerCode2);",
"public synchronized void setAccountNumber(int number) {\n this.accountNumber = number;\n }",
"public void setAccount(String account) {\n this.account = account == null ? null : account.trim();\n }",
"public void setAccount(String account) {\n this.account = account == null ? null : account.trim();\n }",
"public void setAccount(String account) {\n this.account = account == null ? null : account.trim();\n }",
"public void setAccount(String account) {\n this.account = account == null ? null : account.trim();\n }",
"public void setAccount(String account) {\n this.account = account == null ? null : account.trim();\n }",
"public void setEbayAccount(String ebayAccount) {\r\n this.ebayAccount = ebayAccount == null ? null : ebayAccount.trim();\r\n }",
"public static void setUser(String user) {\n Account.user = user;\n }",
"public\n Account\n getAccount()\n {\n return itsAccount;\n }",
"@Override\r\n\tpublic void setTrade(Trade trade) {\n\t\t this.trade = trade;\r\n\t}",
"public int getBankAccount() {\n return bankAccount;\n }",
"public void setTrade(Trade t)\n\t{\n\t\tm_trade = t;\n\t}",
"public void setAccountDao(AccountDao accountDao) {\n this.accountDao = accountDao;\n }",
"public void setJP_BankDataCustomerCode1 (String JP_BankDataCustomerCode1);",
"void accountSet(boolean admin, String username, String password, String fName, String lName, int accountId);",
"public void setUserAccount(final UserAccount.Immutable userAccount) {\n this.userAccount = userAccount;\n }",
"public static void setpAccount(String pAccount) {\r\n\t\tFactExtractCloud.pAccount = pAccount;\r\n\t}",
"public void setAccountInfo(AccountInfo accountInfo) {\n this.accountInfo = accountInfo;\n }",
"public void setBP_BankAccount(MBPBankAccount ba) {\n log.fine(\"\" + ba);\n if (ba == null) {\n return;\n }\n setC_BPartner_ID(ba.getC_BPartner_ID());\n setAccountAddress(ba.getA_Name(), ba.getA_Street(), ba.getA_City(),\n ba.getA_State(), ba.getA_Zip(), ba.getA_Country());\n setA_EMail(ba.getA_EMail());\n setA_Ident_DL(ba.getA_Ident_DL());\n setA_Ident_SSN(ba.getA_Ident_SSN());\n //\tCC\n if (ba.getCreditCardType() != null) {\n setCreditCardType(ba.getCreditCardType());\n }\n if (ba.getCreditCardNumber() != null) {\n setCreditCardNumber(ba.getCreditCardNumber());\n }\n if (ba.getCreditCardExpMM() != 0) {\n setCreditCardExpMM(ba.getCreditCardExpMM());\n }\n if (ba.getCreditCardExpYY() != 0) {\n setCreditCardExpYY(ba.getCreditCardExpYY());\n }\n if (ba.getCreditCardVV() != null) {\n setCreditCardVV(ba.getCreditCardVV());\n }\n //\tBank\n if (ba.getAccountNo() != null) {\n setAccountNo(ba.getAccountNo());\n }\n if (ba.getRoutingNo() != null) {\n setRoutingNo(ba.getRoutingNo());\n }\n }",
"public void setAccountPassword(String value) {\n this.accountPassword = value;\n }",
"public SavingsAccount(String accNumber, String accName, double rate) {\n\t\tsuper(accNumber, accName);\n\t\tinterestRate = rate;\n\t}",
"public SavingsAccount(String n) {\n super(n); \n balance = 0;\n }",
"public BankAccount getMoneyMarketAccount() {\n return this.moneyMarket;\n }",
"public Account getAccount() {\n return account;\n }",
"public Account getAccount() {\n return account;\n }",
"public void setAmount(double amount) {\nloanAmount = amount;\n}",
"public void setAccountID(java.lang.Object accountID) {\n this.accountID = accountID;\n }",
"public void setBillingAddressInCart(Address addr);",
"public void setBankPassword(String value) {\n this.bankPassword = value;\n }",
"public void setAccountName(String accountName) {\n if (accountName != null) {\n this.accountName = accountName;\n }\n }"
]
| [
"0.6410657",
"0.6332185",
"0.6096598",
"0.59076345",
"0.58815926",
"0.58444697",
"0.5754183",
"0.56258863",
"0.5609586",
"0.55645365",
"0.5521196",
"0.5521012",
"0.55150294",
"0.5506554",
"0.55049115",
"0.5472377",
"0.5448158",
"0.53479177",
"0.5346722",
"0.5346722",
"0.5346722",
"0.5346722",
"0.5338839",
"0.5334362",
"0.53309906",
"0.5324288",
"0.5309125",
"0.5302111",
"0.52678484",
"0.52630246",
"0.5238679",
"0.5227614",
"0.5224636",
"0.5222056",
"0.52139604",
"0.5207183",
"0.5198219",
"0.5190973",
"0.5185018",
"0.518199",
"0.51599914",
"0.5138012",
"0.5138012",
"0.5138012",
"0.5138012",
"0.5138012",
"0.5138012",
"0.5138012",
"0.5138012",
"0.5138012",
"0.5138012",
"0.51348025",
"0.5133334",
"0.51306313",
"0.5129859",
"0.51275945",
"0.511166",
"0.511166",
"0.5091523",
"0.5082913",
"0.5075749",
"0.5051792",
"0.50390774",
"0.50305986",
"0.49817365",
"0.4980916",
"0.49791658",
"0.49744904",
"0.49640533",
"0.494612",
"0.4942343",
"0.4930947",
"0.4930947",
"0.4930947",
"0.4930947",
"0.4930947",
"0.49190858",
"0.4918475",
"0.49169996",
"0.48977336",
"0.48933712",
"0.48840177",
"0.48788",
"0.48743996",
"0.4869534",
"0.48681048",
"0.48676342",
"0.48648798",
"0.48304117",
"0.48284608",
"0.48265457",
"0.48251915",
"0.481729",
"0.48119876",
"0.48119876",
"0.481046",
"0.48065126",
"0.480336",
"0.47983584",
"0.479155"
]
| 0.82215554 | 0 |
Getter for GmailAccount property | public EmailVendor getGmailAccount() {
return GmailAccount;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getEmailAccount() {\n return emailAccount;\n }",
"public java.lang.String getAccount() {\n java.lang.Object ref = account_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n if (bs.isValidUtf8()) {\n account_ = s;\n }\n return s;\n }\n }",
"public String getGmailAddress() {\r\n return GmailAddress;\r\n }",
"java.lang.String getAccount();",
"public java.lang.String getAccount() {\n java.lang.Object ref = account_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n account_ = s;\n return s;\n }\n }",
"public java.lang.String getAccount() {\n java.lang.Object ref = account_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n account_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public java.lang.String getAccount() {\n java.lang.Object ref = account_;\n if (!(ref instanceof java.lang.String)) {\n java.lang.String s = ((com.google.protobuf.ByteString) ref)\n .toStringUtf8();\n account_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public net.nyhm.protonet.example.proto.AccountProto.Account getAccount() {\n if (accountBuilder_ == null) {\n return account_ == null ? net.nyhm.protonet.example.proto.AccountProto.Account.getDefaultInstance() : account_;\n } else {\n return accountBuilder_.getMessage();\n }\n }",
"public net.nyhm.protonet.example.proto.AccountProto.Account getAccount() {\n if (accountBuilder_ == null) {\n return account_ == null ? net.nyhm.protonet.example.proto.AccountProto.Account.getDefaultInstance() : account_;\n } else {\n return accountBuilder_.getMessage();\n }\n }",
"public String getAccount() {\n return account;\n }",
"public String getAccount() {\n return account;\n }",
"public String getAccount() {\n return account;\n }",
"public String getAccount() {\n return account;\n }",
"public String getAccount() {\n return account;\n }",
"public String getAccount() {\n return account;\n }",
"public String getAccount() {\n return account;\n }",
"public String getAccount() {\n return account;\n }",
"public String getAccount() {\n return account;\n }",
"public String getAccount() {\n return account;\n }",
"public String getAccount() {\r\n return account;\r\n }",
"public com.google.protobuf.ByteString\n getAccountBytes() {\n java.lang.Object ref = account_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n account_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"com.google.protobuf.ByteString\n getAccountBytes();",
"public com.google.protobuf.ByteString\n getAccountBytes() {\n java.lang.Object ref = account_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n account_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public String getAccount(){\n\t\treturn account;\n\t}",
"public com.google.protobuf.ByteString\n getAccountBytes() {\n java.lang.Object ref = account_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n account_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public com.google.protobuf.ByteString\n getAccountBytes() {\n java.lang.Object ref = account_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n account_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public String getAccount() {\r\n\t\treturn account;\r\n\t}",
"public net.nyhm.protonet.example.proto.AccountProto.Account getAccount() {\n return account_ == null ? net.nyhm.protonet.example.proto.AccountProto.Account.getDefaultInstance() : account_;\n }",
"public net.nyhm.protonet.example.proto.AccountProto.Account getAccount() {\n return account_ == null ? net.nyhm.protonet.example.proto.AccountProto.Account.getDefaultInstance() : account_;\n }",
"public\n Account\n getAccount()\n {\n return itsAccount;\n }",
"public String getGmail() {\n\t\treturn user.getAuthEmail();\n\t}",
"Account getAccount();",
"public net.nyhm.protonet.example.proto.AccountProto.AccountOrBuilder getAccountOrBuilder() {\n if (accountBuilder_ != null) {\n return accountBuilder_.getMessageOrBuilder();\n } else {\n return account_ == null ?\n net.nyhm.protonet.example.proto.AccountProto.Account.getDefaultInstance() : account_;\n }\n }",
"public net.nyhm.protonet.example.proto.AccountProto.AccountOrBuilder getAccountOrBuilder() {\n if (accountBuilder_ != null) {\n return accountBuilder_.getMessageOrBuilder();\n } else {\n return account_ == null ?\n net.nyhm.protonet.example.proto.AccountProto.Account.getDefaultInstance() : account_;\n }\n }",
"public net.nyhm.protonet.example.proto.AccountProto.AccountOrBuilder getAccountOrBuilder() {\n return account_ == null ? net.nyhm.protonet.example.proto.AccountProto.Account.getDefaultInstance() : account_;\n }",
"public net.nyhm.protonet.example.proto.AccountProto.AccountOrBuilder getAccountOrBuilder() {\n return account_ == null ? net.nyhm.protonet.example.proto.AccountProto.Account.getDefaultInstance() : account_;\n }",
"public Account getAccount() {\n return account;\n }",
"public Account getAccount() {\n return account;\n }",
"net.nyhm.protonet.example.proto.AccountProto.Account getAccount();",
"net.nyhm.protonet.example.proto.AccountProto.Account getAccount();",
"public Account getAccount() {\r\n\t\treturn account;\r\n\t}",
"public UserAccount.Immutable getUserAccount() {\n return this.userAccount;\n }",
"public String getAccount() {\n\t\treturn getUsername() + \":\" + getPassword() + \"@\" + getUsername();\n\t}",
"public abstract GDataAccount getAccount(String account) throws ServiceException;",
"public String getEmail()\r\n/* 31: */ {\r\n/* 32:46 */ return this.email;\r\n/* 33: */ }",
"public void setGmailAccount(EmailVendor GmailAccount) {\r\n this.GmailAccount = GmailAccount;\r\n }",
"public EmailVendor getWallaAccount() {\r\n return WallaAccount;\r\n }",
"java.lang.String getEmail();",
"java.lang.String getEmail();",
"java.lang.String getEmail();",
"java.lang.String getEmail();",
"java.lang.String getEmail();",
"java.lang.String getEmail();",
"String getEmail();",
"String getEmail();",
"String getEmail();",
"String getEmail();",
"String getEmail();",
"public java.lang.String getAccountId() {\n java.lang.Object ref = accountId_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n if (bs.isValidUtf8()) {\n accountId_ = s;\n }\n return s;\n }\n }",
"public java.lang.String getAccountId() {\n java.lang.Object ref = accountId_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n if (bs.isValidUtf8()) {\n accountId_ = s;\n }\n return s;\n }\n }",
"public java.lang.String getAccountId() {\n java.lang.Object ref = accountId_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n if (bs.isValidUtf8()) {\n accountId_ = s;\n }\n return s;\n }\n }",
"public com.huawei.www.bme.cbsinterface.cbs.businessmgr.Account getAccount() {\r\n return account;\r\n }",
"public String getAccountName() {\r\n return accountName;\r\n }",
"@gw.internal.gosu.parser.ExtendedProperty\n public java.lang.String getEmail() {\n return (java.lang.String)__getInternalInterface().getFieldValueForCodegen(EMAIL_PROP.get());\n }",
"java.lang.String getAccountId();",
"java.lang.String getAccountId();",
"java.lang.String getAccountId();",
"public String getAccountName() {\n return accountName;\n }",
"public String getAccountName() {\n return accountName;\n }",
"public String getAccountName() {\n return accountName;\n }",
"@Override\r\n\tpublic AccountDTO getAccount(String email) {\n\t\treturn accountDao.getAccount(email);\r\n\t}",
"public String getAccountName() {\n return this.accountName;\n }",
"public Email getEmail() { return this.email; }",
"public String getEmail()\n {\n return emailAddress;\n }",
"protected final Account getAccount() {\n\t\treturn getRegisterView().getAccount();\n\t}",
"public java.lang.Object getAccountID() {\n return accountID;\n }",
"GlAccount getGlAccount();",
"java.lang.String getLoginAccount();",
"java.lang.String getLoginAccount();",
"public interface EmailAccount extends GraphObject {\n\n\t/**\n\t * Get the email address associated with this account\n\t * \n\t * @return String The email address\n\t */\n\tpublic String getEmailAddress();\n\n\t/**\n\t * Set the email address associated with this account\n\t * \n\t * @param emailAddress String The email address. Cannot be <code>null</code> or an empty string\n\t */\n\tpublic void setEmailAddress(String emailAddress);\n}",
"BillingAccount getBillingAccount();",
"@gw.internal.gosu.parser.ExtendedProperty\n public java.lang.String getEmail() {\n return (java.lang.String)__getInternalInterface().getFieldValueForCodegen(EMAIL_PROP.get());\n }",
"public String getEmail() { return email; }",
"public java.lang.String getAccountId() {\n java.lang.Object ref = accountId_;\n if (!(ref instanceof java.lang.String)) {\n java.lang.String s = ((com.google.protobuf.ByteString) ref)\n .toStringUtf8();\n accountId_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public java.lang.String getAccountId() {\n java.lang.Object ref = accountId_;\n if (!(ref instanceof java.lang.String)) {\n java.lang.String s = ((com.google.protobuf.ByteString) ref)\n .toStringUtf8();\n accountId_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public java.lang.String getAccountId() {\n java.lang.Object ref = accountId_;\n if (!(ref instanceof java.lang.String)) {\n java.lang.String s = ((com.google.protobuf.ByteString) ref)\n .toStringUtf8();\n accountId_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public FileStorageAccount getAccount() {\n return account;\n }",
"public String getEmail() {return email; }",
"public String getUserAccount() {\n return sessionData.getUserAccount();\n }",
"public String getEmail()\r\n {\r\n return email;\r\n }",
"@JsonProperty(\"serviceAccountEmail\")\n public String getServiceAccountEmail() {\n return serviceAccountEmail;\n }",
"public String getAccountId() {\n return accountId;\n }",
"public String getAccountId() {\n return accountId;\n }",
"net.nyhm.protonet.example.proto.AccountProto.AccountOrBuilder getAccountOrBuilder();",
"net.nyhm.protonet.example.proto.AccountProto.AccountOrBuilder getAccountOrBuilder();",
"public String getEmail(){\r\n return this.email;\r\n }",
"public String getEmailAddress()\r\n {\r\n return emailAddress;\r\n }",
"java.lang.String getAccountNumber();",
"public java.lang.String getAccountNumber() {\r\n return accountNumber;\r\n }",
"public synchronized String getMail()\r\n {\r\n return mail;\r\n }"
]
| [
"0.7388928",
"0.70893234",
"0.7063353",
"0.7044848",
"0.70427805",
"0.70062417",
"0.6998758",
"0.6987447",
"0.6987447",
"0.692716",
"0.692716",
"0.692716",
"0.692716",
"0.692716",
"0.692716",
"0.692716",
"0.692716",
"0.692716",
"0.692716",
"0.6904987",
"0.6825656",
"0.67934287",
"0.67720306",
"0.6769851",
"0.67679185",
"0.67617756",
"0.6756736",
"0.6740522",
"0.6740522",
"0.67310184",
"0.6726316",
"0.67237127",
"0.6703319",
"0.6703319",
"0.6594224",
"0.6594224",
"0.6589499",
"0.6589499",
"0.6541466",
"0.6541466",
"0.65161836",
"0.6480138",
"0.6441389",
"0.64363885",
"0.641016",
"0.63663894",
"0.6321609",
"0.63210475",
"0.63210475",
"0.63210475",
"0.63210475",
"0.63210475",
"0.63210475",
"0.6302907",
"0.6302907",
"0.6302907",
"0.6302907",
"0.6302907",
"0.62911713",
"0.62911713",
"0.62911713",
"0.6281777",
"0.62797",
"0.6276781",
"0.6274862",
"0.6274862",
"0.6274862",
"0.62663954",
"0.62663954",
"0.62663954",
"0.6258786",
"0.6254392",
"0.624961",
"0.6247871",
"0.62297267",
"0.62282145",
"0.622365",
"0.6218974",
"0.6218974",
"0.6218502",
"0.6208457",
"0.62070334",
"0.61916965",
"0.6190161",
"0.6190161",
"0.6190161",
"0.61672896",
"0.61659193",
"0.6156484",
"0.6152287",
"0.61496544",
"0.6146178",
"0.6146178",
"0.6138176",
"0.6138176",
"0.61264265",
"0.6123873",
"0.6123125",
"0.6117048",
"0.6116311"
]
| 0.7900886 | 0 |
Setter for Gmail account vendor | public void setGmailAccount(EmailVendor GmailAccount) {
this.GmailAccount = GmailAccount;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public EmailVendor getGmailAccount() {\r\n return GmailAccount;\r\n }",
"public void setVendor(String vendor) {\n this.vendor = vendor;\n }",
"public void setVendor(String vendor) {\n this.vendor = vendor;\n }",
"public void setVendor(String vendor) {\n this.vendor = vendor;\n }",
"public String getVendor() {\n return vendor;\n }",
"public String getVendor() {\n return vendor;\n }",
"public String getVendor() {\n return vendor;\n }",
"public String getVendor()\r\n {\r\n return vendor;\r\n }",
"public void setWallaAccount(EmailVendor wallaAccount) {\r\n WallaAccount = wallaAccount;\r\n }",
"public String vendor() {\n return this.vendor;\n }",
"public void setYahooAccount(EmailVendor yahooAccount) {\r\n YahooAccount = yahooAccount;\r\n }",
"public void setEmailCom(String emailCom);",
"public String getVendorName() {\r\n return vendorName;\r\n }",
"public final void setVendorId(String vendorId){\n peripheralVendorId = vendorId;\n }",
"public void setVendorValue(int vendorValue)\r\n {\r\n\tthis.vendorValue = vendorValue;\r\n }",
"public EmailVendor getWallaAccount() {\r\n return WallaAccount;\r\n }",
"public void setVendor(Vendor vendor) {\n this.setConfig(this.getConfig().toBuilder().setVendor(RobotProto.MotorConfig.Vendor.valueOf(vendor.toString())).build());\n }",
"private void setDeviceVendor() {\n addToMobileContext(Parameters.DEVICE_MANUFACTURER, android.os.Build.MANUFACTURER);\n }",
"static String getVendor() {return glVendor;}",
"public CimString getVendorUrl() {\n return vendorUrl;\n }",
"public void SetAddress(EmailVendor Gmail, EmailVendor Yahoo, EmailVendor Walla) \r\n {\r\n setGmailAccount(Gmail);\r\n setGmailAddress(Name.concat(this.GmailAccount.getPostFix()));\r\n\r\n setWallaAccount(Walla);\r\n setWallaMailAddress(Name.concat(this.WallaAccount.getPostFix()));\r\n\r\n setYahooAccount(Yahoo);\r\n setYahooMailAddress(Name.concat(this.YahooAccount.getPostFix()));\r\n }",
"public MsgType getVendor() {\n return vendor;\n }",
"void setVendorManagerFilePath(Path vendorManagerFilePath);",
"public int getVendorValue()\r\n {\r\n\treturn vendorValue;\r\n }",
"@Override\n public void setEmail(String email) {\n\n }",
"public String getDbVendor() {\n return dbVendor;\n }",
"public Builder setCouponVendor(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n couponVendor_ = value;\n onChanged();\n return this;\n }",
"public void setEmail(String email)\r\n/* 36: */ {\r\n/* 37:50 */ this.email = email;\r\n/* 38: */ }",
"public Vendor retrieveVendor() {\n return vendor;\n }",
"public String getJavaVendor() {\r\n\t\treturn javaVendor;\r\n\t}",
"public void setEmail(Email email) { this.email = email; }",
"void setEmail(String email);",
"void setEmail(String email);",
"@JsonProperty(\"vendorName\")\r\n public void setVendorName(String vendorName) {\r\n this.vendorName = vendorName;\r\n }",
"public void setEmail_address(String email_address);",
"@Override\r\n\tpublic String updateVendor(Vendor v) {\n\t\treturn dao.updateVendorDetails(v);\r\n\t}",
"public Builder setCouponVendorBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n checkByteStringIsUtf8(value);\n \n couponVendor_ = value;\n onChanged();\n return this;\n }",
"void setDevkey(String devkey);",
"public void setEmailAddressOfCustomer(final SessionContext ctx, final String value)\n\t{\n\t\tsetProperty(ctx, EMAILADDRESSOFCUSTOMER,value);\n\t}",
"public short getIdVendor() {\r\n\t\treturn idVendor;\r\n\t}",
"public com.google.protobuf.ByteString\n getCouponVendorBytes() {\n java.lang.Object ref = couponVendor_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n couponVendor_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public final String getVendorId(){\n return peripheralVendorId;\n }",
"public String getEmailAccount() {\n return emailAccount;\n }",
"public void setEmailAddress(String emailAddress);",
"public com.google.protobuf.ByteString\n getCouponVendorBytes() {\n java.lang.Object ref = couponVendor_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n couponVendor_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public void setGmailAddress(String gmailAddress) {\r\n GmailAddress = gmailAddress;\r\n }",
"public java.lang.String getCouponVendor() {\n java.lang.Object ref = couponVendor_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n couponVendor_ = s;\n return s;\n }\n }",
"public java.lang.String getCouponVendor() {\n java.lang.Object ref = couponVendor_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n couponVendor_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public void setEmailAddressOfCustomer(final String value)\n\t{\n\t\tsetEmailAddressOfCustomer( getSession().getSessionContext(), value );\n\t}",
"public void setUserEmail(String userEmail) {\r\n this.userEmail = userEmail;\r\n }",
"public void setEmailAddress(java.lang.String newEmailAddress);",
"public AdobeVendorID(\n final String in_value)\n {\n this.value = Objects.requireNonNull(in_value);\n }",
"@Accessor(qualifier = \"voucherCode\", type = Accessor.Type.SETTER)\n\tpublic void setVoucherCode(final String value)\n\t{\n\t\tgetPersistenceContext().setPropertyValue(VOUCHERCODE, value);\n\t}",
"public void setEmail(String email);",
"public void setContact(String email){ contact = email; }",
"public void setAccountId(String s) { accountId = s;}",
"private String getVendorString(String forUk, String forUs) {;\r\n\t\treturn forUk;\r\n\t}",
"public void setUserId(){\n AdGyde.setClientUserId(\"ADG1045984\");\n Toast.makeText(this, \"UserId = ADG1045984\", Toast.LENGTH_SHORT).show();\n }",
"public static void saveCustom(Vendor vendor, HttpServletRequest request,\n SessionManager sessionMgr)\n {\n FieldSecurity fs = (FieldSecurity) sessionMgr\n .getAttribute(VendorConstants.FIELD_SECURITY_CHECK_PROJS);\n if (fs != null)\n {\n String access = fs.get(VendorSecureFields.CUSTOM_FIELDS);\n if (\"hidden\".equals(access) || \"locked\".equals(access))\n {\n return;\n }\n }\n Hashtable fields = vendor.getCustomFields();\n if (fields == null)\n {\n fields = new Hashtable();\n }\n ArrayList list = CustomPageHelper.getCustomFieldNames();\n for (int i = 0; i < list.size(); i++)\n {\n String key = (String) list.get(i);\n String value = (String) request.getParameter(key);\n if (value == null)\n {\n fields.remove(key);\n }\n else\n {\n // if already in the list\n CustomField cf = (CustomField) fields.get(key);\n if (cf != null)\n {\n cf.setValue(value);\n }\n else\n {\n cf = new CustomField(key, value);\n }\n fields.put(key, cf);\n\n }\n }\n vendor.setCustomFields(fields);\n }",
"public void setFromEmailAddress(String fromEmailAddress);",
"@JsonProperty(\"vendorName\")\r\n public String getVendorName() {\r\n return vendorName;\r\n }",
"public Builder setUserEmail(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000004;\n userEmail_ = value;\n onChanged();\n return this;\n }",
"public String getGmailAddress() {\r\n return GmailAddress;\r\n }",
"java.lang.String getCouponVendor();",
"public void setEmail(java.lang.String value) {\n __getInternalInterface().setFieldValueForCodegen(EMAIL_PROP.get(), value);\n }",
"public void setMailShareholder(String mailShareholder);",
"public void setAccountNo (String AccountNo);",
"public void set_email(String Email)\n {\n email =Email;\n }",
"public void setEmail(final String value)\n\t{\n\t\tsetEmail( getSession().getSessionContext(), value );\n\t}",
"public void setEmail(final String value)\n\t{\n\t\tsetEmail( getSession().getSessionContext(), value );\n\t}",
"public void setEmail(final SessionContext ctx, final String value)\n\t{\n\t\tsetProperty(ctx, EMAIL,value);\n\t}",
"public void setEmail(final SessionContext ctx, final String value)\n\t{\n\t\tsetProperty(ctx, EMAIL,value);\n\t}",
"private RLabel getJavaVendorLabel() {\n if (javaVendorLabel == null) {\n javaVendorLabel = new RLabel();\n javaVendorLabel.setText(\"<%= ivy.cms.co(\\\"/Dialogs/about/javaVendor\\\") %>\");\n javaVendorLabel.setStyleProperties(\"{/insetsTop \\\"2\\\"}\");\n javaVendorLabel.setName(\"javaVendorLabel\");\n }\n return javaVendorLabel;\n }",
"public Builder setUserEmailBytes(\n com.google.protobuf.ByteString value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000004;\n userEmail_ = value;\n onChanged();\n return this;\n }",
"public void setEmail(String email) { this.email = email; }",
"public void setEmail(java.lang.String value) {\n __getInternalInterface().setFieldValueForCodegen(EMAIL_PROP.get(), value);\n }",
"public String getVendor() {\n\tSystem.out.println(\"MANIFEST_INFO: \"+MANIFEST_INFO);\n\treturn MANIFEST_INFO.getImplVendor();\n\t//return this.getClass().getPackage().getImplementationVendor();\n }",
"public void setEmailAddress(java.lang.CharSequence value) {\n this.email_address = value;\n }",
"@AutoEscape\n\tpublic String getEmailCom();",
"@Override\r\n public void onUserSet(GenericDevice dev, PDeviceHolder devh, PUserHolder us) {\n\r\n }",
"public void setCompany(String company)\r\n {\r\n m_company = company;\r\n }",
"public void setUserEmail(java.lang.String userEmail) {\r\n this.userEmail = userEmail;\r\n }",
"public void setEmail(java.lang.String param) {\n localEmailTracker = true;\n\n this.localEmail = param;\n }",
"public void setEmailAddress(String email_address){\n this.email_address = email_address;\n }",
"public\n void\n setAccount(Account account)\n {\n itsAccount = account;\n }",
"public org.xms.g.common.AccountPicker.AccountChooserOptions.Builder setSelectedAccount(android.accounts.Account param0) {\n throw new java.lang.RuntimeException(\"Not Supported\");\n }",
"public Builder setAccount(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n bitField0_ |= 0x00000002;\n account_ = value;\n onChanged();\n return this;\n }",
"@Override\npublic String getUsername() {\n\treturn email;\n}",
"public String getEmail() {return email;}",
"public TVendor(Long id) {\r\n\t\tthis.id = id;\r\n\t}",
"com.google.protobuf.ByteString\n getCouponVendorBytes();",
"public String getEmail() { return email; }",
"public void setEmail(String aEmail) {\n email = aEmail;\n }",
"public String getCustomerEmailAddress() { return customerEmailAddress; }",
"public void setEmailAddress(EmailType newEmailAddress) {\n _emailAddress = newEmailAddress;\n }",
"public void setNewsletterCode(String v) \n {\n \n if (!ObjectUtils.equals(this.newsletterCode, v))\n {\n this.newsletterCode = v;\n setModified(true);\n }\n \n \n }",
"public String chaveSecundaria(){\r\n return this.email;\r\n }",
"public void setUWCompany(entity.UWCompany value);",
"public String getEmail() {return email; }",
"public void setSMTP_ADDR(java.lang.String value)\n {\n if ((__SMTP_ADDR == null) != (value == null) || (value != null && ! value.equals(__SMTP_ADDR)))\n {\n _isDirty = true;\n }\n __SMTP_ADDR = value;\n }"
]
| [
"0.73144174",
"0.69320583",
"0.69320583",
"0.69320583",
"0.6746749",
"0.6746749",
"0.6746749",
"0.67298263",
"0.66135544",
"0.6570526",
"0.6375043",
"0.6300242",
"0.61310464",
"0.6083244",
"0.6006009",
"0.59921694",
"0.59851635",
"0.59133625",
"0.59116834",
"0.58849716",
"0.5852626",
"0.58430994",
"0.58108664",
"0.5806963",
"0.57712823",
"0.57333076",
"0.57330936",
"0.5677281",
"0.5669992",
"0.565489",
"0.56130886",
"0.5612888",
"0.5612888",
"0.5589792",
"0.55789536",
"0.5541112",
"0.55391115",
"0.55371934",
"0.5513707",
"0.55006677",
"0.5493829",
"0.54696876",
"0.5469169",
"0.54616225",
"0.5444974",
"0.54389054",
"0.5433753",
"0.5433325",
"0.5429622",
"0.54288036",
"0.5426129",
"0.5410822",
"0.540603",
"0.5397969",
"0.5397621",
"0.5368288",
"0.534627",
"0.53455406",
"0.5340785",
"0.5339537",
"0.5323855",
"0.5293664",
"0.5239252",
"0.52363014",
"0.5234205",
"0.5222987",
"0.51925707",
"0.5161891",
"0.5158826",
"0.5158826",
"0.5158342",
"0.5158342",
"0.5142875",
"0.51375306",
"0.51366377",
"0.51358175",
"0.5135542",
"0.5133556",
"0.51324683",
"0.5123931",
"0.5120816",
"0.51182806",
"0.51147264",
"0.51112926",
"0.5094721",
"0.50747013",
"0.5065139",
"0.5050736",
"0.5046598",
"0.50429887",
"0.5039333",
"0.50385886",
"0.5037838",
"0.5032315",
"0.502927",
"0.5020466",
"0.5018595",
"0.50145864",
"0.5006341",
"0.5002782"
]
| 0.77429855 | 0 |
Store previous handle so we can go back to it | public WebWindow createNewWindow(String URL) {
String prev = driver.getWindowHandle();
Set<String> oldSet = driver.getWindowHandles();
driver.switchTo().window(newPageHandle);
newPage.click();
Set<String> newSet = driver.getWindowHandles();
newSet.removeAll(oldSet);
String handle = newSet.iterator().next();
driver.switchTo().window(handle);
driver.get(URL);
WebWindow w = new WebWindow(driver, handle);
if(domainName != null && !domainName.equals(w.getDomainName())) {
driver.close();
driver.switchTo().window(prev);
return null;
}
allWindows.add(w);
newWindows.add(w);
driver.switchTo().window(prev);
return w;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setCurrentHandle( byte[] currentHandle );",
"public void back() {\n //noinspection ResultOfMethodCallIgnored\n previous();\n }",
"public long getHandle() {\n if (this.cleanedUp) {\n throw new IllegalStateException(\"Tried fetch handle for cleaned up swapchain!\");\n }\n return this.swapchain;\n }",
"public void syncHandle() {\n syncOldStream();\n }",
"public void prev()\n {\n if (mHistoryIdx == 0) {\n return;\n }\n\n mCommandList.get(--mHistoryIdx).undo();\n this.setChanged();\n this.notifyObservers(mHistoryIdx);\n }",
"public synchronized void back ()\n\t// one move up\n\t{\n\t\tState = 1;\n\t\tgetinformation();\n\t\tgoback();\n\t\tshowinformation();\n\t\tcopy();\n\t}",
"private void handleActionBack() {\n RecipeAPI.DecreaseRecipeNo();\n updateAllWidgets();\n }",
"private void backObject() {\n\t\tif(this.curr_obj != null) {\n this.curr_obj.uMoveToBack();\n }\n\t}",
"@Override\n public final void switchBack() {\n }",
"private void previousButtonMouseClicked(java.awt.event.MouseEvent evt) {\n if(previousButton.isEnabled() == false || checkUpdateInventoryError() == true) return;\n recordChanged();\n current --;\n displayCurrentStock();\n }",
"public void previous();",
"Object previous();",
"public byte[] getCurrentHandle();",
"private void Back() {\n this.dispose();\n tmrTime.stop();\n }",
"private void prevHistoryEntry()\n {\n if (this.historyPos > 0) {\n this.historyPos--;\n this.textInput.setText(this.history.get(this.historyPos));\n this.textInput.setSelection(this.history.get(this.historyPos).length());\n }\n }",
"public void previous() {\n if (hasPrevious()) {\n setPosition(position - 1);\n }\n }",
"public static void previous() {\n\t\tsendMessage(PREVIOUS_COMMAND);\n\t}",
"public void previous()\n {\n if (size != 0)\n {\n current = current.previous();\n }\n\n }",
"public int getHandle() {\n return handle_;\n }",
"public int getHandle() {\n return handle_;\n }",
"public int getHandle() {\n return handle_;\n }",
"@Override\n protected void handleImput() {\n buttonBack.getButton().addListener(new ChangeListener() {\n @Override\n public void changed(ChangeEvent event, Actor actor) {\n if(!buttonLocker) {\n gsm.pop();\n gsm.push(new MenuState(gsm));\n buttonLocker = true;\n }\n }\n });\n if (Gdx.input.isKeyJustPressed(Input.Keys.BACK)){\n gsm.pop();\n gsm.push(new MenuState(gsm));\n }\n }",
"public void setPrevious()\n {\n\tint currentIndex = AL.indexOf(currentObject);\n\t currentObject = AL.get(currentIndex -1);\n\t\n\t// never let currentNode be null, wrap to head\n\tif (currentObject == null)\n\t\tcurrentObject = lastObject;\n }",
"public int getHandle() {\n return m_handle;\n }",
"protected void restoreLastState() {\n\t\tInteger ii = Accessors.INT_ACCESSOR.get(\"numberOfFiles\");\n\t\tif(ii == null)\n\t\t\tii = 0;\n\t\tint jj = 0;\n\t\t\n\t\tFile file;\n\t\twhile(jj < ii) {\n\t\t\tfile = new File(Preference.PREFERENCES_NODE.get(\"editSession\" + ++jj, \"\"));\n\t\t\topen(file);\n\t\t}\n\t}",
"public void handlePrevCode() {\n int prev = currentIndex - 1;\n if (prev < 0) prev = codeCount-1;\n setCurrentCode(prev);\n }",
"public synchronized void associateHandle() {\n JCublas2.cublasSetStream(handle,oldStream);\n }",
"public int getHandle() {\n return handle_;\n }",
"public int getHandle() {\n return handle_;\n }",
"public int getHandle() {\n return handle_;\n }",
"public void back() {\n\t\tstate.back();\n\t}",
"void prevSet(Entry e) {\r\n\t\t\tprev = e;\r\n\t\t}",
"public void prev();",
"public T previous()\n {\n // TODO: implement this method\n return null;\n }",
"protected void handleBack(ActionEvent event) {\n\t}",
"public void skipToPrevious() {\n try {\n mSessionBinder.previous(mContext.getPackageName(), mCbStub);\n } catch (RemoteException e) {\n Log.wtf(TAG, \"Error calling previous.\", e);\n }\n }",
"private void rememberState() {\n int size = pageHistory.size();\n for ( int i = historyCursor + 1; i < size; i++ ) {\n pageHistory.remove( historyCursor + 1 );\n }\n // Add current state to history if different from current one\n PageState newState = new PageState();\n if ( historyCursor < 0 || !pageHistory.get( historyCursor ).equals( newState ) ) {\n pageHistory.add( newState );\n historyCursor = pageHistory.size() - 1;\n }\n }",
"public int getHandle()\n\t{\n\t\treturn mHandle;\n\t}",
"private int previousSong() {\n if (playListAdapter != null) {\n playListAdapter.clickPreviousNext(1);\n }\n serviceBound = false;\n player.stopMedia();\n if (currentSong > 0) {\n currentSong--;\n }\n return currentSong;\n }",
"public void undoLastCapturedPhoto() {\n\t\t\n\t}",
"public State getPreviousState()\r\n\t{\r\n\t\treturn previousState;\r\n\t}",
"@Override\n\tpublic Menu previousMenu() {\n\t\treturn prevMenu;\n\t}",
"@Override\n public void onBackPressed( ) {\n update_storage( );\n super.onBackPressed( );\n }",
"public void lockBack()\n {\n m_bBackLock = true;\n }",
"int getHandle();",
"int getHandle();",
"int getHandle();",
"private void prevAddress(){\n\t\tif (this.addressIndex <= 0){\n\t\t\t this.addressIndex = this.addresses.length -1; \n\t\t\t}\n\t\t\telse{\n\t\t\t\tthis.addressIndex--;\n\t\t\t}\n\t\tthis.displayServer = this.addresses[addressIndex];\n\t\t\n\t}",
"public void back () {\r\n if (backHistory.size() > 1) {\r\n forwardHistory.addFirst(current);\r\n current = backHistory.getLast();\r\n backHistory.removeLast();\r\n }\r\n }",
"@Override\n public void handleOnBackPressed() {\n }",
"public String getHandle() {\r\n return handle;\r\n }",
"public void goBack() {\n setEditor(currentEditor.getParentEditor());\n }",
"@Override\r\n\tpublic void getWindowHandle() {\n\t\t\r\n\t}",
"private void backButton() {\n navigate.goPrev(this.getClass(), stage);\n }",
"protected void restoreSelf() {\n if (removed && parentNode != null && componentNode != null) {\n // Add self back BEFORE sibling (keeps original order)\n parentNode.insertBefore(componentNode, siblingNode);\n // Reset removed flag\n removed = false;\n }\n }",
"@Override\n public void goBack() {\n\n }",
"public void setPreviousState(State prevState)\r\n\t{\r\n\t\tthis.previousState = new State();\r\n\t\tthis.previousState = prevState;\r\n\t}",
"public void prevSlide() {\n\t\tif (currentSlideNumber > 0) {\n\t\t\tsetSlideNumber(currentSlideNumber - 1);\n\t }\n\t}",
"public ExtremeEntry previous() {\n\n\t\tsetLastReturned(getLastReturned().getPrevious());\n//\t\tnextIndex--;\n\t\tcheckForComodification();\n\t\treturn getLastReturned();\n\t}",
"@Override\r\n\tpublic void onBackPressed() {\n\t\tbackButtonHandler();\r\n\t\treturn;\r\n\t}",
"private void previous() {\n Timeline currentTimeline = simpleExoPlayerView.getPlayer().getCurrentTimeline();\n if (currentTimeline.isEmpty()) {\n return;\n }\n int currentWindowIndex = simpleExoPlayerView.getPlayer().getCurrentWindowIndex();\n\n Timeline.Window currentWindow = currentTimeline.getWindow(currentWindowIndex, new Timeline.Window());\n if (currentWindowIndex > 0 && (player.getCurrentPosition() <= MAX_POSITION_FOR_SEEK_TO_PREVIOUS\n || (currentWindow.isDynamic && !currentWindow.isSeekable))) {\n player.seekTo(currentWindowIndex - 1, C.TIME_UNSET);\n } else {\n player.seekTo(0);\n }\n }",
"Handle newHandle();",
"public void onRestorePendingState() {\n }",
"public void previousSolution() {\r\n\t\tif (solutionIndex > 0) {\r\n\t\t\tsolutionIndex--;\r\n\t\t\tcreateObjectDiagram(solutions.get(solutionIndex));\r\n\t\t} else {\r\n\t\t\tLOG.info(LogMessages.pagingFirst);\r\n\t\t}\r\n\t}",
"public void MovePrevious()\r\n {\r\n\r\n \t try{\r\n \t\t if(!rsTution.previous())rsTution.first();\r\n \t\t Display();\r\n\r\n\r\n \t }catch(SQLException sqle)\r\n \t {System.out.println(\"MovePrevious Error:\"+sqle);}\r\n }",
"public String getHandle() {\n return this.handle;\n }",
"public void goBackToPreviousScene() {\n\n scenesSeen.pop();\n currentScene = scenesSeen.peek();\n\n this.window.setScene(currentScene.createAndReturnScene());\n }",
"public static Previous getPreviousWindow() {\n\t\treturn previousWindow;\n\t}",
"public void previous() {\n if (highlight.getMatchCount() > 0) {\n Point point = highlight.getPreviousMatch(cursor.getY(), cursor.getX());\n if (point != null) {\n cursor.moveTo(point);\n }\n return;\n }\n Point point = file.getPreviousModifiedPoint(cursor.getY(), cursor.getX());\n if (point != null) {\n cursor.moveTo(point);\n }\n }",
"@Override\n public void undo() {\n Memento temp = createMemento();\n memento.restore();\n memento = temp;\n }",
"private void onBack(McPlayerInterface player, GuiSessionInterface session, ClickGuiInterface gui)\r\n {\r\n session.setNewPage(this.prevPage);\r\n }",
"public void outputPrev() {\n --this.currentIndex;\n this.currentChName = this.operOutHeaders.get(this.currentIndex);\n }",
"public void rollback() {\r\n info.setIcon(lastIcon);\r\n info.setText(lastInfo);\r\n }",
"@Override\n public int previousIndex()\n {\n return idx-1;\n }",
"public ImageObj prevImage() {\n if (position != 0) {\n position--;\n }\n else {\n position = model.getImageList().size() - 1;\n }\n\n return model.getImageList().get(position);\n }",
"void previous() throws NoSuchRecordException;",
"private void backJButton1ActionPerformed(java.awt.event.ActionEvent evt) {\n\n userProcessContainer.remove(this);\n CardLayout layout = (CardLayout) userProcessContainer.getLayout();\n layout.previous(userProcessContainer);\n }",
"private void btnBackActionPerformed(java.awt.event.ActionEvent evt) {\n userProcessContainer.remove(this);\n Component[] componentArray = userProcessContainer.getComponents();\n Component component = componentArray[componentArray.length - 1];\n SelectNetworkForm panel = (SelectNetworkForm) component;\n panel.populateNetwork();\n CardLayout layout = (CardLayout) userProcessContainer.getLayout();\n layout.previous(userProcessContainer);\n }",
"@Override\r\n\tpublic void onBackPressed() {\n\t\tgame.getController().undoLastMove();\r\n\t}",
"@Override\r\n\tpublic String prev() {\n\t\tString pre;\r\n\r\n\t\tpre = p.getPrev();\r\n\r\n\t\tif (pre != null) {\r\n\t\t\tthisPrevious = true;\r\n\t\t\tinput(pre);\r\n\t\t}\r\n\t\treturn pre;\r\n\t}",
"public void previousSlide() {\r\n\t\tpresentation.prevSlide();\r\n\t}",
"@Override\n public void onBackPressed() {\n NewNoteInput note = serializeContent();\n QueryService.awaitInstance(service -> {\n runOnUiThread(() -> {\n if (mCtx == Context.CREATE) {\n createNote(note, service);\n } else {\n updateNote(note, service);\n }\n });\n });\n\n super.onBackPressed();\n }",
"@Override\n\t\tpublic boolean handleBackPressed() {\n\t\t\treturn false;\n\t\t}",
"private void transport_previousSong() {\n if (thisSong.getTrackNumber() != 1) {\n // The list positions are unintuitive in this method because\n // the thisAlbum List is 0-based but the track numbers are 1-based\n thisSong = thisAlbum.get(thisSong.getTrackNumber() - 2);\n timerStop();\n setViewsForCurrentSong();\n setStyle_ofTransportControls();\n transport_play();\n }\n }",
"@Override\n protected boolean canGoBack() {\n return false;\n }",
"@Override\n\t\tpublic int previousIndex() {\n\t\t\treturn 0;\n\t\t}",
"@Override\r\n public int previousIndex() {\r\n if (previous == null) {\r\n return -1;\r\n }\r\n return previousIndex;\r\n }",
"private native void finaliseHandle();",
"private void previous() {\n if (position > 0) {\n Player.getInstance().stop();\n\n // Set a new position:w\n --position;\n\n ibSkipNextTrack.setImageDrawable(getResources()\n .getDrawable(R.drawable.ic_skip_next_track_on));\n\n try {\n Player.getInstance().play(tracks.get(position));\n } catch (IOException playerException) {\n playerException.printStackTrace();\n }\n\n setImageDrawable(ibPlayOrPauseTrack, R.drawable.ic_pause_track);\n setCover(Player.getInstance().getCover(tracks.get(position), this));\n\n tvTrack.setText(tracks.get(position).getName());\n tvTrackEndTime.setText(playerUtils.toMinutes(Player.getInstance().getTrackEndTime()));\n }\n\n if (position == 0) {\n setImageDrawable(ibSkipPreviousTrack, R.drawable.ic_skip_previous_track_off);\n }\n }",
"@ActionTrigger(action=\"KEY-PRVREC\", function=KeyFunction.PREVIOUS_RECORD)\n\t\tpublic void spriden_PreviousRecord()\n\t\t{\n\t\t\t\n\t\t\t\tpreviousRecord();\n\t\t\t\t// \n\t\t\t\t\n\t\t\t\ttry { \n\t\t\t\t\tMessageServices.setMessageLevel(OracleMessagesLevel.decodeMessageLevel(5));\n\t\t\t\t// \n\t\t\t\tnextBlock();\n\t\t\t\tnextBlock();\n\t\t\t\texecuteQuery();\n\t\t\t\tnextBlock();\n\t\t\t\texecuteQuery();\n\t\t\t\tnextBlock();\n\t\t\t\texecuteQuery();\n\t\t\t\tpreviousBlock();\n\t\t\t\tpreviousBlock();\n\t\t\t\tpreviousBlock();\n\t\t\t\tpreviousBlock();\n\t\t\t\t// \n\t\t\t\t\n\t\t\t\t} finally {\n\t\t\t\t\t\t\t\n\t\t\t\t\tMessageServices.setMessageLevel(OracleMessagesLevel.decodeMessageLevel(0));\n\t\t\t\t}\n\t\t\t\t\t\t\t\n\t\t\t}",
"@Override\n\tpublic void onBackPressed() {\n\t\tupdata();\n\t\tsuper.onBackPressed();\n\t}",
"@Override\n public void onBackPressed() {\n replaceUseCase(meetingManager);\n replaceUseCase(traderManager);\n super.onBackPressed();\n }",
"public void prev() {\n\t\tsynchronized (this) {\n\t\t\tint pos = getPreShuffledPos();\n\t\t\tif (pos > 0) {\n\t\t\t\tmPlayPos = mPlayOrder[pos - 1];\n\t\t\t} else {\n\t\t\t\tmPlayPos = mPlayOrder[mPlayListLen - 1];\n\t\t\t}\n\t\t\tstop(false);\n\t\t\tprepareAndPlayCurrent();\n\t\t}\n\t}",
"private void previousQuestion()\r\n {\r\n Intent question = new Intent(AnswerActivity.this, QuestionActivity.class);\r\n Bundle bundle = new Bundle();\r\n bundle.putIntArray(QuestionActivity.FLASH_CARD_ARRAY, intArray);\r\n bundle.putInt(QuestionActivity.NUMBER_OF_FLASH_CARDS, numberOfFlashCards);\n bundle.putBoolean(PREVIOUS_QUESTION, true); \r\n bundle.putInt(QuestionActivity.CURRENT_INDEX, currentIndex);\r\n question.putExtras(bundle);\r\n startActivity(question);\r\n overridePendingTransition(R.anim.fade, R.anim.hold);\n finish();\r\n }",
"@Override\n public void onRestate() {\n }",
"public int previousIndex() {\r\n \treturn index - 1; \r\n }",
"public T prev() {\n cursor = ((Entry<T>) cursor).prev;\n ready = true;\n return cursor.element;\n }",
"public void back()\r\n\t{\r\n\t\tparentPanel.setState(GameState.Menu);\r\n parentPanel.initScene(GameState.Menu);\r\n\t\t\t\r\n\t}",
"@Override\n public void close() {\n restore();\n }",
"public void previousRecord( View v){\n// \tClear out the display first\n \tclearBtn( v );\n \tLog.i(\"in prev record\", \"this sheep ID is \" + String.valueOf(thissheep_id));\n \tcursor.moveToPrevious();\n \tLog.i(\"in prev record\", \"after moving the cursor \");\n \tthissheep_id = cursor.getInt(0);\n \tLog.i(\"in prev record\", \"this sheep ID is \" + String.valueOf(thissheep_id));\n \trecNo -= 1;\n \tfindTagsShowAlert(v, thissheep_id);\n\t\t// I've moved back so enable the next record button\n\t\tButton btn2 = (Button) findViewById( R.id.next_rec_btn );\n\t\tbtn2.setEnabled(true); \t\t\n \tif (recNo == 1) {\n \t\t// at beginning so disable prev record button\n \t\tButton btn3 = (Button) findViewById( R.id.prev_rec_btn );\n \tbtn3.setEnabled(false); \t\t\n \t}\n }",
"@Override\n public void onBackPressed() {\n timesBackPressed++;\n if (timesBackPressed > 1) {\n currentStateSaveToSharedPref();\n finish();\n } else\n Toast.makeText(getApplicationContext(), getResources().getString(R.string.leave_warning), Toast.LENGTH_LONG).show();\n }"
]
| [
"0.60712326",
"0.59301007",
"0.5907129",
"0.5862902",
"0.5850188",
"0.5843961",
"0.5842365",
"0.58213794",
"0.5796301",
"0.5773533",
"0.57467145",
"0.57257825",
"0.5716876",
"0.5674115",
"0.566146",
"0.5656965",
"0.56474984",
"0.5625229",
"0.5623845",
"0.5623845",
"0.5623845",
"0.56069696",
"0.5605808",
"0.55971235",
"0.5594522",
"0.5586219",
"0.55736303",
"0.5556612",
"0.5556612",
"0.5556612",
"0.5555539",
"0.5541781",
"0.55317736",
"0.5516745",
"0.55102557",
"0.5506001",
"0.55031496",
"0.5491229",
"0.54841924",
"0.54634374",
"0.5458371",
"0.5452009",
"0.54464984",
"0.5402892",
"0.5396699",
"0.5396699",
"0.5396699",
"0.53949946",
"0.5380998",
"0.5376279",
"0.53688306",
"0.536656",
"0.5364803",
"0.53640246",
"0.53614026",
"0.5355952",
"0.5354334",
"0.5347986",
"0.5343569",
"0.5338659",
"0.532008",
"0.5314307",
"0.5312357",
"0.53106016",
"0.5302964",
"0.52836156",
"0.5278024",
"0.52547526",
"0.5242511",
"0.5236477",
"0.523194",
"0.52288187",
"0.52286077",
"0.5225998",
"0.5223943",
"0.5215279",
"0.520976",
"0.5208879",
"0.52082044",
"0.52005816",
"0.51983804",
"0.51859015",
"0.51840144",
"0.5181737",
"0.5176733",
"0.5175067",
"0.51698303",
"0.5166165",
"0.51601034",
"0.51524544",
"0.5150568",
"0.51474065",
"0.51464736",
"0.5144948",
"0.5139847",
"0.5137286",
"0.5134783",
"0.5132546",
"0.5132322",
"0.51294494",
"0.51250637"
]
| 0.0 | -1 |
Returns any legal window for driver | public String getLegalWindow() {
if(driver.getWindowHandles().isEmpty())
return null;
return driver.getWindowHandles().iterator().next();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private static void findWindow() {\n\t\tCoInitialize();\n\t\t\n\t\thandle = user32.FindWindowA(\"WMPlayerApp\", \"Windows Media Player\");\n\t}",
"public JPanel getWindow(String key)\r\n\t{\r\n\t\treturn aniWin.getWindow(key);\r\n\t}",
"public static void windowspwcw() {\n\t\tString windowHandle = driver.getWindowHandle();\n\t\tSystem.out.println(\"parent window is: \"+windowHandle);\n\t\tSet<String> windowHandles = driver.getWindowHandles();\n\t\tSystem.out.println(\"child window is \"+windowHandles);\n\t\tfor(String eachWindowId:windowHandles)\n\t\t{\n\t\t\tif(!windowHandle.equals(eachWindowId))\n\t\t\t{\n\t\t\t\tdriver.switchTo().window(eachWindowId);\n\t\t\t\t\n\t\t\t}\n\t\t}\n\n\t}",
"public Window getWindow() {\n\t\treturn selectionList.getScene().getWindow();\n\t}",
"public interface WindowManager {\r\n\r\n public JFrame getRootFrame() throws HeadlessException;\r\n\r\n public edu.mit.broad.msigdb_browser.xbench.core.Window openWindow(final WrappedComponent wc) throws HeadlessException;\r\n\r\n public edu.mit.broad.msigdb_browser.xbench.core.Window openWindow(final WrappedComponent wc, final Dimension dim) throws HeadlessException;\r\n\r\n public void showError(final Throwable t) throws HeadlessException;\r\n\r\n public void showError(final String msg, final Throwable t) throws HeadlessException;\r\n\r\n public boolean showConfirm(final String msg) throws HeadlessException;\r\n\r\n public void showMessage(final String msg) throws HeadlessException;\r\n\r\n public void showMessage(final String msg, final Component comp, final JButton[] customButtons, final boolean addCloseButton);\r\n\r\n public void showMessage(final String title, final String msg) throws HeadlessException;\r\n\r\n public DialogDescriptor createDialogDescriptor(final String title, final Component comp, final Action helpAction_opt);\r\n\r\n public DialogDescriptor createDialogDescriptor(final String title, final Component comp);\r\n\r\n // -------------------------------------------------------------------------------------------- //\r\n // ----------------------------------ACTION RELATED------------------------------------ //\r\n // -------------------------------------------------------------------------------------------- //\r\n\r\n public void runModalTool(final VTool tool, final DialogType dt);\r\n\r\n}",
"public static JFrame getWindow()\r\n {\r\n\treturn window;\r\n }",
"private int getCurrentWindow() {\n // Subscribe to window information\n AccessibilityServiceInfo info = mUiAutomation.getServiceInfo();\n info.flags |= AccessibilityServiceInfo.FLAG_RETRIEVE_INTERACTIVE_WINDOWS;\n mUiAutomation.setServiceInfo(info);\n\n AccessibilityNodeInfo activeWindowRoot = mUiAutomation.getRootInActiveWindow();\n\n for (AccessibilityWindowInfo window : mUiAutomation.getWindows()) {\n if (window.getRoot().equals(activeWindowRoot)) {\n return window.getId();\n }\n }\n throw new RuntimeException(\"Could not find active window\");\n }",
"public static Window getWindow() {\r\n\t\treturn window;\r\n\t}",
"public String getMainWindow() {\r\n\t\treturn null;\r\n\t}",
"public window getWindow(String sname) {\n return (window) windows.getObject(sname);\n }",
"public Window getWindow() {\n Window w = null;\n if(this instanceof Container) {\n Node root = ((Container)this).getRoot();\n Scene scene = root==null ? null : root.getScene();\n javafx.stage.Window stage = scene==null ? null : scene.getWindow();\n w = stage==null ? null : (Window)stage.getProperties().get(\"window\");\n }\n if(this instanceof Widget) {\n Node root = ((Widget)this).getGraphics();\n Scene scene = root==null ? null : root.getScene();\n javafx.stage.Window stage = scene==null ? null : scene.getWindow();\n w = stage==null ? null : (Window)stage.getProperties().get(\"window\");\n }\n return w==null ? Window.getActive() : w;\n }",
"public Window getWindow() { return window; }",
"NativeWindow getWindowById(long id);",
"public interface WindowFactory {\r\n /**\r\n * Creates and returns NativeWindow with desired\r\n * creation params\r\n *\r\n * @param p - initial window properties\r\n * @return created window\r\n */\r\n NativeWindow createWindow(CreationParams p);\r\n /**\r\n * Create NativeWindow instance connected to existing native resource\r\n * @param nativeWindowId - id of existing window\r\n * @return created NativeWindow instance\r\n */\r\n NativeWindow attachWindow(long nativeWindowId);\r\n /**\r\n * Returns NativeWindow instance if created by this instance of\r\n * WindowFactory, otherwise null\r\n *\r\n * @param id - HWND on Windows xwindow on X\r\n * @return NativeWindow or null if unknown\r\n */\r\n NativeWindow getWindowById(long id);\r\n /**\r\n * Returns NativeWindow instance of the top-level window\r\n * that contains a specified point and was\r\n * created by this instance of WindowFactory\r\n * @param p - Point to check\r\n * @return NativeWindow or null if the point is\r\n * not within a window created by this WindowFactory\r\n */\r\n NativeWindow getWindowFromPoint(Point p);\r\n\r\n /**\r\n * Returns whether native system supports the state for windows.\r\n * This method tells whether the UI concept of, say, maximization or iconification is supported.\r\n * It will always return false for \"compound\" states like Frame.ICONIFIED|Frame.MAXIMIZED_VERT.\r\n * In other words, the rule of thumb is that only queries with a single frame state\r\n * constant as an argument are meaningful.\r\n *\r\n * @param state - one of named frame state constants.\r\n * @return true is this frame state is supported by this Toolkit implementation, false otherwise.\r\n */\r\n boolean isWindowStateSupported(int state);\r\n\r\n /**\r\n * @see org.apache.harmony.awt.ComponentInternals\r\n */\r\n void setCaretPosition(int x, int y);\r\n\r\n /**\r\n * Request size of arbitrary native window\r\n * @param id - window ID\r\n * @return window size\r\n */\r\n Dimension getWindowSizeById(long id);\r\n}",
"eu.m6r.format.openrtb.MbrWin.Win getWin();",
"private void listWindows() {\n final Component[] components = getComponents();\n final String[] titles = new String[components.length];\n for (int i=0; i<components.length; i++) {\n Component c = components[i];\n String title = String.valueOf(c.getName());\n if (c instanceof JInternalFrame) {\n final JInternalFrame ci = (JInternalFrame) c;\n title = String.valueOf(ci.getTitle());\n c = ci.getRootPane().getComponent(0);\n }\n final Dimension size = c.getSize();\n titles[i] = title + \" : \" + c.getClass().getSimpleName() +\n '[' + size.width + \" \\u00D7 \" + size.height + ']';\n }\n final JInternalFrame frame = new JInternalFrame(\"Windows\", true, true, true, true);\n frame.add(new JScrollPane(new JList<>(titles)));\n frame.pack();\n frame.setVisible(true);\n add(frame);\n }",
"public String getCurrentHandle()\n\t{\n\t\treturn driver.getWindowHandle();\n\t}",
"public String getWindowParts();",
"public abstract TargetWindowT getSideInputWindow(BoundedWindow mainWindow);",
"public eu.m6r.format.openrtb.MbrWin.Win getWin() {\n if (winBuilder_ == null) {\n return win_;\n } else {\n return winBuilder_.getMessage();\n }\n }",
"@Override\n public long getValidWindow() {\n return 0;\n }",
"public window get(String sname) {\n return getWindow(sname);\n }",
"@Override\n public W representative(W window) {\n return window;\n }",
"public Window getFullScreenWindow(){\n return vc.getFullScreenWindow();\n }",
"public interface User32 extends StdCallLibrary{\n\n\tUser32 INSTANCE = (User32) Native.loadLibrary(\"User32\", User32.class);\n\n\tint SM_CXSCREEN = 0;\n\tint SM_CYSCREEN = 1;\n\n\tint GetSystemMetrics(int nIndex);\n\n\tint SPI_GETWORKAREA = 48;\n\n\tint SystemParametersInfoW(int uiAction, int uiParam, RECT pvParam, int fWinIni);\n\n\tPointer GetForegroundWindow();\n\n\tint GW_HWNDFIRST = 0;\n\tint GW_HWNDNEXT = 2;\n\n\tPointer GetWindow(Pointer hWnd, int uCmd);\n\n\tint IsWindow(Pointer hWnd);\n\tint IsWindowVisible(Pointer hWnd);\n\n\tint GWL_STYLE = -16;\n\tint GWL_EXSTYLE = -20;\n\n\tint GetWindowLongW(Pointer hWnd, int nIndex);\n\tint SetWindowLongW(Pointer hWnd, int nIndex, int dwNewLong);\n\n\tint WS_MAXIMIZE = 0x01000000;\n\tint WS_EX_LAYERED = 0x00080000;\n\n\tint IsIconic(Pointer hWnd);\n\n\tint GetWindowTextW(Pointer hWnd, char[] lpString, int nMaxCount);\n\tint GetClassNameW(Pointer hWnd, char[] lpString, int nMaxCount);\n\n\tint GetWindowRect(Pointer hWnd, RECT lpRect);\n\n\tint ERROR = 0;\n\n\tint GetWindowRgn(Pointer hWnd, Pointer hRgn);\n\n\tint MoveWindow(Pointer hWnd, int X, int Y, int nWidth, int nHeight, int bRepaint);\n\n\tint BringWindowToTop(Pointer hWnd);\n\n\tPointer GetDC(Pointer hWnd);\n\tint ReleaseDC(Pointer hWnd, Pointer hDC);\n\n\tint ULW_ALPHA = 2;\n\n\tint UpdateLayeredWindow(Pointer hWnd, Pointer hdcDst,\n POINT pptDst, SIZE psize,\n Pointer hdcSrc, POINT pptSrc, int crKey,\n BLENDFUNCTION pblend, int dwFlags);\n\n interface WNDENUMPROC extends StdCallCallback {\n /** Return whether to continue enumeration. */\n boolean callback(Pointer hWnd, Pointer arg);\n }\n\n boolean EnumWindows(WNDENUMPROC lpEnumFunc, Pointer arg);\n\n}",
"public int getWindows() {\n\t\treturn windows;\n\t}",
"public static Set<String> getAllWindowHandles(WebDriver driver) throws InterruptedException {\n\t\tThread.sleep(2000);\n\t\ttry {\n\n\t\t\tif (driver != null) {\n\n\t\t\t\tSet<String> allHandles = driver.getWindowHandles();\n\t\t\t\tSystem.out.println(\"Total opened window: \" + allHandles.size());\n\t\t\t\treturn allHandles;\n\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"Driver is not initilased.\");\n\t\t\t\treturn null;\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\tSystem.out.println(\"Some exception occured. \" + e.getMessage());\n\t\t\treturn null;\n\t\t}\n\t}",
"private Window getWindow() {\r\n return root.getScene().getWindow();\r\n }",
"public static void main(String[] args) {\nWebDriverManager.chromedriver().setup();\r\nChromeDriver driver = new ChromeDriver();\r\ndriver.manage().window().maximize();\r\ndriver.manage().timeouts().implicitlyWait(Duration.ofSeconds(0));\r\n\r\ndriver.get(\"http://www.leafground.com/pages/Window.html\");\r\n\r\ndriver.findElement(By.id(\"home\")).click();\r\n\r\n//WindowHanldes\r\n//it returns set, so we cant access it with index so convert it into list\r\nSet<String> winSet = driver.getWindowHandles();\r\n\r\n//cnvert set to list\r\n\r\nList<String> name = new ArrayList<String>(winSet);\r\nSystem.out.println(\"before switiching control:\" + driver.getTitle());\r\n// control is goven to second window\r\ndriver.switchTo().window(name.get(1));\r\nSystem.out.println(\"after switiching control:\" + driver.getTitle());\r\n\r\n\r\n// switching back again to main window by passsing index 0 \r\ndriver.switchTo().window(name.get(0));\r\nSystem.out.println(\"switiching control back to main:\" + driver.getTitle());\r\n\r\n\r\n//number of window opened \r\n\r\nSystem.out.println(\"Number of windows: \"+ winSet.size());\r\n\r\n//driver.close(); // closes the current window\r\n//driver.quit();//all the open windows will close\r\n\r\n\t\r\n\t}",
"public Locomotive waitForWindow(String regex) {\n Set<String> windows = getDriver().getWindowHandles();\n for (String window : windows) {\n try {\n // Wait before switching tabs so that the new tab can load; else it loads a blank page\n try {\n Thread.sleep(100);\n } catch (Exception x) {\n Logger.error(x);\n }\n\n getDriver().switchTo().window(window);\n\n p = Pattern.compile(regex);\n m = p.matcher(getDriver().getCurrentUrl());\n\n if (m.find()) {\n attempts = 0;\n return switchToWindow(regex);\n } else {\n // try for title\n m = p.matcher(getDriver().getTitle());\n\n if (m.find()) {\n attempts = 0;\n return switchToWindow(regex);\n }\n }\n } catch (NoSuchWindowException e) {\n if (attempts <= configuration.getRetries()) {\n attempts++;\n\n try {\n Thread.sleep(1000);\n } catch (Exception x) {\n Logger.error(x);\n }\n\n return waitForWindow(regex);\n } else {\n Assertions.fail(\"Window with url|title: \" + regex + \" did not appear after \" + configuration.getRetries() + \" tries. Exiting.\", e);\n }\n }\n }\n\n // when we reach this point, that means no window exists with that title..\n if (attempts == configuration.getRetries()) {\n Assertions.fail(\"Window with title: \" + regex + \" did not appear after \" + configuration.getRetries() + \" tries. Exiting.\");\n return this;\n } else {\n Logger.info(\"#waitForWindow() : Window doesn't exist yet. [%s] Trying again. %s/%s\", regex, (attempts + 1), configuration.getRetries());\n attempts++;\n try {\n Thread.sleep(1000);\n } catch (Exception e) {\n Logger.error(e);\n }\n return waitForWindow(regex);\n }\n }",
"public JDialog getWindow() {\n\t\treturn window;\n\t}",
"private Window getParentWindow(Component paramComponent) {\n/* 192 */ Window window = null;\n/* */ \n/* 194 */ if (paramComponent instanceof Window) {\n/* 195 */ window = (Window)paramComponent;\n/* */ }\n/* 197 */ else if (paramComponent != null) {\n/* 198 */ window = SwingUtilities.getWindowAncestor(paramComponent);\n/* */ } \n/* 200 */ if (window == null) {\n/* 201 */ window = new DefaultFrame();\n/* */ }\n/* 203 */ return window;\n/* */ }",
"NativeWindow getWindowFromPoint(Point p);",
"public Java2DGameWindow getGameWindow() {\r\n\t\t// if we've yet to create the game window, create the appropriate one\r\n\t\tif (window == null) {\r\n\t\t\twindow = new Java2DGameWindow();\r\n\t\t}\r\n\t\treturn window;\r\n\t}",
"public static void windowsHandlingList(WebDriver drive) {\n\t\tString thisWindow = drive.getWindowHandle();\n\t\tSystem.out.println(\"main: \" + thisWindow);\n\t\tSet<String> AllWindow = drive.getWindowHandles();\n\t\tArrayList<String> toList = new ArrayList<String>(AllWindow);\n\t\tfor (String childWindow : toList) {\n\t\t\tif (!(thisWindow.equals(childWindow))) {\n\t\t\t}\n\t\t}\n\t}",
"int getWinCondition();",
"public List<Window> getWindows(){\n\t\treturn windows;\n\t}",
"private static void getWindowHandles() {\n\t\t\r\n\t}",
"public Window getWindow() {\r\n return window;\r\n }",
"@Override\n\tpublic Set<String> getWindowHandles() {\n\t\treturn null;\n\t}",
"public static Window waitForWindowByName(String name) {\n\n\t\tint time = 0;\n\t\tint timeout = DEFAULT_WAIT_TIMEOUT;\n\t\twhile (time <= timeout) {\n\t\t\tSet<Window> allWindows = getAllWindows();\n\t\t\tfor (Window window : allWindows) {\n\t\t\t\tString windowName = window.getName();\n\t\t\t\tif (name.equals(windowName) && window.isShowing()) {\n\t\t\t\t\treturn window;\n\t\t\t\t}\n\n\t\t\t\ttime += sleep(DEFAULT_WAIT_DELAY);\n\t\t\t}\n\t\t}\n\n\t\tthrow new AssertionFailedError(\"Timed-out waiting for window with name '\" + name + \"'\");\n\t}",
"public JFrame getWindow() {\n\t\treturn window;\n\t}",
"@Override\n\tpublic String getWindowHandle() {\n\t\treturn null;\n\t}",
"public void selectRootWindow() {\n\t\tList<String> listOfWindows = new ArrayList<>(SharedSD.getDriver().getWindowHandles());\n\t\tSharedSD.getDriver().switchTo().window(listOfWindows.get(0));\n\t}",
"@Override\n public WindowFactory getWindowFactory() {\n return null;\n }",
"public interface Window {\n\t\n\t/**\n\t * Provides all available display modes that this window\n\t * can be set to.\n\t * \n\t * @return All available displays modes.\n\t */\n\tDisplayMode[] getAvailableDisplayModes();\n\t\n\t/**\n\t * @return current window title.\n\t */\n\tString getTitle();\n\t\n\t/**\n\t * Sets the display mode for this window.\n\t * The safest way to change the display mode is\n\t * to do this before the window is actually visible\n\t * on screen. Some implementations may fail when\n\t * change will be done on fly.\n\t * \n\t * @param mode Display mode to set.\n\t */\n\tvoid setDisplayMode(DisplayMode mode);\n\t\n\t/**\n\t * Sets the window title.\n\t * \n\t * @param title The window title to set.\n\t */\n\tvoid setTitle(String title);\n\t\n\t/**\n\t * Shows the actual application window. It cannot be\n\t * hidden until application stops.\n\t */\n\tvoid show();\n}",
"public SAPTopLevelTestObject getActiveWindow(){\n\t\treturn new SAPTopLevelTestObject(mainWnd);\n\t}",
"public window getWindow(int i) {\n return (window) windows.getObject(i);\n }",
"public RegWindow getRegisterWindow()\n {\n synchronized (this.lock)\n {\n return this.registerWindow;\n }\n }",
"void createWindow();",
"public Window getWindow() {\n return window;\n }",
"public void otherWin\n (String name);",
"public WindowState findFocusedWindow() {\n this.mTmpWindow = null;\n forAllWindows(this.mFindFocusedWindow, true);\n WindowState windowState = this.mTmpWindow;\n if (windowState != null) {\n return windowState;\n }\n if (WindowManagerDebugConfig.DEBUG_FOCUS_LIGHT) {\n Slog.v(TAG, \"findFocusedWindow: No focusable windows.\");\n }\n return null;\n }",
"public void testWindowSystem() {\n final ProjectsTabOperator projectsOper = ProjectsTabOperator.invoke();\n final FavoritesOperator favoritesOper = FavoritesOperator.invoke();\n\n // test attaching\n favoritesOper.attachTo(new OutputOperator(), AttachWindowAction.AS_LAST_TAB);\n favoritesOper.attachTo(projectsOper, AttachWindowAction.TOP);\n favoritesOper.attachTo(new OutputOperator(), AttachWindowAction.RIGHT);\n favoritesOper.attachTo(projectsOper, AttachWindowAction.AS_LAST_TAB);\n // wait until TopComponent is in new location and is showing\n final TopComponent projectsTc = (TopComponent) projectsOper.getSource();\n final TopComponent favoritesTc = (TopComponent) favoritesOper.getSource();\n try {\n new Waiter(new Waitable() {\n\n @Override\n public Object actionProduced(Object tc) {\n // run in dispatch thread\n Mode mode1 = (Mode) projectsOper.getQueueTool().invokeSmoothly(new QueueTool.QueueAction(\"findMode\") { // NOI18N\n\n @Override\n public Object launch() {\n return WindowManager.getDefault().findMode(projectsTc);\n }\n });\n Mode mode2 = (Mode) favoritesOper.getQueueTool().invokeSmoothly(new QueueTool.QueueAction(\"findMode\") { // NOI18N\n\n @Override\n public Object launch() {\n return WindowManager.getDefault().findMode(favoritesTc);\n }\n });\n return (mode1 == mode2 && favoritesTc.isShowing()) ? Boolean.TRUE : null;\n }\n\n @Override\n public String getDescription() {\n return (\"Favorites TopComponent is next to Projects TopComponent.\"); // NOI18N\n }\n }).waitAction(null);\n } catch (InterruptedException e) {\n throw new JemmyException(\"Interrupted.\", e); // NOI18N\n }\n favoritesOper.close();\n\n // test maximize/restore\n // open sample file in Editor\n SourcePackagesNode sourcePackagesNode = new SourcePackagesNode(SAMPLE_PROJECT_NAME);\n Node sample1Node = new Node(sourcePackagesNode, SAMPLE1_PACKAGE_NAME);\n JavaNode sampleClass2Node = new JavaNode(sample1Node, SAMPLE2_FILE_NAME);\n sampleClass2Node.open();\n // find open file in editor\n EditorOperator eo = new EditorOperator(SAMPLE2_FILE_NAME);\n eo.maximize();\n eo.restore();\n EditorOperator.closeDiscardAll();\n }",
"public void handleWindow() throws InterruptedException {\n\t\tSet<String> windHandles = GlobalVars.Web_Driver.getWindowHandles();\n\t\tSystem.out.println(\"Total window handles are:--\" + windHandles);\n\t\tparentwindow = windHandles.iterator().next();\n\t\tSystem.out.println(\"Parent window handles is:-\" + parentwindow);\n\n\t\tList<String> list = new ArrayList<String>(windHandles);\n\t\twaitForElement(3);\n\t\tGlobalVars.Web_Driver.switchTo().window((list.get(list.size() - 1)));\n\t\tSystem.out.println(\"current window title is:-\" + GlobalVars.Web_Driver.getTitle());\n\t\treturn;\n\t}",
"public void refreshWindowsMenu() {\r\n Window.removeAll();\r\n for(JInternalFrame cf: circuitwindows){\r\n final JInternalFrame cf2 = cf;\r\n javax.swing.JMenuItem windowItem = new javax.swing.JMenuItem();\r\n windowItem.setText(cf.getTitle()); \r\n windowItem.addActionListener(new java.awt.event.ActionListener() {\r\n public void actionPerformed(java.awt.event.ActionEvent evt) {\r\n try { cf2.setSelected(true);\r\n } catch (PropertyVetoException ex) {\r\n ErrorHandler.newError(\"Editor Error\",\"Cannot select circuit \" + cf2.getTitle() + \".\", ex);\r\n }\r\n }\r\n });\r\n Window.add(windowItem); \r\n }\r\n if(circuitwindows.size()==0){\r\n Window.setEnabled(false);\r\n } else {\r\n Window.setEnabled(true);\r\n }\r\n }",
"public final TWindow getWindow() {\n return window;\n }",
"static NKE_BrowserWindow fromId(int id) {\n return windowArray.get(id);\n }",
"@Override\n public Set<W> getActiveWindows() {\n throw new java.lang.UnsupportedOperationException();\n }",
"void buildWindow()\n { main.gui.gralMng.selectPanel(\"primaryWindow\");\n main.gui.gralMng.setPosition(-30, 0, -47, 0, 'r'); //right buttom, about half less display width and hight.\n int windProps = GralWindow.windConcurrently;\n GralWindow window = main.gui.gralMng.createWindow(\"windStatus\", \"Status - The.file.Commander\", windProps);\n windStatus = window; \n main.gui.gralMng.setPosition(3.5f, GralPos.size -3, 1, GralPos.size +5, 'd');\n widgCopy = main.gui.gralMng.addButton(\"sCopy\", main.copyCmd.actionConfirmCopy, \"copy\");\n widgEsc = main.gui.gralMng.addButton(\"dirBytes\", actionButton, \"esc\");\n }",
"public static Set<String> getWindowHandles(WebDriver driver)\n\t{\n\t\treturn driver.getWindowHandles();\n\t}",
"private String getWindowName(com.sun.star.awt.XWindow aWindow)\n throws com.sun.star.uno.Exception\n {\n if (aWindow == null)\n new com.sun.star.lang.IllegalArgumentException(\n \"Method external_event requires that a window is passed as argument\",\n this, (short) -1);\n\n // We need to get the control model of the window. Therefore the first step is\n // to query for it.\n XControl xControlDlg = (XControl) UnoRuntime.queryInterface(\n XControl.class, aWindow);\n\n if (xControlDlg == null)\n throw new com.sun.star.uno.Exception(\n \"Cannot obtain XControl from XWindow in method external_event.\");\n // Now get model\n XControlModel xModelDlg = xControlDlg.getModel();\n\n if (xModelDlg == null)\n throw new com.sun.star.uno.Exception(\n \"Cannot obtain XControlModel from XWindow in method external_event.\", this);\n \n // The model itself does not provide any information except that its\n // implementation supports XPropertySet which is used to access the data.\n XPropertySet xPropDlg = (XPropertySet) UnoRuntime.queryInterface(\n XPropertySet.class, xModelDlg);\n if (xPropDlg == null)\n throw new com.sun.star.uno.Exception(\n \"Cannot obtain XPropertySet from window in method external_event.\", this);\n\n // Get the \"Name\" property of the window\n Object aWindowName = xPropDlg.getPropertyValue(\"Name\");\n\n // Get the string from the returned com.sun.star.uno.Any\n String sName = null;\n try\n {\n sName = AnyConverter.toString(aWindowName);\n }\n catch (com.sun.star.lang.IllegalArgumentException ex)\n {\n ex.printStackTrace();\n throw new com.sun.star.uno.Exception(\n \"Name - property of window is not a string.\", this);\n }\n\n // Eventually we can check if we this handler can \"handle\" this options page.\n // The class has a member m_arWindowNames which contains all names of windows\n // for which it is intended\n for (int i = 0; i < SupportedWindowNames.length; i++)\n {\n if (SupportedWindowNames[i].equals(sName))\n {\n return sName;\n }\n }\n return null;\n }",
"public WindowID getIdentifier()\n {\n return ExportedWindow.ABOUT_WINDOW;\n }",
"public eu.m6r.format.openrtb.MbrWin.WinOrBuilder getWinOrBuilder() {\n if (winBuilder_ != null) {\n return winBuilder_.getMessageOrBuilder();\n } else {\n return win_;\n }\n }",
"public interface Window {\n\n /**\n * Parts for the window(s) of an aircraft.\n * @return the components for the window(s) of an aircraft.\n */\n public String getWindowParts();\n}",
"public eu.m6r.format.openrtb.MbrWin.Win getWin() {\n return win_;\n }",
"@Override\r\n\tprotected final void createAppWindows() {\r\n \t//Instantiate only DD-specific windows. SFDC-scope windows (such as mainWindow) are static\r\n \t// objects in the EISTestBase class\r\n \tmyDocumentsPopUp = createWindow(\"WINDOW_MY_DOCUMENTS_POPUP_PROPERTIES_FILE\");\r\n }",
"public AccessibilityWindowInfo getWindow() {\n/* 634 */ throw new RuntimeException(\"Stub!\");\n/* */ }",
"public static void printOpenWindows() {\n\t\tMsg.debug(AbstractDockingTest.class, \"Open windows: \" + getOpenWindowsAsString());\n\t}",
"boolean hasWin();",
"public String getCurrentScreenDisplay();",
"public static String getOpenWindowsAsString() {\n\t\tSet<Window> allFoundWindows = getAllWindows();\n\n\t\t//@formatter:off\n\t\tList<Window> roots = allFoundWindows\n\t\t\t\t.stream()\n\t\t\t\t.filter(w -> w.getParent() == null)\n\t\t\t\t.collect(Collectors.toList())\n\t\t\t\t;\n\t\t//@formatter:on\n\n\t\tStringBuilder buffy = new StringBuilder(\"\\n\");\n\t\tfor (Window w : roots) {\n\t\t\tif (!isHierarchyShowing(w)) {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\twindowToString(w, 0, buffy);\n\t\t}\n\t\treturn buffy.toString();\n\t}",
"Window[] getWindows()\n\t{\n\t\tsynchronized (Window.class) {\n\t\t\tWindow realCopy[];\n\t\t\t@SuppressWarnings(\"unchecked\") Vector<WeakReference<Window>> windowList =\n\t\t\t\t\t(Vector<WeakReference<Window>>)this.appContext.get(Window.class);\n\t\t\tif (windowList != null) {\n\t\t\t\tint fullSize = windowList.size();\n\t\t\t\tint realSize = 0;\n\t\t\t\tWindow fullCopy[] = new Window[fullSize];\n\t\t\t\tfor (int i = 0; i < fullSize; i++) {\n\t\t\t\t\tWindow w = windowList.get(i).get();\n\t\t\t\t\tif (w != null) {\n\t\t\t\t\t\tfullCopy[realSize++] = w;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (fullSize != realSize) {\n\t\t\t\t\trealCopy = Arrays.copyOf(fullCopy, realSize);\n\t\t\t\t} else {\n\t\t\t\t\trealCopy = fullCopy;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\trealCopy = new Window[0];\n\t\t\t}\n\t\t\treturn realCopy;\n\t\t}\n\t}",
"public static void main(String[] args) {\n\r\n\t\tWebDriver driver = new FirefoxDriver();\r\n\r\n\t\tString windowsID = driver.getWindowHandle();\r\n\r\n\t\tIterator<String> itr = windowsID.iterator();\r\n\r\n\t\tArrayList<String> ids = new ArrayList<String>();\r\n\r\n\t\twhile (itr.hasNext())\r\n\r\n\t\t{\r\n\t\t\tids.add(itr.next());\r\n\r\n\t\t}\r\n\r\n\t\tdriver.switchTo().window(ids.get(3));\r\n\t\tdriver.findElement(By.id(\"\")).click();\r\n\t\tdriver.close();\r\n\r\n\t\tThread.sleep(3000);\r\n\r\n\t\t// Maximize\r\n\t\tdriver.manage().window().maximize();\r\n\r\n\t\t// Getting Position of windows\r\n\t\tPoint position = driver.manage().window().getPosition();\r\n\t\t// Getting X & Y Co ordinates\r\n\t\tposition.getX();\r\n\t\tposition.getY();\r\n\r\n\t\t// Another way of getting positions\r\n\t\tPoint Location = driver.findElement(By.xpath(\"\")).getLocation();\r\n\t\tLocation.getX();\r\n\t\tLocation.getY();\r\n\r\n\t}",
"public abstract TnScreen getCurrentScreen();",
"public JPanel getScreen();",
"public static void main(String[] args) {\n\t\t\r\n\t\tSystem.setProperty(\"webdriver.chrome.driver\", \"C:/Driver/chromedriver.exe\");\r\n\t\tWebDriver driver = new ChromeDriver();\r\n\t\t\r\n\t\tdriver.manage().window().maximize();\r\n\t\tdriver.get(\"http://toolsqa.com/automation-practice-switch-windows/\");\r\n\t\t\r\n\t\tdriver.findElement(By.xpath(\".//*[@id='button1']\")).click();\r\n\t\tdriver.findElement(By.xpath(\".//*[@id='content']/p[3]/button\")).click();\r\n\t\tdriver.findElement(By.xpath(\".//*[@id='content']/p[4]/button\")).click();\r\n\t\t\r\n\t\tSet<String> winids =driver.getWindowHandles();\r\n\t\tIterator<String> itr = winids.iterator();\r\n\t\t\r\n\t\tString mainwindow= itr.next();\r\n\t\tString childwindow = itr.next();\r\n\t\t\r\n\t\tSystem.out.println(\"title main window\" + driver.getTitle());\r\n\t\t\r\n\t\tdriver.switchTo().window(childwindow);\r\n\t\t\r\n\t\tSystem.out.println(\"title main window1\" + driver.getTitle());\r\n\t\t\r\n\t\tchildwindow = itr.next();\r\n\t\tdriver.switchTo().window(childwindow);\r\n\t\t\r\n\t\tSystem.out.println(\"title main window2\" + driver.getTitle());\r\n\t\t\r\n\r\n\t}",
"public void getNativePreviewWindowId();",
"@Test(priority = 3)\r\n\t//@BeforeMethod\r\n\tpublic void NavigateToPDPPage() throws Exception\r\n\t{\r\n\t\tthis.driver=driver;\r\n Click_Action.Btn_Click(PageObjectModal.WISE_HomePage_Page.WISE_SearchPDPLink, 6, 6,\"Xpath\");\r\n Thread.sleep(1000);\r\n \r\n //**\r\n Set<String> AllWindowHandles = driver.getWindowHandles();\r\n String window1 = (String) AllWindowHandles.toArray()[0];\r\n System.out.print(\"window1 handle code = \"+AllWindowHandles.toArray()[0]);\r\n String window2 = (String) AllWindowHandles.toArray()[1];\r\n System.out.print(\"\\nwindow2 handle code = \"+AllWindowHandles.toArray()[1]);\r\n driver.switchTo().window(window2);\r\n \r\n //**\r\n AssertCls.AssertText(PageObjectModal.WISE_HomePage_Page.WISE_PDPProdName, 6, 6, 6, 5,\"Xpath\");\r\n //AssertCls.AssertText(PageObjectModal.WISE_HomePage_Page.WISE_SearchPDPLink, 1, 2, 5, 5);\r\n //driver.close();\r\n //driver.switchTo().window(window1);\r\n driver.switchTo().window(window1).close();\r\n driver.switchTo().window(window2);\r\n //driver.close();\r\n\t\t\r\n\t\t\t\t\r\n\t}",
"public SimpleCalculatorWindow getInputWindow(){\n\t\treturn this.theInputWindow;\n\t}",
"public final ResizeDDContainer getWindow() {\r\n\t\t\treturn (ResizeDDContainer) getSource();\r\n\t\t}",
"public final ResizeDDContainer getWindow() {\r\n\t\t\treturn (ResizeDDContainer) getSource();\r\n\t\t}",
"Window getParent();",
"public static void windowHandle(WebDriver driver,String eTitle)\r\n\t{\r\n\t\tSet<String>winHandle =driver.getWindowHandles();\r\n\t\tIterator <String> itr=winHandle.iterator();\r\n\t\twhile(itr.hasNext())\r\n\t\t{\r\n\t\t\tString wh=itr.next();\r\n\t\t\tdriver.switchTo().window(wh);\r\n\t\t\tif(driver.getTitle().equals(eTitle))\r\n\t\t\t{\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t}",
"public WebDriver getwiniumDriver(){\n\t\treturn winiumDriver;\n\t}",
"public window get(int i) {\n return getWindow(i);\n }",
"public Graphics2D getGraphics(){\n Window w = vc.getFullScreenWindow();\n if(w != null){\n BufferStrategy bs = w.getBufferStrategy();\n //return (Graphics2D)bs.getDrawGraphics();\n return (Graphics2D)strategy.getDrawGraphics();\n } else {\n return null;\n }\n }",
"public java.awt.Component getControlledUI() {\r\n return ratesBaseWindow;\r\n }",
"public abstract Positionable findPositionForWindow(int y, int x);",
"public abstract S createWindowState();",
"public void getGameWindow(GameWindowController gwc) {\n gameWindowController = gwc;\n }",
"public static void windowsHandlingSet(WebDriver drive) {\n\t\tString thisWindow = drive.getWindowHandle();\n\t\tSet<String> AllWindow = drive.getWindowHandles();\n\t\tfor (String childWindow : AllWindow) {\n\t\t\tif (!(thisWindow.equals(childWindow))) {\n\t\t\t\tdriver.switchTo().window(childWindow);\n\t\t\t}\n\t\t}\n\n\t}",
"public int winSize() { return winSize; }",
"public FormWindow getRelatedWindow();",
"public void switchToLastWindow() {\n\t\tSet<String> windowHandles = getDriver().getWindowHandles();\n\t\tfor (String str : windowHandles) {\n\t\t\tgetDriver().switchTo().window(str);\n\t\t}\n\t}",
"public Integer getEventGenWindow() {\n return eventGenWindow;\n }",
"public ToolWindowSelector() {\r\n\t\tfinal ImageStack slices = ImageStack.getInstance();\t\t\r\n\t\t\r\n\r\n\t\t// range_max needs to be calculated from the bits_stored value\r\n\t\t// in the current dicom series\r\n\t\tint window_center_min = 0;\r\n\t\tint window_width_min = 0;\r\n\t\tint window_center_max = 1<<(slices.getDiFile(0).getBitsStored());\r\n\t\tint window_width_max = 1<<(slices.getDiFile(0).getBitsStored());\r\n\t\t_window_center = slices.getWindowCenter();\r\n\t\t_window_width = slices.getWindowWidth();\r\n\t\t\r\n\t\t_window_settings_label = new JLabel(\"Window Settings\");\r\n\t\t_window_center_label = new JLabel(\"Window Center:\");\r\n\t\t_window_width_label = new JLabel(\"Window Width:\");\r\n\t\t\r\n\t\t_window_center_slider = new JSlider(window_center_min, window_center_max, _window_center);\r\n\t\t_window_center_slider.addChangeListener(new ChangeListener() {\r\n\t\t\tpublic void stateChanged(ChangeEvent e) {\r\n\t\t\t\tJSlider source = (JSlider) e.getSource();\r\n\t\t\t\tif (source.getValueIsAdjusting()) {\r\n\t\t\t\t\t_window_center = (int)source.getValue();\r\n//\t\t\t\t\tSystem.out.println(\"_window_center_slider state Changed: \"+_window_center);\r\n\t\t\t\t\tslices.setWindowCenter(_window_center);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t});\t\t\r\n\t\t\r\n\t\t_window_width_slider= new JSlider(window_width_min, window_width_max, _window_width);\r\n\t\t_window_width_slider.addChangeListener(new ChangeListener() {\r\n\t\t\tpublic void stateChanged(ChangeEvent e) {\r\n\t\t\t\tJSlider source = (JSlider) e.getSource();\r\n\t\t\t\tif (source.getValueIsAdjusting()) {\r\n\t\t\t\t\t_window_width = (int)source.getValue();\r\n//\t\t\t\t\tSystem.out.println(\"_window_width_slider state Changed: \"+_window_width);\r\n\t\t\t\t\tslices.setWindowWidth(_window_width);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t});\r\n\t\t\r\n\t\tsetLayout(new GridBagLayout());\r\n\t\tGridBagConstraints c = new GridBagConstraints();\r\n\t\tc.weighty = 0.3;\r\n\t\tc.fill = GridBagConstraints.BOTH;\r\n\t\tc.insets = new Insets(2,2,2,2); // top,left,bottom,right\r\n\t\tc.weightx = 0.1;\r\n\t\tc.gridwidth = 2;\r\n\t\tc.gridx = 0; c.gridy = 0; this.add(_window_settings_label, c);\r\n\t\tc.gridwidth=1;\r\n\r\n\t\tc.weightx = 0;\r\n\t\tc.gridx = 0; c.gridy = 1; this.add(_window_center_label, c);\r\n\t\tc.gridx = 0; c.gridy = 2; this.add(_window_width_label, c);\r\n\t\tc.gridx = 1; c.gridy = 1; this.add(_window_center_slider, c);\r\n\t\tc.gridx = 1; c.gridy = 2; this.add(_window_width_slider, c);\r\n\t\t\r\n\r\n\t}",
"static private Screen createScreen() {\n Screen test = new Screen();\n //These values below, don't change\n test.addWindow(1,1,64, 12);\n test.addWindow(66,1,64,12);\n test.addWindow(1,14,129,12);\n test.setWidthAndHeight();\n test.makeBoarders();\n test.setWindowsType();\n test.draw();\n return test;\n }",
"public Window getParentWindow() {\r\n\t\t// // I traverse the windows hierarchy to find this component's parent\r\n\t\t// window\r\n\t\t// // if it's in an application, then it'll be that frame\r\n\t\t// // if it's in an applet, then it'll be the browser window\r\n\r\n\t\t// // unfortunately if it's an applet, the popup window will have \"Java\r\n\t\t// Applet Window\" label\r\n\t\t// // at the bottom...nothing i can do (for now)\r\n\r\n\t\tWindow window = null;\r\n\r\n\t\tComponent component = this;\r\n\t\twhile (component.getParent() != null) {\r\n\r\n\t\t\tif (component instanceof Window)\r\n\t\t\t\tbreak;\r\n\t\t\tcomponent = component.getParent();\r\n\t\t}\r\n\r\n\t\tif (component instanceof Window)\r\n\t\t\twindow = (Window) component;\r\n\r\n\t\treturn (window);\r\n\t}",
"private Window getDialogOwner(final Node node)\n {\n if (node != null) {\n final Scene scene = node.getScene();\n if (scene != null) {\n final Window window = scene.getWindow();\n if (window != null) return window;\n }\n }\n return task.getPrimaryStage();\n }"
]
| [
"0.6536523",
"0.64807194",
"0.63841707",
"0.62907577",
"0.62882423",
"0.6265859",
"0.62561655",
"0.62467027",
"0.6236752",
"0.62318575",
"0.622018",
"0.618309",
"0.6177783",
"0.6172868",
"0.6167923",
"0.61488044",
"0.6130227",
"0.6118277",
"0.6101478",
"0.6100812",
"0.60778475",
"0.60493237",
"0.60415095",
"0.60341215",
"0.60241187",
"0.6003775",
"0.600199",
"0.5989018",
"0.59699434",
"0.59695554",
"0.59626335",
"0.59610057",
"0.5937832",
"0.59321666",
"0.5919942",
"0.59063333",
"0.58932734",
"0.58866006",
"0.58792",
"0.5873505",
"0.5869148",
"0.5859368",
"0.58487064",
"0.5841461",
"0.5835121",
"0.58327204",
"0.5824948",
"0.5815607",
"0.58126146",
"0.5801967",
"0.57971805",
"0.57598317",
"0.5758255",
"0.5753073",
"0.5748523",
"0.57446104",
"0.5736084",
"0.57340837",
"0.571318",
"0.57103205",
"0.57052404",
"0.56884223",
"0.56826884",
"0.5677236",
"0.5674881",
"0.5666523",
"0.566209",
"0.565629",
"0.56542903",
"0.5627151",
"0.5625678",
"0.56192046",
"0.5609402",
"0.56009126",
"0.5592554",
"0.55896837",
"0.55664474",
"0.556588",
"0.55601794",
"0.55584955",
"0.5555903",
"0.5555903",
"0.5552579",
"0.55328286",
"0.5532217",
"0.55274045",
"0.55272543",
"0.55126035",
"0.5494795",
"0.54708695",
"0.5469852",
"0.5466222",
"0.5456984",
"0.54493517",
"0.544874",
"0.5442013",
"0.543187",
"0.542983",
"0.54248285",
"0.5424337"
]
| 0.77243596 | 0 |
Handle presses on the action bar items | @Override
public boolean onOptionsItemSelected(MenuItem item) {
switch (item.getItemId()) {
case R.id.logout:
FirebaseAuth.getInstance().signOut();
Toast.makeText(FriendRequestActivity.this, "Sign Out!", Toast.LENGTH_LONG).show();
finish();
return true;
default:
return super.onOptionsItemSelected(item);
}
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n // Handle presses on the action bar items\n switch (item.getItemId()) {\n case android.R.id.home:\n onBackPressed();\n return true;\n case R.id.action_clear:\n return true;\n case R.id.action_done:\n\n return true;\n default:\n return super.onOptionsItemSelected(item);\n }\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n\n\n return super.onOptionsItemSelected(item);\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n\n\n return super.onOptionsItemSelected(item);\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n\n\n return super.onOptionsItemSelected(item);\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n\n\n return super.onOptionsItemSelected(item);\n }",
"@Override\n public boolean onActionItemClicked(ActionMode mode, MenuItem item) {\n\n\n return true;\n }",
"void onMenuItemClicked();",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n return super.onOptionsItemSelected(item);\n\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n return super.onOptionsItemSelected(item);\n }",
"@Override\n\tpublic boolean onOptionsItemSelected(MenuItem item) {\n\t switch (item.getItemId()) {\n\t\tcase android.R.id.home:\n\t\t\t// app icon in action bar clicked; go home \n\t\t\tIntent intent = new Intent(this, Kelutral.class); \n\t\t\tintent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP); \n\t\t\tstartActivity(intent); \n\t\t\treturn true;\t\t\n\t case R.id.Search:\n\t \treturn onSearchRequested();\n\t\tcase R.id.AppInfo:\n\t\t\t// Place holder menu item\n\t\t\tIntent newIntent = new Intent(Intent.ACTION_VIEW,\n\t\t\t\t\tUri.parse(\"http://forum.learnnavi.org/mobile-apps/\"));\n\t\t\tstartActivity(newIntent);\n\t\t\treturn true;\n\t\tcase R.id.Preferences:\n\t\t\tnewIntent = new Intent(getBaseContext(), Preferences.class);\n\t\t\tstartActivity(newIntent);\n\t\t\treturn true;\t\n\t }\n\t return false;\n\t}",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n // Handling item selection\n switch (item.getItemId()) {\n case R.id.action_home:\n Intent intent = new Intent(this, MainActivity.class);\n startActivity(intent);\n return true;\n case R.id.action_birds:\n intent = new Intent(this, Birds.class);\n startActivity(intent);\n return true;\n case R.id.action_storm:\n intent = new Intent(this, Storm.class);\n startActivity(intent);\n return true;\n case R.id.action_nocturnal:\n intent = new Intent(this, Nocturnal.class);\n startActivity(intent);\n return true;\n case R.id.action_library:\n intent = new Intent(this, Mylibrary.class);\n startActivity(intent);\n return true;\n case R.id.action_now_playing:\n intent = new Intent(this, Nowplaying.class);\n startActivity(intent);\n return true;\n case R.id.action_download:\n intent = new Intent(this, Download.class);\n startActivity(intent);\n return true;\n default:\n return super.onOptionsItemSelected(item);\n }\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n switch (id) {\n case android.R.id.home:\n onActionHomePressed();\n return true;\n }\n return super.onOptionsItemSelected(item);\n }",
"@Override\r\n\tpublic boolean onOptionsItemSelected(MenuItem item) {\n\t\treturn super.onOptionsItemSelected(item);\r\n\t}",
"@Override\r\n\tpublic boolean onOptionsItemSelected(MenuItem item) {\n\t\treturn super.onOptionsItemSelected(item);\r\n\t}",
"@Override\r\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\r\n case R.id.action_help:\r\n Intent help = new Intent(facebookplaces.this,appinstr.class);\r\n startActivity(help);\r\n return true;\r\n default:\r\n // If we got here, the user's action was not recognized.\r\n // Invoke the superclass to handle it.\r\n return super.onOptionsItemSelected(item);\r\n }\r\n }",
"@Override\r\n public boolean onActionItemClicked(ActionMode mode, MenuItem item) {\r\n // TODO Auto-generated method stub\r\n return false;\r\n }",
"@Override\n\tpublic boolean onOptionsItemSelected(MenuItem item) {\n\t\t\n\t\tswitch (item.getItemId()) {\n\t\t\n\t\tdefault:\n\t\t\t\n\t\t\tbreak;\n\n\t\t}//switch (item.getItemId())\n\n\t\t\n\t\treturn super.onOptionsItemSelected(item);\n\t}",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n switch (id) {\n case R.id.action_tweet:\n Intent intentTweet = new Intent(\"com.phonbopit.learnandroid.yamba.action.tweet\");\n startActivity(intentTweet);\n return true;\n case R.id.action_purge:\n\n return true;\n case R.id.action_settings:\n Intent intentSettings = new Intent(this, SettingActivity.class);\n startActivity(intentSettings);\n return true;\n case R.id.action_refresh:\n\n return true;\n default:\n return false;\n }\n\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item){\n super.onOptionsItemSelected(item);\n return true;\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n // Handle action bar item clicks here. The action bar will\n // automatically handle clicks on the Home/Up button, so long\n // as you specify a parent activity in AndroidManifest.xml.\n int id = item.getItemId();\n\n\n return super.onOptionsItemSelected(item);\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n return super.onOptionsItemSelected(item);\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n return super.onOptionsItemSelected(item);\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n return super.onOptionsItemSelected(item);\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n return super.onOptionsItemSelected(item);\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n return super.onOptionsItemSelected(item);\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n return super.onOptionsItemSelected(item);\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case R.id.action_browse:\n startActivity(new Intent(this, BrowseActivity.class));\n return true;\n case R.id.action_alphabet:\n startActivity(new Intent(this, AlphabetActivity.class));\n return true;\n case R.id.action_editor:\n startActivity(new Intent(this, EditorActivity.class));\n return true;\n }\n return super.onOptionsItemSelected(item);\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n Class c = Methods.onOptionsItemSelected(id);\n if (c != null) {\n Intent intent = new Intent(getBaseContext(), c);\n startActivity(intent);\n }\n return super.onOptionsItemSelected(item);\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n // Pass the event to ActionBarDrawerToggle, if it returns\n // true, then it has handled the app icon touch event\n if (mDrawerToggle.onOptionsItemSelected(item)) {\n return true;\n }\n\n // Handle your other action bar items...\n return super.onOptionsItemSelected(item);\n }",
"@Override\n\tpublic boolean onOptionsItemSelected(MenuItem item) {\n\t\treturn super.onOptionsItemSelected(item);\n\t}",
"@Override\n\tpublic boolean onOptionsItemSelected(MenuItem item) {\n\t\treturn super.onOptionsItemSelected(item);\n\t}",
"@Override\n\tpublic boolean onOptionsItemSelected(MenuItem item) {\n\t\treturn super.onOptionsItemSelected(item);\n\t}",
"@Override\r\n public boolean onOptionsItemSelected(MenuItem item) {\r\n // Handle item selection\r\n switch (item.getItemId()) {\r\n case android.R.id.home:\r\n onBackPressed();\r\n return true;\r\n\r\n case me.cchiang.lookforthings.R.id.action_sample:\r\n// Snackbar.make(parent_view, item.getTitle() + \" Clicked \", Snackbar.LENGTH_SHORT).show();\r\n return true;\r\n default:\r\n return super.onOptionsItemSelected(item);\r\n }\r\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n\n return super.onOptionsItemSelected(item);\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n\n return super.onOptionsItemSelected(item);\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n\n return super.onOptionsItemSelected(item);\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n\n return super.onOptionsItemSelected(item);\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n\n return super.onOptionsItemSelected(item);\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n\n return super.onOptionsItemSelected(item);\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n\n return super.onOptionsItemSelected(item);\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n\n return super.onOptionsItemSelected(item);\n }",
"protected void cabOnItemPress(int position) {}",
"@Override\n\tpublic boolean onOptionsItemSelected(MenuItem item) {\n\t\tswitch (item.getItemId()) {\n\t\tcase android.R.id.home:\n\t\t\tonBackPressed();\n\t\t\treturn true;\n\t\tcase R.id.scan_menu:\n\t\t\tonScan();\n\t\t\tbreak;\n\t\tcase R.id.opt_about:\n\t\t\t//onAbout();\n\t\t\tbreak;\n\t\tcase R.id.opt_exit:\n\t\t\tfinish();\n\t\t\tbreak;\n\t\tdefault:\n\t\t\treturn super.onOptionsItemSelected(item);\n\t\t}\n\t\treturn true;\n\t}",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n // Respond to the action bar's Up/Home button\n case android.R.id.home:\n onBackPressed();\n return true;\n default:\n return super.onOptionsItemSelected(item);\n }\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n if (item.getItemId() == android.R.id.home) {\n finish(); // close this activity and return to preview activity (if there is any)\n } else if (item.getItemId() == R.id.action_copy) {\n presenter.onActionCopy();\n } else if (item.getItemId() == R.id.action_toReddit) {\n presenter.onActionToReddit();\n } else if (item.getItemId() == R.id.action_share) {\n Toast toast = Toast.makeText(this, \"sharing\", Toast.LENGTH_SHORT);\n toast.show();\n } else if (item.getItemId() == R.id.action_addToFavorites) {\n presenter.onActionToggleFavorite();\n }\n\n return super.onOptionsItemSelected(item);\n }",
"@Override\r\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\r\n switch (id) {\r\n case android.R.id.home:\r\n // app icon in action bar clicked; go home\r\n this.finish();\r\n return true;\r\n default:\r\n return super.onOptionsItemSelected(item);\r\n }\r\n }",
"@Override\n\tpublic boolean onOptionsItemSelected(MenuItem item) {\n\n\t\ttry {\n\t\t\t// Handle presses on the action bar items\n\t\t\tswitch (item.getItemId()) {\n\n\t\t\tcase R.id.action_note_map_view_info:\n\t\t\t\tsetCurrentView(NoteMapView.info);\n\t\t\t\treturn true;\n\n\t\t\tcase R.id.action_note_map_view_image:\n\t\t\t\tsetCurrentView(NoteMapView.image);\n\t\t\t\treturn true;\n\n\t\t\tcase R.id.action_note_map_view_map:\n\t\t\t\tsetCurrentView(NoteMapView.map);\n\t\t\t\treturn true;\n\n\t\t\tcase R.id.action_note_map_close:\n\t\t\t\t// close -> go back to FragmentMainInput\n\t\t\t\tonBackPressed();\n\t\t\t\treturn true;\n\n\t\t\tdefault:\n\t\t\t\treturn super.onOptionsItemSelected(item);\n\t\t\t}\n\t\t}\n\t\tcatch(Exception ex) {\n\t\t\tLog.e(MODULE_TAG, ex.getMessage());\n\t\t}\n\t\treturn super.onOptionsItemSelected(item);\n\t}",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n switch(id) {\n case R.id.action_settings: {\n Intent myIntent = new Intent(Activity_Main.this, Activity_Settings.class);\n Activity_Main.this.startActivity(myIntent);\n return true;\n }\n case R.id.action_moveicons: {\n if (TESTING)\n Toast.makeText(this, \"move icons clicked\", Toast.LENGTH_SHORT).show();\n return true;\n }\n }\n\n return super.onOptionsItemSelected(item);\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) \n {\n if (mDrawerToggle.onOptionsItemSelected(item)) \n {\n return true;\n }\n // Handle action buttons\n switch(item.getItemId()) \n {\n case R.id.action_websearch:\n // create intent to perform web search for this planet\n Intent intent = new Intent(Intent.ACTION_WEB_SEARCH);\n intent.putExtra(SearchManager.QUERY, getActionBar().getTitle());\n // catch event that there's no activity to handle intent\n if (intent.resolveActivity(getPackageManager()) != null) \n {\n startActivity(intent);\n } \n else\n {\n Toast.makeText(this, R.string.app_not_available, Toast.LENGTH_LONG).show();\n }\n return true;\n default:\n return super.onOptionsItemSelected(item);\n }\n }",
"@Override\r\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\r\n case R.id.log:\r\n \tIntent i = new Intent(this, LogItemsActivity.class);\r\n \t\tstartActivity(i);\r\n return true;\r\n case R.id.edit:\r\n \tIntent i1 = new Intent(this, EditItemsActivity.class);\r\n \tstartActivity(i1);\r\n return true;\r\n case R.id.stats:\r\n \tIntent i2 = new Intent(this, BarActivity.class);\r\n \t\tstartActivity(i2);\r\n return true;\r\n default:\r\n return super.onOptionsItemSelected(item);\r\n }\r\n }",
"@Override\r\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\r\n // Respond to a click on the \"Delete all entries\" menu option\r\n case R.id.action_share_list:\r\n // TODO: Action for the App Bar\r\n return true;\r\n case R.id.action_delete:\r\n // TODO: Action for the App Bar\r\n return true;\r\n // Respond to a click on the \"Up\" arrow button in the app bar\r\n case android.R.id.home:\r\n NavUtils.navigateUpFromSameTask(RecordActivity.this);\r\n return true;\r\n }\r\n return super.onOptionsItemSelected(item);\r\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n // Handle presses on the action bar items\n switch (item.getItemId()) {\n case R.id.action_save:\n saveEvent();\n return true;\n default:\n return super.onOptionsItemSelected(item);\n }\n }",
"@Override\n\tpublic boolean onOptionsItemSelected(com.actionbarsherlock.view.MenuItem item) {\n\t\tif (mDrawerToggle.onOptionsItemSelected(item)) {\n\t\t\treturn true;\n\t\t}\n\n\t\t// Handle action buttons\n\t\tswitch (item.getItemId()) {\n\t\t// this is not a desirable approach!\n\t\tcase android.R.id.home:\n\t\t\t// Toast.makeText(this, \"Need to be implemented\",\n\t\t\t// Toast.LENGTH_SHORT).show();\n\t\t\t/*\n\t\t\t * android.support.v4.app.FragmentTransaction ft =\n\t\t\t * getSupportFragmentManager().beginTransaction();\n\t\t\t * ft.replace(R.id.container, fmt); ft.commit();\n\t\t\t */\n\n\t\t\tbreak;\n\t\tcase R.id.action_websearch:\n\t\t\t// // create intent to perform web search for this planet\n\t\t\t// Intent intent = new Intent(Intent.ACTION_WEB_SEARCH);\n\t\t\t// intent.putExtra(SearchManager.QUERY, getActionBar().getTitle());\n\t\t\t// // catch event that there's no activity to handle intent\n\t\t\t// if (intent.resolveActivity(getPackageManager()) != null) {\n\t\t\t// startActivity(intent);\n\t\t\t// } else {\n\t\t\t// Toast.makeText(this, R.string.app_not_available,\n\t\t\t// Toast.LENGTH_LONG).show();\n\t\t\t// }\n\n\t\t\t// item.expandActionView();\n\t\t\treturn false;\n\t\tcase R.id.menu_exit:\n\t\t\tthis.exitApplication();\n\t\t\tbreak;\n\t\tcase R.id.action_share:\n\n\t\t\t// String message = \"Text I wan't to share.\";\n\t\t\t// Intent share = new Intent(Intent.ACTION_SEND);\n\t\t\t// share.setType(\"text/plain\");\n\t\t\t// share.putExtra(Intent.EXTRA_TEXT, message);\n\t\t\t// startActivity(Intent.createChooser(share,\n\t\t\t// \"Title of the dialog the system will open\"));\n\n\t\t\tbreak;\n\t\tcase R.id.menu_settings2:\n\t\t\tIntent intent3 = new Intent(this, SettingsPreferences.class);\n\t\t\tstartActivity(intent3);\n\t\t\tbreak;\n\t\tcase R.id.set_date:\n\n\t\t\tfinal CharSequence[] items;\n\t\t\titems = getResources().getTextArray(R.array.dates_for_police);\n\n\t\t\tAlertDialog.Builder builder = Global.giveMeDialog(this, \"Choose a month for police data\");\n\n\t\t\tbuilder.setPositiveButton(\"OK\", new DialogInterface.OnClickListener() {\n\t\t\t\t@Override\n\t\t\t\tpublic void onClick(DialogInterface dialog, int which) {\n\n\t\t\t\t}\n\t\t\t});\n\t\t\tint i = 0;\n\t\t\tfor (; i < items.length; i++) {\n\t\t\t\tif (items[i].equals(Global.POLICE_DATA_REQUEST_MONTH))\n\t\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tbuilder.setSingleChoiceItems(items, i, new DialogInterface.OnClickListener() {\n\t\t\t\t@Override\n\t\t\t\tpublic void onClick(DialogInterface dialog, int which) {\n\t\t\t\t\tGlobal.setPOLICE_DATA_REQUEST_MONTH(items[which].toString());\n\t\t\t\t}\n\t\t\t});\n\n\t\t\tbuilder.show();\n\n\t\t\tbreak;\n\t\tcase R.id.register_dialgo_action_bar:\n\t\t\tif (!Global.isRegistered(this)) {\n\t\t\t\tif (regDialog == null) {\n\t\t\t\t\tregDialog = new RegDialogFragment();\n\n\t\t\t\t\tregDialog.show(getSupportFragmentManager(), \"should be changed here\");\n\t\t\t\t} else {\n\t\t\t\t\tregDialog.show(getSupportFragmentManager(), \"should be changed here\");\n\t\t\t\t\t// Toast.makeText(this, DEBUG + \" ID Yes\",\n\t\t\t\t\t// Toast.LENGTH_SHORT).show();\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\titem.setVisible(false);\n\t\t\t}\n\n\t\t\tbreak;\n\n\t\tcase R.id.email_developer:\n\t\t\tIntent intent = new Intent(Intent.ACTION_SEND);\n\t\t\tintent.setType(\"message/rfc822\");\n\t\t\tintent.putExtra(Intent.EXTRA_EMAIL, new String[] { \"[email protected]\" });\n\t\t\tintent.putExtra(Intent.EXTRA_SUBJECT, \"[DESURBS] - YOURSafe\");\n\t\t\tintent.putExtra(Intent.EXTRA_TEXT, \"Hi, Yang \\n\\n\");\n\t\t\ttry {\n\t\t\t\tstartActivity(Intent.createChooser(intent, \"Send mail...\"));\n\t\t\t} catch (android.content.ActivityNotFoundException ex) {\n\t\t\t\tToast.makeText(this, \"There are no email clients installed.\", Toast.LENGTH_SHORT).show();\n\t\t\t}\n\n\t\t\tbreak;\n\n\t\tcase R.id.survey_developer:\n\n\t\t\tString url = \"https://docs.google.com/forms/d/1HgHhfY-Xgt53xqMPCZC_Q_rL8AKUhNi9LiPXyhKkPq4/viewform\";\n\t\t\tintent = new Intent(Intent.ACTION_VIEW);\n\t\t\tintent.setData(Uri.parse(url));\n\t\t\tstartActivity(intent);\n\n\t\t\tbreak;\n\n\t\tcase R.id.menu_about:\n\t\t\tToast.makeText(this, \"This is Version \" + this.getString(R.string.version_name), Toast.LENGTH_SHORT).show();\n\t\t\tbreak;\n\n\t\tdefault:\n\t\t\treturn super.onOptionsItemSelected(item);\n\t\t}\n\t\treturn true;\n\n\t}",
"@Override\n\tpublic boolean onOptionsItemSelected(MenuItem item) {\n\t\tint id = item.getItemId();\n\t\t//noinspection SimplifiableIfStatement\n\t\tIntent intent;\n\t\tswitch (id) {\n\t\t\tcase R.id.action_info:\n\t\t\t\tif(mBound) {\n\t\t\t\t\tStringBuffer message = new StringBuffer(getVersionInfo());\n\t\t\t\t\tmessage.append(mService.getConnectivityStatus().toString());\n\t\t\t\t\tMediaPlayerService.showMessageInPopup(message, Toast.LENGTH_LONG * 50, false);\n\t\t\t\t}\n\t\t\t\treturn true;\n\t\t\tcase R.id.action_settings:\n\t\t\t\tintent = new Intent(this, SettingsActivity.class);\n\t\t\t\tstartActivityForResult(intent, FavoriteStationsFrame.RESULT_SETTINGS);\n\t\t\t\treturn true;\n\t\t\t/*case R.id.action_add:\n\t\t\t\tintent = new Intent(this, SearchForStationsFrame.class);\n\t\t\t\tstartActivityForResult(intent, FavoriteStationsFrame.RESULT_ADD_STATIONS);\n\t\t\t\treturn true;*/\n\t\t\tcase R.id.action_help:\n\t\t\t\tintent = new Intent(this, HelpActivity.class);\n\t\t\t\tintent.putExtra(HelpActivity.ARG_SECTION_NUMBER, mViewPager.getCurrentItem());\n\t\t\t\tstartActivity(intent);\n\t\t\t\treturn true;\n\t\t\t/*case R.id.action_help1:\n\t\t\t\tintent = new Intent(this, HelpTabbedActivity.class);\n\t\t\t\tintent.putExtra(HelpTabbedActivity.PlaceholderFragment.ARG_SECTION_NUMBER, mViewPager.getCurrentItem());\n\t\t\t\tstartActivity(intent);\n\t\t\t\treturn true;*/\n\t\t\tcase android.R.id.home:\n\t\t\t\tif(mViewPager.getCurrentItem() == SEARCH_FOR_STATIONS)\n\t\t\t\t\tbreak;\n\t\t\tcase R.id.action_exit:\n\t\t\t\tHandler delayedPost = new Handler();\n\t\t\t\tdelayedPost.postDelayed(new Runnable() {\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\texitApp();\n\t\t\t\t\t}\n\t\t\t\t}, 100);//exitApp();\n\t\t\t\treturn true;\n\t\t\tcase R.id.action_volume_down:\n\t\t\tcase R.id.action_volume_up:\n\t\t\t\tif(mBound)\n\t\t\t\t\tmService.changeVolumeLevel(id==R.id.action_volume_up);\n\t\t\t\treturn true;\n\t\t}\n\n\t\treturn super.onOptionsItemSelected(item);\n\t}",
"@Override\r\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\r\n return super.onOptionsItemSelected(item);\r\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) { Handle action bar item clicks here. The action bar will\n // automatically handle clicks on the Home/Up button, so long\n // as you specify a parent activity in AndroidManifest.xml.\n\n //\n // HANDLE BACK BUTTON\n //\n int id = item.getItemId();\n if (id == android.R.id.home) {\n // Back button clicked\n this.finish();\n }\n\n return super.onOptionsItemSelected(item);\n }",
"@Override\n\tpublic boolean onOptionsItemSelected(MenuItem item) {\n\t\tif (mDrawerToggle.onOptionsItemSelected(item)) {\n\t\t\treturn true;\n\t\t}\n\t\t// Handle action bar actions click\n\t\tswitch (item.getItemId()) {\n\t\tcase R.id.action_rate:\n\n\t\t\n\t\t\tToast.makeText(con, \"rate button is clicked\", 1000).show(); \n\n\t\t\treturn true;\n\t\t\t\n\t\tcase R.id.action_best:\n\n\t\t\t\n\t\t\tToast.makeText(con, \"Best button is clicked\", 1000).show(); \n\n\t\t\treturn true;\n\t\t\t\n\t\t\t\n\t\tcase R.id.action_liked:\n\n\t\t\t\n\t\t\tToast.makeText(con, \"liked button is clicked\", 1000).show(); \n\n\t\t\treturn true;\n\t\t\t\n\t\t\t\n\t\tcase R.id.action_language:\n\t\t{\n\t\t\tToast.makeText(con, \"Language button is clicked\", 1000).show(); \n\t\t\t\n\t\t\t\n\t\t\tString lCode=\"en\";\n\t\t\t\n\t\t\tif(PersistData.getStringData(con, \"LNG\").equalsIgnoreCase(\"en\"))\n\t\t\t{\n\t\t\t\t\n\t\t\t\t/*\n\t\t\t\t *english is there already, need bangla\n\t\t\t\t */\n\t\t\t\tlCode=\"bn\";\n\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t}else if(PersistData.getStringData(con, \"LNG\").equalsIgnoreCase(\"bn\"))\n\t\t\t\n\t\t\t{\n\t\t\t\tlCode=\"en\";\n\t\t\t\t\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\t\n\t\t\tchangeLocateAndRestart(lCode);\n\n\t\t\treturn true;\n\t\t}\n\t\t\t\n\t\tdefault:\n\t\t\treturn super.onOptionsItemSelected(item);\n\t\t}\n\t}",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n\n //HouseKeeper handles menu item click event\n mHouseKeeper.onOptionsItemSelected(item);\n\n\n return super.onOptionsItemSelected(item);\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n\n //noinspection SimplifiableIfStatement\n if (id == R.id.action_settings)\n return true;\n\n switch (id) {\n case R.id.action_sendShift:\n sendEvent();\n return true;\n\n\n case R.id.action_delete:\n deleteOrShowMethod();\n return true;\n }\n return super.onOptionsItemSelected(item);\n\n }",
"@Override\n public boolean onOptionsItemSelected(@NonNull MenuItem item) {\n //get item id to handle item clicks\n return super.onOptionsItemSelected(item);\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n //Back arrow\n case android.R.id.home:\n onBackPressed();\n }\n return super.onOptionsItemSelected(item);\n }",
"@Override\n\tpublic boolean onOptionsItemSelected(MenuItem item) {\n\t\tswitch (item.getItemId()) {\n\t\tcase R.id.action_done:\n\t\t\tquitPlay();\n\t\t\treturn true;\n\n\t\tdefault:\n\t\t\treturn super.onOptionsItemSelected(item);\n\t\t}\n\t}",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n\n switch (item.getItemId()) {\n case android.R.id.home:\n super.onBackPressed();\n return true;\n\n default:\n // If we got here, the user's action was not recognized.\n // Invoke the superclass to handle it.\n return super.onOptionsItemSelected(item);\n\n }\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case R.id.action_quit:\n return true;\n default:\n return super.onOptionsItemSelected(item);\n }\n }",
"@Override\n\tpublic boolean onOptionsItemSelected(MenuItem item) {\n\t\tswitch (item.getItemId()) {\n\t\tcase android.R.id.home:\n\t\t\tonBackPressed();\n\t\t\treturn true;\n\t\tdefault:\n\t\t\treturn super.onOptionsItemSelected(item);\n\t\t}\n\t}",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case R.id.home:\n home_pres();\n break;\n case R.id.back:\n back_press();\n break;\n case R.id.previous:\n previous_press();\n break;\n case R.id.next:\n next_press();\n break;\n default:\n assert false;\n }\n return true;\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n\n\n\n return super.onOptionsItemSelected(item);\n }",
"@Override\r\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\r\n\r\n //noinspection SimplifiableIfStatement\r\n\r\n\r\n return super.onOptionsItemSelected(item);\r\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n if (myDrawerToggle.onOptionsItemSelected(item)) {\n return true;\n }\n // Handle action buttons\n switch(item.getItemId()) {\n case R.string.action_websearch:\n // create intent to perform web search for this planet\n Intent intent = new Intent(Intent.ACTION_WEB_SEARCH);\n intent.putExtra(SearchManager.QUERY, getSupportActionBar().getTitle());\n // catch event that there's no activity to handle intent\n if (intent.resolveActivity(getPackageManager()) != null) {\n startActivity(intent);\n } else {\n Toast.makeText(this, R.string.app_not_available, Toast.LENGTH_LONG).show();\n }\n return true;\n default:\n return super.onOptionsItemSelected(item);\n }\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n\n\n return super.onOptionsItemSelected(item);\n }",
"@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\r\n\r\n\t\tinflater.inflate(R.menu.main_activity_actions, menu);\r\n\r\n\r\n\t\tif(tv==null) {\r\n\t\t\tRelativeLayout badgeLayout = (RelativeLayout) menu.findItem(R.id.action_notification).getActionView();\r\n\t\t\ttv = (TextView) badgeLayout.findViewById(R.id.hotlist_hot);\r\n\t\t\ttv.setText(\"12\");\r\n\t\t}\r\n\r\n\t\t/*menu.findItem(R.id.action_notification).getActionView().setOnClickListener(new OnClickListener() {\r\n\t\t\t@Override\r\n\t\t\tpublic void onClick(View v) {\r\n\r\n\t\t\t\t\tSystem.out.println(\"clicked\");\r\n\t\t\t\t\ttv.setEnabled(false);\r\n\t\t\t\t\ttv.setBackground(null);\r\n\t\t\t\t\ttv.setBackgroundDrawable(null);\r\n\t\t\t\t\ttv.setText(null);\r\n\t\t\t\t\tintent = new Intent(getApplicationContext(), Notification.class);\r\n\t\t\t\t\tstartActivity(intent);\r\n\r\n\t\t\t}\r\n\t\t});*/\r\n\t\t//getActionBar().setCustomView(R.layout.menu_example);\r\n\t\t//getActionBar().setDisplayOptions(ActionBar.DISPLAY_SHOW_CUSTOM | ActionBar.DISPLAY_SHOW_HOME | ActionBar.DISPLAY_HOME_AS_UP);\r\n\t\t//getActionBar().setIcon(android.R.color.transparent);\r\n\t\treturn true;\r\n\t}",
"@Override\n\t\t\t\t\t\t\t\tpublic void onClick(View arg0) {\n\t\t\t\t\t\t\t\t\tMainActivity sct = (MainActivity) act;\n\t\t\t\t\t\t\t\t\tsct.onItemClick(posit2, 11);\n\t\t\t\t\t\t\t\t}",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n if (id == android.R.id.home) {\n Log.e(\"clik\", \"action bar clicked\");\n finish();\n }\n\n return super.onOptionsItemSelected(item);\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n if (mDrawerToggle.onOptionsItemSelected(item)) {\n return true;\n }\n // Handle action buttons\n switch (item.getItemId()) {\n case R.id.action_websearch:\n // create intent to perform web search for this planet\n Intent intent = new Intent(Intent.ACTION_WEB_SEARCH);\n intent.putExtra(SearchManager.QUERY, getActionBar().getTitle());\n // catch event that there's no activity to handle intent\n if (intent.resolveActivity(getPackageManager()) != null) {\n startActivity(intent);\n } else {\n Toast.makeText(this, R.string.app_not_available, Toast.LENGTH_LONG).show();\n }\n return true;\n default:\n return super.onOptionsItemSelected(item);\n }\n }",
"@Override\n\t public boolean onOptionsItemSelected(MenuItem item) {\n\t int id = item.getItemId();\n\t \n\t\t\tif (id == android.R.id.home) {\n\t\t\t\t// Respond to the action bar's Up/Home button\n\t\t\t\t// NavUtils.navigateUpFromSameTask(this);\n\t\t\t\tonBackPressed();\n\t\t\t\treturn true;\n\t\t\t}\n\t \n\t \n\t return super.onOptionsItemSelected(item);\n\t }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n switch (id){\n case R.id.action_settings :\n return true;\n\n case R.id.historic:\n vibe.vibrate(60); // 60 is time in ms\n Intent historicIntent = new Intent(MainActivity.this,HistoricActivity.class);\n historicIntent.setAction(BaseUtils.HISTORIC_INTENT);\n startActivityForResult(historicIntent, 1);\n\n break;\n case R.id.action_left:\n\n if(wV.canGoBack()){\n vibe.vibrate(60); // 60 is time in ms\n wV.goBack();\n }else{\n Toast.makeText(this,\"Nothing to load\",Toast.LENGTH_SHORT).show();\n }\n break;\n case R.id.action_right:\n if(wV.canGoForward()){\n vibe.vibrate(60); // 60 is time in ms\n wV.goForward();\n }else{\n Toast.makeText(this,\"Nothing to load\",Toast.LENGTH_SHORT).show();\n }\n break;\n case R.id.bookmarks:\n vibe.vibrate(60); // 60 is time in ms\n //Insert into bookmarks the active URL\n dao.insertBookmark(this,wV.getUrl());\n break;\n case R.id.seeBookmarks:\n Intent bookmarkIntent = new Intent(MainActivity.this,HistoricActivity.class);\n bookmarkIntent.setAction(BaseUtils.BOOKMARKS_INTENT);\n startActivityForResult(bookmarkIntent,1);\n break;\n\n }\n\n return super.onOptionsItemSelected(item);\n }",
"@Override\n\tpublic boolean onOptionsItemSelected(MenuItem item) {\n\t\tint id = item.getItemId();\n\t\tif (id == R.id.action_settings) {\n\t\t\treturn true;\n\t\t}\n\t\t// Handle presses on the action bar items\n\t switch (item.getItemId()) {\n\t case R.id.action_settings:\n\t //openSearch();\n\t return true;\n\t case R.id.action_talkback:\n\t startActivity(new Intent(this, AboutMeActivity.class));\n\t return true;\n\t default:\n\t return super.onOptionsItemSelected(item);\n\t }\n\t}",
"@Override\n\tpublic boolean onOptionsItemSelected(MenuItem item) {\n\t\t\t\tswitch (item.getItemId()) {\t\t\t\t\t\n\t\t\t\tcase R.id.back:\n\t\t\t\t\tback();\n\t\t\t\t\treturn true;\n\t\t\t\t\t\n\t\t\t\tcase R.id.edit:\n\t\t\t\t\tedit();\n\t\t\t\t\treturn true;\n\t\t\t\t\t\n\t\t\t\tdefault:\n\t\t\t\t\treturn super.onOptionsItemSelected(item);\n\t\t}\n\t}",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n\n return super.onOptionsItemSelected(item);\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n\n return super.onOptionsItemSelected(item);\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n\n return super.onOptionsItemSelected(item);\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n\n return super.onOptionsItemSelected(item);\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n\n return super.onOptionsItemSelected(item);\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n\n return super.onOptionsItemSelected(item);\n }",
"@Override\r\n public boolean onOptionsItemSelected(MenuItem item) {\n \r\n \tint id = item.getItemId();\r\n switch (id) {\r\n case R.id.action_settings:\r\n \topenSettings();\r\n return true;\r\n case R.id.action_about:\r\n \topenAbout();\r\n \treturn true;\r\n case R.id.action_exit:\r\n \tExit();\r\n \treturn true;\r\n default:\r\n return super.onOptionsItemSelected(item);\r\n }\r\n }",
"@Override\n\tpublic boolean onOptionsItemSelected(MenuItem item) {\n\t\tint id = item.getItemId();\n\t\treturn super.onOptionsItemSelected(item);\n\t}",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n switch (id) {\n case R.id.action_settings:\n return true;\n case android.R.id.home:\n onActionHomePressed();\n }\n return super.onOptionsItemSelected(item);\n }",
"@Override\n public boolean onOptionsItemSelected(@NonNull MenuItem item) {\n return super.onOptionsItemSelected(item);\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n\n switch (item.getItemId()) {\n case R.id.action_exit:\n System.exit(0);\n break;\n case R.id.action_2players:\n Intent mainActivity = new Intent(this, TwoPlayersActivity.class);\n startActivity(mainActivity);\n break;\n case R.id.action_about:\n showPopUpWindow();\n break;\n }\n return super.onOptionsItemSelected(item);\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n if (mDrawerToggle.onOptionsItemSelected(item)) {\n return true;\n }\n // Handle action buttons\n switch (item.getItemId()) {\n case R.id.action_websearch:\n Toast.makeText(this, \"Search Web for planet \" + mTitle, Toast.LENGTH_SHORT).show();\n return true;\n default:\n return super.onOptionsItemSelected(item);\n }\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId ()) {\n case android.R.id.home:\n onBackPressed ();\n return true;\n\n default:\n break;\n }\n return super.onOptionsItemSelected ( item );\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n\n onBackPressed();\n\n return super.onOptionsItemSelected(item);\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n onBackPressed();\n return true;\n\n default:\n return super.onOptionsItemSelected(item);\n }\n\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n switch(id)\n {\n case R.id.action_home:\n Intent intent1 = new Intent(NoteListActivity.this.getApplicationContext(), MainActivity.class);\n startActivity(intent1);\n finish();\n break;\n case R.id.action_links:\n Intent intent2 = new Intent(NoteListActivity.this.getApplicationContext(), LinkListActivity.class);\n startActivity(intent2);\n finish();\n break;\n case R.id.action_tips:\n Intent intent3 = new Intent(NoteListActivity.this.getApplicationContext(), TipActivity.class);\n startActivity(intent3);\n break;\n default:\n break;\n }\n\n return super.onOptionsItemSelected(item);\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n\n switch (item.getItemId())\n {\n case android.R.id.home :\n super.onBackPressed();\n break;\n }\n return super.onOptionsItemSelected(item);\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n onBackPressed();\n return true;\n default:\n return super.onOptionsItemSelected(item);\n\n }\n\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n Intent i;\n switch (id) {\n case R.id.action_search:\n break;\n case R.id.overflow1:\n i = new Intent(Intent.ACTION_VIEW);\n i.setData(Uri.parse(\"http://advanced.shifoo.in/site/appterms-and-conditions\"));\n startActivity(i);\n break;\n case R.id.overflow2:\n i = new Intent(Intent.ACTION_VIEW);\n i.setData(Uri.parse(\"http://www.shifoo.in/site/privacy-policy\"));\n startActivity(i);\n break;\n default:\n return super.onOptionsItemSelected(item);\n }\n return true;\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n switch (id) {\n case android.R.id.home:\n onBackPressed();\n break;\n }\n return super.onOptionsItemSelected(item);\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n // Handle action bar item clicks here. The action bar will\n // automatically handle clicks on the Home/Up button, so long\n // as you specify a parent activity in AndroidManifest.xml.\n\n int id = item.getItemId();\n // 주석처리함..\n // if (id == R.id.action_settings) {\n // return true;\n // }\n\n return super.onOptionsItemSelected(item);\n }",
"@Override\n\tpublic boolean onOptionsItemSelected(MenuItem item) {\n\t switch (item.getItemId()) {\n\t \n\t case R.id.action_settings:\n\t \t Intent prefsIntentS = new Intent(this, PreferencesActivity.class);\n\t startActivity(prefsIntentS);\n\t return true;\n\t case R.id.action_about:\n\t \t Intent aboutIntent = new Intent(this, AboutActivity.class);\n\t \t startActivity(aboutIntent);\n\t \t overridePendingTransition(R.anim.fadein,R.anim.fader);\n\t return true;\n\t case R.id.action_help:\n\t \t Intent helpIntent = new Intent(this, HelpActivity.class);\n\t \t startActivity(helpIntent);\n\t \t overridePendingTransition(R.anim.fadein,R.anim.fader);\n\t return true;\n\t default:\n\t return super.onOptionsItemSelected(item);\n\t }\n\t}",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n //Implement action listener on the menu buttons\n int itemId = item.getItemId();\n\n //Choose the appropriate action menu based on the button selected\n switch (itemId) {\n case R.id.action_open_save_list:\n openSaveList();\n break;\n case R.id.action_settings:\n openAppSettings();\n }\n return super.onOptionsItemSelected(item);\n }"
]
| [
"0.7173379",
"0.69227743",
"0.69227743",
"0.69227743",
"0.69227743",
"0.6911944",
"0.6884609",
"0.6881586",
"0.68243235",
"0.68193024",
"0.68051094",
"0.6801348",
"0.678705",
"0.678705",
"0.67608094",
"0.67543995",
"0.6754033",
"0.674645",
"0.67355984",
"0.6727317",
"0.67257065",
"0.67257065",
"0.67257065",
"0.67257065",
"0.67257065",
"0.67257065",
"0.6723229",
"0.67047226",
"0.670323",
"0.6695576",
"0.6695576",
"0.6695576",
"0.6673202",
"0.66641897",
"0.66641897",
"0.66641897",
"0.66641897",
"0.66641897",
"0.66641897",
"0.66641897",
"0.66641897",
"0.6651234",
"0.66501373",
"0.66408205",
"0.6640387",
"0.6596357",
"0.6595274",
"0.6593547",
"0.65873045",
"0.6578023",
"0.65763044",
"0.6571006",
"0.6561838",
"0.65557647",
"0.65519553",
"0.65340966",
"0.65310395",
"0.6512335",
"0.6510273",
"0.6502483",
"0.6497952",
"0.64960766",
"0.6488292",
"0.64863867",
"0.64830875",
"0.6482162",
"0.6477473",
"0.6476086",
"0.6474335",
"0.6471746",
"0.64694387",
"0.64618725",
"0.6460911",
"0.6459166",
"0.64538074",
"0.6453495",
"0.6448078",
"0.644757",
"0.6446672",
"0.6446672",
"0.6446672",
"0.6446672",
"0.6446672",
"0.6446672",
"0.64438176",
"0.6437946",
"0.6434402",
"0.6428054",
"0.6421541",
"0.64196163",
"0.64186686",
"0.6415855",
"0.6414209",
"0.64138687",
"0.64123267",
"0.64088166",
"0.6406903",
"0.64038754",
"0.6401255",
"0.6400071",
"0.63982415"
]
| 0.0 | -1 |
pop up an interactive dialog box or insert additional matching logic | public boolean verify(String hostname, SSLSession session) {
boolean good_address;
if (mHostName.equals(hostname)) {
good_address = true;
} else {
good_address = false;
}
LogUtils.i("MyHostnameVerifier", "主机名认证结果=="+good_address);
return good_address;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void actionPerformed(ActionEvent e) {\r\n JTextField ownerTf;\r\n String mes;\r\n\r\n String record[] = getRecordOnPan();\r\n\r\n try {\r\n int match[] = data.find(record);\r\n \r\n if (match.length > 1) {\r\n updateStatus(\"More than one match record.\");\r\n return;\r\n } else if (match.length == 0) {\r\n updateStatus(\"Record not found.\");\r\n return;\r\n }\r\n \r\n ownerTf = new JTextField();\r\n ownerTf.setText(record[5]);\r\n mes = \"Enter customer id\";\r\n \r\n int result = JOptionPane.showOptionDialog(\r\n frame, new Object[] {mes, ownerTf},\r\n \"Booking\", JOptionPane.OK_CANCEL_OPTION,\r\n JOptionPane.PLAIN_MESSAGE,\r\n null, null, null);\r\n\r\n if (result == JOptionPane.OK_OPTION) {\r\n record[5] = ownerTf.getText();\r\n bc.handleUpdateGesture(match[0], record);\r\n updateStatus(\"Subcontractor booked.\");\r\n }\r\n } catch (Exception ex) {\r\n updateStatus(ex.getMessage());\r\n }\r\n }",
"private void showMatchOverDialog(String winnerName) {\n this.computerPaquetView.showOnceHiddenCards();\n int dialogResult = JOptionPane.showConfirmDialog (null, String.format(\"%s won!\\nContinue?\", winnerName),\"\", JOptionPane.YES_NO_OPTION);\n if(dialogResult == JOptionPane.YES_OPTION){\n this.startGame();\n } else {\n this.dispose();\n }\n }",
"public void onShowPopupNoSearchCriteria() {\n int left = view.getSearchContent().getElement().getAbsoluteLeft();\n int top = view.getSearchContent().getElement().getAbsoluteTop() + 40;\n VerticalPanel vp = new VerticalPanel();\n vp.addStyleName(StyleResource.INSTANCE.modal().suggestModal());\n vp.add(new Label(Storage.MSGS.searchNoSearchingCriteria()));\n PopupPanel popup = new PopupPanel(true);\n popup.setWidget(vp);\n popup.setPopupPosition(left, top);\n popup.show();\n }",
"public static void main(String[] args) {\nint replaced = JOptionPane.showConfirmDialog(null,\"Replace existing selection?\");\n String result = \"?\";\n switch (replaced) {\n case JOptionPane.CANCEL_OPTION:\n result = \"Canceled\";\n break;\n case JOptionPane.CLOSED_OPTION:\n result = \"Closed\";\n break;\n case JOptionPane.NO_OPTION:\n result = \"No\";\n break;\n case JOptionPane.YES_OPTION:\n result = \"Yes\";\n break;\n default:\n ;\n }\nSystem.out.println(\"Replace? \" + result);\n }",
"private void findPopMenuItemActionPerformed(java.awt.event.ActionEvent evt) {\n if (sdd == null) {\n sdd = new SearchDialog(this);\n }\n sdd.setVisible(true);\n }",
"private String promptLoadOrNew(){\r\n Object[] options = {\"Start A New Game!\", \"Load A Previous Game.\"};\r\n String result = (String) JOptionPane.showInputDialog(\r\n null,\r\n \"What would you like to do?\",\r\n \"Welcome!\",\r\n JOptionPane.PLAIN_MESSAGE,\r\n null,\r\n options,\r\n 1);\r\n return result;\r\n \r\n }",
"private String showCharacterSuggestions(String room) {\n\t\tButtonGroup characterButtons = new ButtonGroup();\n\t\tList<JRadioButton> btns = setupCharacterButtons();\n\t\t\n\t // set up dialog box\n\t\tJPanel characterPanel = new JPanel(new GridLayout(0, 1));\n\t\tJLabel lbl = new JLabel(\"You are in the \"+room+\".\"\n\t\t\t\t+ \"\\n Select the character that you suspect.\");\n\t\tcharacterPanel.add(lbl);\n\t\t\n\t // add the buttons to the panel\n\t for(JRadioButton b : btns){\n\t \tcharacterButtons.add(b);\n\t \tcharacterPanel.add(b);\n\t }\n\t \n\t\t// show dialog\n\t JOptionPane.showMessageDialog(frame, characterPanel);\n\t // decide which button has been selected\n\t for(JRadioButton b : btns){\n\t \tif(b.isSelected()){\n\t \t\treturn b.getText();\n\t \t}\n\t }\n\t return null;\n\t}",
"@Override\r\n\r\n\tpublic void doAction(Object object, Object param, Object extParam,Object... args) {\n\t\tString match = \"\";\r\n\t\tString ks = \"\";\r\n\t\tint time = 3000; // Default wait 3 secs before and after the dialog shows.\r\n\r\n\t\ttry {\r\n\t\t\tThread.sleep(time);\r\n\t\t\tIWindow activeWindow = RationalTestScript.getScreen().getActiveWindow();\r\n\t\t\t// ITopWindow activeWindow = (ITopWindow)AutoObjectFactory.getHtmlDialog(\"ITopWindow\");\r\n\t\t\tif ( activeWindow != null ) {\r\n\t\t\t\tif ( activeWindow.getWindowClassName().equals(\"#32770\") ) {\r\n\t\t\t\t\tactiveWindow.inputKeys(param.toString());\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t\t\r\n\t\t\t/*int hwnd = Win32IEHelper.getDialogTop();\r\n\t\t\tTopLevelTestObject too = null;\r\n\t\t\tTestObject[] foundTOs = RationalTestScript.find(RationalTestScript.atChild(\".hwnd\", (long)hwnd, \".domain\", \"Win\"));\r\n\t\t\tif ( foundTOs!=null ) {\r\n\t\t\t\t// Maximize it\r\n\t\t\t\tif ( foundTOs[0]!=null) {\r\n\t\t\t\t\ttoo = new TopLevelTestObject(foundTOs[0]);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tif (too!=null) {\r\n\t\t\t\ttoo.inputKeys(param.toString());\r\n\t\t\t}*/\r\n\t\t\tThread.sleep(time);\r\n\t\t} catch (NullPointerException e ) {\t\t\t\r\n\t\t} catch (ClassCastException e) {\r\n\t\t} catch (Exception e) {\r\n\t\t\tSystem.err.println(\"Error finding the HTML dialog.\");\r\n\t\t}\r\n\t}",
"private void findClubEvent () {\n \n findClubEvent (\n findButton.getText(), \n findText.getText().trim(), \n true);\n \n if (findText.getText().trim().length() == 0) {\n findText.grabFocus();\n statusBar.setStatus(\"Enter a search string\");\n }\n }",
"private void showResult() {\n int i = 0;\n matchList.forEach(match -> match.proceed());\n for (Match match : matchList) {\n setTextInlabels(match.showTeamWithResult(), i);\n i++;\n }\n }",
"private void showMatch() {\n System.out.println(\"Player 1\");\n game.getOne().getField().showField();\n System.out.println(\"Player 2\");\n game.getTwo().getField().showField();\n }",
"@Override\r\npublic String popupSearch(String criteria) {\n\treturn null;\r\n}",
"@Override\n public void messagePrompt(String message) {\n JOptionPane.showMessageDialog(lobbyWindowFrame,message+\" is choosing the gods\");\n }",
"public static void main(String[] args) {\nString answer= JOptionPane.showInputDialog(\"do you like dogs\");\n\tJOptionPane.showMessageDialog(null,(answer));\n\t}",
"private void usernameTakenDialog() {\n Dialog dialog = new Dialog(\"Username taken\", cloudSkin, \"dialog\") {\n public void result(Object obj) {\n System.out.println(\"result \" + obj);\n }\n };\n dialog.text(\"This username has already been taken, try a new one.\");\n dialog.button(\"OK\", true);\n dialog.show(stage);\n }",
"private void popupLogic(int[] idList) {\n int markerId;\n\n if (idList.length == 0) {\n //startupFlag\n if (startupFlag) { //mostra messaggio di benvenuto\n showDialog(9999, false); //trova ID1\n startupFlag = false; //non viene piu mostrato\n }\n return; //non fa nulla\n } else {\n markerId = idList[0]; //controlla solo il primo marker tra tutti i rilevati nel frame.\n }\n\n switch (markerId) {\n case ID1: { //23\n if (!foundID1) { //non ancora stato trovato\n showDialog(ID1, true); //OK, vai a ID2\n foundID1 = true;\n break;\n }\n break;\n }\n case ID2: { //3\n if (!foundID2) {\n if (foundID1) { //Se ID1 è già stato trovato\n showDialog(ID2, true); //OK, vai a ID3\n foundID2 = true;\n break;\n } else { //devi trovare prima ID1\n showDialog(ID1, false); //NO, cerca ID1 prima.\n foundID1 = false;\n break;\n }\n }\n break;\n }\n case ID3: { //5\n if (!foundID3) { //se ID3 non è ancora stato trovato\n if (foundID1 && foundID2) { //se ID1 e ID2 sono già stati trovati\n showDialog(ID3, true); //congrats\n foundID3 = true;\n break;\n } else {\n if (!foundID2) { //ID2 non è stato trovato\n if (!foundID1) { // ID1 non è stato trovato\n showDialog(ID1, false);\n foundID1 = false; //trova ID1\n break;\n } else { // ID1 trovato\n showDialog(ID2, false); //trova ID2\n foundID2 = false;\n break;\n }\n }\n break;\n }\n }\n break;\n }\n }\n\n\n }",
"@Override\r\n\tpublic String popupSearch(String criteria) {\n\t\treturn null;\r\n\t}",
"@Override\r\n\tpublic String popupSearch(String criteria) {\n\t\treturn null;\r\n\t}",
"public void handleResultShow(){\n\n AlertDialog.Builder builder = new AlertDialog.Builder(this);\n builder.setTitle(\"Make a selection\");\n\n //create the String[] to display the search result to user\n final CharSequence[] sArray = new CharSequence[searchResult.size()];\n for (int i = 0; i < searchResult.size(); i++){\n sArray[i] = searchResult.get(i).getSymbolwithName();\n }\n builder.setItems(sArray, new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog, int which) {\n //add the selection stock to main page\n validateAdd(searchResult.get(which));\n updatePrice();\n }\n });\n\n builder.setNegativeButton(\"Nevermind\", null);\n AlertDialog dialog = builder.create();\n dialog.show();\n\n }",
"DialogResult show();",
"private void choosePrompt() {\r\n\t\tfor (int i = 0; i < mustChoose.size(); i++) {\r\n\t\t\tString prompt = \"**[Choose]** \";\r\n\t\t\t// Find the correct text to display\r\n\t\t\tif (mustChoose.get(i).contentEquals(\"Shrine\")) {\r\n\t\t\t\tprompt += \"**1** :moneybag: ~OR~ **1** :heart:\";\r\n\t\t\t} else if (mustChoose.get(i).contentEquals(\"Dragon Shrine\")) {\r\n\t\t\t\tprompt += \"**2** :moneybag: ~OR~ **1** :wastebasket:\";\r\n\t\t\t} else if (mustChoose.get(i).contentEquals(\"Treasure Hunter\")) {\r\n\t\t\t\tprompt += \"a card to replace in the dungeon row (4-9)\";\r\n\t\t\t} else if (mustChoose.get(i).contentEquals(\"Underworld Dealing\")) {\r\n\t\t\t\tprompt += \"**1** :moneybag: ~OR~ **BUY 2** __Secret Tome__ **FOR 7** :moneybag:\";\r\n\t\t\t} else if (mustChoose.get(i).contentEquals(\"Apothecary\")) {\r\n\t\t\t\tprompt += \"**3** :crossed_swords: **~OR~** **2** :moneybag: **~OR~** **1** :heart:\";\r\n\t\t\t} else if (mustChoose.get(i).contentEquals(\"Mister Whiskers\")) {\r\n\t\t\t\tprompt += \"**Dragon Attack** ~OR~ **-2** :warning:\";\r\n\t\t\t} else if (mustChoose.get(i).contentEquals(\"Wand of Wind\")) {\r\n\t\t\t\tif (GlobalVars.teleportRoomsPerRoom.length > 0) {\r\n\t\t\t\t\tprompt += \"**1** :crystal_ball: ~OR~ Take a **SECRET** from an adjacent room ``\"+\r\n\t\t\t\t\t\tUtils.arrayToString(GlobalVars.adjacentRoomsPerRoom[currentPlayer.getCurrentRoom()])+\" ┃ \"+\r\n\t\t\t\t\t\tUtils.arrayToString(GlobalVars.teleportRoomsPerRoom[currentPlayer.getCurrentRoom()])+\"``\";\r\n\t\t\t\t} else {\r\n\t\t\t\t\tprompt += \"**1** :crystal_ball: ~OR~ Take a **SECRET** from an adjacent room ``\"+\r\n\t\t\t\t\t\t\tUtils.arrayToString(GlobalVars.adjacentRoomsPerRoom[currentPlayer.getCurrentRoom()])+\"``\";\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tgameChannel.sendMessage(prompt).queue();\r\n\t\t}\r\n\t}",
"protected void dialog() {\n TextInputDialog textInput = new TextInputDialog(\"\");\n textInput.setTitle(\"Text Input Dialog\");\n textInput.getDialogPane().setContentText(\"Nyt bord nr: \");\n textInput.showAndWait()\n .ifPresent(response -> {\n if (!response.isEmpty()) {\n newOrderbutton(response.toUpperCase());\n }\n });\n }",
"public void actionPerformed(ActionEvent e) {\r\n\t\t\tinstr.setText(\"Click anywhere on the canvas to open the search dialog.\");\r\n\t\t\tdefaultVar(canvas);\r\n\t\t\tJFrame addQuery = new JFrame(\"Find a value\");\r\n\t\t\tString insertPlace = JOptionPane.showInputDialog(addQuery, \"What integer are you looking for?\");\r\n\t\t\tif (insertPlace != null) {\r\n\t\t\t\ttry {\r\n\t\t\t\t\tint index = Integer.valueOf(insertPlace);\r\n\t\t\t\t\tcanvas.arrSearch(index);\r\n\t\t\t\t} catch(NumberFormatException error) {\r\n\t\t\t\t\tJFrame frame2 = new JFrame(\"\");\r\n\t\t\t\t\t// Warning\r\n\t\t\t\t\tJOptionPane.showMessageDialog(frame2,\r\n\t\t\t\t\t\t\t\"Searched value is not a valid number\",\r\n\t\t\t\t\t\t\t\"Input Warning\",\r\n\t\t\t\t\t\t\tJOptionPane.WARNING_MESSAGE);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}",
"public static void main(String[] args) {\n\t\r\nString Bob = \"You make great jokes!\";\r\nString Amie = \"Your art is beautiful!\";\r\nString Grace = \"You're clever!\";\r\n\r\n\t\t// 2. Ask the user to enter a name. Store their answer in a variable.\r\n\r\nString name = JOptionPane.showInputDialog(\"Enter a name.\");\r\n\r\n\t\t// 3. In a pop-up, tell the user what is remarkable about that person. \r\n\r\nif (name.equalsIgnoreCase(\"Bob\")) {\r\n\t\r\nJOptionPane.showMessageDialog(null, Bob); }\r\n\r\n\r\nelse if (name.equalsIgnoreCase(\"Amie\")) {\r\n\r\nJOptionPane.showMessageDialog(null, Amie);\r\n}\r\n\r\nelse if (name.equalsIgnoreCase(\"Grace\")) {\r\n\r\nJOptionPane.showMessageDialog(null, Grace); \r\n}\r\n}",
"@Override\n public void showLorenzoActionPopUp(String string) {\n\n }",
"public void popResultDialog(int index) {\n JFrame frame = (JFrame) SwingUtilities.windowForComponent(this);\n if (frame != null && index > 0 && index < listRank.size()) {\n Record record = listRank.get(index);\n ResultDetailDialog dialog = new ResultDetailDialog(frame, record);\n dialog.setModal(true);\n int x = frame.getX() + (frame.getWidth() - dialog.getWidth()) / 2;\n int y = frame.getY() + (frame.getHeight() - dialog.getHeight()) / 2;\n dialog.setLocation(x, y);\n dialog.setVisible(true);\n }\n }",
"private void showPatternDetectPeroidDialog() {\r\n\r\n\t\tRadioListDialogFragment inputFragment = RadioListDialogFragment.newInstance(\r\n\t\t\t\tR.string.setting_pattern_password_detect, R.array.pattern_detect_peroid, new NineDaleyOnItemClickListener(), \"nine\");\r\n\t\tint i = getSelectedNineDelay();\r\n\t\tinputFragment.setSelectedPosition(i);\r\n\t\tinputFragment.setShowsDialog(false);\r\n\t\tgetActivity().getSupportFragmentManager().beginTransaction()\r\n\t\t.add(inputFragment, \"nineDelayFragment\").addToBackStack(null).commit();\r\n\t}",
"private void correctDialog() {\n // Update score.\n updateScore(scoreIncrease);\n\n // Show Dialog.\n AlertDialog.Builder builder = new AlertDialog.Builder(this);\n builder.setMessage(\"Correct! This Tweet is \" + (realTweet ? \"real\" : \"fake\"));\n //builder.setPositiveButton(\"OK\", (dialog, which) -> chooseRandomTweet());\n builder.setOnDismissListener(unused -> chooseRandomTweet());\n AlertDialog dialog = builder.create();\n dialog.show();\n }",
"void searchUI();",
"public boolean performAction() {\n // Save the combo history so previous search strings can be retrieved\n historyManager.updateHistory(searchStringCombo.getText());\n historyManager.saveHistory();\n\n // Get the scope for the search based on the users choice.\n SearchScope scope = new SearchScopeFactory().\n createSearchScope(getContainer(),\n new FileExtension[]{FileExtension.DEVICE_REPOSITORY});\n\n // Set up the options for the query based on the users choice.\n DeviceSearchQueryOptions options = new DeviceSearchQueryOptions();\n options.setCaseSensitive(caseButton.getSelection());\n options.setDeviceNameSearch(deviceNameSearch.getSelection());\n options.setDevicePatternSearch(devicePatternsSearch.getSelection());\n options.setRegularExpression(regExpButton.getSelection());\n\n // Create the query.\n DeviceSearchQuery query = new DeviceSearchQuery(scope,\n searchStringCombo.getText(), options);\n\n // Activate the view page and run the query.\n NewSearchUI.activateSearchResultView();\n NewSearchUI.runQuery(query);\n\n // Save the dialogSetting as a permanent source of the selected\n // dialog options so they can be retrieved next time the user opens\n // the dialog.\n dialogSettings.put(caseButton.getText(), caseButton.getSelection());\n dialogSettings.put(regExpButton.getText(), regExpButton.getSelection());\n dialogSettings.put(deviceNameSearch.getText(),\n deviceNameSearch.getSelection());\n dialogSettings.put(devicePatternsSearch.getText(),\n devicePatternsSearch.getSelection());\n\n return true;\n }",
"public String search() {\r\n\t\tgetNavigationPanel(3);\r\n\t\treturn SUCCESS;\r\n\t}",
"public void displayOpen() throws JSONException, InterruptedException {\r\n\t boolean done = false;\r\n\t \r\n\t do {\r\n\t\t logger.log(Level.INFO, \"\\n\" + openPrompt);\r\n\t\t String choice = in.nextLine();\r\n\t\t \r\n\t\t // search\r\n\t\t if (\"s\".equalsIgnoreCase(choice)) {\r\n\t\t\t done = true;\r\n\t\t\t displaySearch();\r\n\t\t }\r\n\t\t // filter\r\n\t\t else if (\"f\".equalsIgnoreCase(choice)) {\r\n\t\t\t done = true;\r\n\t\t\t displayFilter();\r\n\t\t }\r\n\t\t // list\r\n\t\t else if (\"l\".equalsIgnoreCase(choice)) {\r\n\t\t\t done = true;\r\n\t\t\t list();\r\n\t\t }\r\n\t\t // exit\r\n\t\t else if (\"e\".equalsIgnoreCase(choice)) {\r\n\t\t\t done = true;\r\n\t\t\t ; //exit\r\n\t\t }\r\n\t\t // invalid\r\n\t\t else \r\n\t\t\t logger.log(Level.INFO, \"Invalid option.\");\r\n\t\t \r\n\t } while (!done);\r\n }",
"private void showSearchDialog() {\n\t\tSearchDialog searchDialog = new SearchDialog(lastText);\n\t\tsearchDialog.show(getSupportFragmentManager(), \"fragment_search_keyword\");\n\t}",
"public void triggerPopup();",
"private void displaySearch() throws JSONException, InterruptedException {\r\n logger.log(Level.INFO, \"\\nPlease enter the name of the club you would \" +\r\n \"like to search for or 'back' to return to initial prompt:\");\r\n \r\n // club name that user searches for\r\n String club = in.nextLine();\r\n \r\n // exit if user chooses to do so, otherwise search database\r\n if (\"back\".equalsIgnoreCase(club))\r\n displayOpen();\r\n else\r\n searchClub(club);\r\n }",
"@Override\n public void onClick(DialogInterface dialog, int which) {\n FindChallenge();\n\n }",
"public void proceedOnPopUp() {\n Controllers.button.click(proceedToCheckOutPopUp);\n }",
"private static String showDialog(Component parent,\n\t\t\t\t\t\t\t\t\t\t String titleStr,\n\t\t\t\t\t\t\t\t\t\t FileSet.FilterKind filterKind,\n\t\t\t\t\t\t\t\t\t\t String pattern)\n\t\t{\n\t\t\tPatternDialog dialog = new PatternDialog(GuiUtils.getWindow(parent), titleStr,\n\t\t\t\t\t\t\t\t\t\t\t\t\t filterKind, pattern);\n\t\t\tdialog.setVisible(true);\n\t\t\treturn dialog.getText();\n\t\t}",
"public String[] showSuggestionDialog(String room){\n\t\tframe.enableSuggestBtn(false);\n\t\tgame.endTurn();\n\t\tString characterSuggestion = showCharacterSuggestions(room);\n\t\tString weaponSuggestion = showWeaponSuggestions(room);\n\t\treturn new String[]{frame.unDave(characterSuggestion), frame.unDave(weaponSuggestion)};\n\t}",
"protected void resultPopup(final String name, int x, int y) {\n final String selectedName = name;\n JPopupMenu resultListMenu = new JPopupMenu();\n \n JMenuItem showMainBuff = new JMenuItem(\"View in main window\");\n if (selectedName != null) {\n showMainBuff.addActionListener(new ActionListener() {\n public void actionPerformed(ActionEvent e) {\n m_history.setSingle(selectedName);\n updateMainTabs(selectedName);\n }\n });\n } else {\n showMainBuff.setEnabled(false);\n }\n resultListMenu.add(showMainBuff);\n \n JMenuItem showSepBuff = new JMenuItem(\"View in separate window\");\n if (selectedName != null) {\n showSepBuff.addActionListener(new ActionListener() {\n public void actionPerformed(ActionEvent e) {\n openResultFrame(selectedName);\n }\n });\n } else {\n showSepBuff.setEnabled(false);\n }\n resultListMenu.add(showSepBuff); \n \n JMenuItem deleteResultBuff = new JMenuItem(\"Delete result\");\n if (selectedName != null && m_runThread == null) {\n deleteResultBuff.addActionListener(new ActionListener() {\n public void actionPerformed(ActionEvent e) {\n m_history.removeResult(selectedName);\n }\n });\n } else {\n deleteResultBuff.setEnabled(false);\n }\n\n \n resultListMenu.add(deleteResultBuff);\n \n resultListMenu.addSeparator();\n List<Object> resultList = null;\n if (selectedName != null) { \n resultList = (List<Object>)m_history.getNamedObject(name);\n }\n \n WekaForecaster saveForecaster = null;\n Instances saveForecasterStructure = null;\n if (resultList != null) {\n for (Object o : resultList) {\n if (o instanceof WekaForecaster){\n saveForecaster = (WekaForecaster)o;\n } else if (o instanceof Instances) {\n saveForecasterStructure = (Instances)o;\n }\n }\n }\n \n final WekaForecaster toSave = saveForecaster;\n final Instances structureToSave = saveForecasterStructure;\n JMenuItem saveForecasterMenuItem = new JMenuItem(\"Save forecasting model\");\n if (saveForecaster != null) {\n saveForecasterMenuItem.addActionListener(new ActionListener() {\n public void actionPerformed(ActionEvent e) {\n saveForecaster(name, toSave, structureToSave); \n }\n });\n } else {\n saveForecasterMenuItem.setEnabled(false);\n }\n resultListMenu.add(saveForecasterMenuItem);\n \n JMenuItem loadForecasterMenuItem = new JMenuItem(\"Load forecasting model\");\n resultListMenu.add(loadForecasterMenuItem);\n loadForecasterMenuItem.addActionListener(new ActionListener() {\n public void actionPerformed(ActionEvent e) {\n loadForecaster();\n }\n });\n \n if (m_isRunningAsPerspective) {\n JMenuItem copyToKFClipboardMenuItem = \n new JMenuItem(\"Copy model to Knowledge Flow clipboard\");\n resultListMenu.add(copyToKFClipboardMenuItem);\n copyToKFClipboardMenuItem.addActionListener(new ActionListener() {\n public void actionPerformed(ActionEvent e) {\n try {\n KnowledgeFlowApp singleton = KnowledgeFlowApp.getSingleton();\n String encoded = \n TimeSeriesForecasting.encodeForecasterToBase64(toSave, structureToSave);\n \n TimeSeriesForecasting component = new TimeSeriesForecasting();\n component.setEncodedForecaster(encoded); \n\n TimeSeriesForecastingKFPerspective.setClipboard(component);\n } catch (Exception ex) {\n ex.printStackTrace();\n }\n }\n });\n }\n \n \n JMenuItem reevaluateModelItem = new JMenuItem(\"Re-evaluate model\");\n if (selectedName != null && m_runThread == null) {\n \n reevaluateModelItem.addActionListener(new ActionListener() {\n public void actionPerformed(ActionEvent e) {\n reevaluateForecaster(selectedName, toSave, structureToSave);\n }\n });\n \n reevaluateModelItem.\n setEnabled((m_advancedConfigPanel.m_trainingCheckBox.isSelected() ||\n m_advancedConfigPanel.m_holdoutCheckBox.isSelected()) &&\n m_instances != null);\n } else {\n reevaluateModelItem.setEnabled(false);\n } \n \n resultListMenu.add(reevaluateModelItem);\n \n resultListMenu.show(m_history.getList(), x, y);\n }",
"@Override\r\n\tprotected Control createDialogArea(Composite parent) {\n\t\tComposite composite= (Composite) super.createDialogArea(parent);\r\n\t\tComposite com=new Composite(composite,SWT.NONE);\r\n\t\tcom.setLayout(new GridLayout(3,false));\r\n\t\tLabel label=new Label(com,SWT.NONE);\r\n\t\tlabel.setText(\"id:\");\r\n\t\ttext=new Text(com,SWT.NONE);\r\n\t\ttext.addVerifyListener(new VerifyListener() {\r\n\t\t\t\r\n\t\t\t@Override\r\n\t\t\tpublic void verifyText(VerifyEvent e) {\r\n\t\t\t\t// TODO Auto-generated method stub\r\n\t\t\t\tText t=(Text) e.widget;\r\n\t\t\t\tString s=e.text;\r\n\t\t\t\tString ct=t.getText();\r\n\t\t\t\tString temps=StringUtils.substring(ct, 0,e.start)+s+StringUtils.substring(ct,e.end);\r\n\t\t\t\tif(!IntegerValidator.getInstance().isValid(temps)){\r\n\t\t\t\t\te.doit=false;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t});\r\n\t\tGridData gd=new GridData();\r\n\t\tgd.widthHint=150;\r\n\t\ttext.setLayoutData(gd);\r\n\t\tButton search_btn=new Button(com,SWT.NONE);\r\n\t\tsearch_btn.setText(\"search\");\r\n//\t\tcombo=new Combo(com, SWT.NONE);\r\n//\t\tcombo.setItems(new String[]{\"Friends\",\"Family\"});\r\n//\t\tcombo.select(0);\r\n\t\tComposite table_com=new Composite(parent,SWT.NONE);\r\n\t\tgd=new GridData(GridData.FILL_BOTH);\r\n\t\ttable_com.setLayoutData(gd);\r\n\t\ttable_com.setLayout(new FillLayout());\r\n\t\ttv=new TableViewer(table_com,SWT.SINGLE|SWT.FULL_SELECTION);\r\n\t\tTableColumn id_tableColumn = new TableColumn(tv.getTable(), SWT.LEAD);\r\n\t\tid_tableColumn.setText(\"id\");\r\n\t\tid_tableColumn.setWidth(100);\r\n\t\tTableColumn name_tableColumn = new TableColumn(tv.getTable(), SWT.LEAD);\r\n\t\tname_tableColumn.setText(\"name\");\r\n\t\tname_tableColumn.setWidth(100);\r\n\t\t\r\n\t\ttv.setContentProvider(new TableContentPrvider());\r\n\t\ttv.setLabelProvider(new LabelProvider());\r\n\t\tsearch_btn.addSelectionListener(new SelectionListener() {\r\n\t\t\t\r\n\t\t\t@Override\r\n\t\t\tpublic void widgetSelected(SelectionEvent e) {\r\n\t\t\t\t// TODO Auto-generated method stub\r\n\t\t\t\tString search_id=text.getText();\r\n\t\t\t\tif(!StringUtils.isBlank(search_id)){\r\n\t\t\t\t\tc.getReadThread().addMessageListener(messageListener);\r\n\t\t\t\t\tTranObject to=new TranObject(TranObjectType.CLIENT_TO_SEVER);\r\n\t\t\t\t\tto.setFromUser(user.getId());\r\n\t\t\t\t\tto.setToUser(Integer.parseInt(text.getText()));\r\n\t\t\t\t\tto.setRequest(ClientRequest.SEARCH_FRIEND);\r\n\t\t\t\t\tc.getWriteThread().setMsg(to);\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t@Override\r\n\t\t\tpublic void widgetDefaultSelected(SelectionEvent e) {\r\n\t\t\t\t// TODO Auto-generated method stub\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t});\t\t\r\n\t\treturn composite;\r\n\t}",
"public static void main(String[] args) {\nString Arshia=\"Super Cool\";\r\nString Ashay=\"Hard-working\";\r\nString Devin=\"Positive\";\r\nString Andrew=\"Helpful\";\r\nString Darren=\"Kind and Nice\";\r\n\t\t// 2. Ask the user to enter a name. Store their answer in a variable.\r\nString input= JOptionPane.showInputDialog(null, \"Enter a name\");\r\nif(input.equalsIgnoreCase(\"Arshia\")) {\r\nJOptionPane.showMessageDialog(null, Arshia);\r\n\r\n}else if( input.equalsIgnoreCase(\"Ashay\")){\r\n\tJOptionPane.showMessageDialog(null, Ashay);\r\n\tif(input.equalsIgnoreCase(\"Devin\")) {\r\n\t\tJOptionPane.showMessageDialog(null, Devin);\r\n\t\tif(input.equalsIgnoreCase(\"Andrew\")) {\r\n\t\t\tJOptionPane.showMessageDialog(null, Andrew);\r\n\t\t\tif(input.equalsIgnoreCase(\"Darren\")) {\r\n\t\t\t\tJOptionPane.showMessageDialog(null, Darren);\r\n\t\t\r\n\r\n// 3. In a pop-up, tell the user what is remarkable about that person. \r\n}\r\n\t}\r\n}\r\n}\r\n}",
"public void showDialog(Activity activity, final List<Photo> photoList) {\n AlertDialog.Builder dialogBuilder = new AlertDialog.Builder(activity);\n LayoutInflater inflater = activity.getLayoutInflater();\n final View dialogView = inflater.inflate(R.layout.refine_results_dialog_layout, null);\n dialogBuilder.setView(dialogView);\n\n final EditText text = dialogView.findViewById(R.id.title_text);\n\n dialogBuilder.setTitle(R.string.dialog_title);\n dialogBuilder.setMessage(R.string.dialog_message);\n dialogBuilder.setPositiveButton(R.string.dialog_button_text, new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int whichButton) {\n refineResults(photoList, text.getText().toString());\n }\n });\n dialogBuilder.setNegativeButton(R.string.cancel_dialog_button_text, new DialogInterface.OnClickListener() {\n public void onClick(DialogInterface dialog, int whichButton) {\n //pass\n }\n });\n AlertDialog b = dialogBuilder.create();\n b.show();\n }",
"public abstract void showInputBox(String message, Predicate<String> filter, Consumer<String> resultCallback);",
"public boolean displayPrompt(String msg);",
"private void getSearchButtonSemantics() {\n //TODO implement method\n searchView.getResultsTextArea().setText(\"\");\n if (searchView.getFieldComboBox().getSelectedItem() == null) {\n JOptionPane.showMessageDialog(new JFrame(), \"Please select a field!\",\n \"Product Inventory\", JOptionPane.ERROR_MESSAGE);\n searchView.getFieldComboBox().requestFocus();\n } else if (searchView.getFieldComboBox().getSelectedItem().equals(\"SKU\")) {\n Optional<Product> skuoptional = inventoryModel.searchBySku(searchView.getSearchValueTextField().getText());\n if (skuoptional.isPresent()) {//check if there is an inventory with that SKU\n searchView.getResultsTextArea().append(skuoptional.get().toString());\n searchView.getSearchValueTextField().setText(\"\");\n searchView.getFieldComboBox().setSelectedIndex(-1);\n searchView.getFieldComboBox().requestFocus();\n } else {\n JOptionPane.showMessageDialog(new JFrame(),\n \"The specified SKU was not found!\",\n \"Product Inventory\", JOptionPane.ERROR_MESSAGE);\n searchView.getSearchValueTextField().requestFocus();\n }\n } else if (searchView.getFieldComboBox().getSelectedItem().equals(\"Name\")) {\n List<Product> name = inventoryModel.searchByName(searchView.getSearchValueTextField().getText());\n if (!name.isEmpty()) {\n for (Product nameproduct : name) {\n searchView.getResultsTextArea().append(nameproduct.toString() + \"\\n\\n\");\n }\n searchView.getSearchValueTextField().setText(\"\");\n searchView.getFieldComboBox().setSelectedIndex(-1);\n searchView.getFieldComboBox().requestFocus();\n } else {\n JOptionPane.showMessageDialog(new JFrame(),\n \"The specified name was not found!\",\n \"Product Inventory\", JOptionPane.ERROR_MESSAGE);\n searchView.getSearchValueTextField().requestFocus();\n }\n\n } else if (searchView.getFieldComboBox().getSelectedItem().equals(\"Wholesale price\")) {\n try {\n List<Product> wholesaleprice = inventoryModel.searchByWholesalePrice(Double.parseDouble(searchView.getSearchValueTextField().getText()));\n if (!wholesaleprice.isEmpty()) {//check if there is an inventory by that wholesale price\n for (Product wholesalepriceproduct : wholesaleprice) {\n searchView.getResultsTextArea().append(wholesalepriceproduct.toString() + \"\\n\\n\");\n }\n searchView.getSearchValueTextField().setText(\"\");\n searchView.getFieldComboBox().setSelectedIndex(-1);\n searchView.getFieldComboBox().requestFocus();\n } else {\n JOptionPane.showMessageDialog(new JFrame(),\n \"The specified wholesale price was not found!\",\n \"Product Inventory\", JOptionPane.ERROR_MESSAGE);\n searchView.getSearchValueTextField().requestFocus();\n }\n } catch (NumberFormatException nfe) {\n JOptionPane.showMessageDialog(new JFrame(),\n \"The specified wholesale price is not a vaild number!\",\n \"Product Inventory\", JOptionPane.ERROR_MESSAGE);\n searchView.getSearchValueTextField().requestFocus();\n }\n } else if (searchView.getFieldComboBox().getSelectedItem().equals(\"Retail price\")) {\n try {\n List<Product> retailprice = inventoryModel.searchByRetailPrice(Double.parseDouble(searchView.getSearchValueTextField().getText()));\n if (!retailprice.isEmpty()) {\n for (Product retailpriceproduct : retailprice) {\n searchView.getResultsTextArea().append(retailpriceproduct.toString() + \"\\n\\n\");\n }\n searchView.getSearchValueTextField().setText(\"\");\n searchView.getFieldComboBox().setSelectedIndex(-1);\n searchView.getFieldComboBox().requestFocus();\n } else {\n JOptionPane.showMessageDialog(new JFrame(),\n \"The specified retail price was not found!\",\n \"Product Inventory\", JOptionPane.ERROR_MESSAGE);\n searchView.getSearchValueTextField().requestFocus();\n }\n } catch (NumberFormatException nfe) {\n JOptionPane.showMessageDialog(new JFrame(),\n \"The specified retail price is not a vaild number!\",\n \"Product Inventory\", JOptionPane.ERROR_MESSAGE);\n searchView.getSearchValueTextField().requestFocus();\n }\n } else if (searchView.getFieldComboBox().getSelectedItem().equals(\"Quantity\")) {\n try {\n List<Product> quantity = inventoryModel.searchByQuantity(Integer.parseInt(searchView.getSearchValueTextField().getText()));\n if (!quantity.isEmpty()) {\n for (Product quantityproduct : quantity) {\n searchView.getResultsTextArea().append(quantityproduct.toString() + \"\\n\\n\");\n }\n searchView.getSearchValueTextField().setText(\"\");\n searchView.getFieldComboBox().setSelectedIndex(-1);\n searchView.getFieldComboBox().requestFocus();\n } else {\n JOptionPane.showMessageDialog(new JFrame(),\n \"The specified quantity was not found!\",\n \"Product Inventory\", JOptionPane.ERROR_MESSAGE);\n searchView.getSearchValueTextField().requestFocus();\n }\n } catch (NumberFormatException nfe) {\n JOptionPane.showMessageDialog(new JFrame(),\n \"The specified quantity is not a vaild number!\",\n \"Product Inventory\", JOptionPane.ERROR_MESSAGE);\n searchView.getSearchValueTextField().requestFocus();\n }\n }\n }",
"private void searchDisplay()\r\n {\r\n System.out.println();\r\n System.out.println(\"------------ Search Menu ----------------\");\r\n System.out.println(\"(1) By Registration Number\");\r\n System.out.println(\"(2) By Car Make and Car Model\");\r\n System.out.println(\"(3) By Age\");\r\n System.out.println(\"(4) By Price (range)\");\r\n System.out.println(\"(5) Back to Main Menu\");\r\n }",
"public void show() {\r\n isOkPressed = false;\r\n\r\n dialog = RitDialog.create(context);\r\n dialog.setTitle(\"Inline Method\");\r\n dialog.setContentPane(contentPanel);\r\n\r\n buttonOk.requestFocus();\r\n\r\n HelpViewer.attachHelpToDialog(dialog, buttonHelp, \"refact.inline_method\");\r\n SwingUtil.initCommonDialogKeystrokes(dialog, buttonOk, buttonCancel, buttonHelp);\r\n\r\n dialog.show();\r\n }",
"public void displayPrompt(String text){\n promptWindow.getContentTable().clearChildren();\n Label infoLabel = new Label(text, infoWindow.getSkin(), \"dialog\");\n infoLabel.setWrap(true);\n infoLabel.setAlignment(Align.center);\n promptWindow.getContentTable().add(infoLabel).width(500);\n promptWindow.show(guiStage);\n }",
"void generar_dialog_preguntas();",
"private void searchBoxUsed(String txt){\n\t\t\tJFrame frame = new JFrame();\n\t\t\tArrayList<location> simLoc = dataBase.search(txt);\n\t\t\tif (simLoc == null) JOptionPane.showMessageDialog(frame, \"'\" + txt + \"' not found.\");\n\t\t\telse if (simLoc.size() == 1){\n\t\t\t\tlocation searchedLoc = simLoc.get(0);\n\t\t\t\tapp.addLocation(searchedLoc);\n\t\t\t\tapp.setVisibleLocation(searchedLoc);\n\t\t\t\tlocBar.removeActionListener(Jcombo);\n\t\t\t\tpopulateMyLocationsBox();\n\t\t\t\trefreshPanels();\n\t\t\t}\n\t\t\telse {\n\t\t\t\tString [] possibilities = new String[simLoc.size()];\n\t\t\t\t\n\t\t\t\tfor (int i = 0; i < simLoc.size(); i ++){\n\t\t\t\t\tpossibilities[i] = i + 1 + \". \" + simLoc.get(i).getName() + \", \" + simLoc.get(i).getCountryCode() + \" Lat: \" \n\t\t\t\t\t\t\t+ simLoc.get(i).getLatitude() + \" Long: \" + simLoc.get(i).getLongitude();\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tString response = (String) JOptionPane.showInputDialog(frame, \"Which '\" + txt + \"' did you mean?\", \"Search Location\", \n\t\t\t\t\t\tJOptionPane.QUESTION_MESSAGE, null, possibilities, \"Titan\");\n\t\t\t\n\t\t\t\tif (response != null) {\n\t\t\t\t\t\tlocation searchedLoc = simLoc.get(Integer.parseInt(response.substring(0, response.indexOf('.'))) - 1);\n\t\t\t\t\t\tString[] temp = response.split(\" \");\n\t\t\t\t\t\tint length = app.getMyLocations().length;\n\t\t\t\t\t\tboolean add = true;\n\t\t\t\t\t\tfor (int i = 0; i < length; i ++){\n\t\t\t\t\t\t\tlocation checkLoc = app.getMyLocations()[i];\n\t\t\t\t\t\t\tif (checkLoc.getCityID() == searchedLoc.getCityID())\n\t\t\t\t\t\t\t\tadd = false;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (add) {\n\t\t\t\t\t\t\tapp.addLocation(searchedLoc);\n\t\t\t\t\t\t\tlocBar.removeActionListener(Jcombo);\n\t\t\t\t\t\t\tpopulateMyLocationsBox();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tapp.setVisibleLocation(searchedLoc);\n\t\t\t\t\t\trefreshPanels();\n\t\t\t\t }\n\t\t\t}\n\t\t}",
"private static void JGUI4() {\n\t\tint n = JOptionPane.showConfirmDialog(\n\t\tnull,\n\t\t\"Would you like green eggs and ham?\",\n\t\t\"An Inane Question\",\n\t\tJOptionPane.YES_NO_OPTION);\n\t}",
"public void askSpawn() throws RemoteException{\n respawnPopUp = new RespawnPopUp();\n respawnPopUp.setSenderRemoteController(senderRemoteController);\n respawnPopUp.setMatch(match);\n\n Platform.runLater(\n ()-> {\n try{\n respawnPopUp.start(new Stage());\n }\n catch(Exception e){\n e.printStackTrace();\n }\n }\n );\n }",
"private void createResultPopup() {\r\n resultDialog = new JDialog(parentFrame);\r\n resultDialog.setLayout(new BoxLayout(resultDialog.getContentPane(), BoxLayout.Y_AXIS));\r\n resultDialog.setAlwaysOnTop(true);\r\n Utilities.centerWindowTo(resultDialog, parentFrame);\r\n resultDialog.add(createResultLabel());\r\n resultDialog.add(createButtonDescription());\r\n resultDialog.add(createConfirmationButtons());\r\n resultDialog.pack();\r\n resultDialog.setVisible(true);\r\n }",
"public static void main(String[] args) {\nString names = JOptionPane.showInputDialog(\"Enter a student name (Case sensitive)\");\r\n\t\t// 2. Ask the user to enter a name. Store their answer in a variable.\r\nif (names.equals(\"Gaby\")) {\r\n\tJOptionPane.showMessageDialog(null, \"Is good at playing piano\");\r\n}\r\nelse if (names.equals(\"Daniel\")) {\r\n\tJOptionPane.showMessageDialog(null, \"Is a coding teacher!\");\r\n}\r\nelse if (names.equals(\"Alex\")) {\r\n\tJOptionPane.showMessageDialog(null, \"Likes to read\");\r\n}\r\nelse if (names.equals(\"Nathan\")) {\r\n\tJOptionPane.showMessageDialog(null, \"Is good at coding\");\r\n}\r\n\t\t// 3. In a pop-up, tell the user what is remarkable about that person. \r\n\r\n\t}",
"public void confirmSelection() {\n\t\t//create and display an AlertDialog requesting a filename for the new capture\n\t\tAlertDialog.Builder builder = new AlertDialog.Builder(context);\n\t\tbuilder.setTitle(\"What did you hear?\");\n\t\tfinal EditText inputText = new EditText(context);\n\t\tinputText.setInputType(InputType.TYPE_CLASS_TEXT|InputType.TYPE_TEXT_FLAG_CAP_SENTENCES|InputType.TYPE_TEXT_FLAG_NO_SUGGESTIONS);\n\t\tbuilder.setView(inputText);\n\n\t\tbuilder.setPositiveButton(\"OK\", new DialogInterface.OnClickListener() { \n\t\t\t@Override\n\t\t\tpublic void onClick(DialogInterface dialog, int which) {\n\t\t\t\t// execute the capture operations:\n\t\t\t\tfilename = inputText.getText().toString().trim();\n\t\t\t\tnew CaptureTask(context).execute();\n\t\t\t}\n\t\t});\n\t\tbuilder.setNegativeButton(\"Cancel\", new DialogInterface.OnClickListener() {\n\t\t\t@Override\n\t\t\tpublic void onClick(DialogInterface dialog, int which) {\n\t\t\t\tdialog.cancel();\n\t\t\t}\n\t\t});\n\t\tbuilder.show();\n\t}",
"public void actionPerformed(ActionEvent e) {\r\n String record[] = getRecordOnPan();\r\n String searchKey[] = new String[6];\r\n System.arraycopy(record, 0, searchKey, 0, 2);\r\n searchKey[0] = searchKey[0].trim();\r\n searchKey[1] = searchKey[1].trim();\r\n\r\n try {\r\n int match[] = data.find(searchKey);\r\n\r\n if (match.length > 1) {\r\n updateStatus(\"More than one match record.\");\r\n return;\r\n } else if (match.length == 0) {\r\n updateStatus(\"Record not found.\");\r\n return;\r\n }\r\n\r\n bc.handleUpdateGesture(match[0], record);\r\n updateStatus(\"Record updated.\"); \r\n } catch (Exception ex) {\r\n updateStatus(ex.getMessage());\r\n }\r\n }",
"@Override\r\n\t\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\t\tif(match.getMatchStatus() != MatchStatus.ENDED){\r\n\t\t\t\t\tgetMatch().startMatch();\r\n\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t}\r\n\t\t\t\t\t\t\r\n\t\t\t\t}",
"@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n lblWhat = new javax.swing.JLabel();\n txtSearch = new javax.swing.JTextField();\n btSearch = new javax.swing.JButton();\n btCancel = new javax.swing.JButton();\n chkMatchCase = new javax.swing.JCheckBox();\n\n setTitle(\"Find\");\n\n lblWhat.setText(\"Find What: \");\n\n txtSearch.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n txtSearchActionPerformed(evt);\n }\n });\n\n btSearch.setText(\" Search \");\n btSearch.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btSearchActionPerformed(evt);\n }\n });\n\n btCancel.setText(\" Cancel \");\n btCancel.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n btCancelActionPerformed(evt);\n }\n });\n\n chkMatchCase.setText(\"Match Case\");\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addContainerGap()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addComponent(lblWhat)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(txtSearch, javax.swing.GroupLayout.PREFERRED_SIZE, 323, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\n .addComponent(chkMatchCase)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(btCancel)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addComponent(btSearch)))\n .addContainerGap())\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\n .addContainerGap()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(txtSearch, javax.swing.GroupLayout.DEFAULT_SIZE, 25, Short.MAX_VALUE)\n .addComponent(lblWhat))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(btSearch)\n .addComponent(btCancel)\n .addComponent(chkMatchCase))\n .addContainerGap())\n );\n\n pack();\n }",
"private void dialog() {\n\t\tGenericDialog gd = new GenericDialog(\"Bildart\");\n\t\t\n\t\tgd.addChoice(\"Bildtyp\", choices, choices[0]);\n\t\t\n\t\t\n\t\tgd.showDialog();\t// generiere Eingabefenster\n\t\t\n\t\tchoice = gd.getNextChoice(); // Auswahl uebernehmen\n\t\t\n\t\tif (gd.wasCanceled())\n\t\t\tSystem.exit(0);\n\t}",
"public void showFindDialog() {\n \tLog.d(TAG, \"find dialog...\");\n \tfinal Dialog dialog = new Dialog(this);\n \tdialog.setTitle(R.string.find_dialog_title);\n \tLinearLayout contents = new LinearLayout(this);\n \tcontents.setOrientation(LinearLayout.VERTICAL);\n \tthis.findTextInputField = new EditText(this);\n \tthis.findTextInputField.setWidth(this.pagesView.getWidth() * 80 / 100);\n \tButton goButton = new Button(this);\n \tgoButton.setText(R.string.find_go_button);\n \tgoButton.setOnClickListener(new OnClickListener() {\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tString text = OpenFileActivity.this.findTextInputField.getText().toString();\n\t\t\t\tOpenFileActivity.this.findText(text);\n\t\t\t\tdialog.dismiss();\n\t\t\t}\n \t});\n \tLinearLayout.LayoutParams params = new LinearLayout.LayoutParams(LinearLayout.LayoutParams.FILL_PARENT, LinearLayout.LayoutParams.WRAP_CONTENT);\n \tparams.leftMargin = 5;\n \tparams.rightMargin = 5;\n \tparams.bottomMargin = 2;\n \tparams.topMargin = 2;\n \tcontents.addView(findTextInputField, params);\n \tcontents.addView(goButton, params);\n \tdialog.setContentView(contents);\n \tdialog.show();\n }",
"@Override\n public void actionPerformed(final ActionEvent evt)\n {\n final String txt = searchBox.getText();\n\n /* Only do something if they user has entered some text */\n if (!txt.trim().isEmpty())\n {\n Actor u = new Actor(txt);\n\n /* Create our GetParameter to do the search */\n GetParameter gp = new GetParameter(u.getKey(), u.getType());\n\n /* Now lets search for content */\n JSocialKademliaStorageEntry val = null;\n try\n {\n val = ConnectionAddPanel.this.systemObjects.getDataManager().get(gp);\n u = (Actor) new Actor().fromSerializedForm(val.getContent());\n ConnectionAddPanel.this.setResult(u);\n }\n catch (ContentNotFoundException | IOException ex)\n {\n System.err.println(\"Ran into a prob when searching for person. Message: \" + ex.getMessage());\n }\n\n if (val != null)\n {\n\n }\n }\n }",
"private static void JGUI2() {\n\t\tint n = JOptionPane.showConfirmDialog(\n\t\tnull,\n\t\t\"Would you like green eggs and ham?\",\n\t\t\"An Inane Question\",\n\t\tJOptionPane.YES_NO_OPTION);\n\t}",
"private void scoreDialog() {\n JPanel jp = new JPanel();\n \n Box verticalBox = Box.createVerticalBox();\n \n JLabel scoreTitle = new JLabel(\"<html><font size=13><center>Score: \" + challengeModel.getChallenge().getScore().getScorePoints() + \"</center></font></html>\");\n scoreTitle.setAlignmentX(CENTER_ALIGNMENT);\n verticalBox.add(scoreTitle);\n \n Box horizontalBox = Box.createHorizontalBox();\n String scoreResult = \"\" + challengeModel.getChallenge().getScore().getGold() + challengeModel.getChallenge().getScore().getSilver() + challengeModel.getChallenge().getScore().getBronze();\n switch(Integer.parseInt(scoreResult)) {\n case 111: // Gold, Silver, Bronze\n horizontalBox.add(new JLabel(Resources.getImageMedalGold()));\n case 11: // Silver, Bronze\n horizontalBox.add(new JLabel(Resources.getImageMedalSilver()));\n case 1: // Bronze\n horizontalBox.add(new JLabel(Resources.getImageMedalBronze()));\n break;\n default:\n break;\n }\n \n verticalBox.add(horizontalBox);\n \n jp.add(verticalBox);\n \n int value = JOptionPane.showOptionDialog(null, jp, \"Fim do desafio\", JOptionPane.NO_OPTION, JOptionPane.PLAIN_MESSAGE, null, new String[] {\"Novo Desafio\"}, 1);\n \n hideAnswerResult(false);\n \n if (value == 0)\n challengeModel.newGame();\n }",
"public void actionPerformed(ActionEvent e)\n\t{\n\t\tWindowController.searchFor();\n\t}",
"public static void main(String[] args) {\n\n JOptionPane.showMessageDialog(null, \"This is a message dialog box\", \"title\", JOptionPane.PLAIN_MESSAGE);\n JOptionPane.showMessageDialog(null, \"Here is some useless info\", \"title\", JOptionPane.INFORMATION_MESSAGE);\n JOptionPane.showMessageDialog(null, \"really?\", \"title\", JOptionPane.QUESTION_MESSAGE);\n JOptionPane.showMessageDialog(null, \"Your computer has a VIRUS!\", \"title\", JOptionPane.WARNING_MESSAGE);\n JOptionPane.showMessageDialog(null, \"CALL TECH SUPPORT OR ELSE!\", \"title\", JOptionPane.ERROR_MESSAGE);\n\n\n //int answer = JOptionPane.showConfirmDialog(null, \"bro, do you even code?\");\n //String name = JOptionPane.showInputDialog(\"What is your name?: \");\n\n ImageIcon icon = new ImageIcon(\"smile.png\");\n String[] responses = {\"No, you are!\",\"thank you!\",\"*blush*\"};\n int answer = JOptionPane.showOptionDialog(\n null,\n \"You are the best! :D\",\n \"Secret message\",\n JOptionPane.DEFAULT_OPTION,\n 0,\n icon,\n responses,\n responses[0]);\n System.out.println(answer);\n\n }",
"private void showSponsorSearch(){\r\n String sponsorCode;\r\n// boolean replaceInfo = false;\r\n try{\r\n edu.mit.coeus.search.gui.CoeusSearch coeusSearch =\r\n new edu.mit.coeus.search.gui.CoeusSearch(dlgWindow,\r\n \"sponsorSearch\",1);\r\n coeusSearch.showSearchWindow();\r\n edu.mit.coeus.search.gui.SearchResultWindow resWindow =\r\n coeusSearch.getResultWindow();\r\n if (!coeusSearch.getSelectedValue().equals(null) ){\r\n txtSponsorCode.setText(coeusSearch.getSelectedValue());\r\n txtSponsorCode.requestFocusInWindow();\r\n sponsorCode = txtSponsorCode.getText();\r\n getSponsorInfo(sponsorCode);\r\n }\r\n }catch(Exception e) {\r\n }\r\n }",
"private Object displayOptionsPanel(String message, Object[] possibleValues) {\n return JOptionPane.showInputDialog(\n mainPanel, // parentComponent\n message, // message\n \"\", // title\n JOptionPane.QUESTION_MESSAGE, // messageType\n null, // icon\n possibleValues, // selectionValues\n possibleValues[0] // initialSelectionValue\n );\n }",
"public void executeMatcher(final BaseMatcher<EditPart> matcher){\n\t\tactivate();\n\t\tDisplay.syncExec(new Runnable() {\n\t\t\t@Override\n\t\t\tpublic void run() {\n DefaultCTabItem tabItem = new DefaultCTabItem(1);\n\t\t\t\ttabItem.activate();\n\t\t\t\tGraphicalViewer viewer = ((IEditorPart) tabItem.getSWTWidget().getData()).getAdapter(GraphicalViewer.class);\n\t\t\t\tViewerHandler.getInstance().getEditParts(viewer, matcher);\n\t\t\t}\n\t\t});\n\t}",
"@Override\n public void actionPerformed(ActionEvent e) {\n m_testGame.setTitle(searchGameText.getText());\n try {\n if(m_fileManager1.isGameInList(m_testGame)){ // if the game is in the file\n m_NewSearchResult = m_fileManager1.gamesSearchResult(m_testGame); //makes a new com.cs_group.objects.GameList with the search Result\n ChangeEvent event = new ChangeEvent(this);\n for (ChangeListener listener : m_addAnotherGame) {\n listener.stateChanged(event);\n }\n }else { JOptionPane.showMessageDialog(null, \"GAME NOT FOUND\", \"ERROR\", JOptionPane.ERROR_MESSAGE);}\n } catch (IOException | ParseException ioException) {\n ioException.printStackTrace();\n }\n }",
"public boolean showPopupChoice(WMSEvent evt, Icon icon, String choiceOne, String choiceTwo) {\n JPanel target = mainPanel;\n JPanel panel = null;\n String[] options = new String[2];\n options[0] = choiceOne;\n options[1] = choiceTwo;\n\n boolean result = false;\n try {\n panel = JPanel.class.cast(evt.getSource());\n } catch (ClassCastException e) {\n// log.write(\"Exception: \" + e.getMessage());\n }\n if (panel != null) {\n target = this.mainPanel;\n }\n\n if (JOptionPane.showOptionDialog(target, evt.getUserMessage(), afMgr.getProductName() + \"Question ?\", JOptionPane.YES_NO_OPTION, JOptionPane.INFORMATION_MESSAGE, icon, options, 0) == 0) {\n result = true;\n }\n return result;\n }",
"public OverviewSmallStringInputDialogOptions showInputDialog(String referenceID, String title, String textContent, String label, String initialValueText, String okText, String cancelText) {\n/*Generated! Do not modify!*/ InputDialogParameters inputDialogParameters = new InputDialogParameters();\n/*Generated! Do not modify!*/ inputDialogParameters.setReferenceID(referenceID);\n/*Generated! Do not modify!*/ inputDialogParameters.setTitle(title);\n/*Generated! Do not modify!*/ inputDialogParameters.setTextContent(textContent);\n/*Generated! Do not modify!*/ inputDialogParameters.setLabel(label);\n/*Generated! Do not modify!*/ inputDialogParameters.setInitialValueText(initialValueText);\n/*Generated! Do not modify!*/ inputDialogParameters.setOkText(okText);\n/*Generated! Do not modify!*/ inputDialogParameters.setCancelText(cancelText);\n/*Generated! Do not modify!*/ replyDTO.setInputDialogParameters(inputDialogParameters);\n/*Generated! Do not modify!*/ if (recordMode){\n/*Generated! Do not modify!*/ \taddRecordedAction(\"showInputDialog(\" + escapeString(referenceID) + \", \" + escapeString(title) + \", \" + escapeString(textContent) \n/*Generated! Do not modify!*/ \t\t\t+ \", \" + escapeString(label) + \", \" + escapeString(initialValueText) + \", \" + escapeString(okText) \n/*Generated! Do not modify!*/ \t\t\t+ \", \" + escapeString(cancelText)+ \");\");\n/*Generated! Do not modify!*/ }\n/*Generated! Do not modify!*/ return new OverviewSmallStringInputDialogOptions(this, inputDialogParameters);\n/*Generated! Do not modify!*/ }",
"public void showResultsWindow() {\r\n \t\tshowResults.setSelected(true);\r\n \t\tshowResultsWindow(true);\r\n \t}",
"public void actionPerformed(ActionEvent e) {\n displayInfoText(\" \");\n // Turn the search string into a Query\n String queryString = queryWindow.getText().toLowerCase().trim();\n query = new Query(queryString);\n // Take relevance feedback from the user into account (assignment 3)\n // Check which documents the user has marked as relevant.\n if (box != null) {\n boolean[] relevant = new boolean[box.length];\n for (int i = 0; i < box.length; i++) {\n if (box[i] != null)\n relevant[i] = box[i].isSelected();\n }\n query.relevanceFeedback(results, relevant, engine);\n }\n // Search and print results. Access to the index is synchronized since\n // we don't want to search at the same time we're indexing new files\n // (this might corrupt the index).\n long startTime = System.currentTimeMillis();\n synchronized (engine.indexLock) {\n results = engine.searcher.search(query, queryType, rankingType);\n }\n long elapsedTime = System.currentTimeMillis() - startTime;\n // Display the first few results + a button to see all results.\n //\n // We don't want to show all results directly since the displaying itself\n // might take a long time, if there are many results.\n if (results != null) {\n displayResults(MAX_RESULTS, elapsedTime / 1000.0);\n } else {\n displayInfoText(\"Found 0 matching document(s)\");\n\n if (engine.speller != null) {\n startTime = System.currentTimeMillis();\n SpellingOptionsDialog dialog = new SpellingOptionsDialog(50);\n String[] corrections = engine.speller.check(query, 10);\n elapsedTime = System.currentTimeMillis() - startTime;\n System.err.println(\"It took \" + elapsedTime / 1000.0 + \"s to check spelling\");\n if (corrections != null && corrections.length > 0) {\n String choice = dialog.show(corrections, corrections[0]);\n if (choice != null) {\n queryWindow.setText(choice);\n queryWindow.grabFocus();\n\n this.actionPerformed(e);\n }\n }\n }\n }\n }",
"@AbstractCustomGlobal.GlobalMethod(menuText=\"Echo\")\n public void echo() {\n // Query the user for an input\n String answer = JOptionPane.showInputDialog(null, \"This is an example.\\nType in any text to echo.\");\n // Show an information message\n JOptionPane.showMessageDialog(null, \"You typed '\" + answer + \"'\", \"Example Echo\", JOptionPane.INFORMATION_MESSAGE);\n }",
"private void doMatch() {\n // Remember how many games in this session\n mGameCounter++;\n\n PebbleDictionary resultDict = new PebbleDictionary();\n\n switch (mChoice) {\n case Keys.CHOICE_ROCK:\n switch(mP2Choice) {\n case Keys.CHOICE_ROCK:\n mInstructionView.setText(\"It's a tie!\");\n resultDict.addInt32(Keys.KEY_RESULT, Keys.RESULT_TIE);\n break;\n case Keys.CHOICE_PAPER:\n mInstructionView.setText(\"You lose!\");\n resultDict.addInt32(Keys.KEY_RESULT, Keys.RESULT_WIN); // Inform Pebble of opposite result\n break;\n case Keys.CHOICE_SCISSORS:\n mWinCounter++;\n mInstructionView.setText(\"You win! (\" + mWinCounter + \" of \" + mGameCounter + \")\");\n resultDict.addInt32(Keys.KEY_RESULT, Keys.RESULT_LOSE);\n break;\n }\n break;\n case Keys.CHOICE_PAPER:\n switch(mP2Choice) {\n case Keys.CHOICE_ROCK:\n mWinCounter++;\n mInstructionView.setText(\"You win! (\" + mWinCounter + \" of \" + mGameCounter + \")\");\n resultDict.addInt32(Keys.KEY_RESULT, Keys.RESULT_LOSE);\n break;\n case Keys.CHOICE_PAPER:\n mInstructionView.setText(\"It's a tie!\");\n resultDict.addInt32(Keys.KEY_RESULT, Keys.RESULT_TIE);\n break;\n case Keys.CHOICE_SCISSORS:\n mInstructionView.setText(\"You lose!\");\n resultDict.addInt32(Keys.KEY_RESULT, Keys.RESULT_WIN);\n break;\n }\n break;\n case Keys.CHOICE_SCISSORS:\n switch(mP2Choice) {\n case Keys.CHOICE_ROCK:\n mInstructionView.setText(\"You lose!\");\n resultDict.addInt32(Keys.KEY_RESULT, Keys.RESULT_WIN);\n break;\n case Keys.CHOICE_PAPER:\n mWinCounter++;\n mInstructionView.setText(\"You win! (\" + mWinCounter + \" of \" + mGameCounter + \")\");\n resultDict.addInt32(Keys.KEY_RESULT, Keys.RESULT_LOSE);\n break;\n case Keys.CHOICE_SCISSORS:\n mInstructionView.setText(\"It's a tie!\");\n resultDict.addInt32(Keys.KEY_RESULT, Keys.RESULT_TIE);\n break;\n }\n break;\n }\n\n // Inform Pebble of result\n PebbleKit.sendDataToPebble(getApplicationContext(), APP_UUID, resultDict);\n\n // Finally reset both\n mChoice = Keys.CHOICE_WAITING;\n mP2Choice = Keys.CHOICE_WAITING;\n\n // Leave announcement for 5 seconds\n mHandler.postDelayed(new Runnable() {\n\n @Override\n public void run() {\n updateUI();\n }\n\n }, 5000);\n }",
"public void buttonPress(ActionEvent event) {\r\n Button clickedButton = (Button) event.getSource();\r\n String selectedButton = clickedButton.getId();\r\n System.out.print(selectedButton);\r\n \r\n // If the user correctly guesses the winning button\r\n if (correctButtonName.equals(selectedButton)) {\r\n \r\n //Displays a popup alerting the user that they won the game.\r\n Alert alert = new Alert(Alert.AlertType.INFORMATION);\r\n alert.setTitle(\"You Win!\");\r\n alert.setHeaderText(\"Congratulations, you found the treasure!\");\r\n alert.setContentText(\"Would you like to play again?\");\r\n ButtonType okButton = new ButtonType(\"Play again\");\r\n ButtonType noThanksButton = new ButtonType(\"No Thanks!\");\r\n alert.getButtonTypes().setAll(okButton, noThanksButton);\r\n Optional<ButtonType> result = alert.showAndWait();\r\n \r\n //If the user selects \"Play again\" a new button will be randomly selected\r\n if (result.get() == okButton ){\r\n //Chooses a random button from the list of buttons\r\n correctButtonName = buttonList[(int)(Math.random() * buttonList.length)];\r\n }\r\n //If the user does not select \"Play again\", the application will be closed\r\n else {System.exit(0);}\r\n \r\n }\r\n \r\n //If the user chooses any button except for the winning button\r\n else if (!selectedButton.equals(correctButtonName)) {\r\n \r\n //Displays a popup alerting the user that they did not find the treasure.\r\n Alert alert2 = new Alert(Alert.AlertType.INFORMATION);\r\n alert2.setTitle(\"No treasure!\");\r\n alert2.setHeaderText(\"There was no treasure found on that island\");\r\n alert2.setContentText(\"Would you like to continue searching for treasure?\");\r\n ButtonType ayeCaptain = new ButtonType (\"Continue Searching\");\r\n ButtonType noCaptain = new ButtonType (\"Quit\");\r\n alert2.getButtonTypes().setAll(ayeCaptain,noCaptain);\r\n Optional<ButtonType> result2 = alert2.showAndWait();\r\n \r\n if (result2.get() == ayeCaptain){\r\n //The search for treasure continues!\r\n }\r\n else{ \r\n System.exit(0);\r\n }\r\n }\r\n }",
"private void displayDuplicateInputError(){\n\t\tAlert alert = new Alert(Alert.AlertType.INFORMATION);\n\t\talert.setTitle(\"Duplicate Letter Dialog\");\n\t\talert.setHeaderText(\"Pay Attention!\");\n\t\talert.setContentText(\"You have already tried that letter, please try again\");\n\t\talert.showAndWait();\n\t}",
"public VerifyDialog(List<Student> matchResults, List<RosterEntry> roster) throws IOException\n {\n this.roster = roster;\n \n tableModel = new MyTableModel(matchResults);\n \n verificationSuccessful = false;\n\n initComponents();\n \n this.setIconImage(new ImageIcon(\"Icon.PNG\").getImage());\n \n TableCellRenderer defaultRenderer = nameTable.getDefaultRenderer(\n JButton.class);\n nameTable.setDefaultRenderer(JButton.class,\n new JTableButtonRenderer(defaultRenderer));\n \n nameTable.getColumnModel().getColumn(0).setPreferredWidth(240);\n nameTable.getColumnModel().getColumn(2).setPreferredWidth(240);\n nameTable.getColumnModel().getColumn(4).setPreferredWidth(60);\n nameTable.getColumnModel().getColumn(5).setPreferredWidth(100);\n \n ((DefaultTableCellRenderer)\n nameTable.getTableHeader().getDefaultRenderer()).setHorizontalAlignment(\n JLabel.CENTER);\n \n listRoster.setEnabled(false);\n listRoster.setBackground(new Color(240, 240, 240));\n \n TableColumn chooseColumn = nameTable.getColumnModel().getColumn(5);\n \n chooseColumn.setCellEditor(new ButtonColumn());\n // The JList needs a listener that when a row is clicked,\n // it will set that value into the table at the row\n // saved in the instance field \"chosenTableRow\".\n // then disable the JList.\n \n setLocationRelativeTo(null);\n \n // Redundancy needed for some Windows platforms\n String rs = \"resources/Icon.PNG\";\n InputStream stream = this.getClass().getResourceAsStream(rs);\n ImageIcon appIcon = new ImageIcon(ImageIO.read(stream));\n this.setIconImage(appIcon.getImage());\n }",
"public void actionPerformed(ActionEvent e) \n {\n if (e.getActionCommand().equals(\"Find\"))\n {\n String motif = motifField.getText();\n \n String sequence = sequenceField.getText();\n \n Kinase kinase = new Kinase(motif);\n //Substrate substrate = new Substrate(sequence);\n \n kinase.findPhosphateSite(sequence);\n if (kinase.getFound() == true) {\n String output = \"Match Found! Phosphoacceptor residue at \";\n for (int i = 0; i < kinase.getNumFound(); i++) {\n output = output.concat(kinase.getStart()[i] + \", \");\n }\n \n outputField.setText(output);\n }\n else if (kinase.getFound() == false)\n outputField.setText(\"No match found\"); \n }\n //listerner for open motif file\n else if (e.getActionCommand().equals(\"Open Motif from File\"))\n {\n fc = new JFileChooser();\n int returnVal = fc.showOpenDialog(motifItem);\n \n if (returnVal == JFileChooser.APPROVE_OPTION) \n {\n File motifFile = fc.getSelectedFile();\n \n try\n {\n BufferedReader motifBuf = new BufferedReader \n (new FileReader(motifFile)); \n motif = motifBuf.readLine();\n motifField.setText(motif);\n } \n catch (IOException exception)\n {\n outputField.setText(\"No motif file found!\");\n }\n\n } \n }\n //listener for open amino acide sequence file\n else if (e.getActionCommand().equals(\"Open AA sequence from File\"))\n {\n fc = new JFileChooser();\n int returnVal = fc.showOpenDialog(sequenceItem);\n \n if (returnVal == JFileChooser.APPROVE_OPTION) \n {\n File sequenceFile = fc.getSelectedFile();\n try\n {\n BufferedReader sequenceBuf = new BufferedReader \n (new FileReader(sequenceFile)); \n sequence = sequenceBuf.readLine();\n sequenceField.setText(sequence);\n } \n catch (IOException exception)\n {\n outputField.setText(\"No sequence file found!\");\n }\n \n } \n }\n //listener for combobox of motifs\n else if (\"comboBoxChanged\".equals(e.getActionCommand()))\n {\n switch(motifCombo.getSelectedIndex())\n {\n case 0: break;\n case 1: motifField.setText(\"R-X-s/t\");break;\n case 2: motifField.setText(\"S-X-X-s/t\");break;\n case 3: motifField.setText(\"s/t-X-X-E\");break;\n case 4: motifField.setText(\"s-X-X-X-S\");break;\n case 5: motifField.setText(\"s/t-P-X-R/K\");break;\n case 6: motifField.setText(\"R-X-X-s/t\");break;\n case 7: motifField.setText(\"X-X-s/t-P\");break;\n default: motifField.setText(\"Select a motif.\");\n }\n }\n }",
"@Override\n\t\t\tpublic void actionPerformed(ActionEvent ae) {\n\t\t\t\tint irow = popup.getRow();\n\n\t\t\t\t// what CandiateRow is this\n\t\t\t\tCandidateRow row = candidateTableModel.getRow(irow);\n\n\t\t\t\t// what group is it\n\t\t\t\tGroupItem group = row.group;\n\n\t\t\t\t// add the group to the taglist\n\t\t\t\ttagList.tagGroup(group);\n\t\t\t}",
"public void promptUser(String string) {\n\t\tJOptionPane.showMessageDialog(frame,string);\n\t\t\n\t}",
"String searchBoxUserRecordSelected();",
"public void searchOptions()\n {\n System.out.println(\"\\n\\t\\t:::::::::::::::::::::::::::::::::\");\n System.out.println(\"\\t\\t| Select Options Below : |\");\n System.out.println(\"\\t\\t:::::::::::::::::::::::::::::::::\");\n System.out.println(\"\\t\\t| [1] Search by - Title |\");\n System.out.println(\"\\t\\t| [2] Search by - Directors |\");\n System.out.println(\"\\t\\t| [3] Back To Menu |\");\n System.out.println(\"\\t\\t=================================\");\n System.out.print(\"\\t\\t Input the option number : \"); \n }",
"public String showFind() {\n String findMessage = \"Ain't no problem! I have found the matchin' tasks in your list:\";\n return findMessage;\n }",
"public void createMatching() {\n int numChoices = 0;\n Question q = new Matching(this.in,this.o);\n this.o.setDisplay(\"Enter the prompt for your Matching question:\\n\");\n this.o.getDisplay();\n\n q.setPrompt(this.in.getUserInput());\n\n while (numChoices == 0) {\n this.o.setDisplay(\"Enter the number of choices for your question:\\n\");\n this.o.getDisplay();\n\n try {\n numChoices = Integer.parseInt(this.in.getUserInput());\n } catch (NumberFormatException e) {\n numChoices = 0;\n }\n }\n\n for (int i=0; i<numChoices;i++) {\n this.o.setDisplay(\"Enter choice#\" + (i+1) + \"\\n\");\n this.o.getDisplay();\n\n ((Matching) q).addChoicesToMatch(this.in.getUserInput());\n }\n\n for (int i=0; i<numChoices;i++) {\n this.o.setDisplay(\"Answer#\" + (i+1) + \" (enter any answer for one of the choices)\\n\");\n this.o.getDisplay();\n\n ((Matching) q).addChoice(this.in.getUserInput());\n }\n\n q.setMaxResponses(numChoices);\n\n if (isTest) {\n int choiceNum = 0;\n RCA ca = new RCA(this.in,this.o);\n Test t = (Test)this.survey;\n ArrayList<Integer> ans = new ArrayList<Integer>();\n\n for (int j=0; j < q.getMaxResponses(); j++){\n\n while (choiceNum == 0) {\n this.o.setDisplay(\"Enter answer# for choice#\" + (j+1) + \": \\n\");\n this.o.getDisplay();\n\n try {\n choiceNum = Integer.parseInt(this.in.getUserInput());\n\n if (choiceNum > numChoices || choiceNum < 1) {\n choiceNum = 0;\n } else {\n if (ans.contains(choiceNum)) {\n this.o.setDisplay(\"Answer already used\\n\");\n this.o.getDisplay();\n choiceNum = 0;\n } else {\n ans.add(choiceNum);\n ca.addResponse(Integer.toString(choiceNum));\n }\n }\n\n } catch (NumberFormatException e) {\n choiceNum = 0;\n }\n }\n choiceNum = 0;\n }\n t.addAnswer(ca);\n }\n this.survey.addQuestion(q);\n }",
"private void searchShow() {\n ArrayList<Show> searchShows = new ArrayList<>();\n for (Show show : clientController.getUser().getShows()) {\n if (show.getName().toLowerCase().contains(getText().toLowerCase())) {\n searchShows.add(show);\n }\n// else {\n// JOptionPane.showMessageDialog(null, \"The search gave no result!\");\n// }\n\n }\n pnlShowList.removeAll();\n pnlShowList.setBackground(Color.decode(\"#6A86AA\"));\n draw(searchShows);\n }",
"public void verifyText( VerifyEvent e )\n {\n if ( !filterCombo.getText().equals( e.text ) && e.character == 0 && e.start == e.end )\n {\n filterCPA.closeProposalPopup();\n }\n\n // or with ctrl+v / command+v\n if ( !filterCombo.getText().equals( e.text ) && e.stateMask == SWT.MOD1 && e.start == e.end )\n {\n filterCPA.closeProposalPopup();\n }\n }",
"@Override\n\tpublic void actionPerformed(ActionEvent arg0) {\n\t\tif(arg0.getActionCommand() == \"Submit selection\"){\n\t\t\tuserChoices.add(fpList.getFlightPlansList(modeLocal).get((int) flightPlanSpinner.getValue() - 1));\n\t\t\t// enter confirmation page if no return flight, otherwise call self?\n\t\t\tif(!isReturn && hasReturn){\n\t\t\t\tuserParams.SetReturnParams(userParams); // convert to return params\n\t\t\t\tnew SearchResultsGui(fpListArr, userChoices, true, 0, userParams);\n\t\t\t}\n\t\t\telse{\n\t\t\t\tnew ConfirmationGui(userChoices);\n\t\t\t}\n\t\t\tdispose();\n\t\t}\n\t\telse if(arg0.getActionCommand() == \"Sort by Price\"){\n\t\t\tdispose();\n\t\t\tif(modeLocal == SORT_BY_PRICE_DESCENDING){\n\t\t\t\tmodeLocal = SORT_BY_PRICE_ASCENDING;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tmodeLocal = SORT_BY_PRICE_DESCENDING;\n\t\t\t}\n\t\t\tnew SearchResultsGui(fpListArr, userChoices, isReturn, modeLocal, userParams);\n\t\t}\n\t\telse if(arg0.getActionCommand() == \"Sort by Time\"){\n\t\t\tif(modeLocal == SORT_BY_TIME_DESCENDING){\n\t\t\t\tmodeLocal = SORT_BY_TIME_ASCENDING;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tmodeLocal = SORT_BY_TIME_DESCENDING;\n\t\t\t}\n\t\t\tnew SearchResultsGui(fpListArr, userChoices, isReturn, modeLocal, userParams);\n\t\t\tdispose();\n\t\t}\n\t}",
"public void onGoToAdvancedSearch() {\n eventBus.showAdvanceSearchPopup(newAttributeSearchWidget);\n }",
"private void showSearch() {\n\t\tonSearchRequested();\n\t}",
"public void actionPerformed (ActionEvent e) {\n\t \t\tJOptionPane.showMessageDialog(frame3,\n\t \t\t\t \"Player 1 is blue \\n\"\n\t \t\t\t \t\t+ \"Player 2 is red \\n\"\n\t \t\t\t \t\t+ \"Player 3 is green \\n\"\n\t \t\t\t \t\t+ \"Player 4 is yellow \\n\"\n\t \t\t\t \t\t+ \"A Warrior's token is a circle. Range:1, Move:3\\n\"\n\t \t\t\t \t\t+ \"A Ranger's token is a square. Range:4, Move:5\\n\"\n\t \t\t\t \t\t+ \"A Rogue's token is a triangle. Range:1, Move:6\\n\"\n\t \t\t\t \t\t+ \"A healer's token is a star. Range:3, Move:4\\n\"\n\t \t\t\t \t\t+ \"A Damage Mage's token is a pentagon. Range:3, Move:4\\n\", \n\t \t\t\t \"Key\",\n\t \t\t\t JOptionPane.PLAIN_MESSAGE);\n\t \t}",
"@Override\n protected void onActivityResult(int requestCode, int resultCode, Intent data) {\n if (requestCode == RESULT_OK && resultCode == RESULT_OK) {\n // Fill the list view with the strings the recognizer thought it could have heard\n ArrayList<String> matches = data.getStringArrayListExtra(\n RecognizerIntent.EXTRA_RESULTS);\n\n if (matches.size() >= 0) {\n\n CURRENT_1 = 7;\n CURRENT_1_IMAGE = R.drawable.logo_user;\n showDialog(CHOOSE_METHOD_DIALOG);\n } else {\n\n }\n }\n super.onActivityResult(requestCode, resultCode, data);\n }",
"public void alertSelection() {\n JOptionPane.showMessageDialog(gui.getFrame(),\n \"`Please select a choice.\",\n \"Invalid Selection Error\",\n JOptionPane.ERROR_MESSAGE);\n }",
"void onOtherInfoToolCard(int id, Match match);",
"public void updateSearchResults(){\n\t\t//removeAll();\n\t\tPrinter currentPrinter;\n\t\tPrinterLabel tableHeader;\n\t\t\n\t\t// Create search results' table header\n\t\ttableHeader = new PrinterLabel(1,MenuWindow.FRAME_WIDTH , MenuWindow.FRAME_HEIGHT,\n\t\t\t\t\"PRINTER\",\"VENDOR\",\"TENSION (ksi)\",\"COMPRESSION (ksi)\",\"IMPACT (lb-ft)\",\"MATERIALS\",\"TOLERANCE (in)\",\"FINISH (\\u00B5in)\", false);\n\n\t\t// Add tool tips for long header categories before adding to GUI\n\t tableHeader.getMaterials().setToolTipText(\"Range of Materials\");\n\t \n\t\tsetLayout(new BoxLayout(this, BoxLayout.Y_AXIS));\n\t\tsetBorder(BorderFactory.createLineBorder(Color.gray));\n\t\tadd(tableHeader);\n\t\ttableHeader.setBackground(Color.lightGray);\n\n\t\t// Populate search results with any printer matches\n\t\tfor(int i = outputList.size()-1; i >=0;i--)\n\t\t{\n\t\t\tcurrentPrinter = outputList.get(i);\n\t\t\tPrinterLabel temp = new PrinterLabel(i+1,MenuWindow.FRAME_WIDTH , MenuWindow.FRAME_HEIGHT,\n\t\t\t\t\tcurrentPrinter.getPrinterName() + \"\",\n\t\t\t\t\tcurrentPrinter.getVendor()+ \"\",\n\t\t\t\t\tcurrentPrinter.getTension()+ \"\",\n\t\t\t\t\tcurrentPrinter.getCompression()+ \"\",\n\t\t\t\t\tcurrentPrinter.getImpact()+ \"\",\n\t\t\t\t\tcurrentPrinter.materialsString()+ \"\",\n\t\t\t\t\tcurrentPrinter.getTolerance()+ \"\",\n\t\t\t\t\tcurrentPrinter.getFinish()+ \"\", true);\n\t\t\ttemp = highlightMatch(temp, currentPrinter);\n\t\t\tadd(temp);\n\t\t}\n\t\tthis.revalidate();\n\t}",
"private void showFindDialog() {\n\t\tAlertDialog.Builder builder = new AlertDialog.Builder(new ContextThemeWrapper(this,R.style.AlertDialogCustom));\n\t\tbuilder.setTitle(\"好友列表\");\n\t\tView FriendListView = LayoutInflater.from(this).inflate(R.layout.friend_list_view, null);\n\t\t\n\t\tfinal ListView listView = (ListView) FriendListView.findViewById(R.id.mapfriendlistView);\n\n\t\tlistView.setOnItemClickListener(new OnItemClickListener() {\n\n\t\t\t@Override\n\t\t\tpublic void onItemClick(AdapterView<?> arg0, View view, int position,\n\t\t\t\t\tlong arg3) {\n\t\t\t\tSystem.out.println(position);\n\t\t\t\tshowFriendLatLng(position);\n\t\t\t\tdialog.dismiss();\n\t\t\t}\n\t\t});\n builder.setView(FriendListView);\n\t\tdialog = builder.create();\n\t\tdialog.show();\n\t\t\n\t}",
"public static int choicedialog() {\r\n List<String> choices = new ArrayList<>();\r\n choices.add(\"1a\");\r\n choices.add(\"1b\");\r\n choices.add(\"2\");\r\n choices.add(\"2u\");\r\n choices.add(\"3\");\r\n choices.add(\"3u\");\r\n choices.add(\"4\");\r\n choices.add(\"5\");\r\n\r\n ChoiceDialog<String> dialog = new ChoiceDialog<>(\"SET ZONE HERE\", choices);\r\n dialog.setTitle(\"Zone Selector\");\r\n dialog.setHeaderText(null);\r\n dialog.setContentText(\"Select Zone:\");\r\n \r\n Optional<String> result = dialog.showAndWait();\r\n if (result.isPresent()){\r\n if(result.get() == \"1a\") return 1;\r\n else if (result.get() == \"1b\") return 2;\r\n else if (result.get() == \"2\") return 3;\r\n else if (result.get() == \"2u\") return 4;\r\n else if (result.get() == \"3\") return 5;\r\n else if (result.get() == \"3u\") return 6;\r\n else if (result.get() == \"4\") return 7;\r\n else if (result.get() == \"5\") return 8;\r\n else return 0;\r\n } else return 0;\r\n }",
"@Override\n public void onPartialResult(Hypothesis hypothesis) {\n if (hypothesis == null)\n return;\n\n String text = hypothesis.getHypstr();\n //\n if (text.equals(KEYPHRASE))\n switchSearch(MENU_SEARCH);\n else if (text.equals(DIGITS_SEARCH))\n switchSearch(DIGITS_SEARCH);\n else if (text.equals(ANIMAL_SEARCH))\n switchSearch(ANIMAL_SEARCH);\n else\n ((TextView) findViewById(R.id.result_text)).setText(text);\n }",
"public void actionPerformed (ActionEvent e) {\n \t\tJOptionPane.showMessageDialog(frame3,\n \t\t\t \"Player 1 is blue \\n\"\n \t\t\t \t\t+ \"Player 2 is red \\n\"\n \t\t\t \t\t+ \"Player 3 is green \\n\"\n \t\t\t \t\t+ \"Player 4 is yellow \\n\"\n \t\t\t \t\t+ \"A Warrior's token is a circle. Range:1, Move:3\\n\"\n \t\t\t \t\t+ \"A Ranger's token is a square. Range:4, Move:5\\n\"\n \t\t\t \t\t+ \"A Rogue's token is a triangle. Range:1, Move:6\\n\"\n \t\t\t \t\t+ \"A healer's token is a star. Range:3, Move:4\\n\"\n \t\t\t \t\t+ \"A Damage Mage's token is a pentagon. Range:3, Move:4\\n\", \n \t\t\t \"Key\",\n \t\t\t JOptionPane.PLAIN_MESSAGE);\n \t}",
"@Override\n public boolean onSelection(MaterialDialog dialog, View view, int which, CharSequence text) {\n\n return true;\n }"
]
| [
"0.6103611",
"0.6051797",
"0.59442097",
"0.5902332",
"0.58881795",
"0.58708465",
"0.5858794",
"0.5831963",
"0.5827295",
"0.5768897",
"0.57682407",
"0.57671946",
"0.57363963",
"0.57213193",
"0.5719366",
"0.56613785",
"0.565819",
"0.565819",
"0.5656357",
"0.56548584",
"0.56547225",
"0.5642284",
"0.56341684",
"0.56268895",
"0.5625046",
"0.56184137",
"0.5616076",
"0.56136054",
"0.5612786",
"0.56062806",
"0.5605971",
"0.55943227",
"0.55847716",
"0.5584092",
"0.5575482",
"0.55459815",
"0.55399054",
"0.5539286",
"0.55356985",
"0.55230767",
"0.55173016",
"0.55087125",
"0.5503714",
"0.54939234",
"0.5480713",
"0.5467895",
"0.54592776",
"0.54547375",
"0.544462",
"0.5433098",
"0.54274637",
"0.54247814",
"0.5403971",
"0.5403903",
"0.54029924",
"0.540087",
"0.53955954",
"0.5394069",
"0.5393928",
"0.53871316",
"0.5378305",
"0.5374408",
"0.5354928",
"0.5351552",
"0.53501123",
"0.5349513",
"0.533275",
"0.53220993",
"0.53198344",
"0.53171706",
"0.5310696",
"0.5310439",
"0.5306137",
"0.5305891",
"0.5305767",
"0.53056866",
"0.53053695",
"0.52931064",
"0.52921355",
"0.52875245",
"0.52818537",
"0.5279408",
"0.52790326",
"0.52746576",
"0.52741766",
"0.5274133",
"0.52640015",
"0.52596366",
"0.52582604",
"0.5249365",
"0.52473843",
"0.5247003",
"0.5244355",
"0.5241973",
"0.52364594",
"0.5228559",
"0.52233064",
"0.5222027",
"0.52216387",
"0.5216386",
"0.52161145"
]
| 0.0 | -1 |
called when login is clicked | public void viewdata() {
login.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Cursor res = mydb.getData(user.getText().toString(), p.getText().toString());
if (res.getCount() == 0) {
showmessage("ERROR", "INVALID USER NAME OR PASSWORD");
user.setText("");
p.setText("");
return;
}
Intent i = new Intent(MainActivity.this,Details.class);
i.putExtra("name",user.getText().toString());
i.putExtra("pwd",p.getText().toString());
user.setText("");
p.setText("");
startActivity(i);
}
});
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"protected void login() {\n\t\t\r\n\t}",
"public void LoginButton() {\n\t\t\r\n\t}",
"@Override\n public void onLoginClicked(String username, String password) {\n loginView.showProgress();\n loginInteractor.authorize(username, password, this);\n }",
"@OnClick(R.id.email_sign_in_button) public void onLoginClicked() {\n String uname = username.getText().toString();\n String pass = password.getText().toString();\n\n loginForm.clearAnimation();\n\n // Start login\n presenter.doLogin(new AuthCredentials(uname, pass));\n }",
"public void login() {\n presenter.login(username.getText().toString(), password.getText().toString());\n }",
"@Override\r\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tlogin();\r\n\t\t\t}",
"@Override\n public void onClick(View view) {\n attemptLogin();\n }",
"public void btnLoginClicked() {\n String username = txfUsername.getText();\n String password = txfPassword.getText();\n DatabaseController database = new DatabaseController(new TuDbConnectionFactory());\n Authentication auth = new Authentication(database);\n if (auth.signIn(username, password)) {\n Player player = new Player(username, database.getPersonalTopScore(username));\n game.setScreen(new PreGameScreen(game,\"music/bensound-funkyelement.mp3\", player));\n } else {\n txfUsername.setColor(Color.RED);\n txfPassword.setColor(Color.RED);\n }\n }",
"public void mouseClicked(MouseEvent e) {\n\t\t\t\tlogin();\n\t\t\t}",
"@Override\r\n\tpublic void login() {\n\t\t\r\n\t}",
"@Override\n public void onClick(View view) {\n onLoginClicked();\n }",
"private void showLogin() {\n \t\tLogin.actionHandleLogin(this);\n \t}",
"@Override\n public void onClick(View v) {\n loginUser(\"333333\");\n }",
"@Override\n public void loginScreen() {\n logIn = new GUILogInScreen().getPanel();\n frame.setContentPane(logIn);\n ((JButton) logIn.getComponent(4)).addActionListener(e -> {\n setUsername();\n });\n }",
"@Override\n public void onClick(View v) {\n loginUser(\"111111\");\n }",
"@Override\n public void onClick(View v) {\n loginUser(\"222222\");\n }",
"private void onLoginButtonClicked() {\n this.loginManager = new LoginManager(this, this);\n this.password = passwordEditText.getText().toString().trim();\n this.username = usernameEditText.getText().toString().trim();\n if (username.isEmpty() || password.isEmpty()) {\n Snackbar.make(coordinatorLayout, R.string.fill_all_fields_snackbar, Snackbar.LENGTH_LONG).show();\n } else loginManager.fetchUsersToDatabase(username, password, serverName, serverPort);\n }",
"@Override\n public void onClick(View v) {\n loginUser(\"999999\");\n }",
"@Override\r\n public void onClick(View v) {\n userLogin();\r\n }",
"public String onClick() {\n final String login = getModel().getLogin();\n final String password = getModel().getPasssword();\n\n //Call Business\n Exception ex2 = null;\n User s = null;\n try {\n s = service.login(login, password);\n } catch (Exception ex) {\n ex2 = ex;\n }\n\n //Model to View\n if (ex2 == null) {\n getModel().setCurrentUser(s);\n return \"list\";\n } else {\n return null;\n }\n }",
"public void onLoginButtonClicked() {\n // Start loading the process\n loginView.setProgressBarMessage(\"Logging in...\");\n loginView.showProgressBar();\n\n // Login using a username and password\n authService.login(loginView.getUsernameText(), loginView.getPasswordText())\n .subscribe(new Observer<AuthResponse>() {\n @Override\n public void onSubscribe(Disposable d) {\n\n }\n\n @Override\n public void onNext(AuthResponse authResponse) {\n respondToLoginResponse(authResponse);\n }\n\n @Override\n public void onError(Throwable e) {\n e.printStackTrace();\n loginView.showToastShort(\"Internal Error. Failed to login.\");\n loginView.dismissProgressBar();\n }\n\n @Override\n public void onComplete() {\n\n }\n });\n }",
"public void doLogin() {\n\t\tSystem.out.println(\"loginpage ----dologin\");\n\t\t\n\t}",
"public void goToLoginPage()\n\t{\n\t\tclickAccountNameIcon();\n\t\tclickSignInLink();\n\t}",
"@Override\n public void onClick(View v) {\n loginUser(\"666666\");\n }",
"public void ClickLogin()\n\t{\n\t\t\n\t\tbtnLogin.submit();\n\t}",
"public void LogInOnAction(Event e) {\n\t \t\r\n\t \tif(BookGateway.getInstance().getAuthentication(this.userNameId.getText(), this.passwordId.getText())) {\r\n\t \t\tthis.whiteOutId.setVisible(false);\r\n\t \t\tthis.whiteOutId.setDisable(true);\r\n\t \t\t// TODO: Update label name in the corner.. \r\n\t \t\tthis.nameLabelId.setText(\"Hello, \" + BookGateway.currentUser.getFirstName());\r\n\t \t\r\n\t \t}else {\r\n\t \t\t// true\r\n\t \t\tmessAlert(\"Invalid\",\"Wrong Username or password\");\r\n\t \t\tthis.userNameId.setText(\"\");\r\n\t \t\tthis.passwordId.setText(\"\");\r\n\t \t\te.consume();\r\n\t \t}\r\n\t \t\r\n\t \t\r\n\t }",
"@Override\r\n\t\t\t\tpublic void onClick(View v) {\n\t\t\t\t\tonLogin(v);\r\n\t\t\t\t}",
"@Override\n public void onClick(View v) {\n loginUser(\"777777\");\n }",
"public void login() {\n\t\tloggedIn = true;\n\t}",
"@Override\n public void onClick(View v) {\n loginUser(\"444444\");\n }",
"public login() {\n initComponents();\n \n \n }",
"public void LogIn() {\n\t\t\r\n\t}",
"@Override\n public void onClick(View v) {\n username = mUsernameView.getText().toString();\n password = mPasswordView.getText().toString();\n login();\n }",
"@Override\n\tprotected void login() {\n\t\tsuper.login();\n\t}",
"@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tif(v==buttonlogin)\n\t\t\t\t{\n\t\t\t\t\tloginUser();\n\t\t\t\t}\n\t\t\t}",
"@Override\r\n\tpublic void login() {\n\r\n\t}",
"public void clickOnLoginButton(){\n\t\tthis.loginButton.click();\n\t}",
"public abstract void onLogin();",
"@Override\n public void onClick(View v) {\n loginUser(\"555555\");\n }",
"public void loginClicked(View view) {\n setContentView(R.layout.activity_scanner);\n System.out.println(\"log in clicked\");\n }",
"public void onLoginClick(View view) {\n dialog = initLoadingDialog();\n etUsername = findViewById(R.id.etUsername);\n etPassword = findViewById(R.id.etPassword);\n viewModel.login(etUsername.getText().toString().toLowerCase());\n }",
"@Override\n\tpublic void goToLogin() {\n\t\t\n\t}",
"public void login(ActionEvent e) throws IOException {\r\n\t\t\r\n \tString username = loginuser.getText().trim();\r\n \t//if user is admin, change to userlist screen\r\n \tif (username.equals(\"admin\")) {\r\n \tPhotos.userlistscreen();\r\n \t} else {\r\n \t\tUser user = currentAdmin.findUser(username);\r\n \t\t//if user is found, log into that user and show the album view for that user specifically\r\n \t\tif (user!=null) {\r\n \t\t\tAlbumController.currentUser = (NonAdmin) user;\r\n \t\t\tCopyController.currentUser = (NonAdmin) user;\r\n \t\t\tMoveController.currentUser = (NonAdmin) user;\r\n \t\t\tPhotos.albumscreen(user);\r\n \t\t}\r\n \t\telse {\r\n \t\t\tAlert alert = new Alert(Alert.AlertType.ERROR);\r\n \t\t\talert.setTitle(\"Error\");\r\n \t\t\talert.setHeaderText(\"Invalid username\");\r\n \t\t\talert.setContentText(\"Please try again\");\r\n \t\t\talert.showAndWait();\r\n \t\t\tloginuser.setText(\"\");\r\n \t\t}\r\n \t}\r\n\t}",
"private void loginButtonMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_loginButtonMouseClicked\n //Make a default user object and bind the input data\n User loginUser;\n loginUser = new User(emailField.getText(), new String(passwordField.getPassword()));\n //Check hashed credentials against database\n //JEncryption encrypter = new JEncryption();\n //loginUser.setPswd(new String(encrypter.encrypt(loginUser.getPswd())));\n try\n {\n if(loginUser.login())\n {\n //If successful load the view\n //System.out.println(loginUser.toString());\n View v = new View(loginUser.getRole(), loginUser.getUserId());\n v.setVisible(true);\n this.setVisible(false);\n }\n //If not, pop out a login failed message\n else\n {\n JOptionPane.showMessageDialog(null, \"No user with that e-mail/password combination found.\");\n }\n }\n catch(DLException d)\n {\n JOptionPane.showMessageDialog(null, \"Connection Error. Please contact an administrator if the problem persists.\");\n }\n }",
"public void login() {\n\n String username = usernameEditText.getText().toString();\n String password = passwordEditText.getText().toString();\n regPresenter.setHost(hostEditText.getText().toString());\n regPresenter.login(username, password);\n }",
"@Override\n public void onClick(View v) {\n openLogIn();\n\n }",
"@Override\r\n\tprotected void onLoginSuccess() {\n\t\t\r\n\t}",
"@FXML\n\tprivate void handleLogin() {\n\t \n\t\t\t\ttry {\n\t\t\t\t\tmain.showHomePageOverview(username.getText(),password.getText());\n\t\t\t\t} catch (SQLException e) {\n\t\t\t\t\t// TODO Auto-generated catch block\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\n\t}",
"public String onLogin() {\n final HttpServletRequest request = (HttpServletRequest) getFacesContext()\n .getExternalContext().getRequest();\n try {\n request.login(getModel().getUsername(), getModel().getPassword());\n } catch (final ServletException e) {\n log.debug(\"Bad authentication for login \"\n + getModel().getUsername(), e);\n getFacesMessages().warn(AppMessageKey.VIEW_LOGIN_ERROR);\n return \"\";\n }\n IView viewId;\n if (getSecurityContext().isUserInSecurityRole(SecurityRole.ADMIN)) {\n viewId = View.ADMIN_ACCESS;\n } else if (getSecurityContext()\n .isUserInSecurityRole(SecurityRole.GUEST)) {\n viewId = View.GUEST_ACCESS;\n } else {\n viewId = View.INDEX;\n }\n // Fire login event.\n event.fire(new LoginEvent(new SecurityUser(getModel()\n .getUsername())));\n // Fire render view event.\n return fireEventRenderView(viewId).getId();\n }",
"private void loginFlow() {\n\t\tActiveUserModel userController = ActiveUserModel.getInstance();\n\n\t\tif (userController.isLoggedIn()) {\n\t\t\t// continue\n\t\t} else {\n\t\t\tIntent intent = new Intent(this, LoginActivity.class);\n\t\t\tstartActivityForResult(intent, LOGIN_ACTIVITY);\n\t\t}\n\t}",
"@OnClick(R.id.btnLogin)\n public void doLogin(View view) {\n email.setError(null);\n password.setError(null);\n\n if(email.getText().length() == 0){\n email.setError(getString(R.string.you_must_provide_your_email));\n return;\n }\n\n if(password.getText().length() == 0){\n password.setError(getString(R.string.you_must_provide_your_password));\n return;\n }\n\n // check if user && password match\n User user = User.login(email.getText().toString(), password.getText().toString());\n if(user == null){\n Toast.makeText(this, R.string.user_and_password_do_not_match, Toast.LENGTH_LONG).show();\n return;\n }\n\n // create session and start main\n startMain(user);\n }",
"private void loggedInUser() {\n\t\t\n\t}",
"public void login() {\n\t\tUser user = new User(\"admin\", \"12345678\", Role.ADMIN);\n\t\tuser.setEmail(\"[email protected]\");\n\t\t\n\t\tif(user != null) {\n\t\t\tuserBean.setLoggedInUser(user);\n\t\t\tFacesContext context = FacesContext.getCurrentInstance();\n\t\t\tHttpServletRequest req = (HttpServletRequest)context.getExternalContext().getRequest();\n\t\t\treq.getSession().setAttribute(ATTR_USER, user);\n\t\t}else{\n\t\t\tkeepDialogOpen();\n\t\t\tdisplayErrorMessageToUser(\"Wrong Username/Password. Try again\");\n\t\t}\n\t\t\n\t}",
"@Override\n public void onClick(View v) {\n loginUser(\"888888\");\n }",
"void goToLogin() {\n mainFrame.setPanel(panelFactory.createPanel(PanelFactoryOptions.panelNames.LOGIN));\n }",
"public void login() {\n if (!areFull()) {\n return;\n }\n\n // Get the user login info\n loginInfo = getDBQuery(nameField.getText());\n if (loginInfo.equals(\"\")) {\n return;\n }\n\n // Get password and check if the entered password is true\n infoArray = loginInfo.split(\" \");\n String password = infoArray[1];\n if (!passField.getText().equals(password)) {\n errorLabel.setText(\"Wrong Password!\");\n return;\n }\n\n continueToNextPage();\n }",
"public void clickLogin() {\n\t\tcontinueButton.click();\n\t}",
"@Override\n\tpublic void loginUser() {\n\t\t\n\t}",
"Login() { \n }",
"public static void Login() \r\n\t{\n\t\t\r\n\t}",
"public void clickGoToLogin(){\n\t\t\n\t\tgoToLoginBtn.click();\n\t\t\n\t}",
"public void loginPressed(View view) {\n startActivity(new Intent(this, Login.class));\n }",
"public static void login() {\n\t\trender();\n\t}",
"public void switchToLogin() {\r\n\t\tlayout.show(this, \"loginPane\");\r\n\t\tloginPane.resetPassFields();\r\n\t\trevalidate();\r\n\t\trepaint();\r\n\t}",
"public void handleLogin() {\n\t\tString username = usernameInput.getText();\n\t\tString password = passwordInput.getText();\n\n\t\t// Saves username and password if remember me is ticked\n\t\t// otherwise it deletes the file.\n\t\tif (rememberMeCheckbox.isSelected()) {\n\t\t\twriteRememberMe(username, password);\n\t\t} else {\n\t\t\tclearRememberMe();\n\t\t}\n\n\n\t\ttryUsernamePassword(username, password);\n\t}",
"private void auto_log_in()\n {\n jtf_username.setText(Config.USERNAME);\n jpf_password.setText(Config.PASSWORD);\n jb_prijavi.doClick();\n\n }",
"public void onClick(View v) {\n\t\t\t\tString usernameField = username.getText().toString();\n\t\t\t\tString passwordField = password.getText().toString();\n\n\t\t\t\t// login with this information\n\t\t\t\tlogin(usernameField, passwordField);\n\t\t\t\t\n\t\t\t}",
"public abstract boolean showLogin();",
"@Override\n\tpublic void onLoginSuccess() {\n\t\t\n\t}",
"public void clickLoginBtn() {\r\n\t\tthis.loginBtn.click(); \r\n\t}",
"public void actionPerformed(ActionEvent e) {\n \t\t\t\tlogin();\n \t\t\t}",
"@Public\n\t@Get(\"/login\")\n\tpublic void login() {\n\t\tif (userSession.isLogged()) {\n\t\t\tresult.redirectTo(HomeController.class).home();\n\t\t}\n\t}",
"public void onLoginClickedListener(View view) {\n startActivity(new Intent(this, LoginActivity.class));\n }",
"public void actionPerformed(ActionEvent e) {\n\t\t\t\tlogin();\n\t\t\t}",
"@Override\n public void onSingleClick(View v) {\n mLoginViewModel.login(mEtEmail.getText().toString(), mEtPassword.getText().toString());\n }",
"public login() {\n initComponents();\n }",
"private void login() {\n\t\t \tetUserName.addTextChangedListener(new TextWatcher() {\n\t\t public void afterTextChanged(Editable s) {\n\t\t Validation.hasText(etUserName);\n\t\t }\n\t\t public void beforeTextChanged(CharSequence s, int start, int count, int after){}\n\t\t public void onTextChanged(CharSequence s, int start, int before, int count){}\n\t\t });\n\t\t \t\n\t\t \t // TextWatcher would let us check validation error on the fly\n\t\t \tetPass.addTextChangedListener(new TextWatcher() {\n\t\t public void afterTextChanged(Editable s) {\n\t\t Validation.hasText(etPass);\n\t\t }\n\t\t public void beforeTextChanged(CharSequence s, int start, int count, int after){}\n\t\t public void onTextChanged(CharSequence s, int start, int before, int count){}\n\t\t });\n\t\t }",
"void redirectToLogin();",
"public void login(View view)\n {\n shakeAnim = AnimationUtils.loadAnimation(this, R.anim.shake_anim);\n\n String username = usernameLoginEditText.getText().toString().trim();\n String password = passwordLoginEditText.getText().toString().trim();\n\n for (UserAccount account : accountList) {\n if (account.getStudentUserName().equals(username) && account.getStudentPassword().equals(password)) {\n Toast.makeText(this, getString(R.string.account_found_text),\n Toast.LENGTH_SHORT).show();\n UserAccount.isLoggedIn = true;\n UserAccount.singedInUserAccountName = username;\n\n if (account.getIsAdmin()) {\n startActivity(new Intent(this, AdminMainMenuActivity.class).putExtra(\"Account\", account));\n this.finish();\n }\n else {\n startActivity(new Intent(this, UserMenuActivity.class).putExtra(\"Account\", account));\n this.finish();\n }\n\n userFound = true;\n }\n }\n\n if (!userFound) {\n loginButtonImageView.startAnimation(shakeAnim);\n Toast.makeText(this, getString(R.string.invalid_username_password_text),\n Toast.LENGTH_SHORT).show();\n }\n }",
"public void login(ActionEvent event) throws IOException {\n\t\t//if user is admin, open admin screen\n\t\tif(username.getText().toLowerCase().equals(\"admin\")) {\n\t\t\t//open admin screen\n\t\t\tMain.changeScene(\"/view/admin.fxml\", \"Administrator Dashboard\");\t\t\t\n\t\t}\n\t\t//if user is blank, throw error\n\t\telse if(username.getText().isEmpty()){\n\t\t\tinvalidUserError.setVisible(true);\n\t\t}\n\t\t//otherwise make sure user exists and if they do set current user and change screen, if not throw error.\n\t\telse {\n\t\t\tfor(User user : UserState.getAllUsers()) {\n\t\t\t\tif(user.getUserName().toLowerCase().equals(username.getText().toLowerCase())) {\n\t\t\t\t\tUserState.setCurrentUser(user);\n\t\t\t\t\tMain.changeScene(\"/view/userhome.fxml\", \"User Home\");\n\t\t\t\t}\n\t\t\t}\n\t\t\tinvalidUserError.setVisible(true);\n\t\t\tusername.setText(\"\");\n\t\t}\n\t}",
"public void Login(ActionEvent event) throws Exception{\r\n Login();\r\n }",
"private void onLoginButtonClick() {\r\n\r\n //Validate the input\r\n Editable username = mUsernameInput.getText();\r\n Editable token = mTokenInput.getText();\r\n if (username == null) {\r\n mUsernameInput.setError(getString(R.string.text_profile_username_error));\r\n return;\r\n }\r\n if (token == null) {\r\n mTokenInput.setError(getString(R.string.text_profile_token_error));\r\n return;\r\n }\r\n mViewModel.logIn(username.toString(), token.toString());\r\n\r\n //Hide the keyboard\r\n FragmentActivity activity = getActivity();\r\n if (activity == null) {\r\n return;\r\n }\r\n InputMethodManager imm = (InputMethodManager) activity.getSystemService(Activity.INPUT_METHOD_SERVICE);\r\n View currentFocus = activity.getCurrentFocus();\r\n if (currentFocus == null) {\r\n currentFocus = new View(activity);\r\n }\r\n imm.hideSoftInputFromWindow(currentFocus.getWindowToken(), 0);\r\n }",
"public void onClickLogin(View v){\n //If the login was correct\n if (checkLogIn()) {\n // If the loggin is successfoul, save the user as a logged user into a shared preferences\n\n String username=etUser.getText().toString();\n SharedPreferences.Editor editor = sharedpreferences.edit();\n editor.putString(\"username\", username);\n editor.commit();\n\n //Create and launch a new activity\n Intent myIntent = new Intent(getApplicationContext(), EmMessage1.class);\n startActivity(myIntent);\n }\n //Wrong login\n else {\n //Change the retries text view\n tvFailLogin.setVisibility(View.VISIBLE);\n tvFailLogin.setBackgroundColor(Color.RED);\n retriesLogin--;\n tvFailLogin.setText(Integer.toString(retriesLogin));\n //If retries==0, set the login button to not enabled\n if (retriesLogin == 0) {\n bLogin.setEnabled(false);\n }\n }\n }",
"private void loadLogin(){\n }",
"public void login () {\n\t\tGPPSignIn.sharedInstance().authenticate();\n\t}",
"public void navLogin() {\n container.getChildren().clear();\n loginText.setText(\"Vennligst skriv inn brukernavn og passord:\");\n Label name = new Label(\"Brukernavn:\");\n Label pwd = new Label(\"Passord:\");\n TextField username = new TextField(); /* Lager tekstfelt */\n username.getStyleClass().add(\"textField\");\n PasswordField password = new PasswordField(); /* Ditto */\n password.getStyleClass().add(\"textField\");\n password.setOnAction(new EventHandler<ActionEvent>() {\n public void handle(ActionEvent args) {\n handleLogin(login.checkLogin(username.getText(), password.getText()));\n }\n });\n username.getStyleClass().add(\"inpDefault\");\n password.getStyleClass().add(\"inpDefault\");\n Button logIn = new Button(\"Logg inn\"); /* Laget knapp, Logg inn */\n Button register = new Button(\"Registrer deg\"); /* Skal sende deg til en side for registrering */\n HBox buttons = new HBox();\n buttons.getChildren().addAll(logIn, register);\n container.setPadding(new Insets(15, 12, 15, 12));\n container.setSpacing(5);\n container.getChildren().addAll(loginText, name, username, pwd, password, buttons);\n register.setOnMouseClicked(event -> navRegister());\n logIn.setOnMouseClicked(event -> handleLogin(login.checkLogin(username.getText(), password.getText())));\n }",
"public void onLoginClick()\n {\n user.setEmail(email.getValue());\n user.setPassword(password.getValue());\n\n if(!user.isValidEmail())\n {\n Toast.makeText(context, \"Invalid Email\", Toast.LENGTH_SHORT).show();\n }\n\n else if(!user.isValidPassword())\n {\n Toast.makeText(context, \"Password Should be Minimum 6 Characters\", Toast.LENGTH_SHORT).show();\n }\n\n else if(user.isValidCredential())\n {\n getBusy().setValue(View.VISIBLE);\n\n doLogin(user.getEmail(),user.getPassword());\n new Handler().postDelayed(new Runnable() {\n\n @Override\n public void run()\n {\n getBusy().setValue(View.GONE);\n\n // Toast.makeText(context, \"Login Successful\", Toast.LENGTH_SHORT).show();\n /* Intent intent = new Intent(context, NewsActivity.class);\n intent.putExtra(\"USER_OBJ\", user);\n context.startActivity(intent);\n */\n\n\n }\n }, 500);\n }\n\n else\n {\n Toast.makeText(context, \"Invalid Credentials\", Toast.LENGTH_SHORT).show();\n }\n }",
"void loginDone();",
"@OnClick(R.id.buttonLogin)\n void login()\n {\n UtilsMethods.hideSoftKeyboard(this);\n if (from.equals(Keys.FROM_FIND_JOB))\n {\n\n Intent intent = new Intent(this, LoginSignUpSeekerActivity.class);\n intent.putExtra(Keys.CLICKED_EVENT, Keys.CLICKED_EVENT_LOGIN);\n startActivity(intent);\n overridePendingTransition(R.anim.slide_in_right, R.anim.slide_out_left);\n }\n else\n {\n Intent intent = new Intent(this, LoginSignUpRecruiterActivity.class);\n intent.putExtra(Keys.CLICKED_EVENT, Keys.CLICKED_EVENT_LOGIN);\n startActivity(intent);\n overridePendingTransition(R.anim.slide_in_right, R.anim.slide_out_left);\n }\n }",
"private final static void onLogin(TextField username, PasswordField password)\n\t{\n\t\tif (ProfileManipulation.checkLogin(username.getText(), password.getText())) {\n\t\t\tif (ProfileManipulation.isVerfied(username.getText())) {\n\t\t\t\tProfileManipulation.updateLoginStatus(username.getText(), true);\n\n\t\t\t\t// Jetzt wird das Profil aufgerufen\n\t\t\t\tPartylize.setUsername(username.getText());\n\t\t\t\tPartylize.showMainScene();\n\t\t\t} else {\n\t\t\t\tPartylize.setUsername(username.getText());\n\t\t\t\tPartylize.showVerification();\n\t\t\t}\n\t\t}\n\t\t// Funktionsaufruf Datenbankanbindung -> Erstellen einer Session ID\n\t\t// Funktionsaufruf Profildaten in lokalen Speicher laden - WIP\n\t\telse {\n\t\t\tusername.setText(\"\");\n\t\t\tpassword.setText(\"\");\n\t\t}\n\t}",
"public void login(ActionEvent e) {\n boolean passwordCheck = jf_password.validate();\n boolean emailCheck = jf_email.validate();\n if (passwordCheck && emailCheck) {\n\n\n new LoginRequest(jf_email.getText(), jf_password.getText()) {\n @Override\n protected void success(JSONObject response) {\n Platform.runLater(fxMain::switchToDashboard);\n }\n\n @Override\n protected void fail(String error) {\n Alert alert = new Alert(Alert.AlertType.ERROR, error, ButtonType.OK);\n alert.showAndWait();\n }\n };\n\n\n }\n }",
"void successLogin();",
"@Override\n public void onClick(View view) {\n new ProcessLogin().execute();\n }",
"@FXML\n\tprivate void onLogin(ActionEvent event) throws IOException {\n\t\tif (!username.getText().equals(\"\") && !password.getText().equals(\"\")) {\n\t\t\tUserCommunication clientCom = new UserCommunication();\n\t\t\tSession client = clientCom.login(username.getText(), password.getText());\n\t\t\t\n\t\t\tif(client != null) { \n\t\t\t\t// login good\n\t\t\t\tparent.createSession(client);\n\t\t\t\tparent.populateProfileDatas();\n\t\t\t\tparent.goToHome();\n\t\t\t\tparent.changeContextualMenu(TypeMenu.CONNECTED);\n\t\t\t\tusername.clear();\n\t\t\t\tpassword.clear();\n\t\t\t\t\n\t\t\t\t// load favorites\n\t\t\t\tArrayList<SearchFavorite> sf = new SearchFavoriteDAO().findByUserId(client.getUser().getID());\n\t\t\t\tparent.setFavorites(sf);\n\t\t\t\tparent.populateSearcheScrollPane();\n\t\t\t\t\n\t\t\t\t\n\t\t\t} else {\n\t\t\t\t// login failed\n\t\t\t\tMessage.show(\"Erreur\", \"Authentification échouée\", AlertType.INFORMATION);\n\t\t\t}\n\t\t} else {\n\t\t\tMessage.show(\"Erreur au niveau du formulaire\", \"Veuillez remplir le formulaire convenablement.\", AlertType.WARNING);\n\t\t}\n\t}",
"private void GoToLogin() {\n\t\tstartActivity(new Intent(this, LoginActivity.class));\r\n\t\tapp.user.sessionID = \"\";\r\n\t\tMassVigUtil.setPreferenceStringData(this, \"SESSIONID\", \"\");\r\n\t}",
"public void onSignInClick(MouseEvent e) {\n\t\tsignin();\n\t}",
"Login(String strLogin)\n {\n \tsetLogin(strLogin);\n }",
"private void startAuth() {\n if (ConnectionUtils.getSessionInstance().isLoggedIn()) {\n ConnectionUtils.getSessionInstance().logOut();\n } else {\n ConnectionUtils.getSessionInstance().authenticate(this);\n }\n updateUiForLoginState();\n }",
"private void signIn() {\n }",
"public AfterLogin() {\n initComponents();\n }",
"public void clickLogin() {\n\t\t driver.findElement(loginBtn).click();\n\t }"
]
| [
"0.79840463",
"0.79786277",
"0.79681575",
"0.79535663",
"0.79231375",
"0.7829092",
"0.78123695",
"0.7751136",
"0.7725752",
"0.77166766",
"0.7707376",
"0.7706379",
"0.7691493",
"0.76886606",
"0.7652515",
"0.7642166",
"0.7636043",
"0.76340646",
"0.7620451",
"0.76032114",
"0.75940573",
"0.75808287",
"0.75661415",
"0.75644237",
"0.75591177",
"0.7546842",
"0.75441015",
"0.75425476",
"0.754229",
"0.754022",
"0.75368184",
"0.7535372",
"0.7529048",
"0.75211304",
"0.748605",
"0.74826205",
"0.74692106",
"0.7464692",
"0.7451128",
"0.7448288",
"0.74434036",
"0.74375147",
"0.74311525",
"0.7426631",
"0.7420428",
"0.7405895",
"0.7400549",
"0.7387598",
"0.73807734",
"0.73653007",
"0.7355475",
"0.73450345",
"0.7344527",
"0.7343343",
"0.73001283",
"0.7292675",
"0.72924995",
"0.728864",
"0.7285774",
"0.72854507",
"0.7283407",
"0.7282509",
"0.72734797",
"0.7271018",
"0.72664046",
"0.7259318",
"0.7254177",
"0.72511667",
"0.7248778",
"0.72479177",
"0.72111267",
"0.7208212",
"0.7204083",
"0.72027934",
"0.71978533",
"0.7194503",
"0.719379",
"0.71885574",
"0.7184199",
"0.71827054",
"0.7169888",
"0.71636987",
"0.7157875",
"0.7145353",
"0.71381253",
"0.7133758",
"0.7126432",
"0.7121814",
"0.7120925",
"0.7116986",
"0.7112146",
"0.7109137",
"0.7100003",
"0.7090934",
"0.7090699",
"0.7089501",
"0.7079799",
"0.70769745",
"0.70757145",
"0.70724183",
"0.7072194"
]
| 0.0 | -1 |
Inflate the menu; this adds items to the action bar if it is present. | @Override
public boolean onCreateOptionsMenu(Menu menu) {
getMenuInflater().inflate(R.menu.menu_main, menu);
return true;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n \tMenuInflater inflater = getMenuInflater();\n \tinflater.inflate(R.menu.main_activity_actions, menu);\n \treturn super.onCreateOptionsMenu(menu);\n }",
"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n super.onCreateOptionsMenu(menu, inflater);\n inflater.inflate(R.menu.actions, menu);\n }",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n \tgetMenuInflater().inflate(R.menu.actions, menu);\n \treturn super.onCreateOptionsMenu(menu);\n }",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.actions_bar, menu);\n return super.onCreateOptionsMenu(menu);\n }",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.main_actions, menu);\n\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}",
"@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\r\n\t\tinflater.inflate(R.menu.action_bar_menu, menu);\r\n\t\tmMenu = menu;\r\n\t\treturn super.onCreateOptionsMenu(menu);\r\n\t}",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.act_bar_menu, menu);\n return super.onCreateOptionsMenu(menu);\n }",
"@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\r\n inflater.inflate(R.menu.main_actions, menu);\r\n\t\treturn true;\r\n //return super.onCreateOptionsMenu(menu);\r\n\t}",
"@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t MenuInflater inflater = getMenuInflater();\r\n\t inflater.inflate(R.menu.action_bar_all, menu);\r\n\t return super.onCreateOptionsMenu(menu);\r\n\t}",
"@Override\n\tpublic boolean onCreateOptionsMenu(android.view.Menu menu) {\n\t\t super.onCreateOptionsMenu(menu);\n\t\tMenuInflater muu= getMenuInflater();\n\t\tmuu.inflate(R.menu.cool_menu, menu);\n\t\treturn true;\n\t\t\n\t\t\n\t}",
"@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.adventure_archive, menu);\r\n\t\treturn true;\r\n\t}",
"@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.archive_menu, menu);\r\n\t\treturn true;\r\n\t}",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main_activity_actions, menu);\n return super.onCreateOptionsMenu(menu);\n }",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main_activity_actions, menu);\n return super.onCreateOptionsMenu(menu);\n }",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main_activity_actions, menu);\n return super.onCreateOptionsMenu(menu);\n }",
"@Override\n \tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n \t\tinflater.inflate(R.menu.main, menu);\n \t\tsuper.onCreateOptionsMenu(menu, inflater);\n \t}",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t MenuInflater inflater = getMenuInflater();\n\t inflater.inflate(R.menu.action_menu, menu);\n\t return super.onCreateOptionsMenu(menu);\n\t}",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tsuper.onCreateOptionsMenu(menu);\n\t\tMenuInflater bow=getMenuInflater();\n\t\tbow.inflate(R.menu.menu, menu);\n\t\treturn true;\n\t\t}",
"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n inflater.inflate(R.menu.action_menu, menu);\n super.onCreateOptionsMenu(menu, inflater);\n }",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.main, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.main, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.main, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.main, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}",
"@Override\t\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\t\t\n\t\t/* Inflate the menu; this adds items to the action bar if it is present */\n\t\tgetMenuInflater().inflate(R.menu.act_main, menu);\t\t\n\t\treturn true;\n\t}",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflate = getMenuInflater();\n inflate.inflate(R.menu.menu, ApplicationData.amvMenu.getMenu());\n return true;\n }",
"@Override\n\t\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\t\tgetMenuInflater().inflate(R.menu.menu, menu);\n\t\t\treturn true; \n\t\t\t\t\t\n\t\t}",
"@Override\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n\t\tinflater.inflate(R.menu.main, menu);\n\t}",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu, menu);//Menu Resource, Menu\n return true;\n }",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu, menu);//Menu Resource, Menu\n return true;\n }",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) \n {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.menu_bar, menu);\n return true;\n }",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.menu_item, menu);\n return super.onCreateOptionsMenu(menu);\n }",
"@Override\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n\t\tinflater.inflate(R.menu.menu, menu);\n\t\tsuper.onCreateOptionsMenu(menu, inflater);\n\t}",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t MenuInflater inflater = getMenuInflater();\n\t inflater.inflate(R.menu.menu, menu);\n\t return super.onCreateOptionsMenu(menu);\n\t}",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t inflater.inflate(R.menu.menu, menu);\n\t \n\t\treturn super.onCreateOptionsMenu(menu);\n\t}",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n this.getMenuInflater().inflate(R.menu.main, menu);\n return super.onCreateOptionsMenu(menu);\n }",
"@Override\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n\t\tsuper.onCreateOptionsMenu(menu, inflater);\n\t\t//menu.clear();\n\t\tinflater.inflate(R.menu.soon_to_be, menu);\n\t\t//getActivity().getActionBar().show();\n\t\t//getActivity().getActionBar().setBackgroundDrawable(\n\t\t\t\t//new ColorDrawable(Color.rgb(223, 160, 23)));\n\t\t//return true;\n\t}",
"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n super.onCreateOptionsMenu(menu, inflater);\n inflater.inflate(R.menu.main, menu);\n }",
"@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.main, menu);\r\n\t\treturn super.onCreateOptionsMenu(menu);\r\n\t}",
"@Override\n\tpublic void onCreateOptionsMenu( Menu menu, MenuInflater inflater )\n\t{\n\t\tsuper.onCreateOptionsMenu( menu, inflater );\n\t}",
"@Override\r\n public boolean onCreateOptionsMenu(Menu menu) {\r\n \t// We must call through to the base implementation.\r\n \tsuper.onCreateOptionsMenu(menu);\r\n \t\r\n MenuInflater inflater = getMenuInflater();\r\n inflater.inflate(R.menu.main_menu, menu);\r\n\r\n return true;\r\n }",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.main, menu);//Menu Resource, Menu\n return true;\n }",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.main, menu);//Menu Resource, Menu\n return true;\n }",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater= getMenuInflater();\n inflater.inflate(R.menu.menu_main, menu);\n return super.onCreateOptionsMenu(menu);\n }",
"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n super.onCreateOptionsMenu(menu, inflater);\n inflater.inflate(R.menu.inter_main, menu);\n }",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu, menu);\n return super.onCreateOptionsMenu(menu);\n }",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.action, menu);\n\t\treturn true;\n\t}",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.menu, menu);\n return super.onCreateOptionsMenu(menu);\n }",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.menu, menu);\n return super.onCreateOptionsMenu(menu);\n }",
"@Override\n public boolean onCreateOptionsMenu (Menu menu){\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.menu_main, menu);\n return super.onCreateOptionsMenu(menu);\n }",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.custom_action_bar, menu);\n\t\treturn true;\n\t}",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.main, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}",
"public void initMenubar() {\n\t\tremoveAll();\n\n\t\t// \"File\"\n\t\tfileMenu = new FileMenuD(app);\n\t\tadd(fileMenu);\n\n\t\t// \"Edit\"\n\t\teditMenu = new EditMenuD(app);\n\t\tadd(editMenu);\n\n\t\t// \"View\"\n\t\t// #3711 viewMenu = app.isApplet()? new ViewMenu(app, layout) : new\n\t\t// ViewMenuApplicationD(app, layout);\n\t\tviewMenu = new ViewMenuApplicationD(app, layout);\n\t\tadd(viewMenu);\n\n\t\t// \"Perspectives\"\n\t\t// if(!app.isApplet()) {\n\t\t// perspectivesMenu = new PerspectivesMenu(app, layout);\n\t\t// add(perspectivesMenu);\n\t\t// }\n\n\t\t// \"Options\"\n\t\toptionsMenu = new OptionsMenuD(app);\n\t\tadd(optionsMenu);\n\n\t\t// \"Tools\"\n\t\ttoolsMenu = new ToolsMenuD(app);\n\t\tadd(toolsMenu);\n\n\t\t// \"Window\"\n\t\twindowMenu = new WindowMenuD(app);\n\n\t\tadd(windowMenu);\n\n\t\t// \"Help\"\n\t\thelpMenu = new HelpMenuD(app);\n\t\tadd(helpMenu);\n\n\t\t// support for right-to-left languages\n\t\tapp.setComponentOrientation(this);\n\t}",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tsuper.onCreateOptionsMenu(menu);\n\t\tMenuInflater blowUp=getMenuInflater();\n\t\tblowUp.inflate(R.menu.welcome_menu, menu);\n\t\treturn true;\n\t}",
"@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.listing, menu);\r\n\t\treturn true;\r\n\t}",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.item, menu);\n return true;\n }",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.resource, menu);\n\t\treturn true;\n\t}",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater= getMenuInflater();\n inflater.inflate(R.menu.menu,menu);\n return super.onCreateOptionsMenu(menu);\n }",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main, menu);\n return super.onCreateOptionsMenu(menu);\n }",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main, menu);\n return super.onCreateOptionsMenu(menu);\n }",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.home_action_bar, menu);\n return super.onCreateOptionsMenu(menu);\n }",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.template, menu);\n\t\treturn true;\n\t}",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n Log.d(\"onCreateOptionsMenu\", \"create menu\");\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.socket_activity_actions, menu);\n return super.onCreateOptionsMenu(menu);\n }",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.main_menu, menu);//Menu Resource, Menu\n\n return true;\n }",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.actionbar, menu);\n return true;\n }",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(toolbar_res, menu);\n updateMenuItemsVisibility(menu);\n return true;\n }",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\t// \n\t\tMenuInflater mi = getMenuInflater();\n\t\tmi.inflate(R.menu.thumb_actv_menu, menu);\n\t\t\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}",
"@Override\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n\t\tsuper.onCreateOptionsMenu(menu, inflater);\n\t}",
"@Override\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n\t\tsuper.onCreateOptionsMenu(menu, inflater);\n\t}",
"@Override\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n\t\tsuper.onCreateOptionsMenu(menu, inflater);\n\t}",
"@Override\n\t\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\t\tgetMenuInflater().inflate(R.menu.main, menu);\n\t\t\treturn true;\n\t\t}",
"@Override\n\t\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\t\tgetMenuInflater().inflate(R.menu.main, menu);\n\t\t\treturn true;\n\t\t}",
"@Override\n\t\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\t\tgetMenuInflater().inflate(R.menu.main, menu);\n\t\t\treturn true;\n\t\t}",
"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n super.onCreateOptionsMenu(menu, inflater);\n }",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.swag_list_activity_menu, menu);\n return super.onCreateOptionsMenu(menu);\n }",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n MenuInflater inflater = getMenuInflater();\n inflater.inflate(R.menu.main_menu, menu);\n return super.onCreateOptionsMenu(menu);\n }",
"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n super.onCreateOptionsMenu(menu, inflater);\n\n }",
"@Override\n\tpublic boolean onCreateOptionsMenu(android.view.Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.main, menu);\n\n\t\treturn true;\n\t}",
"@Override\n\t\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\t\tgetMenuInflater().inflate(R.menu.main, menu);\n\t\t\treturn true;\n\t}",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.jarvi, menu);\n\t\treturn super.onCreateOptionsMenu(menu);\n\t}",
"public void onCreateOptionsMenu(Menu menu, MenuInflater inflater){\n }",
"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater menuInflater) {\n menuInflater.inflate(R.menu.main, menu);\n\n }",
"@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.add__listing, menu);\r\n\t\treturn true;\r\n\t}",
"@Override\r\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.actmain, menu);\r\n return true;\r\n }",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.layout.menu, menu);\n\t\treturn true;\n\t}",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.buat_menu, menu);\n\t\treturn true;\n\t}",
"@Override\npublic boolean onCreateOptionsMenu(Menu menu) {\n\n\t\n\t\n\tgetMenuInflater().inflate(R.menu.main, menu);\n\t\n\treturn super.onCreateOptionsMenu(menu);\n}",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.ichat, menu);\n\t\treturn true;\n\t}",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.menu, menu);\n return super.onCreateOptionsMenu(menu);\n }",
"@Override\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater)\n\t{\n\t\tsuper.onCreateOptionsMenu(menu, inflater);\n\t\tinflater.inflate(R.menu.expenses_menu, menu);\n\t}",
"@Override\n \tpublic boolean onCreateOptionsMenu(Menu menu) {\n \t\tgetMenuInflater().inflate(R.menu.main, menu);\n \t\treturn true;\n \t}",
"@Override\n \tpublic boolean onCreateOptionsMenu(Menu menu) {\n \t\tgetMenuInflater().inflate(R.menu.main, menu);\n \t\treturn true;\n \t}",
"@Override\n \tpublic boolean onCreateOptionsMenu(Menu menu) {\n \t\tgetMenuInflater().inflate(R.menu.main, menu);\n \t\treturn true;\n \t}",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.action_bar, menu);\n return true;\n }",
"@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.menu, menu);\r\n\t\treturn true;\r\n\t}",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tsuper.onCreateOptionsMenu(menu);\n\t\tMenuInflater blowUp = getMenuInflater();\n\t\tblowUp.inflate(R.menu.status, menu);\n\t\treturn true;\n\t}",
"@Override\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tMenuInflater inflater = getMenuInflater();\n\t\tinflater.inflate(R.menu.main, menu);\n\t\treturn true;\n\t}",
"@Override\r\n\tpublic boolean onCreateOptionsMenu(Menu menu) {\n\t\tgetMenuInflater().inflate(R.menu.ui_main, menu);\r\n\t\treturn true;\r\n\t}",
"@Override\n\tpublic void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n\t}",
"@Override\n public boolean onCreateOptionsMenu(Menu menu) {\n getMenuInflater().inflate(R.menu.main_activity_actions, menu);\n return true;\n }",
"@Override\r\n public boolean onCreateOptionsMenu(Menu menu){\r\n MenuInflater inflater = getMenuInflater();\r\n inflater.inflate(R.menu.menu, menu);\r\n return true;\r\n }",
"@Override\n public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {\n inflater.inflate(R.menu.menu_main, menu);\n super.onCreateOptionsMenu(menu, inflater);\n }"
]
| [
"0.7249256",
"0.72037125",
"0.7197713",
"0.7180111",
"0.71107703",
"0.70437056",
"0.70412415",
"0.7014533",
"0.7011124",
"0.6983377",
"0.69496083",
"0.69436663",
"0.69371194",
"0.69207716",
"0.69207716",
"0.6893342",
"0.6886841",
"0.6879545",
"0.6877086",
"0.68662405",
"0.68662405",
"0.68662405",
"0.68662405",
"0.68546635",
"0.6850904",
"0.68238425",
"0.6820094",
"0.6817109",
"0.6817109",
"0.6816499",
"0.6809805",
"0.68039787",
"0.6801761",
"0.6795609",
"0.6792361",
"0.67904586",
"0.67863315",
"0.67613983",
"0.67612505",
"0.67518395",
"0.6747958",
"0.6747958",
"0.67444956",
"0.674315",
"0.672999",
"0.67269987",
"0.67268807",
"0.67268807",
"0.67242754",
"0.67145765",
"0.6708541",
"0.6707851",
"0.6702594",
"0.6702059",
"0.6700578",
"0.6698895",
"0.66905326",
"0.6687487",
"0.6687487",
"0.66857284",
"0.66845626",
"0.6683136",
"0.66816247",
"0.66716284",
"0.66714823",
"0.66655463",
"0.6659545",
"0.6659545",
"0.6659545",
"0.6658646",
"0.6658646",
"0.6658646",
"0.6658615",
"0.6656098",
"0.665457",
"0.6653698",
"0.66525924",
"0.6651066",
"0.66510355",
"0.6649152",
"0.6648921",
"0.6648275",
"0.6647936",
"0.66473657",
"0.66471183",
"0.6644802",
"0.66427094",
"0.66391647",
"0.66359305",
"0.6635502",
"0.6635502",
"0.6635502",
"0.66354305",
"0.66325855",
"0.66324854",
"0.6630521",
"0.66282266",
"0.66281354",
"0.66235965",
"0.662218",
"0.66216594"
]
| 0.0 | -1 |
Handle action bar item clicks here. The action bar will automatically handle clicks on the Home/Up button, so long as you specify a parent activity in AndroidManifest.xml. | @Override
public boolean onOptionsItemSelected(MenuItem item) {
int id = item.getItemId();
//noinspection SimplifiableIfStatement
if (id == R.id.action_settings) {
return true;
}
return super.onOptionsItemSelected(item);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Override\n public boolean onOptionsItemSelected(MenuItem item) { Handle action bar item clicks here. The action bar will\n // automatically handle clicks on the Home/Up button, so long\n // as you specify a parent activity in AndroidManifest.xml.\n\n //\n // HANDLE BACK BUTTON\n //\n int id = item.getItemId();\n if (id == android.R.id.home) {\n // Back button clicked\n this.finish();\n }\n\n return super.onOptionsItemSelected(item);\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n // app icon in action bar clicked; goto parent activity.\n onBackPressed();\n return true;\n default:\n return super.onOptionsItemSelected(item);\n }\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n // Respond to the action bar's Up/Home button\n case android.R.id.home:\n onBackPressed();\n return true;\n default:\n return super.onOptionsItemSelected(item);\n }\n }",
"@Override\r\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\r\n switch (id) {\r\n case android.R.id.home:\r\n // app icon in action bar clicked; go home\r\n this.finish();\r\n return true;\r\n default:\r\n return super.onOptionsItemSelected(item);\r\n }\r\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n if (id == android.R.id.home) {\n // app icon in action bar clicked; go home\n finish();\n }\n return super.onOptionsItemSelected(item);\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n if (id == android.R.id.home) {\n Log.e(\"clik\", \"action bar clicked\");\n finish();\n }\n\n return super.onOptionsItemSelected(item);\n }",
"@Override\n\t public boolean onOptionsItemSelected(MenuItem item) {\n\t int id = item.getItemId();\n\t \n\t\t\tif (id == android.R.id.home) {\n\t\t\t\t// Respond to the action bar's Up/Home button\n\t\t\t\t// NavUtils.navigateUpFromSameTask(this);\n\t\t\t\tonBackPressed();\n\t\t\t\treturn true;\n\t\t\t}\n\t \n\t \n\t return super.onOptionsItemSelected(item);\n\t }",
"@Override\r\n public boolean onOptionsItemSelected(MenuItem item) {\r\n switch (item.getItemId()) {\r\n // Respond to the action bar's Up/Home button\r\n case android.R.id.home:\r\n finish();\r\n return true;\r\n }\r\n return super.onOptionsItemSelected(item);\r\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n // Respond to the action bar's Up/Home button\n case android.R.id.home:\n finish();\n return true;\n }\n\n return super.onOptionsItemSelected(item);\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n //noinspection SimplifiableIfStatement\n\n switch (item.getItemId()) {\n case android.R.id.home:\n\n // app icon in action bar clicked; goto parent activity.\n this.finish();\n return true;\n default:\n\n return super.onOptionsItemSelected(item);\n\n }\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n //noinspection SimplifiableIfStatement\n\n switch (item.getItemId()) {\n case android.R.id.home:\n\n // app icon in action bar clicked; goto parent activity.\n this.finish();\n return true;\n default:\n\n return super.onOptionsItemSelected(item);\n\n }\n }",
"@Override\n\tpublic boolean onOptionsItemSelected(MenuItem item) {\n\t\tswitch (item.getItemId()) {\n\t\tcase android.R.id.home:\n\t\t\tonBackPressed();\n\t\t\treturn true;\n\t\tdefault:\n\t\t\treturn super.onOptionsItemSelected(item);\n\t\t}\n\t}",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n // Handle presses on the action bar items\n switch (item.getItemId()) {\n case android.R.id.home:\n onBackPressed();\n return true;\n case R.id.action_clear:\n return true;\n case R.id.action_done:\n\n return true;\n default:\n return super.onOptionsItemSelected(item);\n }\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n switch (id) {\n case android.R.id.home:\n onActionHomePressed();\n return true;\n }\n return super.onOptionsItemSelected(item);\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n switch (id) {\n case android.R.id.home:\n onBackPressed();\n break;\n }\n return super.onOptionsItemSelected(item);\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n switch (id) {\n case android.R.id.home:\n onBackPressed();\n break;\n }\n\n return super.onOptionsItemSelected(item);\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n\n switch (item.getItemId())\n {\n case android.R.id.home :\n super.onBackPressed();\n break;\n }\n return super.onOptionsItemSelected(item);\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId ()) {\n case android.R.id.home:\n onBackPressed ();\n return true;\n\n default:\n break;\n }\n return super.onOptionsItemSelected ( item );\n }",
"@Override\n\tpublic boolean onOptionsItemSelected(MenuItem item) {\n\t switch (item.getItemId()) {\n\t\tcase android.R.id.home:\n\t\t\t// app icon in action bar clicked; go home \n\t\t\tIntent intent = new Intent(this, Kelutral.class); \n\t\t\tintent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP); \n\t\t\tstartActivity(intent); \n\t\t\treturn true;\t\t\n\t case R.id.Search:\n\t \treturn onSearchRequested();\n\t\tcase R.id.AppInfo:\n\t\t\t// Place holder menu item\n\t\t\tIntent newIntent = new Intent(Intent.ACTION_VIEW,\n\t\t\t\t\tUri.parse(\"http://forum.learnnavi.org/mobile-apps/\"));\n\t\t\tstartActivity(newIntent);\n\t\t\treturn true;\n\t\tcase R.id.Preferences:\n\t\t\tnewIntent = new Intent(getBaseContext(), Preferences.class);\n\t\t\tstartActivity(newIntent);\n\t\t\treturn true;\t\n\t }\n\t return false;\n\t}",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n\n case android.R.id.home:\n onBackPressed();\n return true;\n\n }\n return super.onOptionsItemSelected(item);\n\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n onBackPressed();\n return true;\n\n default:\n return super.onOptionsItemSelected(item);\n }\n\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n // Intent homeIntent = new Intent(this, MainActivity.class);\n // homeIntent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);\n // startActivity(homeIntent);\n finish();\n return true;\n default:\n return (super.onOptionsItemSelected(item));\n }\n\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n // setResult and close the activity when Action Bar Up Button clicked.\n if (item.getItemId() == android.R.id.home) {\n setResult(RESULT_CANCELED);\n finish();\n return true;\n }\n return super.onOptionsItemSelected(item);\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n if (id == android.R.id.home) {\n // This ID represents the Home or Up button. In the case of this\n // activity, the Up button is shown. Use NavUtils to allow users\n // to navigate up one level in the application structure. For\n // more details, see the Navigation pattern on Android Design:\n //\n // http://developer.android.com/design/patterns/navigation.html#up-vs-back\n //\n \tgetActionBar().setDisplayHomeAsUpEnabled(false);\n \tgetFragmentManager().popBackStack();\n return true;\n }\n return super.onOptionsItemSelected(item);\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n\n switch (item.getItemId()) {\n case android.R.id.home:\n super.onBackPressed();\n return true;\n\n default:\n // If we got here, the user's action was not recognized.\n // Invoke the superclass to handle it.\n return super.onOptionsItemSelected(item);\n\n }\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n //noinspection SimplifiableIfStatement\n if(id == android.R.id.home){\n onBackPressed();\n }\n\n return super.onOptionsItemSelected(item);\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n if (id == android.R.id.home) {\n onBackPressed();\n return true;\n }\n\n return super.onOptionsItemSelected(item);\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n onBackPressed();\n return true;\n default:\n return super.onOptionsItemSelected(item);\n\n }\n\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n onBackPressed();\n return true;\n }\n return super.onOptionsItemSelected(item);\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n onBackPressed();\n return true;\n }\n return super.onOptionsItemSelected(item);\n }",
"@RequiresApi(api = Build.VERSION_CODES.M)\n @Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n onBackPressed();\n break;\n }\n return super.onOptionsItemSelected(item);\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n onBackPressed();\n return true;\n\n default:\n return super.onOptionsItemSelected(item);\n }\n }",
"@Override\r\n\tpublic boolean onOptionsItemSelected(MenuItem item) {\n\t\tif(item.getItemId()==android.R.id.home)\r\n\t\t{\r\n\t\t\tgetActivity().onBackPressed();\r\n\t\t}\r\n\t\treturn super.onOptionsItemSelected(item);\r\n\t}",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n if(item.getItemId()==android.R.id.home){\n super.onBackPressed();\n }\n return super.onOptionsItemSelected(item);\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n switch (id) {\n case android.R.id.home:\n onBackPressed();\n return false;\n }\n\n return super.onOptionsItemSelected(item);\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n //Back arrow\n case android.R.id.home:\n onBackPressed();\n }\n return super.onOptionsItemSelected(item);\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n onBackPressed();\n return true;\n }\n\n return super.onOptionsItemSelected(item);\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n onBackPressed();\n return true;\n default:\n return super.onOptionsItemSelected(item);\n }\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n onBackPressed();\n return true;\n default:\n return super.onOptionsItemSelected(item);\n }\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n onBackPressed();\n return true;\n default:\n return super.onOptionsItemSelected(item);\n }\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n // android.R.id.home是Android内置home按钮的id\n finish();\n break;\n }\n return super.onOptionsItemSelected(item);\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n super.onBackPressed();\n return true;\n }\n return super.onOptionsItemSelected(item);\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n this.onBackPressed();\n return false;\n }\n return false;\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n // Handle action bar item clicks here. The action bar will\n // automatically handle clicks on the Home/Up button, so long\n // as you specify a parent activity in AndroidManifest.xml.\n int id = item.getItemId();\n\n\n return super.onOptionsItemSelected(item);\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n onBackPressed();\n return true;\n default:\n }\n return super.onOptionsItemSelected(item);\n }",
"@Override\r\n public boolean onOptionsItemSelected(MenuItem item) {\r\n switch (item.getItemId()) {\r\n\r\n case android.R.id.home:\r\n /*Intent i= new Intent(getApplication(), MainActivity.class);\r\n i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TOP);\r\n startActivity(i);*/\r\n onBackPressed();\r\n finish();\r\n return true;\r\n default:\r\n return super.onOptionsItemSelected(item);\r\n }\r\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n switch (id){\n case android.R.id.home:\n this.finish();\n return true;\n }\n\n return super.onOptionsItemSelected(item);\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n // Pass the event to ActionBarDrawerToggle, if it returns\n // true, then it has handled the app icon touch event\n if (mDrawerToggle.onOptionsItemSelected(item)) {\n return true;\n }\n\n // Handle your other action bar items...\n return super.onOptionsItemSelected(item);\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n // Respond to the action bar's Up/Home button\n case android.R.id.home:\n NavUtils.navigateUpFromSameTask(getActivity());\n return true;\n case R.id.action_settings:\n Intent i = new Intent(getActivity(), SettingsActivity.class);\n startActivity(i);\n return true;\n }\n\n return super.onOptionsItemSelected(item);\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n //Fixes the Up Button\n if(id == android.R.id.home) {\n BuildRoute.this.finish();\n return true;\n }\n return super.onOptionsItemSelected(item);\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()){\n case android.R.id.home:\n onBackPressed();\n break;\n }\n return true;\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n\n if (id == android.R.id.home) {\n NavUtils.navigateUpFromSameTask(this);\n }\n\n return super.onOptionsItemSelected(item);\n }",
"@Override\r\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\r\n case android.R.id.home:\r\n onBackPressed();\r\n break;\r\n }\r\n return true;\r\n }",
"@Override\n\tpublic boolean onOptionsItemSelected(MenuItem item) {\n\t\tif (item.getItemId() == android.R.id.home) {\n\t\t\tfinish();\n\t\t}\n\t\treturn super.onOptionsItemSelected(item);\n\t}",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n\n onBackPressed();\n\n return super.onOptionsItemSelected(item);\n }",
"@Override\r\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\r\n if ( id == android.R.id.home ) {\r\n finish();\r\n return true;\r\n }\r\n return super.onOptionsItemSelected(item);\r\n }",
"@Override\r\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\r\n\r\n //noinspection SimplifiableIfStatement\r\n if (id == R.id.home) {\r\n NavUtils.navigateUpFromSameTask(this);\r\n return true;\r\n }\r\n\r\n //noinspection SimplifiableIfStatement\r\n if (id == R.id.action_about) {\r\n AboutDialog();\r\n return true;\r\n }\r\n\r\n //noinspection SimplifiableIfStatement\r\n if (id == R.id.action_exit) {\r\n finish();\r\n return true;\r\n }\r\n\r\n\r\n return super.onOptionsItemSelected(item);\r\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n if (id == android.R.id.home) {\n\n this.finish();\n }\n\n return super.onOptionsItemSelected(item);\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n if (id == android.R.id.home) {\n\n this.finish();\n }\n\n return super.onOptionsItemSelected(item);\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n//noinspection SimplifiableIfStatement\n if (id == android.R.id.home) {\n// finish the activity\n onBackPressed();\n return true;\n }\n\n return super.onOptionsItemSelected(item);\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item)\n {\n int id = item.getItemId();\n\n //noinspection SimplifiableIfStatement\n if( id == android.R.id.home ) // Back button of the actionbar\n {\n finish();\n return true;\n }\n\n return super.onOptionsItemSelected(item);\n }",
"@Override\r\n\t\tpublic boolean onOptionsItemSelected(MenuItem item) {\n\t\t\tswitch (item.getItemId()) {\r\n\t\t\tcase android.R.id.home:\r\n\t\t\t\tfinish();\r\n\t\t\t\tbreak;\r\n\t\t\tdefault:\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t\treturn super.onOptionsItemSelected(item);\r\n\t\t}",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n\n this.finish();\n return true;\n default:\n return super.onOptionsItemSelected(item);\n }\n\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n if (item.getItemId() == android.R.id.home) {\n onBackPressed();\n return true;\n }\n return false;\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n\n if(id == android.R.id.home){\n finish();\n }\n\n return super.onOptionsItemSelected(item);\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n //noinspection SimplifiableIfStatement\n if (id == android.R.id.home) {\n onBackPressed();\n return true;\n }\n\n return super.onOptionsItemSelected(item);\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n //noinspection SimplifiableIfStatement\n if (id == android.R.id.home) {\n onBackPressed();\n return true;\n }\n\n return super.onOptionsItemSelected(item);\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n //noinspection SimplifiableIfStatement\n if (id == android.R.id.home) {\n onBackPressed();\n return true;\n }\n\n return super.onOptionsItemSelected(item);\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n //noinspection SimplifiableIfStatement\n if (id == android.R.id.home) {\n onBackPressed();\n return true;\n }\n\n return super.onOptionsItemSelected(item);\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n\n if (item.getItemId() == android.R.id.home) {\n finish();\n }\n return super.onOptionsItemSelected(item);\n }",
"@Override\r\n\tpublic boolean onOptionsItemSelected(MenuItem item) {\n\t\tswitch (item.getItemId()) {\r\n\t\tcase android.R.id.home:\r\n\t\t\tsetResult(RESULT_OK, getIntent());\r\n\t\t\tfinish();\r\n\t\t\tbreak;\r\n\t\t}\r\n\t\treturn true;\r\n\t}",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n finish();\n return true;\n default:\n // If we got here, the user's action was not recognized.\n // Invoke the superclass to handle it.\n return super.onOptionsItemSelected(item);\n\n }\n }",
"@Override\n\tpublic boolean onOptionsItemSelected(MenuItem item) {\n\t\tswitch (item.getItemId()) {\n\t\tcase android.R.id.home:\n\t\t\tfinish();\n\t\t\tbreak;\n\n\t\t}\n\t\treturn super.onOptionsItemSelected(item);\n\t}",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n switch (id) {\n\n case android.R.id.home:\n this.finish();\n return true;\n }\n return true;\n }",
"@Override\n\tpublic boolean onOptionsItemSelected(MenuItem item) {\n\t\tswitch (item.getItemId()) {\n\t\tcase android.R.id.home:\n\t\t\tfinish();\n\t\t\tbreak;\n\n\t\tdefault:\n\t\t\tbreak;\n\t\t}\n\t\treturn super.onOptionsItemSelected(item);\n\t}",
"@Override\n\tpublic boolean onOptionsItemSelected(MenuItem item) {\n\t\tint id = item.getItemId();\n\t\tif (id == android.R.id.home) {\n\t\t\tfinish();\n\t\t\treturn true;\n\t\t}\n\t\treturn super.onOptionsItemSelected(item);\n\t}",
"@Override\r\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\r\n if (id == android.R.id.home) {\r\n finish();\r\n return true;\r\n }\r\n return super.onOptionsItemSelected(item);\r\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n onBackPressed();\n //NavUtils.navigateUpFromSameTask(this);\n return true;\n default:\n return super.onOptionsItemSelected(item);\n }\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n // todo: goto back activity from here\n finish();\n return true;\n\n default:\n return super.onOptionsItemSelected(item);\n }\n }",
"@Override\r\n public boolean onOptionsItemSelected(MenuItem item) {\r\n // Handle item selection\r\n switch (item.getItemId()) {\r\n case android.R.id.home:\r\n onBackPressed();\r\n return true;\r\n\r\n case me.cchiang.lookforthings.R.id.action_sample:\r\n// Snackbar.make(parent_view, item.getTitle() + \" Clicked \", Snackbar.LENGTH_SHORT).show();\r\n return true;\r\n default:\r\n return super.onOptionsItemSelected(item);\r\n }\r\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n if (id == android.R.id.home) {\n finish();\n }\n return super.onOptionsItemSelected(item);\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n if (id == android.R.id.home) {\n finish();\n }\n return super.onOptionsItemSelected(item);\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n finish();\n return true;\n default:\n return super.onOptionsItemSelected(item);\n }\n\n\n }",
"@Override\n\tpublic boolean onOptionsItemSelected(MenuItem item) {\n\t\tswitch (item.getItemId()) {\n\t\tcase android.R.id.home:\n\t\t\tonBackPressed();\n\t\t\treturn true;\n\t\tcase R.id.scan_menu:\n\t\t\tonScan();\n\t\t\tbreak;\n\t\tcase R.id.opt_about:\n\t\t\t//onAbout();\n\t\t\tbreak;\n\t\tcase R.id.opt_exit:\n\t\t\tfinish();\n\t\t\tbreak;\n\t\tdefault:\n\t\t\treturn super.onOptionsItemSelected(item);\n\t\t}\n\t\treturn true;\n\t}",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n //noinspection SimplifiableIfStatement\n if (id == android.R.id.home) {\n super.onBackPressed();\n return true;\n }\n\n return super.onOptionsItemSelected(item);\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n switch (id) {\n case android.R.id.home:\n this.finish();\n return true;\n default:\n return super.onOptionsItemSelected(item);\n }\n }",
"@Override\n public boolean onOptionsItemSelected(@NonNull MenuItem item) {\n if (item.getItemId() == android.R.id.home) {\n onBackPressed();\n }\n return super.onOptionsItemSelected(item);\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n switch (id) {\n case android.R.id.home:\n finish();\n return true;\n }\n return super.onOptionsItemSelected(item);\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n\n case android.R.id.home:\n finish();\n return true;\n\n }\n return super.onOptionsItemSelected(item);\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n if(id==android.R.id.home){\n finish();\n }\n\n return super.onOptionsItemSelected(item);\n }",
"@Override\r\n\tpublic boolean onOptionsItemSelected(MenuItem item) {\r\n\t switch (item.getItemId()) {\r\n\t \t// back to previous page\r\n\t case android.R.id.home:\r\n\t finish();\r\n\t return true;\r\n\t }\r\n\t return super.onOptionsItemSelected(item);\r\n\t}",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n if (id == android.R.id.home) {\n finish();\n }\n\n return super.onOptionsItemSelected(item);\n }",
"@Override\r\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\r\n\r\n //noinspection SimplifiableIfStatement\r\n if (id == android.R.id.home) {\r\n // finish the activity\r\n onBackPressed();\r\n return true;\r\n }\r\n\r\n return super.onOptionsItemSelected(item);\r\n }",
"@Override\r\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\r\n\r\n //noinspection SimplifiableIfStatement\r\n if (id == android.R.id.home) {\r\n // finish the activity\r\n onBackPressed();\r\n return true;\r\n }\r\n\r\n return super.onOptionsItemSelected(item);\r\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId())\n {\n case android.R.id.home:\n this.finish();\n return (true);\n }\n return super.onOptionsItemSelected(item);\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n if (id == android.R.id.home) {\n finish();\n return true;\n }\n return super.onOptionsItemSelected(item);\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n if (id == android.R.id.home) {\n finish();\n return true;\n }\n return super.onOptionsItemSelected(item);\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n switch (id){\n case R.id.home:{\n NavUtils.navigateUpFromSameTask(this);\n return true;\n }\n }\n return super.onOptionsItemSelected(item);\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n int id = item.getItemId();\n\n //noinspection SimplifiableIfStatement\n switch(item.getItemId())\n {\n case android.R.id.home:\n super.onBackPressed();\n break;\n }\n\n return super.onOptionsItemSelected(item);\n }",
"@Override\n\tpublic boolean onOptionsItemSelected(MenuItem item) {\n\t\tswitch (item.getItemId()) {\n\t\tcase android.R.id.home:\n\t\t\tfinish();\n\t\t\treturn true;\n\n\t\tdefault:\n\t\t\treturn super.onOptionsItemSelected(item);\n\t\t}\n\t}",
"@Override\r\n public boolean onOptionsItemSelected(MenuItem item) {\n\r\n int id = item.getItemId();\r\n if(id==android.R.id.home){\r\n finish();\r\n return true;\r\n }\r\n return super.onOptionsItemSelected(item);\r\n }"
]
| [
"0.79041183",
"0.7805934",
"0.77659106",
"0.7727251",
"0.7631684",
"0.7621701",
"0.75839096",
"0.75300384",
"0.74873656",
"0.7458051",
"0.7458051",
"0.7438486",
"0.742157",
"0.7403794",
"0.7391802",
"0.73870087",
"0.7379108",
"0.7370295",
"0.7362194",
"0.7355759",
"0.73454577",
"0.734109",
"0.73295504",
"0.7327726",
"0.73259085",
"0.73188347",
"0.731648",
"0.73134047",
"0.7303978",
"0.7303978",
"0.7301588",
"0.7298084",
"0.72932935",
"0.7286338",
"0.7283324",
"0.72808945",
"0.72785115",
"0.72597474",
"0.72597474",
"0.72597474",
"0.725962",
"0.7259136",
"0.7249966",
"0.7224023",
"0.721937",
"0.7216621",
"0.72045326",
"0.7200649",
"0.71991026",
"0.71923256",
"0.71851367",
"0.7176769",
"0.7168457",
"0.71675026",
"0.7153402",
"0.71533287",
"0.71352696",
"0.71350807",
"0.71350807",
"0.7129153",
"0.7128639",
"0.7124181",
"0.7123387",
"0.7122983",
"0.71220255",
"0.711715",
"0.711715",
"0.711715",
"0.711715",
"0.7117043",
"0.71169263",
"0.7116624",
"0.71149373",
"0.71123946",
"0.7109806",
"0.7108778",
"0.710536",
"0.7098968",
"0.70981944",
"0.7095771",
"0.7093572",
"0.7093572",
"0.70862055",
"0.7082207",
"0.70808214",
"0.7080366",
"0.7073644",
"0.7068183",
"0.706161",
"0.7060019",
"0.70598614",
"0.7051272",
"0.70374316",
"0.70374316",
"0.7035865",
"0.70352185",
"0.70352185",
"0.7031749",
"0.703084",
"0.7029517",
"0.7018633"
]
| 0.0 | -1 |
Creates a new instance of SetInfoWindow | public SetInfoWindow() {
super(BasicWindow.curWindow,"Stage Info", true);
//setTitle("Inventory Manager");
proj_class=(project)project.oClass;
addComponents();
populateComponents();
setBounds(10,50, iScreenHeight,iScreenWidth);
//setSize(500,500);
setResizable(true);
setVisible(true);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setInfoWindow(MarkerInfoWindow infoWindow){\n\t\tmInfoWindow = infoWindow;\n\t}",
"public InfoDialog() {\r\n\t\tcreateContents();\r\n\t}",
"public void showInfoWindow(){\n\t\tif (mInfoWindow == null)\n\t\t\treturn;\n\t\tfinal int markerWidth = mIcon.getIntrinsicWidth();\n\t\tfinal int markerHeight = mIcon.getIntrinsicHeight();\n\t\tfinal int offsetX = (int)(markerWidth * (mIWAnchorU - mAnchorU));\n\t\tfinal int offsetY = (int)(markerHeight * (mIWAnchorV - mAnchorV));\n\t\tif (mBearing == 0) {\n\t\t\tmInfoWindow.open(this, mPosition, offsetX, offsetY);\n\t\t\treturn;\n\t\t}\n\t\tfinal int centerX = 0;\n\t\tfinal int centerY = 0;\n\t\tfinal double radians = -mBearing * Math.PI / 180.;\n\t\tfinal double cos = Math.cos(radians);\n\t\tfinal double sin = Math.sin(radians);\n\t\tfinal int rotatedX = (int)RectL.getRotatedX(offsetX, offsetY, centerX, centerY, cos, sin);\n\t\tfinal int rotatedY = (int)RectL.getRotatedY(offsetX, offsetY, centerX, centerY, cos, sin);\n\t\tmInfoWindow.open(this, mPosition, rotatedX, rotatedY);\n\t}",
"public Info() {\n initComponents();\n setSize(540, 575);\n setLocationRelativeTo(null);\n \n }",
"public native void show(GInfoWindow self)/*-{\r\n\t\tself.show();\r\n\t}-*/;",
"public void drawInfoWindow(){\n\n p.pushMatrix();\n p.translate(0,0); // translate whole window if necessary\n\n // display name and show\n p.stroke(0);\n p.strokeWeight(2);\n p.textSize(30);\n p.fill(0);\n p.text(\"Info\",735,35);\n p.rectMode(CORNER);\n p.fill(219, 216, 206);\n p.rect(730,40,550,700);\n p.rectMode(CENTER);\n\n p.fill(0);\n p.pushMatrix();{\n p.translate(740,80);\n p.textSize(15);\n p.text(\"General\",0,-20);\n p.line(-3,-15,150,-15);\n p.text(\"Speed: \" + manipulator.maxSpeed,0,0);\n p.text(\"Angle of rotation for segment_1: \" + p.degrees(manipulator.segment_1_rot),0,20);\n p.text(\"Angle of rotation for segment_2: \" + p.degrees(manipulator.segment_2_rot),0,40);\n\n\n }p.popMatrix();\n\n p.popMatrix();\n\n }",
"public InfoPopup() {\n initComponents();\n }",
"public InfoPanel() {\n setPreferredSize(new Dimension(500, 860));\n }",
"public void displayInfo(String info){\n infoWindow.getContentTable().clearChildren();\n Label infoLabel = new Label(info, infoWindow.getSkin(), \"dialog\");\n infoLabel.setWrap(true);\n infoLabel.setAlignment(Align.center);\n infoWindow.getContentTable().add(infoLabel).width(500);\n infoWindow.show(guiStage);\n }",
"private void setUpInfoWindowLayer() {\n map.addLayer(new SymbolLayer(CALLOUT_LAYER_ID, geojsonSourceId)\n .withProperties(\n /* show image with id title based on the value of the name feature property */\n iconImage(\"{hotel}\"),\n\n /* set anchor of icon to bottom-left */\n iconAnchor(ICON_ANCHOR_BOTTOM),\n\n /* all info window and marker image to appear at the same time*/\n iconAllowOverlap(false),\n\n /* offset the info window to be above the marker */\n iconOffset(new Float[] {-2f, -25f}),\n\n iconSize( 1.0f )\n\n\n )\n/* add a filter to show only when selected feature property is true */\n .withFilter(eq((get(PROPERTY_SELECTED)), literal(true)))\n\n );\n\n }",
"public InfoDialog(String text) {\r\n\t\tthis.setDialog(text);\r\n\t}",
"public InfoDialog(String text, String title) {\r\n\t\tthis.setDialog(text, title);\r\n\t}",
"public InfoWindow createLocationInfoWindow(Hospital location) {\n\n // Hospital tooltip generated and added\n InfoWindowOptions infoWindowOptions = new InfoWindowOptions();\n String locationInfo = location.getName() + \". \\n\";\n\n if (location.getId() < 0) {\n locationInfo += \"Location: (\" +\n Double.valueOf(view.getDecimalFormat().format(location.getLatitude())) + \", \" +\n Double.valueOf(view.getDecimalFormat().format(location.getLongitude())) + \")\";\n } else {\n\n if (location.getAddress() != null) {\n locationInfo += \"Address: \" + location.getAddress() + \". \\n\";\n }\n\n List<String> organPrograms = new ArrayList<>();\n int i = 0;\n for (OrganEnum organ : OrganEnum.values()) {\n if (location.getPrograms().get(i)) {\n organPrograms.add(organ.getNamePlain());\n }\n i++;\n }\n\n if (location.getPrograms() != null) {\n locationInfo += \"Services offered: \" + organPrograms + \".\";\n }\n\n }\n\n infoWindowOptions.content(locationInfo);\n\n return new InfoWindow(infoWindowOptions);\n }",
"@Override\n\tpublic void setUpInfoPanel() {\n\t\t\n\t}",
"private Widget getInfo() {\n FocusPanel infoPanel = new FocusPanel();\n infoPanel.setStyleName(\"elv-Molecules-InfoPanel\");\n HorizontalPanel content = new HorizontalPanel();\n try{\n Image img = new Image(ReactomeImages.INSTANCE.information());\n String helpTitle = \"Info\";\n HTMLPanel helpContent = new HTMLPanel(\n \"The molecules tab shows you all the molecules of a complete pathway diagram.\\n\" +\n \"Molecules are grouped in Chemical Compounds, Proteins, Sequences and Others.\\n\" +\n \"The molecules of a selected object appear highlighted in the molecules lists;\\n\" +\n \"a molecule selected in the list will be highlighted in the diagram.\\n\" +\n \"For each molecule you can see a symbol, a link to the main reference DB, a name and the number of\\n\" +\n \"occurrences in the pathway. Clicking on the symbol several times will allow you to circle through\\n\" +\n \"all its occurrences in the diagram.\\n\" +\n \"Expanding by clicking on the '+' will provide you with further external links.\\n\" +\n \"Lists can be downloaded. Just click on the button in the top right\\n\" +\n \"corner, select the fields and types you are interested in and click 'Start Download'.\");\n\n content.add(img);\n popup = new HelpPopup(helpTitle, helpContent);\n infoPanel.addMouseOverHandler(this);\n infoPanel.addMouseOutHandler(this);\n infoPanel.getElement().getStyle().setProperty(\"cursor\", \"help\");\n }catch (Exception e){\n// e.printStackTrace();\n Console.error(getClass() + \": \" + e.getMessage());\n //ToDo: Enough?\n }\n HTMLPanel title = new HTMLPanel(\"Info\");\n title.getElement().getStyle().setMarginLeft(10, Style.Unit.PX);\n content.add(title);\n\n infoPanel.add(content.asWidget());\n\n return infoPanel;\n }",
"public MenuInfo() {\n initComponents();\n setSize(1024,768);\n }",
"protected static synchronized void writeInfo(String information) {\n JOptionPane optionPane = new JOptionPane(information, JOptionPane.INFORMATION_MESSAGE);\n JDialog dialog = optionPane.createDialog(\"Information\");\n dialog.setAlwaysOnTop(true);\n dialog.setVisible(true);\n }",
"public void onInfoWindowClick(Marker marker2) {\n\n AlertDialog.Builder builder2 = new AlertDialog.Builder(Detalles.this);\n builder2.setTitle(\"Epicent\");\n builder2.setMessage(\"Referencia : \" +\"ddddddd\" +\"\\n\" +\n \"Fecha local : \" + \"ccccccc\" +\"\\n\" +\n \"Hora local : \" + \"ccccccc\"+ \"\\n\" +\n \"Profundidad : \" + \"ccccccc\"+\" km\"+ \"\\n\" +\n \"Intensidad : \" + \"ccccccc\"+ \"\\n\" +\n \"Magnitud : \" + \"ccccccc\"+ \"\\n\" +\n \"Ubicación : \" + \"ccccccc\"+ \", \" + \"ccccccc\");\n builder2.setNegativeButton(\"Cerrar\", new DialogInterface.OnClickListener() {\n @Override\n public void onClick(DialogInterface dialog2, int which) {\n dialog2.cancel();\n }\n });\n\n builder2.setCancelable(true);\n builder2.create().show();\n\n }",
"public DialogInfo(Activity activity) {\n super(activity);\n\n // Hide all elements on load.\n mInfoText .setVisibility(View.GONE);\n mInfoLButton.setVisibility(View.GONE);\n mInfoRButton.setVisibility(View.GONE);\n\n // Get pixel values of button dimensions.\n int buttonHeight = ReflectionHelper.densityPixelsToPixels(mActivity, 60);\n int buttonWidth = ReflectionHelper.densityPixelsToPixels(mActivity, 295);\n int buttonWidthSmall = ReflectionHelper.densityPixelsToPixels(mActivity, 145);\n\n // Create supported button sizes.\n mButtonLp = new LinearLayout.LayoutParams(buttonWidth, buttonHeight);\n mButtonLpSmall = new LinearLayout.LayoutParams(buttonWidthSmall, buttonHeight);\n\n // Can touch and dismiss.\n setTouchable(true);\n setDismissible(true);\n }",
"@Override\n\t\t\tpublic View getInfoWindow(Marker marker) {\n\t\t\t\tView v = getLayoutInflater().inflate(R.layout.map_info_window, null);\n\n // Getting reference to the TextView to set title\n TextView memo = (TextView) v.findViewById(R.id.memo);\n ImageView imgV = (ImageView) v.findViewById(R.id.photo);\n\n memo.setText(marker.getTitle());\n\n \n /**\n * marker는 생성되는 순서대로 m0, m1, m2... m 뒤에 붙는 숫자들은 마커의 인덱스이고 이 인덱스는 \n * areaList의 인덱스와 같으므로 마커의 인덱스를 파싱해서 areaList에 그 인덱스로 접근하면 지역정보를 얻을 수 있다.\n */\n String id = marker.getId();\n int mIdx = Integer.parseInt( id.substring(1) ); // m 제외하고 스트링파싱 인트파.\n // LatLng l = marker.getPosition();\n \n String mPath = mAreaList.get(mIdx).pathOfPic.get(0); // 해당 위치에 저장된 많은 사진중 첫번째 사진주\n Bitmap bitm = decodeBitmapFromStringpath(mPath, 100, 100);\n imgV.setImageBitmap(bitm);\n// imgV.setImageURI(Uri.parse(mPath));\n // Returning the view containing InfoWindow contents\n return v;\n\t\t\t}",
"boolean setInfo();",
"@Override\n public View getInfoWindow(Marker marker) {\n\n if(shownMarker!=null&&shownMarker.isInfoWindowShown()){\n shownMarker.hideInfoWindow();\n shownMarker.showInfoWindow();\n\n }\n\n return null;\n }",
"public final void setInfo(Info info)\n {\n this.info = info;\n }",
"void createWindow();",
"void infoSetUp() {\r\n\t\tJPanel imageInfo = new JPanel();\r\n\t\timageInfo.setLayout(new GridLayout(2, 0));\r\n\t\tJPanel mButtons = new JPanel();\r\n\r\n\t\tJButton save = new JButton(\"save\");\r\n\t\tJButton upload = new JButton(\"upload\");\r\n\t\tJButton delete = new JButton(\"delete\");\r\n\t\tJButton view = new JButton(\"open\");\r\n\r\n\t\tupload.setActionCommand(\"upload\");\r\n\t\tview.setActionCommand(\"view\");\r\n\t\tActionListener upList = new UpList();\r\n\t\tupload.addActionListener(upList);\r\n\t\tview.addActionListener(upList);\r\n\t\tmButtons.add(save);\r\n\t\tmButtons.add(upload);\r\n\t\tmButtons.add(delete);\r\n\t\tmButtons.add(view);\r\n\r\n\t\tJTextArea info = new JTextArea(\"Path: \");\r\n\t\tinfo.setEditable(false);\r\n\t\timageInfo.add(info);\r\n\t\timageInfo.add(mButtons);\r\n\t\tmainFrame.add(imageInfo);\r\n\t\tinfoText = info;\r\n\t}",
"@Override\n protected MyInfoPresenter createPresenter() {\n return new MyInfoPresenter(MyInfoActivity.this);\n }",
"public EditInfo() {\n initComponents();\n }",
"@Override\r\n\tpublic View getInfoWindow(Marker arg0) {\n\t\treturn null;\r\n\t}",
"public InfoPanel()\n\t\t{\n\t\t\t//setting color and instantiating textfield and button\n\t\t\tsetBackground(bCol);\n\t\t\tnameJF = new JTextField(\"Type Your Name\", 20);\n\t\t\tFont naFont = new Font(\"Serif\", Font.PLAIN, 25);\n\t\t\tnameJF.setFont(naFont);\n\t\t\tsub = new JButton(\"Submit\");\n\t\t\tsub.addActionListener(this);\n\t\t\tsub.setFont(naFont);\n\t\t\tname = new String(\"\");\n\t\t\tadd(nameJF);\n\t\t\tadd(sub);\n\t\t}",
"void show_info() {\n\t\tsetAlwaysOnTop(false);\n\n\t\tString msg = \"<html><ul><li>Shortcuts:<br/>\"\n\t\t\t\t+ \"(\\\") start macro<br/>\"\n\t\t\t\t+ \"(esc) exit<br/><br/>\"\n\t\t\t\t+ \"<li>Author: <b>Can Kurt</b></ul></html>\";\n\n\t\tJLabel label = new JLabel(msg);\n\t\tlabel.setFont(new Font(\"arial\", Font.PLAIN, 15));\n\n\t\tJOptionPane.showMessageDialog(null, label ,\"Info\", JOptionPane.INFORMATION_MESSAGE);\n\n\t\tsetAlwaysOnTop(true);\n\t}",
"public InfoDialog(String text, String title, String variant) {\r\n\t\tthis.setDialog(text, title, variant);\r\n\t}",
"public void setInfoText(String infoText);",
"public Info1() {\n initComponents();\n }",
"@Override\n public void onInfoWindowClick(Marker marker) {\n makeText(this, \"Info window clicked\",\n LENGTH_SHORT).show();\n marker.getTag();\n marker.getTitle();\n marker.getId();\n\n }",
"public void createPopupWindow() {\r\n \t//\r\n }",
"public SettingsWindow()\n {\n House.seed = System.currentTimeMillis();\n initWindow();\n showWindows();\n }",
"private void initInfoPanel() {\n\t\t// Info Panel\n\t\tinfoPanel = new JPanel();\n\t\tinfoPanel.setBorder(BorderFactory.createTitledBorder(\"\"));\n\t\t\n\t\t// Current Word Label\n\t\twordString = \"\";\n\t\twordLabel = new JLabel(\" \" + wordString, SwingConstants.LEFT);\n\t\twordLabel.setBorder(BorderFactory.createTitledBorder(\"Current Word\"));\n\t\twordLabel.setPreferredSize(new Dimension(280, 65));\n\t\twordLabel.setFont(new Font(\"Arial\", Font.BOLD, 16));\n\t\tinfoPanel.add(wordLabel);\n\t\t\n\t\t// Submit Button\n\t\tsubmitButton = new JButton(\"Submit Word\");\n\t\tsubmitButton.setPreferredSize(new Dimension(160, 65));\n\t\tsubmitButton.setFont(new Font(\"Arial\", Font.BOLD, 18));\n\t\tsubmitButton.setFocusable(false);\n\t\tsubmitButton.addActionListener(new SubmitListener());\n\t\tinfoPanel.add(submitButton);\n\t\t\n\t\t// Score Label\n\t\tscoreInt = 0;\n\t\tscoreLabel = new JLabel(\"\", SwingConstants.LEFT);\n\t\tscoreLabel.setBorder(BorderFactory.createTitledBorder(\"Score\"));\n\t\tscoreLabel.setPreferredSize(new Dimension(110, 65));\n\t\tscoreLabel.setFont(new Font(\"Arial\", Font.PLAIN, 16));\n\t\tinfoPanel.add(scoreLabel);\n\t}",
"public InfoWindowManager getInfoWindowManager() {\n return this.infoWindowManager;\n }",
"@Override\n public View getInfoWindow(Marker arg0) {\n return null;\n }",
"public InfoView getInfoView() {\r\n return infoPanel;\r\n }",
"public BugInfoWindow(Bug aBug) {\n\t\ttheBug = aBug;\n\tthis.display();\n }",
"public InfoFilterFrame() {\n enableEvents(AWTEvent.WINDOW_EVENT_MASK);\n try {\n jbInit();\n init(); // do local intializations\n } catch (Exception e) {\n e.printStackTrace();\n }\n }",
"public void displayInfo(Actor actor, String info){\n infoWindow.getContentTable().clearChildren();\n infoWindow.getContentTable().add(actor).row();\n Label infoLabel = new Label(info, infoWindow.getSkin(), \"dialog\");\n infoLabel.setWrap(true);\n infoLabel.setAlignment(Align.center);\n infoWindow.getContentTable().add(infoLabel).width(500);\n infoWindow.show(guiStage);\n }",
"public AboutDialog( Frame frmParent_, String sInfoHeader_ ) \n {\n this( frmParent_, null, sInfoHeader_ );\n }",
"@Override\n\t\t\t\tpublic View getInfoWindow(Marker arg0) {\n\t\t\t\t\treturn null;\n\t\t\t\t}",
"private void createWindow() {\r\n\t\t// Create the picture frame and initializes it.\r\n\t\tthis.createAndInitPictureFrame();\r\n\r\n\t\t// Set up the menu bar.\r\n\t\tthis.setUpMenuBar();\r\n\r\n\t\t// Create the information panel.\r\n\t\t//this.createInfoPanel();\r\n\r\n\t\t// Create the scrollpane for the picture.\r\n\t\tthis.createAndInitScrollingImage();\r\n\r\n\t\t// Show the picture in the frame at the size it needs to be.\r\n\t\tthis.pictureFrame.pack();\r\n\t\tthis.pictureFrame.setVisible(true);\r\n\t\tpictureFrame.setSize(728,560);\r\n\t}",
"InfoPopupDialog(Shell parent) {\n\t\t\tsuper(parent, PopupDialog.HOVER_SHELLSTYLE, false, false, false,\n\t\t\t\t\tfalse, false, null, null);\n\t\t}",
"@Override\n\t\t\tpublic void onInfoWindowClick(Marker arg0) {\n\t\t\t\tString id = arg0.getTitle();\n\t\t\t\t\n\t\t\t\tif(id.startsWith(\"Dis\") || id.startsWith(\"my\")){\n\t\t\t\t\tif(id.startsWith(\"Dis\")){\n\t\t\t\t\t\t AlertDialog dialog = new AlertDialog.Builder(MainActivity.this).setTitle(\"Warning\")\n\t\t\t\t\t .setMessage(\"Please select a right victim!!!\")\n\t\t\t\t\t .setNegativeButton(\"OK\", new DialogInterface.OnClickListener() {\n\t\t\t\t public void onClick(DialogInterface dialog, int id) {\n\t\t\t\t \t // finish();\n\t\t\t\t }\n\t\t\t\t }).create();\n\t\t\t\t\t dialog.show();\n\t\t\t\t\t\t}\n\t\t\t\t\tif(id.startsWith(\"my\")){\n\t\t\t\t\t\tmyLocation = arg0.getPosition();\n\t\t\t\t AlertDialog dialog = new AlertDialog.Builder(MainActivity.this)\n\t\t\t\t .setMessage(\"Do you what to update your current location?\")\n\t\t\t\t .setPositiveButton(\"Yes\", new DialogInterface.OnClickListener() {\n\t\t\t public void onClick(DialogInterface dialog, int id) {\n\t\t\t \t setFlag = false;\n\t\t\t }\n\t\t\t })\n\t\t\t .setNegativeButton(\"Not now\", new DialogInterface.OnClickListener() {\n\t\t\t public void onClick(DialogInterface dialog, int id) {\n\t\t\t \t \n\t\t\t }\n\t\t\t }).create();\n\t\t\t\t dialog.show();\n\t\t\t\t\t\t}\t\n\t\t\t\t}else{\n\t\t\t\t\tvicLocation = arg0.getPosition();\n\t\t\t\t\tfinal String PoVictim = readOneVictim(id);\n\t\t\t\t\tLog.d(\"victim infomtion:\",PoVictim);\n\t\t\t AlertDialog dialog = new AlertDialog.Builder(MainActivity.this)\n\t\t\t .setMessage(\"What do you want to do with this victim?\")\n\t\t\t .setNegativeButton(\"Edit/Delect Victim\", new DialogInterface.OnClickListener() {\n\t\t public void onClick(DialogInterface dialog, int id) {\n\t\t \t EditVictim(PoVictim);\n\t\t }\n\t\t })\n\t\t .setPositiveButton(\"Find THIS Victim\", new DialogInterface.OnClickListener() {\n\t\t public void onClick(DialogInterface dialog, int id) {\n\t\t \t //String[] PoVIF = PoVictim.split(\",\");\n\t\t \t vicFlag = true;\n\t\t \t //LatLng vic = new LatLng(42.39398619218224,-72.52872716635466);\n\t\t \t if(vicLocation != null && myLocation != null){\n\t\t \t\t if(wayList != null){\n\t\t \t\t\t wayList.clear();\n\t\t \t\t }\n\t\t \t\t \n\t\t \t\t if(indoorFlag){ //when isindoor return true\n\t\t \t\t\t wayList = findOneVictim(myLocation, vicLocation);\n\t\t \t\t\t if(wayList != null){\n\t\t \t\t\t\t getPath();\n\t\t \t\t\t\t}\n\t\t \t\t }else{\n\t\t \t\t\t LatLng door = getNearestDoor(vicLocation);\n\t\t \t\t\t //get the first part outdoor path \n\t\t \t\t\t findDirections(myLocation.latitude,myLocation.longitude,door.latitude,door.longitude,GMapV2Direction.MODE_DRIVING );\n\t\t \t\t\t //wayList.addAll(findOneVictim(door, vicLocation));\n\t\t \t\t } \n\t\t \t }\n\t\t }\n\t\t }).create();\n\t\t\t dialog.show();\n\t\t\t\t}\t\n\t\t\t}",
"public void setInfo (int n)\n\t\t{\n\t\t\tinfo = n ;\n\t\t}",
"public InfoWindow(StartGame start) {\n try {\n initComponents();\n this.start = start;\n setLocationRelativeTo(null);\n InputStream imgStream = getClass().getResourceAsStream(\"exit_32.png\");\n BufferedImage myImg = ImageIO.read(imgStream);\n exitLabel.setIcon (new javax.swing.ImageIcon(myImg));\n setVisible(true);\n } catch (IOException ex) {\n Logger.getLogger(InfoWindow.class.getName()).log(Level.SEVERE, null, ex);\n }\n }",
"public PersonInformationDialog() {\n\t\tthis.setModal(true);\n\t\tthis.setTitle(\"Saisie\");\n\t\tthis.setSize(350, 140);\n\t\tthis.setResizable(false);\n\t\tthis.setLocationRelativeTo(null);\n\t\tthis.setDefaultCloseOperation(JDialog.DO_NOTHING_ON_CLOSE);\n\n\t\tJPanel pan = new JPanel();\n\t\tpan.setBorder(BorderFactory\n\t\t\t\t.createTitledBorder(\"Informations de la personne\"));\n\t\tpan.setLayout(new GridLayout(2, 2));\n\t\tthis.name = new JTextField();\n\t\tJLabel nomLabel = new JLabel(\"Saisir un nom :\");\n\t\tpan.add(nomLabel);\n\t\tpan.add(this.name);\n\t\tthis.firstName = new JTextField();\n\t\tJLabel prenomLabel = new JLabel(\"Saisir un prenom :\");\n\t\tpan.add(prenomLabel);\n\t\tpan.add(this.firstName);\n\n\t\tJPanel control = new JPanel();\n\t\tthis.okButton = new JButton(\"Valider\");\n\t\tthis.okButton.setPreferredSize(new Dimension(90, 30));\n\t\tcontrol.add(this.okButton);\n\t\tthis.okButton.addActionListener(this);\n\n\t\tthis.cancelButton = new JButton(\"Annuler\");\n\t\tthis.cancelButton.setPreferredSize(new Dimension(90, 30));\n\t\tcontrol.add(this.cancelButton);\n\t\tthis.cancelButton.addActionListener(this);\n\n\t\tJSplitPane split = new JSplitPane();\n\t\tsplit.setOrientation(JSplitPane.VERTICAL_SPLIT);\n\t\tsplit.setTopComponent(pan);\n\t\tsplit.setBottomComponent(control);\n\t\tsplit.setDividerSize(0);\n\t\tsplit.setEnabled(false);\n\t\tthis.add(split);\n\t}",
"private void setInfoPanel()\r\n {\r\n //set up info panel\r\n unitPanel.setPlayer(worldPanel.getCurrentPlayer());\r\n\t\t\t\tunitPanel.setYear(year);\r\n int tempUnit = worldPanel.getCurrentUnit();\r\n\r\n if(worldPanel.getCurrentPlayer() == 1)\r\n {\r\n unitPanel.setImageIcon(worldPanel.player1.units[tempUnit - 1].getImage());\r\n unitPanel.setAttack(worldPanel.player1.units[tempUnit - 1].getAttack());\r\n unitPanel.setDefence(worldPanel.player1.units[tempUnit - 1].getDefence());\r\n unitPanel.setMovement(worldPanel.player1.units[tempUnit - 1].getMovementsLeft());\r\n }\r\n else\r\n {\r\n unitPanel.setImageIcon(worldPanel.player2.units[tempUnit - 1].getImage());\r\n unitPanel.setAttack(worldPanel.player2.units[tempUnit - 1].getAttack());\r\n unitPanel.setDefence(worldPanel.player2.units[tempUnit - 1].getDefence());\r\n unitPanel.setMovement(worldPanel.player2.units[tempUnit - 1].getMovementsLeft());\r\n }\r\n }",
"@Override\n public View getInfoWindow(Marker arg0) {\n return null;\n }",
"private void setupWindow() {\n // Some visual tweaks - first, modify window width based on screen dp. Height handled\n // later after the adapter is populated\n WindowManager.LayoutParams params = getWindow().getAttributes();\n DisplayMetrics metrics = getResources().getDisplayMetrics();\n if (isSmallTablet(metrics)) {\n params.width = (metrics.widthPixels * 2 / 3);\n params.height = (metrics.heightPixels * 3 / 5);\n }\n // For phone screens, we won't adjust the window dimensions\n\n // Don't dim the background while the activity is displayed\n params.alpha = 1.0f;\n params.dimAmount = 0.0f;\n\n getWindow().setAttributes(params);\n\n // Set dialog title\n Set<String> preferredLines =\n PreferenceManager.getDefaultSharedPreferences(this).getStringSet(DashTubeExtension.FAVOURITE_LINES_PREF, null);\n setTitle((preferredLines != null && preferredLines.size() > 0)\n ? R.string.expanded_title_filtered\n : R.string.expanded_title);\n\n // Updated time text\n String updatedStr = String.format(getString(R.string.updated_at),\n getIntent().getStringExtra(DashTubeExtension.TUBE_STATUS_TIMESTAMP));\n\n TextView time = (TextView) findViewById(R.id.updated_at);\n time.setText(updatedStr);\n }",
"public CalcWindow (){\n\t\tsuper();\n\t\tsetProperties(\"Calculator\");\n\t}",
"@Override\n public View getInfoContents(Marker arg0) {\n\n // Getting view from the layout file info_window_layout\n View v = getLayoutInflater().inflate(R.layout.window_layout, null);\n\n // Getting reference to the TextView to set latitude\n TextView tvLat = (TextView) v.findViewById(R.id.beacon_title1);\n\n // Getting reference to the TextView to set longitude\n ImageView img = (ImageView) v.findViewById(R.id.goat);\n\n // Setting the latitude\n tvLat.setText(arg0.getTitle());\n // Returning the view containing InfoWindow contents\n return v;\n\n }",
"public static void goToAboutWindow()\n {\n AboutWindow aboutWindow = new AboutWindow();\n aboutWindow.setVisible(true);\n aboutWindow.setFatherWindow(actualWindow, false);\n }",
"public DriverInfoUI(DriverInfo driverInfo) {\n initComponents();\n this.driverInfo = driverInfo;\n }",
"public static InfoScreen createEntity() {\n InfoScreen infoScreen = new InfoScreen()\n .screenUrl(DEFAULT_SCREEN_URL)\n .caption(DEFAULT_CAPTION)\n .createdDate(DEFAULT_CREATED_DATE)\n .modifiedDate(DEFAULT_MODIFIED_DATE)\n .lastModifiedBy(DEFAULT_LAST_MODIFIED_BY);\n return infoScreen;\n }",
"public Info() {\n super();\n }",
"public InfoBar(){\n infoBar.setFont(textFont);\n infoBar.setColor(textColor);\n }",
"public JFrameInfo(String mappa) {\n setCenterScreen(this);\n initComponents();\n String path=null;\n if(mappa.equals(\"classicalMap\")) {\n path = \"/virtualrisikoii/resources/info/classicalInfo.png\";\n }\n else if(mappa.equals(\"europaMap\")) {\n path = \"/virtualrisikoii/resources/info/europaInfo.png\";\n }\n else {\n path = \"/virtualrisikoii/resources/info/italiaInfo.png\";\n }\n\n infoLabel.setIcon(new javax.swing.ImageIcon(getClass().getResource(path)));\n }",
"public NewJFrame1(NewJFrame n) {\n main = n;\n initComponents();\n winOpen();\n setLocationFrame();\n this.setVisible(true);\n }",
"@Override\n\tpublic View getInfoWindow(Marker marker) {\n\t\treturn null;\n\t}",
"@Override\n\tpublic View getInfoWindow(Marker marker) {\n\t\treturn null;\n\t}",
"public void setInfo(String i)\n {\n info = i;\n }",
"public ReadPasswordWindow(String title, String info) {\n initComponents(title, info);\n }",
"public void newWindow() {\n\t\tJMenuTest frame1 = new JMenuTest();\n\t\tframe1.setBounds(100, 100, 400, 400);\n\t\tframe1.setVisible(true);\n\t}",
"private void basicInfoDialogPrompt() {\n if(!prefBool){\n BasicInfoDialog dialog = new BasicInfoDialog();\n dialog.show(getFragmentManager(), \"info_dialog_prompt\");\n }\n }",
"public Builder setInfo(\n String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n info_ = value;\n onChanged();\n return this;\n }",
"public static void showAboutWindow()\n {\n if (aboutWindow == null)\n {\n aboutWindow = new AboutWindow(null);\n\n /*\n * When the global/shared AboutWindow closes, don't keep a reference\n * to it and let it be garbage-collected.\n */\n aboutWindow.addWindowListener(new WindowAdapter()\n {\n @Override\n public void windowClosed(WindowEvent e)\n {\n if (aboutWindow == e.getWindow())\n aboutWindow = null;\n }\n });\n }\n aboutWindow.setVisible(true);\n }",
"public Info(String text, boolean warning)\n {\n super(text, warning, 250, 500);\n \n try {\n File path;\n if(warning){\n path = new File(\"warning.png\");\n }else{\n path = new File(\"info.png\");\n }\n java.awt.Image icon = ImageIO.read(path);\n f.setIconImage(icon);\n } catch (Exception e) {}\n \n ok = new IFButton(100,40,200,125,\"Ok\");\n ok.setFont(new Font(\"Dosis\", Font.BOLD, 18));\n ok.setCornerRadius(1);\n \n ok.addMouseListener(new MouseListener()\n { \n public void mouseClicked(MouseEvent e){}\n \n public void mouseExited(MouseEvent e){\n ok.setColor(new Color(10,30,100));\n }\n \n public void mousePressed(MouseEvent e){\n ok.animCR(3, 0.2);\n }\n \n public void mouseEntered(MouseEvent e){\n ok.setColor(new Color(40,50,140));\n }\n \n public void mouseReleased(MouseEvent e){\n ok.animCR(1, -0.2);\n }\n });\n \n setButtons(new IFButton[]{ok});\n \n if(warning){\n f.setTitle(\"Warnung!\");\n }else{\n f.setTitle(\"Info\"); \n }\n }",
"@Override\n public View getInfoWindow(Marker marker) {\n\n return null;\n }",
"private void jButton3ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton3ActionPerformed\r\n AboutWindow about = new AboutWindow();\r\n about.setVisible(true);\r\n }",
"@Override\n public View getInfoContents(final Marker marker) {\n infoWindow = getLayoutInflater().inflate(R.layout.custom_info_contents,\n (FrameLayout) findViewById(R.id.map), false);\n\n title = ((TextView) infoWindow.findViewById(R.id.title));\n title.setText(marker.getTitle());\n\n snippet = ((TextView) infoWindow.findViewById(R.id.snippet));\n snippet.setText(marker.getSnippet());\n\n clickhere = ((TextView) infoWindow.findViewById(R.id.tvClickHere));\n clickhere.setText(R.string.click_here);\n\n googleMap.setOnInfoWindowClickListener(new GoogleMap.OnInfoWindowClickListener() {\n @Override\n public void onInfoWindowClick(Marker marker) {\n Intent intent = new Intent(MapActivity.this, MoreOptionsActivity.class);\n if (source == null) {\n source = new LatLng(mDefaultLocation.latitude, mDefaultLocation.longitude);\n }\n if (destination == null) {\n destination = source;\n }\n\n intent.putExtra(\"source_Latitude\", source.latitude);\n intent.putExtra(\"source_Longitude\", source.longitude);\n\n intent.putExtra(\"dest_Latitude\", destination.latitude);\n intent.putExtra(\"dest_Longitude\", destination.longitude);\n\n intent.putExtra(\"title\", marker.getTitle());\n\n startActivity(intent);\n\n }\n });\n\n return infoWindow;\n }",
"public void setInfo(Object o) {\n info = o;\n }",
"public Info(String text) {\n //new JTextArea(text);\n super(text, SwingConstants.CENTER);\n setFont(Scheme.getFont());\n setOpaque(true);\n setSize(getFontMetrics(Scheme.getFont()).stringWidth(getText()) + 13, 25);\n setBackground(Scheme.getBackgroundColor());\n setForeground(Scheme.getForegroundColor());\n setBorder(BorderFactory.createLineBorder(Color.GRAY));\n }",
"private TabPane createSettingsWindow() {\r\n\t\tint tabHeight = 380, tabWidth = 318, textfieldWidth = 120;\r\n\t\tColor settingsTitleColor = Color.DODGERBLUE;\r\n\t\tColor settingsTextColor = Color.ORANGE;\r\n\t\tFont settingsTitleFont = new Font(\"Aria\", 20);\r\n\t\tFont settingsFont = new Font(\"Aria\", 18);\r\n\t\tFont infoFont = new Font(\"Aria\", 16);\r\n\t\tInsets settingsInsets = new Insets(0, 0, 5, 0);\r\n\t\tInsets topSettingsInsets = new Insets(5, 0, 5, 0);\r\n\t\tInsets paddingAllAround = new Insets(5, 5, 5, 5);\r\n\t\tInsets separatorInsets = new Insets(5, 0, 5, 0);\r\n\t\tfeedbackSettingsLabel.setFont(settingsFont);\r\n\t\tfeedbackSimulationLabel.setFont(settingsFont);\r\n\t\tString updateHelp = \"Enter new values into the textfields\" + System.lineSeparator() + \"and click [enter] to update current values.\";\r\n\r\n//\t\t*** Settings>informationTab ***\r\n\t\tTab infoTab = new Tab(\"Information\");\r\n\t\tinfoTab.setClosable(false);\r\n\t\t\r\n\t\tVBox infoContent = new VBox();\r\n\t\tinfoContent.setPrefSize(tabWidth, tabHeight);\r\n\t\t\r\n\t\tfinal Label proxim8Version = new Label(\"Proxim8 v3.3\");\r\n\t\tproxim8Version.setTextFill(settingsTitleColor);\r\n\t\tproxim8Version.setFont(new Font(\"Aria\", 24));\r\n\t\tfinal Label driveModeLabel = new Label(\"Drive mode:\");\r\n\t\tdriveModeLabel.setTextFill(settingsTitleColor);\r\n\t\tdriveModeLabel.setFont(settingsTitleFont);\r\n\t\tfinal Text driveModeInfo = new Text(\"- measures the distance to the car infront of you\" + System.lineSeparator()\r\n\t\t\t\t\t\t\t\t\t \t + \"- checks if your brakedistance < current distance\");\r\n\t\tdriveModeInfo.setFill(settingsTextColor);\r\n\t\tdriveModeInfo.setFont(infoFont);\r\n\t\tfinal Label blindspotLabel = new Label(\"Blindspot mode:\");\r\n\t\tblindspotLabel.setTextFill(settingsTitleColor);\r\n\t\tblindspotLabel.setFont(settingsTitleFont);\r\n\t\tfinal Text blindspotModeInfo = new Text(\"- checks if there's a car in your blindzone\");\r\n\t\tblindspotModeInfo.setFill(settingsTextColor);\r\n\t\tblindspotModeInfo.setFont(infoFont);\r\n\t\tfinal Label parkingModeLabel = new Label(\"Parking mode:\");\r\n\t\tparkingModeLabel.setTextFill(settingsTitleColor);\r\n\t\tparkingModeLabel.setFont(settingsTitleFont);\r\n\t\tfinal Text parkingModeInfo = new Text(\"- measures the distances around the car\" + System.lineSeparator()\r\n\t\t\t\t\t\t\t\t\t\t\t+ \"- gives a warning incase the distance < door length\");\r\n\t\tparkingModeInfo.setFill(settingsTextColor);\r\n\t\tparkingModeInfo.setFont(infoFont);\r\n\t\t\r\n\t\tinfoContent.getChildren().addAll(proxim8Version, driveModeLabel, driveModeInfo, blindspotLabel, blindspotModeInfo, parkingModeLabel, parkingModeInfo);\r\n\t\tinfoTab.setContent(infoContent);\r\n\t\t\r\n//\t\t*** Settings>settingsTab ***\r\n\t\tTab settingsTab = new Tab(\"Settings\");\r\n\t\tsettingsTab.setClosable(false);\r\n\t\t\r\n\t\tVBox settingsContent = new VBox();\r\n\t\tsettingsContent.setPrefSize(tabWidth, tabHeight);\r\n\t\t\r\n\t\tHBox getAndSetValues = new HBox();\r\n\t\tgetAndSetValues.setPadding(paddingAllAround);\r\n//\t\tSettings>settingsTab>currentValues\r\n\t\tGridPane currentValues = new GridPane();\r\n\t\tfinal Label currentValuesLabel = new Label(\"Current values:\");\r\n\t\tcurrentValuesLabel.setTextFill(settingsTitleColor);\r\n\t\tcurrentValuesLabel.setFont(settingsTitleFont);\r\n\t\t\r\n\t\tfinal Label door = new Label(DOOR_LENGTH + \": \");\r\n\t\tdoor.setTextFill(settingsTextColor);\r\n\t\tdoor.setFont(settingsFont);\r\n\t\tdoor.setPadding(topSettingsInsets);\r\n\t\tfinal Label doorValue = new Label(String.valueOf(carData.getDoorLength()) + \"m\");\r\n\t\tdoorValue.setTextFill(settingsTextColor);\r\n\t\tdoorValue.setFont(settingsFont);\r\n\t\tfinal Label rearDoor = new Label(REAR_DOOR_LENGTH + \": \");\r\n\t\trearDoor.setTextFill(settingsTextColor);\r\n\t\trearDoor.setFont(settingsFont);\r\n\t\trearDoor.setPadding(settingsInsets);\r\n\t\tfinal Label rearDoorValue = new Label(String.valueOf(carData.getRearDoorLength()) + \"m\");\r\n\t\trearDoorValue.setTextFill(settingsTextColor);\r\n\t\trearDoorValue.setFont(settingsFont);\r\n\t\tfinal Label blindZone = new Label(BLIND_ZONE_VALUE + \": \");\r\n\t\tblindZone.setTextFill(settingsTextColor);\r\n\t\tblindZone.setFont(settingsFont);\r\n\t\tblindZone.setPadding(settingsInsets);\r\n\t\tfinal Label blindZoneValue = new Label(String.valueOf(carData.getBlindZoneValue()) + \"m\");\r\n\t\tblindZoneValue.setTextFill(settingsTextColor);\r\n\t\tblindZoneValue.setFont(settingsFont);\r\n\t\tfinal Label frontParkDist = new Label(FRONT_PARK_DISTANCE + \": \");\r\n\t\tfrontParkDist.setTextFill(settingsTextColor);\r\n\t\tfrontParkDist.setFont(settingsFont);\r\n\t\tfrontParkDist.setPadding(settingsInsets);\r\n\t\tfinal Label frontParkDistValue = new Label(String.valueOf(carData.getFrontDistParking()) + \"m\");\r\n\t\tfrontParkDistValue.setTextFill(settingsTextColor);\r\n\t\tfrontParkDistValue.setFont(settingsFont);\r\n\t\tfrontParkDistValue.setPadding(settingsInsets);\r\n\t\t\r\n\t\tcurrentValues.add(currentValuesLabel, 0, 0);\r\n\t\tcurrentValues.add(door, 0, 1);\r\n\t\tcurrentValues.add(doorValue, 1, 1);\r\n\t\t\r\n\t\tcurrentValues.add(rearDoor, 0, 2);\r\n\t\tcurrentValues.add(rearDoorValue, 1, 2);\r\n\t\t\r\n\t\tcurrentValues.add(blindZone, 0, 3);\r\n\t\tcurrentValues.add(blindZoneValue, 1, 3);\r\n\t\t\r\n\t\tcurrentValues.add(frontParkDist, 0, 4);\r\n\t\tcurrentValues.add(frontParkDistValue, 1, 4);\r\n\t\t\r\n//\t\tSettings>settingTab>updateFields\r\n\t\tVBox updateFields = new VBox();\r\n\t\tupdateFields.setPadding(paddingAllAround);\r\n\t\tfinal Label updateLabel = new Label(\"Set new value:\");\r\n\t\tupdateLabel.setTextFill(settingsTitleColor);\r\n\t\tupdateLabel.setFont(settingsTitleFont);\r\n\t\t\r\n\t\tfinal TextField doorLengthField = new TextField();\r\n\t\tdoorLengthField.setPromptText(\"meter\");\r\n\t\tdoorLengthField.setMaxWidth(textfieldWidth);\r\n\t\tdoorLengthField.setOnAction(new EventHandler<ActionEvent>() {\r\n\t\t\t@Override\r\n\t\t\tpublic void handle(ActionEvent event) {\r\n\t\t\t\tvalidateInput(doorValue, feedbackSettingsLabel, doorLengthField, DOOR_LENGTH, 0, 10);\r\n\t\t\t}\r\n\t\t});\r\n\t\t\r\n\t\tfinal TextField rearDoorLengthField = new TextField();\r\n\t\trearDoorLengthField.setPromptText(\"meter\");\r\n\t\trearDoorLengthField.setMaxWidth(textfieldWidth);\r\n\t\trearDoorLengthField.setOnAction(new EventHandler<ActionEvent>() {\r\n\t\t\t@Override\r\n\t\t\tpublic void handle(ActionEvent event) {\r\n\t\t\t\tvalidateInput(rearDoorValue, feedbackSettingsLabel, rearDoorLengthField, REAR_DOOR_LENGTH, 0, 10);\r\n\t\t\t}\r\n\t\t});\r\n\t\t\r\n\t\tfinal TextField blindZoneValueField = new TextField();\r\n\t\tblindZoneValueField.setMaxWidth(textfieldWidth);\r\n\t\tblindZoneValueField.setPromptText(\"meter\");\r\n\t\tblindZoneValueField.setOnAction(new EventHandler<ActionEvent>() {\r\n\t\t\t@Override\r\n\t\t\tpublic void handle(ActionEvent event) {\r\n\t\t\t\tvalidateInput(blindZoneValue, feedbackSettingsLabel, blindZoneValueField, BLIND_ZONE_VALUE, 0, 10);\r\n\t\t\t}\r\n\t\t});\r\n\t\t\r\n\t\tfinal TextField frontParkDistField = new TextField();\r\n\t\tfrontParkDistField.setMaxWidth(textfieldWidth);\r\n\t\tfrontParkDistField.setPromptText(\"meter\");\r\n\t\tfrontParkDistField.setOnAction(new EventHandler<ActionEvent>() {\r\n\t\t\t@Override\r\n\t\t\tpublic void handle(ActionEvent event) {\r\n\t\t\t\tvalidateInput(frontParkDistValue, feedbackSettingsLabel, frontParkDistField, FRONT_PARK_DISTANCE, 0, 10);\r\n\t\t\t}\r\n\t\t});\r\n\t\t\r\n\t\tupdateFields.getChildren().addAll(updateLabel, doorLengthField, rearDoorLengthField, blindZoneValueField, frontParkDistField);\r\n\t\t\r\n\t\tRegion regionSettings = new Region();\r\n\t\tregionSettings.setPrefWidth(25);\r\n\t\tgetAndSetValues.getChildren().addAll(currentValues, regionSettings, updateFields);\r\n\t\t\r\n\t\tSeparator settingsSeparator = new Separator();\r\n\t\tsettingsSeparator.setPadding(separatorInsets);\r\n\t\t\r\n\t\tfinal Text howToUpdate = new Text(updateHelp);\r\n\t\thowToUpdate.setFill(settingsTextColor);\r\n\t\thowToUpdate.setFont(settingsFont);\r\n\t\t\r\n\t\tSeparator settingsSeparator2 = new Separator();\r\n\t\tsettingsSeparator2.setPadding(separatorInsets);\r\n\t\t\r\n\t\t\r\n\t\tsettingsContent.getChildren().addAll(getAndSetValues, settingsSeparator, howToUpdate, settingsSeparator2, feedbackSettingsLabel);\r\n\t\tsettingsTab.setContent(settingsContent);\r\n\t\t\r\n//\t\t*** Settings>simulate ***\r\n\t\tTab simulateTab = new Tab(\"Simulation\");\r\n\t\tsimulateTab.setClosable(false);\r\n\t\t\r\n\t\tVBox simulateContent = new VBox();\r\n\t\tsimulateContent.setPrefSize(tabWidth, tabHeight);\r\n\t\t\r\n\t\t\r\n\t\tHBox getAndSetSim = new HBox();\r\n\t\tgetAndSetSim.setPadding(paddingAllAround);\r\n//\t\tSettings>simulate>currentValues\r\n\t\tGridPane currentValuesSim = new GridPane();\r\n\t\tfinal Label currentValuesSimLabel = new Label(\"Current values:\");\r\n\t\tcurrentValuesSimLabel.setTextFill(settingsTitleColor);\r\n\t\tcurrentValuesSimLabel.setFont(settingsTitleFont);\r\n\t\t\r\n\t\tfinal Label topSpeed = new Label(TOP_SPEED + \": \");\r\n\t\ttopSpeed.setTextFill(settingsTextColor);\r\n\t\ttopSpeed.setFont(settingsFont);\r\n\t\ttopSpeed.setPadding(topSettingsInsets);\r\n\t\tfinal Label topSpeedValue = new Label(String.valueOf(carData.getTopSpeed()) + \"km/h\");\r\n\t\ttopSpeedValue.setTextFill(settingsTextColor);\r\n\t\ttopSpeedValue.setFont(settingsFont);\r\n\t\t\r\n\t\tcurrentValuesSim.add(currentValuesSimLabel, 0, 0);\r\n\t\tcurrentValuesSim.add(topSpeed, 0, 1);\r\n\t\tcurrentValuesSim.add(topSpeedValue, 1, 1);\r\n\t\t\r\n//\t\tSettings>simulate>updateFields\r\n\t\tVBox updateFieldsSim = new VBox();\r\n\t\tfinal Label updateSimLabel = new Label(\"Set new value:\");\r\n\t\tupdateSimLabel.setTextFill(settingsTitleColor);\r\n\t\tupdateSimLabel.setFont(settingsTitleFont);\r\n\t\t\r\n\t\tfinal TextField topSpeedField = new TextField();\r\n\t\ttopSpeedField.setMaxWidth(textfieldWidth);\r\n\t\ttopSpeedField.setPromptText(\"km/h\");\r\n\t\ttopSpeedField.setOnAction(new EventHandler<ActionEvent>() {\r\n\t\t\t@Override\r\n\t\t\tpublic void handle(ActionEvent event) {\r\n\t\t\t\tvalidateInput(topSpeedValue, feedbackSimulationLabel, topSpeedField, TOP_SPEED, Double.valueOf(carSpeed), 999.0);\t\t\t\t\r\n\t\t\t}\r\n\t\t});\r\n\t\t\r\n\t\tupdateFieldsSim.getChildren().addAll(updateSimLabel, topSpeedField);\r\n\t\t\r\n\t\tRegion simulateRegion = new Region();\r\n\t\tsimulateRegion.setPrefWidth(25);\r\n\t\tgetAndSetSim.getChildren().addAll(currentValuesSim, simulateRegion, updateFieldsSim);\r\n\t\t\r\n\t\tSeparator simulationSeparator = new Separator();\r\n\t\tsimulationSeparator.setPadding(separatorInsets);\r\n\t\t\r\n\t\tfinal Text simulateInfo = new Text(updateHelp);\r\n\t\tsimulateInfo.setFill(settingsTextColor);\r\n\t\tsimulateInfo.setFont(settingsFont);\r\n\t\t\r\n\t\tSeparator simulationSeparator2 = new Separator();\r\n\t\tsimulationSeparator2.setPadding(separatorInsets);\r\n\t\t\r\n\t\t\r\n\t\tsimulateContent.getChildren().addAll(getAndSetSim, simulationSeparator, simulateInfo, simulationSeparator2, feedbackSimulationLabel);\r\n\t\tsimulateTab.setContent(simulateContent);\r\n\t\t\r\n//\t\t*** Settings>checkBoxTab ***\r\n\t\tTab extraFeaturesTab = new Tab(\"Extra features\");\r\n\t\textraFeaturesTab.setClosable(false);\r\n\t\t\r\n\t\tVBox extraFeaturesContent = new VBox();\r\n\t\textraFeaturesContent.setPrefSize(tabWidth, tabHeight);\r\n\t\textraFeaturesContent.setPadding(paddingAllAround);\r\n\t\t\r\n\t\tfinal Label extraFeaturesLabel = new Label(\"Extra features\");\r\n\t\textraFeaturesLabel.setTextFill(settingsTitleColor);\r\n\t\textraFeaturesLabel.setFont(settingsTitleFont);\r\n\t\textraFeaturesLabel.setPadding(topSettingsInsets);\r\n\t\t\r\n\t\tSeparator separatorExtraFeatures = new Separator();\r\n\t\tseparatorExtraFeatures.setPadding(separatorInsets);\r\n\t\t\r\n\t\tInsets checkInsets = new Insets(5, 0, 5, 5);\r\n\t\tfinal CheckBox smartBrake = new CheckBox(\"Smart brake\");\r\n\t\tsmartBrake.setSelected(smartBrakeActivated);\r\n\t\tsmartBrake.setFont(settingsFont);\r\n\t\tsmartBrake.setTextFill(settingsTextColor);\r\n\t\tsmartBrake.setPadding(checkInsets);\r\n\t\tsmartBrake.setOnAction(new EventHandler<ActionEvent>() {\r\n\t\t\t@Override\r\n\t\t\tpublic void handle(ActionEvent event) {\r\n\t\t\t\tsmartBrakeActivated = ! smartBrakeActivated;\r\n\t\t\t\tvalidateAndUpdate(null, true, feedbackSettingsLabel, \"Successfully updated\");\r\n\t\t\t}\r\n\t\t});\r\n\t\tfinal CheckBox blindspotAlways = new CheckBox(\"Blindspot always\");\r\n\t\tblindspotAlways.setSelected(blindspotAlwaysActivated);\r\n\t\tblindspotAlways.setFont(settingsFont);\r\n\t\tblindspotAlways.setTextFill(settingsTextColor);\r\n\t\tblindspotAlways.setPadding(checkInsets);\r\n\t\tblindspotAlways.setOnAction(new EventHandler<ActionEvent>() {\r\n\t\t\t@Override\r\n\t\t\tpublic void handle(ActionEvent event) {\r\n\t\t\t\tblindspotAlwaysActivated = ! blindspotAlwaysActivated;\r\n\t\t\t\tvalidateAndUpdate(null, true, feedbackSettingsLabel, \"Successfully updated\");\r\n\t\t\t}\r\n\t\t});\r\n\t\tfinal CheckBox audioWarning = new CheckBox(\"Audio warning\");\r\n\t\taudioWarning.setSelected(audioWarningActivated);\r\n\t\taudioWarning.setFont(settingsFont);\r\n\t\taudioWarning.setTextFill(settingsTextColor);\r\n\t\taudioWarning.setPadding(checkInsets);\r\n\t\taudioWarning.setOnAction(new EventHandler<ActionEvent>() {\r\n\t\t\t@Override\r\n\t\t\tpublic void handle(ActionEvent event) {\r\n\t\t\t\taudioWarningActivated = ! audioWarningActivated;\r\n\t\t\t\tvalidateAndUpdate(null, true, feedbackSettingsLabel, \"Successfully updated\");\t\t\t\t\r\n\t\t\t}\r\n\t\t});\r\n\t\t\r\n\t\textraFeaturesContent.getChildren().addAll(extraFeaturesLabel, separatorExtraFeatures, smartBrake, blindspotAlways); //, audioWarning);\r\n\t\textraFeaturesTab.setContent(extraFeaturesContent);\r\n\t\t\r\n\t\t\r\n\t\tTabPane settingsWindow = new TabPane();\r\n\t\tsettingsWindow.setVisible(false);\r\n\t\tsettingsWindow.getTabs().addAll(infoTab, settingsTab, simulateTab, extraFeaturesTab);\r\n\t\treturn settingsWindow;\r\n\t}",
"public Window() {\n initComponents();\n SetIcon();\n \n }",
"public FinancialTrackerHelpWindow() {\n this(new Stage());\n }",
"public void updateDetailWindow();",
"public void createWindow(int x, int y, int width, int height, int bgColor, String title, int n) {\r\n\t\tWindow winnie = new Window(x, y, width, height, bgColor, title);\r\n\t\twinnie.type = n;\r\n\t\twindows.add(winnie);\r\n\t}",
"@Override\r\n public View getInfoWindow(Marker marker) {\n return null;\r\n }",
"@Override\n public View getInfoContents(Marker marker) {\n infoWindow = getLayoutInflater().inflate(R.layout.custom_info_contents,\n (FrameLayout) findViewById(R.id.map), false);\n\n title = ((TextView) infoWindow.findViewById(R.id.title));\n title.setText(place.getAddress());\n\n snippet = ((TextView) infoWindow.findViewById(R.id.snippet));\n snippet.setText(place.getLatLng().latitude + \",\" + place.getLatLng().longitude);\n\n clickhere = ((TextView) infoWindow.findViewById(R.id.tvClickHere));\n clickhere.setText(R.string.click_here);\n\n googleMap.setOnInfoWindowClickListener(new GoogleMap.OnInfoWindowClickListener() {\n @Override\n public void onInfoWindowClick(Marker marker) {\n Intent intent = new Intent(MapActivity.this, MoreOptionsActivity.class);\n if (source == null) {\n source = new LatLng(mDefaultLocation.latitude, mDefaultLocation.longitude);\n }\n if (destination == null) {\n destination = source;\n }\n\n intent.putExtra(\"source_Latitude\", source.latitude);\n intent.putExtra(\"source_Longitude\", source.longitude);\n\n intent.putExtra(\"dest_Latitude\", destination.latitude);\n intent.putExtra(\"dest_Longitude\", destination.longitude);\n\n intent.putExtra(\"title\", place.getAddress());\n intent.putExtra(\"place_selection\", place_selection_flag);\n\n startActivity(intent);\n\n }\n });\n\n return infoWindow;\n }",
"public void setInfo(int i)\r\n\t{\r\n\t\tinfo = i;\r\n\t}",
"public ORDER_INFO() {\n this.setUndecorated(true);\n initComponents();\n init();\n }",
"private void mandaInfoIPP(Interfaz_Principal vtn){\n vtn.Actual_Nombre_Usuario=Actual_Nombre_Usuario;\n vtn.Actual_Apellido_Usuario=Actual_Apellido_Usuario;\n vtn.Actual_Telefono=Actual_Telefono;\n vtn.Actual_U=Actual_U;\n vtn.Actual_C=Actual_C;\n vtn.Actual_Correo=Actual_Correo;\n vtn.Actual_Direccion=Actual_Direccion;\n vtn.Actual_Cargo=Actual_Cargo;\n vtn.Actual_Fecha=Actual_Fecha;\n vtn.Actual_Status=Actual_Status;\n this.dispose();\n vtn.setVisible(true);\n }",
"void aboutMenuItem_actionPerformed(ActionEvent e) {\n AboutDialog dlg = new AboutDialog(this, \"About InfoFilter Application\", true);\n Point loc = this.getLocation();\n\n dlg.setLocation(loc.x + 50, loc.y + 50);\n dlg.show();\n }",
"WrapInfo() {\n super(2);\n }",
"public ContractorInfoPanel() {\n\t\tinitComponents();\n\t}",
"private void buildInfoPanel() {\r\n infoPanel = new JPanel( new GridLayout( 1, 1 ) );\r\n infoBox = Box.createHorizontalBox();\r\n\r\n // setBackground() does NOT work with a Box\r\n infoPanel.setBackground( COLOR_INFO_BKGRND );\r\n\r\n soundBtn = new JButton( Msgs.str( \"Snd.go\" ) );\r\n soundBtn.addActionListener( listener );\r\n infoBox.add( Box.createGlue() );\r\n infoBox.add( soundBtn );\r\n\r\n resetBtn = new JButton( Msgs.str( \"Reset\" ) );\r\n resetBtn.addActionListener( listener );\r\n infoBox.add( Box.createGlue() );\r\n infoBox.add( resetBtn );\r\n\r\n infoMesg = new JLabel( Msgs.str( \"Ready\" ), SwingConstants.CENTER );\r\n infoMesg.setFont( fontLARGE );\r\n infoMesg.setForeground( COLOR_INFO_FRGRND );\r\n infoBox.add( Box.createGlue() );\r\n infoBox.add( infoMesg );\r\n infoBox.add( Box.createGlue() );\r\n\r\n infoPanel.add( infoBox );\r\n }",
"NativeWindow createWindow(CreationParams p);",
"private SettingsWindow() {\n loadData();\n createListeners();\n }",
"void displayInfoText(String info) {\n resultWindow.removeAll();\n JLabel label = new JLabel(info);\n label.setFont(resultFont);\n resultWindow.add(label);\n revalidate();\n repaint();\n }",
"private void initInfo(Map<String, String> _info) {\n this.jlCPU.setText(_info.get(\"Model\"));// FIXME may be very long name\n this.jlCores.setText(_info.get(\"TotalCores\"));\n this.jlVendor.setText(_info.get(\"Vendor\"));\n this.jlFrequency.setText(_info.get(\"Mhz\") + \" MHz\");\n this.jlRAM.setText(_info.get(\"Free\").substring(0, 3) + \" / \" + _info.get(\"Ram\") + \" MB\");\n this.jlHostname.setText(_info.get(\"HostName\"));\n this.jlIP.setText(_info.get(\"IP\"));\n this.jlGateway.setText(_info.get(\"DefaultGateway\"));\n this.jlPrimDNS.setText(_info.get(\"PrimaryDns\"));\n }",
"public void setWindow(GWindow w) {\r\n window = w;\r\n }",
"@Override\n public View getInfoWindow(Marker marker) {\n return null;\n }",
"public InfoCommand() {\n\n\t\tsuper(\"info\", Command.ArgumentType.NONE, Command.Category.UTILITY);\n\t}",
"private IInformationControlCreator getQuickAssistAssistantInformationControlCreator() {\n return new IInformationControlCreator() {\n @Override\n public IInformationControl createInformationControl(\n final Shell parent) {\n final String affordance = getAdditionalInfoAffordanceString();\n return new DefaultInformationControl(parent, affordance);\n }\n };\n }",
"public AuthenticationWindow create(String userName, char[] password, String server, boolean isUserNameEditable,\n boolean isRememberPassword, Object icon, String windowTitle, String windowText, String usernameLabel,\n String passwordLabel, String errorMessage, String signupLink)\n {\n long requestId = System.currentTimeMillis();\n AuthWindowImpl authWindow = new AuthWindowImpl(requestId, userName, password, server, isUserNameEditable,\n isRememberPassword, windowTitle, windowText, usernameLabel, passwordLabel);\n\n requestMap.put(requestId, authWindow);\n return authWindow;\n }"
]
| [
"0.7253458",
"0.7127629",
"0.6441679",
"0.63709843",
"0.6359898",
"0.63512224",
"0.61979896",
"0.6112944",
"0.60106075",
"0.59668684",
"0.5922659",
"0.5919793",
"0.5820185",
"0.5806277",
"0.5766239",
"0.5711163",
"0.5659056",
"0.56336194",
"0.5618713",
"0.5614035",
"0.5599171",
"0.5582579",
"0.5574176",
"0.5545011",
"0.5544385",
"0.5505273",
"0.5492582",
"0.5488229",
"0.54687536",
"0.54646474",
"0.54395044",
"0.5434036",
"0.54174495",
"0.5410081",
"0.5407563",
"0.5403406",
"0.5390636",
"0.5372964",
"0.5372577",
"0.5368615",
"0.5347039",
"0.53402144",
"0.53346825",
"0.533456",
"0.5331684",
"0.5323006",
"0.5306647",
"0.5301515",
"0.5301346",
"0.529697",
"0.5294083",
"0.52863693",
"0.5269061",
"0.52668065",
"0.52628714",
"0.5261031",
"0.52554876",
"0.5248914",
"0.5238231",
"0.52355504",
"0.52325654",
"0.5230959",
"0.52277374",
"0.5217802",
"0.5217802",
"0.5210262",
"0.5199685",
"0.5199465",
"0.51928246",
"0.51910686",
"0.5176728",
"0.51762426",
"0.5175901",
"0.51578665",
"0.5150466",
"0.5147811",
"0.51441115",
"0.51420105",
"0.51390857",
"0.5132414",
"0.5125011",
"0.5123239",
"0.51197755",
"0.5117384",
"0.5112259",
"0.5105408",
"0.51045704",
"0.51027346",
"0.5098563",
"0.50971687",
"0.50884765",
"0.50843954",
"0.5076896",
"0.5075419",
"0.5074706",
"0.5072739",
"0.5061786",
"0.50590783",
"0.5044543",
"0.5037138"
]
| 0.73798484 | 0 |
String url =" Uri uri = Uri.parse(" Intent browserIntent = new Intent(Intent.ACTION_VIEW); browserIntent.setDataAndType(uri, "text/html"); browserIntent.addCategory(Intent.CATEGORY_BROWSABLE); context.startActivity(browserIntent); Intent intent = new Intent(Intent.ACTION_VIEW, String); intent.addCategory(Intent.CATEGORY_BROWSABLE); startActivity(intent); | @Override
public void onClick(View view) {
Intent httpIntent = new Intent(Intent.ACTION_VIEW);
httpIntent.setData(Uri.parse("http://bvmengineering.ac.in"));
startActivity(httpIntent);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void toUrl(String url){\n Uri uriUrl = Uri.parse(url);\n Intent launchBrowser = new Intent(Intent.ACTION_VIEW, uriUrl);\n startActivity(launchBrowser);\n }",
"public void openBrowser(View view){\n String url = (String)view.getTag();\n\n Intent intent = new Intent();\n intent.setAction(Intent.ACTION_VIEW);\n intent.addCategory(Intent.CATEGORY_BROWSABLE);\n\n //pass the url to intent data\n intent.setData(Uri.parse(url));\n\n startActivity(intent);\n }",
"public void createBrowserIntent(View view){\n Uri uri = Uri.parse(\"https://www.linkedin.com/in/chidi-uwaleke-3769b9a8/\");\n\n //Step 2: Create a browserIntent with action 'Intent.ACTION_VIEW'\n Intent browserIntent = new Intent(Intent.ACTION_VIEW);\n\n //Step 3: Set the data of the intent\n browserIntent.setData(uri);\n\n //Step 4: Start the intent\n startActivity(browserIntent);\n }",
"@OnClick({R.id.web_img, R.id.web})\n void OnClickWeb() {\n Uri webpage=Uri.parse(\"http://\" + getString(R.string.web));\n Intent intentW=new Intent(Intent.ACTION_VIEW, webpage);\n if (intentW.resolveActivity(getPackageManager()) != null) {\n startActivity(intentW);\n }\n }",
"@Override\n public void onClick(View v) {\n String Url= currentNews.getWebUrl();\n //sent intent to the website\n Intent intent = new Intent();\n intent.setAction(Intent.ACTION_VIEW);\n intent.addCategory(Intent.CATEGORY_BROWSABLE);\n intent.setData(Uri.parse(Url));\n getContext().startActivity(intent);\n }",
"public void funcionAppian(View v){\n Intent intent = new Intent(Intent.ACTION_VIEW);\n intent.setData(Uri.parse(\"https://ustglobalspaindemo.appiancloud.com/suite/tempo/news\"));\n if(intent.resolveActivity(getPackageManager())!= null){\n startActivity(intent);\n }\n }",
"@Override\n public void onClick(View view){\n Intent intentWeb = new Intent(Intent.ACTION_VIEW);\n intentWeb.setData(Uri.parse(buttonUrl.getText().toString()));\n startActivity(intentWeb); //lancement\n\n }",
"protected void WebClicked(View view){\n String url = this.itm.getItem(position).getUrl();\n if (!url.startsWith(\"http://\") && !url.startsWith(\"https://\"))\n url = \"http://\" + url;\n Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(url));\n try {\n startActivity(browserIntent);\n } catch (ActivityNotFoundException e){\n Toast.makeText(getBaseContext(), \"Webpage \" + url + \"does not exist\", Toast.LENGTH_SHORT).show();\n }\n }",
"@Override\n public void onClick(View v) {\n Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(\"http://www.gteducation.in\"));\n startActivity(intent);\n Toast.makeText(NoticeActivity.this,\"go to my website\",Toast.LENGTH_SHORT).show();\n\n }",
"public void openWebPage(String url) {\n Intent intent= new Intent(Intent.ACTION_VIEW, Uri.parse(url));\n startActivity(intent);\n }",
"public void openBrowser(Context context, String url) {\n Intent i = new Intent(Intent.ACTION_VIEW);\n i.setData(Uri.parse(url));\n context.startActivity(i);\n }",
"@Override\n public void onClick(View view) {\n Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(\"http://sozialmusfest.scalingo.io/\"));\n startActivity(browserIntent);\n }",
"private void openBrowser(String Url) {\n \tif (Url != null && Url.trim().length()>0) {\n \t\tUri uri = Uri.parse(Url);\n \tIntent i = new Intent(Intent.ACTION_VIEW, uri);\n \tstartActivity(i);\n \t} \t\n }",
"private void openBrowser() {\r\n //http://必须有\r\n String url = urlText.getText().toString();\r\n if (!\"http\".equals(url.substring(0, 4))) {\r\n url = \"http://\" + url;\r\n }\r\n Uri uri = Uri.parse(url);//获取网址,并转换成URI\r\n Intent intent = new Intent(Intent.ACTION_VIEW, uri);//打开浏览器\r\n startActivity(intent);\r\n }",
"private void openWebPage(String url) {\n Uri webpage = Uri.parse(\"http://\" + url);\n Intent intent = new Intent(Intent.ACTION_VIEW, webpage);\n if (intent.resolveActivity(getPackageManager()) != null) {\n startActivity(intent);\n }\n }",
"public static void openBrowser(Context context, String url) {\n if (!url.startsWith(\"http://\") && !url.startsWith(\"https://\"))\n url = \"http://\" + url;\n Intent intent = new Intent(Intent.ACTION_VIEW);\n intent.setData(Uri.parse(url));\n context.startActivity(intent);\n }",
"private void execURL(String link) {\n Uri webLink = Uri.parse(link);\n Intent openLink = new Intent(Intent.ACTION_VIEW, webLink);\n PackageManager pm = getPackageManager();\n List<ResolveInfo> handlers = pm.queryIntentActivities(openLink, 0);\n if (handlers.size() > 0)\n startActivity(openLink);\n }",
"@Override\n public void onClick(View v) {\n\n String url = \"https://club-omnisports-des-ulis.assoconnect.com/billetterie/offre/146926-a-adhesion-karate-2020-2021\";\n Intent i = new Intent(Intent.ACTION_VIEW);\n i.setData(Uri.parse(url));\n startActivity(i);\n\n }",
"public void sharePage(){\n Intent shareIntent = new Intent(Intent.ACTION_VIEW);\n shareIntent.setData(Uri.parse(\"http://192.168.43.105:5000\"));//edit url\n startActivity(shareIntent);\n }",
"public void openMuseumWebsite(String url){\n Intent intent = new Intent(Intent.ACTION_VIEW);\n intent.setData(Uri.parse(url));\n startActivity(intent);\n }",
"@Override\r\n \t\t\tpublic void onClick(View v) {\n \t\t\t\tIntent browseIntent = new Intent( Intent.ACTION_VIEW , Uri.parse(urlStr) );\r\n startActivity(Intent.createChooser(browseIntent, \"Connecting...\"));\r\n \t\t\t}",
"private void openWebPage(String url) {\n Uri webpage = Uri.parse(url);\n Intent intent = new Intent(Intent.ACTION_VIEW, webpage);\n if (intent.resolveActivity(getActivity().getPackageManager()) != null) {\n startActivity(intent);\n }\n }",
"@Override\n public void onClick(View view) {\n Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(\"http://sozialmusfest.scalingo.io/services\"));\n startActivity(browserIntent);\n }",
"@Override\n public void onClick(View view) {\n //Convert the String URL into a URI object (to pass into the Intent constructor)\n Uri newsUri = Uri.parse(url);\n\n // Create a new intent to view the earthquake URI\n Intent websiteIntent = new Intent(Intent.ACTION_VIEW, newsUri);\n\n // Send the intent to launch a new activity\n startActivity(websiteIntent);\n }",
"@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tIntent web = new Intent(Intent.ACTION_VIEW);\n\t\t\t\tweb.setData(Uri.parse(url));\n\t\t\t\tstartActivity(web);\n\t\t\t}",
"@Override\n public void onClick(View arg0) {\n Intent i = new Intent(getApplicationContext(), web.class);\n startActivity(i);\n }",
"@Override\n public void onClick(View view) {\n Intent browser = new Intent(Intent.ACTION_VIEW, Uri.parse(\"https://petobesityprevention.org/\"));\n startActivity(browser);\n }",
"public static void openWebPage(Context context, String url) {\n Intent intent = new Intent(Intent.ACTION_VIEW);\n intent.setData(Uri.parse(url));\n context.startActivity(intent);\n }",
"@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tIntent\tin=new Intent(Intent.ACTION_VIEW,Uri.parse(uri2));\n\t\t\t\tstartActivity(in);\n\t\t\t\t\n\t\t\t}",
"@Override\n public void onClick(View view) {\n String url = \"https://ownshopz.com/mobile-360-degree/\";\n Intent i = new Intent(Intent.ACTION_VIEW);\n i.setData(Uri.parse(url));\n startActivity(i);\n }",
"@Override\n public void onClick(View view) {\n Intent Getintent = new Intent(Intent.ACTION_VIEW, Uri.parse(\"http://feedback.avriant.com\"));\n startActivity(Getintent);\n }",
"@Override\n public void onClick(View v) {\n Intent opnWebIntent = new Intent(getActivity(), WebViewActivity.class);\n opnWebIntent.putExtra(\"url\", \"http://www.mbtabackontrack.com/performance/index.html#/home\");\n startActivity(opnWebIntent);\n }",
"private void openUrlInBrowser(String url) {\n if (!url.startsWith(\"http://\") && !url.startsWith(\"https://\")) {\n url = \"http://\" + url;\n }\n // Open the browser and point it to the given url\n Intent intent = new Intent(Intent.ACTION_VIEW);\n intent.setData(Uri.parse(url));\n startActivity(intent);\n }",
"@Override\n\t\t\t\tpublic void onClick(View v) {\n\t\t\t\t\t\n\t\t\t\t\tIntent webIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(\"http://www.google.com\"));\n\t\t\t\t\tcontext.startActivity(webIntent);\n\t\t\t\t\t\n\t\t\t\t}",
"@Override\n public void onClick(View v) {\n Intent rpIntent = new Intent(Intent.ACTION_VIEW);\n // Set the URL to be used.\n rpIntent.setData(Uri.parse(\"http://www.rp.edu.sg\"));\n startActivity(rpIntent);\n }",
"@Override\n public void grindClicked() {\n Uri webpage = Uri.parse(\"http://www.grind-design.com\");\n Intent webIntent = new Intent(Intent.ACTION_VIEW, webpage);\n startActivity(webIntent);\n }",
"@Override\n public void onClick(DialogInterface dialog, int which) {\n\n Intent marketIntent = new Intent(Intent.ACTION_VIEW);\n marketIntent.setData(Uri.parse(\"market://details?id=com.adobe.reader\"));\n// marketIntent.setData(Uri.parse(\"market://details?id=com.infraware.office.link\"));\n startActivity(marketIntent);\n\n }",
"@Override\n\t\t\tpublic void onClick(View v) {\n \tUri uri = Uri.parse(\"http://l-sls0483d.research.ltu.se/userdata/notes/\"+param1+\"/cchat.html\");\n \t\t\n \t\tIntent intent = new Intent(Intent.ACTION_VIEW, uri);\n \t\tstartActivity(intent);\n }",
"@Override\n\t\t\tpublic void onClick(View v) {\n \tUri uri = Uri.parse(\"http://l-sls0483d.research.ltu.se/userdata/notes/\"+param1+\"/notes.html\");\n \t\n \t\tIntent intent = new Intent(Intent.ACTION_VIEW, uri);\n \t\tstartActivity(intent);\n }",
"public void onClick(View view) {\n Intent intent = new Intent();\n intent.setAction(\"android.intent.action.VIEW\");\n intent.setType(\"text/plain\");\n intent.addCategory(\"android.intent.category.DEFAULT\");\n startActivity(intent);\n\n }",
"@Override\n public void onClick(View v) {\n Uri uri = Uri.parse(\"https://www.google.com/?gws_rd=ssl#q=\" + mAnswer.getWord());\n Intent intent = new Intent(Intent.ACTION_VIEW, uri);\n startActivity(intent);\n }",
"@Override\n public void onClick(View v) {\n Uri uri = Uri.parse(url);\n //Se crea un intent implicito para visualizar los links en un navegador\n Intent intent = new Intent(Intent.ACTION_VIEW, uri);\n //Se inicia la actividad del navegador\n activityt.startActivity(intent);\n }",
"@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\tIntent\tin=new Intent(Intent.ACTION_VIEW,Uri.parse(uri));\n\t\t\t\tstartActivity(in);\n\t\t\t}",
"private void toWebViewActivity(){\n Intent toWebViewActivity = new Intent(this, AmazonActivity.class);\n startActivity(toWebViewActivity);\n }",
"@Override\n\t\t\tpublic void onClick(View v) {\n \tUri uri = Uri.parse(\"http://l-sls0483d.research.ltu.se/userdata/notes/\"+param1+\"/notes.html\");\n \t\t\n \t\n \t\tIntent intent = new Intent(Intent.ACTION_VIEW, uri);\n \t\tstartActivity(intent);\n \n }",
"@Override\n public void onClick(View v) {\n startBrowserActivity(MODE_SONIC, StorageNews.get(1).webUrl);\n\n //startActivity(intent);\n //Log.d(\"NNNNN\",StorageNews.toString());\n }",
"@Override\n public void onClick(View v) {\n startBrowserActivity(MODE_SONIC, StorageNews.get(4).webUrl);\n\n //startActivity(intent);\n //Log.d(\"NNNNN\",StorageNews.toString());\n }",
"@Override\n public void onClick(View v) {\n startBrowserActivity(MODE_SONIC, StorageNews.get(3).webUrl);\n\n //startActivity(intent);\n //Log.d(\"NNNNN\",StorageNews.toString());\n }",
"@Override\n\t\tpublic void onClick(View v) {\n\t\t\tstartActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(\"http://www.facebook.com/mrinalkanti.ray\")));\n\t\t}",
"@Override\n public void onClick(View v) {\n startBrowserActivity(MODE_SONIC, StorageNews.get(2).webUrl);\n\n //startActivity(intent);\n //Log.d(\"NNNNN\",StorageNews.toString());\n }",
"@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tIntent intent = new Intent();\n\t\t\t\tintent.setClass(mContext, WebActivity.class);\n\t\t\t\tintent.putExtra(\"url\", \"http://iyuba.com/apps.php?mod=app&id=213\");\n\t\t\t\tstartActivity(intent);\n\t\t\t}",
"@Override\n public void onClick(View arg0) {\n Intent i = new Intent(getApplicationContext(), web1.class);\n startActivity(i);\n }",
"@Override\n public void onOpenWebsite(@Nullable String url) {\n if (url == null) return;\n Log.d(TAG, \"onOpenWebsite: Url:\" + url);\n\n Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse(url));\n if (intent.resolveActivity(getPackageManager()) != null) {\n startActivity(intent);\n }\n }",
"@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tIntent intent = new Intent();\n\t\t\t\tintent.setClass(mContext, WebActivity.class);\n\t\t\t\tintent.putExtra(\"url\", \"http://iyuba.com/apps.php?mod=app&id=209\");\n\t\t\t\tstartActivity(intent);\n\t\t\t}",
"@Override\n public void onClick(View view) {\n Uri newsUri = Uri.parse(currentNews.getUrl());\n\n // Create a new intent to view the news URI\n Intent websiteIntent = new Intent(Intent.ACTION_VIEW, newsUri);\n\n // Send the intent to launch a new activity\n mContext.startActivity(websiteIntent);\n }",
"@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tIntent intent = new Intent();\n\t\t\t\tintent.setClass(mContext, WebActivity.class);\n\t\t\t\tintent.putExtra(\"url\", \"http://iyuba.com/apps.php?mod=app&id=217\");\n\t\t\t\tstartActivity(intent);\n\t\t\t}",
"@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tIntent intent = new Intent();\n\t\t\t\tintent.setClass(mContext, WebActivity.class);\n\t\t\t\tintent.putExtra(\"url\", \"http://iyuba.com/apps.php?mod=app&id=201\");\n\t\t\t\tstartActivity(intent);\n\t\t\t}",
"@Override\n public void onClick(View v) {\n Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(getString(R.string.forecast_io_url)));\n startActivity(browserIntent);\n }",
"public static Intent openLink(String url) {\n // if protocol isn't defined use http by default\n if (!TextUtils.isEmpty(url) && !url.contains(\"://\")) {\n url = \"http://\" + url;\n }\n\n Intent intent = new Intent();\n intent.setAction(Intent.ACTION_VIEW);\n intent.setData(Uri.parse(url));\n return intent;\n }",
"@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tIntent intent = new Intent();\n\t\t\t\tintent.setClass(mContext, WebActivity.class);\n\t\t\t\tintent.putExtra(\"url\", \"http://iyuba.com/apps.php?mod=app&id=207\");\n\t\t\t\tstartActivity(intent);\n\t\t\t}",
"public void openSite(View view) {\n Intent toView = new Intent(Intent.ACTION_VIEW, Uri.parse(\"https://www.google.com\"));\n startActivity(toView);\n }",
"public void htmlActivity(View v){\n Intent intent = new Intent(this, HtmlActivity.class);\n startActivity(intent);\n }",
"public void onClick(View v) {\n\n Intent visitSite_intent = new Intent(MainActivity.this, DetailActivity.class);\n visitSite_intent.putExtra(\"url\",\"http://aanm-vvrsrpolytechnic.ac.in/\");\n startActivity(visitSite_intent);\n }",
"private Intent Shareintent(){\n Intent Shareintent = new Intent(Intent.ACTION_SEND);\n Shareintent.setType(\"text/html\");\n Shareintent.putExtra(Intent.EXTRA_SUBJECT, \"SUBJECT\");\n Shareintent.putExtra(Intent.EXTRA_TEXT, \"http://www.habeshastudent.com/m/video.html\");\n return Shareintent;\n\n\n }",
"@Override\n public void onClick(View v) {\n Intent i = new Intent(ConfiguracionActivity.this, WebViewActivity.class);\n startActivity(i);\n\n // Opcion para navegador externo\n /*\n String url = getResources().getString(R.string.privacy_policy_url);\n Intent intentWeb = new Intent();\n intentWeb.setAction(Intent.ACTION_VIEW);\n intentWeb.setData(Uri.parse(url));\n startActivity(intentWeb);\n */\n }",
"@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tString url = \"http://www.hoteltrip.com/\";\n\t\t\t\tIntent i = new Intent(Intent.ACTION_VIEW);\n\t\t\t\ti.setData(Uri.parse(url));\n\t\t\t\tstartActivity(i);\n\t\t\t}",
"@Override\n\t\t\t\t\t\t\tpublic void onClick(View v) {\n\t\t\t\t\t\t\t\tIntent i = new Intent(Intent.ACTION_VIEW, Uri\n\t\t\t\t\t\t\t\t\t\t.parse(fullsitelink));\n\t\t\t\t\t\t\t\tstartActivity(i);\n\n\t\t\t\t\t\t\t}",
"@Override\n public void onClick(View view) {\n Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(article.getLink())); // intent to show item using url\n Context context = view.getContext();\n context.startActivity(browserIntent);\n }",
"public static void openURL(Context activity, String url) {\n Intent i = new Intent(Intent.ACTION_VIEW);\n i.setData(Uri.parse(url));\n activity.startActivity(i);\n }",
"private void goToUrl (String url) {\n Intent launchWebview = new Intent(this, ManualWebviewActivity.class);\n launchWebview.putExtra(\"url\", url);\n startActivity(launchWebview);\n }",
"private void startWebView(String url) {\n\n webView.setWebViewClient(new WebViewClient() {\n ProgressDialog progressDialog;\n\n //If you will not use this method url links are opeen in new brower not in webview\n public boolean shouldOverrideUrlLoading(WebView view, String url) {\n //view.loadUrl(url);\n return false;\n }\n\n //Show loader on url load\n public void onLoadResource (WebView view, String url) {\n if (progressDialog == null) {\n // in standard case YourActivity.this\n progressDialog = new ProgressDialog(WebViewActivity.this);\n progressDialog.setMessage(\"Loading...\");\n progressDialog.show();\n }\n }\n public void onPageFinished(WebView view, String url) {\n try{\n Log.e(\"URL value\", url + \"\");\n progressDialog.dismiss();\n if (progressDialog.isShowing()) {\n progressDialog.dismiss();\n progressDialog = null;\n }\n if(url.contains(\"foxhoprapplication://twitter\")){\n //Intent intent=new Intent(MainActivity.this,VideoActivity.class);\n //startActivity(intent);\n //finish();\n /* Intent intent=new Intent(Intent.ACTION_VIEW, Uri.parse(\"foxhoprapplication://twitter\"));\n startActivity(intent);\n finish();*/\n Intent intent=new Intent(WebViewActivity.this,SocialDetailsActivity.class);\n intent.putExtra(ApplicationConstants.FORCONFIGURATION,ApplicationConstants.TWITTER_VALUE);\n intent.putExtra(ApplicationConstants.FORCONFIGURATION_ALERT,ApplicationConstants.TWITTER_TEXT);\n startActivity(intent);\n finish();\n }if(url.contains(\"foxhoprapplication://alreadytwitter\") ){\n //Intent intent=new Intent(MainActivity.this,VideoActivity.class);\n //startActivity(intent);\n //finish();\n /* Intent intent=new Intent(Intent.ACTION_VIEW, Uri.parse(\"foxhoprapplication://twitter\"));\n startActivity(intent);\n finish();*/\n Intent intent=new Intent(WebViewActivity.this,SocialDetailsActivity.class);\n intent.putExtra(ApplicationConstants.FORCONFIGURATION,ApplicationConstants.TWITTER_VALUE);\n intent.putExtra(ApplicationConstants.FORCONFIGURATION_ALERT,ApplicationConstants.FORCONFIGURATION_ALERT);\n startActivity(intent);\n finish();\n }if(url.contains(\"foxhoprapplication://facebook\") ){\n //Intent intent=new Intent(MainActivity.this,VideoActivity.class);\n //startActivity(intent);\n //finish();\n /*Intent intent=new Intent(Intent.ACTION_VIEW, Uri.parse(\"foxhoprapplication://facebook\"));\n startActivity(intent);\n finish();*/\n Intent intent=new Intent(WebViewActivity.this,SocialDetailsActivity.class);\n intent.putExtra(ApplicationConstants.FORCONFIGURATION,ApplicationConstants.FACEBOOK_VALUE);\n intent.putExtra(ApplicationConstants.FORCONFIGURATION_ALERT,ApplicationConstants.FACEBOOK_TEXT);\n startActivity(intent);\n finish();\n }if(url.contains(\"foxhoprapplication://alreadyfacebook\")){\n //Intent intent=new Intent(MainActivity.this,VideoActivity.class);\n //startActivity(intent);\n //finish();\n /*Intent intent=new Intent(Intent.ACTION_VIEW, Uri.parse(\"foxhoprapplication://facebook\"));\n startActivity(intent);\n finish();*/\n Intent intent=new Intent(WebViewActivity.this,SocialDetailsActivity.class);\n intent.putExtra(ApplicationConstants.FORCONFIGURATION,ApplicationConstants.FACEBOOK_VALUE);\n intent.putExtra(ApplicationConstants.FORCONFIGURATION_ALERT,ApplicationConstants.FORCONFIGURATION_ALERT);\n startActivity(intent);\n finish();\n }if(url.contains(\"foxhoprapplication://linkedin\") ){\n //Intent intent=new Intent(MainActivity.this,VideoActivity.class);\n //startActivity(intent);\n //finish();\n /*Intent intent=new Intent(Intent.ACTION_VIEW, Uri.parse(\"foxhoprapplication://linkedin\"));\n startActivity(intent);\n finish();*/\n Intent intent=new Intent(WebViewActivity.this,SocialDetailsActivity.class);\n intent.putExtra(ApplicationConstants.FORCONFIGURATION,ApplicationConstants.LINKED_IN_VALUE);\n intent.putExtra(ApplicationConstants.FORCONFIGURATION_ALERT,ApplicationConstants.LINKEDIN_TEXT);\n startActivity(intent);\n finish();\n }if(url.contains(\"foxhoprapplication://alreadylinkedin\")){\n //Intent intent=new Intent(MainActivity.this,VideoActivity.class);\n //startActivity(intent);\n //finish();\n /*Intent intent=new Intent(Intent.ACTION_VIEW, Uri.parse(\"foxhoprapplication://linkedin\"));\n startActivity(intent);\n finish();*/\n Intent intent=new Intent(WebViewActivity.this,SocialDetailsActivity.class);\n intent.putExtra(ApplicationConstants.FORCONFIGURATION,ApplicationConstants.LINKED_IN_VALUE);\n intent.putExtra(ApplicationConstants.FORCONFIGURATION_ALERT,ApplicationConstants.FORCONFIGURATION_ALERT);\n startActivity(intent);\n finish();\n }if(url.contains(\"foxhoprapplication://cancel\")){\n //Intent intent=new Intent(MainActivity.this,VideoActivity.class);\n //startActivity(intent);\n //finish();\n /*Intent intent=new Intent(Intent.ACTION_VIEW, Uri.parse(\"foxhoprapplication://linkedin\"));\n startActivity(intent);\n finish();*/\n /* Intent intent=new Intent(WebViewActivity.this,SocialDetailsActivity.class);\n intent.putExtra(ApplicationConstants.FORCONFIGURATION,ApplicationConstants.LINKED_IN_VALUE);\n startActivity(intent);*/\n Intent intent = getIntent();\n intent.putExtra(ApplicationConstants.CANCEL_SOCIAL_MEDIA, mStringSocial);\n setResult(RESULT_OK, intent);\n finish();\n }\n }catch(Exception exception){\n exception.printStackTrace();\n }\n }\n\n\n });\n\n // Javascript inabled on webview\n webView.getSettings().setJavaScriptEnabled(true);\n\n // Other webview options\n /*\n webView.getSettings().setLoadWithOverviewMode(true);\n webView.getSettings().setUseWideViewPort(true);\n webView.setScrollBarStyle(WebView.SCROLLBARS_OUTSIDE_OVERLAY);\n webView.setScrollbarFadingEnabled(false);\n webView.getSettings().setBuiltInZoomControls(true);\n */\n\n /*\n String summary = \"<html><body>You scored <b>192</b> points.</body></html>\";\n webview.loadData(summary, \"text/html\", null);\n */\n\n //Load url in webview\n webView.loadUrl(url);\n\n\n }",
"public static void openWebsite(Context context, String url) {\n Uri articleUri = Uri.parse(url);\n Intent websiteIntent = new Intent(Intent.ACTION_VIEW, articleUri);\n context.startActivity(websiteIntent);\n }",
"public void openURL(Activity ctx, String url)\n {\n if (isConnected(ctx)) {\n try {\n Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(url));\n ctx.startActivity(browserIntent);\n } catch (Exception e) {\n\n }\n } else {\n Dialogs.getInstance().simpleNoInternet(ctx);\n }\n }",
"@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tUri webpage = Uri.parse(currentItem.getStoryUrl());\n\n\t\t\t\t// Create web browser intent\n\t\t\t\tIntent storyOnWebIntent = new Intent(Intent.ACTION_VIEW, webpage);\n\n\t\t\t\t// Check web activity can be handled by the device and start activity\n\t\t\t\tif (storyOnWebIntent.resolveActivity(mContext.getPackageManager()) != null) {\n\t\t\t\t\tmContext.startActivity(storyOnWebIntent);\n\t\t\t\t}\n\n\t\t\t}",
"@Override\n\tprotected void onActivityResult(int requestCode, int resultCode, Intent data) {\n\t\tswitch (requestCode) {\n\t\tcase 1:\n\t\t\tif(data != null){\n\t\t\t\tString result = data.getStringExtra(\"result\");\n\t\t\t\tif(result != null)\n\t\t\t\t\t//tv.setText(result);\n\t\t\t\t\tSystem.out.println(result);\n\t\t\t\tUri uri = Uri.parse(result); \n\t\t\t\tIntent it = new Intent(Intent.ACTION_VIEW, uri); \n\t\t\t\tstartActivity(it);\n\t\t\t}\n\t\t\tbreak;\n\n\t\tdefault:\n\t\t\tbreak;\n\t\t}\n\t\t\n\t\tsuper.onActivityResult(requestCode, resultCode, data);\n\t}",
"@Override\n\t\t\tpublic void onClick(View v) {\n\t\t\t\tstartActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(\"http://www.twitter.com/mrinalk73720345\")));\n\t\t\t}",
"public void accederClick(View view){\n //Declarar activity web\n Intent i = new Intent(this, ActivityWeb.class);\n\n //Enviar url a la activity web\n i.putExtra(\"url\", etUrlM.getText().toString());\n\n //Cargar Activity\n startActivity(i);\n }",
"@Override\n public void onClick(View view) {\n Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(\"http://sozialmusfest.scalingo.io/privacy\"));\n startActivity(browserIntent);\n }",
"void openUrl (String url);",
"public void onClick(View v){\n EditText et = findViewById(R.id.et_1);\n String n;\n n = et.getText().toString();\n Bundle bundle = new Bundle();\n bundle.putString(\"url\",n);\n Intent intent = new Intent(getBaseContext(),t1.class);\n intent.putExtras(bundle);\n startActivity(intent);\n }",
"public static void openImageInBrowser(Context context, String url){\n Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(url));\n context.startActivity(browserIntent);\n }",
"@Override\n public void onClick(View v) {\n Intent detail=new Intent(getBaseContext(),DetailArticle.class);\n detail.putExtra(\"webURL\",webHotURL);\n startActivity(detail);\n }",
"@Override\n\t\t\t\t\tpublic void onClick(View v) {\n\t\t\t\t\t\tString url = \"https://twitter.com/intent/tweet?text=My smartphone just thought of a word and I guessed it in \"+attempts+\" attempts. Check out Guessin by @nfnlabs:&url=\"+Uri.parse(\"http://goo.gl/CGmGEx\");\n\t\t\t\t\t\tIntent intent=new Intent(Intent.ACTION_VIEW);\n\t\t\t\t\t\tUri uri=Uri.parse(url);\n\t\t\t\t\t\tintent.setData(uri);\n\t\t\t\t\t\tstartActivity(intent);\n\t\t\t\t\t}",
"private void viewPageClicked() {\n //--\n //-- WRITE YOUR CODE HERE!\n //--\n try{\n Desktop d = Desktop.getDesktop();\n d.browse(new URI(itemView.getItem().getURL()));\n }catch(Exception e){\n e.printStackTrace();\n }\n\n showMessage(\"View clicked!\");\n }",
"private void openURL() {\n webview.loadUrl(\"http://192.168.0.116/webvitool/view/webvitool.php\");\n webview.requestFocus();\n }",
"void openInAppBrowser(String url, String title, String subtitle, int errorMsg);",
"@Override\n public void onDownloadStart(String url, String userAgent,\n String contentDisposition, String mimetype,\n long contentLength) {\n\n startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(url)));\n }",
"@Override\n public void onItemClick(View view, int position) {\n if (position == 0) {\n Uri webpage = Uri.parse(\"https://akhbarelyom.com/\");\n Intent intent = new Intent(Intent.ACTION_VIEW, webpage);\n if (intent.resolveActivity(getPackageManager()) != null) {\n startActivity(intent);\n }\n\n } else if (position == 1) {\n Uri webpage = Uri.parse(\"https://www.youm7.com/\");\n Intent intent = new Intent(Intent.ACTION_VIEW, webpage);\n if (intent.resolveActivity(getPackageManager()) != null) {\n startActivity(intent);\n }\n\n } else if (position == 2) {\n Uri webpage = Uri.parse(\"http://www.akhbarak.net/\");\n Intent intent = new Intent(Intent.ACTION_VIEW, webpage);\n if (intent.resolveActivity(getPackageManager()) != null) {\n startActivity(intent);\n }\n\n } else if (position == 3) {\n Uri webpage = Uri.parse(\"https://www.shorouknews.com/\");\n Intent intent = new Intent(Intent.ACTION_VIEW, webpage);\n if (intent.resolveActivity(getPackageManager()) != null) {\n startActivity(intent);\n }\n\n } else if (position == 4) {\n Uri webpage = Uri.parse(\"http://www.ahram.org.eg/\");\n Intent intent = new Intent(Intent.ACTION_VIEW, webpage);\n if (intent.resolveActivity(getPackageManager()) != null) {\n startActivity(intent);\n }\n } else if (position == 5) {\n Uri webpage = Uri.parse(\"http://www.algomhuria.net.eg/algomhuria/today/fpage/\");\n Intent intent = new Intent(Intent.ACTION_VIEW, webpage);\n if (intent.resolveActivity(getPackageManager()) != null) {\n startActivity(intent);\n }\n\n }\n\n }",
"private void openUrl() throws IOException, URISyntaxException{\r\n if(Desktop.isDesktopSupported()){\r\n Desktop desktop = Desktop.getDesktop();\r\n desktop.browse(new URI(url));\r\n } else {\r\n Runtime runtime = Runtime.getRuntime();\r\n runtime.exec(\"xdg-open \" + url);\r\n }\r\n }",
"@Override\n public boolean onCreateWindow(WebView view, boolean isDialog,\n boolean isUserGesture, Message resultMsg) {\n\n WebView.HitTestResult result = view.getHitTestResult();\n String url = result.getExtra();\n\n if(url != null && url.indexOf(\"about:blank\")>-1){\n Intent intent = new Intent(Intent.ACTION_VIEW);\n intent.setData(Uri.parse(url));\n startActivity(intent);\n return true;\n }else{\n WebView newWebView = new WebView(MainActivity.this);\n view.addView(newWebView);\n WebView.WebViewTransport transport = (WebView.WebViewTransport) resultMsg.obj;\n\n transport.setWebView(newWebView);\n resultMsg.sendToTarget();\n return true;\n }\n\n }",
"public void likePage(View v) {\n final String urlFb = \"fb://page/1450066045229608\";\n Intent intent = new Intent(Intent.ACTION_VIEW);\n intent.setData(Uri.parse(urlFb));\n\n final PackageManager packageManager = getPackageManager();\n List<ResolveInfo> list = packageManager.queryIntentActivities(\n intent, PackageManager.MATCH_DEFAULT_ONLY);\n if (list.size() == 0) {\n //final String urlBrowser = \"https://www.facebook.com/glasvezelpaleiskwartier\";\n final String urlBrowser = \"https://www.facebook.com/pages/1450066045229608\";\n\n intent.setData(Uri.parse(urlBrowser));\n\n }\n\n startActivity(intent);\n\n }",
"@Override\n public void onClick(View view) {\n\n Intent webViewIntent = new Intent(getActivity(), WebViewActivity.class);\n startActivity(webViewIntent);\n\n }",
"public void searchProduct(String url){\n Intent intent = new Intent(Intent.ACTION_VIEW);\n intent.setData(Uri.parse(url));\n\n if(intent.resolveActivity(getContext().getPackageManager()) != null) {\n getContext().startActivity(intent);\n }\n }",
"@Override\n public void onClick(View v) {\n\n Intent intent = new Intent(getApplicationContext(), DetailActivity.class);\n intent.putExtra(Constant.INTENT_WEB_URL, webHotUrl);\n startActivity(intent);\n }",
"@Override\n public boolean onOptionsItemSelected(MenuItem item) {\n switch (item.getItemId()) {\n case android.R.id.home:\n onBackPressed();\n return true;\n case R.id.action_open_new:\n String url = \"\";\n try{\n url = json.getString(\"url\");\n }\n catch (JSONException e){\n e.printStackTrace();\n }\n Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(url));\n startActivity(browserIntent);\n return true;\n }\n return super.onOptionsItemSelected(item);\n }",
"@Override\n public void onClick(View v) {\n Intent intent = new Intent(v.getContext(), WebViewActivity.class);\n //intent.setData(Uri.parse(listOfArticles.get(position).getLinkToArticle()));\n intent.putExtra(LINK_URL_KEY, listOfArticles.get(position).getLinkToArticle());\n v.getContext().startActivity(intent);\n }",
"public static void openURL(final String url) {\n Intent intent = new Intent(Intent.ACTION_VIEW).setData(Uri.parse(url));\n _instance.startActivity(Intent.createChooser(intent, \"\"));\n }",
"private static Intent newFacebookIntent(PackageManager pm, String url) {\n Uri uri = Uri.parse(url);\n try {\n ApplicationInfo applicationInfo = pm.getApplicationInfo(\"com.facebook.katana\", 0);\n if (applicationInfo.enabled) {\n uri = Uri.parse(\"fb://facewebmodal/f?href=\" + url);\n }\n } catch (PackageManager.NameNotFoundException ignored) {\n }\n return new Intent(Intent.ACTION_VIEW, uri);\n }",
"protected void openExternal( String url , String type ) {\n if( type == null ) {\n openExternal( url );\n }\n else {\n Intent intent = new Intent(Intent.ACTION_VIEW);\n intent.setDataAndTypeAndNormalize(Uri.parse(url), type);\n if( getPackageManager().resolveActivity(intent,0) != null ) {\n intent.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);\n try {\n startActivity(intent);\n } catch (Exception e) {\n Log.d(\"openExternal\", e.getMessage());\n }\n }\n }\n }",
"@Override\n public void onClick(View view) {\n Intent detail = new Intent(getBaseContext(), DetailArticle.class);\n detail.putExtra(\"webURL\", webHotURL);\n startActivity(detail);\n }"
]
| [
"0.81038153",
"0.79541314",
"0.77822703",
"0.7729354",
"0.7500866",
"0.7463998",
"0.74424505",
"0.74350727",
"0.7431764",
"0.7410895",
"0.73924035",
"0.7354978",
"0.7310313",
"0.72986525",
"0.7262785",
"0.726117",
"0.7257798",
"0.71790755",
"0.7104677",
"0.7098175",
"0.70629007",
"0.7037446",
"0.70337737",
"0.70291704",
"0.7021749",
"0.7018792",
"0.70078635",
"0.69956094",
"0.6988252",
"0.69728816",
"0.6967458",
"0.6958137",
"0.6951992",
"0.69492567",
"0.69343555",
"0.69209373",
"0.68942463",
"0.68858784",
"0.6875039",
"0.68661225",
"0.682653",
"0.68221045",
"0.68165374",
"0.6813713",
"0.67871207",
"0.6775389",
"0.6770981",
"0.6757701",
"0.6753459",
"0.67511606",
"0.6746996",
"0.67447823",
"0.6744259",
"0.6726563",
"0.67174107",
"0.67148733",
"0.6708457",
"0.6705821",
"0.6705362",
"0.67046076",
"0.66958463",
"0.6681997",
"0.6661915",
"0.6653132",
"0.6652924",
"0.6641934",
"0.66394454",
"0.66196",
"0.6616161",
"0.6610587",
"0.6589436",
"0.6581461",
"0.6570124",
"0.6560636",
"0.6551876",
"0.6548289",
"0.654671",
"0.6521259",
"0.64951605",
"0.649242",
"0.6485375",
"0.64811414",
"0.64807147",
"0.6455319",
"0.6454898",
"0.64396065",
"0.642034",
"0.64049715",
"0.6384905",
"0.63811713",
"0.6378957",
"0.63775694",
"0.637314",
"0.63577443",
"0.6343081",
"0.63366264",
"0.63270104",
"0.6324414",
"0.63197315",
"0.63070536"
]
| 0.75050664 | 4 |
Create a new deallocate action script with the given data. | public DeallocateActionScript(final AdaptationData data, final DeallocateAction action) {
super(data);
this.action = action;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void destroyAction() {\n\r\n\t}",
"public void destroy() {}",
"public void destroy() {}",
"@Override\n\tpublic void destroyAction(int id) {\n\t\t\n\t}",
"void release(String dataElementName);",
"public void destroy() throws ActionLifecycleException;",
"void destroy() {\n\t\tdespawnHitbox();\n\t\tinventory.clear();\n\t\texperience = 0;\n\t\tinvalid = true;\n\t}",
"public void destroy();",
"public void destroy();",
"public void destroy();",
"public void destroy();",
"public void destroy();",
"public void destroy();",
"public void destroy();",
"public void destroy();",
"public abstract void destroy(String name);",
"public abstract void destroy();",
"public void destroy() {\n\n\t}",
"public void destroy() {\n\n\t}",
"public void destroy() {\n\n\t}",
"public void destroy() {\n\n\t}",
"public void destroy() {\n\n\t}",
"public void destroy() {\n\n\t}",
"protected abstract void onReleaseResources(final D data);",
"public void destroy() {\n \t\n }",
"public Action newAction(Object data) throws Exception;",
"public void destroy() {\r\n }",
"default void destroy() {}",
"public void deleteAssetClass(String name_);",
"public void destroy() {\n \n }",
"void delete(String resourceGroupName, String dataControllerName, Context context);",
"public PacketDelete(String data) {\n String[] unpackedData = data.split(\",\");\n this.packetID = Integer.parseInt(unpackedData[0]);\n this.gameObject = UUID.fromString(unpackedData[1]);\n }",
"public void destroy() {\n }",
"public abstract void delete(DataAction data, DataRequest source) throws ConnectorOperationException;",
"public void destroy() {\n }",
"public void destroy() {\n }",
"public void destroy() {\n }",
"public void destroy() {\n }",
"public void destroy() {\n }",
"public void destroy() {\n }",
"public void destroy() {\n }",
"public void destroy() {\n }",
"public void destroy() {\n }",
"public void destroy() {\n }",
"public void destroy() {\n }",
"public void destroy() {\r\n\r\n\t}",
"protected void onDestroy(){\n\t\tsuper.onDestroy();\n\t\tJSONObject msg = new JSONObject();\n\t\t\ttry {\n\t\t\t\tmsg.put(\"type\", \"DISCONNECT_REQUEST\");\n\t\t\t\tmsg.put(\"source\", name);\n\t\t\t\tnew Write(msg).execute(\"\");\n\t\t\t\t\n\t\t\t} catch (JSONException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t}",
"public void destroy() {\n // NO OPERATION\n }",
"public void destroy() {\n\t\t\n\t}",
"public void destroy() {\n\t\t\n\t}",
"public void destroy() {\n\t\t\n\t}",
"public void destroy() {\n\t\t\n\t}",
"public void destroy() {\n\t\t\n\t}",
"public void destroy() {\n\t\t\n\t}",
"public void destroy() {\n\t}",
"public void destroy() {\n\t}",
"public void destroy() {\n\t}",
"public void destroy() {\n\t}",
"public void destroy() {\n\t}",
"public void destroy() {\n\t}",
"public void destroy() {\n\t}",
"public void destroy() {\n\t}",
"public void destroy() {\n\t}",
"public void destroy() {\n\t}",
"public void destroy() {\n\t}",
"public void destroy() {\n\t}",
"public void destroy() {\n\t}",
"public void destroy() {\n\t}",
"public void destroy() {\n\t}",
"public void destroy()\r\n\t{\r\n\t}",
"public void destroy()\n\t{\n\t}",
"public void destroy()\r\n {\r\n }",
"public void destroy()\r\n\t{\n\t\t\r\n\t}",
"public void destroy() {\n\t\t\r\n\t}",
"public void destroy() {\n\t\t\r\n\t}",
"public void destroy() {\n\t\t\r\n\t}",
"public void destroy() {\n\t\t\r\n\t}",
"@Override\n\tpublic void dropAndDestroy() {\n\n\t}",
"public void destroy() {\n }",
"public void destroy() {\n }",
"public void destroy()\r\n {\n }",
"private ServiceAction createDeleteEnrichmentAction() {\n final MarcRecord deleteRecord = new MarcRecord(marcRecord);\n final MarcRecordReader reader = new MarcRecordReader(deleteRecord);\n final String recordId = reader.getRecordId();\n final String agencyId = reader.getAgencyId();\n\n LOGGER.use(log -> log.info(\"Create action to delete old enrichment record {{}:{}}\", recordId, agencyId));\n\n final MarcRecordWriter writer = new MarcRecordWriter(deleteRecord);\n writer.markForDeletion();\n return createUpdateRecordAction(deleteRecord);\n }",
"private DeleteAction makeDeleteAction(String input)\r\n throws MakeActionException {\r\n if (params.length == 0) {\r\n throw new MakeActionException(DeleteAction.ERR_INSUFFICIENT_ARGS);\r\n }\r\n DeleteAction da = new DeleteAction(goku);\r\n da.input = input;\r\n\r\n if (params.length == 1) {\r\n try {\r\n int id = Integer.parseInt(params[0]);\r\n da.id = id;\r\n } catch (NumberFormatException e) {\r\n da.id = null;\r\n da.title = params[0];\r\n }\r\n } else {\r\n da.title = Joiner.on(\" \").join(params);\r\n }\r\n return da;\r\n }",
"void destroy();",
"void destroy();",
"void destroy();",
"void destroy();",
"void destroy();",
"void destroy();",
"void destroy();",
"void destroy();",
"void destroy();",
"void destroy();",
"void destroy();",
"void destroy();",
"Script createScript();",
"CdapDeleteArtifact createCdapDeleteArtifact();",
"private void releaseResources(List<DetailEntry> releasedData) {\n }",
"@Override\r\n\t\tpublic void destroy() {\n\t\t\t\r\n\t\t}",
"public void destroy() {\n\r\n\t}"
]
| [
"0.531473",
"0.50756633",
"0.50756633",
"0.5028892",
"0.5027415",
"0.49853957",
"0.49717602",
"0.4931834",
"0.4931834",
"0.4931834",
"0.4931834",
"0.4931834",
"0.4931834",
"0.4931834",
"0.4931834",
"0.493031",
"0.4906987",
"0.49020168",
"0.49020168",
"0.49020168",
"0.49020168",
"0.49020168",
"0.49020168",
"0.4891081",
"0.4873628",
"0.48702908",
"0.48480272",
"0.4840199",
"0.48386946",
"0.4836843",
"0.48306218",
"0.48291913",
"0.48239222",
"0.48096904",
"0.48077613",
"0.48077613",
"0.48077613",
"0.48077613",
"0.48077613",
"0.48077613",
"0.48077613",
"0.48077613",
"0.48077613",
"0.48077613",
"0.48077613",
"0.4804301",
"0.47970587",
"0.47968695",
"0.47957915",
"0.47957915",
"0.47957915",
"0.47957915",
"0.47957915",
"0.47957915",
"0.4781391",
"0.4781391",
"0.4781391",
"0.4781391",
"0.4781391",
"0.4781391",
"0.4781391",
"0.4781391",
"0.4781391",
"0.4781391",
"0.4781391",
"0.4781391",
"0.4781391",
"0.4781391",
"0.4781391",
"0.4777233",
"0.47762945",
"0.47750756",
"0.47728544",
"0.4756115",
"0.4756115",
"0.4756115",
"0.4756115",
"0.47541812",
"0.47431508",
"0.47431508",
"0.47384274",
"0.47373822",
"0.47314814",
"0.47116044",
"0.47116044",
"0.47116044",
"0.47116044",
"0.47116044",
"0.47116044",
"0.47116044",
"0.47116044",
"0.47116044",
"0.47116044",
"0.47116044",
"0.47116044",
"0.4703512",
"0.4677404",
"0.4676042",
"0.46691433",
"0.46588987"
]
| 0.71893364 | 0 |
Construct a MapReduceOperation with all the criteria it needs to execute | public MapReduceToCollectionOperation(final MongoNamespace namespace, final BsonJavaScript mapFunction,
final BsonJavaScript reduceFunction, final String collectionName) {
this(namespace, mapFunction, reduceFunction, collectionName, null);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public MapReduceOutput mapReduce(final MapReduceCommand command) {\n ReadPreference readPreference = command.getReadPreference() == null ? getReadPreference() : command.getReadPreference();\n Map<String, Object> scope = command.getScope();\n Boolean jsMode = command.getJsMode();\n if (command.getOutputType() == MapReduceCommand.OutputType.INLINE) {\n\n MapReduceWithInlineResultsOperation<DBObject> operation =\n new MapReduceWithInlineResultsOperation<>(getNamespace(), new BsonJavaScript(command.getMap()),\n new BsonJavaScript(command.getReduce()), getDefaultDBObjectCodec())\n .filter(wrapAllowNull(command.getQuery()))\n .limit(command.getLimit())\n .maxTime(command.getMaxTime(MILLISECONDS), MILLISECONDS)\n .jsMode(jsMode != null && jsMode)\n .sort(wrapAllowNull(command.getSort()))\n .verbose(command.isVerbose())\n .collation(command.getCollation());\n\n if (scope != null) {\n operation.scope(wrap(new BasicDBObject(scope)));\n }\n if (command.getFinalize() != null) {\n operation.finalizeFunction(new BsonJavaScript(command.getFinalize()));\n }\n MapReduceBatchCursor<DBObject> executionResult = executor.execute(operation, readPreference, getReadConcern());\n return new MapReduceOutput(command.toDBObject(), executionResult);\n } else {\n String action;\n switch (command.getOutputType()) {\n case REPLACE:\n action = \"replace\";\n break;\n case MERGE:\n action = \"merge\";\n break;\n case REDUCE:\n action = \"reduce\";\n break;\n default:\n throw new IllegalArgumentException(\"Unexpected output type\");\n }\n\n MapReduceToCollectionOperation operation =\n new MapReduceToCollectionOperation(getNamespace(),\n new BsonJavaScript(command.getMap()),\n new BsonJavaScript(command.getReduce()),\n command.getOutputTarget(),\n getWriteConcern())\n .filter(wrapAllowNull(command.getQuery()))\n .limit(command.getLimit())\n .maxTime(command.getMaxTime(MILLISECONDS), MILLISECONDS)\n .jsMode(jsMode != null && jsMode)\n .sort(wrapAllowNull(command.getSort()))\n .verbose(command.isVerbose())\n .action(action)\n .databaseName(command.getOutputDB())\n .bypassDocumentValidation(command.getBypassDocumentValidation())\n .collation(command.getCollation());\n\n if (scope != null) {\n operation.scope(wrap(new BasicDBObject(scope)));\n }\n if (command.getFinalize() != null) {\n operation.finalizeFunction(new BsonJavaScript(command.getFinalize()));\n }\n try {\n MapReduceStatistics mapReduceStatistics = executor.execute(operation, getReadConcern());\n DBCollection mapReduceOutputCollection = getMapReduceOutputCollection(command);\n DBCursor executionResult = mapReduceOutputCollection.find();\n return new MapReduceOutput(command.toDBObject(), executionResult, mapReduceStatistics, mapReduceOutputCollection);\n } catch (MongoWriteConcernException e) {\n throw createWriteConcernException(e);\n }\n }\n }",
"public OperationFactory() {\n initMap();\n }",
"public Action(Operation op, String[] args, Map<String, String> restriction) {\n this.op = op;\n this.restriction = restriction;\n if (op == Operation.UPDATE || op == Operation.SEARCH) {\n Set<String> set = new HashSet<String>(restriction.keySet());\n for (int i = 0; i < args.length; ++i) set.add(args[i]);\n this.args = set.toArray(new String[set.size()]);\n } else {\n this.args = args;\n }\n this.reqd = new boolean[this.args.length];\n this.cmps = new String[this.args.length];\n List<String> opts = analyzeRequiredArgs();\n this.opts = opts.toArray(new String[opts.size()]);\n }",
"Operation createOperation();",
"Operation createOperation();",
"Operations createOperations();",
"@Override\n public <KEYIN extends Serializable, VALUEIN extends Serializable, K extends Serializable, V extends Serializable, KOUT extends Serializable, VOUT extends Serializable> IMapReduce<KEYIN, VALUEIN, KOUT, VOUT>\n buildMapReduceEngine(@Nonnull final String name, @Nonnull final IMapperFunction<KEYIN, VALUEIN, K, V> pMapper, @Nonnull final IReducerFunction<K, V, KOUT, VOUT> pRetucer) {\n return new SparkMapReduce(name, pMapper, pRetucer);\n }",
"ReduceType reduceInit();",
"public MapReduceToCollectionOperation(final MongoNamespace namespace, final BsonJavaScript mapFunction,\n final BsonJavaScript reduceFunction, final String collectionName,\n final WriteConcern writeConcern) {\n this.namespace = notNull(\"namespace\", namespace);\n this.mapFunction = notNull(\"mapFunction\", mapFunction);\n this.reduceFunction = notNull(\"reduceFunction\", reduceFunction);\n this.collectionName = notNull(\"collectionName\", collectionName);\n this.writeConcern = writeConcern;\n }",
"@Override\n public <KEYIN extends Serializable, VALUEIN extends Serializable, K extends Serializable, V extends Serializable, KOUT extends Serializable, VOUT extends Serializable> IMapReduce<KEYIN, VALUEIN, KOUT, VOUT>\n buildMapReduceEngine(@Nonnull final String name, @Nonnull final IMapperFunction<KEYIN, VALUEIN, K, V> pMapper, @Nonnull final IReducerFunction<K, V, KOUT, VOUT> pRetucer, final IPartitionFunction<K> pPartitioner) {\n return new SparkMapReduce(name, pMapper, pRetucer, pPartitioner);\n }",
"OpList createOpList();",
"public Operation(){\n\t}",
"public Operation() {\n /* empty */\n }",
"public Operation() {\n\t}",
"public Operation() {\n super();\n }",
"public FlatsyWorker(FlatsyOperator operation) {\n this.operation = operation;\n }",
"static AggregateOperation createAggregate(CoreWaveletOperation operation) {\n if (operation instanceof CoreWaveletDocumentOperation) {\n return new AggregateOperation((CoreWaveletDocumentOperation) operation);\n } else if (operation instanceof CoreRemoveParticipant) {\n return new AggregateOperation((CoreRemoveParticipant) operation);\n } else if (operation instanceof CoreAddParticipant) {\n return new AggregateOperation((CoreAddParticipant) operation);\n } else if (operation instanceof CoreAddSegment) {\n return new AggregateOperation((CoreAddSegment) operation);\n } else if (operation instanceof CoreRemoveSegment) {\n return new AggregateOperation((CoreRemoveSegment) operation);\n } else if (operation instanceof CoreStartModifyingSegment) {\n return new AggregateOperation((CoreStartModifyingSegment) operation);\n } else if (operation instanceof CoreEndModifyingSegment) {\n return new AggregateOperation((CoreEndModifyingSegment) operation);\n }\n assert operation instanceof CoreNoOp;\n return new AggregateOperation();\n }",
"public JobExample() {\n oredCriteria = new ArrayList<Criteria>();\n }",
"@Test\n\tpublic void testMapReduce() {\n\n\t\t/*\n\t\t * For this test, the mapper's input will be \"1 cat cat dog\" \n\t\t */\n\t\tmapReduceDriver.withInput(new LongWritable(1), new Text(swedenHealth));\n\n\t\t/*\n\t\t * The expected output (from the reducer) is \"cat 2\", \"dog 1\". \n\t\t */\n\t\tmapReduceDriver.addOutput(new Text(\"(Sweden)\"), new Text(\"| in 2011$ values PPP, 1995 health cost: 1745.1| 2014 health cost: 5218.86| cost increase (%): 199.06%\\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\"));\n\n\t\t/*\n\t\t * Run the test.\n\t\t */\n\t\tmapReduceDriver.runTest();\n\t}",
"public TbProductOperatorExample() {\n oredCriteria = new ArrayList<Criteria>();\n }",
"@Mapper\npublic interface ReduceMapper {\n\n public void updateStatus(DataCollectionEntity bean);\n\n public DataCollectionEntity findById(DataCollectionEntity bean);\n\n\n public List<DataCollectionEntity> pageReduceApply(DataCollectionEntity bean);\n\n public List<DataCollectionEntity> pageReduceApplyExport(DataCollectionEntity bean);\n\n public List<DataCollectionEntity> totalExport(DataCollectionEntity bean);\n\n public void saveReduceApply(DataCollectionEntity bean);\n\n public void updateReduceApply(DataCollectionEntity bean);\n\n public void updateApplyStatus(DataCollectionEntity bean);\n\n}",
"ProcessOperation<Map<String, Object>> map();",
"ROp() {super(null); _ops=new HashMap<>(); }",
"public Action(Operation op, String[] args) {\n this.op = op;\n this.restriction = null;\n this.args = args;\n this.reqd = new boolean[this.args.length];\n this.cmps = new String[this.args.length];\n List<String> opts = analyzeRequiredArgs();\n this.opts = opts.toArray(new String[opts.size()]);\n }",
"public static void main(String[] args) throws IOException {\n JobConf conf = new JobConf(CrimeComputer.class);\n\t conf.setJobName(\"CrimeComputer\");\n\t\n\t conf.setOutputKeyClass(Text.class);\n\t conf.setOutputValueClass(IntWritable.class);\n \n System.out.println(\"\\n Please select a region defintion:\\n 1.Highest one digit of Northing & Easting \\n 2.Highest two digits of Northing & Easting \\n 3.Highest three digits of Northing & Easting \\n Enter: 1,2 or 3 \\n \");\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t String option=br.readLine();\n if(option.equals(\"1\"))\n {\n conf.setMapperClass(Map1.class); \n }\n else if(option.equals(\"2\"))\n conf.setMapperClass(Map2.class);\n else if(option.equals(\"3\"))\n {\n conf.setMapperClass(Map3.class); \n }\n else\n {\n System.out.println(\"Invalid Input!\");\n System.exit(0);\n }\n\n\t \n System.out.println(\"\\n Please select the number of Mappers: 1, 2 or 5? \\n\");\n option=br.readLine();\n if(option.equals(\"1\"))\n conf.setNumMapTasks(1);\n if(option.equals(\"2\"))\n conf.setNumMapTasks(2);\n if(option.equals(\"5\"))\n conf.setNumMapTasks(5); \n \n System.out.println(\"\\n Please select the number of Reducers: 1, 2 or 5? \\n\");\n option=br.readLine();\n if(option.equals(\"1\"))\n conf.setNumReduceTasks(1);\n if(option.equals(\"2\"))\n conf.setNumReduceTasks(2);\n if(option.equals(\"5\"))\n conf.setNumReduceTasks(5); \n \n conf.setCombinerClass(Reduce.class);\n\t conf.setReducerClass(Reduce.class);\n\t\n \n\t conf.setInputFormat(TextInputFormat.class);\n\t conf.setOutputFormat(TextOutputFormat.class);\n\t\n\t FileInputFormat.setInputPaths(conf, new Path(args[0]));\n\t FileOutputFormat.setOutputPath(conf, new Path(args[1]));\n JobClient.runJob(conf);\n \n }",
"public void createQueryProcessor() throws IOException {\n\t\tfor(int i=0; i<=payload.getnumber_of_grouping_variables();i++) {\n\t\t\tlistMapsAggregates.add(new HashMap<String, String>());\n\t\t}\n\t\tfor(int i=0;i<payload.getnumber_of_aggregate_functions();i++) {\n\t\t\tString[] temp = payload.getaggregate_functions().get(i).split(\"_\",3);\n\t\t\tlistMapsAggregates.get(Integer.parseInt(temp[0])).put(temp[1], temp[2]);//(key,value) -> (aggregate function , column name)\n\t\t}\n\t\tStringBuilder fileData = new StringBuilder();\n\t\tfileData.append(\"package dbmsProject;\\r\\n\\r\\n\" + \n\t\t\t\t\"import java.io.FileOutputStream;\\r\\n\" + \n\t\t\t\t\"import java.io.IOException;\\r\\n\" + \n\t\t\t\t\"import java.text.DateFormat;\\r\\n\" + \n\t\t\t\t\"import java.text.DecimalFormat;\\r\\n\" + \n\t\t\t\t\"import java.text.SimpleDateFormat;\\r\\n\" + \n\t\t\t\t\"import java.util.ArrayList;\\r\\n\" + \n\t\t\t\t\"import java.util.Calendar;\\r\\n\" + \n\t\t\t\t\"import java.util.HashMap;\\r\\n\");\n\t\tfileData.append(\"\\r\\npublic class QueryProcessor{\\n\");\n\t\tfileData.append(\"\tprivate SalesTable salesTable;\\n\");\n\t\tfileData.append(\"\tprivate ExpTree expTree;\\n\");\n\t\tfileData.append(\"\tprivate Payload payload;\\n\");\n\t\tfileData.append(\"\tprivate Helper helper;\\n\");\n\t\tfileData.append(\"\tprivate ArrayList<HashMap<String,String>> listMapsAggregates;\\r\\n\" + \n\t\t\t\t\t\t\"\tprivate HashMap<String, Double> aggregatesMap;\\r\\n\" + \n\t\t\t\t\t\t\"\tprivate ArrayList<HashMap<String, ArrayList<InputRow>>> allGroups;\\r\\n\" + \n\t\t\t\t\t\t\"\tprivate ArrayList<ArrayList<String>> allGroupKeyStrings;\\r\\n\" + \n\t\t\t\t\t\t\"\tprivate ArrayList<ArrayList<InputRow>> allGroupKeyRows;\\n\");\n\t\tfileData.append(\"\\r\\n\tpublic QueryProcessor(SalesTable salesTable, Payload payload){\\n\");\n\t\tfileData.append(\"\t\tthis.aggregatesMap = new HashMap<String, Double>();\\n\");\n\t\tfileData.append(\"\t\tthis.salesTable=salesTable;\\n\");\n\t\tfileData.append(\"\t\tthis.payload=payload;\\n\");\n\t\tfileData.append(\"\t\tthis.expTree=new ExpTree();\\n\");\n\t\tfileData.append(\"\t\tthis.helper=new Helper();\\n\"\n\t\t\t\t\t\t+ \"\t\tthis.allGroupKeyRows = new ArrayList<ArrayList<InputRow>>();\\r\\n\" + \n\t\t\t\t\t\t\"\t\tthis.allGroupKeyStrings = new ArrayList<ArrayList<String>>();\\r\\n\" + \n\t\t\t\t\t\t\"\t\tthis.listMapsAggregates = new ArrayList<HashMap<String,String>>();\\r\\n\"\t+\n\t\t\t\t\t\t\"\t\tthis.allGroups = new ArrayList<HashMap<String, ArrayList<InputRow>>>();\\n\");\n\t\tfileData.append(\"\t}\\n\");\n\t\tfileData.append(\"\\r\\n\tpublic ArrayList<InputRow> createInputSet(){\\n\");\n\t\tfileData.append(\"\t\tArrayList<InputRow> inputResultSet = new ArrayList<InputRow>();\\n\");\n\t\tfileData.append(\"\t\tfor(SalesTableRow row: salesTable.getResultSet()) {\\n\");\n\t\tfileData.append(\"\t\t\tInputRow ir=new InputRow();\\n\");\n\t\tfor(String var: this.projectionVars) {\n\t\t\tfileData.append(\"\t\t\tir.set\"+varPrefix+var+\"(row.get\"+var+\"());\\n\");\n\t\t}\n\t\tfileData.append(\"\t\t\tinputResultSet.add(ir);\\n\");\n\t\tfileData.append(\"\t\t}\\n\");\n\t\tfileData.append(\"\t\treturn inputResultSet;\\n\");\n\t\tfileData.append(\"\t}\\n\");\n\t\t\n//OUTPUT ROW CREATION LOGIC\n\t\tfileData.append(\"\\r\\n\tpublic OutputRow convertInputToOutputRow(InputRow inputRow, String str, ArrayList<String> strList){\\n\");\n\t\tfileData.append(\"\t\tString temp=\\\"\\\";\\n\");\n\t\tfileData.append(\"\t\tOutputRow outputRow = new OutputRow();\\n\");\n\t\tfor(String select: payload.getselect_variables()) {\n\t\t\tif(helper.columnMapping.containsKey(select)) {\n\t\t\t\tfileData.append(\"\t\toutputRow.set\"+varPrefix+select+\"(inputRow.get\"+varPrefix+select+\"());\\n\");\n\t\t\t}\n\t\t\telse {\n\t\t\t\tString temp=select;\n\t\t\t\tif(select.contains(\"/\")) select=select.replaceAll(\"/\", \"_divide_\");\n\t\t\t\tif(select.contains(\"*\")) select=select.replaceAll(\"*\", \"_multiply_\");\n\t\t\t\tif(select.contains(\"+\")) select=select.replaceAll(\"+\", \"_add_\");\n\t\t\t\tif(select.contains(\"-\")) select=select.replaceAll(\"-\", \"_minus_\");\n\t\t\t\tif(select.contains(\")\")) select=select.replaceAll(\"[)]+\", \"\");\n\t\t\t\tif(select.contains(\"(\")) select=select.replaceAll(\"[(]+\", \"\");\n\t\t\t\tfileData.append(\"\t\ttemp = prepareClause(inputRow, inputRow, \\\"\"+temp+\"\\\", str, strList);\\n\");\n\t\t\t\tfileData.append(\"\t\tif(temp.contains(\\\"(\\\")) temp = expTree.execute(temp);\\r\\n\");\n\t\t\t\tfileData.append(\"\t\tif(temp.equals(\\\"discard_invalid_entry\\\")) return null;\\n\");\n\t\t\t\tfileData.append(\"\t\toutputRow.set\"+varPrefix+select+\"(Double.parseDouble(temp));\\n\");\n\t\t\t}\n\t\t}\n\t\tfileData.append(\"\t\treturn outputRow;\\n\");\n\t\tfileData.append(\"\t}\\n\");\n\t\t\n//WHERE CLAUSE EXECUTOR\n\t\tfileData.append(\"\\r\\n\tpublic ArrayList<InputRow> executeWhereClause(ArrayList<InputRow> inputResultSet) {\\r\\n\" + \n\t\t\t\t\"\t\tint i=0;\\r\\n\" + \n\t\t\t\t\"\t\twhile(i<inputResultSet.size()) {\\r\\n\" + \n\t\t\t\t\"\t\t\tString condition=prepareClause(inputResultSet.get(i), inputResultSet.get(i), payload.getWhereClause(), \\\"\\\", new ArrayList<String>());\\r\\n\" + \n\t\t\t\t\"\t\t\tif(condition.equals(\\\"discard_invalid_entry\\\") || !Boolean.parseBoolean(expTree.execute(condition))){\\r\\n\" + \n\t\t\t\t\"\t\t\t\tinputResultSet.remove(i);\\r\\n\" + \n\t\t\t\t\"\t\t\t\tcontinue;\\r\\n\" + \n\t\t\t\t\"\t\t\t}\\r\\n\" + \n\t\t\t\t\"\t\t\ti++;\\r\\n\" + \n\t\t\t\t\"\t\t}\\r\\n\" + \n\t\t\t\t\"\t\treturn inputResultSet;\\r\\n\" + \n\t\t\t\t\"\t}\\n\");\n\n//REFINE CLAUSE FOR PROCESSING\n\t\tfileData.append(\"\\r\\n\tpublic String prepareClause(InputRow row, InputRow rowZero, String condition, String str, ArrayList<String> strList) {\\r\\n\" + \n\t\t\t\t\"\t\tfor(int i=0;i<strList.size();i++) {\\r\\n\" + \n\t\t\t\t\"\t\t\tif(condition.contains(i+\\\"_\\\")) {\\r\\n\" + \n\t\t\t\t\"\t\t\t\tboolean flag=false;\\r\\n\" + \n\t\t\t\t\"\t\t\t\tfor(String ag : payload.getaggregate_functions()) {\\r\\n\" + \n\t\t\t\t\"\t\t\t\t\tif(!ag.contains(i+\\\"\\\")) continue;\\r\\n\" + \n\t\t\t\t\"\t\t\t\t\tif(condition.contains(ag)) flag=true;\\r\\n\" + \n\t\t\t\t\"\t\t\t\t\tcondition=condition.replaceAll(ag, ag+\\\"_\\\"+strList.get(i));\\r\\n\" + \n\t\t\t\t\"\t\t\t\t}\\r\\n\" + \n\t\t\t\t\"\t\t\t\tif(flag) {\\r\\n\" + \n\t\t\t\t\"\t\t\t\t\tboolean changeFlag=false;\\r\\n\" + \n\t\t\t\t\"\t\t\t\t\tfor(String key : aggregatesMap.keySet()) {\\r\\n\" + \n\t\t\t\t\"\t\t\t\t\t\tif(condition.contains(key)) changeFlag=true;\\r\\n\" + \n\t\t\t\t\"\t\t\t\t\t\tcondition = condition.replaceAll(key, Double.toString(aggregatesMap.get(key)));\\r\\n\" + \n\t\t\t\t\"\t\t\t\t\t}\\r\\n\" + \n\t\t\t\t\"\t\t\t\t\tif(!changeFlag) return \\\"discard_invalid_entry\\\";\\r\\n\" + \n\t\t\t\t\"\t\t\t\t}\\r\\n\" + \n\t\t\t\t\"\t\t\t}\\r\\n\" + \n\t\t\t\t\"\t\t}\\r\\n\" + \n\t\t\t\t\"\t\t\\r\\n\" + \n\t\t\t\t\"\t\tif(condition.contains(\\\".\\\")) {\\r\\n\");\n\t\tfor(String var: projectionVars) {\n\t\t\tif(helper.columnMapping.get(var)==0 || helper.columnMapping.get(var)==1 || helper.columnMapping.get(var)==5)\n\t\t\t\tfileData.append(\"\t\t\tcondition=condition.replaceAll(\\\"[0-9]+\\\\\\\\.\"+var+\"\\\", row.get\"+varPrefix+var+\"());\\r\\n\");\n\t\t\telse\n\t\t\t\tfileData.append(\"\t\t\tcondition=condition.replaceAll(\\\"[0-9]+\\\\\\\\.\"+var+\"\\\", Integer.toString(row.get\"+varPrefix+var+\"()));\\r\\n\");\n\t\t}\n\t\tfileData.append(\"\t\t}\\n\");\n\t\t\n\t\tfor(String var: projectionVars) {\n\t\t\tif(helper.columnMapping.get(var)==0 || helper.columnMapping.get(var)==1 || helper.columnMapping.get(var)==5)\n\t\t\t\tfileData.append(\"\t\tcondition=condition.replaceAll(\\\"\"+var+\"\\\", rowZero.get\"+varPrefix+var+\"());\\r\\n\");\n\t\t\telse\n\t\t\t\tfileData.append(\"\t\tcondition=condition.replaceAll(\\\"\"+var+\"\\\", Integer.toString(rowZero.get\"+varPrefix+var+\"()));\\r\\n\");\n\t\t}\n\t\t\n\t\tfileData.append(\n\t\t\t\t\"\t\tcondition=condition.replaceAll(\\\"\\\\\\\\s+\\\", \\\"\\\");\\r\\n\" + \n\t\t\t\t\"\t\tcondition=condition.replaceAll(\\\"\\\\\\\"\\\", \\\"\\\");\\r\\n\" + \n\t\t\t\t\"\t\tcondition=condition.replaceAll(\\\"\\\\'\\\", \\\"\\\");\\r\\n\" + \n\t\t\t\t\"\t\t\\r\\n\" + \n\t\t\t\t\"\t\treturn condition;\\r\\n\" + \n\t\t\t\t\"\t}\\n\");\n\n//CREATE GROUPS\t\t\n\t\tfileData.append(\"\\r\\n\tpublic void createListsBasedOnSuchThatPredicate(ArrayList<InputRow> inputResultSet) {\\r\\n\" + \n\t\t\t\t\"\t\t\\r\\n\" + \n\t\t\t\t\"\t\tfor(int i=0;i<=payload.getnumber_of_grouping_variables();i++) {\\r\\n\" + \n\t\t\t\t\"\t\t\tArrayList<String> groupKeyStrings = new ArrayList<String>();\\r\\n\" + \n\t\t\t\t\"\t\t\tArrayList<InputRow> groupKeyRows = new ArrayList<InputRow>();\\r\\n\" + \n\t\t\t\t\"\t\t\tfor(InputRow row : inputResultSet) {\\r\\n\" + \n\t\t\t\t\"\t\t\t\tStringBuilder temp=new StringBuilder();\\r\\n\" + \n\t\t\t\t\"\t\t\t\tInputRow groupRow = new InputRow();\\r\\n\" + \n\t\t\t\t\"\t\t\t\tfor(String group: payload.getGroupingAttributesOfAllGroups().get(i)) {\\r\\n\" + \n\t\t\t\t\"\t\t\t\t\tint col = helper.columnMapping.get(group);\\r\\n\" + \n\t\t\t\t\"\t\t\t\t\tswitch(col) {\\r\\n\");\n\t\tfor(String var: projectionVars) {\n\t\t\tfileData.append(\"\t\t\t\t\t\tcase \"+helper.columnMapping.get(var)+\":\"+\"{temp.append(row.get\"+varPrefix+var+\"()+\\\"_\\\"); groupRow.set\"+varPrefix+ var+ \"(row.get\"+varPrefix+var+\"()); break;}\\r\\n\");\n\t\t}\n\t\tfileData.append(\"\t\t\t\t\t}\\n\"+\n\t\t\t\t\"\t\t\t\t}\\r\\n\" + \n\t\t\t\t\"\t\t\t\tString s=temp.toString();\\r\\n\" + \n\t\t\t\t\"\t\t\t\tif(s.charAt(s.length()-1)=='_') s=s.substring(0, s.length()-1);\\r\\n\" + \n\t\t\t\t\"\t\t\t\tif( !groupKeyStrings.contains(s) ) {\\r\\n\" + \n\t\t\t\t\"\t\t\t\t\tgroupKeyStrings.add(s);\\r\\n\" + \n\t\t\t\t\"\t\t\t\t\tgroupKeyRows.add(groupRow);\\r\\n\" + \n\t\t\t\t\"\t\t\t\t}\\r\\n\" + \n\t\t\t\t\"\t\t\t}\\r\\n\" + \n\t\t\t\t\"\t\t\tallGroupKeyRows.add(groupKeyRows);\\r\\n\" + \n\t\t\t\t\"\t\t\tallGroupKeyStrings.add(groupKeyStrings);\\r\\n\" + \n\t\t\t\t\"\t\t}\\r\\n\" + \n\t\t\t\t\"\t\t\\r\\n\" + \n\t\t\t\t\"\t\tfor(int i=0;i<=payload.getnumber_of_grouping_variables();i++) {\\r\\n\" + \n\t\t\t\t\"\t\t\tHashMap<String, ArrayList<InputRow>> res = new HashMap<String, ArrayList<InputRow>>();\\r\\n\" + \n\t\t\t\t\"\t\t\tString suchThat = payload.getsuch_that_predicates().get(i);\\r\\n\" + \n\t\t\t\t\"\t\t\tfor(int j=0;j<allGroupKeyRows.get(i).size();j++) {\\r\\n\" + \n\t\t\t\t\"\t\t\t\tInputRow zeroRow = allGroupKeyRows.get(i).get(j);\\r\\n\" + \n\t\t\t\t\"\t\t\t\tArrayList<InputRow> groupMember = new ArrayList<InputRow>();\\r\\n\" + \n\t\t\t\t\"\t\t\t\tfor(InputRow salesRow : inputResultSet) {\\r\\n\" + \n\t\t\t\t\"\t\t\t\t\tString condition = prepareClause(salesRow, zeroRow, suchThat, \\\"\\\", new ArrayList<String>());\\r\\n\" + \n\t\t\t\t\"\t\t\t\t\tif(Boolean.parseBoolean(expTree.execute(condition))) {\\r\\n\" + \n\t\t\t\t\"\t\t\t\t\t\tgroupMember.add(salesRow);\\r\\n\" + \n\t\t\t\t\"\t\t\t\t\t}\\r\\n\" + \n\t\t\t\t\"\t\t\t\t}\\r\\n\" + \n\t\t\t\t\"\t\t\t\tres.put(allGroupKeyStrings.get(i).get(j), new ArrayList<InputRow>(groupMember));\\r\\n\" + \n\t\t\t\t\"\t\t\t}\\r\\n\" + \n\t\t\t\t\"\t\t\tallGroups.add(new HashMap<String, ArrayList<InputRow>>(res));\\r\\n\" + \n\t\t\t\t\"\t\t}\\r\\n\" + \n\t\t\t\t\"\t}\\n\");\n\t\t\n//GETGROUPING VARIABLE METHOD\n\t\tfileData.append(\"\\r\\n\tpublic String getGroupingVariable(int i, InputRow row) {\\r\\n\" + \n\t\t\t\t\"\t\tswitch(i) {\\r\\n\");\n\t\tfor(String var: projectionVars) {\n\t\t\tif(helper.columnMapping.get(var)==0||helper.columnMapping.get(var)==1||helper.columnMapping.get(var)==5)\n\t\t\t\tfileData.append(\"\t\t\tcase \"+helper.columnMapping.get(var)+\": return row.get\"+varPrefix+var+\"();\\r\\n\");\n\t\t\telse if(helper.columnMapping.get(var)==7)\n\t\t\t\tfileData.append(\"\t\t\tcase \"+helper.columnMapping.get(var)+\": return \\\"all\\\"\");\n\t\t\telse\n\t\t\t\tfileData.append(\"\t\t\tcase \"+helper.columnMapping.get(var)+\": return Integer.toString(row.get\"+varPrefix+var+\"());\\r\\n\");\n\t\t}\n\t\tfileData.append(\"\t\t}\\r\\n\");\n\t\tfileData.append(\"\t\treturn \\\"__Garbage__\\\";\\r\\n\");\n\t\tfileData.append(\"\t}\\n\");\n\t\t\n//COMPUTE AGGREGATES METHOD\n\t\tfileData.append(\"\\r\\n\tpublic void computeAggregates(ArrayList<InputRow> inputResultSet) {\t\\r\\n\" + \n\t\t\t\t\"\t\tdouble val=0;\\r\\n\"+\n\t\t\t\t\"\t\tfor(int i=0; i<=payload.getnumber_of_grouping_variables();i++) {\\r\\n\" + \n\t\t\t\t\"\t\t\tlistMapsAggregates.add(new HashMap<String, String>());\\r\\n\" + \n\t\t\t\t\"\t\t}\\r\\n\" + \n\t\t\t\t\"\t\tfor(int i=0;i<payload.getnumber_of_aggregate_functions();i++) {\\r\\n\" + \n\t\t\t\t\"\t\t\tString[] temp = payload.getaggregate_functions().get(i).split(\\\"_\\\",3);\\r\\n\" + \n\t\t\t\t\"\t\t\tlistMapsAggregates.get(Integer.parseInt(temp[0])).put(temp[1], temp[2]);//(key,value) -> (aggregate function , column name)\\r\\n\" + \n\t\t\t\t\"\t\t}\\r\\n\"+\n\t\t\t\t\"\t\tint nGroupingVariables=0;\\r\\n\"+\n\t\t\t\t\"\t\taggregatesMap = new HashMap<>();\\r\\n\"+\n\t\t\t\t\"\t\tHashMap<String,Double> tempAggregatesMap;\\r\\n\");\n\t\t\n\t\tfor(int nGroupingVariables=0;nGroupingVariables<=payload.getnumber_of_grouping_variables();nGroupingVariables++) {\n\t\t\tfileData.append(\"\\n\t\tnGroupingVariables=\"+nGroupingVariables+\";\\r\\n\");\n\t\t\tfileData.append(\n\t\t\t\t\t\t\t\"\t\ttempAggregatesMap = new HashMap<String,Double>();\\r\\n\" + \n\t\t\t\t\t\t\t\"\t\t\\r\\n\" + \n\t\t\t\t\t\t\t\"\t\tfor(int i=0;i<allGroupKeyRows.get(nGroupingVariables).size(); i++) {\\r\\n\" + \n\t\t\t\t\t\t\t\"\t\t\tInputRow zeroRow = allGroupKeyRows.get(nGroupingVariables).get(i);\\r\\n\" );\n\t\t\t\n\t\t\t//MFvsEMF\n\t\t\tif(isGroupMF(nGroupingVariables)) fileData.append(\"\t\t\tfor(InputRow row: allGroups.get(nGroupingVariables).get(allGroupKeyStrings.get(nGroupingVariables).get(i)))\t{\\r\\n\");\n\t\t\telse fileData.append(\"\t\t\tfor(InputRow row: inputResultSet) {\\r\\n\");\n\t\t\t\n\t\t\tfileData.append(\"\t\t\t\tString condition = payload.getsuch_that_predicates().get(nGroupingVariables);\\r\\n\" + \n\t\t\t\t\t\t\t\"\t\t\t\tString str = allGroupKeyStrings.get(nGroupingVariables).get(i);\\r\\n\" + \n\t\t\t\t\t\t\t\"\t\t\t\tArrayList<String> strList = new ArrayList<String>();\\r\\n\" + \n\t\t\t\t\t\t\t\"\t\t\t\tfor(int j=0;j<=payload.getnumber_of_grouping_variables();j++) strList.add(str);\\r\\n\" +\n\t\t\t\t\t\t\t\"\t\t\t\tcondition= prepareClause(row, zeroRow, condition, str, strList);\\r\\n\" + \n\t\t\t\t\t\t\t\"\t\t\t\tif(condition.equals(\\\"discard_invalid_entry\\\") || !Boolean.parseBoolean(expTree.execute(condition))) continue;\\r\\n\"\n\t\t\t\t\t\t\t);\n\t\t\tString key1 = nGroupingVariables+\"_sum_\"+listMapsAggregates.get(nGroupingVariables).get(\"sum\");\n\t\t\tString key2 = nGroupingVariables+\"_avg_\"+listMapsAggregates.get(nGroupingVariables).get(\"avg\");\n\t\t\tString key3 = nGroupingVariables+\"_min_\"+listMapsAggregates.get(nGroupingVariables).get(\"min\");\n\t\t\tString key4 = nGroupingVariables+\"_max_\"+listMapsAggregates.get(nGroupingVariables).get(\"max\");\n\t\t\tString key5 = nGroupingVariables+\"_count_\"+listMapsAggregates.get(nGroupingVariables).get(\"count\");\n\t\t\tString key6 = nGroupingVariables+\"_count_\"+listMapsAggregates.get(nGroupingVariables).get(\"avg\");\n\t\t\t\n\t\t\tif(listMapsAggregates.get(nGroupingVariables).containsKey(\"sum\")) \n\t\t\t\tfileData.append(\"\t\t\t\tString key1=\\\"\"+key1+\"\\\";\\r\\n\");\n\t\t\tif(listMapsAggregates.get(nGroupingVariables).containsKey(\"avg\")) {\n\t\t\t\tfileData.append(\"\t\t\t\tString key2=\\\"\"+key2+\"\\\";\\r\\n\");\n\t\t\t\tfileData.append(\"\t\t\t\tString key6=\\\"\"+key6+\"\\\";\\r\\n\");\n\t\t\t}\n\t\t\tif(listMapsAggregates.get(nGroupingVariables).containsKey(\"min\"))\n\t\t\t\tfileData.append(\"\t\t\t\tString key3=\\\"\"+key3+\"\\\";\\r\\n\");\n\t\t\tif(listMapsAggregates.get(nGroupingVariables).containsKey(\"max\"))\n\t\t\t\tfileData.append(\"\t\t\t\tString key4=\\\"\"+key4+\"\\\";\\r\\n\");\n\t\t\tif(listMapsAggregates.get(nGroupingVariables).containsKey(\"count\"))\n\t\t\t\tfileData.append(\"\t\t\t\tString key5=\\\"\"+key5+\"\\\";\\r\\n\");\n\t\t\t\n\t\t\tfileData.append(\"\t\t\t\tfor(String ga: payload.getGroupingAttributesOfAllGroups().get(nGroupingVariables)) {\\r\\n\");\n\t\t\tif(listMapsAggregates.get(nGroupingVariables).containsKey(\"sum\")) \n\t\t\t\tfileData.append(\"\t\t\t\t\tkey1=key1+\\\"_\\\"+ getGroupingVariable(helper.columnMapping.get(ga), zeroRow);\\r\\n\");\n\t\t\tif(listMapsAggregates.get(nGroupingVariables).containsKey(\"avg\")) {\n\t\t\t\tfileData.append(\"\t\t\t\t\tkey2=key2+\\\"_\\\"+ getGroupingVariable(helper.columnMapping.get(ga), zeroRow);\\r\\n\");\n\t\t\t\tfileData.append(\"\t\t\t\t\tkey6=key6+\\\"_\\\"+ getGroupingVariable(helper.columnMapping.get(ga), zeroRow);\\r\\n\");\n\t\t\t}\n\t\t\tif(listMapsAggregates.get(nGroupingVariables).containsKey(\"min\"))\n\t\t\t\tfileData.append(\"\t\t\t\t\tkey3=key3+\\\"_\\\"+ getGroupingVariable(helper.columnMapping.get(ga), zeroRow);\\r\\n\");\n\t\t\tif(listMapsAggregates.get(nGroupingVariables).containsKey(\"max\"))\n\t\t\t\tfileData.append(\"\t\t\t\t\tkey4=key4+\\\"_\\\"+ getGroupingVariable(helper.columnMapping.get(ga), zeroRow);\\r\\n\");\n\t\t\tif(listMapsAggregates.get(nGroupingVariables).containsKey(\"count\"))\n\t\t\t\tfileData.append(\"\t\t\t\t\tkey5=key5+\\\"_\\\"+ getGroupingVariable(helper.columnMapping.get(ga), zeroRow);\\r\\n\");\n\t\t\tfileData.append(\"\t\t\t\t}\\r\\n\");\n\t\t\t\n\t\t\tif(listMapsAggregates.get(nGroupingVariables).containsKey(\"sum\")) {\n\t\t\t\tfileData.append(\"\t\t\tval=tempAggregatesMap.getOrDefault(key1, 0.0)+Double.parseDouble(getGroupingVariable(helper.columnMapping.get(listMapsAggregates.get(nGroupingVariables).get(\\\"sum\\\")), row));\\r\\n\" + \n\t\t\t\t\"\t\t\ttempAggregatesMap.put(key1, val);\\r\\n\");\n\t\t\t}\n\t\t\tif(listMapsAggregates.get(nGroupingVariables).containsKey(\"avg\")) {\n\t\t\t\tfileData.append(\"\t\t\tval=tempAggregatesMap.getOrDefault(key2, 0.0)+Double.parseDouble(getGroupingVariable(helper.columnMapping.get(listMapsAggregates.get(nGroupingVariables).get(\\\"avg\\\")), row));\\r\\n\"+\n\t\t\t\t\"\t\t\ttempAggregatesMap.put(key2, val);\\r\\n\"+\n\t\t\t\t\"\t\t\ttempAggregatesMap.put(key6, tempAggregatesMap.getOrDefault(key6, 0.0)+1);\\r\\n\");\n\t\t\t}\n\t\t\tif(listMapsAggregates.get(nGroupingVariables).containsKey(\"min\")) {\n\t\t\t\tfileData.append(\"\t\t\tval=Math.min( tempAggregatesMap.getOrDefault(key3, Double.MAX_VALUE) , Double.parseDouble(getGroupingVariable(helper.columnMapping.get(listMapsAggregates.get(nGroupingVariables).get(\\\"min\\\")), row)));\\r\\n\"+\n\t\t\t\t\"\t\t\ttempAggregatesMap.put(key3, val);\\r\\n\");\n\t\t\t}\n\t\t\tif(listMapsAggregates.get(nGroupingVariables).containsKey(\"max\")) {\n\t\t\t\tfileData.append(\"\t\t\tval=Math.max( tempAggregatesMap.getOrDefault(key4, Double.MIN_VALUE) , Double.parseDouble(getGroupingVariable(helper.columnMapping.get(listMapsAggregates.get(nGroupingVariables).get(\\\"max\\\")), row)));\\r\\n\"+\n\t\t\t\t\"\t\t\ttempAggregatesMap.put(key4, val);\");\n\t\t\t}\n\t\t\tif(listMapsAggregates.get(nGroupingVariables).containsKey(\"count\")) {\n\t\t\t\tfileData.append(\"\t\t\ttempAggregatesMap.put(key5, tempAggregatesMap.getOrDefault(key5, 0.0)+1);\\r\\n\");\n\t\t\t}\n\t\t\tfileData.append(\"\t\t\t}\\r\\n\");\n\t\t\tfileData.append(\"\t\t}\\r\\n\");\n\t\t\tif(listMapsAggregates.get(nGroupingVariables).containsKey(\"avg\")) {\n\t\t\t\tfileData.append(\n\t\t\t\t\"\t\tfor(String key: tempAggregatesMap.keySet()) {\\r\\n\"+\n\t\t\t\t\"\t\t\tif(key.contains(\\\"_avg_\\\"))\\r\\n\"+\n\t\t\t\t\"\t\t\t\ttempAggregatesMap.put(key, tempAggregatesMap.get(key)/tempAggregatesMap.get(key.replace(\\\"_avg_\\\", \\\"_count_\\\")));\\r\\n\"+\n\t\t\t\t\"\t\t}\\r\\n\");\n\t\t\t}\n\t\t\tfileData.append(\"\t\taggregatesMap.putAll(tempAggregatesMap);\\r\\n\");\n\t\t}\n\t\t\n\t\tfileData.append(\"\t}\\n\");\n\n//PREPARE THE RESULTS AND ADD THEM TO A LIST OF OUTPUTROW\n\t\tfileData.append(\"\\r\\n\tpublic ArrayList<OutputRow> createOutputResultSet() {\\r\\n\" + \n\t\t\t\t\"\t\tArrayList<OutputRow> outputRowList = new ArrayList<OutputRow>();\\r\\n\"+\n\t\t\t\t\"\t\tfor(int i=0; i<allGroupKeyRows.get(0).size();i++) {\\r\\n\" + \n\t\t\t\t\"\t\t\tString str=allGroupKeyStrings.get(0).get(i);\\r\\n\" + \n\t\t\t\t\"\t\t\tString[] tempStr = str.split(\\\"_\\\");\\r\\n\" + \n\t\t\t\t\"\t\t\tArrayList<String> strList = new ArrayList<String>();\\r\\n\" + \n\t\t\t\t\"\t\t\tfor(int j=0; j<=payload.getnumber_of_grouping_variables(); j++) {\\r\\n\" + \n\t\t\t\t\"\t\t\t\tString ss = \\\"\\\";\\r\\n\" + \n\t\t\t\t\"\t\t\t\tint k=0;\\r\\n\" + \n\t\t\t\t\"\t\t\t\tfor(String gz: payload.getgrouping_attributes()) {\\r\\n\" + \n\t\t\t\t\"\t\t\t\t\tif(payload.getGroupingAttributesOfAllGroups().get(j).contains(gz)) ss=ss+tempStr[k++]+\\\"_\\\";\\r\\n\" + \n\t\t\t\t\"\t\t\t\t\telse k++;\\r\\n\" + \n\t\t\t\t\"\t\t\t\t}\\r\\n\" + \n\t\t\t\t\"\t\t\t\tstrList.add(ss.substring(0, ss.length()-1));\\r\\n\" + \n\t\t\t\t\"\t\t\t}\\r\\n\" + \n\t\t\t\t\"\t\t\t//having check\\r\\n\" + \n\t\t\t\t\"\t\t\tif(payload.isHavingClause()) {\\r\\n\" + \n\t\t\t\t\"\t\t\t\tString condition= prepareClause(allGroupKeyRows.get(0).get(i), allGroupKeyRows.get(0).get(i), payload.getHavingClause(), str, strList);\\r\\n\" + \n\t\t\t\t\"\t\t\t\tif(condition.equals(\\\"discard_invalid_entry\\\") || !Boolean.parseBoolean(expTree.execute(condition))) continue;\\r\\n\" + \n\t\t\t\t\"\t\t\t}\\r\\n\" + \n\t\t\t\t\"\\r\\n\" + \n\t\t\t\t\"\t\t\tOutputRow outputRow= convertInputToOutputRow(allGroupKeyRows.get(0).get(i), str, strList);\\r\\n\"+\n\t\t\t\t\"\t\t\tif(outputRow!=null){\\r\\n\" + \n\t\t\t\t\"\t\t\t\toutputRowList.add(outputRow);\\r\\n\"+\n\t\t\t\t\"\t\t\t}\\r\\n\"+\t\n\t\t\t\t\"\t\t}\\r\\n\" + \n\t\t\t\t\"\t\treturn outputRowList;\\r\\n\"+\n\t\t\t\t\"\t}\\n\");\n\t\t\n//PRINT THE OUTPUT ROW\n\t\tfileData.append(\"\\r\\n\tpublic void printOutputResultSet(ArrayList<OutputRow> outputResultSet) throws IOException{\\r\\n\");\n\t\tfileData.append(\"\t\tCalendar now = Calendar.getInstance();\\r\\n\" + \n\t\t\t\t\"\t\tDateFormat dateFormat = new SimpleDateFormat(\\\"MM/dd/yyyy HH:mm:ss\\\");\\r\\n\" + \n\t\t\t\t\"\t\tStringBuilder fileData = new StringBuilder();\\r\\n\" + \n\t\t\t\t\"\t\tfileData.append(\\\"TIME (MM/dd/yyyy HH:mm:ss)::::\\\"+dateFormat.format(now.getTime())+\\\"\\\\r\\\\n\\\");\\r\\n\" + \n\t\t\t\t\"\t\tString addDiv = \\\" -------------- \\\";\\r\\n\" + \n\t\t\t\t\"\t\tString divide = \\\"\\\";\\r\\n\" + \n\t\t\t\t\"\t\tString header=\\\"\\\";\"+\n\t\t\t\t\"\t\tfor(String select: payload.getselect_variables()) {\\r\\n\" + \n\t\t\t\t\"\t\t\tif(select.contains(\\\"0_\\\")) select=select.substring(2);\\r\\n\" + \n\t\t\t\t\"\t\t\theader=header+\\\" \\\"+select;\\r\\n\" + \n\t\t\t\t\"\t\t\tfor(int i=0;i<14-select.length();i++) header=header+\\\" \\\";\\r\\n\" + \n\t\t\t\t\"\t\t\tdivide=divide+addDiv;\\r\\n\"+\n\t\t\t\t\"\t\t}\\r\\n\" + \n\t\t\t\t\"\t\tSystem.out.println(divide); fileData.append(divide+\\\"\\\\r\\\\n\\\");\\r\\n\" + \n\t\t\t\t\"\t\tSystem.out.println(header); fileData.append(header+\\\"\\\\r\\\\n\\\");\\r\\n\" + \n\t\t\t\t\"\t\tSystem.out.println(divide); fileData.append(divide+\\\"\\\\r\\\\n\\\");\\r\\n\" + \n\t\t\t\t//\"\t\tSystem.out.println(); fileData.append(\\\"\\\\r\\\\n\\\");\\r\\n\" + \n\t\t\t\t\"\t\tString ansString=\\\"\\\";\\r\\n\" + \n\t\t\t\t\"\t\tDecimalFormat df = new DecimalFormat(\\\"#.####\\\");\\r\\n\");\n\t\tfileData.append(\"\t\tfor(OutputRow outputRow: outputResultSet) {\\r\\n\");\n\t\tfileData.append(\"\t\t\tString answer=\\\"\\\";\\r\\n\");\n\t\t\n\t\tfor(String select: payload.getselect_variables()) {\n\t\t\tif(helper.columnMapping.containsKey(select)) {\n\t\t\t\tint col = helper.columnMapping.get(select);\n\t\t\t\tif(col==0|| col==1|| col==5) {\n\t\t\t\t\t//string\n\t\t\t\t\tfileData.append(\"\t\t\tansString=outputRow.get\"+varPrefix+select+\"();\\r\\n\");\n\t\t\t\t\tfileData.append(\"\t\t\tanswer=answer+\\\" \\\"+ansString;\\r\\n\");\n\t\t\t\t\tfileData.append(\"\t\t\tfor(int k=0;k<14-ansString.length();k++) answer=answer+\\\" \\\";\\r\\n\");\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\t//int\n\t\t\t\t\tfileData.append(\"\t\t\tansString = Integer.toString(outputRow.get\"+varPrefix+select+\"());\\r\\n\");\n\t\t\t\t\tfileData.append(\"\t\t\tfor(int k=0;k<12-ansString.length();k++) answer=answer+\\\" \\\";\\r\\n\");\n\t\t\t\t\tfileData.append(\"\t\t\tanswer=answer+ansString+\\\" \\\";\\r\\n\");\n\t\t\t\t}\n\t\t\t}\n\t\t\telse {\n\t\t\t\t//double\n\t\t\t\tif(select.contains(\"/\")) select=select.replaceAll(\"/\", \"_divide_\");\n\t\t\t\tif(select.contains(\"*\")) select=select.replaceAll(\"*\", \"_multiply_\");\n\t\t\t\tif(select.contains(\"+\")) select=select.replaceAll(\"+\", \"_add_\");\n\t\t\t\tif(select.contains(\"-\")) select=select.replaceAll(\"-\", \"_minus_\");\n\t\t\t\tif(select.contains(\")\")) select=select.replaceAll(\"[)]+\", \"\");\n\t\t\t\tif(select.contains(\"(\")) select=select.replaceAll(\"[(]+\", \"\");\n\t\t\t\tfileData.append(\"\t\t\tansString = df.format(outputRow.get\"+varPrefix+select+\"());\\r\\n\");\n\t\t\t\tfileData.append(\"\t\t\tfor(int k=0;k<12-ansString.length();k++) answer=answer+\\\" \\\";\\r\\n\");\n\t\t\t\tfileData.append(\"\t\t\tanswer=answer+ansString+\\\" \\\";\\r\\n\");\n\t\t\t}\n\t\t}\n\t\tfileData.append(\"\t\t\tSystem.out.println(answer); fileData.append(answer+\\\"\\\\r\\\\n\\\");\\r\\n\");\n\t\tfileData.append(\"\t\t}\\r\\n\");\n\t\tfileData.append(\"\t\tFileOutputStream fos = new FileOutputStream(\\\"queryOutput/\"+payload.fileName+\"\\\");\\r\\n\" + \n\t\t\t\t\"\t\tfos.write(fileData.toString().getBytes());\\r\\n\" + \n\t\t\t\t\"\t\tfos.flush();\\r\\n\" + \n\t\t\t\t\"\t\tfos.close();\\r\\n\");\n\t\tfileData.append(\"\t}\\r\\n\");\n\t\t\n\t\t\n//DRIVER METHOD OF THE QUERY PROCESSOR\n\t\tfileData.append(\"\\r\\n\tpublic void process() throws IOException{\\r\\n\" + \n\t\t\t\t\"\t\tArrayList<InputRow> inputResultSet = createInputSet();\\r\\n\" + \n\t\t\t\t\"\t\tif(payload.getIsWhereClause()) inputResultSet = executeWhereClause(inputResultSet);\\r\\n\" + \n\t\t\t\t\"\t\tif(payload.getnumber_of_grouping_variables()>0) createListsBasedOnSuchThatPredicate(inputResultSet);\\r\\n\" + \n\t\t\t\t\"\t\tcomputeAggregates(inputResultSet);\\r\\n\" + \n\t\t\t\t\"\t\tArrayList<OutputRow> outputResultSet = createOutputResultSet();\\r\\n\" + \n\t\t\t\t\"\t\tprintOutputResultSet(outputResultSet);\\r\\n\"+\n\t\t\t\t\"\t}\\n\");\n\t\t\n\t\tfileData.append(\"}\");\n\t\tFileOutputStream fos = new FileOutputStream(\"src/dbmsProject/QueryProcessor.java\");\n\t\tfos.write(fileData.toString().getBytes());\n\t\tfos.flush();\n\t\tfos.close();\n\t}",
"<R> ProcessOperation<R> map(RowMapper<R> rowMapper);",
"public Query() {\n\n// oriToRwt = new HashMap();\n// oriToRwt.put(); // TODO\n }",
"@ZenCodeType.Method\n default IData map(Function<IData, IData> operation) {\n \n return operation.apply(this);\n }",
"public MapReduceToCollectionOperation action(final String action) {\n notNull(\"action\", action);\n isTrue(\"action must be one of: \\\"replace\\\", \\\"merge\\\", \\\"reduce\\\"\", VALID_ACTIONS.contains(action));\n this.action = action;\n return this;\n }",
"@Test\n public void testWeatherPool() throws FileNotFoundException, IOException {\n List<Tuple> input = getTuplesFromFile(\"mapreduceExamples/weather.txt\");\n \n MapReduceController mr = new MapReduceController();\n \n mr.addJob(input, new Instructions() {\n \n @Override\n public List<Tuple> map(Tuple input) {\n return weatherMap(input);\n }\n \n @Override\n public Tuple reduce(List<Tuple> input) {\n return weatherReduce(input);\n }\n \n }).executeThreadPool(2);\n \n \n List<Tuple> output = mr.gatherResult();\n \n assertEquals(3, output.size());\n for(Tuple tup : output) {\n assertTuple(tup, \"PA\", \"86 54\");\n assertTuple(tup, \"TX\", \"97 75\");\n assertTuple(tup, \"CA\", \"106 61\");\n }\n }",
"@Override\n public void initialize() {\n int numReduceTasks = conf.getNumReduceTasks();\n String jobID = taskAttemptID.getJobID();\n File mapOutputFolder = new File(\"mapoutput\");\n if (!mapOutputFolder.exists()) {\n mapOutputFolder.mkdir();\n }\n for (int reduceID = 0; reduceID < numReduceTasks; reduceID++) {\n outputFiles.add(\"mapoutput/\" + jobID + \"_r-\" + reduceID + \"_\" + this.partition);\n }\n }",
"static AggregateOperation compose(Iterable<AggregateOperation> operations) {\n // NOTE(user): It's possible to replace the following two sets with a single map.\n Set<SegmentId> segmentsToRemove = new TreeSet<SegmentId>(segmentComparator);\n Set<SegmentId> segmentsToAdd = new TreeSet<SegmentId>(segmentComparator);\n Set<SegmentId> segmentsToEndModifying = new TreeSet<SegmentId>(segmentComparator);\n Set<SegmentId> segmentsToStartModifying = new TreeSet<SegmentId>(segmentComparator);\n Set<ParticipantId> participantsToRemove = new TreeSet<ParticipantId>(participantComparator);\n Set<ParticipantId> participantsToAdd = new TreeSet<ParticipantId>(participantComparator);\n Map<String, DocOpList> docOps = new TreeMap<String, DocOpList>();\n for (AggregateOperation operation : operations) {\n composeIds(operation.segmentsToRemove, segmentsToRemove, segmentsToAdd);\n composeIds(operation.segmentsToAdd, segmentsToAdd, segmentsToRemove);\n composeIds(operation.segmentsToEndModifying, segmentsToEndModifying, segmentsToStartModifying);\n composeIds(operation.segmentsToStartModifying, segmentsToStartModifying, segmentsToEndModifying);\n composeIds(operation.participantsToRemove, participantsToRemove, participantsToAdd);\n composeIds(operation.participantsToAdd, participantsToAdd, participantsToRemove);\n for (DocumentOperations documentOps : operation.docOps) {\n DocOpList docOpList = docOps.get(documentOps.id);\n if (docOpList != null) {\n docOps.put(documentOps.id, docOpList.concatenateWith(documentOps.operations));\n } else {\n docOps.put(documentOps.id, documentOps.operations);\n }\n }\n }\n return new AggregateOperation(\n new ArrayList<SegmentId>(segmentsToRemove),\n new ArrayList<SegmentId>(segmentsToAdd),\n new ArrayList<SegmentId>(segmentsToEndModifying),\n new ArrayList<SegmentId>(segmentsToStartModifying),\n new ArrayList<ParticipantId>(participantsToRemove),\n new ArrayList<ParticipantId>(participantsToAdd),\n mapToList(docOps));\n }",
"Map<Element, Map<Element, Element>> getOperationMap();",
"OpFunction createOpFunction();",
"AggregateOperation() {\n segmentsToRemove = Collections.emptyList();\n segmentsToAdd = Collections.emptyList();\n segmentsToEndModifying = Collections.emptyList();\n segmentsToStartModifying = Collections.emptyList();\n participantsToRemove = Collections.emptyList();\n participantsToAdd = Collections.emptyList();\n docOps = Collections.emptyList();\n }",
"public abstract <X extends OSHDBMapReducible> MapReducer<X> createMapReducer(Class<X> forClass);",
"public interface FilterOperation {\n\n boolean check(Map<String, String> values);\n}",
"public void addOperation(Operation operation) {\n \tcandidateOPs.add(operation);\n totalTime += operation.getProcessingTime();\n }",
"OperationContinuation createOperationContinuation();",
"Operations operations();",
"static AggregateOperation createAggregate(WaveletOperation operation) {\n if (operation instanceof WaveletBlipOperation) {\n return new AggregateOperation((WaveletBlipOperation) operation);\n } else if (operation instanceof RemoveParticipant) {\n return new AggregateOperation((RemoveParticipant) operation);\n } else if (operation instanceof AddParticipant) {\n return new AggregateOperation((AddParticipant) operation);\n } else if (operation instanceof AddSegment) {\n return new AggregateOperation((AddSegment) operation);\n } else if (operation instanceof RemoveSegment) {\n return new AggregateOperation((RemoveSegment) operation);\n } else if (operation instanceof StartModifyingSegment) {\n return new AggregateOperation((StartModifyingSegment) operation);\n } else if (operation instanceof EndModifyingSegment) {\n return new AggregateOperation((EndModifyingSegment) operation);\n }\n assert operation instanceof NoOp : \"Operation is an unhandled type: \" + operation.getClass();\n return new AggregateOperation();\n }",
"OperationDTO createOperation(ItemType sourceType, long sourceId, long targetId, String userVcnId) throws LockFailedException;",
"UOp createUOp();",
"protected SQLBuffer toOperation(String op, SQLBuffer selects, \r\n SQLBuffer from, SQLBuffer where, SQLBuffer group, SQLBuffer having, \r\n SQLBuffer order, boolean distinct, boolean forUpdate, long start, \r\n long end,String forUpdateString) {\r\n SQLBuffer buf = new SQLBuffer(this);\r\n buf.append(op);\r\n boolean range = start != 0 || end != Long.MAX_VALUE;\r\n if (range && rangePosition == RANGE_PRE_DISTINCT)\r\n appendSelectRange(buf, start, end);\r\n if (distinct)\r\n buf.append(\" DISTINCT\");\r\n if (range && rangePosition == RANGE_POST_DISTINCT)\r\n appendSelectRange(buf, start, end);\r\n buf.append(\" \").append(selects).append(\" FROM \").append(from);\r\n \r\n if (where != null && !where.isEmpty())\r\n buf.append(\" WHERE \").append(where);\r\n if (group != null && !group.isEmpty())\r\n buf.append(\" GROUP BY \").append(group);\r\n if (having != null && !having.isEmpty()) {\r\n assertSupport(supportsHaving, \"SupportsHaving\");\r\n buf.append(\" HAVING \").append(having);\r\n }\r\n if (order != null && !order.isEmpty())\r\n buf.append(\" ORDER BY \").append(order);\r\n if (range && rangePosition == RANGE_POST_SELECT)\r\n appendSelectRange(buf, start, end);\r\n \r\n if (!simulateLocking ) {\r\n assertSupport(supportsSelectForUpdate, \"SupportsSelectForUpdate\");\r\n buf.append(\" \").append(forUpdateString);\r\n }\r\n if (range && rangePosition == RANGE_POST_LOCK)\r\n appendSelectRange(buf, start, end);\r\n return buf;\r\n }",
"public ApplyExample() {\r\n oredCriteria = new ArrayList<Criteria>();\r\n }",
"public MapSum() {\n\n }",
"public interface OperationMapper {\n\n\tOperation get(int id);\n\n\tvoid save(Operation operation);\n\n\tvoid update(Operation operation);\n\n\tvoid delete(int id);\n\n\tList<Operation> findAll();\n\n List<Operation> findByResource(int resourceId);\n\n Operation findOperationByName(String name);\n\n Operation getByUrl(String url);\n}",
"UpdateOperationConfiguration build();",
"private void addOp(final Op op) {\n result.add(op);\n }",
"public void setOperation(String op) {this.operation = op;}",
"@Test\n public void test2() throws Exception {\n String query = \"A =LOAD 'file.txt' AS (a:(u,v), b, c);\" +\n \"B = FOREACH A GENERATE $0, b;\" +\n \"C = FILTER B BY \" + SIZE.class.getName() +\"(TOTUPLE(*)) > 5;\" +\n \"STORE C INTO 'empty';\"; \n LogicalPlan newLogicalPlan = buildPlan( query );\n\n Operator load = newLogicalPlan.getSources().get( 0 );\n Assert.assertTrue( load instanceof LOLoad );\n Operator fe1 = newLogicalPlan.getSuccessors( load ).get( 0 );\n Assert.assertTrue( fe1 instanceof LOForEach );\n Operator filter = newLogicalPlan.getSuccessors( fe1 ).get( 0 );\n Assert.assertTrue( filter instanceof LOFilter );\n Operator fe2 = newLogicalPlan.getSuccessors( filter ).get( 0 );\n Assert.assertTrue( fe2 instanceof LOForEach );\n }",
"@Test\n public void test4() throws Exception {\n String query = \"A =LOAD 'file.txt' AS (a:(u,v), b, c);\" +\n \"B = FOREACH A GENERATE $0, b, flatten(1);\" +\n \"C = FILTER B BY \" + SIZE.class.getName() +\"(TOTUPLE(*)) > 5;\" +\n \"STORE C INTO 'empty';\"; \n LogicalPlan newLogicalPlan = buildPlan( query );\n\n Operator load = newLogicalPlan.getSources().get( 0 );\n Assert.assertTrue( load instanceof LOLoad );\n Operator fe1 = newLogicalPlan.getSuccessors( load ).get( 0 );\n Assert.assertTrue( fe1 instanceof LOForEach );\n Operator fe2 = newLogicalPlan.getSuccessors( fe1 ).get( 0 );\n Assert.assertTrue( fe2 instanceof LOForEach );\n Operator filter = newLogicalPlan.getSuccessors( fe2 ).get( 0 );\n Assert.assertTrue( filter instanceof LOFilter );\n }",
"@Override\n public boolean rewritePre(Mutable<ILogicalOperator> opRef, IOptimizationContext context)\n throws AlgebricksException {\n\n boolean cboMode = this.getCBOMode(context);\n boolean cboTestMode = this.getCBOTestMode(context);\n\n if (!(cboMode || cboTestMode)) {\n return false;\n }\n\n // If we reach here, then either cboMode or cboTestMode is true.\n // If cboTestMode is true, then we use predefined cardinalities for datasets for asterixdb regression tests.\n // If cboMode is true, then all datasets need to have samples, otherwise the check in doAllDataSourcesHaveSamples()\n // further below will return false.\n ILogicalOperator op = opRef.getValue();\n if (!(joinClause(op) || ((op.getOperatorTag() == LogicalOperatorTag.DISTRIBUTE_RESULT)))) {\n return false;\n }\n\n // if this join has already been seen before, no need to apply the rule again\n if (context.checkIfInDontApplySet(this, op)) {\n return false;\n }\n\n //joinOps = new ArrayList<>();\n allJoinOps = new ArrayList<>();\n newJoinOps = new ArrayList<>();\n leafInputs = new ArrayList<>();\n varLeafInputIds = new HashMap<>();\n outerJoinsDependencyList = new ArrayList<>();\n assignOps = new ArrayList<>();\n assignJoinExprs = new ArrayList<>();\n buildSets = new ArrayList<>();\n\n IPlanPrettyPrinter pp = context.getPrettyPrinter();\n printPlan(pp, (AbstractLogicalOperator) op, \"Original Whole plan1\");\n leafInputNumber = 0;\n boolean canTransform = getJoinOpsAndLeafInputs(op);\n\n if (!canTransform) {\n return false;\n }\n\n convertOuterJoinstoJoinsIfPossible(outerJoinsDependencyList);\n\n printPlan(pp, (AbstractLogicalOperator) op, \"Original Whole plan2\");\n int numberOfFromTerms = leafInputs.size();\n\n if (LOGGER.isTraceEnabled()) {\n String viewInPlan = new ALogicalPlanImpl(opRef).toString(); //useful when debugging\n LOGGER.trace(\"viewInPlan\");\n LOGGER.trace(viewInPlan);\n }\n\n if (buildSets.size() > 1) {\n buildSets.sort(Comparator.comparingDouble(o -> o.second)); // sort on the number of tables in each set\n // we need to build the smaller sets first. So we need to find these first.\n }\n joinEnum.initEnum((AbstractLogicalOperator) op, cboMode, cboTestMode, numberOfFromTerms, leafInputs, allJoinOps,\n assignOps, outerJoinsDependencyList, buildSets, varLeafInputIds, context);\n\n if (cboMode) {\n if (!doAllDataSourcesHaveSamples(leafInputs, context)) {\n return false;\n }\n }\n\n printLeafPlans(pp, leafInputs, \"Inputs1\");\n\n if (assignOps.size() > 0) {\n pushAssignsIntoLeafInputs(pp, leafInputs, assignOps, assignJoinExprs);\n }\n\n printLeafPlans(pp, leafInputs, \"Inputs2\");\n\n int cheapestPlan = joinEnum.enumerateJoins(); // MAIN CALL INTO CBO\n if (cheapestPlan == PlanNode.NO_PLAN) {\n return false;\n }\n\n PlanNode cheapestPlanNode = joinEnum.allPlans.get(cheapestPlan);\n\n generateHintWarnings();\n\n if (numberOfFromTerms > 1) {\n getNewJoinOps(cheapestPlanNode, allJoinOps);\n if (allJoinOps.size() != newJoinOps.size()) {\n return false; // there are some cases such as R OJ S on true. Here there is an OJ predicate but the code in findJoinConditions\n // in JoinEnum does not capture this. Will fix later. Just bail for now.\n }\n buildNewTree(cheapestPlanNode, newJoinOps, new MutableInt(0));\n opRef.setValue(newJoinOps.get(0));\n\n if (assignOps.size() > 0) {\n for (int i = assignOps.size() - 1; i >= 0; i--) {\n MutableBoolean removed = new MutableBoolean(false);\n removed.setFalse();\n pushAssignsAboveJoins(newJoinOps.get(0), assignOps.get(i), assignJoinExprs.get(i), removed);\n if (removed.isTrue()) {\n assignOps.remove(i);\n }\n }\n }\n\n printPlan(pp, (AbstractLogicalOperator) newJoinOps.get(0), \"New Whole Plan after buildNewTree 1\");\n ILogicalOperator root = addRemainingAssignsAtTheTop(newJoinOps.get(0), assignOps);\n printPlan(pp, (AbstractLogicalOperator) newJoinOps.get(0), \"New Whole Plan after buildNewTree 2\");\n printPlan(pp, (AbstractLogicalOperator) root, \"New Whole Plan after buildNewTree\");\n\n // this will be the new root\n opRef.setValue(root);\n\n if (LOGGER.isTraceEnabled()) {\n String viewInPlan = new ALogicalPlanImpl(opRef).toString(); //useful when debugging\n LOGGER.trace(\"viewInPlanAgain\");\n LOGGER.trace(viewInPlan);\n String viewOutPlan = new ALogicalPlanImpl(opRef).toString(); //useful when debugging\n LOGGER.trace(\"viewOutPlan\");\n LOGGER.trace(viewOutPlan);\n }\n\n if (LOGGER.isTraceEnabled()) {\n LOGGER.trace(\"---------------------------- Printing Leaf Inputs\");\n printLeafPlans(pp, leafInputs, \"Inputs\");\n // print joins starting from the bottom\n for (int i = newJoinOps.size() - 1; i >= 0; i--) {\n printPlan(pp, (AbstractLogicalOperator) newJoinOps.get(i), \"join \" + i);\n }\n printPlan(pp, (AbstractLogicalOperator) newJoinOps.get(0), \"New Whole Plan\");\n printPlan(pp, (AbstractLogicalOperator) root, \"New Whole Plan\");\n }\n\n // turn of this rule for all joins in this set (subtree)\n for (ILogicalOperator joinOp : newJoinOps) {\n context.addToDontApplySet(this, joinOp);\n }\n\n } else {\n buildNewTree(cheapestPlanNode);\n }\n\n return true;\n }",
"IOperationable create(String operationType);",
"@Test\n public void test3() throws Exception {\n String query = \"A =LOAD 'file.txt' AS (a:(u,v), b, c);\" +\n \"B = FOREACH A GENERATE $0, b;\" +\n \"C = FILTER B BY 8 > 5;\" +\n \"STORE C INTO 'empty';\"; \n LogicalPlan newLogicalPlan = buildPlan( query );\n\n Operator load = newLogicalPlan.getSources().get( 0 );\n Assert.assertTrue( load instanceof LOLoad );\n Operator filter = newLogicalPlan.getSuccessors( load ).get( 0 );\n Assert.assertTrue( filter instanceof LOFilter );\n Operator fe1 = newLogicalPlan.getSuccessors( filter ).get( 0 );\n Assert.assertTrue( fe1 instanceof LOForEach );\n Operator fe2 = newLogicalPlan.getSuccessors( fe1 ).get( 0 );\n Assert.assertTrue( fe2 instanceof LOForEach );\n }",
"private void configureOperations(ConfigExtractor cfg) {\n operations = new TreeMap<OperationType, OperationInfo>();\n Map<OperationType, OperationData> opinfo = cfg.getOperations();\n int totalAm = cfg.getOpCount();\n int opsLeft = totalAm;\n NumberFormat formatter = Formatter.getPercentFormatter();\n for (final OperationType type : opinfo.keySet()) {\n OperationData opData = opinfo.get(type);\n OperationInfo info = new OperationInfo();\n info.distribution = opData.getDistribution();\n int amLeft = determineHowMany(totalAm, opData, type);\n opsLeft -= amLeft;\n LOG\n .info(type.name() + \" has \" + amLeft + \" initial operations out of \"\n + totalAm + \" for its ratio \"\n + formatter.format(opData.getPercent()));\n info.amountLeft = amLeft;\n Operation op = factory.getOperation(type);\n // wrap operation in finalizer so that amount left gets decrements when\n // its done\n if (op != null) {\n Observer fn = new Observer() {\n public void notifyFinished(Operation op) {\n OperationInfo opInfo = operations.get(type);\n if (opInfo != null) {\n --opInfo.amountLeft;\n }\n }\n\n public void notifyStarting(Operation op) {\n }\n };\n info.operation = new ObserveableOp(op, fn);\n operations.put(type, info);\n }\n }\n if (opsLeft > 0) {\n LOG\n .info(opsLeft\n + \" left over operations found (due to inability to support partial operations)\");\n }\n }",
"public void mergingMapReduce(TimePeriod timePeriod) {\n\n\t\tSystem.out.println(\"Starting merging mapreduce...\");\n\n\t\tDBCollection dailyCollection = mongoOps\n\t\t\t\t.getCollection(DAILY_COLLECT_NAME);\n\n\t\tCalendar stDate = Calendar.getInstance();\n\t\tif (timePeriod.equals(TimePeriod.PASTWEEK)) {\n\t\t\tstDate.add(Calendar.DATE, -7);\n\t\t} else if (timePeriod.equals(TimePeriod.PASTMONTH)) {\n\t\t\tstDate.add(Calendar.DATE, -30);\n\t\t} else {\n\t\t\treturn;\n\t\t}\n\n\t\tSystem.out.println(\"Start date: \" + stDate.getTime().toString());\n\n\t\t// create pipeline operations, first with the $match\n\t\tDBObject matchObj = new BasicDBObject(\"_id.date\", new BasicDBObject(\n\t\t\t\t\"$gte\", counterDateFormat.format(stDate.getTime())));\n\t\tDBObject match = new BasicDBObject(\"$match\", matchObj);\n\n\t\t// build the $projection operation\n\t\tDBObject fields = new BasicDBObject(\"_id.id\", 1);\n\t\tfields.put(\"_id.type\", 1);\n\t\tfields.put(\"value\", 1);\n\t\tDBObject project = new BasicDBObject(\"$project\", fields);\n\n\t\t// the $group operation\n\t\tMap<String, Object> dbObjIdMap = new HashMap<String, Object>();\n\t\tdbObjIdMap.put(\"id\", \"$_id.id\");\n\t\tdbObjIdMap.put(\"type\", \"$_id.type\");\n\t\tDBObject groupFields = new BasicDBObject(\"_id\", new BasicDBObject(\n\t\t\t\tdbObjIdMap));\n\t\tgroupFields.put(\"value\", new BasicDBObject(\"$sum\", \"$value\"));\n\t\tDBObject group = new BasicDBObject(\"$group\", groupFields);\n\n\t\t// $out operation\n\t\tDBObject out = new BasicDBObject(\"$out\",\n\t\t\t\t(timePeriod.equals(TimePeriod.PASTWEEK) ? WEEKLY_COLLECT_NAME\n\t\t\t\t\t\t: MONTHLY_COLLECT_NAME));\n\n\t\tList<DBObject> pipeline = Arrays.asList(match, project, group, out);\n\t\tdailyCollection.aggregate(pipeline);\n\n\t\tSystem.out.println(\"Finished merging mapreduce\");\n\t}",
"public ServiceTaskExample() {\n oredCriteria = new ArrayList<Criteria>();\n }",
"@Override\n public void construct() {\n Metric metric =\n new CPU_Utilization(1) {\n @Override\n public MetricFlowUnit gather(Queryable queryable) {\n return MetricFlowUnit.generic();\n }\n };\n Symptom earthSymptom =\n new Symptom(1) {\n @Override\n public SymptomFlowUnit operate() {\n return SymptomFlowUnit.generic();\n }\n\n @Override\n public String name() {\n return EARTH_KEY;\n }\n };\n Symptom moonSymptom =\n new Symptom(1) {\n @Override\n public SymptomFlowUnit operate() {\n return SymptomFlowUnit.generic();\n }\n\n public String name() {\n return MOON_KEY;\n }\n };\n\n Metric skyLabCpu =\n new CPU_Utilization(1) {\n @Override\n public MetricFlowUnit gather(Queryable queryable) {\n return MetricFlowUnit.generic();\n }\n };\n Symptom skyLabsSymptom =\n new Symptom(1) {\n @Override\n public SymptomFlowUnit operate() {\n return SymptomFlowUnit.generic();\n }\n\n public String name() {\n return SKY_LABS_KEY;\n }\n };\n\n addLeaf(metric);\n addLeaf(skyLabCpu);\n earthSymptom.addAllUpstreams(Collections.singletonList(metric));\n moonSymptom.addAllUpstreams(Collections.singletonList(earthSymptom));\n skyLabsSymptom.addAllUpstreams(\n new ArrayList<Node<?>>() {\n {\n add(earthSymptom);\n add(moonSymptom);\n add(skyLabCpu);\n }\n });\n\n metric.addTag(LOCUS_KEY, EARTH_KEY);\n earthSymptom.addTag(LOCUS_KEY, EARTH_KEY);\n moonSymptom.addTag(LOCUS_KEY, MOON_KEY);\n skyLabCpu.addTag(LOCUS_KEY, SKY_LABS_KEY);\n skyLabsSymptom.addTag(LOCUS_KEY, SKY_LABS_KEY);\n }",
"public interface Operator {\n\n Map<String, Operator> oprators = Factory.instance();\n\n /**\n * calculate first operator second such as 1 + 2\n * @param first\n * @param second\n * @return\n */\n @NotNull\n BigDecimal calculate(@NotNull BigDecimal first, @NotNull BigDecimal second);\n\n int priority();\n\n\n\n class Factory {\n public static Map<String, Operator> instance() {\n Map<String, Operator> instance = new HashMap();\n\n instance.put(\"+\", new AddOperator());\n instance.put(\"-\", new SubOperator());\n instance.put(\"*\", new MultiOperator());\n instance.put(\"/\", new DiviOperator());\n\n return instance;\n }\n }\n\n}",
"@InterfaceAudience.Public\n Reducer compileReduce(String source, String language);",
"public Criteria(Map comparisonoperatorMap, Operator defaultComparisonOperator)\n\t{\n\t\tif (comparisonoperatorMap == null || defaultComparisonOperator == null)\n\t\t{\n\t\t\tthrow new NullPointerException(\"Criteria creation failed because operator map or default comparison operator was null.\");\n\t\t}\n\t\tmComparisonOperatorMap = comparisonoperatorMap;\n\t\tmDefaultComparisonOperator = defaultComparisonOperator;\n\t\tmLogicalOperatorMap = new HashMap();\n\t\tmDefaultLogicalOperator = new SimpleLogicalOperator(\"AND NOT\");\n\t}",
"@Test\n public void test1() throws Exception {\n String query = \"A =LOAD 'file.txt' AS (a:bag{(u,v)}, b, c);\" +\n \"B = FOREACH A GENERATE $0, b;\" +\n \"C = FILTER B BY \" + COUNT.class.getName() +\"($0) > 5;\" +\n \"STORE C INTO 'empty';\"; \n LogicalPlan newLogicalPlan = buildPlan( query );\n\n Operator load = newLogicalPlan.getSources().get( 0 );\n Assert.assertTrue( load instanceof LOLoad );\n Operator fe1 = newLogicalPlan.getSuccessors( load ).get( 0 );\n Assert.assertTrue( fe1 instanceof LOForEach );\n Operator filter = newLogicalPlan.getSuccessors( fe1 ).get( 0 );\n Assert.assertTrue( filter instanceof LOFilter );\n Operator fe2 = newLogicalPlan.getSuccessors( filter ).get( 0 );\n Assert.assertTrue( fe2 instanceof LOForEach );\n }",
"public KMeansOperator(Node com, InfinispanManager persistence, LogProxy log, Action action) {\n super(com, persistence, log, action);\n }",
"public static void mergingMapReduce(TimePeriod timePeriod) {\n\n\t\tSystem.out.println(\"Starting merging mapreduce...\");\n\n\t\tDBCollection dailyCollection = mongoOps\n\t\t\t\t.getCollection(DAILY_COLLECT_NAME);\n\n\t\tCalendar stDate = Calendar.getInstance();\n\t\tif (timePeriod.equals(TimePeriod.PASTWEEK)) {\n\t\t\tstDate.add(Calendar.DATE, -7);\n\t\t} else if (timePeriod.equals(TimePeriod.PASTMONTH)) {\n\t\t\tstDate.add(Calendar.DATE, -30);\n\t\t} else {\n\t\t\treturn;\n\t\t}\n\n\t\tSystem.out.println(\"Start date: \" + stDate.getTime().toString());\n\n\t\t// create pipeline operations, first with the $match\n\t\tDBObject matchObj = new BasicDBObject(\"_id.date\", new BasicDBObject(\n\t\t\t\t\"$gte\", counterDateFormat.format(stDate.getTime())));\n\t\tDBObject match = new BasicDBObject(\"$match\", matchObj);\n\n\t\t// build the $projection operation\n\t\tDBObject fields = new BasicDBObject(\"_id.id\", 1);\n\t\tfields.put(\"_id.type\", 1);\n\t\tfields.put(\"value\", 1);\n\t\tDBObject project = new BasicDBObject(\"$project\", fields);\n\n\t\t// the $group operation\n\t\tMap<String, Object> dbObjIdMap = new HashMap<String, Object>();\n\t\tdbObjIdMap.put(\"id\", \"$_id.id\");\n\t\tdbObjIdMap.put(\"type\", \"$_id.type\");\n\t\tDBObject groupFields = new BasicDBObject(\"_id\", new BasicDBObject(\n\t\t\t\tdbObjIdMap));\n\t\tgroupFields.put(\"value\", new BasicDBObject(\"$sum\", \"$value\"));\n\t\tDBObject group = new BasicDBObject(\"$group\", groupFields);\n\n\t\t// $out operation\n\t\tDBObject out = new BasicDBObject(\"$out\",\n\t\t\t\t(timePeriod.equals(TimePeriod.PASTWEEK) ? WEEKLY_COLLECT_NAME\n\t\t\t\t\t\t: MONTHLY_COLLECT_NAME));\n\n\t\tList<DBObject> pipeline = Arrays.asList(match, project, group, out);\n\t\tdailyCollection.aggregate(pipeline);\n\n\t\tSystem.out.println(\"Finished merging mapreduce\");\n\t}",
"@Override\r\n\tprotected void onReduceMp()\r\n\t{\n\t}",
"public Criteria(Map logicaloperatorMap, LogicalOperator defaultLogicalOperator)\n\t{\n\t\tif (logicaloperatorMap == null || defaultLogicalOperator == null)\n\t\t{\n\t\t\tthrow new NullPointerException(\"Criteria creation failed because operator map or default logical operator was null.\");\n\t\t}\n\t\tmComparisonOperatorMap = new HashMap();\n\t\tmDefaultComparisonOperator = Operator.EQUALS;\n\t\tmLogicalOperatorMap = logicaloperatorMap;\n\t\t\n\t\tmDefaultLogicalOperator = defaultLogicalOperator;\n\t}",
"void materialize(String output_path, Map<String,String> prefixes, String id_interlink, String s_dataSource, String s_class_restriction,\n String t_dataSource, String t_class_restriction, String type_aggregate,\n String metric, String[] input_props);",
"public static void main(String[] args) throws IOException, ClassNotFoundException, InterruptedException\n\t{\n\t\tCubeProperties cubePropertyObj = CubeProperties.readCubeProperties();\n\t\t\n\t\t// Map of dbColumn name and the name appearing of that column in Cube\n\t\tMap <String, String> dimensionMap = cubePropertyObj.getDimensionMap();\n\t\tString measure = cubePropertyObj.getMeasure();\n\t\tString fact = cubePropertyObj.getFact();\n\t\t\n\t\t// Query the mongodb to retrieve the dimension fields and fact\n\t\tQueryDB queryObj = new QueryDB();\n\t\t\n\t\t// Map of string concatenation of all dimension field values and the respective fact value\n\t\tMap<String,Integer> dimensionFactMap= queryObj.readDbData(dimensionMap, fact);\t\n\t\t\n\t\t//Path of file to store the query result later to be read by hadoop mapper \n\t\tPath queryResultFilePath = new Path(\"queryResults.txt\");\n\t\t\n\t\t// Write the query result in the path specified\n\t\tUtils utilsobj = new Utils();\n\t\tutilsobj.writeQueryResultToFile(queryResultFilePath, dimensionFactMap);\t\t\t\n\t\t\n // Create a new hadoop map reduce job\n Job job = new Job();\n\n // Set job name to locate it in the distributed environment\n job.setJarByClass(Main.class);\n job.setJobName(\"Sum across all dimensions\");\n \n // Path of folder to store the results of the hadoop reducer \n String reducerOutputFolderPath = \"out\";\n \n // Set input and output Path, note that we use the default input format\n // which is TextInputFormat (each record is a line of input)\n FileInputFormat.addInputPath(job, queryResultFilePath);\n FileOutputFormat.setOutputPath(job, new Path(reducerOutputFolderPath));\n\n // Set Mapper and Reducer class\n job.setMapperClass(SumMapper.class);\n job.setReducerClass(SumReducer.class);\n\n // Set Output key and value\n job.setOutputKeyClass(Text.class);\n job.setOutputValueClass(IntWritable.class);\n\n System.exit(job.waitForCompletion(true) ? 0 : 1);\n\t\t\n\t\t\n\t}",
"public ChainOperator(){\n\n }",
"public OpApplNode(UniqueString us, FormalParamNode[] funcName,\n ExprOrOpArgNode[] ops, FormalParamNode[][] pars,\n boolean[] isT, ExprNode[] rs, TreeNode stn,\n ModuleNode mn) {\n super(OpApplKind, stn);\n this.operands = ops;\n this.unboundedBoundSymbols = funcName;\n // Will be null except for function defs.\n // In that case it will be non-null initially\n // and will be changed to null if the function\n // turns out to be non-recursive.\n// this.isATuple = false;\n this.boundedBoundSymbols= pars;\n this.tupleOrs = isT;\n this.ranges = rs;\n this.operator = Context.getGlobalContext().getSymbol(us);\n // operator.match( this, mn );\n }",
"protected GenTreeOperation() {}",
"public <O extends FighterOperation> O apply(O operation);",
"public MapReduceOutput mapReduce(final String map, final String reduce, final String outputTarget,\n final DBObject query) {\n MapReduceCommand command = new MapReduceCommand(this, map, reduce, outputTarget, MapReduceCommand.OutputType.REDUCE, query);\n return mapReduce(command);\n }",
"public ParallelLongArrayWithFilter replaceWithMapping(LongOp op) {\r\n ex.invoke(new PAS.FJLTransform\r\n (this, firstIndex, upperBound, null, op));\r\n return this;\r\n }",
"@Test\n public void mapNew() {\n check(MAPNEW);\n query(EXISTS.args(MAPNEW.args(\"()\")), true);\n query(MAPSIZE.args(MAPNEW.args(\"()\")), 0);\n query(COUNT.args(MAPNEW.args(\"()\")), 1);\n query(MAPSIZE.args(MAPNEW.args(MAPNEW.args(\"()\"))), 0);\n }",
"public MapReduceOutput mapReduce(final String map, final String reduce, final String outputTarget,\n final MapReduceCommand.OutputType outputType, final DBObject query) {\n MapReduceCommand command = new MapReduceCommand(this, map, reduce, outputTarget, outputType, query);\n return mapReduce(command);\n }",
"public Command createOperationCommand(int operator, Operand operand1, Operand operand2);",
"public InMemoryCombiningReducer() {\n\n\t\t}",
"public Criteria(Map comparisonoperatorMap, Operator defaultComparisonOperator, Map logicalOperatorMap, LogicalOperator defaultLogicalOperator)\n\t{\n\t\tif (comparisonoperatorMap == null || defaultComparisonOperator == null || defaultLogicalOperator == null || logicalOperatorMap == null)\n\t\t{\n\t\t\tthrow new NullPointerException(\"Criteria creation failed because operator map or default operator was null.\");\n\t\t}\n\t\tmComparisonOperatorMap = comparisonoperatorMap;\n\t\tmDefaultComparisonOperator = defaultComparisonOperator;\n\t\tmLogicalOperatorMap = logicalOperatorMap;\n\t\tmDefaultLogicalOperator = defaultLogicalOperator;\n\t}",
"public ApplyopenExample() {\n oredCriteria = new ArrayList<Criteria>();\n }",
"public Preperation(String wordField, String summationField, char operation, String baseValue) {\n\n operator = operation;\n base = baseValue;\n System.out.println(\"base: \" + base);\n splitWord(wordField);//fill wordMap with words from the first text field\n summationLetters = splitLetters(summationField);//split the letters from the summation field into an array of strings\n summationWord = summationField.toUpperCase();\n // split the words in the wordMap into letters and create the letterMap\n for (int i = 0; i < wordMap.size(); i++) {\n for (int j = 0; j < wordMap.get(\"word\" + i).length; j++) {\n String temp;\n temp = splitLetters(wordMap.get(\"word\" + i).getName())[j];\n letterMap.put(\"W\" + i + \"L\" + j, temp);\n if (!uniqueLettersList.contains(temp)) {\n uniqueLettersList.add(temp);\n }\n }\n\n }\n //add the letters from the summation field into a map\n for (int i = 0; i < summationLetters.length; i++) {\n letterMap.put(\"S1l\" + i, summationLetters[i]);\n if (!uniqueLettersList.contains(summationLetters[i])) {\n uniqueLettersList.add(summationLetters[i]);\n }\n }\n System.out.println(letterMap);\n System.out.println(letterMap.get(\"W0l0\"));\n }",
"@Override\n\tpublic void addOperation(Operation op, ColumnOptMetadata optinfo) {\n\t}",
"public Operations() {\n initComponents();\n populateO();\n }",
"Counter registerOperation(Class<? extends Operation> operationType);",
"ArgMapRule createArgMapRule();",
"void applySummary(Operation operation, Method method);",
"public void AllReduce(long[] inData, long[] outData, MpiOp op) {\n\n long[] result = new long[inData.length];\n\n\n\n Reduce(inData, result, op, 0);\n\n //REDUCE_TAG--;\n\n Bcast(result, 0);\n\n System.arraycopy(result, 0, outData, 0, result.length);\n }",
"private String reduceOperation(String op1, String opd, String op2, StringBuffer expr) {\r\n if (opd == null) {\r\n if (op1 == null || op2 == null) {\r\n return null;\r\n } else if (\"AND\".equals(op1) && \"AND\".equals(op2)) {\r\n return \"AND\";\r\n } else {\r\n return \"OR\";\r\n }\r\n } else {\r\n if (op1 != null) {\r\n expr.append(op1).append(\" \");\r\n }\r\n expr.append(opd).append(\" \");\r\n return op2;\r\n }\r\n }",
"public OpApplNode(UniqueString us, ExprOrOpArgNode[] ops, TreeNode stn,\n ModuleNode mn) {\n super(OpApplKind, stn);\n this.operands = ops;\n this.unboundedBoundSymbols = null;\n// this.isATuple = false;\n this.boundedBoundSymbols= null;\n this.tupleOrs = null;\n this.ranges = new ExprNode[0];\n this.operator = Context.getGlobalContext().getSymbol(us);\n // operator.match( this, mn );\n }",
"public<T,U> List<U> map(final Collection<T> collection, final Operation<T,U> operation ){\t\t\n\t\tList<U> result = create.createLinkedList();\n\t\tfor(T t:query.getOrEmpty(collection)){\n\t\t\tresult.add(operation.apply(t));\n\t\t}\n\t\treturn result;\n\t}",
"@Override\n public Object build() {\n String countFilterField = null;\n for (ParamComposite param : this.getChildren().stream()\n .filter(child -> ParamComposite.class.isAssignableFrom(child.getClass()))\n .map(child -> (ParamComposite) child).collect(Collectors.toList())) {\n switch (param.getName().toLowerCase()) {\n case \"field\":\n countFilterField = (String)param.getValue();\n break;\n case \"operator\":\n operator = (BiPredicate) param.getValue();\n break;\n case \"operands\":\n operands = (List<String>)param.getValue();\n break;\n\n }\n }\n\n if (countFilterField != null) {\n String fieldName = (this.getName()+ COUNT_FIELD).replace(\".\",\"_\");\n TermsAggregationBuilder aggregation = AggregationBuilders.terms(this.getName()).field(this.getName())\n .subAggregation(PipelineAggregatorBuilders.bucketSelector(countFilterField,\n Collections.singletonMap(fieldName,\"_count\"),\n BuildFilterScript.script(fieldName, operator,operands)));\n return aggregation;\n }\n\n return this;\n }",
"private OperatorManager() {}",
"public MapReduceOutput mapReduce(final String map, final String reduce, final String outputTarget,\n final MapReduceCommand.OutputType outputType, final DBObject query,\n final ReadPreference readPreference) {\n MapReduceCommand command = new MapReduceCommand(this, map, reduce, outputTarget, outputType, query);\n command.setReadPreference(readPreference);\n return mapReduce(command);\n }",
"public Criteria(Map comparisonoperatorMap, Operator defaultcomparisonOperator, LogicalOperator defaultLogicalOperator)\n\t{\n\t\tif (comparisonoperatorMap == null || defaultLogicalOperator == null || defaultcomparisonOperator == null)\n\t\t{\n\t\t\tthrow new NullPointerException(\"Criteria creation failed because operator map or default comparison/logical operator was null.\");\n\t\t}\n\t\tmComparisonOperatorMap = comparisonoperatorMap;\n\t\tmDefaultComparisonOperator = defaultcomparisonOperator;\n\t\tmLogicalOperatorMap = new HashMap();\n\t\tmDefaultLogicalOperator = defaultLogicalOperator;\n\t\n\t}",
"AggregateOperation(WaveletBlipOperation op) {\n segmentsToRemove = Collections.emptyList();\n segmentsToAdd = Collections.emptyList();\n segmentsToEndModifying = Collections.emptyList();\n segmentsToStartModifying = Collections.emptyList();\n participantsToRemove = Collections.emptyList();\n participantsToAdd = Collections.emptyList();\n if (op.getBlipOp() instanceof BlipContentOperation) {\n docOps = Collections.singletonList(\n new DocumentOperations(\n op.getBlipId(),\n new DocOpList.Singleton(((BlipContentOperation) op.getBlipOp()).getContentOp())));\n } else {\n docOps = Collections.emptyList();\n }\n }",
"@Override\n public SymmetricOpDescription build() {\n return new SymmetricOpDescription(operatorType, dataCodecClass, tasks, redFuncClass);\n }",
"public void Reduce(long[] inData, long[] outData, MpiOp op, int root) {\n\n if (TREE) {\n tree_reduce(inData, outData, op, root);\n } else {\n naive_reduce(inData, outData, op, root);\n }\n\n REDUCE_TAG--;\n }",
"protected QueryResultsCollector createClientCollector(Map qOptions, \n\t\t String operation) throws SessionException\n {\n String msg;\n QueryClient queryClient;\n \n try {\n //use utility to collect required data to built a query client\n QueryClientUtil barricade = new QueryClientUtil(qOptions, operation);\n queryClient = barricade.getQueryClient(); \n } catch (SessionException sesEx) {\n msg = \"Unable to construct query client. Aborting...\";\n this._logger.error(msg);\n this._logger.debug(null, sesEx);\n throw sesEx;\n }\n \n //---------------------------\n \n //construct result collector, which will retrieve from qClient\n QueryResultsCollector starScream = new QueryResultsCollector(queryClient);\n \n //---------------------------\n \n return starScream;\n }"
]
| [
"0.56627476",
"0.5555227",
"0.54106784",
"0.5386497",
"0.5386497",
"0.5339541",
"0.5334269",
"0.5291423",
"0.5275567",
"0.5229056",
"0.5197738",
"0.5167398",
"0.5159516",
"0.51361936",
"0.5098762",
"0.5051149",
"0.5037778",
"0.5020728",
"0.49991676",
"0.4965497",
"0.4959903",
"0.49516827",
"0.49391562",
"0.4921646",
"0.49050796",
"0.4878993",
"0.48773962",
"0.4876766",
"0.48753238",
"0.48739427",
"0.48732266",
"0.48657575",
"0.48429716",
"0.48140776",
"0.48039475",
"0.47930482",
"0.4791697",
"0.47594213",
"0.47579294",
"0.47566906",
"0.47435573",
"0.4743363",
"0.47276124",
"0.47241563",
"0.47200552",
"0.47171023",
"0.47147563",
"0.47144493",
"0.47117493",
"0.47098416",
"0.46929997",
"0.4665298",
"0.4653285",
"0.464895",
"0.46452898",
"0.46349466",
"0.46337157",
"0.4630316",
"0.46283734",
"0.46266618",
"0.46086165",
"0.459654",
"0.45956615",
"0.4585929",
"0.4563214",
"0.45620131",
"0.45529902",
"0.45507663",
"0.45436963",
"0.45377675",
"0.45374572",
"0.4535055",
"0.45347401",
"0.45313257",
"0.45275775",
"0.45260683",
"0.45120355",
"0.45101586",
"0.45077324",
"0.45059532",
"0.45025384",
"0.44965175",
"0.4489425",
"0.44840112",
"0.44718018",
"0.44643605",
"0.4462324",
"0.44606432",
"0.44569013",
"0.44451487",
"0.44364655",
"0.44317785",
"0.44241384",
"0.44239095",
"0.4420984",
"0.4410109",
"0.44099167",
"0.44035417",
"0.43933272",
"0.43916717"
]
| 0.4967045 | 19 |
Construct a MapReduceOperation with all the criteria it needs to execute | public MapReduceToCollectionOperation(final MongoNamespace namespace, final BsonJavaScript mapFunction,
final BsonJavaScript reduceFunction, final String collectionName,
final WriteConcern writeConcern) {
this.namespace = notNull("namespace", namespace);
this.mapFunction = notNull("mapFunction", mapFunction);
this.reduceFunction = notNull("reduceFunction", reduceFunction);
this.collectionName = notNull("collectionName", collectionName);
this.writeConcern = writeConcern;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public MapReduceOutput mapReduce(final MapReduceCommand command) {\n ReadPreference readPreference = command.getReadPreference() == null ? getReadPreference() : command.getReadPreference();\n Map<String, Object> scope = command.getScope();\n Boolean jsMode = command.getJsMode();\n if (command.getOutputType() == MapReduceCommand.OutputType.INLINE) {\n\n MapReduceWithInlineResultsOperation<DBObject> operation =\n new MapReduceWithInlineResultsOperation<>(getNamespace(), new BsonJavaScript(command.getMap()),\n new BsonJavaScript(command.getReduce()), getDefaultDBObjectCodec())\n .filter(wrapAllowNull(command.getQuery()))\n .limit(command.getLimit())\n .maxTime(command.getMaxTime(MILLISECONDS), MILLISECONDS)\n .jsMode(jsMode != null && jsMode)\n .sort(wrapAllowNull(command.getSort()))\n .verbose(command.isVerbose())\n .collation(command.getCollation());\n\n if (scope != null) {\n operation.scope(wrap(new BasicDBObject(scope)));\n }\n if (command.getFinalize() != null) {\n operation.finalizeFunction(new BsonJavaScript(command.getFinalize()));\n }\n MapReduceBatchCursor<DBObject> executionResult = executor.execute(operation, readPreference, getReadConcern());\n return new MapReduceOutput(command.toDBObject(), executionResult);\n } else {\n String action;\n switch (command.getOutputType()) {\n case REPLACE:\n action = \"replace\";\n break;\n case MERGE:\n action = \"merge\";\n break;\n case REDUCE:\n action = \"reduce\";\n break;\n default:\n throw new IllegalArgumentException(\"Unexpected output type\");\n }\n\n MapReduceToCollectionOperation operation =\n new MapReduceToCollectionOperation(getNamespace(),\n new BsonJavaScript(command.getMap()),\n new BsonJavaScript(command.getReduce()),\n command.getOutputTarget(),\n getWriteConcern())\n .filter(wrapAllowNull(command.getQuery()))\n .limit(command.getLimit())\n .maxTime(command.getMaxTime(MILLISECONDS), MILLISECONDS)\n .jsMode(jsMode != null && jsMode)\n .sort(wrapAllowNull(command.getSort()))\n .verbose(command.isVerbose())\n .action(action)\n .databaseName(command.getOutputDB())\n .bypassDocumentValidation(command.getBypassDocumentValidation())\n .collation(command.getCollation());\n\n if (scope != null) {\n operation.scope(wrap(new BasicDBObject(scope)));\n }\n if (command.getFinalize() != null) {\n operation.finalizeFunction(new BsonJavaScript(command.getFinalize()));\n }\n try {\n MapReduceStatistics mapReduceStatistics = executor.execute(operation, getReadConcern());\n DBCollection mapReduceOutputCollection = getMapReduceOutputCollection(command);\n DBCursor executionResult = mapReduceOutputCollection.find();\n return new MapReduceOutput(command.toDBObject(), executionResult, mapReduceStatistics, mapReduceOutputCollection);\n } catch (MongoWriteConcernException e) {\n throw createWriteConcernException(e);\n }\n }\n }",
"public OperationFactory() {\n initMap();\n }",
"public Action(Operation op, String[] args, Map<String, String> restriction) {\n this.op = op;\n this.restriction = restriction;\n if (op == Operation.UPDATE || op == Operation.SEARCH) {\n Set<String> set = new HashSet<String>(restriction.keySet());\n for (int i = 0; i < args.length; ++i) set.add(args[i]);\n this.args = set.toArray(new String[set.size()]);\n } else {\n this.args = args;\n }\n this.reqd = new boolean[this.args.length];\n this.cmps = new String[this.args.length];\n List<String> opts = analyzeRequiredArgs();\n this.opts = opts.toArray(new String[opts.size()]);\n }",
"Operation createOperation();",
"Operation createOperation();",
"Operations createOperations();",
"@Override\n public <KEYIN extends Serializable, VALUEIN extends Serializable, K extends Serializable, V extends Serializable, KOUT extends Serializable, VOUT extends Serializable> IMapReduce<KEYIN, VALUEIN, KOUT, VOUT>\n buildMapReduceEngine(@Nonnull final String name, @Nonnull final IMapperFunction<KEYIN, VALUEIN, K, V> pMapper, @Nonnull final IReducerFunction<K, V, KOUT, VOUT> pRetucer) {\n return new SparkMapReduce(name, pMapper, pRetucer);\n }",
"ReduceType reduceInit();",
"@Override\n public <KEYIN extends Serializable, VALUEIN extends Serializable, K extends Serializable, V extends Serializable, KOUT extends Serializable, VOUT extends Serializable> IMapReduce<KEYIN, VALUEIN, KOUT, VOUT>\n buildMapReduceEngine(@Nonnull final String name, @Nonnull final IMapperFunction<KEYIN, VALUEIN, K, V> pMapper, @Nonnull final IReducerFunction<K, V, KOUT, VOUT> pRetucer, final IPartitionFunction<K> pPartitioner) {\n return new SparkMapReduce(name, pMapper, pRetucer, pPartitioner);\n }",
"OpList createOpList();",
"public Operation(){\n\t}",
"public Operation() {\n /* empty */\n }",
"public Operation() {\n\t}",
"public Operation() {\n super();\n }",
"public FlatsyWorker(FlatsyOperator operation) {\n this.operation = operation;\n }",
"static AggregateOperation createAggregate(CoreWaveletOperation operation) {\n if (operation instanceof CoreWaveletDocumentOperation) {\n return new AggregateOperation((CoreWaveletDocumentOperation) operation);\n } else if (operation instanceof CoreRemoveParticipant) {\n return new AggregateOperation((CoreRemoveParticipant) operation);\n } else if (operation instanceof CoreAddParticipant) {\n return new AggregateOperation((CoreAddParticipant) operation);\n } else if (operation instanceof CoreAddSegment) {\n return new AggregateOperation((CoreAddSegment) operation);\n } else if (operation instanceof CoreRemoveSegment) {\n return new AggregateOperation((CoreRemoveSegment) operation);\n } else if (operation instanceof CoreStartModifyingSegment) {\n return new AggregateOperation((CoreStartModifyingSegment) operation);\n } else if (operation instanceof CoreEndModifyingSegment) {\n return new AggregateOperation((CoreEndModifyingSegment) operation);\n }\n assert operation instanceof CoreNoOp;\n return new AggregateOperation();\n }",
"public JobExample() {\n oredCriteria = new ArrayList<Criteria>();\n }",
"@Test\n\tpublic void testMapReduce() {\n\n\t\t/*\n\t\t * For this test, the mapper's input will be \"1 cat cat dog\" \n\t\t */\n\t\tmapReduceDriver.withInput(new LongWritable(1), new Text(swedenHealth));\n\n\t\t/*\n\t\t * The expected output (from the reducer) is \"cat 2\", \"dog 1\". \n\t\t */\n\t\tmapReduceDriver.addOutput(new Text(\"(Sweden)\"), new Text(\"| in 2011$ values PPP, 1995 health cost: 1745.1| 2014 health cost: 5218.86| cost increase (%): 199.06%\\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\"));\n\n\t\t/*\n\t\t * Run the test.\n\t\t */\n\t\tmapReduceDriver.runTest();\n\t}",
"public MapReduceToCollectionOperation(final MongoNamespace namespace, final BsonJavaScript mapFunction,\n final BsonJavaScript reduceFunction, final String collectionName) {\n this(namespace, mapFunction, reduceFunction, collectionName, null);\n }",
"public TbProductOperatorExample() {\n oredCriteria = new ArrayList<Criteria>();\n }",
"@Mapper\npublic interface ReduceMapper {\n\n public void updateStatus(DataCollectionEntity bean);\n\n public DataCollectionEntity findById(DataCollectionEntity bean);\n\n\n public List<DataCollectionEntity> pageReduceApply(DataCollectionEntity bean);\n\n public List<DataCollectionEntity> pageReduceApplyExport(DataCollectionEntity bean);\n\n public List<DataCollectionEntity> totalExport(DataCollectionEntity bean);\n\n public void saveReduceApply(DataCollectionEntity bean);\n\n public void updateReduceApply(DataCollectionEntity bean);\n\n public void updateApplyStatus(DataCollectionEntity bean);\n\n}",
"ProcessOperation<Map<String, Object>> map();",
"ROp() {super(null); _ops=new HashMap<>(); }",
"public Action(Operation op, String[] args) {\n this.op = op;\n this.restriction = null;\n this.args = args;\n this.reqd = new boolean[this.args.length];\n this.cmps = new String[this.args.length];\n List<String> opts = analyzeRequiredArgs();\n this.opts = opts.toArray(new String[opts.size()]);\n }",
"public static void main(String[] args) throws IOException {\n JobConf conf = new JobConf(CrimeComputer.class);\n\t conf.setJobName(\"CrimeComputer\");\n\t\n\t conf.setOutputKeyClass(Text.class);\n\t conf.setOutputValueClass(IntWritable.class);\n \n System.out.println(\"\\n Please select a region defintion:\\n 1.Highest one digit of Northing & Easting \\n 2.Highest two digits of Northing & Easting \\n 3.Highest three digits of Northing & Easting \\n Enter: 1,2 or 3 \\n \");\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t String option=br.readLine();\n if(option.equals(\"1\"))\n {\n conf.setMapperClass(Map1.class); \n }\n else if(option.equals(\"2\"))\n conf.setMapperClass(Map2.class);\n else if(option.equals(\"3\"))\n {\n conf.setMapperClass(Map3.class); \n }\n else\n {\n System.out.println(\"Invalid Input!\");\n System.exit(0);\n }\n\n\t \n System.out.println(\"\\n Please select the number of Mappers: 1, 2 or 5? \\n\");\n option=br.readLine();\n if(option.equals(\"1\"))\n conf.setNumMapTasks(1);\n if(option.equals(\"2\"))\n conf.setNumMapTasks(2);\n if(option.equals(\"5\"))\n conf.setNumMapTasks(5); \n \n System.out.println(\"\\n Please select the number of Reducers: 1, 2 or 5? \\n\");\n option=br.readLine();\n if(option.equals(\"1\"))\n conf.setNumReduceTasks(1);\n if(option.equals(\"2\"))\n conf.setNumReduceTasks(2);\n if(option.equals(\"5\"))\n conf.setNumReduceTasks(5); \n \n conf.setCombinerClass(Reduce.class);\n\t conf.setReducerClass(Reduce.class);\n\t\n \n\t conf.setInputFormat(TextInputFormat.class);\n\t conf.setOutputFormat(TextOutputFormat.class);\n\t\n\t FileInputFormat.setInputPaths(conf, new Path(args[0]));\n\t FileOutputFormat.setOutputPath(conf, new Path(args[1]));\n JobClient.runJob(conf);\n \n }",
"public void createQueryProcessor() throws IOException {\n\t\tfor(int i=0; i<=payload.getnumber_of_grouping_variables();i++) {\n\t\t\tlistMapsAggregates.add(new HashMap<String, String>());\n\t\t}\n\t\tfor(int i=0;i<payload.getnumber_of_aggregate_functions();i++) {\n\t\t\tString[] temp = payload.getaggregate_functions().get(i).split(\"_\",3);\n\t\t\tlistMapsAggregates.get(Integer.parseInt(temp[0])).put(temp[1], temp[2]);//(key,value) -> (aggregate function , column name)\n\t\t}\n\t\tStringBuilder fileData = new StringBuilder();\n\t\tfileData.append(\"package dbmsProject;\\r\\n\\r\\n\" + \n\t\t\t\t\"import java.io.FileOutputStream;\\r\\n\" + \n\t\t\t\t\"import java.io.IOException;\\r\\n\" + \n\t\t\t\t\"import java.text.DateFormat;\\r\\n\" + \n\t\t\t\t\"import java.text.DecimalFormat;\\r\\n\" + \n\t\t\t\t\"import java.text.SimpleDateFormat;\\r\\n\" + \n\t\t\t\t\"import java.util.ArrayList;\\r\\n\" + \n\t\t\t\t\"import java.util.Calendar;\\r\\n\" + \n\t\t\t\t\"import java.util.HashMap;\\r\\n\");\n\t\tfileData.append(\"\\r\\npublic class QueryProcessor{\\n\");\n\t\tfileData.append(\"\tprivate SalesTable salesTable;\\n\");\n\t\tfileData.append(\"\tprivate ExpTree expTree;\\n\");\n\t\tfileData.append(\"\tprivate Payload payload;\\n\");\n\t\tfileData.append(\"\tprivate Helper helper;\\n\");\n\t\tfileData.append(\"\tprivate ArrayList<HashMap<String,String>> listMapsAggregates;\\r\\n\" + \n\t\t\t\t\t\t\"\tprivate HashMap<String, Double> aggregatesMap;\\r\\n\" + \n\t\t\t\t\t\t\"\tprivate ArrayList<HashMap<String, ArrayList<InputRow>>> allGroups;\\r\\n\" + \n\t\t\t\t\t\t\"\tprivate ArrayList<ArrayList<String>> allGroupKeyStrings;\\r\\n\" + \n\t\t\t\t\t\t\"\tprivate ArrayList<ArrayList<InputRow>> allGroupKeyRows;\\n\");\n\t\tfileData.append(\"\\r\\n\tpublic QueryProcessor(SalesTable salesTable, Payload payload){\\n\");\n\t\tfileData.append(\"\t\tthis.aggregatesMap = new HashMap<String, Double>();\\n\");\n\t\tfileData.append(\"\t\tthis.salesTable=salesTable;\\n\");\n\t\tfileData.append(\"\t\tthis.payload=payload;\\n\");\n\t\tfileData.append(\"\t\tthis.expTree=new ExpTree();\\n\");\n\t\tfileData.append(\"\t\tthis.helper=new Helper();\\n\"\n\t\t\t\t\t\t+ \"\t\tthis.allGroupKeyRows = new ArrayList<ArrayList<InputRow>>();\\r\\n\" + \n\t\t\t\t\t\t\"\t\tthis.allGroupKeyStrings = new ArrayList<ArrayList<String>>();\\r\\n\" + \n\t\t\t\t\t\t\"\t\tthis.listMapsAggregates = new ArrayList<HashMap<String,String>>();\\r\\n\"\t+\n\t\t\t\t\t\t\"\t\tthis.allGroups = new ArrayList<HashMap<String, ArrayList<InputRow>>>();\\n\");\n\t\tfileData.append(\"\t}\\n\");\n\t\tfileData.append(\"\\r\\n\tpublic ArrayList<InputRow> createInputSet(){\\n\");\n\t\tfileData.append(\"\t\tArrayList<InputRow> inputResultSet = new ArrayList<InputRow>();\\n\");\n\t\tfileData.append(\"\t\tfor(SalesTableRow row: salesTable.getResultSet()) {\\n\");\n\t\tfileData.append(\"\t\t\tInputRow ir=new InputRow();\\n\");\n\t\tfor(String var: this.projectionVars) {\n\t\t\tfileData.append(\"\t\t\tir.set\"+varPrefix+var+\"(row.get\"+var+\"());\\n\");\n\t\t}\n\t\tfileData.append(\"\t\t\tinputResultSet.add(ir);\\n\");\n\t\tfileData.append(\"\t\t}\\n\");\n\t\tfileData.append(\"\t\treturn inputResultSet;\\n\");\n\t\tfileData.append(\"\t}\\n\");\n\t\t\n//OUTPUT ROW CREATION LOGIC\n\t\tfileData.append(\"\\r\\n\tpublic OutputRow convertInputToOutputRow(InputRow inputRow, String str, ArrayList<String> strList){\\n\");\n\t\tfileData.append(\"\t\tString temp=\\\"\\\";\\n\");\n\t\tfileData.append(\"\t\tOutputRow outputRow = new OutputRow();\\n\");\n\t\tfor(String select: payload.getselect_variables()) {\n\t\t\tif(helper.columnMapping.containsKey(select)) {\n\t\t\t\tfileData.append(\"\t\toutputRow.set\"+varPrefix+select+\"(inputRow.get\"+varPrefix+select+\"());\\n\");\n\t\t\t}\n\t\t\telse {\n\t\t\t\tString temp=select;\n\t\t\t\tif(select.contains(\"/\")) select=select.replaceAll(\"/\", \"_divide_\");\n\t\t\t\tif(select.contains(\"*\")) select=select.replaceAll(\"*\", \"_multiply_\");\n\t\t\t\tif(select.contains(\"+\")) select=select.replaceAll(\"+\", \"_add_\");\n\t\t\t\tif(select.contains(\"-\")) select=select.replaceAll(\"-\", \"_minus_\");\n\t\t\t\tif(select.contains(\")\")) select=select.replaceAll(\"[)]+\", \"\");\n\t\t\t\tif(select.contains(\"(\")) select=select.replaceAll(\"[(]+\", \"\");\n\t\t\t\tfileData.append(\"\t\ttemp = prepareClause(inputRow, inputRow, \\\"\"+temp+\"\\\", str, strList);\\n\");\n\t\t\t\tfileData.append(\"\t\tif(temp.contains(\\\"(\\\")) temp = expTree.execute(temp);\\r\\n\");\n\t\t\t\tfileData.append(\"\t\tif(temp.equals(\\\"discard_invalid_entry\\\")) return null;\\n\");\n\t\t\t\tfileData.append(\"\t\toutputRow.set\"+varPrefix+select+\"(Double.parseDouble(temp));\\n\");\n\t\t\t}\n\t\t}\n\t\tfileData.append(\"\t\treturn outputRow;\\n\");\n\t\tfileData.append(\"\t}\\n\");\n\t\t\n//WHERE CLAUSE EXECUTOR\n\t\tfileData.append(\"\\r\\n\tpublic ArrayList<InputRow> executeWhereClause(ArrayList<InputRow> inputResultSet) {\\r\\n\" + \n\t\t\t\t\"\t\tint i=0;\\r\\n\" + \n\t\t\t\t\"\t\twhile(i<inputResultSet.size()) {\\r\\n\" + \n\t\t\t\t\"\t\t\tString condition=prepareClause(inputResultSet.get(i), inputResultSet.get(i), payload.getWhereClause(), \\\"\\\", new ArrayList<String>());\\r\\n\" + \n\t\t\t\t\"\t\t\tif(condition.equals(\\\"discard_invalid_entry\\\") || !Boolean.parseBoolean(expTree.execute(condition))){\\r\\n\" + \n\t\t\t\t\"\t\t\t\tinputResultSet.remove(i);\\r\\n\" + \n\t\t\t\t\"\t\t\t\tcontinue;\\r\\n\" + \n\t\t\t\t\"\t\t\t}\\r\\n\" + \n\t\t\t\t\"\t\t\ti++;\\r\\n\" + \n\t\t\t\t\"\t\t}\\r\\n\" + \n\t\t\t\t\"\t\treturn inputResultSet;\\r\\n\" + \n\t\t\t\t\"\t}\\n\");\n\n//REFINE CLAUSE FOR PROCESSING\n\t\tfileData.append(\"\\r\\n\tpublic String prepareClause(InputRow row, InputRow rowZero, String condition, String str, ArrayList<String> strList) {\\r\\n\" + \n\t\t\t\t\"\t\tfor(int i=0;i<strList.size();i++) {\\r\\n\" + \n\t\t\t\t\"\t\t\tif(condition.contains(i+\\\"_\\\")) {\\r\\n\" + \n\t\t\t\t\"\t\t\t\tboolean flag=false;\\r\\n\" + \n\t\t\t\t\"\t\t\t\tfor(String ag : payload.getaggregate_functions()) {\\r\\n\" + \n\t\t\t\t\"\t\t\t\t\tif(!ag.contains(i+\\\"\\\")) continue;\\r\\n\" + \n\t\t\t\t\"\t\t\t\t\tif(condition.contains(ag)) flag=true;\\r\\n\" + \n\t\t\t\t\"\t\t\t\t\tcondition=condition.replaceAll(ag, ag+\\\"_\\\"+strList.get(i));\\r\\n\" + \n\t\t\t\t\"\t\t\t\t}\\r\\n\" + \n\t\t\t\t\"\t\t\t\tif(flag) {\\r\\n\" + \n\t\t\t\t\"\t\t\t\t\tboolean changeFlag=false;\\r\\n\" + \n\t\t\t\t\"\t\t\t\t\tfor(String key : aggregatesMap.keySet()) {\\r\\n\" + \n\t\t\t\t\"\t\t\t\t\t\tif(condition.contains(key)) changeFlag=true;\\r\\n\" + \n\t\t\t\t\"\t\t\t\t\t\tcondition = condition.replaceAll(key, Double.toString(aggregatesMap.get(key)));\\r\\n\" + \n\t\t\t\t\"\t\t\t\t\t}\\r\\n\" + \n\t\t\t\t\"\t\t\t\t\tif(!changeFlag) return \\\"discard_invalid_entry\\\";\\r\\n\" + \n\t\t\t\t\"\t\t\t\t}\\r\\n\" + \n\t\t\t\t\"\t\t\t}\\r\\n\" + \n\t\t\t\t\"\t\t}\\r\\n\" + \n\t\t\t\t\"\t\t\\r\\n\" + \n\t\t\t\t\"\t\tif(condition.contains(\\\".\\\")) {\\r\\n\");\n\t\tfor(String var: projectionVars) {\n\t\t\tif(helper.columnMapping.get(var)==0 || helper.columnMapping.get(var)==1 || helper.columnMapping.get(var)==5)\n\t\t\t\tfileData.append(\"\t\t\tcondition=condition.replaceAll(\\\"[0-9]+\\\\\\\\.\"+var+\"\\\", row.get\"+varPrefix+var+\"());\\r\\n\");\n\t\t\telse\n\t\t\t\tfileData.append(\"\t\t\tcondition=condition.replaceAll(\\\"[0-9]+\\\\\\\\.\"+var+\"\\\", Integer.toString(row.get\"+varPrefix+var+\"()));\\r\\n\");\n\t\t}\n\t\tfileData.append(\"\t\t}\\n\");\n\t\t\n\t\tfor(String var: projectionVars) {\n\t\t\tif(helper.columnMapping.get(var)==0 || helper.columnMapping.get(var)==1 || helper.columnMapping.get(var)==5)\n\t\t\t\tfileData.append(\"\t\tcondition=condition.replaceAll(\\\"\"+var+\"\\\", rowZero.get\"+varPrefix+var+\"());\\r\\n\");\n\t\t\telse\n\t\t\t\tfileData.append(\"\t\tcondition=condition.replaceAll(\\\"\"+var+\"\\\", Integer.toString(rowZero.get\"+varPrefix+var+\"()));\\r\\n\");\n\t\t}\n\t\t\n\t\tfileData.append(\n\t\t\t\t\"\t\tcondition=condition.replaceAll(\\\"\\\\\\\\s+\\\", \\\"\\\");\\r\\n\" + \n\t\t\t\t\"\t\tcondition=condition.replaceAll(\\\"\\\\\\\"\\\", \\\"\\\");\\r\\n\" + \n\t\t\t\t\"\t\tcondition=condition.replaceAll(\\\"\\\\'\\\", \\\"\\\");\\r\\n\" + \n\t\t\t\t\"\t\t\\r\\n\" + \n\t\t\t\t\"\t\treturn condition;\\r\\n\" + \n\t\t\t\t\"\t}\\n\");\n\n//CREATE GROUPS\t\t\n\t\tfileData.append(\"\\r\\n\tpublic void createListsBasedOnSuchThatPredicate(ArrayList<InputRow> inputResultSet) {\\r\\n\" + \n\t\t\t\t\"\t\t\\r\\n\" + \n\t\t\t\t\"\t\tfor(int i=0;i<=payload.getnumber_of_grouping_variables();i++) {\\r\\n\" + \n\t\t\t\t\"\t\t\tArrayList<String> groupKeyStrings = new ArrayList<String>();\\r\\n\" + \n\t\t\t\t\"\t\t\tArrayList<InputRow> groupKeyRows = new ArrayList<InputRow>();\\r\\n\" + \n\t\t\t\t\"\t\t\tfor(InputRow row : inputResultSet) {\\r\\n\" + \n\t\t\t\t\"\t\t\t\tStringBuilder temp=new StringBuilder();\\r\\n\" + \n\t\t\t\t\"\t\t\t\tInputRow groupRow = new InputRow();\\r\\n\" + \n\t\t\t\t\"\t\t\t\tfor(String group: payload.getGroupingAttributesOfAllGroups().get(i)) {\\r\\n\" + \n\t\t\t\t\"\t\t\t\t\tint col = helper.columnMapping.get(group);\\r\\n\" + \n\t\t\t\t\"\t\t\t\t\tswitch(col) {\\r\\n\");\n\t\tfor(String var: projectionVars) {\n\t\t\tfileData.append(\"\t\t\t\t\t\tcase \"+helper.columnMapping.get(var)+\":\"+\"{temp.append(row.get\"+varPrefix+var+\"()+\\\"_\\\"); groupRow.set\"+varPrefix+ var+ \"(row.get\"+varPrefix+var+\"()); break;}\\r\\n\");\n\t\t}\n\t\tfileData.append(\"\t\t\t\t\t}\\n\"+\n\t\t\t\t\"\t\t\t\t}\\r\\n\" + \n\t\t\t\t\"\t\t\t\tString s=temp.toString();\\r\\n\" + \n\t\t\t\t\"\t\t\t\tif(s.charAt(s.length()-1)=='_') s=s.substring(0, s.length()-1);\\r\\n\" + \n\t\t\t\t\"\t\t\t\tif( !groupKeyStrings.contains(s) ) {\\r\\n\" + \n\t\t\t\t\"\t\t\t\t\tgroupKeyStrings.add(s);\\r\\n\" + \n\t\t\t\t\"\t\t\t\t\tgroupKeyRows.add(groupRow);\\r\\n\" + \n\t\t\t\t\"\t\t\t\t}\\r\\n\" + \n\t\t\t\t\"\t\t\t}\\r\\n\" + \n\t\t\t\t\"\t\t\tallGroupKeyRows.add(groupKeyRows);\\r\\n\" + \n\t\t\t\t\"\t\t\tallGroupKeyStrings.add(groupKeyStrings);\\r\\n\" + \n\t\t\t\t\"\t\t}\\r\\n\" + \n\t\t\t\t\"\t\t\\r\\n\" + \n\t\t\t\t\"\t\tfor(int i=0;i<=payload.getnumber_of_grouping_variables();i++) {\\r\\n\" + \n\t\t\t\t\"\t\t\tHashMap<String, ArrayList<InputRow>> res = new HashMap<String, ArrayList<InputRow>>();\\r\\n\" + \n\t\t\t\t\"\t\t\tString suchThat = payload.getsuch_that_predicates().get(i);\\r\\n\" + \n\t\t\t\t\"\t\t\tfor(int j=0;j<allGroupKeyRows.get(i).size();j++) {\\r\\n\" + \n\t\t\t\t\"\t\t\t\tInputRow zeroRow = allGroupKeyRows.get(i).get(j);\\r\\n\" + \n\t\t\t\t\"\t\t\t\tArrayList<InputRow> groupMember = new ArrayList<InputRow>();\\r\\n\" + \n\t\t\t\t\"\t\t\t\tfor(InputRow salesRow : inputResultSet) {\\r\\n\" + \n\t\t\t\t\"\t\t\t\t\tString condition = prepareClause(salesRow, zeroRow, suchThat, \\\"\\\", new ArrayList<String>());\\r\\n\" + \n\t\t\t\t\"\t\t\t\t\tif(Boolean.parseBoolean(expTree.execute(condition))) {\\r\\n\" + \n\t\t\t\t\"\t\t\t\t\t\tgroupMember.add(salesRow);\\r\\n\" + \n\t\t\t\t\"\t\t\t\t\t}\\r\\n\" + \n\t\t\t\t\"\t\t\t\t}\\r\\n\" + \n\t\t\t\t\"\t\t\t\tres.put(allGroupKeyStrings.get(i).get(j), new ArrayList<InputRow>(groupMember));\\r\\n\" + \n\t\t\t\t\"\t\t\t}\\r\\n\" + \n\t\t\t\t\"\t\t\tallGroups.add(new HashMap<String, ArrayList<InputRow>>(res));\\r\\n\" + \n\t\t\t\t\"\t\t}\\r\\n\" + \n\t\t\t\t\"\t}\\n\");\n\t\t\n//GETGROUPING VARIABLE METHOD\n\t\tfileData.append(\"\\r\\n\tpublic String getGroupingVariable(int i, InputRow row) {\\r\\n\" + \n\t\t\t\t\"\t\tswitch(i) {\\r\\n\");\n\t\tfor(String var: projectionVars) {\n\t\t\tif(helper.columnMapping.get(var)==0||helper.columnMapping.get(var)==1||helper.columnMapping.get(var)==5)\n\t\t\t\tfileData.append(\"\t\t\tcase \"+helper.columnMapping.get(var)+\": return row.get\"+varPrefix+var+\"();\\r\\n\");\n\t\t\telse if(helper.columnMapping.get(var)==7)\n\t\t\t\tfileData.append(\"\t\t\tcase \"+helper.columnMapping.get(var)+\": return \\\"all\\\"\");\n\t\t\telse\n\t\t\t\tfileData.append(\"\t\t\tcase \"+helper.columnMapping.get(var)+\": return Integer.toString(row.get\"+varPrefix+var+\"());\\r\\n\");\n\t\t}\n\t\tfileData.append(\"\t\t}\\r\\n\");\n\t\tfileData.append(\"\t\treturn \\\"__Garbage__\\\";\\r\\n\");\n\t\tfileData.append(\"\t}\\n\");\n\t\t\n//COMPUTE AGGREGATES METHOD\n\t\tfileData.append(\"\\r\\n\tpublic void computeAggregates(ArrayList<InputRow> inputResultSet) {\t\\r\\n\" + \n\t\t\t\t\"\t\tdouble val=0;\\r\\n\"+\n\t\t\t\t\"\t\tfor(int i=0; i<=payload.getnumber_of_grouping_variables();i++) {\\r\\n\" + \n\t\t\t\t\"\t\t\tlistMapsAggregates.add(new HashMap<String, String>());\\r\\n\" + \n\t\t\t\t\"\t\t}\\r\\n\" + \n\t\t\t\t\"\t\tfor(int i=0;i<payload.getnumber_of_aggregate_functions();i++) {\\r\\n\" + \n\t\t\t\t\"\t\t\tString[] temp = payload.getaggregate_functions().get(i).split(\\\"_\\\",3);\\r\\n\" + \n\t\t\t\t\"\t\t\tlistMapsAggregates.get(Integer.parseInt(temp[0])).put(temp[1], temp[2]);//(key,value) -> (aggregate function , column name)\\r\\n\" + \n\t\t\t\t\"\t\t}\\r\\n\"+\n\t\t\t\t\"\t\tint nGroupingVariables=0;\\r\\n\"+\n\t\t\t\t\"\t\taggregatesMap = new HashMap<>();\\r\\n\"+\n\t\t\t\t\"\t\tHashMap<String,Double> tempAggregatesMap;\\r\\n\");\n\t\t\n\t\tfor(int nGroupingVariables=0;nGroupingVariables<=payload.getnumber_of_grouping_variables();nGroupingVariables++) {\n\t\t\tfileData.append(\"\\n\t\tnGroupingVariables=\"+nGroupingVariables+\";\\r\\n\");\n\t\t\tfileData.append(\n\t\t\t\t\t\t\t\"\t\ttempAggregatesMap = new HashMap<String,Double>();\\r\\n\" + \n\t\t\t\t\t\t\t\"\t\t\\r\\n\" + \n\t\t\t\t\t\t\t\"\t\tfor(int i=0;i<allGroupKeyRows.get(nGroupingVariables).size(); i++) {\\r\\n\" + \n\t\t\t\t\t\t\t\"\t\t\tInputRow zeroRow = allGroupKeyRows.get(nGroupingVariables).get(i);\\r\\n\" );\n\t\t\t\n\t\t\t//MFvsEMF\n\t\t\tif(isGroupMF(nGroupingVariables)) fileData.append(\"\t\t\tfor(InputRow row: allGroups.get(nGroupingVariables).get(allGroupKeyStrings.get(nGroupingVariables).get(i)))\t{\\r\\n\");\n\t\t\telse fileData.append(\"\t\t\tfor(InputRow row: inputResultSet) {\\r\\n\");\n\t\t\t\n\t\t\tfileData.append(\"\t\t\t\tString condition = payload.getsuch_that_predicates().get(nGroupingVariables);\\r\\n\" + \n\t\t\t\t\t\t\t\"\t\t\t\tString str = allGroupKeyStrings.get(nGroupingVariables).get(i);\\r\\n\" + \n\t\t\t\t\t\t\t\"\t\t\t\tArrayList<String> strList = new ArrayList<String>();\\r\\n\" + \n\t\t\t\t\t\t\t\"\t\t\t\tfor(int j=0;j<=payload.getnumber_of_grouping_variables();j++) strList.add(str);\\r\\n\" +\n\t\t\t\t\t\t\t\"\t\t\t\tcondition= prepareClause(row, zeroRow, condition, str, strList);\\r\\n\" + \n\t\t\t\t\t\t\t\"\t\t\t\tif(condition.equals(\\\"discard_invalid_entry\\\") || !Boolean.parseBoolean(expTree.execute(condition))) continue;\\r\\n\"\n\t\t\t\t\t\t\t);\n\t\t\tString key1 = nGroupingVariables+\"_sum_\"+listMapsAggregates.get(nGroupingVariables).get(\"sum\");\n\t\t\tString key2 = nGroupingVariables+\"_avg_\"+listMapsAggregates.get(nGroupingVariables).get(\"avg\");\n\t\t\tString key3 = nGroupingVariables+\"_min_\"+listMapsAggregates.get(nGroupingVariables).get(\"min\");\n\t\t\tString key4 = nGroupingVariables+\"_max_\"+listMapsAggregates.get(nGroupingVariables).get(\"max\");\n\t\t\tString key5 = nGroupingVariables+\"_count_\"+listMapsAggregates.get(nGroupingVariables).get(\"count\");\n\t\t\tString key6 = nGroupingVariables+\"_count_\"+listMapsAggregates.get(nGroupingVariables).get(\"avg\");\n\t\t\t\n\t\t\tif(listMapsAggregates.get(nGroupingVariables).containsKey(\"sum\")) \n\t\t\t\tfileData.append(\"\t\t\t\tString key1=\\\"\"+key1+\"\\\";\\r\\n\");\n\t\t\tif(listMapsAggregates.get(nGroupingVariables).containsKey(\"avg\")) {\n\t\t\t\tfileData.append(\"\t\t\t\tString key2=\\\"\"+key2+\"\\\";\\r\\n\");\n\t\t\t\tfileData.append(\"\t\t\t\tString key6=\\\"\"+key6+\"\\\";\\r\\n\");\n\t\t\t}\n\t\t\tif(listMapsAggregates.get(nGroupingVariables).containsKey(\"min\"))\n\t\t\t\tfileData.append(\"\t\t\t\tString key3=\\\"\"+key3+\"\\\";\\r\\n\");\n\t\t\tif(listMapsAggregates.get(nGroupingVariables).containsKey(\"max\"))\n\t\t\t\tfileData.append(\"\t\t\t\tString key4=\\\"\"+key4+\"\\\";\\r\\n\");\n\t\t\tif(listMapsAggregates.get(nGroupingVariables).containsKey(\"count\"))\n\t\t\t\tfileData.append(\"\t\t\t\tString key5=\\\"\"+key5+\"\\\";\\r\\n\");\n\t\t\t\n\t\t\tfileData.append(\"\t\t\t\tfor(String ga: payload.getGroupingAttributesOfAllGroups().get(nGroupingVariables)) {\\r\\n\");\n\t\t\tif(listMapsAggregates.get(nGroupingVariables).containsKey(\"sum\")) \n\t\t\t\tfileData.append(\"\t\t\t\t\tkey1=key1+\\\"_\\\"+ getGroupingVariable(helper.columnMapping.get(ga), zeroRow);\\r\\n\");\n\t\t\tif(listMapsAggregates.get(nGroupingVariables).containsKey(\"avg\")) {\n\t\t\t\tfileData.append(\"\t\t\t\t\tkey2=key2+\\\"_\\\"+ getGroupingVariable(helper.columnMapping.get(ga), zeroRow);\\r\\n\");\n\t\t\t\tfileData.append(\"\t\t\t\t\tkey6=key6+\\\"_\\\"+ getGroupingVariable(helper.columnMapping.get(ga), zeroRow);\\r\\n\");\n\t\t\t}\n\t\t\tif(listMapsAggregates.get(nGroupingVariables).containsKey(\"min\"))\n\t\t\t\tfileData.append(\"\t\t\t\t\tkey3=key3+\\\"_\\\"+ getGroupingVariable(helper.columnMapping.get(ga), zeroRow);\\r\\n\");\n\t\t\tif(listMapsAggregates.get(nGroupingVariables).containsKey(\"max\"))\n\t\t\t\tfileData.append(\"\t\t\t\t\tkey4=key4+\\\"_\\\"+ getGroupingVariable(helper.columnMapping.get(ga), zeroRow);\\r\\n\");\n\t\t\tif(listMapsAggregates.get(nGroupingVariables).containsKey(\"count\"))\n\t\t\t\tfileData.append(\"\t\t\t\t\tkey5=key5+\\\"_\\\"+ getGroupingVariable(helper.columnMapping.get(ga), zeroRow);\\r\\n\");\n\t\t\tfileData.append(\"\t\t\t\t}\\r\\n\");\n\t\t\t\n\t\t\tif(listMapsAggregates.get(nGroupingVariables).containsKey(\"sum\")) {\n\t\t\t\tfileData.append(\"\t\t\tval=tempAggregatesMap.getOrDefault(key1, 0.0)+Double.parseDouble(getGroupingVariable(helper.columnMapping.get(listMapsAggregates.get(nGroupingVariables).get(\\\"sum\\\")), row));\\r\\n\" + \n\t\t\t\t\"\t\t\ttempAggregatesMap.put(key1, val);\\r\\n\");\n\t\t\t}\n\t\t\tif(listMapsAggregates.get(nGroupingVariables).containsKey(\"avg\")) {\n\t\t\t\tfileData.append(\"\t\t\tval=tempAggregatesMap.getOrDefault(key2, 0.0)+Double.parseDouble(getGroupingVariable(helper.columnMapping.get(listMapsAggregates.get(nGroupingVariables).get(\\\"avg\\\")), row));\\r\\n\"+\n\t\t\t\t\"\t\t\ttempAggregatesMap.put(key2, val);\\r\\n\"+\n\t\t\t\t\"\t\t\ttempAggregatesMap.put(key6, tempAggregatesMap.getOrDefault(key6, 0.0)+1);\\r\\n\");\n\t\t\t}\n\t\t\tif(listMapsAggregates.get(nGroupingVariables).containsKey(\"min\")) {\n\t\t\t\tfileData.append(\"\t\t\tval=Math.min( tempAggregatesMap.getOrDefault(key3, Double.MAX_VALUE) , Double.parseDouble(getGroupingVariable(helper.columnMapping.get(listMapsAggregates.get(nGroupingVariables).get(\\\"min\\\")), row)));\\r\\n\"+\n\t\t\t\t\"\t\t\ttempAggregatesMap.put(key3, val);\\r\\n\");\n\t\t\t}\n\t\t\tif(listMapsAggregates.get(nGroupingVariables).containsKey(\"max\")) {\n\t\t\t\tfileData.append(\"\t\t\tval=Math.max( tempAggregatesMap.getOrDefault(key4, Double.MIN_VALUE) , Double.parseDouble(getGroupingVariable(helper.columnMapping.get(listMapsAggregates.get(nGroupingVariables).get(\\\"max\\\")), row)));\\r\\n\"+\n\t\t\t\t\"\t\t\ttempAggregatesMap.put(key4, val);\");\n\t\t\t}\n\t\t\tif(listMapsAggregates.get(nGroupingVariables).containsKey(\"count\")) {\n\t\t\t\tfileData.append(\"\t\t\ttempAggregatesMap.put(key5, tempAggregatesMap.getOrDefault(key5, 0.0)+1);\\r\\n\");\n\t\t\t}\n\t\t\tfileData.append(\"\t\t\t}\\r\\n\");\n\t\t\tfileData.append(\"\t\t}\\r\\n\");\n\t\t\tif(listMapsAggregates.get(nGroupingVariables).containsKey(\"avg\")) {\n\t\t\t\tfileData.append(\n\t\t\t\t\"\t\tfor(String key: tempAggregatesMap.keySet()) {\\r\\n\"+\n\t\t\t\t\"\t\t\tif(key.contains(\\\"_avg_\\\"))\\r\\n\"+\n\t\t\t\t\"\t\t\t\ttempAggregatesMap.put(key, tempAggregatesMap.get(key)/tempAggregatesMap.get(key.replace(\\\"_avg_\\\", \\\"_count_\\\")));\\r\\n\"+\n\t\t\t\t\"\t\t}\\r\\n\");\n\t\t\t}\n\t\t\tfileData.append(\"\t\taggregatesMap.putAll(tempAggregatesMap);\\r\\n\");\n\t\t}\n\t\t\n\t\tfileData.append(\"\t}\\n\");\n\n//PREPARE THE RESULTS AND ADD THEM TO A LIST OF OUTPUTROW\n\t\tfileData.append(\"\\r\\n\tpublic ArrayList<OutputRow> createOutputResultSet() {\\r\\n\" + \n\t\t\t\t\"\t\tArrayList<OutputRow> outputRowList = new ArrayList<OutputRow>();\\r\\n\"+\n\t\t\t\t\"\t\tfor(int i=0; i<allGroupKeyRows.get(0).size();i++) {\\r\\n\" + \n\t\t\t\t\"\t\t\tString str=allGroupKeyStrings.get(0).get(i);\\r\\n\" + \n\t\t\t\t\"\t\t\tString[] tempStr = str.split(\\\"_\\\");\\r\\n\" + \n\t\t\t\t\"\t\t\tArrayList<String> strList = new ArrayList<String>();\\r\\n\" + \n\t\t\t\t\"\t\t\tfor(int j=0; j<=payload.getnumber_of_grouping_variables(); j++) {\\r\\n\" + \n\t\t\t\t\"\t\t\t\tString ss = \\\"\\\";\\r\\n\" + \n\t\t\t\t\"\t\t\t\tint k=0;\\r\\n\" + \n\t\t\t\t\"\t\t\t\tfor(String gz: payload.getgrouping_attributes()) {\\r\\n\" + \n\t\t\t\t\"\t\t\t\t\tif(payload.getGroupingAttributesOfAllGroups().get(j).contains(gz)) ss=ss+tempStr[k++]+\\\"_\\\";\\r\\n\" + \n\t\t\t\t\"\t\t\t\t\telse k++;\\r\\n\" + \n\t\t\t\t\"\t\t\t\t}\\r\\n\" + \n\t\t\t\t\"\t\t\t\tstrList.add(ss.substring(0, ss.length()-1));\\r\\n\" + \n\t\t\t\t\"\t\t\t}\\r\\n\" + \n\t\t\t\t\"\t\t\t//having check\\r\\n\" + \n\t\t\t\t\"\t\t\tif(payload.isHavingClause()) {\\r\\n\" + \n\t\t\t\t\"\t\t\t\tString condition= prepareClause(allGroupKeyRows.get(0).get(i), allGroupKeyRows.get(0).get(i), payload.getHavingClause(), str, strList);\\r\\n\" + \n\t\t\t\t\"\t\t\t\tif(condition.equals(\\\"discard_invalid_entry\\\") || !Boolean.parseBoolean(expTree.execute(condition))) continue;\\r\\n\" + \n\t\t\t\t\"\t\t\t}\\r\\n\" + \n\t\t\t\t\"\\r\\n\" + \n\t\t\t\t\"\t\t\tOutputRow outputRow= convertInputToOutputRow(allGroupKeyRows.get(0).get(i), str, strList);\\r\\n\"+\n\t\t\t\t\"\t\t\tif(outputRow!=null){\\r\\n\" + \n\t\t\t\t\"\t\t\t\toutputRowList.add(outputRow);\\r\\n\"+\n\t\t\t\t\"\t\t\t}\\r\\n\"+\t\n\t\t\t\t\"\t\t}\\r\\n\" + \n\t\t\t\t\"\t\treturn outputRowList;\\r\\n\"+\n\t\t\t\t\"\t}\\n\");\n\t\t\n//PRINT THE OUTPUT ROW\n\t\tfileData.append(\"\\r\\n\tpublic void printOutputResultSet(ArrayList<OutputRow> outputResultSet) throws IOException{\\r\\n\");\n\t\tfileData.append(\"\t\tCalendar now = Calendar.getInstance();\\r\\n\" + \n\t\t\t\t\"\t\tDateFormat dateFormat = new SimpleDateFormat(\\\"MM/dd/yyyy HH:mm:ss\\\");\\r\\n\" + \n\t\t\t\t\"\t\tStringBuilder fileData = new StringBuilder();\\r\\n\" + \n\t\t\t\t\"\t\tfileData.append(\\\"TIME (MM/dd/yyyy HH:mm:ss)::::\\\"+dateFormat.format(now.getTime())+\\\"\\\\r\\\\n\\\");\\r\\n\" + \n\t\t\t\t\"\t\tString addDiv = \\\" -------------- \\\";\\r\\n\" + \n\t\t\t\t\"\t\tString divide = \\\"\\\";\\r\\n\" + \n\t\t\t\t\"\t\tString header=\\\"\\\";\"+\n\t\t\t\t\"\t\tfor(String select: payload.getselect_variables()) {\\r\\n\" + \n\t\t\t\t\"\t\t\tif(select.contains(\\\"0_\\\")) select=select.substring(2);\\r\\n\" + \n\t\t\t\t\"\t\t\theader=header+\\\" \\\"+select;\\r\\n\" + \n\t\t\t\t\"\t\t\tfor(int i=0;i<14-select.length();i++) header=header+\\\" \\\";\\r\\n\" + \n\t\t\t\t\"\t\t\tdivide=divide+addDiv;\\r\\n\"+\n\t\t\t\t\"\t\t}\\r\\n\" + \n\t\t\t\t\"\t\tSystem.out.println(divide); fileData.append(divide+\\\"\\\\r\\\\n\\\");\\r\\n\" + \n\t\t\t\t\"\t\tSystem.out.println(header); fileData.append(header+\\\"\\\\r\\\\n\\\");\\r\\n\" + \n\t\t\t\t\"\t\tSystem.out.println(divide); fileData.append(divide+\\\"\\\\r\\\\n\\\");\\r\\n\" + \n\t\t\t\t//\"\t\tSystem.out.println(); fileData.append(\\\"\\\\r\\\\n\\\");\\r\\n\" + \n\t\t\t\t\"\t\tString ansString=\\\"\\\";\\r\\n\" + \n\t\t\t\t\"\t\tDecimalFormat df = new DecimalFormat(\\\"#.####\\\");\\r\\n\");\n\t\tfileData.append(\"\t\tfor(OutputRow outputRow: outputResultSet) {\\r\\n\");\n\t\tfileData.append(\"\t\t\tString answer=\\\"\\\";\\r\\n\");\n\t\t\n\t\tfor(String select: payload.getselect_variables()) {\n\t\t\tif(helper.columnMapping.containsKey(select)) {\n\t\t\t\tint col = helper.columnMapping.get(select);\n\t\t\t\tif(col==0|| col==1|| col==5) {\n\t\t\t\t\t//string\n\t\t\t\t\tfileData.append(\"\t\t\tansString=outputRow.get\"+varPrefix+select+\"();\\r\\n\");\n\t\t\t\t\tfileData.append(\"\t\t\tanswer=answer+\\\" \\\"+ansString;\\r\\n\");\n\t\t\t\t\tfileData.append(\"\t\t\tfor(int k=0;k<14-ansString.length();k++) answer=answer+\\\" \\\";\\r\\n\");\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\t//int\n\t\t\t\t\tfileData.append(\"\t\t\tansString = Integer.toString(outputRow.get\"+varPrefix+select+\"());\\r\\n\");\n\t\t\t\t\tfileData.append(\"\t\t\tfor(int k=0;k<12-ansString.length();k++) answer=answer+\\\" \\\";\\r\\n\");\n\t\t\t\t\tfileData.append(\"\t\t\tanswer=answer+ansString+\\\" \\\";\\r\\n\");\n\t\t\t\t}\n\t\t\t}\n\t\t\telse {\n\t\t\t\t//double\n\t\t\t\tif(select.contains(\"/\")) select=select.replaceAll(\"/\", \"_divide_\");\n\t\t\t\tif(select.contains(\"*\")) select=select.replaceAll(\"*\", \"_multiply_\");\n\t\t\t\tif(select.contains(\"+\")) select=select.replaceAll(\"+\", \"_add_\");\n\t\t\t\tif(select.contains(\"-\")) select=select.replaceAll(\"-\", \"_minus_\");\n\t\t\t\tif(select.contains(\")\")) select=select.replaceAll(\"[)]+\", \"\");\n\t\t\t\tif(select.contains(\"(\")) select=select.replaceAll(\"[(]+\", \"\");\n\t\t\t\tfileData.append(\"\t\t\tansString = df.format(outputRow.get\"+varPrefix+select+\"());\\r\\n\");\n\t\t\t\tfileData.append(\"\t\t\tfor(int k=0;k<12-ansString.length();k++) answer=answer+\\\" \\\";\\r\\n\");\n\t\t\t\tfileData.append(\"\t\t\tanswer=answer+ansString+\\\" \\\";\\r\\n\");\n\t\t\t}\n\t\t}\n\t\tfileData.append(\"\t\t\tSystem.out.println(answer); fileData.append(answer+\\\"\\\\r\\\\n\\\");\\r\\n\");\n\t\tfileData.append(\"\t\t}\\r\\n\");\n\t\tfileData.append(\"\t\tFileOutputStream fos = new FileOutputStream(\\\"queryOutput/\"+payload.fileName+\"\\\");\\r\\n\" + \n\t\t\t\t\"\t\tfos.write(fileData.toString().getBytes());\\r\\n\" + \n\t\t\t\t\"\t\tfos.flush();\\r\\n\" + \n\t\t\t\t\"\t\tfos.close();\\r\\n\");\n\t\tfileData.append(\"\t}\\r\\n\");\n\t\t\n\t\t\n//DRIVER METHOD OF THE QUERY PROCESSOR\n\t\tfileData.append(\"\\r\\n\tpublic void process() throws IOException{\\r\\n\" + \n\t\t\t\t\"\t\tArrayList<InputRow> inputResultSet = createInputSet();\\r\\n\" + \n\t\t\t\t\"\t\tif(payload.getIsWhereClause()) inputResultSet = executeWhereClause(inputResultSet);\\r\\n\" + \n\t\t\t\t\"\t\tif(payload.getnumber_of_grouping_variables()>0) createListsBasedOnSuchThatPredicate(inputResultSet);\\r\\n\" + \n\t\t\t\t\"\t\tcomputeAggregates(inputResultSet);\\r\\n\" + \n\t\t\t\t\"\t\tArrayList<OutputRow> outputResultSet = createOutputResultSet();\\r\\n\" + \n\t\t\t\t\"\t\tprintOutputResultSet(outputResultSet);\\r\\n\"+\n\t\t\t\t\"\t}\\n\");\n\t\t\n\t\tfileData.append(\"}\");\n\t\tFileOutputStream fos = new FileOutputStream(\"src/dbmsProject/QueryProcessor.java\");\n\t\tfos.write(fileData.toString().getBytes());\n\t\tfos.flush();\n\t\tfos.close();\n\t}",
"<R> ProcessOperation<R> map(RowMapper<R> rowMapper);",
"public Query() {\n\n// oriToRwt = new HashMap();\n// oriToRwt.put(); // TODO\n }",
"@ZenCodeType.Method\n default IData map(Function<IData, IData> operation) {\n \n return operation.apply(this);\n }",
"public MapReduceToCollectionOperation action(final String action) {\n notNull(\"action\", action);\n isTrue(\"action must be one of: \\\"replace\\\", \\\"merge\\\", \\\"reduce\\\"\", VALID_ACTIONS.contains(action));\n this.action = action;\n return this;\n }",
"@Test\n public void testWeatherPool() throws FileNotFoundException, IOException {\n List<Tuple> input = getTuplesFromFile(\"mapreduceExamples/weather.txt\");\n \n MapReduceController mr = new MapReduceController();\n \n mr.addJob(input, new Instructions() {\n \n @Override\n public List<Tuple> map(Tuple input) {\n return weatherMap(input);\n }\n \n @Override\n public Tuple reduce(List<Tuple> input) {\n return weatherReduce(input);\n }\n \n }).executeThreadPool(2);\n \n \n List<Tuple> output = mr.gatherResult();\n \n assertEquals(3, output.size());\n for(Tuple tup : output) {\n assertTuple(tup, \"PA\", \"86 54\");\n assertTuple(tup, \"TX\", \"97 75\");\n assertTuple(tup, \"CA\", \"106 61\");\n }\n }",
"@Override\n public void initialize() {\n int numReduceTasks = conf.getNumReduceTasks();\n String jobID = taskAttemptID.getJobID();\n File mapOutputFolder = new File(\"mapoutput\");\n if (!mapOutputFolder.exists()) {\n mapOutputFolder.mkdir();\n }\n for (int reduceID = 0; reduceID < numReduceTasks; reduceID++) {\n outputFiles.add(\"mapoutput/\" + jobID + \"_r-\" + reduceID + \"_\" + this.partition);\n }\n }",
"static AggregateOperation compose(Iterable<AggregateOperation> operations) {\n // NOTE(user): It's possible to replace the following two sets with a single map.\n Set<SegmentId> segmentsToRemove = new TreeSet<SegmentId>(segmentComparator);\n Set<SegmentId> segmentsToAdd = new TreeSet<SegmentId>(segmentComparator);\n Set<SegmentId> segmentsToEndModifying = new TreeSet<SegmentId>(segmentComparator);\n Set<SegmentId> segmentsToStartModifying = new TreeSet<SegmentId>(segmentComparator);\n Set<ParticipantId> participantsToRemove = new TreeSet<ParticipantId>(participantComparator);\n Set<ParticipantId> participantsToAdd = new TreeSet<ParticipantId>(participantComparator);\n Map<String, DocOpList> docOps = new TreeMap<String, DocOpList>();\n for (AggregateOperation operation : operations) {\n composeIds(operation.segmentsToRemove, segmentsToRemove, segmentsToAdd);\n composeIds(operation.segmentsToAdd, segmentsToAdd, segmentsToRemove);\n composeIds(operation.segmentsToEndModifying, segmentsToEndModifying, segmentsToStartModifying);\n composeIds(operation.segmentsToStartModifying, segmentsToStartModifying, segmentsToEndModifying);\n composeIds(operation.participantsToRemove, participantsToRemove, participantsToAdd);\n composeIds(operation.participantsToAdd, participantsToAdd, participantsToRemove);\n for (DocumentOperations documentOps : operation.docOps) {\n DocOpList docOpList = docOps.get(documentOps.id);\n if (docOpList != null) {\n docOps.put(documentOps.id, docOpList.concatenateWith(documentOps.operations));\n } else {\n docOps.put(documentOps.id, documentOps.operations);\n }\n }\n }\n return new AggregateOperation(\n new ArrayList<SegmentId>(segmentsToRemove),\n new ArrayList<SegmentId>(segmentsToAdd),\n new ArrayList<SegmentId>(segmentsToEndModifying),\n new ArrayList<SegmentId>(segmentsToStartModifying),\n new ArrayList<ParticipantId>(participantsToRemove),\n new ArrayList<ParticipantId>(participantsToAdd),\n mapToList(docOps));\n }",
"Map<Element, Map<Element, Element>> getOperationMap();",
"OpFunction createOpFunction();",
"AggregateOperation() {\n segmentsToRemove = Collections.emptyList();\n segmentsToAdd = Collections.emptyList();\n segmentsToEndModifying = Collections.emptyList();\n segmentsToStartModifying = Collections.emptyList();\n participantsToRemove = Collections.emptyList();\n participantsToAdd = Collections.emptyList();\n docOps = Collections.emptyList();\n }",
"public abstract <X extends OSHDBMapReducible> MapReducer<X> createMapReducer(Class<X> forClass);",
"public interface FilterOperation {\n\n boolean check(Map<String, String> values);\n}",
"public void addOperation(Operation operation) {\n \tcandidateOPs.add(operation);\n totalTime += operation.getProcessingTime();\n }",
"OperationContinuation createOperationContinuation();",
"Operations operations();",
"static AggregateOperation createAggregate(WaveletOperation operation) {\n if (operation instanceof WaveletBlipOperation) {\n return new AggregateOperation((WaveletBlipOperation) operation);\n } else if (operation instanceof RemoveParticipant) {\n return new AggregateOperation((RemoveParticipant) operation);\n } else if (operation instanceof AddParticipant) {\n return new AggregateOperation((AddParticipant) operation);\n } else if (operation instanceof AddSegment) {\n return new AggregateOperation((AddSegment) operation);\n } else if (operation instanceof RemoveSegment) {\n return new AggregateOperation((RemoveSegment) operation);\n } else if (operation instanceof StartModifyingSegment) {\n return new AggregateOperation((StartModifyingSegment) operation);\n } else if (operation instanceof EndModifyingSegment) {\n return new AggregateOperation((EndModifyingSegment) operation);\n }\n assert operation instanceof NoOp : \"Operation is an unhandled type: \" + operation.getClass();\n return new AggregateOperation();\n }",
"OperationDTO createOperation(ItemType sourceType, long sourceId, long targetId, String userVcnId) throws LockFailedException;",
"UOp createUOp();",
"protected SQLBuffer toOperation(String op, SQLBuffer selects, \r\n SQLBuffer from, SQLBuffer where, SQLBuffer group, SQLBuffer having, \r\n SQLBuffer order, boolean distinct, boolean forUpdate, long start, \r\n long end,String forUpdateString) {\r\n SQLBuffer buf = new SQLBuffer(this);\r\n buf.append(op);\r\n boolean range = start != 0 || end != Long.MAX_VALUE;\r\n if (range && rangePosition == RANGE_PRE_DISTINCT)\r\n appendSelectRange(buf, start, end);\r\n if (distinct)\r\n buf.append(\" DISTINCT\");\r\n if (range && rangePosition == RANGE_POST_DISTINCT)\r\n appendSelectRange(buf, start, end);\r\n buf.append(\" \").append(selects).append(\" FROM \").append(from);\r\n \r\n if (where != null && !where.isEmpty())\r\n buf.append(\" WHERE \").append(where);\r\n if (group != null && !group.isEmpty())\r\n buf.append(\" GROUP BY \").append(group);\r\n if (having != null && !having.isEmpty()) {\r\n assertSupport(supportsHaving, \"SupportsHaving\");\r\n buf.append(\" HAVING \").append(having);\r\n }\r\n if (order != null && !order.isEmpty())\r\n buf.append(\" ORDER BY \").append(order);\r\n if (range && rangePosition == RANGE_POST_SELECT)\r\n appendSelectRange(buf, start, end);\r\n \r\n if (!simulateLocking ) {\r\n assertSupport(supportsSelectForUpdate, \"SupportsSelectForUpdate\");\r\n buf.append(\" \").append(forUpdateString);\r\n }\r\n if (range && rangePosition == RANGE_POST_LOCK)\r\n appendSelectRange(buf, start, end);\r\n return buf;\r\n }",
"public ApplyExample() {\r\n oredCriteria = new ArrayList<Criteria>();\r\n }",
"public MapSum() {\n\n }",
"public interface OperationMapper {\n\n\tOperation get(int id);\n\n\tvoid save(Operation operation);\n\n\tvoid update(Operation operation);\n\n\tvoid delete(int id);\n\n\tList<Operation> findAll();\n\n List<Operation> findByResource(int resourceId);\n\n Operation findOperationByName(String name);\n\n Operation getByUrl(String url);\n}",
"UpdateOperationConfiguration build();",
"private void addOp(final Op op) {\n result.add(op);\n }",
"public void setOperation(String op) {this.operation = op;}",
"@Test\n public void test2() throws Exception {\n String query = \"A =LOAD 'file.txt' AS (a:(u,v), b, c);\" +\n \"B = FOREACH A GENERATE $0, b;\" +\n \"C = FILTER B BY \" + SIZE.class.getName() +\"(TOTUPLE(*)) > 5;\" +\n \"STORE C INTO 'empty';\"; \n LogicalPlan newLogicalPlan = buildPlan( query );\n\n Operator load = newLogicalPlan.getSources().get( 0 );\n Assert.assertTrue( load instanceof LOLoad );\n Operator fe1 = newLogicalPlan.getSuccessors( load ).get( 0 );\n Assert.assertTrue( fe1 instanceof LOForEach );\n Operator filter = newLogicalPlan.getSuccessors( fe1 ).get( 0 );\n Assert.assertTrue( filter instanceof LOFilter );\n Operator fe2 = newLogicalPlan.getSuccessors( filter ).get( 0 );\n Assert.assertTrue( fe2 instanceof LOForEach );\n }",
"@Test\n public void test4() throws Exception {\n String query = \"A =LOAD 'file.txt' AS (a:(u,v), b, c);\" +\n \"B = FOREACH A GENERATE $0, b, flatten(1);\" +\n \"C = FILTER B BY \" + SIZE.class.getName() +\"(TOTUPLE(*)) > 5;\" +\n \"STORE C INTO 'empty';\"; \n LogicalPlan newLogicalPlan = buildPlan( query );\n\n Operator load = newLogicalPlan.getSources().get( 0 );\n Assert.assertTrue( load instanceof LOLoad );\n Operator fe1 = newLogicalPlan.getSuccessors( load ).get( 0 );\n Assert.assertTrue( fe1 instanceof LOForEach );\n Operator fe2 = newLogicalPlan.getSuccessors( fe1 ).get( 0 );\n Assert.assertTrue( fe2 instanceof LOForEach );\n Operator filter = newLogicalPlan.getSuccessors( fe2 ).get( 0 );\n Assert.assertTrue( filter instanceof LOFilter );\n }",
"@Override\n public boolean rewritePre(Mutable<ILogicalOperator> opRef, IOptimizationContext context)\n throws AlgebricksException {\n\n boolean cboMode = this.getCBOMode(context);\n boolean cboTestMode = this.getCBOTestMode(context);\n\n if (!(cboMode || cboTestMode)) {\n return false;\n }\n\n // If we reach here, then either cboMode or cboTestMode is true.\n // If cboTestMode is true, then we use predefined cardinalities for datasets for asterixdb regression tests.\n // If cboMode is true, then all datasets need to have samples, otherwise the check in doAllDataSourcesHaveSamples()\n // further below will return false.\n ILogicalOperator op = opRef.getValue();\n if (!(joinClause(op) || ((op.getOperatorTag() == LogicalOperatorTag.DISTRIBUTE_RESULT)))) {\n return false;\n }\n\n // if this join has already been seen before, no need to apply the rule again\n if (context.checkIfInDontApplySet(this, op)) {\n return false;\n }\n\n //joinOps = new ArrayList<>();\n allJoinOps = new ArrayList<>();\n newJoinOps = new ArrayList<>();\n leafInputs = new ArrayList<>();\n varLeafInputIds = new HashMap<>();\n outerJoinsDependencyList = new ArrayList<>();\n assignOps = new ArrayList<>();\n assignJoinExprs = new ArrayList<>();\n buildSets = new ArrayList<>();\n\n IPlanPrettyPrinter pp = context.getPrettyPrinter();\n printPlan(pp, (AbstractLogicalOperator) op, \"Original Whole plan1\");\n leafInputNumber = 0;\n boolean canTransform = getJoinOpsAndLeafInputs(op);\n\n if (!canTransform) {\n return false;\n }\n\n convertOuterJoinstoJoinsIfPossible(outerJoinsDependencyList);\n\n printPlan(pp, (AbstractLogicalOperator) op, \"Original Whole plan2\");\n int numberOfFromTerms = leafInputs.size();\n\n if (LOGGER.isTraceEnabled()) {\n String viewInPlan = new ALogicalPlanImpl(opRef).toString(); //useful when debugging\n LOGGER.trace(\"viewInPlan\");\n LOGGER.trace(viewInPlan);\n }\n\n if (buildSets.size() > 1) {\n buildSets.sort(Comparator.comparingDouble(o -> o.second)); // sort on the number of tables in each set\n // we need to build the smaller sets first. So we need to find these first.\n }\n joinEnum.initEnum((AbstractLogicalOperator) op, cboMode, cboTestMode, numberOfFromTerms, leafInputs, allJoinOps,\n assignOps, outerJoinsDependencyList, buildSets, varLeafInputIds, context);\n\n if (cboMode) {\n if (!doAllDataSourcesHaveSamples(leafInputs, context)) {\n return false;\n }\n }\n\n printLeafPlans(pp, leafInputs, \"Inputs1\");\n\n if (assignOps.size() > 0) {\n pushAssignsIntoLeafInputs(pp, leafInputs, assignOps, assignJoinExprs);\n }\n\n printLeafPlans(pp, leafInputs, \"Inputs2\");\n\n int cheapestPlan = joinEnum.enumerateJoins(); // MAIN CALL INTO CBO\n if (cheapestPlan == PlanNode.NO_PLAN) {\n return false;\n }\n\n PlanNode cheapestPlanNode = joinEnum.allPlans.get(cheapestPlan);\n\n generateHintWarnings();\n\n if (numberOfFromTerms > 1) {\n getNewJoinOps(cheapestPlanNode, allJoinOps);\n if (allJoinOps.size() != newJoinOps.size()) {\n return false; // there are some cases such as R OJ S on true. Here there is an OJ predicate but the code in findJoinConditions\n // in JoinEnum does not capture this. Will fix later. Just bail for now.\n }\n buildNewTree(cheapestPlanNode, newJoinOps, new MutableInt(0));\n opRef.setValue(newJoinOps.get(0));\n\n if (assignOps.size() > 0) {\n for (int i = assignOps.size() - 1; i >= 0; i--) {\n MutableBoolean removed = new MutableBoolean(false);\n removed.setFalse();\n pushAssignsAboveJoins(newJoinOps.get(0), assignOps.get(i), assignJoinExprs.get(i), removed);\n if (removed.isTrue()) {\n assignOps.remove(i);\n }\n }\n }\n\n printPlan(pp, (AbstractLogicalOperator) newJoinOps.get(0), \"New Whole Plan after buildNewTree 1\");\n ILogicalOperator root = addRemainingAssignsAtTheTop(newJoinOps.get(0), assignOps);\n printPlan(pp, (AbstractLogicalOperator) newJoinOps.get(0), \"New Whole Plan after buildNewTree 2\");\n printPlan(pp, (AbstractLogicalOperator) root, \"New Whole Plan after buildNewTree\");\n\n // this will be the new root\n opRef.setValue(root);\n\n if (LOGGER.isTraceEnabled()) {\n String viewInPlan = new ALogicalPlanImpl(opRef).toString(); //useful when debugging\n LOGGER.trace(\"viewInPlanAgain\");\n LOGGER.trace(viewInPlan);\n String viewOutPlan = new ALogicalPlanImpl(opRef).toString(); //useful when debugging\n LOGGER.trace(\"viewOutPlan\");\n LOGGER.trace(viewOutPlan);\n }\n\n if (LOGGER.isTraceEnabled()) {\n LOGGER.trace(\"---------------------------- Printing Leaf Inputs\");\n printLeafPlans(pp, leafInputs, \"Inputs\");\n // print joins starting from the bottom\n for (int i = newJoinOps.size() - 1; i >= 0; i--) {\n printPlan(pp, (AbstractLogicalOperator) newJoinOps.get(i), \"join \" + i);\n }\n printPlan(pp, (AbstractLogicalOperator) newJoinOps.get(0), \"New Whole Plan\");\n printPlan(pp, (AbstractLogicalOperator) root, \"New Whole Plan\");\n }\n\n // turn of this rule for all joins in this set (subtree)\n for (ILogicalOperator joinOp : newJoinOps) {\n context.addToDontApplySet(this, joinOp);\n }\n\n } else {\n buildNewTree(cheapestPlanNode);\n }\n\n return true;\n }",
"IOperationable create(String operationType);",
"@Test\n public void test3() throws Exception {\n String query = \"A =LOAD 'file.txt' AS (a:(u,v), b, c);\" +\n \"B = FOREACH A GENERATE $0, b;\" +\n \"C = FILTER B BY 8 > 5;\" +\n \"STORE C INTO 'empty';\"; \n LogicalPlan newLogicalPlan = buildPlan( query );\n\n Operator load = newLogicalPlan.getSources().get( 0 );\n Assert.assertTrue( load instanceof LOLoad );\n Operator filter = newLogicalPlan.getSuccessors( load ).get( 0 );\n Assert.assertTrue( filter instanceof LOFilter );\n Operator fe1 = newLogicalPlan.getSuccessors( filter ).get( 0 );\n Assert.assertTrue( fe1 instanceof LOForEach );\n Operator fe2 = newLogicalPlan.getSuccessors( fe1 ).get( 0 );\n Assert.assertTrue( fe2 instanceof LOForEach );\n }",
"private void configureOperations(ConfigExtractor cfg) {\n operations = new TreeMap<OperationType, OperationInfo>();\n Map<OperationType, OperationData> opinfo = cfg.getOperations();\n int totalAm = cfg.getOpCount();\n int opsLeft = totalAm;\n NumberFormat formatter = Formatter.getPercentFormatter();\n for (final OperationType type : opinfo.keySet()) {\n OperationData opData = opinfo.get(type);\n OperationInfo info = new OperationInfo();\n info.distribution = opData.getDistribution();\n int amLeft = determineHowMany(totalAm, opData, type);\n opsLeft -= amLeft;\n LOG\n .info(type.name() + \" has \" + amLeft + \" initial operations out of \"\n + totalAm + \" for its ratio \"\n + formatter.format(opData.getPercent()));\n info.amountLeft = amLeft;\n Operation op = factory.getOperation(type);\n // wrap operation in finalizer so that amount left gets decrements when\n // its done\n if (op != null) {\n Observer fn = new Observer() {\n public void notifyFinished(Operation op) {\n OperationInfo opInfo = operations.get(type);\n if (opInfo != null) {\n --opInfo.amountLeft;\n }\n }\n\n public void notifyStarting(Operation op) {\n }\n };\n info.operation = new ObserveableOp(op, fn);\n operations.put(type, info);\n }\n }\n if (opsLeft > 0) {\n LOG\n .info(opsLeft\n + \" left over operations found (due to inability to support partial operations)\");\n }\n }",
"public void mergingMapReduce(TimePeriod timePeriod) {\n\n\t\tSystem.out.println(\"Starting merging mapreduce...\");\n\n\t\tDBCollection dailyCollection = mongoOps\n\t\t\t\t.getCollection(DAILY_COLLECT_NAME);\n\n\t\tCalendar stDate = Calendar.getInstance();\n\t\tif (timePeriod.equals(TimePeriod.PASTWEEK)) {\n\t\t\tstDate.add(Calendar.DATE, -7);\n\t\t} else if (timePeriod.equals(TimePeriod.PASTMONTH)) {\n\t\t\tstDate.add(Calendar.DATE, -30);\n\t\t} else {\n\t\t\treturn;\n\t\t}\n\n\t\tSystem.out.println(\"Start date: \" + stDate.getTime().toString());\n\n\t\t// create pipeline operations, first with the $match\n\t\tDBObject matchObj = new BasicDBObject(\"_id.date\", new BasicDBObject(\n\t\t\t\t\"$gte\", counterDateFormat.format(stDate.getTime())));\n\t\tDBObject match = new BasicDBObject(\"$match\", matchObj);\n\n\t\t// build the $projection operation\n\t\tDBObject fields = new BasicDBObject(\"_id.id\", 1);\n\t\tfields.put(\"_id.type\", 1);\n\t\tfields.put(\"value\", 1);\n\t\tDBObject project = new BasicDBObject(\"$project\", fields);\n\n\t\t// the $group operation\n\t\tMap<String, Object> dbObjIdMap = new HashMap<String, Object>();\n\t\tdbObjIdMap.put(\"id\", \"$_id.id\");\n\t\tdbObjIdMap.put(\"type\", \"$_id.type\");\n\t\tDBObject groupFields = new BasicDBObject(\"_id\", new BasicDBObject(\n\t\t\t\tdbObjIdMap));\n\t\tgroupFields.put(\"value\", new BasicDBObject(\"$sum\", \"$value\"));\n\t\tDBObject group = new BasicDBObject(\"$group\", groupFields);\n\n\t\t// $out operation\n\t\tDBObject out = new BasicDBObject(\"$out\",\n\t\t\t\t(timePeriod.equals(TimePeriod.PASTWEEK) ? WEEKLY_COLLECT_NAME\n\t\t\t\t\t\t: MONTHLY_COLLECT_NAME));\n\n\t\tList<DBObject> pipeline = Arrays.asList(match, project, group, out);\n\t\tdailyCollection.aggregate(pipeline);\n\n\t\tSystem.out.println(\"Finished merging mapreduce\");\n\t}",
"public ServiceTaskExample() {\n oredCriteria = new ArrayList<Criteria>();\n }",
"@Override\n public void construct() {\n Metric metric =\n new CPU_Utilization(1) {\n @Override\n public MetricFlowUnit gather(Queryable queryable) {\n return MetricFlowUnit.generic();\n }\n };\n Symptom earthSymptom =\n new Symptom(1) {\n @Override\n public SymptomFlowUnit operate() {\n return SymptomFlowUnit.generic();\n }\n\n @Override\n public String name() {\n return EARTH_KEY;\n }\n };\n Symptom moonSymptom =\n new Symptom(1) {\n @Override\n public SymptomFlowUnit operate() {\n return SymptomFlowUnit.generic();\n }\n\n public String name() {\n return MOON_KEY;\n }\n };\n\n Metric skyLabCpu =\n new CPU_Utilization(1) {\n @Override\n public MetricFlowUnit gather(Queryable queryable) {\n return MetricFlowUnit.generic();\n }\n };\n Symptom skyLabsSymptom =\n new Symptom(1) {\n @Override\n public SymptomFlowUnit operate() {\n return SymptomFlowUnit.generic();\n }\n\n public String name() {\n return SKY_LABS_KEY;\n }\n };\n\n addLeaf(metric);\n addLeaf(skyLabCpu);\n earthSymptom.addAllUpstreams(Collections.singletonList(metric));\n moonSymptom.addAllUpstreams(Collections.singletonList(earthSymptom));\n skyLabsSymptom.addAllUpstreams(\n new ArrayList<Node<?>>() {\n {\n add(earthSymptom);\n add(moonSymptom);\n add(skyLabCpu);\n }\n });\n\n metric.addTag(LOCUS_KEY, EARTH_KEY);\n earthSymptom.addTag(LOCUS_KEY, EARTH_KEY);\n moonSymptom.addTag(LOCUS_KEY, MOON_KEY);\n skyLabCpu.addTag(LOCUS_KEY, SKY_LABS_KEY);\n skyLabsSymptom.addTag(LOCUS_KEY, SKY_LABS_KEY);\n }",
"public interface Operator {\n\n Map<String, Operator> oprators = Factory.instance();\n\n /**\n * calculate first operator second such as 1 + 2\n * @param first\n * @param second\n * @return\n */\n @NotNull\n BigDecimal calculate(@NotNull BigDecimal first, @NotNull BigDecimal second);\n\n int priority();\n\n\n\n class Factory {\n public static Map<String, Operator> instance() {\n Map<String, Operator> instance = new HashMap();\n\n instance.put(\"+\", new AddOperator());\n instance.put(\"-\", new SubOperator());\n instance.put(\"*\", new MultiOperator());\n instance.put(\"/\", new DiviOperator());\n\n return instance;\n }\n }\n\n}",
"@InterfaceAudience.Public\n Reducer compileReduce(String source, String language);",
"public Criteria(Map comparisonoperatorMap, Operator defaultComparisonOperator)\n\t{\n\t\tif (comparisonoperatorMap == null || defaultComparisonOperator == null)\n\t\t{\n\t\t\tthrow new NullPointerException(\"Criteria creation failed because operator map or default comparison operator was null.\");\n\t\t}\n\t\tmComparisonOperatorMap = comparisonoperatorMap;\n\t\tmDefaultComparisonOperator = defaultComparisonOperator;\n\t\tmLogicalOperatorMap = new HashMap();\n\t\tmDefaultLogicalOperator = new SimpleLogicalOperator(\"AND NOT\");\n\t}",
"@Test\n public void test1() throws Exception {\n String query = \"A =LOAD 'file.txt' AS (a:bag{(u,v)}, b, c);\" +\n \"B = FOREACH A GENERATE $0, b;\" +\n \"C = FILTER B BY \" + COUNT.class.getName() +\"($0) > 5;\" +\n \"STORE C INTO 'empty';\"; \n LogicalPlan newLogicalPlan = buildPlan( query );\n\n Operator load = newLogicalPlan.getSources().get( 0 );\n Assert.assertTrue( load instanceof LOLoad );\n Operator fe1 = newLogicalPlan.getSuccessors( load ).get( 0 );\n Assert.assertTrue( fe1 instanceof LOForEach );\n Operator filter = newLogicalPlan.getSuccessors( fe1 ).get( 0 );\n Assert.assertTrue( filter instanceof LOFilter );\n Operator fe2 = newLogicalPlan.getSuccessors( filter ).get( 0 );\n Assert.assertTrue( fe2 instanceof LOForEach );\n }",
"public KMeansOperator(Node com, InfinispanManager persistence, LogProxy log, Action action) {\n super(com, persistence, log, action);\n }",
"public static void mergingMapReduce(TimePeriod timePeriod) {\n\n\t\tSystem.out.println(\"Starting merging mapreduce...\");\n\n\t\tDBCollection dailyCollection = mongoOps\n\t\t\t\t.getCollection(DAILY_COLLECT_NAME);\n\n\t\tCalendar stDate = Calendar.getInstance();\n\t\tif (timePeriod.equals(TimePeriod.PASTWEEK)) {\n\t\t\tstDate.add(Calendar.DATE, -7);\n\t\t} else if (timePeriod.equals(TimePeriod.PASTMONTH)) {\n\t\t\tstDate.add(Calendar.DATE, -30);\n\t\t} else {\n\t\t\treturn;\n\t\t}\n\n\t\tSystem.out.println(\"Start date: \" + stDate.getTime().toString());\n\n\t\t// create pipeline operations, first with the $match\n\t\tDBObject matchObj = new BasicDBObject(\"_id.date\", new BasicDBObject(\n\t\t\t\t\"$gte\", counterDateFormat.format(stDate.getTime())));\n\t\tDBObject match = new BasicDBObject(\"$match\", matchObj);\n\n\t\t// build the $projection operation\n\t\tDBObject fields = new BasicDBObject(\"_id.id\", 1);\n\t\tfields.put(\"_id.type\", 1);\n\t\tfields.put(\"value\", 1);\n\t\tDBObject project = new BasicDBObject(\"$project\", fields);\n\n\t\t// the $group operation\n\t\tMap<String, Object> dbObjIdMap = new HashMap<String, Object>();\n\t\tdbObjIdMap.put(\"id\", \"$_id.id\");\n\t\tdbObjIdMap.put(\"type\", \"$_id.type\");\n\t\tDBObject groupFields = new BasicDBObject(\"_id\", new BasicDBObject(\n\t\t\t\tdbObjIdMap));\n\t\tgroupFields.put(\"value\", new BasicDBObject(\"$sum\", \"$value\"));\n\t\tDBObject group = new BasicDBObject(\"$group\", groupFields);\n\n\t\t// $out operation\n\t\tDBObject out = new BasicDBObject(\"$out\",\n\t\t\t\t(timePeriod.equals(TimePeriod.PASTWEEK) ? WEEKLY_COLLECT_NAME\n\t\t\t\t\t\t: MONTHLY_COLLECT_NAME));\n\n\t\tList<DBObject> pipeline = Arrays.asList(match, project, group, out);\n\t\tdailyCollection.aggregate(pipeline);\n\n\t\tSystem.out.println(\"Finished merging mapreduce\");\n\t}",
"@Override\r\n\tprotected void onReduceMp()\r\n\t{\n\t}",
"public Criteria(Map logicaloperatorMap, LogicalOperator defaultLogicalOperator)\n\t{\n\t\tif (logicaloperatorMap == null || defaultLogicalOperator == null)\n\t\t{\n\t\t\tthrow new NullPointerException(\"Criteria creation failed because operator map or default logical operator was null.\");\n\t\t}\n\t\tmComparisonOperatorMap = new HashMap();\n\t\tmDefaultComparisonOperator = Operator.EQUALS;\n\t\tmLogicalOperatorMap = logicaloperatorMap;\n\t\t\n\t\tmDefaultLogicalOperator = defaultLogicalOperator;\n\t}",
"void materialize(String output_path, Map<String,String> prefixes, String id_interlink, String s_dataSource, String s_class_restriction,\n String t_dataSource, String t_class_restriction, String type_aggregate,\n String metric, String[] input_props);",
"public static void main(String[] args) throws IOException, ClassNotFoundException, InterruptedException\n\t{\n\t\tCubeProperties cubePropertyObj = CubeProperties.readCubeProperties();\n\t\t\n\t\t// Map of dbColumn name and the name appearing of that column in Cube\n\t\tMap <String, String> dimensionMap = cubePropertyObj.getDimensionMap();\n\t\tString measure = cubePropertyObj.getMeasure();\n\t\tString fact = cubePropertyObj.getFact();\n\t\t\n\t\t// Query the mongodb to retrieve the dimension fields and fact\n\t\tQueryDB queryObj = new QueryDB();\n\t\t\n\t\t// Map of string concatenation of all dimension field values and the respective fact value\n\t\tMap<String,Integer> dimensionFactMap= queryObj.readDbData(dimensionMap, fact);\t\n\t\t\n\t\t//Path of file to store the query result later to be read by hadoop mapper \n\t\tPath queryResultFilePath = new Path(\"queryResults.txt\");\n\t\t\n\t\t// Write the query result in the path specified\n\t\tUtils utilsobj = new Utils();\n\t\tutilsobj.writeQueryResultToFile(queryResultFilePath, dimensionFactMap);\t\t\t\n\t\t\n // Create a new hadoop map reduce job\n Job job = new Job();\n\n // Set job name to locate it in the distributed environment\n job.setJarByClass(Main.class);\n job.setJobName(\"Sum across all dimensions\");\n \n // Path of folder to store the results of the hadoop reducer \n String reducerOutputFolderPath = \"out\";\n \n // Set input and output Path, note that we use the default input format\n // which is TextInputFormat (each record is a line of input)\n FileInputFormat.addInputPath(job, queryResultFilePath);\n FileOutputFormat.setOutputPath(job, new Path(reducerOutputFolderPath));\n\n // Set Mapper and Reducer class\n job.setMapperClass(SumMapper.class);\n job.setReducerClass(SumReducer.class);\n\n // Set Output key and value\n job.setOutputKeyClass(Text.class);\n job.setOutputValueClass(IntWritable.class);\n\n System.exit(job.waitForCompletion(true) ? 0 : 1);\n\t\t\n\t\t\n\t}",
"public ChainOperator(){\n\n }",
"public OpApplNode(UniqueString us, FormalParamNode[] funcName,\n ExprOrOpArgNode[] ops, FormalParamNode[][] pars,\n boolean[] isT, ExprNode[] rs, TreeNode stn,\n ModuleNode mn) {\n super(OpApplKind, stn);\n this.operands = ops;\n this.unboundedBoundSymbols = funcName;\n // Will be null except for function defs.\n // In that case it will be non-null initially\n // and will be changed to null if the function\n // turns out to be non-recursive.\n// this.isATuple = false;\n this.boundedBoundSymbols= pars;\n this.tupleOrs = isT;\n this.ranges = rs;\n this.operator = Context.getGlobalContext().getSymbol(us);\n // operator.match( this, mn );\n }",
"protected GenTreeOperation() {}",
"public <O extends FighterOperation> O apply(O operation);",
"public MapReduceOutput mapReduce(final String map, final String reduce, final String outputTarget,\n final DBObject query) {\n MapReduceCommand command = new MapReduceCommand(this, map, reduce, outputTarget, MapReduceCommand.OutputType.REDUCE, query);\n return mapReduce(command);\n }",
"public ParallelLongArrayWithFilter replaceWithMapping(LongOp op) {\r\n ex.invoke(new PAS.FJLTransform\r\n (this, firstIndex, upperBound, null, op));\r\n return this;\r\n }",
"@Test\n public void mapNew() {\n check(MAPNEW);\n query(EXISTS.args(MAPNEW.args(\"()\")), true);\n query(MAPSIZE.args(MAPNEW.args(\"()\")), 0);\n query(COUNT.args(MAPNEW.args(\"()\")), 1);\n query(MAPSIZE.args(MAPNEW.args(MAPNEW.args(\"()\"))), 0);\n }",
"public MapReduceOutput mapReduce(final String map, final String reduce, final String outputTarget,\n final MapReduceCommand.OutputType outputType, final DBObject query) {\n MapReduceCommand command = new MapReduceCommand(this, map, reduce, outputTarget, outputType, query);\n return mapReduce(command);\n }",
"public Command createOperationCommand(int operator, Operand operand1, Operand operand2);",
"public InMemoryCombiningReducer() {\n\n\t\t}",
"public Criteria(Map comparisonoperatorMap, Operator defaultComparisonOperator, Map logicalOperatorMap, LogicalOperator defaultLogicalOperator)\n\t{\n\t\tif (comparisonoperatorMap == null || defaultComparisonOperator == null || defaultLogicalOperator == null || logicalOperatorMap == null)\n\t\t{\n\t\t\tthrow new NullPointerException(\"Criteria creation failed because operator map or default operator was null.\");\n\t\t}\n\t\tmComparisonOperatorMap = comparisonoperatorMap;\n\t\tmDefaultComparisonOperator = defaultComparisonOperator;\n\t\tmLogicalOperatorMap = logicalOperatorMap;\n\t\tmDefaultLogicalOperator = defaultLogicalOperator;\n\t}",
"public ApplyopenExample() {\n oredCriteria = new ArrayList<Criteria>();\n }",
"public Preperation(String wordField, String summationField, char operation, String baseValue) {\n\n operator = operation;\n base = baseValue;\n System.out.println(\"base: \" + base);\n splitWord(wordField);//fill wordMap with words from the first text field\n summationLetters = splitLetters(summationField);//split the letters from the summation field into an array of strings\n summationWord = summationField.toUpperCase();\n // split the words in the wordMap into letters and create the letterMap\n for (int i = 0; i < wordMap.size(); i++) {\n for (int j = 0; j < wordMap.get(\"word\" + i).length; j++) {\n String temp;\n temp = splitLetters(wordMap.get(\"word\" + i).getName())[j];\n letterMap.put(\"W\" + i + \"L\" + j, temp);\n if (!uniqueLettersList.contains(temp)) {\n uniqueLettersList.add(temp);\n }\n }\n\n }\n //add the letters from the summation field into a map\n for (int i = 0; i < summationLetters.length; i++) {\n letterMap.put(\"S1l\" + i, summationLetters[i]);\n if (!uniqueLettersList.contains(summationLetters[i])) {\n uniqueLettersList.add(summationLetters[i]);\n }\n }\n System.out.println(letterMap);\n System.out.println(letterMap.get(\"W0l0\"));\n }",
"@Override\n\tpublic void addOperation(Operation op, ColumnOptMetadata optinfo) {\n\t}",
"public Operations() {\n initComponents();\n populateO();\n }",
"Counter registerOperation(Class<? extends Operation> operationType);",
"ArgMapRule createArgMapRule();",
"void applySummary(Operation operation, Method method);",
"public void AllReduce(long[] inData, long[] outData, MpiOp op) {\n\n long[] result = new long[inData.length];\n\n\n\n Reduce(inData, result, op, 0);\n\n //REDUCE_TAG--;\n\n Bcast(result, 0);\n\n System.arraycopy(result, 0, outData, 0, result.length);\n }",
"private String reduceOperation(String op1, String opd, String op2, StringBuffer expr) {\r\n if (opd == null) {\r\n if (op1 == null || op2 == null) {\r\n return null;\r\n } else if (\"AND\".equals(op1) && \"AND\".equals(op2)) {\r\n return \"AND\";\r\n } else {\r\n return \"OR\";\r\n }\r\n } else {\r\n if (op1 != null) {\r\n expr.append(op1).append(\" \");\r\n }\r\n expr.append(opd).append(\" \");\r\n return op2;\r\n }\r\n }",
"public OpApplNode(UniqueString us, ExprOrOpArgNode[] ops, TreeNode stn,\n ModuleNode mn) {\n super(OpApplKind, stn);\n this.operands = ops;\n this.unboundedBoundSymbols = null;\n// this.isATuple = false;\n this.boundedBoundSymbols= null;\n this.tupleOrs = null;\n this.ranges = new ExprNode[0];\n this.operator = Context.getGlobalContext().getSymbol(us);\n // operator.match( this, mn );\n }",
"public<T,U> List<U> map(final Collection<T> collection, final Operation<T,U> operation ){\t\t\n\t\tList<U> result = create.createLinkedList();\n\t\tfor(T t:query.getOrEmpty(collection)){\n\t\t\tresult.add(operation.apply(t));\n\t\t}\n\t\treturn result;\n\t}",
"@Override\n public Object build() {\n String countFilterField = null;\n for (ParamComposite param : this.getChildren().stream()\n .filter(child -> ParamComposite.class.isAssignableFrom(child.getClass()))\n .map(child -> (ParamComposite) child).collect(Collectors.toList())) {\n switch (param.getName().toLowerCase()) {\n case \"field\":\n countFilterField = (String)param.getValue();\n break;\n case \"operator\":\n operator = (BiPredicate) param.getValue();\n break;\n case \"operands\":\n operands = (List<String>)param.getValue();\n break;\n\n }\n }\n\n if (countFilterField != null) {\n String fieldName = (this.getName()+ COUNT_FIELD).replace(\".\",\"_\");\n TermsAggregationBuilder aggregation = AggregationBuilders.terms(this.getName()).field(this.getName())\n .subAggregation(PipelineAggregatorBuilders.bucketSelector(countFilterField,\n Collections.singletonMap(fieldName,\"_count\"),\n BuildFilterScript.script(fieldName, operator,operands)));\n return aggregation;\n }\n\n return this;\n }",
"private OperatorManager() {}",
"public MapReduceOutput mapReduce(final String map, final String reduce, final String outputTarget,\n final MapReduceCommand.OutputType outputType, final DBObject query,\n final ReadPreference readPreference) {\n MapReduceCommand command = new MapReduceCommand(this, map, reduce, outputTarget, outputType, query);\n command.setReadPreference(readPreference);\n return mapReduce(command);\n }",
"public Criteria(Map comparisonoperatorMap, Operator defaultcomparisonOperator, LogicalOperator defaultLogicalOperator)\n\t{\n\t\tif (comparisonoperatorMap == null || defaultLogicalOperator == null || defaultcomparisonOperator == null)\n\t\t{\n\t\t\tthrow new NullPointerException(\"Criteria creation failed because operator map or default comparison/logical operator was null.\");\n\t\t}\n\t\tmComparisonOperatorMap = comparisonoperatorMap;\n\t\tmDefaultComparisonOperator = defaultcomparisonOperator;\n\t\tmLogicalOperatorMap = new HashMap();\n\t\tmDefaultLogicalOperator = defaultLogicalOperator;\n\t\n\t}",
"AggregateOperation(WaveletBlipOperation op) {\n segmentsToRemove = Collections.emptyList();\n segmentsToAdd = Collections.emptyList();\n segmentsToEndModifying = Collections.emptyList();\n segmentsToStartModifying = Collections.emptyList();\n participantsToRemove = Collections.emptyList();\n participantsToAdd = Collections.emptyList();\n if (op.getBlipOp() instanceof BlipContentOperation) {\n docOps = Collections.singletonList(\n new DocumentOperations(\n op.getBlipId(),\n new DocOpList.Singleton(((BlipContentOperation) op.getBlipOp()).getContentOp())));\n } else {\n docOps = Collections.emptyList();\n }\n }",
"@Override\n public SymmetricOpDescription build() {\n return new SymmetricOpDescription(operatorType, dataCodecClass, tasks, redFuncClass);\n }",
"public void Reduce(long[] inData, long[] outData, MpiOp op, int root) {\n\n if (TREE) {\n tree_reduce(inData, outData, op, root);\n } else {\n naive_reduce(inData, outData, op, root);\n }\n\n REDUCE_TAG--;\n }",
"protected QueryResultsCollector createClientCollector(Map qOptions, \n\t\t String operation) throws SessionException\n {\n String msg;\n QueryClient queryClient;\n \n try {\n //use utility to collect required data to built a query client\n QueryClientUtil barricade = new QueryClientUtil(qOptions, operation);\n queryClient = barricade.getQueryClient(); \n } catch (SessionException sesEx) {\n msg = \"Unable to construct query client. Aborting...\";\n this._logger.error(msg);\n this._logger.debug(null, sesEx);\n throw sesEx;\n }\n \n //---------------------------\n \n //construct result collector, which will retrieve from qClient\n QueryResultsCollector starScream = new QueryResultsCollector(queryClient);\n \n //---------------------------\n \n return starScream;\n }"
]
| [
"0.56627476",
"0.5555227",
"0.54106784",
"0.5386497",
"0.5386497",
"0.5339541",
"0.5334269",
"0.5291423",
"0.5229056",
"0.5197738",
"0.5167398",
"0.5159516",
"0.51361936",
"0.5098762",
"0.5051149",
"0.5037778",
"0.5020728",
"0.49991676",
"0.4967045",
"0.4965497",
"0.4959903",
"0.49516827",
"0.49391562",
"0.4921646",
"0.49050796",
"0.4878993",
"0.48773962",
"0.4876766",
"0.48753238",
"0.48739427",
"0.48732266",
"0.48657575",
"0.48429716",
"0.48140776",
"0.48039475",
"0.47930482",
"0.4791697",
"0.47594213",
"0.47579294",
"0.47566906",
"0.47435573",
"0.4743363",
"0.47276124",
"0.47241563",
"0.47200552",
"0.47171023",
"0.47147563",
"0.47144493",
"0.47117493",
"0.47098416",
"0.46929997",
"0.4665298",
"0.4653285",
"0.464895",
"0.46452898",
"0.46349466",
"0.46337157",
"0.4630316",
"0.46283734",
"0.46266618",
"0.46086165",
"0.459654",
"0.45956615",
"0.4585929",
"0.4563214",
"0.45620131",
"0.45529902",
"0.45507663",
"0.45436963",
"0.45377675",
"0.45374572",
"0.4535055",
"0.45347401",
"0.45313257",
"0.45275775",
"0.45260683",
"0.45120355",
"0.45101586",
"0.45077324",
"0.45059532",
"0.45025384",
"0.44965175",
"0.4489425",
"0.44840112",
"0.44718018",
"0.44643605",
"0.4462324",
"0.44606432",
"0.44569013",
"0.44451487",
"0.44364655",
"0.44317785",
"0.44241384",
"0.44239095",
"0.4420984",
"0.4410109",
"0.44099167",
"0.44035417",
"0.43933272",
"0.43916717"
]
| 0.5275567 | 8 |
Gets the JavaScript function that associates or "maps" a value with a key and emits the key and value pair. | public BsonJavaScript getMapFunction() {
return mapFunction;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Object map(String key, Object input);",
"String getValue(String type, String key);",
"public Value get(Key key) ;",
"public Value get(Key key);",
"public V getValue(K key);",
"public V getValue(K key);",
"public abstract void map(String key, String value) throws Exception;",
"public byte[] emit(String key) \n {\n return super.emit(key); \n }",
"public void emit(String key, String value) throws IOException {\r\n writer.writeKV(key, value);\r\n }",
"void registerValueGeneratorForMemberKey(String memberKey, ValueGenerator generator);",
"public V get(String key);",
"public V get(Object key) { return _map.get(key); }",
"ValueGenerator getValueGeneratorForMemberKey(String memberKey);",
"public K getKey(V value);",
"public interface Mapper {\n /**\n * Map the provided input value to the new output value\n * @param key the key of the input value\n * @param input the actual input value\n * @return the value to store in the datastore\n */\n public Object map(String key, Object input);\n}",
"public V get(K key);",
"V get(Object key);",
"public abstract Function<E, K> keyExtractor();",
"<O> N getNode(Function<N, O> map, O value);",
"public V lookup(K key);",
"public native V get(K key);",
"<T> T get(String key, Callable<? extends T> valueLoader);",
"void write(K key, V value);",
"void register(String name, K key, V value);",
"public void map(Object key, Text value, Context context)\n\t\t\tthrows IOException, InterruptedException {\n\t\tcontext.write(SubscriberInfo.genSubscriberInfo(value.toString()), one);\n\t}",
"<O> E getEdge(Function<E, O> map, O value);",
"String getKey();",
"String getKey();",
"String getKey();",
"String getKey();",
"String getKey();",
"String getKey();",
"String getKey();",
"String getKey();",
"String getKey();",
"String getKey();",
"String getKey();",
"String getKey();",
"String getKey();",
"protected abstract IMapProperty<S, K, V> doGetDelegate(S source);",
"default <T> T match(BiFunction<? super K, ? super V, ? extends T> func) {\n return func.apply(getKey(), getValue());\n }",
"<T> T getValue(DataKey<T> key);",
"public native Map<K, V> set(K key, V value);",
"public Object get(String key);",
"Object get(Object key);",
"String key();",
"public <K, V> V getSpecific(K key, MappingValueKey<V> valueKey);",
"Object getKey();",
"public DistributedFunction<E1, K> rightKeyFn() {\n return rightKeyFn;\n }",
"public CompoundValue getValue(Object key);",
"default <K, V> Stream<Pair<K, V>> integratePerKey(\n @ClosureParams(value = FromString.class, options = \"T\") Closure<K> keyExtractor,\n @ClosureParams(value = FromString.class, options = \"T\") Closure<V> valueExtractor,\n @ClosureParams(value = FromString.class, options = \"K\") Closure<V> initialValue,\n @ClosureParams(value = FromString.class, options = \"V,V\") Closure<V> combiner) {\n\n return integratePerKey(null, keyExtractor, valueExtractor, initialValue, combiner);\n }",
"V get(K key);",
"V get(K key);",
"V get(K key);",
"V get(K key);",
"V get(K key);",
"V get(K key);",
"V get(K key);",
"public abstract V get(K key);",
"Object get(String key);",
"Object get(String key);",
"Object getValue();",
"Object getValue();",
"Object getValue();",
"Object getValue();",
"Object getValue();",
"Object getValue();",
"Object getValue();",
"@Override\n\tpublic V get(Object key) {\n\t\treturn map.get(key);\n\t}",
"String get(Integer key);",
"public Value put(Key key, Value thing) ;",
"public interface FunctionForListToMap<K,V> {\n Pair<K,V> transfomr(Object obj);\n}",
"public String getKey();",
"public String getKey();",
"public String getKey();",
"public String getKey();",
"protected abstract V get(K key);",
"String put(Integer key, String value);",
"@Override\n\t\tprotected void map(ImmutableBytesWritable key, Result value,\n\t\t\t\tMapper<ImmutableBytesWritable, Result, DoubleWritable, Text>.Context context)\n\t\t\t\tthrows IOException, InterruptedException {\n\t\t\tString strValue = new String(value.getValue(FAMILY.getBytes(), QUALIFIER.getBytes()));\n\n\t\t\tdw.set(Double.valueOf(strValue));\n\t\t\ttext.set(new String(key.get()));\n\n\t\t\tcontext.write(dw, text);\n\t\t}",
"public interface FlowKey {\n\n public String value();\n}",
"public V add(K key, V value);",
"public String transform(String value) {\n return function.apply(value);\n }",
"protected abstract Object _get(String key);",
"java.lang.String getKey();",
"java.lang.String getKey();",
"java.lang.String getKey();",
"java.lang.String getKey();",
"java.lang.String getKey();",
"java.lang.String getKey();",
"V get(K key, Callable<V> source, boolean updateStats);",
"void putValue(String key, Object data);",
"public abstract Map<K, V> a();",
"public synchronized V put(K key, V value)\n {\n // COH-6009: map mutations must be synchronized with event dispatch\n // to ensure in-order delivery\n return super.put(key, value);\n }",
"@Override\n\tprotected void map(LongWritable key, LogWritable value, Context context)\n\t\t\tthrows IOException, InterruptedException {\n\t\t \n\t\t context.write(value, mapValue);\n\t\t\n\t}",
"public void map(Ki key, Vi val, Output<Ko, Vo> writer) {\n\n /*\n * TODO: Cache chains as a function of the end writer. We essentially\n * create a whole new chain for each map() operation, which could\n * possibly be more expensive than it needs to be.\n */\n Output out = initChainOutput(writer);\n out.write(key, val);\n }",
"@Override\n public void putValue(String key, Object value) {\n\n }",
"@Override\n\tpublic void forward(String k, Value v)\n\t{\n\t\t\n\t}",
"@Override\n\tpublic void forward(String k, Value v)\n\t{\n\t\t\n\t}",
"public int get(int key) {\n return 1;\n }",
"Object put(Object key, Object value);"
]
| [
"0.6022835",
"0.5650314",
"0.56280965",
"0.56126666",
"0.56115925",
"0.56115925",
"0.5588907",
"0.5501825",
"0.5497463",
"0.5477778",
"0.53440195",
"0.5331407",
"0.52764255",
"0.5258397",
"0.52531964",
"0.520361",
"0.5197921",
"0.51974463",
"0.51732457",
"0.5153122",
"0.50908834",
"0.5080845",
"0.5078549",
"0.50741535",
"0.5021735",
"0.5011657",
"0.497041",
"0.497041",
"0.497041",
"0.497041",
"0.497041",
"0.497041",
"0.497041",
"0.497041",
"0.497041",
"0.497041",
"0.497041",
"0.497041",
"0.497041",
"0.49615234",
"0.49591354",
"0.495416",
"0.49533653",
"0.49505594",
"0.4932829",
"0.49279547",
"0.49278516",
"0.49158213",
"0.49105346",
"0.49014473",
"0.4900168",
"0.4899571",
"0.4899571",
"0.4899571",
"0.4899571",
"0.4899571",
"0.4899571",
"0.4899571",
"0.4899547",
"0.48893028",
"0.48893028",
"0.4864008",
"0.4864008",
"0.4864008",
"0.4864008",
"0.4864008",
"0.4864008",
"0.4864008",
"0.48491183",
"0.48433745",
"0.48279813",
"0.48262972",
"0.4815142",
"0.4815142",
"0.4815142",
"0.4815142",
"0.48128754",
"0.47983542",
"0.4794215",
"0.47765815",
"0.47762764",
"0.47650737",
"0.4752762",
"0.47418627",
"0.47418627",
"0.47418627",
"0.47418627",
"0.47418627",
"0.47418627",
"0.47304803",
"0.47263473",
"0.47244892",
"0.47244278",
"0.47232315",
"0.47210103",
"0.4717048",
"0.46966165",
"0.46966165",
"0.4690556",
"0.4675729"
]
| 0.48562977 | 68 |
Gets the JavaScript function that "reduces" to a single object all the values associated with a particular key. | public BsonJavaScript getReduceFunction() {
return reduceFunction;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Object getTransient(Object key);",
"public CompoundValue getValue(Object key);",
"public ExpressionFunction getFunction(String name) { return wrappedSerializationContext.getFunction(name); }",
"public Value get(Key key) ;",
"public Object getQuiet(String key);",
"public static String fFunction(String r, String key) {\n String result = expansion(r);\n result = xor(result, key);\n result = sBoxes(result);\n result = pPermutation(result);\n return result;\n }",
"Object getClientProperty(Object key);",
"Object get(Object key);",
"V get(Object key);",
"public Object getObject(String key);",
"ISObject getFull(String key);",
"public Object get(Object key)\r\n\t{\r\n\r\n\t\tint index;\r\n\t\tString orDefault = null;\r\n\t\tString k = (String) key;\r\n\t\tif ((index = k.indexOf(DEFAULT_ID)) > 0) {\r\n\t\t\torDefault = k.substring(index+DEFAULT_ID.length());\r\n\t\t\tk = k.substring(0,index);\r\n\t\t\tkey = k;\r\n\t\t}\r\n\t\tValidate.notEmpty(k, \"Empty key passed as parameter for call to get(key)\");\r\n\t\tif ((index = k.indexOf(':')) > 0 && index < k.length() - 1) {\r\n\t\t\tif (index == LANG_REF.length() && k.startsWith(LANG_REF)) {\r\n\t\t\t\treturn new LanguageLocale().getLang(this,k);\r\n\t\t\t} else if (index == REPLACE_REF.length() && k.startsWith(REPLACE_REF)) {\r\n\t\t\t\treturn org.xmlactions.action.utils.StringUtils.replace(this, replace(k));\r\n\t\t\t} else if (index == THEME_REF.length() && k.startsWith(THEME_REF)) {\r\n\t\t\t\treturn getThemeValueQuietly(k.substring(index + 1));\r\n\t\t\t} else if (index == APPLICATIONCONTEXT_REF.length() && k.startsWith(APPLICATIONCONTEXT_REF)) {\r\n\t\t\t\treturn getApplicationContext().getBean(k.substring(index + 1));\r\n\t\t\t} else if (index == CODE_REF.length() && k.startsWith(CODE_REF)) {\r\n\t\t\t\tCodeParser codeParser = new CodeParser();\r\n\t\t\t\treturn codeParser.parseCode(this, k.substring(index + 1));\r\n\t\t\t} else {\r\n\t\t\t\tMap<String, Object> map = getMap(k.substring(0, index));\r\n\t\t\t\tif (map != null) {\r\n\t\t\t\t\tString [] keys = k.substring(index + 1).split(\"/\");\r\n\t\t\t\t\tfor (int keyIndex = 0 ; keyIndex < keys.length; keyIndex++ ) {\r\n\t\t\t\t\t\tk = keys[keyIndex];\r\n\t\t\t\t\t\tObject obj = map.get(k);\r\n\t\t\t\t\t\tif (obj != null && obj instanceof String) {\r\n\t String s = (String)obj;\r\n\t if (s.startsWith(\"${\") && s.indexOf(k) == 2) {\r\n\t obj = \"[\" + k + \"]\";\r\n\t } else {\r\n\t obj = replace((String)obj);\r\n\t }\r\n\t\t\t\t\t\t} else if (obj == null){\r\n\t\t\t\t\t\t\tobj = orDefault;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tif(keyIndex+1 >= keys.length) {\r\n\t\t\t\t\t\t\treturn obj;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tif (obj instanceof Map) {\r\n\t\t\t\t\t\t\tmap = (Map)obj;\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\treturn obj;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\treturn orDefault;\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\tString [] keys = k.split(\"/\");\r\n\t\t\tObject obj = null;\r\n\t\t\tMap map = null;\r\n\t\t\tfor (int keyIndex = 0 ; keyIndex < keys.length; keyIndex++ ) {\r\n\t\t\t\tk = keys[keyIndex];\r\n\r\n\t\t\t\tif (keyIndex == 0) {\r\n\t\t\t\t\tif (rootMap.containsKey(k)) {\r\n\t\t\t\t\t\tobj = rootMap.get(k);\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse {\r\n\t\t\t\t\t\ttry {\r\n\t\t\t\t\t\t\tif (applicationContext != null) {\r\n\t\t\t\t\t\t\t\tobj = applicationContext.getBean((String)k);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t} catch (Throwable t) {\r\n\t\t log.info(t.getMessage());\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t} else {\r\n\t\t\t\t\tif (map.containsKey(k)) {\r\n\t\t\t\t\t\tobj = map.get(k);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\tif (obj != null && obj instanceof String) {\r\n\t\t\t\t\tobj = replace((String)obj);\r\n\t\t\t\t} else if (obj == null){\r\n\t\t\t\t\tobj = orDefault;\r\n\t\t\t\t}\r\n\t\t\t\tif(keyIndex+1 >= keys.length) {\r\n\t\t\t\t\treturn obj;\r\n\t\t\t\t}\r\n\t\t\t\tif (obj instanceof Map) {\r\n\t\t\t\t\tmap = (Map)obj;\r\n\t\t\t\t} else {\r\n\t\t\t\t\treturn obj;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\treturn orDefault;\r\n\t\t}\r\n\t}",
"protected abstract Object _get(String key);",
"public Value restrictToFunction() {\n checkNotPolymorphicOrUnknown();\n Value r = new Value(this);\n r.flags &= ~PRIMITIVE;\n r.num = null;\n r.str = null;\n r.excluded_strings = r.included_strings = null;\n r.object_labels = newSet();\n r.getters = r.setters = null;\n if (object_labels != null)\n for (ObjectLabel objlabel : object_labels)\n if (objlabel.getKind() == Kind.FUNCTION)\n r.object_labels.add(objlabel);\n if (r.object_labels.isEmpty())\n r.object_labels = null;\n return canonicalize(r);\n }",
"public Value get(Key key);",
"public Object get(String key);",
"String getValue(String type, String key);",
"@Override\n public ScriptDocValues<?> get(Object key) {\n String fieldName = key.toString();\n ScriptDocValues<?> scriptValues = localCacheFieldData.get(fieldName);\n if (scriptValues == null) {\n final MappedFieldType fieldType = mapperService.fieldType(fieldName);\n if (fieldType == null) {\n throw new IllegalArgumentException(\"No field found for [\" + fieldName + \"] in mapping\");\n }\n // load fielddata on behalf of the script: otherwise it would need additional permissions\n // to deal with pagedbytes/ramusagestimator/etc\n scriptValues = AccessController.doPrivileged(new PrivilegedAction<ScriptDocValues<?>>() {\n @Override\n public ScriptDocValues<?> run() {\n return fieldDataLookup.apply(fieldType).load(reader).getScriptValues();\n }\n });\n localCacheFieldData.put(fieldName, scriptValues);\n }\n try {\n scriptValues.setNextDocId(docId);\n } catch (IOException e) {\n throw ExceptionsHelper.convertToOpenSearchException(e);\n }\n return scriptValues;\n }",
"public <S> S recall(String key) {\n // try to get the value by key first\n S s = (S) getContext().get(key);\n // try to get the value by the hierarchy\n if (s == null && key.contains(\".\")) {\n return recallByHierarchy(key);\n }\n return s;\n }",
"Object get(String key);",
"Object get(String key);",
"public Object map(String key, Object input);",
"Object getValueFrom();",
"public <S> S recallByHierarchy(String key) {\n if (key.contains(\".\")) {\n String[] paths = key.split(\"\\\\.\");\n String objectKey = paths[0];\n Object object = recall(objectKey);\n if (object != null && !object.getClass().isPrimitive()\n && !(object instanceof Map || object instanceof String || object instanceof Number)) {\n for (int i = 1; i < paths.length; i++) {\n try {\n object = FieldUtils.readField(object, paths[i], true);\n } catch (IllegalAccessException e) {\n e.printStackTrace();\n }\n }\n return (S) object;\n }\n }\n return null;\n }",
"public abstract Function<E, K> keyExtractor();",
"ISObject forceGet(String key);",
"public V getValue(K key);",
"public V getValue(K key);",
"private static Function<String, LocalDate> keyMapper() {\n\n\t\tlogger.finer(\"KeyMapper used\");\n\n\t\tFunction<String, LocalDate> keyMapper = input -> {\n\t\t\tString[] parts = input.split(\"_\");\n\t\t\tString[] subParts = parts[2].split(\"\\\\.\");\n\t\t\tLocalDate keyStringDate = LocalDate.parse(subParts[0]);\n\t\t\treturn keyStringDate;\n\t\t};\n\t\treturn keyMapper;\n\t}",
"public Value getPred(Key key) {\r\n return root.getPred(key);\r\n }",
"public Hashtable getRemappedValues() throws Exception;",
"public V get(Object key) { return _map.get(key); }",
"@Override\r\n public V get(Object key) {\r\n return get(key,table);\r\n }",
"Object getValueFromLocalCache(Object key);",
"<T> T getValue(DataKey<T> key);",
"public Function getFunction();",
"public Object obj(String key) throws AgentBuilderRuntimeException {\n\t\tif (!extContainsKey(key))\n\t\t\tthrow new AgentBuilderRuntimeException(\n\t\t\t\t\t\"Dictionary does not contain key \\\"\" + key + \"\\\"\");\n\t\treturn extGet(key);\n\t}",
"@Override\n\tpublic Object resolveContextualObject(String key) {\n\t\treturn null;\n\t}",
"default <T> DiscreteObjectMap2D<T> pushForwardToObject(DoubleFunction<T> function) {\r\n\t\treturn (x, y) -> function.apply(getValueAt(x, y));\r\n\t}",
"public Object get(String key) {\r\n\t\treturn objectMap.get(key);\r\n\t}",
"public Object remove(double key) {\n return delete(key);\n }",
"protected Map<String, Function> getFuncMap() {\n\t\treturn myFuncMap;\n\t}",
"private void removeEvaluator(Object key)\n {\n this.evaluators.remove(key);\n }",
"public V get(String key);",
"@SuppressWarnings(\"unchecked\")\n public V get(Object key)\n {\n V value = delegate.get(key);\n if(value == null && factory != null)\n {\n value = factory.getValue((K)key);\n if(value != null)\n {\n delegate.put((K)key, value);\n }\n }\n return value;\n }",
"public /*override*/ Object GetValue(BaseValueSourceInternal valueSource) \r\n {\r\n // If the _value cache is invalid fetch the value from \r\n // the dictionary else just retun the cached value\r\n if (_dictionary != null)\r\n {\r\n boolean canCache; \r\n Object value = _dictionary.GetValue(_keyOrValue, /*out*/ canCache);\r\n if (canCache) \r\n { \r\n // Note that we are replacing the _keyorValue field\r\n // with the value and nuking the _dictionary field. \r\n _keyOrValue = value;\r\n RemoveFromDictionary();\r\n }\r\n\r\n // Freeze if this value originated from a style or template\r\n boolean freezeIfPossible = \r\n valueSource == BaseValueSourceInternal.ThemeStyle || \r\n valueSource == BaseValueSourceInternal.ThemeStyleTrigger ||\r\n valueSource == BaseValueSourceInternal.Style || \r\n valueSource == BaseValueSourceInternal.TemplateTrigger ||\r\n valueSource == BaseValueSourceInternal.StyleTrigger ||\r\n valueSource == BaseValueSourceInternal.ParentTemplate ||\r\n valueSource == BaseValueSourceInternal.ParentTemplateTrigger; \r\n\r\n // This is to freeze values produced by deferred \r\n // references within styles and templates \r\n if (freezeIfPossible)\r\n { \r\n StyleHelper.SealIfSealable(value);\r\n }\r\n\r\n // tell any listeners (e.g. ResourceReferenceExpressions) \r\n // that the value has been inflated\r\n OnInflated(); \r\n\r\n return value;\r\n } \r\n\r\n return _keyOrValue;\r\n }",
"default DiscreteDoubleMap2D reciprocal() {\r\n\t\treturn (x, y) -> 1. / this.getValueAt(x, y);\r\n\t}",
"public Object getObject(final String key)\r\n {\r\n return helperObjects.get(key);\r\n }",
"Object getValue();",
"Object getValue();",
"Object getValue();",
"Object getValue();",
"Object getValue();",
"Object getValue();",
"Object getValue();",
"public <T> T resolveRenderContextProperty(String key) {\n\t\treturn null;\n\t}",
"public Object get(String key) {\n return objectMap.get(key);\n }",
"public default Object expression() {\n\t\treturn info().values().iterator().next();\n\t}",
"@Override\n public C convert(Object key, Object previousValue, Metadata previousMetadata, Object value, Metadata metadata, EventType eventType) {\n return (C) GODZILLA;\n }",
"public native V get(K key);",
"@Override\r\n\tpublic Object getObject(Object key) {\n\t\treturn null;\r\n\t}",
"@Override\n @SuppressWarnings({\"unchecked\", \"rawtypes\"})\n public Future<jsonvalues.JsObj> get() {\n\n List<String> keys = bindings.keysIterator()\n .toList();\n\n\n java.util.List futures = bindings.values()\n .map(Supplier::get)\n .toJavaList();\n return CompositeFuture.all(futures)\n .map(r -> {\n JsObj result = JsObj.empty();\n java.util.List<?> list = r.result()\n .list();\n for (int i = 0; i < list.size(); i++) {\n result = result.set(keys.get(i),\n ((JsValue) list.get(i))\n );\n }\n\n return result;\n\n });\n\n\n\n /* Future<jsonvalues.JsObj> result = Future.succeededFuture(jsonvalues.JsObj.empty());\n\n for (final Tuple2<String, Exp<? extends JsValue>> tuple : bindings.iterator()) {\n result = result.flatMap(obj -> tuple._2.get()\n .map(v -> obj.set(tuple._1,\n v\n )));\n }\n\n\n return result;*/\n }",
"Object getKey();",
"ISObject get(String key);",
"public final /* synthetic */ Object a(Object obj) {\n return ((Map.Entry) obj).getValue();\n }",
"abstract Function get(Object arg);",
"public Object getAttribute(Object key);",
"Object getProperty(String key);",
"public Object removeProperty( String key );",
"public String getProperty(Object obj, String key);",
"private Response<GetValue> getValueImmediately(String key) {\n return getValue(key, -1, -1);\n }",
"public V get(K key);",
"public Value makeGetter() {\n Value r = new Value(this);\n r.getters = object_labels;\n r.object_labels = null;\n return canonicalize(r);\n }",
"public org.json.JSONObject getPostWithInstrumentationValues(java.util.concurrent.ConcurrentHashMap<java.lang.String, java.lang.String> r10) {\n /*\n r9 = this;\n org.json.JSONObject r1 = new org.json.JSONObject\n r1.<init>()\n org.json.JSONObject r7 = r9.params_ // Catch:{ JSONException -> 0x002c, ConcurrentModificationException -> 0x0064 }\n if (r7 == 0) goto L_0x002e\n org.json.JSONObject r6 = new org.json.JSONObject // Catch:{ JSONException -> 0x002c, ConcurrentModificationException -> 0x0064 }\n org.json.JSONObject r7 = r9.params_ // Catch:{ JSONException -> 0x002c, ConcurrentModificationException -> 0x0064 }\n java.lang.String r7 = r7.toString() // Catch:{ JSONException -> 0x002c, ConcurrentModificationException -> 0x0064 }\n r6.<init>(r7) // Catch:{ JSONException -> 0x002c, ConcurrentModificationException -> 0x0064 }\n java.util.Iterator r4 = r6.keys() // Catch:{ JSONException -> 0x002c, ConcurrentModificationException -> 0x0064 }\n L_0x0018:\n boolean r7 = r4.hasNext() // Catch:{ JSONException -> 0x002c, ConcurrentModificationException -> 0x0064 }\n if (r7 == 0) goto L_0x002e\n java.lang.Object r3 = r4.next() // Catch:{ JSONException -> 0x002c, ConcurrentModificationException -> 0x0064 }\n java.lang.String r3 = (java.lang.String) r3 // Catch:{ JSONException -> 0x002c, ConcurrentModificationException -> 0x0064 }\n java.lang.Object r7 = r6.get(r3) // Catch:{ JSONException -> 0x002c, ConcurrentModificationException -> 0x0064 }\n r1.put(r3, r7) // Catch:{ JSONException -> 0x002c, ConcurrentModificationException -> 0x0064 }\n goto L_0x0018\n L_0x002c:\n r7 = move-exception\n L_0x002d:\n return r1\n L_0x002e:\n int r7 = r10.size() // Catch:{ JSONException -> 0x002c, ConcurrentModificationException -> 0x0064 }\n if (r7 <= 0) goto L_0x002d\n org.json.JSONObject r2 = new org.json.JSONObject // Catch:{ JSONException -> 0x002c, ConcurrentModificationException -> 0x0064 }\n r2.<init>() // Catch:{ JSONException -> 0x002c, ConcurrentModificationException -> 0x0064 }\n java.util.Set r5 = r10.keySet() // Catch:{ JSONException -> 0x002c, ConcurrentModificationException -> 0x0064 }\n java.util.Iterator r7 = r5.iterator() // Catch:{ JSONException -> 0x0058, ConcurrentModificationException -> 0x0064 }\n L_0x0041:\n boolean r8 = r7.hasNext() // Catch:{ JSONException -> 0x0058, ConcurrentModificationException -> 0x0064 }\n if (r8 == 0) goto L_0x005a\n java.lang.Object r3 = r7.next() // Catch:{ JSONException -> 0x0058, ConcurrentModificationException -> 0x0064 }\n java.lang.String r3 = (java.lang.String) r3 // Catch:{ JSONException -> 0x0058, ConcurrentModificationException -> 0x0064 }\n java.lang.Object r8 = r10.get(r3) // Catch:{ JSONException -> 0x0058, ConcurrentModificationException -> 0x0064 }\n r2.put(r3, r8) // Catch:{ JSONException -> 0x0058, ConcurrentModificationException -> 0x0064 }\n r10.remove(r3) // Catch:{ JSONException -> 0x0058, ConcurrentModificationException -> 0x0064 }\n goto L_0x0041\n L_0x0058:\n r7 = move-exception\n goto L_0x002d\n L_0x005a:\n io.branch.referral.Defines$Jsonkey r7 = p315io.branch.referral.Defines.Jsonkey.Branch_Instrumentation // Catch:{ JSONException -> 0x0058, ConcurrentModificationException -> 0x0064 }\n java.lang.String r7 = r7.getKey() // Catch:{ JSONException -> 0x0058, ConcurrentModificationException -> 0x0064 }\n r1.put(r7, r2) // Catch:{ JSONException -> 0x0058, ConcurrentModificationException -> 0x0064 }\n goto L_0x002d\n L_0x0064:\n r0 = move-exception\n org.json.JSONObject r1 = r9.params_\n goto L_0x002d\n */\n throw new UnsupportedOperationException(\"Method not decompiled: p315io.branch.referral.ServerRequest.getPostWithInstrumentationValues(java.util.concurrent.ConcurrentHashMap):org.json.JSONObject\");\n }",
"public PDFObject get (String key)\n {\n PDFObject value = getUnresolved (key);\n return value == null ? null : value.resolve ();\n }",
"private Object getValue (JField jf, Object obj) throws Exception {\n Class thisClass = obj.getClass();\n Object value = null;\n Class c = thisClass;\n boolean done = false;\n while (!done) {\n try {\n value = c.getDeclaredMethod (\"get\" + jf.getGetSet(), null).invoke(obj, null);\n done = true;\n } catch (NoSuchMethodException e) {\n c = c.getSuperclass();\n if (c == null) {\n\t\t\t\t\tSystem.out.println (\"Unable to find: \" + \"get\" + jf.getGetSet() + \" in class: \" + thisClass.getName());\n throw e;\n\t\t\t\t}\n }\n }\n\n return value;\n }",
"@Override\n public Object getValue(String key) {\n return null;\n }",
"@Override\n public T get(Object key) {\n return get(key, null);\n }",
"public DistributedFunction<E1, K> rightKeyFn() {\n return rightKeyFn;\n }",
"public Float F(String key) throws AgentBuilderRuntimeException {\n\t\treturn getFloat(key);\n\t}",
"public CompiledFunctionDefinition getFunction() {\n return _function;\n }",
"public interface ReduceFunction {\n String reduce(String hash);\n}",
"public BsonJavaScript getMapFunction() {\n return mapFunction;\n }",
"public Object get(String key) {\n \t\treturn this.get(null, key);\n \t}",
"private static void operateOnArrayOrObject(JSONObject main, String key, \n\t\t\tConsumer<JSONObject> func)\n\t{\n\t\t// try array first\n\t\tJSONArray arr = main.optJSONArray(key);\n\t\tif (arr != null){\n\t\t\t// use iterators for performance\n\t\t\tfor (Iterator<Object> iter = arr.iterator(); iter.hasNext();){\n\t\t\t\tfunc.accept((JSONObject)iter.next());\n\t\t\t}\n\t\t}else{\n\t\t\t// it's an object\n\t\t\tfunc.accept(main.optJSONObject(key));\n\t\t}\n\t}",
"public <K> Object getSpecific(K key, String valueKey);",
"String getString(String key);",
"@Override\n\tpublic V get(Object key) {\n\t\treturn map.get(key);\n\t}",
"public V getValue(Object key) {\n\t\treturn super.get(key);\n\t}",
"public V getValue27();",
"@Override\r\n\tpublic V get(Object key) {\r\n\t\tBucket bucket = (Bucket) buckets[key.hashCode() % numBuckets];\r\n\t\treturn bucket.get((K) key);\r\n\t}",
"public E get(Object key) {\n WeakReference<E> weakRef = _obj2Ref.get(key);\n return weakRef != null ? weakRef.get() : null;\n }",
"public float f(String key) throws AgentBuilderRuntimeException {\n\t\treturn getFloat(key).floatValue();\n\t}",
"public V lookup(K key);",
"public abstract V get(K key);",
"public Object getValue();",
"public Object getValue();",
"public Object getValue();",
"public Object getValue();",
"public Object getValue();"
]
| [
"0.524283",
"0.50938255",
"0.50697815",
"0.50339127",
"0.50210094",
"0.50189596",
"0.5013525",
"0.49996564",
"0.49802947",
"0.49642804",
"0.49517414",
"0.49313667",
"0.49188176",
"0.49035802",
"0.48840743",
"0.47964388",
"0.47823256",
"0.47762835",
"0.47747573",
"0.4707632",
"0.4707632",
"0.47020686",
"0.4688593",
"0.466617",
"0.4642924",
"0.46106166",
"0.46060106",
"0.46060106",
"0.45952237",
"0.45849532",
"0.45744732",
"0.4557431",
"0.4556316",
"0.45501676",
"0.4539896",
"0.45353073",
"0.45157048",
"0.45149317",
"0.45124152",
"0.45071742",
"0.4505227",
"0.4498025",
"0.44811353",
"0.44801",
"0.44651788",
"0.44588608",
"0.44519588",
"0.44411704",
"0.44393235",
"0.44393235",
"0.44393235",
"0.44393235",
"0.44393235",
"0.44393235",
"0.44393235",
"0.44379294",
"0.44256946",
"0.44250685",
"0.44209707",
"0.44136825",
"0.44064888",
"0.44042012",
"0.43915057",
"0.4369648",
"0.43694964",
"0.43649682",
"0.43579754",
"0.43501446",
"0.4323624",
"0.4320834",
"0.4320021",
"0.4318372",
"0.4316731",
"0.43103433",
"0.43049234",
"0.43027654",
"0.4302559",
"0.43024638",
"0.43004513",
"0.42986688",
"0.42982697",
"0.4289719",
"0.4289112",
"0.42842546",
"0.42643565",
"0.42591363",
"0.4256671",
"0.42563245",
"0.42557907",
"0.42557082",
"0.4244814",
"0.42355302",
"0.42265025",
"0.42195043",
"0.42188105",
"0.42162192",
"0.42162192",
"0.42162192",
"0.42162192",
"0.42162192"
]
| 0.46142983 | 25 |
Gets the name of the collection to output the results to. | public String getCollectionName() {
return collectionName;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@AutoEscape\n\tpublic String getCollectionName();",
"@Override\n\tpublic java.lang.String getCollectionName() {\n\t\treturn _dictData.getCollectionName();\n\t}",
"Collection<? extends Object> getCollectionName();",
"public String getCollectionName() {\n\t\tint fin = this.queryInfos.getInputSaadaTable().indexOf(\"(\");\n\t\tif (fin == -1) {\n\t\t\tfin = this.queryInfos.getInputSaadaTable().indexOf(\"]\");\n\t\t}\n\t\tif (fin == -1) {\n\t\t\tfin = this.queryInfos.getInputSaadaTable().length() - 1;\n\t\t}\n\t\tif (this.queryInfos.getInputSaadaTable().startsWith(\"[\")) {\n\t\t\treturn this.queryInfos.getInputSaadaTable().substring(1, fin);\n\t\t} else {\n\t\t\treturn this.queryInfos.getInputSaadaTable().substring(0, fin);\n\t\t}\n\t}",
"public String getOutputKeyCollectionName() {\r\n return OutputKeyCollectionName;\r\n }",
"public java.lang.String getCollection() {\n return collection_;\n }",
"public java.lang.String getCollection() {\n return instance.getCollection();\n }",
"String getCollection();",
"java.lang.String getCollection();",
"public void setCollectionName(String collectionName);",
"Stream<String> listCollectionNames();",
"@Override\n\tpublic String getCollectionName() {\n\t\treturn \"robot_call_num\";\n\t}",
"public String getCollectionUrl() {\n\t\tString t = doc.get(\"url\");\n\n\t\tif (t == null) {\n\t\t\treturn \"\";\n\t\t} else {\n\t\t\treturn t;\n\t\t}\n\t}",
"public String collectionId() {\n return collectionId;\n }",
"@Override\n\tpublic String getName() {\n\t\treturn ActionEnum.ADD_ITEM_COLLECTION.getActionName();\n\t}",
"public String getCollectionsString() {\n\t\treturn getSetString();\n\t}",
"public String getCollectionClass ();",
"public String getCollectionClass ()\n\t{\n\t\treturn getRelationshipImpl().getCollectionClass();\n\t}",
"@Override\n\tpublic String getCollection() {\n\t\treturn null;\n\t}",
"public static CollectionReference getCollection(){\n return FirebaseFirestore.getInstance().collection(COLLECTION_NAME) ;\n }",
"void addCollectionName(Object newCollectionName);",
"public String getLogCollectionPrefix();",
"boolean hasCollectionName();",
"public List<String> getAllCollections() {\n try {\n List<String> colNames = new ArrayList<>();\n MongoIterable<String> collections = database.listCollectionNames();\n for (String collection : collections) {\n colNames.add(collection);\n }\n return colNames;\n } catch (MongoException e) {\n System.err.println(e.getCode() + \" \" + e.getMessage());\n return null;\n }\n }",
"@Override\n\tpublic long getChangesetCollectionId() {\n\t\treturn _changesetEntry.getChangesetCollectionId();\n\t}",
"public String getSubcollectionInfo () throws SDLIPException {\r\n XMLObject subcolInfo = new sdlip.xml.dom.XMLObject();\r\n tm.getSubcollectionInfo(subcolInfo);\r\n// return postProcess (subcolInfo, \"subcolInfo\", false);\r\n return subcolInfo.getString();\r\n }",
"public String getLogCollectionPath();",
"public com.google.protobuf.ByteString\n getCollectionBytes() {\n return com.google.protobuf.ByteString.copyFromUtf8(collection_);\n }",
"protected final String collectionString(final Collection c) {\n assert c != null;\n String result = \"{\"; //$NON-NLS-1$\n for (Iterator i = c.iterator(); i.hasNext();) {\n Object item = i.next();\n result = result + item.getClass().getName()\n + \"@\" + item.hashCode(); //$NON-NLS-1$\n if (i.hasNext()) {\n result = result + \", \"; //$NON-NLS-1$\n }\n }\n result = result + \"}\"; //$NON-NLS-1$\n return result;\n }",
"public void displayData(MongoCollection<Document> collection) {\n\n\t\ttry {\n\t\t\tFindIterable<Document> iterDoc = collection.find(); \n\t\t\tMongoCursor<Document> it = iterDoc.iterator(); \n\n\t\t\twhile (it.hasNext()) { \n\t\t\t\tSystem.out.println(it.next()); \n\t\t\t}\n\t\t}catch(Exception e) {}\n\t}",
"public String name() {\n this.use();\n\n return name;\n }",
"public static String printCollection(Collection l) {\n return printCollection(l, \"\");\n }",
"public Set<String> getCollectionNames(String database) {\r\n try {\r\n // get the database\r\n DB db = getDB(database);\r\n Set<String> collections = db.getCollectionNames();\r\n logger.logp(Level.INFO, TAG, \"getCollectionNames\", \" database:\" + database);\r\n return collections;\r\n } catch (Exception e) {\r\n logger.logp(Level.SEVERE, TAG, \"getCollectionNames\", e.getMessage() + \" database:\" + database);\r\n e.printStackTrace();\r\n }\r\n return null;\r\n }",
"void removeCollectionName(Object oldCollectionName);",
"public String toString() {\n\t\treturn name;\n\t}",
"public String toString() {\n\t\treturn name;\n\t}",
"public String toString() {\n\t\treturn name;\n\t}",
"public final String name() {\n\t\treturn name;\n\t}",
"public com.google.protobuf.ByteString\n getCollectionBytes() {\n return instance.getCollectionBytes();\n }",
"public String toString() {\r\n\t\treturn name;\r\n\t}",
"@Schema(description = \"Name of the view to be built.\")\n public String getName() {\n return name;\n }",
"@Override\n\tpublic void setCollectionName(java.lang.String collectionName) {\n\t\t_dictData.setCollectionName(collectionName);\n\t}",
"public List<String> getMessagesCollections() {\n try {\n List<String> colNames = new ArrayList<>();\n MongoIterable<String> collections = database.listCollectionNames();\n for (String collection : collections) {\n if (collection.startsWith(\"MESSAGES\")) {\n colNames.add(collection);\n }\n }\n return colNames;\n } catch (MongoException e) {\n System.err.println(e.getCode() + \" \" + e.getMessage());\n return null;\n }\n }",
"String getCatalogName();",
"public static void main(String[] args) {\n MongoClient mongoClient = new MongoClient(\"localhost\", 27017);\n\n ArrayList<DatabaseObj> databaseObjarray = new ArrayList<DatabaseObj>();\n \n ListDatabasesIterable<Document> databaseDocList = mongoClient.listDatabases(); \n \n for (Document databaseDocument : databaseDocList){\n String databaseName = databaseDocument.get(\"name\").toString();\n ArrayList<String> collectionNameList = new ArrayList<String>();\n \n MongoDatabase database = mongoClient.getDatabase(databaseName); \n \n ListCollectionsIterable<Document> list = database.listCollections();\n for (Document d : list){\n String name = d.get(\"name\").toString(); \n collectionNameList.add(name); \n }\n databaseObjarray.add(new DatabaseObj(databaseName, collectionNameList)); \n }\n\n \n //JOptionPane.showMessageDialog(null,\"Eggs are not supposed to be green.\",\"Inane error\",JOptionPane.ERROR_MESSAGE);\n \n \n MainUserInterface mui = new MainUserInterface(databaseObjarray);\n mui.go();\n \n }",
"public static CollectionReference getUsersCollection(){\n\n return FirebaseFirestore.getInstance().collection(COLLECTION_NAME);\n }",
"public final String name() {\n return name;\n }",
"public static Set<String> getCollectionNames(Connection c) throws SQLException {\r\n\t\tSet<String> collections = new HashSet<String>();\r\n\t\tif (tableExists(c, FC_TABLE_NAME)){\r\n\t\t\tStatement s = c.createStatement();\r\n\t\t\tResultSet rs = s.executeQuery(\"select \"+quote(FC_NAME_FIELD.name)+\" from \"+quote(FC_TABLE_NAME));\r\n\t\t\twhile(rs.next())\r\n\t\t\t\tcollections.add(rs.getString(FC_NAME_FIELD.name));\r\n\t\t\ts.close();\r\n\t\t}\r\n\t\t\r\n\t\treturn collections;\r\n\t}",
"public String toString() {\n return name;\n }",
"public String toString() {\n return name;\n }",
"public static String getCollections(String workspace) {\n String out = String.format(\"USE %s\", workspace);\n DrillConnector.getQueryExecutionResponse(out, 1);\n return CoreUtil.constructPageFromList(DrillConnector.getQueryExecutionResponse(SHOW_COLLECTIONS, 1));\n }",
"String getOutputName();",
"public String toString() {\n return name();\n }",
"SiteWriterTemplate writeCollectionId(String collectionId) throws Exception;",
"public String toString() {\r\n return name;\r\n }",
"protected SimpleTypeImpl getSimpleCollection() {\n // Single property collection retrieve\n SimpleTypeImpl simpleCollectionString = new SimpleTypeImpl(\"simpleNameSpace\", SIMPLE_TYPE_NAME, null, true, null, null, null);\n return simpleCollectionString;\n }",
"StoreCollection getOrCreateCollection( String name);",
"public String getFileNameOut() {\r\n\t\treturn fileNameOut;\r\n\t}",
"public String toString() {\n return name;\n }",
"public String toString() {\n return name;\n }",
"public String toString() {\n return name;\n }",
"public String toString() {\n return name;\n }",
"public String toString() {\n return Helper.getShortClassName(getClass()) + ToStringLocalization.buildMessage(\"datasource_name\", (Object[])null) + \"=>\" + getName();\n }",
"@Override\n\tpublic boolean verifierCollection(String nomCollection) {\n\t\tMongoIterable<String> names = db.listCollectionNames();\n\t\tMongoCursor<String> cursor = names.cursor(); \n\t\twhile(cursor.hasNext()) {\n\t\t\tif (cursor.next().equals(nomCollection))\n\t\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t}",
"public String getCollectionsAssessmentInstanceAnalysisReportType() {\n return collectionsAssessmentInstanceAnalysisReportType;\n }",
"@Override\n\tprotected String method() {\n\t\treturn \"getPublishCollections\";\n\t}",
"public String name() {\n\t\treturn this.name;\n\t}",
"public String catalog() {\n return catalogName;\n }",
"public String catalog() {\n return catalogName;\n }",
"public String getSrsName() {\n\t\treturn this.srsName;\n\t}",
"public String name() {\r\n\t\treturn this.name;\r\n\t}",
"public String name() {\n return name;\n }",
"public void displayNames()\r\n {\r\n // ensure there is at least one Cat in the collection\r\n if (catCollection.size() > 0) {\r\n System.out.println(\"The current guests in \"+businessName);\r\n for (Cat eachCat : catCollection) {\r\n System.out.println(eachCat.getName());\r\n }\r\n }\r\n else {\r\n System.out.println(businessName + \" is empty!\");\r\n }\r\n }",
"public String toString() {\r\n\t\treturn this.name;\r\n\t}",
"public void setNameCollect()\n\t{\n\t\tsetCollect(_Prefix + HardZone.NAME.toString(), \"\");\n\t}",
"public String toString() {\n\t\treturn getName();\r\n\t}",
"public String toString()\n {\n return name;\n }",
"public String toString() {\n\t\treturn getName();\n\t}",
"public String getName() {\n\t\treturn this.toString();\n\t}",
"@Override\n\tpublic String name() {\n\t\treturn filter.name();\n\t}",
"public String getName() {\n return list;\n }",
"public String getName() {\r\n return this.name();\r\n }",
"public final String name ()\r\n {\r\n return _name;\r\n }",
"public Collection getCollection() {\n return mCollection;\n }",
"public String getName() {\n return _index.getName();\n }",
"public String toString() {\r\n\treturn name;\r\n }",
"Class<? extends Collection> getCollectionClass();",
"public String toString()\n {\n return name;\n }",
"public String toString()\n {\n return name;\n }",
"public String toString()\n {\n return name;\n }",
"public String toString()\n {\n return name;\n }",
"public String toString() {\n return getName();\n }",
"public String getNameForm()\n {\n return schema.getNameForm();\n }",
"public static <T> String toString(Iterable<T> collection) {\n return toString(collection.iterator());\n }",
"@Schema(description = \"Display name for this index type\")\n\tpublic String getName() {\n\t\treturn name;\n\t}",
"public DBCollection getCollection(String database, String collectionName) {\r\n try {\r\n // get the database\r\n DB db = getDB(database); \r\n // return the collection\r\n logger.logp(Level.INFO, TAG, \"getCollection\", \" database:\" + database + \", collection name:\" + collectionName);\r\n return db.getCollection(collectionName);\r\n } catch (Exception e) {\r\n logger.logp(Level.SEVERE, TAG, \"getCollection\", e.getMessage() + \" database:\" + database + \" collectionName:\" + collectionName);\r\n e.printStackTrace();\r\n }\r\n return null;\r\n }",
"public String toString()\n\t{\n\t\treturn name;\n\t}",
"public String toString()\n\t{\n\t\treturn name;\n\t}",
"protected SimpleTypeImpl getSimpleCollection(DMNType typeOfCollection) {\n // Single property collection retrieve\n String name = typeOfCollection.getName() + \"list\";\n SimpleTypeImpl simpleCollectionString = new SimpleTypeImpl(\"simpleNameSpace\", name, null, true, null, null, null);\n simpleCollectionString.setBaseType(typeOfCollection);\n return simpleCollectionString;\n }",
"public final void setCollectionAlias(final String collectionAlias) {\n this.collectionAlias = collectionAlias;\n }"
]
| [
"0.7606223",
"0.75821084",
"0.7377214",
"0.72763366",
"0.7261228",
"0.70137596",
"0.68802977",
"0.68711305",
"0.68320006",
"0.6633144",
"0.6252809",
"0.6173496",
"0.6125402",
"0.60893947",
"0.6074925",
"0.59305054",
"0.59162563",
"0.5823979",
"0.5805017",
"0.5798755",
"0.57889456",
"0.578809",
"0.57066005",
"0.554607",
"0.5526654",
"0.5498801",
"0.5493446",
"0.5477804",
"0.5477333",
"0.54268515",
"0.54200524",
"0.53689086",
"0.53578085",
"0.52637994",
"0.526069",
"0.526069",
"0.526069",
"0.52544165",
"0.5245247",
"0.52448094",
"0.5238045",
"0.52369004",
"0.5232423",
"0.5231713",
"0.5230961",
"0.5220025",
"0.5217153",
"0.52089894",
"0.5198926",
"0.5198926",
"0.5197265",
"0.51959234",
"0.5192567",
"0.51833373",
"0.5165197",
"0.5163379",
"0.51583403",
"0.51564676",
"0.51563114",
"0.51563114",
"0.51563114",
"0.51563114",
"0.51552254",
"0.5136888",
"0.51344794",
"0.51302576",
"0.5129795",
"0.5128475",
"0.5128475",
"0.51277995",
"0.5123305",
"0.51152647",
"0.510657",
"0.51053435",
"0.5101162",
"0.5100874",
"0.51007783",
"0.5097609",
"0.509343",
"0.50910974",
"0.5089487",
"0.508821",
"0.50875497",
"0.508655",
"0.50865126",
"0.5083372",
"0.50825286",
"0.5081884",
"0.5081884",
"0.5081884",
"0.5081884",
"0.50770617",
"0.50753564",
"0.5075066",
"0.5074734",
"0.5072205",
"0.5060078",
"0.5060078",
"0.50571626",
"0.50522184"
]
| 0.77620685 | 0 |
Gets the write concern. | public WriteConcern getWriteConcern() {
return writeConcern;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public String getWriteConsistency() {\n return this.writeConsistency;\n }",
"public WriteMode getWriteMode()\n {\n return writeMode;\n }",
"public DynamicsSinkWriteBehavior getWriteBehavior() {\n return this.writeBehavior;\n }",
"public long getConcern();",
"public AzureSearchIndexWriteBehaviorType writeBehavior() {\n return this.writeBehavior;\n }",
"public Handler getWriteHandler() {\n return writeHandler;\n }",
"public BluetoothGattCharacteristic getWriterCharacteristic() {\n return mWriterCharacteristic;\n }",
"int getWriterConcurrency();",
"public boolean getDedicatedWriter()\n {\n return dedicatedWriter;\n }",
"public com.cognos.developer.schemas.raas.Returns__by__Order__Method___x002d__Prompted__Chart.WritingModeEnum getWritingMode() {\r\n return writingMode;\r\n }",
"public BufferedMCLWriter getWriter() {\n\t\treturn writer;\n\t}",
"public long getWriteId() {\n return writeId;\n }",
"public Method getWriteMethod() { // basically unused in DBFlute, use gateway instead\n return _writeMethod;\n }",
"boolean getHasWriteBehindWriter();",
"public ReadWriteLock getReadWriteLock() {\n\t\treturn rwLock;\n\t}",
"public Set<IAspectWrite> getWriteAspects();",
"public DatabaseField getWriteLockField() {\r\n return writeLockField;\r\n }",
"public String getReadWriteAttribute();",
"public VirtualChannelSelector getWriteSelector() {\n return write_selector;\n }",
"public int getWriteStatus() {\n return (writeStatus.getUnsignedInt());\n }",
"public com.mongodb.WriteResult getWriteResult() {\n return writeResult;\n }",
"public boolean write() {\n return this.write;\n }",
"@Override\n\tpublic boolean isReadWrite() {\n\t\treturn true;\n\t}",
"boolean isWriteAccess();",
"@Override\n\tpublic boolean getCanWrite()\n\t{\n\t\treturn false;\n\t}",
"public boolean save(WriteConcern concern) {\n return save(Datastore.fetchDefaultService(), false, concern);\n }",
"@Override\n public boolean getDurableWrites() {\n return durableWrites_;\n }",
"int getPermissionWrite();",
"Path getWritePath()\n {\n return writePath;\n }",
"public Writer getWriter ()\n {\n\tif (myWriter == null)\n\t{\n\t myWriter = new MyWriter ();\n\t}\n\n\treturn myWriter;\n }",
"@Override\n\t public Consistency getDefaultConsistency() {\n\t return Consistency.READ_YOUR_OWN_WRITES;\n\t }",
"@Override\n public boolean getDurableWrites() {\n return durableWrites_;\n }",
"@Override\n\tpublic Consistency getDefaultConsistency() {\n\t\treturn Consistency.READ_YOUR_OWN_WRITES;\n\t}",
"public synchronized SQLiteDatabase getMyWritableDatabase() {\r\n if ((myWritableDb == null) || (!myWritableDb.isOpen())) {\r\n myWritableDb = this.getWritableDatabase();\r\n }\r\n return myWritableDb;\r\n }",
"@Override\n public PrintWriter getWriter() throws IOException {\n return this.writer;\n }",
"public String getWriter() {\r\n return writer;\r\n }",
"public boolean isWriteable();",
"boolean getDurableWrites();",
"public Integer getWriteUid() {\n return writeUid;\n }",
"public Integer getWriteUid() {\n return writeUid;\n }",
"public Integer getWriteUid() {\n return writeUid;\n }",
"public Integer getWriteUid() {\n return writeUid;\n }",
"public Integer getWriteUid() {\n return writeUid;\n }",
"public boolean isWritable() {\r\n\t\treturn isWritable;\r\n\t}",
"public ContextReadWrite getReadWrite(String contextId, PermitSet permits) {\n\t\treturn permits.add(new WritePermit(contextId)).context();\n\t}",
"public Object getReadWriteObjectProperty() {\r\n return readWriteObjectProperty;\r\n }",
"public SimpleLock writeLock() {\n\n\t\treturn writerLock;\n\t}",
"boolean isWritePermissionGranted();",
"public CommonDataServiceForAppsSink setWriteBehavior(DynamicsSinkWriteBehavior writeBehavior) {\n this.writeBehavior = writeBehavior;\n return this;\n }",
"public LdDaoWritable getDaoWritable() {\r\n return getMyDao();\r\n }",
"public void setConcern(long concern);",
"public boolean isWritable() {\n return channel instanceof WritableByteChannel;\n }",
"boolean canWrite();",
"@Override\n\tpublic SQLiteDatabase getWritableDatabase() {\n \t// TODO Auto-generated method stub\n \tsynchronized(DBOpenHelper.class) {\n \t\tif ((myWritableDb == null) || (!myWritableDb.isOpen())) {\n \t\t\treturn super.getWritableDatabase();\n \t\t}\n \t}\n \treturn myWritableDb;\n\t}",
"@ReturnsLock(\"RW\")\n public ReadWriteLock getLock() {\n return rwLock;\n }",
"public boolean getSupportsPatchWrites() { return true; }",
"public boolean getSupportsPatchWrites() { return true; }",
"private boolean isWriteConcernError(final CommandResult commandResult) {\n return commandResult.get(\"wtimeout\") != null;\n }",
"public boolean getSupportsPatchWrites() \n {\n return false; \n }",
"public String getReadConsistency() {\n return this.readConsistency;\n }",
"public void setWriteConsistency(String writeConsistency) {\n this.writeConsistency = writeConsistency;\n }",
"public Long get_cachenummbwrittentodisk() throws Exception {\n\t\treturn this.cachenummbwrittentodisk;\n\t}",
"public static MongoReadPreference get() {\n return builder().build();\n }",
"public boolean isWritable() {\n return accessControl != null && accessControl.getOpenStatus().isOpen() && !sandboxed;\n }",
"public int getMyWriteValue()\n\t{\n\t\treturn myWriteValue;\n\t}",
"public WriterConfig getConfig() {\n return mConfig;\n }",
"public Date getWriteDate() {\n return writeDate;\n }",
"public Date getWriteDate() {\n return writeDate;\n }",
"public Date getWriteDate() {\n return writeDate;\n }",
"public Date getWriteDate() {\n return writeDate;\n }",
"public Date getWriteDate() {\n return writeDate;\n }",
"@Override\r\n\tpublic ReadWriteLock getReadWriteLock() {\n\t\treturn null;\r\n\t}",
"public boolean save(Datastore store, WriteConcern concern) {\n return save(store, false, concern);\n }",
"public Connection getCon() {\r\n return con;\r\n }",
"public JTextAreaWriter getWriter() {\n return this.writer;\n }",
"@Generated\n @Selector(\"isHandlingWriting\")\n public native boolean isHandlingWriting();",
"public java.lang.String getModeOfConveyance () {\n\t\treturn modeOfConveyance;\n\t}",
"public boolean isWritable() {\n return false;\n }",
"public BsonDocument getScope() {\n return scope;\n }",
"public boolean getSupportsBankWrites() \n {\n return false; \n }",
"public Object getWriteBatchSize() {\n return this.writeBatchSize;\n }",
"boolean isWritable();",
"public ReadPreference getPreferredRead() {\n if (preferredRead != null && !preferredRead.isEmpty()) {\n return MONGO_READ_PREF.get(preferredRead);\n }\n return ReadPreference.primaryPreferred();\n }",
"protected RowLock getWriteLockType() \n {\n\t\treturn(RowLock.RX3);\n }",
"long getLastWriteAccess();",
"@Override\n public Writer getOutputStreamWriter() throws IOException {\n return new OutputStreamWriter(getOutputStream());\n }",
"public PrintWriter getMessageWriter() {\n synchronized (TestResult.this) {\n synchronized (this) {\n checkMutable();\n // if it is mutable, it must have a message stream,\n // which will be the first entry\n return buffers[0].getPrintWriter();\n }\n }\n }",
"Write createWrite();",
"public final long getWritePosition() {\n\t\treturn m_txpos;\n\t}",
"protected RecordWriter<WritableComparable<?>,\n HCatRecord> getRecordWriter() {\n return hCatRecordWriter;\n }",
"public Writer openWriter() throws IOException {\n return new FileWriter(this);\n }",
"public long getWrites()\n/* */ {\n/* 67 */ return this.writes;\n/* */ }",
"public Connection getConnection()\n\t{\n\t\treturn wConn;\n\t}",
"public Connection getConn()\n\t{\n\t\treturn this.conn;\n\t}",
"public Long get_cachenummbwrittentodiskrate() throws Exception {\n\t\treturn this.cachenummbwrittentodiskrate;\n\t}",
"public Connection getConn()\r\n\t{\r\n\t\treturn this.conn;\r\n\t}",
"@Override\r\n\tpublic PrintWriter getWriter() throws IOException {\n\t\treturn null;\r\n\t}",
"public AbstractDispatcherStrategy strategy()\n {\n return strategy_;\n }",
"public Connection getConn() {\r\n return conn;\r\n }",
"public PrintWriter getPrintWriter()\n {\n return pr;\n }"
]
| [
"0.6571874",
"0.64415056",
"0.6262224",
"0.6068341",
"0.60404944",
"0.58491755",
"0.56506896",
"0.561866",
"0.56175286",
"0.55938524",
"0.55935556",
"0.5500847",
"0.54725796",
"0.53986824",
"0.5385219",
"0.5365454",
"0.5335157",
"0.5304151",
"0.52880114",
"0.52821624",
"0.5244573",
"0.5229319",
"0.51879",
"0.51787376",
"0.5140475",
"0.51129264",
"0.5111734",
"0.5069444",
"0.5065675",
"0.50633234",
"0.5051509",
"0.50478303",
"0.5009263",
"0.4991787",
"0.49734864",
"0.49733323",
"0.4966163",
"0.49582893",
"0.49538833",
"0.49538833",
"0.49538833",
"0.49538833",
"0.49538833",
"0.4952778",
"0.492634",
"0.4917147",
"0.4887409",
"0.4882788",
"0.48661983",
"0.4856462",
"0.48494935",
"0.48439592",
"0.48397613",
"0.48256397",
"0.48222527",
"0.48216495",
"0.48216495",
"0.4812668",
"0.47764543",
"0.47656786",
"0.47564155",
"0.4741777",
"0.4719459",
"0.47106528",
"0.46814495",
"0.46743745",
"0.4664743",
"0.4664743",
"0.4664743",
"0.4664743",
"0.4664743",
"0.46563223",
"0.46523717",
"0.46451426",
"0.46354368",
"0.46312913",
"0.46241704",
"0.458658",
"0.45856443",
"0.45769426",
"0.45677477",
"0.45618874",
"0.45446783",
"0.4541719",
"0.4536781",
"0.45154563",
"0.45149267",
"0.45051464",
"0.45046812",
"0.4502419",
"0.44911206",
"0.44818324",
"0.4472267",
"0.44630483",
"0.4458577",
"0.44541028",
"0.44528356",
"0.44502592",
"0.44109106",
"0.44054678"
]
| 0.821037 | 0 |
Gets the JavaScript function that follows the reduce method and modifies the output. Default is null | public BsonJavaScript getFinalizeFunction() {
return finalizeFunction;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public BsonJavaScript getReduceFunction() {\n return reduceFunction;\n }",
"@Override\n public TDViewReduceBlock compileReduceFunction(String reduceSource,\n String language) {\n return null;\n }",
"public static Expression reduce(Expression expression) { throw Extensions.todo(); }",
"@Override\r\n\tpublic String getFunc() {\n\t\treturn null;\r\n\t}",
"@Override\n\t\tpublic void reduce() {\n\t\t\t\n\t\t}",
"public interface ReduceFunction {\n String reduce(String hash);\n}",
"@Override\r\n public Double reduce(Double identity, Function accumulator) {\r\n return head.reduce(identity, accumulator);\r\n }",
"Double reduce(Double identity, Function accumulator);",
"protected static void performReduceWithABinaryOperator() {\n Integer sum = Stream.of(1, 2, 3, 4, 5).reduce(0, Integer::sum);\n\n Integer minValue = Stream.of(5, 4, 9, 2, 1).reduce(Integer.MIN_VALUE, Integer::max);\n\n String concatenation = Stream.of(\"str \", \"= \", \"alt \", \"string\")\n // the first parameter becomes the target of the concat method and the second one is the argument to concat\n // the target, the parameter and the result are of the same type and this can be considered a binary\n // operator for the reduce method\n .reduce(\"\", String::concat);\n System.out.println(concatenation);\n }",
"@Override\n public <A> Function1<A, Object> compose$mcJF$sp (Function1<A, Object> arg0)\n {\n return null;\n }",
"@Override\n public Float calc() {\n\treturn null;\n }",
"public Node factor()\r\n\t{\r\n\t\tNode ret;\r\n\t\t// function\r\n\t\tret = function();\r\n\t\tif(ret!=null) return ret;\r\n\t\tret = number();\r\n\t\tif(ret!=null) return ret;\r\n\t\tret = parameter();\r\n\t\tif(ret!=null) return ret;\r\n\t\tret = t();\r\n\t\tif(ret!=null) return ret;\r\n\t\tret = infinity();\r\n\t\tif(ret!=null) return ret;\r\n\t\tret = variable();\r\n\t\tif(ret!=null) return ret;\r\n\t\tint index = lexer.getPosition();\r\n\t\tif(lexer.getToken()==Lexer.Token.LEFT_PARENTHESIS)\r\n\t\t{\r\n\t\t\tret = expression();\r\n\t\t\tif(ret!=null)\r\n\t\t\t{\r\n\t\t\t\tif(lexer.getToken()==Lexer.Token.RIGHT_PARENTHESIS)\r\n\t\t\t\t{\r\n\t\t\t\t\treturn ret;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\tlexer.setPosition(index);\r\n\t\treturn null;\r\n\t}",
"public void reduce( T mrt ) { }",
"public void reduce( T mrt ) { }",
"default <V> Parser<S,T,U> reduce(Parser<S,T,Function<U,U>> p) {\n return s-> {\n return reduce(s, parse(s), p);\n };\n }",
"public String eval()\r\n\t{\r\n\t\treturn eval(null, null);\r\n\t}",
"public static Expression reduceExtensions(Expression expression) { throw Extensions.todo(); }",
"ReduceType reduceInit();",
"@Override\n public <A> Function1<A, Object> compose$mcFJ$sp (Function1<A, Object> arg0)\n {\n return null;\n }",
"public Object lambda23() {\n return this.staticLink.lambda7loupOr(lists.cdr.apply1(this.res));\n }",
"String getFinalFunc();",
"@Override\n protected Integer compute() {\n\n\n return null;\n }",
"@Override\n public <A> Function1<A, Object> compose$mcDJ$sp (Function1<A, Object> arg0)\n {\n return null;\n }",
"@Override\n public <A> Function1<A, Object> compose$mcJJ$sp (Function1<A, Object> arg0)\n {\n return null;\n }",
"public String evaluate(final String jsExpression);",
"public RegexNode Reduce()\n\t{\n\t\tRegexNode n;\n\n\t\tswitch (Type())\n\t\t{\n\t\t\tcase Alternate:\n\t\t\t\tn = ReduceAlternation();\n\t\t\t\tbreak;\n\n\t\t\tcase Concatenate:\n\t\t\t\tn = ReduceConcatenation();\n\t\t\t\tbreak;\n\n\t\t\tcase Loop:\n\t\t\tcase Lazyloop:\n\t\t\t\tn = ReduceRep();\n\t\t\t\tbreak;\n\n\t\t\tcase Group:\n\t\t\t\tn = ReduceGroup();\n\t\t\t\tbreak;\n\n\t\t\tcase Set:\n\t\t\tcase Setloop:\n\t\t\t\tn = ReduceSet();\n\t\t\t\tbreak;\n\n\t\t\tdefault:\n\t\t\t\tn = this;\n\t\t\t\tbreak;\n\t\t}\n\n\t\treturn n;\n\t}",
"@Override\n public String getFinalFunc() {\n Object ref = finalFunc_;\n if (ref instanceof String) {\n return (String) ref;\n } else {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n String s = bs.toStringUtf8();\n finalFunc_ = s;\n return s;\n }\n }",
"@Override\n public <A> Function1<A, Object> compose$mcJD$sp (Function1<A, Object> arg0)\n {\n return null;\n }",
"public Function getFunction();",
"private String getFunc(Integer num){\n\t\tswitch(num){\n\t\tcase 0:\n\t\t\treturn \"+\";\n\t\tcase 1:\n\t\t\treturn \"-\";\n\t\tcase 2:\n\t\t\treturn \"*\";\n\t\tcase 3:\n\t\t\treturn \"/\";\n\t\tcase 4:\n\t\t\treturn \"C\";\n\t\t}\n\t\treturn null;\n\t}",
"@Override\n public <A> Function1<A, Object> compose$mcIJ$sp (Function1<A, Object> arg0)\n {\n return null;\n }",
"@Override\n public BinaryOperator<List<Integer>> combiner() {\n return (resultList1, resultList2) -> {\n Integer currentTotal1 = resultList1.get(0);\n Integer currentTotal2 = resultList2.get(0);\n currentTotal1 += currentTotal2;\n resultList1.set(0, currentTotal1);\n return resultList1;\n };\n }",
"@Override\n public <A> Function1<A, Object> compose$mcZJ$sp (Function1<A, Object> arg0)\n {\n return null;\n }",
"public static void reduceDemo() {\n Observable.range(1, 10).reduce(new Func2<Integer, Integer, Integer>() {\n @Override\n public Integer call(Integer integer, Integer integer2) {\n RxDemo.log(RxDemo.getMethodName() + \" \" + integer + \" \" + integer2);\n return integer + integer2;\n }\n }).subscribe(new RxCreateOperator.Sub());\n }",
"@Override\n public Float compute() {\n\treturn calc();\n }",
"public MathObject evaluate(Function input);",
"@Override\n public <A> Function1<A, Object> compose$mcJI$sp (Function1<A, Object> arg0)\n {\n return null;\n }",
"@Override\r\n\tprotected void onReduceMp()\r\n\t{\n\t}",
"public Expression getFunction()\n\t{\n\t\treturn function;\n\t}",
"@Override\n public String reduce(String arg0, String arg1) throws Exception {\n return arg0.concat(arg1);\n }",
"public TreeTransformer collinizerEvalb()\n/* */ {\n/* 168 */ return collinizer();\n/* */ }",
"protected abstract boolean reduce();",
"public int[] reduceInit() {\n return null;\n }",
"@Override\n public void reduce() {\n if(null != getState())\n switch(getState()) {\n case OPERATOR:\n if (getDispenser().tokenIsOperator() && numOpNumOnStack())\n priorityReduce();\n break;\n case RIGHT_PAREN:\n if (getDispenser().tokenIsRightParen()) {\n if (!getStack().contains('('))\n throw new RuntimeException(\"Error -- mismatched parentheses\");\n while ((char)getStack().get(getStack().size() - 2) != '(')\n reduceNumOpNum();\n double aNum = (double)getStack().pop();\n getStack().pop();\n getStack().push(aNum);\n }\n break;\n case END:\n if (getDispenser().tokenIsEOF()) {\n if(getStack().contains('('))\n throw new RuntimeException(\"Error -- mismatched parentheses\");\n while(numOpNumOnStack())\n reduceNumOpNum();\n if(getStack().size() != 1)\n throw new RuntimeException(\"Error -- mismatched parentheses\");\n }\n break;\n }\n }",
"public String displaySum()\n {\n return null;\n }",
"public short[][] reduce_table() {return _reduce_table;}",
"public short[][] reduce_table() {return _reduce_table;}",
"public short[][] reduce_table() {return _reduce_table;}",
"public short[][] reduce_table() {return _reduce_table;}",
"public short[][] reduce_table() {return _reduce_table;}",
"public short[][] reduce_table() {return _reduce_table;}",
"public short[][] reduce_table() {return _reduce_table;}",
"public short[][] reduce_table() {return _reduce_table;}",
"public short[][] reduce_table() {return _reduce_table;}",
"public short[][] reduce_table() {return _reduce_table;}",
"public short[][] reduce_table() {return _reduce_table;}",
"public short[][] reduce_table() {return _reduce_table;}",
"public short[][] reduce_table() {return _reduce_table;}",
"public short[][] reduce_table() {return _reduce_table;}",
"public short[][] reduce_table() {return _reduce_table;}",
"public short[][] reduce_table() {return _reduce_table;}",
"public short[][] reduce_table() {return _reduce_table;}",
"public short[][] reduce_table() {return _reduce_table;}",
"public short[][] reduce_table() {return _reduce_table;}",
"public short[][] reduce_table() {return _reduce_table;}",
"public short[][] reduce_table() {return _reduce_table;}",
"public short[][] reduce_table() {return _reduce_table;}",
"public short[][] reduce_table() {return _reduce_table;}",
"public short[][] reduce_table() {return _reduce_table;}",
"public short[][] reduce_table() {return _reduce_table;}",
"public short[][] reduce_table() {return _reduce_table;}",
"public short[][] reduce_table() {return _reduce_table;}",
"public short[][] reduce_table() {return _reduce_table;}",
"public short[][] reduce_table() {return _reduce_table;}",
"public short[][] reduce_table() {return _reduce_table;}",
"public short[][] reduce_table() {return _reduce_table;}",
"public short[][] reduce_table() {return _reduce_table;}",
"public short[][] reduce_table() {return _reduce_table;}",
"public short[][] reduce_table() {return _reduce_table;}",
"public short[][] reduce_table() {return _reduce_table;}",
"public short[][] reduce_table() {return _reduce_table;}",
"public short[][] reduce_table() {return _reduce_table;}",
"public short[][] reduce_table() {return _reduce_table;}",
"public short[][] reduce_table() {return _reduce_table;}",
"public short[][] reduce_table() {return _reduce_table;}",
"public short[][] reduce_table() {return _reduce_table;}",
"public String getFinalFunc() {\n Object ref = finalFunc_;\n if (!(ref instanceof String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n String s = bs.toStringUtf8();\n finalFunc_ = s;\n return s;\n } else {\n return (String) ref;\n }\n }",
"@Override\n public <A> Function1<A, Object> compose$mcZF$sp (Function1<A, Object> arg0)\n {\n return null;\n }",
"public static void main(String[] args){\n int result = Stream.of(1,2,3,4,5,6,7,8,9,10)\n .reduce(0,Integer::sum);//metodo referenciado\n// .reduce(0, (acumulador, elemento) -> acumulador+elemento);\n System.out.println(result);\n\n // Obtener lenguajes separados por pipeline entre ellos y sin espacios\n // opcion 1(mejor) con operador ternario\n String cadena = Stream.of(\"Java\",\"C\",\"Python\",\"Ruby\")\n .reduce(\"\", (acumulador, lenguaje) -> acumulador.equals(\"\")?lenguaje:acumulador + \"|\" + lenguaje);\n\n System.out.println(cadena);\n\n //Opcion 2 Con regex\n String cadenaRegex = Stream.of(\"Java\",\"C\",\"Python\",\"Ruby\")\n .reduce(\"\", (acumulador, lenguaje) -> acumulador + \"|\" + lenguaje)\n .replaceFirst(\"\\\\|\",\"\") // Quitamos la primera pipeline\n .replaceAll(\"\\\\s\",\"\"); // Quitamos todos los espacios\n\n System.out.println(cadenaRegex);\n }",
"@Override\n\tpublic Number operate(Number expr1) {\n\t\treturn null;\n\t}",
"public scala.Function1 foo() { return null; }",
"public static void main(String[] args) {\n ArrayList<Double> myList = new ArrayList<>();\n\n myList.add(7.0);\n myList.add(18.0);\n myList.add(10.0);\n myList.add(24.0);\n myList.add(17.0);\n myList.add(5.0);\n\n double productOfSqrRoots = myList.parallelStream().reduce(\n 1.0,\n (a, b) -> a * Math.sqrt(b),\n (a, b) -> a * b\n );\n\n System.out.println(\"Product of square roots: \" + productOfSqrRoots);\n\n\n // This won't work. !! VERY HARD TO UNDERSTAND !!\n // In this version of reduce(), ACCUMULATOR and COMBINER function are one and the same.\n // This results in an error because when TWO PARTIAL RESULTS ARE COMBINED, THEIR SQUARE\n // ROOTS ARE MULTIPLIED TOGETHER RATHER THAN THE PARTIAL RESULTS, themselves.\n double productOfSqrRoots2 = myList.parallelStream().reduce(\n 1.0,\n (a, b) -> a * Math.sqrt(b)\n );\n\n System.out.println(productOfSqrRoots2);\n }",
"@Override\n\tpublic boolean isReduce() {\n\t\treturn true;\n\t}",
"public String getJS_FUNCTION() {\r\n return JS_FUNCTION;\r\n }",
"@Override\n public Float parens() {\n\treturn null;\n }",
"default <V> Parser<S, T, V> reduce(Supplier<V> start,BiFunction<V, U, V> f) {\n return s-> {\n return reduceBase(s, start.get(),f);\n };\n }",
"@Override\n public IRConst doConstFolding() {\n \treturn null;\n }",
"protected abstract SoyValue compute();",
"public float evaluate() \n {\n return evaluate(expr, expr.length()-1);\n }",
"public Object lambda90() {\n return this.staticLink.staticLink.staticLink.lambda85recur(this.staticLink.other$Mnlists);\n }",
"@Override\r\n\tpublic String getResult() {\n\t\tString res;\r\n\t\ttry {\r\n\t\t\tresult = c.calculate(o.getFirst(), o.getSecond(), o.getOperator());\r\n\t\t\t// System.out.println(\"00\");\r\n\t\t} catch (Exception e) {\r\n\t\t\t// TODO: handle exception\r\n\r\n\t\t\tthrow new RuntimeException();\r\n\t\t}\r\n\r\n\t\tres = String.valueOf(result);\r\n\r\n\t\treturn res;\r\n\t}"
]
| [
"0.67723453",
"0.6087352",
"0.59072876",
"0.57832897",
"0.577156",
"0.57521",
"0.5581191",
"0.55126256",
"0.54453367",
"0.53626406",
"0.5347416",
"0.5288898",
"0.52874833",
"0.52874833",
"0.5282083",
"0.523473",
"0.51633126",
"0.5096088",
"0.5091516",
"0.50671494",
"0.50518465",
"0.5029035",
"0.5022035",
"0.5008194",
"0.49938172",
"0.49902558",
"0.49880403",
"0.4983694",
"0.4958448",
"0.49259892",
"0.49218816",
"0.49165413",
"0.4904102",
"0.48945585",
"0.4885535",
"0.48746076",
"0.48601812",
"0.48586273",
"0.4843884",
"0.4781622",
"0.4780855",
"0.4778885",
"0.47784907",
"0.4768266",
"0.47677442",
"0.4762561",
"0.4762561",
"0.4762561",
"0.4762561",
"0.4762561",
"0.4762561",
"0.4762561",
"0.4762561",
"0.4762561",
"0.4762561",
"0.4762561",
"0.4762561",
"0.4762561",
"0.4762561",
"0.4762561",
"0.4762561",
"0.4762561",
"0.4762561",
"0.4762561",
"0.4762561",
"0.4762561",
"0.4762561",
"0.4762561",
"0.4762561",
"0.4762561",
"0.4762561",
"0.4762561",
"0.4762561",
"0.4762561",
"0.4762561",
"0.4762561",
"0.4762561",
"0.4762561",
"0.4762561",
"0.4762561",
"0.4762561",
"0.4762561",
"0.4762561",
"0.4762561",
"0.4762561",
"0.4762561",
"0.47535717",
"0.4753476",
"0.47314307",
"0.47277844",
"0.4720137",
"0.47040373",
"0.46948949",
"0.4682337",
"0.468232",
"0.46805355",
"0.4676649",
"0.46757737",
"0.46756396",
"0.46628827",
"0.4660751"
]
| 0.0 | -1 |
Sets the JavaScript function that follows the reduce method and modifies the output. | public MapReduceToCollectionOperation finalizeFunction(final BsonJavaScript finalizeFunction) {
this.finalizeFunction = finalizeFunction;
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public BsonJavaScript getReduceFunction() {\n return reduceFunction;\n }",
"@Override\n\t\tpublic void reduce() {\n\t\t\t\n\t\t}",
"@Override\n public TDViewReduceBlock compileReduceFunction(String reduceSource,\n String language) {\n return null;\n }",
"public interface ReduceFunction {\n String reduce(String hash);\n}",
"protected static void performReduceWithABinaryOperator() {\n Integer sum = Stream.of(1, 2, 3, 4, 5).reduce(0, Integer::sum);\n\n Integer minValue = Stream.of(5, 4, 9, 2, 1).reduce(Integer.MIN_VALUE, Integer::max);\n\n String concatenation = Stream.of(\"str \", \"= \", \"alt \", \"string\")\n // the first parameter becomes the target of the concat method and the second one is the argument to concat\n // the target, the parameter and the result are of the same type and this can be considered a binary\n // operator for the reduce method\n .reduce(\"\", String::concat);\n System.out.println(concatenation);\n }",
"default <V> Parser<S,T,U> reduce(Parser<S,T,Function<U,U>> p) {\n return s-> {\n return reduce(s, parse(s), p);\n };\n }",
"public static Expression reduce(Expression expression) { throw Extensions.todo(); }",
"@Override\r\n\tprotected void onReduceMp()\r\n\t{\n\t}",
"@Override\r\n public Double reduce(Double identity, Function accumulator) {\r\n return head.reduce(identity, accumulator);\r\n }",
"public static void Javascript() {\n\n\t}",
"public void reduce( T mrt ) { }",
"public void reduce( T mrt ) { }",
"default <V> Parser<S, T, V> reduce(Supplier<V> start,BiFunction<V, U, V> f) {\n return s-> {\n return reduceBase(s, start.get(),f);\n };\n }",
"ReduceType reduceInit();",
"public String evaluate(final String jsExpression);",
"public String transform(String value) {\n return function.apply(value);\n }",
"Double reduce(Double identity, Function accumulator);",
"public static void reduceDemo() {\n Observable.range(1, 10).reduce(new Func2<Integer, Integer, Integer>() {\n @Override\n public Integer call(Integer integer, Integer integer2) {\n RxDemo.log(RxDemo.getMethodName() + \" \" + integer + \" \" + integer2);\n return integer + integer2;\n }\n }).subscribe(new RxCreateOperator.Sub());\n }",
"@InterfaceAudience.Public\n Reducer compileReduce(String source, String language);",
"@Override\r\n public void reduce(Text page, Iterable<Text> values, Context context) throws IOException, InterruptedException {}",
"protected abstract boolean reduce();",
"public MathObject evaluate(Function input);",
"public Builder setRedFuncClass(\n Class<? extends ReduceFunction<?>> redFuncClass) {\n this.redFuncClass = redFuncClass;\n return this;\n }",
"@Override\n\tpublic boolean isReduce() {\n\t\treturn true;\n\t}",
"public Builder setFinalFunc(\n String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n\n finalFunc_ = value;\n onChanged();\n return this;\n }",
"public void reduce()\n\t{\n\t\tint divider = getGCD(myNumerator, myDenominator);\n\t\tmyNumerator /= divider;\n\t\tmyDenominator /= divider;\n\t}",
"protected void reduce4( T mrt ) {\n // Reduce any AppendableVecs\n if( _noutputs > 0 )\n for( int i=0; i<_appendables.length; i++ )\n _appendables[i].reduce(mrt._appendables[i]);\n // User's reduction\n reduce(mrt);\n }",
"@Override\n public BinaryOperator<List<Integer>> combiner() {\n return (resultList1, resultList2) -> {\n Integer currentTotal1 = resultList1.get(0);\n Integer currentTotal2 = resultList2.get(0);\n currentTotal1 += currentTotal2;\n resultList1.set(0, currentTotal1);\n return resultList1;\n };\n }",
"public TreeTransformer collinizerEvalb()\n/* */ {\n/* 168 */ return collinizer();\n/* */ }",
"protected abstract SoyValue compute();",
"@Override\n public void visitFunction(Function function) {\n }",
"@Override\n\tprotected void reduce(Text arg0, Iterable<DoubleWritable> arg1,Context arg2)\n\t\t\tthrows IOException, InterruptedException {\n\t\t double sum=0;\n\t\t StringBuilder sb = new StringBuilder();\n\t\t int m = 0;\n\t\tm= arg2.getConfiguration().getInt(\"m\", m);\n\t\tSystem.out.println(\"m=\"+m);\n\t\tfor ( DoubleWritable value : arg1 )\n\t\t{\n\t\t\tSystem.out.println(\"value=\"+value);\n\t\t\tsum = sum + Math.pow((1.0 / value . get ( )),2.0/(m-1)) ;\n\t\t\tlist . add ( new DoubleWritable(value.get())) ;\n\t\t}\n\t\tfor ( int i = 0 ; i < list . size();i ++)\n\t\t{\n\t\t\tdouble l= Math.pow((list.get(i).get()),2.0/(m-1)) ;\n\t\t\tSystem.out.println(list.get(i).get()+\" \"+l);\n\t\t\tsb.append((sum/l)+\" \");\n\t\t}\n\t\tlist.clear();\n\t\treducevalue .set ( sb.toString() ) ;\n\t\tSystem.out.println(\"in rebuild\"+arg0+\" \"+reducevalue);\n\t\targ2.write(arg0, reducevalue);\n\t}",
"public static void main(String[] args) {\n\n\t\tUnaryOperator<Integer> func=x->x*7;\t\t\n\t\tint num=func.apply(10);\n\t\tSystem.out.println(num);\n\t\t\n\t\tFunction<Integer, Integer> func1=x->x*10;\n\t\tSystem.out.println(func1.apply(10));\n\t\t\n\t\tList<String> langList=new ArrayList<String>();\n\t\tlangList.add(\"Java\");\n\t\tlangList.add(\"Ruby\");\n\t\tlangList.add(\"Python\");\n\t\t\n\t\tSystem.out.println(langList);\n\t\t\n\t\tlangList.replaceAll(ele -> ele +\" Deeps\");\n\t\tSystem.out.println(langList);\n\t}",
"public static Expression reduceExtensions(Expression expression) { throw Extensions.todo(); }",
"@Override\r\n public Double evaluate(double number) {\r\n double result = this.reduce(0.0, t -> {\r\n Term term = (Term) t;\r\n return term.evaluate(number);\r\n });\r\n return result;\r\n }",
"public static void main(String[] args) {\n ArrayList<Double> myList = new ArrayList<>();\n\n myList.add(7.0);\n myList.add(18.0);\n myList.add(10.0);\n myList.add(24.0);\n myList.add(17.0);\n myList.add(5.0);\n\n double productOfSqrRoots = myList.parallelStream().reduce(\n 1.0,\n (a, b) -> a * Math.sqrt(b),\n (a, b) -> a * b\n );\n\n System.out.println(\"Product of square roots: \" + productOfSqrRoots);\n\n\n // This won't work. !! VERY HARD TO UNDERSTAND !!\n // In this version of reduce(), ACCUMULATOR and COMBINER function are one and the same.\n // This results in an error because when TWO PARTIAL RESULTS ARE COMBINED, THEIR SQUARE\n // ROOTS ARE MULTIPLIED TOGETHER RATHER THAN THE PARTIAL RESULTS, themselves.\n double productOfSqrRoots2 = myList.parallelStream().reduce(\n 1.0,\n (a, b) -> a * Math.sqrt(b)\n );\n\n System.out.println(productOfSqrRoots2);\n }",
"public MapReduceToCollectionOperation jsMode(final boolean jsMode) {\n this.jsMode = jsMode;\n return this;\n }",
"public static void main(String[] args){\n int result = Stream.of(1,2,3,4,5,6,7,8,9,10)\n .reduce(0,Integer::sum);//metodo referenciado\n// .reduce(0, (acumulador, elemento) -> acumulador+elemento);\n System.out.println(result);\n\n // Obtener lenguajes separados por pipeline entre ellos y sin espacios\n // opcion 1(mejor) con operador ternario\n String cadena = Stream.of(\"Java\",\"C\",\"Python\",\"Ruby\")\n .reduce(\"\", (acumulador, lenguaje) -> acumulador.equals(\"\")?lenguaje:acumulador + \"|\" + lenguaje);\n\n System.out.println(cadena);\n\n //Opcion 2 Con regex\n String cadenaRegex = Stream.of(\"Java\",\"C\",\"Python\",\"Ruby\")\n .reduce(\"\", (acumulador, lenguaje) -> acumulador + \"|\" + lenguaje)\n .replaceFirst(\"\\\\|\",\"\") // Quitamos la primera pipeline\n .replaceAll(\"\\\\s\",\"\"); // Quitamos todos los espacios\n\n System.out.println(cadenaRegex);\n }",
"public abstract void betaReduce();",
"@Override\n\tpublic void visit(Function arg0) {\n\t\t\n\t}",
"public BsonJavaScript getFinalizeFunction() {\n return finalizeFunction;\n }",
"@Test\n\tpublic void testReducer() {\n\n\t\tList<Text> values = new ArrayList<Text>();\n\t\tvalues.add(new Text(\"1745.09564282 5218.86073424\"));\n\n\t\t/*\n\t\t * For this test, the reducer's input will be \"cat 1 1\".\n\t\t */\n\t\treduceDriver.withInput(new Text(\"Sweden\"), values);\n\n\t\t/*\n\t\t * The expected output is \"cat 2\"\n\t\t */\n\t\treduceDriver.withOutput(new Text(\"(Sweden)\"), new Text(\"| in 2011$ values PPP, 1995 health cost: 1745.1| 2014 health cost: 5218.86| cost increase (%): 199.06%\\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\"));\n\n\t\t/*\n\t\t * Run the test.\n\t\t */\n\t\treduceDriver.runTest();\n\t}",
"@Override\n public String reduce(String arg0, String arg1) throws Exception {\n return arg0.concat(arg1);\n }",
"public Object lambda23() {\n return this.staticLink.lambda7loupOr(lists.cdr.apply1(this.res));\n }",
"@Override\n public void reduce() {\n if(null != getState())\n switch(getState()) {\n case OPERATOR:\n if (getDispenser().tokenIsOperator() && numOpNumOnStack())\n priorityReduce();\n break;\n case RIGHT_PAREN:\n if (getDispenser().tokenIsRightParen()) {\n if (!getStack().contains('('))\n throw new RuntimeException(\"Error -- mismatched parentheses\");\n while ((char)getStack().get(getStack().size() - 2) != '(')\n reduceNumOpNum();\n double aNum = (double)getStack().pop();\n getStack().pop();\n getStack().push(aNum);\n }\n break;\n case END:\n if (getDispenser().tokenIsEOF()) {\n if(getStack().contains('('))\n throw new RuntimeException(\"Error -- mismatched parentheses\");\n while(numOpNumOnStack())\n reduceNumOpNum();\n if(getStack().size() != 1)\n throw new RuntimeException(\"Error -- mismatched parentheses\");\n }\n break;\n }\n }",
"@Override void apply(Env env) {\n if( env.isNum() ) { env.push(new ValNum(op(env.popDbl()))); return; }\n// if( env.isStr() ) { env.push(new ASTString(op(env.popStr()))); return; }\n Frame fr = env.popAry();\n final ASTUniOp uni = this; // Final 'this' so can use in closure\n Frame fr2 = new MRTask() {\n @Override public void map( Chunk[] chks, NewChunk[] nchks ) {\n for( int i=0; i<nchks.length; i++ ) {\n NewChunk n =nchks[i];\n Chunk c = chks[i];\n int rlen = c._len;\n if (c.vec().isEnum() || c.vec().isUUID() || c.vec().isString()) {\n for (int r = 0; r <rlen;r++) n.addNum(Double.NaN);\n } else {\n for( int r=0; r<rlen; r++ )\n n.addNum(uni.op(c.atd(r)));\n }\n }\n }\n }.doAll(fr.numCols(),fr).outputFrame(fr._names, null);\n env.pushAry(fr2);\n }",
"public void setGroupFunction(JSFunction groupFunction) {\r\n this.groupFunction = groupFunction;\r\n }",
"public String toJs(String logMissFn) {\n final StringBuilder sb = new StringBuilder();\n String logMissFnClean = logMissFn.trim();\n if(logMissFnClean.endsWith(\";\")) logMissFnClean = logMissFnClean.substring(0, logMissFnClean.length() - 1);\n sb.append('{');\n sb.append(\"logMiss:\" + logMissFnClean + \",\");\n sb.append(localizeJsFn);\n for(Iterator<String> iter = bundle.keySet().iterator(); iter.hasNext();) {\n final String key = iter.next();\n final String val = bundle.getString(key);\n\n sb.append('\"').append(legalize(key)).append('\"').append(':');\n\n Matcher m = arg.matcher(val);\n if(m.find()) {\n List<String> chunks = new LinkedList<String>();\n List<Integer> args = new ArrayList<Integer>();\n chunks.add(m.group(1));\n\n // Get all of the chunks of the value\n do {\n args.add(Integer.parseInt(m.group(2)));\n chunks.add(m.group(3));\n } while (m.find());\n\n // Build the function declaration\n int numArgs = Collections.max(args);\n sb.append(\"function(\");\n for(int i=0; i<=numArgs; i++) {\n sb.append(\"p\").append(i);\n if(i < numArgs) // this is NOT the last one\n sb.append(\",\");\n }\n sb.append(\"){return\\\"\");\n\n // Assemble the string and arguments for the body of the function\n sb.append(legalize(chunks.get(0))).append('\"'); // Add the leading stuff\n for(int i=1; i<chunks.size(); i++)\n sb.append(\"+p\"+args.get(i-1)+\"+\\\"\").append(legalize(chunks.get(i))).append('\"');\n sb.append(\";}\");\n }\n else {\n sb.append(\"function(){return\");\n sb.append('\"').append(legalize(val)).append('\"');\n sb.append(\";}\");\n }\n\n sb.append(',');\n }\n sb.append('}');\n return sb.toString();\n }",
"String getFinalFunc();",
"public RegexNode Reduce()\n\t{\n\t\tRegexNode n;\n\n\t\tswitch (Type())\n\t\t{\n\t\t\tcase Alternate:\n\t\t\t\tn = ReduceAlternation();\n\t\t\t\tbreak;\n\n\t\t\tcase Concatenate:\n\t\t\t\tn = ReduceConcatenation();\n\t\t\t\tbreak;\n\n\t\t\tcase Loop:\n\t\t\tcase Lazyloop:\n\t\t\t\tn = ReduceRep();\n\t\t\t\tbreak;\n\n\t\t\tcase Group:\n\t\t\t\tn = ReduceGroup();\n\t\t\t\tbreak;\n\n\t\t\tcase Set:\n\t\t\tcase Setloop:\n\t\t\t\tn = ReduceSet();\n\t\t\t\tbreak;\n\n\t\t\tdefault:\n\t\t\t\tn = this;\n\t\t\t\tbreak;\n\t\t}\n\n\t\treturn n;\n\t}",
"ScriptEvaluator createScriptEvaluator();",
"protected abstract Object evalValue() throws JspException;",
"@Override\n public String getFinalFunc() {\n Object ref = finalFunc_;\n if (ref instanceof String) {\n return (String) ref;\n } else {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n String s = bs.toStringUtf8();\n finalFunc_ = s;\n return s;\n }\n }",
"public String buildJS() {\n if (className == null || instanceName == null) {\n // The query is only \"select `JS_expression`\" - in that case, just eval it\n return \"{ visitor = wrapVisitor(visitor); let result = \"+selectExpression+\"; let isIterable = result != null && typeof result[Symbol.iterator] === 'function'; if (isIterable) { for (r in result) { if (visitor.visit(result[r])) { break }; }} else { visitor.visit(result); } }\";\n } else {\n // The query is \"select `JS_expression` from `class_name` `identifier`\n // visitor is\n String selectFunction = \"function __select__(\"+instanceName+\") { return \"+selectExpression+\" };\";\n String iteratorConstruction = \"let iterator = heap.objects('\"+className+\"', \"+isInstanceOf+\");\";\n String whereFunction;\n String resultsIterator;\n if (whereExpression == null) {\n whereFunction = \"\";\n resultsIterator = \"while (iterator.hasNext()) { let item = iterator.next(); if (visitor.visit(__select__(item))) { break; }; };\";\n } else {\n whereFunction = \"function __where__(\"+instanceName+\") { return \"+whereExpression+\" };\";\n resultsIterator = \"while (iterator.hasNext()) { let item = iterator.next(); if(__where__(item)) { if (visitor.visit(__select__(item))) { break; } } };\";\n }\n return \"{ visitor = wrapVisitor(visitor); \" + selectFunction + whereFunction + iteratorConstruction + resultsIterator + \"}\";\n }\n }",
"@Override\n\tpublic void visit(Function arg0) {\n\n\t}",
"@Override\r\n\t\tprotected void reduce(PageCount_myself key, Iterable<NullWritable> value,\r\n\t\t\t\tReducer<PageCount_myself, NullWritable, PageCount_myself, NullWritable>.Context context)\r\n\t\t\t\tthrows IOException, InterruptedException {\n\t\t\t\r\n\t\t\t\r\n\t\t\tcontext.write(key, NullWritable.get());\r\n\t\t}",
"@Override\r\n\tpublic String getFunc() {\n\t\treturn null;\r\n\t}",
"private void reduce() {\n int gcd = gcd(this.numerator, this.denominator);\n this.numerator = this.numerator / gcd;\n this.denominator = this.denominator / gcd;\n }",
"public String calcWithJs(String mathExpr) throws ScriptException {\r\n\t\tfinal ScriptEngineManager engineManager = new ScriptEngineManager();\r\n\t\tfinal ScriptEngine engine = engineManager.getEngineByName(\"JavaScript\");\r\n\t\t\r\n\t\t// Security for JavaScript to avoid commands injections\r\n\t\t Pattern p = Pattern.compile(\"[a-zA-Z]\");\r\n\t\t Matcher m = p.matcher(mathExpr);\r\n\t\t if(m.find())\r\n\t\t\t throw new ScriptException(\"ERROR Parsing mathExpr, the Expression contains letters\");\r\n\t\ttry {\r\n\t\t\t// Sleep to trigger the log warning\r\n\t\t\tThread.sleep(500);\r\n\t\t} catch (InterruptedException e) {\r\n\t\t\t// TODO Auto-generated catch block\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\treturn engine.eval(mathExpr).toString();\r\n\t}",
"protected String event2JavaScript(Event event) throws IOException {\n\n\t\t// Convert the event to a comma-separated string.\n\t\tString jsArgs = \"\";\n\t\tfor (Iterator iter = event.getFieldNames(); iter.hasNext();) {\n\t\t\tString name = (String) iter.next();\n\t\t\tString value = event.getField(name);\n\t\t\tString nextArgument = (jsArgs.equals(\"\") ? \"\" : \",\") + \"'\" + name + \"'\" + \", \\\"\" + value + \"\\\"\";\n\t\t\tjsArgs += nextArgument;\n\t\t}\n\n\t\t// Construct and return the function call */\n\t\treturn \"<script language=\\\"JavaScript\\\">parent.push(\" + jsArgs + \");</script>\";\n\t}",
"public short[][] reduce_table() {return _reduce_table;}",
"public short[][] reduce_table() {return _reduce_table;}",
"public short[][] reduce_table() {return _reduce_table;}",
"public short[][] reduce_table() {return _reduce_table;}",
"public short[][] reduce_table() {return _reduce_table;}",
"public short[][] reduce_table() {return _reduce_table;}",
"public short[][] reduce_table() {return _reduce_table;}",
"public short[][] reduce_table() {return _reduce_table;}",
"public short[][] reduce_table() {return _reduce_table;}",
"public short[][] reduce_table() {return _reduce_table;}",
"public short[][] reduce_table() {return _reduce_table;}",
"public short[][] reduce_table() {return _reduce_table;}",
"public short[][] reduce_table() {return _reduce_table;}",
"public short[][] reduce_table() {return _reduce_table;}",
"public short[][] reduce_table() {return _reduce_table;}",
"public short[][] reduce_table() {return _reduce_table;}",
"public short[][] reduce_table() {return _reduce_table;}",
"public short[][] reduce_table() {return _reduce_table;}",
"public short[][] reduce_table() {return _reduce_table;}",
"public short[][] reduce_table() {return _reduce_table;}",
"public short[][] reduce_table() {return _reduce_table;}",
"public short[][] reduce_table() {return _reduce_table;}",
"public short[][] reduce_table() {return _reduce_table;}",
"public short[][] reduce_table() {return _reduce_table;}",
"public short[][] reduce_table() {return _reduce_table;}",
"public short[][] reduce_table() {return _reduce_table;}",
"public short[][] reduce_table() {return _reduce_table;}",
"public short[][] reduce_table() {return _reduce_table;}",
"public short[][] reduce_table() {return _reduce_table;}",
"public short[][] reduce_table() {return _reduce_table;}",
"public short[][] reduce_table() {return _reduce_table;}",
"public short[][] reduce_table() {return _reduce_table;}",
"public short[][] reduce_table() {return _reduce_table;}",
"public short[][] reduce_table() {return _reduce_table;}",
"public short[][] reduce_table() {return _reduce_table;}",
"public short[][] reduce_table() {return _reduce_table;}",
"public short[][] reduce_table() {return _reduce_table;}",
"public short[][] reduce_table() {return _reduce_table;}",
"public short[][] reduce_table() {return _reduce_table;}",
"public short[][] reduce_table() {return _reduce_table;}"
]
| [
"0.6522792",
"0.5852133",
"0.5678367",
"0.56134754",
"0.5142981",
"0.5134786",
"0.50827396",
"0.50554633",
"0.50463146",
"0.5023129",
"0.49988616",
"0.49988616",
"0.49282035",
"0.48725367",
"0.48718262",
"0.4857681",
"0.48326355",
"0.48232704",
"0.48148903",
"0.4762396",
"0.47454238",
"0.47029293",
"0.4684034",
"0.46358365",
"0.46211532",
"0.46181628",
"0.46121463",
"0.45476565",
"0.4546727",
"0.45300785",
"0.45238462",
"0.45030764",
"0.44751504",
"0.44689035",
"0.44404057",
"0.4422258",
"0.44181117",
"0.44074312",
"0.44065827",
"0.44025394",
"0.44019622",
"0.4387047",
"0.43793425",
"0.43680775",
"0.43635556",
"0.4350039",
"0.43361333",
"0.4331394",
"0.4317391",
"0.4307936",
"0.43078056",
"0.43063557",
"0.43037793",
"0.4301952",
"0.43016833",
"0.42996398",
"0.42931432",
"0.42928165",
"0.42762825",
"0.42757747",
"0.42727658",
"0.42727658",
"0.42727658",
"0.42727658",
"0.42727658",
"0.42727658",
"0.42727658",
"0.42727658",
"0.42727658",
"0.42727658",
"0.42727658",
"0.42727658",
"0.42727658",
"0.42727658",
"0.42727658",
"0.42727658",
"0.42727658",
"0.42727658",
"0.42727658",
"0.42727658",
"0.42727658",
"0.42727658",
"0.42727658",
"0.42727658",
"0.42727658",
"0.42727658",
"0.42727658",
"0.42727658",
"0.42727658",
"0.42727658",
"0.42727658",
"0.42727658",
"0.42727658",
"0.42727658",
"0.42727658",
"0.42727658",
"0.42727658",
"0.42727658",
"0.42727658",
"0.42727658"
]
| 0.434781 | 46 |
Gets the global variables that are accessible in the map, reduce and finalize functions. | public BsonDocument getScope() {
return scope;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private Map<String, Object> collectGlobals() {\n ImmutableMap.Builder<String, Object> envBuilder = ImmutableMap.builder();\n MethodLibrary.addBindingsToBuilder(envBuilder);\n Runtime.addConstantsToBuilder(envBuilder);\n return envBuilder.build();\n }",
"public Map<String, Object> getGlobals() {\n return globals;\n }",
"public Map<String, Object> getGlobals() {\n return Collections.unmodifiableMap(globals);\n }",
"public List<Identifier> getGlobalVars(){\n final List<Identifier> globs = new ArrayList<>();\n\n globalVariables.keySet().stream()\n .map(x -> new Identifier(Scope.GLOBAL, Type.VARIABLE, x, globalVariables.get(x)))\n .forEach(globs::add);\n\n return globs;\n }",
"private LocalVariables locals(){\n\t\treturn frame.getLocals();\n\t}",
"GlobalsType getGlobals();",
"public Map<String, Object> getBzlGlobals() {\n return bzlGlobals;\n }",
"public List<Dim> getGlobals(){\n\t\t\n\t\treturn null;\n\t}",
"public Map<Object, Object> getGlobalMap() {\n return Collections.unmodifiableMap(globalMap);\n }",
"public Map<String, Object> getVariables();",
"public Map<Integer, Coord> getGlobalMap(){\n\t\tif(mapExists){\r\n\t\t\tMap<Integer, Coord> realCoordMap = new HashMap<Integer, Coord>();\r\n\t\t\tfor(Map.Entry<Integer, Coord> c : this.globalMap.entrySet()){\r\n\t\t\t\t//core.Debug.p(\"c: id\" + c.getKey() + \", v:\" + c.getValue().toString() + \", r:\"+ realCoord(c.getValue()).toString());\r\n\t\t\t\trealCoordMap.put(c.getKey(), realCoord(c.getValue()));\r\n\t\t\t}\r\n\t\t\treturn realCoordMap;\r\n\t\t}\r\n\t\telse return null;\r\n\t}",
"public Map<String, Function> getGlobalFnMap() {\n return getGlobalFnMap(DEFAULT_LOCALE);\n }",
"public java.util.Collection<VariableInfo> getLocalVariables(){\n\t\tjava.util.Collection<VariableInfo> variables = new java.util.ArrayList<VariableInfo>();\n\n\t\treturn variables;\n\t}",
"protected Map<String, String> getVarMap() {\n\t\treturn myVarMap;\n\t}",
"public GlobalState() {\r\n\t\t//initialize ITANet location vector\r\n\t\tint ITACount = Model.getITACount();\r\n\t\tthis.locVec = new int[ITACount];\r\n\t\tfor (int i = 0; i < ITACount; i++){\r\n\t\t\tthis.locVec[i] = Model.getITAAt(i).getInitLoc();\r\n\t\t}\r\n\r\n\t\t//initialize interruption vector\r\n\t\tint interCount = Model.getInterCount();\r\n\t\tthis.interVec = new boolean[interCount];\r\n\t\tfor(int i = 0; i < interCount; i++){\r\n\t\t\tthis.interVec[i] = false;\r\n\t\t}\r\n\t\t\r\n\t\tthis.cvMap = Model.getCVMap(); //share 'cvMap' with Model\r\n\t\tthis.srArray = Model.getSRArray();\t//share 'srArray' with Model \r\n\t\tthis.stack = new CPUStack();\r\n\t\tthis.switches = new IRQSwitch();\r\n\t}",
"java.util.Map<java.lang.String, java.lang.String>\n getVarsMap();",
"private Globals() {\n\n\t}",
"public ScopeManager(){\n globalConstants = new HashMap<>();\n globalVariables = new HashMap<>();\n\n currentConstants = null;\n currentVariables = null;\n\n temporaryConstants = new ArrayList<>();\n temporaryVariables = new ArrayList<>();\n\n localVariableScopes = new HashMap<>();\n localConstantScopes = new HashMap<>();\n }",
"private Globals(){}",
"public Variable[] getLocals();",
"@Override\n\tpublic ServerServices upstreamGlobalVarsInit() throws Exception {\n\t\treturn null;\n\t}",
"private void initInstanceVars() {\n\t\tglobalSymTab = new Hashtable<String,ClassDecl>();\n\t\tcurrentClass = null;\n\t}",
"protected void initVars() {}",
"private static Map<String,String> getEnvVars() {\n return new TreeMap<>(System.getenv());\n }",
"public String[] getLocalVariables() {\r\n return scope != null? scope.getLocalVariables() : null;\r\n }",
"private Globals(){\n store = null;\n service = null;\n filters = new EmailFilters();\n\n //notification types:\n keywordsNotification = 1;\n flagNotification = 0;\n }",
"private void readGlobals(SB_SingletonBook book)\r\n throws SB_FileException, SB_Exception {\r\n SB_VariableMap globals = new SB_VariableMap();\r\n\r\n if (SIM_Constants.DEBUG_INFO_ON)\r\n book.getLogger().log(\".Loading global variables...\",\r\n SB_Logger.INIT);\r\n\r\n readGlobals(book, _dataModel.getGlobals(), globals);\r\n\r\n book.getEntityManager().setGlobalTemplate(globals);\r\n }",
"public void setGlobalVariables(GlobalVariables globalVariables);",
"@Override\r\n\tpublic Integer[] getDynamicMapVariables() {\n\t\treturn null;\r\n\t}",
"@Override\r\n\tpublic Integer[] getDynamicMapVariables() {\n\t\treturn null;\r\n\t}",
"public int makeGlobal(){\r\n\t\tif(mapExists && this.creationTime > SimClock.getTime() - TIMEOUT){\r\n\t\t//TODO: merge new maps\t\r\n\t\t\treturn globalMap.size();\r\n\t\t}\r\n\t\telse if(mapExists && this.creationTime <= SimClock.getTime() - TIMEOUT){\r\n\t\t//restart my map\r\n\t\t\tglobalMap = null;\r\n\t\t\tsynced = -1;\r\n\t\t\tmapExists = false;\r\n\t\t\tref_id = -1;\r\n\t\t\tthis.creationTime = SimClock.getTime();\r\n\t\t\t\r\n\t\t}\r\n\t\t//usar 3 estáticos para ajustar coordenadas\r\n\t\t\r\n\t\tMap<Integer, Coord> m = new HashMap<Integer, Coord>();\r\n\t\tArrayList<Integer> staticNBs = new ArrayList<Integer>();\r\n\t\t/*first find the static nodes i have in my map*/\r\n\t\tif(this.myMap == null || this.myMap.getMap() == null) return -1;\r\n\t\tfor(Map.Entry<Integer, Coord> nb : this.myMap.getMap().entrySet()){\r\n\t\t\t/*add them to my map*/\r\n\t\t\tif (staticNodes.keySet().contains(nb.getKey())){\r\n\t\t\t\tstaticNBs.add(nb.getKey());\t\r\n\t\t\t\tm.put(nb.getKey(), staticNodes.get(nb.getKey()));\r\n\t\t\t}\r\n\t\t}\r\n\t\tif(staticNBs.size() < 3){\r\n\t\t\t//core.Debug.p(\"can't determine global coordinates\");\r\n\t\t\treturn -1;\r\n\t\t}\r\n\t\telse{\r\n\t\t\t//map centered on certain static node, using real coordinates.\r\n\t\t\tMap.Entry<Integer, NodePositionsSet> s = startingGlobalMap(staticNBs);\r\n\t\t\t//core.Debug.p(\"***map centered on static node\" + ref_id + \"***\");\r\n\t\t\t//core.Debug.p(this.toString());\r\n\t\t\tif(s.getValue() != null){\r\n\t\t\t\t//core.Debug.p(\"globalmap not null! wohoo!\");\r\n\t\t\t\t//core.Debug.p(\"t= \" + SimClock.getTime() + \" base map:\" + realMap(s.getValue().getMap()));\r\n\t\t\t\t/*now mix this map*/\r\n\t\t\t\t//core.Debug.p(\"+++mixed map:\" + realMap(s.getValue().getMap()));\r\n\t\t\t\tglobalMap = NodePositionsSet.mixMap(s.getValue().getMap(), myMap.getMap(), ref_id, myID);\r\n\t\t\t\t//core.Debug.p(\"+++mixed map:\" + realMap(globalMap));\r\n\t\t\t\tif(globalMap == null) return -1;\r\n\t\t\t\tlocalmix();\r\n\t\t\t\tif(globalMap == null) return -1;\r\n\t\t\t\tthis.updateTime = SimClock.getTime();\r\n\t\t\t\treturn globalMap.size();\r\n\t\t\t}\r\n\t\t\telse{\r\n\t\t\t\tcore.Debug.p(\"can't determine global coordinates\");\r\n\t\t\t\treturn -1;\r\n\t\t\t}\r\n\t\t}\r\n\t}",
"public ImmutableMap<String, Object> getExportedGlobals() {\n ImmutableMap.Builder<String, Object> result = new ImmutableMap.Builder<>();\n for (Map.Entry<String, Object> entry : globals.entrySet()) {\n if (exportedGlobals.contains(entry.getKey())) {\n result.put(entry);\n }\n }\n return result.build();\n }",
"public Map<String, ZAttrHandler> getVarMap() {\r\n if (attrMap==null) attrMap = new ZAttrHandlerMapper(this).map();\r\n return attrMap;\r\n }",
"private void init() {\n\t\t\n\t\ttry{\t\t\t\n\t\t\tinfos = new HashMap<String, VariableInfo>();\n\t\t\t\n\t\t\tfor(String var : this.problem.getMyVars()){\n\t\t\t\t\n\t\t\t\tif(this.problem.getNbrNeighbors(var) != 0){ // an isolated variable doesn't need a CryptoScheme and therefore no VariableInfo either\n\t\t\t\t\t\n\t\t\t\t\tVariableInfo info = new VariableInfo(var);\n\t\t\t\t\tinfos.put(var, info);\n\t\t\t\t\t\n\t\t\t\t\tinfo.cs = cryptoConstr.newInstance(this.cryptoParameter);\t\t\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\t//initialize request counter for my own variables\n\t\t\trequestCount = new HashMap<String,Integer>(); \n\t\t\tfor(String var : this.problem.getMyVars()){\n\t\t\t\trequestCount.put(var, 0);\n\t\t\t}\n\t\t\t\n\t\t\tthis.started = true;\t\n\t\t\t\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\t\t\n\t}",
"public List<String> getCommonVariables() {\n if (this.commonVariables == null) {\n if (this.deleteExpr == null && this.insertExpr == null || this.whereExpr == null) {\n this.commonVariables = ImmutableList.of();\n } else {\n final Set<String> vars = new HashSet<>();\n if (this.deleteExpr != null) {\n vars.addAll(Algebra.extractVariables(this.deleteExpr, true));\n }\n if (this.insertExpr != null) {\n vars.addAll(Algebra.extractVariables(this.insertExpr, true));\n }\n vars.retainAll(Algebra.extractVariables(this.whereExpr, true));\n this.commonVariables = Ordering.natural().immutableSortedCopy(vars);\n }\n }\n return this.commonVariables;\n }",
"public Map getActorStateVariables() {\r\n\t\treturn actorEnv.localBindings();\r\n\t}",
"public static String _process_globals() throws Exception{\nreturn \"\";\n}",
"public static String _process_globals() throws Exception{\nreturn \"\";\n}",
"public static String _process_globals() throws Exception{\nreturn \"\";\n}",
"public static String _process_globals() throws Exception{\nreturn \"\";\n}",
"public Local[] getRegisterLocals() {\n return registerLocals;\n }",
"private Globals() {}",
"private void initializeGlobalVariables()\n\t{\n\t\t_continue = (Button) findViewById(R.id.es_continue);\n\t\t\n\t\t_points = (CheckBox) findViewById(R.id.es_points);\n\t\t_score = (CheckBox) findViewById(R.id.es_score);\n\t}",
"public abstract String globalInfo();",
"private Map<String, Object> collectBzlGlobals() {\n ImmutableMap.Builder<String, Object> envBuilder = ImmutableMap.builder();\n TopLevelBootstrap topLevelBootstrap =\n new TopLevelBootstrap(\n new FakeBuildApiGlobals(),\n new FakeSkylarkAttrApi(),\n new FakeSkylarkCommandLineApi(),\n new FakeSkylarkNativeModuleApi(),\n new FakeSkylarkRuleFunctionsApi(Lists.newArrayList(), Lists.newArrayList()),\n new FakeStructProviderApi(),\n new FakeOutputGroupInfoProvider(),\n new FakeActionsInfoProvider(),\n new FakeDefaultInfoProvider());\n AndroidBootstrap androidBootstrap =\n new AndroidBootstrap(\n new FakeAndroidSkylarkCommon(),\n new FakeApkInfoProvider(),\n new FakeAndroidInstrumentationInfoProvider(),\n new FakeAndroidDeviceBrokerInfoProvider(),\n new FakeAndroidResourcesInfoProvider(),\n new FakeAndroidNativeLibsInfoProvider());\n AppleBootstrap appleBootstrap = new AppleBootstrap(new FakeAppleCommon());\n ConfigBootstrap configBootstrap =\n new ConfigBootstrap(new FakeConfigSkylarkCommon(), new FakeConfigApi(),\n new FakeConfigGlobalLibrary());\n CcBootstrap ccBootstrap = new CcBootstrap(new FakeCcModule());\n JavaBootstrap javaBootstrap =\n new JavaBootstrap(\n new FakeJavaCommon(),\n new FakeJavaInfoProvider(),\n new FakeJavaProtoCommon(),\n new FakeJavaCcLinkParamsProvider.Provider());\n PlatformBootstrap platformBootstrap = new PlatformBootstrap(new FakePlatformCommon());\n PyBootstrap pyBootstrap =\n new PyBootstrap(new FakePyInfoProvider(), new FakePyRuntimeInfoProvider());\n RepositoryBootstrap repositoryBootstrap =\n new RepositoryBootstrap(new FakeRepositoryModule(Lists.newArrayList()));\n TestingBootstrap testingBootstrap =\n new TestingBootstrap(\n new FakeTestingModule(),\n new FakeCoverageCommon(),\n new FakeAnalysisFailureInfoProvider(),\n new FakeAnalysisTestResultInfoProvider());\n\n topLevelBootstrap.addBindingsToBuilder(envBuilder);\n androidBootstrap.addBindingsToBuilder(envBuilder);\n appleBootstrap.addBindingsToBuilder(envBuilder);\n ccBootstrap.addBindingsToBuilder(envBuilder);\n configBootstrap.addBindingsToBuilder(envBuilder);\n javaBootstrap.addBindingsToBuilder(envBuilder);\n platformBootstrap.addBindingsToBuilder(envBuilder);\n pyBootstrap.addBindingsToBuilder(envBuilder);\n repositoryBootstrap.addBindingsToBuilder(envBuilder);\n testingBootstrap.addBindingsToBuilder(envBuilder);\n\n return envBuilder.build();\n }",
"public Object getGlobal(String name) {\n return globals.get(name);\n }",
"public Iterable<Map.Entry<String,Double>> getVariables() {\r\n return Collections.unmodifiableMap(variables).entrySet();\r\n }",
"public Map<String,ASTNode> getVariableMap() {\n \tif (variableMap != null)\n \t\treturn variableMap;\n \treturn variableMap = new VariableMap(this);\n }",
"protected Map<String, Object> getSharedVariables(VitroRequest vreq) {\n \n Map<String, Object> map = new HashMap<String, Object>();\n \n Portal portal = vreq.getPortal();\n // Ideally, templates wouldn't need portal id. Currently used as a hidden input value\n // in the site search box, so needed for now.\n map.put(\"portalId\", portal.getPortalId());\n \n String siteName = portal.getAppName();\n map.put(\"siteName\", siteName);\n map.put(\"title\", getTitle(siteName));\n \n String themeDir = getThemeDir(portal);\n UrlBuilder urlBuilder = new UrlBuilder(portal);\n \n map.put(\"urls\", getUrls(themeDir, urlBuilder)); \n \n // This value will be available to any template as a path for adding a new stylesheet.\n // It does not contain the context path, because the methods to generate the href\n // attribute from the string passed in by the template automatically add the context path.\n map.put(\"themeStylesheetDir\", themeDir + \"/css\");\n \n map.put(\"stylesheets\", getStylesheetList(themeDir));\n map.put(\"scripts\", getScriptList(themeDir));\n \n addDirectives(map);\n \n return map;\n }",
"GlobalColors() {\n countMap = new ConcurrentHashMap<State, Integer>();\n redMap = new ConcurrentHashMap<State, Boolean>();\n hasResult = false;\n result = false;\n }",
"@Override\r\n\tpublic void initVariables() {\n\t\t\r\n\t}",
"private void clearLocals() {\n this.map = null;\n this.inputName = null;\n }",
"int getVarsCount();",
"public GlobalNode getGlobal() { return global; }",
"private static Store liftGlobals(ScriptNode script, Trace trace, Environment env, Store store) {\n\tSet<String> globals = GlobalVisitor.getGlobals(script);\n\tint i = -1000;\n\tfor (String global : globals) {\n\t Address address = trace.makeAddr(i, \"\");\n\t // Create a dummy variable declaration. This will not exist in the\n\t // output, because the value and variable initialization exists\n\t // outside the file.\n\t Name dummyVariable = new Name();\n\t env.strongUpdateNoCopy(global, Variable.inject(global, address, Change.bottom(),\n\t\t Dependencies.injectVariable(dummyVariable)));\n\t store = store.alloc(address,\n\t\t BValue.top(Change.u(), Dependencies.injectValue(dummyVariable)), dummyVariable);\n\t i--;\n\t}\n\n\treturn store;\n\n }",
"public List<LocalVariable> getLocalVariables() {\n\t\treturn localVariables;\n\t}",
"public GlobalVariable() {\n }",
"@Override\n\tpublic Set<Variable> getDefVariables() {\n\t\tSet<Variable> used = new HashSet<Variable>();\n\t\treturn used;\n\t}",
"@Override\r\n\tpublic String globalInfo() {\n\t\treturn null;\r\n\t}",
"void initGlobalAttributes() {\n\n\t}",
"void initGlobals(EvalContext context, HashMap globals)\n throws EvaluationException\n {\n if (predefined != null)\n predefined.initGlobals(context, globals);\n\n for (int g = 0, G = declarations.size(); g < G; g++)\n {\n if (declarations.get(g) instanceof ModuleImport) {\n ModuleImport mimport = (ModuleImport) declarations.get(g);\n ModuleContext module = mimport.imported;\n // recursive descent to imported modules.\n // CAUTION lock modules to avoid looping on circular imports\n // Hmmm well, circular imports are no more allowed anyway...\n if (globals.get(module) == null) { // not that beautiful but\n globals.put(module, module);\n module.initGlobals(context, globals);\n globals.remove(module);\n }\n }\n }\n \n // Globals added by API in context are not declared: do it first\n for (Iterator iter = globalMap.values().iterator(); iter.hasNext();) {\n GlobalVariable var = (GlobalVariable) iter.next();\n XQValue init = (XQValue) globals.get(var.name);\n \n if(init == null)\n continue;\n // unfortunately required:\n init = init.bornAgain();\n // check the type if any\n if(var.declaredType != null)\n init = init.checkTypeExpand(var.declaredType, context, \n false, true);\n context.setGlobal(var, init);\n }\n \n //\n for (int g = 0, G = declarations.size(); g < G; g++)\n {\n if (!(declarations.get(g) instanceof GlobalVariable))\n continue;\n GlobalVariable var = (GlobalVariable) declarations.get(g);\n XQType declaredType = var.declaredType;\n curInitVar = var;\n if (var.init != null) {\n XQValue v = var.init.eval(null, context);\n try { // expand with type checking\n v = v.checkTypeExpand(declaredType, context, false, true);\n if (v instanceof ErrorValue)\n context.error(Expression.ERRC_BADTYPE,\n var.init, \n ((ErrorValue) v).getReason());\n }\n catch (XQTypeException tex) {\n context.error(var, tex);\n }\n context.setGlobal(var, v);\n curInitVar = null;\n }\n\n QName gname = var.name;\n // is there a value specified externally? \n // use the full q-name of the variable\n // (possible issue if $local:v allowed in modules)\n Object initValue = globals.get(gname);\n XQValue init = null;\n if(initValue instanceof ResultSequence) {\n ResultSequence seq = (ResultSequence) initValue;\n init = seq.getValues();\n }\n else \n init = (XQValue) initValue;\n\n // glitch for compatibility: if $local:var, look for $var\n if (init == null && \n gname.getNamespaceURI() == NamespaceContext.LOCAL_NS) {\n QName redName = IQName.get((gname.getLocalPart()));\n init = (XQValue) globals.get(redName);\n }\n if (init == null) {\n // - System.err.println(\"no extern init for \"+global.name);\n continue;\n }\n init = init.bornAgain(); // in case several executions\n if (declaredType != null) {\n try { // here we can promote: it helps with string values\n init =\n init.checkTypeExpand(declaredType, context, true,\n true);\n if (init instanceof ErrorValue)\n context.error(Expression.ERRC_BADTYPE, var,\n ((ErrorValue) init).getReason());\n }\n catch (XQTypeException tex) {\n context.error(var, tex);\n }\n }\n context.setGlobal(var, init);\n }\n }",
"public JMeterVariables getVariables() {\n return variables;\n }",
"@Override\n\tpublic String getEnvironmentVars() {\n\t\treturn model.getEnvironmentVars();\n\t}",
"private GlobalPrefs() {\n\t\tprops = new Properties();\n\t}",
"@Override\n\tpublic String globalInfo() {\n\t\treturn null;\n\t}",
"T get(GlobalVariableMap globalVariableMap);",
"public void switchToGlobalContext(){\n currentConstants = null;\n currentVariables = null;\n\n temporaryConstants = null;\n temporaryVariables = null;\n }",
"public MapMarkerUtilities getMapUtilities() {\n\t\treturn utilities;\n\t}",
"public synchronized Map<String, String> getEnvironment() throws Fault {\n if (env == null) {\n // reconstitute environment\n // this may result in a Fault, which is okay\n reload();\n }\n return PropertyArray.getProperties(env);\n }",
"private void initMaps()\r\n\t{\r\n\t\tenergiesForCurrentKOppParity = new LinkedHashMap<Integer, Double>();\r\n\t\tinputBranchWithJ = new LinkedHashMap<Integer, Double>();\r\n\t\tassociatedR = new LinkedHashMap<Integer, Double>();\r\n\t\tassociatedP = new LinkedHashMap<Integer, Double>();\r\n\t\tassociatedQ = new LinkedHashMap<Integer, Double>();\r\n\t\ttriangularP = new LinkedHashMap<Integer, Double>();\r\n\t\ttriangularQ = new LinkedHashMap<Integer, Double>();\r\n\t\ttriangularR = new LinkedHashMap<Integer, Double>();\r\n\t\tupperEnergyValuesWithJ = new LinkedHashMap<Integer, Double>();\r\n\t}",
"private static void initializeMaps()\n\t{\n\t\taddedPoints = new HashMap<String,String[][][]>();\n\t\tpopulatedList = new HashMap<String,Boolean>();\n\t\tloadedAndGenerated = new HashMap<String,Boolean>();\n\t}",
"public void setGlobalVariables(GlobalVariables globalVariables) {\n this.globalVariables = globalVariables;\n }",
"@Override\n public Map<String, XPathValue> getGlobalMetaMap() {\n return null;\n }",
"public java.lang.String getGlobalVariableValue() {\r\n return globalVariableValue;\r\n }",
"public DataNode locals() {\n return locals;\n }",
"public static List<VariableDeclaration> getBindingManagementVars()\n {\n return FrameworkDefs.bindingManagementVars; \n }",
"public VariableConstantPool getVariableConstantPool(){\n\t\treturn variableConstantPool;\n\t}",
"private void initVariables(){\n int counter = 1;\n for (int vCount = 0; vCount < vertexCount; vCount++){\n for (int pCount = 0; pCount < positionCount; pCount++){\n variables[vCount][pCount] = counter++;\n }\n }\n }",
"private Globals() {\n\t\treadyToSend=false;\n\t}",
"public IntToIntMap getStaticMap() {\n return staticMap;\n }",
"public List allVariables() {\r\n\t\tArrayList vars = new ArrayList();\r\n\t\tfor (int i = 0; i < elements.size(); ++i) {\r\n\t\t\tObject ob = elements.get(i);\r\n\t\t\tif (ob instanceof Variable) {\r\n\t\t\t\tvars.add(ob);\r\n\t\t\t} else if (ob instanceof FunctionDef) {\r\n\t\t\t\tExpression[] params = ((FunctionDef) ob).getParameters();\r\n\t\t\t\tfor (int n = 0; n < params.length; ++n) {\r\n\t\t\t\t\tvars.addAll(params[n].allVariables());\r\n\t\t\t\t}\r\n\t\t\t} else if (ob instanceof TObject) {\r\n\t\t\t\tTObject tob = (TObject) ob;\r\n\t\t\t\tif (tob.getTType() instanceof TArrayType) {\r\n\t\t\t\t\tExpression[] exp_list = (Expression[]) tob.getObject();\r\n\t\t\t\t\tfor (int n = 0; n < exp_list.length; ++n) {\r\n\t\t\t\t\t\tvars.addAll(exp_list[n].allVariables());\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn vars;\r\n\t}",
"public LocalDebugInfo[] locals();",
"@JsonProperty(\"global\")\n\t@DsonOutput(Output.API)\n\tMap<String, Object> getJsonGlobal() {\n\t\treturn mapOf(\n\t\t\t\"stored\", SystemMetaData.getInstance().get(\"ledger.network.stored\", 0),\n\t\t\t\"processing\", SystemMetaData.getInstance().get(\"ledger.network.processing\", 0),\n\t\t\t\"storing\", SystemMetaData.getInstance().get(\"ledger.network.storing\", 0)\n\t\t);\n\t}",
"private void LoadCoreValues()\n\t{\n\t\tString[] reservedWords = \t{\"program\",\"begin\",\"end\",\"int\",\"if\",\"then\",\"else\",\"while\",\"loop\",\"read\",\"write\"};\n\t\tString[] specialSymbols = {\";\",\",\",\"=\",\"!\",\"[\",\"]\",\"&&\",\"||\",\"(\",\")\",\"+\",\"-\",\"*\",\"!=\",\"==\",\"<\",\">\",\"<=\",\">=\"};\n\t\t\n\t\t//Assign mapping starting at a value of 1 for reserved words\n\t\tfor (int i=0;i<reservedWords.length;i++)\n\t\t{\n\t\t\tcore.put(reservedWords[i], i+1);\n\t\t}\n\t\t//Assign mapping for special symbols\n\t\tfor (int i=0; i<specialSymbols.length; i++)\n\t\t{\t\n\t\t\tcore.put(specialSymbols[i], reservedWords.length + i+1 );\n\t\t}\n\t}",
"public Object[] getGlobalResourceList() {\n return this.getList(AbstractGIS.INQUIRY_GLOBAL_RESOURCE_LIST);\n }",
"@Override\n public List<String> getVariables() {\n return super.getVariables();\n }",
"private void getObjects() {\n\t\tmeteors = go.getMeteors();\n\t\texplosions = go.getExplosions();\n\t\ttargets = go.getTargets();\n\t\tcrosses = go.getCrosses();\n\t\trockets = go.getRockets();\n\t\tearth = go.getEarth();\n\t}",
"public Map<String, String> environmentVariables() {\n return this.environmentVariables;\n }",
"int realnVars();",
"public static void setGlobalsToDefaults(){\r\n\t\tGlobals.globalvars.put(\"gamestage\", \"none\");\r\n\t\tGlobals.globalvars.put(\"cleft\", 0);\r\n\t\t\r\n\t\tInteger[] prematch = {64, 20};\r\n \tGlobals.cdpresets.put(\"pregame\", prematch);\r\n \tInteger[] getready = {5, 1200};\r\n \tGlobals.cdpresets.put(\"prepare\", getready);\r\n \tInteger[] battle = {10, 1200};\r\n \tGlobals.cdpresets.put(\"fight\", battle);\r\n \t\r\n \tGlobals.countdowns.clear();\r\n \tGlobals.lobby.clear();\r\n\t}",
"public boolean isGlobal() {\n return true;\n }",
"public Map<Integer, Integer> getLocalCache() {\n return localCache;\n }",
"public Map<String, ?> getAll() {\r\n SharedPreferences sharedPreferences = ctx.getSharedPreferences(SHARED_PREF_NAME, Context.MODE_PRIVATE);\r\n return sharedPreferences.getAll();\r\n }",
"public boolean isGlobal();",
"public Vector freeVars() {\r\n\t\tVector v = new Vector(2, 2);\r\n\t\tVector temp = ((SimpleNode) jjtGetChild(0)).freeVars();\r\n\t\ttemp.remove(\"\");\r\n\t\tVector temp2 = ((SimpleNode) jjtGetChild(1)).freeVars();\r\n\t\ttemp2.remove(\"\");\r\n\t\tfor (Object obj : temp2) {\r\n\t\t\tif (!temp.contains(obj)) {\r\n\t\t\t\tv.add(obj);\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn v;\r\n\t}",
"public Set<Object> getVariables() {\n return new HashSet<>(constraints.keySet());\n }",
"public void resetLocals()\n {\n maxLocalSize = 0;\n localCnt = localIntCnt = localDoubleCnt = localStringCnt = localItemCnt = 0;\n locals = lastLocal = new LocalVariable(null, null, null);\n }",
"public List<Identifier> getLocals(Function f){\n Map<String, Integer> variableScope = localVariableScopes.get(f);\n \n List<Identifier> locals = variableScope\n .keySet()\n .stream()\n .map(x -> new Identifier(Scope.LOCAL, Type.VARIABLE, x, variableScope.get(x).toString()))\n .collect(Collectors.toList());\n\n return locals;\n }",
"public interface GlobalNode extends Node{\n\n VariableName[] getVariableNames();\n\n}",
"public abstract Map<String, String> getEnvironment(NIOWorker nw);",
"@Override\n\tpublic ServerServices duplexstreamGlobalVarsInit() throws Exception {\n\t\treturn null;\n\t}"
]
| [
"0.73998785",
"0.69546324",
"0.66208345",
"0.63537395",
"0.6346128",
"0.6329242",
"0.63058215",
"0.62983716",
"0.6194277",
"0.6139998",
"0.6031856",
"0.59466773",
"0.5914047",
"0.58755565",
"0.5841207",
"0.5833897",
"0.5802061",
"0.57544416",
"0.575437",
"0.5740324",
"0.5697285",
"0.56878936",
"0.566645",
"0.56466174",
"0.56287664",
"0.5615463",
"0.5612043",
"0.559537",
"0.55808586",
"0.55808586",
"0.5554867",
"0.55540305",
"0.55471104",
"0.5538799",
"0.5536979",
"0.5520092",
"0.5504042",
"0.5504042",
"0.5504042",
"0.5504042",
"0.54878336",
"0.5469193",
"0.5465615",
"0.5459887",
"0.54231834",
"0.5409577",
"0.5401486",
"0.5390063",
"0.5388993",
"0.53853494",
"0.5377044",
"0.5376136",
"0.5376097",
"0.53619504",
"0.5352162",
"0.5350404",
"0.5337895",
"0.53225976",
"0.53164816",
"0.5288169",
"0.528328",
"0.52750283",
"0.5269042",
"0.5266304",
"0.52620023",
"0.52616537",
"0.52360463",
"0.52308404",
"0.5227854",
"0.5212569",
"0.5210164",
"0.51962006",
"0.51959336",
"0.51685554",
"0.5163623",
"0.5159004",
"0.5126965",
"0.5117882",
"0.51145846",
"0.5114517",
"0.5094048",
"0.50857973",
"0.50575334",
"0.5046032",
"0.5042575",
"0.50372577",
"0.50369513",
"0.50252414",
"0.5021743",
"0.50190026",
"0.50124323",
"0.500684",
"0.50043",
"0.50018674",
"0.4997682",
"0.4987785",
"0.4986692",
"0.49847496",
"0.49792284",
"0.49747002",
"0.4973552"
]
| 0.0 | -1 |
Sets the global variables that are accessible in the map, reduce and finalize functions. | public MapReduceToCollectionOperation scope(final BsonDocument scope) {
this.scope = scope;
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setGlobalVariables(GlobalVariables globalVariables);",
"protected void initVars() {}",
"@Override\r\n\tpublic void initVariables() {\n\t\t\r\n\t}",
"public void setGlobalVariables(GlobalVariables globalVariables) {\n this.globalVariables = globalVariables;\n }",
"private void initInstanceVars() {\n\t\tglobalSymTab = new Hashtable<String,ClassDecl>();\n\t\tcurrentClass = null;\n\t}",
"private void initializeGlobalVariables()\n\t{\n\t\t_continue = (Button) findViewById(R.id.es_continue);\n\t\t\n\t\t_points = (CheckBox) findViewById(R.id.es_points);\n\t\t_score = (CheckBox) findViewById(R.id.es_score);\n\t}",
"public void switchToGlobalContext(){\n currentConstants = null;\n currentVariables = null;\n\n temporaryConstants = null;\n temporaryVariables = null;\n }",
"public static void setGlobalsToDefaults(){\r\n\t\tGlobals.globalvars.put(\"gamestage\", \"none\");\r\n\t\tGlobals.globalvars.put(\"cleft\", 0);\r\n\t\t\r\n\t\tInteger[] prematch = {64, 20};\r\n \tGlobals.cdpresets.put(\"pregame\", prematch);\r\n \tInteger[] getready = {5, 1200};\r\n \tGlobals.cdpresets.put(\"prepare\", getready);\r\n \tInteger[] battle = {10, 1200};\r\n \tGlobals.cdpresets.put(\"fight\", battle);\r\n \t\r\n \tGlobals.countdowns.clear();\r\n \tGlobals.lobby.clear();\r\n\t}",
"private void init() {\n\t\t\n\t\ttry{\t\t\t\n\t\t\tinfos = new HashMap<String, VariableInfo>();\n\t\t\t\n\t\t\tfor(String var : this.problem.getMyVars()){\n\t\t\t\t\n\t\t\t\tif(this.problem.getNbrNeighbors(var) != 0){ // an isolated variable doesn't need a CryptoScheme and therefore no VariableInfo either\n\t\t\t\t\t\n\t\t\t\t\tVariableInfo info = new VariableInfo(var);\n\t\t\t\t\tinfos.put(var, info);\n\t\t\t\t\t\n\t\t\t\t\tinfo.cs = cryptoConstr.newInstance(this.cryptoParameter);\t\t\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\t//initialize request counter for my own variables\n\t\t\trequestCount = new HashMap<String,Integer>(); \n\t\t\tfor(String var : this.problem.getMyVars()){\n\t\t\t\trequestCount.put(var, 0);\n\t\t\t}\n\t\t\t\n\t\t\tthis.started = true;\t\n\t\t\t\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\t\t\n\t}",
"private static void initializeMaps()\n\t{\n\t\taddedPoints = new HashMap<String,String[][][]>();\n\t\tpopulatedList = new HashMap<String,Boolean>();\n\t\tloadedAndGenerated = new HashMap<String,Boolean>();\n\t}",
"public GlobalState() {\r\n\t\t//initialize ITANet location vector\r\n\t\tint ITACount = Model.getITACount();\r\n\t\tthis.locVec = new int[ITACount];\r\n\t\tfor (int i = 0; i < ITACount; i++){\r\n\t\t\tthis.locVec[i] = Model.getITAAt(i).getInitLoc();\r\n\t\t}\r\n\r\n\t\t//initialize interruption vector\r\n\t\tint interCount = Model.getInterCount();\r\n\t\tthis.interVec = new boolean[interCount];\r\n\t\tfor(int i = 0; i < interCount; i++){\r\n\t\t\tthis.interVec[i] = false;\r\n\t\t}\r\n\t\t\r\n\t\tthis.cvMap = Model.getCVMap(); //share 'cvMap' with Model\r\n\t\tthis.srArray = Model.getSRArray();\t//share 'srArray' with Model \r\n\t\tthis.stack = new CPUStack();\r\n\t\tthis.switches = new IRQSwitch();\r\n\t}",
"private void setup()\n\t{\n\t\tif(values == null)\n\t\t\tvalues = new HashMap<>();\n\t\telse\n\t\t\tvalues.clear();\n\t}",
"void initGlobalAttributes() {\n\n\t}",
"private void initMaps()\r\n\t{\r\n\t\tenergiesForCurrentKOppParity = new LinkedHashMap<Integer, Double>();\r\n\t\tinputBranchWithJ = new LinkedHashMap<Integer, Double>();\r\n\t\tassociatedR = new LinkedHashMap<Integer, Double>();\r\n\t\tassociatedP = new LinkedHashMap<Integer, Double>();\r\n\t\tassociatedQ = new LinkedHashMap<Integer, Double>();\r\n\t\ttriangularP = new LinkedHashMap<Integer, Double>();\r\n\t\ttriangularQ = new LinkedHashMap<Integer, Double>();\r\n\t\ttriangularR = new LinkedHashMap<Integer, Double>();\r\n\t\tupperEnergyValuesWithJ = new LinkedHashMap<Integer, Double>();\r\n\t}",
"private void updateVars()\n {\n\n }",
"private void setUp() {\r\n\tvariables = new Vector();\r\n\tstatements = new Vector();\r\n\tconstraints = new Vector();\r\n\tvariableGenerator = new SimpleVariableGenerator(\"v_\");\r\n }",
"private void clearLocals() {\n this.map = null;\n this.inputName = null;\n }",
"public static void initialize() {\r\n\t\tgraph = null;\r\n\t\tmseeObjectNames = new HashMap<String, String>();\r\n\t\tmseeEventTypes = new HashMap<String, String>();\r\n\t\tmodifiedIdentifiers = new HashMap<String, String>();\r\n\t}",
"private void init() {\n UNIGRAM = new HashMap<>();\n }",
"public static void cleanseInits() {\n delayDuration = null;\n timerFrequency = null;\n numProcessorThreads = null;\n maxProcessorTasks = null;\n }",
"private Globals() {\n\n\t}",
"private Globals(){}",
"private static void Initialize()\n\t{\n\t\tcurrentPC = 3996;\n\t\tcurrentFilePointer = 0;\n\t\tmemoryBlocks = new int[4000];\n\t\tregisterFile = new HashMap<String, Integer>();\n\t\tstages = new HashMap<String, Instruction>();\n\t\tlatches = new HashMap<String, Instruction>();\n\t\tspecialRegister = 0;\n\t\tisComplete = false;\n\t\tisValidSource = true;\n\t\tSystem.out.println(\"-----Initialization Completed------\");\n\t}",
"private Globals(){\n store = null;\n service = null;\n filters = new EmailFilters();\n\n //notification types:\n keywordsNotification = 1;\n flagNotification = 0;\n }",
"private void init() {\r\n\tlocals = new float[maxpoints * 3];\r\n\ti = new float[] {1, 0, 0};\r\n\tj = new float[] {0, 1, 0};\r\n\tk = new float[] {0, 0, 1};\r\n\ti_ = new float[] {1, 0, 0};\r\n\tk_ = new float[] {0, 0, 1};\r\n }",
"public void setUp()\n {\n map = new Map(5, 5, null);\n }",
"@Override\n\tpublic ServerServices upstreamGlobalVarsInit() throws Exception {\n\t\treturn null;\n\t}",
"private Map<String, Object> collectGlobals() {\n ImmutableMap.Builder<String, Object> envBuilder = ImmutableMap.builder();\n MethodLibrary.addBindingsToBuilder(envBuilder);\n Runtime.addConstantsToBuilder(envBuilder);\n return envBuilder.build();\n }",
"void initGlobals(EvalContext context, HashMap globals)\n throws EvaluationException\n {\n if (predefined != null)\n predefined.initGlobals(context, globals);\n\n for (int g = 0, G = declarations.size(); g < G; g++)\n {\n if (declarations.get(g) instanceof ModuleImport) {\n ModuleImport mimport = (ModuleImport) declarations.get(g);\n ModuleContext module = mimport.imported;\n // recursive descent to imported modules.\n // CAUTION lock modules to avoid looping on circular imports\n // Hmmm well, circular imports are no more allowed anyway...\n if (globals.get(module) == null) { // not that beautiful but\n globals.put(module, module);\n module.initGlobals(context, globals);\n globals.remove(module);\n }\n }\n }\n \n // Globals added by API in context are not declared: do it first\n for (Iterator iter = globalMap.values().iterator(); iter.hasNext();) {\n GlobalVariable var = (GlobalVariable) iter.next();\n XQValue init = (XQValue) globals.get(var.name);\n \n if(init == null)\n continue;\n // unfortunately required:\n init = init.bornAgain();\n // check the type if any\n if(var.declaredType != null)\n init = init.checkTypeExpand(var.declaredType, context, \n false, true);\n context.setGlobal(var, init);\n }\n \n //\n for (int g = 0, G = declarations.size(); g < G; g++)\n {\n if (!(declarations.get(g) instanceof GlobalVariable))\n continue;\n GlobalVariable var = (GlobalVariable) declarations.get(g);\n XQType declaredType = var.declaredType;\n curInitVar = var;\n if (var.init != null) {\n XQValue v = var.init.eval(null, context);\n try { // expand with type checking\n v = v.checkTypeExpand(declaredType, context, false, true);\n if (v instanceof ErrorValue)\n context.error(Expression.ERRC_BADTYPE,\n var.init, \n ((ErrorValue) v).getReason());\n }\n catch (XQTypeException tex) {\n context.error(var, tex);\n }\n context.setGlobal(var, v);\n curInitVar = null;\n }\n\n QName gname = var.name;\n // is there a value specified externally? \n // use the full q-name of the variable\n // (possible issue if $local:v allowed in modules)\n Object initValue = globals.get(gname);\n XQValue init = null;\n if(initValue instanceof ResultSequence) {\n ResultSequence seq = (ResultSequence) initValue;\n init = seq.getValues();\n }\n else \n init = (XQValue) initValue;\n\n // glitch for compatibility: if $local:var, look for $var\n if (init == null && \n gname.getNamespaceURI() == NamespaceContext.LOCAL_NS) {\n QName redName = IQName.get((gname.getLocalPart()));\n init = (XQValue) globals.get(redName);\n }\n if (init == null) {\n // - System.err.println(\"no extern init for \"+global.name);\n continue;\n }\n init = init.bornAgain(); // in case several executions\n if (declaredType != null) {\n try { // here we can promote: it helps with string values\n init =\n init.checkTypeExpand(declaredType, context, true,\n true);\n if (init instanceof ErrorValue)\n context.error(Expression.ERRC_BADTYPE, var,\n ((ErrorValue) init).getReason());\n }\n catch (XQTypeException tex) {\n context.error(var, tex);\n }\n }\n context.setGlobal(var, init);\n }\n }",
"GlobalColors() {\n countMap = new ConcurrentHashMap<State, Integer>();\n redMap = new ConcurrentHashMap<State, Boolean>();\n hasResult = false;\n result = false;\n }",
"private void initialize() {\n this.traitMap = new HashMap<T, ITrait<T>>();\n this.traitList = new ArrayList<ITrait<T>>();\n this.observers = Collections.synchronizedList(new ArrayList<IStatisticsObserver>());\n this.dimensionName = \"UNNAMED\";\n\n }",
"public void init() {\n\t\t\n\t\t\n\t\tprepareGaborFilterBankConcurrent();\n\t\t\n\t\tprepareGaborFilterBankConcurrentEnergy();\n\t}",
"protected void initialize() {\n // Attribute Load\n this.attributeMap.clear();\n this.attributeMap.putAll(this.loadAttribute());\n // RuleUnique Load\n this.unique = this.loadRule();\n // Marker Load\n this.marker = this.loadMarker();\n // Reference Load\n this.reference = this.loadReference();\n }",
"public ScopeManager(){\n globalConstants = new HashMap<>();\n globalVariables = new HashMap<>();\n\n currentConstants = null;\n currentVariables = null;\n\n temporaryConstants = new ArrayList<>();\n temporaryVariables = new ArrayList<>();\n\n localVariableScopes = new HashMap<>();\n localConstantScopes = new HashMap<>();\n }",
"protected void initVars() {\n prefFile = \"./server.ini\";\n mimeFile = \"./mime.ini\";\n }",
"void init() {\n\t\tinitTypes();\n\t\tinitGlobalFunctions();\n\t\tinitFunctions();\n\t\tinitClasses();\n\t}",
"protected void initialize() {\n this.locals = Common.calculateSegmentSize(Common.NUM_CORES);\n this.drvrs = Common.calculateSegmentSize(Common.NUM_CORES);\n reports = new ArrayList<>();\n }",
"public void populateGlobalHotspots() {\n\t\tnew Thread(new Runnable(){\n\n\t\t\t@Override\n\t\t\tpublic void run() {\n\t\t\t\tairlineData = DataLookup.airlineStats();\n\t\t\t\tairportData = DataLookup.airportStats();\n\t\t\t\tmHandler.post(new Runnable(){\n\n\t\t\t\t\t@Override\n\t\t\t\t\tpublic void run() {\n\t\t\t\t\t\tsetHotspotListData();\n\t\t\t\t\t}});\n\t\t\t}}).start();\n\t}",
"private void init() {\n cloudAmount = null;\n cloudGenus = null;\n cloudAltitude = null;\n cloudDescription = null;\n }",
"private void initVars(){\n this.sOut = new StringBuilder();\n this.curPos = this.frameCount = 0;\n this.heldKeys = new int[257];\n this.showCursor = false;\n this.fontId = DAGGER40;\n Arrays.fill(this.heldKeys,-1);\n }",
"public void populateUtilities(){\n\t\tMainScreen.groups = getGroups();\t//Populate Groups\n\t\tMainScreen.umArray = getUMs();\t\t//Populate Units of Measurement (UMs)\n\t\tMainScreen.locations = new WarehouseLocations();\t//Populate the Locations\n\t\tMainScreen.codeIndexTree = new IndexBTree();\n\t\tMainScreen.nameIndexTree = new IndexBTree();\n\t\tpopulateBinaryTrees();\n\t}",
"private final void setupLocal() {\n _topLocal = true;\n // Check for global vs local work\n if( _nlo >= 0 && _nlo < _nhi-1 ) { // Have global work?\n // Note: some top-level calls have no other global work, so\n // \"topLocal==true\" does not imply \"nlo < nhi-1\".\n int selfidx = H2O.SELF.index();\n if( _nlo < selfidx ) _nleft = remote_compute(_nlo, selfidx );\n if( selfidx+1 < _nhi ) _nrite = remote_compute(selfidx+1,_nhi);\n }\n _lo = 0; _hi = _fr.firstReadable().nChunks(); // Do All Chunks\n // If we have any output vectors, make a blockable Futures for them to\n // block on.\n if( _fr.hasAppendables() )\n _fs = new Futures();\n init(); // Setup any user's shared local structures\n }",
"public void init() {\n // These data structures are initialized here because other\n // module's startUp() might be called before ours\n this.systemStartTime = System.currentTimeMillis();\n }",
"public void resetLocals()\n {\n maxLocalSize = 0;\n localCnt = localIntCnt = localDoubleCnt = localStringCnt = localItemCnt = 0;\n locals = lastLocal = new LocalVariable(null, null, null);\n }",
"private void initiliaze() {\r\n\t\tthis.inputFile = cd.getInputFile();\r\n\t\tthis.flowcell = cd.getFlowcell();\r\n\t\tthis.totalNumberOfTicks = cd.getOptions().getTotalNumberOfTicks();\r\n\t\tthis.outputFile = cd.getOutputFile();\r\n\t\tthis.statistics = cd.getStatistic();\r\n\t}",
"private static synchronized void init() {\n if (CONFIG_VALUES != null) {\n return;\n }\n\n CONFIG_VALUES = new Properties();\n processLocalConfig();\n processIncludedConfig();\n }",
"private void init() {\n clearCaches();\n }",
"public static void resetGlobals(int numTasks){\n time = 0;\n terminatedCount = 0;\n removeSet.clear();\n resourceArr = maxResourceArr.clone();\n releaseArr = new int [numResources];\n taskPointers = new int [numTasks];\n taskList = bankersTaskList;\n waitingList.clear();\n\n }",
"private GlobalPrefs() {\n\t\tprops = new Properties();\n\t}",
"private void initSharedPre() {\n\t}",
"private void initVariables(){\n int counter = 1;\n for (int vCount = 0; vCount < vertexCount; vCount++){\n for (int pCount = 0; pCount < positionCount; pCount++){\n variables[vCount][pCount] = counter++;\n }\n }\n }",
"void reset(){\n if (vars!=null){\n vars.clear();\n }\n if (gVars!=null){\n gVars.clear();\n }\n }",
"void addingGlobalData() {\n\n }",
"public void init()\n {\n this.tripDict = new HashMap<String, Set<Trip>>();\n this.routeDict = new HashMap<String, Double>();\n this.tripList = new LinkedList<Trip>();\n this.computeAllPaths();\n this.generateDictionaries();\n }",
"void executionOver() {\n this.reporter = null;\n this.options = null;\n this.executorEngine = null;\n this.progressSuppressingEventHandler = null;\n this.outputService = null;\n this.buildActionMap = null;\n this.completedAndResetActions = null;\n this.lostDiscoveredInputsMap = null;\n this.actionCacheChecker = null;\n this.outputDirectoryHelper = null;\n }",
"private Globals() {\n\t\treadyToSend=false;\n\t}",
"private void generateMaps() {\r\n\t\tthis.tablesLocksMap = new LinkedHashMap<>();\r\n\t\tthis.blocksLocksMap = new LinkedHashMap<>();\r\n\t\tthis.rowsLocksMap = new LinkedHashMap<>();\r\n\t\tthis.waitMap = new LinkedHashMap<>();\r\n\t}",
"public void initializeScoringVariables(){\n\t\tgame.setMovement(moveDistance);\n\t\tgame.setRight(correctGuess);\n\t\tgame.setWrong(incorrectGuesses);\n\t\tgame.setTime(duration(startTime,endTime));\n\t}",
"void initial()\n\t{\n\t\tint i;\n\t\tfor(i=0;i<FoodNumber;i++)\n\t\t{\n\t\tinit(i);\n\t\t}\n\t\tGlobalMin=f[0];\n\t for(i=0;i<D;i++)\n\t GlobalParams[i]=Foods[0][i];\n\n\n\t}",
"private void initialize() {\n\t\tfor(String key: count_e_f.keySet()){\n\t\t\tcount_e_f.put(key, 0.0);\n\t\t}\n\t\t\n\t\tfor(Integer key: total_f.keySet()){\n\t\t\ttotal_f.put(key, 0.0);\n\t\t}\n\t\t\n\t\t//This code is not efficient.\n//\t\tfor(Entry<String, Integer> german : mainIBM.gerWordsIdx.entrySet()){\n//\t\t\tfor(Entry<String, Integer> english : mainIBM.engWordsIdx.entrySet()){\n//\t\t\t\tcount_e_f.put(english.getValue() + \"-\" + german.getValue(), 0.0);\n//\t\t\t}\n//\t\t\ttotal_f.put(german.getValue(), 0.0);\n//\t\t}\t\n\n\t}",
"protected void InitValuables() {\n\t\tsuper.InitValuables();\n\t\t\n\t}",
"public void initialize() {\n\n // Calculate the average unit price.\n calculateAvgUnitPrice() ;\n\n // Calculate the realized profit/loss for this stock\n calculateRealizedProfit() ;\n\n this.itdValueCache = ScripITDValueCache.getInstance() ;\n this.eodValueCache = ScripEODValueCache.getInstance() ;\n }",
"public void initialise() \n\t{\n\t\tthis.docids = scoresMap.keys();\n\t\tthis.scores = scoresMap.getValues();\n\t\tthis.occurrences = occurrencesMap.getValues();\t\t\n\t\tresultSize = this.docids.length;\n\t\texactResultSize = this.docids.length;\n\n\t\tscoresMap.clear();\n\t\toccurrencesMap.clear();\n\t\tthis.arraysInitialised = true;\n\t}",
"private static void init() {\n\t\tLogger.setPrinting(true);\n\n\t\tdouble gb = 1024 * 1024 * 1024;\n\t\tlog(\"Make sure that your memory limit is increased, using at least 8GB is recommended to process the KaVE datasets... (-Xmx8G)\");\n\t\tlog(\"Current max. memory: %.1f GB\", Runtime.getRuntime().maxMemory() / gb);\n\n\t\tJsonUtilsCcKaveRsseCalls.registerJsonAdapters();\n\t}",
"private void init() {\n filmCollection = new FilmCollection();\n cameraCollection = new CameraCollection();\n }",
"public void mergeGlobal() {\n if (global == null) return;\n // merge global nodes.\n Set set = Collections.singleton(GlobalNode.GLOBAL);\n global.replaceBy(set, true);\n nodes.remove(global);\n unifyAccessPaths(new LinkedHashSet(set));\n if (VERIFY_ASSERTIONS) {\n verifyNoReferences(global);\n }\n global = null;\n }",
"private void initializeAll() {\n initialize(rows);\n initialize(columns);\n initialize(boxes);\n }",
"private void setVariables(Context context){\n this.context = context != null ? context : getContext();\n mwifiAdmin = new WifiAdmin(this.context);\n }",
"public void fixupVariables(List<QName> vars, int globalsSize)\n {\n // no-op\n }",
"public void baiscSetting(){\n generations_ = 0;\n maxGenerations_ = ((Integer) this.getInputParameter(\"maxGenerations\")).intValue();\n populationSize_ = ((Integer) this.getInputParameter(\"populationSize\")).intValue();\n mutation_ = operators_.get(\"mutation\");\n crossover_ = operators_.get(\"crossover\");\n selection_ = operators_.get(\"selection\");\n learning_ = operators_.get(\"learning\");\n\n }",
"private Globals() {}",
"private void ensureInitialized() {\n if (mIncludes == null) {\n // Initialize\n if (!readSettings()) {\n // Couldn't read settings: probably the first time this code is running\n // so there is no known data about includes.\n\n // Yes, these should be multimaps! If we start using Guava replace\n // these with multimaps.\n mIncludes = new HashMap<String, List<String>>();\n mIncludedBy = new HashMap<String, List<String>>();\n\n scanProject();\n saveSettings();\n }\n }\n }",
"private static Store liftGlobals(ScriptNode script, Trace trace, Environment env, Store store) {\n\tSet<String> globals = GlobalVisitor.getGlobals(script);\n\tint i = -1000;\n\tfor (String global : globals) {\n\t Address address = trace.makeAddr(i, \"\");\n\t // Create a dummy variable declaration. This will not exist in the\n\t // output, because the value and variable initialization exists\n\t // outside the file.\n\t Name dummyVariable = new Name();\n\t env.strongUpdateNoCopy(global, Variable.inject(global, address, Change.bottom(),\n\t\t Dependencies.injectVariable(dummyVariable)));\n\t store = store.alloc(address,\n\t\t BValue.top(Change.u(), Dependencies.injectValue(dummyVariable)), dummyVariable);\n\t i--;\n\t}\n\n\treturn store;\n\n }",
"public void initRegisters() {\n\tProcessor processor = Machine.processor();\n\n\t// by default, everything's 0\n\tfor (int i=0; i<processor.numUserRegisters; i++)\n\t processor.writeRegister(i, 0);\n\n\t// initialize PC and SP according\n\tprocessor.writeRegister(Processor.regPC, initialPC);\n\tprocessor.writeRegister(Processor.regSP, initialSP);\n\n\t// initialize the first two argument registers to argc and argv\n\tprocessor.writeRegister(Processor.regA0, argc);\n\tprocessor.writeRegister(Processor.regA1, argv);\n }",
"@Override\n public void initialize() {\n int numReduceTasks = conf.getNumReduceTasks();\n String jobID = taskAttemptID.getJobID();\n File mapOutputFolder = new File(\"mapoutput\");\n if (!mapOutputFolder.exists()) {\n mapOutputFolder.mkdir();\n }\n for (int reduceID = 0; reduceID < numReduceTasks; reduceID++) {\n outputFiles.add(\"mapoutput/\" + jobID + \"_r-\" + reduceID + \"_\" + this.partition);\n }\n }",
"private void inicializareVariablesManejoHilos() {\n\t\tmanejadorHilos = Executors.newFixedThreadPool(LONGITUD_COLA);\n\t\tbloqueoJuego = new ReentrantLock();\n\t\tesperarInicio = bloqueoJuego.newCondition();\n\t\tesperarTurno = bloqueoJuego.newCondition();\n\t\tfinalizar = bloqueoJuego.newCondition();\n\t\tjugadores = new Jugador[LONGITUD_COLA];\n\t}",
"private void LoadCoreValues()\n\t{\n\t\tString[] reservedWords = \t{\"program\",\"begin\",\"end\",\"int\",\"if\",\"then\",\"else\",\"while\",\"loop\",\"read\",\"write\"};\n\t\tString[] specialSymbols = {\";\",\",\",\"=\",\"!\",\"[\",\"]\",\"&&\",\"||\",\"(\",\")\",\"+\",\"-\",\"*\",\"!=\",\"==\",\"<\",\">\",\"<=\",\">=\"};\n\t\t\n\t\t//Assign mapping starting at a value of 1 for reserved words\n\t\tfor (int i=0;i<reservedWords.length;i++)\n\t\t{\n\t\t\tcore.put(reservedWords[i], i+1);\n\t\t}\n\t\t//Assign mapping for special symbols\n\t\tfor (int i=0; i<specialSymbols.length; i++)\n\t\t{\t\n\t\t\tcore.put(specialSymbols[i], reservedWords.length + i+1 );\n\t\t}\n\t}",
"public void initEvaluatorMap() {\n putObject(CoreConstants.EVALUATOR_MAP, new HashMap());\n }",
"private void initialize()\r\n {\r\n this.workspace = null;\r\n this.currentUser = null;\r\n this.created = new Date();\r\n this.securityInfo = null;\r\n }",
"private void initializeVariables() {\n\t\tseekBar = (SeekBar) findViewById(R.id.seekBar1);\n\t\ttextView = (TextView) findViewById(R.id.finishText);\n\t\tspinner = (Spinner) findViewById(R.id.algorithm);\n\t\tsetSeekBarListener();\n\t\taddListenerOnAlgorithmSelection();\n\t}",
"protected void initialise() {\r\n loadDefaultConfig();\r\n loadCustomConfig();\r\n loadSystemConfig();\r\n if (LOG.isDebugEnabled()) {\r\n LOG.debug(\"--- Scope properties ---\");\r\n for (Iterator i = properties.keySet().iterator(); i.hasNext(); ) {\r\n String key = (String) i.next();\r\n Object value = properties.get(key);\r\n LOG.debug(key + \" = \" + value);\r\n }\r\n LOG.debug(\"------------------------\");\r\n }\r\n }",
"private void initialize() {\n\t\troot = new Group();\n\t\tgetProperties();\n\t\tsetScene();\n\t\tsetStage();\n\t\tsetGUIComponents();\n\t}",
"protected void initialize() {\r\n x = 0;\r\n y = 0;\r\n driveTrain.reInit();\r\n }",
"public void enterScope() {\n\t\tmap.add(new HashMap<K, V>());\n\t}",
"public void setVars() {\n\t\tif (jEdit.getPlugin(\"console.ConsolePlugin\") != null) {\n\t\t\tconsole.ConsolePlugin.setSystemShellVariableValue(\"LUAJ\", getLuaJ());\n\t\t}\n\t}",
"public static void init() {\n FunctionRegistry reg = new FunctionRegistry() ;\n ARQFunctions.load(reg);\n StandardFunctions.loadStdDefs(reg) ;\n StandardFunctions.loadOtherDefs(reg) ;\n set(ARQ.getContext(), reg) ;\n }",
"public void initialize() {\n\t\tnumRows = gridConfig.getNumRows();\n\t\tnumCols = gridConfig.getNumCols();\n\t\tgridCellCount = numRows * numCols;\n\t\tcreateMaps();\n\t\tsetCurrSimulationMap();\n\t\tcellWidth = SIZE / numCols;\n\t\tcellHeight = SIZE / numRows;\n\t\tcurrentGrid = new Cell[numRows][numCols];\n\t\tnewGrid = new Cell[numRows][numCols];\n\t\tempty(currentGrid);\n\t\tempty(newGrid);\n\t\tsetShapes();\n\t\tsetInitialStates();\n\t}",
"private void initVars() {\r\n\t\tapplicationFrame = new JFrame(BPCC_Util.getApplicationTitle());\r\n\t\tBPCC_Util.setHubFrame(applicationFrame);\r\n\t}",
"private void setupStuff() {\n\t\tm_seenNumbers = new double[featureArray.length][];\n\t\tm_Weights = new double[featureArray.length][];\n\t\tm_NumValues = new int[featureArray.length];\n\t\tm_SumOfWeights = new double[featureArray.length];\n\t\tfeatureTotals = new int[featureArray.length];\n\n\t\tfor (int i = 0; i < featureArray.length; i++) {\n\t\t\tm_NumValues[i] = 0;\n\t\t\tm_seenNumbers[i] = new double[100];\n\t\t\tm_Weights[i] = new double[100];\n\t\t}\n\n\t\t/*\n\t\t * initialize structures for probabilities of each class and of each\n\t\t * feature\n\t\t */\n\t\tclassCounts = new double[MLearner.NUMBER_CLASSES];\n\t\tprobs = new HashMap[MLearner.NUMBER_CLASSES][featureArray.length];\n\t\tRealprobs = new HashMap[MLearner.NUMBER_CLASSES][featureArray.length];\n\t\tfor (int i = 0; i < MLearner.NUMBER_CLASSES; i++) {\n\t\t\tfor (int j = 0; j < featureArray.length; j++) {\n\t\t\t\tif (featureArray[j]) {//only create if we are using that\n\t\t\t\t\t// feature\n\t\t\t\t\tprobs[i][j] = new HashMap();\n\t\t\t\t\tif (EmailInternalConfigurationWindow.isFeatureDiscrete(j)) {\n\t\t\t\t\t\tprobs[i][j].put(\"_default\", new Double(0));\n\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t}\n\t\t\tclassCounts[i] = 0;\n\t\t}\n\n\t}",
"private void setVariables() {\n vb = (Vibrator) context.getSystemService(Context.VIBRATOR_SERVICE);\n linBoardGame = (LinearLayout) ((Activity) context).findViewById(boardID);\n gridContainer = (RelativeLayout) ((Activity) context).findViewById(R.id.gridContainer);\n shipTV = (TextView) ((Activity) context).findViewById(R.id.shipTV);\n linBoardGame.setOnTouchListener(this);\n sizeOfCell = Math.round(ScreenWidth() / (maxN + (1)));\n occupiedCells = new ArrayList<>();\n playerAttacks = new ArrayList<>();\n hit = false;\n gridID = R.drawable.grid;\n if (!player ) lockGrid = true;\n ships = new ArrayList<>();\n }",
"private void initialize() {\n this.pm10Sensors = new ArrayList<>();\n this.tempSensors = new ArrayList<>();\n this.humidSensors = new ArrayList<>();\n }",
"@PostConstruct\n\tpublic void init() {\n\t\tEnvironmentUtils.setEnvironment(env);\n\t}",
"public GlobalVariable() {\n }",
"public void resetVariables(){\n\t\tthis.queryTriplets.clear();\n\t\tthis.variableList.clear();\n\t\tthis.prefixMap.clear();\n\t}",
"public static void initPackage() {\n\t\t(new Branch()).getCache();\n\t\t(new Change()).getCache();\n\t\t(new Client()).getCache();\n\t\t(new DirEntry()).getCache();\n\t\t(new FileEntry()).getCache();\n\t\t(new Job()).getCache();\n\t\t(new Label()).getCache();\n\t\t(new User()).getCache();\n\t\tProperties props = System.getProperties();\n\t}",
"public void initialise() {\n number_of_rays = 4; // how many rays are fired from the boat\n ray_angle_range = 145; // the range of the angles that the boat will fire rays out at\n ray_range = 30; // the range of each ray\n ray_step_size = (float) 10;\n regen = false;\n }",
"void initialise() {\n this.sleep = false;\n this.owner = this;\n renewNeighbourClusters();\n recalLocalModularity();\n }",
"public void initializeObliqueLaunch(){\r\n world = new Environment();\r\n cannon = new Thrower();\r\n ball = new Projectile();\r\n this.setInitialValues();\r\n }",
"private final void setupLocal0() {\n assert _profile==null;\n _fs = new Futures();\n _profile = new MRProfile(this);\n _profile._localstart = System.currentTimeMillis();\n _topLocal = true;\n // Check for global vs local work\n int selfidx = H2O.SELF.index();\n int nlo = subShift(selfidx);\n assert nlo < _nhi;\n final int nmid = (nlo+_nhi)>>>1; // Mid-point\n if( !_run_local && nlo+1 < _nhi ) { // Have global work?\n _profile._rpcLstart = System.currentTimeMillis();\n _nleft = remote_compute(nlo+1,nmid);\n _profile._rpcRstart = System.currentTimeMillis();\n _nrite = remote_compute( nmid,_nhi);\n _profile._rpcRdone = System.currentTimeMillis();\n }\n _lo = 0; _hi = _fr.anyVec().nChunks(); // Do All Chunks\n // If we have any output vectors, make a blockable Futures for them to\n // block on.\n // get the Vecs from the K/V store, to avoid racing fetches from the map calls\n _fr.vecs();\n setupLocal(); // Setup any user's shared local structures\n _profile._localdone = System.currentTimeMillis();\n }",
"private void initialize() {\n first = null;\n last = null;\n size = 0;\n dictionary = new Hashtable();\n }",
"protected void initialize() {\n\t\tright = left = throttle = turn = forward = 0;\n\t}"
]
| [
"0.68442506",
"0.6770341",
"0.63291216",
"0.62874955",
"0.62622863",
"0.62038046",
"0.6178561",
"0.61657065",
"0.6139601",
"0.6119138",
"0.60261863",
"0.6024835",
"0.59786016",
"0.59379345",
"0.5930979",
"0.58908933",
"0.5876086",
"0.58728176",
"0.58573866",
"0.5854876",
"0.5809675",
"0.580116",
"0.5788617",
"0.57853246",
"0.5771155",
"0.57662773",
"0.57369804",
"0.5722685",
"0.5695116",
"0.56875896",
"0.56812066",
"0.56762576",
"0.56532866",
"0.5615391",
"0.5609946",
"0.558942",
"0.5582517",
"0.5572738",
"0.5560775",
"0.55428386",
"0.5541967",
"0.55228245",
"0.5521058",
"0.55197823",
"0.5505682",
"0.55051047",
"0.55046207",
"0.55018973",
"0.54917073",
"0.5491193",
"0.5474453",
"0.54443663",
"0.5439403",
"0.54309154",
"0.54303384",
"0.54216576",
"0.5408117",
"0.54014176",
"0.53925997",
"0.5389408",
"0.5382794",
"0.5382765",
"0.5379301",
"0.53568596",
"0.5355728",
"0.5347596",
"0.53460187",
"0.5342606",
"0.5342153",
"0.53419083",
"0.5338719",
"0.5328758",
"0.53268707",
"0.53255385",
"0.53195095",
"0.5315871",
"0.53131664",
"0.5312285",
"0.5309886",
"0.52968144",
"0.5281956",
"0.5276347",
"0.5269702",
"0.52612716",
"0.5246669",
"0.52453184",
"0.52452856",
"0.52399904",
"0.52384603",
"0.5236494",
"0.5232258",
"0.5229253",
"0.5227142",
"0.5220265",
"0.5214803",
"0.52144516",
"0.5205385",
"0.51977533",
"0.5197582",
"0.51909417",
"0.5184117"
]
| 0.0 | -1 |
Gets the query filter. | public BsonDocument getFilter() {
return filter;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Expression getFilter() {\n return this.filter;\n }",
"Filter getFilter();",
"public java.lang.String getFilter() {\n return filter;\n }",
"public String getFilter() {\n\t\treturn url.getFilter();\n }",
"public String getFilter() {\n\t\treturn filter;\n\t}",
"public Filter getFilter() {\n\t\treturn (filter);\n\t}",
"java.lang.String getFilter();",
"public LSPFilter getFilter () {\r\n return filter;\r\n }",
"public String getFilter();",
"String getFilter();",
"public String getDatabaseFilter() {\n\t\tSqlExpression expr = this.getFilterSqlExpression();\n\t\treturn expr != null ? expr.toSqlString() : \"\";\n\t}",
"public String getFilterCondition() {\n return filterCondition;\n }",
"@Override\n public Filter getFilter() {\n if(filter == null)\n {\n filter=new CustomFilter();\n }\n return filter;\n }",
"String getWhereClause();",
"public Filter getFilter() {\n\t\tif (filter == null) {\n\t\t\tfilter = new CountryListItemFilter();\n\t\t}\n\t\treturn filter;\n\t}",
"public String getUserFilter()\n {\n return this.userFilter;\n }",
"public String getFilter()\n {\n if ( \"\".equals( filterCombo.getText() ) ) //$NON-NLS-1$\n {\n return \"\"; //$NON-NLS-1$\n }\n parser.parse( filterCombo.getText() );\n return parser.getModel().isValid() ? filterCombo.getText() : null;\n }",
"@Override\n public Filter getFilter() {\n return isCursorAdapter() ? mCursorAdapter.getFilter(): mArrayAdapter.getFilter();\n }",
"public IntelligentTieringFilter getFilter() {\n return filter;\n }",
"public String getFilter()\n {\n return encryptionDictionary.getNameAsString( COSName.FILTER );\n }",
"public QueryFilter getSubFilter() {\n return subFilter;\n }",
"public Filter condition();",
"FeedbackFilter getFilter();",
"public ExtensionFilter getFilter () {\n return this.filter;\n }",
"@Override\n\tpublic Filter getFilter() {\n\t\tif (filter == null)\n\t\t\tfilter = new CountryFilter();\n\t\treturn filter;\n\t}",
"@Override\n public Filter getFilter() {\n return main_list_filter;\n }",
"@Override\n public String toString() {\n if (filterConfig == null) {\n return (\"RequestQueryFilter()\");\n }\n StringBuffer sb = new StringBuffer(\"RequestQueryFilter(\");\n sb.append(filterConfig);\n sb.append(\")\");\n return (sb.toString());\n }",
"String getFilterName();",
"public DataTableFilterType getFilterType( )\n {\n return _filterType;\n }",
"protected SqlExpression getFilterSqlExpression() {\n\t\tif (this.filterSqlExpr != null) {\n\t\t\treturn this.filterSqlExpr;\n\t\t}\n\t\t\n\t\tif (this.filterExpr == null) {\n\t\t\treturn null;\n\t\t}\n\t\tStandardExpressionToSqlExprBuilder builder = new StandardExpressionToSqlExprBuilder();\n\t\tbuilder.setMapper(createExpressionBuilderResolver());\n\t\tbuilder.setConverter(createExpressionBuilderConverter());\n\t\tthis.filterSqlExpr = builder.buildSqlExpression(this.filterExpr);\n\t\treturn this.filterSqlExpr;\n\t}",
"public ZExpression getWhereExpression()\r\n\t{\r\n\t\treturn where;\r\n\t}",
"public ActionCriteria getUsageFilter() {\n\t\treturn usageFilter;\n\t}",
"public String getFilter() {\n if(isHot) {\n // buy = max\n // view = max\n }\n String s = \"oderby @exo:\"+orderBy + \" \" + orderType;\n return null;\n }",
"@Override\n\tpublic Filter getFilter() {\n\t\treturn null;\n\t}",
"@Override\n\tpublic Filter getFilter() {\n\t\treturn null;\n\t}",
"public Filter getContactFilter();",
"@Deprecated\n @Override\n public Filter getQueryFilter() {\n throw new UnsupportedOperationException(\"Druid filters are being split from the ApiRequest model and \" +\n \"should be handled separately.\");\n }",
"public String getQuery() {\n return query;\n }",
"@Override\r\n\tpublic NotificationFilter getFilter() {\n\t\treturn super.getFilter();\r\n\t}",
"public String buildFilter() {\n String qs = \"\";\n Set<Map.Entry<String, String>> set = instance.arguments.entrySet();\n\n for (Map.Entry<String, String> entry : set) {\n qs += entry.getKey() + \"=\" + entry.getValue() + \"&\";\n }\n return qs.substring(0, qs.length() - 1);\n }",
"@NonNull\n public String getQuery() {\n return searchView.getQuery().toString();\n }",
"public Filter getFilterComponent()\n {\n return filterComponent;\n }",
"public String getQuery() {\n return query;\n }",
"public String getQuery() {\n return query;\n }",
"public String getQuery() {\n return query;\n }",
"public String getQuery() {\r\n return query;\r\n }",
"@Override\n public Filter getFilter() {\n return scenarioListFilter;\n }",
"@Override\n public Filter getFilter() {\n\n return new Filter() {\n @Override\n protected FilterResults performFiltering(CharSequence charSequence) {\n\n String charString = charSequence.toString();\n\n if (charString.isEmpty()) {\n\n mDataset = mArrayList;\n } else {\n\n ArrayList<DataObject> filteredList = new ArrayList<>();\n\n for (DataObject data : mArrayList) {\n\n if (data.getid().toLowerCase().contains(charString.toLowerCase()) || data.getname().toLowerCase().contains(charString.toLowerCase())) {\n\n filteredList.add(data);\n }\n }\n\n mDataset = filteredList;\n }\n\n FilterResults filterResults = new FilterResults();\n filterResults.values = mDataset;\n return filterResults;\n }\n\n @Override\n protected void publishResults(CharSequence charSequence, FilterResults filterResults) {\n mDataset = (ArrayList<DataObject>) filterResults.values;\n notifyDataSetChanged();\n }\n };\n }",
"public java.lang.String getQuery() {\r\n return query;\r\n }",
"public ItemFilterHolder getFilterManager()\r\n\t{\r\n\t\treturn filterHolder;\r\n\t}",
"public Map<String, Object> getFilters() {\n if (filters == null) {\n filters = new HashMap<String, Object>();\n }\n \n return filters;\n }",
"public String getQuery() {\r\n\t\treturn query;\r\n\t}",
"@Override public Filter getFilter() { return null; }",
"public Filter getInnerModelFilter()\n\t{\n\t\treturn innerModel.getFilter();\n\t}",
"public final String getQuery() {\n return this.query;\n }",
"public String getFilterId() {\n return this.filterId;\n }",
"public String getQuery() {\n return _query;\n }",
"public java.lang.CharSequence getQuery() {\n return query;\n }",
"public List getDatabaseFilterParams() {\n\t\tSqlExpression expr = this.getFilterSqlExpression();\n\t\treturn expr != null ? Arrays.asList(expr.getValues()) : new ArrayList();\n\t}",
"public java.lang.CharSequence getQuery() {\n return query;\n }",
"public static String getFilterPattern() {\n return FILTER_PATTERN;\n }",
"public String getAuthorizationFilter()\n {\n return this.authorizationFilter;\n }",
"public String getAuthorizationFilter()\n {\n return this.authorizationFilter;\n }",
"public String getAuthorizationFilter()\n {\n return this.authorizationFilter;\n }",
"public String getWhere()\n {\n // StringBuffer ==> String\n return this.whSelect.toString(); \n }",
"public Query getQuery()\n {\n return query;\n }",
"public String getQuery() {\n return this.query;\n }",
"public Hashtable getFilters() {\n // we need to build the hashtable dynamically\n return globalFilterSet.getFilterHash();\n }",
"@ZAttr(id=255)\n public String getAuthLdapSearchFilter() {\n return getAttr(Provisioning.A_zimbraAuthLdapSearchFilter, null);\n }",
"public Map<String, Filter> getFilters() {\n return filters;\n }",
"public java.lang.String getQuery()\n {\n return this.query;\n }",
"@Override\n public String getWhereClause() {\n Object ref = whereClause_;\n if (ref instanceof String) {\n return (String) ref;\n } else {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n String s = bs.toStringUtf8();\n whereClause_ = s;\n return s;\n }\n }",
"com.google.protobuf.ByteString\n getFilterBytes();",
"public Query getQuery ()\n {\n\n\treturn this.q;\n\n }",
"public QbWhere where();",
"java.lang.String getQuery();",
"java.lang.String getQuery();",
"public RoomEventFilter getPaginationFilter() {\n if (mCustomPaginationFilter != null) {\n // Ensure lazy loading param is correct\n FilterUtil.enableLazyLoading(mCustomPaginationFilter, isLazyLoadingEnabled());\n return mCustomPaginationFilter;\n } else {\n return FilterUtil.createRoomEventFilter(isLazyLoadingEnabled());\n }\n }",
"@Override\r\n\t public Filter getFilter() {\n\t return null;\r\n\t }",
"public com.sforce.soap.enterprise.QueryResult getZqu__Filters__r() {\r\n return zqu__Filters__r;\r\n }",
"private Filter getCustomFilter( ) {\n if(( customFilter != null ) \n ||( customFilterError ) )\n {\n return customFilter;\n }\n LogService logService = getLogService( );\n if( logService == null ) {\n return null;\n }\n String customFilterClassName = null;\n try {\n customFilterClassName = logService.getLogFilter( );\n customFilter = (Filter) getInstance( customFilterClassName );\n } catch( Exception e ) {\n customFilterError = true;\n new ErrorManager().error( \"Error In Instantiating Custom Filter \" +\n customFilterClassName, e, ErrorManager.GENERIC_FAILURE );\n }\n return customFilter;\n }",
"public String getTypeFilter()\r\n\t{\r\n\t\treturn this.typeFilter;\r\n\t}",
"@Override\n public Filter getFilter() {\n return new Filter() {\n @Override\n protected FilterResults performFiltering(CharSequence constraint) {\n FilterResults results = new FilterResults();\n // Skip the autocomplete query if no constraints are given.\n if (constraint != null) {\n // Query the autocomplete API for the (constraint) search string.\n mResultList = getAutocomplete(constraint);\n if (mResultList != null) {\n // The API successfully returned results.\n results.values = mResultList;\n results.count = mResultList.size();\n }\n }\n return results;\n }\n\n @Override\n protected void publishResults(CharSequence constraint, FilterResults results) {\n if (results != null && results.count > 0) {\n // The API returned at least one result, update the data.\n notifyDataSetChanged();\n } else {\n // The API did not return any results, invalidate the data set.\n //notifyDataSetInvalidated();\n }\n }\n };\n }",
"public String getWhereClause() {\n Object ref = whereClause_;\n if (!(ref instanceof String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n String s = bs.toStringUtf8();\n whereClause_ = s;\n return s;\n } else {\n return (String) ref;\n }\n }",
"protected Map<String, DataFilter> getFilterMap()\r\n {\r\n return getFilterMap(getQueryableDataTypeKeys());\r\n }",
"public interface QueryFilter {\n\t\tpublic void apply(Query<? extends PersistentObject> qbe);\n\t}",
"@Override\n public Filter getFilter(String filterId) {\n return null;\n }",
"@JsonIgnore\n public String getQuery() {\n return _query;\n }",
"@Override\n protected SerializablePredicate<T> getFilter(Query<T, Void> query) {\n return Optional.ofNullable(inMemoryDataProvider.getFilter())\n .orElse(item -> true);\n }",
"public String getQueryRequest()\n {\n return m_queryRequest;\n }",
"PropertiedObjectFilter<O> getFilter();",
"public String getFilterString() {\n if (filterManager == null) return \"\";\n \n // Get list of all filters.\n List<Filter<E>> filterList = filterManager.getFiltersInUse();\n \n // Create dump of all filters.\n StringBuilder buf = new StringBuilder();\n for (Filter<E> filter : filterList) {\n if (buf.length() > 0) buf.append(\", \"); \n buf.append(filter.toString());\n }\n \n return buf.toString();\n }",
"public ImageFilter getFilter() {\r\n\t\treturn filter;\r\n\t}",
"public String getQuery(){\n return this.query;\n }",
"public FilterConfig getFilterConfig() {\n return (this.filterConfig);\n }",
"public FilterConfig getFilterConfig() {\n return (this.filterConfig);\n }",
"public FilterConfig getFilterConfig() {\n return (this.filterConfig);\n }",
"public HotelDealsFilter getHotelDealsFilter() {\n\t\treturn new HotelDealsFilter();\n\t}",
"user_filter_reference getUser_filter_reference();",
"@Nullable\n public TupleExpr getWhereExpr() {\n return this.whereExpr;\n }"
]
| [
"0.7437957",
"0.702894",
"0.6986735",
"0.69282407",
"0.69104713",
"0.6891172",
"0.6854726",
"0.67800516",
"0.6772717",
"0.67463654",
"0.6566829",
"0.65417707",
"0.6510364",
"0.64949316",
"0.6479116",
"0.6430993",
"0.6385314",
"0.6380475",
"0.63487256",
"0.63403815",
"0.6339614",
"0.63360417",
"0.6318392",
"0.62856406",
"0.6230105",
"0.6175804",
"0.61456996",
"0.6139371",
"0.6075503",
"0.60701334",
"0.6031938",
"0.60102844",
"0.60060805",
"0.5996472",
"0.5996472",
"0.59789324",
"0.5978622",
"0.59657973",
"0.59642226",
"0.5958258",
"0.5947589",
"0.5931341",
"0.59183073",
"0.59183073",
"0.59183073",
"0.5911532",
"0.5895192",
"0.58896637",
"0.5887717",
"0.5878845",
"0.5872315",
"0.58518255",
"0.58436227",
"0.5841419",
"0.5841378",
"0.5799933",
"0.5795965",
"0.57955265",
"0.57810134",
"0.57791185",
"0.5770053",
"0.57529414",
"0.57529414",
"0.57529414",
"0.57437146",
"0.5740981",
"0.5736708",
"0.57236695",
"0.5719803",
"0.5703099",
"0.56949097",
"0.56709766",
"0.5670777",
"0.5668328",
"0.56583285",
"0.5656365",
"0.5656365",
"0.5655831",
"0.56432587",
"0.56324875",
"0.56212294",
"0.5619732",
"0.5618117",
"0.5615134",
"0.55922973",
"0.5587331",
"0.5578255",
"0.5568187",
"0.55466855",
"0.55395246",
"0.5533873",
"0.5533153",
"0.5525319",
"0.5517078",
"0.551613",
"0.551613",
"0.551613",
"0.5497076",
"0.5491822",
"0.5491066"
]
| 0.6887445 | 6 |
Sets the filter to apply to the query. | public MapReduceToCollectionOperation filter(final BsonDocument filter) {
this.filter = filter;
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"protected void setQueryFilter(CalendarFilter filter) {\n this.queryFilter = filter;\n }",
"public void setFilter(Expression filter) {\n this.filter = filter;\n }",
"public void setFilter(Filter.Statement filter) {\n this.setFilter(filter.toArray());\n }",
"void setFilter(String filter);",
"public void setFilter(Filter filter) {\n\t\tthis.filter = filter;\n\t}",
"public void set_filter(String sql){\n\t\tfilters.add(new FilteringRule(sql));\n\t}",
"public Builder filter(String filter) {\n request.filter = filter;\n return this;\n }",
"@Override\r\n\tpublic void setFilterQueryProvider(FilterQueryProvider filterQueryProvider) {\n\t\tsuper.setFilterQueryProvider(filterQueryProvider);\r\n\t}",
"public void setFilter(String filter) {\n\t\tthis.filter = filter;\n\n\t}",
"public void setFilter (LSPFilter filter) {\r\n this.filter = filter;\r\n }",
"public void addFilter(Filter filter){\n removeEndQuery();\n setMainQuery(getMainQuery()+filter.getFilter()+\"}\");\n setCountQuery(getCountQuery()+filter.getFilter()+\"}\");\n }",
"public void setFilter(Object[] filter) {\n nativeSetFilter(filter);\n }",
"void setFilterByExpression(boolean filterByExpression);",
"public void set_filter(String field,String value){\n\t\tset_filter(field,value,\"\");\n\t}",
"public void setFilter(EntityFilter filter);",
"public void setFilterExpression(Expression filterExpr) {\n\t\tthis.filterExpr = filterExpr;\n\t}",
"@Override\n public boolean setFilter(String filterId, Filter filter) {\n return false;\n }",
"public void setFilter(Filter f){\r\n\t\tthis.filtro = new InputFilter(f);\r\n\t}",
"void setFilter(Filter f);",
"public void setFilter(String filter)\n {\n encryptionDictionary.setItem( COSName.FILTER, COSName.getPDFName( filter ) );\n }",
"@SuppressWarnings(\"serial\")\n\tprivate void setFilter(TextField filter,Table table)\n\t{\n\t\tfilter.setImmediate(true);\n\t\tfilter.setTextChangeEventMode(TextChangeEventMode.EAGER);\n\t\tfilter.addTextChangeListener(new TextChangeListener() \n\t\t{\n\t\t\tFilter filter = null;\n\t\t\tpublic void textChange(TextChangeEvent event) \n\t\t\t{\n\t\t\t\tString search_text = event.getText();\n\t\t\t\tFilterable f = (Filterable) table.getContainerDataSource();\n\t\t\t\tif (filter != null)\n\t\t\t\t\tf.removeContainerFilter(filter);\n\t\t\t\tfilter = new Or(new SimpleStringFilter(\"Description\", search_text, true,false),\n\t\t\t\t\t\t new Or(new DateFilter(\"Start Date\", search_text)),\n\t\t\t\t\t\t new Or(new DateFilter(\"End Date\", search_text)), \n\t\t\t\t\t\t new Or(new DateFilter(\"Deadline\", search_text)),\n\t\t\t\t\t\t new SimpleStringFilter(\"Type\", search_text, true, false));\n\t\t\t\tf.addContainerFilter(filter);\n\t\t\t}\n\t\t});\n\t}",
"public List setFilter(java.lang.String filter) {\n this.filter = filter;\n return this;\n }",
"public FilterBuilder setFilter(FilterBy filterBy, String value) {\n instance.arguments.put(filterBy.getFilterKey(), value);\n return this;\n }",
"public void setFilter(String filterString) {\r\n container.removeAllContainerFilters();\r\n if (filterString.length() > 0) {\r\n SimpleStringFilter nameFilter = new SimpleStringFilter(\r\n \"productName\", filterString, true, false);\r\n SimpleStringFilter availabilityFilter = new SimpleStringFilter(\r\n \"availability\", filterString, true, false);\r\n SimpleStringFilter categoryFilter = new SimpleStringFilter(\r\n \"category\", filterString, true, false);\r\n container.addContainerFilter(new Or(nameFilter, availabilityFilter,\r\n categoryFilter));\r\n }\r\n\r\n }",
"protected void setFilterType( DataTableFilterType filterType )\n {\n _filterType = filterType;\n }",
"public void setFiltered(boolean filtered) {\n this.filtered = filtered;\n }",
"public void setContactFilter(Filter filter);",
"public void setAuthorizationFilter(final String authorizationFilter)\n {\n checkImmutable();\n this.authorizationFilter = authorizationFilter;\n }",
"void setFilter(final PropertiedObjectFilter<O> filter);",
"public void setFilter(String filter)\n {\n filteredFrames.add(\"at \" + filter);\n }",
"public void setUserFilter(final String userFilter)\n {\n checkImmutable();\n if (this.logger.isTraceEnabled()) {\n this.logger.trace(\"setting userFilter: \" + userFilter);\n }\n this.userFilter = userFilter;\n }",
"public void setAuthorizationFilter(final String authorizationFilter)\n {\n checkImmutable();\n if (this.logger.isTraceEnabled()) {\n this.logger.trace(\"setting authorizationFilter: \" + authorizationFilter);\n }\n this.authorizationFilter = authorizationFilter;\n }",
"public void setAuthorizationFilter(final String authorizationFilter)\n {\n checkImmutable();\n if (this.logger.isTraceEnabled()) {\n this.logger.trace(\"setting authorizationFilter: \" + authorizationFilter);\n }\n this.authorizationFilter = authorizationFilter;\n }",
"public void setAccountFilter(Filter<Account> accountFilter) {\n this.accountFilter = accountFilter;\n }",
"public void setFilter(IntelligentTieringFilter filter) {\n this.filter = filter;\n }",
"public void setFilters(cwterm.service.rigctl.xsd.Filter[] param) {\n validateFilters(param);\n if (param != null) {\n localFiltersTracker = true;\n } else {\n localFiltersTracker = true;\n }\n this.localFilters = param;\n }",
"private void setUpFilter() {\n List<Department> departmentsList = departmentService.getAll(0, 10000);\n departments.setItems(departmentsList);\n departments.setItemLabelGenerator(Department::getDepartment_name);\n departments.setValue(departmentsList.get(0));\n category.setItems(\"Consumable\", \"Asset\", \"%\");\n category.setValue(\"%\");\n status.setItems(\"FREE\", \"IN USE\", \"%\");\n status.setValue(\"%\");\n show.addClickListener(click -> updateGrid());\n }",
"DbQuery setEqualsFilter(String value) {\n filter = Filter.EQUALS;\n filterType = FilterType.STRING;\n this.equals = value;\n return this;\n }",
"public void setFilterConfig(FilterConfig filterConfig) {\n this.filterConfig = filterConfig;\n }",
"public void setFilterConfig(FilterConfig filterConfig) {\n this.filterConfig = filterConfig;\n }",
"public void setFilterConfig(FilterConfig filterConfig) {\n this.filterConfig = filterConfig;\n }",
"public void setFilterConfig(FilterConfig filterConfig) {\n this.filterConfig = filterConfig;\n }",
"public Input filterBy(Filter filter) {\n JsonArray filters = definition.getArray(FILTERS);\n if (filters == null) {\n filters = new JsonArray();\n definition.putArray(FILTERS, filters);\n }\n filters.add(Serializer.serialize(filter));\n return this;\n }",
"public void setFilter(java.lang.String[] value) {\n\t\tthis.setValue(FILTER, value);\n\t}",
"public void setFilterTo(LocalTime filterTo) {\n this.filterTo = filterTo;\n }",
"public void changeFilterMode(int filter) {\n mNewFilter = filter;\n }",
"public QueryResultBuilder<T> applyFilter(Option<QueryFilter<T>> filter, Option<Map<String, Object>> params);",
"public void setActiveAndInactiveFilterItems(SearchFilter filter) {\n String filterMapKey = filter.getFilterTypeMapKey();\n Function<CommonParams, List<String>> getter = FILTER_KEYS_TO_FIELDS.get(filterMapKey);\n if (getter == null) {\n throw new RuntimeException(\"Search Filter not configured with sane map key: \" + filterMapKey);\n }\n filter.setActiveAndInactiveFilterItems(getter.apply(this));\n }",
"public void ChangeFilter(String arg) {\r\n\t\tSelect dropDown = new Select(filter);\r\n\t\tdropDown.selectByIndex(1);;\r\n\t\tReporter.log(\"Filter clicked\"+arg,true);\r\n\t}",
"public void filter(String query) {\n\n\tTableRowSorter sorter = new TableRowSorter(table_1.getModel());\n\tsorter.setRowFilter(RowFilter.regexFilter(query));\n\ttable_1.setRowSorter(sorter);\n\n }",
"public DiffCollector<T> setPathFilters(final TreeFilter filter) {\r\n this.command.setPathFilter(filter);\r\n return this;\r\n }",
"public void setFilter(ArtifactFilter filter) {\n this.filter = filter;\n }",
"public void addFilterToCombo(ViewerFilter filter);",
"DbQuery setEqualsFilter(boolean value) {\n filter = Filter.EQUALS;\n filterType = FilterType.BOOLEAN;\n this.equals = value;\n return this;\n }",
"public FilterWidget( String initalFilter )\n {\n this.initalFilter = initalFilter;\n }",
"public void setWhere(String dbsel)\n {\n this._appendWhere(dbsel, WHERE_SET);\n }",
"public abstract void updateFilter();",
"public Expression getFilter() {\n return this.filter;\n }",
"public void init(FilterConfig filterConfig) {\n this.filterConfig = filterConfig;\n if (filterConfig != null) {\n if (debug) {\n log(\"RequestQueryFilter:Initializing filter\");\n }\n }\n }",
"public void setIdFilter(Long id) {\n this.idFilter = id;\n }",
"private void initFilter() {\r\n if (filter == null) {\r\n filter = new VocabularyConceptFilter();\r\n }\r\n filter.setVocabularyFolderId(vocabularyFolder.getId());\r\n filter.setPageNumber(page);\r\n filter.setNumericIdentifierSorting(vocabularyFolder.isNumericConceptIdentifiers());\r\n }",
"public void setRowFilter(RowFilter rowFilter) {\n\n this.rowFilter = rowFilter;\n }",
"public String getFilter() {\n\t\treturn filter;\n\t}",
"public void addFilterToReader(ViewerFilter filter);",
"void setFilterByDate(boolean isFilterByDate);",
"public void onUpdateFilters(SearchFilter newFilter) {\n filter.setSort(newFilter.getSort());\n filter.setBegin_date(newFilter.getBegin_date());\n filter.setNewsDeskOpts(newFilter.getNewsDeskOpts());\n gvResults.clearOnScrollListeners();\n setUpRecycler();\n fetchArticles(0,true);\n }",
"FilterInfo setCanaryFilter(String filter_id, int revision);",
"public void addFilterToComboRO(ViewerFilter filter);",
"public void setFilter(int index, java.lang.String value) {\n\t\tthis.setValue(FILTER, index, value);\n\t}",
"DbQuery setStartAtFilter(int value) {\n return setStartAtFilter((double) value);\n }",
"void setRNRFilter(){\n\t\tString argument = cmd.getOptionValue(\"rnr\",\".5\");\n\t\tfloat valFloat = Float.parseFloat(argument);\n\t\tfilterValue = valFloat;\n\t}",
"public void addFilter(String token, String value) {\n if (token == null) {\n return;\n }\n globalFilterSet.addFilter(new FilterSet.Filter(token, value));\n }",
"public void addBusinessFilterToReader(ViewerFilter filter);",
"@Override\n public Filter getFilter() {\n\n return new Filter() {\n @Override\n protected FilterResults performFiltering(CharSequence charSequence) {\n\n String charString = charSequence.toString();\n\n if (charString.isEmpty()) {\n\n mDataset = mArrayList;\n } else {\n\n ArrayList<DataObject> filteredList = new ArrayList<>();\n\n for (DataObject data : mArrayList) {\n\n if (data.getid().toLowerCase().contains(charString.toLowerCase()) || data.getname().toLowerCase().contains(charString.toLowerCase())) {\n\n filteredList.add(data);\n }\n }\n\n mDataset = filteredList;\n }\n\n FilterResults filterResults = new FilterResults();\n filterResults.values = mDataset;\n return filterResults;\n }\n\n @Override\n protected void publishResults(CharSequence charSequence, FilterResults filterResults) {\n mDataset = (ArrayList<DataObject>) filterResults.values;\n notifyDataSetChanged();\n }\n };\n }",
"@Override\n\tpublic void filterChange() {\n\t\t\n\t}",
"protected void addFilter(TableViewer viewer) {\n\t\t//0.6f entspricht einer minimalen durchschnittlichen Bewertung von 3 Punkten\n\t\tviewer.addFilter(new RatingFilter(0.6f));\n\t}",
"public void setZoomInFilter(MouseFilter f) {\r\n _zoomInFilter = f;\r\n }",
"public void setVisitorFilter(JPAFilterVisitor<T> visitorFilter) {\n\t\tthis.visitorFilter = visitorFilter;\n\t}",
"@ZAttr(id=255)\n public void setAuthLdapSearchFilter(String zimbraAuthLdapSearchFilter) throws com.zimbra.common.service.ServiceException {\n HashMap<String,Object> attrs = new HashMap<String,Object>();\n attrs.put(Provisioning.A_zimbraAuthLdapSearchFilter, zimbraAuthLdapSearchFilter);\n getProvisioning().modifyAttrs(this, attrs);\n }",
"public void setAttributeFilter(@Nullable final ReloadableService<AttributeFilter> filterService) {\n checkSetterPreconditions();\n attributeFilterService = filterService;\n }",
"public static interface SetFilter extends KeyValueFilter {\r\n\t\tObject put(String name, Object value);\r\n\t}",
"Filter getFilter();",
"public Query(QueryFilterBuilder builder) {\n super(builder);\n }",
"public BsonDocument getFilter() {\n return filter;\n }",
"void filterChanged(String filter) {\n if (filter.isEmpty()) {\n treeView.setRoot(rootTreeItem);\n } else {\n TreeItem<FilePath> filteredRoot = createTreeRoot();\n filter(rootTreeItem, filter, filteredRoot);\n treeView.setRoot(filteredRoot);\n }\n }",
"public void setFilter(ImageFilter filterMode) {\r\n\t\trenderer.setFilter(texture, filterMode);\r\n\t\tthis.filter = filterMode;\r\n\t}",
"public java.lang.String getFilter() {\n return filter;\n }",
"public String applyFilter() {\n if (!filterSelectedField.equals(\"-1\")) {\n Class<?> fieldClass = getFieldType(filterSelectedField);\n\n if ((fieldClass.equals(Integer.class) && !NumberUtil.isInteger(filterCriteria))\n || (fieldClass.equals(Long.class) && !NumberUtil.isLong(filterCriteria))\n || (fieldClass.equals(BigInteger.class) && !NumberUtil.isBigInteger(filterCriteria))) {\n setWarnMessage(i18n.iValue(\"web.client.backingBean.abstractCrudBean.message.MustBeInteger\"));\n filterCriteria = \"\";\n } else {\n signalRead();\n }\n paginationHelper = null; // For pagination recreation\n dataModel = null; // For data model recreation\n selectedItems = null; // For clearing selection\n } else {\n setWarnMessage(i18n.iValue(\"web.client.backingBean.abstractCrudBean.message.MustSelectFindOption\"));\n }\n return null;\n }",
"@Nonnull\n public SynchronizationJobCollectionRequest filter(@Nonnull final String value) {\n addFilterOption(value);\n return this;\n }",
"@Override\n public Filter getFilter() {\n return main_list_filter;\n }",
"public void addFilterToAnotations(ViewerFilter filter);",
"public void addFilterToAnotations(ViewerFilter filter);",
"void onFilterChanged(ArticleFilter filter);",
"public void setFilters(InputFilter[] filters) {\n input.setFilters(filters);\n }",
"public void addFilter(@NotNull final SceneFilter filter) {\n filters.add(filter);\n }",
"private void applyFilters() {\r\n\t\t// create the new filters\r\n\t\tViewerFilter[] filters = new ViewerFilter[] { new TransportStateViewFilter(IProgramStatus.PROGRAM_STATUS_PREBOOKING),\r\n\t\t\t\tnew TransportDirectnessFilter(IDirectness.TOWARDS_BRUCK), transportDateFilter, transportViewFilter };\r\n\t\t// set up the filters for the view\r\n\t\tviewerBruck.setFilters(filters);\r\n\t\tviewerGraz.setFilters(filters);\r\n\t\tviewerWien.setFilters(filters);\r\n\t\tviewerMariazell.setFilters(filters);\r\n\t\tviewerKapfenberg.setFilters(filters);\r\n\t\tviewerLeoben.setFilters(filters);\r\n\t}",
"public String getFilterCondition() {\n return filterCondition;\n }",
"public void setFilters(Filter [] Filters) {\n this.Filters = Filters;\n }",
"public void setFilters(Filter [] Filters) {\n this.Filters = Filters;\n }",
"public RegisterFilter() {\n\t\tqueryList = new ArrayList<QueryPart>();\n\t\torderList = new ArrayList<OrderPart>();\n\t}"
]
| [
"0.76406664",
"0.7635601",
"0.76248497",
"0.71503484",
"0.7090243",
"0.6989452",
"0.69620794",
"0.6956308",
"0.6811681",
"0.6807998",
"0.6735484",
"0.6732873",
"0.6729391",
"0.67234015",
"0.67152905",
"0.6667338",
"0.66612434",
"0.6651309",
"0.66441464",
"0.6510652",
"0.65035945",
"0.65025896",
"0.6471083",
"0.63746464",
"0.63217664",
"0.6283174",
"0.62598187",
"0.6248387",
"0.6220215",
"0.6196433",
"0.61807823",
"0.61770844",
"0.61770844",
"0.61604667",
"0.608672",
"0.6050409",
"0.60028577",
"0.5972681",
"0.5971368",
"0.5971368",
"0.5971368",
"0.5971368",
"0.5949077",
"0.59319323",
"0.59278536",
"0.5916385",
"0.58537143",
"0.5816683",
"0.5813216",
"0.5812492",
"0.5808184",
"0.58023965",
"0.5792573",
"0.57882136",
"0.5787307",
"0.57867557",
"0.578184",
"0.57780474",
"0.5777198",
"0.57685536",
"0.57505",
"0.5746697",
"0.5743246",
"0.5738204",
"0.57360315",
"0.5733942",
"0.572747",
"0.57038796",
"0.5700948",
"0.5658193",
"0.56136054",
"0.56042516",
"0.5597915",
"0.5596388",
"0.5595961",
"0.557814",
"0.5577032",
"0.5564405",
"0.5558851",
"0.5555059",
"0.5554405",
"0.554904",
"0.5546911",
"0.5544998",
"0.55447066",
"0.5538919",
"0.553589",
"0.5531608",
"0.55302924",
"0.5526939",
"0.5525765",
"0.5525765",
"0.55255914",
"0.5514837",
"0.551186",
"0.5509264",
"0.5501805",
"0.54997194",
"0.54997194",
"0.5495737"
]
| 0.5822716 | 47 |
Gets the sort criteria to apply to the query. The default is null, which means that the documents will be returned in an undefined order. | public BsonDocument getSort() {
return sort;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"java.lang.String getOrderBy();",
"private DBObject buildSortSpec(final GetObjectInformationParameters params) {\n\t\tfinal DBObject sort = new BasicDBObject();\n\t\tif (params.isObjectIDFiltersOnly()) {\n\t\t\tsort.put(Fields.VER_WS_ID, 1);\n\t\t\tsort.put(Fields.VER_ID, 1);\n\t\t\tsort.put(Fields.VER_VER, -1);\n\t\t}\n\t\treturn sort;\n\t}",
"public String getSortOrder();",
"public Sort getSort() {\r\n\t\tif (sortAsc)\r\n\t\t\treturn Sort.by(sortField).ascending();\r\n\r\n\t\treturn Sort.by(sortField).descending();\r\n\t}",
"public synchronized ColumnSort getDefaultSort() {\r\n return f_title.equals(SUMMARY_COLUMN) ? ColumnSort.SORT_UP : ColumnSort.UNSORTED;\r\n }",
"public String sortOrder();",
"@Override\n\tprotected String getDefaultOrderBy() {\n\t\treturn \"date asc\";\n\t}",
"public static void setSortCriteria(String method)\n \t{\n \t\tsortCriteria = method;\n \t}",
"@Override\n public Sort getDefaultSort() {\n return Sort.add(SiteConfineArea.PROP_CREATE_TIME, Direction.DESC);\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public IScapSyncSearchSortField[] getSortFields();",
"public String getOrderByClause() {\r\n return orderByClause;\r\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }",
"public String getOrderByClause() {\n return orderByClause;\n }"
]
| [
"0.5939205",
"0.57250166",
"0.5674828",
"0.56205356",
"0.5512427",
"0.54945755",
"0.5440364",
"0.5398251",
"0.53860265",
"0.5344663",
"0.5344663",
"0.5340267",
"0.53261924",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315",
"0.53243315"
]
| 0.6124797 | 0 |
Sets the sort criteria to apply to the query. | public MapReduceToCollectionOperation sort(final BsonDocument sort) {
this.sort = sort;
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static void setSortCriteria(String method)\n \t{\n \t\tsortCriteria = method;\n \t}",
"public void setSortOrder(String sortOrder);",
"public QueryResultBuilder<T> applySort(Option<Sort> sort);",
"Sort asc(QueryParameter parameter);",
"public static void setOrderBy (String columnList){\n fetchAllOrderBy=columnList;\n }",
"void setOrderBy(DriveRequest<?> request, String orderBy);",
"@Override\n\tpublic void setSorting(Object[] propertyIds, boolean[] ascending) {\n\t\t\n\t}",
"public void setSort(Integer sort) {\r\n this.sort = sort;\r\n }",
"public void setSort(Integer sort) {\n this.sort = sort;\n }",
"public void setSort(Integer sort) {\n this.sort = sort;\n }",
"public void setSort(Integer sort) {\n this.sort = sort;\n }",
"public void setSort(Integer sort) {\n this.sort = sort;\n }",
"public void setSort(Integer sort) {\n this.sort = sort;\n }",
"public void setSort(Integer sort) {\n this.sort = sort;\n }",
"public void setSort(Integer sort) {\n this.sort = sort;\n }",
"public void setSort(Integer sort) {\n this.sort = sort;\n }",
"public void setSort(Integer sort) {\n this.sort = sort;\n }",
"public void setOrderBy(boolean value) {\n this.orderBy = value;\n }",
"private void sortBy(Query query, DimensionDescriptor timeDimension, DimensionDescriptor elevationDimension) {\n final List<SortBy> clauses = new ArrayList<SortBy>();\n // TODO: Check sortBy clause is supported\n if (timeDimension != null) {\n clauses.add(new SortByImpl(FeatureUtilities.DEFAULT_FILTER_FACTORY.property(timeDimension.getStartAttribute()),\n SortOrder.DESCENDING));\n }\n if (elevationDimension != null) {\n clauses.add(new SortByImpl(FeatureUtilities.DEFAULT_FILTER_FACTORY.property(elevationDimension.getStartAttribute()),\n SortOrder.ASCENDING));\n }\n final SortBy[] sb = clauses.toArray(new SortBy[] {});\n query.setSortBy(sb);\n \n }",
"protected void prepareOrderBy(String query, QueryConfig config) {\n }",
"public void setSortby(String sortby) {\n\t\tparameters.put(\"sortby\", sortby);\n\t}",
"public void initializeSortModel()\r\n {\r\n oldSortColumnProperty = sortColumnProperty;\r\n oldAscending = !ascending; // To make sure Sort happens on first render \r\n }",
"public void setSortOrder(int value) {\r\n this.sortOrder = value;\r\n }",
"public void setSort(boolean sort) {\n this.sort = sort;\n }",
"public void sortBy(Comparator<Trip> cmp) {\n comparator = cmp;\n modifiedSinceLastResult = true;\n }",
"public DbTableSorter(int criteria) {\n super();\n this.criteria = criteria;\n }",
"void sort(OrderBy orderBy);",
"public static void doSort ( RunData data)\n\t{\n\t\tSessionState state = ((JetspeedRunData)data).getPortletSessionState (((JetspeedRunData)data).getJs_peid ());\n\n\t\t//get the ParameterParser from RunData\n\t\tParameterParser params = data.getParameters ();\n\n\t\t// save the current selections\n\t\tSet selectedSet = new TreeSet();\n\t\tString[] selectedItems = data.getParameters ().getStrings (\"selectedMembers\");\n\t\tif(selectedItems != null)\n\t\t{\n\t\t\tselectedSet.addAll(Arrays.asList(selectedItems));\n\t\t}\n\t\tstate.setAttribute(STATE_LIST_SELECTIONS, selectedSet);\n\n\t\tString criteria = params.getString (\"criteria\");\n\n\t\tif (criteria.equals (\"title\"))\n\t\t{\n\t\t\tcriteria = ResourceProperties.PROP_DISPLAY_NAME;\n\t\t}\n\t\telse if (criteria.equals (\"size\"))\n\t\t{\n\t\t\tcriteria = ResourceProperties.PROP_CONTENT_LENGTH;\n\t\t}\n\t\telse if (criteria.equals (\"created by\"))\n\t\t{\n\t\t\tcriteria = ResourceProperties.PROP_CREATOR;\n\t\t}\n\t\telse if (criteria.equals (\"last modified\"))\n\t\t{\n\t\t\tcriteria = ResourceProperties.PROP_MODIFIED_DATE;\n\t\t}\n\t\telse if (criteria.equals(\"priority\") && ContentHostingService.isSortByPriorityEnabled())\n\t\t{\n\t\t\t// if error, use title sort\n\t\t\tcriteria = ResourceProperties.PROP_CONTENT_PRIORITY;\n\t\t}\n\t\telse\n\t\t{\n\t\t\tcriteria = ResourceProperties.PROP_DISPLAY_NAME;\n\t\t}\n\n\t\tString sortBy_attribute = STATE_SORT_BY;\n\t\tString sortAsc_attribute = STATE_SORT_ASC;\n\t\tString comparator_attribute = STATE_LIST_VIEW_SORT;\n\t\t\n\t\tif(state.getAttribute(STATE_MODE).equals(MODE_REORDER))\n\t\t{\n\t\t\tsortBy_attribute = STATE_REORDER_SORT_BY;\n\t\t\tsortAsc_attribute = STATE_REORDER_SORT_ASC;\n\t\t\tcomparator_attribute = STATE_REORDER_SORT;\n\t\t}\n\t\t// current sorting sequence\n\t\tString asc = NULL_STRING;\n\t\tif (!criteria.equals (state.getAttribute (sortBy_attribute)))\n\t\t{\n\t\t\tstate.setAttribute (sortBy_attribute, criteria);\n\t\t\tasc = Boolean.TRUE.toString();\n\t\t\tstate.setAttribute (sortAsc_attribute, asc);\n\t\t}\n\t\telse\n\t\t{\n\t\t\t// current sorting sequence\n\t\t\tasc = (String) state.getAttribute (sortAsc_attribute);\n\n\t\t\t//toggle between the ascending and descending sequence\n\t\t\tif (asc.equals (Boolean.TRUE.toString()))\n\t\t\t{\n\t\t\t\tasc = Boolean.FALSE.toString();\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tasc = Boolean.TRUE.toString();\n\t\t\t}\n\t\t\tstate.setAttribute (sortAsc_attribute, asc);\n\t\t}\n\n\t\tif (state.getAttribute(STATE_MESSAGE) == null)\n\t\t{\n\t\t\tComparator comparator = ContentHostingService.newContentHostingComparator(criteria, Boolean.getBoolean(asc));\n\t\t\tstate.setAttribute(comparator_attribute, comparator);\n\t\t\t\n\t\t\t// sort sucessful\n\t\t\t// state.setAttribute (STATE_MODE, MODE_LIST);\n\n\t\t}\t// if-else\n\n\t}",
"public void setSortOrder(Integer sortOrder) {\n this.sortOrder = sortOrder;\n }",
"public void changeSortOrder();",
"public void setSortOrder(Boolean sortOrder) {\n this.sortOrder = sortOrder;\n }",
"@Override\r\n\tpublic void setSortProperties(List<? extends ISortProperty> sortProperties) {\n\t\t\r\n\t}",
"Map<String, org.springframework.batch.item.database.Order> genBatchOrderByFromSort(TableFields tableFields, Sort sort);",
"public void resetSortModel()\r\n {\r\n oldSortColumnProperty = sortColumnProperty;\r\n oldAscending = ascending;\r\n }",
"private static void setSorted(JobConf conf) {\n conf.setBoolean(INPUT_SORT, true);\n }",
"public void setSortAscending(Boolean sortAscending) {\n this.sortAscending = sortAscending;\n }",
"Results sortResults(FilterSpecifier.ListBy listBy, SortSpecifier sortspec) throws SearchServiceException;",
"private void addFilterSortConfigToUrl( UrlItem urlRedirectionDetails )\n {\n if ( _formItemSortConfig != null )\n {\n String strSortPosition = Integer.toString( _formItemSortConfig.getColumnToSortPosition( ) );\n String strAttributeName = _formItemSortConfig.getSortAttributeName( );\n String strAscSort = String.valueOf( _formItemSortConfig.isAscSort( ) );\n\n urlRedirectionDetails.addParameter( FormsConstants.PARAMETER_SORT_COLUMN_POSITION, strSortPosition );\n urlRedirectionDetails.addParameter( FormsConstants.PARAMETER_SORT_ATTRIBUTE_NAME, strAttributeName );\n urlRedirectionDetails.addParameter( FormsConstants.PARAMETER_SORT_ASC_VALUE, strAscSort );\n }\n }",
"public void setSortFunction(JSFunction sortFunction) {\r\n this.sortFunction = sortFunction;\r\n }",
"private void setSortOrder(String sortOrder){\n Log.d(LOG_TAG, \"setSortOrder()\");\n // If the user selected the MOST POPULAR sort order, then...\n if (sortOrder.equals(SORT_ORDER_MOST_POPULAR)){\n Log.d(LOG_TAG, \"#Sort Order: Most Popular\");\n // Initialize the variable.\n sortOrderCurrent = SORT_ORDER_MOST_POPULAR;\n }\n // The user selected the TOP RATED sort order, so...\n else {\n Log.d(LOG_TAG, \"#Sort Order: Top Rated\");\n // Initialize the variable.\n sortOrderCurrent = SORT_ORDER_TOP_RATED;\n }\n }",
"private void sort(){\r\n\t\tCollections.sort(people,new PeopleComparator(columnSelect.getSelectedIndex(),(String)sortOrder.getSelectedItem()));\r\n\t\tpersonTableModel.fireTableDataChanged();\r\n\t}",
"@Override\r\n\tpublic void addSort() {\n\t\t\r\n\t}",
"@VTID(29)\n void setSortUsingCustomLists(\n boolean rhs);",
"private void sortiranje(SelectConditionStep<?> select, UniverzalniParametri parametri) {\n select.orderBy(ROBA.STANJE.desc());\n }",
"public ShowsDisplayRequest setSort( ShowsSort sort )\n {\n currentSort = sort;\n setParameter( PARAM_SORT, sort.getIdentifier() );\n return this;\n }",
"private void addSortingPagination(Map params, String entity, String dir, String sort, int start, int limit,\n\t\t\tint page) {\n\n\t\tparams.put(IReportDAO.ENTITY, entity);\n\t\tparams.put(IReportDAO.DIR, dir);\n\t\tparams.put(IReportDAO.SORT_COLUMN, sort);\n\t\tparams.put(IReportDAO.START_INDEX, start);\n\t\tparams.put(IReportDAO.LIMIT, limit);\n\t\tparams.put(IReportDAO.PAGE, page);\n\t}",
"private void sort(final OrderBy orderBy) {\n callback.orderByProperty().set(orderBy);\n\n sort();\n }",
"public void setSortBy(final ProductSearchSortBy sortBy) {\r\n\t\tthis.sortBy = sortBy;\r\n\t}",
"public void set_sort(String column, String direction) {\n\t\tif (column == null || column.equals(\"\"))\n\t\t\tsort_by = new ArrayList<SortingRule>();\n\t\telse\n\t\t\tsort_by.add(new SortingRule(column,direction));\n\t}",
"public void setSortOrder(Short sortOrder) {\n this.sortOrder = sortOrder;\n }",
"private static void populateArtworkSorts() {\r\n if (artworkSorts.isEmpty()) {\r\n artworkSorts.add(SORT_FAV_ASC);\r\n artworkSorts.add(SORT_FAV_DESC);\r\n artworkSorts.add(SORT_NAME_ASC);\r\n artworkSorts.add(SORT_NAME_DESC);\r\n }\r\n }",
"public void setSort(Short sort) {\n this.sort = sort;\n }",
"private void setCriteria(Criteria criteria, Flight flight, String outputPrefernce) {\n\t\tString depLoc = flight.getDepLoc();\n\t\tString arrLoc = flight.getArrLoc();\n\t\tDate validTill = flight.getValidTill();\n\t\tchar flightClass = flight.getFlightClass();\n\t\tchar seatAvailability = 'Y';\n\n\t\tcriteria.add(Restrictions.eq(\"depLoc\", depLoc));\n\t\tcriteria.add(Restrictions.eq(\"arrLoc\", arrLoc));\n\t\tcriteria.add(Restrictions.ge(\"validTill\", validTill));\n\t\tcriteria.add(Restrictions.eq(\"flightClass\", flightClass));\n\t\tcriteria.add(Restrictions.eq(\"seatAvailability\", seatAvailability));\n\t\t\n\t\tcriteria.addOrder(Order.asc(\"fare\"));\n\n\t\t// if the outputPrefernce is ffd than sort on both fare and flightDuration\n\t\tif (outputPrefernce.equals(\"ffd\")) \n\t\t\tcriteria.addOrder(Order.asc(\"flightDuration\"));\n\t}",
"public IRCollection setSort(Comparator sortCrit)\n throws OculusException\n {\n StdCollectionTrashColl sortedList = new StdCollectionTrashColl(sortCrit);\n sortedList._items.addAll(this._items);\n return sortedList;\n }",
"public void set_sort(String column) {\n\t\tset_sort(column,\"\");\n\t}",
"public static void setSortType(SortType sortType) {\n Employee.sortType = sortType;\n }",
"public void setSortBy(java.lang.String newSortBy) {\n\t\tsortBy = newSortBy;\n\t}",
"public void setSortOnCPUTime() {\n this.sortedJobList = new TreeSet<Job>(new Comparator<Job>() {\n @Override\n public int compare(Job a, Job b) {\n\n int aCPUUsed = 0;\n int bCPUUsed = 0;\n\n try {\n aCPUUsed = a.getCPUUsed();\n bCPUUsed = b.getCPUUsed();\n } catch (AS400SecurityException e) {\n e.printStackTrace();\n } catch (ErrorCompletingRequestException e) {\n e.printStackTrace();\n } catch (InterruptedException e) {\n e.printStackTrace();\n } catch (IOException e) {\n e.printStackTrace();\n } catch (ObjectDoesNotExistException e) {\n e.printStackTrace();\n }\n\n if (aCPUUsed == bCPUUsed) return 0;\n else return bCPUUsed - aCPUUsed;\n }\n });\n }",
"private List<Criterion> _sortCriterionList()\n {\n Collections.sort(_criterionList, _groupNameComparator);\n Collections.sort(_criterionList, _fieldOrderComparator);\n for(int count = 0 ; count < _criterionList.size() ; count++)\n {\n ((DemoAttributeCriterion)_criterionList.get(count)).setOrderDirty(false);\n }\n return _criterionList;\n }",
"private void initialize() {\n filterSelectedField = \"-1\";\n filterCriteria = \"\";\n\n // Initialize sort with default values\n sortHelper = new SortHelper();\n try {\n sortHelper.setField(getPrimarySortedField());\n sortHelper.setAscending(primarySortedFieldAsc);\n } catch (PrimarySortedFieldNotFoundException ex) {\n java.util.logging.Logger.getLogger(AbstractCrudBean.class.getName()).log(\n Level.SEVERE,\n i18n.iValue(\"web.client.backingBean.message.Error\")\n + ex.getMessage(), ex);\n }\n }",
"public void setSortConfiguration(BoxPlotSortConfiguration sortConfiguration) {\n this.sortConfiguration = sortConfiguration;\n }",
"public void setColumnSort(ColumnSort columnSort) {\n\n this.columnSort = columnSort;\n }",
"protected void sortAndFilterAnnotationData() {\n SortColumn sortType = (SortColumn) sortAction.getValue(COLUMN_PROPERTY);\r\n FilterSubTypeColumn filterType = (FilterSubTypeColumn) filterTypeAction.getValue(COLUMN_PROPERTY);\r\n FilterAuthorColumn filterAuthor = (FilterAuthorColumn) filterAuthorAction.getValue(COLUMN_PROPERTY);\r\n Color filterColor = (Color) filterColorAction.getValue(COLUMN_PROPERTY);\r\n FilterVisibilityColumn filterVisibility = (FilterVisibilityColumn) filterVisibilityAction.getValue(COLUMN_PROPERTY);\r\n filterDropDownButton.setSelected(!filterAuthor.equals(FilterAuthorColumn.ALL) ||\r\n !filterType.equals(FilterSubTypeColumn.ALL) ||\r\n filterColor != null);\r\n\r\n // setup search pattern\r\n Pattern searchPattern = null;\r\n String searchTerm = searchTextField.getText();\r\n boolean caseSensitive = caseSensitiveMenutItem.isSelected();\r\n if (searchTerm != null && !searchTerm.isEmpty()) {\r\n searchPattern = Pattern.compile(caseSensitive ? searchTerm : searchTerm.toLowerCase());\r\n // todo we can add search flags at a later date, via drop down on search or checkboxes.\r\n }\r\n\r\n markupAnnotationHandlerPanel.sortAndFilterAnnotationData(\r\n searchPattern, sortType, filterType, filterAuthor, filterVisibility, filterColor,\r\n regexMenuItem.isSelected(), caseSensitive);\r\n }",
"@Override\r\n\tpublic void editSort() {\n\t\t\r\n\t}",
"public final native void setOrderBy(String orderBy) /*-{\n this.setOrderBy(orderBy);\n }-*/;",
"public void sortQueries(){\n\t\tif (queries == null || queries.isEmpty()) {\n\t\t\treturn;\n\t\t} else {\n\t\t Collections.sort(queries, new Comparator<OwnerQueryStatsDTO>() {\n @Override\n public int compare(OwnerQueryStatsDTO obj1, OwnerQueryStatsDTO obj2) {\n if(obj1.isArchived() && obj2.isArchived()) {\n return 0;\n } else if(obj1.isArchived()) {\n return 1;\n } else if(obj2.isArchived()) {\n return -1;\n } else {\n return 0;\n }\n }\n });\n\n\t }\n\t}",
"public void setSortNo(int sortNo) {\n this.sortNo = sortNo;\n }",
"private DBObject buildSortSpec(final GetObjectInformationParameters params) {\n\t\tfinal DBObject sort = new BasicDBObject();\n\t\tif (params.isObjectIDFiltersOnly()) {\n\t\t\tsort.put(Fields.VER_WS_ID, 1);\n\t\t\tsort.put(Fields.VER_ID, 1);\n\t\t\tsort.put(Fields.VER_VER, -1);\n\t\t}\n\t\treturn sort;\n\t}",
"private static void DoOrderBy()\n\t{\n\t\tArrayList<Attribute> inAtts = new ArrayList<Attribute>();\n\t\tinAtts.add(new Attribute(\"Int\", \"n_n_nationkey\"));\n\t\tinAtts.add(new Attribute(\"Str\", \"n_n_name\"));\n\t\tinAtts.add(new Attribute(\"Int\", \"n_n_regionkey\"));\n\t\tinAtts.add(new Attribute(\"Str\", \"n_n_comment\"));\n\n\t\tArrayList<Attribute> outAtts = new ArrayList<Attribute>();\n\t\toutAtts.add(new Attribute(\"Int\", \"att1\"));\n\t\toutAtts.add(new Attribute(\"Str\", \"att2\"));\n\t\toutAtts.add(new Attribute(\"Int\", \"att3\"));\n\t\toutAtts.add(new Attribute(\"Str\", \"att4\"));\n\n\t\t// These could be more complicated expressions than simple input columns\n\t\tMap<String, String> exprsToCompute = new HashMap<String, String>();\n\t\texprsToCompute.put(\"att1\", \"n_n_nationkey\");\n\t\texprsToCompute.put(\"att2\", \"n_n_name\");\n\t\texprsToCompute.put(\"att3\", \"n_n_regionkey\");\n\t\texprsToCompute.put(\"att4\", \"n_n_comment\");\n\t\t\n\t\t// Order by region key descending then nation name ascending\n\t\tArrayList<SortKeyExpression> sortingKeys = new ArrayList<SortKeyExpression>();\n\t\tsortingKeys.add(new SortKeyExpression(\"Int\", \"n_n_regionkey\", false));\n\t\tsortingKeys.add(new SortKeyExpression(\"Str\", \"n_n_name\", true));\n\t\t\n\t\t// run the selection operation\n\t\ttry\n\t\t{\n\t\t\tnew Order(inAtts, outAtts, exprsToCompute, sortingKeys, \"nation.tbl\", \"out.tbl\", \"g++\", \"cppDir/\");\n\t\t}\n\t\tcatch (Exception e)\n\t\t{\n\t\t\tthrow new RuntimeException(e);\n\t\t}\n\t}",
"public void setIdxSearchSort(String idxSearchSort) {\n Preferences prefs = getPreferences();\n prefs.put(PROP_SEARCH_SORT, idxSearchSort);\n }",
"OrderByClause createOrderByClause();",
"public void setSort(@Nullable final SortType sort) {\n mSort = sort;\n }",
"private String doSortOrder(SlingHttpServletRequest request) {\n RequestParameter sortOnParam = request.getRequestParameter(\"sortOn\");\n RequestParameter sortOrderParam = request.getRequestParameter(\"sortOrder\");\n String sortOn = \"sakai:filename\";\n String sortOrder = \"ascending\";\n if (sortOrderParam != null\n && (sortOrderParam.getString().equals(\"ascending\") || sortOrderParam.getString()\n .equals(\"descending\"))) {\n sortOrder = sortOrderParam.getString();\n }\n if (sortOnParam != null) {\n sortOn = sortOnParam.getString();\n }\n return \" order by @\" + sortOn + \" \" + sortOrder;\n }",
"public DefaultSortParameters() {\n\t\tthis(null, null, null, null, null);\n\t}",
"public void setSortingStatus(boolean sorted) {\n this.sorted = sorted;\n }",
"public final void testSortCriteria() throws Exception\n {\n Vector vect = new Vector();\n final long modifier = 100;\n long sdArr[][] = { { 0, 10 }, { 0, 12 }, { 0, 8 }, { -5, 20 }, { -5, 13 }, { -5, 15 }, { -5, -7 }, { 2, 10 },\n { 2, 8 }, { 2, 2 }, { 12, 14 }, { -5, 5 }, { 10, 2 } };\n long sorted[][] = { { -5, -7 }, { 10, 2 }, { 2, 2 }, { -5, 5 }, { 0, 8 }, { 2, 8 }, { 0, 10 }, { 2, 10 },\n { 0, 12 }, { -5, 13 }, { 12, 14 }, { -5, 15 }, { -5, 20 } };\n\n patchArray(sdArr, modifier);\n patchArray(sorted, modifier);\n\n for (int i = 0; i < sdArr.length; i++)\n {\n vect.addElement(new RecordingImplMock(new Date(sdArr[i][0]), sdArr[i][1]));\n }\n RecordingList recordingList = new RecordingListImpl(vect);\n Comparator comparator = new Comparator();\n\n RecordingList newList = recordingList.sortRecordingList(comparator);\n\n assertNotNull(\"recordingList returned null\", newList);\n\n // check results\n LocatorRecordingSpec lrs = null;\n RecordingRequest req = null;\n\n int i = newList.size();\n for (i = 0; i < newList.size(); i++)\n {\n req = (RecordingRequest) newList.getRecordingRequest(i);\n lrs = (LocatorRecordingSpec) req.getRecordingSpec();\n assertEquals(\"sort criteria is wrong\", sorted[i][1], lrs.getDuration());\n }\n }",
"@Override\n public Query customizeQuery(Object anObject, PersistenceBroker broker, CollectionDescriptor cod, QueryByCriteria query) {\n boolean platformMySQL = broker.serviceSqlGenerator().getPlatform() instanceof PlatformMySQLImpl;\n\n Map<String, String> attributes = getAttributes();\n for (String attributeName : attributes.keySet()) {\n if (!attributeName.startsWith(ORDER_BY_FIELD)) {\n continue;\n }\n\n String fieldName = attributeName.substring(ORDER_BY_FIELD.length());\n ClassDescriptor itemClassDescriptor = broker.getClassDescriptor(cod.getItemClass());\n FieldDescriptor orderByFieldDescriptior = itemClassDescriptor.getFieldDescriptorByName(fieldName);\n\n // the column to sort on derived from the property name\n String orderByColumnName = orderByFieldDescriptior.getColumnName();\n\n // ascending or descending\n String fieldValue = attributes.get(attributeName);\n boolean ascending = (StringUtils.equals(fieldValue, ASCENDING));\n // throw an error if not ascending or descending\n if (!ascending && StringUtils.equals(fieldValue, DESCENDING)) {\n throw new RuntimeException(\"neither ASC nor DESC was specified in ojb file for \" + fieldName);\n }\n\n if (platformMySQL) {\n // by negating the column name in MySQL we can get nulls last (ascending or descending)\n String mysqlPrefix = (ascending) ? MYSQL_NEGATION : \"\";\n query.addOrderBy(mysqlPrefix + orderByColumnName, false);\n } else {\n query.addOrderBy(orderByColumnName, ascending);\n }\n }\n return query;\n }",
"OrderByClauseArgs createOrderByClauseArgs();",
"public static void setPreferredSortingCriterion(Context context, String newCriterion){\n\n SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(context);\n SharedPreferences.Editor editor = sp.edit();\n\n String keyForSortingCriterion = context.getString(R.string.pref_sort_criterion_key);\n\n editor.putString(keyForSortingCriterion,newCriterion);\n editor.apply();\n }",
"public void sort() {\r\n // sort the process variables\r\n Arrays.sort(pvValues, categoryComparator);\r\n fireTableDataChanged();\r\n }",
"public void setSortOrder(BigDecimal value) {\r\n setAttributeInternal(SORTORDER, value);\r\n }",
"public void setSortNumber(int sortNumber) {\n this.sortNumber = sortNumber;\n }",
"public void setSortdirection(String sortdirection) {\n\t\tparameters.put(\"sortdirection\", sortdirection);\n\t}",
"@VTID(26)\n void setSortItems(\n com.exceljava.com4j.excel.XlSlicerSort rhs);",
"public void setSortnum(Integer sortnum) {\n this.sortnum = sortnum;\n }",
"public void setSorting(final GallerySorting gallerySorting) {\n\t\t_currentSorting = gallerySorting;\r\n\t}",
"public interface UserSortField extends CriteriaSort {\n public boolean isSortDescByDefault();\n}",
"@Override\n\tpublic void setSortCounters(boolean sortCounters) {\n\t\t\n\t}",
"private String getOrderBy( List<Integer> listSortBy )\n {\n StringBuffer strOrderBy = new StringBuffer( );\n String strReturn = SuggestUtils.EMPTY_STRING;\n int ncpt = 0;\n\n if ( ( listSortBy != null ) && ( listSortBy.size( ) != 0 ) )\n {\n strOrderBy.append( SQL_ORDER_BY );\n\n for ( Integer sort : listSortBy )\n {\n ncpt++;\n\n switch ( sort )\n {\n case SubmitFilter.SORT_BY_DATE_RESPONSE_ASC:\n strOrderBy.append( SQL_FILTER_SORT_BY_DATE_RESPONSE_ASC );\n\n break;\n\n case SubmitFilter.SORT_BY_DATE_RESPONSE_DESC:\n strOrderBy.append( SQL_FILTER_SORT_BY_DATE_RESPONSE_DESC );\n\n break;\n\n case SubmitFilter.SORT_BY_SCORE_ASC:\n strOrderBy.append( SQL_FILTER_SORT_BY_SCORE_ASC );\n\n break;\n\n case SubmitFilter.SORT_BY_SCORE_DESC:\n strOrderBy.append( SQL_FILTER_SORT_BY_SCORE_DESC );\n\n break;\n\n case SubmitFilter.SORT_BY_NUMBER_COMMENT_ASC:\n strOrderBy.append( SQL_FILTER_SORT_BY_NUMBER_COMMENT_ENABLE_ASC );\n\n break;\n\n case SubmitFilter.SORT_BY_NUMBER_COMMENT_DESC:\n strOrderBy.append( SQL_FILTER_SORT_BY_NUMBER_COMMENT_ENABLE_DESC );\n\n break;\n\n case SubmitFilter.SORT_BY_NUMBER_VIEW_ASC:\n strOrderBy.append( SQL_FILTER_SORT_BY_NUMBER_VIEW_ASC );\n\n break;\n\n case SubmitFilter.SORT_BY_NUMBER_VIEW_DESC:\n strOrderBy.append( SQL_FILTER_SORT_BY_NUMBER_VIEW_DESC );\n\n break;\n\n case SubmitFilter.SORT_BY_NUMBER_VOTE_ASC:\n strOrderBy.append( SQL_FILTER_SORT_BY_NUMBER_VOTE_ASC );\n\n break;\n\n case SubmitFilter.SORT_BY_NUMBER_VOTE_DESC:\n strOrderBy.append( SQL_FILTER_SORT_BY_NUMBER_VOTE_DESC );\n\n break;\n\n case SubmitFilter.SORT_MANUALLY:\n strOrderBy.append( SQL_FILTER_SORT_MANUALLY );\n\n break;\n\n default:\n break;\n }\n\n if ( ncpt < listSortBy.size( ) )\n {\n strOrderBy.append( \",\" );\n }\n }\n\n strReturn = strOrderBy.toString( );\n\n if ( strReturn.endsWith( \",\" ) )\n {\n strReturn = strReturn.substring( 0, strReturn.length( ) - 1 );\n }\n }\n\n return strReturn;\n }",
"@Override\n\tprotected String getDefaultOrderBy() {\n\t\treturn \"date asc\";\n\t}",
"public void sort() {\n if (sorter != null)\n sort(sorter);\n }",
"public void setTimeSort(Integer timeSort) {\n this.timeSort = timeSort;\n }",
"public void setSortState(final Object[] sortPropertyIds,\r\n\t\t\tfinal boolean[] sortPropertyAscendingStates) {\r\n\t\tthis.sortPropertyIds = sortPropertyIds;\r\n\t\tthis.sortPropertyAscendingStates = sortPropertyAscendingStates;\r\n\t}",
"Sort desc(QueryParameter parameter);",
"public void setMessageSort(String messageSort);",
"public void setSortByFields (LSPSortByField[] sortByFields) {\r\n this.sortByFields = sortByFields;\r\n }",
"public ResourceCountListSorter(int criteria) {\r\n\t\tsuper();\r\n\t\tthis.criteria = criteria;\r\n\t}",
"@Override\n\tpublic void onToggleSort(String header) {\n\t\tsynapseClient.toggleSortOnTableQuery(this.startingQuery.getSql(), header, new AsyncCallback<String>(){\n\t\t\t@Override\n\t\t\tpublic void onFailure(Throwable caught) {\n\t\t\t\tshowError(caught);\n\t\t\t}\n\n\t\t\t@Override\n\t\t\tpublic void onSuccess(String sql) {\n\t\t\t\trunSql(sql);\n\t\t\t}});\n\t}",
"private void updateFilteringAndSorting() {\n log.debug(\"update filtering of adapter called\");\n if (lastUsedComparator != null) {\n sortWithoutNotify(lastUsedComparator, lastUsedAsc);\n }\n Filter filter = getFilter();\n if (filter instanceof UpdateableFilter){\n ((UpdateableFilter)filter).updateFiltering();\n }\n }",
"public final native void setSortOrder(String sortOrder) /*-{\n this.setSortOrder(sortOrder);\n }-*/;"
]
| [
"0.7049929",
"0.63504857",
"0.6185794",
"0.60383314",
"0.5978306",
"0.5975881",
"0.59571683",
"0.5956608",
"0.59482586",
"0.59482586",
"0.59482586",
"0.59482586",
"0.59482586",
"0.59482586",
"0.59482586",
"0.59482586",
"0.59482586",
"0.58814394",
"0.58601564",
"0.58518916",
"0.58450896",
"0.58131874",
"0.58025205",
"0.57988805",
"0.5778923",
"0.57760096",
"0.5692595",
"0.5684783",
"0.56784004",
"0.56760067",
"0.567481",
"0.5663482",
"0.5651124",
"0.56465566",
"0.564279",
"0.5595476",
"0.5590585",
"0.5585956",
"0.55754113",
"0.55692077",
"0.5565461",
"0.5547422",
"0.5539142",
"0.5528075",
"0.550993",
"0.548732",
"0.54826415",
"0.5465356",
"0.5459949",
"0.5450578",
"0.5446423",
"0.5445571",
"0.54414755",
"0.5435436",
"0.5430162",
"0.5425775",
"0.542433",
"0.5386462",
"0.53846824",
"0.536798",
"0.5364651",
"0.53634083",
"0.5359166",
"0.53552884",
"0.5345045",
"0.5342457",
"0.53293824",
"0.53274107",
"0.53273624",
"0.53202057",
"0.53197974",
"0.5303594",
"0.5301379",
"0.5289624",
"0.5289498",
"0.52801776",
"0.52792704",
"0.5250238",
"0.52405155",
"0.5236734",
"0.52232367",
"0.5218488",
"0.52169734",
"0.5212508",
"0.5205932",
"0.5202246",
"0.51957643",
"0.51930314",
"0.5188134",
"0.5188",
"0.5182149",
"0.5164207",
"0.51639575",
"0.5155917",
"0.5155363",
"0.5152039",
"0.5149264",
"0.5147528",
"0.51382875",
"0.51293856"
]
| 0.53737605 | 59 |
Gets the limit to apply. The default is null. | public int getLimit() {
return limit;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Integer getLimit() {\n return limit;\n }",
"public float getLimit() {\n return limit;\n }",
"public int getLimit() {\n return limit;\n }",
"public Double getLimit() {\n return limit;\n }",
"public int getLimit() {\r\n return limit;\r\n }",
"public int getLimit() {\n\t\treturn limit;\n\t}",
"public int getLimit() {\n\t\treturn limit;\n\t}",
"public int getLimit() {\n\t\t\treturn limit;\n\t\t}",
"public Long getLimit() {\n return this.limit;\n }",
"public Long getLimit() {\n return this.Limit;\n }",
"public Long getLimit() {\n return this.Limit;\n }",
"public double getLimit() {return limit;}",
"public int getLimit() {\n\treturn Limit;\n }",
"public String getLimit() {\r\n\t\treturn this.limit;\r\n\t}",
"public int getLimit(){\r\n return limit;\r\n\r\n }",
"int getLimit();",
"int getLimit();",
"protected Limit getLimit() {\n return new Limit(skip, limit);\n }",
"private int getCurrentLimit(){\n\t\treturn this.LIMIT;\n\t}",
"public Integer getLimitnumber() {\n return limitnumber;\n }",
"public com.google.protobuf.Int32Value getLimit() {\n return limit_ == null ? com.google.protobuf.Int32Value.getDefaultInstance() : limit_;\n }",
"public long limit();",
"public int getLimitNum() {\r\n return this.limitNum;\r\n }",
"public int capturedLimit() {\n return this.limit.get();\n }",
"public com.google.protobuf.Int32Value getLimit() {\n return instance.getLimit();\n }",
"public Integer getResultLimit()\n {\n if (resultLimit == null)\n {\n return HPCCWsWorkUnitsClient.defaultResultLimit;\n }\n return resultLimit;\n }",
"public java.math.BigInteger getLimit()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.SimpleValue target = null;\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(LIMIT$6, 0);\r\n if (target == null)\r\n {\r\n return null;\r\n }\r\n return target.getBigIntegerValue();\r\n }\r\n }",
"@ApiModelProperty(value = \"The maximum number of payments to return in a single response. This value cannot exceed 200.\")\n public Integer getLimit() {\n return limit;\n }",
"public Integer getLimitStart() {\r\n return limitStart;\r\n }",
"public Integer getLimitEnd() {\r\n return limitEnd;\r\n }",
"public String getLimit_Base();",
"public float getUsedLimit() {\n return usedLimit;\n }",
"public static double calculateLimit() {\n return 500;\n }",
"public double getNumericalLimit() {\n\treturn NUMERICAL_LIMIT;\n }",
"public int getLimitStart() {\n return limitStart;\n }",
"public int getLimitStart() {\n return limitStart;\n }",
"public int getLimitStart() {\n return limitStart;\n }",
"public org.apache.xmlbeans.XmlNonNegativeInteger xgetLimit()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.XmlNonNegativeInteger target = null;\r\n target = (org.apache.xmlbeans.XmlNonNegativeInteger)get_store().find_element_user(LIMIT$6, 0);\r\n return target;\r\n }\r\n }",
"public int getLimitEnd() {\n return limitEnd;\n }",
"public int getLimitEnd() {\n return limitEnd;\n }",
"public java.lang.Double getLimitUsageRate() {\n return limitUsageRate;\n }",
"String getLimit(boolean hasWhereClause, long limit);",
"public double getQuotaLimit() {\n\t\treturn this.quotaLimit;\n\t}",
"@Deprecated\n public static int getLimit() {\n return LIMIT;\n }",
"Limit createLimit();",
"public int getSizeLimit() {\n\t\treturn sizeLimit;\n\t}",
"public Long getFlowLimit() {\r\n \treturn flowLimit;\r\n }",
"public void setLimit(Integer limit) {\n this.limit = limit;\n }",
"public int getWeightLimit() {\n\t\treturn this.weightLimit;\n\t}",
"public double getMiterLimit(\n )\n {return miterLimit;}",
"@BeanTagAttribute(name = \"resultSetLimit\")\r\n public Integer getResultSetLimit() {\r\n return resultSetLimit;\r\n }",
"public int getLimitClauseCount() {\n return limitClauseCount;\n }",
"public int getLimitClauseCount() {\n return limitClauseCount;\n }",
"public void setLimit(Long Limit) {\n this.Limit = Limit;\n }",
"public void setLimit(Long Limit) {\n this.Limit = Limit;\n }",
"@SuppressWarnings(\"unchecked\")\n public Q limit(int limit) {\n this.limit = limit;\n return (Q) this;\n }",
"public LimitBuilder limit() {\n return memory.limit();\n }",
"public double getOverdraftLimit() {\n\t\treturn overdraftLimit;\n\t}",
"public String getLowerLimit() {\n return lowerLimit;\n }",
"public int getLimitClauseStart() {\n return limitClauseStart;\n }",
"public int getLimitClauseStart() {\n return limitClauseStart;\n }",
"public ListInfrastructure limit(Number limit) {\n put(\"limit\", limit);\n return this;\n }",
"public long getReportLimit()\n {\n if (this.rptLimitCount == 0L) {\n this.rptLimitCount = 1L;\n }\n return this.rptLimitCount;\n }",
"public long getTimeLimit() {\n\t\treturn timeLimit;\n\t}",
"public synchronized double getOutputLimit()\n {\n final String funcName = \"getOutputLimit\";\n\n if (debugEnabled)\n {\n dbgTrace.traceEnter(funcName, TrcDbgTrace.TraceLevel.API);\n dbgTrace.traceExit(funcName, TrcDbgTrace.TraceLevel.API, \"=%f\", outputLimit);\n }\n\n return outputLimit;\n }",
"public Integer getProjlimit() {\n return projlimit;\n }",
"public void setLimit(Long limit) {\n this.limit = limit;\n }",
"private int mobLimitPlacer(){\n if (gameWorld == GameWorld.NORMAL) return\n Api.getConfigManager().getWorldMobLimit();\n else return\n Api.getConfigManager().getNetherMobLimit();\n }",
"private static long getLimit(QueryModelNode node) {\n long offset = 0;\n if (node instanceof Slice) {\n Slice slice = (Slice) node;\n if (slice.hasOffset() && slice.hasLimit()) {\n return slice.getOffset() + slice.getLimit();\n } else if (slice.hasLimit()) {\n return slice.getLimit();\n } else if (slice.hasOffset()) {\n offset = slice.getOffset();\n }\n }\n QueryModelNode parent = node.getParentNode();\n if (parent instanceof Distinct || parent instanceof Reduced || parent instanceof Slice) {\n long limit = getLimit(parent);\n if (offset > 0L && limit < Long.MAX_VALUE) {\n return offset + limit;\n } else {\n return limit;\n }\n }\n return Long.MAX_VALUE;\n }",
"public ListConsole limit(Number limit) {\n put(\"limit\", limit);\n return this;\n }",
"public ListDNS limit(Number limit) {\n put(\"limit\", limit);\n return this;\n }",
"public Long getLimitClauseCount() {\r\n\t\treturn limitClauseCount;\r\n\t}",
"@Field(14) \n\tpublic double LimitPrice() {\n\t\treturn this.io.getDoubleField(this, 14);\n\t}",
"public void setLimit(int limit) {\n\tLimit = limit;\n }",
"public Integer getUploadlimit() {\n return uploadlimit;\n }",
"public static double getDefaultCreditLimit() \r\n\t{\r\n\t\t\r\n\t\treturn DEFAULT_CREDIT_LIMIT;\r\n\t\t\r\n\t}",
"@GetMapping(\"/limits\") \n\tpublic LimitConfiguration retriveLimitsFromConfigurations() \n\t{\n\t\treturn new LimitConfiguration(configuration.getMaximum(), configuration.getMaximum()); \n\t}",
"public Long getLimitClauseStart() {\r\n\t\treturn limitClauseStart;\r\n\t}",
"public ListBuild limit(Number limit) {\n put(\"limit\", limit);\n return this;\n }",
"public void setLimit(int limit) {\n this.limit = limit;\n }",
"public void setLimit(int limit) {\n this.limit = limit;\n }",
"public Byte getSourcelimit() {\n return sourcelimit;\n }",
"Limits limits();",
"public final CQLParser.limitOptions_return limitOptions() throws RecognitionException {\n CQLParser.limitOptions_return retval = new CQLParser.limitOptions_return();\n retval.start = input.LT(1);\n\n Object root_0 = null;\n\n Token LIMIT20=null;\n List list_ld=null;\n RuleReturnScope ld = null;\n Object LIMIT20_tree=null;\n RewriteRuleTokenStream stream_LIMIT=new RewriteRuleTokenStream(adaptor,\"token LIMIT\");\n RewriteRuleSubtreeStream stream_limitDefinition=new RewriteRuleSubtreeStream(adaptor,\"rule limitDefinition\");\n errorMessageStack.push(\"LIMIT statement\"); \n try {\n // /home/chinaski/programming/agile_workspace/ExplorerCat/src/main/antlr3/net/explorercat/cql/parser/CQL.g:244:2: ( LIMIT (ld+= limitDefinition )+ -> ^( LIMIT ( $ld)+ ) )\n // /home/chinaski/programming/agile_workspace/ExplorerCat/src/main/antlr3/net/explorercat/cql/parser/CQL.g:244:4: LIMIT (ld+= limitDefinition )+\n {\n LIMIT20=(Token)match(input,LIMIT,FOLLOW_LIMIT_in_limitOptions637); \n stream_LIMIT.add(LIMIT20);\n\n // /home/chinaski/programming/agile_workspace/ExplorerCat/src/main/antlr3/net/explorercat/cql/parser/CQL.g:244:12: (ld+= limitDefinition )+\n int cnt9=0;\n loop9:\n do {\n int alt9=2;\n int LA9_0 = input.LA(1);\n\n if ( ((LA9_0>=TOP && LA9_0<=RANDOM)) ) {\n alt9=1;\n }\n\n\n switch (alt9) {\n \tcase 1 :\n \t // /home/chinaski/programming/agile_workspace/ExplorerCat/src/main/antlr3/net/explorercat/cql/parser/CQL.g:244:12: ld+= limitDefinition\n \t {\n \t pushFollow(FOLLOW_limitDefinition_in_limitOptions641);\n \t ld=limitDefinition();\n\n \t state._fsp--;\n\n \t stream_limitDefinition.add(ld.getTree());\n \t if (list_ld==null) list_ld=new ArrayList();\n \t list_ld.add(ld.getTree());\n\n\n \t }\n \t break;\n\n \tdefault :\n \t if ( cnt9 >= 1 ) break loop9;\n EarlyExitException eee =\n new EarlyExitException(9, input);\n throw eee;\n }\n cnt9++;\n } while (true);\n\n\n\n // AST REWRITE\n // elements: ld, LIMIT\n // token labels: \n // rule labels: retval\n // token list labels: \n // rule list labels: ld\n // wildcard labels: \n retval.tree = root_0;\n RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,\"rule retval\",retval!=null?retval.tree:null);\n RewriteRuleSubtreeStream stream_ld=new RewriteRuleSubtreeStream(adaptor,\"token ld\",list_ld);\n root_0 = (Object)adaptor.nil();\n // 245:3: -> ^( LIMIT ( $ld)+ )\n {\n // /home/chinaski/programming/agile_workspace/ExplorerCat/src/main/antlr3/net/explorercat/cql/parser/CQL.g:245:6: ^( LIMIT ( $ld)+ )\n {\n Object root_1 = (Object)adaptor.nil();\n root_1 = (Object)adaptor.becomeRoot(stream_LIMIT.nextNode(), root_1);\n\n if ( !(stream_ld.hasNext()) ) {\n throw new RewriteEarlyExitException();\n }\n while ( stream_ld.hasNext() ) {\n adaptor.addChild(root_1, stream_ld.nextTree());\n\n }\n stream_ld.reset();\n\n adaptor.addChild(root_0, root_1);\n }\n\n }\n\n retval.tree = root_0;\n }\n\n retval.stop = input.LT(-1);\n\n retval.tree = (Object)adaptor.rulePostProcessing(root_0);\n adaptor.setTokenBoundaries(retval.tree, retval.start, retval.stop);\n\n errorMessageStack.pop(); \n }\n \t\n \tcatch(RecognitionException re)\n \t{\t\n \t\treportError(re);\n \t\tthrow re;\n \t}\n finally {\n }\n return retval;\n }",
"public ListOAuth limit(Number limit) {\n put(\"limit\", limit);\n return this;\n }",
"public ListNetwork limit(Number limit) {\n put(\"limit\", limit);\n return this;\n }",
"public RateBasedStatement withLimit(Long limit) {\n setLimit(limit);\n return this;\n }",
"@Deprecated\n public V1beta1LimitResponse getLimitResponse() {\n return this.limitResponse!=null ?this.limitResponse.build():null;\n }",
"public void setLimit(int limit) {\n this.limit=limit;\n }",
"@Accessor(qualifier = \"redemptionQuantityLimit\", type = Accessor.Type.GETTER)\n\tpublic Integer getRedemptionQuantityLimit()\n\t{\n\t\treturn getPersistenceContext().getPropertyValue(REDEMPTIONQUANTITYLIMIT);\n\t}",
"public ListProxy limit(Number limit) {\n put(\"limit\", limit);\n return this;\n }",
"public TableVerticalLimitSettings limitSettings() {\n return this.limitSettings;\n }",
"public int getLimitZoneNumber() {\n return this.limitZoneNumber;\n }",
"public double getLimitingMag ( ) {\r\n\t\treturn limiting_mag;\r\n\t}",
"public ListOperatorHub limit(Number limit) {\n put(\"limit\", limit);\n return this;\n }",
"public boolean getCanLimit(){\n \treturn canLimit.get();\n }",
"public java.lang.String getFloorLimit() {\r\n return floorLimit;\r\n }",
"public int getLimit (CallZone zone){//method of returning how many minutes a card can call based on it's balance\r\n double maxMin = balance/costPerMin(zone);//equation of determining how many minutes remain per zone\r\n \r\n return (int)maxMin;\r\n }"
]
| [
"0.7631083",
"0.7488486",
"0.74309933",
"0.7398537",
"0.739496",
"0.73784024",
"0.73784024",
"0.7364361",
"0.7344337",
"0.7308199",
"0.7308199",
"0.7277102",
"0.7219052",
"0.7192991",
"0.7090794",
"0.7029176",
"0.7029176",
"0.7014445",
"0.6952581",
"0.69398564",
"0.682895",
"0.68185955",
"0.6815793",
"0.6782525",
"0.6775628",
"0.67502093",
"0.6732569",
"0.6603474",
"0.6491199",
"0.6438918",
"0.642395",
"0.63916284",
"0.63612604",
"0.62815326",
"0.6208765",
"0.6208765",
"0.6208765",
"0.6208593",
"0.6207315",
"0.6207315",
"0.61914647",
"0.6187947",
"0.6105182",
"0.61051065",
"0.6092593",
"0.60364044",
"0.6016475",
"0.6011554",
"0.5990416",
"0.59873635",
"0.5986003",
"0.59619755",
"0.59619755",
"0.5960377",
"0.5960377",
"0.59564745",
"0.59553844",
"0.59536326",
"0.5946228",
"0.58947086",
"0.58947086",
"0.58867276",
"0.58833534",
"0.5872016",
"0.5866007",
"0.5861638",
"0.5853438",
"0.5833333",
"0.5800416",
"0.5797596",
"0.5796392",
"0.57906663",
"0.5789812",
"0.57843333",
"0.5777015",
"0.5776733",
"0.57756495",
"0.57602465",
"0.57480234",
"0.5745762",
"0.57416767",
"0.57359314",
"0.57246655",
"0.57205147",
"0.57200587",
"0.57195854",
"0.57159513",
"0.5714872",
"0.5710127",
"0.5706195",
"0.56978774",
"0.5697829",
"0.5694748",
"0.5682262",
"0.56704247",
"0.5642373",
"0.56421155",
"0.5638519"
]
| 0.73837024 | 7 |
Sets the limit to apply. | public MapReduceToCollectionOperation limit(final int limit) {
this.limit = limit;
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"void setLimit(int limit);",
"public void setLimit(int limit) {\n\tLimit = limit;\n }",
"public void setMiterLimit(float limit);",
"public void setLimit(double limit) {\n\t\tthis.limit = limit;\n\t }",
"public void setLimit(Integer limit) {\n this.limit = limit;\n }",
"public void setLimit(int limit) {\n this.limit = limit;\n }",
"public void setLimit(int limit) {\n this.limit = limit;\n }",
"public void setLimit(int limit) {\n this.limit=limit;\n }",
"public void setLimit(int limit) {\n\t\tthis.limit = limit;\n\t}",
"public void setLimit(Long Limit) {\n this.Limit = Limit;\n }",
"public void setLimit(Long Limit) {\n this.Limit = Limit;\n }",
"public void setLimit(Long limit) {\n this.limit = limit;\n }",
"public void setLimit(float value) {\n this.limit = value;\n }",
"public LinearConstraint setLimit(Double limit) {\n this.limit = limit;\n return this;\n }",
"public void setLimit(java.math.BigInteger limit)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.SimpleValue target = null;\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(LIMIT$6, 0);\r\n if (target == null)\r\n {\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(LIMIT$6);\r\n }\r\n target.setBigIntegerValue(limit);\r\n }\r\n }",
"private void setLimit(\n com.google.protobuf.Int32Value.Builder builderForValue) {\n limit_ = builderForValue.build();\n \n }",
"void setLimit( Token t, int limit) {\r\n \tMExprToken tok = (MExprToken)t;\r\n \ttok.charEnd = limit;\r\n \ttok.charStart = limit;\r\n }",
"public void xsetLimit(org.apache.xmlbeans.XmlNonNegativeInteger limit)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.XmlNonNegativeInteger target = null;\r\n target = (org.apache.xmlbeans.XmlNonNegativeInteger)get_store().find_element_user(LIMIT$6, 0);\r\n if (target == null)\r\n {\r\n target = (org.apache.xmlbeans.XmlNonNegativeInteger)get_store().add_element_user(LIMIT$6);\r\n }\r\n target.set(limit);\r\n }\r\n }",
"public void setLimitNum(int limitNum) {\r\n this.limitNum = limitNum;\r\n this.endNum = this.skipNum + this.limitNum +1;\r\n }",
"public Builder limit(long limit) {\n this.limit = limit;\n return this;\n }",
"@Override\n public void setMiterLimit(double limit) {\n graphicsEnvironmentImpl.setMiterLimit(canvas, limit);\n }",
"DbQuery setLimit(Limit limit, int limitNum) {\n this.limit = limit;\n this.limitNum = limitNum;\n return this;\n }",
"public void setLimitStart(Integer limitStart) {\r\n this.limitStart=limitStart;\r\n }",
"public abstract void setSplayLimit(int limit);",
"public void setLimitnumber(Integer limitnumber) {\n this.limitnumber = limitnumber;\n }",
"public void setPowerLimit(double limit) {\n\t\tSystem.out.println(\"APPC poer limited to \" + limit);\n\t\tsetPowerRange(-limit, limit);\n\t}",
"@SuppressWarnings(\"unchecked\")\n public Q limit(int limit) {\n this.limit = limit;\n return (Q) this;\n }",
"public void setLimitStart(int limitStart) {\n this.limitStart=limitStart;\n }",
"public void setLimitStart(int limitStart) {\n this.limitStart=limitStart;\n }",
"public void setLimitStart(int limitStart) {\n this.limitStart=limitStart;\n }",
"private void setLimit(com.google.protobuf.Int32Value value) {\n if (value == null) {\n throw new NullPointerException();\n }\n limit_ = value;\n \n }",
"public void setSelectionLimiter(Limiter limiter)\n {\n\tthis.selectionLimiter = limiter;\n }",
"public void setReportLimit(long limit)\n {\n if (limit < 0L) {\n this.rptLimitCount = -1L;\n } else\n if (limit == 0L) {\n this.rptLimitCount = 1L;\n } else {\n this.rptLimitCount = limit;\n }\n //Print.logInfo(\"Report record limit: %d\", this.rptLimitCount);\n }",
"public void setLimitEnd(Integer limitEnd) {\r\n this.limitEnd=limitEnd;\r\n }",
"public void setLimitEnd(int limitEnd) {\n this.limitEnd=limitEnd;\n }",
"public void setLimitEnd(int limitEnd) {\n this.limitEnd=limitEnd;\n }",
"public double getLimit() {return limit;}",
"public void setLimit_Base (String Limit_Base);",
"@Override\r\n\tpublic void visit(InstanceLimitSetterNode instanceLimitSetterNode) {\n\t\tanalyzeExpression(instanceLimitSetterNode.getInstanceLimit());\r\n\t}",
"public Builder clearLimit() { copyOnWrite();\n instance.clearLimit();\n return this;\n }",
"public void setSelectionLimit(EventData.LimitType limitType, long limit)\n {\n this.selLimitType = (limitType != null)? limitType : EventData.LimitType.FIRST;\n this.setSelectionLimit(limit);\n }",
"public ListBuild limit(Number limit) {\n put(\"limit\", limit);\n return this;\n }",
"public static void SetMaxPassengers(double inLimit) \r\n {\r\n if (inLimit > 0) \r\n {\r\n maxPassengers = inLimit;\r\n } \r\n else \r\n {\r\n maxPassengers = 0;\r\n }\r\n }",
"public void setLimitTimestamp (long timestamp);",
"public FoursquarePathBuilder setLimit(Integer limit) {\n String limits = limit.toString();\n addParameter(\"limit\", limits);\n return this;\n }",
"public int getLimit() {\n return limit;\n }",
"public RateBasedStatement withLimit(Long limit) {\n setLimit(limit);\n return this;\n }",
"public void setLimit(int start, int limit) {\n this.start = start;\n this.limit = limit;\n }",
"public void setSelectionLimit(long limit)\n {\n if (limit < 0L) {\n this.selLimitCount = -1L;\n } else\n if (limit == 0L) {\n this.selLimitCount = 1L;\n } else {\n this.selLimitCount = limit;\n }\n }",
"public ListInfrastructure limit(Number limit) {\n put(\"limit\", limit);\n return this;\n }",
"public TorqueSlewLimiter(final double limit) {\n this.limitAsc = limit;\n this.limitDesc = limit;\n }",
"public static double calculateLimit() {\n return 500;\n }",
"public int getLimit() {\r\n return limit;\r\n }",
"public ListConsole limit(Number limit) {\n put(\"limit\", limit);\n return this;\n }",
"public ListDNS limit(Number limit) {\n put(\"limit\", limit);\n return this;\n }",
"Limits limits();",
"public void setRowLimit(int newVal, ObjectChangeSink sink)\n {\n if(newVal==getRowLimit()) return;\n\n if(rootObj.isAutoValidate())\n _get_objectmanager().validate_rowLimit(new ObjectManagerContextImpl(Action.SET), newVal, this);\n\n ((TableReadCapabilityAttributesExtension)_imfObject).setRowLimit(newVal);\n Utils.setBitCascade(sink, getAdaptee());\n if (sink != null) {\n ObjectChange change = createPropertyChange(getAdaptee(), TableReadCapabilityAttributesExtension.Properties.ROW_LIMIT);\n sink.addObjectChange(getAdaptee(), change);\n }\n\n\n }",
"public int getLimit() {\n return limit;\n }",
"public int getLimit() {\n return limit;\n }",
"public int getLimit() {\n return limit;\n }",
"public ListProxy limit(Number limit) {\n put(\"limit\", limit);\n return this;\n }",
"public ListIngress limit(Number limit) {\n put(\"limit\", limit);\n return this;\n }",
"public ListOperatorHub limit(Number limit) {\n put(\"limit\", limit);\n return this;\n }",
"private void setMaxThreshold() {\n maxThreshold = value - value * postBoundChange / 100;\n }",
"public float getLimit() {\n return limit;\n }",
"public ListOAuth limit(Number limit) {\n put(\"limit\", limit);\n return this;\n }",
"public void update(Limit limit);",
"public ListScheduler limit(Number limit) {\n put(\"limit\", limit);\n return this;\n }",
"public Integer getLimit() {\n return limit;\n }",
"public int getLimit() {\n\t\t\treturn limit;\n\t\t}",
"public int getLimit() {\n\t\treturn limit;\n\t}",
"public int getLimit() {\n\t\treturn limit;\n\t}",
"public int getLimit() {\n\treturn Limit;\n }",
"public int getLimit(){\r\n return limit;\r\n\r\n }",
"public long setLimit(final long time) {\n this.limitTime = time;\n return this.limitTime;\n }",
"public void SetLimit(long FaceBoundaries) {\n OCCwrapJavaJNI.BRepAlgo_NormalProjection_SetLimit__SWIG_0(swigCPtr, this, FaceBoundaries);\n }",
"public void setIterationLimit(int limit) {\n\t\titerationLimit = limit;\n\t }",
"public void setFrameLimit(int value) {\n\t\tframeLimit = value;\n\t}",
"public Double getLimit() {\n return limit;\n }",
"public ListNetwork limit(Number limit) {\n put(\"limit\", limit);\n return this;\n }",
"public Long getLimit() {\n return this.Limit;\n }",
"public Long getLimit() {\n return this.Limit;\n }",
"public void setCurrentLimitAndOffset(int LIMIT, int OFFSET){\n\t\tthis.LIMIT = LIMIT;\n\t\tthis.OFFSET = OFFSET;\n\t}",
"Limit createLimit();",
"public void setNumericalLimit(double value) {\n\tif (value < 0) {\n\t String msg = errorMsg(\"lessThanZero\", value);\n\t throw new IllegalArgumentException(msg);\n\t}\n\tNUMERICAL_LIMIT = value;\n }",
"public synchronized void setOutputLimit(double limit)\n {\n limit = Math.abs(limit);\n setOutputRange(-limit, limit);\n }",
"void setLinesLimit(int value);",
"void setMaxResults(int limit);",
"public final void setRowLimit(int newObj)throws SL_Exception\n {\n setRowLimit(newObj, null);\n }",
"public C setSizeLimit(int sizeLimit) {\n\t\tcheckArgument(sizeLimit >= 100, \"sizeLimit must be >= 100, given: %s\",\n\t\t\t\tsizeLimit);\n\t\tthis.sizeLimit = sizeLimit;\n\t\treturn model;\n\t}",
"public Long getLimit() {\n return this.limit;\n }",
"public void setNilLimit()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.XmlNonNegativeInteger target = null;\r\n target = (org.apache.xmlbeans.XmlNonNegativeInteger)get_store().find_element_user(LIMIT$6, 0);\r\n if (target == null)\r\n {\r\n target = (org.apache.xmlbeans.XmlNonNegativeInteger)get_store().add_element_user(LIMIT$6);\r\n }\r\n target.setNil();\r\n }\r\n }",
"public long limit();",
"public void setLevelLimit(Integer levelLimit) {\n\t\tthis.levelLimit = levelLimit;\r\n\t}",
"@JsProperty\n public void setMiterLimit(int miterLimit);",
"public void setMaxResults(int wordLimit) {\r\n\t\tthis.wordLimit = wordLimit;\r\n\t}",
"public ListFeatureGate limit(Number limit) {\n put(\"limit\", limit);\n return this;\n }",
"public void setRateLimiter(RateLimiter rateLimiter) {\n this.rateLimiter = rateLimiter;\n }",
"public Builder setLimit(\n com.google.protobuf.Int32Value.Builder builderForValue) {\n copyOnWrite();\n instance.setLimit(builderForValue);\n return this;\n }",
"public final void Mark(int markLimit)\n\t{\n\t}"
]
| [
"0.78804284",
"0.7593003",
"0.75342983",
"0.7492706",
"0.74893016",
"0.7475915",
"0.7456619",
"0.7420505",
"0.7324696",
"0.7300314",
"0.7300314",
"0.72472185",
"0.72040576",
"0.7083565",
"0.7020486",
"0.70175755",
"0.7010729",
"0.69441986",
"0.67863446",
"0.6724105",
"0.6721901",
"0.67051965",
"0.66437423",
"0.66303176",
"0.6623381",
"0.66079086",
"0.6573155",
"0.65325606",
"0.65325606",
"0.65325606",
"0.6509051",
"0.64783156",
"0.64647275",
"0.6459678",
"0.6452498",
"0.6452498",
"0.64503485",
"0.64359725",
"0.6412158",
"0.6377668",
"0.634063",
"0.63378775",
"0.63372195",
"0.63113767",
"0.631103",
"0.63084376",
"0.6282286",
"0.626909",
"0.62582535",
"0.625004",
"0.62427515",
"0.62297213",
"0.6214554",
"0.6200991",
"0.6193207",
"0.61821455",
"0.6170285",
"0.61686754",
"0.61686754",
"0.61686754",
"0.6168286",
"0.6125789",
"0.6120832",
"0.6120104",
"0.611315",
"0.61108816",
"0.61107457",
"0.6109432",
"0.6101093",
"0.60972327",
"0.6090118",
"0.6090118",
"0.6087294",
"0.6085804",
"0.6067757",
"0.6066949",
"0.60598904",
"0.60554445",
"0.6039666",
"0.6037372",
"0.60328853",
"0.60328853",
"0.6027897",
"0.602161",
"0.5998575",
"0.5995512",
"0.59867674",
"0.59862363",
"0.59852844",
"0.598434",
"0.59807545",
"0.5975758",
"0.5972821",
"0.59395194",
"0.59348136",
"0.5929477",
"0.59287137",
"0.5928712",
"0.59098023",
"0.5906805"
]
| 0.62933916 | 46 |
Gets the flag that specifies whether to convert intermediate data into BSON format between the execution of the map and reduce functions. Defaults to false. | public boolean isJsMode() {
return jsMode;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setConcatTransforms(boolean flag) {\n concatTransforms = flag;\n }",
"public boolean isOkToConvert()\n {\n return _okToConvert;\n }",
"public boolean getConcatTransforms() {\n return concatTransforms;\n }",
"public MapReduceOutput mapReduce(final MapReduceCommand command) {\n ReadPreference readPreference = command.getReadPreference() == null ? getReadPreference() : command.getReadPreference();\n Map<String, Object> scope = command.getScope();\n Boolean jsMode = command.getJsMode();\n if (command.getOutputType() == MapReduceCommand.OutputType.INLINE) {\n\n MapReduceWithInlineResultsOperation<DBObject> operation =\n new MapReduceWithInlineResultsOperation<>(getNamespace(), new BsonJavaScript(command.getMap()),\n new BsonJavaScript(command.getReduce()), getDefaultDBObjectCodec())\n .filter(wrapAllowNull(command.getQuery()))\n .limit(command.getLimit())\n .maxTime(command.getMaxTime(MILLISECONDS), MILLISECONDS)\n .jsMode(jsMode != null && jsMode)\n .sort(wrapAllowNull(command.getSort()))\n .verbose(command.isVerbose())\n .collation(command.getCollation());\n\n if (scope != null) {\n operation.scope(wrap(new BasicDBObject(scope)));\n }\n if (command.getFinalize() != null) {\n operation.finalizeFunction(new BsonJavaScript(command.getFinalize()));\n }\n MapReduceBatchCursor<DBObject> executionResult = executor.execute(operation, readPreference, getReadConcern());\n return new MapReduceOutput(command.toDBObject(), executionResult);\n } else {\n String action;\n switch (command.getOutputType()) {\n case REPLACE:\n action = \"replace\";\n break;\n case MERGE:\n action = \"merge\";\n break;\n case REDUCE:\n action = \"reduce\";\n break;\n default:\n throw new IllegalArgumentException(\"Unexpected output type\");\n }\n\n MapReduceToCollectionOperation operation =\n new MapReduceToCollectionOperation(getNamespace(),\n new BsonJavaScript(command.getMap()),\n new BsonJavaScript(command.getReduce()),\n command.getOutputTarget(),\n getWriteConcern())\n .filter(wrapAllowNull(command.getQuery()))\n .limit(command.getLimit())\n .maxTime(command.getMaxTime(MILLISECONDS), MILLISECONDS)\n .jsMode(jsMode != null && jsMode)\n .sort(wrapAllowNull(command.getSort()))\n .verbose(command.isVerbose())\n .action(action)\n .databaseName(command.getOutputDB())\n .bypassDocumentValidation(command.getBypassDocumentValidation())\n .collation(command.getCollation());\n\n if (scope != null) {\n operation.scope(wrap(new BasicDBObject(scope)));\n }\n if (command.getFinalize() != null) {\n operation.finalizeFunction(new BsonJavaScript(command.getFinalize()));\n }\n try {\n MapReduceStatistics mapReduceStatistics = executor.execute(operation, getReadConcern());\n DBCollection mapReduceOutputCollection = getMapReduceOutputCollection(command);\n DBCursor executionResult = mapReduceOutputCollection.find();\n return new MapReduceOutput(command.toDBObject(), executionResult, mapReduceStatistics, mapReduceOutputCollection);\n } catch (MongoWriteConcernException e) {\n throw createWriteConcernException(e);\n }\n }\n }",
"public boolean getNormalizationState();",
"public void forceSerializeCopy(boolean bool) {\r\n this.FORCE_SERIALIZE_COPY = bool;\r\n }",
"public MapReduceToCollectionOperation bypassDocumentValidation(final Boolean bypassDocumentValidation) {\n this.bypassDocumentValidation = bypassDocumentValidation;\n return this;\n }",
"public Boolean getIsmap() {\n return (Boolean) attributes.get(\"ismap\");\n }",
"public MapReduceToCollectionOperation verbose(final boolean verbose) {\n this.verbose = verbose;\n return this;\n }",
"public GeoBoolean getResult() {\n\t\treturn outputBoolean;\n\t}",
"public int getIsOnMap() {\n return isOnMap;\n }",
"public void setNormalizationState(boolean flag);",
"public void setOkToConvert(boolean okToConvert)\n {\n _okToConvert = okToConvert;\n }",
"@Input\n @Incubating\n public boolean isPreserveFileTimestamps() {\n return preserveFileTimestamps;\n }",
"private void registerBooleanConversions(ITypeManager typeManager) {\n\t\ttypeManager.registerConverter(BsonBoolean.class, String.class, \n\t\t\t(Object val) -> ToCoreStrUtils.bsonBool2Str((BsonBoolean) val));\n\t\ttypeManager.registerConverter(BsonBoolean.class, Byte.class, \n\t\t\t(Object val) -> ToCoreByteUtils.bsonBool2Byte((BsonBoolean) val));\n\t\ttypeManager.registerConverter(BsonBoolean.class, Character.class, \n\t\t\t(Object val) -> ToCoreChrUtils.bsonBool2Chr((BsonBoolean) val));\n\t\ttypeManager.registerConverter(BsonBoolean.class, Short.class, \n\t\t\t(Object val) -> ToCoreShrtUtils.bsonBool2Shrt((BsonBoolean) val));\n\t\ttypeManager.registerConverter(BsonBoolean.class, Integer.class, \n\t\t\t(Object val) -> ToCoreIntUtils.bsonBool2Int((BsonBoolean) val));\n\t\ttypeManager.registerConverter(BsonBoolean.class, Long.class, \n\t\t\t(Object val) -> ToCoreLngUtils.bsonBool2Lng((BsonBoolean) val));\n\t\ttypeManager.registerConverter(BsonBoolean.class, BigInteger.class, \n\t\t\t(Object val) -> ToCoreBgiUtils.bsonBool2Bgi((BsonBoolean) val));\n\t\ttypeManager.registerConverter(BsonBoolean.class, Float.class, \n\t\t\t(Object val) -> ToCoreFltUtils.bsonBool2Flt((BsonBoolean) val));\n\t\ttypeManager.registerConverter(BsonBoolean.class, Double.class, \n\t\t\t(Object val) -> ToCoreDblUtils.bsonBool2Dbl((BsonBoolean) val));\n\t\ttypeManager.registerConverter(BsonBoolean.class, BigDecimal.class, \n\t\t\t(Object val) -> ToCoreBgdUtils.bsonBool2Bgd((BsonBoolean) val));\n\t}",
"private boolean isOutputAsRealMax() {\n return outputAsRealMax;\n }",
"FlattenOperationEvaluator(boolean allowDuplicates) {\r\n this.allowDuplicates = allowDuplicates;\r\n }",
"public String getOutputFlag();",
"private JSONArray booleanToJSON(boolean value) {\n JSONArray booleanJSON = new JSONArray();\n booleanJSON.put(0, value);\n return booleanJSON;\n }",
"public Value restrictToStrBoolNum() {\n checkNotPolymorphicOrUnknown();\n Value r = new Value(this);\n r.object_labels = r.getters = r.setters = null;\n r.flags &= STR | BOOL | NUM;\n return canonicalize(r);\n }",
"@JsonIgnore\n public Boolean isStandard() {\n return this.standard;\n }",
"private boolean isOutputAsRealMin() {\n return outputAsRealMin;\n }",
"public void setConverted(final boolean _converted)\n {\n this.converted = _converted;\n }",
"protected boolean batch() {\n return batch;\n }",
"boolean hasTransformValue();",
"public boolean useMmap() {\n\t\treturn useMmap;\n\t}",
"private String convertToString(boolean isUsed) {\n\t\tif (isUsed)\n\t\t\treturn \"1\";\n\t\treturn \"0\";\n\t}",
"@Input\n public boolean isOptimized() {\n return optimize;\n }",
"public Output<TInt64> remapping() {\n return remapping;\n }",
"boolean hasProduceResType();",
"private boolean getMigrates() {\n\t\treturn this.migrates;\n\t}",
"@java.lang.Override\n public boolean getImmediateOutputAllPrefetch() {\n return immediateOutputAllPrefetch_;\n }",
"boolean getImmediateOutputAllPrefetch();",
"@JsonProperty(\"staged\")\n public Boolean getStaged();",
"public boolean isTransformed() {\n\treturn nonIdentityTx;\n }",
"private boolean OPT(boolean b) {\r\n --save;\r\n return b || in == saves[save];\r\n }",
"@Override\n\tpublic boolean getInferTypes()\n {\n\t\treturn inferTypes;\n\t}",
"protected boolean isSaveSchema() {\n\t\treturn false;\n\t}",
"@java.lang.Override\n public boolean getImmediateOutputAllPrefetch() {\n return immediateOutputAllPrefetch_;\n }",
"@Override\n public boolean getAsBoolean() {\n return this.persistenceCheck.getAsBoolean();\n }",
"@VTID(11)\n boolean getOLAP();",
"protected boolean transformIncomingData() {\r\n\t\tboolean rB=false;\r\n\t\tArrayList<String> targetStruc ;\r\n\t\t\r\n\t\t\r\n\t\ttry {\r\n\t\t\t\r\n\t\t\tif (transformationModelImported == false){\r\n\t\t\t\testablishTransformationModel();\r\n\t\t\t}\r\n\t\t\t\r\n\t\t\t// soappTransform.requiredVariables\r\n\t\t\tif (transformationsExecuted == false){\r\n\t\t\t\texecuteTransformationModel();\r\n\t\t\t}\r\n\t\t\trB = transformationModelImported && transformationsExecuted ;\r\n\t\t\t\r\n\t\t} catch (Exception e) {\r\n\t\t\te.printStackTrace();\r\n\t\t}\r\n\t\treturn rB;\r\n\t}",
"public abstract Builder setOutputConfidenceMasks(boolean value);",
"public boolean isSetDataMap() {\n return this.dataMap != null;\n }",
"public boolean isSetDataMap() {\n return this.dataMap != null;\n }",
"public boolean isSetDataMap() {\n return this.dataMap != null;\n }",
"public boolean isSetDataMap() {\n return this.dataMap != null;\n }",
"public boolean isSetDataMap() {\n return this.dataMap != null;\n }",
"public boolean isSetDataMap() {\n return this.dataMap != null;\n }",
"public boolean isSetDataMap() {\n return this.dataMap != null;\n }",
"public boolean isSetDataMap() {\n return this.dataMap != null;\n }",
"public boolean isSetDataMap() {\n return this.dataMap != null;\n }",
"@Override\n final public String getTransform() {\n String transform = ScijavaGsonHelper.getGson(context).toJson(rt, RealTransform.class);\n //logger.debug(\"Serialization result = \"+transform);\n return transform;\n }",
"protected boolean areResultSetRowsTransformedImmediately() {\n \t\treturn false;\n \t}",
"public\t\tvoid\t\tsetIterateThroughAllLayers(boolean flag)\n\t\t{\n\t\titerateThroughAllLayers = flag;\n\t\tinitialize();\n\t\t}",
"public String getBoolput() {\n return boolput;\n }",
"public static int collectDefaults()\n {\n int flags = 0;\n for (JsonWriteFeature f : values()) {\n if (f.enabledByDefault()) {\n flags |= f.getMask();\n }\n }\n return flags;\n }",
"@Override\n public boolean isMapped() {\n return false;\n }",
"public void setOut(boolean out) {\n this.out = out;\n }",
"public void setEnableIntelligentMapping(boolean enableIntelligentMapping) {\n this.enableIntelligentMapping = enableIntelligentMapping;\n }",
"@Override\n public BooleanValue aggregate(EvaluationAccessor result, Value iter, EvaluationAccessor value, \n Map<Object, Object> data) throws ValueDoesNotMatchTypeException {\n return BooleanValue.FALSE;\n }",
"public void setOutputFlag(String flag);",
"public boolean hasResultJson() {\n return fieldSetFlags()[7];\n }",
"boolean isLiveDataAndMapsOnly();",
"public boolean getMappedFile();",
"public String getUseStandardMergeFiles()\n {\n return useStandardMergeFiles;\n }",
"public boolean getPrettify() {\n return _out.getPrettify();\n }",
"@Override\n public void writeExternal(ObjectOutput out) throws IOException {\n byte[] dataToSerialize = new byte[strings.size() + 1];\n int writeIndex = 0;\n for (int i = 0; i < strings.size(); ++i) {\n String str = strings.get(i);\n if (\"true\".equals(str)) {\n dataToSerialize[writeIndex++] = 1;\n } else if (\"false\".equals(str)) {\n dataToSerialize[writeIndex++] = 0;\n }\n }\n dataToSerialize[writeIndex] = -1;\n out.write(Arrays.copyOf(dataToSerialize, writeIndex));\n }",
"@Override\n\tpublic boolean hasAggFn() {\n\t\treturn false;\n\t}",
"public boolean getOutputFileValue(String name) {\n\tboolean ret = false;\n\tString value = (String) _outputFiles.get(name);\n\tif ((value!=null) && (value.toLowerCase().equals(\"true\"))) {\n\t ret = true;\n\t}\n\treturn ret;\n }",
"@Override\n void generateFalseData() {\n \n }",
"boolean hasImmediateOutputAllPrefetch();",
"public boolean getGenerateFlag()\r\n {\r\n return theGenerateFlag;\r\n }",
"public boolean isNativeMaps() {\n return internalNative != null;\n }",
"@ApiModelProperty(value = \"Whether the map should be shown for the event or not\")\n public Boolean isShowMap() {\n return showMap;\n }",
"public boolean isEncodeDefaults() {\n return encodeDefaults;\n }",
"com.google.protobuf.BoolValue getPersistent();",
"public boolean getInterproc() {\n return interproc;\n }",
"public BsonJavaScript getMapFunction() {\n return mapFunction;\n }",
"@JsonProperty(\"setEmptyMappings\")\n public Boolean getSetEmptyMappings() {\n return setEmptyMappings;\n }",
"public boolean getShowMap()\r\n {\r\n return showMap;\r\n }",
"@Generated\n @Selector(\"isHandlingWriting\")\n public native boolean isHandlingWriting();",
"public boolean getUseCollection()\r\n {\r\n return getString(UseCollection_, \"0\").compareTo(\"on\")==0;\r\n }",
"protected boolean isConverterWinsContentType() {\n\t\treturn this.converterWinsContentType;\n\t}",
"public FileQuerySerialization getOutputSerialization() {\n return outputSerialization;\n }",
"public boolean isVerbose() {\n \n // return it\n return showVerboseOutput;\n }",
"@javax.annotation.Nullable\n @ApiModelProperty(value = \"Set output format to JSON\")\n\n public Boolean getJson() {\n return json;\n }",
"public MapReduceToCollectionOperation jsMode(final boolean jsMode) {\n this.jsMode = jsMode;\n return this;\n }",
"public boolean hasConverter() {\n return getConverter() != null;\n }",
"public Boolean applicationMap() {\n return this.applicationMap;\n }",
"public boolean getShouldChangePatchAfterWrite()\n {\n return false; \n }",
"public boolean booleanValue(Map<Prop, Object> map) {\n assert type == Boolean.class;\n Object o = map.get(this);\n return this.<Boolean>typeValue(o);\n }",
"public Boolean enableBatchedOperations() {\n return this.enableBatchedOperations;\n }",
"@java.lang.Override\n public boolean hasTransformValue() {\n return typeCase_ == 14;\n }",
"public boolean getFlag(){\n\t\treturn flag;\n\t}",
"@java.lang.Override\n public boolean hasTransformValue() {\n return typeCase_ == 14;\n }",
"public String getIsFlag() {\r\n return isFlag;\r\n }",
"public Boolean getBestflag() {\n return bestflag;\n }",
"public boolean mo133102g() {\n return this.f113310i;\n }",
"@Override\r\n\tpublic boolean getOutput() {\n\t\treturn false;\r\n\t}",
"public Boolean getFlag() {\n return flag;\n }"
]
| [
"0.54559046",
"0.51434064",
"0.50614434",
"0.49151888",
"0.48340282",
"0.47847652",
"0.47376853",
"0.4714345",
"0.46907467",
"0.46656612",
"0.46613842",
"0.46548685",
"0.46139514",
"0.45710224",
"0.45404494",
"0.4531249",
"0.45200986",
"0.4484117",
"0.4476364",
"0.4470137",
"0.44693562",
"0.44400313",
"0.44329345",
"0.44279164",
"0.4425626",
"0.44110557",
"0.4402112",
"0.4394781",
"0.43944043",
"0.43727788",
"0.4344046",
"0.43411678",
"0.4333419",
"0.43267784",
"0.4325262",
"0.4316604",
"0.43120122",
"0.4303462",
"0.43009183",
"0.42963922",
"0.42726904",
"0.42640847",
"0.42523587",
"0.4246196",
"0.4246196",
"0.4246196",
"0.4246196",
"0.4246196",
"0.4246196",
"0.4246196",
"0.4246196",
"0.4246196",
"0.42447612",
"0.4232874",
"0.42215145",
"0.42211273",
"0.42197847",
"0.42093092",
"0.4206994",
"0.42033678",
"0.4201171",
"0.41941738",
"0.4188385",
"0.4183631",
"0.4177437",
"0.41767454",
"0.41755626",
"0.41491434",
"0.41469285",
"0.41463065",
"0.41462365",
"0.41455156",
"0.41450402",
"0.41404074",
"0.413913",
"0.41373575",
"0.41347733",
"0.41338825",
"0.41317156",
"0.41289926",
"0.41250855",
"0.41234666",
"0.4123414",
"0.41233116",
"0.4122861",
"0.41210976",
"0.41200817",
"0.41158813",
"0.4113412",
"0.4111869",
"0.41051507",
"0.41018462",
"0.4101106",
"0.40990725",
"0.40984386",
"0.40938306",
"0.40882728",
"0.40882304",
"0.40819088",
"0.40815136",
"0.40814522"
]
| 0.0 | -1 |
Sets the flag that specifies whether to convert intermediate data into BSON format between the execution of the map and reduce functions. Defaults to false. | public MapReduceToCollectionOperation jsMode(final boolean jsMode) {
this.jsMode = jsMode;
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setConcatTransforms(boolean flag) {\n concatTransforms = flag;\n }",
"public void setNormalizationState(boolean flag);",
"public void forceSerializeCopy(boolean bool) {\r\n this.FORCE_SERIALIZE_COPY = bool;\r\n }",
"public MapReduceToCollectionOperation bypassDocumentValidation(final Boolean bypassDocumentValidation) {\n this.bypassDocumentValidation = bypassDocumentValidation;\n return this;\n }",
"public void setConverted(final boolean _converted)\n {\n this.converted = _converted;\n }",
"public\t\tvoid\t\tsetIterateThroughAllLayers(boolean flag)\n\t\t{\n\t\titerateThroughAllLayers = flag;\n\t\tinitialize();\n\t\t}",
"public void setOkToConvert(boolean okToConvert)\n {\n _okToConvert = okToConvert;\n }",
"public MapReduceToCollectionOperation verbose(final boolean verbose) {\n this.verbose = verbose;\n return this;\n }",
"public void setEnableIntelligentMapping(boolean enableIntelligentMapping) {\n this.enableIntelligentMapping = enableIntelligentMapping;\n }",
"public abstract Builder setOutputConfidenceMasks(boolean value);",
"public MapReduceOutput mapReduce(final MapReduceCommand command) {\n ReadPreference readPreference = command.getReadPreference() == null ? getReadPreference() : command.getReadPreference();\n Map<String, Object> scope = command.getScope();\n Boolean jsMode = command.getJsMode();\n if (command.getOutputType() == MapReduceCommand.OutputType.INLINE) {\n\n MapReduceWithInlineResultsOperation<DBObject> operation =\n new MapReduceWithInlineResultsOperation<>(getNamespace(), new BsonJavaScript(command.getMap()),\n new BsonJavaScript(command.getReduce()), getDefaultDBObjectCodec())\n .filter(wrapAllowNull(command.getQuery()))\n .limit(command.getLimit())\n .maxTime(command.getMaxTime(MILLISECONDS), MILLISECONDS)\n .jsMode(jsMode != null && jsMode)\n .sort(wrapAllowNull(command.getSort()))\n .verbose(command.isVerbose())\n .collation(command.getCollation());\n\n if (scope != null) {\n operation.scope(wrap(new BasicDBObject(scope)));\n }\n if (command.getFinalize() != null) {\n operation.finalizeFunction(new BsonJavaScript(command.getFinalize()));\n }\n MapReduceBatchCursor<DBObject> executionResult = executor.execute(operation, readPreference, getReadConcern());\n return new MapReduceOutput(command.toDBObject(), executionResult);\n } else {\n String action;\n switch (command.getOutputType()) {\n case REPLACE:\n action = \"replace\";\n break;\n case MERGE:\n action = \"merge\";\n break;\n case REDUCE:\n action = \"reduce\";\n break;\n default:\n throw new IllegalArgumentException(\"Unexpected output type\");\n }\n\n MapReduceToCollectionOperation operation =\n new MapReduceToCollectionOperation(getNamespace(),\n new BsonJavaScript(command.getMap()),\n new BsonJavaScript(command.getReduce()),\n command.getOutputTarget(),\n getWriteConcern())\n .filter(wrapAllowNull(command.getQuery()))\n .limit(command.getLimit())\n .maxTime(command.getMaxTime(MILLISECONDS), MILLISECONDS)\n .jsMode(jsMode != null && jsMode)\n .sort(wrapAllowNull(command.getSort()))\n .verbose(command.isVerbose())\n .action(action)\n .databaseName(command.getOutputDB())\n .bypassDocumentValidation(command.getBypassDocumentValidation())\n .collation(command.getCollation());\n\n if (scope != null) {\n operation.scope(wrap(new BasicDBObject(scope)));\n }\n if (command.getFinalize() != null) {\n operation.finalizeFunction(new BsonJavaScript(command.getFinalize()));\n }\n try {\n MapReduceStatistics mapReduceStatistics = executor.execute(operation, getReadConcern());\n DBCollection mapReduceOutputCollection = getMapReduceOutputCollection(command);\n DBCursor executionResult = mapReduceOutputCollection.find();\n return new MapReduceOutput(command.toDBObject(), executionResult, mapReduceStatistics, mapReduceOutputCollection);\n } catch (MongoWriteConcernException e) {\n throw createWriteConcernException(e);\n }\n }\n }",
"FlattenOperationEvaluator(boolean allowDuplicates) {\r\n this.allowDuplicates = allowDuplicates;\r\n }",
"public void setIsmap(Boolean ismap) {\n attributes.put(\"ismap\", ismap);\n }",
"public void setOutputFlag(String flag);",
"public void setCalculateMultipleCriticalPaths(boolean flag)\r\n {\r\n m_calculateMultipleCriticalPaths = flag;\r\n }",
"private void registerBooleanConversions(ITypeManager typeManager) {\n\t\ttypeManager.registerConverter(BsonBoolean.class, String.class, \n\t\t\t(Object val) -> ToCoreStrUtils.bsonBool2Str((BsonBoolean) val));\n\t\ttypeManager.registerConverter(BsonBoolean.class, Byte.class, \n\t\t\t(Object val) -> ToCoreByteUtils.bsonBool2Byte((BsonBoolean) val));\n\t\ttypeManager.registerConverter(BsonBoolean.class, Character.class, \n\t\t\t(Object val) -> ToCoreChrUtils.bsonBool2Chr((BsonBoolean) val));\n\t\ttypeManager.registerConverter(BsonBoolean.class, Short.class, \n\t\t\t(Object val) -> ToCoreShrtUtils.bsonBool2Shrt((BsonBoolean) val));\n\t\ttypeManager.registerConverter(BsonBoolean.class, Integer.class, \n\t\t\t(Object val) -> ToCoreIntUtils.bsonBool2Int((BsonBoolean) val));\n\t\ttypeManager.registerConverter(BsonBoolean.class, Long.class, \n\t\t\t(Object val) -> ToCoreLngUtils.bsonBool2Lng((BsonBoolean) val));\n\t\ttypeManager.registerConverter(BsonBoolean.class, BigInteger.class, \n\t\t\t(Object val) -> ToCoreBgiUtils.bsonBool2Bgi((BsonBoolean) val));\n\t\ttypeManager.registerConverter(BsonBoolean.class, Float.class, \n\t\t\t(Object val) -> ToCoreFltUtils.bsonBool2Flt((BsonBoolean) val));\n\t\ttypeManager.registerConverter(BsonBoolean.class, Double.class, \n\t\t\t(Object val) -> ToCoreDblUtils.bsonBool2Dbl((BsonBoolean) val));\n\t\ttypeManager.registerConverter(BsonBoolean.class, BigDecimal.class, \n\t\t\t(Object val) -> ToCoreBgdUtils.bsonBool2Bgd((BsonBoolean) val));\n\t}",
"public void setOut(boolean out) {\n this.out = out;\n }",
"public\t\tvoid\t\tsetIterateIntoPartsOfParts(boolean flag)\n\t\t{\n\t\titerateIntoPartsOfParts = flag;\n\t\tinitialize();\n\t\t}",
"public void setFlag(Boolean flag) {\n this.flag = flag;\n }",
"public\t\tvoid\t\tsetIterateIntoAttachmentsOfParts(boolean flag)\n\t\t{\n\t\titerateIntoAttachmentsOfParts = flag;\n\t\tinitialize();\n\t\t}",
"public void enableConversion(Boolean f) {\n enabled = f;\n }",
"public void setDocument(boolean document) {\n\n this.document = document;\n }",
"public void setMapReduceEnabled(final boolean enabled) {\n _isMapReduceEnabled = enabled;\n }",
"public abstract Builder setOutputCategoryMask(boolean value);",
"@JsonSetter(\"srvLookup\")\r\n public void setSrvLookup (boolean value) { \r\n this.srvLookup = value;\r\n }",
"public void setCompressPut(boolean value) {\r\n this.compressPut = value;\r\n }",
"public boolean isOkToConvert()\n {\n return _okToConvert;\n }",
"private JSONArray booleanToJSON(boolean value) {\n JSONArray booleanJSON = new JSONArray();\n booleanJSON.put(0, value);\n return booleanJSON;\n }",
"default void setNeedToBeUpdated(boolean flag)\n {\n getUpdateState().update(flag);\n }",
"@Override\n\tpublic void setOptimizeMergeBuffer(boolean arg0) {\n\n\t}",
"public void setBatch(boolean batch) {\n this.batch = batch;\n }",
"public void setOp(boolean value) {}",
"public void setPopulateAvg(boolean tmp) {\n this.populateAvg = tmp;\n }",
"private void setMzDoublePrecision(boolean mz_double_precision)\r\n\t{\r\n\t\tthis.mz_double_precision = mz_double_precision;\r\n\t}",
"public Output<TInt64> remapping() {\n return remapping;\n }",
"public void setAutoSave(boolean flag) {\n\t\tautosave = flag;\n\t}",
"protected AbstractGeneratedPrefsTransform() {\n\t\tsuper(false);\n\t}",
"@JsonSetter(\"smsOutbound\")\r\n public void setSmsOutbound (boolean value) { \r\n this.smsOutbound = value;\r\n }",
"public boolean getConcatTransforms() {\n return concatTransforms;\n }",
"@Override\n public Builder trainSequencesRepresentation(boolean trainSequences) {\n throw new IllegalStateException(\"You can't change this option for Word2Vec\");\n }",
"final void setQryclsimpEnabled(boolean flag) {\n qryclsimpEnabled_ = flag;\n }",
"public void setOnOptimization(boolean b) {\n this.onOptimization = b;\n }",
"@Input\n @Incubating\n public boolean isPreserveFileTimestamps() {\n return preserveFileTimestamps;\n }",
"public void setProcessed (boolean Processed);",
"public void setProcessed (boolean Processed);",
"public void setProcessed (boolean Processed);",
"public void setProcessed (boolean Processed);",
"public void setProcessed (boolean Processed);",
"public void setProcessed (boolean Processed);",
"public void setOptimized(boolean optimize) {\n this.optimize = optimize;\n }",
"@Override\n public void writeExternal(ObjectOutput out) throws IOException {\n byte[] dataToSerialize = new byte[strings.size() + 1];\n int writeIndex = 0;\n for (int i = 0; i < strings.size(); ++i) {\n String str = strings.get(i);\n if (\"true\".equals(str)) {\n dataToSerialize[writeIndex++] = 1;\n } else if (\"false\".equals(str)) {\n dataToSerialize[writeIndex++] = 0;\n }\n }\n dataToSerialize[writeIndex] = -1;\n out.write(Arrays.copyOf(dataToSerialize, writeIndex));\n }",
"public void setIsNostroUpdateEnabled(String flag) {\n isNostroUpdateEnabled = (flag.equals(YES));\n updateParameters = true;\n }",
"public SamFilterParamsBuilder excludeUnmapped(final boolean val) {\n mExcludeUnmapped = val;\n return this;\n }",
"public void setProcessed (boolean Processed)\n{\nset_Value (\"Processed\", new Boolean(Processed));\n}",
"@Override\n public boolean isMapped() {\n return false;\n }",
"public void setForceOutput(boolean forceOutput)\r\n {\r\n this.forceOutput = forceOutput;\r\n }",
"private void setBooleanFlags (short flags){\n\t\tthis.flags = flags;\n\t\tflagResetNeeded = false;\n\t\tpartOfAPairedAlignment = isPartOfAPairedAlignment();\n\t\taProperPairedAlignment = isAProperPairedAlignment();\n\t\tunmapped = isUnmapped();\n\t\tmateUnMapped = isMateUnMapped();\n\t\treverseStrand = isReverseStrand();\n\t\tmateReverseStrand = isMateReverseStrand();\n\t\tfirstPair = isFirstPair();\n\t\tsecondPair = isSecondPair();\n\t\tnotAPrimaryAlignment = isNotAPrimaryAlignment();\n\t\tfailedQC = failedQC();\n\t\taDuplicate = isADuplicate();\n\t\t\n\t}",
"public void setCorrigeDatosRetencion(boolean corrigeDatosRetencion)\r\n/* 628: */ {\r\n/* 629:706 */ this.corrigeDatosRetencion = corrigeDatosRetencion;\r\n/* 630: */ }",
"public void setIsOnMap(final int isOnMap) {\n this.isOnMap = isOnMap;\n }",
"public void setShowMap( boolean show )\r\n {\r\n showMap = show;\r\n }",
"@JsonSetter(\"dnisEnabled\")\r\n public void setDnisEnabled (boolean value) { \r\n this.dnisEnabled = value;\r\n }",
"public void setAutoFormat (boolean b) {\n autoFormat = b;\n }",
"public C30709a mo125204a(Boolean bool) {\n this.f104433a = bool;\n return this;\n }",
"public JsonWriter key(boolean key) {\n startKey();\n\n writer.write(key ? \"\\\"true\\\":\" : \"\\\"false\\\":\");\n return this;\n }",
"public JsonOutput(OutputStream out, boolean beautify)\n\t{\n\t\tthis(new OutputStreamWriter(out, StandardCharsets.UTF_8), beautify);\n\t}",
"public void setComputeU(boolean val) {\n computeU = val;\n }",
"private String convertToString(boolean isUsed) {\n\t\tif (isUsed)\n\t\t\treturn \"1\";\n\t\treturn \"0\";\n\t}",
"public void setInterproc(boolean interproc) {\n this.interproc = interproc;\n }",
"@Override\n void generateFalseData() {\n \n }",
"public Value restrictToStrBoolNum() {\n checkNotPolymorphicOrUnknown();\n Value r = new Value(this);\n r.object_labels = r.getters = r.setters = null;\n r.flags &= STR | BOOL | NUM;\n return canonicalize(r);\n }",
"public static void verbose(boolean flag) {\n verbose = flag;\n }",
"@JsonProperty(\"setEmptyMappings\")\n public Boolean getSetEmptyMappings() {\n return setEmptyMappings;\n }",
"public void setIsCalibated(Boolean isCalibated) {\n\t\tthis.isCalibated = isCalibated;\n\t}",
"public static void transferMapMeta(MapMeta meta, JsonObject json, boolean meta2json)\r\n \t{\r\n \t\tif (meta2json)\r\n \t\t{\r\n \t\t\tif (!meta.isScaling()) return;\r\n \t\t\tjson.addProperty(MAP_SCALING, true);\r\n \t\t}\r\n \t\telse\r\n \t\t{\r\n \t\t\tJsonElement element = json.get(MAP_SCALING);\r\n \t\t\tif (element == null) return;\r\n \r\n \t\t\tmeta.setScaling(element.getAsBoolean());\r\n \t\t}\r\n \t}",
"public boolean useMmap() {\n\t\treturn useMmap;\n\t}",
"public void setCollectDaos(final boolean collectDaos) {\n this.m_collectDaos = collectDaos;\n }",
"public void map(){\n this.isMap = true;\n System.out.println(\"Switch to map mode\");\n }",
"public boolean getNormalizationState();",
"@JsonSetter(\"persistent\")\r\n public void setPersistent (boolean value) { \r\n this.persistent = value;\r\n }",
"protected boolean batch() {\n return batch;\n }",
"private boolean OPT(boolean b) {\r\n --save;\r\n return b || in == saves[save];\r\n }",
"public void setAutoGenerateDataEncryptionCredential(final boolean flag) {\n autoGenerateDataEncryptionCredential = flag;\n }",
"public void setAutoGenerateDataEncryptionCredential(final boolean flag) {\n autoGenerateDataEncryptionCredential = flag;\n }",
"protected void setFlag() {\n flag = flagVal;\n }",
"protected void setFlag() {\n flag = flagVal;\n }",
"public void setIsLat(Boolean boo) {\n\t this.isLat = boo;\n }",
"@Override\n\tpublic void setOptimizeGet(boolean arg0) {\n\n\t}",
"public Builder setImmediateOutputAllPrefetch(boolean value) {\n bitField0_ |= 0x00000004;\n immediateOutputAllPrefetch_ = value;\n onChanged();\n return this;\n }",
"void setMortgaged(boolean mortgaged);",
"public void setMetrics(boolean metrics) {\n\tthis.metrics = metrics;\n\tlog(\"Metrics mode is \" + metrics);\n }",
"public void setOutputFileValue(String name, boolean value) {\n\tString svalue;\n\tgetLogger().finest(\"Setting: \"+name+\" = \"+value);\n\tif (value) {\n\t svalue = \"true\";\n\t} else {\n\t svalue = \"false\";\n\t}\n\t_outputFiles.put(name, svalue);\n }",
"public static void setNoAnalysis() {\n noAnalysis = true;\n }",
"public void setUseOffset(boolean useOffset) {\n\t\tthis.useOffset = useOffset;\n\t}",
"public void toggleVerbose() {\n\t\tverbose = !verbose;\n\t}",
"@Override\n public Builder trainElementsRepresentation(boolean trainElements) {\n throw new IllegalStateException(\"You can't change this option for Word2Vec\");\n }",
"void setRecalculate(boolean recalculate);",
"public IdMap withFlag(byte flag) {\n\t\tthis.flag = flag;\n\t\treturn this;\n\t}",
"@NoProxy\n @NoWrap\n public void setForceUTC(final boolean val) {\n forceUTC = val;\n }",
"public void setBufferGraphs(boolean flag) {\n mBufferGraphs = flag;\n }",
"public void onChanged(Boolean bool) {\n if (bool != null) {\n C41389o oVar = this.f107704a;\n C7573i.m23582a((Object) bool, \"it\");\n oVar.mo102021a(bool.booleanValue());\n }\n }"
]
| [
"0.5883372",
"0.55727154",
"0.5481629",
"0.52788013",
"0.5224343",
"0.5111262",
"0.50570506",
"0.49428362",
"0.481994",
"0.4724128",
"0.47047067",
"0.46836677",
"0.46678564",
"0.4651371",
"0.46153748",
"0.45971346",
"0.45578098",
"0.45575124",
"0.45554632",
"0.4544684",
"0.45353317",
"0.45298484",
"0.45060083",
"0.44851485",
"0.4484387",
"0.44717205",
"0.44610712",
"0.44282165",
"0.44169143",
"0.44097844",
"0.43760735",
"0.4373889",
"0.43649694",
"0.43542424",
"0.43466806",
"0.43455455",
"0.43454596",
"0.43427685",
"0.43425855",
"0.4340298",
"0.43389907",
"0.43327588",
"0.43262696",
"0.4318502",
"0.4318502",
"0.4318502",
"0.4318502",
"0.4318502",
"0.4318502",
"0.43176293",
"0.4304054",
"0.43025887",
"0.42901716",
"0.4284265",
"0.42648974",
"0.42643562",
"0.42586035",
"0.4256855",
"0.42559206",
"0.42507812",
"0.42492977",
"0.4245105",
"0.4242789",
"0.42346913",
"0.4223242",
"0.422006",
"0.4219398",
"0.4215416",
"0.42017126",
"0.41987234",
"0.41942838",
"0.41822192",
"0.41714987",
"0.4170884",
"0.4167519",
"0.41644707",
"0.41623455",
"0.41604912",
"0.41568756",
"0.41542557",
"0.4145697",
"0.41393664",
"0.41393664",
"0.41367424",
"0.41367424",
"0.41314042",
"0.41275358",
"0.41257438",
"0.41226113",
"0.41210982",
"0.411164",
"0.410958",
"0.4104387",
"0.40988067",
"0.40965414",
"0.40937725",
"0.4091884",
"0.40829512",
"0.40781155",
"0.40726328"
]
| 0.4177541 | 72 |
Gets whether to include the timing information in the result information. Defaults to true. | public boolean isVerbose() {
return verbose;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Boolean getTimeStatus()\n {\n return timeStatus;\n }",
"public boolean isMeasureTime() ;",
"public boolean getUseTimings()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(USETIMINGS$22);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_default_attribute_value(USETIMINGS$22);\n }\n if (target == null)\n {\n return false;\n }\n return target.getBooleanValue();\n }\n }",
"public boolean hasTimestamp() {\n return result.hasTimestamp();\n }",
"public boolean hasTime() {\n return this.timeWrapper.isPresent();\n }",
"boolean hasUseTime();",
"boolean hasUseTime();",
"public boolean isIncludeTimers() {\n return getPropertyAsBoolean(INCLUDE_TIMERS, DEFAULT_VALUE_FOR_INCLUDE_TIMERS);\n }",
"boolean typeIsTimed() {\n return true;\n }",
"public boolean isLogTime() {\n return logTime;\n }",
"boolean hasQueryTimeSec();",
"public boolean usesTime() {\n return expressionUsesTime;\n }",
"public boolean printExecutionTime(){\r\n return false;\r\n }",
"boolean hasQueryTimeNsec();",
"public boolean hasUseTime() {\n return useTime_ != null;\n }",
"public boolean hasUseTime() {\n return useTime_ != null;\n }",
"public boolean hasUseTime() {\n return useTimeBuilder_ != null || useTime_ != null;\n }",
"public boolean hasUseTime() {\n return useTimeBuilder_ != null || useTime_ != null;\n }",
"boolean hasResponseTimeSec();",
"public boolean hasTime() {\n return fieldSetFlags()[0];\n }",
"boolean hasResponseTimeNsec();",
"boolean hasTimeRecord();",
"@java.lang.Override\n public boolean hasTime() {\n return instance.hasTime();\n }",
"public boolean usesTime() {\n return uhrzeit != null;\n }",
"public boolean hasExecutionTime() {\n return fieldSetFlags()[7];\n }",
"public boolean isTimeSet() {\n return timeSet;\n }",
"boolean hasTime();",
"boolean hasTime();",
"boolean hasStartTime();",
"public boolean hasMillis() {\n return fieldSetFlags()[1];\n }",
"public boolean hasTs() {\n return fieldSetFlags()[7];\n }",
"boolean hasUpdateTime();",
"boolean hasUpdateTime();",
"boolean hasUpdateTime();",
"public boolean hasStartTime() {\n return fieldSetFlags()[0];\n }",
"boolean hasDuration();",
"public boolean isTime() {\n return false;\n }",
"public boolean isMeasured() {\n return _isMeasured;\n }",
"public void setDoTiming(boolean doTiming) {\n\t\tthis.doTiming = doTiming;\n\t}",
"public boolean isSlow()\n {\n return isSlow;\n }",
"public boolean usesSUTime() {\n return useSUTime && applyNumericClassifiers;\n }",
"public boolean isCacheResults() {\n return cacheResults;\n }",
"public boolean hasTimestamp() {\n return fieldSetFlags()[2];\n }",
"boolean hasExecutionTime();",
"public boolean hasQueryTimeSec() {\n return ((bitField0_ & 0x00000080) == 0x00000080);\n }",
"boolean hasDesiredTime();",
"public boolean isTimestampUsed() {\n return trackLastUsed;\n }",
"boolean hasCreateTime();",
"boolean hasCreateTime();",
"boolean hasCreateTime();",
"boolean hasCreateTime();",
"boolean hasCreateTime();",
"boolean hasCreateTime();",
"public boolean isQuickQueryTimestampEnabled() {\n return isQuickQueryTimestampEnabled;\n }",
"boolean hasSendTime();",
"public boolean hasQueryTimeSec() {\n return ((bitField0_ & 0x00000080) == 0x00000080);\n }",
"public boolean hasTimestamp() {\n return fieldSetFlags()[6];\n }",
"public boolean getTimeLapsedEnable() {\n return false;\n }",
"public boolean isTimeSpecificEvent() {\n return timeSpecificEvent;\n }",
"public boolean isVerbose() {\n \n // return it\n return showVerboseOutput;\n }",
"public boolean hasTimestamp() {\n return fieldSetFlags()[0];\n }",
"public boolean hasSentTime() {\n return fieldSetFlags()[22];\n }",
"public boolean checkTime() {\n boolean result = false;\n long currentTime = System.currentTimeMillis();\n while (currentTime == timeFlag + 1000) {\n this.timeFlag = currentTime;\n result = true;\n return result;\n }\n return result;\n }",
"@java.lang.Override\n public boolean hasAdTimeOffset() {\n return adTimeOffset_ != null;\n }",
"public boolean getShowInTaskInfo() {\n return showInTaskInfo;\n }",
"public boolean hasSecondsWatched() {\n return fieldSetFlags()[4];\n }",
"public boolean hasTime() {\n return ((bitField0_ & 0x00000008) == 0x00000008);\n }",
"boolean hasCollectEndTime();",
"public boolean hasDesiredTime() {\n return desiredTime_ != null;\n }",
"boolean hasErrorTime();",
"public boolean hasQueryTimeNsec() {\n return ((bitField0_ & 0x00000100) == 0x00000100);\n }",
"public String getPerformanceTime()\r\n {\r\n return performanceTime;\r\n }",
"public boolean hasTimeRecord() {\n return ((bitField0_ & 0x00000040) == 0x00000040);\n }",
"public boolean isInfoLoggingOn() {\n return verbose || !quiet;\n }",
"public boolean hasResponseTimeNsec() {\n return ((bitField0_ & 0x00001000) == 0x00001000);\n }",
"boolean hasTimespanConfig();",
"public boolean hasTsUpdate() {\n return fieldSetFlags()[11];\n }",
"private boolean adjustedTimeIsSet() {\n return (adjustedTimeStamp != null);\n }",
"public boolean hasTime() {\n return ((bitField0_ & 0x00000008) == 0x00000008);\n }",
"@Override\n\tpublic String toString()\n\t{\n\t\treturn \"Stopwatch: \" + \"Elapsed millis: \" + getElapsedMs() + (m_running ? \" Running\" : \" Not running\");\n\t}",
"@java.lang.Override\n public boolean hasUpdateTime() {\n return updateTime_ != null;\n }",
"public boolean hasTimeRecord() {\n return ((bitField0_ & 0x00000040) == 0x00000040);\n }",
"public boolean isDuration() {\n return false;\n }",
"public boolean isTimeToSelect();",
"public boolean isSetUpdateTime() {\n return this.updateTime != null;\n }",
"public boolean hasResponseTimeSec() {\n return ((bitField0_ & 0x00000800) == 0x00000800);\n }",
"public boolean isVerbose() {\r\n\t\treturn this.verbose;\r\n\t}",
"public boolean hasQueryTimeNsec() {\n return ((bitField0_ & 0x00000100) == 0x00000100);\n }",
"public boolean hasResponseTimeNsec() {\n return ((bitField0_ & 0x00001000) == 0x00001000);\n }",
"boolean hasMPPerSecond();",
"public java.util.Date getResultRecordedTime() {\n return resultRecordedTime;\n }",
"public boolean isTimelagEnabled() {\n\t\treturn timelagEnabled;\n\t}",
"public boolean isCurrentWorkRecordInfo() {\n\t\treturn this.startTime != null \n\t\t\t\t&& this.endTime == null;\n\t}",
"boolean hasVotingStartTime();",
"public org.apache.xmlbeans.XmlBoolean xgetUseTimings()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.XmlBoolean target = null;\n target = (org.apache.xmlbeans.XmlBoolean)get_store().find_attribute_user(USETIMINGS$22);\n if (target == null)\n {\n target = (org.apache.xmlbeans.XmlBoolean)get_default_attribute_value(USETIMINGS$22);\n }\n return target;\n }\n }",
"boolean hasSimspeed();",
"public boolean isSetStartTime() {\n return this.startTime != null;\n }",
"public boolean isVerbose();",
"public void isTimed(boolean yn) {\n timed = yn;\n }"
]
| [
"0.65674245",
"0.64899397",
"0.645972",
"0.6420691",
"0.63526",
"0.6266976",
"0.6266976",
"0.62532425",
"0.6178437",
"0.61463416",
"0.6109188",
"0.6102687",
"0.61006355",
"0.6100081",
"0.6099582",
"0.6099582",
"0.6064861",
"0.6064861",
"0.6064273",
"0.6059566",
"0.6051014",
"0.6026921",
"0.6010134",
"0.59576046",
"0.5952746",
"0.591247",
"0.59113836",
"0.59113836",
"0.5892612",
"0.5869065",
"0.5847911",
"0.58462435",
"0.58462435",
"0.58462435",
"0.5842976",
"0.5841214",
"0.58324707",
"0.5821621",
"0.58021486",
"0.5786566",
"0.577943",
"0.5777",
"0.5767923",
"0.5766711",
"0.5720781",
"0.5719847",
"0.57121474",
"0.57063526",
"0.57063526",
"0.57063526",
"0.57063526",
"0.57063526",
"0.57063526",
"0.569962",
"0.56700385",
"0.5663273",
"0.5657964",
"0.564551",
"0.5644577",
"0.56355023",
"0.5634392",
"0.5629743",
"0.56077135",
"0.56055707",
"0.56051886",
"0.56027085",
"0.5596447",
"0.5593062",
"0.55915004",
"0.55866766",
"0.5580403",
"0.5573288",
"0.5568899",
"0.5553052",
"0.55426586",
"0.5540864",
"0.5540333",
"0.5536712",
"0.55346537",
"0.5523609",
"0.5514602",
"0.5507039",
"0.5506701",
"0.55065244",
"0.55063814",
"0.5504778",
"0.5504082",
"0.55005085",
"0.5493309",
"0.54899824",
"0.54752463",
"0.5474079",
"0.54706943",
"0.54672015",
"0.54671204",
"0.54638636",
"0.5463434",
"0.5458481",
"0.5447044"
]
| 0.54492056 | 98 |
Sets whether to include the timing information in the result information. | public MapReduceToCollectionOperation verbose(final boolean verbose) {
this.verbose = verbose;
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setDoTiming(boolean doTiming) {\n\t\tthis.doTiming = doTiming;\n\t}",
"public void setUseTimings(boolean useTimings)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(USETIMINGS$22);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(USETIMINGS$22);\n }\n target.setBooleanValue(useTimings);\n }\n }",
"static void setTiming(){\n killTime=(Pars.txType!=0) ? Pars.txSt+Pars.txDur+60 : Pars.collectTimesB[2]+Pars.dataTime[1]+60;//time to kill simulation\n tracksTime=(Pars.tracks && Pars.txType==0) ? Pars.collectTimesI[1]:(Pars.tracks)? Pars.collectTimesBTx[1]:100*24*60;//time to record tracks\n }",
"native void nativeSetMetricsTime(boolean is_enable);",
"public void setTimeStatus(Boolean timeStatus)\n {\n this.timeStatus = timeStatus;\n }",
"public void setTimestamp() {\n timestamp = System.nanoTime();\n }",
"public boolean isMeasureTime() ;",
"public boolean isTimeSet() {\n return timeSet;\n }",
"public void setLogTime(boolean logTime) {\n this.logTime = logTime;\n }",
"public void xsetUseTimings(org.apache.xmlbeans.XmlBoolean useTimings)\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.XmlBoolean target = null;\n target = (org.apache.xmlbeans.XmlBoolean)get_store().find_attribute_user(USETIMINGS$22);\n if (target == null)\n {\n target = (org.apache.xmlbeans.XmlBoolean)get_store().add_attribute_user(USETIMINGS$22);\n }\n target.set(useTimings);\n }\n }",
"public final void setResponseTime(java.lang.Integer responsetime)\r\n\t{\r\n\t\tsetResponseTime(getContext(), responsetime);\r\n\t}",
"public boolean printExecutionTime(){\r\n return false;\r\n }",
"void setReportTime(long time);",
"public ShowSystemTimingResponse showSystemTiming(Map<String, String> options) throws GPUdbException {\n ShowSystemTimingRequest actualRequest_ = new ShowSystemTimingRequest(options);\n ShowSystemTimingResponse actualResponse_ = new ShowSystemTimingResponse();\n submitRequest(\"/show/system/timing\", actualRequest_, actualResponse_, false);\n return actualResponse_;\n }",
"public void isTimed(boolean yn) {\n timed = yn;\n }",
"public Boolean getTimeStatus()\n {\n return timeStatus;\n }",
"public void setTime(double time) {_time = time;}",
"public com.twc.bigdata.views.avro.viewing_info.Builder setStartTime(java.lang.Long value) {\n validate(fields()[0], value);\n this.start_time = value;\n fieldSetFlags()[0] = true;\n return this; \n }",
"public void setStartTime() {\r\n startTime = System.currentTimeMillis();\r\n }",
"public void setIsMeasured(boolean isMeasured) {\n _isMeasured = isMeasured;\n setDirty(true);\n }",
"public void setSlowness(int slow)\n {\n slowness = slow;\n }",
"public void setTimeUnit(String timeUnit)\n\t{\n\t\tthis.timeUnit = timeUnit;\n\t\ttimeUnitSet = true;\n\t}",
"public void setStartTime (long x)\r\n {\r\n startTime = x;\r\n }",
"boolean typeIsTimed() {\n return true;\n }",
"public boolean isLogTime() {\n return logTime;\n }",
"public boolean usesTime() {\n return expressionUsesTime;\n }",
"public void setVerbose(boolean value);",
"public void setTimeSpecificEvent(boolean timeSpecificEvent) {\n this.timeSpecificEvent = timeSpecificEvent;\n }",
"public void drawTiming(boolean b) { timing_cbmi.setSelected(b); }",
"@Option(name = \"-R\", aliases = \"--resolution\", metaVar = \"<resolution>\", usage = \"Aggregate resolution in seconds.\")\n void setResolution(Duration resolution) {\n m_resolution = resolution;\n }",
"private void setTime(long value) {\n bitField0_ |= 0x00000002;\n time_ = value;\n }",
"public final void setResponseTime(com.mendix.systemwideinterfaces.core.IContext context, java.lang.Integer responsetime)\r\n\t{\r\n\t\tgetMendixObject().setValue(context, MemberNames.ResponseTime.toString(), responsetime);\r\n\t}",
"public final void setResponseTimeStr(java.lang.String responsetimestr)\r\n\t{\r\n\t\tsetResponseTimeStr(getContext(), responsetimestr);\r\n\t}",
"public void setT(boolean t) {\n\tthis.t = t;\n }",
"public void startTiming() {\n elapsedTime = 0;\n startTime = System.currentTimeMillis();\n }",
"@Override\n public void printDetails() {\n super.printDetails(); // uses its superclass version of the method to print the basic attributes\n System.out.print(\"Time: \" + this.getTime()); // printing the time of the event\n }",
"public boolean getTimeLapsedEnable() {\n return false;\n }",
"public void setTimeUnit(TimeUnit timeUnit);",
"public void setResultRecordedTime(java.util.Date resultRecordedTime) {\n this.resultRecordedTime = resultRecordedTime;\n }",
"public void setTime(){\r\n \r\n }",
"@Override\n\tpublic void setStartTime(int t) {\n\t\t\n\t}",
"public void setTimeLapsed(boolean isTL) {\n this.isTL = isTL;\n }",
"private void startTiming() {\n m_startTime = Calendar.getInstance().getTimeInMillis();\n }",
"public void setTime(int t){\r\n\t\t\t\ttime = t;\r\n\t\t\t}",
"private void printTimer() {\n\t\tif (_verbose) {\n\t\t\tSystem.out.println(\"\");\n\t\t\tSystem.out.println(\"-- \" + getTimeString() + \" --\");\n\t\t}\n\t}",
"public void setTestTime(Integer testTime) {\n this.testTime = testTime;\n }",
"public boolean usesSUTime() {\n return useSUTime && applyNumericClassifiers;\n }",
"void setRetrievedTime(long retrievedTime);",
"public boolean hasTime() {\n return fieldSetFlags()[0];\n }",
"protected void setupTime() {\n this.start = System.currentTimeMillis();\n }",
"public ShowSystemTimingResponse showSystemTiming(ShowSystemTimingRequest request) throws GPUdbException {\n ShowSystemTimingResponse actualResponse_ = new ShowSystemTimingResponse();\n submitRequest(\"/show/system/timing\", request, actualResponse_, false);\n return actualResponse_;\n }",
"public void setObserved(boolean status)\n {\n isObserved = status;\n }",
"private void setTime(long value) {\n \n time_ = value;\n }",
"private void setTime(long value) {\n \n time_ = value;\n }",
"private void setTime(long value) {\n \n time_ = value;\n }",
"private void setTimedOut() {\n\t\tthis.timedOut.set(true);\n\t}",
"public boolean usesTime() {\n return uhrzeit != null;\n }",
"public void write(long time, boolean value) {\n timeEncoder.encode(time, timeOut);\n valueEncoder.encode(value, valueOut);\n statistics.update(time, value);\n }",
"public boolean drawTiming() { return timing_cbmi.isSelected(); }",
"public boolean isTime() {\n return false;\n }",
"public void setTime(Date date) {\n time = date;\n renderCaption();\n }",
"public void setTimeStamps(boolean timeStamps)\r\n {\r\n this.timeStamps = timeStamps;\r\n }",
"public void setTimeouted() {\n this.timeouted = true;\n }",
"public void setTime(long time) {\n this.time = time;\n }",
"private void setTime(long value) {\n \n time_ = value;\n }",
"private void setTime(long value) {\n \n time_ = value;\n }",
"private void setTime(long value) {\n \n time_ = value;\n }",
"private void setTime(long value) {\n \n time_ = value;\n }",
"public void setResultTs(Date resultTs) {\n\t\tthis.resultTs = resultTs;\n\t}",
"Timing(SimulationRun simulationRun) {\n this.simulationRun = simulationRun;\n }",
"public void toggleVerbose() {\n\t\tverbose = !verbose;\n\t}",
"public void setResponsetime(Date responsetime) {\n this.responsetime = responsetime;\n }",
"public void setIncludeTimers(boolean includeTimers) {\n setProperty(INCLUDE_TIMERS, includeTimers, DEFAULT_VALUE_FOR_INCLUDE_TIMERS);\n }",
"public Date getOptTime() {\n\t\treturn optTime;\n\t}",
"@java.lang.Override\n public boolean hasTime() {\n return instance.hasTime();\n }",
"public void setTime(long time)\n {\n this.time = time;\n\n }",
"public void setTime(long time) {\r\n this.time = time;\r\n }",
"protected void setVerbose(boolean on)\n\t{\n\t\t_options.setVerbose(on);\n\t}",
"public void setOptTime(Date optTime) {\n\t\tthis.optTime = optTime;\n\t}",
"public void setTime(long time) {\r\n\t\tthis.time = time;\r\n\t}",
"public void setStartTime(long value) {\r\n this.startTime = value;\r\n }",
"public void setIsQuickQueryTimestampEnabled(boolean isQuickQueryTimestampEnabled) {\n this.isQuickQueryTimestampEnabled = isQuickQueryTimestampEnabled;\n }",
"public void setElapsedTime(String elapsedTime) {\n this.elapsedTime = elapsedTime;\n }",
"abstract public void setPerformanceInfo() throws Exception;",
"public NcrackClient withTimingTemplate(TimingTemplate template) {\n this.timing = Optional.of(template);\n return this;\n }",
"private void displayTimeInfo(final long startTime, final long endTime) {\n long diff = endTime - startTime;\n long seconds = diff / MSEC_PER_SECOND;\n long millisec = diff % MSEC_PER_SECOND;\n println(\"Time: \" + seconds + \".\" + millisec + \"s\\n\");\n }",
"public boolean hasTimestamp() {\n return result.hasTimestamp();\n }",
"public Builder setResponseTimeSec(long value) {\n bitField0_ |= 0x00000800;\n responseTimeSec_ = value;\n onChanged();\n return this;\n }",
"public void setTime(Time time) {\n this.time = time; // assigns the time argument value to the time attribute\n }",
"public boolean isTimeSpecificEvent() {\n return timeSpecificEvent;\n }",
"public boolean getUseTimings()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.apache.xmlbeans.SimpleValue target = null;\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(USETIMINGS$22);\n if (target == null)\n {\n target = (org.apache.xmlbeans.SimpleValue)get_default_attribute_value(USETIMINGS$22);\n }\n if (target == null)\n {\n return false;\n }\n return target.getBooleanValue();\n }\n }",
"@Override\n\tpublic String toString()\n\t{\n\t\treturn \"Stopwatch: \" + \"Elapsed millis: \" + getElapsedMs() + (m_running ? \" Running\" : \" Not running\");\n\t}",
"public void setTime(String time) {\n }",
"public String getEstimatedTime() {\n return estimatedTime;\n }",
"public void setPerformanceTime(String ticketTime)\r\n {\r\n performanceTime = ticketTime;\r\n }",
"public boolean isIncludeTimers() {\n return getPropertyAsBoolean(INCLUDE_TIMERS, DEFAULT_VALUE_FOR_INCLUDE_TIMERS);\n }",
"public final void setResponseTimeStr(com.mendix.systemwideinterfaces.core.IContext context, java.lang.String responsetimestr)\r\n\t{\r\n\t\tgetMendixObject().setValue(context, MemberNames.ResponseTimeStr.toString(), responsetimestr);\r\n\t}",
"public boolean hasTime() {\n return this.timeWrapper.isPresent();\n }",
"public String getPerformanceTime()\r\n {\r\n return performanceTime;\r\n }",
"@Override\n\tpublic void setStartTime(float t) \n\t{\n\t\t_tbeg = t;\n\t}",
"public boolean hasUseTime() {\n return useTimeBuilder_ != null || useTime_ != null;\n }"
]
| [
"0.68078184",
"0.6268358",
"0.58574",
"0.5815106",
"0.57667446",
"0.56835496",
"0.55489445",
"0.5516214",
"0.5504818",
"0.543394",
"0.54219425",
"0.54127437",
"0.53419536",
"0.53394943",
"0.5324946",
"0.53143585",
"0.53006285",
"0.52859366",
"0.5275803",
"0.52682984",
"0.52623904",
"0.5258069",
"0.5256934",
"0.5245499",
"0.52399296",
"0.52211744",
"0.5220694",
"0.52167404",
"0.5201713",
"0.51924974",
"0.51864463",
"0.51856256",
"0.5174413",
"0.5164938",
"0.5164798",
"0.51589686",
"0.51564586",
"0.51560646",
"0.51533735",
"0.514227",
"0.5131289",
"0.5117532",
"0.51167256",
"0.5113656",
"0.5101227",
"0.5100818",
"0.5098328",
"0.50964344",
"0.50893676",
"0.50825715",
"0.5079036",
"0.5076551",
"0.50578797",
"0.50578797",
"0.50578797",
"0.5056914",
"0.5050576",
"0.50501084",
"0.50462115",
"0.50440866",
"0.50411004",
"0.5037957",
"0.50316334",
"0.5027444",
"0.5027198",
"0.5027198",
"0.5027198",
"0.5027198",
"0.50249743",
"0.5023168",
"0.50205576",
"0.50195867",
"0.50161356",
"0.50121444",
"0.5011202",
"0.50002754",
"0.49877584",
"0.49834016",
"0.49785393",
"0.4976921",
"0.49671453",
"0.49651694",
"0.49474666",
"0.49394393",
"0.49390385",
"0.49336046",
"0.49276596",
"0.49204192",
"0.49135715",
"0.49104753",
"0.49071077",
"0.49068838",
"0.4901672",
"0.48990944",
"0.4898085",
"0.48952913",
"0.48893204",
"0.48884428",
"0.48818216",
"0.48774323",
"0.48733765"
]
| 0.0 | -1 |
Gets the maximum execution time on the server for this operation. The default is 0, which places no limit on the execution time. | public long getMaxTime(final TimeUnit timeUnit) {
notNull("timeUnit", timeUnit);
return timeUnit.convert(maxTimeMS, TimeUnit.MILLISECONDS);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public int getMaxRunTime() {\n return maxRunTime;\n }",
"public static long getMaximumResponseTime() {\n return (long) maxResponseTime;\n }",
"public long getExecutionTimeout() {\n \n // return it\n return executionTimeout;\n }",
"public Integer getMaxTime() {\n return maxTime;\n }",
"public long getRunMaxMillis()\n {\n return 0L;\n }",
"public long getMaxPoolTime()\n {\n if (_maxPoolTime > Long.MAX_VALUE / 2)\n return -1;\n else\n return _maxPoolTime;\n }",
"public Long getDispatchtimemax() {\r\n return dispatchtimemax;\r\n }",
"public int getTimeout() {\n return params.getTimeout() * 1000;\n }",
"protected int getTimeoutInMs() {\n return this.properties.executionTimeoutInMilliseconds().get();\n }",
"public int getMaxTime() { return _maxTime; }",
"public TimeValue getMaxTaskWaitTime() {\n final var oldestTaskTimeMillis = allBatchesStream().mapToLong(Batch::getCreationTimeMillis).min().orElse(Long.MAX_VALUE);\n\n if (oldestTaskTimeMillis == Long.MAX_VALUE) {\n return TimeValue.ZERO;\n }\n\n return TimeValue.timeValueMillis(threadPool.relativeTimeInMillis() - oldestTaskTimeMillis);\n }",
"public Object scriptBlockExecutionTimeout() {\n return this.innerTypeProperties() == null ? null : this.innerTypeProperties().scriptBlockExecutionTimeout();\n }",
"public long getTimeLimit() {\n\t\treturn timeLimit;\n\t}",
"public int getTimeout() {\n\t\treturn (Integer)getObject(\"timeout\");\n\t}",
"public int getMaxWait() {\n\t\treturn this.maxWait;\n\t}",
"public java.lang.Integer getExecutionTime() {\n return execution_time;\n }",
"public java.lang.Integer getExecutionTime() {\n return execution_time;\n }",
"long getExecutionTime();",
"public long getExecutionTime() {\n return executionTime_;\n }",
"public static java.lang.Long getDEFAULT_TIMEOUT_MS()\n\t{\n\t\treturn (java.lang.Long)Core.getConfiguration().getConstantValue(\"ParallelExecute.DEFAULT_TIMEOUT_MS\");\n\t}",
"public long getExecutionTime() {\n return executionTime_;\n }",
"public double getMaxTimeDiff()\n\t{\n\t\treturn 0;\n\t}",
"public long getMaximum() {\n\t\treturn this._max;\n\t}",
"public Long getMax_latency() {\n return max_latency;\n }",
"public long getTimeout() {\r\n return configuration.getTimeout();\r\n }",
"public org.apache.axis.types.UnsignedInt getTimeout() {\n return timeout;\n }",
"public int getMaxRelativeTimeoutMillis(AsyncOperation op);",
"public int getMaxIterations() {\n return mMaxIterations;\n }",
"public int getMaxIterations() {\n return mMaxIterations;\n }",
"public long getMaximumRetryWaitTime() {\r\n return configuration.getMaximumRetryWaitTime();\r\n }",
"public int getMaxValue() throws Exception {\n\t\treturn RemoteServer.instance().executeAndGetId(\"getmaxvalue\",\n\t\t\t\tgetRefId());\n\t}",
"public final int getMaxIterations()\r\n\t{\r\n\t\treturn maxIterations;\r\n\t}",
"public int getThrottledOpWaitTime() {\n return ZooKeeperServer.getThrottledOpWaitTime();\n }",
"public int getTimeout() {\n return timeout;\n }",
"public Long getMaxDelayTime() {\n return this.MaxDelayTime;\n }",
"public int getTimeout() {\r\n return timeout;\r\n }",
"@Override\n\tpublic long getOpTimeout() {\n\t\treturn 0;\n\t}",
"public long getTimeout() {\n return timeout;\n }",
"public long getTimeout() {\n return timeout;\n }",
"public long getTimeout() {\n return timeout;\n }",
"public long getMaxTime()\n {\n return times[times.length - 1];\n }",
"public long getMaxActiveTime()\n {\n if (_maxActiveTime > Long.MAX_VALUE / 2)\n return -1;\n else\n return _maxActiveTime;\n }",
"public Long getMaximum() {\r\n\t\treturn maximum;\r\n\t}",
"public int getEleMaxTimeOut(){\r\n\t\t String temp= rb.getProperty(\"eleMaxTimeOut\");\r\n\t\t return Integer.parseInt(temp);\r\n\t}",
"public Long getMaxConcurrentConnection() {\n return this.MaxConcurrentConnection;\n }",
"TimeResource maxDuration();",
"public long getMaxIdleTime()\n {\n if (_maxIdleTime > Long.MAX_VALUE / 2)\n return -1;\n else\n return _maxIdleTime;\n }",
"public int getTimeout();",
"final Long getTimeoutValue()\n/* */ {\n/* 137 */ return this.timeout;\n/* */ }",
"public int get_serverResponseTimeout() {\n\t\treturn _serverResponseTimeout;\n\t}",
"public float getMaxTimeSeconds() { return getMaxTime()/1000f; }",
"public int getDefaultTimeout() {\n return defaultTimeout;\n }",
"public static int getTimeOut() {\n\t\tTIME_OUT = 10;\n\t\treturn TIME_OUT;\n\t}",
"public static long computeTimeout(long runtime) {\n return runtime * 10 + 2000;\n }",
"public Date getLastExecutionTime() {\n\t\treturn lastExecutionTime;\n\t}",
"public Long consultarTiempoMaximo() {\n return timeFi;\n }",
"public long getTimeoutInMilliseconds() {\n return timeoutInMilliseconds;\n }",
"public long getRemainingTime() {\n return (maxTime_ * 1000L)\n - (System.currentTimeMillis() - startTime_);\n }",
"public long getRunLastMillis()\n {\n return 0L;\n }",
"public Long getDefaultTimeoutInSecs() {\n\t\treturn defaultTimeoutInSecs;\n\t}",
"public int getSessionMaxAliveTime();",
"public long cacheStopTimeout() {\n return cacheStopTimeout;\n }",
"public long getTimeout() { return timeout; }",
"protected int maxTimeout() { return 15*1000*1000; }",
"public double maxWait()\r\n {\r\n //find the max value in an arraylist\r\n double maxWait = servedCustomers.get(0).getwaitTime();\r\n for(int i = 1; i < servedCustomers.size(); i++){\r\n if(servedCustomers.get(i).getwaitTime()>maxWait){\r\n maxWait = servedCustomers.get(i).getwaitTime();\r\n }\r\n }\r\n return maxWait;\r\n }",
"public long getMax() {\n return m_Max;\n }",
"public int getTimeOut() {\n return timeOut;\n }",
"public java.lang.Integer getMaxHostRunningVms() {\r\n return maxHostRunningVms;\r\n }",
"public void setMaxRunTime(int maxRunTime) {\n this.maxRunTime = maxRunTime;\n }",
"public Double getLargestSendRequestThroughput()\r\n {\r\n return largestSendRequestThroughput;\r\n }",
"public static int getMaxThreadCount(){\n return Integer.parseInt(properties.getProperty(\"maxThreadCount\"));\n }",
"public Optional<Integer> maxLeaseTtlSeconds() {\n return Codegen.integerProp(\"maxLeaseTtlSeconds\").config(config).env(\"TERRAFORM_VAULT_MAX_TTL\").def(1200).get();\n }",
"public long getRequestTimeoutMillis()\n {\n return requestTimeoutMillis;\n }",
"public void setMaxTime(Integer maxTime) {\n this.maxTime = maxTime;\n }",
"public int getMaxSpeed() {\n\t\treturn this.maxSpeed;\n\t}",
"public String getMax_latency() {\n return max_latency;\n }",
"com.google.protobuf.Duration getMaximumBackoff();",
"public int getMaximum() {\r\n return max;\r\n }",
"public int getNortpTimeout();",
"Integer getStartTimeout();",
"public long GetTimeout() { return timeout; }",
"public java.lang.Integer getMaximumResultSize()\r\n {\r\n return this.maximumResultSize;\r\n }",
"@Override\n\tpublic int getMaxIterations() {\n\t\treturn maxIterations;\n\t}",
"public long getMaximumLong() {\n/* 233 */ return this.max;\n/* */ }",
"double getSolverTimeLimitSeconds();",
"public int getResponseTimeOut()\n {\n return fResponseTimeOut;\n }",
"public Long getMaxLatency() {\n return maxLatency;\n }",
"long getTimeout();",
"public Integer getMaxTimerDrivenThreads() {\n return maxTimerDrivenThreads;\n }",
"public final String getMaximumOutstandingRequests() {\n return properties.get(MAXIMUM_OUTSTANDING_REQUESTS_PROPERTY);\n }",
"public long getTimeout() {\n return StepTimeout;\n }",
"public Long getEngineExecutionTimeInMillis() {\n return this.engineExecutionTimeInMillis;\n }",
"public int getTIME_OUT() {\n\t\treturn TIME_OUT;\n\t}",
"public long getEnd_time() {\n return end_time;\n }",
"public int getMaxSpeed() {\n return MaxSpeed;\n }",
"public double getMaxSpeed() {\r\n return maxSpeed;\r\n }",
"public Long get_cachelargestresponsereceived() throws Exception {\n\t\treturn this.cachelargestresponsereceived;\n\t}",
"public JobBuilder maxRunTime(String maxRunTime) {\r\n job.setMaxRunTime(maxRunTime);\r\n return this;\r\n }",
"public int getInCallTimeout();",
"public long getMaximumFileSize()\r\n\t{\r\n\t\treturn maxFileSize;\r\n\t}"
]
| [
"0.74491173",
"0.71849155",
"0.70495737",
"0.6901847",
"0.67710835",
"0.6762256",
"0.6686884",
"0.66265243",
"0.6582893",
"0.6538725",
"0.65226716",
"0.6498068",
"0.64853394",
"0.64756936",
"0.64591503",
"0.64117444",
"0.63723",
"0.63690317",
"0.62984854",
"0.6292441",
"0.6266899",
"0.6246528",
"0.6232649",
"0.62193984",
"0.6185462",
"0.6183849",
"0.6162956",
"0.6133955",
"0.6133955",
"0.6114989",
"0.61047745",
"0.6089157",
"0.60689545",
"0.6068206",
"0.6064435",
"0.60641754",
"0.60207736",
"0.6002778",
"0.6002778",
"0.6002778",
"0.5966582",
"0.5964406",
"0.59503394",
"0.5927991",
"0.59140044",
"0.59090763",
"0.58884877",
"0.58864343",
"0.5864423",
"0.58631736",
"0.58623594",
"0.5848733",
"0.5848525",
"0.5846062",
"0.5795349",
"0.5790752",
"0.57823604",
"0.57786644",
"0.57754135",
"0.5774185",
"0.5771676",
"0.57668763",
"0.57599753",
"0.57480615",
"0.5744524",
"0.5742819",
"0.574144",
"0.5738714",
"0.5716708",
"0.56966925",
"0.569236",
"0.56877375",
"0.5681009",
"0.5673581",
"0.56716484",
"0.5653265",
"0.5651282",
"0.5649098",
"0.5643185",
"0.5627877",
"0.5626708",
"0.56250894",
"0.56157684",
"0.56149626",
"0.56106883",
"0.56033933",
"0.55993605",
"0.5598294",
"0.5597215",
"0.5595702",
"0.558647",
"0.55831134",
"0.557988",
"0.557154",
"0.555303",
"0.5548129",
"0.552383",
"0.552123",
"0.5517921",
"0.5513769"
]
| 0.56230205 | 82 |
Sets the maximum execution time on the server for this operation. | public MapReduceToCollectionOperation maxTime(final long maxTime, final TimeUnit timeUnit) {
notNull("timeUnit", timeUnit);
this.maxTimeMS = TimeUnit.MILLISECONDS.convert(maxTime, timeUnit);
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setMaxTime(Integer maxTime) {\n this.maxTime = maxTime;\n }",
"public void setMaxRunTime(int maxRunTime) {\n this.maxRunTime = maxRunTime;\n }",
"public void setMaxTime(int aMaxTime)\n{\n // Set max time\n _maxTime = aMaxTime;\n \n // If time is greater than max-time, reset time to max time\n if(getTime()>_maxTime)\n setTime(_maxTime);\n}",
"public void setTimeLimit(long value) {\n\t\ttimeLimit = value;\n\t}",
"public Builder setExecutionTime(long value) {\n bitField0_ |= 0x02000000;\n executionTime_ = value;\n onChanged();\n return this;\n }",
"public void setMaxPoolTime(Period maxPoolTime)\n {\n long period = maxPoolTime.getPeriod();\n \n if (period < 0)\n _maxPoolTime = Long.MAX_VALUE / 2;\n else if (period == 0)\n _maxPoolTime = 1000L;\n else\n _maxPoolTime = period;\n }",
"public void setMaxTime(Dt maxTime) {\n\t\tthis.maxTime = maxTime;\n\t}",
"public long setLimit(final long time) {\n this.limitTime = time;\n return this.limitTime;\n }",
"public void setMaxConcurrentConnection(Long MaxConcurrentConnection) {\n this.MaxConcurrentConnection = MaxConcurrentConnection;\n }",
"public void setTimeOut(int value) {\n this.timeOut = value;\n }",
"public JobBuilder maxRunTime(String maxRunTime) {\r\n job.setMaxRunTime(maxRunTime);\r\n return this;\r\n }",
"protected int maxTimeout() { return 15*1000*1000; }",
"public com.autodesk.ws.avro.Call.Builder setExecutionTime(java.lang.Integer value) {\n validate(fields()[7], value);\n this.execution_time = value;\n fieldSetFlags()[7] = true;\n return this; \n }",
"@Override\n\tpublic void setOpTimeout(long arg0) {\n\n\t}",
"public void setMaxTimeSeconds(float aTime) { setMaxTime(Math.round(aTime*1000)); }",
"public void setDispatchtimemax(Long dispatchtimemax) {\r\n this.dispatchtimemax = dispatchtimemax;\r\n }",
"public void setSessionMaxAliveTime(int sessionMaxAliveTime);",
"public void setExecutionTime(java.lang.Integer value) {\n this.execution_time = value;\n }",
"public void setMaxDelayTime(Long MaxDelayTime) {\n this.MaxDelayTime = MaxDelayTime;\n }",
"public LimitDuration(long maxDuration) {\n _maxDuration = maxDuration;\n }",
"public void setMaxActiveTime(Period maxActiveTime)\n {\n long period = maxActiveTime.getPeriod();\n \n if (period < 0)\n _maxActiveTime = Long.MAX_VALUE / 2;\n else if (period == 0)\n _maxActiveTime = 1000L;\n else\n _maxActiveTime = period;\n }",
"public NcrackClientCliOptions withMaxTime(String maxtime) {\n this.maxTime = maxtime;\n return this;\n }",
"void setOperationTimeout(int timeout) throws RemoteException;",
"public void setTimeout(Long value) {\r\n timeout = value;\r\n incompatibleWithSpawn |= timeout != null;\r\n }",
"public void setRemoteRequestTimeout(String value) {\n\t\tnew LabeledText(OpenShiftLabel.TextLabels.REMOTE_REQUEST_TIMEOUT).setText(value);\n\t}",
"public void setMAX_EXECUCOES(int MAX_EXECUCOES)\r\n {\r\n if(MAX_EXECUCOES > 0)\r\n this.MAX_EXECUCOES = MAX_EXECUCOES;\r\n }",
"private void setTimedOut() {\n\t\tthis.timedOut.set(true);\n\t}",
"public int getMaxRunTime() {\n return maxRunTime;\n }",
"protected void setLastTimeExecute(long lastTimeExecute) {\n this.lastTimeExecute = lastTimeExecute;\n }",
"public void setMaxSpeed(int MaxSpeed) {\n this.MaxSpeed = MaxSpeed;\n }",
"void setMaximumCacheSize(int maximumCacheSize);",
"@Override\r\n\t\tpublic void setNetworkTimeout(Executor executor, int milliseconds)\r\n\t\t\t\tthrows SQLException {\n\t\t\t\r\n\t\t}",
"public void setMaxSpeed(double maxSpeed) {\r\n this.maxSpeed = maxSpeed;\r\n }",
"public void setTimeOut(long timeOut) {\n _timeOut = timeOut;\n }",
"void setStopTimeout(int stopTimeout);",
"public final native void setMaximumStartTime(DateTime maximumStartTime) /*-{\n this.setMaximumStartTime(maximumStartTime);\n }-*/;",
"public SetIdleTimeoutCommand(int timeout) {\n this.timeout = timeout;\n }",
"public void setTimeLimitAction(java.lang.String timeLimitAction);",
"public void setMaxThreads(int maxThreads)\r\n {\r\n this.maxThreads = maxThreads;\r\n }",
"void setStartTimeout(int startTimeout);",
"public void setTimeLimit(java.util.Collection timeLimit);",
"public final native void setUpdatedMax(DateTime updatedMax) /*-{\n this.setUpdatedMax(updatedMax);\n }-*/;",
"public void setMaxWait(int maxWait) {\n\t\tif(maxWait < 0) {\n\t\t\tthrow new IllegalArgumentException(\"Wait time should be a positive number\");\n\t\t}\n\t\tthis.maxWait = maxWait;\n\t}",
"public void setMax_latency(Long max_latency) {\n this.max_latency = max_latency;\n }",
"public void setEndTime(long value) {\r\n this.endTime = value;\r\n }",
"public void resetTimeout(){\n this.timeout = this.timeoutMax;\n }",
"public void setMaxIterations(int maxIterations) throws LockedException {\n if (isLocked()) {\n throw new LockedException();\n }\n if (maxIterations < MIN_ITERATIONS) {\n throw new IllegalArgumentException();\n }\n mMaxIterations = maxIterations;\n }",
"public void setMaxIterations(int maxIterations) throws LockedException {\n if (isLocked()) {\n throw new LockedException();\n }\n if (maxIterations < MIN_ITERATIONS) {\n throw new IllegalArgumentException();\n }\n mMaxIterations = maxIterations;\n }",
"T setStartTimeout(Integer timeout);",
"public void setMaxSpeed() {\n\t\tspeed = MAX_SPEED;\n\t}",
"public void setConnectionTimeOut(int connectionTimeOut) {\n this.connectionTimeOut = connectionTimeOut;\n }",
"public void setRetryMaxDuration(Duration retryMaxDuration) {\n this.retryMaxDuration = retryMaxDuration;\n }",
"public void SetDuration(int duration)\n {\n TimerMax = duration;\n if (Timer > TimerMax)\n {\n Timer = TimerMax;\n }\n }",
"public void setMaxSpeed(int maxSpeed) {\n\t\tthis.maxSpeed = maxSpeed;\n\t}",
"public void setMaxIdleTime(Period idleTime)\n {\n long period = idleTime.getPeriod();\n \n if (period < 0)\n _maxIdleTime = Long.MAX_VALUE / 2;\n else if (period < 1000L)\n _maxIdleTime = 1000L;\n else\n _maxIdleTime = period;\n }",
"public void setMaxSpeed(float max_speed)\n\t{\n\t\tthis.max_speed = max_speed;\n\t}",
"private void setTimeLimit() {\n\t\t// Set the minimum time for \"Departing Time\" spinner\n\t\t// based on current selected combo box item\n\t\tview.setModifyTimeLimit(model.getDepartTime(view\n\t\t\t\t.getModifyStationIndex()));\n\t}",
"public native void setMaximumRTO (long RTO);",
"public void setMaxSpeed(double value) {\n super.setMaxSpeed(value);\n }",
"public void setLastExecutionTime(Date lastExecutionTime) {\n\t\tthis.lastExecutionTime = lastExecutionTime;\n\t}",
"public void setResponseTimeOut(int timeOut)\n {\n fResponseTimeOut = timeOut;\n }",
"public static native void setMaxCache(int max);",
"public void setWarmupTime(int value) {\n this.warmupTime = value;\n }",
"public void setTimeout(long t) {\n StepTimeout = t;\n }",
"public void setMaximumPoolSize(int maximumPoolSize) {\n this.maximumPoolSize = maximumPoolSize;\n }",
"protected int getTimeoutInMs() {\n return this.properties.executionTimeoutInMilliseconds().get();\n }",
"public void setNortpTimeout(int seconds);",
"public long getTimeLimit() {\n\t\treturn timeLimit;\n\t}",
"public void setLoginTimeout(int paramLoginTimeout) {\n\tiLoginTimeout = paramLoginTimeout ;\n }",
"public Long getDispatchtimemax() {\r\n return dispatchtimemax;\r\n }",
"void setMaximum(int max);",
"public static long getMaximumResponseTime() {\n return (long) maxResponseTime;\n }",
"public void setConnectionTimeout(double connectionTimeout) {\n this.connectionTimeout = connectionTimeout;\n saveProperties();\n }",
"public void setMaxPoolSize(int maxPoolSize) {\n this.maxPoolSize = maxPoolSize;\n }",
"public long getExecutionTimeout() {\n \n // return it\n return executionTimeout;\n }",
"public void setMaxIterations(int number) {\r\n if (number < CurrentIteration) {\r\n throw new Error(\"Cannot be lower than the current iteration.\");\r\n }\r\n MaxIteration = number;\r\n Candidates.ensureCapacity(MaxIteration);\r\n }",
"public void SetMaxVal(int max_val);",
"public void setMaximum(Number max) {\n this.max = max;\n }",
"public void setVarimaxMaximumIterations(int max){\n this.nVarimaxMax = max;\n }",
"protected int minTimeout() { return 500; }",
"public void setMaxAgeTime(Long MaxAgeTime) {\n this.MaxAgeTime = MaxAgeTime;\n }",
"public void setConnectionTimeout(int connectionTimeout)\r\n\t{\r\n\t\tthis.connectionTimeout = connectionTimeout;\r\n\t}",
"public void setMaxCalls(int max);",
"void setMaxValue();",
"public int getMaxTime() { return _maxTime; }",
"public synchronized void setMaxRate(int maxRate)\n throws IllegalArgumentException {\n if (maxRate < 0) {\n throw new IllegalArgumentException(\"maxRate can not less than 0\");\n }\n this.maxRate = maxRate;\n if (maxRate == 0) {\n this.timeCostPerChunk = 0;\n } else {\n this.timeCostPerChunk = (1000000000L * CHUNK_LENGTH)\n / (this.maxRate * KB);\n }\n }",
"@Override\n public void setQueryTimeout( int x ) throws SQLException {\n timeout = x;\n }",
"public void setMaxHour(Integer maxHour) {\r\n this.maxHour = maxHour;\r\n }",
"public void setMaxSpeed(double speed){\n\t\tthis.speed = speed;\n\t}",
"public void setConnectionTimeout(int connectionTimeout) {\r\n this.connectionTimeout = connectionTimeout;\r\n }",
"public void setMaximumCacheSize(int i) {\n this.maximumCacheSize = i;\n shrinkCacheToMaximumSize();\n }",
"public void setTimeout(double timeout){\n this.timeout = timeout;\n }",
"public void setExecuteTime(Date executeTime) {\n this.executeTime = executeTime;\n }",
"public M csmiHostMax(Object max){this.put(\"csmiHostMax\", max);return this;}",
"@Override public ServerConfig timeout(final int value, final TimeUnit units) {\n this.timeout = units.toMillis(value);\n return this;\n }",
"static public void setMaxAsyncPollingRetries(int maxRetries) {\n maxAsyncPollingRetries = maxRetries;\n }",
"public void setMax(int max) {\n this.max = max;\n }",
"public void setMax(int max) {\n this.max = max;\n }",
"public void setMaxHostRunningVms(java.lang.Integer maxHostRunningVms) {\r\n this.maxHostRunningVms = maxHostRunningVms;\r\n }",
"public void set_max(byte value) {\n setSIntBEElement(offsetBits_max(), 8, value);\n }"
]
| [
"0.70824873",
"0.7019046",
"0.66868365",
"0.6615328",
"0.6589215",
"0.65482616",
"0.64738363",
"0.64622396",
"0.6329382",
"0.6329143",
"0.6305342",
"0.6297918",
"0.6247958",
"0.6225306",
"0.6162663",
"0.60684615",
"0.6068433",
"0.6047148",
"0.6040629",
"0.59865934",
"0.5973927",
"0.5959918",
"0.59564114",
"0.59174883",
"0.589063",
"0.585751",
"0.585434",
"0.5820698",
"0.5811583",
"0.57969826",
"0.5796981",
"0.57967025",
"0.5785463",
"0.57709706",
"0.57482696",
"0.5747055",
"0.5745744",
"0.57455987",
"0.5745133",
"0.57410455",
"0.57316923",
"0.5721175",
"0.5703144",
"0.56829983",
"0.56595397",
"0.5649812",
"0.5644887",
"0.5644887",
"0.562594",
"0.5620945",
"0.5614151",
"0.5602263",
"0.55954045",
"0.5583748",
"0.55779904",
"0.5570993",
"0.55669606",
"0.5560728",
"0.5545968",
"0.5540898",
"0.55276126",
"0.5515682",
"0.55124897",
"0.54967594",
"0.5494697",
"0.5494597",
"0.5492094",
"0.54845494",
"0.54697317",
"0.5460497",
"0.54557043",
"0.54536796",
"0.544485",
"0.5431687",
"0.54300123",
"0.5414502",
"0.54134023",
"0.5410283",
"0.5406926",
"0.5404692",
"0.5400347",
"0.539537",
"0.5388813",
"0.53834367",
"0.5381038",
"0.53743684",
"0.53579193",
"0.5357895",
"0.53556144",
"0.5354424",
"0.5353754",
"0.53534925",
"0.5353045",
"0.5352056",
"0.53520477",
"0.53516746",
"0.53455216",
"0.53455216",
"0.5345516",
"0.5333219"
]
| 0.569635 | 43 |
Gets the output action, one of: "replace", "merge", "reduce". Defaults to "replace". | public String getAction() {
return action;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public MapReduceToCollectionOperation action(final String action) {\n notNull(\"action\", action);\n isTrue(\"action must be one of: \\\"replace\\\", \\\"merge\\\", \\\"reduce\\\"\", VALID_ACTIONS.contains(action));\n this.action = action;\n return this;\n }",
"public String getAction() {\n Object ref = action_;\n if (!(ref instanceof String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n String s = bs.toStringUtf8();\n action_ = s;\n return s;\n } else {\n return (String) ref;\n }\n }",
"public String calcelAction() {\n\t\tthis.setViewOrNewAction(false);\n\t\treturn null;\n\t}",
"public String getAction() {\n Object ref = action_;\n if (ref instanceof String) {\n return (String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n String s = bs.toStringUtf8();\n action_ = s;\n return s;\n }\n }",
"public String getAction() {\n\t\treturn action.get();\n\t}",
"public String getAction() {\r\n\t\treturn action;\r\n\t}",
"public String getAction() {\n\t\treturn action;\n\t}",
"public String getAction() {\n\t\treturn action;\n\t}",
"public String getAction() {\n\t\treturn action;\n\t}",
"public String getAction() {\n\t\treturn action;\n\t}",
"@Override\n\tpublic String getAction() {\n\t\treturn action;\n\t}",
"public String getAction() {\n return this.action;\n }",
"public String getChangeAction()\r\n\t{\r\n\t\treturn changeAction;\r\n\t}",
"public final Token output() throws RecognitionException {\n\t\tToken token = null;\n\n\n\t\tToken STRING11=null;\n\t\tToken ML_STRING12=null;\n\t\tToken AST13=null;\n\t\tToken ACTION14=null;\n\n\t\ttry {\n\t\t\t// org/antlr/gunit/gUnit.g:160:2: ( STRING | ML_STRING | AST | ACTION )\n\t\t\tint alt12=4;\n\t\t\tswitch ( input.LA(1) ) {\n\t\t\tcase STRING:\n\t\t\t\t{\n\t\t\t\talt12=1;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase ML_STRING:\n\t\t\t\t{\n\t\t\t\talt12=2;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase AST:\n\t\t\t\t{\n\t\t\t\talt12=3;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tcase ACTION:\n\t\t\t\t{\n\t\t\t\talt12=4;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tNoViableAltException nvae =\n\t\t\t\t\tnew NoViableAltException(\"\", 12, 0, input);\n\t\t\t\tthrow nvae;\n\t\t\t}\n\t\t\tswitch (alt12) {\n\t\t\t\tcase 1 :\n\t\t\t\t\t// org/antlr/gunit/gUnit.g:160:4: STRING\n\t\t\t\t\t{\n\t\t\t\t\tSTRING11=(Token)match(input,STRING,FOLLOW_STRING_in_output359); \n\n\t\t\t\t\t\t\tSTRING11.setText((STRING11!=null?STRING11.getText():null).replace(\"\\\\n\", \"\\n\").replace(\"\\\\r\", \"\\r\").replace(\"\\\\t\", \"\\t\")\n\t\t\t\t\t\t\t.replace(\"\\\\b\", \"\\b\").replace(\"\\\\f\", \"\\f\").replace(\"\\\\\\\"\", \"\\\"\").replace(\"\\\\'\", \"\\'\").replace(\"\\\\\\\\\", \"\\\\\"));\n\t\t\t\t\t\t\ttoken = STRING11;\n\t\t\t\t\t\t\t\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase 2 :\n\t\t\t\t\t// org/antlr/gunit/gUnit.g:166:4: ML_STRING\n\t\t\t\t\t{\n\t\t\t\t\tML_STRING12=(Token)match(input,ML_STRING,FOLLOW_ML_STRING_in_output369); \n\t\t\t\t\ttoken = ML_STRING12;\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase 3 :\n\t\t\t\t\t// org/antlr/gunit/gUnit.g:167:4: AST\n\t\t\t\t\t{\n\t\t\t\t\tAST13=(Token)match(input,AST,FOLLOW_AST_in_output376); \n\t\t\t\t\ttoken = AST13;\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\tcase 4 :\n\t\t\t\t\t// org/antlr/gunit/gUnit.g:168:4: ACTION\n\t\t\t\t\t{\n\t\t\t\t\tACTION14=(Token)match(input,ACTION,FOLLOW_ACTION_in_output383); \n\t\t\t\t\ttoken = ACTION14;\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\n\t\t\t}\n\t\t}\n\t\tcatch (RecognitionException re) {\n\t\t\treportError(re);\n\t\t\trecover(input,re);\n\t\t}\n\t\tfinally {\n\t\t\t// do for sure before leaving\n\t\t}\n\t\treturn token;\n\t}",
"public String getAction() {\n return action;\n }",
"public String getAction () {\n return action;\n }",
"public int getAction() {\n return action_;\n }",
"public int getAction() {\n\t\treturn action;\n\t}",
"public int getAction() {\n return action_;\n }",
"public RepositoryActionType getAction() {\n\t\t\treturn action;\n\t\t}",
"public int getAction() {\n return action;\n }",
"public A getAction() {\r\n\t\treturn action;\r\n\t}",
"public IInputOutput getConstantOuput();",
"String getOp();",
"String getOp();",
"String getOp();",
"public String getDocAction() {\n\t\treturn (String) get_Value(\"DocAction\");\n\t}",
"public boolean actionReplaceable() {\n return mReplaceable;\n }",
"java.lang.String getOutput();",
"public Action getAction() {\n\treturn action;\n }",
"public com.google.protobuf.ByteString\n getActionBytes() {\n Object ref = action_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (String) ref);\n action_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public com.google.protobuf.ByteString\n getActionBytes() {\n Object ref = action_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (String) ref);\n action_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"@NonNull\n public Action getAction() {\n return this.action;\n }",
"@Override\r\n\tpublic Action getAction() {\n\t\treturn Action.GRUNINST;\r\n\t}",
"public Action getAction() {\n return action;\n }",
"@Override\r\n\tpublic String getAction() {\n\t\tString action = null;\r\n\t\tif(caction.getSelectedIndex() == -1) {\r\n\t\t\treturn null;\r\n\t}\r\n\tif(caction.getSelectedIndex() >= 0) {\r\n\t\t\taction = caction.getSelectedItem().toString();\r\n\t}\r\n\t\treturn action;\r\n\t\r\n\t}",
"public String getOutputFlag();",
"public com.cantor.drop.aggregator.model.CFTrade.TradeAction getAction() {\n com.cantor.drop.aggregator.model.CFTrade.TradeAction result = com.cantor.drop.aggregator.model.CFTrade.TradeAction.valueOf(action_);\n return result == null ? com.cantor.drop.aggregator.model.CFTrade.TradeAction.EXECUTED : result;\n }",
"public java.lang.CharSequence getOperation() {\n return operation;\n }",
"public int getAction()\n {\n return m_action;\n }",
"public com.cantor.drop.aggregator.model.CFTrade.TradeAction getAction() {\n com.cantor.drop.aggregator.model.CFTrade.TradeAction result = com.cantor.drop.aggregator.model.CFTrade.TradeAction.valueOf(action_);\n return result == null ? com.cantor.drop.aggregator.model.CFTrade.TradeAction.EXECUTED : result;\n }",
"public NetworkRuleAction defaultAction() {\n return this.defaultAction;\n }",
"@ApiModelProperty(required = true, value = \"The action type to be applied. When UPDATE_INTEREST_SETTINGS action type is used, all the existing deposit accounts will be updated with the latest interest-related fields at the end of day job execution\")\n @JsonProperty(JSON_PROPERTY_ACTION)\n @JsonInclude(value = JsonInclude.Include.ALWAYS)\n\n public ActionEnum getAction() {\n return action;\n }",
"public String getActionInfo() {\n\n String\taction\t= getAction();\n\n if (ACTION_AppsProcess.equals(action)) {\n return \"Process:AD_Process_ID=\" + getAD_Process_ID();\n } else if (ACTION_DocumentAction.equals(action)) {\n return \"DocumentAction=\" + getDocAction();\n } else if (ACTION_AppsReport.equals(action)) {\n return \"Report:AD_Process_ID=\" + getAD_Process_ID();\n } else if (ACTION_AppsTask.equals(action)) {\n return \"Task:AD_Task_ID=\" + getAD_Task_ID();\n } else if (ACTION_SetVariable.equals(action)) {\n return \"SetVariable:AD_Column_ID=\" + getAD_Column_ID();\n } else if (ACTION_SubWorkflow.equals(action)) {\n return \"Workflow:MPC_Order_Workflow_ID=\" + getMPC_Order_Workflow_ID();\n } else if (ACTION_UserChoice.equals(action)) {\n return \"UserChoice:AD_Column_ID=\" + getAD_Column_ID();\n } else if (ACTION_UserWorkbench.equals(action)) {\n return \"Workbench:?\";\n } else if (ACTION_UserForm.equals(action)) {\n return \"Form:AD_Form_ID=\" + getAD_Form_ID();\n } else if (ACTION_UserWindow.equals(action)) {\n return \"Window:AD_Window_ID=\" + getAD_Window_ID();\n }\n\n /*\n * else if (ACTION_WaitSleep.equals(action))\n * return \"Sleep:WaitTime=\" + getWaitTime();\n */\n return \"??\";\n\n }",
"public int getActionCommand() {\n return actionCommand_;\n }",
"public int getActionCommand() {\n return actionCommand_;\n }",
"com.google.protobuf.StringValue getConversionAction();",
"public java.lang.CharSequence getOperation() {\n return Operation;\n }",
"public UndoableAction getAction() {\n return (UndoableAction) super.getAction();\n }",
"public abstract Object getOutput ();",
"public java.lang.CharSequence getOperation() {\n return operation;\n }",
"String getOutputName();",
"public static String getOpResult (){\n \treturn opResult;\n }",
"public Operation operation() {\n return Operation.fromSwig(alert.getOp());\n }",
"public java.lang.CharSequence getOperation() {\n return Operation;\n }",
"public void setOutput(String output) { this.output = output; }",
"public Class<?> getActionClass() {\n return this.action;\n }",
"public static OutputActionCase ofToSALOutputAction(Action action) {\n\n OutputActionBuilder outputAction = new OutputActionBuilder();\n PortAction port = action.getAugmentation(PortAction.class);\n if (port != null) {\n outputAction.setOutputNodeConnector(new Uri(port.getPort().getValue().toString()));\n } else {\n logger.error(\"Provided action is not OF Output action, no associated port found!\");\n }\n\n MaxLengthAction length = action.getAugmentation(MaxLengthAction.class);\n if (length != null) {\n outputAction.setMaxLength(length.getMaxLength());\n } else {\n logger.error(\"Provided action is not OF Output action, no associated length found!\");\n }\n\n return new OutputActionCaseBuilder().setOutputAction(outputAction.build()).build();\n }",
"String getOutput();",
"public String getOutput() {\n return output;\n }",
"public Output getOutput() {\n\t\treturn output;\n\t}",
"abstract String getOp();",
"public String getUnderwritingAssessmentEvaluateActionReference() {\n return underwritingAssessmentEvaluateActionReference;\n }",
"public String getOp() {\n return op;\n }",
"public String getOp() {\n return op;\n }",
"private String convertAction(String action) {\n\t\treturn action.toLowerCase();\n\t}",
"public String getDocAction();",
"public String getDocAction();",
"String getOperation();",
"String getOperation();",
"public List<KYCChipActionOutput> getActionOutputs() {\n return mOutputs;\n }",
"final public String getActionCommand() {\n return command;\n }",
"public String getActionLog() {\n \t\treturn actionLog;\n \t}",
"public String getOutputFileName() {\n\t\treturn outputFile;\n\t}",
"public boolean getUseReducer(){\n\t\treturn this.useReducer;\n\t}",
"public String getOutput() {\n\t\treturn results.getOutput() ;\n\t}",
"com.google.ads.googleads.v6.resources.ConversionAction getConversionAction();",
"public Integer getActiontype() {\n return actiontype;\n }",
"public java.lang.String getActionClassName() {\n java.lang.Object ref = actionClassName_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n if (bs.isValidUtf8()) {\n actionClassName_ = s;\n }\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public TSetAclAction getAction() {\n return this.action;\n }",
"public String getUserAction() {\n return userAction;\n }",
"public String getOutput() {\n return output.toString();\n }",
"@Override\n\tpublic String operation() {\n\t\treturn adaptee.specificOperation();\n\t}",
"public String getActionArg() {\n\t\treturn actionArg;\n\t}",
"public String getOutputFile() {\n return outputFile;\n }",
"public String getMatchOperation() {\n return matchOperation;\n }",
"public String getModifyOperator() {\n\t\treturn modifyOperator;\n\t}",
"public java.lang.String getOutput() {\n java.lang.Object ref = output_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n output_ = s;\n return s;\n }\n }",
"public String getActionType() {\n return actionType;\n }",
"public String getActionResult(){\r\n return resultOfLastAction;\r\n }",
"public String getActionType() {\n return actionType;\n }",
"public java.lang.String getOutput() {\n java.lang.Object ref = output_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n output_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public void setOutput(String outputFile) {\n this.output = outputFile;\n }",
"@Override\r\n\tpublic Action getExportAction()\r\n\t{\t\t\t\t\r\n\t\treturn new JournalProjektExportAction();\r\n\t}",
"public java.lang.String getActionClassName() {\n java.lang.Object ref = actionClassName_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n if (bs.isValidUtf8()) {\n actionClassName_ = s;\n }\n return s;\n }\n }",
"public String getProcessAction() {\n\t\treturn processAction;\n\t}",
"public String getoutputString() {\r\n\t\treturn outputString;\r\n\t}",
"String getOnAction();"
]
| [
"0.602333",
"0.5827876",
"0.5798243",
"0.57265407",
"0.56674165",
"0.5630073",
"0.56189376",
"0.56189376",
"0.56189376",
"0.56189376",
"0.5552093",
"0.54909116",
"0.544612",
"0.54447126",
"0.54414207",
"0.5434675",
"0.53783333",
"0.5357646",
"0.5326322",
"0.5270777",
"0.5267967",
"0.5266411",
"0.52513194",
"0.5223624",
"0.5223624",
"0.5223624",
"0.52090526",
"0.52020615",
"0.5174864",
"0.5150474",
"0.5148771",
"0.51212645",
"0.5117102",
"0.5111939",
"0.509975",
"0.50866944",
"0.50722116",
"0.5069138",
"0.5066368",
"0.50616467",
"0.5059788",
"0.5057371",
"0.50511926",
"0.50436115",
"0.50409317",
"0.50348496",
"0.5034234",
"0.50304234",
"0.5028387",
"0.5023277",
"0.50063074",
"0.49950957",
"0.49876523",
"0.49785",
"0.49707246",
"0.4954927",
"0.49454257",
"0.4941529",
"0.49216938",
"0.4920528",
"0.49177697",
"0.4909351",
"0.49010503",
"0.4888315",
"0.4888315",
"0.48789266",
"0.48775566",
"0.48775566",
"0.4867481",
"0.4867481",
"0.4857924",
"0.4833991",
"0.48300847",
"0.48252434",
"0.4820434",
"0.4809558",
"0.4808864",
"0.4806947",
"0.4805895",
"0.4798943",
"0.47960177",
"0.4793425",
"0.47651944",
"0.47641698",
"0.47616628",
"0.47599143",
"0.47544217",
"0.47376058",
"0.47354653",
"0.4734717",
"0.47346514",
"0.47337693",
"0.4733496",
"0.47258395",
"0.4724146",
"0.47235066",
"0.47202724",
"0.47169244"
]
| 0.5477128 | 14 |
Sets the output action one of: "replace", "merge", "reduce" | public MapReduceToCollectionOperation action(final String action) {
notNull("action", action);
isTrue("action must be one of: \"replace\", \"merge\", \"reduce\"", VALID_ACTIONS.contains(action));
this.action = action;
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public void setOutput(String output) { this.output = output; }",
"public void setOutput(int output) {\n Output = output;\n }",
"public void setAction(String action) { this.action = action; }",
"public void setAction(String action);",
"public void setOutput(Output output) {\n\t\tthis.output = output;\n\t}",
"public void setOutput(String outputFile) {\n this.output = outputFile;\n }",
"public void setOutput(String O)\t\n\t{\t//start of setOuput method\n\t\toutputMsg = O;\n\t}",
"public void setOutputFlag(String flag);",
"public void setOutput(String output) {\r\n\t\tthis.output = output;\r\n\t}",
"public void setAction (String action) {\n this.action = action;\n }",
"public void setAction(A action) {\r\n\t\tthis.action = action;\r\n\t}",
"public void setOutput(String output) {\n this.output = output;\n }",
"public void setAction(Action action) {\n this.action = action;\n }",
"public void setAction(String action) {\n this.action = action;\n }",
"public void setAction(String action) {\n this.action = action;\n }",
"void setOutputFormat(String outputFormat);",
"@Override\n\tpublic void setAction() {\n\t}",
"private void setAction(String action)\r\n/* 46: */ {\r\n/* 47: 48 */ this.action = action;\r\n/* 48: */ }",
"public void setOutput(File output) {\r\n this.output = output;\r\n }",
"private void output(CompositeContainer aggregationResult) {\n\t\tIOutput selectedOutput = this.gui.getSelectedOutput();\n\t\tselectedOutput.output(aggregationResult);\n\t\tselectedOutput.reset();\n\t}",
"public void setAction(String action) {\n\t\tthis.action = action;\n\t}",
"public void setAction(String str) {\n\t\taction = str;\n\t}",
"public void setOutput(TestOut output) {\n\tthis.output = output;\n\tsuper.setOutput(output);\n }",
"public void setAction(String action) {\n\t\tthis.action.set(action);\n\t}",
"public void setAction(MethodExpression action) {\n this.action = action;\n }",
"public void setAction(int value) {\n this.action = value;\n }",
"@Override\r\n\tpublic void storeSingleAction(CarRpmState input, CarControl action,\r\n\t\t\tCarRpmState output) {\n\t\ttry{\r\n\t\t\tif (input!=null && action!=null && output!=null){\r\n\t\t\t\tdouble[] wheels = input.getWheelSpinVel();\r\n\t\t\t\tdouble inputAvg = 0;\r\n\t\t\t\tfor (int i=0;i<wheels.length;++i)\r\n\t\t\t\t\tinputAvg+=wheels[i];\r\n\t\t\t\tinputAvg /=wheels.length;\r\n\t\t\t\t\r\n\t\t\t\twheels = output.getWheelSpinVel();\r\n\t\t\t\tdouble outputAvg = 0;\r\n\t\t\t\tfor (int i=0;i<wheels.length;++i)\r\n\t\t\t\t\toutputAvg+=wheels[i];\r\n\t\t\t\toutputAvg /=wheels.length;\r\n\t\t\t\tSystem.out.println(input.getSpeed()+\"\\t\\t\"+new DoubleArrayList(input.getWheelSpinVel())+\"\\t\\t\"+round(action.getBrake())+\"\\t\\t\"+output.getSpeed()+\"\\t\\t\"+new DoubleArrayList(output.getWheelSpinVel())+\"\\t\\t\"+output.getDistanceRaced());\r\n\t\t\t\twriter.write(round(input.getSpeed())+\"\\t\\t\"+round(action.getBrake())+\"\\t\\t\"+round(output.getSpeed()));\r\n\t\t\t\twriter.newLine();\r\n\t\t\t\twriter.flush();\r\n\t\t\t\t\r\n\t\t\t}\r\n\t\t} catch (Exception e){\r\n\t\t\te.printStackTrace();\r\n\t\t}//*/\r\n\t}",
"protected void setOutputFilter(OutputFilter filter) {\n this.outputFilter = filter;\n }",
"private void appendAction(int action) {\n \t\tContext context = Settlers.getInstance().getContext();\n \t\tappendAction(context.getString(action));\n \t}",
"public static OutputActionCase ofToSALOutputAction(Action action) {\n\n OutputActionBuilder outputAction = new OutputActionBuilder();\n PortAction port = action.getAugmentation(PortAction.class);\n if (port != null) {\n outputAction.setOutputNodeConnector(new Uri(port.getPort().getValue().toString()));\n } else {\n logger.error(\"Provided action is not OF Output action, no associated port found!\");\n }\n\n MaxLengthAction length = action.getAugmentation(MaxLengthAction.class);\n if (length != null) {\n outputAction.setMaxLength(length.getMaxLength());\n } else {\n logger.error(\"Provided action is not OF Output action, no associated length found!\");\n }\n\n return new OutputActionCaseBuilder().setOutputAction(outputAction.build()).build();\n }",
"@Override\n\tvoid output() {\n\t\t\n\t}",
"public void setActionInfo(String actionInfo);",
"public void setCaseAction(java.lang.String newCaseAction) {\n\tcaseAction = newCaseAction;\n}",
"@Override\n protected void setup(org.apache.hadoop.mapreduce.Reducer.Context context) throws IOException, InterruptedException {\n int reduceTaskId = context.getTaskAttemptID().getTaskID().getId();\n System.out.println(\"======== setup at task : \" + reduceTaskId);\n //mos = new MultipleOutputs(context);\n //resultOutput = context.getConfiguration().get(\"result_output\");\n //deleteOutput = context.getConfiguration().get(\"delete_output\");\n //System.out.println(\"========> resultOutput : \" + reduceTaskId + \"=============> deleteOutput : \" + deleteOutput);\n }",
"public void setExecuteAction(Action action) {\n this.data.setExecuteAction(action);\n }",
"public void setActionReport(ActionReport newReport);",
"public void setAction(@NotNull Action action) {\n this.action = action;\n }",
"public void setAction(String action)\n {\n // Check property\n if (action == null) \n { \n action = \"\"; \n }\n \n // If the specified context path already contains\n // a query string, append an ampersand character\n // for further parameter concatenation\n if (action.indexOf(\"=\") != -1)\n {\n action = action + \"&\";\n }\n else\n {\n action = action + \"?\";\n }\n \n // Set property\n this.action = action;\n }",
"public Format setOutputFormat(Format output) {\n outputFormat = output;\n return output;\n }",
"public void setOutputMode(Integer givenFlag) {\n switch (givenFlag) {\n case 0:\n this.operFlag = givenFlag;\n this.operOutHeaders = this.outputStack[0];\n this.operOutStack = this.outputStack[1];\n break;\n case 1:\n this.operFlag = givenFlag;\n this.operOutHeaders = this.outputStack[2];\n this.operOutStack = this.outputStack[3];\n break;\n }\n this.currentIndex = 1;\n this.currentChName = this.operOutHeaders.get(this.currentIndex - 1);\n }",
"public void setAction(String action) {\n this.action = action == null ? null : action.trim();\n }",
"public void setAction(SliceItem action) {\n mAction = action;\n }",
"public void setOutputproperty(String outputProp) {\r\n redirector.setOutputProperty(outputProp);\r\n incompatibleWithSpawn = true;\r\n }",
"public MapReduceOutput mapReduce(final MapReduceCommand command) {\n ReadPreference readPreference = command.getReadPreference() == null ? getReadPreference() : command.getReadPreference();\n Map<String, Object> scope = command.getScope();\n Boolean jsMode = command.getJsMode();\n if (command.getOutputType() == MapReduceCommand.OutputType.INLINE) {\n\n MapReduceWithInlineResultsOperation<DBObject> operation =\n new MapReduceWithInlineResultsOperation<>(getNamespace(), new BsonJavaScript(command.getMap()),\n new BsonJavaScript(command.getReduce()), getDefaultDBObjectCodec())\n .filter(wrapAllowNull(command.getQuery()))\n .limit(command.getLimit())\n .maxTime(command.getMaxTime(MILLISECONDS), MILLISECONDS)\n .jsMode(jsMode != null && jsMode)\n .sort(wrapAllowNull(command.getSort()))\n .verbose(command.isVerbose())\n .collation(command.getCollation());\n\n if (scope != null) {\n operation.scope(wrap(new BasicDBObject(scope)));\n }\n if (command.getFinalize() != null) {\n operation.finalizeFunction(new BsonJavaScript(command.getFinalize()));\n }\n MapReduceBatchCursor<DBObject> executionResult = executor.execute(operation, readPreference, getReadConcern());\n return new MapReduceOutput(command.toDBObject(), executionResult);\n } else {\n String action;\n switch (command.getOutputType()) {\n case REPLACE:\n action = \"replace\";\n break;\n case MERGE:\n action = \"merge\";\n break;\n case REDUCE:\n action = \"reduce\";\n break;\n default:\n throw new IllegalArgumentException(\"Unexpected output type\");\n }\n\n MapReduceToCollectionOperation operation =\n new MapReduceToCollectionOperation(getNamespace(),\n new BsonJavaScript(command.getMap()),\n new BsonJavaScript(command.getReduce()),\n command.getOutputTarget(),\n getWriteConcern())\n .filter(wrapAllowNull(command.getQuery()))\n .limit(command.getLimit())\n .maxTime(command.getMaxTime(MILLISECONDS), MILLISECONDS)\n .jsMode(jsMode != null && jsMode)\n .sort(wrapAllowNull(command.getSort()))\n .verbose(command.isVerbose())\n .action(action)\n .databaseName(command.getOutputDB())\n .bypassDocumentValidation(command.getBypassDocumentValidation())\n .collation(command.getCollation());\n\n if (scope != null) {\n operation.scope(wrap(new BasicDBObject(scope)));\n }\n if (command.getFinalize() != null) {\n operation.finalizeFunction(new BsonJavaScript(command.getFinalize()));\n }\n try {\n MapReduceStatistics mapReduceStatistics = executor.execute(operation, getReadConcern());\n DBCollection mapReduceOutputCollection = getMapReduceOutputCollection(command);\n DBCursor executionResult = mapReduceOutputCollection.find();\n return new MapReduceOutput(command.toDBObject(), executionResult, mapReduceStatistics, mapReduceOutputCollection);\n } catch (MongoWriteConcernException e) {\n throw createWriteConcernException(e);\n }\n }\n }",
"void resetOutput(){\n\t\tSystem.setOut(oldOut);\n\t}",
"public void setuseReducer( boolean newValueReducer){\n\t\tthis.useReducer = newValueReducer;\n\t}",
"@Override\r\n\t\t\tpublic void actionExecuted(GameAction action) {\r\n\t\t\t\tif(action != selectAction) return;\r\n\t\t\t\tattackedCollector = action.getCard().getCollector();\r\n\t\t\t}",
"private void appendAction(String action) {\n \t\tif (board.isSetupPhase())\n \t\t\treturn;\n \n \t\tif (actionLog == \"\")\n \t\t\tactionLog += \"→ \" + action;\n \t\telse\n \t\t\tactionLog += \"\\n\" + \"→ \" + action;\n \n \t}",
"@Override\n\tpublic void action() {\n\t\tSystem.out.println(\"action now!\");\n\t}",
"public void executeAction() {\n classifier.addFeature(operation);\n }",
"@Override\n\tpublic void writeCommand(final IPrologTermOutput pto) {\n\t\tpto.openTerm(\"execute_custom_operations\").printAtomOrNumber(stateId)\n\t\t\t\t.printAtom(name);\n\t\tfinal ASTProlog prolog = new ASTProlog(pto, null);\n\t\tevalElement.getAst().apply(prolog);\n\t\tpto.printNumber(nrOfSolutions);\n\t\tpto.printVariable(NEW_STATE_ID_VARIABLE);\n\t\tpto.printVariable(\"Errors\").closeTerm();\n\t}",
"@Override\r\n\tpublic void action() {\n\t\t\r\n\t}",
"public final void setOutput(String sinkName, Object output) throws ConnectException,\n UnsupportedOperationException {\n if (output instanceof ContentHandler) {\n this.result = new SAXResult((ContentHandler) output);\n } else if (output instanceof WritableByteChannel) {\n this.result = new StreamResult(Channels.newOutputStream((WritableByteChannel) output));\n } else if (output instanceof OutputStream) {\n this.result = new StreamResult((OutputStream) output);\n } else if (output instanceof Writer) {\n this.result = new StreamResult((Writer) output);\n } else if (output instanceof File) {\n this.result = new StreamResult((File) output);\n } else if (output instanceof Node) {\n this.result = new DOMResult((Node) output);\n } else {\n throw new ConnectException(i18n.getString(\"unsupportedOutputType\", output.getClass(),\n XMLReaderFilter.class.getName()));\n }\n }",
"@Override\r\n\tpublic void actionMapper(String action) {\n\t\tProperty prop = javaScriptWindow.propertyTable.getPropertyTable()\r\n\t\t\t\t.getSelectedProperty();\r\n\t\tif (action.equalsIgnoreCase(CommonConstants.SAVEASNEWBUTTON)) {\r\n\t\t\tsaveAsNewButtonAction();\r\n\t\t}\r\n\t\tif (action.equalsIgnoreCase(CommonConstants.NEWBUTTON)) {\r\n\t\t\tnewButtonAction();\r\n\t\t}\r\n\t\tif (action.equalsIgnoreCase(CommonConstants.LOADBUTTON)) {\r\n\t\t\tloadButtonAction();\r\n\r\n\t\t}\r\n\t\tif (action.equalsIgnoreCase(JavaScriptConstants.SEARCHTEXTBOX)) {\r\n\t\t\tsearchTextAction();\r\n\t\t}\r\n\r\n\t\tif (action.equalsIgnoreCase(CommonConstants.RIGHTSIDECENTERTABLE)) {\r\n\t\t\trightSideCenterTableAction();\r\n\t\t}\r\n\t\tif (action.equalsIgnoreCase(CommonConstants.DELETEBUTTON)) {\r\n\t\t\tdeleteButtonAction();\r\n\t\t}\r\n\t}",
"private void Log(String action) {\r\n\t}",
"public void setDocAction (String DocAction);",
"public void setDocAction (String DocAction);",
"@Override\n public void action() {\n }",
"@Override\n public void action() {\n }",
"@Override\n public void action() {\n }",
"public void outputToFile(ModifierList original, ModifierList mutant) {\r\n\t\tMutantsInformationHolder.mainHolder().addMutation(MutationOperator.AMC, original, mutant);\r\n\t}",
"@Override\n public void emitOutput() {\n }",
"public void setDefaultOutputFiles() {\n setOutputFileValue(\"t\",false);\n setOutputFileValue(\"s\",false);\n setOutputFileValue(\"opsit\",false);\n setOutputFileValue(\"airt\",false);\n setOutputFileValue(\"q\",false);\n setOutputFileValue(\"cost\",false);\n setOutputFileValue(\"psi\",false);\n setOutputFileValue(\"opsi\",false);\n setOutputFileValue(\"opsip\",false);\n setOutputFileValue(\"opsia\",false);\n setOutputFileValue(\"zpsi\",false);\n setOutputFileValue(\"fofy\",false);\n setOutputFileValue(\"rho\",false);\n setOutputFileValue(\"err\",false);\n setOutputFileValue(\"sst\",false);\n setOutputFileValue(\"sss\",false);\n setOutputFileValue(\"tair\",false);\n setOutputFileValue(\"qair\",false);\n setOutputFileValue(\"hice\",false);\n setOutputFileValue(\"aice\",false);\n setOutputFileValue(\"tice\",false);\n setOutputFileValue(\"pptn\",false);\n setOutputFileValue(\"evap\",false);\n setOutputFileValue(\"runoff\",false);\n setOutputFileValue(\"arcice\",false);\n setOutputFileValue(\"fwfxneto\",false);\n setOutputFileValue(\"fx0neto\",false);\n setOutputFileValue(\"fxfa\",false);\n setOutputFileValue(\"temp\",false);\n setOutputFileValue(\"saln\",false);\n setOutputFileValue(\"albedo\",false);\n }",
"@Override\n public Format setOutputFormat(Format format)\n {\n Format outputFormat = super.setOutputFormat(format);\n \n if (logger.isDebugEnabled() && (outputFormat != null))\n logger.debug(\"SwScaler set to output in \" + outputFormat);\n return outputFormat;\n }",
"@Override\n\t\t\tpublic void performAction(PrintWriter pw) {\n\t\t\t\t\n\t\t\t\tString hello = \"helloworld\";\n\t\t\t\t\n\t\t\t\tpw.println(hello);\n\t\t\t\t\n\t\t\t}",
"public AIOutput(int type) {\n\t\tsetOutput(type);\n\t}",
"@Override\n\tpublic void action() {\n\n\t}",
"public void setOutput(int mode) {\n\t\tswitch(mode) {\n\t\tcase UP:\n\t\t\tup = true;\n\t\t\tdown = false;\n\t\t\tleft = false;\n\t\t\tright = false;\n\t\t\tbreak;\n\t\tcase DOWN:\n\t\t\tup = false;\n\t\t\tdown = true;\n\t\t\tleft = false;\n\t\t\tright = false;\n\t\t\tbreak;\n\t\tcase LEFT:\n\t\t\tup = false;\n\t\t\tdown = false;\n\t\t\tleft = true;\n\t\t\tright = false;\n\t\t\tbreak;\n\t\tcase RIGHT:\n\t\t\tup = false;\n\t\t\tdown = false;\n\t\t\tleft = false;\n\t\t\tright = true;\n\t\t\tbreak;\n\t\t}\n\t}",
"public void setOperation(String op) {this.operation = op;}",
"public void markMinorActionReplace() throws JNCException {\n markLeafReplace(\"minorAction\");\n }",
"private void actionSaveOutput ()\r\n\t{\r\n\t\ttry\r\n\t\t{\t\t\t\r\n\t\t\tint tableSize = DataController.getTable().getTableSize();\r\n\r\n\t\t\tif (tableSize != 0)\r\n\t\t\t{\r\n\t\t\t\tJFileChooser saveFileChooser = new JFileChooser();\r\n\r\n\t\t\t\tFileNameExtensionFilter typeCSV = new FileNameExtensionFilter(\"CSV\", \"csv\", \"CSV\");\r\n\t\t\t\tsaveFileChooser.addChoosableFileFilter(typeCSV);\r\n\r\n\t\t\t\tFileNameExtensionFilter typeTXT = new FileNameExtensionFilter(\"TXT\", \"txt\", \"TXT\");\r\n\t\t\t\tsaveFileChooser.addChoosableFileFilter(typeTXT);\r\n\r\n\t\t\t\tsaveFileChooser.setAcceptAllFileFilterUsed(false);\r\n\t\t\t\tsaveFileChooser.setFileFilter(typeCSV);\r\n\r\n\t\t\t\tint isOpen = saveFileChooser.showOpenDialog(saveFileChooser);\r\n\r\n\t\t\t\tif (isOpen == JFileChooser.APPROVE_OPTION) \r\n\t\t\t\t{\r\n\t\t\t\t\tString filePath = saveFileChooser.getSelectedFile().getPath();\r\n\r\n\t\t\t\t\tint indexImage = mainFormLink.getComponentPanelLeft().getComponentComboboxFileName().getSelectedIndex();\r\n\r\n\t\t\t\t\t/*!*/DebugLogger.logMessage(\"Saving output of a single image \" + indexImage + \" to file \" + filePath, LOG_MESSAGE_TYPE.INFO);\r\n\r\n\t\t\t\t\tif (indexImage >= 0 && indexImage < tableSize)\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tif (saveFileChooser.getFileFilter().equals(typeCSV))\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tif (!filePath.substring(filePath.length() - 4).equals(\".csv\")) { filePath += \".csv\"; }\r\n\r\n\t\t\t\t\t\t\t//---- Save file in a CSV format\r\n\t\t\t\t\t\t\tOutputController.saveFile(filePath, DataController.getTable(), indexImage, OutputController.OUTPUT_FORMAT.CSV);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\telse\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tif (!filePath.substring(filePath.length() - 4).equals(\".txt\")) { filePath += \".txt\"; }\r\n\r\n\t\t\t\t\t\t\t//---- Save file in a txt format\r\n\t\t\t\t\t\t\tOutputController.saveFile(filePath, DataController.getTable(), indexImage, OutputController.OUTPUT_FORMAT.TXT);\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\tcatch (ExceptionMessage exception)\r\n\t\t{\r\n\t\t\tExceptionHandler.processException(exception);\r\n\t\t}\r\n\t}",
"void setOutputPath(String outputPath);",
"@Override\n public void map(Text key, DynamoDBItemWritable value, OutputCollector<Text, Text> output,\n Reporter reporter) throws IOException {\n if (itemCount % MAX_ITEM_COUNT_PER_FILE == 0) {\n long start = time.getNanoTime();\n if (recordWriter != null) {\n flusher.close(recordWriter, reporter);\n }\n\n String newOutputFilename = generateFilename();\n recordWriter = outputFormat.getRecordWriter(null, jobConf, newOutputFilename, reporter);\n\n long duration = time.getTimeSinceMs(start);\n log.info(\"Rotated over to file: \" + newOutputFilename + \" in \" + (duration / 1000.0) + \" \"\n + \"seconds.\");\n\n // When the reducer collects these filenames we want them to be\n // shuffled around - both to increase write spread on DynamoDB and\n // read spread on S3 when we later consume the data. We achieve this\n // by providing the reverse of the filename as the key in the mapper\n // output.\n String sortKey = new StringBuilder(newOutputFilename).reverse().toString();\n output.collect(new Text(sortKey), new Text(newOutputFilename));\n reporter.incrCounter(Counters.OUTPUT_FILES, 1);\n }\n\n // Write item to output file\n recordWriter.write(NullWritable.get(), value);\n reporter.incrCounter(Counters.DYNAMODB_ITEMS_READ, 1);\n\n itemCount++;\n }",
"public void markMinorActionMerge() throws JNCException {\n markLeafMerge(\"minorAction\");\n }",
"@Override\n\tprotected void compute() {\n\t\tSystem.out.println(\"This is an action\");\n\t}",
"public void setForceOutput(boolean forceOutput)\r\n {\r\n this.forceOutput = forceOutput;\r\n }",
"@Override\n public void action() {\n System.out.println(\"do some thing...\");\n }",
"public String calcelAction() {\n\t\tthis.setViewOrNewAction(false);\n\t\treturn null;\n\t}",
"private void actionSaveOutputAll ()\r\n\t{\r\n\t\ttry\r\n\t\t{\r\n\t\t\tint tableSize = DataController.getTable().getTableSize();\r\n\r\n\t\t\tif (tableSize != 0)\r\n\t\t\t{\r\n\t\t\t\tJFileChooser saveFileChooser = new JFileChooser();\r\n\r\n\t\t\t\tFileNameExtensionFilter typeCSV = new FileNameExtensionFilter(\"CSV\", \"csv\", \"CSV\");\r\n\t\t\t\tsaveFileChooser.addChoosableFileFilter(typeCSV);\r\n\r\n\t\t\t\tFileNameExtensionFilter typeTXT = new FileNameExtensionFilter(\"TXT\", \"txt\", \"TXT\");\r\n\t\t\t\tsaveFileChooser.addChoosableFileFilter(typeTXT);\r\n\r\n\t\t\t\tsaveFileChooser.setAcceptAllFileFilterUsed(false);\r\n\t\t\t\tsaveFileChooser.setFileFilter(typeCSV);\r\n\r\n\t\t\t\tint isOpen = saveFileChooser.showOpenDialog(saveFileChooser);\r\n\r\n\t\t\t\tif (isOpen == JFileChooser.APPROVE_OPTION) \r\n\t\t\t\t{\r\n\t\t\t\t\tString filePath = saveFileChooser.getSelectedFile().getPath();\r\n\r\n\t\t\t\t\t/*!*/DebugLogger.logMessage(\"Saving output of all images to file \" + filePath, LOG_MESSAGE_TYPE.INFO);\r\n\r\n\t\t\t\t\tif (saveFileChooser.getFileFilter().equals(typeCSV))\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tif (!filePath.substring(filePath.length() - 4).equals(\".csv\")) { filePath += \".csv\"; }\r\n\r\n\t\t\t\t\t\tOutputController.saveFileAll(filePath, DataController.getTable(), OUTPUT_FORMAT.CSV);\r\n\t\t\t\t\t}\r\n\t\t\t\t\telse\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\tif (!filePath.substring(filePath.length() - 4).equals(\".txt\")) { filePath += \".txt\"; }\r\n\r\n\t\t\t\t\t\tOutputController.saveFileAll(filePath, DataController.getTable(), OUTPUT_FORMAT.TXT);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\tcatch (ExceptionMessage exception)\r\n\t\t{\r\n\t\t\tExceptionHandler.processException(exception);\r\n\t\t}\r\n\t}",
"ActionExport()\n {\n super(\"Export\");\n this.setShortcut(UtilGUI.createKeyStroke('E', true));\n }",
"@Override\n\tpublic String getAction() {\n\t\treturn action;\n\t}",
"public void redoAction() {\n executeAction();\n }",
"public void setOutput(File out) {\r\n this.output = out;\r\n incompatibleWithSpawn = true;\r\n }",
"public void playScript (\n String inActionAction,\n String inActionModifier,\n String inActionObject,\n String inActionValue) {\n\n if (inActionAction.equals (ScriptConstants.OPEN_ACTION)) {\n chosenOutputFile = new File (inActionValue);\n writeOutput();\n } // end if action is output\n else {\n Logger.getShared().recordEvent (LogEvent.MEDIUM,\n inActionAction + \" is not a valid Scripting Action for the Output Module\",\n true);\n } // end Action selector\n\n }",
"public void setJoinAction(IAction value) \n\t{\t\n\t\tjoinAction = value;\n\t}",
"private void setActions() {\n\t\tfor (IContributionItem item : actionToolBarManager.getContributions()) {\n\t\t\tif (zoomInAction != null && zoomOutAction != null && zoomActualAction != null)\n\t\t\t\treturn;\n\t\t\tif (ZoomInAction.ID.equals(item.getId()) && item instanceof ActionContributionItem) {\n\t\t\t\tzoomInAction = (AReportAction) ((ActionContributionItem) item).getAction();\n\t\t\t} else if (ZoomOutAction.ID.equals(item.getId()) && item instanceof ActionContributionItem) {\n\t\t\t\tzoomOutAction = (AReportAction) ((ActionContributionItem) item).getAction();\n\t\t\t} else if (ZoomActualSizeAction.ID.equals(item.getId()) && item instanceof ActionContributionItem) {\n\t\t\t\tzoomActualAction = (AReportAction) ((ActionContributionItem) item).getAction();\n\t\t\t}\n\t\t}\n\t}",
"public synchronized void applyAction(int action) {\n\n }",
"public void setOutputs(final IOutputManager iOutputManager) {\n\t\tif ( !scheduled && !getExperiment().getSpecies().isBatch() ) {\n\t\t\tIDescription des = ((ISymbol) iOutputManager).getDescription();\n\t\t\toutputs = (IOutputManager) des.compile();\n\t\t\tMap<String, IOutput> mm = new TOrderedHashMap<String, IOutput>();\n\t\t\tfor ( IOutput output : outputs.getOutputs().values() ) {\n\t\t\t\tString oName =\n\t\t\t\t\toutput.getName() + \"#\" + this.getSpecies().getDescription().getModelDescription().getAlias() + \"#\" +\n\t\t\t\t\t\tthis.getExperiment().getSpecies().getName() + \"#\" + this.getExperiment().getIndex();\n\t\t\t\tmm.put(oName, output);\n\t\t\t}\n\t\t\toutputs.removeAllOutput();\n\t\t\tfor ( Entry<String, IOutput> output : mm.entrySet() ) {\n\t\t\t\toutput.getValue().setName(output.getKey());\n\t\t\t\toutputs.addOutput(output.getKey(), output.getValue());\n\t\t\t}\n\t\t} else {\n\t\t\toutputs = iOutputManager;\n\t\t}\n\t\t// end-hqnghi\n\t}",
"public void setOp(int op) {\n\t\tthis.op = op;\n\t}",
"public ToggleMarkOccurrencesAction() {\n //$NON-NLS-1$\n super(JavaEditorMessages.getBundleForConstructedKeys(), \"ToggleMarkOccurrencesAction.\", null, IAction.AS_CHECK_BOX);\n //$NON-NLS-1$\n JavaPluginImages.setToolImageDescriptors(this, \"mark_occurrences.png\");\n PlatformUI.getWorkbench().getHelpSystem().setHelp(this, IJavaHelpContextIds.TOGGLE_MARK_OCCURRENCES_ACTION);\n update();\n }",
"@Override\n protected boolean executeAction(SUT system, State state, Action action){\n // adding the action that is going to be executed into HTML report:\n htmlReport.addSelectedAction(state.get(Tags.ScreenshotPath), action);\n return super.executeAction(system, state, action);\n }",
"public void map(LongWritable key, Text value, OutputCollector<Text, Text> output, Reporter reporter) throws IOException\n {\n \t // get filename to send it as key for sorting.\n \t FileSplit fileSplit = (FileSplit)reporter.getInputSplit();\n String k = fileSplit.getPath().getName();\n\n //taking one line at a time \n String line = value.toString();\n // get the position of the meaningful character\n int pos = lineno % 40;\n // get the character from the string\n String character = Character.toString(line.charAt(pos));\n // convert pipe symbol to next line \n if(character.charAt(0) == '|')\n \tcharacter = \"\\n\";\n // sending to output collector which in turn passes the same to reducer\n output.collect(new Text(k), new Text(character)); \n lineno++;\n }",
"public void writeActionsJson() {\n JsonManager.writeActions(this.getActions());\n }",
"@ApiModelProperty(required = true, value = \"The action type to be applied. When UPDATE_INTEREST_SETTINGS action type is used, all the existing deposit accounts will be updated with the latest interest-related fields at the end of day job execution\")\n @JsonProperty(JSON_PROPERTY_ACTION)\n @JsonInclude(value = JsonInclude.Include.ALWAYS)\n\n public ActionEnum getAction() {\n return action;\n }",
"public int changeOutput(Pair p, int pos) {\n return 0;\n }",
"public void setChangeAction(String changeAction)\r\n\t{\r\n\t\tthis.changeAction = changeAction;\r\n\t}",
"public void completeS_Output_Key(EObject model, Assignment assignment, ContentAssistContext context, ICompletionProposalAcceptor acceptor) {\n\t\t// subclasses may override\n\t}",
"@Override\r\n\tpublic void visit(SimpleAction action)\r\n\t{\n\t\t\r\n\t}",
"public setAcl_args setAction(TSetAclAction action) {\n this.action = action;\n return this;\n }",
"public void markMajorActionReplace() throws JNCException {\n markLeafReplace(\"majorAction\");\n }"
]
| [
"0.5717442",
"0.5650299",
"0.5598499",
"0.5544973",
"0.55372936",
"0.55158603",
"0.5440992",
"0.54164386",
"0.541615",
"0.54114217",
"0.54113543",
"0.53726363",
"0.5365826",
"0.53459215",
"0.53459215",
"0.5333057",
"0.53247774",
"0.53041035",
"0.5296812",
"0.5282378",
"0.528176",
"0.52813804",
"0.5204817",
"0.51616573",
"0.5155537",
"0.51528335",
"0.51282716",
"0.5071871",
"0.5055945",
"0.5045382",
"0.5023922",
"0.5001752",
"0.49846905",
"0.49739087",
"0.4957685",
"0.4942798",
"0.49284628",
"0.49250665",
"0.4915801",
"0.4914109",
"0.49133483",
"0.49030927",
"0.48916",
"0.48854068",
"0.48820406",
"0.48751032",
"0.48483607",
"0.48389596",
"0.4838849",
"0.48384383",
"0.48297516",
"0.4825714",
"0.48139176",
"0.48083326",
"0.47974047",
"0.47769904",
"0.47769904",
"0.47706386",
"0.47706386",
"0.47706386",
"0.47706178",
"0.47648245",
"0.47612327",
"0.47554988",
"0.47523215",
"0.47426495",
"0.47367167",
"0.47228765",
"0.47221896",
"0.47213835",
"0.4711378",
"0.4710689",
"0.47102308",
"0.47078055",
"0.4702355",
"0.469902",
"0.4698026",
"0.46876827",
"0.4679772",
"0.46788484",
"0.46768948",
"0.46697092",
"0.4669548",
"0.4666291",
"0.46648574",
"0.4661517",
"0.4656599",
"0.46519554",
"0.4651513",
"0.46458519",
"0.4640909",
"0.4638862",
"0.46335718",
"0.46332595",
"0.46283174",
"0.46169955",
"0.46064514",
"0.46063727",
"0.46060997",
"0.46055862"
]
| 0.6501274 | 0 |
Gets the name of the database to output into. | public String getDatabaseName() {
return databaseName;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"java.lang.String getDatabaseName();",
"java.lang.String getDatabaseName();",
"java.lang.String getDatabaseName();",
"java.lang.String getDatabaseName();",
"protected String getDatabaseName() {\n\t\treturn database;\n\t}",
"@Override\n public String getDatabaseName() {\n return mappings.getDatabaseName();\n }",
"public String databaseName();",
"public String getDatabase() {\r\n \t\treturn properties.getProperty(KEY_DATABASE);\r\n \t}",
"public java.lang.String getDatabaseName() {\n java.lang.Object ref = databaseName_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n databaseName_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public java.lang.String getDatabaseName() {\n java.lang.Object ref = databaseName_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n databaseName_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public java.lang.String getDatabaseName() {\n java.lang.Object ref = databaseName_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n databaseName_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public java.lang.String getDatabaseName() {\n java.lang.Object ref = databaseName_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n databaseName_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public String getDbName() {\r\n\t\tif (this.dbname == null)\r\n\t\t\treturn null;\r\n\r\n\t\treturn (String) this.dbname.getSelectedItem();\r\n\t}",
"@java.lang.Override\n public java.lang.String getDatabaseName() {\n java.lang.Object ref = databaseName_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n databaseName_ = s;\n return s;\n }\n }",
"@java.lang.Override\n public java.lang.String getDatabaseName() {\n java.lang.Object ref = databaseName_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n databaseName_ = s;\n return s;\n }\n }",
"@java.lang.Override\n public java.lang.String getDatabaseName() {\n java.lang.Object ref = databaseName_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n databaseName_ = s;\n return s;\n }\n }",
"@java.lang.Override\n public java.lang.String getDatabaseName() {\n java.lang.Object ref = databaseName_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n databaseName_ = s;\n return s;\n }\n }",
"public abstract String getDatabaseName();",
"public String getDatabaseName () {\n return databaseName;\n }",
"public String getDatabaseName() {\n return dbName;\n }",
"public String getDbName();",
"public String getDatabaseName() {\n return txtDatabaseName().getText();\n }",
"public String getDatabaseName(){\n\treturn strDbName;\n }",
"public String getDBName()\n {\n return dbServer;\n }",
"public String getDatabaseFileName();",
"public void printDatabaseName(){\n Realm realm;\n if(realmConfiguration != null) {\n realm = DatabaseUtilities.buildRealm(this.realmConfiguration);\n } else {\n realm = buildRealm(context);\n }\n String str = realm.getConfiguration().getRealmFileName();\n if(!StringUtilities.isNullOrEmpty(str)){\n L.m(\"Database Name: \" + str);\n }\n }",
"public String getDatabaseName() {\n return this.databaseName;\n }",
"private String getPhysicalDbName() {\n String pdbName =TestConfiguration.getCurrent().getJDBCUrl();\n if (pdbName != null)\n pdbName=pdbName.substring(pdbName.lastIndexOf(\"oneuse\"),pdbName.length());\n else {\n // with JSR169, we don't *have* a protocol, and so, no url, and so\n // we'll have had a null.\n // But we know the name of the db is something like system/singleUse/oneuse#\n // So, let's see if we can look it up, if everything's been properly\n // cleaned, there should be just 1...\n pdbName = (String) AccessController.doPrivileged(new java.security.PrivilegedAction() {\n String filesep = getSystemProperty(\"file.separator\");\n public Object run() {\n File dbdir = new File(\"system\" + filesep + \"singleUse\");\n String[] list = dbdir.list();\n // Some JVMs return null for File.list() when the directory is empty\n if( list != null)\n {\n if(list.length > 1)\n {\n for( int i = 0; i < list.length; i++ )\n {\n if(list[i].indexOf(\"oneuse\")<0)\n continue;\n else\n {\n return list[i];\n }\n }\n // give up trying to be smart, assume it's 0\n return \"oneuse0\";\n }\n else\n return list[0];\n }\n return null;\n }\n });\n \n }\n return pdbName;\n }",
"public String databaseName() {\n return this.databaseName;\n }",
"public String getDB() {\n\t\treturn db;\r\n\t}",
"public String getDB() {\n return database;\n }",
"public String getDatabaseName()\n {\n return \"assetdr\";\n }",
"public String getDatabase();",
"public String getDbName() {\n return dbName;\n }",
"public String getDbName() {\n return dbName;\n }",
"String getDatabase();",
"public static String getDatabase() {\r\n return database;\r\n }",
"public String getDatabase() {\r\n return Database;\r\n }",
"public String getDatabase() {\n return this.database;\n }",
"@java.lang.Override\n public com.google.protobuf.ByteString\n getDatabaseNameBytes() {\n java.lang.Object ref = databaseName_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n databaseName_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"@java.lang.Override\n public com.google.protobuf.ByteString\n getDatabaseNameBytes() {\n java.lang.Object ref = databaseName_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n databaseName_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"@java.lang.Override\n public com.google.protobuf.ByteString\n getDatabaseNameBytes() {\n java.lang.Object ref = databaseName_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n databaseName_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"@java.lang.Override\n public com.google.protobuf.ByteString\n getDatabaseNameBytes() {\n java.lang.Object ref = databaseName_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n databaseName_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"com.google.protobuf.ByteString\n getDatabaseNameBytes();",
"com.google.protobuf.ByteString\n getDatabaseNameBytes();",
"com.google.protobuf.ByteString\n getDatabaseNameBytes();",
"com.google.protobuf.ByteString\n getDatabaseNameBytes();",
"public String getDataBaseName() {\r\n\t\treturn dataBaseName + \".db\";\r\n\t}",
"public String getDb() {\n return db;\n }",
"public String getDb() {\n return db;\n }",
"public com.google.protobuf.ByteString\n getDatabaseNameBytes() {\n java.lang.Object ref = databaseName_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n databaseName_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public com.google.protobuf.ByteString\n getDatabaseNameBytes() {\n java.lang.Object ref = databaseName_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n databaseName_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public com.google.protobuf.ByteString\n getDatabaseNameBytes() {\n java.lang.Object ref = databaseName_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n databaseName_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public com.google.protobuf.ByteString\n getDatabaseNameBytes() {\n java.lang.Object ref = databaseName_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n databaseName_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"String getVirtualDatabaseName() throws Exception;",
"public String getFullName()\n {\n String schema = db.getSchema();\n return (schema!=null) ? schema+\".\"+name : name;\n }",
"public String getDbName() {\n\t\treturn mDbName;\n\t}",
"public String getDatabase()\n {\n return m_database; \n }",
"private String getHiveDatabase(String namespace) {\n if (namespace == null) {\n return null;\n }\n String tablePrefix = cConf.get(Constants.Dataset.TABLE_PREFIX);\n return namespace.equals(Id.Namespace.DEFAULT.getId()) ? namespace : String.format(\"%s_%s\", tablePrefix, namespace);\n }",
"public String getTableDbName() {\r\n return \"t_package\";\r\n }",
"@Override\r\n\tpublic String getDataBaseName(String[] sql) {\n\t\treturn UsedDataBase.getUsedDataBase();\r\n\t}",
"public String getSystemDatabase(String databaseName)\n\t{\n\t\treturn \"template1\";\n\t}",
"public static String getShowDatabaseStatement() {\n return SHOW_DATABASES;\n }",
"public String[] getDatabaseNames() {\n return context.databaseList();\n }",
"private static String getDefaultDatabaseName(Context context) {\n\t\treturn context.getClass().getSimpleName();\n\t}",
"java.lang.String getDatabaseId();",
"public String getDBTableName()\n\t{\n\t\treturn this.getClass().getSimpleName();\n\t}",
"String getDbPath(String dbName);",
"public String getType() \t\t\t\t{ return DATABASE_NAME; }",
"public String getDatabaseName()\n {\n return \"product\";\n }",
"public String getCatalog()\n\t{\n\t\tif (m_dbName != null)\n\t\t\treturn m_dbName;\n\t//\tlog.severe(\"Database Name not set (yet) - call getConnectionURL first\");\n\t\treturn null;\n\t}",
"public String getTableDbName() {\r\n return \"t_testplans\";\r\n }",
"public String getDatabaseSchemaName() {\n return databaseSchemaName;\n }",
"public String getTableDbName() {\r\n return \"PUBLISHER\";\r\n }",
"@SneakyThrows\n public static String getDatabaseName(@Nonnull Connection connection) {\n final DatabaseMetaData metaData = Objects.requireNonNull(connection).getMetaData();\n return metaData.getDatabaseProductName();\n }",
"@Nullable\n String getDefaultDatabase() throws CatalogException;",
"public String getTableDbName() {\r\n return \"t_phase\";\r\n }",
"public DBDef getCurrentDBDef() { return DBCurrent.getInstance().currentDBDef(); }",
"public static String getDatabaseClassName() {\n\t\tif (xml == null) return null;\n\t\treturn databaseClassName;\n\t}",
"public List<String> getDatabaseNames() {\r\n try {\r\n // get the database\r\n List<String> dbNames = mongo.getDatabaseNames();\r\n logger.logp(Level.INFO, TAG, \"getCollectionNames\", \" databases:\" + dbNames);\r\n return dbNames;\r\n } catch (Exception e) {\r\n logger.logp(Level.SEVERE, TAG, \"getCollectionNames\", e.getMessage());\r\n e.printStackTrace();\r\n }\r\n return null;\r\n }",
"public File getOutputDb();",
"@Override\r\n\tpublic Database getDefaultDatabase() {\r\n\t\treturn databases.getDatabase( \"default\" );\r\n\t}",
"public String getDstDatabaseType() {\n return this.DstDatabaseType;\n }",
"public java.lang.String getDatabaseId() {\n java.lang.Object ref = databaseId_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n databaseId_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public String getType() {\n return DATABASE_NAME;\n }",
"public String getDbn() {\n return dbn;\n }",
"@Override\n public String toString() {\n return getDbName() + \", \" + getDbHost();\n }",
"String getUserDatabaseFilePath();",
"@java.lang.Override\n public java.lang.String getDatabaseId() {\n java.lang.Object ref = databaseId_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n databaseId_ = s;\n return s;\n }\n }",
"public Database getDatabase() {\n\t\treturn this.database;\n\t}",
"DbObjectName createDbObjectName();",
"public String getDBString();",
"public String getDbTable() {return dbTable;}",
"public String getDatabaseLocation() {\n return txtDatabaseLocation().getText();\n }",
"public Database getDatabase() {\n return dbHandle;\n }",
"public DatabaseMeta getSharedDatabase( String name ) {\n return (DatabaseMeta) getSharedObject( DatabaseMeta.class.getName(), name );\n }",
"String getDatabaseDirectoryPath();",
"public DB getDatabase(){\n\t\treturn database;\n\t}",
"private String db4oDBFullPath(Context ctx) {\t\n\t\treturn ctx.getDir(\"data\", 0) + \"/\" + LOCAL_SERVER;\n\t\n\t}",
"public abstract String getDbNodeName();"
]
| [
"0.82421345",
"0.82421345",
"0.82421345",
"0.82421345",
"0.7817486",
"0.77105254",
"0.7471669",
"0.7430415",
"0.7371513",
"0.7371513",
"0.7371513",
"0.7371513",
"0.73590666",
"0.7348493",
"0.7348493",
"0.7348493",
"0.7348493",
"0.7336065",
"0.73042095",
"0.7290577",
"0.7274059",
"0.726551",
"0.7232523",
"0.72247076",
"0.7190569",
"0.71748495",
"0.7174724",
"0.7120289",
"0.70392525",
"0.69355637",
"0.69096345",
"0.690656",
"0.689226",
"0.6856367",
"0.6856367",
"0.6810741",
"0.67843175",
"0.67764866",
"0.67751735",
"0.66899407",
"0.66899407",
"0.66899407",
"0.66899407",
"0.66757643",
"0.66757643",
"0.66757643",
"0.66757643",
"0.666039",
"0.6654392",
"0.6654392",
"0.66248864",
"0.66248864",
"0.66248864",
"0.66248864",
"0.65855765",
"0.65833575",
"0.65679896",
"0.6551547",
"0.65370774",
"0.6498653",
"0.6495078",
"0.6459647",
"0.6445644",
"0.6397825",
"0.63718337",
"0.63651055",
"0.6358516",
"0.62822586",
"0.6219733",
"0.6214709",
"0.6206328",
"0.6205915",
"0.620527",
"0.61675906",
"0.61595213",
"0.61570513",
"0.6128741",
"0.61148727",
"0.6109203",
"0.60922503",
"0.6081658",
"0.6076798",
"0.6072288",
"0.60693604",
"0.60495263",
"0.6045005",
"0.60265017",
"0.59716684",
"0.59507567",
"0.59354335",
"0.5931129",
"0.5923437",
"0.59174526",
"0.5903727",
"0.5898803",
"0.589072",
"0.58776534",
"0.58752954",
"0.5844404",
"0.5843413"
]
| 0.73012936 | 19 |
Sets the name of the database to output into. | public MapReduceToCollectionOperation databaseName(final String databaseName) {
this.databaseName = databaseName;
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"protected String getDatabaseName() {\n\t\treturn database;\n\t}",
"java.lang.String getDatabaseName();",
"java.lang.String getDatabaseName();",
"java.lang.String getDatabaseName();",
"java.lang.String getDatabaseName();",
"public void printDatabaseName(){\n Realm realm;\n if(realmConfiguration != null) {\n realm = DatabaseUtilities.buildRealm(this.realmConfiguration);\n } else {\n realm = buildRealm(context);\n }\n String str = realm.getConfiguration().getRealmFileName();\n if(!StringUtilities.isNullOrEmpty(str)){\n L.m(\"Database Name: \" + str);\n }\n }",
"public void setDatabaseName(String paramDb){\n\tstrDbName = paramDb;\n }",
"@Override\n public String getDatabaseName() {\n return mappings.getDatabaseName();\n }",
"public void setDatabaseName(String text) {\n txtDatabaseName().setText(text);\n }",
"public void setDatabaseName (String databaseName) {\n this.databaseName = databaseName;\n }",
"public void setDbName(String sDbName);",
"public Builder setDatabaseName(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n databaseName_ = value;\n onChanged();\n return this;\n }",
"public Builder setDatabaseName(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n databaseName_ = value;\n onChanged();\n return this;\n }",
"public Builder setDatabaseName(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n databaseName_ = value;\n onChanged();\n return this;\n }",
"public Builder setDatabaseName(\n java.lang.String value) {\n if (value == null) {\n throw new NullPointerException();\n }\n \n databaseName_ = value;\n onChanged();\n return this;\n }",
"public String getDatabaseName(){\n\treturn strDbName;\n }",
"public void setDatabaseName(String databaseName) {\n this.databaseName = databaseName;\n }",
"public void setDatabaseName(String databaseName) {\n this.databaseName = databaseName;\n }",
"public String getDatabaseName() {\n return this.databaseName;\n }",
"public String getDatabaseName() {\n return databaseName;\n }",
"public String getDatabaseName() {\n return dbName;\n }",
"public String getDatabaseName () {\n return databaseName;\n }",
"public void setDbName(String dbName) {\n this.dbName = dbName;\n }",
"public String getDbName();",
"public Database(String name) {\r\n\t\tthis.name = name;\r\n\t\tDatabaseUniverse.getAllDatabases().add(this);\r\n\t\tDatabaseUniverse.setDatabaseNumber(1);\r\n\t\tCommandLineMenu.setActiveDatabase(this);\r\n\t}",
"public String databaseName() {\n return this.databaseName;\n }",
"public void setDistDbName(String dbName) {\n\t\tthis.setMsgItem(\"dist_db_name\", dbName);\n\t\tdistDbName = dbName;\n\t}",
"public String getDbName() {\n return dbName;\n }",
"public String getDbName() {\n return dbName;\n }",
"public void setDatabase(String db) {\n\t\tthis.database = db;\n\t}",
"@java.lang.Override\n public java.lang.String getDatabaseName() {\n java.lang.Object ref = databaseName_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n databaseName_ = s;\n return s;\n }\n }",
"@java.lang.Override\n public java.lang.String getDatabaseName() {\n java.lang.Object ref = databaseName_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n databaseName_ = s;\n return s;\n }\n }",
"@java.lang.Override\n public java.lang.String getDatabaseName() {\n java.lang.Object ref = databaseName_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n databaseName_ = s;\n return s;\n }\n }",
"@java.lang.Override\n public java.lang.String getDatabaseName() {\n java.lang.Object ref = databaseName_;\n if (ref instanceof java.lang.String) {\n return (java.lang.String) ref;\n } else {\n com.google.protobuf.ByteString bs = \n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n databaseName_ = s;\n return s;\n }\n }",
"public String getDatabaseName()\n {\n return \"assetdr\";\n }",
"public abstract String getDatabaseName();",
"public String databaseName();",
"public java.lang.String getDatabaseName() {\n java.lang.Object ref = databaseName_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n databaseName_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public java.lang.String getDatabaseName() {\n java.lang.Object ref = databaseName_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n databaseName_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public java.lang.String getDatabaseName() {\n java.lang.Object ref = databaseName_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n databaseName_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public java.lang.String getDatabaseName() {\n java.lang.Object ref = databaseName_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n databaseName_ = s;\n return s;\n } else {\n return (java.lang.String) ref;\n }\n }",
"public String getDBName()\n {\n return dbServer;\n }",
"void changeDatabase(String databaseName);",
"public String getDbName() {\r\n\t\tif (this.dbname == null)\r\n\t\t\treturn null;\r\n\r\n\t\treturn (String) this.dbname.getSelectedItem();\r\n\t}",
"public String getDatabaseName() {\n return txtDatabaseName().getText();\n }",
"public ApacheDatabase(String db_name) {\n this.db_name = db_name;\n }",
"public String getDbName() {\n\t\treturn mDbName;\n\t}",
"public String getDatabaseFileName();",
"public DatabaseOptions name(String name) {\n this.name = name;\n return this;\n }",
"public void setDatabase(Connection _db);",
"public void setDbName(String mDbName) {\n\t\tthis.mDbName = mDbName;\n\t}",
"public void setDB(String db) {\n\t\tthis.db = db;\r\n\t\tfirePropertyChange(ConstantResourceFactory.P_DB,null,db);\r\n\t}",
"public static void setDatabasePath(String filename) {\r\n databasePath = filename;\r\n database = new File(databasePath);\r\n }",
"public void setDbTable(String v) {this.dbTable = v;}",
"public String getDatabase() {\r\n \t\treturn properties.getProperty(KEY_DATABASE);\r\n \t}",
"private String getPhysicalDbName() {\n String pdbName =TestConfiguration.getCurrent().getJDBCUrl();\n if (pdbName != null)\n pdbName=pdbName.substring(pdbName.lastIndexOf(\"oneuse\"),pdbName.length());\n else {\n // with JSR169, we don't *have* a protocol, and so, no url, and so\n // we'll have had a null.\n // But we know the name of the db is something like system/singleUse/oneuse#\n // So, let's see if we can look it up, if everything's been properly\n // cleaned, there should be just 1...\n pdbName = (String) AccessController.doPrivileged(new java.security.PrivilegedAction() {\n String filesep = getSystemProperty(\"file.separator\");\n public Object run() {\n File dbdir = new File(\"system\" + filesep + \"singleUse\");\n String[] list = dbdir.list();\n // Some JVMs return null for File.list() when the directory is empty\n if( list != null)\n {\n if(list.length > 1)\n {\n for( int i = 0; i < list.length; i++ )\n {\n if(list[i].indexOf(\"oneuse\")<0)\n continue;\n else\n {\n return list[i];\n }\n }\n // give up trying to be smart, assume it's 0\n return \"oneuse0\";\n }\n else\n return list[0];\n }\n return null;\n }\n });\n \n }\n return pdbName;\n }",
"public String getDB() {\n return database;\n }",
"public String getDB() {\n\t\treturn db;\r\n\t}",
"public String getDatabase() {\r\n return Database;\r\n }",
"public String getSystemDatabase(String databaseName)\n\t{\n\t\treturn \"template1\";\n\t}",
"public void setDb(String db) {\n this.db = db == null ? null : db.trim();\n }",
"public void setDb(String db) {\n this.db = db == null ? null : db.trim();\n }",
"public String getDataBaseName() {\r\n\t\treturn dataBaseName + \".db\";\r\n\t}",
"public void typeDatabaseName(String text) {\n txtDatabaseName().typeText(text);\n }",
"public void setDatabase(DatabaseManager db) {\n\t\tthis.db = db;\n\t}",
"public String getDatabase() {\n return this.database;\n }",
"public String getTableDbName() {\r\n return \"t_package\";\r\n }",
"public String getDatabaseName()\n {\n return \"product\";\n }",
"public void useDB(String DB_Name) {\n //SQL statement\n String query = \"USE \" + DB_Name;\n try {\n //connection\n stmt = con.createStatement();\n //execute query\n stmt.executeUpdate(query);\n System.out.println(\"\\n--using \" + DB_Name + \"--\");\n } catch (SQLException ex) {\n //Handle SQL exceptions\n System.out.println(\"\\n--Query did not execute--\");\n ex.printStackTrace();\n }\n }",
"private static String getDefaultDatabaseName(Context context) {\n\t\treturn context.getClass().getSimpleName();\n\t}",
"public String getTableDbName() {\r\n return \"PUBLISHER\";\r\n }",
"@java.lang.Override\n public com.google.protobuf.ByteString\n getDatabaseNameBytes() {\n java.lang.Object ref = databaseName_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n databaseName_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"@java.lang.Override\n public com.google.protobuf.ByteString\n getDatabaseNameBytes() {\n java.lang.Object ref = databaseName_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n databaseName_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"@java.lang.Override\n public com.google.protobuf.ByteString\n getDatabaseNameBytes() {\n java.lang.Object ref = databaseName_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n databaseName_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"@java.lang.Override\n public com.google.protobuf.ByteString\n getDatabaseNameBytes() {\n java.lang.Object ref = databaseName_;\n if (ref instanceof java.lang.String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n databaseName_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public void setDatabase(Database db){\r\n\t\tm_Database = db;\r\n\t\tm_Categorizer = new Categorizer(m_Database);\r\n\t\tm_StatisticsWindow.setCategorizer(m_Categorizer);\r\n\t}",
"public com.google.protobuf.ByteString\n getDatabaseNameBytes() {\n java.lang.Object ref = databaseName_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n databaseName_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public com.google.protobuf.ByteString\n getDatabaseNameBytes() {\n java.lang.Object ref = databaseName_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n databaseName_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public com.google.protobuf.ByteString\n getDatabaseNameBytes() {\n java.lang.Object ref = databaseName_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n databaseName_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public com.google.protobuf.ByteString\n getDatabaseNameBytes() {\n java.lang.Object ref = databaseName_;\n if (ref instanceof String) {\n com.google.protobuf.ByteString b = \n com.google.protobuf.ByteString.copyFromUtf8(\n (java.lang.String) ref);\n databaseName_ = b;\n return b;\n } else {\n return (com.google.protobuf.ByteString) ref;\n }\n }",
"public String getTableDbName() {\r\n return \"t_testplans\";\r\n }",
"public Database(String dbName) {\n this.dbName = dbName;\n }",
"public void setNamedId(String dbNameId);",
"public static void generate(Database database, String output, PrintWriter outLog)\r\n {\r\n try\r\n {\r\n String fileName;\r\n if (database.output.length() > 0)\r\n fileName = database.output;\r\n else\r\n fileName = database.name;\r\n outLog.println(\"DDL: \" + output + fileName + \".sql\");\r\n OutputStream outFile = new FileOutputStream(output + fileName + \".sql\");\r\n try\r\n {\r\n PrintWriter outData = new PrintWriter(outFile);\r\n for (int i=0; i < database.tables.size(); i++)\r\n generate((Table) database.tables.elementAt(i), outData);\r\n outData.flush();\r\n }\r\n finally\r\n {\r\n outFile.close();\r\n }\r\n }\r\n catch (IOException e1)\r\n {\r\n outLog.println(\"Generate Oracle SQL IO Error\");\r\n }\r\n }",
"public MyBudgetDatabase(String databaseName) throws SQLException {\n this.dbName = databaseName;\n }",
"public void createNewSchema() throws SQLException {\n ResultSet resultSet = databaseStatement.executeQuery(\"select count(datname) from pg_database\");\n int uniqueID = 0;\n if(resultSet.next()) {\n uniqueID = resultSet.getInt(1);\n }\n if(uniqueID != 0) {\n uniqueID++;\n databaseStatement.executeQuery(\"CREATE DATABASE OSM\"+uniqueID+\";\");\n }\n }",
"public String getDb() {\n return db;\n }",
"public String getDb() {\n return db;\n }",
"DbObjectName createDbObjectName();",
"public String getDatabase();",
"public DBManager(String databaseName) {\n\t\tdbName = databaseName;\n\t}",
"String getVirtualDatabaseName() throws Exception;",
"public Builder clearDatabaseName() {\n \n databaseName_ = getDefaultInstance().getDatabaseName();\n onChanged();\n return this;\n }",
"public Builder clearDatabaseName() {\n \n databaseName_ = getDefaultInstance().getDatabaseName();\n onChanged();\n return this;\n }",
"public Builder clearDatabaseName() {\n \n databaseName_ = getDefaultInstance().getDatabaseName();\n onChanged();\n return this;\n }",
"public Builder clearDatabaseName() {\n \n databaseName_ = getDefaultInstance().getDatabaseName();\n onChanged();\n return this;\n }",
"public void useDB(String DB_Name) {\n //SQL statement\n String query = \"USE \" + DB_Name;\n try {\n //connection\n stmt = con.createStatement();\n //execute query\n stmt.executeUpdate(query);\n System.out.println(\"\\n--using teaml_bank--\");\n } catch (SQLException ex) {\n //Handle SQL exceptions\n System.out.println(\"\\n--Query did not execute--\");\n ex.printStackTrace();\n }\n }",
"public String getDatabase()\n {\n return m_database; \n }",
"public static void setName(String name) {\n catalogue.name = name;\n }",
"void createDb(String dbName);",
"@Override\r\n\tpublic Database getDefaultDatabase() {\r\n\t\treturn databases.getDatabase( \"default\" );\r\n\t}"
]
| [
"0.6883015",
"0.6836124",
"0.6836124",
"0.6836124",
"0.6836124",
"0.6812926",
"0.67948735",
"0.6776908",
"0.6732491",
"0.670989",
"0.66918397",
"0.66076",
"0.66076",
"0.66076",
"0.66076",
"0.65949696",
"0.65715474",
"0.65715474",
"0.6526754",
"0.65093327",
"0.64851075",
"0.6466553",
"0.6418691",
"0.6381736",
"0.6381551",
"0.63197315",
"0.628981",
"0.6236146",
"0.6236146",
"0.623378",
"0.62281394",
"0.62281394",
"0.62281394",
"0.62281394",
"0.6226067",
"0.6222271",
"0.6201828",
"0.61553216",
"0.61553216",
"0.61553216",
"0.61553216",
"0.61144114",
"0.60194594",
"0.5977162",
"0.5963412",
"0.5934856",
"0.5924775",
"0.5876096",
"0.58622724",
"0.5824485",
"0.5815337",
"0.5814818",
"0.57337034",
"0.5720364",
"0.5715917",
"0.5711083",
"0.57030845",
"0.5689283",
"0.5666831",
"0.566231",
"0.5661313",
"0.5661313",
"0.56518745",
"0.5641988",
"0.5632764",
"0.56082636",
"0.56041723",
"0.5600557",
"0.55801505",
"0.5571913",
"0.55649143",
"0.5552434",
"0.5552434",
"0.5552434",
"0.5552434",
"0.55415034",
"0.55403525",
"0.55403525",
"0.55403525",
"0.55403525",
"0.5532452",
"0.55286545",
"0.5511153",
"0.55052304",
"0.54616326",
"0.5461566",
"0.54472244",
"0.54472244",
"0.5424652",
"0.54047",
"0.53988504",
"0.53972113",
"0.53958935",
"0.53958935",
"0.53958935",
"0.53958935",
"0.5385362",
"0.5347546",
"0.5346436",
"0.533836",
"0.5336852"
]
| 0.0 | -1 |
True if the output database is sharded | public boolean isSharded() {
return sharded;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"boolean isNeedSharding();",
"default boolean isSharded() {\n return false;\n }",
"public abstract boolean isDatabaseSet();",
"boolean isUsedForWriting();",
"public boolean isShardable() {\n return SHARDABLE_RUNNERS.contains(runnerName);\n }",
"public boolean isShredded() {\n\t\treturn isShredded;\n\t}",
"boolean hasDatabase();",
"private boolean inDatabase() {\r\n \t\treturn inDatabase(0, null);\r\n \t}",
"public boolean isSetDb()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n return get_store().count_elements(DB$2) != 0;\r\n }\r\n }",
"public boolean isRunning(){\r\n try{\r\n List<String> dbNames = mongo.getDatabaseNames();\r\n if(!dbNames.isEmpty()){\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n } catch (MongoException e){\r\n// e.printStackTrace();\r\n return false;\r\n }\r\n }",
"boolean hasDatabaseSpec();",
"public boolean guardar()\r\n\t{\r\n\t\treturn false;\r\n\t}",
"public boolean isSetDatabase() {\r\n return this.database != null;\r\n }",
"public boolean isSetDatabase() {\r\n return this.database != null;\r\n }",
"public boolean isSetDatabase() {\r\n return this.database != null;\r\n }",
"public boolean isSetDatabase() {\r\n return this.database != null;\r\n }",
"public boolean isSetDatabase() {\r\n return this.database != null;\r\n }",
"public boolean isSmapDumped();",
"public boolean databaseExists() {\n\t\treturn defaultDatabaseExists();\n\t}",
"public boolean databaseExists() {\n return defaultDatabaseExists();\n }",
"public boolean needsStash() {\n return myNeedsStash;\n }",
"private boolean distBeltExists(){ \n String table = \"DISTBELT\";\n \n try {\n stmt = conn.createStatement();\n rs = stmt.executeQuery(\"SELECT * FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA = 'PUBLIC'\");\n \n while(rs.next()){\n if(table.equalsIgnoreCase(rs.getString(\"TABLE_NAME\"))){\n return true;\n }\n }\n \n stmt.close();\n rs.close();\n \n } catch (SQLException ex) {\n Logger.getLogger(DBHandler.class.getName()).log(Level.SEVERE, null, ex);\n }\n \n return false; \n }",
"public boolean isSnapshottable() {\r\n return false;\r\n }",
"public boolean isSetDbName() {\n return this.dbName != null;\n }",
"public boolean isSheddable() {\n\n return canShed;\n }",
"boolean canWrite();",
"public boolean canServeRequest() {\n return outputWSService.isRunnningAndDbInstancesAvailable(false);\n }",
"boolean needSeparateConnectionForDdl();",
"boolean getDurableWrites();",
"private static boolean isValidWrite(Class myClass) {\n if(myClass == null){\n L.m(\"Class used to write to the DB was null, please check passed params\");\n return false;\n }\n String className = myClass.getName();\n String masterDBObjectName = MasterDatabaseObject.class.getName();\n if(!StringUtilities.isNullOrEmpty(className) &&\n !StringUtilities.isNullOrEmpty(masterDBObjectName)) {\n if (masterDBObjectName.equalsIgnoreCase(className)) {\n L.m(\"You cannot modify this table from that method. If you want to access the \" +\n \"MasterDatabaseObject table, please use the persistObject / dePersistObject /\" +\n \" getPersistedObject / getAllPersistedObjects method calls.\");\n return false;\n }\n }\n if(myClass == RealmObject.class) {\n return true;\n }\n return myClass.isAssignableFrom(RealmObject.class);\n\n }",
"public boolean isPersisted() {\n return systemId!=NOT_PERSISTED;\n }",
"@Override\n public boolean isSheared() {\n return this.entityData.get(SHEARED);\n }",
"public static boolean isFullSql() {\r\n return fullSql;\r\n }",
"public boolean hasProduction() {\n return genClient.cacheHasKey(CacheKey.production);\n }",
"boolean hasMergeStore();",
"boolean hasPersistent();",
"public Boolean isScorable() {\n return scorable;\n }",
"public boolean isShivering();",
"boolean hasCreateStore();",
"public boolean isShare() {\n return (option >> 5 & 1) == 1;\n }",
"private boolean isDeviceProvisionedInSettingsDb() {\n return Settings.Global.getInt(this.mContext.getContentResolver(), \"device_provisioned\", 0) != 0;\n }",
"private boolean checkIfDatabaseOnDevice() {\n SQLiteDatabase tempDB = null;\n try {\n String myPath = DB_PATH + DB_NAME;\n tempDB = SQLiteDatabase.openDatabase(myPath, null, SQLiteDatabase.OPEN_READWRITE);\n } catch (SQLiteException e) {\n e.printStackTrace();\n }\n if (tempDB != null)\n tempDB.close();\n return tempDB != null;\n }",
"boolean isExecuteAccess();",
"boolean isSQL();",
"public boolean checkIfThisGAZRecordIsInTheDB()\n\t{\n\t\treturn checkIfThisRecordIsInTheDB(getWhereConditionBaseOnIdRecord());\n\t}",
"@Override\n public boolean isAlreadyInDb () {\n try {\n load( idDevice );\n } catch ( EntityNotFoundException e ) {\n return false;\n }\n return true;\n }",
"boolean isWritable();",
"public boolean isIsPrimary();",
"public boolean checkIfDatabaseExists() {\r\n return database.exists();\r\n }",
"@java.lang.Override\n public boolean hasDatabaseSpec() {\n return databaseSpec_ != null;\n }",
"public static boolean dumpDatabase() {\n Statement stm = null;\n try {\n stm = getConnection().createStatement();\n stm.executeUpdate(\"backup to db/backup.db\");\n }\n catch(Exception e) {\n e.printStackTrace();\n return false;\n }\n finally {\n try {\n stm.close();\n }\n catch (Exception e) { \n e.printStackTrace();\n }\n }\n return true;\n }",
"public abstract boolean isPersistent();",
"boolean verifyJobDatabase();",
"public boolean isDistributed() {\n\t\treturn distributed;\n\t}",
"public abstract boolean store();",
"private boolean shardExistsInNode(final NodeGatewayStartedShards response) {\n return response.storeException() != null || response.allocationId() != null;\n }",
"boolean shouldCommit();",
"private boolean isExternalStorageWritable() {\n String state = Environment.getExternalStorageState();\n if (Environment.MEDIA_MOUNTED.equals(state)) {\n return true;\n }\n return false;\n }",
"private boolean isExternalStorageWritable() {\n String state = Environment.getExternalStorageState();\n if (Environment.MEDIA_MOUNTED.equals(state)) {\n return true;\n }\n return false;\n }",
"private boolean isExternalStorageWritable() {\n String state = Environment.getExternalStorageState();\n if (Environment.MEDIA_MOUNTED.equals(state)) {\n return true;\n }\n return false;\n }",
"protected boolean isSaveSchema() {\n\t\treturn false;\n\t}",
"public boolean isDbEncrypted();",
"boolean hasMasterKey();",
"private boolean createDatabase(CreateDatabaseStatement cds) {\n\t\tif(dbs.containsKey(cds.dbname)) {\n\t\t\tSystem.out.println(\"Error: Can't create database \" + cds.dbname + \"; database exists\");\n\t\t\treturn false;\n\t\t}\n\t\telse {\n\t\t\tDatabase newdb = new Database();\n\t\t\tdbs.put(cds.dbname, newdb);\n\t\t\treturn true;\n\t\t\t\n\t\t}\n\t}",
"boolean dbExists(String dbName);",
"public static void main(String[] args) {\n System.out.println(DiskSpace.isWritable(10, 2, new HashSet<>(Arrays.asList(2, 3, 5, 8, 9))));\n }",
"boolean hasInsert();",
"boolean hasCompleteStore();",
"private boolean isExternalStorageWritable(){\r\n if (Environment.MEDIA_MOUNTED.equals(Environment.getExternalStorageState())) {\r\n Log.i(\"State\", \"Yes, it is writable!\");\r\n return true;\r\n } else{\r\n return false;\r\n }\r\n }",
"boolean isNewDatabase() {\n String sql = \"SELECT tbl_name FROM sqlite_master WHERE tbl_name=?\";\n\n return query(new QueryStatement<Boolean>(sql) {\n @Override\n public void prepare(PreparedStatement statement) throws SQLException {\n statement.setString(1, tableName);\n }\n\n @Override\n public Boolean processResults(ResultSet set) throws SQLException {\n return !set.next();\n }\n });\n }",
"public boolean isDbToUpdate() {\n\t\treturn !(this.properties.getProperty(SoundLooperProperties.KEY_DB_TO_UPDATE, \"0\").equals(\"0\"));\n\t}",
"public boolean lockOutput() {\n return output.setStation(this);\n }",
"private static boolean isExternalStorageWritable() {\n String state = Environment.getExternalStorageState();\n return Environment.MEDIA_MOUNTED.equals(state);\n }",
"@Override\n\tpublic boolean isdbConfigured(SystemAdmin sysadmin) {\n\n\t\treadPropertiesfileForDB(sysadmin);\n\t\tdatasource = getDataSource();\n\t\tjdbcTemplate = new JdbcTemplate(datasource);\n\t\tString sql = \"CREATE DATABASE \" + sysadmin.getDatabasename();\n\t\tint result = jdbcTemplate.update(sql);\n\t\tif (result > 0) {\n\t\t\t// read database properties file and set user given database\n\t\t\t// detailes\n\t\t\treadPropertiesfileForcrud(sysadmin);\n\t\t\t// set datasources to connect to database\n\t\t\tdatasource = getDataSource();\n\t\t\tjdbcTemplate = new JdbcTemplate(datasource);\n\t\t\t// read sql file to dump tables into databae\n\t\t\tString path = context.getRealPath(\"/\");\n\t\t\tString SQLPATH = path + Utility.SQL_PATH;\n\t\t\tString s = new String();\n\t\t\tStringBuffer sb = new StringBuffer();\n\n\t\t\ttry {\n\t\t\t\t// read sql file from path\n\t\t\t\tFileReader fr = new FileReader(new File(SQLPATH));\n\n\t\t\t\tBufferedReader br = new BufferedReader(fr);\n\n\t\t\t\twhile ((s = br.readLine()) != null) {\n\t\t\t\t\tsb.append(s);\n\t\t\t\t}\n\t\t\t\tbr.close();\n\n\t\t\t\t// here is our splitter | We use \";\" as a delimiter for each\n\t\t\t\t// request\n\t\t\t\t// then we are sure to have well formed statements\n\t\t\t\tString[] inst = sb.toString().split(\";\");\n\t\t\t\tfor (int i = 0; i < inst.length; i++) {\n\t\t\t\t\t// we ensure that there is no spaces before or after the\n\t\t\t\t\t// request string\n\t\t\t\t\t// in order to not execute empty statements\n\t\t\t\t\tif (!inst[i].trim().equals(\"\")) {\n\t\t\t\t\t\tjdbcTemplate.update(inst[i]);\n\t\t\t\t\t\tlogger.info(\">>\" + inst[i]);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t} catch (Exception e) {\n\t\t\t\tlogger.error(\"*** Error : \" + e.toString());\n\t\t\t\tlogger.error(\" *** \");\n\t\t\t\tlogger.error(\" *** Error : \");\n\t\t\t\tlogger.error(\"################################################\");\n\t\t\t\tlogger.error(sb.toString());\n\t\t\t}\n\n\t\t\treturn true;\n\n\t\t} else {\n\n\t\t\treturn false;\n\t\t}\n\t}",
"@Override\r\n\tpublic boolean isDatabaseAvailable(UserDatabase userDatabase) {\n\t\t\r\n\t\treturn false;\r\n\t}",
"boolean isAutoCommit();",
"@Override\n public boolean commitSMO() {\n return true;\n }",
"public static boolean databaseExportAnonymizerEnabled() {\n\t\tif ((xml == null) || (databaseExportAnonymize == null)) return false;\n\t\treturn databaseExportAnonymize.equals(\"yes\");\n\t}",
"public boolean isAssignable(DatabaseInfo databaseInfo) {\n return isAssignable(databaseInfo, start()).result() <= 0;\n }",
"public boolean isExternalStorageWritable(){\n String state = Environment.getExternalStorageState();\n if(Environment.MEDIA_MOUNTED.equals(state)){\n return true;\n }\n return false;\n }",
"public boolean isSingleUse() {\r\n return singleUse;\r\n }",
"public boolean isSetPktable_db() {\n return this.pktable_db != null;\n }",
"public boolean checkDbStructure(){\n\t\tboolean isStructureOk = false;\n\t\t\n\t\ttry {\n\t\t\tmMysqlConnection = DriverManager\n\t\t\t\t.getConnection(getConnectionURI());\n\t\t\t\n\t\t\tmPreparedStatement = mMysqlConnection\n\t\t\t\t.prepareStatement(\"select ID, Name, Description, Version from \" + mDbName + \".\" + TABLE_AREA);\t\t\t\n\t\t\tmPreparedStatement.executeQuery();\n\t\t\t\n\t\t\tmPreparedStatement = mMysqlConnection\n\t\t\t\t.prepareStatement(\"select Area_ID, Route_ID from \" + mDbName + \".\" + TABLE_AREA_HAS_ROUTES);\t\t\t\n\t\t\tmPreparedStatement.executeQuery();\n\t\t\n\t\t\tmPreparedStatement = mMysqlConnection\n\t\t\t\t.prepareStatement(\"select ID, Ticket_ID, Name, StartName, EndName from \" + mDbName + \".\" + TABLE_ROUTE);\t\t\t\n\t\t\tmPreparedStatement.executeQuery();\n\t\n\t\t\tmPreparedStatement = mMysqlConnection\n\t\t\t\t.prepareStatement(\"select Route_ID, Station_ID, Position from \" + mDbName + \".\" + TABLE_ROUTE_HAS_STATIONS);\t\t\t\n\t\t\tmPreparedStatement.executeQuery();\n\n\t\t\tmPreparedStatement = mMysqlConnection\n\t\t\t\t.prepareStatement(\"select ID, Name, Abbreviation, Latitude, Longitude from \" + mDbName + \".\" + TABLE_STATION);\t\t\t\n\t\t\tmPreparedStatement.executeQuery();\n\n\t\t\tmPreparedStatement = mMysqlConnection\n\t\t\t\t.prepareStatement(\"select ID, Name, Icon, Is_Superior from \" + mDbName + \".\" + TABLE_TICKET);\t\t\t\n\t\t\tmPreparedStatement.executeQuery();\n\t\t\t\n\t\t\tisStructureOk = true;\t\t\t\n\t\t} catch (SQLException e) {\n\t\t\tLOGGER.severe(\"!EXCEPTION: \" + e.getMessage());\n\t\t\tisStructureOk = false;\n\t\t}\n\t\t\n\t\treturn isStructureOk;\n\t}",
"public boolean testDatabaseExists()\r\n {\r\n try {\r\n myStmt = myConn.createStatement();\r\n myRs = myStmt.executeQuery(\"show databases like '\" + dbname + \"'\");\r\n if (myRs.next())\r\n return true;\r\n return false;\r\n } catch (SQLException ex) {\r\n Logger.getLogger(SQLConnector.class.getName()).log(Level.SEVERE, null, ex);\r\n }\r\n return false;\r\n }",
"boolean createTable();",
"public synchronized boolean existsDatabase() throws IOException {\n return existsDatabase(database.get(), null);\n }",
"boolean hasOutput();",
"public boolean isStored(){\n synchronized (stateLock){\n return state.equals(State.STORED);\n }\n }",
"public boolean isMaster();",
"boolean isWriteAccess();",
"public boolean isPrepared() {\n return prepared;\n }",
"boolean hasPersistDirectory();",
"public void isSafe() {\n\t\tsafetyLog = new boolean[proc];\r\n\r\n\t\tfor (int i = 0; i < proc; i++) {\r\n\t\t\tsafetyLog[i] = true;\r\n\t\t}\r\n\r\n\t\tfor (int i = 0; i < proc; i++) {\r\n\t\t\tfor (int j = 0; j < res; j++) {\r\n\t\t\t\tif (need[i][j] > available[0][j]) {\r\n\t\t\t\t\tsafetyLog[i] = false;\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t/*System.out\r\n\t\t\t\t.println(\"Following processes are safe and unsafe to start with\");\r\n\r\n\t\tfor (int i = 0; i < proc; i++) {\r\n\t\t\tif (safetyLog[i]) {\r\n\t\t\t\tSystem.out.println(\"P\" + i + \": Safe\");\r\n\t\t\t} else {\r\n\t\t\t\tSystem.out.println(\"P\" + i + \": Un-Safe\");\r\n\t\t\t}\r\n\t\t}*/\r\n\r\n\t}",
"boolean hasLoopbackDbfs();",
"public boolean vacuum() {\r\n\tboolean result = false;\r\n\r\n\tStatement st = null;\r\n\ttry {\r\n\r\n\t st = conn.createStatement();\r\n\t st.execute(\"vacuum;\");\r\n\r\n\t result = true;\r\n\t} catch (Exception e) {\r\n\t // nothing todo here\r\n\t} finally {\r\n\t Cleanup(st);\r\n\t}\r\n\r\n\treturn result;\r\n }",
"boolean hasSysID();",
"private boolean checkDirectedWrite(Data data) {\r\n\t\tif (data.inlineQosFlag()) {\r\n\t\t\tDirectedWrite dw = (DirectedWrite) data.getInlineQos().getParameter(ParameterId.PID_DIRECTED_WRITE);\r\n\r\n\t\t\tif (dw != null) {\r\n\t\t\t\tfor (Guid guid : dw.getGuids()) {\r\n\t\t\t\t\tif (guid.equals(getGuid())) {\r\n\t\t\t\t\t\treturn true;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn true;\r\n\t}",
"public abstract boolean isPrimary();",
"public boolean hasDatabaseSpec() {\n return databaseSpecBuilder_ != null || databaseSpec_ != null;\n }",
"public boolean hasDatabase() {\n return ((bitField0_ & 0x00000010) == 0x00000010);\n }"
]
| [
"0.68169683",
"0.6667687",
"0.625033",
"0.61712444",
"0.6041529",
"0.5954317",
"0.5924679",
"0.58152634",
"0.5793375",
"0.57443905",
"0.5688321",
"0.5668486",
"0.5668189",
"0.5668189",
"0.5668189",
"0.5668189",
"0.5668189",
"0.56427914",
"0.5573018",
"0.5568365",
"0.5565976",
"0.55548936",
"0.547297",
"0.5430528",
"0.54099804",
"0.5409109",
"0.5382563",
"0.5374575",
"0.5362591",
"0.53543174",
"0.53419197",
"0.5340173",
"0.5331765",
"0.53196806",
"0.53163064",
"0.5313102",
"0.52962697",
"0.5294449",
"0.5294314",
"0.52937835",
"0.5289465",
"0.5283925",
"0.527448",
"0.5260904",
"0.5245922",
"0.52410245",
"0.5225096",
"0.52208984",
"0.52161384",
"0.51988494",
"0.51973134",
"0.519589",
"0.519139",
"0.5188134",
"0.51849306",
"0.51815695",
"0.51687205",
"0.5167193",
"0.5167193",
"0.5167193",
"0.5165002",
"0.516482",
"0.5164515",
"0.5163477",
"0.5159085",
"0.51574045",
"0.515448",
"0.5147862",
"0.51439923",
"0.5138484",
"0.5132888",
"0.51296014",
"0.5121899",
"0.51183546",
"0.5113883",
"0.5108685",
"0.50993824",
"0.5091862",
"0.5090037",
"0.5078951",
"0.50760317",
"0.50620663",
"0.50617117",
"0.5058744",
"0.50579107",
"0.50544626",
"0.50477195",
"0.5047586",
"0.5047042",
"0.50420326",
"0.50394833",
"0.5038215",
"0.50379634",
"0.50371933",
"0.5035031",
"0.503382",
"0.5030397",
"0.5029068",
"0.50286126",
"0.5026792"
]
| 0.69350755 | 0 |
Sets if the output database is sharded | public MapReduceToCollectionOperation sharded(final boolean sharded) {
this.sharded = sharded;
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public boolean isSharded() {\n return sharded;\n }",
"default boolean isSharded() {\n return false;\n }",
"boolean isNeedSharding();",
"public void setDistributable(boolean distributable);",
"public boolean isShredded() {\n\t\treturn isShredded;\n\t}",
"public abstract boolean isDatabaseSet();",
"public boolean isShardable() {\n return SHARDABLE_RUNNERS.contains(runnerName);\n }",
"public void setDedicatedWriter(boolean value)\n {\n dedicatedWriter = value;\n }",
"public void setExportLock(java.lang.Boolean value);",
"public boolean lockOutput() {\n return output.setStation(this);\n }",
"boolean isUsedForWriting();",
"public boolean isSheddable() {\n\n return canShed;\n }",
"public void setInDatabase(boolean b) {\n \n }",
"public void setLocksInDb(String value)\n\t{\n\t\tm_locksInDb = new Boolean(value).booleanValue();\n\t}",
"public void setHdbEnabled(boolean isEnable) {\n }",
"public void setSingleUse(boolean value) {\r\n this.singleUse = value;\r\n }",
"public boolean needsStash() {\n return myNeedsStash;\n }",
"public boolean isSetDbName() {\n return this.dbName != null;\n }",
"public void setShivering(boolean shivering);",
"public boolean isSetDatabase() {\r\n return this.database != null;\r\n }",
"public boolean isSetDatabase() {\r\n return this.database != null;\r\n }",
"public boolean isSetDatabase() {\r\n return this.database != null;\r\n }",
"public boolean isSetDatabase() {\r\n return this.database != null;\r\n }",
"public boolean isSetDatabase() {\r\n return this.database != null;\r\n }",
"public boolean isDistributed() {\n\t\treturn distributed;\n\t}",
"@Override\n public void setSheared(boolean sheared) {\n this.entityData.set(SHEARED, sheared);\n super.setSheared(sheared); //set sheared value of super class to be compatible with other mods\n }",
"private void setWrite() {\n db = handler.getWritableDatabase();\n }",
"public void setShifterLocked(boolean isLocked) {\n isShifterLocked = isLocked;\n }",
"@DSGenerator(tool_name = \"Doppelganger\", tool_version = \"2.0\", generated_on = \"2014-03-25 14:39:04.270 -0400\", hash_original_method = \"2F38A905A5E86814C35EEB65CB438D5E\", hash_generated_method = \"0D0B5F174678A92F10985B712A6C7215\")\n \n public static boolean setScanModeCommand(boolean setActive){\n \tdouble taintDouble = 0;\n \ttaintDouble += ((setActive) ? 1 : 0);\n \n \treturn ((taintDouble) == 1);\n }",
"public boolean isSnapshottable() {\r\n return false;\r\n }",
"public boolean guardar()\r\n\t{\r\n\t\treturn false;\r\n\t}",
"public void setExclusive() {\n\t\tthis.exclusive = true;\n\t}",
"boolean needSeparateConnectionForDdl();",
"public Boolean isScorable() {\n return scorable;\n }",
"@Override\n public boolean isSheared() {\n return this.entityData.get(SHEARED);\n }",
"public boolean isSingleUse() {\r\n return singleUse;\r\n }",
"public void setToGridPermanently(){\n this.isPermanent = true;\n }",
"public boolean isShare() {\n return (option >> 5 & 1) == 1;\n }",
"@Raw\r\n\tpublic void setWritable(boolean isWritable) {\r\n\t\tthis.isWritable = isWritable;\r\n\t}",
"@Override\n\tpublic void setup (ServerGroup the_sg) {\n\t\tsuper.setup (the_sg);\n\n\t\tforce_primary = 0;\n\n\t\treturn;\n\t}",
"@Override\n public boolean commitSMO() {\n return true;\n }",
"public boolean isShifterLocked() {\n return isShifterLocked;\n }",
"boolean getDurableWrites();",
"public void setAllSpacesOwned(boolean ifAllSpacesOwned){\n\t\tallSpacesOwned = ifAllSpacesOwned;\n\t}",
"public boolean isPrimary() {\n return false;\n }",
"public boolean isPrimary() {\n return false;\n }",
"public boolean isUseDataStore() {\n return useDataStore;\n }",
"public boolean getDistributable();",
"public boolean isSetDb()\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n return get_store().count_elements(DB$2) != 0;\r\n }\r\n }",
"public void setSafeSetPageDevice(boolean value) {\n this.safeSetPageDevice = value;\n }",
"public boolean getDedicatedWriter()\n {\n return dedicatedWriter;\n }",
"public boolean isAdbDisabled() {\n return false;\n }",
"public void setServer(boolean isServer) { this.isServer = isServer; }",
"public boolean isSevered() {\n\t\treturn isSevered;\n\t}",
"public boolean isSingleDriver() {\n return true;\n }",
"public void setIsPrimary(boolean value) {\r\n this.isPrimary = value;\r\n }",
"public void setDistributed( boolean distributed ) {\n\t\tif ( this.distributed != distributed ) {\n\t\t\tthis.distributed = distributed;\n\t\t\t// FIXME: notify the change\n\t\t}\n\t}",
"public boolean isSmapDumped();",
"public boolean isStore() { return _store; }",
"public static boolean databaseExportAnonymizerEnabled() {\n\t\tif ((xml == null) || (databaseExportAnonymize == null)) return false;\n\t\treturn databaseExportAnonymize.equals(\"yes\");\n\t}",
"public void setStaged(final Boolean staged);",
"public void setStaged(final Boolean staged);",
"public static void setFullSql(boolean flag) {\r\n fullSql = flag;\r\n }",
"public boolean isWritable() {\n return false;\n }",
"public boolean isIsPrimary();",
"public boolean isPersisted() {\n return systemId!=NOT_PERSISTED;\n }",
"public Builder setDurableWrites(boolean value) {\n\n durableWrites_ = value;\n onChanged();\n return this;\n }",
"public void setLockSchemaCache(boolean aBoolean) {\n\t\tcat.debug(\"Setting lockSchemaCache to: \" + aBoolean);\n\n\t\tif (aBoolean) {\n\t\t\tgrammarPool.lockPool();\n\t\t}\n\t\telse {\n\t\t\tgrammarPool.unlockPool();\n\t\t}\n\t}",
"public void setIsPrimary(boolean isPrimary);",
"public void setIsExclusive(Boolean IsExclusive) {\n this.IsExclusive = IsExclusive;\n }",
"public void setOutput(File out) {\r\n this.output = out;\r\n incompatibleWithSpawn = true;\r\n }",
"@Override\n\tpublic boolean isShareable() {\n\t\treturn false;\n\t}",
"@Override\n\tpublic boolean isShareable() {\n\t\treturn false;\n\t}",
"public boolean getUseLocal() {return this.databaseConfig.getProperty(\"useLocal\").equals(\"true\");}",
"@Override\r\n protected boolean isUseDataSource() {\r\n return true;\r\n }",
"boolean isWritable();",
"protected void setPrimary(boolean primary)\r\n\t{\tthis.primary = primary;\t}",
"public boolean isPrepared() {\n return prepared;\n }",
"public Boolean enablePartitioning() {\n return this.enablePartitioning;\n }",
"public void setSinglePlayer(){\n isSinglePlayer = true;\n }",
"public boolean synchronize() {\n\t\treturn false;\n\t}",
"@Override\n\tpublic boolean isWritable(int arg0) throws SQLException {\n\n\t\treturn true;\n\t}",
"public boolean isShivering();",
"@Override\r\n\tpublic Boolean SitOn() {\n\t\treturn true;\r\n\t}",
"public void setShared(boolean shared) {\n this.shared = shared;\n }",
"public final void setSharedAccess( int mode) {\n\t if ( getOpenCount() == 0)\n\t m_sharedAccess = mode;\n\t}",
"public abstract boolean isShared();",
"protected abstract boolean sharedConnectionEnabled();",
"@NoProxy\n @NoDump\n public void setSuppressed(final boolean val) {\n if (val) {\n setStatus(statusMasterSuppressed);\n } else {\n setStatus(null);\n }\n }",
"private static boolean isValidWrite(Class myClass) {\n if(myClass == null){\n L.m(\"Class used to write to the DB was null, please check passed params\");\n return false;\n }\n String className = myClass.getName();\n String masterDBObjectName = MasterDatabaseObject.class.getName();\n if(!StringUtilities.isNullOrEmpty(className) &&\n !StringUtilities.isNullOrEmpty(masterDBObjectName)) {\n if (masterDBObjectName.equalsIgnoreCase(className)) {\n L.m(\"You cannot modify this table from that method. If you want to access the \" +\n \"MasterDatabaseObject table, please use the persistObject / dePersistObject /\" +\n \" getPersistedObject / getAllPersistedObjects method calls.\");\n return false;\n }\n }\n if(myClass == RealmObject.class) {\n return true;\n }\n return myClass.isAssignableFrom(RealmObject.class);\n\n }",
"public void setIsMaster(boolean isMaster) {\n this.isMaster = isMaster;\n }",
"public void setHarvested(boolean harvested);",
"public abstract boolean store();",
"public boolean isSetPktable_db() {\n return this.pktable_db != null;\n }",
"@Override\n public boolean getDurableWrites() {\n return durableWrites_;\n }",
"public boolean isPrepared() {\n return prepared;\n }",
"public void setExport(boolean value) {\n this.export = value;\n }",
"public void setProtection(boolean value);",
"void smem_init_db(boolean readonly /* = false */) throws SoarException, SQLException, IOException\n {\n if(db != null /*\n * my_agent->smem_db->get_status() !=\n * soar_module::disconnected\n */)\n {\n return;\n }\n \n // //////////////////////////////////////////////////////////////////////////\n // TODO SMEM Timers my_agent->smem_timers->init->start();\n // //////////////////////////////////////////////////////////////////////////\n \n // attempt connection\n final String jdbcUrl = URLDecoder.decode(params.protocol.get() + \":\" + params.path.get(), \"UTF-8\");\n final Connection connection = JdbcTools.connect(params.driver.get(), jdbcUrl);\n final DatabaseMetaData meta = connection.getMetaData();\n \n LOG.info(\"Opened database '{}' with {}:{},\", jdbcUrl, meta.getDriverName(), meta.getDriverVersion());\n \n if(params.path.get().equals(SemanticMemoryDatabase.IN_MEMORY_PATH))\n {\n trace.print(Category.SMEM, \"SMem| Initializing semantic memory database in cpu memory.\\n\");\n }\n else\n {\n trace.print(Category.SMEM, \"SMem| Initializing semantic memory memory database at %s\\n\", params.path.get());\n }\n \n db = new SemanticMemoryDatabase(params.driver.get(), connection);\n \n // temporary queries for one-time init actions\n \n applyDatabasePerformanceOptions();\n \n // update validation count\n smem_validation++;\n \n // setup common structures/queries\n final boolean tabula_rasa = db.structure();\n db.prepare();\n \n // Make sure we do not have an incorrect database version\n if(!SemanticMemoryDatabase.IN_MEMORY_PATH.equals(params.path.get()))\n {\n try(ResultSet result = db.get_schema_version.executeQuery())\n {\n if(result.next())\n {\n String schemaVersion = result.getString(1);\n if(!SemanticMemoryDatabase.SMEM_SCHEMA_VERSION.equals(schemaVersion))\n {\n LOG.error(\"Incorrect database version, switching to memory. Found version: {}\", schemaVersion);\n params.path.set(SemanticMemoryDatabase.IN_MEMORY_PATH);\n // Switch to memory\n // Undo what was done so far\n connection.close();\n db = null;\n // This will only recurse once, because the path is\n // guaranteed to be memory for the second call\n smem_init_db(readonly);\n }\n }\n else\n {\n if(params.append_db.get() == AppendDatabaseChoices.on)\n {\n LOG.info(\"The selected database contained no data to append on. New tables created.\");\n }\n }\n }\n }\n db.set_schema_version.setString(1, SemanticMemoryDatabase.SMEM_SCHEMA_VERSION);\n db.set_schema_version.execute();\n /*\n * This is used to rebuild ONLY the epmem tables. Unfortunately we cannot build the\n * prepared statements without making sure the tables exist, but we cannot drop the new\n * tables without first building the prepared statements.\n * TODO: Maybe we should bypass the reflected query structure so this can be done in\n * one statement, instead of building the tables and immediately dropping them. -ACN\n */\n if(params.append_db.get() == AppendDatabaseChoices.off)\n {\n db.dropSmemTables();\n db.structure();\n db.prepare();\n }\n \n if(tabula_rasa)\n {\n db.beginExecuteUpdate( /* soar_module::op_reinit */);\n {\n smem_max_cycle = 1;\n smem_variable_create(smem_variable_key.var_max_cycle, smem_max_cycle);\n \n stats.nodes.set(0L);\n smem_variable_create(smem_variable_key.var_num_nodes, stats.nodes.get());\n \n stats.edges.set(0L);\n smem_variable_create(smem_variable_key.var_num_edges, stats.edges.get());\n \n smem_variable_create(smem_variable_key.var_act_thresh, params.thresh.get());\n \n smem_variable_create(smem_variable_key.var_act_mode, params.activation_mode.get().ordinal());\n }\n db.commitExecuteUpdate();\n }\n else\n {\n final ByRef<Long> tempMaxCycle = ByRef.create(smem_max_cycle);\n smem_variable_get(smem_variable_key.var_max_cycle, tempMaxCycle);\n smem_max_cycle = tempMaxCycle.value;\n \n final ByRef<Long> temp = ByRef.create(0L);\n \n // threshold\n smem_variable_get(smem_variable_key.var_act_thresh, temp);\n params.thresh.set(temp.value);\n \n // nodes\n smem_variable_get(smem_variable_key.var_num_nodes, temp);\n stats.nodes.set(temp.value);\n \n // edges\n smem_variable_get(smem_variable_key.var_num_edges, temp);\n stats.edges.set(temp.value);\n \n // activiation mode\n smem_variable_get(smem_variable_key.var_act_mode, temp);\n params.activation_mode.set(ActivationChoices.values()[Integer.parseInt(temp.value.toString())]);\n }\n \n // reset identifier counters\n smem_reset_id_counters();\n \n // if lazy commit, then we encapsulate the entire lifetime of the agent\n // in a single transaction\n if(params.lazy_commit.get() == LazyCommitChoices.on)\n {\n db.beginExecuteUpdate( /* soar_module::op_reinit */);\n }\n \n // //////////////////////////////////////////////////////////////////////////\n // TODO SMEM Timers: my_agent->smem_timers->init->stop();\n // TODO SMEM Timers: do this in finally for exception handling above\n // //////////////////////////////////////////////////////////////////////////\n }",
"public boolean isSetOutputDir() {\n return this.outputDir != null;\n }"
]
| [
"0.67543584",
"0.6495036",
"0.56540406",
"0.55916023",
"0.5585742",
"0.5557726",
"0.55306053",
"0.54410243",
"0.53621083",
"0.5318042",
"0.5157376",
"0.5154",
"0.51462233",
"0.5120201",
"0.50709313",
"0.50526834",
"0.50189775",
"0.49714565",
"0.49508578",
"0.49221236",
"0.49221236",
"0.49221236",
"0.49221236",
"0.49221236",
"0.49062634",
"0.49061334",
"0.48778173",
"0.486967",
"0.48499054",
"0.48467472",
"0.48367953",
"0.48265588",
"0.48021585",
"0.4786097",
"0.47541726",
"0.47532138",
"0.47395533",
"0.47376525",
"0.47346267",
"0.47013548",
"0.4677476",
"0.4656193",
"0.46519324",
"0.46412933",
"0.463523",
"0.463523",
"0.46287653",
"0.46231243",
"0.46088687",
"0.46059084",
"0.4598498",
"0.45962453",
"0.45928296",
"0.45913577",
"0.4591151",
"0.45882088",
"0.45701745",
"0.45678145",
"0.4564116",
"0.45491755",
"0.4548186",
"0.4548186",
"0.4540083",
"0.4533265",
"0.45326617",
"0.452599",
"0.452269",
"0.45215186",
"0.45197898",
"0.45134145",
"0.4507542",
"0.45071843",
"0.45071843",
"0.45003262",
"0.4499683",
"0.44960263",
"0.44921675",
"0.44913808",
"0.4489987",
"0.4484586",
"0.44778532",
"0.44776708",
"0.44723767",
"0.4471442",
"0.44683343",
"0.44625345",
"0.44587475",
"0.44586024",
"0.44573694",
"0.44541574",
"0.44536787",
"0.44529572",
"0.4452306",
"0.44493982",
"0.4448832",
"0.44487178",
"0.4445518",
"0.44443595",
"0.44428167",
"0.44413078"
]
| 0.5711962 | 2 |
True if the postprocessing step will prevent MongoDB from locking the database. | public boolean isNonAtomic() {
return nonAtomic;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public boolean isSynchronizing() {\n\t\treturn false;\n\t}",
"public boolean isEnable() {\n return this.parallelPutToStoreThreadLimit > 0;\n }",
"synchronized boolean ignoreForRecovery() {\n return ignoreForRecovery;\n }",
"protected boolean checkMongo() {\n boolean scarso = false;\n\n if (checkBioScarso()) {\n mail.send(\"Upload attivita\", \"Abortito l'upload delle attività perché il mongoDb delle biografie sembra vuoto o comunque carente di voci che invece dovrebbero esserci.\");\n scarso = true;\n }// end of if cycle\n\n return scarso;\n }",
"public boolean isLocked() {\r\n \treturn false;\r\n }",
"public boolean isDbToUpdate() {\n\t\treturn !(this.properties.getProperty(SoundLooperProperties.KEY_DB_TO_UPDATE, \"0\").equals(\"0\"));\n\t}",
"@GUARD\r\n\tboolean notLocked() {\r\n\t\treturn !locked;\r\n\t}",
"@Override\n\tpublic boolean allowMultithreading()\n\t{\n\t\treturn true;\n\t}",
"private boolean worthWaiting() {\n return !PsiDocumentManager.getInstance(myProject).hasUncommitedDocuments() && !ApplicationManager.getApplication().isWriteAccessAllowed() && !FileEditorsSplitters.isOpenedInBulk(myTextEditor.myFile);\n }",
"@Override\n\tpublic boolean tryLock() {\n\t\treturn false;\n\t}",
"@Override\n\tpublic boolean tryLock() {\n\t\treturn false;\n\t}",
"public boolean isPoolLocked(){return poolLocked;}",
"public boolean isRunning(){\r\n try{\r\n List<String> dbNames = mongo.getDatabaseNames();\r\n if(!dbNames.isEmpty()){\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n } catch (MongoException e){\r\n// e.printStackTrace();\r\n return false;\r\n }\r\n }",
"public boolean synchronize() {\n\t\treturn false;\n\t}",
"@Override\n public boolean isLocked() {\n Preconditions.checkState(connection != null);\n try {\n if (super.isLocked() && locked) {\n DbLockRecord record = checkExpiry(fetch(session, false, false));\n return (record.isLocked() && instanceId().compareTo(record.getInstanceId()) == 0);\n }\n return false;\n } catch (Exception ex) {\n throw new LockException(ex);\n }\n }",
"@Override\r\n public boolean isSafe() {\n return false;\r\n }",
"public boolean isCanBeSafe() {\r\n return canBeSafe;\r\n }",
"protected boolean afterMerge() throws DBSIOException{return true;}",
"public Boolean shouldAbandon() {\n return false;\n }",
"protected boolean upgradeLocks() {\n \t\treturn false;\n \t}",
"protected boolean lockAcquired() {\n if (locked.compareAndSet(false, true)) {\n lastInserts.clear();\n lastInactivations.clear();\n lastUpdateCase = null;\n return true;\n } else\n return false;\n }",
"@Override\n\tpublic boolean postIt() {\n\t\treturn false;\n\t}",
"public boolean isSafe()\r\n {\r\n return isSafe;\r\n }",
"@Override\n\tpublic boolean isLocked() { return true; }",
"private void wtfIfInLock() {\n if (Thread.holdsLock(mLockDoNoUseDirectly)) {\n Slogf.wtfStack(LOG_TAG, \"Shouldn't be called with DPMS lock held\");\n }\n }",
"public boolean isFromMassUpdate();",
"public boolean isLock() {\n return isLock;\n }",
"protected boolean isLock() {\r\n return Lock.isLock(this.getBlock());\r\n }",
"public boolean isConcurrentDwn() {\n return getPropertyAsBoolean(CONCURRENT_DWN, false);\n }",
"@Override\n public boolean isLocked(Object o) {\n return false;\n }",
"public boolean isLocked()\n\t{\n\t\treturn locked;\n\t}",
"@Override\n public boolean isThreadSafe()\n {\n return false;\n }",
"final void ensureLocked() {\n if (Thread.holdsLock(mLockDoNoUseDirectly)) {\n return;\n }\n Slogf.wtfStack(LOG_TAG, \"Not holding DPMS lock.\");\n }",
"public boolean willNotBeResurrected() {\n return state == State.FRESH || state == State.ERROR;\n }",
"public boolean isSkipPostTactic() {\n\t\treturn skipPostTactic;\n\t}",
"public boolean isLocked() {\n return isLocked;\n }",
"public boolean setDangerous() {\r\n\t\tif(!isDangerous && isCovered) {\r\n\t\t\tisDangerous=true;\r\n\t\t\t\r\n\t\t\tthis.setChanged();\r\n\t\t\tthis.notifyObservers();\r\n\t\t\tthis.clearChanged();\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\treturn false;\r\n\t}",
"@Override\r\n public boolean canDisapprove(Document document) {\n return false;\r\n }",
"public boolean isSleepingAllowed () {\n\t\treturn body.isSleepingAllowed();\n\t}",
"public boolean isPreFreeze() {\r\n return preFreezeCheck;\r\n }",
"public boolean isLocked() {\r\n return isLocked;\r\n }",
"@Override\n\tpublic boolean isLocked() { The lock file must be manually deleted.\n\t\t//\n\t\treturn lockFile.exists();\n\t}",
"public boolean isLocked() {\n return (lockId == null ? false : true);\n }",
"private boolean preVote() {\n try {\n if (timeout > 0 ) {\n bar.attemptBarrier(timeout);\n } else {\n bar.barrier();\n }\n } catch ( Exception e ) {\n _logger.log(Level.FINE, \"synchronization.prevote.failed\", e);\n return false;\n }\n return true;\n }",
"boolean hasAsyncPersistRequest();",
"@Override\r\n\tpublic boolean isSynchronized() {\n\t\treturn false;\r\n\t}",
"public DBMaker disableLocking(){\n this.lockingDisabled = true;\n return this;\n }",
"private boolean skipDroppedDocument(Object[] entity) {\n if (entity instanceof CAS[]) {\n ChunkMetadata meta = CPMUtils.getChunkMetadata((CAS) entity[0]);\n if (meta != null && skippedDocs.containsKey(meta.getDocId())) {\n return true;\n }\n }\n return false;\n }",
"public boolean isLocked() {\n\t\treturn isLocked;\n\t}",
"public boolean isPersisted() {\n return systemId!=NOT_PERSISTED;\n }",
"public boolean isSaveScore(){\n\t\treturn manager.isFailed();\n\t}",
"public boolean isLocked() {\n\t\tif (locked == true)\n\t\t\treturn true;\n\t\treturn false;\n\t}",
"public boolean isPrepared() {\n return prepared;\n }",
"public boolean writerTryLock() {\n\t\t// TODO\n\t\tHolders h = holders.get();\n\t\tfinal Thread current = Thread.currentThread();\n\t\tif (h == null) {\n\t\t\treturn holders.compareAndSet(null, new Writer(current));\n\t\t} else {\n\t\t\treturn false;\n\t\t}\n\t}",
"public boolean shouldImageProcess() {\r\n\t\treturn table.getBoolean(SHOULD_IMAGE_PROCESS_KEY, false);\r\n\t}",
"default boolean isSharded() {\n return false;\n }",
"public boolean isLocked() {\n return mLocked;\n }",
"public boolean isLocked() {\n return mLocked;\n }",
"public boolean unSetDangerous() {\r\n\t\tif(isDangerous && isCovered) {\r\n\t\t\tisDangerous=false;\r\n\t\t\t\r\n\t\t\tthis.setChanged();\r\n\t\t\tthis.notifyObservers();\r\n\t\t\tthis.clearChanged();\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\treturn false;\r\n\t}",
"public boolean isLocked();",
"@Schema(description = \"Whether to skip attempting to do a synced flush on the filesystem of the container (default: false), which is less safe but may be required if the container is unhealthy\")\n public Boolean isSkipSyncedFlush() {\n return skipSyncedFlush;\n }",
"boolean publish() {\n pendingOps.incrementAndGet();\n State currentState = state.get();\n if (currentState == State.FROZEN || currentState == State.RELEASED) {\n pendingOps.decrementAndGet();\n return false;\n }\n return true;\n }",
"public boolean tryToLock() {\n // System.out.println(\"[MOSI] trylock \"+ this.hashCode() + \"(\"+l.getHoldCount()+\")\");\n try {\n return this.l.tryLock(1, TimeUnit.MILLISECONDS);\n } catch (InterruptedException ie) {\n return false;\n }\n }",
"public boolean getShouldChangePatchAfterWrite()\n {\n return false; \n }",
"public boolean isNotPersisted() {\n return notPersisted;\n }",
"public boolean isAtomic() {\n return false;\n }",
"public boolean isStillProcessing() {\r\n\tif(logger.isDebugEnabled())\r\n\t\tlogger.debug(\"BytesnotReadChangedCount is: \" + bytesReadNotChangedCount);\r\n\tif (bytesReadNotChangedCount > 3) {\r\n\t //Abort processing\r\n\t return false;\r\n\t} else {\r\n\t return true;\r\n\t}\r\n }",
"public boolean lockForShutdown() {\r\n if (shuttingDown.compareAndSet(false, true)) {\r\n return true;\r\n }\r\n\r\n return false;\r\n }",
"public boolean lockForPing() {\r\n\t\treturn beingPinged.compareAndSet(false, true);\r\n\t}",
"public boolean isSetDatabase() {\r\n return this.database != null;\r\n }",
"public boolean isSetDatabase() {\r\n return this.database != null;\r\n }",
"public boolean isSetDatabase() {\r\n return this.database != null;\r\n }",
"public boolean isSetDatabase() {\r\n return this.database != null;\r\n }",
"public boolean isSetDatabase() {\r\n return this.database != null;\r\n }",
"public boolean isPrepared() {\n return prepared;\n }",
"synchronized boolean isLeaseHeld() {\n return leaseId > -1;\n }",
"private boolean journalRebuildRequired() {\n\t\tfinal int REDUNDANT_OP_COMPACT_THRESHOLD = 2000;\n\t\treturn redundantOpCount >= REDUNDANT_OP_COMPACT_THRESHOLD\n\t\t\t&& redundantOpCount >= lruEntries.size();\n\t}",
"public boolean isTmpLock() {\n \t\treturn tmpLock;\n \t}",
"@Override\r\n\tpublic boolean unlockIt() {\n\t\treturn false;\r\n\t}",
"public boolean isEffective() {\n return !this.isBroken() && !this.isExisted() && this.getId() < 0;\n }",
"@Override\n\tpublic boolean unlockIt() {\n\t\treturn false;\n\t}",
"public boolean writerTryLock() {\n final Thread current = Thread.currentThread();\n // already held by the current thread\n if ((holder.get() instanceof Writer) && (holder.get().thread == current)) {\n throw new IllegalStateException();\n }\n else if (holder.compareAndSet(null, new Writer(current))) return true;\n return false;\n }",
"@Override\n\tpublic boolean preDelete() {\n\t\treturn false;\n\t}",
"public boolean isExecuting(){\n return !pausing;\n }",
"@Override\r\n\tpublic boolean isCoronaSafe() {\n\t\treturn false;\r\n\t}",
"static public void falsifyProcessingJobs()\n {\n processingJobs = false;\n }",
"public boolean setSynchronize() {\n boolean isSynchronize = checkSynchronize();\n editor.putBoolean(Constans.KeyPreference.TURN_SYNCHRONIZE, !isSynchronize);\n editor.commit();\n return !isSynchronize;\n }",
"public boolean GetIsLock()\n {\n return this._lock;\n }",
"public boolean needsRepairing() {\n boolean returner = false;\n for (Pouch pouch : pouchesUsed) {\n returner = returner || pouch.needsRepair();\n }\n return returner;\n }",
"public boolean isPreTrusted(){\n\t\treturn (this.pre_trusted);\n\t}",
"public boolean shouldUpdateVersionOnMappingChange(){\r\n return this.lockOnChangeMode == LockOnChange.ALL;\r\n }",
"public @Bool boolean isLocked()\r\n\t\tthrows PropertyNotPresentException;",
"@Transient\n\tpublic boolean isProcessDocumentNotNull() {\n\t\treturn (getProcessDocument()!=null);\n\t}",
"public boolean mo5973j() {\n return !isDestroyed() && !isFinishing();\n }",
"public boolean needsSync() {\n return myNeedsSync;\n }",
"public boolean canDrop(){\n return this.collectedItems < STORAGE_AMOUNT && System.currentTimeMillis() - lastDrop >= delayInMillis;\n }",
"public boolean isAcquired() {\r\n return false;\r\n }",
"boolean propagateSession() {\n if (committed && !isDirty()) {\n return true;\n }\n if (getRepositoryBackedSession(false) == null) {\n setPropagateOnCreate(true);\n return false;\n }\n return doPropagateAndStoreIfFirstWrapper();\n }",
"public boolean isReadOnly() {\n return this.getUpdateCount() == 0;\n }",
"public void checkWriteLock() {\n checkNotDeleted();\n super.checkWriteLock();\n }"
]
| [
"0.57233804",
"0.57170844",
"0.56682897",
"0.56423026",
"0.56245136",
"0.557163",
"0.55663645",
"0.555972",
"0.5509902",
"0.5466006",
"0.5466006",
"0.54522043",
"0.5430662",
"0.54182774",
"0.5394726",
"0.5392918",
"0.5378406",
"0.53753763",
"0.53443646",
"0.53205216",
"0.5305119",
"0.5302785",
"0.52923554",
"0.5290268",
"0.5270055",
"0.5242929",
"0.5212465",
"0.5204571",
"0.5197013",
"0.5192367",
"0.51712465",
"0.51547503",
"0.5148295",
"0.5134834",
"0.5120804",
"0.5114099",
"0.51131195",
"0.5109187",
"0.51049405",
"0.5100463",
"0.50882536",
"0.50829655",
"0.5082755",
"0.5081746",
"0.50795406",
"0.5076929",
"0.50760734",
"0.5052154",
"0.5048385",
"0.50480986",
"0.5040228",
"0.5036437",
"0.5031045",
"0.50252944",
"0.5021648",
"0.5020411",
"0.5016675",
"0.5016675",
"0.5014574",
"0.50144655",
"0.5013709",
"0.5004262",
"0.500131",
"0.49988666",
"0.49904224",
"0.49840733",
"0.4983972",
"0.49816325",
"0.49781004",
"0.49733916",
"0.49733916",
"0.49733916",
"0.49733916",
"0.49733916",
"0.49622694",
"0.49603117",
"0.49574435",
"0.49553046",
"0.49539503",
"0.49506593",
"0.49500713",
"0.49461812",
"0.49454418",
"0.49367103",
"0.49312907",
"0.49306577",
"0.4927603",
"0.49034965",
"0.49006787",
"0.48933613",
"0.48829684",
"0.4876158",
"0.48724934",
"0.4870418",
"0.4867436",
"0.48633727",
"0.4859734",
"0.4853552",
"0.48516738",
"0.4849484"
]
| 0.49349502 | 84 |
Gets the bypass document level validation flag | public Boolean getBypassDocumentValidation() {
return bypassDocumentValidation;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"boolean getValidateOnly();",
"boolean getValidateOnly();",
"public Document getDocumentForValidation() {\n return documentForValidation;\n }",
"public Integer getdocverificationflag() {\n return (Integer) getAttributeInternal(DOCVERIFICATIONFLAG);\n }",
"public boolean getValidateOnly() {\n return validateOnly_;\n }",
"protected boolean getValidatedFlag() {\n createFlags();\n return flags[VALIDATED];\n }",
"public boolean getValidateOnly() {\n return validateOnly_;\n }",
"public boolean getValidation() {\n return validate;\n }",
"public boolean isValidationEnabled();",
"public MapReduceToCollectionOperation bypassDocumentValidation(final Boolean bypassDocumentValidation) {\n this.bypassDocumentValidation = bypassDocumentValidation;\n return this;\n }",
"public int getValidationLevel() {\n return validationLevel;\n }",
"public boolean hasDocumentStandard() {\n return fieldSetFlags()[9];\n }",
"public void flagOrUnflagValidationError(boolean validationMode);",
"public String getValidflag() {\n return validflag;\n }",
"public String getValidflag() {\n return validflag;\n }",
"@Override\n public int getValidationMode() {\n if (null == documentBuilderFactory) {\n loadDocumentBuilderFactory();\n }\n if (!documentBuilderFactory.isValidating()) {\n return XMLParser.NONVALIDATING;\n }\n\n try {\n if (null == documentBuilderFactory.getAttribute(SCHEMA_LANGUAGE)) {\n return XMLParser.DTD_VALIDATION;\n }\n } catch (IllegalArgumentException e) {\n return XMLParser.DTD_VALIDATION;\n }\n\n return XMLParser.SCHEMA_VALIDATION;\n }",
"public String getValidflag() {\n\t\treturn validflag;\n\t}",
"boolean getValid();",
"public boolean hasDocumentId() {\n return fieldSetFlags()[1];\n }",
"public boolean getValidity();",
"public boolean hasDocumentId() {\n return fieldSetFlags()[8];\n }",
"public boolean isValidated(){\n return getValidatedFlag();\n }",
"boolean getRequired();",
"boolean getRequired();",
"boolean getRequired();",
"@Override\n\t\tpublic boolean hasPassedXMLValidation() {\n\t\t\treturn false;\n\t\t}",
"public boolean hasDocumentType() {\n return fieldSetFlags()[11];\n }",
"public SELF enableValidation() {\n this.enableValidation = true;\n return self();\n }",
"public String getValidation() {\n return this.validation;\n }",
"public void setdocverificationflag(Integer value) {\n setAttributeInternal(DOCVERIFICATIONFLAG, value);\n }",
"public abstract void\n bypassValidation_();",
"public ID getValidation() { \r\n\t\tID retVal = this.getTypedField(47, 0);\r\n\t\treturn retVal;\r\n }",
"public boolean hasBusinessDocumentId() {\n return fieldSetFlags()[0];\n }",
"public boolean hasDocumentStandardVersion() {\n return fieldSetFlags()[10];\n }",
"Boolean getIsValid();",
"public void setDocumentForValidation(Document documentForValidation) {\n this.documentForValidation = documentForValidation;\n }",
"public Byte getDisableFlag() {\n return disableFlag;\n }",
"public Boolean getValidate(){\n return validated;\n }",
"boolean getPossiblyBad();",
"org.apache.xmlbeans.XmlBoolean xgetRequired();",
"public boolean getIsValidToSchema() {\r\n\t\treturn mIsValidToSchema;\r\n\t}",
"boolean hasProofDocument();",
"boolean hasProofDocument();",
"public boolean getVerifyField() {\n\treturn verify;\n }",
"public boolean isValidate() {\r\r\r\r\r\r\n return validate;\r\r\r\r\r\r\n }",
"public boolean hasDocumentType() {\n return ((bitField0_ & 0x00000008) == 0x00000008);\n }",
"public Boolean checkDisabled() {\r\n\t\treturn searchRepository.checkDisabled();\r\n\t}",
"public boolean hasDocumentType() {\n return ((bitField0_ & 0x00000008) == 0x00000008);\n }",
"@javax.annotation.Nullable\n @ApiModelProperty(value = \"Disallow modification of this PDF.\")\n @JsonProperty(JSON_PROPERTY_DISALLOW_MODIFY)\n @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)\n\n public Boolean getDisallowModify() {\n return disallowModify;\n }",
"public Boolean getValid() {\n\t\treturn valid;\n\t}",
"public boolean getProtection();",
"public boolean isCondReqrdFlg() {\n return condReqrdFlg;\n }",
"public boolean isDocument() {\n\n return this.document;\n }",
"public Integer getCorrectflag() {\n return correctflag;\n }",
"public Boolean getNotHasPermission()\r\n {\r\n return notHasPermission;\r\n }",
"public TBooleanElements getTBooleanAccess() {\n\t\treturn unknownRuleTBoolean;\n\t}",
"boolean getNegated();",
"@Override\n public boolean isDocumentState() {\n return true;\n }",
"@ApiModelProperty(value = \"Validation policy: If true, the project must pass all validation checks before project changes can be committed to the git repository\")\n public Boolean isValidationRequired() {\n return validationRequired;\n }",
"public String getCheckFlag() {\n return checkFlag;\n }",
"public boolean getMustUnderstand();",
"public boolean validate(){\n return true;\n }",
"public Character getDistPermitProofFlag() {\n return distPermitProofFlag;\n }",
"public RefactoringStatus getValidationStatus() {\n return fValidationStatus;\n }",
"public String getCheckFlag() {\r\n return checkFlag;\r\n }",
"public void setValidation(boolean validate) {\n this.validate = validate;\n }",
"public boolean isProhibited() {\n return getFlow().isProhibited();\n }",
"boolean getValidSettings();",
"boolean getNddSkipValidateB(Record inputRecord);",
"public Boolean getIsEnforced() {\n return isEnforced;\n }",
"public boolean isRestricted() {\n return _restricted;\n }",
"int getErrorsMode();",
"public boolean getGeneratedCheck(){\n return generatedCheck;\n }",
"public boolean getDisableNameValidation() {\n return disableNameValidation;\n }",
"@Override\r\n\t@Test(groups = {\"function\",\"setting\"} ) \r\n\tpublic boolean checkNetword() {\n\t\tboolean flag = oTest.checkNetword();\r\n\t\tAssertion.verifyEquals(flag, true);\r\n\t\treturn flag;\r\n\t}",
"@DOMSupport(DomLevel.THREE)\r\n\t@BrowserSupport({BrowserType.FIREFOX_2P})\r\n\t@Property boolean getStrictErrorChecking();",
"static boolean ValidationMode(PsiBuilder b, int l) {\n if (!recursion_guard_(b, l, \"ValidationMode\")) return false;\n if (!nextTokenIs(b, \"\", K_LAX, K_STRICT)) return false;\n boolean r;\n Marker m = enter_section_(b);\n r = consumeToken(b, K_LAX);\n if (!r) r = consumeToken(b, K_STRICT);\n exit_section_(b, m, null, r);\n return r;\n }",
"public boolean isRestricted() {\n return restricted || getFlow().getRestriction() != null;\n }",
"public boolean isValidateRoot()\r\n\t{\r\n\t\treturn(true);\r\n\t}",
"public boolean isValidateDTD()\r\n {\r\n return validateDTD;\r\n }",
"boolean hasDocument();",
"boolean hasDocument();",
"boolean hasDocument();",
"boolean hasDocumentType();",
"public Character getDistAppProofFlag() {\n return distAppProofFlag;\n }",
"public boolean hasDEALPNTFEATLNID() {\n return fieldSetFlags()[0];\n }",
"@Transient\n\tpublic boolean isProcessDocumentNotNull() {\n\t\treturn (getProcessDocument()!=null);\n\t}",
"public int getValid() {\n return valid;\n }",
"public String getReadonlyFlag() {\n return readonlyFlag;\n }",
"public boolean getVariableRequired() {\r\n return relaxed;\r\n }",
"public Boolean isProhibited() {\n throw new NotImplementedException();\n }",
"public SoftAssert validator() {\n return pageValidator;\n }",
"Boolean getIndemnity();",
"@java.lang.Override\n public boolean getValid() {\n return valid_;\n }",
"Boolean getCompletelyCorrect();",
"public AttrCheck getAttrchk()\n {\n return this.attrchk;\n }",
"public boolean getExempt();",
"ValidationError getValidationError();",
"public String getStolenFlag()\n\t{\n\t\treturn stolenFlag;\n\t}",
"public ID getPsl47_Validation() { \r\n\t\tID retVal = this.getTypedField(47, 0);\r\n\t\treturn retVal;\r\n }"
]
| [
"0.67016405",
"0.67016405",
"0.66177964",
"0.65553516",
"0.64626825",
"0.63798726",
"0.634019",
"0.623512",
"0.6057153",
"0.6030363",
"0.60161114",
"0.5995194",
"0.5969504",
"0.5863213",
"0.5863213",
"0.5827916",
"0.5782671",
"0.575108",
"0.5660847",
"0.5648831",
"0.5632319",
"0.5613248",
"0.56029356",
"0.56029356",
"0.56029356",
"0.55837554",
"0.55725694",
"0.55443835",
"0.55376774",
"0.553436",
"0.5531479",
"0.5513357",
"0.54895675",
"0.54866",
"0.54849213",
"0.54660773",
"0.5461018",
"0.544386",
"0.5432972",
"0.54226995",
"0.5382778",
"0.5318097",
"0.5318097",
"0.53155845",
"0.5272121",
"0.52679074",
"0.5261225",
"0.5252164",
"0.5247653",
"0.52462834",
"0.52374524",
"0.52370787",
"0.5232735",
"0.52301216",
"0.5208804",
"0.5188026",
"0.5186509",
"0.51854116",
"0.5184395",
"0.5173495",
"0.5173175",
"0.51649255",
"0.5164714",
"0.5163368",
"0.5154875",
"0.5152715",
"0.51502115",
"0.5132627",
"0.51279867",
"0.5124555",
"0.5117741",
"0.5114694",
"0.5111895",
"0.50981796",
"0.5097599",
"0.50959414",
"0.5092945",
"0.50903714",
"0.5089712",
"0.5088208",
"0.50842214",
"0.50842214",
"0.50842214",
"0.5079193",
"0.50786275",
"0.50733066",
"0.50727886",
"0.507023",
"0.50697374",
"0.50659716",
"0.5061383",
"0.50436497",
"0.5035761",
"0.5021822",
"0.50150055",
"0.5011374",
"0.50111866",
"0.49980953",
"0.4993345",
"0.49807647"
]
| 0.7984712 | 0 |
Sets the bypass document level validation flag. Note: This only applies when an $out stage is specified. | public MapReduceToCollectionOperation bypassDocumentValidation(final Boolean bypassDocumentValidation) {
this.bypassDocumentValidation = bypassDocumentValidation;
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Boolean getBypassDocumentValidation() {\n return bypassDocumentValidation;\n }",
"public void flagOrUnflagValidationError(boolean validationMode);",
"public void setOut(boolean out) {\n this.out = out;\n }",
"public void setSilent ( boolean flag ) {\n\t\ttry {\n\t\t\tinvokeSafe ( \"setSilent\" , flag );\n\t\t} catch ( NoSuchMethodError ex ) { // legacy\n\t\t\thandleOptional ( ).ifPresent (\n\t\t\t\t\thandle -> EntityReflection.setSilent ( handle , flag ) );\n\t\t}\n\t}",
"public abstract void\n bypassValidation_();",
"public void setdocverificationflag(Integer value) {\n setAttributeInternal(DOCVERIFICATIONFLAG, value);\n }",
"public void setEnPassantFlag(final boolean flag) {\n\t\tthis.flagForEnPassant = flag;\n\t}",
"public void setValidation(boolean validate) {\n this.validate = validate;\n }",
"public void setDocumentForValidation(Document documentForValidation) {\n this.documentForValidation = documentForValidation;\n }",
"public void setValidationLevel(int value) {\n this.validationLevel = value;\n }",
"public void setNormalizationState(boolean flag);",
"@Override\r\n public void disableStreamFlow() {\r\n SwitchStates.setEmitOrgPRE(false);\r\n }",
"public void setFlownThrough(boolean bool) {\r\n flownThrough = bool;\r\n }",
"public void disable() {\r\n m_enabled = false;\r\n useOutput(0, 0);\r\n }",
"public void skipVerify() {\n\tskipVerify = true;\n }",
"public void disable() {\n\t\tm_enabled = false;\n\t\tuseOutput(0);\n\t}",
"public static void setNoAnalysis() {\n noAnalysis = true;\n }",
"public void setAntiConvergence(boolean b){\n antiConvergence = b;\n }",
"public void setInvulnerable ( boolean flag ) {\n\t\ttry {\n\t\t\tinvokeSafe ( \"setInvulnerable\" , flag );\n\t\t} catch ( NoSuchMethodError ex ) { // legacy\n\t\t\thandleOptional ( ).ifPresent (\n\t\t\t\t\thandle -> EntityReflection.setInvulnerable ( handle , flag ) );\n\t\t}\n\t}",
"public SELF enableValidation() {\n this.enableValidation = true;\n return self();\n }",
"void setIgnoreForRecovery(boolean value) {\n ignoreForRecovery = value;\n }",
"public Builder setOutputPartialsBeforeLanguageDecision(boolean value) {\n bitField0_ |= 0x00000002;\n outputPartialsBeforeLanguageDecision_ = value;\n onChanged();\n return this;\n }",
"public void setUseFlag(String useFlag) {\n this.useFlag = useFlag;\n }",
"public NetworkRuleBypassOptions bypass() {\n return this.bypass;\n }",
"public void setValidate(boolean validate) {\r\r\r\r\r\r\n this.validate = validate;\r\r\r\r\r\r\n }",
"@Override\r\n\tpublic void validate() {\n\t\tsuper.validate();\r\n\t\tif(nofck == null)\r\n\t\t\tnofck = false;\r\n\t}",
"boolean stageAfterResultsToDocument(Object input) throws ValidationFailedException;",
"public static void invertFlag() {\n\t\trunFlag = !runFlag;\n\t}",
"public void setCorrectFlag(){\n\t\tcorrectFlag = true;\n\t}",
"public void setOutputFlag(String flag);",
"@Override\r\n public void disableStreamFlow() {\r\n SwitchStates.setPassivateOrgINT(true);\r\n }",
"public void setStolenFlag(String stolenFlag)\n\t{\n\t\tthis.stolenFlag = stolenFlag;\n\t}",
"public void setForceOutput(boolean forceOutput)\r\n {\r\n this.forceOutput = forceOutput;\r\n }",
"public void setOutput(File out) {\r\n this.output = out;\r\n incompatibleWithSpawn = true;\r\n }",
"public void setRestricted( boolean val ) {\n this.restricted = val;\n if ( !val && getFlow().getRestriction() != null ) {\n doCommand( new UpdateSegmentObject( getUser().getUsername(), getFlow(), \"restriction\", null ) );\n }\n }",
"@Override\n public void setValidationMode(int validationMode) {\n if (null == documentBuilderFactory) {\n loadDocumentBuilderFactory();\n }\n switch (validationMode) {\n case XMLParser.NONVALIDATING: {\n documentBuilderFactory.setValidating(false);\n // documentBuilderFactory.setAttribute(SCHEMA_LANGUAGE, null);\n return;\n }\n case XMLParser.DTD_VALIDATION: {\n documentBuilderFactory.setValidating(true);\n XMLHelper.allowExternalDTDAccess(documentBuilderFactory, \"all\", false);\n // documentBuilderFactory.setAttribute(SCHEMA_LANGUAGE, null);\n return;\n }\n case XMLParser.SCHEMA_VALIDATION: {\n try {\n documentBuilderFactory.setAttribute(SCHEMA_LANGUAGE, XML_SCHEMA);\n documentBuilderFactory.setValidating(true);\n XMLHelper.allowExternalAccess(documentBuilderFactory, \"all\", false);\n } catch (IllegalArgumentException e) {\n // This parser does not support XML Schema validation so leave it as\n // a non-validating parser.\n }\n return;\n }\n }\n }",
"public void setSkipFail(final Boolean skipFail) {\r\n\t\tthis.skipFail = skipFail;\r\n\t}",
"public void setDisableNameValidation(boolean tmp) {\n this.disableNameValidation = tmp;\n }",
"private void unmarkForSecOp() {\n\t\tthis.secOpFlag = false;\n\t\tthis.secopDoc = null;\n\t}",
"public void setValidateLocation(boolean validateLocation) {\n inputParameters.ValidateLocation = validateLocation;\n\n }",
"public void setOut(eu.aladdin_project.xsd.OperationResult out)\n {\n synchronized (monitor())\n {\n check_orphaned();\n eu.aladdin_project.xsd.OperationResult target = null;\n target = (eu.aladdin_project.xsd.OperationResult)get_store().find_element_user(OUT$0, 0);\n if (target == null)\n {\n target = (eu.aladdin_project.xsd.OperationResult)get_store().add_element_user(OUT$0);\n }\n target.set(out);\n }\n }",
"public void setResetDisabled(boolean flag) {\n\t\tthis.resetDisabled = flag;\n\t}",
"public void setPassLevelNo(long value) {\r\n this.passLevelNo = value;\r\n }",
"void setManualCheck (boolean value);",
"public void setStrict(boolean on) {\n if (on)\n setAccessFlags(getAccessFlags() | Constants.ACCESS_STRICT);\n else\n setAccessFlags(getAccessFlags() & ~Constants.ACCESS_STRICT);\n }",
"public void setValidateRecords(Boolean val) {\n\n\t\tvalidateRecords = val;\n\n\t}",
"public abstract Builder setOutputConfidenceMasks(boolean value);",
"public void setGeneratedCheck(){\n generatedCheck = !generatedCheck;\n }",
"public void useRawVarimax(){\n this. varimaxOption = false;\n }",
"public final void setValidationOutputFolder(final File cValidationOutputFolder) {\n\t\tthis.validationOutputFolder = cValidationOutputFolder;\n\t}",
"boolean getNddSkipValidateB(Record inputRecord);",
"protected void setValidatedFlag(boolean value) {\n createFlags();\n flags[VALIDATED] = value;\n }",
"public MathEval setVariableRequired(boolean val) {\r\n relaxed=(!val);\r\n return this;\r\n }",
"public void check_not_in_allowed_statement(boolean on){\r\n this.e_not_in_allowed_statement = on;\r\n }",
"private void setDeltaValid(boolean deltaValid) {\n\t\tthis.deltaValid = deltaValid;\n\t}",
"public void setFailonerror( boolean b )\n {\n this.failOnError = b;\n }",
"public void disableInputs();",
"public void setExempt(boolean exempt);",
"public void setCheck(CheckInOut check) {\n\t\tthis.check = check;\n\t}",
"protected void setFlag() {\n flag = flagVal;\n }",
"protected void setFlag() {\n flag = flagVal;\n }",
"@Override\r\n public void disableStreamFlow() {\r\n SwitchStates.setEmitOrgEND(false);\r\n }",
"void bypass();",
"@Override\n\t\tpublic boolean hasPassedXMLValidation() {\n\t\t\treturn false;\n\t\t}",
"public void setNotGoingToRenewFlag(Character aNotGoingToRenewFlag) {\n notGoingToRenewFlag = aNotGoingToRenewFlag;\n }",
"public void useNormalVarimax(){\n this. varimaxOption = true;\n }",
"public void setTracing(int traceFlag) {\n if (traceFlag == 0)\n Trace.setMask(Trace.MASK_NONE);\n else\n Trace.setMask(Trace.MASK_ALL);\n }",
"private void setDirty(boolean flag) {\n\tdirty = flag;\n\tmain.bSave.setEnabled(dirty);\n }",
"ScriptBuilder setFailUnstable(Boolean failUnstable) {\n this.failUnstable = failUnstable;\n return this;\n }",
"@Override\r\n\t@Test(groups = {\"function\",\"setting\"} ) \r\n\tpublic boolean checkThrough() {\n\t\tboolean flag = oTest.checkThrough();\r\n\t\tAssertion.verifyEquals(flag, true);\r\n\t\treturn flag;\r\n\t}",
"public boolean isCanBypassIntermediate() {\n return getFlow().isCanBypassIntermediate();\n }",
"@Override\n\tpublic void setFailureMode(boolean arg0) {\n\n\t}",
"public void setInput(boolean input) {\n this.input = input;\n }",
"public void setInverseOutput(boolean inverseOutput) {\r\n\t\tthis.inverseOutput = inverseOutput;\r\n\t}",
"public void setCustomBuildStep(boolean customBuildStep);",
"@Override\r\n public void enableStreamFlow() {\r\n SwitchStates.setEmitOrgPRE(true);\r\n \r\n }",
"@Override\r\n public void disableStreamFlow() {\r\n SwitchStates.setEmitTrgPRE(false);\r\n }",
"public void setIgnoreErrors(boolean b) {\n ignoreErrors = b;\n }",
"public void setProtection(boolean value);",
"static boolean ValidationMode(PsiBuilder b, int l) {\n if (!recursion_guard_(b, l, \"ValidationMode\")) return false;\n if (!nextTokenIs(b, \"\", K_LAX, K_STRICT)) return false;\n boolean r;\n Marker m = enter_section_(b);\n r = consumeToken(b, K_LAX);\n if (!r) r = consumeToken(b, K_STRICT);\n exit_section_(b, m, null, r);\n return r;\n }",
"public void setGeneralFailure(boolean flag) {\n this.generalFailure = flag;\n }",
"public void setSilent(boolean s) {\n writeline(\"/home/ubuntu/results/coverage/JexlEvalContext/JexlEvalContext_5_10.coverage\", \"3a352384-fdf0-41af-aa7c-08550422a0ab\");\n this.silent = s ? Boolean.TRUE : Boolean.FALSE;\n }",
"public void setErr(boolean a) {\n\t\terr = a;\r\n\t}",
"@VTID(40)\n void setRequireManualUpdate(\n boolean rhs);",
"public void optionToWire(DNSOutput out) {\n out.writeByteArray(this.data);\n }",
"public void setIgnoreFailures(boolean ignoreFailures) {\n\t\tthis.ignoreFailures = ignoreFailures;\n\t\tgetDispatcher().setIgnoreFailures(ignoreFailures);\n\t}",
"public void setIsVoidPrevDocs (boolean IsVoidPrevDocs);",
"public boolean offForEvaluation();",
"public void validate(){\n if (validated){\n validated = false;\n } else {\n validated = true;\n }\n }",
"public void setZeroStop(boolean stop) {\n\t\tthis.stop = stop;\n\t}",
"public void markFileAsNotSaved()\r\n {\r\n saved = false;\r\n }",
"public abstract void setForceLevel(int level);",
"protected Validator createValidator (PrintStream out)\n {\n return new Validator(out);\n }",
"public abstract Builder setOutputCategoryMask(boolean value);",
"public void setRejectIfNoRule(final boolean reject) {\n \t\t_rejectIfNoRule = reject;\n \t}",
"private void updateFastForward(String out) {\n\t\tif (out.equals(properties.get(\"errorMsg\")) || out.equals(properties.get(\"failureMsg\"))) {\n\t\t\tfastForward = true;\n\t\t}\n\t}",
"public void negateUnxepectedTagPenalty() {\n\t\tnegateUnxepectedTagPenalty = true;\n\t}",
"@Override\r\n public void enableStreamFlow() {\r\n SwitchStates.setPassivateOrgINT(false);\r\n }",
"private void setDirty(boolean flag) {\n\tmain.getState().dirty = flag;\n\tif (main.bSave != null)\n\t main.bSave.setEnabled(flag);\n }",
"@Test\n public void testNoGuaranteeModeDisregardsMaxUncommittedOffsets() {\n KafkaSpoutConfig<String, String> spoutConfig = createKafkaSpoutConfigBuilder(mock(TopicFilter.class), mock(ManualPartitioner.class), -1)\n .setProcessingGuarantee(KafkaSpoutConfig.ProcessingGuarantee.NO_GUARANTEE)\n .build();\n doTestModeDisregardsMaxUncommittedOffsets(spoutConfig);\n }"
]
| [
"0.58103263",
"0.55784863",
"0.5487003",
"0.528526",
"0.5254497",
"0.51901346",
"0.51469404",
"0.49327636",
"0.4854942",
"0.48541826",
"0.48458517",
"0.48051697",
"0.47619107",
"0.4679294",
"0.46738753",
"0.46616536",
"0.46421272",
"0.46339524",
"0.4623342",
"0.46147445",
"0.4606751",
"0.45643112",
"0.45372468",
"0.45366094",
"0.45293394",
"0.45224977",
"0.45172307",
"0.451692",
"0.45109326",
"0.4483802",
"0.44833547",
"0.44651076",
"0.44626287",
"0.44526613",
"0.4448277",
"0.44309297",
"0.44277677",
"0.44261578",
"0.4423687",
"0.44146577",
"0.44041082",
"0.43931296",
"0.43747452",
"0.436863",
"0.43637118",
"0.43600672",
"0.4359946",
"0.43519968",
"0.4340009",
"0.43399844",
"0.43351874",
"0.4332848",
"0.43193987",
"0.43189898",
"0.43081567",
"0.42984957",
"0.42947823",
"0.4293579",
"0.42898127",
"0.4287297",
"0.4287297",
"0.42872533",
"0.42790067",
"0.42767507",
"0.42749465",
"0.4271158",
"0.42655322",
"0.42552903",
"0.4254129",
"0.42513344",
"0.4242065",
"0.42396167",
"0.42384583",
"0.42378125",
"0.42370117",
"0.4236606",
"0.423339",
"0.42125463",
"0.42112225",
"0.42078653",
"0.42050976",
"0.4203676",
"0.42026943",
"0.42019418",
"0.42019266",
"0.4200624",
"0.42003798",
"0.42002904",
"0.42001563",
"0.4195014",
"0.41836524",
"0.41813707",
"0.41800132",
"0.4177846",
"0.41777602",
"0.417775",
"0.41761705",
"0.41760084",
"0.41724882",
"0.41713417"
]
| 0.6183054 | 0 |
Returns the collation options | public Collation getCollation() {
return collation;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"List<AlgCollation> getCollationList();",
"public TreeMap getCondictionCodesOptions()\n\t{\n\t\t\n\t\treturn ACMICache.getConditionCodes();\n\t\t\n\t}",
"public EncodingOptions getEncodingOptions();",
"@Test\n public void mapCollation() {\n check(MAPCOLL);\n query(MAPCOLL.args(MAPNEW.args()), Token.string(QueryText.URLCOLL));\n }",
"List<String> getJavaOptions();",
"public Collection<String> recognizedOptions()\n {\n // We default to null for backward compatibility sake\n return null;\n }",
"public Collection<String> getOptions() {\n return options==null? Collections.emptyList() : Arrays.asList(options);\n }",
"public synchronized Iterator<String> getAllOptions() {\n\t\tSet<String> names = optionTable.keySet();\n\t\tIterator<String> itr = names.iterator();\n\t\treturn itr;\n\t}",
"public String[] getOptions() {\n\t\tString[] EvaluatorOptions = new String[0];\n\t\tString[] SearchOptions = new String[0];\n\t\tint current = 0;\n\n//\t\tif (m_ASEvaluator instanceof OptionHandler) {\n//\t\t\tEvaluatorOptions = ((OptionHandler) m_ASEvaluator).getOptions();\n//\t\t}\n//\n//\t\tif (m_ASSearch instanceof OptionHandler) {\n//\t\t\tSearchOptions = ((OptionHandler) m_ASSearch).getOptions();\n//\t\t}\n\n\t\tString[] setOptions = new String[10];\n//\t\tsetOptions[current++] = \"-E\";\n//\t\tsetOptions[current++] = getEvaluator().getClass().getName() + \" \"\n//\t\t\t\t+ Utils.joinOptions(EvaluatorOptions);\n//\n//\t\tsetOptions[current++] = \"-S\";\n//\t\tsetOptions[current++] = getSearch().getClass().getName() + \" \"\n//\t\t\t\t+ Utils.joinOptions(SearchOptions);\n//\t\t\n\t\t setOptions[current++] = \"-k\";\n\t\t setOptions[current++] = \"\" + getK();\n\t\t setOptions[current++] = \"-p\";\n\t\t setOptions[current++] = \"\" + getminF_Correlation();\n\n\t\twhile (current < setOptions.length) {\n\t\t\tsetOptions[current++] = \"\";\n\t\t}\n\n\t\treturn setOptions;\n\t}",
"public MapReduceToCollectionOperation collation(final Collation collation) {\n this.collation = collation;\n return this;\n }",
"public String[][] getOptions() {\r\n return options;\r\n }",
"public abstract String[] getOptions();",
"public RuleBasedCollator getCollator() {\n/* 205 */ throw new RuntimeException(\"Stub!\");\n/* */ }",
"@Test\n public void Test8484()\n {\n String s = \"\\u9FE1\\uCEF3\\u2798\\uAAB6\\uDA7C\";\n Collator coll = Collator.getInstance();\n CollationKey collKey = coll.getCollationKey(s); \n logln(\"Pass: \" + collKey.toString() + \" generated OK.\");\n }",
"protected boolean canAddCollation(RelDataTypeField field) {\n return field.getType().getSqlTypeName().getFamily() == SqlTypeFamily.CHARACTER;\n }",
"String getStringCharset() {\n\t\treturn this.charset;\n\t}",
"public String getCharSet(){\n \treturn charSet;\n }",
"public Hashtable<String, Object> getOptions() {\n return options;\n }",
"private CollationKey() { }",
"String getCharset();",
"int getCEs(java.lang.CharSequence r1, long[] r2, int r3) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e9 in method: android.icu.impl.coll.CollationDataBuilder.getCEs(java.lang.CharSequence, long[], int):int, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: android.icu.impl.coll.CollationDataBuilder.getCEs(java.lang.CharSequence, long[], int):int\");\n }",
"int getCEs(java.lang.CharSequence r1, java.lang.CharSequence r2, long[] r3, int r4) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e9 in method: android.icu.impl.coll.CollationDataBuilder.getCEs(java.lang.CharSequence, java.lang.CharSequence, long[], int):int, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: android.icu.impl.coll.CollationDataBuilder.getCEs(java.lang.CharSequence, java.lang.CharSequence, long[], int):int\");\n }",
"public String[] getTextOptions() {\n\t\treturn textOptions;\n\t}",
"public Charset getPreferredCharset();",
"ImmutableList<String> vmOptions();",
"public String getOptions() {\n return this.options;\n }",
"public static Set<String> getAvailableCharsets() {\n return allCharacterSets;\n }",
"public String getCygwinCvs() {\r\n\t\treturn cygwinCvs;\r\n\t}",
"public List<String> getOptionsNames();",
"public String getCharSet() throws VlException\n {\n return ResourceLoader.CHARSET_UTF8;\n }",
"public String getOptionsAsString() {\n\t\tStringBuilder buf = new StringBuilder();\n\t\tfor (int i = 0; i <propertyKeys.size(); i++) {\n\t\t\tString key = propertyKeys.get(i);\n\t\t\tif (!runtimeKeys.get(i))\n buf.append(key + \" : \" + getOption(key)).append(\"\\r\\n\");\n\t\t}\n\t\tfor (int i = 0; i <propertyKeys.size(); i++) {\n\t\t\tString key = propertyKeys.get(i);\n\t\t\tif (runtimeKeys.get(i))\n buf.append(\"* \" + key + \" : \" + getOption(key)).append(\"\\r\\n\");\n\t\t}\n\t\treturn buf.toString();\n\t}",
"public List<Preference<CharacterSet>> getAcceptedCharacterSets() {\n // Lazy initialization with double-check.\n List<Preference<CharacterSet>> a = this.acceptedCharacterSets;\n if (a == null) {\n synchronized (this) {\n a = this.acceptedCharacterSets;\n if (a == null) {\n this.acceptedCharacterSets = a = new ArrayList<Preference<CharacterSet>>();\n }\n }\n }\n return a;\n }",
"@VisibleForTesting\n public List<String> getCompilerOptions() throws CommandLineExpansionException {\n return compileCommandLine.getCompilerOptions(/*overwrittenVariables=*/ null);\n }",
"public Collection getOptions() {\n return options;\n\n }",
"@Override\n public String[] getOptions() {\n\n Vector<String> result = new Vector<String>();\n\n result.add(\"-K\");\n result.add(\"\" + m_kBEPPConstant);\n\n if (getL()) {\n result.add(\"-L\");\n }\n\n if (getUnbiasedEstimate()) {\n result.add(\"-U\");\n }\n\n if (getB()) {\n result.add(\"-B\");\n }\n\n result.add(\"-Ba\");\n result.add(\"\" + m_bagInstanceMultiplier);\n\n result.add(\"-M\");\n result.add(\"\" + m_SplitMethod);\n\n result.add(\"-A\");\n result.add(\"\" + m_AttributesToSplit);\n\n result.add(\"-An\");\n result.add(\"\" + m_AttributeSplitChoices);\n\n Collections.addAll(result, super.getOptions());\n\n return result.toArray(new String[result.size()]);\n }",
"String getSupportedEncoding(String acceptableEncodings);",
"@Override\n public String[] getOptions() {\n\n Vector<String> result = new Vector<String>();\n\n Collections.addAll(result, super.getOptions());\n\n result.add(\"-a\");\n result.add(\"\" + getNumAttributes());\n\n if (getClassFlag()) {\n result.add(\"-c\");\n }\n\n return result.toArray(new String[result.size()]);\n }",
"Map getOptions();",
"public Set<String> getOptions() {\n return options;\n }",
"public List<String> getOptions() {\n List<String> options = new ArrayList<String>();\n if (!showWarnings) {\n options.add(\"-nowarn\");\n }\n addStringOption(options, \"-source\", source);\n addStringOption(options, \"-target\", target);\n addStringOption(options, \"--release\", release);\n addStringOption(options, \"-encoding\", encoding);\n return options;\n }",
"@SuppressWarnings(\"rawtypes\")\n\tpublic abstract Enumeration listOptions();",
"static byte[] getAlphabet( final int options ) {\n if ((options & URL_SAFE) == URL_SAFE)return URL_SAFE_ALPHABET;\n else if ((options & ORDERED) == ORDERED)return ORDERED_ALPHABET;\n return STANDARD_ALPHABET;\n }",
"@Test\n public void Test4216006() throws Exception {\n boolean caughtException = false;\n try {\n new RuleBasedCollator(\"\\u00e0<a\\u0300\");\n }\n catch (ParseException e) {\n caughtException = true;\n }\n if (!caughtException) {\n throw new Exception(\"\\\"a<a\\\" collation sequence didn't cause parse error!\");\n }\n\n RuleBasedCollator collator = new RuleBasedCollator(\"&a<\\u00e0=a\\u0300\");\n //commented by Kevin 2003/10/21 \n //for \"FULL_DECOMPOSITION is not supported here.\" in ICU4J DOC\n //collator.setDecomposition(Collator.FULL_DECOMPOSITION);\n collator.setStrength(Collator.IDENTICAL);\n\n String[] tests = {\n \"a\\u0300\", \"=\", \"\\u00e0\",\n \"\\u00e0\", \"=\", \"a\\u0300\"\n };\n\n compareArray(collator, tests);\n }",
"protected int getCEs(java.lang.CharSequence r1, int r2, long[] r3, int r4) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e5 in method: android.icu.impl.coll.CollationDataBuilder.getCEs(java.lang.CharSequence, int, long[], int):int, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: android.icu.impl.coll.CollationDataBuilder.getCEs(java.lang.CharSequence, int, long[], int):int\");\n }",
"static byte[] getDecodabet( final int options ) {\n if( (options & URL_SAFE) == URL_SAFE)return URL_SAFE_DECODABET;\n else if ((options & ORDERED) == ORDERED) return ORDERED_DECODABET;\n return STANDARD_DECODABET;\n }",
"public static Options getOptions() {\n return OPTIONS;\n }",
"java.util.List<java.lang.String>\n getJavacOptList();",
"@NonNull\n\t\tMap<String, String> getOptions();",
"public StrColumn getConformerSelectionCriteria() {\n return delegate.getColumn(\"conformer_selection_criteria\", DelegatingStrColumn::new);\n }",
"public int getCharacterSet() {\r\n return CharacterSet;\r\n }",
"public static boolean tlcTranslation() {\n \treturn PcalParams.SpecOption || PcalParams.MyspecOption || PcalParams.Spec2Option\n || PcalParams.Myspec2Option;\n }",
"public static Options prepareOptions() {\n Options options = new Options();\n\n options.addOption(\"f\", \"forceDeleteIndex\", false,\n \"Force delete index if index already exists.\");\n options.addOption(\"h\", \"help\", false, \"Show this help information and exit.\");\n options.addOption(\"r\", \"realTime\", false, \"Keep for backwards compabitlity. No Effect.\");\n options.addOption(\"t\", \"terminology\", true, \"The terminology (ex: ncit_20.02d) to load.\");\n options.addOption(\"d\", \"directory\", true, \"Load concepts from the given directory\");\n options.addOption(\"xc\", \"skipConcepts\", false,\n \"Skip loading concepts, just clean stale terminologies, metadata, and update latest flags\");\n options.addOption(\"xm\", \"skipMetadata\", false,\n \"Skip loading metadata, just clean stale terminologies concepts, and update latest flags\");\n options.addOption(\"xl\", \"skipLoad\", false,\n \"Skip loading data, just clean stale terminologies and update latest flags\");\n options.addOption(\"xr\", \"report\", false, \"Compute and return a report instead of loading data\");\n\n return options;\n }",
"public List<Pair<SqlIdentifier, SqlNode>> options() {\n return options(optionList);\n }",
"public List getSupportedLocales() {\n\n return (supportedLocales);\n\n }",
"public GbossValueSet getOptions() {\n return BigrGbossData.getValueSetAlphabetized(ArtsConstants.VALUE_SET_PROCEDURE_HIERARCHY);\n }",
"public ReactorResult<java.lang.String> getAllEncodingSettings_as() {\r\n\t\treturn Base.getAll_as(this.model, this.getResource(), ENCODINGSETTINGS, java.lang.String.class);\r\n\t}",
"public static JwComparator<AcUspsInternationalClaim> getConsignmentCompletionTsComparator()\n {\n return AcUspsInternationalClaimTools.instance.getConsignmentCompletionTsComparator();\n }",
"@Override\n\tpublic String[] getOptions() {\n\t\tVector<String> result = new Vector<String>();\n\n\t\tresult.add(\"-populationSize\");\n\t\tresult.add(\"\" + populationSize);\n\n\t\tresult.add(\"-initialMaxDepth\");\n\t\tresult.add(\"\" + maxDepth);\n\n\t\tCollections.addAll(result, super.getOptions());\n\n\t\treturn result.toArray(new String[result.size()]);\n\t}",
"public String toString() {\n Iterator<AlgFieldCollation> it = fieldCollations.iterator();\n if ( !it.hasNext() ) {\n return \"[]\";\n }\n StringBuilder sb = new StringBuilder();\n sb.append( '[' );\n for ( ; ; ) {\n AlgFieldCollation e = it.next();\n sb.append( e.getFieldIndex() );\n if ( e.direction != AlgFieldCollation.Direction.ASCENDING || e.nullDirection != e.direction.defaultNullDirection() ) {\n sb.append( ' ' ).append( e.shortString() );\n }\n if ( !it.hasNext() ) {\n return sb.append( ']' ).toString();\n }\n sb.append( ',' ).append( ' ' );\n }\n }",
"public LabelValueBean[] getTermSelectOptions() {\n\t\tList terms = getTermList();\n\t\tLabelValueBean[] options = new LabelValueBean[terms.size() + 1];\n\t\toptions[0] = new LabelValueBean(org.dlese.dpc.schemedit.action.form.SchemEditForm.UNSPECIFIED, \"\");\n\t\tint index = 1;\n\t\tfor (Iterator i = terms.iterator(); i.hasNext();) {\n\t\t\tString term = (String) i.next();\n\t\t\toptions[index++] = new LabelValueBean(term, term);\n\t\t}\n\t\treturn options;\n\t}",
"int fetchCEs(java.lang.CharSequence r1, int r2, long[] r3, int r4) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e5 in method: android.icu.impl.coll.CollationDataBuilder.DataBuilderCollationIterator.fetchCEs(java.lang.CharSequence, int, long[], int):int, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: android.icu.impl.coll.CollationDataBuilder.DataBuilderCollationIterator.fetchCEs(java.lang.CharSequence, int, long[], int):int\");\n }",
"Set<? extends Doclet.Option> getSupportedOptions();",
"public Set<String> getUnicodeLocaleAttributes() {\n/* 1016 */ throw new RuntimeException(\"Stub!\");\n/* */ }",
"public abstract Options getOptions();",
"String getUseNativeEncoding();",
"public String getDeclaredEncoding();",
"public Enumeration listOptions() {\n\n\t\tVector newVector = new Vector(6);\n\n\t\tnewVector\n\t\t\t\t.addElement(new Option(\n\t\t\t\t\t\t\"\\tSets search method for subset evaluators.\\n\"\n\t\t\t\t\t\t\t\t+ \"\\teg. -S \\\"weka.attributeSelection.BestFirst -S 8\\\"\",\n\t\t\t\t\t\t\"S\", 1,\n\t\t\t\t\t\t\"-S <\\\"Name of search class [search options]\\\">\"));\n\n\t\tnewVector\n\t\t\t\t.addElement(new Option(\n\t\t\t\t\t\t\"\\tSets attribute/subset evaluator.\\n\"\n\t\t\t\t\t\t\t\t+ \"\\teg. -E \\\"weka.attributeSelection.CfsSubsetEval -L\\\"\",\n\t\t\t\t\t\t\"E\", 1,\n\t\t\t\t\t\t\"-E <\\\"Name of attribute/subset evaluation class [evaluator options]\\\">\"));\n\n\t\tif ((m_ASEvaluator != null) && (m_ASEvaluator instanceof OptionHandler)) {\n\t\t\tEnumeration enu = ((OptionHandler) m_ASEvaluator).listOptions();\n\n\t\t\tnewVector.addElement(new Option(\"\", \"\", 0, \"\\nOptions specific to \"\n\t\t\t\t\t+ \"evaluator \" + m_ASEvaluator.getClass().getName() + \":\"));\n\t\t\twhile (enu.hasMoreElements()) {\n\t\t\t\tnewVector.addElement((Option) enu.nextElement());\n\t\t\t}\n\t\t}\n\n\t\tif ((m_ASSearch != null) && (m_ASSearch instanceof OptionHandler)) {\n\t\t\tEnumeration enu = ((OptionHandler) m_ASSearch).listOptions();\n\n\t\t\tnewVector.addElement(new Option(\"\", \"\", 0, \"\\nOptions specific to \"\n\t\t\t\t\t+ \"search \" + m_ASSearch.getClass().getName() + \":\"));\n\t\t\twhile (enu.hasMoreElements()) {\n\t\t\t\tnewVector.addElement((Option) enu.nextElement());\n\t\t\t}\n\t\t}\n\t\treturn newVector.elements();\n\t}",
"protected void setEncodingsFromOptions(ThreadContext context, RubyHash options) {\n if (options == null || options.isNil()) return;\n \n EncodingOption encodingOption = extractEncodingOptions(options);\n \n if (encodingOption == null) return;\n \n externalEncoding = encodingOption.externalEncoding;\n if (encodingOption.internalEncoding == externalEncoding) return;\n internalEncoding = encodingOption.internalEncoding;\n }",
"public List<Opt> getOptions() {\n\t\treturn options;\n\t}",
"Charset getEncoding();",
"String getCE();",
"String getCE();",
"String getCE();",
"String getCE();",
"public String[] getOptions() {\n return m_Classifier.getOptions();\n }",
"private DefaultValueComparator(Collator collator) {\n this.collator = collator;\n }",
"@Override\n\tpublic String[] getOptions() {\n\t\treturn null;\n\t}",
"public static void main(String[] args) {\n compareCharsets(\"Cp1252\", \"ISO-8859-15\");\n }",
"public List<Charset> getAcceptCharset()\r\n/* 107: */ {\r\n/* 108:174 */ List<Charset> result = new ArrayList();\r\n/* 109:175 */ String value = getFirst(\"Accept-Charset\");\r\n/* 110:176 */ if (value != null)\r\n/* 111: */ {\r\n/* 112:177 */ String[] tokens = value.split(\",\\\\s*\");\r\n/* 113:178 */ for (String token : tokens)\r\n/* 114: */ {\r\n/* 115:179 */ int paramIdx = token.indexOf(';');\r\n/* 116: */ String charsetName;\r\n/* 117: */ String charsetName;\r\n/* 118:181 */ if (paramIdx == -1) {\r\n/* 119:182 */ charsetName = token;\r\n/* 120: */ } else {\r\n/* 121:185 */ charsetName = token.substring(0, paramIdx);\r\n/* 122: */ }\r\n/* 123:187 */ if (!charsetName.equals(\"*\")) {\r\n/* 124:188 */ result.add(Charset.forName(charsetName));\r\n/* 125: */ }\r\n/* 126: */ }\r\n/* 127: */ }\r\n/* 128:192 */ return result;\r\n/* 129: */ }",
"public String getDefaultCharset() {\n/* 359 */ return this.charset;\n/* */ }",
"public boolean areStringComparisonsCaseInsensitive() {\n \t\treturn false;\n \t}",
"public Charset getDefaultCharacterSet() {\n return DEFAULT_CHARACTER_SET;\n }",
"@Test\n public void Test4179216() throws Exception {\n RuleBasedCollator coll = (RuleBasedCollator)Collator.getInstance(Locale.US);\n coll = new RuleBasedCollator(coll.getRules()\n + \" & C < ch , cH , Ch , CH < cat < crunchy\");\n String testText = \"church church catcatcher runcrunchynchy\";\n CollationElementIterator iter = coll.getCollationElementIterator(\n testText);\n\n // test that the \"ch\" combination works properly\n iter.setOffset(4);\n int elt4 = CollationElementIterator.primaryOrder(iter.next());\n\n iter.reset();\n int elt0 = CollationElementIterator.primaryOrder(iter.next());\n\n iter.setOffset(5);\n int elt5 = CollationElementIterator.primaryOrder(iter.next());\n\n // Compares and prints only 16-bit primary weights.\n if (elt4 != elt0 || elt5 != elt0) {\n errln(String.format(\"The collation elements at positions 0 (0x%04x), \" +\n \"4 (0x%04x), and 5 (0x%04x) don't match.\",\n elt0, elt4, elt5));\n }\n\n // test that the \"cat\" combination works properly\n iter.setOffset(14);\n int elt14 = CollationElementIterator.primaryOrder(iter.next());\n\n iter.setOffset(15);\n int elt15 = CollationElementIterator.primaryOrder(iter.next());\n\n iter.setOffset(16);\n int elt16 = CollationElementIterator.primaryOrder(iter.next());\n\n iter.setOffset(17);\n int elt17 = CollationElementIterator.primaryOrder(iter.next());\n\n iter.setOffset(18);\n int elt18 = CollationElementIterator.primaryOrder(iter.next());\n\n iter.setOffset(19);\n int elt19 = CollationElementIterator.primaryOrder(iter.next());\n\n // Compares and prints only 16-bit primary weights.\n if (elt14 != elt15 || elt14 != elt16 || elt14 != elt17\n || elt14 != elt18 || elt14 != elt19) {\n errln(String.format(\"\\\"cat\\\" elements don't match: elt14 = 0x%04x, \" +\n \"elt15 = 0x%04x, elt16 = 0x%04x, elt17 = 0x%04x, \" +\n \"elt18 = 0x%04x, elt19 = 0x%04x\",\n elt14, elt15, elt16, elt17, elt18, elt19));\n }\n\n // now generate a complete list of the collation elements,\n // first using next() and then using setOffset(), and\n // make sure both interfaces return the same set of elements\n iter.reset();\n\n int elt = iter.next();\n int count = 0;\n while (elt != CollationElementIterator.NULLORDER) {\n ++count;\n elt = iter.next();\n }\n\n String[] nextElements = new String[count];\n String[] setOffsetElements = new String[count];\n int lastPos = 0;\n\n iter.reset();\n elt = iter.next();\n count = 0;\n while (elt != CollationElementIterator.NULLORDER) {\n nextElements[count++] = testText.substring(lastPos, iter.getOffset());\n lastPos = iter.getOffset();\n elt = iter.next();\n }\n count = 0;\n for (int i = 0; i < testText.length(); ) {\n iter.setOffset(i);\n lastPos = iter.getOffset();\n elt = iter.next();\n setOffsetElements[count++] = testText.substring(lastPos, iter.getOffset());\n i = iter.getOffset();\n }\n for (int i = 0; i < nextElements.length; i++) {\n if (nextElements[i].equals(setOffsetElements[i])) {\n logln(nextElements[i]);\n } else {\n errln(\"Error: next() yielded \" + nextElements[i] + \", but setOffset() yielded \"\n + setOffsetElements[i]);\n }\n }\n }",
"String getEncoding();",
"public Set<String> getUnicodeLocaleKeys() {\n/* 1042 */ throw new RuntimeException(\"Stub!\");\n/* */ }",
"public Set<TcpSocketOption<?>> options() {\n\t\treturn Collections.unmodifiableSet(map.keySet());\n\t}",
"private JComboBox getCBoxTargetLanguage() {\n if( CBoxTargetLanguage == null ) {\n CBoxTargetLanguage = new JComboBox();\n Locale availableLocales[] = Locale.getAvailableLocales();\n List buildIns = language.getBuildInLocales();\n List externals = language.getExternalLocales();\n TreeMap tm = new TreeMap();\n for (int i = 0; i < availableLocales.length; i++) {\n if( availableLocales[i].getCountry().length() > 0 ) {\n // for now we concentrate on the main languages ;)\n continue;\n }\n String langCode = availableLocales[i].getLanguage();\n // if( availableLocales[i].getCountry().length() > 0 ) {\n // langCode += \"_\" + availableLocales[i].getCountry();\n // }\n String newOrChangeStr;\n boolean isExternal = false;\n boolean isNew = false;\n if( externals.contains(availableLocales[i]) ) {\n newOrChangeStr = \"external\";\n isExternal = true;\n } else if( buildIns.contains(availableLocales[i]) ) {\n newOrChangeStr = \"build-in\";\n } else {\n newOrChangeStr = \"create\";\n isNew = true;\n }\n String localeDesc = availableLocales[i].getDisplayName() + \" (\" + newOrChangeStr+ \") (\"+ langCode + \")\";\n ComboBoxEntry cbe = new ComboBoxEntry(availableLocales[i], isExternal, isNew, localeDesc);\n tm.put(cbe, cbe);\n }\n // get sorted\n for( Iterator i=tm.keySet().iterator(); i.hasNext(); ) {\n CBoxTargetLanguage.addItem(i.next());\n }\n }\n return CBoxTargetLanguage;\n }",
"String getCaseSensitive();",
"public HashMap<String, String> getAllSelect() {\n\t\treturn danTocDAO.getAllSelectLoad();\n\t}",
"public String[] getsSortDirCol() {\r\n\t\treturn sSortDirCol;\r\n\t}",
"@Override\n\t\tpublic String getCharacterEncoding() {\n\t\t\treturn null;\n\t\t}",
"public String getCharacterEncoding() {\n\t\treturn null;\n\t}",
"int getCaseSensitive();",
"String getOptionsOrThrow(\n String key);",
"String getOptionsOrThrow(\n String key);",
"String getOptionsOrThrow(\n String key);",
"@Override\n\tabstract protected List<String> getOptionsList();",
"public List<String> verCarrito(){\n\t\treturn this.compras;\n\t}",
"private int evaluateOptions(String[] args, Configuration config, TableMetaData tbMetaData) {\n String formatMode = \"def\";\n String propFileName = \"dbat.properties\";\n String defaultSchema = config.getDefaultSchema();\n String pair = null; // for options -o and -p\n int eqPos = 0;\n argsSql = \"\";\n mainAction = '?'; // undefined so far\n int ienc = 0;\n int iarg = 0; // argument index\n int karg = 0; // where arguments for stored procedure start: name -in:type1 value1 ...\n if (iarg >= args.length) { // show help if no arguments\n mainAction = 'h';\n } else {\n while (iarg < args.length) {\n String opt = args[iarg ++]; // main operation letters and modifiers\n if (opt.startsWith(\"-\") && opt.length() >= 2) { // it is an option string\n opt = opt.substring(1).toLowerCase();\n // test for modifiers first, several of them may be present\n\n if (opt.startsWith(\"a\")) { // aggregate column name\n if (iarg < args.length) {\n tbMetaData.setAggregationName(args[iarg ++]);\n } else {\n log.error(\"Option -a and no following column name for aggregation\");\n }\n }\n\n if (opt.startsWith(\"call\")) { // call of stored procedure, all remaining arguments are special\n mainAction = 'c';\n karg = iarg;\n iarg = args.length; // break args loop\n // call\n } else // important, and -call must be tested first\n if (opt.startsWith(\"c\")) { // explicit connection id\n if (iarg < args.length) {\n String connId = args[iarg ++]\n .toLowerCase() // <- G.B. 2019-01-02 \n ; \n if (! connId.endsWith(\".properties\")) {\n propFileName = connId + \".properties\";\n } else {\n propFileName = connId;\n }\n config.addProperties(propFileName);\n } else {\n log.error(\"Option -c and no following connection id\");\n }\n defaultSchema = config.getDefaultSchema();\n } // c\n\n if (opt.startsWith(\"e\")) { // character encoding for input or output\n if (iarg < args.length) {\n config.setEncoding(ienc ++, args[iarg ++]);\n if (ienc >= 2) {\n ienc = 1; // fix on output format\n }\n } else {\n log.error(\"Option -e and no following encoding\");\n }\n } // e\n\n if (opt.startsWith(\"g\")) { // list of column names for group change\n if (iarg < args.length) {\n tbMetaData.setGroupColumns(args[iarg ++]);\n } else {\n log.error(\"Option -g and no following column name(s) for grouping\");\n }\n }\n\n if (opt.startsWith(\"h\")) { // help - show usage\n mainAction = 'h';\n } // h\n\n if (opt.startsWith(\"l\")) { // column lengths\n if (iarg < args.length) {\n tbMetaData.fillColumnWidths(args[iarg ++]);\n } else {\n log.error(\"Option -l and no following column lengths\");\n }\n } // l\n\n if (opt.startsWith(\"m\")) { // input/output mode\n if (iarg < args.length) {\n formatMode = args[iarg ++].toLowerCase();\n config.setFormatMode(formatMode);\n } else {\n log.error(\"Option -m and no following output mode\");\n }\n } // m\n\n if (opt.startsWith(\"nsp\")) { // namespace prefix\n if (iarg < args.length) {\n config.setNamespacePrefix(args[iarg ++].toLowerCase());\n } else {\n log.error(\"Option -nsp and no following namespace prefix\");\n }\n } // m\n\n if (opt.startsWith(\"o\")) {\n // property setting: \"-o name=value\"\n if (iarg < args.length) {\n pair = args[iarg ++];\n eqPos = pair.indexOf('=');\n if (eqPos >= 0) {\n config.setProperty(pair.substring(0, eqPos), pair.substring(eqPos + 1));\n } else {\n log.error(\"Option -o with invalid property assigment\");\n }\n } else {\n log.error(\"Option -o and no following property assignment\");\n }\n } // p\n\n if (opt.startsWith(\"p\")) {\n // parameter setting: \"-p name=value\" or \"-p name\" (implies \"name=true\")\n if (iarg < args.length) {\n pair = args[iarg ++];\n eqPos = pair.indexOf('=');\n String pkey = null;\n String pval = null;\n if (eqPos >= 0) {\n pkey = pair.substring(0, eqPos);\n pval = pair.substring(eqPos + 1);\n } else {\n pkey = pair;\n pval = \"true\";\n }\n config.getParameterMap().put(pkey, new String[] { pval } );\n if (false) {\n } else if (pkey.startsWith(\"lang\")) {\n language = pval;\n config.setLanguage(pval);\n } else if (false) { // ... more settings?\n }\n } else {\n log.error(\"Option -p and no following parameter\");\n }\n } // p\n\n if (opt.startsWith(\"sa\")) { // separator string for aggregation\n if (iarg < args.length) {\n tbMetaData.setAggregationSeparator(prepareSeparator(args[iarg ++]));\n } else {\n log.error(\"Option -sa and no following separator\");\n }\n // sa\n } else\n if (opt.startsWith(\"sp\")) { // stored procedure text separator string\n if (iarg < args.length) {\n config.setProcSeparator(prepareSeparator(args[iarg ++]));\n } else {\n log.error(\"Option -sp and no following separator\");\n }\n // sp\n } else // important, and -sa, -sp must be checked first\n if (opt.startsWith(\"s\")) { // separator string\n if (iarg < args.length) {\n config.setSeparator(prepareSeparator(args[iarg ++]));\n } else {\n log.error(\"Option -s and no following separator\");\n }\n } // s\n\n if (opt.startsWith(\"v\")) { // verbose remarks\n verbose = 1;\n config.setVerbose(verbose);\n } // v\n\n if (opt.startsWith(\"x\")) { // no headers\n config.setWithHeaders(false);\n } // x\n\n /*------------------------------------------------\n now the codes which result in database actions\n */\n if (opt.length() >= 1 && Character.isDigit(opt.charAt(0))) {\n // -29: show first 29 rows\n mainAction = 't';\n try {\n int flimit = Integer.parseInt(opt);\n config.setFetchLimit(flimit);\n } catch (NumberFormatException exc) {\n // ignore, leave configured default value\n }\n } // 29\n if (opt.startsWith(\"d\")) { // DESCRIBE table\n mainAction = 'd';\n if (iarg < args.length) {\n tbMetaData.setTableName(defaultSchema, args[iarg ++]);\n } else {\n tbMetaData.setTableName(defaultSchema, \"%\"); // describe all tables in the database\n }\n } // d\n if (opt.startsWith(\"f\")) { // SQL from file\n mainAction = 'f';\n if (iarg < args.length) {\n setSourceName(args[iarg ++]); // file \"-\" => read from STDIN\n } else {\n log.error(\"Option -f and no following filename\");\n }\n } // f\n if (opt.startsWith(\"n\") && ! opt.startsWith(\"nsp\")) { // row count\n mainAction = 'n';\n if (iarg < args.length) {\n tbMetaData.setTableName(defaultSchema, args[iarg ++]);\n } else {\n log.error(\"Option -n and no following table name\");\n }\n }\n if (opt.startsWith(\"r\")) {\n mainAction = 'r';\n // insert raw CHAR values into table\n if (iarg < args.length) {\n tbMetaData.setTableName(defaultSchema, args[iarg ++]);\n } else {\n log.error(\"Option -r and no following table name\");\n }\n if (iarg < args.length) {\n if (args[iarg].startsWith(\"-\")) {\n setSourceName(\"-\"); // option follows, read from STDIN\n } else {\n setSourceName(args[iarg ++]); // read from filename\n }\n } else {\n setSourceName(\"-\"); // read from STDIN\n }\n }\n if (opt.startsWith(\"t\")) {\n if (mainAction == '?') {\n mainAction = 't';\n }\n // config.setFetchLimit(1947062906);\n if (iarg < args.length) { // 1 more argument\n tbMetaData.setTableName(defaultSchema, args[iarg ++]);\n } else {\n log.error(\"Option -t and no following table name\");\n }\n }\n if (opt.startsWith(\"u\")) { // URL for additional input file\n if (iarg < args.length) {\n config.setInputURI(args[iarg ++]);\n } else {\n log.error(\"Option -u and no following URL\");\n }\n } // u\n if (opt.startsWith(\"z\")) { // ZIP file for (B|C)LOB values\n if (iarg < args.length) {\n config.setZipFileName(args[iarg ++]);\n } else {\n log.error(\"Option -z and no following filename\");\n }\n } // z\n if (opt.equals(\"\")) { // special case: single hyphen = STDIN\n mainAction = 'f';\n setSourceName(\"-\");\n }\n // end of options with leading hyphen\n\n } else if (opt.indexOf(' ') >= 0) { // contains space => is an SQL statement\n argsSql = opt;\n while (iarg < args.length) { // append (concatenate) all remaining arguments\n argsSql += \" \" + args[iarg ++];\n } // while appending\n argsSql = argsSql.trim();\n mainAction = 'q';\n\n } else { // is a table name\n if (mainAction == '?') {\n mainAction = 't';\n }\n tbMetaData.setTableName(defaultSchema, opt);\n } // end of case for arguments\n } // while args[]\n\n if (formatMode.equals(\"def\")) {\n if (false) {\n } else if (mainAction == 'd') {\n formatMode = \"sql\";\n } else if (mainAction == 'f' && isSourceType(\".xml\")) {\n formatMode = \"html\";\n } else {\n formatMode = \"tsv\";\n }\n } // default\n\n config.evaluateProperties();\n if (formatMode.equals(\"fix\")) {\n config.setWithHeaders(false);\n config.setSeparator(\"\");\n }\n config.setFormatMode(formatMode);\n BaseTable tbSerializer = tableFactory.getTableSerializer(formatMode);\n tbSerializer.setTargetEncoding(config.getEncoding(1));\n tbSerializer.setSeparator (config.getSeparator());\n tbSerializer.setInputURI (config.getInputURI());\n config.setTableSerializer (tbSerializer);\n } // at least 1 argument\n return karg;\n }",
"public CharStringOptionInspector() {\n this((CharTypeInfo) TypeInfoFactory.charTypeInfo);\n }"
]
| [
"0.7194185",
"0.59272504",
"0.5607697",
"0.542084",
"0.53928804",
"0.5361773",
"0.53459245",
"0.5287487",
"0.5263011",
"0.52529335",
"0.521836",
"0.5150609",
"0.51242244",
"0.5113542",
"0.51095057",
"0.5105952",
"0.5095656",
"0.5081861",
"0.50780106",
"0.5069894",
"0.50422937",
"0.5031881",
"0.5015609",
"0.5013092",
"0.49915892",
"0.4979666",
"0.49414662",
"0.49296194",
"0.49252746",
"0.49203607",
"0.4911663",
"0.4903314",
"0.48991802",
"0.48781863",
"0.4872445",
"0.4871444",
"0.48652747",
"0.48565358",
"0.4851655",
"0.4843986",
"0.48355737",
"0.48188487",
"0.48020816",
"0.4800788",
"0.4796812",
"0.47879007",
"0.477399",
"0.47739035",
"0.4769654",
"0.47671697",
"0.4766812",
"0.4740443",
"0.47307542",
"0.4727025",
"0.47215602",
"0.47069",
"0.47065958",
"0.4700264",
"0.46916288",
"0.46877798",
"0.46856785",
"0.46710852",
"0.4668053",
"0.4658934",
"0.46478117",
"0.46443287",
"0.46393067",
"0.46358833",
"0.46323523",
"0.46233767",
"0.4616503",
"0.4616503",
"0.4616503",
"0.4616503",
"0.46128485",
"0.46074465",
"0.46065447",
"0.4606113",
"0.46031085",
"0.4601622",
"0.45977014",
"0.45940906",
"0.4593932",
"0.45900413",
"0.4586522",
"0.45799392",
"0.45771834",
"0.45750937",
"0.4571149",
"0.45675048",
"0.45652544",
"0.45598948",
"0.4556588",
"0.4549779",
"0.4549779",
"0.4549779",
"0.45418572",
"0.4534999",
"0.45335618",
"0.45295227"
]
| 0.7033393 | 1 |
Sets the collation options A null value represents the server default. | public MapReduceToCollectionOperation collation(final Collation collation) {
this.collation = collation;
return this;
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"protected void setEncodingsFromOptions(ThreadContext context, RubyHash options) {\n if (options == null || options.isNil()) return;\n \n EncodingOption encodingOption = extractEncodingOptions(options);\n \n if (encodingOption == null) return;\n \n externalEncoding = encodingOption.externalEncoding;\n if (encodingOption.internalEncoding == externalEncoding) return;\n internalEncoding = encodingOption.internalEncoding;\n }",
"public Collation getCollation() {\n return collation;\n }",
"@Test\n public void mapCollation() {\n check(MAPCOLL);\n query(MAPCOLL.args(MAPNEW.args()), Token.string(QueryText.URLCOLL));\n }",
"List<AlgCollation> getCollationList();",
"private DefaultValueComparator(Collator collator) {\n this.collator = collator;\n }",
"public void setCollator(RuleBasedCollator collator) {\n/* 216 */ throw new RuntimeException(\"Stub!\");\n/* */ }",
"@Override\n\tpublic void setOptions(String[] options) throws Exception {\n\t\t\n\t}",
"void setCollator(RuleBasedCollator collator)\n {\n m_collator_ = collator;\n updateInternalState();\n }",
"public abstract void setOptions(String[] options) throws Exception;",
"@Override\n public void setCharacterEncoding(String arg0) {\n\n }",
"public void setOptions(java.util.Map<?,?> options) {\n\t}",
"public void setCharSet(List<Character> charSet){\n mCharSet = charSet;\n }",
"public void setCharset(String string) {\n\t\t\r\n\t}",
"void\t\tsetCommandOptions(String command, Strings options);",
"T setJavaOptions(String... javaOptions);",
"@Override\n\t\tpublic void setCharacterEncoding(String env) throws UnsupportedEncodingException {\n\t\t\t\n\t\t}",
"public void setAcceptCharset(List<Charset> acceptableCharsets)\r\n/* 93: */ {\r\n/* 94:157 */ StringBuilder builder = new StringBuilder();\r\n/* 95:158 */ for (Iterator<Charset> iterator = acceptableCharsets.iterator(); iterator.hasNext();)\r\n/* 96: */ {\r\n/* 97:159 */ Charset charset = (Charset)iterator.next();\r\n/* 98:160 */ builder.append(charset.name().toLowerCase(Locale.ENGLISH));\r\n/* 99:161 */ if (iterator.hasNext()) {\r\n/* 100:162 */ builder.append(\", \");\r\n/* 101: */ }\r\n/* 102: */ }\r\n/* 103:165 */ set(\"Accept-Charset\", builder.toString());\r\n/* 104: */ }",
"@SuppressWarnings(\"unused\")\n\tpublic void setOptions() {\n\t\tCIVLTable tbl_optionTable = (CIVLTable) getComponentByName(\"tbl_optionTable\");\n\t\tDefaultTableModel optionModel = (DefaultTableModel) tbl_optionTable\n\t\t\t\t.getModel();\n\n\t\tObject[] opts = currConfig.getGmcConfig().getOptions().toArray();\n\t\tGMCSection section = currConfig.getGmcConfig().getAnonymousSection();\n\n\t\tCollection<Option> options = currConfig.getGmcConfig().getOptions();\n\t\tIterator<Option> iter_opt = options.iterator();\n\t\tList<Object> vals = new ArrayList<Object>();\n\n\t\tfor (int j = 0; j < optionModel.getRowCount(); j++) {\n\t\t\tvals.add(optionModel.getValueAt(j, 1));\n\t\t}\n\n\t\tfor (int i = 0; i < vals.size(); i++) {\n\t\t\tOption currOpt = (Option) opts[i];\n\t\t\tObject val = vals.get(i);\n\n\t\t\tif (!currOpt.type().equals(OptionType.MAP)) {\n\t\t\t\tif (val instanceof String\n\t\t\t\t\t\t&& currOpt.type().equals(OptionType.INTEGER)) {\n\t\t\t\t\tInteger value = Integer.valueOf((String) val);\n\t\t\t\t\tsection.setScalarValue(currOpt, value);\n\t\t\t\t}\n\t\t\t\t/*\n\t\t\t\t * else if(val == null) { section.setScalarValue(currOpt, \"\"); }\n\t\t\t\t */\n\t\t\t\telse if (true) {\n\t\t\t\t\tSystem.out.println(\"val: \" + val);\n\t\t\t\t}\n\t\t\t\tsection.setScalarValue(currOpt, val);\n\t\t\t}\n\t\t}\n\t}",
"T setJavaOptions(List<String> javaOptions);",
"public void setOptions(Map options) {\n\t\t\r\n\t}",
"public JSHTMLOptionsCollection() {\r\n\r\n\t}",
"@Override\n public void setLocales(Collection<String> locales) \n {\n assert locales != null : \"Locales cannot be set to null\";\n this.locales = Collections.unmodifiableCollection(locales);\n clean();\n }",
"void setCaseSensitive(int value);",
"private void handleNLSNegotiation(CharSetandLanguageNegotiation_type neg)\n {\n LOGGER.finer(\"Handle Character Set and Language Negotiation\");\n \n if ( neg.which == CharSetandLanguageNegotiation_type.proposal_CID )\n {\n OriginProposal_type op = (OriginProposal_type)(neg.o);\n \n // Deal with any proposed character sets.\n if ( op.proposedCharSets != null )\n {\n for ( Enumeration prop_charsets = op.proposedCharSets.elements(); \n \t prop_charsets.hasMoreElements();)\n {\n proposedCharSets_inline0_choice1_type c = \n \t (proposedCharSets_inline0_choice1_type)\n \t (prop_charsets.nextElement());\n switch ( c.which )\n {\n case proposedCharSets_inline0_choice1_type.iso10646_CID:\n // The client proposes an iso 10646 id for a character set\n Iso10646_type iso_type = (Iso10646_type)(c.o);\n OIDRegisterEntry ent = reg.lookupByOID(iso_type.encodingLevel);\n LOGGER.finer(\"Client proposes iso10646 charset: \"+ent.getName());\n break;\n default:\n LOGGER.warning(\"Unhandled character set encoding\");\n break;\n }\n }\n }\n }\n }",
"private void prepareOptions() {\n CommandFactory\n .getInstance()\n .getCommands()\n .forEach((s, command) -> options.addOption(s, true, command.getDefinition()));\n }",
"@Override\n\tpublic void setCharacterEncoding(String env) throws UnsupportedEncodingException {\n\t\t\n\t}",
"protected abstract void initializeOptions(Options options);",
"public void options(CliOption... options) {\n\t\toptions(Arrays.asList(Preconditions.checkNotNull(options)));\n\t}",
"public void initOptions(String[] args) {\n\t\tCL_Initializer.CL_init(args);\n\t\tCL_Initializer.checkParsing(args);\n\t\tCL_Initializer.initImagingScheme();\n\t\tCL_Initializer.initDataSynthesizer();\n\t}",
"public void setCharSet(int charset)\n {\n byte cs = (byte)charset;\n if(charset > 127) {\n cs = (byte)(charset-256);\n }\n setCharSet(cs);\n }",
"private DefaultCharset setInternalDefaultCharset(String charsetName)\n throws NoSuchMethodException, IllegalAccessException, InvocationTargetException, NoSuchFieldException\n {\n // Open up the private static initializer\n Method staticInitializer = getInitializeDefaultCharsetSingletonMethod();\n\n // Set system property for client charset to bad value\n System.setProperty(Constants.CLIENT_OPTION_CHARSET, charsetName);\n\n // Run static initializer to test charset handling\n DefaultCharset initializedDefaultCharset = (DefaultCharset) staticInitializer.invoke(null);\n return initializedDefaultCharset;\n }",
"public Charset getDefaultCharacterSet() {\n return DEFAULT_CHARACTER_SET;\n }",
"public void setCharset(String charset) {\n this.charset = charset;\n }",
"public Charset getPreferredCharset();",
"public void setOptions(String[] options) throws Exception {\n\t\tString evaluatorString = Utils.getOption('E', options);\r\n\t\tif (evaluatorString.length() == 0)\r\n\t\t\tevaluatorString = weka.attributeSelection.CfsSubsetEval.class\r\n\t\t\t\t\t.getName();\r\n\t\tString[] evaluatorSpec = Utils.splitOptions(evaluatorString);\r\n\t\tif (evaluatorSpec.length == 0) {\r\n\t\t\tthrow new Exception(\r\n\t\t\t\t\t\"Invalid attribute evaluator specification string\");\r\n\t\t}\r\n\t\tString evaluatorName = evaluatorSpec[0];\r\n\t\tevaluatorSpec[0] = \"\";\r\n\t\tm_evaluator = ASEvaluation.forName(evaluatorName, evaluatorSpec);\r\n\r\n\t\t// same for search method\r\n\t\tString searchString = Utils.getOption('S', options);\r\n\t\tif (searchString.length() == 0)\r\n\t\t\tsearchString = weka.attributeSelection.BestFirst.class.getName();\r\n\t\tString[] searchSpec = Utils.splitOptions(searchString);\r\n\t\tif (searchSpec.length == 0) {\r\n\t\t\tthrow new Exception(\"Invalid search specification string\");\r\n\t\t}\r\n\t\tString searchName = searchSpec[0];\r\n\t\tsearchSpec[0] = \"\";\r\n\t\tm_searcher = ASSearch.forName(searchName, searchSpec);\r\n\r\n\t\tsuper.setOptions(options);\r\n\t}",
"@Override\n @SuppressWarnings(\"static-access\")\n public void setJCLIOptions() {\n Option Help = new Option(\"h\", \"help\", false, \"Show Help.\");\n this.jcOptions.addOption(Help);\n this.jcOptions.addOption(OptionBuilder.withLongOpt(\"file\").withDescription(\"File to Convert\").isRequired(false).hasArg().create(\"f\"));\n //this.jcOptions.addOption(OptionBuilder.withLongOpt(\"outputfile\").withDescription(\"Output File\").isRequired(false).hasArg().create(\"of\"));\n OptionGroup jcGroup = new OptionGroup();\n jcGroup.addOption(OptionBuilder.withLongOpt(\"texttobinary\").withDescription(\"Convert text to Binary\").create(\"ttb\"));\n jcGroup.addOption(OptionBuilder.withLongOpt(\"binarytotext\").withDescription(\"Convert binary to text\").create(\"btt\"));\n this.jcOptions.addOptionGroup(jcGroup);\n }",
"void mips3drc_set_options(UINT8 cpunum, UINT32 opts)\n\t{\n\t}",
"public void setCmdOptions(final String cmdOptions)\n {\n \n this.cmdOptions = cmdOptions;\n }",
"private CollationKey() { }",
"public void setCharSet(String charSet) {\n this.charSet = charSet;\n }",
"void initForTailoring(android.icu.impl.coll.CollationData r1) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e5 in method: android.icu.impl.coll.CollationDataBuilder.initForTailoring(android.icu.impl.coll.CollationData):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: android.icu.impl.coll.CollationDataBuilder.initForTailoring(android.icu.impl.coll.CollationData):void\");\n }",
"protected boolean canAddCollation(RelDataTypeField field) {\n return field.getType().getSqlTypeName().getFamily() == SqlTypeFamily.CHARACTER;\n }",
"CollationDataBuilder() {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e8 in method: android.icu.impl.coll.CollationDataBuilder.<init>():void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: android.icu.impl.coll.CollationDataBuilder.<init>():void\");\n }",
"public CharStringOptionInspector() {\n this((CharTypeInfo) TypeInfoFactory.charTypeInfo);\n }",
"public final ANTLRv3Parser.optionsSpec_return optionsSpec() throws RecognitionException {\r\n ANTLRv3Parser.optionsSpec_return retval = new ANTLRv3Parser.optionsSpec_return();\r\n retval.start = input.LT(1);\r\n\r\n\r\n CommonTree root_0 = null;\r\n\r\n Token OPTIONS28=null;\r\n Token char_literal30=null;\r\n Token char_literal31=null;\r\n ANTLRv3Parser.option_return option29 =null;\r\n\r\n\r\n CommonTree OPTIONS28_tree=null;\r\n CommonTree char_literal30_tree=null;\r\n CommonTree char_literal31_tree=null;\r\n RewriteRuleTokenStream stream_92=new RewriteRuleTokenStream(adaptor,\"token 92\");\r\n RewriteRuleTokenStream stream_OPTIONS=new RewriteRuleTokenStream(adaptor,\"token OPTIONS\");\r\n RewriteRuleTokenStream stream_76=new RewriteRuleTokenStream(adaptor,\"token 76\");\r\n RewriteRuleSubtreeStream stream_option=new RewriteRuleSubtreeStream(adaptor,\"rule option\");\r\n try {\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:138:2: ( OPTIONS ( option ';' )+ '}' -> ^( OPTIONS ( option )+ ) )\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:138:4: OPTIONS ( option ';' )+ '}'\r\n {\r\n OPTIONS28=(Token)match(input,OPTIONS,FOLLOW_OPTIONS_in_optionsSpec738); if (state.failed) return retval; \r\n if ( state.backtracking==0 ) stream_OPTIONS.add(OPTIONS28);\r\n\r\n\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:138:12: ( option ';' )+\r\n int cnt13=0;\r\n loop13:\r\n do {\r\n int alt13=2;\r\n int LA13_0 = input.LA(1);\r\n\r\n if ( (LA13_0==RULE_REF||LA13_0==TOKEN_REF) ) {\r\n alt13=1;\r\n }\r\n\r\n\r\n switch (alt13) {\r\n \tcase 1 :\r\n \t // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:138:13: option ';'\r\n \t {\r\n \t pushFollow(FOLLOW_option_in_optionsSpec741);\r\n \t option29=option();\r\n\r\n \t state._fsp--;\r\n \t if (state.failed) return retval;\r\n \t if ( state.backtracking==0 ) stream_option.add(option29.getTree());\r\n\r\n \t char_literal30=(Token)match(input,76,FOLLOW_76_in_optionsSpec743); if (state.failed) return retval; \r\n \t if ( state.backtracking==0 ) stream_76.add(char_literal30);\r\n\r\n\r\n \t }\r\n \t break;\r\n\r\n \tdefault :\r\n \t if ( cnt13 >= 1 ) break loop13;\r\n \t if (state.backtracking>0) {state.failed=true; return retval;}\r\n EarlyExitException eee =\r\n new EarlyExitException(13, input);\r\n throw eee;\r\n }\r\n cnt13++;\r\n } while (true);\r\n\r\n\r\n char_literal31=(Token)match(input,92,FOLLOW_92_in_optionsSpec747); if (state.failed) return retval; \r\n if ( state.backtracking==0 ) stream_92.add(char_literal31);\r\n\r\n\r\n // AST REWRITE\r\n // elements: option, OPTIONS\r\n // token labels: \r\n // rule labels: retval\r\n // token list labels: \r\n // rule list labels: \r\n // wildcard labels: \r\n if ( state.backtracking==0 ) {\r\n\r\n retval.tree = root_0;\r\n RewriteRuleSubtreeStream stream_retval=new RewriteRuleSubtreeStream(adaptor,\"rule retval\",retval!=null?retval.tree:null);\r\n\r\n root_0 = (CommonTree)adaptor.nil();\r\n // 138:30: -> ^( OPTIONS ( option )+ )\r\n {\r\n // C:/dev/antlr.github/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/ANTLRv3.g:138:33: ^( OPTIONS ( option )+ )\r\n {\r\n CommonTree root_1 = (CommonTree)adaptor.nil();\r\n root_1 = (CommonTree)adaptor.becomeRoot(\r\n stream_OPTIONS.nextNode()\r\n , root_1);\r\n\r\n if ( !(stream_option.hasNext()) ) {\r\n throw new RewriteEarlyExitException();\r\n }\r\n while ( stream_option.hasNext() ) {\r\n adaptor.addChild(root_1, stream_option.nextTree());\r\n\r\n }\r\n stream_option.reset();\r\n\r\n adaptor.addChild(root_0, root_1);\r\n }\r\n\r\n }\r\n\r\n\r\n retval.tree = root_0;\r\n }\r\n\r\n }\r\n\r\n retval.stop = input.LT(-1);\r\n\r\n\r\n if ( state.backtracking==0 ) {\r\n\r\n retval.tree = (CommonTree)adaptor.rulePostProcessing(root_0);\r\n adaptor.setTokenBoundaries(retval.tree, retval.start, retval.stop);\r\n }\r\n }\r\n catch (RecognitionException re) {\r\n reportError(re);\r\n recover(input,re);\r\n \tretval.tree = (CommonTree)adaptor.errorNode(input, retval.start, input.LT(-1), re);\r\n\r\n }\r\n\r\n finally {\r\n \t// do for sure before leaving\r\n }\r\n return retval;\r\n }",
"public mount_args setOptions(MountTOptions options) {\n this.options = options;\n return this;\n }",
"@Override\r\n public void assignCountries() {\r\n printInvalidCommandMessage();\r\n }",
"public synchronized void setoptset(String name)\n {\n this.opset.add(new OptionSet(name.toUpperCase(Locale.getDefault())));\n }",
"public ConcurrentHashMapAllowNull(Boolean caseInsensitive) {\n super();\n this.caseInsensitive = caseInsensitive;\n }",
"public void options(Collection<CliOption> options) {\n\t\tMultibinder<CliOption> optionsBinder = optionsBinder();\n\t\tPreconditions.checkNotNull(options).forEach(o -> optionsBinder.addBinding().toInstance(o));\n\t}",
"protected void setEncoding() {\n\t\tthis.defaultContentType = getProperty(CONTENT_TYPE_KEY, DEFAULT_CONTENT_TYPE);\n\n\t\tString encoding = getProperty(RuntimeConstants.OUTPUT_ENCODING, DEFAULT_OUTPUT_ENCODING);\n\n\t\t// For non Latin-1 encodings, ensure that the charset is\n\t\t// included in the Content-Type header.\n\t\tif (!DEFAULT_OUTPUT_ENCODING.equalsIgnoreCase(encoding)) {\n\t\t\tint index = defaultContentType.lastIndexOf(\"charset\");\n\t\t\tif (index < 0) {\n\t\t\t\t// the charset specifier is not yet present in header.\n\t\t\t\t// append character encoding to default content-type\n\t\t\t\tthis.defaultContentType += \"; charset=\" + encoding;\n\t\t\t} else {\n\t\t\t\t// The user may have configuration issues.\n\t\t\t\tlog.info(\"Charset was already specified in the Content-Type property.Output encoding property will be ignored.\");\n\t\t\t}\n\t\t}\n\n\t\tlog.debug(\"Default Content-Type is: {}\", defaultContentType);\n\t}",
"@SuppressWarnings(\"unused\")\n public static void setRuntimeEncoding() throws IllegalAccessException, NoSuchFieldException {\n System.setProperty(\"file.encoding\", \"UTF-8\");\n Field charset = Charset.class.getDeclaredField(\"defaultCharset\");\n charset.setAccessible(true);\n charset.set(null, null);\n }",
"@Test\n public void testSystemDefaultCharsetIsReturnedIfNoPropertyIsDefined()\n {\n Charset clientDefault = DefaultCharset.get();\n\n boolean noCharsetPropertyDefined = definedCharsetName == null;\n Assume.assumeTrue(noCharsetPropertyDefined);\n\n assertEquals(SystemDefaultCharset.name(), clientDefault.name());\n }",
"public Builder setCharSet(List<Character> charSet){\n mCharSet = charSet;\n return this;\n }",
"protected void setupZanataOptions() {\n // Set the zanata url\n if (this.zanataUrl != null) {\n // Find the zanata server if the url is a reference to the zanata server name\n for (final String serverName : getClientConfig().getZanataServers().keySet()) {\n if (serverName.equals(zanataUrl)) {\n zanataUrl = getClientConfig().getZanataServers().get(serverName).getUrl();\n break;\n }\n }\n \n getCspConfig().getZanataDetails().setServer(ClientUtilities.fixHostURL(zanataUrl));\n }\n \n // Set the zanata project\n if (this.zanataProject != null) {\n getCspConfig().getZanataDetails().setProject(zanataProject);\n }\n \n // Set the zanata version\n if (this.zanataVersion != null) {\n getCspConfig().getZanataDetails().setVersion(zanataVersion);\n }\n }",
"public void setOptions(String value) {\n this.options = value;\n }",
"public void setAll()\r\n\t{\r\n\t\tthis.coderVersion = CaTIESProperties.getValue(\"caties.coder.version\");\r\n\t\tthis.gateHome = CaTIESProperties.getValue(\"caties.gate.home\");\r\n\t\tthis.creoleUrlName = CaTIESProperties.getValue(\"caties.creole.url.name\");\r\n\t\tthis.caseInsensitiveGazetteerUrlName = CaTIESProperties\r\n\t\t\t\t.getValue(\"caties.case.insensitive.gazetteer.url.name\");\r\n\t\tthis.caseSensitiveGazetteerUrlName = CaTIESProperties\r\n\t\t\t\t.getValue(\"caties.case.sensitive.gazetteer.url.name\");\r\n\t\tthis.sectionChunkerUrlName = CaTIESProperties.getValue(\"caties.section.chunker.url.name\");\r\n\t\tthis.conceptFilterUrlName = CaTIESProperties.getValue(\"caties.concept.filter.url.name\");\r\n\t\tthis.negExUrlName = CaTIESProperties.getValue(\"caties.neg.ex.url.name\");\r\n\t\tthis.conceptCategorizerUrlName = CaTIESProperties\r\n\t\t\t\t.getValue(\"caties.concept.categorizer.url.name\");\r\n\t}",
"public void setValueCharset(String valueCharset) {\n this.valueCharset = valueCharset;\n }",
"public void setCharSet(String paramCharSet) {\n\tstrCharSet = paramCharSet;\n }",
"@Test\n public void Test4216006() throws Exception {\n boolean caughtException = false;\n try {\n new RuleBasedCollator(\"\\u00e0<a\\u0300\");\n }\n catch (ParseException e) {\n caughtException = true;\n }\n if (!caughtException) {\n throw new Exception(\"\\\"a<a\\\" collation sequence didn't cause parse error!\");\n }\n\n RuleBasedCollator collator = new RuleBasedCollator(\"&a<\\u00e0=a\\u0300\");\n //commented by Kevin 2003/10/21 \n //for \"FULL_DECOMPOSITION is not supported here.\" in ICU4J DOC\n //collator.setDecomposition(Collator.FULL_DECOMPOSITION);\n collator.setStrength(Collator.IDENTICAL);\n\n String[] tests = {\n \"a\\u0300\", \"=\", \"\\u00e0\",\n \"\\u00e0\", \"=\", \"a\\u0300\"\n };\n\n compareArray(collator, tests);\n }",
"public CaseDataExtractorOptions(CaseDataExtractor vc) {\n\t\ttheCaseDataExtractor = vc;\n\t\ttry {\n\t\t\tjbInit();\n\t\t} catch (Exception ex) {\n\t\t\tex.printStackTrace();\n\t\t}\n\t}",
"@Override\n public Status changeOptions(Options options) {\n if (options.getComparator() != this.options.getComparator()) {\n return Status.InvalidArgument(\"changing comparator while building table\");\n }\n\n // Note that any live BlockBuilders point to rep_->options and therefore\n // will automatically pick up the updated options.\n this.options = new Options(options);\n this.indexBlockOptions = new Options(options);\n this.indexBlockOptions.setBlockRestartInterval(1);\n return Status.OK();\n }",
"@Test\n void testGetSet() {\n SqlClusterExecutor.initJavaSdkLibrary(null);\n SdkOption option = new SdkOption();\n try {\n SQLRouterOptions co = option.buildSQLRouterOptions();\n } catch (SqlException e) {\n Assert.assertTrue(e.getMessage().contains(\"empty zk\"));\n }\n try {\n option.setClusterMode(false);\n StandaloneOptions co = option.buildStandaloneOptions();\n } catch (SqlException e) {\n Assert.assertTrue(e.getMessage().contains(\"empty host\"));\n }\n\n }",
"void setCharset(String charset) {\n\t\tthis.charset = charset;\n\t}",
"private void setCorrectCodec() {\n try {\n getDataNetworkHandler().setCorrectCodec();\n } catch (FtpNoConnectionException e) {\n }\n }",
"public RestUtils setMethodOptions()\n\t{\n\t\trestMethodDef.setHttpMethod(HttpMethod.OPTIONS);\n\t\treturn this;\n\t}",
"protected final void setSupportedLocales(Locale[] locales) {\n supportedLocales = locales;\n }",
"public void setLBR_Collection_Default_UU (String LBR_Collection_Default_UU);",
"public Collection<String> getOptions() {\n return options==null? Collections.emptyList() : Arrays.asList(options);\n }",
"private void caseFirstCompressionSub(RuleBasedCollator col, String opt) {\n final int maxLength = 50;\n\n StringBuilder buf1 = new StringBuilder();\n StringBuilder buf2 = new StringBuilder();\n String str1, str2;\n\n for (int n = 1; n <= maxLength; n++) {\n buf1.setLength(0);\n buf2.setLength(0);\n\n for (int i = 0; i < n - 1; i++) {\n buf1.append('a');\n buf2.append('a');\n }\n buf1.append('A');\n buf2.append('a');\n\n str1 = buf1.toString();\n str2 = buf2.toString();\n\n CollationKey key1 = col.getCollationKey(str1);\n CollationKey key2 = col.getCollationKey(str2);\n\n int cmpKey = key1.compareTo(key2);\n int cmpCol = col.compare(str1, str2);\n\n if ((cmpKey < 0 && cmpCol >= 0) || (cmpKey > 0 && cmpCol <= 0) || (cmpKey == 0 && cmpCol != 0)) {\n errln(\"Inconsistent comparison(\" + opt + \"): str1=\" + str1 + \", str2=\" + str2 + \", cmpKey=\" + cmpKey + \" , cmpCol=\" + cmpCol);\n }\n }\n }",
"public EncodingOptions getEncodingOptions();",
"void enableFastLatin() {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00eb in method: android.icu.impl.coll.CollationDataBuilder.enableFastLatin():void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: android.icu.impl.coll.CollationDataBuilder.enableFastLatin():void\");\n }",
"@Override\n\tpublic String[] getOptions() {\n\t\treturn null;\n\t}",
"public void setTimezones() throws Throwable {\n if (syspars.getTzid() == null) {\n // Not enough info yet\n return;\n }\n\n if ((defaultTzid != null) &&\n (defaultTzid.equals(syspars.getTzid()))) {\n // Already set\n return;\n }\n\n String tzserverUri = CalOptionsFactory.getOptions().\n getGlobalStringProperty(\"timezonesUri\");\n\n if (tzserverUri == null) {\n throw new CalFacadeException(\"No timezones server URI defined\");\n }\n\n Timezones.initTimezones(tzserverUri);\n\n Timezones.setSystemDefaultTzid(syspars.getTzid());\n }",
"private void setOptions() {\n cliOptions = new Options();\n cliOptions.addOption(Option.builder(\"p\")\n .required(false)\n .hasArg()\n .desc(\"Paramaters file\")\n .type(String.class)\n .build());\n cliOptions.addOption(Option.builder(\"P\")\n .required(false)\n .hasArg()\n .desc(\"Overwrite of one or more parameters provided by file.\")\n .type(String.class)\n .hasArgs()\n .build());\n cliOptions.addOption(Option.builder(\"H\")\n .required(false)\n .desc(\"Create a parameter file model on the classpath.\")\n .type(String.class)\n .build());\n }",
"void setOsUSet(Set<String> osUs);",
"public void setOptions(final Properties options) {\n\t\tfinal Configuration config = new PropertiesConfiguration(options); //TODO switch to passing Configuration\n\t\tsetMakeFontSizesRelative(config.findBoolean(MAKE_FONT_SIZES_RELATIVE_OPTION).orElse(MAKE_FONT_SIZES_RELATIVE_OPTION_DEFAULT));\n\t\tsetRemoveMSOfficeProperties(config.findBoolean(REMOVE_MS_OFFICE_PROPERTIES_OPTION).orElse(REMOVE_MS_OFFICE_PROPERTIES_OPTION_DEFAULT));\n\t}",
"void suppressContractions(android.icu.text.UnicodeSet r1) {\n /*\n // Can't load method instructions: Load method exception: bogus opcode: 00e9 in method: android.icu.impl.coll.CollationDataBuilder.suppressContractions(android.icu.text.UnicodeSet):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: android.icu.impl.coll.CollationDataBuilder.suppressContractions(android.icu.text.UnicodeSet):void\");\n }",
"public void setQueryOptions(String options)\n {\n }",
"public void setCharacterEncoding(String s) {\n\n\t}",
"public String getCharSet(){\n \treturn charSet;\n }",
"public String getDefaultCharset() {\n return this.charset;\n }",
"public static void main(String[] args) {\n compareCharsets(\"Cp1252\", \"ISO-8859-15\");\n }",
"public String getDefaultCharset() {\n/* 359 */ return this.charset;\n/* */ }",
"public Options() {\n init();\n }",
"public void setAcceptedCharacterSets(\n List<Preference<CharacterSet>> acceptedCharacterSets) {\n this.acceptedCharacterSets = acceptedCharacterSets;\n }",
"public void setOption( String opt )\r\n {\r\n option.set( 0, new COSString( opt ) );\r\n }",
"private void setCharsetName(String aCharsetName) {\r\n\t\tcharsetName = aCharsetName;\r\n\t}",
"public void setCygwinCvs(String cygwinCvs) {\r\n\t\tthis.cygwinCvs = cygwinCvs;\r\n\t}",
"public EditorPanel() {\n encodingModel = new DefaultComboBoxModel(); \n for (String charSet : Charset.availableCharsets().keySet()) {\n encodingModel.addElement(charSet);\n }\n initComponents();\n }",
"void initialize(int options) {\n\n\t}",
"public void setCharSet(byte charSet) {\n\t\tthis.charSet = charSet;\n\t}",
"DataBuilderCollationIterator(android.icu.impl.coll.CollationDataBuilder r1, android.icu.impl.coll.CollationData r2) {\n /*\n // Can't load method instructions: Load method exception: null in method: android.icu.impl.coll.CollationDataBuilder.DataBuilderCollationIterator.<init>(android.icu.impl.coll.CollationDataBuilder, android.icu.impl.coll.CollationData):void, dex: in method: android.icu.impl.coll.CollationDataBuilder.DataBuilderCollationIterator.<init>(android.icu.impl.coll.CollationDataBuilder, android.icu.impl.coll.CollationData):void, dex: \n */\n throw new UnsupportedOperationException(\"Method not decompiled: android.icu.impl.coll.CollationDataBuilder.DataBuilderCollationIterator.<init>(android.icu.impl.coll.CollationDataBuilder, android.icu.impl.coll.CollationData):void\");\n }",
"public Set<TcpSocketOption<?>> options() {\n\t\treturn Collections.unmodifiableSet(map.keySet());\n\t}",
"public SelectSC()\r\n {\r\n\tlanguage = null;// just not to leave constructor empty\r\n }",
"public static Options prepareOptions() {\n Options options = new Options();\n\n options.addOption(\"f\", \"forceDeleteIndex\", false,\n \"Force delete index if index already exists.\");\n options.addOption(\"h\", \"help\", false, \"Show this help information and exit.\");\n options.addOption(\"r\", \"realTime\", false, \"Keep for backwards compabitlity. No Effect.\");\n options.addOption(\"t\", \"terminology\", true, \"The terminology (ex: ncit_20.02d) to load.\");\n options.addOption(\"d\", \"directory\", true, \"Load concepts from the given directory\");\n options.addOption(\"xc\", \"skipConcepts\", false,\n \"Skip loading concepts, just clean stale terminologies, metadata, and update latest flags\");\n options.addOption(\"xm\", \"skipMetadata\", false,\n \"Skip loading metadata, just clean stale terminologies concepts, and update latest flags\");\n options.addOption(\"xl\", \"skipLoad\", false,\n \"Skip loading data, just clean stale terminologies and update latest flags\");\n options.addOption(\"xr\", \"report\", false, \"Compute and return a report instead of loading data\");\n\n return options;\n }",
"public static void initEncryption(EncryptionOptions options)\n { \n logger.info(\"Registering custom HTTPClient SSL configuration with Solr\");\n SSLSocketFactory socketFactory = \n (options.verifier == null) ?\n new SSLSocketFactory(options.ctx) :\n new SSLSocketFactory(options.ctx, options.verifier);\n HttpClientUtil.setConfigurer(new SSLHttpClientConfigurer(socketFactory)); \n }",
"@Override\n public String getCharacterEncoding() {\n return null;\n }",
"public String getCharSet() throws VlException\n {\n return ResourceLoader.CHARSET_UTF8;\n }",
"public static Set<String> getAvailableCharsets() {\n return allCharacterSets;\n }"
]
| [
"0.573213",
"0.5538057",
"0.5373818",
"0.5007094",
"0.49787217",
"0.49368408",
"0.4859263",
"0.4811858",
"0.48102674",
"0.47827512",
"0.4773862",
"0.46782896",
"0.4624756",
"0.45825094",
"0.45774502",
"0.4567932",
"0.45650744",
"0.455146",
"0.45370767",
"0.45142958",
"0.44845602",
"0.4483396",
"0.44620696",
"0.4403425",
"0.44003755",
"0.4388338",
"0.43813062",
"0.43577188",
"0.43519652",
"0.43406305",
"0.43396267",
"0.43371361",
"0.43311578",
"0.4329495",
"0.43168658",
"0.43038315",
"0.4300329",
"0.42959586",
"0.42834905",
"0.4282538",
"0.4280284",
"0.42566082",
"0.4253214",
"0.42492765",
"0.42471373",
"0.42317504",
"0.42299774",
"0.42168033",
"0.42142883",
"0.4209804",
"0.42094442",
"0.42072323",
"0.42032856",
"0.42025214",
"0.4190729",
"0.4182594",
"0.4167273",
"0.41601795",
"0.41479135",
"0.41467324",
"0.41449243",
"0.41429967",
"0.41357145",
"0.4133247",
"0.41251197",
"0.41162148",
"0.411534",
"0.41108838",
"0.41101888",
"0.41094437",
"0.41089797",
"0.41030627",
"0.4090215",
"0.40824538",
"0.40767357",
"0.4071978",
"0.40666765",
"0.40587896",
"0.40577033",
"0.4055322",
"0.40510118",
"0.40325314",
"0.40286845",
"0.4026446",
"0.40253934",
"0.4018103",
"0.40153632",
"0.40139684",
"0.40128097",
"0.4007406",
"0.3992634",
"0.39832067",
"0.39822116",
"0.39760315",
"0.39754626",
"0.39754173",
"0.39725065",
"0.39716733",
"0.3968801",
"0.39605588"
]
| 0.5617009 | 1 |
Executing this will return a cursor with your results in. | @Override
public MapReduceStatistics execute(final WriteBinding binding) {
return withConnection(binding, new OperationHelper.CallableWithConnection<MapReduceStatistics>() {
@Override
public MapReduceStatistics call(final Connection connection) {
validateCollation(connection, collation);
return executeWrappedCommandProtocol(binding, namespace.getDatabaseName(), getCommand(connection.getDescription()),
connection, transformer());
}
});
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"DBCursor execute();",
"@Override\n\tpublic final Iterable<R> execute() {\n\t\t\n\t\treturn new Iterable<R>() {\n\t\t\t\n\t\t\t@Override \n\t\t\tpublic Iterator<R> iterator() {\n\t\t\t\t\n\t\t\t\treturn AbstractMultiQuery.this.iterator();\n\t\t\t\t\n\t\t\t}\n\t\t};\n\t\t\n\t}",
"public abstract Cursor buildCursor();",
"@Override\n protected Cursor buildCursor() {\n return(db.getReadableDatabase().rawQuery(rawQuery, args));\n }",
"public int cursor();",
"private Cursor getCursorObject() {\n SQLiteDatabase db = mDbHelper.getReadableDatabase();\n\n // Define a projection that specifies which columns from the database\n // you will actually use after this query.\n String[] projection = {\n HabbitContract.HabbitEntry._ID,\n HabbitContract.HabbitEntry.COLUMN_HAD_BREAKFAST,\n HabbitContract.HabbitEntry.COLUMN_BREAKFAST_MEAL,\n HabbitContract.HabbitEntry.COLUMN_HAD_LUNCH,\n HabbitContract.HabbitEntry.COLUMN_LUNCH_MEAL,\n HabbitContract.HabbitEntry.COLUMN_HAD_SUPPER,\n HabbitContract.HabbitEntry.COLUMN_SUPPER_MEAL,\n HabbitContract.HabbitEntry.COLUMN_ADDITIONAL_DATA,\n HabbitContract.HabbitEntry.COLUMN_DATETIME_STAMP};\n\n // Perform a query on the nutrition table\n Cursor cursor = db.query(\n HabbitContract.HabbitEntry.TABLE_NAME, // The table to query\n projection, // The columns to return\n null, // The columns for the WHERE clause\n null, // The values for the WHERE clause\n null, // Don't group the rows\n null, // Don't filter by row groups\n null); // The sort order\n\n return cursor;\n }",
"private Cursor getCursorData() {\n\t\tDBAdventureHelper enclosingInstance = new DBAdventureHelper();\r\n\t\tDBAdventureHelper.AdventureDBHelper mDbHelper = enclosingInstance.new AdventureDBHelper(this);\r\n\t\t// Get the data repository in read mode\r\n\t\tSQLiteDatabase db = mDbHelper.getReadableDatabase();\r\n\r\n\t\t// Projection defines which DB cols you will be pulled from the query\r\n\t\t// Cursor queries the database with the provided parameters; pulling record where ID col == Adventure ID\r\n\t\tCursor c = db.query(\r\n\t\t\t\tAdventureContract.AdventuresTable.ADVENTURES_TABLE_NAME, \t\t\t\t\t\t\t\t\t// The table to query\r\n\t\t\t projection, \t\t\t\t\t\t\t\t\t\t\t\t\t// The columns to return\r\n\t\t\t null,\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t// The columns for the WHERE clause\r\n\t\t\t null, \t \t\t\t\t\t\t\t\t \t\t\t\t\t\t\t// The values for the WHERE clause\r\n\t\t\t null, \t\t\t\t\t\t\t\t\t\t\t\t\t// don't group the rows\r\n\t\t\t null, \t\t\t\t\t\t\t\t\t\t\t\t\t// don't filter by row groups\r\n\t\t\t \"DESC\" \t\t \t\t\t\t\t\t\t\t\t\t\t\t\t// The sort order\r\n\t\t);\r\n\t\tc.moveToFirst();\r\n\t return c;\r\n\t }",
"public Cursor getCursorWithRows() {\n Cursor cursor = new SimpleCursor(Query.QueryResult.newBuilder()\n .addFields(Query.Field.newBuilder().setName(\"col1\").setType(Query.Type.INT8).build())\n .addFields(Query.Field.newBuilder().setName(\"col2\").setType(Query.Type.UINT8).build())\n .addFields(Query.Field.newBuilder().setName(\"col3\").setType(Query.Type.INT16).build())\n .addFields(Query.Field.newBuilder().setName(\"col4\").setType(Query.Type.UINT16).build())\n .addFields(Query.Field.newBuilder().setName(\"col5\").setType(Query.Type.INT24).build())\n .addFields(Query.Field.newBuilder().setName(\"col6\").setType(Query.Type.UINT24).build())\n .addFields(Query.Field.newBuilder().setName(\"col7\").setType(Query.Type.INT32).build())\n .addFields(Query.Field.newBuilder().setName(\"col8\").setType(Query.Type.UINT32).build())\n .addFields(Query.Field.newBuilder().setName(\"col9\").setType(Query.Type.INT64).build())\n .addFields(Query.Field.newBuilder().setName(\"col10\").setType(Query.Type.UINT64).build())\n .addFields(\n Query.Field.newBuilder().setName(\"col11\").setType(Query.Type.FLOAT32).build())\n .addFields(\n Query.Field.newBuilder().setName(\"col12\").setType(Query.Type.FLOAT64).build())\n .addFields(\n Query.Field.newBuilder().setName(\"col13\").setType(Query.Type.TIMESTAMP).build())\n .addFields(Query.Field.newBuilder().setName(\"col14\").setType(Query.Type.DATE).build())\n .addFields(Query.Field.newBuilder().setName(\"col15\").setType(Query.Type.TIME).build())\n .addFields(\n Query.Field.newBuilder().setName(\"col16\").setType(Query.Type.DATETIME).build())\n .addFields(Query.Field.newBuilder().setName(\"col17\").setType(Query.Type.YEAR).build())\n .addFields(\n Query.Field.newBuilder().setName(\"col18\").setType(Query.Type.DECIMAL).build())\n .addFields(Query.Field.newBuilder().setName(\"col19\").setType(Query.Type.TEXT).build())\n .addFields(Query.Field.newBuilder().setName(\"col20\").setType(Query.Type.BLOB).build())\n .addFields(\n Query.Field.newBuilder().setName(\"col21\").setType(Query.Type.VARCHAR).build())\n .addFields(\n Query.Field.newBuilder().setName(\"col22\").setType(Query.Type.VARBINARY).build())\n .addFields(Query.Field.newBuilder().setName(\"col23\").setType(Query.Type.CHAR).build())\n .addFields(Query.Field.newBuilder().setName(\"col24\").setType(Query.Type.BINARY).build())\n .addFields(Query.Field.newBuilder().setName(\"col25\").setType(Query.Type.BIT).build())\n .addFields(Query.Field.newBuilder().setName(\"col26\").setType(Query.Type.ENUM).build())\n .addFields(Query.Field.newBuilder().setName(\"col27\").setType(Query.Type.SET).build())\n .addRows(Query.Row.newBuilder().addLengths(\"-50\".length()).addLengths(\"50\".length())\n .addLengths(\"-23000\".length()).addLengths(\"23000\".length())\n .addLengths(\"-100\".length()).addLengths(\"100\".length()).addLengths(\"-100\".length())\n .addLengths(\"100\".length()).addLengths(\"-1000\".length()).addLengths(\"1000\".length())\n .addLengths(\"24.52\".length()).addLengths(\"100.43\".length())\n .addLengths(\"2016-02-06 14:15:16\".length()).addLengths(\"2016-02-06\".length())\n .addLengths(\"12:34:56\".length()).addLengths(\"2016-02-06 14:15:16\".length())\n .addLengths(\"2016\".length()).addLengths(\"1234.56789\".length())\n .addLengths(\"HELLO TDS TEAM\".length()).addLengths(\"HELLO TDS TEAM\".length())\n .addLengths(\"HELLO TDS TEAM\".length()).addLengths(\"HELLO TDS TEAM\".length())\n .addLengths(\"N\".length()).addLengths(\"HELLO TDS TEAM\".length())\n .addLengths(\"1\".length()).addLengths(\"val123\".length())\n .addLengths(\"val123\".length()).setValues(ByteString\n .copyFromUtf8(\"-5050-2300023000-100100-100100-1000100024.52100.432016-02-06 \" +\n \"14:15:162016-02-0612:34:562016-02-06 14:15:1620161234.56789HELLO TDS TEAMHELLO TDS TEAMHELLO\"\n +\n \" TDS TEAMHELLO TDS TEAMNHELLO TDS TEAM1val123val123\"))).build());\n return cursor;\n }",
"public Cursor fetchAllPreg() {\n\n return mDb.query(DATABASE_TABLE, new String[] {KEY_ROWID, KEY_TITLE, KEY_TIME,\n KEY_BODY}, null, null, null, null, null);\n }",
"public Cursor fetchAll() {\n\t\treturn db.query(tableName, fields, null, null, null, null, null);\n\t}",
"public abstract long getCursor();",
"public int getCursor() { return curs; }",
"public List<Document> execute(){\n if(!advancedQuery)\n return convertToDocumentsList(executeRegularQuery());\n else\n return convertToDocumentsList(executeAdvancedQuery());\n }",
"public static interface Cursor {\n\t\tpublic void open() throws RelationException;\n\n\t\t//the hasNext() method actually loads the object, so don't skip it\n\t\tpublic boolean hasNext() throws RelationException;\n\n\t\t//this retrieves the next object. use in confunction with hasNext();\n\t\tpublic Tuple next() throws RelationException;\n\n\t\tpublic void close() throws RelationException;\n\t}",
"public CursorWrapper getCursor() {\n\t\t\treturn cursor;\n\t\t}",
"public Cursor getCursor()\n {\n// Object localObject1;\n// if (!this.mCursorValid)\n// {\n// this.mCursor = new EsMatrixCursor(PROJECTION);\n// this.mCursorValid = true;\n// if ((this.mLocalProfilesLoaded) && (this.mGaiaIdsAndCirclesLoaded))\n// {\n// localObject1 = new HashSet();\n// HashSet localHashSet = new HashSet();\n// Object localObject3 = this.mLocalProfiles.iterator();\n// while (true)\n// {\n// long l1;\n// if (!((Iterator)localObject3).hasNext())\n// {\n// localObject5 = this.mContacts.iterator();\n// while (true)\n// {\n// if (!((Iterator)localObject5).hasNext())\n// {\n// localObject2 = this.mPublicProfiles.iterator();\n// while (true)\n// {\n// if (!((Iterator)localObject2).hasNext())\n// {\n// localObject3 = this.mPublicProfiles.iterator();\n// while (true)\n// {\n// if (!((Iterator)localObject3).hasNext())\n// {\n// localObject1 = this.mCursor;\n// break;\n// }\n// localObject4 = (PublicProfile)((Iterator)localObject3).next();\n// localObject2 = ((PublicProfile)localObject4).gaiaId;\n// if (((HashSet)localObject1).contains(localObject2))\n// continue;\n// localObject5 = this.mCursor;\n// arrayOfObject = new Object[11];\n// l1 = this.mNextId;\n// this.mNextId = (1L + l1);\n// arrayOfObject[0] = Long.valueOf(l1);\n// arrayOfObject[1] = ((PublicProfile)localObject4).personId;\n// arrayOfObject[2] = null;\n// arrayOfObject[3] = localObject2;\n// arrayOfObject[4] = ((PublicProfile)localObject4).name;\n// arrayOfObject[5] = null;\n// arrayOfObject[6] = null;\n// arrayOfObject[7] = null;\n// arrayOfObject[8] = null;\n// arrayOfObject[9] = null;\n// arrayOfObject[10] = ((PublicProfile)localObject4).snippet;\n// ((EsMatrixCursor)localObject5).addRow(arrayOfObject);\n// }\n// }\n// localObject3 = (PublicProfile)((Iterator)localObject2).next();\n// localObject5 = ((PublicProfile)localObject3).gaiaId;\n// localObject4 = (String)this.mGaiaIdsAndCircles.get(localObject5);\n// if ((((HashSet)localObject1).contains(localObject5)) || (TextUtils.isEmpty((CharSequence)localObject4)))\n// continue;\n// ((HashSet)localObject1).add(localObject5);\n// localObject6 = this.mCursor;\n// Object[] arrayOfObject = new Object[11];\n// l1 = this.mNextId;\n// this.mNextId = (1L + l1);\n// arrayOfObject[0] = Long.valueOf(l1);\n// arrayOfObject[1] = ((PublicProfile)localObject3).personId;\n// arrayOfObject[2] = null;\n// arrayOfObject[3] = localObject5;\n// arrayOfObject[4] = ((PublicProfile)localObject3).name;\n// arrayOfObject[5] = localObject4;\n// arrayOfObject[6] = null;\n// arrayOfObject[7] = null;\n// arrayOfObject[8] = null;\n// arrayOfObject[9] = null;\n// arrayOfObject[10] = null;\n// ((EsMatrixCursor)localObject6).addRow(arrayOfObject);\n// }\n// }\n// localObject3 = (Contact)((Iterator)localObject5).next();\n// if (l1.contains(((Contact)localObject3).name))\n// continue;\n// localObject2 = this.mCursor;\n// localObject4 = new Object[11];\n// l2 = this.mNextId;\n// this.mNextId = (1L + l2);\n// localObject4[0] = Long.valueOf(l2);\n// localObject4[1] = ((Contact)localObject3).personId;\n// localObject4[2] = ((Contact)localObject3).lookupKey;\n// localObject4[3] = null;\n// localObject4[4] = ((Contact)localObject3).name;\n// localObject4[5] = null;\n// localObject4[6] = null;\n// localObject4[7] = ((Contact)localObject3).email;\n// localObject4[8] = ((Contact)localObject3).phoneNumber;\n// localObject4[9] = ((Contact)localObject3).phoneType;\n// localObject4[10] = null;\n// ((EsMatrixCursor)localObject2).addRow(localObject4);\n// }\n// }\n// Object localObject6 = (LocalProfile)((Iterator)localObject3).next();\n// Object localObject2 = ((LocalProfile)localObject6).gaiaId;\n// ((HashSet)localObject1).add(localObject2);\n// l1.add(((LocalProfile)localObject6).name);\n// Object localObject4 = this.mCursor;\n// Object localObject5 = new Object[11];\n// long l2 = this.mNextId;\n// this.mNextId = (1L + l2);\n// localObject5[0] = Long.valueOf(l2);\n// localObject5[1] = ((LocalProfile)localObject6).personId;\n// localObject5[2] = null;\n// localObject5[3] = localObject2;\n// localObject5[4] = ((LocalProfile)localObject6).name;\n// localObject5[5] = ((LocalProfile)localObject6).packedCircleIds;\n// localObject5[6] = ((LocalProfile)localObject6).email;\n// localObject5[7] = null;\n// localObject5[8] = ((LocalProfile)localObject6).phoneNumber;\n// localObject5[9] = ((LocalProfile)localObject6).phoneType;\n// localObject5[10] = null;\n// ((EsMatrixCursor)localObject4).addRow(localObject5);\n// }\n// }\n// localObject1 = this.mCursor;\n// }\n// else\n// {\n// localObject1 = this.mCursor;\n// }\n// return (Cursor)(Cursor)(Cursor)(Cursor)(Cursor)(Cursor)localObject1;\n return null;\n }",
"public List<Result> loadResults() {\n List<Result> results = null;\n try {\n DataBaseBroker dbb = new DataBaseBroker();\n dbb.loadDriver();\n dbb.establishConnection();\n results = dbb.loadResults();\n dbb.commit();\n dbb.closeConnection();\n } catch (Exception ex) {\n Logger.getLogger(GameDBLogic.class.getName()).log(Level.SEVERE, null, ex);\n }\n return results;\n }",
"public DBCursor exportData() {\n\t\tCalendar startDate = new GregorianCalendar(2012, 9-1, 01, 0, 0, 0);\n\t\tCalendar endDate = new GregorianCalendar(2012, 9-1, 30, 23, 59, 59);\n\n\t\t/*\t*/\n\t\tBasicDBObject query = new BasicDBObject(\"date\", new BasicDBObject(\n\t\t\t\t\"$gte\", startDate.getTime()).append(\"$lte\", endDate.getTime()));\n\t\t//query.append(\"componentName\", \"CONTROL/DV10/FrontEnd/Cryostat\");\n\t\t//query.append(\"monitorPointName\", \"GATE_VALVE_STATE\");\n\t\t//query.append(\"componentName\", \"CONTROL/DV16/LLC\");\n\t\t//query.append(\"monitorPointName\", \"POL_MON4\");\n\n\t\t// Used only when the query take more than 10 minutes.\n\t\t_collection.addOption(Bytes.QUERYOPTION_NOTIMEOUT);\n\n\t\t/*\t*/\n\n\t\t// Registros utilizados para probar la diferencia de la zona horaria \n\t\t// local con la del servidor de mongo\n\t\t//BasicDBObject query = new BasicDBObject(\"_id\", new ObjectId(\"50528be325d8b6dfbafd7ac2\"));\n\t\t//BasicDBObject query = new BasicDBObject(\"_id\", new ObjectId(\"50529496a310ecc5da59531c\"));\n\n\t\tcursor = _collection.find(query);\n\n\t\t//System.out.println(\"Collections: \"+_database.getCollectionNames());\n\t\t\n\t\t//System.out.println(\"Error: \"+_database.getLastError());\n\t\treturn cursor;\n\t}",
"private void collectResultSet(Cursor cursor, ArrayList<String> result_list) {\n\n\t\t//\n\t\t// are there any data sets\n\t\t//\n\t\tif (!cursor.moveToFirst())\n\t\t\treturn;\n\n\t\t//\n\t\t// add the result\n\t\t//\n\t\tdo {\n\t\t\tresult_list.add(cursor.getString(0));\n\t\t} while (cursor.moveToNext());\n\t}",
"public Cursor getAllShirtsCursor() {\n String selectQuery = \"SELECT * FROM \" + ShirtEntry.TABLE_NAME;\n\n SQLiteDatabase db = this.getReadableDatabase();\n Cursor c = db.rawQuery(selectQuery, null);\n\n return c;\n }",
"public static Cursor getAllCursor() {\n String tableName = Cache.getTableInfo(TodoItem.class).getTableName();\n\n // Query all items without any conditions\n String sql = new Select(tableName + \".*, \" + tableName + \".Id as _id\").\n from(TodoItem.class).toSql();\n\n return Cache.openDatabase().rawQuery(sql, null);\n }",
"public Cursor getAllTrousersCursor() {\n String selectQuery = \"SELECT * FROM \" + TrouserEntry.TABLE_NAME;\n\n SQLiteDatabase db = this.getReadableDatabase();\n Cursor c = db.rawQuery(selectQuery, null);\n\n return c;\n }",
"Data<List<Boards>> getSearchBoardsCursor(String query, String cursor);",
"@Override\n\tprotected Cursor loadCursor() {\n\t\treturn DataManager.get().queryLocations();\n\t}",
"public abstract ResultList executeQuery(DatabaseQuery query);",
"DataFrameCursor<R,C> cursor();",
"@Override\n\t\tprotected Cursor loadCursor() {\n\t\t\treturn ExerciseCatalog.get(getContext()).queryExercises();\n\t\t}",
"public DBCursor find() {\n return find(new BasicDBObject());\n }",
"public Cursor getCursor() throws SQLException\n {\n Cursor c = db.query( true, C_TABLA, columnas, null, null, null, null, null, null);\n\n return c;\n }",
"@Override\n\tprotected Cursor query()\n\t{\n\t\treturn null;\n\t}",
"public java.lang.String getCursor() {\n return instance.getCursor();\n }",
"public CursorObtieneResultados(ResultSet rst) {\n this.rst = rst;\n }",
"public QueryResult<T> getResult();",
"@Override\n\tpublic Iterator<Statement> iterator() {\n\t\treturn iterator(null, null, null);\n\t}",
"@Override\n\t\tprotected Cursor doInBackground(Void... params)\n\t\t{\n\t\t\treturn DbQuery.create(getContentResolver(), Routine.URI)\n\t\t\t\t\t.withColumns(RoutineTable.ID, RoutineTable.TITLE, RoutineTable.EXERCISE_COUNT, RoutineTable.CYCLES)\n\t\t\t\t\t.orderBy(RoutineTable.TITLE + \" ASC\")\n\t\t\t\t\t.execute();\n\t\t}",
"public Cursor getCursorWithRowsAsNull() {\n Cursor cursor = new SimpleCursor(Query.QueryResult.newBuilder()\n .addFields(Query.Field.newBuilder().setName(\"col1\").setType(Query.Type.INT8).build())\n .addFields(Query.Field.newBuilder().setName(\"col2\").setType(Query.Type.UINT8).build())\n .addFields(Query.Field.newBuilder().setName(\"col3\").setType(Query.Type.INT16).build())\n .addFields(Query.Field.newBuilder().setName(\"col4\").setType(Query.Type.UINT16).build())\n .addFields(Query.Field.newBuilder().setName(\"col5\").setType(Query.Type.INT24).build())\n .addFields(Query.Field.newBuilder().setName(\"col6\").setType(Query.Type.UINT24).build())\n .addFields(Query.Field.newBuilder().setName(\"col7\").setType(Query.Type.INT32).build())\n .addFields(Query.Field.newBuilder().setName(\"col8\").setType(Query.Type.UINT32).build())\n .addFields(Query.Field.newBuilder().setName(\"col9\").setType(Query.Type.INT64).build())\n .addFields(Query.Field.newBuilder().setName(\"col10\").setType(Query.Type.UINT64).build())\n .addFields(\n Query.Field.newBuilder().setName(\"col11\").setType(Query.Type.FLOAT32).build())\n .addFields(\n Query.Field.newBuilder().setName(\"col12\").setType(Query.Type.FLOAT64).build())\n .addFields(\n Query.Field.newBuilder().setName(\"col13\").setType(Query.Type.TIMESTAMP).build())\n .addFields(Query.Field.newBuilder().setName(\"col14\").setType(Query.Type.DATE).build())\n .addFields(Query.Field.newBuilder().setName(\"col15\").setType(Query.Type.TIME).build())\n .addFields(\n Query.Field.newBuilder().setName(\"col16\").setType(Query.Type.DATETIME).build())\n .addFields(Query.Field.newBuilder().setName(\"col17\").setType(Query.Type.YEAR).build())\n .addFields(\n Query.Field.newBuilder().setName(\"col18\").setType(Query.Type.DECIMAL).build())\n .addFields(Query.Field.newBuilder().setName(\"col19\").setType(Query.Type.TEXT).build())\n .addFields(Query.Field.newBuilder().setName(\"col20\").setType(Query.Type.BLOB).build())\n .addFields(\n Query.Field.newBuilder().setName(\"col21\").setType(Query.Type.VARCHAR).build())\n .addFields(\n Query.Field.newBuilder().setName(\"col22\").setType(Query.Type.VARBINARY).build())\n .addFields(Query.Field.newBuilder().setName(\"col23\").setType(Query.Type.CHAR).build())\n .addFields(Query.Field.newBuilder().setName(\"col24\").setType(Query.Type.BINARY).build())\n .addFields(Query.Field.newBuilder().setName(\"col25\").setType(Query.Type.BIT).build())\n .addFields(Query.Field.newBuilder().setName(\"col26\").setType(Query.Type.ENUM).build())\n .addFields(Query.Field.newBuilder().setName(\"col27\").setType(Query.Type.SET).build())\n .addRows(Query.Row.newBuilder().addLengths(\"-50\".length()).addLengths(\"50\".length())\n .addLengths(\"-23000\".length()).addLengths(\"23000\".length())\n .addLengths(\"-100\".length()).addLengths(\"100\".length()).addLengths(\"-100\".length())\n .addLengths(\"100\".length()).addLengths(\"-1000\".length()).addLengths(\"1000\".length())\n .addLengths(\"24.52\".length()).addLengths(\"100.43\".length())\n .addLengths(\"2016-02-06 14:15:16\".length()).addLengths(\"2016-02-06\".length())\n .addLengths(\"12:34:56\".length()).addLengths(\"2016-02-06 14:15:16\".length())\n .addLengths(\"2016\".length()).addLengths(\"1234.56789\".length())\n .addLengths(\"HELLO TDS TEAM\".length()).addLengths(\"HELLO TDS TEAM\".length())\n .addLengths(\"HELLO TDS TEAM\".length()).addLengths(\"HELLO TDS TEAM\".length())\n .addLengths(\"N\".length()).addLengths(\"HELLO TDS TEAM\".length())\n .addLengths(\"1\".length()).addLengths(\"val123\".length()).addLengths(-1).setValues(\n ByteString.copyFromUtf8(\n \"-5050-2300023000-100100-100100-1000100024.52100.432016-02-06 \" +\n \"14:15:162016-02-0612:34:562016-02-06 14:15:1620161234.56789HELLO TDS TEAMHELLO TDS \"\n +\n \"TEAMHELLO TDS TEAMHELLO TDS TEAMNHELLO TDS TEAM1val123\"))).build());\n return cursor;\n }",
"public Cursor getRecords() {\n Cursor c;\n try {\n c = db.rawQuery(\"select * from \" + MyOpenHelper.TLoginDetails, null);\n return c;\n } catch (Exception e) {\n Log.e(\"Error At\", \" \" + e);\n e.printStackTrace();\n // TODO: handle exception\n return null;\n }\n }",
"public Cursor getAllRowsMain() {\n String where = null;\n Cursor c = db.query(true, MAIN_TABLE_NAME, ALL_KEYS_MAIN,\n where, null, null, null, null, null);\n if (c != null) {\n c.moveToFirst();\n }\n return c;\n }",
"public abstract Statement queryToRetrieveData();",
"public void setResultCursor() {\r\n getParameterTypes().set(0, OUT_CURSOR); \r\n setIsCursorOutputProcedure(!hasOutputCursors());\r\n setIsMultipleCursorOutputProcedure(hasOutputCursors());\r\n }",
"public Iterator<Map<String, Object>> getQueryResult() {\n return queryResult;\n }",
"@Override\r\n\tpublic Map<String, Object> readAll() {\n\t\tsimpleJdbcCall = new SimpleJdbcCall(jdbcTemplate).withCatalogName(\"PKG_ESTADO_CIVIL\")\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t .withProcedureName(\"PR_LIS_ESTADO_CIVIL\")\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t .declareParameters(new SqlOutParameter(\"CUR_ESTADO_CIVIL\", OracleTypes.CURSOR,\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t new ColumnMapRowMapper()));\r\n\t\treturn simpleJdbcCall.execute();\r\n\t}",
"Data<List<Boards>> getSearchBoardsCursor(String query, String cursor, String fields);",
"public Cursor getAllData() {\n\n SQLiteDatabase db = this.getWritableDatabase();\n Cursor res = db.rawQuery(\"Select * from \" + TABLE_NAME, null);\n return res;\n }",
"public java.lang.String getCursor() {\n return cursor_;\n }",
"List<String[]> consumeQueryResult(ExecutionContext context, int startRow, int endRow) throws ExecutorException;",
"public Cursor getData()\n {\n /* We are using the rawQuery method to execute the SQLite Query we have made and return\n * the Data in the form of a Cursor. As for the Query itself SELECT specifies what Columns\n * we want to select in this case its everything (*)\n */\n return this.getWritableDatabase().rawQuery(\"SELECT * FROM \" + TABLE_NAME, null);\n }",
"public Cursor takeData(){\n return databaseR.query(taula_productes, new String[]{\n _id, CodiArticle, Desc, PVP, stock\n },\n null, null,\n null, null,_id);\n }",
"public Cursor getAll(){\n\n SQLiteDatabase db = this.getWritableDatabase();\n Cursor cursor;\n cursor = db.rawQuery(\"SELECT * from tweets\",null);\n return cursor;\n }",
"public void cursorOn();",
"public Cursor retrieve()\n {\n String[] columns={Constants.ROW_ID,Constants.FIRSTNAME,Constants.LASTNAME};\n Cursor c=null;\n c=db.query(Constants.TB_NAME,columns,null,null,null,null,null);\n return c;\n }",
"public Cursor queryTheCursorLocation() { \n\t Cursor c = db.rawQuery(\"SELECT * FROM \"+ DBEntryContract.LocationEntry.TABLE_NAME, null); \n\t return c; \n\t}",
"public Cursor getCursor(){\n return mCursor;\n }",
"List<String[]> retrieveQueryResult(ExecutionContext context, int startRow, int endRow) throws ExecutorException;",
"public Cursor getAllRows(){\n Cursor cursor = database.query(dbHelper.TABLE_USERS,allColumns,null,null,null,null,null);\n if (cursor != null){\n cursor.moveToNext();\n }\n return cursor;\n }",
"public DbIterator iterator() {\n // some code goes here\n ArrayList<Tuple> tuples = new ArrayList<Tuple>();\n for (Field key : m_aggregateData.keySet()) {\n \tTuple nextTuple = new Tuple(m_td);\n \tint recvValue;\n \t\n \tswitch (m_op) {\n \tcase MIN: case MAX: case SUM:\n \t\trecvValue = m_aggregateData.get(key);\n \t\tbreak;\n \tcase COUNT:\n \t\trecvValue = m_count.get(key);\n \t\tbreak;\n \tcase AVG:\n \t\trecvValue = m_aggregateData.get(key) / m_count.get(key);\n \t\tbreak;\n \tdefault:\n \t\trecvValue = setInitData(); // shouldn't reach here\n \t}\n \t\n \tField recvField = new IntField(recvValue);\n \tif (m_gbfield == NO_GROUPING) {\n \t\tnextTuple.setField(0, recvField);\n \t}\n \telse {\n \t\tnextTuple.setField(0, key);\n \t\tnextTuple.setField(1, recvField);\n \t}\n \ttuples.add(nextTuple);\n }\n return new TupleIterator(m_td, tuples);\n }",
"public ArrayList<Cursor> getData(String Query){\n //get writable database\n SQLiteDatabase sqlDB = this.getWritableDatabase();\n String[] columns = new String[] { \"mesage\" };\n //an array list of cursor to save two cursors one has results from the query\n //other cursor stores error message if any errors are triggered\n ArrayList<Cursor> alc = new ArrayList<Cursor>(2);\n MatrixCursor Cursor2= new MatrixCursor(columns);\n alc.add(null);\n alc.add(null);\n\n\n try{\n String maxQuery = Query ;\n //execute the query results will be save in Cursor c\n Cursor c = sqlDB.rawQuery(maxQuery, null);\n\n\n //add value to cursor2\n Cursor2.addRow(new Object[] { \"Success\" });\n\n alc.set(1,Cursor2);\n if (null != c && c.getCount() > 0) {\n\n\n alc.set(0,c);\n c.moveToFirst();\n\n return alc ;\n }\n return alc;\n } catch(SQLException sqlEx){\n Log.d(\"printing exception\", sqlEx.getMessage());\n //if any exceptions are triggered save the error message to cursor an return the arraylist\n Cursor2.addRow(new Object[] { \"\"+sqlEx.getMessage() });\n alc.set(1,Cursor2);\n return alc;\n } catch(Exception ex){\n\n Log.d(\"printing exception\", ex.getMessage());\n\n //if any exceptions are triggered save the error message to cursor an return the arraylist\n Cursor2.addRow(new Object[] { \"\"+ex.getMessage() });\n alc.set(1,Cursor2);\n return alc;\n }\n\n\n }",
"public Cursor fetchAll() {\n\t\tCursor cursor = db.query(CertificationConstants.DB_TABLE, CertificationConstants.fields(), null, null, null, null, null);\n\t\treturn cursor;\n\t}",
"@Override\n\tpublic List<Generator> getAll() {\n\n\t\tList<Generator> result = new ArrayList<>();\n\n\t\ttry (Connection c = context.getConnection(); \n\t\t\tStatement stmt = c.createStatement()) {\n\n\t\t\tResultSet rs = stmt.executeQuery(getAllQuery);\n\n\t\t\twhile (rs.next()) {\n \tGenerator generator = new Generator(\n \t\trs.getInt(1),\n \t\trs.getString(2),\n \t\trs.getString(3),\n \t\trs.getInt(4),\n \t\trs.getInt(5),\n \t\trs.getInt(6)\n \t);\n\t\t\t\tresult.add(generator);\n\t\t\t}\n\n\t\t} catch (SQLException e) {\n\t\t\te.printStackTrace();\n\t\t\treturn result;\n\t\t}\n\t\treturn result;\n\n\t}",
"public Cursor getData(){\n SQLiteDatabase db = this.getWritableDatabase();\n Cursor res = db.rawQuery(\"select * from \" + Table_name, null);\n return res;\n }",
"List fetchAll() throws AdaptorException ;",
"public void fetch(){ \n for(int i = 0; i < this.queries.size(); i++){\n fetch(i);\n }\n }",
"Row<K, C> execute();",
"@Override\n \tpublic List<?> execute() {\n \t\ttry {\n \t\t\n \t\t\treturn _jdbcTemplate.query(_sql, new RowMapper() {\n \t\t\t\tpublic Object mapRow(ResultSet rs, int rowNum) throws SQLException {\n \t\t\t\t\tint campaignId = rs.getInt(1);\n \t\t\t\t\tint groupId = rs.getInt(2);\n \t\t\t\t\tint count = rs.getInt(3);\n \t\t\t\t\treturn new CampaignPromptGroupItemCount(campaignId, groupId, count);\n \t\t\t\t}\n \t\t\t});\n \t\t\t\n \t\t} catch (org.springframework.dao.DataAccessException dae) {\n \t\t\t\n \t\t\t_logger.error(\"an exception occurred running the sql '\" + _sql + \"' \" + dae.getMessage());\n \t\t\tthrow new DataAccessException(dae);\n \t\t\t\n \t\t}\n \t}",
"@Override\n\tprotected List<?> processResult(ResultSet rs) throws SQLException {\n\t\tList<Book> aList=new ArrayList<Book>();\n\t\t\n\t\twhile(rs.next()){\n\t\t\tBook a=new Book ();\n\t\t\ta.setBookId(rs.getInt(\"bookId\"));\n\t\t\ta.setTitle(rs.getString(\"title\"));\n\t\t\t\n\t\t\taList.add(a);\n\t\t\t\n\t\t}\n\t\treturn aList;\n\t}",
"@Override\n public Iterator<T> iterator() {\n return new CLITableIterator<T>(createNew(tables, cursor, rowIndex));\n }",
"public Cursor getCursor() throws RelationException;",
"@Override\n\tpublic Map<String, Object> readAll() {\n\t\tsimpleJdbcCall = new SimpleJdbcCall(jdbcTemplate)\n\t\t\t\t.withCatalogName(\"PKG_ALM_CRUD_PRODUNIDADMED\")\n\t\t\t\t.withProcedureName(\"PA_MAT_PRODUNIDADMED_LIS\")\t\n\t\t\t\t.declareParameters(new SqlOutParameter(\"uni\", OracleTypes\n\t\t\t\t.CURSOR, new ColumnMapRowMapper()));\n\t\treturn simpleJdbcCall.execute();\n\t}",
"@Override\r\n protected Cursor doInBackground(Long... params)\r\n {\r\n databaseConnector.open();\r\n \r\n // get a cursor containing all data on given entry\r\n return databaseConnector.getOneContact(params[0]);\r\n }",
"public Collection<T> getResults();",
"public ResultSet execute(FarragoSessionRuntimeContext runtimeContext)\n {\n try {\n runtimeContext.setStatementClassLoader(stmtClassLoader);\n\n if (xmiFennelPlan != null) {\n runtimeContext.loadFennelPlan(xmiFennelPlan);\n }\n\n // NOTE jvs 1-May-2004: This sequence is subtle. We can't open all\n // Fennel tuple streams yet, since some may take Java streams as\n // input, and the Java streams are created by stmtMethod.invoke\n // below (which calls the generated execute stmtMethod to obtain an\n // iterator). This means that the generated execute must NOT try to\n // prefetch any data, since the Fennel streams aren't open yet. In\n // particular, Java iterator implementations must not do prefetch in\n // the constructor (always wait for hasNext/next).\n TupleIter iter =\n (TupleIter) stmtMethod.invoke(\n null,\n new Object[] { runtimeContext });\n\n FarragoTupleIterResultSet resultSet =\n new FarragoTupleIterResultSet(\n iter,\n rowClass,\n rowType,\n fieldOrigins,\n runtimeContext,\n null);\n\n // instantiate and initialize all generated FarragoTransforms.\n for (FarragoTransformDef tdef : transformDefs) {\n tdef.init(runtimeContext);\n }\n\n if (xmiFennelPlan != null) {\n // Finally, it's safe to open all streams.\n runtimeContext.openStreams();\n }\n\n runtimeContext = null;\n resultSet.setOpened();\n\n return resultSet;\n } catch (IllegalAccessException e) {\n throw Util.newInternal(e);\n } catch (InvocationTargetException e) {\n throw Util.newInternal(e);\n } finally {\n if (runtimeContext != null) {\n runtimeContext.closeAllocation();\n }\n }\n }",
"@Override\n public void emitTuples() {\n\n Statement query = queryToRetrieveData();\n logger.debug(String.format(\"select statement: %s\", query.toString()));\n RecordSet rs;\n try {\n rs = store.getClient().query(null, query);\n while(rs.next()){\n Record rec = rs.getRecord();\n T tuple = getTuple(rec);\n outputPort.emit(tuple);\n }\n }\n catch (Exception ex) {\n store.disconnect();\n DTThrowable.rethrow(ex);\n }\n }",
"public List selectAll() {\n\t\tList values = new ArrayList();\n\t\topen();\n\t\tCursor c = queryDB();\n\n\t\tif (c.moveToFirst()) {\n\t\t\tdo {\n\t\t\t//\tvalues.add(hydrateNewObject(c));\n\t\t\t} while (c.moveToNext());\n\t\t}\n\t\t\n\t\tc.close();\n\t\tclose();\n\t\t\n\t\treturn values;\n\t}",
"public Cursor fetchAllEntries() {\n /*\n return database.query(\n DATABASE_TABLE, \n new String[] { ROWID, MAC_ADDRESS, LATITUDE, LONGITUDE, FREQUENCY, SIGNAL}, \n null,\n null, \n null,\n null, \n null);\n */\n \n // sql must NOT be ';' terminated\n String sql = \"SELECT \"+ ROWID + \", \" + MAC_ADDRESS + \", \" + LATITUDE + \", \" + LONGITUDE + \", \" \n + NETWORK_NAME + \", \" + CAPABILITIES + \", \" + FREQUENCY + \", \" + SIGNAL\n + \" FROM \" + DATABASE_TABLE;\n return database.rawQuery(sql, null);\n }",
"public Cursor fetchAll() {\n\t\tCursor cursor = db.query(UserConstants.DB_TABLE, UserConstants.fields(), null, null, null, null, null);\n\t\treturn cursor;\n\t}",
"public interface LocalResultSet {\n\n public boolean next();\n public int getInt(String fldname);\n public String getString(String fldname);\n public LocalMetaData getMetaData();\n public void close();\n}",
"@Override\n\tpublic Row next(){\n\t\treturn res;\n\t}",
"private ArrayList<HashMap<String, String>> processRetrieve() {\n //Transform and Return Rows to a List of HashMaps\n try {\n if (rs == null) {\n System.out.println(\"rs is null\");\n } else {\n return rsToMaps();\n }\n } catch (SQLException ex) {\n throw new RuntimeException(ex);\n }\n return null;\n }",
"public Cursor getQueryResult(String MY_QUERY) throws SQLException\n {\n return db.rawQuery(MY_QUERY, null);\n }",
"public Cursor fetchAllEntries() {\n return mDb.query(DATABASE_TABLE, null, null, null, null, null, null);\n }",
"@Override\n public void execute() {\n modelFacade.getFoodItems().addAll(modelFacade.fetchMatchingFoodItemResults(sb.toString()));\n }",
"public ResultSet executeSQL() {\t\t\n\t\tif (rs != null) {\n\t\t\ttry {\n\t\t\t\trs.close();\n\t\t\t} catch(SQLException se) {\n\t\t\t} finally {\n\t\t\t\trs = null;\n\t\t\t}\n\t\t}\n\t\ttry {\n\t\t\trs = pstmt.executeQuery();\n\t\t} catch (SQLException se) {\n\t\t\tse.printStackTrace();\n\t\t}\n\t\treturn rs;\n\t}",
"public Cursor getAll()\r\n {\r\n \treturn mDb.query(DB_TABLE_NAME, new String[] {\"_id\",\"fundId\", \"moneyPaid\", \"currentValue\", \"units\", \"simpleReturn\"}, null, null, null, null, null);\r\n }",
"public List<Record>getRecords(){\n List<Record>recordList=new ArrayList<>();\n RecordCursorWrapper currsorWrapper=queryRecords(null,null);\n try{\n currsorWrapper.moveToFirst();\n while(!currsorWrapper.isAfterLast()){\n recordList.add(currsorWrapper.getRecord());\n currsorWrapper.moveToNext();\n }\n }finally {\n currsorWrapper.close();\n }\n return recordList;\n }",
"public List<T> selectAll() {\n Logger logger = getLogger();\n List<T> objectList = new ArrayList<>();\n try (Connection connection = getConnection();\n PreparedStatement preparedStatement = connection.prepareStatement(getSelectAll())) {\n\n logger.info(\"Executing statement: \" + preparedStatement);\n ResultSet rs = preparedStatement.executeQuery();\n\n while (rs.next()) {\n T object = setObjectParams(rs);\n setObjectId(rs, object);\n objectList.add(object);\n }\n } catch (SQLException e) {\n logger.error(e.getMessage());\n }\n logger.info(\"Select all: success\");\n return objectList;\n }",
"public RowDataCursor(MysqlIO ioChannel, ServerPreparedStatement creatingStatement, Field[] metadata) {\n/* 112 */ this.currentPositionInEntireResult = -1;\n/* 113 */ this.metadata = metadata;\n/* 114 */ this.mysql = ioChannel;\n/* 115 */ this.statementIdOnServer = creatingStatement.getServerStatementId();\n/* 116 */ this.prepStmt = creatingStatement;\n/* 117 */ this.useBufferRowExplicit = MysqlIO.useBufferRowExplicit(this.metadata);\n/* */ }",
"@Override\n public IDataCursor getCursor() {\n return new CaseInsensitiveElementListIDataCursor();\n }",
"public WeightedPoint getCursor()\n {\n return cursor;\n }",
"public Cursor getData(){\n SQLiteDatabase db = this.getWritableDatabase();\n String query= \"SELECT * FROM credit_table\";\n Cursor data = db.rawQuery(query,null);\n return data;\n }",
"public Cursor getData (){\n SQLiteDatabase database = getReadableDatabase();\n String sql = \"SELECT * FROM \" + TABLE_NAME + \"\";\n return database.rawQuery(sql,null);\n }",
"public Cursor getAllFromTable(String tableName) {\n SQLiteDatabase db = dbHelper.getDatabase();\n db.beginTransaction();\n Cursor cursor = db.query(tableName, getProjection(tableName), null, null, null, null, null);\n db.endTransaction();\n return cursor;\n }",
"@Override\n public Object doInCallableStatement(CallableStatement cs) throws SQLException, DataAccessException {\n cs.execute();\n\n //result.add(cs.getString(9));\n //result.add(cs.getString(10));\n return null;\n }",
"@Override\n public CommandResultList getResultList() {\n return cresultList;\n }",
"@Override\n public Collection<Curso> getAll() {\n Collection<Curso> retValue = new ArrayList();\n\n Connection c = null;\n PreparedStatement pstmt = null;\n ResultSet rs = null;\n\n try {\n c = DBUtils.getConnection();\n pstmt = c.prepareStatement(\"SELECT c.idcurso, c.idprofesor, p.nombre as nombreprofesor,p.apellido as apellido, c.nombrecurso, c.claveprofesor,\\n\" +\n\" c.clavealumno from curso c, persona p\\n\" +\n\"where c.idprofesor = p.id\");\n \n\n rs = pstmt.executeQuery();\n\n while (rs.next()) {\n String nombre=\"\\\"\"+rs.getString(\"nombreprofesor\")+\" \"+rs.getString(\"apellido\")+\"\\\"\";\n retValue.add(new Curso(rs.getInt(\"idcurso\"), rs.getString(\"nombrecurso\"), rs.getInt(\"idprofesor\"), nombre,rs.getString(\"claveprofesor\"), rs.getString(\"clavealumno\")));\n }\n\n } catch (Exception e) {\n e.printStackTrace();\n } finally {\n try {\n if (rs != null) {\n rs.close();\n }\n if (pstmt != null) {\n pstmt.close();\n }\n DBUtils.closeConnection(c);\n } catch (SQLException ex) {\n Logger.getLogger(JdbcCursoRepository.class.getName()).log(Level.SEVERE, null, ex);\n }\n }\n return retValue;\n }",
"public ListIterator<T> getAllByRowsIterator() {\n\t\tAllByRowsIterator it = new AllByRowsIterator();\n\t\treturn it;\n\t}",
"public ResultSet getResults() {\r\n return resultSet;\r\n }",
"@Override\n public ArrayList<Course> getAll() {\n ArrayList<Course> allCourses = new ArrayList();\n String statement = FINDALL;\n ResultSet rs = data.makeStatement(statement);\n try {\n while(rs.next()){\n Course course = new Course(rs.getInt(\"id\"),rs.getString(\"title\"),rs.getString(\"stream\"),\n rs.getString(\"type\"),rs.getDate(\"start_date\").toLocalDate(),rs.getDate(\"end_date\").toLocalDate());\n allCourses.add(course);\n }\n } catch (SQLException ex) {\n System.out.println(\"Problem with CourseDao.getAll()\");\n }\n finally{\n data.closeConnections(rs,data.statement,data.conn);\n }\n return allCourses;\n }",
"public com.google.protobuf.ByteString\n getCursorBytes() {\n return instance.getCursorBytes();\n }",
"protected List<? extends DomainObject> findMany( StatementSource stmt )\n\t{\n\t\tList<DomainObject> objects = null;\n\t\tSQLiteDatabase db;\n\t\tCursor c = null;\n\t\ttry {\n\t\t\tUtils.Log( \"opening the database for read.\" );\n\t\t\tdb = Repository.getInstance( mContext ).getReadableDatabase();\n\t\t\tc = db.rawQuery( stmt.sql(), stmt.parameters() );\n\t\t\tif ( c != null ) {\n\t\t\t\tobjects = loadAll( c );\n\t\t\t}\n\t\t} catch ( SQLiteException e ) {\n\t\t\te.printStackTrace();\n\t\t} finally {\n\t\t\tif ( c != null ) {\n\t\t\t\tc.close();\n\t\t\t}\n\t\t}\n\n /*List<DomainObject> result = null;\n\t\tif ( objects != null ) {\n\t\t\tresult = Collections.unmodifiableList( objects );\n\t\t}*/\n\t\treturn objects;\n\t}",
"public int execute() throws LuaException\n {\n ResultSet rs = (ResultSet) L.getObjectFromUserdata(2);\n \n L.pushJavaObject(new LuaSQLCursor(L, rs));\n \n return 1;\n }",
"public ResultSet getRecords() throws SQLException{\n Statement stmt = getConnection().createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,\n ResultSet.CONCUR_UPDATABLE);\n String sqlGet = \"SELECT * FROM myStudents\";\n stmt.executeQuery(sqlGet);\n ResultSet rs = stmt.getResultSet();\n return rs;\n }"
]
| [
"0.7362013",
"0.6902655",
"0.68095016",
"0.62468207",
"0.62256175",
"0.61511004",
"0.6142066",
"0.61339706",
"0.6121274",
"0.60875916",
"0.6025476",
"0.5994897",
"0.5987918",
"0.5893273",
"0.58294976",
"0.58252376",
"0.5809135",
"0.5793679",
"0.575489",
"0.57527757",
"0.5725031",
"0.5709019",
"0.56783926",
"0.5665862",
"0.5663092",
"0.5637122",
"0.56267744",
"0.5626209",
"0.56141245",
"0.56053984",
"0.5600049",
"0.55932665",
"0.55848384",
"0.55672973",
"0.55670726",
"0.55617183",
"0.55580795",
"0.5543871",
"0.5543119",
"0.5536861",
"0.55309975",
"0.5528994",
"0.5487392",
"0.54831517",
"0.54788303",
"0.547262",
"0.546922",
"0.5465843",
"0.5456704",
"0.5442788",
"0.5434938",
"0.54293466",
"0.5427418",
"0.5422677",
"0.5399093",
"0.5396831",
"0.5396638",
"0.5394637",
"0.53926295",
"0.53846806",
"0.53710437",
"0.5370523",
"0.5370435",
"0.5366804",
"0.5364212",
"0.53610265",
"0.53580004",
"0.5355172",
"0.5352539",
"0.5350655",
"0.5347231",
"0.534237",
"0.53400517",
"0.53386855",
"0.53366184",
"0.53272307",
"0.5326163",
"0.53178024",
"0.53149974",
"0.5309292",
"0.53092706",
"0.530352",
"0.5284258",
"0.5278815",
"0.52778774",
"0.52751154",
"0.52728754",
"0.5271626",
"0.5269893",
"0.5253205",
"0.52510387",
"0.5247444",
"0.5247142",
"0.52454793",
"0.52442974",
"0.52347636",
"0.5231838",
"0.5226294",
"0.5224664",
"0.5219517",
"0.521696"
]
| 0.0 | -1 |
Gets an operation whose execution explains this operation. | public ReadOperation<BsonDocument> asExplainableOperation(final ExplainVerbosity explainVerbosity) {
return createExplainableOperation(explainVerbosity);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"Operation getOperation();",
"public Operation getOperation();",
"String getOperation();",
"String getOperation();",
"public String getOperation();",
"public Operation getOperation() {\n return operation;\n }",
"public Operation getOperation() {\n return this.operation;\n }",
"public OperationResultInfoBase operation() {\n return this.operation;\n }",
"public String getOperation () {\n return operation;\n }",
"public String getOperation () {\n return operation;\n }",
"public final TestOperation getOperation()\n\t{\n\t\treturn operation_;\n\t}",
"public String getOperation() {\n return operation;\n }",
"public String getOperation() {\n return operation;\n }",
"public String getOperation() {\n return this.operation;\n }",
"public String getOperation() {return operation;}",
"public Operation operation() {\n return Operation.fromSwig(alert.getOp());\n }",
"String getOp();",
"String getOp();",
"String getOp();",
"public String getOperation() {\n\t\treturn operation;\n\t}",
"public String getOperation() {\r\n\t\treturn operation;\r\n\t}",
"public EAdOperation getOperation() {\r\n\t\treturn operation;\r\n\t}",
"public String getOperation() {\n\t\t\treturn operation;\n\t\t}",
"public com.clarifai.grpc.api.Operation getOperation() {\n if (operationBuilder_ == null) {\n return operation_ == null ? com.clarifai.grpc.api.Operation.getDefaultInstance() : operation_;\n } else {\n return operationBuilder_.getMessage();\n }\n }",
"public java.lang.CharSequence getOperation() {\n return operation;\n }",
"public java.lang.CharSequence getOperation() {\n return operation;\n }",
"Operator.Type getOperation();",
"public java.lang.CharSequence getOperation() {\n return Operation;\n }",
"public java.lang.CharSequence getOperation() {\n return Operation;\n }",
"public SegmentaoOperacao getOperation() {\r\n\t\treturn operation;\r\n\t}",
"@Override\n\tpublic String operation() {\n\t\treturn adaptee.specificOperation();\n\t}",
"public OperationType getOperation() {\r\n return operation;\r\n }",
"public OperationType getOperation() {\r\n return operation;\r\n }",
"@java.lang.Override\n public com.clarifai.grpc.api.Operation getOperation() {\n return operation_ == null ? com.clarifai.grpc.api.Operation.getDefaultInstance() : operation_;\n }",
"public Operator getOp() {\n return op;\n }",
"public String getOperationDesc() {\r\n return operationDesc;\r\n }",
"public String getOp() {\n return op;\n }",
"public String getOp() {\n return op;\n }",
"String getForOperationId();",
"public Invocation getInvocation() {\n if(getIdentifier().startsWith(\"static\")) {\n return Invocation.STATIC_OPERATION;\n }\n \n if(getOperation().equals(\"new\")) {\n return Invocation.CLASS_CONSTRUCTOR;\n }\n \n return Invocation.INSTANCE_OPERATION;\n }",
"public keys getOperation() {\r\n return this.operation;\r\n }",
"public String getOperationId() {\n return this.operationId;\n }",
"abstract String getOp();",
"org.jetbrains.kotlin.backend.common.serialization.proto.IrOperation getOperation();",
"@Override\n public String toString() {\n return op.toString();\n }",
"public org.xmlsoap.schemas.wsdl.http.OperationType getOperation()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.xmlsoap.schemas.wsdl.http.OperationType target = null;\n target = (org.xmlsoap.schemas.wsdl.http.OperationType)get_store().find_element_user(OPERATION$0, 0);\n if (target == null)\n {\n return null;\n }\n return target;\n }\n }",
"public static String operationDef()\n {\n read_if_needed_();\n \n return _oper_def;\n }",
"public OperationInfo getOperation(String name)\n {\n return (OperationInfo) nameToOperation.get(name);\n }",
"public java.lang.String getOperationName(){\n return localOperationName;\n }",
"@JsonProperty(\"operation\")\n public String getOperation() {\n return operation;\n }",
"public int getOp() {\n\t\treturn op;\n\t}",
"public RelationalOp getOp() {\n\t\treturn op;\n\t}",
"public java.lang.CharSequence getSuboperation() {\n return suboperation;\n }",
"public com.clarifai.grpc.api.OperationOrBuilder getOperationOrBuilder() {\n if (operationBuilder_ != null) {\n return operationBuilder_.getMessageOrBuilder();\n } else {\n return operation_ == null ?\n com.clarifai.grpc.api.Operation.getDefaultInstance() : operation_;\n }\n }",
"public java.lang.CharSequence getSuboperation() {\n return suboperation;\n }",
"java.lang.String getOperationId();",
"public WSIFOperationInfo getOperation(String operationName) {\n return (WSIFOperationInfo) operationMap.get(operationName);\n }",
"public Integer getOperationId() {\n return operationId;\n }",
"@Override\r\n\tpublic String toString()\r\n\t{\r\n\t\treturn rootOperation.toString();\r\n\t}",
"public Optional<String> getOperationId() {\n return operationId;\n }",
"public WSIFOperationInfo getOperation(QName operationName) {\n if (operationName == null) {\n // lets try a default operation\n return defaultOperation;\n }\n return (WSIFOperationInfo) operationMap.get(operationName);\n }",
"public String getOperation() {\n if(isConstructor()) {\n return \"new\";\n }\n return getName();\n }",
"OperationNode getNode();",
"com.learning.learning.grpc.ManagerOperationRequest.Operations getOperation();",
"public String getOper() {\n return oper;\n }",
"public interface OperationInterface {\n /**\n * performs an operation\n */\n String toString();\n}",
"public APIOperation getAPIOperation()\n {\n return apiOperation;\n }",
"public String getOperationID() {\n\t\treturn operationId;\n\t}",
"OperationIdT getOperationId();",
"@Override\n public Object getOperationResult() {\n return this;\n }",
"public Operator operator() {\n\treturn this.op;\n }",
"public interface Operation {\n\n /**\n * Obtain the operation id.\n * \n * @return The operation id <code>String</code>.\n */\n public String getId();\n}",
"public Operator getOperator()\n {\n return operator;\n }",
"Operation createOperation();",
"Operation createOperation();",
"int getOperationValue();",
"public String getOpName()\n {\n return opName;\n }",
"@Override\n protected String operation() {\n Preconditions.checkNotNull(snapshotOperation, \"[BUG] Detected uninitialized operation\");\n return snapshotOperation;\n }",
"public static String getOpResult (){\n \treturn opResult;\n }",
"@Override\n\t/**\n\t * @return commandName\n\t */\n\tpublic String getOperationName() {\n\t\treturn commandName;\n\t}",
"public String getOperationContext() {\n return this.operationContext;\n }",
"public String getOperationContext() {\n return this.operationContext;\n }",
"public com.clarifai.grpc.api.Operation.Builder getOperationBuilder() {\n \n onChanged();\n return getOperationFieldBuilder().getBuilder();\n }",
"public Operator getOperator() {\n return this.operator;\n }",
"public final Operator operator() {\n return operator;\n }",
"public String getLastOperation()\n {\n if (!getCvpOperation().isNull())\n {\n com.sybase.afx.json.JsonObject cvpOperation = (com.sybase.afx.json.JsonObject)(com.sybase.afx.json.JsonReader.parse(__cvpOperation.getValue()));\n return (String)cvpOperation.get(\"cvp_name\");\n }\n if (getPendingChange() == 'C')\n {\n }\n else if (getPendingChange() == 'D')\n {\n }\n else if (getPendingChange() == 'U')\n {\n }\n return null;\n }",
"public java.util.List<OperationSummary> getOperations() {\n if (operations == null) {\n operations = new com.amazonaws.internal.SdkInternalList<OperationSummary>();\n }\n return operations;\n }",
"public String getPerformanceAnalysisRetrieveActionTaskReference() {\n return performanceAnalysisRetrieveActionTaskReference;\n }",
"public String getOperateLogic() {\n return this.OperateLogic;\n }",
"OperationCallExp createOperationCallExp();",
"public java.lang.String getEXECUTION()\n {\n \n return __EXECUTION;\n }",
"public com.sybase.persistence.BigString getCvpOperation()\n {\n \n if(__cvpOperation==null)\n {\n \t__cvpOperation = new com.sybase.persistence.internal.BigStringImpl(this, \"cvpOperation\");\n }\n return __cvpOperation;\n }",
"public Operation getLastOp() {\n\t\treturn ops.get(ops.size() - 1);\n\t}",
"@java.lang.Override\n public com.clarifai.grpc.api.OperationOrBuilder getOperationOrBuilder() {\n return getOperation();\n }",
"public String getOperationalTermRetrieveActionTaskReference() {\n return operationalTermRetrieveActionTaskReference;\n }",
"public Long getOpId() {\n return opId;\n }",
"public Long getOpId() {\n return opId;\n }",
"public Long getOpId() {\n return opId;\n }",
"public Long getOpId() {\n return opId;\n }",
"public @Nullable Op getOp(int address) {\n return getTemplateNode(address).getOp();\n }",
"public ShareOperateParm getOperateMsg() {\n\t\treturn operateMsg;\n\t}"
]
| [
"0.79211277",
"0.7895901",
"0.75331277",
"0.75331277",
"0.7497722",
"0.7435145",
"0.74027324",
"0.7161062",
"0.7150041",
"0.7150041",
"0.7099252",
"0.70714265",
"0.70714265",
"0.70577407",
"0.7017857",
"0.6987926",
"0.69594264",
"0.69594264",
"0.69594264",
"0.6949327",
"0.69488597",
"0.69237584",
"0.6910187",
"0.68819344",
"0.6881585",
"0.68766475",
"0.687107",
"0.6744481",
"0.67402464",
"0.66963005",
"0.6595107",
"0.65780073",
"0.65780073",
"0.65254223",
"0.6489562",
"0.6484862",
"0.6441152",
"0.6441152",
"0.6440952",
"0.63917655",
"0.63133883",
"0.6287905",
"0.627921",
"0.6273499",
"0.6240309",
"0.62376124",
"0.6223318",
"0.61956155",
"0.6188517",
"0.6187522",
"0.6177816",
"0.61722654",
"0.61241066",
"0.60996133",
"0.6086747",
"0.6075967",
"0.60744613",
"0.6058606",
"0.6043356",
"0.6041558",
"0.59741217",
"0.5956392",
"0.59534436",
"0.5953434",
"0.59524155",
"0.5929667",
"0.59265417",
"0.5922194",
"0.5894355",
"0.58763105",
"0.5867789",
"0.5848162",
"0.58423686",
"0.5837298",
"0.5837298",
"0.58011967",
"0.5779703",
"0.5779621",
"0.57791525",
"0.5771675",
"0.5771463",
"0.5771463",
"0.5765511",
"0.5740526",
"0.573186",
"0.57244104",
"0.57210433",
"0.56861246",
"0.56548727",
"0.5653197",
"0.56517303",
"0.56427383",
"0.5642101",
"0.5635931",
"0.56336665",
"0.56319696",
"0.56319696",
"0.56319696",
"0.56319696",
"0.5619138",
"0.5607984"
]
| 0.0 | -1 |
Gets an operation whose execution explains this operation. | public AsyncReadOperation<BsonDocument> asExplainableOperationAsync(final ExplainVerbosity explainVerbosity) {
return createExplainableOperation(explainVerbosity);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"Operation getOperation();",
"public Operation getOperation();",
"String getOperation();",
"String getOperation();",
"public String getOperation();",
"public Operation getOperation() {\n return operation;\n }",
"public Operation getOperation() {\n return this.operation;\n }",
"public OperationResultInfoBase operation() {\n return this.operation;\n }",
"public String getOperation () {\n return operation;\n }",
"public String getOperation () {\n return operation;\n }",
"public final TestOperation getOperation()\n\t{\n\t\treturn operation_;\n\t}",
"public String getOperation() {\n return operation;\n }",
"public String getOperation() {\n return operation;\n }",
"public String getOperation() {\n return this.operation;\n }",
"public String getOperation() {return operation;}",
"public Operation operation() {\n return Operation.fromSwig(alert.getOp());\n }",
"String getOp();",
"String getOp();",
"String getOp();",
"public String getOperation() {\n\t\treturn operation;\n\t}",
"public String getOperation() {\r\n\t\treturn operation;\r\n\t}",
"public EAdOperation getOperation() {\r\n\t\treturn operation;\r\n\t}",
"public String getOperation() {\n\t\t\treturn operation;\n\t\t}",
"public com.clarifai.grpc.api.Operation getOperation() {\n if (operationBuilder_ == null) {\n return operation_ == null ? com.clarifai.grpc.api.Operation.getDefaultInstance() : operation_;\n } else {\n return operationBuilder_.getMessage();\n }\n }",
"public java.lang.CharSequence getOperation() {\n return operation;\n }",
"public java.lang.CharSequence getOperation() {\n return operation;\n }",
"Operator.Type getOperation();",
"public java.lang.CharSequence getOperation() {\n return Operation;\n }",
"public java.lang.CharSequence getOperation() {\n return Operation;\n }",
"public SegmentaoOperacao getOperation() {\r\n\t\treturn operation;\r\n\t}",
"@Override\n\tpublic String operation() {\n\t\treturn adaptee.specificOperation();\n\t}",
"public OperationType getOperation() {\r\n return operation;\r\n }",
"public OperationType getOperation() {\r\n return operation;\r\n }",
"@java.lang.Override\n public com.clarifai.grpc.api.Operation getOperation() {\n return operation_ == null ? com.clarifai.grpc.api.Operation.getDefaultInstance() : operation_;\n }",
"public Operator getOp() {\n return op;\n }",
"public String getOperationDesc() {\r\n return operationDesc;\r\n }",
"String getForOperationId();",
"public String getOp() {\n return op;\n }",
"public String getOp() {\n return op;\n }",
"public Invocation getInvocation() {\n if(getIdentifier().startsWith(\"static\")) {\n return Invocation.STATIC_OPERATION;\n }\n \n if(getOperation().equals(\"new\")) {\n return Invocation.CLASS_CONSTRUCTOR;\n }\n \n return Invocation.INSTANCE_OPERATION;\n }",
"public keys getOperation() {\r\n return this.operation;\r\n }",
"public String getOperationId() {\n return this.operationId;\n }",
"abstract String getOp();",
"org.jetbrains.kotlin.backend.common.serialization.proto.IrOperation getOperation();",
"@Override\n public String toString() {\n return op.toString();\n }",
"public org.xmlsoap.schemas.wsdl.http.OperationType getOperation()\n {\n synchronized (monitor())\n {\n check_orphaned();\n org.xmlsoap.schemas.wsdl.http.OperationType target = null;\n target = (org.xmlsoap.schemas.wsdl.http.OperationType)get_store().find_element_user(OPERATION$0, 0);\n if (target == null)\n {\n return null;\n }\n return target;\n }\n }",
"public static String operationDef()\n {\n read_if_needed_();\n \n return _oper_def;\n }",
"public OperationInfo getOperation(String name)\n {\n return (OperationInfo) nameToOperation.get(name);\n }",
"@JsonProperty(\"operation\")\n public String getOperation() {\n return operation;\n }",
"public java.lang.String getOperationName(){\n return localOperationName;\n }",
"public int getOp() {\n\t\treturn op;\n\t}",
"public RelationalOp getOp() {\n\t\treturn op;\n\t}",
"public java.lang.CharSequence getSuboperation() {\n return suboperation;\n }",
"public com.clarifai.grpc.api.OperationOrBuilder getOperationOrBuilder() {\n if (operationBuilder_ != null) {\n return operationBuilder_.getMessageOrBuilder();\n } else {\n return operation_ == null ?\n com.clarifai.grpc.api.Operation.getDefaultInstance() : operation_;\n }\n }",
"public java.lang.CharSequence getSuboperation() {\n return suboperation;\n }",
"java.lang.String getOperationId();",
"public WSIFOperationInfo getOperation(String operationName) {\n return (WSIFOperationInfo) operationMap.get(operationName);\n }",
"public Integer getOperationId() {\n return operationId;\n }",
"@Override\r\n\tpublic String toString()\r\n\t{\r\n\t\treturn rootOperation.toString();\r\n\t}",
"public Optional<String> getOperationId() {\n return operationId;\n }",
"public WSIFOperationInfo getOperation(QName operationName) {\n if (operationName == null) {\n // lets try a default operation\n return defaultOperation;\n }\n return (WSIFOperationInfo) operationMap.get(operationName);\n }",
"public String getOperation() {\n if(isConstructor()) {\n return \"new\";\n }\n return getName();\n }",
"com.learning.learning.grpc.ManagerOperationRequest.Operations getOperation();",
"OperationNode getNode();",
"public String getOper() {\n return oper;\n }",
"public interface OperationInterface {\n /**\n * performs an operation\n */\n String toString();\n}",
"public APIOperation getAPIOperation()\n {\n return apiOperation;\n }",
"public String getOperationID() {\n\t\treturn operationId;\n\t}",
"OperationIdT getOperationId();",
"@Override\n public Object getOperationResult() {\n return this;\n }",
"public Operator operator() {\n\treturn this.op;\n }",
"public interface Operation {\n\n /**\n * Obtain the operation id.\n * \n * @return The operation id <code>String</code>.\n */\n public String getId();\n}",
"public Operator getOperator()\n {\n return operator;\n }",
"Operation createOperation();",
"Operation createOperation();",
"int getOperationValue();",
"@Override\n protected String operation() {\n Preconditions.checkNotNull(snapshotOperation, \"[BUG] Detected uninitialized operation\");\n return snapshotOperation;\n }",
"public static String getOpResult (){\n \treturn opResult;\n }",
"public String getOpName()\n {\n return opName;\n }",
"public String getOperationContext() {\n return this.operationContext;\n }",
"public String getOperationContext() {\n return this.operationContext;\n }",
"@Override\n\t/**\n\t * @return commandName\n\t */\n\tpublic String getOperationName() {\n\t\treturn commandName;\n\t}",
"public com.clarifai.grpc.api.Operation.Builder getOperationBuilder() {\n \n onChanged();\n return getOperationFieldBuilder().getBuilder();\n }",
"public Operator getOperator() {\n return this.operator;\n }",
"public final Operator operator() {\n return operator;\n }",
"public String getLastOperation()\n {\n if (!getCvpOperation().isNull())\n {\n com.sybase.afx.json.JsonObject cvpOperation = (com.sybase.afx.json.JsonObject)(com.sybase.afx.json.JsonReader.parse(__cvpOperation.getValue()));\n return (String)cvpOperation.get(\"cvp_name\");\n }\n if (getPendingChange() == 'C')\n {\n }\n else if (getPendingChange() == 'D')\n {\n }\n else if (getPendingChange() == 'U')\n {\n }\n return null;\n }",
"public java.util.List<OperationSummary> getOperations() {\n if (operations == null) {\n operations = new com.amazonaws.internal.SdkInternalList<OperationSummary>();\n }\n return operations;\n }",
"public String getPerformanceAnalysisRetrieveActionTaskReference() {\n return performanceAnalysisRetrieveActionTaskReference;\n }",
"public String getOperateLogic() {\n return this.OperateLogic;\n }",
"OperationCallExp createOperationCallExp();",
"public java.lang.String getEXECUTION()\n {\n \n return __EXECUTION;\n }",
"public com.sybase.persistence.BigString getCvpOperation()\n {\n \n if(__cvpOperation==null)\n {\n \t__cvpOperation = new com.sybase.persistence.internal.BigStringImpl(this, \"cvpOperation\");\n }\n return __cvpOperation;\n }",
"public Operation getLastOp() {\n\t\treturn ops.get(ops.size() - 1);\n\t}",
"@java.lang.Override\n public com.clarifai.grpc.api.OperationOrBuilder getOperationOrBuilder() {\n return getOperation();\n }",
"public String getOperationalTermRetrieveActionTaskReference() {\n return operationalTermRetrieveActionTaskReference;\n }",
"public Long getOpId() {\n return opId;\n }",
"public Long getOpId() {\n return opId;\n }",
"public Long getOpId() {\n return opId;\n }",
"public Long getOpId() {\n return opId;\n }",
"public @Nullable Op getOp(int address) {\n return getTemplateNode(address).getOp();\n }",
"public ShareOperateParm getOperateMsg() {\n\t\treturn operateMsg;\n\t}"
]
| [
"0.791926",
"0.789395",
"0.75320816",
"0.75320816",
"0.74967283",
"0.74345404",
"0.74022686",
"0.7161047",
"0.7149821",
"0.7149821",
"0.70985705",
"0.7071291",
"0.7071291",
"0.7057736",
"0.7017639",
"0.6987876",
"0.6957167",
"0.6957167",
"0.6957167",
"0.69493556",
"0.6948805",
"0.6923325",
"0.69101816",
"0.68816787",
"0.6881615",
"0.68766236",
"0.68681735",
"0.6744337",
"0.67400795",
"0.66956717",
"0.65948886",
"0.6576903",
"0.6576903",
"0.6524576",
"0.6487448",
"0.6486198",
"0.6440788",
"0.6439698",
"0.6439698",
"0.6389445",
"0.63124746",
"0.6287741",
"0.62775",
"0.6272278",
"0.6239054",
"0.6235695",
"0.62227154",
"0.61934274",
"0.6188484",
"0.6187192",
"0.6176242",
"0.61699593",
"0.61241275",
"0.6099624",
"0.6086728",
"0.6075896",
"0.6074021",
"0.6058182",
"0.604284",
"0.60419554",
"0.5973702",
"0.59564435",
"0.5951471",
"0.59509265",
"0.59502727",
"0.5929188",
"0.59248465",
"0.5922092",
"0.58933824",
"0.58752894",
"0.58660465",
"0.58466035",
"0.58406144",
"0.583567",
"0.583567",
"0.58003813",
"0.5780059",
"0.57784337",
"0.57775044",
"0.5771306",
"0.5771306",
"0.577051",
"0.5764221",
"0.573879",
"0.5730057",
"0.5724963",
"0.5720112",
"0.56861466",
"0.5653117",
"0.565228",
"0.5651068",
"0.5642608",
"0.5639795",
"0.56352156",
"0.5633309",
"0.5630327",
"0.5630327",
"0.5630327",
"0.5630327",
"0.5617531",
"0.5608458"
]
| 0.0 | -1 |
Creates new form VentanaInstructores | public VentanaRegistroInstructor() {
initComponents();
control inicio = new control (this);
inicio.inicializarVentana(this, "src/imagenes/instructor.png");
control iniciar = new control (cancelar,agregar,turnoCombo,cedulaTxt,nombreApellidoTxt,telfTxt,direccionTxt,sueldoTxt,rutinaTxt,nutricionTxt,areaTxt);
iniciar.activa_Desactiva_Agregar_Cancelar_Atras(true);
registro = inicio.devolverEmpresa();
iniciar.llenarComboTurno();
iniciar.llenarComboRutina();
jLabel12.setVisible(false);
jLabel13.setVisible(false);
jLabel14.setVisible(false);
jLabel15.setVisible(false);
jLabel17.setVisible(false);
jLabel18.setVisible(false);
jLabel19.setVisible(false);
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"private void addInstituicao() {\n\n if (txtNome.getText().equals(\"\")) {\n JOptionPane.showMessageDialog(null, \"Campo Nome Invalido\");\n txtNome.grabFocus();\n return;\n } else if (txtNatureza.getText().equals(\"\")) {\n JOptionPane.showMessageDialog(null, \"Campo Natureza Invalido\");\n txtNatureza.grabFocus();\n return;\n }\n if ((instituicao == null) || (instituicaoController == null)) {\n instituicao = new Instituicao();\n instituicaoController = new InstituicaoController();\n }\n instituicao.setNome(txtNome.getText());\n instituicao.setNatureza_administrativa(txtNatureza.getText());\n if (instituicaoController.insereInstituicao(instituicao)) {\n limpaCampos();\n JOptionPane.showMessageDialog(null, \"Instituicao Cadastrada com Sucesso\");\n }\n }",
"@Override\r\n\tprotected void agregarObjeto() {\r\n\t\t// opcion 1 es agregar nuevo justificativo\r\n\t\tthis.setTitle(\"PROCESOS - PERMISOS INDIVIDUALES (AGREGANDO)\");\r\n\t\tthis.opcion = 1;\r\n\t\tactivarFormulario();\r\n\t\tlimpiarTabla();\r\n\t\tthis.panelBotones.habilitar();\r\n\t}",
"private void crearVista() {\n\t\tVista vista = Vista.getInstancia();\n\t\tvista.addObservador(this);\n\n\t}",
"public frmTelaVendas() {\n initComponents();\n this.carrinho = new CarrinhoDeCompras();\n listaItens.setModel(this.lista);\n }",
"@Command\n\tpublic void nuevoAnalista(){\n\t\tMap<String, Object> parametros = new HashMap<String, Object>();\n\n\t\t//parametros.put(\"recordMode\", \"NEW\");\n\t\tllamarFormulario(\"formularioAnalistas.zul\", null);\n\t}",
"public VistaInicial crearventanaInicial(){\n if(vistaInicial==null){\n vistaInicial = new VistaInicial();\n }\n return vistaInicial;\n }",
"private void iniciarVentana()\n {\n this.setVisible(true);\n //Centramos la ventana\n this.setLocationRelativeTo(null);\n //Colocamos icono a la ventana\n this.setIconImage(Principal.getLogo());\n //Agregamos Hint al campo de texto\n txt_Nombre.setUI(new Hint(\"Nombre del Archivo\"));\n //ocultamos los componentes de la barra de progreso general\n lblGeneral.setVisible(false);\n barraGeneral.setVisible(false);\n //ocultamos la barra de progreso de archivo\n barra.setVisible(false);\n //deshabiltamos el boton de ElimianrArchivo\n btnEliminarArchivo.setEnabled(false);\n //deshabilitamos el boton de enviar\n btnaceptar.setEnabled(false);\n //Creamos el modelo para la tabla\n modelo=new DefaultTableModel(new Object[][]{},new Object[]{\"nombre\",\"tipo\",\"peso\"})\n {\n //sobreescribimos metodo para prohibir la edicion de celdas\n @Override\n public boolean isCellEditable(int i, int i1) {\n return false;\n }\n \n };\n //Agregamos el modelo a la tabla\n tablaArchivos.setModel(modelo);\n //Quitamos el reordenamiento en la cabecera de la tabla\n tablaArchivos.getTableHeader().setReorderingAllowed(false);\n }",
"public String nuevo() {\n\n\t\tLOG.info(\"Submitado formulario, accion nuevo\");\n\t\tString view = \"/alumno/form\";\n\n\t\t// las validaciones son correctas, por lo cual los datos del formulario estan en\n\t\t// el atributo alumno\n\n\t\t// TODO simular index de la bbdd\n\t\tint id = this.alumnos.size();\n\t\tthis.alumno.setId(id);\n\n\t\tLOG.debug(\"alumno: \" + this.alumno);\n\n\t\t// TODO comprobar edad y fecha\n\n\t\talumnos.add(alumno);\n\t\tview = VIEW_LISTADO;\n\t\tmockAlumno();\n\n\t\t// mensaje flash\n\t\tFacesContext facesContext = FacesContext.getCurrentInstance();\n\t\tExternalContext externalContext = facesContext.getExternalContext();\n\t\texternalContext.getFlash().put(\"alertTipo\", \"success\");\n\t\texternalContext.getFlash().put(\"alertMensaje\", \"Alumno \" + this.alumno.getNombre() + \" creado con exito\");\n\n\t\treturn view + \"?faces-redirect=true\";\n\t}",
"@Override\r\n\tpublic void crearVehiculo() {\n\t\t\r\n\t}",
"private void generaVentana()\n {\n // Crea la ventana\n ventana = new JFrame(\"SpaceInvaders\");\n panel = (JPanel) ventana.getContentPane();\n \n // Establece el tamaño del panel\n panel.setPreferredSize(new Dimension(anchoVentana, altoVentana));\n\n // Establece el layout por defecto\n panel.setLayout(null);\n\n // Establece el fondo para el panel\n panel.setBackground(Color.black);\n\n // Establece el tamaño de Canvas y lo añade a la ventana\n setBounds(0,0,altoVentana,anchoVentana);\n panel.add(this);\n\n // Establece que el programa se cerrará cuando la ventana se cierre\n ventana.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\n\n // Establece el tamaño de la ventana\n ventana.pack();\n\n // La ventana no se cambia de tamaño\n ventana.setResizable(false);\n\n // Centra la ventana en la pantalla\n ventana.setLocationRelativeTo(null);\n\n // Muestra la ventana\n ventana.setVisible(true);\n\n // Mantine el foco en la ventana\n requestFocusInWindow();\n }",
"public CrearQuedadaVista() {\n }",
"public creacionempresa() {\n initComponents();\n mostrardatos();\n }",
"public SrvINFONEGOCIO(AgregarInfoNegocio view) {//C.P.M Tendremos un constructor con la vista de agregar informacion de negocio\r\n this.vista = view;//C.P.M Se la agregamos a la variable para tener acceso a la vista \r\n }",
"public CrearPedidos() {\n initComponents();\n }",
"public Inventario() {\n initComponents();\n }",
"public VistaInicio() {\n initComponents();\n }",
"public abstract Anuncio creaAnuncioIndividualizado();",
"public GestaoFormando() {\n \n initComponents();\n listarEquipamentos();\n listarmapainscritos();\n }",
"public VistaCrearPedidoAbonado() {\n initComponents();\n errorLabel.setVisible(false);\n controlador = new CtrlVistaCrearPedidoAbonado(this);\n }",
"public PeticionesAmistad(vPrincipal vista, VFrame cuadro) {\n initComponents();\n this.vista = vista;\n ventana = cuadro;\n not_nuevoAmigo.setVisible(false);\n not_envioPeticion.setVisible(false);\n modelo = new DefaultListModel();\n modeloBuscar = new DefaultListModel();\n try {\n ArrayList<String> peticiones = vista.getServidor().getPeticiones(vista.getUsuario().getNombre());\n for(String s : peticiones)\n modelo.addElement(s);\n listaPeticiones.setModel(modelo);\n } catch (RemoteException ex) {\n Logger.getLogger(PeticionesAmistad.class.getName()).log(Level.SEVERE, null, ex);\n }\n }",
"public void crearEntidad() throws EntidadNotFoundException {\r\n\t\tif (validarCampos(getNewEntidad())) {\r\n\t\t\tif (validarNomNitRepetidoEntidad(getNewEntidad())) {\r\n\t\t\t\tFacesContext.getCurrentInstance().addMessage(null,\r\n\t\t\t\t\t\tnew FacesMessage(FacesMessage.SEVERITY_WARN, \"Advertencia: \", \"Nombre, Nit o Prejifo ya existe en GIA\"));\r\n\t\t\t} else {\r\n\t\t\t\tif (entidadController.crearEntidad(getNewEntidad())) {\r\n\t\t\t\t\tmensajeGrow(\"Entidad Creada Satisfactoriamente\", getNewEntidad());\r\n\t\t\t\t\tRequestContext.getCurrentInstance().execute(\"PF('entCrearDialog').hide()\");\r\n\t\t\t\t\tsetNewEntidad(new EntidadDTO());\r\n\t\t\t\t\tresetCodigoBUA();\r\n\t\t\t\t} else {\r\n\t\t\t\t\tmensajeGrow(\"Entidad No Fue Creada\", getNewEntidad());\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\tlistarEntidades();\r\n\t\t\t// newEntidad = new EntidadDTO();\r\n\t\t\t// fechaActual();\r\n\t\t}\r\n\r\n\t}",
"public AfiliadoVista() {\r\n }",
"private void azzeraInsertForm() {\n\t\tviewInserimento.getCmbbxTipologia().setSelectedIndex(-1);\n\t\tviewInserimento.getTxtFieldDataI().setText(\"\");\n\t\tviewInserimento.getTxtFieldValore().setText(\"\");\n\t\tviewInserimento.getTxtFieldDataI().setBackground(Color.white);\n\t\tviewInserimento.getTxtFieldValore().setBackground(Color.white);\n\t}",
"public FormInserir() {\n initComponents();\n }",
"public TelaRegistroVendas() {\n initComponents();\n }",
"private void nuevaLiga() {\r\n\t\tif(Gestion.isModificado()){\r\n\t\t\tint opcion = JOptionPane.showOptionDialog(null, \"¿Desea guardar los cambios?\", \"Nueva Liga\", JOptionPane.YES_NO_CANCEL_OPTION, JOptionPane.QUESTION_MESSAGE, null,null, null);\r\n\t\t\tswitch(opcion){\r\n\t\t\tcase JOptionPane.YES_OPTION:\r\n\t\t\t\tguardar();\r\n\t\t\t\tbreak;\r\n\t\t\tcase JOptionPane.NO_OPTION:\r\n\t\t\t\tGestion.reset();\r\n\t\t\t\tbreak;\r\n\t\t\tcase JOptionPane.CANCEL_OPTION:\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t}\r\n\t\telse\r\n\t\t\tGestion.reset();\r\n\t\tfrmLigaDeFtbol.setTitle(\"Liga de Fútbol\");\r\n\t}",
"public ViewIngrediente() {\n initComponents();\n this.setLocationRelativeTo(null);\n \n ImageIcon check = new ImageIcon(\"Images/success-menor.png\");\n jButtonSalvarMedida.setIcon(check);\n ImageIcon proximo = new ImageIcon(\"Images/next-azul-menor.png\");\n jButtonProximaMedida.setIcon(proximo);\n ImageIcon anterior = new ImageIcon(\"Images/previous-azul-menor.png\");\n jButtonMedidaAnterior.setIcon(anterior);\n ImageIcon novoEndereco = new ImageIcon(\"Images/plus-menor.png\");\n jButtonNovaMedida.setIcon(novoEndereco);\n \n ImageIcon editar = new ImageIcon(\"Images/edit.png\");\n jButtonEditarMedida.setIcon(editar);\n jButtonEditarIngrediente.setIcon(editar);\n \n ImageIcon excluir = new ImageIcon(\"Images/delete.png\");\n jButtonExcluirMedida.setIcon(excluir);\n jButtonExcluirIngrediente.setIcon(excluir);\n \n visibleEditarIngrediente(false);\n visibleExcluirIngredienteTelaCadastro(false);\n\n }",
"private void iniciarNovaVez() {\n this.terminouVez = false;\n }",
"public void CrearNew(ActionEvent e) {\n List<Pensum> R = ejbFacade.existePensumID(super.getSelected().getIdpensum());\n if(R.isEmpty()){\n super.saveNew(e);\n }else{\n new Auxiliares().setMsj(3,\"PENSUM ID YA EXISTE\");\n }\n }",
"public void SalvarNovaPessoa(){\r\n \r\n\t\tpessoaModel.setUsuarioModel(this.usuarioController.GetUsuarioSession());\r\n \r\n\t\t//INFORMANDO QUE O CADASTRO FOI VIA INPUT\r\n\t\tpessoaModel.setOrigemCadastro(\"I\");\r\n \r\n\t\tpessoaRepository.SalvarNovoRegistro(this.pessoaModel);\r\n \r\n\t\tthis.pessoaModel = null;\r\n \r\n\t\tUteis.MensagemInfo(\"Registro cadastrado com sucesso\");\r\n \r\n\t}",
"public Ventaform() {\n initComponents();\n }",
"@GetMapping(value = \"/create\") // https://localhost:8080/etiquetasTipoDisenio/create\n\tpublic String create(Model model) {\n\t\tetiquetasTipoDisenio etiquetasTipoDisenio = new etiquetasTipoDisenio();\n\t\tmodel.addAttribute(\"title\", \"Registro de una nuev entrega\");\n\t\tmodel.addAttribute(\"etiquetasTipoDisenio\", etiquetasTipoDisenio); // similar al ViewBag\n\t\treturn \"etiquetasTipoDisenio/form\"; // la ubicacion de la vista\n\t}",
"private void iniciaFrm() {\n statusLbls(false);\n statusBtnInicial();\n try {\n clientes = new Cliente_DAO().findAll();\n } catch (Exception ex) {\n Logger.getLogger(JF_CadastroCliente.class.getName()).log(Level.SEVERE, null, ex);\n }\n }",
"Vaisseau createVaisseau();",
"public IfrViagem() {\n initComponents();\n v = new Viagem();\n criarViagem();\n\n Formatacao.formatarData(ftfDataSaida);\n Formatacao.formatarHora(ftfHoraSaida);\n Formatacao.formatarData(ftfDataRetorno);\n Formatacao.formatarHora(ftfHoraRetorno);\n Formatacao.formatarReal(ftfValorViagem);\n\n }",
"public static void inserir(Venda venda)\r\n throws Exception {\r\n venda.setId(totalVenda++);\r\n listaVenda.add(venda);\r\n }",
"private void iniFormLectura()\r\n\t{\r\n\t\tboolean permisoNuevoEditar = this.permisos.permisoEnFormulaior(VariablesPermisos.FORMULARIO_CONCILIACION, VariablesPermisos.OPERACION_NUEVO_EDITAR);\r\n\t\tboolean permisoEliminar = this.permisos.permisoEnFormulaior(VariablesPermisos.FORMULARIO_CONCILIACION, VariablesPermisos.OPERACION_BORRAR);\r\n\t\t\r\n\t\tgridDetalle.setSelectionMode(SelectionMode.NONE);\r\n\t\tthis.importeConciliado.setVisible(false);\r\n\t\tthis.lblConciliado.setVisible(false);\r\n\t\tthis.horizontalImportes.setCaption(\"Importe\");\r\n\t\t\r\n\t\t/*Si tiene permisos de editar habilitamos el boton de \r\n\t\t * edicion*/\r\n\t\tif(permisoNuevoEditar){\r\n\t\t\t\r\n\t\t\tthis.btnEditar.setVisible(true);\r\n\t\t\tthis.conciliar.setVisible(false);\r\n\t\t\t//this.enableBotonesLectura();\r\n\t\t\t\r\n\t\t}else{ /*de lo contrario lo deshabilitamos*/\r\n\t\t\t\r\n\t\t\tthis.btnEditar.setVisible(false);\r\n\t\t\tthis.conciliar.setVisible(false);\r\n\t\t\t//this.disableBotonLectura();\r\n\t\t}\r\n\t\t\r\n\t\tif(permisoEliminar){\r\n\t\t\tthis.btnEliminar.setVisible(true);\r\n\t\t}\r\n\t\telse{\r\n\t\t\tthis.btnEliminar.setVisible(false);\r\n\t\t}\r\n\t\t\r\n\t\tthis.comboBancos.setEnabled(false);\r\n\t\tthis.comboCuentas.setEnabled(false);\r\n\t\tthis.nroDocum.setEnabled(false);\r\n\t\tthis.impTotMo.setEnabled(false);\r\n\t\tthis.fecDoc.setEnabled(false);\r\n\t\tthis.fecValor.setEnabled(false);\r\n\t\tthis.observaciones.setEnabled(false);\r\n\t\tthis.nroDocum.setVisible(true);\r\n\t\tthis.lblComprobante.setVisible(true);\r\n\t\t\r\n\t\t/*Seteamos la grilla con los formularios*/\r\n\t\tthis.container = \r\n\t\t\t\tnew BeanItemContainer<ConciliacionDetalleVO>(ConciliacionDetalleVO.class);\r\n\t\t\r\n\t\t/*No mostramos las validaciones*/\r\n\t\tthis.setearValidaciones(false);\r\n\t\t\r\n\t\t/*Dejamos todods los campos readonly*/\r\n\t\t//this.readOnlyFields(true);\r\n\t\t\r\n\t\tif(this.lstDetalle != null)\r\n\t\t{\r\n\t\t\tfor (ConciliacionDetalleVO detVO : this.lstDetalle) {\r\n\t\t\t\tcontainer.addBean(detVO);\r\n\t\t\t}\r\n\t\t}\r\n\t\t\r\n\t\t//this.actualizarGrillaContainer(container);\r\n\t\t\r\n\t\t\t\t\t\t\r\n\t}",
"Negacion createNegacion();",
"protected void regenerarVista() {\r\n if (this.partida != null) {\r\n\r\n Configuracion config = this.partida.getConfiguracion(); \r\n \r\n /* Tablero y Piezas en el Tablero */\r\n PanelTablero panel = this.fabricaDePanelesTablero.crearTablero(config);\r\n\r\n this.vista.setPanelTablero(panel);\r\n \r\n /* Piezas que no están en el Tablero */\r\n List<BaseEspacial> bases = this.partida.getBases();\r\n\r\n for (BaseEspacial base : bases) {\r\n\r\n this.vista.addInforme(base, INFORMES_BASE);\r\n \r\n /* Naves que están en la Base */\r\n for (Nave nave : base.getNaves()) {\r\n \r\n this.fabricaDePanelesTablero.crearPieza(nave, panel, config);\r\n \r\n this.vista.addInforme(nave, INFORMES_NAVE);\r\n }\r\n }\r\n \r\n // TODO refactorizar\r\n for (Pieza pieza : this.partida.getTablero()) {\r\n\r\n if (pieza instanceof Contenedor) {\r\n \r\n this.vista.addInforme(pieza, INFORMES_CONTENEDOR);\r\n }\r\n }\r\n \r\n } else {\r\n \r\n this.vista.setPanelTablero(this.presentacion);\r\n }\r\n \r\n this.vista.revalidate();\r\n }",
"public Gui_lectura_consumo() {\n initComponents();\n centrarform();\n consumo_capturado.setEditable(false);\n limpiarCajas();\n \n \n }",
"public VentanaAdministradorVista() {\n initComponents();\n }",
"private void iniciar() {\r\n\t\t/*Se instancian las clases*/\r\n\t\tmiVentanaPrincipal=new VentanaPrincipal();\r\n\t\tmiVentanaRegistro=new VentanaRegistro();\r\n\t\tmiVentanaBuscar= new VentanaBuscar();\r\n\t\tmiLogica=new Logica();\r\n\t\tmiCoordinador= new Coordinador();\r\n\t\t\r\n\t\t/*Se establecen las relaciones entre clases*/\r\n\t\tmiVentanaPrincipal.setCoordinador(miCoordinador);\r\n\t\tmiVentanaRegistro.setCoordinador(miCoordinador);\r\n\t\tmiVentanaBuscar.setCoordinador(miCoordinador);\r\n\t\tmiLogica.setCoordinador(miCoordinador);\r\n\t\t\r\n\t\t/*Se establecen relaciones con la clase coordinador*/\r\n\t\tmiCoordinador.setMiVentanaPrincipal(miVentanaPrincipal);\r\n\t\tmiCoordinador.setMiVentanaRegistro(miVentanaRegistro);\r\n\t\tmiCoordinador.setMiVentanaBuscar(miVentanaBuscar);\r\n\t\tmiCoordinador.setMiLogica(miLogica);\r\n\t\t\t\t\r\n\t\tmiVentanaPrincipal.setVisible(true);\r\n\t}",
"public VistaPedido() {\n initComponents();\n }",
"public Venda() {\n }",
"public Veiculo() {\r\n\r\n }",
"public detalleInventarioController() {\n }",
"private void InsetarEstudiantes() {\n new Insertar_Estudiantes(arreglo).setVisible(true); // CONECTA LA VENTANA Y LE PASA LA REFERENCIA DEL ARREGLO A INSERTAR ESTUDIANTE\n this.hide(); // Esconde la ventana anterior,\n // this.setVisible(false); // Otra forma de Eliminar - Esconder la ventana anterior.\n }",
"public void crearAutomovil(){\r\n automovil = new Vehiculo();\r\n automovil.setMarca(\"BMW\");\r\n automovil.setModelo(2010);\r\n automovil.setPlaca(\"TWS435\");\r\n }",
"@Override\n\tpublic void inativar(EntidadeDominio entidade) {\n\t\tPreparedStatement pst=null;\n\t\tLivro livro = (Livro)entidade;\t\t\n\t\ttry {\n\t\t\topenConnection();\n\t\t\tconnection.setAutoCommit(false);\t\t\t\n\t\t\t\t\t\n\t\t\tStringBuilder sql = new StringBuilder();\t\t\t\n\t\t\tsql.append(\"UPDATE livro SET livStatus=?\");\n\t\t\tsql.append(\"WHERE idlivro=?\");\t\t\n\t\t\t\n\t\t\t\t\t\n\t\t\tpst = connection.prepareStatement(sql.toString());\n\t\t\tpst.setString(1, \"INATIVADO\");\n\t\t\tpst.setInt(2, livro.getId());\n\t\t\tpst.executeUpdate();\t\t\t\n\t\t\tconnection.commit();\t\n\t\t\t\n\t\t} catch (SQLException e) {\n\t\t\ttry {\n\t\t\t\tconnection.rollback();\n\t\t\t} catch (SQLException e1) {\n\t\t\t\te1.printStackTrace();\n\t\t\t}\n\t\t\te.printStackTrace();\t\t\t\n\t\t}finally{\n\t\t\ttry {\n\t\t\t\tpst.close();\n\t\t\t\tconnection.close();\n\t\t\t} catch (SQLException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t\t\n\t\t//SEGUNDA PARTE\n\t\t\t\ttry {\n\t\t\t\t\topenConnection();\n\t\t\t\t\tconnection.setAutoCommit(false);\t\t\t\n\t\t\t\t\t//FALTA COLOCAR EDITORA\t\t\n\t\t\t\t\tStringBuilder sql = new StringBuilder();\n\t\t\t\t\tSystem.out.println(livro.getId());\n\t\t\t\t\tSystem.out.println(livro.getJustificativa());\n\t\t\t\t\tSystem.out.println(livro.getIdCatJustificativa());\n\t\t\t\t\tsql.append(\"INSERT INTO justificativainativar (id_livro , justificativa, id_Inativar) VALUES (?,?,?)\");\t\t\n\t\t\t\t\tpst = connection.prepareStatement(sql.toString());\n\t\t\t\t\tpst.setInt(1, livro.getId());\n\t\t\t\t\tpst.setString(2,livro.getJustificativa());\n\t\t\t\t\tpst.setInt(3,livro.getIdCatJustificativa());\n\t\t\t\t\tpst.executeUpdate();\n\t\t\t\t\tconnection.commit();\t\t\n\t\t\t\t} catch (SQLException e) {\n\t\t\t\t\ttry {\n\t\t\t\t\t\tconnection.rollback();\n\t\t\t\t\t} catch (SQLException e1) {\n\t\t\t\t\t\te1.printStackTrace();\n\t\t\t\t\t}\n\t\t\t\t\te.printStackTrace();\t\t\t\n\t\t\t\t}finally{\n\t\t\t\t\ttry {\n\t\t\t\t\t\tpst.close();\n\t\t\t\t\t\tconnection.close();\n\t\t\t\t\t} catch (SQLException e) {\n\t\t\t\t\t\te.printStackTrace();\n\t\t\t\t\t}\n\t\t\t\t}\t\n\t\t\n\t}",
"public void createAgendamento() {\n\n if (tbagendamento.getTmdataagendamento().after(TimeControl.getDateIni())) {\n if (agendamentoLogic.createTbagendamento(tbagendamento)) {\n AbstractFacesContextUtils.redirectPage(PagesUrl.URL_AGENDAMENTO_LIST);\n AbstractFacesContextUtils.addMessageInfo(\"Agendamento cadastrado com sucesso.\");\n } else {\n AbstractFacesContextUtils.addMessageWarn(\"Falhar ao realizado cadastro do agendamento.\");\n }\n } else {\n AbstractFacesContextUtils.addMessageWarn(\"verifique se a data de agendamento esta correta.\");\n }\n }",
"@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n jLabelMatricula = new javax.swing.JLabel();\n jTextFieldAtividadesMatricula = new javax.swing.JTextField();\n jLabelNome = new javax.swing.JLabel();\n jTextFieldAtividadesNome = new javax.swing.JTextField();\n jComboBoxAtividadesTipo = new javax.swing.JComboBox<>();\n jLabelData = new javax.swing.JLabel();\n jLabelTipo = new javax.swing.JLabel();\n jTextFieldAtividadesData = new javax.swing.JFormattedTextField();\n jLabelLocal = new javax.swing.JLabel();\n jTextFieldAtividadesLocal = new javax.swing.JTextField();\n jLabelDescricao = new javax.swing.JLabel();\n jButtonAtividadesInserir = new javax.swing.JButton();\n jScrollPane1 = new javax.swing.JScrollPane();\n jTextAreaAtividadesDescricao = new javax.swing.JTextArea();\n jButtonLimpar = new javax.swing.JButton();\n\n setClosable(true);\n setIconifiable(true);\n setMaximizable(true);\n setResizable(true);\n setTitle(\"Inserir Atividades\");\n addInternalFrameListener(new javax.swing.event.InternalFrameListener() {\n public void internalFrameActivated(javax.swing.event.InternalFrameEvent evt) {\n formInternalFrameActivated(evt);\n }\n public void internalFrameClosed(javax.swing.event.InternalFrameEvent evt) {\n }\n public void internalFrameClosing(javax.swing.event.InternalFrameEvent evt) {\n }\n public void internalFrameDeactivated(javax.swing.event.InternalFrameEvent evt) {\n }\n public void internalFrameDeiconified(javax.swing.event.InternalFrameEvent evt) {\n }\n public void internalFrameIconified(javax.swing.event.InternalFrameEvent evt) {\n }\n public void internalFrameOpened(javax.swing.event.InternalFrameEvent evt) {\n formInternalFrameOpened(evt);\n }\n });\n\n jLabelMatricula.setText(\"Matrícula:*\");\n\n jLabelNome.setText(\"Nome:*\");\n\n jComboBoxAtividadesTipo.setModel(new javax.swing.DefaultComboBoxModel<>(new String[] { \"Selecione\", \"Lazer\", \"Trabalho\", \"Escola\", \"Faculdade\", \"Física\" }));\n jComboBoxAtividadesTipo.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jComboBoxAtividadesTipoActionPerformed(evt);\n }\n });\n\n jLabelData.setText(\"Data:*\");\n\n jLabelTipo.setText(\"Tipo: *\");\n\n try {\n jTextFieldAtividadesData.setFormatterFactory(new javax.swing.text.DefaultFormatterFactory(new javax.swing.text.MaskFormatter(\"##/##/####\")));\n } catch (java.text.ParseException ex) {\n ex.printStackTrace();\n }\n\n jLabelLocal.setText(\"Local:*\");\n\n jLabelDescricao.setText(\"Descrição:\");\n\n jButtonAtividadesInserir.setText(\"Inserir\");\n jButtonAtividadesInserir.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButtonAtividadesInserirActionPerformed(evt);\n }\n });\n\n jTextAreaAtividadesDescricao.setColumns(20);\n jTextAreaAtividadesDescricao.setRows(5);\n jScrollPane1.setViewportView(jTextAreaAtividadesDescricao);\n\n jButtonLimpar.setText(\"Limpar\");\n jButtonLimpar.addActionListener(new java.awt.event.ActionListener() {\n public void actionPerformed(java.awt.event.ActionEvent evt) {\n jButtonLimparActionPerformed(evt);\n }\n });\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addComponent(jLabelMatricula)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(jTextFieldAtividadesMatricula, javax.swing.GroupLayout.PREFERRED_SIZE, 110, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addGap(18, 18, 18)\n .addComponent(jLabelNome)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(jTextFieldAtividadesNome))\n .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()\n .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n .addComponent(jButtonAtividadesInserir)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(jButtonLimpar))\n .addGroup(layout.createSequentialGroup()\n .addGap(2, 2, 2)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addComponent(jLabelTipo)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(jComboBoxAtividadesTipo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addComponent(jLabelData)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(jTextFieldAtividadesData, javax.swing.GroupLayout.PREFERRED_SIZE, 87, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addComponent(jLabelLocal)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(jTextFieldAtividadesLocal, javax.swing.GroupLayout.DEFAULT_SIZE, 149, Short.MAX_VALUE))\n .addGroup(layout.createSequentialGroup()\n .addComponent(jLabelDescricao)\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addComponent(jScrollPane1)))))\n .addContainerGap())\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createSequentialGroup()\n .addContainerGap()\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jTextFieldAtividadesNome, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabelNome))\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jLabelMatricula)\n .addComponent(jTextFieldAtividadesMatricula, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jComboBoxAtividadesTipo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabelData)\n .addComponent(jLabelTipo)\n .addComponent(jTextFieldAtividadesData, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)\n .addComponent(jLabelLocal)\n .addComponent(jTextFieldAtividadesLocal, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 221, Short.MAX_VALUE)\n .addGroup(layout.createSequentialGroup()\n .addComponent(jLabelDescricao)\n .addGap(0, 0, Short.MAX_VALUE)))\n .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)\n .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)\n .addComponent(jButtonAtividadesInserir)\n .addComponent(jButtonLimpar))\n .addGap(1, 1, 1))\n );\n\n pack();\n }",
"public telaAddPedidoII() {\n initComponents();\n }",
"Motivo create(Motivo motivo);",
"@Override\r\n\tpublic MensajeBean inserta(Tramite_presentan_info_impacto nuevo) {\n\t\treturn tramite.inserta(nuevo);\r\n\t}",
"public void nouveau(){\r\n try {\r\n viewEtudiantInscripEcheance = new ViewEtudiantInscriptionEcheance();\r\n echeance_etudiant = new EcoEcheanceEtudiant(); \r\n \r\n } catch (Exception e) {\r\n System.err.println(\"Erreur capturée : \"+e);\r\n }\r\n }",
"private void inizia() throws Exception {\n this.setAllineamento(Layout.ALLINEA_CENTRO);\n this.creaBordo(\"Coperti serviti\");\n\n campoPranzo=CampoFactory.intero(\"a pranzo\");\n campoPranzo.setLarghezza(60);\n campoPranzo.setModificabile(false);\n campoCena=CampoFactory.intero(\"a cena\");\n campoCena.setLarghezza(60);\n campoCena.setModificabile(false);\n campoTotale=CampoFactory.intero(\"Totale\");\n campoTotale.setLarghezza(60); \n campoTotale.setModificabile(false);\n\n this.add(campoPranzo);\n this.add(campoCena);\n this.add(campoTotale);\n }",
"@RequestMapping(value = \"/create\", method = RequestMethod.POST)\n public ModelAndView create(@RequestParam(\"horasalida\") Date horasalida,@RequestParam(\"horallegada\") Date horallegada,@RequestParam(\"aeropuerto_idaeropuerto\") Long aeropuerto_idaeropuerto,\n \t\t@RequestParam(\"aeropuerto_idaeropuerto2\") Long aeropuerto_idaeropuerto2,@RequestParam(\"avion_idavion\") Long avion_idavion) {\n Vuelo post=new Vuelo();\n post.setHorallegada(horallegada);\n post.setHorasalida(horasalida);\n\t\t\n post.setAeropuerto_idaeropuerto(aeropuerto_idaeropuerto);\n post.setAeropuerto_idaeropuerto2(aeropuerto_idaeropuerto2);\n post.setAvion_idavion(avion_idavion);\n repository.save(post);\n return new ModelAndView(\"redirect:/vuelos\");\n }",
"public frmAddIncidencias() {\n initComponents();\n }",
"VentanaPrincipal(InterfazGestorFF principal, InterfazEsquema estructura) {\n initComponents();\n setTitle(BufferDeRegistro.titulo);\n this.principal=principal;\n this.estructura=estructura;\n cargar_campos(); \n cargar_menu_listados();\n \n botones=new javax.swing.JButton[]{\n jBAbrirSGFF,jBActualizarRegistro,jBAyuda,jBBorrarRegistro,\n jBComenzarConsulta,jBGuardarSGFF,jBGuardarSGFF,jBImportarSGFF,\n jBInsertarRegistro,jBIrAlHV,jBIrAlHijo,\n jBIrAlPV,jBIrAlPadre,jBNuevaFicha,jBRegistroAnterior,jBRegistroSiguiente,jBSSGFF,jBCaracteres, jBAccInv, jBListar\n };\n combos=new javax.swing.JComboBox[]{\n jCBArchivos, jCBHijos, jCBPadresV, jCBHijosV\n };\n abrir(false);//Pongo en orden la barra de herramientas\n \n }",
"Vaisseau_Vaisseau createVaisseau_Vaisseau();",
"Vaisseau_Vaisseau createVaisseau_Vaisseau();",
"Vaisseau_Vaisseau createVaisseau_Vaisseau();",
"Vaisseau_Vaisseau createVaisseau_Vaisseau();",
"private void inizia() throws Exception {\n\n try { // prova ad eseguire il codice\n\n /* questo dialogo non e' modale */\n this.getDialogo().setModal(false);\n\n this.setTitolo(TITOLO_DIALOGO);\n this.addBottoneStampa();\n this.addBottoneChiudi();\n\n /* crea il modulo con db in memoria */\n this.creaModuloMem();\n\n /* crea i pannelli del dialogo */\n this.creaPannelli();\n\n } catch (Exception unErrore) { // intercetta l'errore\n Errore.crea(unErrore);\n }// fine del blocco try-catch\n\n }",
"protected void creaPagine() {\n Pagina pag;\n Pannello pan;\n\n try { // prova ad eseguire il codice\n\n /* crea la pagina e aggiunge campi e pannelli */\n pag = this.addPagina(\"generale\");\n\n pan = PannelloFactory.orizzontale(this);\n pan.add(Cam.data);\n pan.add(Cam.importo.get());\n pan.add(Cam.note.get());\n pag.add(pan);\n\n } catch (Exception unErrore) { // intercetta l'errore\n Errore.crea(unErrore);\n }// fine del blocco try-catch\n\n }",
"public Ventas() {\n setIdVenta(1);\n setIdCliente(1);\n setFecha(new Date());\n setEstado(0); \n }",
"private void inicializarVista() {\n this.vista.jtfNombreRol.setText(this.modelo.getRol().getDescripcion());\n this.vista.jbAgregar.setEnabled(false);\n this.vista.jbQuitar.setEnabled(false);\n this.vista.jtPermisosDisponibles.setModel(modelo.obtenerAccesosDispon());\n this.vista.jtPermisosSeleccionados.setModel(modelo.obtenerAccesoSelecc());\n Utilities.c_packColumn.packColumns(this.vista.jtPermisosDisponibles, 1);\n Utilities.c_packColumn.packColumns(this.vista.jtPermisosSeleccionados, 1);\n }",
"public EditarVenda() {\n initComponents();\n URL caminhoIcone = getClass().getResource(\"/mklivre/icone/icone2.png\");\n Image iconeTitulo = Toolkit.getDefaultToolkit().getImage(caminhoIcone);\n this.setIconImage(iconeTitulo);\n conexao = ModuloConexao.conector();\n codigoCliente.setEnabled(false);\n lucro.setEnabled(false);\n valorLiquidoML.setEnabled(false);\n }",
"public void abrirVentanaNuevaLista(ActionEvent event){\n Parent root;\n try {\n //Carga ventana\n FXMLLoader loader = new FXMLLoader(getClass().getResource(\"nuevaListaSample.fxml\"));\n root =loader.load();\n Stage stage = new Stage();\n stage.setTitle(\"Crear una nueva lista\");\n stage.setScene(new Scene(root,450,450));\n //Conexion con controller de nueva lista\n NuevaListaSample controllerNuevaLista = loader.getController();\n //Se actualiza los datos de listas\n controllerNuevaLista.definirData(this.data);\n\n stage.show();\n }catch (IOException e){\n e.printStackTrace();\n }\n }",
"public InventarioControlador() {\n }",
"public VistaCrearEmpleado() {\n\t\tsetClosable(true);\n\t\tsetFrameIcon(new ImageIcon(VistaCrearEmpleado.class.getResource(\"/com/mordor/mordorLloguer/recursos/account_circle24dp.png\")));\n\t\tsetBounds(100, 100, 467, 435);\n\t\tgetContentPane().setLayout(new MigLayout(\"\", \"[152px][235px]\", \"[19px][19px][19px][19px][19px][19px][45px][24px][19px][25px]\"));\n\t\t\n\t\tJLabel lblDni = new JLabel(\"DNI: \");\n\t\tgetContentPane().add(lblDni, \"cell 0 0,growx,aligny center\");\n\t\t\n\t\ttxtDNI = new JTextField();\n\t\tgetContentPane().add(txtDNI, \"cell 1 0,growx,aligny top\");\n\t\ttxtDNI.setColumns(10);\n\t\t\n\t\tJLabel lblNombre = new JLabel(\"Nombre: \");\n\t\tgetContentPane().add(lblNombre, \"cell 0 1,growx,aligny center\");\n\t\t\n\t\ttxtNombre = new JTextField();\n\t\tgetContentPane().add(txtNombre, \"cell 1 1,growx,aligny top\");\n\t\ttxtNombre.setColumns(10);\n\t\t\n\t\tJLabel lblApellidos = new JLabel(\"Apellidos: \");\n\t\tgetContentPane().add(lblApellidos, \"cell 0 2,growx,aligny center\");\n\t\t\n\t\ttxtApellidos = new JTextField();\n\t\tgetContentPane().add(txtApellidos, \"cell 1 2,growx,aligny top\");\n\t\ttxtApellidos.setColumns(10);\n\t\t\n\t\tJLabel lblDomicilio = new JLabel(\"Domicilio:\");\n\t\tgetContentPane().add(lblDomicilio, \"cell 0 3,growx,aligny center\");\n\t\t\n\t\ttxtDomicilio = new JTextField();\n\t\tgetContentPane().add(txtDomicilio, \"cell 1 3,growx,aligny top\");\n\t\ttxtDomicilio.setColumns(10);\n\t\t\n\t\tJLabel lblCp = new JLabel(\"CP:\");\n\t\tgetContentPane().add(lblCp, \"cell 0 4,growx,aligny center\");\n\t\t\n\t\ttxtCp = new JTextField();\n\t\tgetContentPane().add(txtCp, \"cell 1 4,growx,aligny top\");\n\t\ttxtCp.setColumns(10);\n\t\t\n\t\tJLabel lblEmail = new JLabel(\"Email:\");\n\t\tgetContentPane().add(lblEmail, \"cell 0 5,growx,aligny center\");\n\t\t\n\t\ttxtEmail = new JTextField();\n\t\tgetContentPane().add(txtEmail, \"cell 1 5,growx,aligny top\");\n\t\ttxtEmail.setColumns(10);\n\t\t\n\t\tJLabel lblFechaDeNacimiento = new JLabel(\"Fecha de Nacimiento:\");\n\t\tgetContentPane().add(lblFechaDeNacimiento, \"cell 0 6,alignx left,aligny center\");\n\t\t\n\t\ttxtDate = new WebDateField();\n\t\tgetContentPane().add(txtDate, \"cell 1 6,growx,aligny top\");\n\t\t\n\t\tJLabel lblCargo = new JLabel(\"Cargo:\");\n\t\tgetContentPane().add(lblCargo, \"cell 0 7,growx,aligny center\");\n\t\t\n\t\tcomboBoxCargo= new JComboBox<String> ();\n\t\tgetContentPane().add(comboBoxCargo, \"cell 1 7,growx,aligny top\");\n\t\t\n\t\tJLabel lblContrasea = new JLabel(\"Contraseña:\");\n\t\tgetContentPane().add(lblContrasea, \"cell 0 8,growx,aligny center\");\n\t\t\n\t\tpasswordField = new JPasswordField();\n\t\tgetContentPane().add(passwordField, \"cell 1 8,growx,aligny top\");\n\t\t\n\t\tbtnAdd = new JButton(\"Add\");\n\t\tgetContentPane().add(btnAdd, \"cell 0 9,growx,aligny top\");\n\t\t\n\t\tbtnCancel = new JButton(\"Cancel\");\n\t\tbtnCancel.addActionListener(new ActionListener() {\n\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\tdispose();\n\t\t\t}\n\t\t});\n\t\tgetContentPane().add(btnCancel, \"cell 1 9,growx,aligny top\");\n\n\t}",
"public Vehiculo() {\r\n }",
"@Override\n\tpublic void goToUiMantTipoNotificacionInsertar() {\n\t\tif (ui == null) {\n\t\t\tui = new UiMantTipoNotificacionImpl(this);\n\t\t\tui.setModo(UiMantenimiento.MODOINSERTAR);\n\t\t\tui.loadFields();\n\t\t\tui.show();\n\t\t} else {\n\t\t\tui.setModo(UiMantenimiento.MODOINSERTAR);\n\t\t\tui.loadFields();\n\t\t\tui.show();\n\t\t}\n\t}",
"@GetMapping(\"/producto/nuevo\")\n\tpublic String nuevoProductoForm(Model model) {\n\t\tmodel.addAttribute(\"producto\", new Producto());\n\t\treturn \"app/producto/form\";\n\t}",
"public frmClienteIncobrable() {\n initComponents();\n \n //CARGAR PROVINCIAS\n ArrayList<clsComboBox> dataProvincia = objProvincia.consultarTipoIncobrable(); \n for(int i=0;i<dataProvincia.size();i=i+1)\n {\n clsComboBox oItem = new clsComboBox(dataProvincia.get(i).getCodigo(), dataProvincia.get(i).getDescripcion());\n cmbTipoIncobrable.addItem(oItem); \n } \n \n \n //CARGAR AUTOCOMPLETAR\n List<String> dataCedula = objCliente.consultarCedulas(); \n SelectAllUtils.install(txtCedula);\n ListDataIntelliHints intellihints = new ListDataIntelliHints(txtCedula, dataCedula); \n intellihints.setCaseSensitive(false);\n \n Date fechaActual = new Date();\n txtFecha.setDate(fechaActual);\n }",
"public Vencimientos() {\n initComponents();\n \n \n }",
"public IEstadoLectura crearEstado();",
"@Override\n\tpublic MensajeBean inserta(Tramite_informesem nuevo) {\n\t\treturn tramite_informesemDao.inserta(nuevo);\n\t}",
"public frmVenda() {\n initComponents();\n }",
"@Override\n\t\t\t\tpublic void actionPerformed(ActionEvent e) {\n\t\t\t\t\tEnviosRechazados verventana = new EnviosRechazados();\n\t\t\t\t\tverventana.show();\n\t\t\t\t}",
"public frmOrdenacao() {\n initComponents();\n setResizable(false);\n ordenacaoControle = new OrdenacaoControle();\n }",
"Obligacion createObligacion();",
"public void insertar() {\r\n if (vista.jTNombreempresa.getText().equals(\"\") || vista.jTTelefono.getText().equals(\"\") || vista.jTRFC.getText().equals(\"\") || vista.jTDireccion.getText().equals(\"\")) {\r\n JOptionPane.showMessageDialog(null, \"Faltan Datos: No puedes dejar cuadros en blanco\");//C.P.M Verificamos si las casillas esta vacia si es asi lo notificamos\r\n } else {//C.P.M de lo contrario prosegimos\r\n modelo.setNombre(vista.jTNombreempresa.getText());//C.P.M mandamos las variabes al modelo \r\n modelo.setDireccion(vista.jTDireccion.getText());\r\n modelo.setRfc(vista.jTRFC.getText());\r\n modelo.setTelefono(vista.jTTelefono.getText());\r\n \r\n Error = modelo.insertar();//C.P.M Ejecutamos el metodo del modelo \r\n if (Error.equals(\"\")) {//C.P.M Si el modelo no regresa un error es que todo salio bien\r\n JOptionPane.showMessageDialog(null, \"Se guardo exitosamente la configuracion\");//C.P.M notificamos a el usuario\r\n vista.dispose();//C.P.M y cerramos la vista\r\n } else {//C.P.M de lo contrario \r\n JOptionPane.showMessageDialog(null, Error);//C.P.M notificamos a el usuario el error\r\n }\r\n }\r\n }",
"public vOferta() {\n initComponents();\n }",
"Compuesta createCompuesta();",
"public frm_tutor_subida_prueba() {\n }",
"private void criaInterface() {\n\t\tColor azul = new Color(212, 212, 240);\n\n\t\tpainelMetadado.setLayout(null);\n\t\tpainelMetadado.setBackground(azul);\n\n\t\tmetadadoLabel = FactoryInterface.createJLabel(10, 3, 157, 30);\n\t\tpainelMetadado.add(metadadoLabel);\n\n\t\tbotaoAdicionar = FactoryInterface.createJButton(520, 3, 30, 30);\n\t\tbotaoAdicionar.setIcon(FactoryInterface.criarImageIcon(Imagem.ADICIONAR));\n\t\tbotaoAdicionar.setToolTipText(Sap.ADICIONAR.get(Sap.TERMO.get()));\n\t\tpainelMetadado.add(botaoAdicionar);\n\n\t\tbotaoEscolha = FactoryInterface.createJButton(560, 3, 30, 30);\n\t\tbotaoEscolha.setIcon(FactoryInterface.criarImageIcon(Imagem.VOLTAR_PRETO));\n\t\tbotaoEscolha.setToolTipText(Sap.ESCOLHER.get(Sap.TERMO.get()));\n\t\tbotaoEscolha.setEnabled(false);\n\t\tpainelMetadado.add(botaoEscolha);\n\n\t\talterarModo(false);\n\t\tatribuirAcoes();\n\t}",
"public MostraVenta(String idtrasp, Object[][] clienteM1, Object[][] vendedorM1, String idmarc, String responsable,ListaTraspaso panel)\n{\n this.padre = panel;\n this.clienteM = clienteM1;\n this.vendedorM = vendedorM1;\n this.idtraspaso= idtrasp;\n this.idmarca=idmarc;\n//this.tipoenvioM = new String[]{\"INGRESO\", \"TRASPASO\"};\n String tituloTabla =\"Detalle Venta\";\n // padre=panel;\n String nombreBoton1 = \"Registrar\";\n String nombreBoton2 = \"Cancelar\";\n // String nombreBoton3 = \"Eliminar Empresa\";\n\n setId(\"win-NuevaEmpresaForm1\");\n setTitle(tituloTabla);\n setWidth(400);\n setMinWidth(ANCHO);\n setHeight(250);\n setLayout(new FitLayout());\n setPaddings(WINDOW_PADDING);\n setButtonAlign(Position.CENTER);\n setCloseAction(Window.CLOSE);\n setPlain(true);\n\n but_aceptar = new Button(nombreBoton1);\n but_cancelar = new Button(nombreBoton2);\n // addButton(but_aceptarv);\n addButton(but_aceptar);\n addButton(but_cancelar);\n\n formPanelCliente = new FormPanel();\n formPanelCliente.setBaseCls(\"x-plain\");\n //formPanelCliente.setLabelWidth(130);\n formPanelCliente.setUrl(\"save-form.php\");\n formPanelCliente.setWidth(ANCHO);\n formPanelCliente.setHeight(ALTO);\n formPanelCliente.setLabelAlign(Position.LEFT);\n\n formPanelCliente.setAutoWidth(true);\n\n\ndat_fecha1 = new DateField(\"Fecha\", \"d-m-Y\");\n fechahoy = new Date();\n dat_fecha1.setValue(fechahoy);\n dat_fecha1.setReadOnly(true);\n\ncom_vendedor = new ComboBox(\"Vendedor al que enviamos\", \"idempleado\");\ncom_cliente = new ComboBox(\"Clientes\", \"idcliente\");\n//com_tipo = new ComboBox(\"Tipo Envio\", \"idtipo\");\n initValues1();\n\n\n\n formPanelCliente.add(dat_fecha1);\n// formPanelCliente.add(com_tipo);\n// formPanelCliente.add(tex_nombreC);\n// formPanelCliente.add(tex_codigoBarra);\n // formPanelCliente.add(tex_codigoC);\nformPanelCliente.add(com_vendedor);\n formPanelCliente.add(com_cliente);\n add(formPanelCliente);\nanadirListenersTexfield();\n addListeners();\n\n }",
"public VentanaPrincipal() {\n initComponents();\n editar = false;\n }",
"@Override\n protected void doPost(HttpServletRequest request, HttpServletResponse response)\n throws ServletException, IOException {\n String nombre = request.getParameter(\"nombre\");\n String descripcion = request.getParameter(\"descripcion\");\n String cantidad = request.getParameter(\"cantidad\");\n String precio = request.getParameter(\"precio\");\n String pago = request.getParameter(\"pago\");\n \n //creando objeto del costructor\n modelo.ventas venta = new modelo.ventas();\n //almacenando datos en las variables con el constructor \n venta.setNombre(nombre);\n venta.setDescripcion(descripcion);\n venta.setCantidad(Integer.parseInt(cantidad));\n venta.setPrecio(Double.parseDouble(precio));\n venta.setPago(Integer.parseInt(pago));\n \n //creando objeto para guardar cliente\n modelo.addVenta addventa = new modelo.addVenta();\n try {\n addventa.agrega(venta);\n } catch (SQLException ex) {\n Logger.getLogger(formVenta.class.getName()).log(Level.SEVERE, null, ex);\n }\n response.sendRedirect(\"ventas\");//si se guarda exitosamente se redirecciona a membresia\n }",
"@Override\n\tpublic void actionPerformed(ActionEvent e) {\n\t\t\n\t\tif(e.getActionCommand().equalsIgnoreCase(\"Inserimento insegnamento\"))\n\t\t{\n\t\t\tInserimentoInsegnamento inserisci =new InserimentoInsegnamento(this);\n\t\t\tinserisci.setVisible(true);\n\t\t\tsetVisible(false);\n\t\t}\n\t\t\n\t\tif(e.getActionCommand().equalsIgnoreCase(\"Elenco insegnamenti\"))\n\t\t{\n\t\t\tVisualizzaElencoInsegnamenti elenco=new VisualizzaElencoInsegnamenti();\n\t\t\telenco.setVisible(true);\n\t\t}\n\t\t\n\t\tif(e.getActionCommand().equalsIgnoreCase(\"Associa docente\"))\n\t\t{\n\t\t\tAssociaDocente associa = new AssociaDocente();\n\t\t\tassocia.setVisible(true);\n\t\t}\n\t\t\n\t\tif(e.getActionCommand().equalsIgnoreCase(\"Torna al Menu\"))\n\t\t{\n\t\t\tsetVisible(false);\n\t\t\tf1.setVisible(true);\n\t\t}\n\t\t\n\t\tif(e.getActionCommand().equalsIgnoreCase(\"Inserimento Corso Laurea\"))\n\t\t{\n\t\t\t\n\t\t\t\tString selection= JOptionPane.showInputDialog(getParent(),\"Inserisci il nome del corso di laurea:\",\"INSERIMENTO CORSO DI LAUREA\",JOptionPane.OK_CANCEL_OPTION);\n\t\t\t\tif(selection != null )\n\t\t\t\t{\n\t\t\t\t\ttry\n\t\t\t\t\t{\n\t\t\t\t\t\tClass.forName(\"com.mysql.jdbc.Driver\");\n\t\t\t\t\t}\n\t\t\t\t\tcatch(Exception e1)\n\t\t\t\t\t{\n\t\t\t\t\t\tSystem.err.println(\"Errore nel caricamento del Driver\");\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\ttry\n\t\t\t\t\t{\n\t\t\t\t\t\tConnection conn=DriverManager.getConnection(\"jdbc:mysql://localhost:3306/schedule_dib\",\"root\",\"\");\n\t\t\t\t\t\tconn.setAutoCommit(false);\n\t\t\t\t\t\tStatement stmt=conn.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_UPDATABLE);\n\t\t\t\t\t\tString query;\n\t\t\t\t\t\t\n\t\t\t\t\t\tquery=\"Insert into `corsi` (`Corso_laurea`)values('\"+selection+\"')\";\n\t\t\t\t\t\t\n\t\t\t\t\t\tint righe=stmt.executeUpdate(query);\n\t\t\t\t\t\tif(righe != 1)\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\tJOptionPane.showMessageDialog(null, \"Errore aggiornamento database\");\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t}\n\t\t\t\t\t\t\n\t\t\t\t\t\tconn.commit();\n\t\t\t\t\t\tstmt.close();\n\t\t\t\t\t\tconn.close();\n\t\t\t\t\t\tJOptionPane.showMessageDialog(null, \"Operazione avvenuta con successo\");\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\tcatch(Exception exc)\n\t\t\t\t\t{\n\t\t\t\t\t\tJOptionPane.showMessageDialog(null, \"Errore aggiornamento database\"+exc.getMessage());\n\t\t\t\t\t}\n\t\t\t\n\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tJOptionPane.showMessageDialog(null, \"Nessun corso di laurea inserito\");\n\t\t\t\t}\n\t\t\n\t\t\n\t}\n\t\t\n\t\t\n\t}",
"private void crearNave(String accion) {\n\t\tthis.naveCreada=true;\n\t\tpausa = false;\n\t\t\n\t\tString [] info = accion.split(\"#\");\n\t\tString [] xA = info[3].split(\"=\");\n\t\tString [] yA = info[4].split(\"=\");\n\t\tString [] vxA = info[5].split(\"=\");\n\t\tString [] vyA = info[6].split(\"=\");\n\t\tString [] anA = info[7].split(\"=\");\n\t\t\n\t\tdouble x = Double.valueOf(xA[1]);\n\t\tdouble y = Double.valueOf(yA[1]);\n\t\tdouble velocidadx = Double.valueOf(vxA[1]);\n\t\tdouble velocidady = Double.valueOf(vyA[1]);\n\t\tdouble an = Double.valueOf(anA[1]);\n\t\t\n\t\tthis.nave = new Nave (x, y, an, 0.2, 0.98, 0.05, 20, this);\n\t\tnave.setVelocidadX(velocidadx);\n\t\tnave.setVelocidadY(velocidady);\n\t}",
"public AsignarNuevoUso() throws NamingException {\r\n\t\t\r\n\t\tJFrame frmNuevoPropietario = new JFrame();\r\n\t\tfrmNuevoPropietario.setFont(new Font(\"Dialog\", Font.BOLD, 16));\r\n\t\tfrmNuevoPropietario.setTitle(\"Asignar Zona\");\r\n\r\n\t\tfrmNuevoPropietario.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);\r\n\t\tfrmNuevoPropietario.setBounds(100, 100, 650, 400);\r\n\t\tcontentPane = new JPanel();\r\n\t\tcontentPane.setBorder(new EmptyBorder(5, 5, 5, 5));\r\n\t\tfrmNuevoPropietario.setContentPane(contentPane);\r\n\t\tcontentPane.setLayout(null);\r\n\t\t\r\n\t\t\r\n\t\t\r\n\r\n\t\tJComboBox<Zona> comboBox = new JComboBox<Zona>();\r\n\t\t\r\n\t\tcomboBox.setSelectedItem(null);\r\n\t\tcomboBox.setBounds(310, 61, 167, 22);\r\n\t\tcontentPane.add(comboBox);\r\n\t\tfrmNuevoPropietario.setSize(549, 473);\r\n\t\tfrmNuevoPropietario.setVisible(true);\r\n\t\tZonasBeanRemote ZonasBean = (ZonasBeanRemote) InitialContext\r\n\t\t\t\t.doLookup(\"PROYECTO/ZonasBean!com.servicios.ZonasBeanRemote\");\r\n\t\t\r\n\t\tList<Zona> listaZonas = ZonasBean.obtenerTodos();\r\n\r\n\t\tfor (Zona zona : listaZonas) {\r\n\t\t\tcomboBox.addItem((Zona) zona);\r\n\t\t}\r\n\t\t\r\n\r\n\t\tJLabel LblPropietario = new JLabel(\"Seleccionar Zona\");\r\n\t\tLblPropietario.setBounds(136, 65, 137, 14);\r\n\t\tcontentPane.add(LblPropietario);\r\n\r\n\t\tJButton btnAceptar = new JButton(\"Asignar\");\r\n\t\tbtnAceptar.setBounds(136, 390, 89, 23);\r\n\t\tcontentPane.add(btnAceptar);\r\n\r\n\t\tJButton btnCancelar = new JButton(\"Cancelar\");\r\n\t\tbtnCancelar.setBounds(378, 390, 89, 23);\r\n\t\tcontentPane.add(btnCancelar);\r\n\t\tcomboBox.setSelectedItem(null);\r\n\t\t\r\n\t\tJComboBox<TipoUso> comboBoxTipo_Uso = new JComboBox<TipoUso>();\r\n\t\tcomboBoxTipo_Uso.setBounds(310, 169, 167, 22);\r\n\t\tcontentPane.add(comboBoxTipo_Uso);\r\n\t\tTipo_UsosBeanRemote tipo_UsosBean = (Tipo_UsosBeanRemote)\r\n\t\t\t\tInitialContext.doLookup(\"PROYECTO/Tipo_UsosBean!com.servicios.Tipo_UsosBeanRemote\");\r\n\t\t\r\n\t\t\r\n\t\tList<TipoUso> listaTipo_Uso = tipo_UsosBean.obtenerTipo_Uso();\r\n\r\n\t\tfor (TipoUso tipo_Uso : listaTipo_Uso) {\r\n\t\t\tcomboBoxTipo_Uso.addItem((TipoUso) tipo_Uso);\r\n\t\t}\r\n\t\t\r\n\t\tJLabel lblSeleccionarPotrero = new JLabel(\"Seleccionar Uso\");\r\n\t\tlblSeleccionarPotrero.setBounds(136, 172, 139, 16);\r\n\t\tcontentPane.add(lblSeleccionarPotrero);\r\n\t\t\r\n\t\tJLabel lblArea = new JLabel(\"Area:\");\r\n\t\tlblArea.setBounds(218, 92, 56, 16);\r\n\t\tcontentPane.add(lblArea);\r\n\t\t\r\n\t\tJLabel lblPotrero = new JLabel(\"Potrero:\");\r\n\t\tlblPotrero.setBounds(217, 114, 56, 16);\r\n\t\tcontentPane.add(lblPotrero);\r\n\t\t\r\n\t\tJLabel lblNewLabel = new JLabel(\"Propietario:\");\r\n\t\tlblNewLabel.setBounds(218, 140, 89, 16);\r\n\t\tcontentPane.add(lblNewLabel);\r\n\t\t\r\n\t\tJLabel area = new JLabel(\"\");\r\n\t\tarea.setBounds(310, 92, 56, 16);\r\n\t\tcontentPane.add(area);\r\n\t\t\r\n\t\tJLabel potrero = new JLabel(\"\");\r\n\t\tpotrero.setBounds(310, 114, 56, 16);\r\n\t\tcontentPane.add(potrero);\r\n\t\t\r\n\t\tJLabel label = new JLabel(\"\");\r\n\t\tlabel.setBounds(310, 140, 56, 16);\r\n\t\tcontentPane.add(label);\r\n\t\t\r\n\t\tJLabel propietario = new JLabel(\"\");\r\n\t\tpropietario.setBounds(310, 143, 56, 16);\r\n\t\tcontentPane.add(propietario);\r\n\t\t\r\n\t\tcomboBox.addItemListener(new ItemListener() {\r\n\t\t\tpublic void itemStateChanged(ItemEvent arg0) {\r\n\t\t\t\tZona zona = (Zona) arg0.getItem();\r\n\t\t\t\tarea.setText(zona.getAreaZona().toString());\r\n\t\t\t\tpotrero.setText(zona.getPotrero().getNomPotrero());\r\n\t\t\t\tpropietario.setText(zona.getPotrero().getPredio().getPropietario().getNomPropietario());\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\tbtnCancelar.addActionListener(new ActionListener() {\r\n\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\r\n\t\t\t\tfrmNuevoPropietario.dispose();\r\n\t\t\t\tnew PantallaInicio();\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\tbtnAceptar.addActionListener(new ActionListener() {\r\n\r\n\t\t\t@Override\r\n\t\t\tpublic void actionPerformed(ActionEvent e) {\r\n\t\t\t\t// TODO Auto-generated method stub\r\n\t\t\t\ttry {Zona_UsosBeanRemote Zona_UsosBean = (Zona_UsosBeanRemote) InitialContext\r\n\t\t\t\t\t\t.doLookup(\"PROYECTO/Zona_UsosBean!com.servicios.Zona_UsosBeanRemote\");\r\n\r\n\t\t\t\t\tZona zona = (Zona) comboBox.getSelectedItem();\r\n\t\t\t\t\tTipoUso tipo_Uso = (TipoUso) comboBoxTipo_Uso.getSelectedItem();\r\n\t\t\t\t\tZona_UsosBean.altaZona_Uso(zona, tipo_Uso, fechaLocal);\r\n\t\t\t\t\tJOptionPane.showMessageDialog(null, \"Se ha asignado la zona Correctamente\", \"Notificacion\",\r\n\t\t\t\t\t\t\tJOptionPane.INFORMATION_MESSAGE);\r\n\t\t\t\t} catch (Exception e1) {\r\n\t\t\t\t\t// TODO Auto-generated catch block\r\n\t\t\t\t\te1.printStackTrace();\r\n\t\t\t\t\tJOptionPane.showMessageDialog(null, \"No se pudo asignar Zona Correctamente\", \"Notificacion\",\r\n\t\t\t\t\t\t\tJOptionPane.WARNING_MESSAGE);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t});\r\n\t\t\r\n\r\n\t}",
"public CadastroProdutoNew() {\n initComponents();\n }",
"@GetMapping(\"/add\")\n public String showSocioForm(Model model, Persona persona) {\n List<Cargo> cargos = cargoService.getCargos();\n model.addAttribute(\"cargos\", cargos);\n return \"/backoffice/socioForm\";\n }",
"public agendaVentana() {\n initComponents();\n setIconImage(new ImageIcon(this.getClass().getResource(\"/IMG/maqui.png\")).getImage());\n citasDAO = new CitasDAO();\n clienteDAO = new ClienteDAO();\n loadmodel();\n loadClientesCombo();\n loadClientesComboA();\n jTabbedPane1.setEnabledAt(2, false);\n\n }",
"@FXML\r\n private void crearSolicitud() {\r\n try {\r\n //Carga la vista de crear solicitud rma\r\n FXMLLoader loader = new FXMLLoader();\r\n loader.setLocation(Principal.class.getResource(\"/vista/CrearSolicitud.fxml\"));\r\n BorderPane vistaCrear = (BorderPane) loader.load();\r\n\r\n //Crea un dialogo para mostrar la vista\r\n Stage dialogo = new Stage();\r\n dialogo.setTitle(\"Solicitud RMA\");\r\n dialogo.initModality(Modality.WINDOW_MODAL);\r\n dialogo.initOwner(primerStage);\r\n Scene escena = new Scene(vistaCrear);\r\n dialogo.setScene(escena);\r\n\r\n //Annadir controlador y datos\r\n ControladorCrearSolicitud controlador = loader.getController();\r\n controlador.setDialog(dialogo, primerStage);\r\n\r\n //Carga el numero de Referencia\r\n int numReferencia = DAORma.crearReferencia();\r\n\r\n //Modifica el dialogo para que no se pueda cambiar el tamaño y lo muestra\r\n dialogo.setResizable(false);\r\n dialogo.showAndWait();\r\n\r\n } catch (IOException e) {\r\n e.printStackTrace();\r\n }\r\n }",
"public Venda() {\n initComponents();\n }",
"public Venda() {\n initComponents();\n }",
"private void createBtnActionPerformed(java.awt.event.ActionEvent evt) {\n\n staff.setName(regName.getText());\n staff.setID(regID.getText());\n staff.setPassword(regPwd.getText());\n staff.setPosition(regPos.getSelectedItem().toString());\n staff.setGender(regGender.getSelectedItem().toString());\n staff.setEmail(regEmail.getText());\n staff.setPhoneNo(regPhone.getText());\n staff.addStaff();\n if (staff.getPosition().equals(\"Vet\")) {\n Vet vet = new Vet();\n vet.setExpertise(regExp.getSelectedItem().toString());\n vet.setExpertise_2(regExp2.getSelectedItem().toString());\n vet.addExpertise(staff.getID());\n }\n JOptionPane.showMessageDialog(null, \"User added to database\");\n updateJTable();\n }"
]
| [
"0.6239281",
"0.6167339",
"0.6145207",
"0.60903704",
"0.6081319",
"0.6030983",
"0.5979915",
"0.5951382",
"0.5903633",
"0.587326",
"0.57901454",
"0.57598746",
"0.5754871",
"0.57453436",
"0.5730986",
"0.57302195",
"0.5726819",
"0.5719337",
"0.5712218",
"0.5706713",
"0.5696552",
"0.5689814",
"0.5688517",
"0.5662021",
"0.5654733",
"0.5654416",
"0.5643028",
"0.56354666",
"0.56281984",
"0.5620635",
"0.5619247",
"0.5617214",
"0.5602273",
"0.55869526",
"0.5584311",
"0.55839163",
"0.5576383",
"0.55762607",
"0.5572814",
"0.5569334",
"0.55660635",
"0.55653656",
"0.55639017",
"0.555334",
"0.5551083",
"0.5548342",
"0.5542726",
"0.5542649",
"0.5540585",
"0.5539597",
"0.55253744",
"0.55212784",
"0.5510454",
"0.55098516",
"0.55048",
"0.54940706",
"0.54935235",
"0.5486736",
"0.54852253",
"0.5485178",
"0.5485178",
"0.5485178",
"0.5485178",
"0.5479033",
"0.5474515",
"0.5467756",
"0.5465079",
"0.5462049",
"0.5455325",
"0.5453761",
"0.5450496",
"0.5450046",
"0.54474735",
"0.54413444",
"0.543721",
"0.54359764",
"0.5433423",
"0.5433317",
"0.5430616",
"0.5423239",
"0.54182225",
"0.541323",
"0.54102993",
"0.54041386",
"0.5403624",
"0.539599",
"0.53956205",
"0.53916925",
"0.53909254",
"0.53898525",
"0.5381729",
"0.5381101",
"0.5366328",
"0.53610885",
"0.53403234",
"0.5338795",
"0.5337133",
"0.5321136",
"0.5321136",
"0.53206843"
]
| 0.57617515 | 11 |
This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor. | @SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() {
jPanel1 = new javax.swing.JPanel();
jLabel3 = new javax.swing.JLabel();
jLabel2 = new javax.swing.JLabel();
cedulaTxt = new javax.swing.JTextField();
jLabel4 = new javax.swing.JLabel();
nombreApellidoTxt = new javax.swing.JTextField();
jLabel5 = new javax.swing.JLabel();
telfTxt = new javax.swing.JTextField();
jLabel6 = new javax.swing.JLabel();
direccionTxt = new javax.swing.JTextField();
jLabel7 = new javax.swing.JLabel();
sueldoTxt = new javax.swing.JTextField();
jLabel8 = new javax.swing.JLabel();
agregar = new javax.swing.JButton();
cancelar = new javax.swing.JButton();
jLabel9 = new javax.swing.JLabel();
jLabel10 = new javax.swing.JLabel();
nutricionTxt = new javax.swing.JTextField();
jLabel11 = new javax.swing.JLabel();
turnoCombo = new javax.swing.JComboBox();
areaTxt = new javax.swing.JTextField();
jLabel12 = new javax.swing.JLabel();
jLabel13 = new javax.swing.JLabel();
jLabel14 = new javax.swing.JLabel();
jLabel15 = new javax.swing.JLabel();
jLabel17 = new javax.swing.JLabel();
jLabel18 = new javax.swing.JLabel();
jLabel19 = new javax.swing.JLabel();
rutinaTxt = new javax.swing.JComboBox();
jLabel1 = new javax.swing.JLabel();
setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
setTitle("REGISTRAR INSTRUCTOR");
getContentPane().setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());
jPanel1.setOpaque(false);
jLabel3.setIcon(new javax.swing.ImageIcon(getClass().getResource("/imagenes/instructor.png"))); // NOI18N
jLabel2.setFont(new java.awt.Font("Arial", 1, 11)); // NOI18N
jLabel2.setText("CEDULA");
cedulaTxt.addMouseListener(new java.awt.event.MouseAdapter() {
public void mousePressed(java.awt.event.MouseEvent evt) {
cedulaTxtMousePressed(evt);
}
});
cedulaTxt.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
cedulaTxtActionPerformed(evt);
}
});
cedulaTxt.addKeyListener(new java.awt.event.KeyAdapter() {
public void keyTyped(java.awt.event.KeyEvent evt) {
cedulaTxtKeyTyped(evt);
}
});
jLabel4.setFont(new java.awt.Font("Arial", 1, 11)); // NOI18N
jLabel4.setText("NOMBRE Y APELLIDO");
nombreApellidoTxt.addMouseListener(new java.awt.event.MouseAdapter() {
public void mousePressed(java.awt.event.MouseEvent evt) {
nombreApellidoTxtMousePressed(evt);
}
});
nombreApellidoTxt.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
nombreApellidoTxtActionPerformed(evt);
}
});
nombreApellidoTxt.addKeyListener(new java.awt.event.KeyAdapter() {
public void keyTyped(java.awt.event.KeyEvent evt) {
nombreApellidoTxtKeyTyped(evt);
}
});
jLabel5.setFont(new java.awt.Font("Arial", 1, 11)); // NOI18N
jLabel5.setText("TELEFONO");
telfTxt.addMouseListener(new java.awt.event.MouseAdapter() {
public void mousePressed(java.awt.event.MouseEvent evt) {
telfTxtMousePressed(evt);
}
});
telfTxt.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
telfTxtActionPerformed(evt);
}
});
telfTxt.addKeyListener(new java.awt.event.KeyAdapter() {
public void keyTyped(java.awt.event.KeyEvent evt) {
telfTxtKeyTyped(evt);
}
});
jLabel6.setFont(new java.awt.Font("Arial", 1, 11)); // NOI18N
jLabel6.setText("DIRECCION");
direccionTxt.addMouseListener(new java.awt.event.MouseAdapter() {
public void mousePressed(java.awt.event.MouseEvent evt) {
direccionTxtMousePressed(evt);
}
});
direccionTxt.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
direccionTxtActionPerformed(evt);
}
});
direccionTxt.addKeyListener(new java.awt.event.KeyAdapter() {
public void keyTyped(java.awt.event.KeyEvent evt) {
direccionTxtKeyTyped(evt);
}
});
jLabel7.setFont(new java.awt.Font("Arial", 1, 11)); // NOI18N
jLabel7.setText(" SUELDO");
sueldoTxt.addMouseListener(new java.awt.event.MouseAdapter() {
public void mousePressed(java.awt.event.MouseEvent evt) {
sueldoTxtMousePressed(evt);
}
});
sueldoTxt.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
sueldoTxtActionPerformed(evt);
}
});
sueldoTxt.addKeyListener(new java.awt.event.KeyAdapter() {
public void keyTyped(java.awt.event.KeyEvent evt) {
sueldoTxtKeyTyped(evt);
}
});
jLabel8.setFont(new java.awt.Font("Arial", 1, 11)); // NOI18N
jLabel8.setText("AREA ENTRENAMIENTO");
agregar.setText("AGREGAR");
agregar.setOpaque(false);
agregar.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
agregarActionPerformed(evt);
}
});
cancelar.setText("CANCELAR");
cancelar.setOpaque(false);
cancelar.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
cancelarActionPerformed(evt);
}
});
jLabel9.setFont(new java.awt.Font("Arial", 1, 11)); // NOI18N
jLabel9.setText("RUTINA");
jLabel10.setFont(new java.awt.Font("Arial", 1, 11)); // NOI18N
jLabel10.setText("NUTRICION");
nutricionTxt.addMouseListener(new java.awt.event.MouseAdapter() {
public void mousePressed(java.awt.event.MouseEvent evt) {
nutricionTxtMousePressed(evt);
}
});
nutricionTxt.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
nutricionTxtActionPerformed(evt);
}
});
nutricionTxt.addKeyListener(new java.awt.event.KeyAdapter() {
public void keyTyped(java.awt.event.KeyEvent evt) {
nutricionTxtKeyTyped(evt);
}
});
jLabel11.setFont(new java.awt.Font("Arial", 1, 11)); // NOI18N
jLabel11.setText("TURNO");
turnoCombo.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
turnoComboActionPerformed(evt);
}
});
areaTxt.addMouseListener(new java.awt.event.MouseAdapter() {
public void mousePressed(java.awt.event.MouseEvent evt) {
areaTxtMousePressed(evt);
}
});
areaTxt.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
areaTxtActionPerformed(evt);
}
});
areaTxt.addKeyListener(new java.awt.event.KeyAdapter() {
public void keyTyped(java.awt.event.KeyEvent evt) {
areaTxtKeyTyped(evt);
}
});
jLabel12.setForeground(new java.awt.Color(255, 0, 0));
jLabel12.setText("*");
jLabel13.setForeground(new java.awt.Color(255, 0, 0));
jLabel13.setText("*");
jLabel14.setForeground(new java.awt.Color(255, 0, 0));
jLabel14.setText("*");
jLabel15.setForeground(new java.awt.Color(255, 0, 0));
jLabel15.setText("*");
jLabel17.setForeground(new java.awt.Color(255, 0, 0));
jLabel17.setText("*");
jLabel18.setForeground(new java.awt.Color(255, 0, 0));
jLabel18.setText("*");
jLabel19.setForeground(new java.awt.Color(255, 0, 0));
jLabel19.setText("*");
javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
jPanel1.setLayout(jPanel1Layout);
jPanel1Layout.setHorizontalGroup(
jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel1Layout.createSequentialGroup()
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel1Layout.createSequentialGroup()
.addComponent(jLabel3)
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel1Layout.createSequentialGroup()
.addGap(50, 50, 50)
.addComponent(jLabel2)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jLabel12)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(cedulaTxt, javax.swing.GroupLayout.PREFERRED_SIZE, 102, javax.swing.GroupLayout.PREFERRED_SIZE))
.addGroup(jPanel1Layout.createSequentialGroup()
.addGap(18, 18, 18)
.addComponent(jLabel4)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 13, Short.MAX_VALUE)
.addComponent(jLabel13)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(nombreApellidoTxt, javax.swing.GroupLayout.PREFERRED_SIZE, 102, javax.swing.GroupLayout.PREFERRED_SIZE))
.addGroup(jPanel1Layout.createSequentialGroup()
.addGap(149, 149, 149)
.addComponent(turnoCombo, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
.addGroup(jPanel1Layout.createSequentialGroup()
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel1Layout.createSequentialGroup()
.addGap(50, 50, 50)
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel6)
.addComponent(jLabel5))
.addGap(42, 42, 42))
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
.addGroup(jPanel1Layout.createSequentialGroup()
.addGap(53, 53, 53)
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel11)
.addComponent(jLabel9))
.addGap(41, 41, 41))
.addGroup(javax.swing.GroupLayout.Alignment.LEADING, jPanel1Layout.createSequentialGroup()
.addGap(41, 41, 41)
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
.addComponent(jLabel10)
.addComponent(jLabel7))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jLabel17, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 6, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jLabel18, javax.swing.GroupLayout.Alignment.TRAILING))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)))
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(nutricionTxt)
.addComponent(rutinaTxt, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))))
.addGroup(jPanel1Layout.createSequentialGroup()
.addComponent(agregar)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(cancelar))
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()
.addGap(0, 0, Short.MAX_VALUE)
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
.addComponent(jLabel15, javax.swing.GroupLayout.PREFERRED_SIZE, 6, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jLabel14, javax.swing.GroupLayout.PREFERRED_SIZE, 6, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
.addComponent(telfTxt)
.addComponent(direccionTxt)
.addComponent(sueldoTxt, javax.swing.GroupLayout.DEFAULT_SIZE, 102, Short.MAX_VALUE)))
.addGroup(jPanel1Layout.createSequentialGroup()
.addGap(60, 60, 60)
.addComponent(jLabel8)
.addGap(18, 18, 18)
.addComponent(jLabel19)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(areaTxt)))
.addContainerGap())
);
jPanel1Layout.setVerticalGroup(
jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel1Layout.createSequentialGroup()
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel1Layout.createSequentialGroup()
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jLabel2)
.addComponent(cedulaTxt, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jLabel12))
.addGap(18, 18, 18)
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(nombreApellidoTxt, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jLabel4))
.addComponent(jLabel13, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE))
.addGap(18, 18, 18)
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(telfTxt, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jLabel14))
.addComponent(jLabel5))
.addGap(18, 18, 18)
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(direccionTxt, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jLabel6)
.addComponent(jLabel15)))
.addComponent(jLabel3))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 24, Short.MAX_VALUE)
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(sueldoTxt, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jLabel7)
.addComponent(jLabel17))
.addGap(22, 22, 22)
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jLabel11)
.addComponent(turnoCombo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addGap(19, 19, 19)
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jLabel9)
.addComponent(rutinaTxt, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addGap(18, 18, 18)
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(nutricionTxt, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jLabel10)
.addComponent(jLabel18))
.addGap(21, 21, 21)
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jLabel8)
.addComponent(areaTxt, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jLabel19))
.addGap(19, 19, 19)
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(agregar)
.addComponent(cancelar)))
);
getContentPane().add(jPanel1, new org.netbeans.lib.awtextra.AbsoluteConstraints(30, 30, 330, 380));
jLabel1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/imagenes/FONDO INICIO_1.png"))); // NOI18N
getContentPane().add(jLabel1, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 400, 450));
pack();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Form() {\n initComponents();\n }",
"public MainForm() {\n initComponents();\n }",
"public MainForm() {\n initComponents();\n }",
"public MainForm() {\n initComponents();\n }",
"public frmRectangulo() {\n initComponents();\n }",
"public form() {\n initComponents();\n }",
"public AdjointForm() {\n initComponents();\n setDefaultCloseOperation(HIDE_ON_CLOSE);\n }",
"public FormListRemarking() {\n initComponents();\n }",
"public MainForm() {\n initComponents();\n \n }",
"public FormPemilihan() {\n initComponents();\n }",
"public GUIForm() { \n initComponents();\n }",
"public FrameForm() {\n initComponents();\n }",
"public TorneoForm() {\n initComponents();\n }",
"public FormCompra() {\n initComponents();\n }",
"public muveletek() {\n initComponents();\n }",
"public Interfax_D() {\n initComponents();\n }",
"public quanlixe_form() {\n initComponents();\n }",
"public SettingsForm() {\n initComponents();\n }",
"public RegistrationForm() {\n initComponents();\n this.setLocationRelativeTo(null);\n }",
"public Soru1() {\n initComponents();\n }",
"public FMainForm() {\n initComponents();\n this.setResizable(false);\n setLocationRelativeTo(null);\n }",
"public soal2GUI() {\n initComponents();\n }",
"public EindopdrachtGUI() {\n initComponents();\n }",
"public MechanicForm() {\n initComponents();\n }",
"public AddDocumentLineForm(java.awt.Frame parent) {\n super(parent);\n initComponents();\n myInit();\n }",
"public BloodDonationGUI() {\n initComponents();\n }",
"public quotaGUI() {\n initComponents();\n }",
"public Customer_Form() {\n initComponents();\n setSize(890,740);\n \n \n }",
"public PatientUI() {\n initComponents();\n }",
"public myForm() {\n\t\t\tinitComponents();\n\t\t}",
"public Oddeven() {\n initComponents();\n }",
"public intrebarea() {\n initComponents();\n }",
"public Magasin() {\n initComponents();\n }",
"public RadioUI()\n {\n initComponents();\n }",
"public NewCustomerGUI() {\n initComponents();\n }",
"public ZobrazUdalost() {\n initComponents();\n }",
"public FormUtama() {\n initComponents();\n }",
"public p0() {\n initComponents();\n }",
"public INFORMACION() {\n initComponents();\n this.setLocationRelativeTo(null); \n }",
"public ProgramForm() {\n setLookAndFeel();\n initComponents();\n }",
"public AmountReleasedCommentsForm() {\r\n initComponents();\r\n }",
"public form2() {\n initComponents();\n }",
"public MainForm() {\n\t\tsuper(\"Hospital\", List.IMPLICIT);\n\n\t\tstartComponents();\n\t}",
"public kunde() {\n initComponents();\n }",
"public LixeiraForm() {\n initComponents();\n setLocationRelativeTo(null);\n }",
"@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n setName(\"Form\"); // NOI18N\n setRequestFocusEnabled(false);\n setVerifyInputWhenFocusTarget(false);\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);\n this.setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 465, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 357, Short.MAX_VALUE)\n );\n }",
"public frmMain() {\n initComponents();\n }",
"public frmMain() {\n initComponents();\n }",
"public MusteriEkle() {\n initComponents();\n }",
"public DESHBORDPANAL() {\n initComponents();\n }",
"public GUIForm() {\n initComponents();\n inputField.setText(NO_FILE_SELECTED);\n outputField.setText(NO_FILE_SELECTED);\n progressLabel.setBackground(INFO);\n progressLabel.setText(SELECT_FILE);\n }",
"public frmVenda() {\n initComponents();\n }",
"public Botonera() {\n initComponents();\n }",
"public FrmMenu() {\n initComponents();\n }",
"public OffertoryGUI() {\n initComponents();\n setTypes();\n }",
"public JFFornecedores() {\n initComponents();\n }",
"@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents()\n {\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n setBackground(new java.awt.Color(255, 255, 255));\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 983, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 769, Short.MAX_VALUE)\n );\n\n pack();\n }",
"public EnterDetailsGUI() {\n initComponents();\n }",
"public vpemesanan1() {\n initComponents();\n }",
"public Kost() {\n initComponents();\n }",
"public UploadForm() {\n initComponents();\n }",
"public FormHorarioSSE() {\n initComponents();\n }",
"public frmacceso() {\n initComponents();\n }",
"public HW3() {\n initComponents();\n }",
"public Managing_Staff_Main_Form() {\n initComponents();\n }",
"@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents()\n {\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n getContentPane().setLayout(null);\n\n pack();\n }",
"@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n setName(\"Form\"); // NOI18N\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);\n this.setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 400, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 300, Short.MAX_VALUE)\n );\n }",
"public sinavlar2() {\n initComponents();\n }",
"public P0405() {\n initComponents();\n }",
"public IssueBookForm() {\n initComponents();\n }",
"public MiFrame2() {\n initComponents();\n }",
"public Choose1() {\n initComponents();\n }",
"public MainForm() {\n initComponents();\n\n String oldAuthor = prefs.get(\"AUTHOR\", \"\");\n if(oldAuthor != null) {\n this.authorTextField.setText(oldAuthor);\n }\n String oldBook = prefs.get(\"BOOK\", \"\");\n if(oldBook != null) {\n this.bookTextField.setText(oldBook);\n }\n String oldDisc = prefs.get(\"DISC\", \"\");\n if(oldDisc != null) {\n try {\n int oldDiscNum = Integer.parseInt(oldDisc);\n oldDiscNum++;\n this.discNumberTextField.setText(Integer.toString(oldDiscNum));\n } catch (Exception ex) {\n this.discNumberTextField.setText(oldDisc);\n }\n this.bookTextField.setText(oldBook);\n }\n\n\n }",
"public GUI_StudentInfo() {\n initComponents();\n }",
"public JFrmPrincipal() {\n initComponents();\n }",
"public Lihat_Dokter_Keseluruhan() {\n initComponents();\n }",
"public bt526() {\n initComponents();\n }",
"public Pemilihan_Dokter() {\n initComponents();\n }",
"public Ablak() {\n initComponents();\n }",
"@Override\n\tprotected void initUi() {\n\t\t\n\t}",
"@SuppressWarnings(\"unchecked\")\n\t// <editor-fold defaultstate=\"collapsed\" desc=\"Generated\n\t// Code\">//GEN-BEGIN:initComponents\n\tprivate void initComponents() {\n\n\t\tlabel1 = new java.awt.Label();\n\t\tlabel2 = new java.awt.Label();\n\t\tlabel3 = new java.awt.Label();\n\t\tlabel4 = new java.awt.Label();\n\t\tlabel5 = new java.awt.Label();\n\t\tlabel6 = new java.awt.Label();\n\t\tlabel7 = new java.awt.Label();\n\t\tlabel8 = new java.awt.Label();\n\t\tlabel9 = new java.awt.Label();\n\t\tlabel10 = new java.awt.Label();\n\t\ttextField1 = new java.awt.TextField();\n\t\ttextField2 = new java.awt.TextField();\n\t\tlabel14 = new java.awt.Label();\n\t\tlabel15 = new java.awt.Label();\n\t\tlabel16 = new java.awt.Label();\n\t\ttextField3 = new java.awt.TextField();\n\t\ttextField4 = new java.awt.TextField();\n\t\ttextField5 = new java.awt.TextField();\n\t\tlabel17 = new java.awt.Label();\n\t\tlabel18 = new java.awt.Label();\n\t\tlabel19 = new java.awt.Label();\n\t\tlabel20 = new java.awt.Label();\n\t\tlabel21 = new java.awt.Label();\n\t\tlabel22 = new java.awt.Label();\n\t\ttextField6 = new java.awt.TextField();\n\t\ttextField7 = new java.awt.TextField();\n\t\ttextField8 = new java.awt.TextField();\n\t\tlabel23 = new java.awt.Label();\n\t\ttextField9 = new java.awt.TextField();\n\t\ttextField10 = new java.awt.TextField();\n\t\ttextField11 = new java.awt.TextField();\n\t\ttextField12 = new java.awt.TextField();\n\t\tlabel24 = new java.awt.Label();\n\t\tlabel25 = new java.awt.Label();\n\t\tlabel26 = new java.awt.Label();\n\t\tlabel27 = new java.awt.Label();\n\t\tlabel28 = new java.awt.Label();\n\t\tlabel30 = new java.awt.Label();\n\t\tlabel31 = new java.awt.Label();\n\t\tlabel32 = new java.awt.Label();\n\t\tjButton1 = new javax.swing.JButton();\n\n\t\tlabel1.setFont(new java.awt.Font(\"Segoe UI Semibold\", 0, 18)); // NOI18N\n\t\tlabel1.setText(\"It seems that some of the buttons on the ATM machine are not working!\");\n\n\t\tlabel2.setFont(new java.awt.Font(\"Segoe UI Semibold\", 0, 18)); // NOI18N\n\t\tlabel2.setText(\"Unfortunately these numbers are exactly what Professor has to use to type in his password.\");\n\n\t\tlabel3.setFont(new java.awt.Font(\"Segoe UI Semibold\", 0, 18)); // NOI18N\n\t\tlabel3.setText(\n\t\t\t\t\"If you want to eat tonight, you have to help him out and construct the numbers of the password with the working buttons and math operators.\");\n\n\t\tlabel4.setFont(new java.awt.Font(\"Segoe UI Semibold\", 0, 14)); // NOI18N\n\t\tlabel4.setText(\"Denver's Password: 2792\");\n\n\t\tlabel5.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel5.setText(\"import java.util.Scanner;\\n\");\n\n\t\tlabel6.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel6.setText(\"public class ATM{\");\n\n\t\tlabel7.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel7.setText(\"public static void main(String[] args){\");\n\n\t\tlabel8.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel8.setText(\"System.out.print(\");\n\n\t\tlabel9.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel9.setText(\" -\");\n\n\t\tlabel10.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel10.setText(\");\");\n\n\t\ttextField1.addActionListener(new java.awt.event.ActionListener() {\n\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent evt) {\n\t\t\t\ttextField1ActionPerformed(evt);\n\t\t\t}\n\t\t});\n\n\t\tlabel14.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel14.setText(\"System.out.print( (\");\n\n\t\tlabel15.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel15.setText(\"System.out.print(\");\n\n\t\tlabel16.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel16.setText(\"System.out.print( ( (\");\n\n\t\tlabel17.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel17.setText(\")\");\n\n\t\tlabel18.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel18.setText(\" +\");\n\n\t\tlabel19.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel19.setText(\");\");\n\n\t\tlabel20.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel20.setText(\" /\");\n\n\t\tlabel21.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel21.setText(\" %\");\n\n\t\tlabel22.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel22.setText(\" +\");\n\n\t\tlabel23.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel23.setText(\");\");\n\n\t\tlabel24.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel24.setText(\" +\");\n\n\t\tlabel25.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel25.setText(\" /\");\n\n\t\tlabel26.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel26.setText(\" *\");\n\n\t\tlabel27.setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));\n\t\tlabel27.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel27.setText(\")\");\n\n\t\tlabel28.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel28.setText(\")\");\n\n\t\tlabel30.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel30.setText(\"}\");\n\n\t\tlabel31.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel31.setText(\"}\");\n\n\t\tlabel32.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel32.setText(\");\");\n\n\t\tjButton1.setFont(new java.awt.Font(\"Segoe UI Semibold\", 0, 14)); // NOI18N\n\t\tjButton1.setText(\"Check\");\n\t\tjButton1.addActionListener(new java.awt.event.ActionListener() {\n\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent evt) {\n\t\t\t\tjButton1ActionPerformed(evt);\n\t\t\t}\n\t\t});\n\n\t\tjavax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);\n\t\tlayout.setHorizontalGroup(layout.createParallelGroup(Alignment.LEADING)\n\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(28).addGroup(layout\n\t\t\t\t\t\t.createParallelGroup(Alignment.LEADING).addComponent(getDoneButton()).addComponent(jButton1)\n\t\t\t\t\t\t.addComponent(label7, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addComponent(label6, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addComponent(label5, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addComponent(label4, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addComponent(label3, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t.addComponent(label1, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t.addGap(1)\n\t\t\t\t\t\t\t\t.addComponent(label2, GroupLayout.PREFERRED_SIZE, 774, GroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t.addGap(92).addGroup(layout.createParallelGroup(Alignment.LEADING).addGroup(layout\n\t\t\t\t\t\t\t\t\t\t.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING, false)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label15, GroupLayout.PREFERRED_SIZE, 145,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField8, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(2)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label21, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField7, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label8, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField1, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label9, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED).addComponent(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttextField2, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label31, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label14, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(37))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(174)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField5, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t20, GroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label18, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(7)))\n\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING).addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.TRAILING, false).addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField4, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t20, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label17, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label22, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField9, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t20, GroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t.addGap(20)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label23, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label20, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField3, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t20, GroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t.addGap(20).addComponent(label19, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(23).addComponent(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tlabel10, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))))\n\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label16, GroupLayout.PREFERRED_SIZE, 177,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField12, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label24, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField6, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label27, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label25, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField11, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label28, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGap(1)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label26, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField10, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED).addComponent(label32,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))))\n\t\t\t\t\t\t.addComponent(label30, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t.addContainerGap(GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)));\n\t\tlayout.setVerticalGroup(\n\t\t\t\tlayout.createParallelGroup(Alignment.LEADING).addGroup(layout.createSequentialGroup().addContainerGap()\n\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t.addComponent(label1, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t.addComponent(label2, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t.addGap(1)\n\t\t\t\t\t\t.addComponent(label3, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addComponent(label4, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addComponent(label5, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addComponent(label6, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addComponent(label7, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\tAlignment.TRAILING)\n\t\t\t\t\t\t\t\t.addGroup(\n\t\t\t\t\t\t\t\t\t\tlayout.createSequentialGroup().addGroup(layout.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\t\t\tAlignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createSequentialGroup().addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.TRAILING).addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label9,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label8,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField1,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttextField2, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label10,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(3)))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(19)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField5,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label14,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label18,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label17,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField4,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(1))))\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label20, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label19, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField3, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(78)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label27, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(76)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField11, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(75)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label32,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField10,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tShort.MAX_VALUE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.TRAILING, false)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAlignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label15,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField8,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label21,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField7,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(27))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAlignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField9,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAlignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label22,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlayout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(3)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlabel23,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(29)))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label16,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField12,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAlignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label24,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField6,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(1))))))\n\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t.addComponent(label25, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t.addComponent(label28, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t.addComponent(label26, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t.addGap(30)\n\t\t\t\t\t\t.addComponent(label31, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addGap(25)\n\t\t\t\t\t\t.addComponent(label30, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addGap(26).addComponent(jButton1).addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addComponent(getDoneButton()).addContainerGap(23, Short.MAX_VALUE)));\n\t\tthis.setLayout(layout);\n\n\t\tlabel16.getAccessibleContext().setAccessibleName(\"System.out.print( ( (\");\n\t\tlabel17.getAccessibleContext().setAccessibleName(\"\");\n\t\tlabel18.getAccessibleContext().setAccessibleName(\" +\");\n\t}",
"public Pregunta23() {\n initComponents();\n }",
"public FormMenuUser() {\n super(\"Form Menu User\");\n initComponents();\n }",
"public AvtekOkno() {\n initComponents();\n }",
"public busdet() {\n initComponents();\n }",
"public ViewPrescriptionForm() {\n initComponents();\n }",
"public Ventaform() {\n initComponents();\n }",
"public Kuis2() {\n initComponents();\n }",
"public CreateAccount_GUI() {\n initComponents();\n }",
"public POS1() {\n initComponents();\n }",
"public Carrera() {\n initComponents();\n }",
"public EqGUI() {\n initComponents();\n }",
"public JFriau() {\n initComponents();\n this.setLocationRelativeTo(null);\n this.setTitle(\"BuNus - Budaya Nusantara\");\n }",
"@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n setBackground(new java.awt.Color(204, 204, 204));\n setMinimumSize(new java.awt.Dimension(1, 1));\n setPreferredSize(new java.awt.Dimension(760, 402));\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);\n this.setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 750, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 400, Short.MAX_VALUE)\n );\n }",
"public nokno() {\n initComponents();\n }",
"public dokter() {\n initComponents();\n }",
"public ConverterGUI() {\n initComponents();\n }",
"public hitungan() {\n initComponents();\n }",
"public Modify() {\n initComponents();\n }",
"public frmAddIncidencias() {\n initComponents();\n }",
"public FP_Calculator_GUI() {\n initComponents();\n \n setVisible(true);\n }"
]
| [
"0.73197734",
"0.72914416",
"0.72914416",
"0.72914416",
"0.72862023",
"0.72487676",
"0.7213741",
"0.7207628",
"0.7196503",
"0.7190263",
"0.71850693",
"0.71594703",
"0.7147939",
"0.7093137",
"0.70808756",
"0.70566356",
"0.6987119",
"0.69778043",
"0.6955563",
"0.6953879",
"0.6945632",
"0.6943359",
"0.69363457",
"0.6931661",
"0.6927987",
"0.6925778",
"0.6925381",
"0.69117576",
"0.6911631",
"0.68930036",
"0.6892348",
"0.6890817",
"0.68904495",
"0.6889411",
"0.68838716",
"0.6881747",
"0.6881229",
"0.68778914",
"0.6876094",
"0.6874808",
"0.68713",
"0.6859444",
"0.6856188",
"0.68556464",
"0.6855074",
"0.68549985",
"0.6853093",
"0.6853093",
"0.68530816",
"0.6843091",
"0.6837124",
"0.6836549",
"0.6828579",
"0.68282986",
"0.68268806",
"0.682426",
"0.6823653",
"0.6817904",
"0.68167645",
"0.68102163",
"0.6808751",
"0.680847",
"0.68083245",
"0.6807882",
"0.6802814",
"0.6795573",
"0.6794048",
"0.6792466",
"0.67904556",
"0.67893785",
"0.6789265",
"0.6788365",
"0.67824304",
"0.6766916",
"0.6765524",
"0.6765339",
"0.67571205",
"0.6755559",
"0.6751974",
"0.67510027",
"0.67433685",
"0.67390305",
"0.6737053",
"0.673608",
"0.6733373",
"0.67271507",
"0.67262334",
"0.67205364",
"0.6716807",
"0.67148036",
"0.6714143",
"0.67090863",
"0.67077154",
"0.67046666",
"0.6701339",
"0.67006236",
"0.6699842",
"0.66981244",
"0.6694887",
"0.6691074",
"0.66904294"
]
| 0.0 | -1 |
Creates new form Return | public Return() {
super("Return Book");
initComponents();
conn=javaconnect.ConnectDb();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public static Result newForm() {\n return ok(newForm.render(palletForm, setOfArticleForm));\n }",
"FORM createFORM();",
"public String formCreated()\r\n {\r\n return formError(\"201 Created\",\"Object was created\");\r\n }",
"@RequestMapping(value = \"/new\", method = RequestMethod.POST)\n public Object newAuctionx(@ModelAttribute @Valid AuctionForm form, BindingResult result) throws SQLException {\n if(result.hasErrors()) {\n StringBuilder message = new StringBuilder();\n for(FieldError error: result.getFieldErrors()) {\n message.append(error.getField()).append(\" - \").append(error.getRejectedValue()).append(\"\\n\");\n }\n ModelAndView modelAndView = (ModelAndView)newAuction();\n modelAndView.addObject(\"message\", message);\n modelAndView.addObject(\"form\", form);\n return modelAndView;\n }\n String username = SecurityContextHolder.getContext().getAuthentication().getName();\n UserAuthentication userAuth = UserAuthentication.select(UserAuthentication.class, \"SELECT * FROM user_authentication WHERE username=#1#\", username);\n AuctionWrapper wrapper = new AuctionWrapper();\n wrapper.setDemandResourceId(form.getDemandedResourceId());\n wrapper.setDemandAmount(form.getDemandedAmount());\n wrapper.setOfferResourceId(form.getOfferedResourceId());\n wrapper.setOfferAmount(form.getOfferedAmount());\n wrapper.setSellerId(userAuth.getPlayerId());\n auctionRestTemplate.post(auctionURL + \"/new\", wrapper, String.class);\n return new RedirectView(\"/player/trading\");\n }",
"public static Result startNewForm() {\r\n\t\tString formName = ChangeOrderForm.NAME;\r\n\t\tDecision firstDecision = CMSGuidedFormFill.startNewForm(formName,\r\n\t\t\t\tCMSSession.getEmployeeName(), CMSSession.getEmployeeId());\r\n\t\treturn ok(backdrop.render(firstDecision));\r\n\t}",
"public String create() {\n\n if (log.isDebugEnabled()) {\n log.debug(\"create()\");\n }\n FacesContext context = FacesContext.getCurrentInstance();\n StringBuffer sb = registration(context);\n sb.append(\"?action=Create\");\n forward(context, sb.toString());\n return (null);\n\n }",
"@RequestMapping(value = \"/report.create\", method = RequestMethod.GET)\n @ResponseBody public ModelAndView newreportForm(HttpSession session) throws Exception {\n ModelAndView mav = new ModelAndView();\n mav.setViewName(\"/sysAdmin/reports/details\");\n\n //Create a new blank provider.\n reports report = new reports();\n \n mav.addObject(\"btnValue\", \"Create\");\n mav.addObject(\"reportdetails\", report);\n\n return mav;\n }",
"public ActionForward newObject(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception {\r\n PurchaseOrderItem poi = this.getPurchaseOrderItemFromRequest(request);\r\n this.checkEditPower(poi, request);\r\n this.putReceiverNoToRequest(poi, request);\r\n this.putMaxQtyToRequest(poi,null,request);\r\n\r\n if (!isBack(request)) {\r\n PurchaseOrderItemReceipt purchaseOrderItemReceipt = new PurchaseOrderItemReceipt();\r\n purchaseOrderItemReceipt.setPurchaseOrderItem(poi);\r\n BeanForm purchaseOrderItemReceiptForm = (BeanForm) getForm(\"/insertPurchaseOrderItemReceipt\", request);\r\n purchaseOrderItemReceiptForm.populateToForm(purchaseOrderItemReceipt);\r\n }\r\n\r\n this.setAdding(true,request);\r\n request.setAttribute(\"x_receiveDate\",new Date());\r\n return mapping.findForward(\"page\");\r\n }",
"public static Result postAddPaper() {\n Form<PaperFormData> formData = Form.form(PaperFormData.class).bindFromRequest();\n Paper info1 = new Paper(formData.get().title, formData.get().authors, formData.get().pages,\n formData.get().channel);\n info1.save();\n return redirect(routes.PaperController.listProject());\n }",
"@Override\r\n\tpublic ActionForward to_objectNew(ActionMapping mapping, ActionForm form,\r\n\t\t\tHttpServletRequest request, HttpServletResponse response)\r\n\t\t\tthrows KANException {\n\t\treturn null;\r\n\t}",
"@_esCocinero\n public Result crearPaso() {\n Form<Paso> frm = frmFactory.form(Paso.class).bindFromRequest();\n\n // Comprobación de errores\n if (frm.hasErrors()) {\n return status(409, frm.errorsAsJson());\n }\n\n Paso nuevoPaso = frm.get();\n\n // Comprobar autor\n String key = request().getQueryString(\"apikey\");\n if (!SeguridadFunctions.esAutorReceta(nuevoPaso.p_receta.getId(), key))\n return Results.badRequest();\n\n // Checkeamos y guardamos\n if (nuevoPaso.checkAndCreate()) {\n Cachefunctions.vaciarCacheListas(\"pasos\", Paso.numPasos(), cache);\n Cachefunctions.vaciarCacheListas(\"recetas\", Receta.numRecetas(), cache);\n return Results.created();\n } else {\n return Results.badRequest();\n }\n\n }",
"public String crea() {\n c.setId(0);\n clienteDAO.crea(c); \n //Post-Redirect-Get\n return \"visualiza?faces-redirect=true&id=\"+c.getId();\n }",
"@Override\n\tpublic void createForm(ERForm form) {\n\t\t\tString sql = \"insert into project1.reimbursementInfo (userName, fullName, thedate, eventstartdate, thelocation, description, thecost, gradingformat, passingpercentage, eventtype, filename,status,reason) values (?,?,?,?,?,?,?,?,?,?,?,?,?);\";\n\t\t\ttry {PreparedStatement stmt = conn.prepareCall(sql);\n\t\t\t//RID should auto increment, so this isnt necessary\n\t\t\t\n\t\t\tstmt.setString(1, form.getUserName());\n\t\t\tstmt.setString(2, form.getFullName());\n\t\t\tstmt.setDate(3, Date.valueOf(form.getTheDate()));\n\t\t\tstmt.setDate(4, Date.valueOf(form.getEventStartDate()));\n\t\t\tstmt.setString(5, form.getTheLocation());\n\t\t\tstmt.setString(6, form.getDescription());\n\t\t\tstmt.setDouble(7, form.getTheCost());\n\t\t\tstmt.setString(8, form.getGradingFormat());\n\t\t\tstmt.setString(9, form.getPassingPercentage());\n\t\t\tstmt.setString(10, form.getEventType());\n\t\t\tstmt.setString(11, form.getFileName());\n\t\t\tstmt.setString(12, \"pending\");\n\t\t\tstmt.setString(13, \"\");\n\t\t\tstmt.executeUpdate();\n\t\t\t\n\t\t} catch (SQLException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"@RequestMapping(method = RequestMethod.POST)\n public Bin create() {\n throw new NotImplementedException(\"To be implemented\");\n }",
"@Override\n\tpublic ModelAndView create() {\n\t\treturn null;\n\t}",
"@GetMapping(\"/service_requests/new\")\n public String newServiceRequest(Model model){\n String role = userService.getRole(userService.getCurrentUserName());\n model.addAttribute(\"role\", role);\n\n model.addAttribute(\"serviceRequest\", new ServiceRequest());\n\n return \"/forms/new_servicerequest.html\";\n }",
"@Override\n\tpublic void create(CreateCoinForm form) throws Exception {\n\t}",
"public String nuevo() {\n\n\t\tLOG.info(\"Submitado formulario, accion nuevo\");\n\t\tString view = \"/alumno/form\";\n\n\t\t// las validaciones son correctas, por lo cual los datos del formulario estan en\n\t\t// el atributo alumno\n\n\t\t// TODO simular index de la bbdd\n\t\tint id = this.alumnos.size();\n\t\tthis.alumno.setId(id);\n\n\t\tLOG.debug(\"alumno: \" + this.alumno);\n\n\t\t// TODO comprobar edad y fecha\n\n\t\talumnos.add(alumno);\n\t\tview = VIEW_LISTADO;\n\t\tmockAlumno();\n\n\t\t// mensaje flash\n\t\tFacesContext facesContext = FacesContext.getCurrentInstance();\n\t\tExternalContext externalContext = facesContext.getExternalContext();\n\t\texternalContext.getFlash().put(\"alertTipo\", \"success\");\n\t\texternalContext.getFlash().put(\"alertMensaje\", \"Alumno \" + this.alumno.getNombre() + \" creado con exito\");\n\n\t\treturn view + \"?faces-redirect=true\";\n\t}",
"public Return() {\n initComponents();\n }",
"@GetMapping(\"/create\")\n public ModelAndView create(@ModelAttribute(\"form\") final CardCreateForm form) {\n return getCreateForm(form);\n }",
"@RequestMapping(method = RequestMethod.GET)\n \tpublic String createForm(Model model, ForgotLoginForm form) {\n \t\tmodel.addAttribute(\"form\", form);\n \t\treturn \"forgotlogin/index\";\n \t}",
"private JButton createReturnButton() {\r\n exit = new JButton();\r\n exit.setBounds(215, 260, 100, 25);\r\n\r\n add(new SComponent(exit,\r\n new String[] {\"Schließen\", \"Close\"},\r\n new String[] {\"Schließt das Fenster.\",\r\n \"Closes the window.\"}));\r\n\r\n exit.addActionListener(new ActionListener() {\r\n\r\n /** Schliesst den Dialog\r\n *\r\n * @param e ActionEvent\r\n */\r\n public void actionPerformed(final ActionEvent e) {\r\n close();\r\n }\r\n });\r\n\r\n return exit;\r\n }",
"@PostMapping(\"/createAccount\")\n public ModelAndView createNewAccount(AccountCreateDTO createDTO){\n ModelAndView modelAndView = new ModelAndView();\n\n accountService.createAccount(createDTO);\n modelAndView.addObject(\"successMessage\", \"Account has been created\");\n modelAndView.setViewName(\"accountPage\");\n\n return modelAndView;\n }",
"public String actionCreateNew() {\r\n \t\tsetBook(new Book());\r\n \t\treturn \"new\";\r\n \t}",
"@GetMapping(\"/new\")\n public ModelAndView addAttributesForm() {\n return new ModelAndView(\"/sessions/session-create.html\");\n }",
"@PostMapping(\"/receta\")\n\t@ResponseStatus(HttpStatus.CREATED) // Retorna 201\n\tpublic ResponseEntity<?> create(@Valid @RequestBody Receta receta,BindingResult result){\n\t\tthis.response = new HashMap<>();\n\t\tReceta recetaNuevo = null;\n\t\t//En el caso de que tenga errores a la hora de postear, mandara un listado con dichos errores\n\t\tif(result.hasErrors()) {\n\t\t\tList<String>errors=result.getFieldErrors()\n\t\t\t\t\t.stream().map(error -> {return \"El campo '\"+error.getField()+\"' \"+error.getDefaultMessage();})\n\t\t\t\t\t.collect(Collectors.toList());\n\t\t\tthis.response.put(\"errors\",errors);\n\t\t}\n\t\t\n\t\ttry {\n\t\t\trecetaNuevo=this.recetaService.save(receta);\n\t\t}catch(DataAccessException dataEx) {\n\t\t\tthis.response.put(\"mensaje\",\"Error al insertar la receta en la base de datos\");\n\t\t\tthis.response.put(\"error\", dataEx.getMessage().concat(\" \").concat(dataEx.getMostSpecificCause().getMessage()));\n\t\t\treturn new ResponseEntity<Map<String,Object>>(this.response,HttpStatus.INTERNAL_SERVER_ERROR); // Retorna 500\n\t\t}\n\t\t\n\t\tthis.response.put(\"mensaje\",\"La receta ha sido insertado en la base de datos\");\n\t\tthis.response.put(\"coche\",recetaNuevo);\n\t\treturn new ResponseEntity<Map<String,Object>>(this.response,HttpStatus.CREATED);\n\t}",
"@GetMapping(\"/showForm\")\n public String showFormForAdd(Model theModel) {\n Customer theCustomer = new Customer();\n theModel.addAttribute(\"customer\", theCustomer);\n return \"customer-form\";\n }",
"@RequestMapping(\"/recipe/new\")\n public String newRecipe(Model model){\n model.addAttribute(\"recipe\", new RecipeCommand());\n \n return \"recipe/recipeForm\";\n }",
"private PersonCtr createCustomer()\n {\n\n // String name, String addres, int phone, int customerID\n PersonCtr c = new PersonCtr();\n String name = jTextField3.getText();\n String address = jTextPane1.getText();\n int phone = Integer.parseInt(jTextField2.getText());\n int customerID = phone;\n Customer cu = new Customer();\n cu = c.addCustomer(name, address, phone, customerID);\n JOptionPane.showMessageDialog(null, cu.getName() + \", \" + cu.getAddress()\n + \", tlf.nr.: \" + cu.getPhone() + \" er oprettet med ID nummer: \" + cu.getCustomerID()\n , \"Kunde opretttet\", JOptionPane.INFORMATION_MESSAGE);\n return c;\n\n\n }",
"public void clickCreate() {\n\t\tbtnCreate.click();\n\t}",
"@RequestMapping(\"/book/new\")\n public String newBook(Model model){\n model.addAttribute(\"book\", new Book ());\n return \"bookform\";\n }",
"@GetMapping(value = \"/create\") // https://localhost:8080/etiquetasTipoDisenio/create\n\tpublic String create(Model model) {\n\t\tetiquetasTipoDisenio etiquetasTipoDisenio = new etiquetasTipoDisenio();\n\t\tmodel.addAttribute(\"title\", \"Registro de una nuev entrega\");\n\t\tmodel.addAttribute(\"etiquetasTipoDisenio\", etiquetasTipoDisenio); // similar al ViewBag\n\t\treturn \"etiquetasTipoDisenio/form\"; // la ubicacion de la vista\n\t}",
"public String newBoleta() {\n\t\tresetForm();\n\t\treturn \"/boleta/insert.xhtml\";\n\t}",
"@GetMapping(\"/showFormForAdd\")\r\n\tpublic String showFormForAdd(Model theModel){\n\t\tCustomer theCustomer = new Customer();\r\n\t\t\r\n\t\ttheModel.addAttribute(\"customer\",theCustomer);\r\n\t\t\r\n\t\treturn \"customer-form\";\r\n\t}",
"@RequestMapping(\"/newRecipe\")\r\n\tpublic ModelAndView newRecipe() {\r\n\t\tModelAndView mav = new ModelAndView();\r\n\r\n\t\tmav.addObject(\"recipe\", new Recipe());\r\n\t\tmav.addObject(\"newFlag\", true);\r\n\t\tmav.setViewName(\"recipe/editRecipe.jsp\");\r\n\r\n\t\treturn mav;\r\n\t}",
"public static Result newProduct() {\n Form<models.Product> productForm = form(models.Product.class).bindFromRequest();\n if(productForm.hasErrors()) {\n return badRequest(\"Tag name cannot be 'tag'.\");\n }\n models.Product product = productForm.get();\n product.save();\n return ok(product.toString());\n }",
"@Override\n public boolean doAction(ActionMapping mapping, ActionForm form,\n HttpServletRequest request, HttpServletResponse response) {\n ShellReturnSupplierFormBean formBean = (ShellReturnSupplierFormBean) form;\n GasDAO gasDAO = new GasDAO();\n ShellReturnSupplierBean bean = null;\n int shellReturnSupplierId = formBean.getId();\n try {\n bean = gasDAO.getShellReturnSupplier(shellReturnSupplierId);\n } catch (Exception ex) {\n }\n boolean bNew = false;\n if (shellReturnSupplierId == 0) {\n bNew = true;\n } else {\n bNew = false;\n }\n if (bean == null) {\n bean = new ShellReturnSupplierBean();\n }\n\n boolean needUpdate = false;\n if (StringUtil.isEqual(bean.getCreatedDate(), formBean.getCreatedDate())) {\n needUpdate = true;\n }\n\n bean.setId(formBean.getId());\n bean.setCreatedDate(formBean.getCreatedDate());\n bean.setCode(formBean.getCode());\n bean.setNote(formBean.getNote());\n bean.setVendorId(formBean.getVendorId());\n bean.setVehicleId(formBean.getVehicleId());\n bean.setCreatedEmployeeId(QTUtil.getEmployeeId(request.getSession()));\n try {\n if (bNew) {\n int id = gasDAO.insertShellReturnSupplier(bean);\n formBean.setId(id);\n addShellReturnSupplierShell(formBean, needUpdate);\n } else {\n addShellReturnSupplierShell(formBean, needUpdate);\n gasDAO.updateShellReturnSupplier(bean);\n }\n } catch (Exception ex) {\n }\n return true;\n }",
"@RequestMapping(value = \"/create_report\", method = RequestMethod.POST)\n public @ResponseBody\n ModelAndView createreport(@Valid @ModelAttribute(value = \"reportdetails\") reports reportdetails, BindingResult result, HttpSession session) throws Exception {\n\n if (result.hasErrors()) {\n ModelAndView mav = new ModelAndView();\n mav.setViewName(\"/sysAdmin/reports/details\");\n mav.addObject(\"btnValue\", \"Create\");\n return mav;\n }\n \n reportmanager.createReport(reportdetails);\n\n ModelAndView mav = new ModelAndView(\"/sysAdmin/reports/details\");\n mav.addObject(\"success\", \"reportCreated\");\n return mav;\n }",
"public String createQuiz() {\n quiz = quizEJB.createQuiz(quiz);\n quizList = quizEJB.listQuiz();\n FacesContext.getCurrentInstance().addMessage(\"successForm:successInput\", new FacesMessage(FacesMessage.SEVERITY_INFO, \"Success\", \"New record added successfully\"));\n return \"quiz-list.xhtml\";\n }",
"@ResponseBody\n @PostMapping(\"/createAccount\")\n public ModelAndView postCreateAccount(@RequestParam(\"passwordProfessor2\") String password2, @ModelAttribute(\"Account\") Account newAccount, Model model)\n {\n // List of possible errors to return to user\n List<String> errors = new ArrayList<>();\n ModelAndView modelAndView = new ModelAndView();\n try\n {\n if (! password2.equals(newAccount.getPassword()))\n {\n throw new IllegalStateException(\"Passwörter stimmen nicht überein\");\n }\n Optional<Account> account = accountService.createAccount(newAccount);\n account.ifPresent(accountService::saveAccount);\n \n modelAndView.setViewName(getLogin(model.addAttribute(\"registeredEmail\", newAccount.getEmail())));\n return modelAndView;\n } catch (IllegalStateException e)\n {\n errors.add(e.getMessage());\n errors.add(\"Anmeldung Fehlgeschlagen\");\n \n modelAndView.setViewName(getRegistration(model.addAttribute(\"errorList\", errors)));\n return modelAndView;\n }\n }",
"@PostMapping(\"/directorForm\")\n public String resultDirectors(@ModelAttribute(\"newDirector\") Director director){//, BindingResult bindingResult) {\n\n// if(bindingResult.hasErrors()){\n// return \"directorForm\";\n// }\n\n directorRepo.save(director);\n return \"resultDirector\";\n }",
"public LandingPage registerNewAccount(){\n\t\taction.WaitForWebElement(linkRegisterNewAccount)\n\t\t\t .Click(linkRegisterNewAccount);\n\t\treturn this;\n\t}",
"protected ActionForward creer(ActionMapping mapping,ActionForm form , HttpServletRequest request, HttpServletResponse response, ActionErrors errors,Hashtable hParamProc ) throws ServletException{\r\n\t\t\r\n\t\tVector vParamOut = new Vector();\r\n\t\tString message=\"\";\r\n\t\tboolean msg=false;\r\n\t\t\r\n\t\tString signatureMethode =\"CompocfAction -creer( mapping, form , request, response, errors )\";\r\n\r\n\t\tlogBipUser.entry(signatureMethode);\r\n\t\r\n\t\tlogBipUser.exit(signatureMethode);\r\n\t\r\n\t return mapping.findForward(\"ecran\");\t\r\n\t}",
"@PostMapping(\"createAccount\")\n public String createAccount(@RequestParam int depositAmount, String accountName){\n CheckingAccount account = new CheckingAccount(depositAmount, accountName);\n accounts.add(account);\n currentAccount = account;\n //model.addAttribute(\"accountNumber\", account.getAccountNumber());\n return \"AccountOptions\";\n }",
"int insert( FormSubmit formResponse, Plugin plugin );",
"@Override\n public void onClick(View view) {\n startActivityForResult(new Intent(getContext(),RegistrarNotas.class),REGISTER_FORM_REQUEST);\n }",
"public void returnAct() {\r\n\t\t\r\n\t\tif(createWine() != null) {\r\n\t\t\t\r\n\t\t\ttext_amount =String.valueOf( cus.returnTransaction(createWine()));\r\n\t\t\twine_name.setText(name.getText());\r\n\t\t\tamount.setText(\" £ \" + text_amount + \" \" );\r\n\t\t\tbalance.setText(\" £ \" + isCredit((double)cus.getAccount() / 100.00) + \" \");\r\n\t\t\t\r\n\t\t\t//reset all textfield\r\n\t\t\tname.setText(null);\r\n\t\t\tquantity.setText(null);\r\n\t\t\tprice.setText(null);\r\n\t\t\t\r\n\t\t}\r\n\t\t\r\n\t\telse {\r\n\t\t\t\r\n\t\t\tname.setText(null);\r\n\t\t\tquantity.setText(null);\r\n\t\t\tprice.setText(null);\r\n\t\t\t\r\n\t\t}\r\n\t}",
"private void showNewForm(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n RequestDispatcher dispatcher = request.getRequestDispatcher(\"customer/newCustomer.jsp\");\n dispatcher.forward(request, response);\n }",
"@RequestMapping(value = \"bankRemittanceList\", method = RequestMethod.POST)\n\tpublic String createBankRemittance(@Valid @ModelAttribute BankRemittanceForm bankRemittanceForm, RedirectAttributes ra) {\n\n\t\tbankRemittanceService.createBankRemittance(DateUtils.format(bankRemittanceForm.getDateCharge(), DateUtils.FORMAT_DATE),\n\t\t\t\tDateUtils.format(bankRemittanceForm.getMonthCharge(), DateUtils.FORMAT_MONTH_YEAR));\n\t\tMessageHelper.addSuccessAttribute(ra, \"bankRemittance.successCreate\", bankRemittanceForm.getDateCharge());\n\t\treturn REDIRECT_BANKREMITTANCE;\n\t}",
"private ReturnDetail createReturnDetail(OrderDetail odetail, ReturnDocument returnDoc) {\r\n ReturnDetail rdetail = new ReturnDetail();\r\n\r\n rdetail.setCatalogItemId(odetail.getCatalogItemId());\r\n rdetail.setCatalogItem(odetail.getCatalogItem());\r\n rdetail.setReturnQuantity(0);\r\n\r\n// rdetail.setReturnItemPrice(this.getStockPriceForOrderLine(odetail));\r\n rdetail.setReturnUnitOfIssueOfCode(odetail.getStockUnitOfIssueCd());\r\n rdetail.setReturnUnitOfIssue(odetail.getStockUnitOfIssue());\r\n rdetail.setReturnItemDetailDescription(odetail.getOrderItemDetailDesc());\r\n rdetail.setReturnDoc(returnDoc);\r\n rdetail.setReturnDocNumber(returnDoc.getDocumentNumber());\r\n\r\n rdetail.setVendorHeaderGeneratedId(odetail.getVendorHeaderGeneratedId());\r\n rdetail.setVendorDetailAssignedId(odetail.getVendorDetailAssignedId());\r\n rdetail.setVendorNm(odetail.getVendorNm());\r\n rdetail.setOrderLineNumber(odetail.getItemLineNumber());\r\n\r\n if (returnDoc.isCurrDocVendorReturnDoc()) {\r\n rdetail.setReturnItemPrice(this.getVendorReturnItemPrice(odetail));\r\n rdetail.setReturnTypeCode(MMConstants.CheckinDocument.VENDOR_RETURN_ORDER_LINE);\r\n rdetail.setActionCd(MMConstants.ReturnActionCode.WAREHS);\r\n }\r\n else {\r\n rdetail.setReturnItemPrice(this.getCustomerReturnItemPrice(odetail));\r\n rdetail.setReturnTypeCode(MMConstants.CheckinDocument.CUSTOMER_ORDER_RETURN);\r\n rdetail.setActionCd(MMConstants.ReturnActionCode.CUSTOMER);\r\n }\r\n\r\n rdetail.setVendorCreditInd(false);\r\n rdetail.setVendorReshipInd(false);\r\n rdetail.setVendorDispositionInd(false);\r\n\r\n rdetail.setReqsId(odetail.getOrderDocument().getReqsId());\r\n rdetail.setPoId(odetail.getPoId());\r\n rdetail.setOrderDetailId(odetail.getOrderDetailId());\r\n rdetail.setOrderDetail(odetail);\r\n // rdetail.setr\r\n return rdetail;\r\n }",
"@RequestMapping(params = \"new\", method = RequestMethod.GET)\n\t@PreAuthorize(\"hasRole('ADMIN')\")\n\tpublic String createProductForm(Model model) { \t\n \t\n\t\t//Security information\n\t\tmodel.addAttribute(\"admin\",security.isAdmin()); \n\t\tmodel.addAttribute(\"loggedUser\", security.getLoggedInUser());\n\t\t\n\t model.addAttribute(\"product\", new Product());\n\t return \"products/newProduct\";\n\t}",
"@GetMapping(\"/createRegistro\")\n\tpublic String crearValidacion(Model model) {\n\t\tList<Barrio> localidades = barrioService.obtenerBarrios();\n\t\tmodel.addAttribute(\"localidades\",localidades);\n\t\tmodel.addAttribute(\"persona\",persona);\n\t\tmodel.addAttribute(\"validacion\",validacion);\n\t\tmodel.addAttribute(\"registro\",registro);\n\t\tmodel.addAttribute(\"barrio\",barrio);\n\t\treturn \"RegistroForm\";\n\t}",
"public void CrearNew(ActionEvent e) {\n List<Pensum> R = ejbFacade.existePensumID(super.getSelected().getIdpensum());\n if(R.isEmpty()){\n super.saveNew(e);\n }else{\n new Auxiliares().setMsj(3,\"PENSUM ID YA EXISTE\");\n }\n }",
"@Override\n\tpublic ActionForward execute(ActionMapping mapping,ActionForm form,\n\t\t\tHttpServletRequest request,HttpServletResponse response) \n\t throws Exception {\n\t\t\t\n\t\t\tCustomerForm customerForm = (CustomerForm)form;\n\t\t\tCustomer customer = new Customer();\n\t\t\t\n\t\t\t//copy customerform to model\n\t\t\tBeanUtils.copyProperties(customer, customerForm);\n\t\t\t\n\t\t\t//save it\n\t\t\tcustomerBo.addCustomer(customer);\n\t\t \n\t\t\treturn mapping.findForward(\"success\");\n\t\t}",
"@Override\n\tpublic void createItem(Object result) {\n\t\t\n\t\tunloadform();\n\t\tif (result != null) {\n\t\t\tIOTransactionLogic tr = (IOTransactionLogic) result;\n\t\t\tint year = Calendar.getInstance().get(Calendar.YEAR);\n\t\t\tint month = Calendar.getInstance().get(Calendar.MONTH);\n\t\t\t\n\t\t\tCalendar cal = Calendar.getInstance();\n\t\t\tcal.setTime(tr.getDate());\n\t\t\tint trYear = cal.get(Calendar.YEAR);\n\t\t\tint trMonth = cal.get(Calendar.MONTH);\n\t\t\t\n\t\t\tif ((year == trYear) && (month == trMonth)\n\t\t\t\t\t&& tr.getBankAccountID() == bal.getId()) {\n\t\t\t\ttransactionDisplayer trDisplayer = new transactionDisplayer(tr);\n\t\t\t\tsetDataLineChart();\n\t\t\t\tsetDataPieChart();\n\t\t\t}\n\t\t\t\n\t\t}\n\t}",
"@RequestMapping(\"/newuser\")\r\n\tpublic ModelAndView newUser() {\t\t\r\n\t\tRegister reg = new Register();\r\n\t\treg.setUser_type(\"ROLE_INDIVIDUAL\");\r\n\t\treg.setEmail_id(\"[email protected]\");\r\n\t\treg.setFirst_name(\"First Name\");\r\n\t\treg.setCity(\"pune\");\r\n\t\treg.setMb_no(new BigInteger(\"9876543210\"));\r\n\t\treturn new ModelAndView(\"register\", \"rg\", reg);\r\n\t}",
"public void saveAndCreateNew() throws Exception {\n\t\topenPrimaryButtonDropdown();\n\t\tgetControl(\"saveAndCreateNewButton\").click();\n\t}",
"@GetMapping(\"/new\")\n public String newCustomer(Model model) {\n Customer customer = new Customer();\n Address actualAddress = new Address();\n Address registeredAddress = new Address();\n customer.setActualAddress(actualAddress);\n customer.setRegisteredAddress(registeredAddress);\n model.addAttribute(CUSTOMER, customer);\n return NEW_VIEW;\n }",
"public sub_Form(HashMap<String, ReturnedValue> entry, int index){\n this.form_ID = entry.get(\"formID\").to_string();\n this.repID = entry.get(\"repID\").to_string();\n this.plantRegistry = entry.get(\"plantRegistry\").to_string();\n this.domesticOrImported = entry.get(\"domesticOrImported\").to_string();\n this.serialNumber = entry.get(\"serialNumber\").to_string();\n this.beverageType = entry.get(\"beverageType\").to_string();\n this.brandName = entry.get(\"brandName\").to_string();\n this.fancifulName = entry.get(\"fancifulName\").to_string();\n this.vintage = entry.get(\"vintage\").to_string();\n this.grapeVarietals = entry.get(\"grapeVarietals\").to_string();\n this.pHValue = entry.get(\"pHValue\").to_string();\n this.wineAppellation = entry.get(\"wineAppellation\").to_string();\n this.alcoholContent = entry.get(\"alcoholContent\").to_string();\n this.phoneNumber = entry.get(\"phoneNumber\").to_string();\n this.email = entry.get(\"email\").to_string();\n this.index = index;\n }",
"@RequestMapping(value={\"/projects/add\"}, method= RequestMethod.GET)\r\n\tpublic String createProjectForm(Model model) {\r\n\t\tUser loggedUser= sessionData.getLoggedUser();\r\n\t\tmodel.addAttribute(\"loggedUser\", loggedUser);\r\n\t\tmodel.addAttribute(\"projectForm\", new Project());\r\n\t\treturn \"addProject\";\r\n\t}",
"@RequestMapping(\"/save\")\n\tpublic String createProjectForm(Project project, Model model) {\n\t\t\n\tproRep.save(project);\n\tList<Project> getall = (List<Project>) proRep.getAll();\n\tmodel.addAttribute(\"projects\", getall);\n\t\n\treturn \"listproject\";\n\t\t\n\t}",
"private void saveForm() {\n\n if (reportWithCurrentDateExists()) {\n // Can't save this case\n return;\n }\n\n boolean isNewReport = (mRowId == null);\n\n // Get field values from the form elements\n\n // Date\n SimpleDateFormat df = new SimpleDateFormat(\"yyyy-MM-dd\");\n String date = df.format(mCalendar.getTime());\n\n // Value\n Double value;\n try {\n value = Double.valueOf(mValueText.getText().toString());\n } catch (NumberFormatException e) {\n value = 0.0;\n }\n\n // Create/update report\n boolean isSaved;\n if (isNewReport) {\n mRowId = mDbHelper.getReportPeer().createReport(mTaskId, date, value);\n isSaved = (mRowId != 0);\n } else {\n isSaved = mDbHelper.getReportPeer().updateReport(mRowId, date, value);\n }\n\n // Show toast notification\n if (isSaved) {\n int toastMessageId = isNewReport ?\n R.string.message_report_created :\n R.string.message_report_updated;\n Toast toast = Toast.makeText(getApplicationContext(), toastMessageId, Toast.LENGTH_SHORT);\n toast.show();\n }\n }",
"@GetMapping(\"/students/new\")\n\tpublic String createStudentForm(Model model) throws ParseException\n\t{\n\t\t\n\t\tStudent student=new Student(); //To hold form Data.\n\t\t\n\t\tmodel.addAttribute(\"student\",student);\n\t\t\n\t\t// go to create_student.html page\n\t\treturn \"create_student\";\n\t}",
"@GetMapping(\"/add\")\r\n\tpublic String newSave(Model model) {\r\n\t\tmodel.addAttribute(\"trainee\", new Trainee());\r\n\t\treturn \"add-trainee\";\r\n\t}",
"@RequestMapping(\"/processForm\")\n\tpublic String processForm( @Valid @ModelAttribute(\"register\") Register theRegister, BindingResult theBindingResult) {\n\t\tSystem.out.println(\"Register new: \" + theRegister.getFirstName() \n\t\t\t\t\t\t+ \" \" + theRegister.getLastName());\n\t\t\n\t\tif(theBindingResult.hasErrors()) {\n\t\t\t\n\t\t\treturn \"register-form\";\n\t\t}else {\n\t\t\treturn \"register-confirmation\";\n\t\t}\n\t\t\n\t\t\n\t\t\n\t}",
"public void crearRetirar(){ \n \t// Es necesario crear 2 metodos que son exactamente las mismas?? (crearAbonar = crearRetirar)\n \t// TODO FACTORIZE!?\n \t\n getContentPane().setLayout(new BorderLayout());\n \n p1 = new JPanel();\n\t\tp2 = new JPanel();\n \n\t\t// Not used anymore\n\t\t//String[] a={\"Regresar\",\"Continuar\"},c={\"Cuenta\",\"Monto\"};\n \n\t\t// Layout : # row, # columns\n\t\tp1.setLayout(new GridLayout(1,2));\n\t\t\n\t\t// Create the JTextField : Cuenta\n\t\t// And add it to the panel\n tf = new JTextField(\"Cuenta\");\n textos.add(tf);\n tf.setPreferredSize(new Dimension(10,100));\n p1.add(tf);\n\n\t\t// Create the JTextField : Monto\n\t\t// And add it to the panel\n tf = new JTextField(\"Monto\");\n textos.add(tf);\n tf.setPreferredSize(new Dimension(10,100));\n p1.add(tf);\n \n // Add the panel to the Frame layout\n add(p1, BorderLayout.NORTH);\n \n // Create the button Regresar\n buttonRegresar = new JButton(\"Regresar\");\n botones.add(buttonRegresar);\n\n // Create the button Continuar\n buttonContinuar = new JButton(\"Continuar\");\n botones.add(buttonContinuar);\n \n // Layout : 1 row, 2 columns\n p2.setLayout(new GridLayout(1,2));\n \n // Add the buttons to the layout\n for(JButton x:botones){\n x.setPreferredSize(new Dimension(110,110));\n p2.add(x);\n }\n \n // Add the panel to the Frame layout\n add(p2, BorderLayout.SOUTH);\n }",
"public void saveRecordReturn(RecordReturn recordreturn);",
"@PostMapping(produces = \"application/json\", consumes = \"application/json\")\n public ResponseEntity<Exam> create(@RequestBody @Valid CreateInput input, BindingResult result) {\n if (result.hasErrors()) {\n throw new BadRequestException(\"Input values are invalid.\", result.getAllErrors());\n }\n Exam exam = examsService.create(conversionService.convert(input, Exam.class));\n return ResponseEntity.accepted().body(exam);\n }",
"@GetMapping(\"/restaurante/new\")\n\tpublic String newRestaurante(Model model) {\n\t\tmodel.addAttribute(\"restaurante\", new Restaurante());\n\t\tControllerHelper.setEditMode(model, false);\n\t\tControllerHelper.addCategoriasToRequest(categoriaRestauranteRepository, model);\n\t\t\n\t\treturn \"restaurante-cadastro\";\n\t\t\n\t}",
"private PageAction getNewPaymentAction() {\n return new PageAction() {\n @Override\n public void run() { \n Parameters params = new Parameters();\n BasicMember member = data.getTransfer().getBasicMember();\n // Set if there is a member payment or system payment\n if(member != null) { \n params.set(ParameterKey.ID, member.getId()); \n } else {\n params.set(ParameterKey.IS_SYSTEM_ACCOUNT, true);\n }\n Navigation.get().go(PageAnchor.MAKE_PAYMENT, params);\n }\n @Override\n public String getLabel() { \n return messages.newPayment();\n } \n };\n }",
"protected GuiTestObject button_registerNowsubmit() \n\t{\n\t\treturn new GuiTestObject(\n getMappedTestObject(\"button_registerNowsubmit\"));\n\t}",
"public PostPO clickOnNewPost() {\n\t\tnewPost.click();\n\t\treturn new PostPO();\n\t}",
"@RequestMapping(value = \"/createentry\", method = RequestMethod.GET)\n\tpublic String navigateCreateEntry(Model model){\n\t\tmodel.addAttribute(\"entry\", new Entry());\t\n\t\treturn \"entry/createEntry\";\n\t}",
"@RequestMapping(value = \"/save\", method = RequestMethod.POST)\n\tpublic String submitCreateOfficeForm(\n\t\t\t@ModelAttribute(MODEL_ATTIRUTE_TypeLocalFondPage) TypeLocalFondPage typeLocalFondPage,\n\t\t\tBindingResult bindingResult, RedirectAttributes attributes,\n\t\t\tModel model) {\n\t\tLOGGER.debug(\"Create Office form was submitted with information: \"\n\t\t\t\t+ typeLocalFondPage);\n\n\t\tSystem.out.println(bindingResult.toString());\n\t\tSystem.out.println(typeLocalFondPage);\n\t\tSystem.out.println(typeLocalFondPage.getNotaireFk());\n\t\tif (bindingResult.hasErrors()) {\n\t\t\tif (notaireService.findAll() != null) {\n\t\t\t\tmodel.addAttribute(MODEL_ATTIRUTE_LIST_Notaire,\n\t\t\t\t\t\tnotaireService.findAll());\n\t\t\t}\n\t\t\treturn TypeLocalFondPage_ADD_FORM_VIEW;\n\t\t}\n\n\t\t// addFeedbackMessage(attributes,\n\t\t// FEEDBACK_MESSAGE_KEY_TypeFamilleCourrierLocal_CREATED,\n\t\t// typeLocalFondPage.getNom());\n\t\ttypeLocalFondPageService.create(typeLocalFondPage);\n\n\t\treturn createRedirectViewPath(TypeLocalFondPage_LIST);\n\t}",
"@RequestMapping(value = { \"/new\"}, method = RequestMethod.GET)\n\tpublic String newEntity(ModelMap model) {\n\t\tENTITY entity = createEntity();\n\n\t\tmodel.addAttribute(\"entity\", entity);\n\t\tmodel.addAttribute(\"edit\", false);\n\t\tmodel.addAttribute(\"loggedinuser\", getPrincipal());\n\t\treturn viewBaseLocation + \"/form\";\n\t}",
"Compuesta createCompuesta();",
"@GetMapping(\"/students/new\")\r\n\tpublic String createStudentForm(Model model) {\n\t\tStudent student =new Student();\r\n\t\tmodel.addAttribute(\"student\",student);\r\n\t\treturn \"create_student\";\r\n\t}",
"public String addNew() {\r\n\t\ttry {\r\n\t\t\tgetNavigationPanel(2);\r\n\t\t\treturn \"questData\";\r\n\t\t} catch(Exception e) {\r\n\t\t\tlogger.error(\"Exception in addNew in action:\" + e);\r\n\t\t\treturn null;\r\n\t\t}\r\n\t}",
"@RequestMapping(\"/new\")\n\tpublic String displayProjectForm(Model model) {\n\t\tProject aproject = new Project();\n\t//Iterable<Employee> employees = \tpro.getall();\n\t\n\t\tmodel.addAttribute(\"project\", aproject);\n\n\t\t//model.addAttribute(\"allEmployees\", employees);\n\t\t\n\t\t\n\t\treturn \"newproject\";\n\t\t\n\t}",
"public String perform(HttpServletRequest request) {\n\t\tList<String> errors = new ArrayList<String>();\n\t\trequest.setAttribute(\"errors\", errors);\n\n\t\ttry {\n\t\t\tFundForm form = formBeanFactory.create(request);\n\t\t\trequest.setAttribute(\"form\", form);\n\t\t\t\n\t\t\t//get a full fund list\n\t\t\tFundGeneralInfoBean[] fundGeneralList = fundPriceHistoryDAO.getAllFundsGeneralInfo();\n\t\t\trequest.setAttribute(\"fundGeneralList\", fundGeneralList);\n\t\t\t\n\t\t\tif (!form.isPresent()) {\n\t return \"employee-createfund.jsp\";\n\t }\n\t\n\t errors.addAll(form.getValidationErrors());\n\t if (errors.size() != 0) {\n\t return \"employee-createfund.jsp\";\n\t } \n\t \n\n\t synchronized(this){\n\t \t //test whether fundname and symbol are existed.\n\t\t FundBean fund = fundDAO.read(form.getFundName());\n\t\t FundBean symbol = fundDAO.readSymbol(form.getSymbol());\n\t\t \n\t\t \tif (fund!= null) {\n\t\t \t\terrors.add(\"Existing Fund Name\");\n\t\t \t\treturn \"employee-createfund.jsp\";\n\t\t \t}\n\t\t \tif (symbol!=null){\n\t\t \t\terrors.add(\"Existing Symbol\");\n\t\t \t\treturn \"employee-createfund.jsp\";\n\t\t \t}\n\t\t \n\t\t \tfund = new FundBean();\n\t\t\t\tfund.setSymbol(form.getSymbol());\n\t\t\t\tfund.setName(form.getFundName());\n\t\t\t\tfundDAO.create(fund);\n\t }\n\t \n\t\t\t\n\t\t\trequest.setAttribute(\"message\",\" Fund Successfully Created. Fund: \" + \"<b>\" + form.getFundName() \n\t\t\t\t\t+ \"</b>, Symbol: <b>\" + form.getSymbol() + \"</b>\");\n\t\t\t\n\t\t\treturn \"employee-confirmation.jsp\";\n\t\t\t\n\t\t} catch ( MyDAOException e) {\n\t\t\terrors.add(e.getMessage());\n\t\t\treturn \"error.jsp\";\n\t\t} catch (FormBeanException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t\treturn \"error.jsp\";\n\t\t}\n\t}",
"@RequestMapping(method = RequestMethod.POST)\n \tpublic String create(@Valid ForgotLoginForm form, BindingResult result, Model model, HttpServletRequest request) {\n \t\tvalidator.validate(form, result);\t// Validates provided information\n \t\t\n \t\t// Returns the form with errors found\n \t\tif(result.hasErrors()) {\n \t\t\treturn createForm(model, form);\n \t\t}\n \t\t\n \t\tString emailAddress = form.getEmailAddress();\t// Gets the email from the form\n \t\tTypedQuery<User> query = User.findUsersByEmailAddress(emailAddress);\t// Stores the query for the user\n \t\tUser targetUser = query.getSingleResult();\t// Stores the user found with the query\n \t\tRandom random = new Random(System.currentTimeMillis());\t// Generates a random number\n\t\tString newPassword = \"\" + Math.abs(random.nextInt());\t// Sets the string for the new password\n \t\t\n \t\t// If reset is specified\n \t\tif(form.getResetPassword())\n \t\t{\n \t\t\ttargetUser.setPassword(messageDigestPasswordEncoder.encodePassword(newPassword, null));\t// Encrypts and sets the user password\n \t\t\ttargetUser.merge();\t\t// Merges the local user with the database user\n \t\t}\n \t\t\n \t\t// Sends the user an e-mail\n \t\tSimpleMailMessage mail = new SimpleMailMessage();\n \t\tmail.setTo(targetUser.getEmailAddress());\n \t\tmail.setSubject(\"Social Web Spider Login Retrevial\");\n \t\t\n \t\t// If the user requested a password reset send that message message\n \t\tif(form.getResetPassword())\n \t\t{\n \t\t\tmail.setText(\"Hello, here is your requested login and password reset.\\n\\nUsername: \" + targetUser.getUsername() + \"\\nNew Password: \" + newPassword + \"\\n\\nThanks, Social Web Spider\");\n \t\t\tmailSender.send(mail);\n \t\t\treturn \"forgotlogin/thanks\";\n \t\t}\n \t\t\n \t\t// Send the user just an e-mail\n \t\tmail.setText(\"Hello, here is your requested login.\\n\\nUsername: \" + targetUser.getUsername() + \"\\n\\nThanks, Social Web Spider\");\n \t\tmailSender.send(mail);\n \t\treturn \"forgotlogin/thanks\";\n \t}",
"public String showAddPage(String errorMsg) \n throws HttpPresentationException, webschedulePresentationException\n { \n\n String proj_name = this.getComms().request.getParameter(PROJ_NAME);\n String password = this.getComms().request.getParameter(PASSWORD);\n String discrib = this.getComms().request.getParameter(DISCRIB);\n String indexnum = this.getComms().request.getParameter(INDEXNUM);\n String thours = this.getComms().request.getParameter(THOURS);\n String dhours = this.getComms().request.getParameter(DHOURS);\n String projectID = this.getComms().request.getParameter(PROJ_ID);\n String codeofpay = this.getComms().request.getParameter(CODEOFPAY);\n\tString contactname = this.getComms().request.getParameter(CONTACTNAME);\n\tString contactphone = this.getComms().request.getParameter(CONTACTPHONE);\n\tString billaddr1 = this.getComms().request.getParameter(BILLADDR1);\n\tString billaddr2 = this.getComms().request.getParameter(BILLADDR2);\n\tString billaddr3 = this.getComms().request.getParameter(BILLADDR3);\n\tString city = this.getComms().request.getParameter(CITY);\n\tString state = this.getComms().request.getParameter(STATE);\n\tString zip = this.getComms().request.getParameter(ZIP);\n\tString accountid = this.getComms().request.getParameter(ACCOUNTID);\n\tString isoutside = this.getComms().request.getParameter(OUTSIDE);\n\tString exp = this.getComms().request.getParameter(EXP);\n\tString expday = this.getComms().request.getParameter(EXPDAY);\n\tString expmonth = this.getComms().request.getParameter(EXPMONTH);\n\tString expyear = this.getComms().request.getParameter(EXPYEAR);\n\tString notifycontact = this.getComms().request.getParameter(NOTIFYCONTACT);\n\n\n\t // Instantiate the page object\n\t EditHTML page = new EditHTML();\n\n\tHTMLOptionElement templateOption = page.getElementTemplateOption();\n Node PersonSelect = templateOption.getParentNode();\n templateOption.removeAttribute(\"id\");\n templateOption.removeChild(templateOption.getFirstChild());\n\n if(null != this.getComms().request.getParameter(PROJ_NAME)) {\n page.getElementProj_name().setValue(this.getComms().request.getParameter(PROJ_NAME));\n }\n\n try {\n \tPerson[] PersonList = PersonFactory.getPersonsList();\n \tfor (int numPersons = 0; numPersons < PersonList.length; numPersons++) {\n \t Person currentPerson = PersonList[numPersons] ;\n \t HTMLOptionElement clonedOption = (HTMLOptionElement) templateOption.cloneNode(true);\n clonedOption.setValue(currentPerson.getHandle());\n Node optionTextNode = clonedOption.getOwnerDocument().\n createTextNode(currentPerson.getFirstname() + \" \" +\n currentPerson.getLastname());\n clonedOption.appendChild(optionTextNode);\n // Do only a shallow copy of the option as we don't want the text child\n // of the node option\n PersonSelect.appendChild(clonedOption);\n // Alternative way to insert nodes below\n // insertBefore(newNode, oldNode);\n // ProjSelect.insertBefore(clonedOption, templateOption);\n\t }\n\t } catch(Exception ex) {\n\t this.writeDebugMsg(\"Error populating Persons List: \" + ex);\n throw new webschedulePresentationException(\"Error getting Persons List: \", ex);\n\t }\n\t\n templateOption.getParentNode().removeChild(templateOption);\n\n if(null != this.getComms().request.getParameter(PASSWORD)) {\n page.getElementPassword().setValue(this.getComms().request.getParameter(PASSWORD));\n }\n\n if(null != this.getComms().request.getParameter(DISCRIB)) {\n page.getElementDiscrib().setValue(this.getComms().request.getParameter(DISCRIB));\n }\n if(null != this.getComms().request.getParameter(INDEXNUM)) {\n page.getElementIndexnum().setValue(this.getComms().request.getParameter(INDEXNUM));\n }\n\n if(null != this.getComms().request.getParameter(THOURS)) {\n page.getElementThours().setValue(this.getComms().request.getParameter(THOURS));\n }\n\n if(null != this.getComms().request.getParameter(DHOURS)) {\n page.getElementDhours().setValue(this.getComms().request.getParameter(DHOURS));\n }\n\n if(null != this.getComms().request.getParameter(CODEOFPAY)) {\n page.getElementCodeofpay().setValue(this.getComms().request.getParameter(CODEOFPAY));\n }\n\n if(null != this.getComms().request.getParameter(CONTACTNAME)) {\n page.getElementContactname().setValue(this.getComms().request.getParameter(CONTACTNAME));\n }\n\n if(null != this.getComms().request.getParameter(CONTACTPHONE)) {\n \npage.getElementContactphone().setValue(this.getComms().request.getParameter(CONTACTPHONE));\n }\n\n\nif(null != this.getComms().request.getParameter(BILLADDR1)) {\n \npage.getElementBilladdr1().setValue(this.getComms().request.getParameter(BILLADDR1));\n }\n\n\n\nif(null != this.getComms().request.getParameter(BILLADDR2)) {\n \npage.getElementBilladdr2().setValue(this.getComms().request.getParameter(BILLADDR2));\n }\n\n\nif(null != this.getComms().request.getParameter(BILLADDR3)) {\n \npage.getElementBilladdr3().setValue(this.getComms().request.getParameter(BILLADDR3));\n }\n\nif(null != this.getComms().request.getParameter(STATE)) {\n \npage.getElementState().setValue(this.getComms().request.getParameter(STATE));\n }\n\nif(null != this.getComms().request.getParameter(ZIP)) {\n \npage.getElementZip().setValue(this.getComms().request.getParameter(ZIP));\n }\n\n if(null != this.getComms().request.getParameter(OUTSIDE)) {\n page.getElementOutsideBox().setChecked(true);\n } else {\n page.getElementOutsideBox().setChecked(false);\n }\n\t\nif(null != this.getComms().request.getParameter(EXP)) {\n page.getElementExpBox().setChecked(true);\n } else {\n page.getElementExpBox().setChecked(false);\n }\t\n\t\nif(null != this.getComms().request.getParameter(ACCOUNTID)) {\n \npage.getElementAccountid().setValue(this.getComms().request.getParameter(ACCOUNTID));\n }\n\t\n\t\nif(null != this.getComms().request.getParameter(EXPDAY)) {\n \npage.getElementExpday().setValue(this.getComms().request.getParameter(EXPDAY));\n }\n\n\nif(null != this.getComms().request.getParameter(EXPMONTH)) {\n \npage.getElementExpmonth().setValue(this.getComms().request.getParameter(EXPMONTH));\n }\nif(null != this.getComms().request.getParameter(EXPYEAR)) {\n \npage.getElementExpyear().setValue(this.getComms().request.getParameter(EXPYEAR));\n }\n\n if(null != this.getComms().request.getParameter(NOTIFYCONTACT)) {\n page.getElementNotifycontact().setValue(this.getComms().request.getParameter(NOTIFYCONTACT));\n }\n\n if(null == errorMsg) { \n\t page.getElementErrorText().getParentNode().removeChild(page.getElementErrorText());\n } else {\n page.setTextErrorText(errorMsg);\n }\n \n\t return page.toDocument();\n }",
"@GetMapping(\"/showFormForAdd\") // @RequestMapping(path = \"/showFormForAdd\", method = RequestMethod.GET)\r\n\tpublic String showFormForAdd(Model theModel) {\n\t\tCustomer theCustomer = new Customer();\r\n\t\t\r\n\t\ttheModel.addAttribute(\"customer\", theCustomer);\r\n\t\t\r\n\t\treturn \"customer-form\";\r\n\t}",
"@Override\n public String createRecord(String creatingPage) {\n return creatingPage;\n }",
"@Action\r\n public String proceed() {\n ServiceFunctions.clearCache();\r\n\r\n // Validation in the controller, because custom validators\r\n // for the complex UI would be an overhead\r\n\r\n // If nothing is chosen, return to the results page\r\n if (selectedEntry == null) {\r\n addError(\"mustSelectEntry\");\r\n return null;\r\n }\r\n\r\n if (TWO_WAY.equals(travelType) && selectedReturnEntry == null) {\r\n addError(\"mustSelectReturnEntry\");\r\n return null;\r\n }\r\n\r\n // Creating many ticket instances\r\n List<Seat> selectedSeats = seatController.getSeatHandler()\r\n .getSelectedSeats();\r\n List<Seat> selectedReturnSeats = null;\r\n\r\n if (seatController.getReturnSeatHandler() != null) {\r\n selectedReturnSeats = seatController.getReturnSeatHandler()\r\n .getSelectedSeats();\r\n }\r\n\r\n try {\r\n ticket = getTicketToAlter();\r\n if (ticket == null) {\r\n ticket = ticketService.createTicket(selectedEntry, selectedReturnEntry,\r\n ticketCountsHolder, selectedSeats, selectedReturnSeats);\r\n } else {\r\n\r\n ticketService.alterTicket(ticket, selectedEntry, selectedReturnEntry,\r\n ticketCountsHolder, selectedSeats, selectedReturnSeats);\r\n\r\n if (ticket.getAlterationPriceDifference().compareTo(BigDecimal.ZERO) < 0) {\r\n addMessage(\"priceDiffereceIsSubstracted\");\r\n }\r\n }\r\n } catch (TicketCreationException ex) {\r\n addError(ex.getMessageKey(), ex.getArguments());\r\n if (ex.isRedoSearch()) {\r\n return search();\r\n }\r\n return null;\r\n }\r\n\r\n purchaseController.getTickets().add(ticket);\r\n\r\n // If the user is staff-member, i.e. this is admin panel,\r\n // set the customer name, and mark the tickets as sold\r\n User user = loggedUserHolder.getLoggedUser();\r\n if (user != null && user.isStaff() && isAdmin()) {\r\n ticket.setCustomerInformation(new Customer());\r\n ticket.getCustomerInformation().setName(customerName);\r\n // setting to empty values in order to bypass validation on cascade\r\n ticket.getCustomerInformation().setEmail(\"\");\r\n ticket.getCustomerInformation().setContactPhone(\"\");\r\n\r\n purchaseController.finalizePurchase(user);\r\n // redo the search\r\n adminSearch();\r\n return null; // returning null, because the action is\r\n // called from modal window with ajax\r\n }\r\n\r\n if (ticket.isAltered() && ticket.getAlterationPriceDifference().compareTo(BigDecimal.ZERO) == 0) {\r\n purchaseController.finalizePurchase(user);\r\n return navigateToSearch();\r\n }\r\n\r\n // before redirecting to the payments page, reset the selections\r\n // in order to have a fresh page if a back button is pressed\r\n resetSelectionsPartial();\r\n purchaseController.setCurrentStep(Step.PAYMENT);\r\n return Screen.PAYMENT_SCREEN.getOutcome();\r\n\r\n }",
"private Vehicle createVehicle(/*ResultSet rs*/) {\n // creates a vehicle using the specific form data\n //Form would get every field\n //This is dummy data\n Vehicle vehicle = new Vehicle();\n// try {\n int id = 1;\n String marca = \"marca\";\n String modelo = \"modelo\";\n double cilindrada = 2.0;\n int cavalos = 120;\n double preco = 1000.0;\n int quilometros = 200000;\n java.sql.Date date = new Date(1996-10-21);\n String combustivel = \"combustivel\";\n// //ADICIONAR\n vehicle.setId(id);\n vehicle.setMarca(marca);\n vehicle.setModelo(modelo);\n vehicle.setCilindrada(cilindrada);\n vehicle.setCavalos(cavalos);\n vehicle.setPreco(preco);\n vehicle.setDate(date);\n vehicle.setQuilometros(quilometros);\n vehicle.setCombustivel(Combustiveis.valueOf(combustivel));\n\n// } catch (SQLException e) {\n// e.printStackTrace();\n// }\n return vehicle;\n }",
"@RequestMapping(value = { \"/new\" }, method = RequestMethod.POST)\n\tpublic String saveEntity(@Valid ENTITY tipoConsumo, BindingResult result, ModelMap model,\n\t\t\t@RequestParam(required = false) Integer idEstadia) {\n\t\ttry{\n\t\n\t\t\tif (result.hasErrors()) {\n\t\t\t\treturn viewBaseLocation + \"/form\";\n\t\t\t}\n\t\n\t\t\tabm.guardar(tipoConsumo);\n\t\n\t\t\tif(idEstadia != null){\n\t\t\t\tmodel.addAttribute(\"idEstadia\", idEstadia);\n\t\t\t}\n\t\n\t\t\tmodel.addAttribute(\"success\", \"La creación se realizó correctamente.\");\n\t\t\t\n\t\t} catch(Exception e) {\n\t\t\tmodel.addAttribute(\"success\", \"La creación no pudo realizarse.\");\n\t\t}\n\t\tmodel.addAttribute(\"loggedinuser\", getPrincipal());\n\t\treturn \"redirect:list\";\n\t}",
"NewOrderResponse newOrder(NewOrder order);",
"public Result inicioGenerarLibro(){\n ContabilidadDTO dto = new ContabilidadDTO();\n dto.tipoLibro = new Parametro(\"\",\"LVEN\",\"\");\n //dto.tipoLibro.id.codigo =\"LVEN\";\n dto.anio = new Parametro(\"\",\"2018\",\"\");\n //dto.anio.id.codigo =\"2018\";\n dto.mes = new Parametro(\"\",\"3\",\"\");\n //dto.mes.id.codigo =\"3\"; //Simpre debe ser el mes anterior al actual\n\n Form<ContabilidadDTO> contabilidadDTOForm = formFactory.form(ContabilidadDTO.class).fill(dto);\n\n/*\n EbeanServer db = DBConnectionUtil.getDBServerFacturador();\n List<BandejaFactura> lista = db.find(BandejaFactura.class).findList();; //BandejaFactura.find.all();//obtenerTodos();\n for (BandejaFactura x:lista) {\n System.out.println(x);\n }\n*/\n/*\n EbeanServer db = DBConnectionUtil.getDBServerSGV();\n List<ControlVenta> lista = db.find(ControlVenta.class)\n .where().ilike(\"CVNT_NUM_DOCUMENTO\", \"F002-00000213\")\n .findList();\n for (ControlVenta x:lista) {\n System.out.println(\"*********** \"+x);\n }\n*/\n/*\n EbeanServer db = DBConnectionUtil.getDBServerSGV();\n List<ControlVenta> lista = db.find(ControlVenta.class).findList();; //BandejaFactura.find.all();//obtenerTodos();\n for (ControlVenta x:lista) {\n System.out.println(x);\n }\n*/\n\n return ok(generadorLibrosContables.render(contabilidadDTOForm));\n }",
"@GetMapping(\"/producto/nuevo\")\n\tpublic String nuevoProductoForm(Model model) {\n\t\tmodel.addAttribute(\"producto\", new Producto());\n\t\treturn \"app/producto/form\";\n\t}",
"protected GuiTestObject nextsubmit() \n\t{\n\t\treturn new GuiTestObject(\n getMappedTestObject(\"nextsubmit\"));\n\t}",
"public static Result next() {\r\n\t\t// get current node\r\n\t\tMap<String, String> requestData = Form.form().bindFromRequest().data();\r\n\t\tString idCurrentNode = requestData.get(RequestParams.CURRENT_NODE);\r\n\t\tString formName = ChangeOrderForm.NAME;\r\n\t\tString employeeName = CMSSession.getEmployeeName();\r\n\r\n\t\tDecision nextDecision = CMSGuidedFormFill.makeDecision(formName,\r\n\t\t\t\temployeeName, idCurrentNode, requestData);\r\n\r\n\t\treturn ok(backdrop.render(nextDecision));\r\n\t}",
"@RequestMapping(value = \"/newrecipe\", method = RequestMethod.GET)\n\tpublic String newRecipeForm(Model model) {\n\t\tmodel.addAttribute(\"recipe\", new Recipe()); //empty recipe object\n\t\tmodel.addAttribute(\"categories\", CatRepo.findAll());\n\t\treturn \"newrecipe\";\n\t}",
"@Command\n\tpublic void nuevoAnalista(){\n\t\tMap<String, Object> parametros = new HashMap<String, Object>();\n\n\t\t//parametros.put(\"recordMode\", \"NEW\");\n\t\tllamarFormulario(\"formularioAnalistas.zul\", null);\n\t}",
"@PostMapping(value = \"/competitionAdminRequest/new\")\n\tpublic String processCreationForm(@Valid final CompAdminRequest compAdminRequest, final BindingResult result) throws DataAccessException {\n\n\t\t//Obtenemos el username del usuario actual conectado\n\t\tAuthentication authentication = SecurityContextHolder.getContext().getAuthentication();\n\t\tString currentPrincipalName = authentication.getName();\n\n\t\tAuthenticated thisUser = this.authenticatedService.findAuthenticatedByUsername(currentPrincipalName);\n\n\t\t//Si hay errores seguimos en la vista de creación\n\t\tif (result.hasErrors()) {\n\t\t\treturn CompAdminRequestController.VIEWS_COMP_ADMIN_REQUEST_CREATE_OR_UPDATE_FORM;\n\t\t} else {\n\t\t\tcompAdminRequest.setUser(thisUser.getUser());\n\t\t\tcompAdminRequest.setStatus(RequestStatus.ON_HOLD);\n\n\t\t\tthis.compAdminRequestService.saveCompAdminRequest(compAdminRequest);\n\n\t\t\t//Si todo sale bien vamos a la vista de mi club\n\t\t\treturn \"redirect:/myCompetitionAdminRequest\";\n\t\t}\n\t}",
"public String handleAdd() \n throws HttpPresentationException, webschedulePresentationException\n { \n\t try {\n\t Project project = new Project();\n saveProject(project);\n throw new ClientPageRedirectException(PROJECT_ADMIN_PAGE);\n\t } catch(Exception ex) {\n return showAddPage(\"You must fill out all fields to add this project\");\n }\n }",
"public String crearActualizarArancel() {\n\n\t\treturn SUCCESS;\n\t}",
"@PostMapping(value=\"/createCustomer\")\n\tpublic String createCustomer()\n\t{\n\t\t//return customer\n\t\treturn \"Created Customer\";\n\t}",
"public ActionForward insert(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception {\r\n PurchaseOrderItem poi = this.getPurchaseOrderItemFromRequest(request);\r\n this.checkEditPower(poi, request);\r\n\r\n BeanForm purchaseOrderItemReceiptForm = (BeanForm) form;\r\n PurchaseOrderItemReceipt poir = new PurchaseOrderItemReceipt();\r\n purchaseOrderItemReceiptForm.populate(poir, BeanForm.TO_BEAN);\r\n poir.setPurchaseOrderItem(poi);\r\n \r\n PurchaseOrderItemReceiptManager pm = ServiceLocator.getPurchaseOrderItemReceiptManager(request); \r\n if(!pm.checkQty(poir))\r\n throw new BackToInputActionException(\"purchaseOrderItemReceipt.qtyExceeds\"); \r\n\r\n poir=pm.insertPurchaseOrderItemReceipt(poir,this.getCurrentUser(request));\r\n request.setAttribute(\"X_OBJECT\", poir);\r\n request.setAttribute(\"X_ROWPAGE\", \"purchaseOrderItemReceipt/row.jsp\");\r\n\r\n EmailManager em=ServiceLocator.getEmailManager(request);\r\n \r\n Map context=new HashMap();\r\n User emailToUser=null;\r\n if(this.getCurrentUser(request).equals(poir.getReceiver1()))\r\n {\r\n emailToUser=poir.getReceiver2();\r\n context.put(\"x_receiveQty\",poir.getReceiveQty1());\r\n context.put(\"x_receiveDate\",poir.getReceiveDate1());\r\n }\r\n else\r\n {\r\n emailToUser=poir.getReceiver1();\r\n context.put(\"x_receiveQty\",poir.getReceiveQty2());\r\n context.put(\"x_receiveDate\",poir.getReceiveDate2());\r\n \r\n }\r\n context.put(\"x_emailToUser\",emailToUser);\r\n context.put(\"x_receiver\",this.getCurrentUser(request));\r\n context.put(\"x_poir\",poir);\r\n context.put(\"role\", EmailManager.EMAIL_ROLE_RECEIVER);\r\n em.insertEmail(poir.getLogSite(),emailToUser.getEmail(),\"POItemReceive.vm\",context);\r\n \r\n return mapping.findForward(\"success\");\r\n }",
"@RequestMapping(value = \"/new\", method = RequestMethod.GET)\n public String newRole(Model model) {\n model.addAttribute(\"roleCreate\", new CreateRoleDTO());\n return (WebUrls.URL_ROLE+\"/new\");\n }",
"@RequestMapping(value = \"/signup\", method = RequestMethod.POST)\r\n\tpublic String addCustomer(@ModelAttribute(\"customer\") @Valid Customer customer,BindingResult result,Model model) {\r\n\t\t\r\n\t\t\r\n\t\t/*if(logger.isDebugEnabled()){\r\n\t\t\tlogger.debug(\"getWelcome is executed!\");\r\n\t\t}\r\n\t\t\r\n\t\t//logs exception\r\n\t\tlogger.error(\"This is Error message\", new Exception(\"Testing\"));*/\r\n\r\n\t\tif (result.hasErrors()) {\r\n\t\t\t\r\n\t\t\t return \"SignUpForm\";\r\n\r\n\t\t} \r\n\t\t\r\n\t\t model.addAttribute(\"name\", customer.getName());\r\n\t model.addAttribute(\"age\", customer.getAge());\r\n\t //model.addAttribute(\"id\", customer.getId());\r\n\t \r\n\t return \"Done\";\t\r\n\r\n\t}"
]
| [
"0.6707115",
"0.6428284",
"0.64155394",
"0.6405838",
"0.6383164",
"0.6310213",
"0.6111162",
"0.6044482",
"0.59024566",
"0.5867681",
"0.58467567",
"0.58252287",
"0.5780744",
"0.5739845",
"0.57199085",
"0.5681393",
"0.5679363",
"0.5672191",
"0.56711596",
"0.5662254",
"0.5638857",
"0.56374806",
"0.56359756",
"0.56334305",
"0.5609034",
"0.56081283",
"0.56025034",
"0.5584918",
"0.5574646",
"0.5561713",
"0.5559109",
"0.5551338",
"0.5528093",
"0.55127794",
"0.5511495",
"0.5509338",
"0.55093247",
"0.55077064",
"0.55024683",
"0.54821324",
"0.5475097",
"0.5459323",
"0.54509884",
"0.5441152",
"0.544067",
"0.5419589",
"0.5414586",
"0.5411029",
"0.5409624",
"0.5395264",
"0.53931916",
"0.53854895",
"0.53852713",
"0.5383705",
"0.5380304",
"0.5374105",
"0.5360673",
"0.5350135",
"0.5348248",
"0.53373635",
"0.533415",
"0.53322864",
"0.532476",
"0.5324024",
"0.5321862",
"0.53162813",
"0.5315768",
"0.53147954",
"0.53135324",
"0.5312747",
"0.53057003",
"0.53015924",
"0.529837",
"0.52952164",
"0.5295123",
"0.5290462",
"0.52851295",
"0.52761126",
"0.5273915",
"0.5273744",
"0.5268082",
"0.52660286",
"0.5263838",
"0.5263177",
"0.5259773",
"0.52576655",
"0.5254192",
"0.52497035",
"0.5247454",
"0.524633",
"0.5234677",
"0.5231261",
"0.5230621",
"0.5227307",
"0.522665",
"0.52251256",
"0.5218714",
"0.521745",
"0.52101094",
"0.52090734",
"0.52062505"
]
| 0.0 | -1 |
This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor. | @SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
private void initComponents() {
jPanel3 = new javax.swing.JPanel();
back = new javax.swing.JButton();
jPanel2 = new javax.swing.JPanel();
jPanel1 = new javax.swing.JPanel();
jLabel3 = new javax.swing.JLabel();
course = new javax.swing.JTextField();
sem = new javax.swing.JTextField();
jLabel6 = new javax.swing.JLabel();
branch = new javax.swing.JTextField();
jLabel1 = new javax.swing.JLabel();
jLabel7 = new javax.swing.JLabel();
jLabel8 = new javax.swing.JLabel();
jLabel10 = new javax.swing.JLabel();
jLabel2 = new javax.swing.JLabel();
jLabel11 = new javax.swing.JLabel();
studentid = new javax.swing.JTextField();
jLabel9 = new javax.swing.JLabel();
jLabel5 = new javax.swing.JLabel();
sname = new javax.swing.JTextField();
year = new javax.swing.JTextField();
DOI = new javax.swing.JTextField();
bname = new javax.swing.JTextField();
bookid = new javax.swing.JTextField();
publisher = new javax.swing.JTextField();
price = new javax.swing.JTextField();
jLabel4 = new javax.swing.JLabel();
search = new javax.swing.JButton();
jLabel12 = new javax.swing.JLabel();
returnbook = new javax.swing.JButton();
DOR = new javax.swing.JTextField();
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
back.setText("Back");
back.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
backActionPerformed(evt);
}
});
jPanel1.setBorder(javax.swing.BorderFactory.createTitledBorder(javax.swing.BorderFactory.createLineBorder(new java.awt.Color(255, 153, 153)), "Return Details", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 0, 24), new java.awt.Color(0, 0, 102))); // NOI18N
jLabel3.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
jLabel3.setText("Course");
course.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
sem.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
jLabel6.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
jLabel6.setText("Semester");
branch.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
jLabel1.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
jLabel1.setText("Student_ID");
jLabel7.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
jLabel7.setText("Book_ID");
jLabel8.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
jLabel8.setText("Name");
jLabel10.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
jLabel10.setText("Price");
jLabel2.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
jLabel2.setText("Name");
jLabel11.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
jLabel11.setText("Date Of Issue");
studentid.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
jLabel9.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
jLabel9.setText("Publisher");
jLabel5.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
jLabel5.setText("Year");
sname.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
year.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
DOI.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
bname.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
bookid.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
bookid.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
bookidActionPerformed(evt);
}
});
publisher.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
price.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
price.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
priceActionPerformed(evt);
}
});
jLabel4.setFont(new java.awt.Font("Tahoma", 0, 12)); // NOI18N
jLabel4.setText("Branch");
search.setText("Search");
search.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
searchActionPerformed(evt);
}
});
javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
jPanel1.setLayout(jPanel1Layout);
jPanel1Layout.setHorizontalGroup(
jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel1Layout.createSequentialGroup()
.addContainerGap()
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
.addComponent(jLabel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jLabel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jLabel3, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jLabel4, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jLabel5, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jLabel6, javax.swing.GroupLayout.PREFERRED_SIZE, 64, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(sem)
.addComponent(year)
.addComponent(branch)
.addComponent(studentid, javax.swing.GroupLayout.PREFERRED_SIZE, 147, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(sname)
.addComponent(course))
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel1Layout.createSequentialGroup()
.addGap(26, 26, 26)
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
.addComponent(jLabel8, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jLabel9, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jLabel10, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jLabel11, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
.addComponent(jLabel7, javax.swing.GroupLayout.PREFERRED_SIZE, 75, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
.addComponent(bookid)
.addComponent(bname)
.addComponent(publisher)
.addComponent(price)
.addComponent(DOI, javax.swing.GroupLayout.PREFERRED_SIZE, 118, javax.swing.GroupLayout.PREFERRED_SIZE)))
.addGroup(jPanel1Layout.createSequentialGroup()
.addGap(72, 72, 72)
.addComponent(search)))
.addContainerGap())
);
jPanel1Layout.setVerticalGroup(
jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel1Layout.createSequentialGroup()
.addContainerGap()
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jLabel1)
.addComponent(studentid, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jLabel7)
.addComponent(bookid, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addGap(18, 18, 18)
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jLabel2)
.addComponent(sname, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jLabel8)
.addComponent(bname, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addGap(18, 18, 18)
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jLabel3)
.addComponent(course, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jLabel9)
.addComponent(publisher, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addGap(18, 18, 18)
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jLabel4)
.addComponent(branch, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jLabel10)
.addComponent(price, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addGap(18, 18, 18)
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jLabel5)
.addComponent(year, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(jLabel11)
.addComponent(DOI, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addGap(18, 18, 18)
.addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jLabel6)
.addComponent(sem, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addComponent(search))
.addContainerGap())
);
javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);
jPanel2.setLayout(jPanel2Layout);
jPanel2Layout.setHorizontalGroup(
jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel2Layout.createSequentialGroup()
.addContainerGap()
.addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addContainerGap())
);
jPanel2Layout.setVerticalGroup(
jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel2Layout.createSequentialGroup()
.addContainerGap()
.addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addContainerGap())
);
jLabel12.setText("Date Of Return");
returnbook.setText("Return");
returnbook.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
returnbookActionPerformed(evt);
}
});
javax.swing.GroupLayout jPanel3Layout = new javax.swing.GroupLayout(jPanel3);
jPanel3.setLayout(jPanel3Layout);
jPanel3Layout.setHorizontalGroup(
jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel3Layout.createSequentialGroup()
.addContainerGap()
.addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel3Layout.createSequentialGroup()
.addGap(261, 261, 261)
.addComponent(jLabel12)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
.addComponent(DOR, javax.swing.GroupLayout.PREFERRED_SIZE, 128, javax.swing.GroupLayout.PREFERRED_SIZE))
.addGroup(jPanel3Layout.createSequentialGroup()
.addGap(279, 279, 279)
.addComponent(returnbook)
.addGap(18, 18, 18)
.addComponent(back))
.addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addContainerGap())
);
jPanel3Layout.setVerticalGroup(
jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(jPanel3Layout.createSequentialGroup()
.addContainerGap()
.addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jLabel12)
.addComponent(DOR, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(returnbook)
.addComponent(back))
.addContainerGap())
);
javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
getContentPane().setLayout(layout);
layout.setHorizontalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addComponent(jPanel3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 29, Short.MAX_VALUE))
);
layout.setVerticalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addComponent(jPanel3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(0, 24, Short.MAX_VALUE))
);
pack();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"public Form() {\n initComponents();\n }",
"public MainForm() {\n initComponents();\n }",
"public MainForm() {\n initComponents();\n }",
"public MainForm() {\n initComponents();\n }",
"public frmRectangulo() {\n initComponents();\n }",
"public form() {\n initComponents();\n }",
"public AdjointForm() {\n initComponents();\n setDefaultCloseOperation(HIDE_ON_CLOSE);\n }",
"public FormListRemarking() {\n initComponents();\n }",
"public MainForm() {\n initComponents();\n \n }",
"public FormPemilihan() {\n initComponents();\n }",
"public GUIForm() { \n initComponents();\n }",
"public FrameForm() {\n initComponents();\n }",
"public TorneoForm() {\n initComponents();\n }",
"public FormCompra() {\n initComponents();\n }",
"public muveletek() {\n initComponents();\n }",
"public Interfax_D() {\n initComponents();\n }",
"public quanlixe_form() {\n initComponents();\n }",
"public SettingsForm() {\n initComponents();\n }",
"public RegistrationForm() {\n initComponents();\n this.setLocationRelativeTo(null);\n }",
"public Soru1() {\n initComponents();\n }",
"public FMainForm() {\n initComponents();\n this.setResizable(false);\n setLocationRelativeTo(null);\n }",
"public soal2GUI() {\n initComponents();\n }",
"public EindopdrachtGUI() {\n initComponents();\n }",
"public MechanicForm() {\n initComponents();\n }",
"public AddDocumentLineForm(java.awt.Frame parent) {\n super(parent);\n initComponents();\n myInit();\n }",
"public BloodDonationGUI() {\n initComponents();\n }",
"public quotaGUI() {\n initComponents();\n }",
"public Customer_Form() {\n initComponents();\n setSize(890,740);\n \n \n }",
"public PatientUI() {\n initComponents();\n }",
"public myForm() {\n\t\t\tinitComponents();\n\t\t}",
"public Oddeven() {\n initComponents();\n }",
"public intrebarea() {\n initComponents();\n }",
"public Magasin() {\n initComponents();\n }",
"public RadioUI()\n {\n initComponents();\n }",
"public NewCustomerGUI() {\n initComponents();\n }",
"public ZobrazUdalost() {\n initComponents();\n }",
"public FormUtama() {\n initComponents();\n }",
"public p0() {\n initComponents();\n }",
"public INFORMACION() {\n initComponents();\n this.setLocationRelativeTo(null); \n }",
"public ProgramForm() {\n setLookAndFeel();\n initComponents();\n }",
"public AmountReleasedCommentsForm() {\r\n initComponents();\r\n }",
"public form2() {\n initComponents();\n }",
"public MainForm() {\n\t\tsuper(\"Hospital\", List.IMPLICIT);\n\n\t\tstartComponents();\n\t}",
"public kunde() {\n initComponents();\n }",
"public LixeiraForm() {\n initComponents();\n setLocationRelativeTo(null);\n }",
"@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n setName(\"Form\"); // NOI18N\n setRequestFocusEnabled(false);\n setVerifyInputWhenFocusTarget(false);\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);\n this.setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 465, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 357, Short.MAX_VALUE)\n );\n }",
"public MusteriEkle() {\n initComponents();\n }",
"public frmMain() {\n initComponents();\n }",
"public frmMain() {\n initComponents();\n }",
"public DESHBORDPANAL() {\n initComponents();\n }",
"public GUIForm() {\n initComponents();\n inputField.setText(NO_FILE_SELECTED);\n outputField.setText(NO_FILE_SELECTED);\n progressLabel.setBackground(INFO);\n progressLabel.setText(SELECT_FILE);\n }",
"public frmVenda() {\n initComponents();\n }",
"public Botonera() {\n initComponents();\n }",
"public FrmMenu() {\n initComponents();\n }",
"public OffertoryGUI() {\n initComponents();\n setTypes();\n }",
"public JFFornecedores() {\n initComponents();\n }",
"@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents()\n {\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n setBackground(new java.awt.Color(255, 255, 255));\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());\n getContentPane().setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 983, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 769, Short.MAX_VALUE)\n );\n\n pack();\n }",
"public vpemesanan1() {\n initComponents();\n }",
"public EnterDetailsGUI() {\n initComponents();\n }",
"public Kost() {\n initComponents();\n }",
"public FormHorarioSSE() {\n initComponents();\n }",
"public frmacceso() {\n initComponents();\n }",
"public UploadForm() {\n initComponents();\n }",
"public HW3() {\n initComponents();\n }",
"public Managing_Staff_Main_Form() {\n initComponents();\n }",
"@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents()\n {\n\n setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);\n getContentPane().setLayout(null);\n\n pack();\n }",
"@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n setName(\"Form\"); // NOI18N\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);\n this.setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 400, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 300, Short.MAX_VALUE)\n );\n }",
"public sinavlar2() {\n initComponents();\n }",
"public P0405() {\n initComponents();\n }",
"public IssueBookForm() {\n initComponents();\n }",
"public MiFrame2() {\n initComponents();\n }",
"public Choose1() {\n initComponents();\n }",
"public MainForm() {\n initComponents();\n\n String oldAuthor = prefs.get(\"AUTHOR\", \"\");\n if(oldAuthor != null) {\n this.authorTextField.setText(oldAuthor);\n }\n String oldBook = prefs.get(\"BOOK\", \"\");\n if(oldBook != null) {\n this.bookTextField.setText(oldBook);\n }\n String oldDisc = prefs.get(\"DISC\", \"\");\n if(oldDisc != null) {\n try {\n int oldDiscNum = Integer.parseInt(oldDisc);\n oldDiscNum++;\n this.discNumberTextField.setText(Integer.toString(oldDiscNum));\n } catch (Exception ex) {\n this.discNumberTextField.setText(oldDisc);\n }\n this.bookTextField.setText(oldBook);\n }\n\n\n }",
"public GUI_StudentInfo() {\n initComponents();\n }",
"public JFrmPrincipal() {\n initComponents();\n }",
"public Lihat_Dokter_Keseluruhan() {\n initComponents();\n }",
"public bt526() {\n initComponents();\n }",
"public Pemilihan_Dokter() {\n initComponents();\n }",
"public Ablak() {\n initComponents();\n }",
"@Override\n\tprotected void initUi() {\n\t\t\n\t}",
"@SuppressWarnings(\"unchecked\")\n\t// <editor-fold defaultstate=\"collapsed\" desc=\"Generated\n\t// Code\">//GEN-BEGIN:initComponents\n\tprivate void initComponents() {\n\n\t\tlabel1 = new java.awt.Label();\n\t\tlabel2 = new java.awt.Label();\n\t\tlabel3 = new java.awt.Label();\n\t\tlabel4 = new java.awt.Label();\n\t\tlabel5 = new java.awt.Label();\n\t\tlabel6 = new java.awt.Label();\n\t\tlabel7 = new java.awt.Label();\n\t\tlabel8 = new java.awt.Label();\n\t\tlabel9 = new java.awt.Label();\n\t\tlabel10 = new java.awt.Label();\n\t\ttextField1 = new java.awt.TextField();\n\t\ttextField2 = new java.awt.TextField();\n\t\tlabel14 = new java.awt.Label();\n\t\tlabel15 = new java.awt.Label();\n\t\tlabel16 = new java.awt.Label();\n\t\ttextField3 = new java.awt.TextField();\n\t\ttextField4 = new java.awt.TextField();\n\t\ttextField5 = new java.awt.TextField();\n\t\tlabel17 = new java.awt.Label();\n\t\tlabel18 = new java.awt.Label();\n\t\tlabel19 = new java.awt.Label();\n\t\tlabel20 = new java.awt.Label();\n\t\tlabel21 = new java.awt.Label();\n\t\tlabel22 = new java.awt.Label();\n\t\ttextField6 = new java.awt.TextField();\n\t\ttextField7 = new java.awt.TextField();\n\t\ttextField8 = new java.awt.TextField();\n\t\tlabel23 = new java.awt.Label();\n\t\ttextField9 = new java.awt.TextField();\n\t\ttextField10 = new java.awt.TextField();\n\t\ttextField11 = new java.awt.TextField();\n\t\ttextField12 = new java.awt.TextField();\n\t\tlabel24 = new java.awt.Label();\n\t\tlabel25 = new java.awt.Label();\n\t\tlabel26 = new java.awt.Label();\n\t\tlabel27 = new java.awt.Label();\n\t\tlabel28 = new java.awt.Label();\n\t\tlabel30 = new java.awt.Label();\n\t\tlabel31 = new java.awt.Label();\n\t\tlabel32 = new java.awt.Label();\n\t\tjButton1 = new javax.swing.JButton();\n\n\t\tlabel1.setFont(new java.awt.Font(\"Segoe UI Semibold\", 0, 18)); // NOI18N\n\t\tlabel1.setText(\"It seems that some of the buttons on the ATM machine are not working!\");\n\n\t\tlabel2.setFont(new java.awt.Font(\"Segoe UI Semibold\", 0, 18)); // NOI18N\n\t\tlabel2.setText(\"Unfortunately these numbers are exactly what Professor has to use to type in his password.\");\n\n\t\tlabel3.setFont(new java.awt.Font(\"Segoe UI Semibold\", 0, 18)); // NOI18N\n\t\tlabel3.setText(\n\t\t\t\t\"If you want to eat tonight, you have to help him out and construct the numbers of the password with the working buttons and math operators.\");\n\n\t\tlabel4.setFont(new java.awt.Font(\"Segoe UI Semibold\", 0, 14)); // NOI18N\n\t\tlabel4.setText(\"Denver's Password: 2792\");\n\n\t\tlabel5.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel5.setText(\"import java.util.Scanner;\\n\");\n\n\t\tlabel6.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel6.setText(\"public class ATM{\");\n\n\t\tlabel7.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel7.setText(\"public static void main(String[] args){\");\n\n\t\tlabel8.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel8.setText(\"System.out.print(\");\n\n\t\tlabel9.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel9.setText(\" -\");\n\n\t\tlabel10.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel10.setText(\");\");\n\n\t\ttextField1.addActionListener(new java.awt.event.ActionListener() {\n\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent evt) {\n\t\t\t\ttextField1ActionPerformed(evt);\n\t\t\t}\n\t\t});\n\n\t\tlabel14.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel14.setText(\"System.out.print( (\");\n\n\t\tlabel15.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel15.setText(\"System.out.print(\");\n\n\t\tlabel16.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel16.setText(\"System.out.print( ( (\");\n\n\t\tlabel17.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel17.setText(\")\");\n\n\t\tlabel18.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel18.setText(\" +\");\n\n\t\tlabel19.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel19.setText(\");\");\n\n\t\tlabel20.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel20.setText(\" /\");\n\n\t\tlabel21.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel21.setText(\" %\");\n\n\t\tlabel22.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel22.setText(\" +\");\n\n\t\tlabel23.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel23.setText(\");\");\n\n\t\tlabel24.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel24.setText(\" +\");\n\n\t\tlabel25.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel25.setText(\" /\");\n\n\t\tlabel26.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel26.setText(\" *\");\n\n\t\tlabel27.setCursor(new java.awt.Cursor(java.awt.Cursor.DEFAULT_CURSOR));\n\t\tlabel27.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel27.setText(\")\");\n\n\t\tlabel28.setFont(new java.awt.Font(\"Dialog\", 0, 14)); // NOI18N\n\t\tlabel28.setText(\")\");\n\n\t\tlabel30.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel30.setText(\"}\");\n\n\t\tlabel31.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel31.setText(\"}\");\n\n\t\tlabel32.setFont(new java.awt.Font(\"Consolas\", 0, 14)); // NOI18N\n\t\tlabel32.setText(\");\");\n\n\t\tjButton1.setFont(new java.awt.Font(\"Segoe UI Semibold\", 0, 14)); // NOI18N\n\t\tjButton1.setText(\"Check\");\n\t\tjButton1.addActionListener(new java.awt.event.ActionListener() {\n\t\t\tpublic void actionPerformed(java.awt.event.ActionEvent evt) {\n\t\t\t\tjButton1ActionPerformed(evt);\n\t\t\t}\n\t\t});\n\n\t\tjavax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);\n\t\tlayout.setHorizontalGroup(layout.createParallelGroup(Alignment.LEADING)\n\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(28).addGroup(layout\n\t\t\t\t\t\t.createParallelGroup(Alignment.LEADING).addComponent(getDoneButton()).addComponent(jButton1)\n\t\t\t\t\t\t.addComponent(label7, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addComponent(label6, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addComponent(label5, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addComponent(label4, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addComponent(label3, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t.addComponent(label1, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t.addGap(1)\n\t\t\t\t\t\t\t\t.addComponent(label2, GroupLayout.PREFERRED_SIZE, 774, GroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t.addGap(92).addGroup(layout.createParallelGroup(Alignment.LEADING).addGroup(layout\n\t\t\t\t\t\t\t\t\t\t.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING, false)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label15, GroupLayout.PREFERRED_SIZE, 145,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField8, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(2)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label21, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField7, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label8, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField1, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label9, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED).addComponent(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttextField2, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label31, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label14, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(37))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(174)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField5, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t20, GroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label18, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(7)))\n\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING).addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.TRAILING, false).addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField4, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t20, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label17, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label22, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField9, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t20, GroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t.addGap(20)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label23, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label20, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField3, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t20, GroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t.addGap(20).addComponent(label19, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(23).addComponent(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tlabel10, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))))\n\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label16, GroupLayout.PREFERRED_SIZE, 177,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField12, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label24, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField6, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label27, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label25, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField11, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label28, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGap(1)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label26, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField10, GroupLayout.PREFERRED_SIZE, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED).addComponent(label32,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))))\n\t\t\t\t\t\t.addComponent(label30, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t.addContainerGap(GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)));\n\t\tlayout.setVerticalGroup(\n\t\t\t\tlayout.createParallelGroup(Alignment.LEADING).addGroup(layout.createSequentialGroup().addContainerGap()\n\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t.addComponent(label1, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t.addComponent(label2, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t.addGap(1)\n\t\t\t\t\t\t.addComponent(label3, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addComponent(label4, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addComponent(label5, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addComponent(label6, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addComponent(label7, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\tAlignment.TRAILING)\n\t\t\t\t\t\t\t\t.addGroup(\n\t\t\t\t\t\t\t\t\t\tlayout.createSequentialGroup().addGroup(layout.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\t\t\tAlignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createSequentialGroup().addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.TRAILING).addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label9,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label8,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField1,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\ttextField2, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label10,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(3)))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(19)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField5,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label14,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label18,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label17,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField4,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(1))))\n\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label20, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label19, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField3, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(78)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label27, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(76)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField11, GroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup().addGap(75)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label32,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField10,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addPreferredGap(ComponentPlacement.RELATED, 20,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tShort.MAX_VALUE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.TRAILING, false)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAlignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label15,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField8,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label21,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField7,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(27))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAlignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField9,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAlignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label22,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlayout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(3)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tlabel23,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(29)))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label16,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField12,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout.createSequentialGroup()\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGroup(layout\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.createParallelGroup(\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tAlignment.TRAILING)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(label24,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addComponent(textField6,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE))\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.addGap(1))))))\n\t\t\t\t\t\t\t\t.addGroup(layout.createParallelGroup(Alignment.LEADING)\n\t\t\t\t\t\t\t\t\t\t.addComponent(label25, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t.addComponent(label28, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t\t\t\t\t.addComponent(label26, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)))\n\t\t\t\t\t\t.addGap(30)\n\t\t\t\t\t\t.addComponent(label31, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addGap(25)\n\t\t\t\t\t\t.addComponent(label30, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE,\n\t\t\t\t\t\t\t\tGroupLayout.PREFERRED_SIZE)\n\t\t\t\t\t\t.addGap(26).addComponent(jButton1).addPreferredGap(ComponentPlacement.RELATED)\n\t\t\t\t\t\t.addComponent(getDoneButton()).addContainerGap(23, Short.MAX_VALUE)));\n\t\tthis.setLayout(layout);\n\n\t\tlabel16.getAccessibleContext().setAccessibleName(\"System.out.print( ( (\");\n\t\tlabel17.getAccessibleContext().setAccessibleName(\"\");\n\t\tlabel18.getAccessibleContext().setAccessibleName(\" +\");\n\t}",
"public Pregunta23() {\n initComponents();\n }",
"public FormMenuUser() {\n super(\"Form Menu User\");\n initComponents();\n }",
"public AvtekOkno() {\n initComponents();\n }",
"public busdet() {\n initComponents();\n }",
"public ViewPrescriptionForm() {\n initComponents();\n }",
"public Ventaform() {\n initComponents();\n }",
"public Kuis2() {\n initComponents();\n }",
"public CreateAccount_GUI() {\n initComponents();\n }",
"public POS1() {\n initComponents();\n }",
"public Carrera() {\n initComponents();\n }",
"public EqGUI() {\n initComponents();\n }",
"public JFriau() {\n initComponents();\n this.setLocationRelativeTo(null);\n this.setTitle(\"BuNus - Budaya Nusantara\");\n }",
"@SuppressWarnings(\"unchecked\")\n // <editor-fold defaultstate=\"collapsed\" desc=\"Generated Code\">//GEN-BEGIN:initComponents\n private void initComponents() {\n\n setBackground(new java.awt.Color(204, 204, 204));\n setMinimumSize(new java.awt.Dimension(1, 1));\n setPreferredSize(new java.awt.Dimension(760, 402));\n\n javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);\n this.setLayout(layout);\n layout.setHorizontalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 750, Short.MAX_VALUE)\n );\n layout.setVerticalGroup(\n layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)\n .addGap(0, 400, Short.MAX_VALUE)\n );\n }",
"public nokno() {\n initComponents();\n }",
"public dokter() {\n initComponents();\n }",
"public ConverterGUI() {\n initComponents();\n }",
"public hitungan() {\n initComponents();\n }",
"public Modify() {\n initComponents();\n }",
"public frmAddIncidencias() {\n initComponents();\n }",
"public FP_Calculator_GUI() {\n initComponents();\n \n setVisible(true);\n }"
]
| [
"0.7319573",
"0.72908455",
"0.72908455",
"0.72908455",
"0.7286827",
"0.7248724",
"0.7213511",
"0.7208325",
"0.7195998",
"0.7190202",
"0.7184771",
"0.7158966",
"0.7147921",
"0.7093225",
"0.7080275",
"0.7057302",
"0.69875276",
"0.6977057",
"0.6955658",
"0.6953942",
"0.69454855",
"0.6942884",
"0.6935925",
"0.69316167",
"0.692865",
"0.6925198",
"0.69251573",
"0.69119257",
"0.6911172",
"0.68930143",
"0.68928415",
"0.6890789",
"0.6890435",
"0.68890977",
"0.68831456",
"0.6881887",
"0.68808997",
"0.6878897",
"0.6876147",
"0.68747145",
"0.6872147",
"0.6859808",
"0.6856282",
"0.6855344",
"0.68553185",
"0.685469",
"0.6853377",
"0.68523794",
"0.68523794",
"0.68436074",
"0.68373406",
"0.6837167",
"0.68286663",
"0.68283236",
"0.6826517",
"0.682448",
"0.6823606",
"0.68170947",
"0.6817084",
"0.681006",
"0.6809135",
"0.68087894",
"0.68084186",
"0.68076634",
"0.6802823",
"0.6795054",
"0.67939687",
"0.67926705",
"0.6791137",
"0.6789317",
"0.6788968",
"0.6788417",
"0.6782546",
"0.67662394",
"0.67658025",
"0.6765246",
"0.6756509",
"0.67557156",
"0.6752202",
"0.6750687",
"0.6742804",
"0.6739344",
"0.6736661",
"0.67360824",
"0.67333126",
"0.6727312",
"0.67265683",
"0.6720307",
"0.67165637",
"0.67146873",
"0.6714614",
"0.67091054",
"0.67075574",
"0.6704629",
"0.6700793",
"0.6700504",
"0.6699442",
"0.6697844",
"0.66946405",
"0.66912174",
"0.6690615"
]
| 0.0 | -1 |
If the parse exception is null, means that executed correctly | @Override
public void done(ParseUser user, ParseException e) {
if (e!=null) {
AlertDialogHelper.alertTitleAndDescription(
LoginActivity.this,
"Oops...",
"Error signing in, check your connection/credentials",
AlertDialogHelper.ERROR_TYPE);
return;
}
goMainActivity();
} | {
"objective": {
"self": [],
"paired": [],
"triplet": [
[
"query",
"document",
"negatives"
]
]
}
} | [
"@Test(expected=ParsingException.class)\n public void testParseFail1() throws ParsingException {\n this.parser.parse(\"parserfaalt\");\n }",
"void DoNothing() throws ParseException {\r\n }",
"@Test\n public void parseReturnsNullIfNotInteger() {\n assertNull(InputProcessing.tryParse(\"assdf\"));\n }",
"@Test\n void parse() throws ParseException {\n }",
"@Test(expected = IllegalArgumentException.class)\n public void testParseNullFileFails()\n {\n parser.parse((File)null);\n fail(\"Should have thrown an IllegalArgumentException\");\n }",
"@Test(timeout = 4000)\n public void test035() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer();\n // Undeclared exception!\n try { \n xPathLexer0.setXPath((String) null);\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n }\n }",
"public void testParseHost_Null() throws UnknownHostException {\n try {\n PortParser.parseHost(null);\n fail(\"Expected CommandSyntaxException\");\n }\n catch (CommandSyntaxException expected) {\n LOG.info(\"Expected: \" + expected);\n }\n }",
"@Test(timeout = 4000)\n public void test019() throws Throwable {\n // Undeclared exception!\n try { \n SQLUtil.renderNumber((StreamTokenizer) null);\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"org.databene.jdbacl.SQLUtil\", e);\n }\n }",
"@Test(timeout = 4000)\n public void test019() throws Throwable {\n // Undeclared exception!\n try { \n SQLUtil.renderNumber((StreamTokenizer) null);\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"org.databene.jdbacl.SQLUtil\", e);\n }\n }",
"@Test\r\n\tpublic void testParseError() {\r\n\r\n\t\t// Enter the code\r\n\r\n\t\tdriver.findElement(By.name(\"code[code]\")).sendKeys(\"a = 5\\nb = a - 1\\nc = a + (b / \");\r\n\r\n\t\t// Look for the \"Parse\" button and click\r\n\r\n\t\tdriver.findElements(By.name(\"commit\")).get(1).click();\r\n\r\n\t\t// Check that the system shows error message\r\n\r\n\t\ttry {\r\n\t\t\tWebElement code = driver.findElement(By.className(\"dialog\"));\r\n\t\t\tassertEquals(code.getText(), \"We're sorry, but something went wrong.\");\r\n\t\t} catch (NoSuchElementException nseex) {\r\n\t\t\tfail();\r\n\t\t}\r\n\t}",
"@Test(expected = IllegalArgumentException.class)\n public void testParseNullConfigPathFails()\n {\n parser.parse((String)null);\n fail(\"Should have thrown an IllegalArgumentException\");\n }",
"public abstract boolean isParseCorrect();",
"@Test(timeout = 4000)\n public void test056() throws Throwable {\n // Undeclared exception!\n try { \n SQLUtil.renderNumber((StreamTokenizer) null);\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"org.databene.jdbacl.SQLUtil\", e);\n }\n }",
"@Test(timeout = 4000)\n public void test053() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer();\n xPathLexer0.consume((-2013));\n // Undeclared exception!\n try { \n xPathLexer0.and();\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n }\n }",
"@Test(timeout = 4000)\n public void test033() throws Throwable {\n // Undeclared exception!\n try { \n SQLUtil.normalize((String) null, false);\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"java.io.StringReader\", e);\n }\n }",
"@Test(expected = ServiceParserException.class)\n public void testParseClientExecutionFail() throws IOException {\n System.out.println(\"testParseClientExecutionFail\");\n \n JSONParser parser = new JSONParser();\n parser.parse(\"\", Object.class);\n }",
"@Test(timeout = 4000)\n public void test012() throws Throwable {\n // Undeclared exception!\n try { \n DBUtil.runScript((String) null, 'Z', (Connection) null, false, (ErrorHandler) null);\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"java.io.StringReader\", e);\n }\n }",
"public void testParsePortNumber_Null() throws UnknownHostException {\n try {\n PortParser.parsePortNumber(null);\n fail(\"Expected CommandSyntaxException\");\n }\n catch (CommandSyntaxException expected) {\n LOG.info(\"Expected: \" + expected);\n }\n }",
"@Test(timeout = 4000)\n public void test088() throws Throwable {\n ErrorHandler errorHandler0 = ErrorHandler.getDefault();\n // Undeclared exception!\n try { \n DBUtil.runScript((String) null, (Connection) null, true, errorHandler0);\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"java.io.StringReader\", e);\n }\n }",
"@Test\n public void parse_emptyInvalidArgs_throwsParseException() {\n assertParseFailure(parser, ParserUtil.EMPTY_STRING, String.format(MESSAGE_INVALID_COMMAND_FORMAT,\n SortCommand.MESSAGE_USAGE));\n }",
"@Test(timeout = 4000)\n public void test006() throws Throwable {\n JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager((JavaCharStream) null);\n // Undeclared exception!\n try { \n javaParserTokenManager0.getNextToken();\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"com.soops.CEN4010.JMCA.JParser.JavaParserTokenManager\", e);\n }\n }",
"private void parseError() {\r\n System.out.print(\"Parse Error on:\");\r\n tokens.get(position).print();\r\n }",
"@Test(timeout = 4000)\n public void test044() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer();\n xPathLexer0.consume((-863));\n // Undeclared exception!\n try { \n xPathLexer0.mod();\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n }\n }",
"@Test(timeout = 4000)\n public void test004() throws Throwable {\n JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager((JavaCharStream) null);\n // Undeclared exception!\n try { \n javaParserTokenManager0.jjFillToken();\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"com.soops.CEN4010.JMCA.JParser.JavaParserTokenManager\", e);\n }\n }",
"public void testParseCommands_Fail2() throws Exception {\r\n target = new DistributionScriptParserImpl();\r\n try {\r\n target.parseCommands(new FileInputStream(\"test_files/scripts/test/test_parse.txt\"), null, LogManager\r\n .getLog(\"test_parse_commands\"));\r\n fail(\"IllegalArgumentException is expected.\");\r\n } catch (IllegalArgumentException e) {\r\n // good\r\n }\r\n }",
"@Test(timeout = 4000)\n public void test080() throws Throwable {\n // Undeclared exception!\n try { \n SQLUtil.normalize((String) null, true);\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"org.databene.jdbacl.SQLUtil\", e);\n }\n }",
"@Test(timeout = 4000)\n public void test019() throws Throwable {\n // Undeclared exception!\n try { \n DBUtil.parseResultSet((ResultSet) null);\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"org.databene.jdbacl.DBUtil\", e);\n }\n }",
"@Test(timeout = 4000)\n public void test036() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer();\n xPathLexer0.consume((-91));\n // Undeclared exception!\n try { \n xPathLexer0.relationalOperator();\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n }\n }",
"public void testParseCommands_Fail1() throws Exception {\r\n target = new DistributionScriptParserImpl();\r\n try {\r\n target.parseCommands(null, new DistributionScript(), LogManager.getLog(\"test_parse_commands\"));\r\n fail(\"IllegalArgumentException is expected.\");\r\n } catch (IllegalArgumentException e) {\r\n // good\r\n }\r\n }",
"@Test(timeout = 4000)\n public void test054() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer();\n // Undeclared exception!\n try { \n xPathLexer0.LA((-1090));\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n }\n }",
"@Test(timeout = 4000)\n public void test046() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer();\n xPathLexer0.consume((-2568));\n // Undeclared exception!\n try { \n xPathLexer0.literal();\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n }\n }",
"@Test(timeout = 4000)\n public void test033() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer();\n xPathLexer0.consume((-3572));\n // Undeclared exception!\n try { \n xPathLexer0.whitespace();\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n }\n }",
"@Test(timeout = 4000)\n public void test038() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer();\n xPathLexer0.consume((-2535));\n // Undeclared exception!\n try { \n xPathLexer0.or();\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n }\n }",
"public String getParseErrorMessage();",
"@Test\n public void parse_invalidValues_failure() {\n assertParseFailure(parser, \"1 2 3\", String.format(MESSAGE_INVALID_COMMAND_FORMAT,\n String.format(MESSAGE_TOO_MANY_ARGUMENTS,\n VendorCommand.COMMAND_WORD, 1, SwitchVendorCommand.MESSAGE_USAGE)));\n\n // Index passed is not a non-zero integer\n assertParseFailure(parser, \"1.4\", String.format(MESSAGE_INVALID_INDEX, \"Vendor Index\"));\n }",
"private void execute() throws Exception {\n String parserIdentifier = Parsers.getIdentifier(parser);\n MDC.put(\"parser\", parserIdentifier);\n\n File dataSet = checkInbox();\n\n if (dataSet != null) {\n SLALogItem slaLogItem = getSLALogger().createLogItem(\"Executing parser \" + parserIdentifier, parser.getClass().getCanonicalName());\n try {\n context.isInProgress(true);\n\n MDC.put(\"input\", dataSet.getName());\n\n logger.info(\"Executing parser.\");\n\n parser.process(dataSet, persister);\n\n timeManager.update();\n\n // It is important that we commit before\n // we advance the inbox. Since it is not done\n // in a transaction we must make sure that items\n // are actually stored before removing the item\n // from the inbox. If removing the item fails\n // the parser will complain the next time we try\n // to import the item.\n //\n connection.commit();\n\n // Once the import is complete\n // we can remove of the data set\n // from the inbox.\n //\n inbox.advance();\n\n logger.info(\"Import successful.\");\n \n slaLogItem.setCallResultOk();\n slaLogItem.store();\n \n } catch (Exception e) {\n slaLogItem.setCallResultError(\"Parser \" + parserIdentifier + \" failed - Cause: \" + e.getMessage());\n slaLogItem.store();\n\n throw e;\n }\n }\n }",
"private void valida(String str)throws Exception{\n\t\t\t\n\t\t\tif(str == null || str.trim().isEmpty()){\n\t\t\t\tthrow new Exception(\"Nao eh possivel trabalhar com valores vazios ou null.\");\n\t\t\t}\n\t\t\n\t\t}",
"@Override\n public BpmnXmlParse execute() {\n super.execute();\n\n try {\n // Here we start parsing the process model and creating the ProcessDefintion\n parseRootElement();\n\n } catch (JodaEngineRuntimeException jodaException) {\n throw jodaException;\n } catch (Exception javaException) {\n\n String errorMessage = \"Unknown exception\";\n logger.error(errorMessage, javaException);\n // TODO: @Gerardo Schmeiß die Exception weiter\n } finally {\n\n if (getProblemLogger().hasWarnings()) {\n getProblemLogger().logWarnings();\n }\n if (getProblemLogger().hasErrors()) {\n getProblemLogger().throwJodaEngineRuntimeExceptionForErrors();\n }\n }\n\n return this;\n }",
"@Test(timeout = 4000)\n public void test021() throws Throwable {\n // Undeclared exception!\n try { \n DBUtil.parseResultRow((ResultSet) null);\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"org.databene.jdbacl.DBUtil\", e);\n }\n }",
"@Test(timeout = 4000)\n public void test055() throws Throwable {\n XPathLexer xPathLexer0 = null;\n try {\n xPathLexer0 = new XPathLexer((String) null);\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n }\n }",
"public void parse() throws Exception {\r\n\t\tToken token;\r\n\t\tlong startTime = System.currentTimeMillis();\r\n\t\ttry {\r\n\t\t\t// Loop over each token until the end of file.\r\n\t\t\twhile (!((token = nextToken()) instanceof EofToken)) {\r\n\t\t\t\tTokenType tokenType = token.getType();\r\n\t\t\t\tif (tokenType != ERROR) {\r\n\t\t\t\t\t// Format each token.\r\n\t\t\t\t\tsendMessage(new Message(TOKEN, new Object[] {\r\n\t\t\t\t\t\t\ttoken.getLineNumber(), token.getPosition(),\r\n\t\t\t\t\t\t\ttokenType, token.getText(), token.getValue() }));\r\n\t\t\t\t} else {\r\n\t\t\t\t\terrorHandler.flag(token,\r\n\t\t\t\t\t\t\t(OracleErrorCode) token.getValue(), this);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t// Send the parser summary message.\r\n\t\t\tfloat elapsedTime = (System.currentTimeMillis() - startTime) / 1000f;\r\n\t\t\tsendMessage(new Message(PARSER_SUMMARY, new Number[] {\r\n\t\t\t\t\ttoken.getLineNumber(), getErrorCount(), elapsedTime }));\r\n\t\t} catch (java.io.IOException ex) {\r\n\t\t\terrorHandler.abortTranslation(IO_ERROR, this);\r\n\t\t}\r\n\t}",
"@Test(timeout = 4000)\n public void test26() throws Throwable {\n FBProcedureCall fBProcedureCall0 = new FBProcedureCall();\n // Undeclared exception!\n try { \n fBProcedureCall0.addParam(1910, (String) null);\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"org.firebirdsql.jdbc.FBProcedureCall\", e);\n }\n }",
"@Test(expected = IllegalArgumentException.class)\n public void testParseNullDOMFails()\n {\n parser.parse((Document)null);\n fail(\"Should have thrown an IllegalArgumentException\");\n }",
"@Test(timeout = 4000)\n public void test040() throws Throwable {\n StringReader stringReader0 = new StringReader(\"Z[^o)j]BO6Ns,$`3$e\");\n JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0);\n javaCharStream0.Done();\n // Undeclared exception!\n try { \n javaCharStream0.UpdateLineColumn(';');\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"com.soops.CEN4010.JMCA.JParser.JavaCharStream\", e);\n }\n }",
"@Test(timeout = 4000)\n public void test109() throws Throwable {\n Form form0 = new Form(\")`EP/)LkuiRB$z_\");\n // Undeclared exception!\n try { \n form0.ins((Object) \")`EP/)LkuiRB$z_\");\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n }\n }",
"@Test\n public void test035() throws Throwable {\n ErrorPage errorPage0 = new ErrorPage();\n Table table0 = new Table(errorPage0, (String) null);\n // Undeclared exception!\n try {\n Component component0 = table0.body();\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n }\n }",
"@Test(timeout = 4000)\n public void test031() throws Throwable {\n // Undeclared exception!\n try { \n SQLUtil.parseColumnTypeAndSize((String) null);\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"org.databene.jdbacl.SQLUtil\", e);\n }\n }",
"@Test(timeout = 4000)\n public void test031() throws Throwable {\n // Undeclared exception!\n try { \n SQLUtil.parseColumnTypeAndSize((String) null);\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"org.databene.jdbacl.SQLUtil\", e);\n }\n }",
"@Test\n public void test111() throws Throwable {\n Form form0 = new Form(\",\");\n // Undeclared exception!\n try {\n Component component0 = form0.hr();\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n }\n }",
"public void fatalError(SAXParseException exception)\t\n throws SAXException {\t\n }",
"@Test(timeout = 4000)\n public void test050() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer();\n xPathLexer0.consume((-2376));\n // Undeclared exception!\n try { \n xPathLexer0.identifier();\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n }\n }",
"@Test(expected = ParseException.class)\n public void testComponentExecutionWithSourceVariableNotFound() throws ParseException\n {\n ExpressionEvaluator evaluator = new ExpressionEvaluator(EXPRESSION_GOOD_PLUS_PERIOD);\n evaluator.evaluate(Collections.emptyMap());\n }",
"@Test(timeout = 4000)\n public void test034() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer();\n xPathLexer0.consume((-3572));\n // Undeclared exception!\n try { \n xPathLexer0.slashes();\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n }\n }",
"public void parse()\n\t{\n\t\ttry\n\t\t{\n\t\t\tstatus = program();\n\t\t}\n\t\tcatch(Exception e)\n\t\t{\n\t\t\t\n\t\t}\n\t}",
"@Test(timeout = 4000)\n public void test023() throws Throwable {\n // Undeclared exception!\n try { \n DBUtil.parseAndSimplifyResultSet((ResultSet) null);\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"org.databene.jdbacl.DBUtil\", e);\n }\n }",
"@Test\n public void testWithNullString() throws org.nfunk.jep.ParseException\n {\n String string = null;\n Stack<Object> parameters = CollectionsUtils.newParametersStack(string);\n function.run(parameters);\n assertEquals(TRUE, parameters.pop());\n }",
"@Test(timeout = 4000)\n public void test061() throws Throwable {\n JavaCharStream javaCharStream0 = new JavaCharStream((Reader) null);\n javaCharStream0.backup((-1015));\n // Undeclared exception!\n try { \n javaCharStream0.BeginToken();\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"com.soops.CEN4010.JMCA.JParser.JavaCharStream\", e);\n }\n }",
"@Override\n public String visit(TryStmt n, Object arg) {\n return null;\n }",
"@Test(expected = IllegalArgumentException.class)\n public void testParseEmptyConfigPathFails()\n {\n parser.parse(\"\");\n fail(\"Should have thrown an IllegalArgumentException\");\n }",
"@Test\r\n\tpublic void testEmpty() throws LexicalException, SyntaxException {\r\n\t\tString input = \"\"; //The input is the empty string. \r\n\t\tParser parser = makeParser(input);\r\n\t\tthrown.expect(SyntaxException.class);\r\n\t\tparser.parse();\r\n\t}",
"@Test(timeout = 4000)\n public void test043() throws Throwable {\n // Undeclared exception!\n try { \n SQLUtil.isDML((String) null);\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n }\n }",
"@Test\n public void parse_invalidArgs_throwsParseException() {\n assertParseFailure(parser, INVALID_ARG, String.format(MESSAGE_INVALID_COMMAND_FORMAT,\n SortCommand.MESSAGE_USAGE));\n }",
"@Override\n public String visit(UnparsableStmt n, Object arg) {\n return null;\n }",
"@Test(timeout = 4000)\n public void test211() throws Throwable {\n XmlEntityRef xmlEntityRef0 = new XmlEntityRef(\"http://xmlpull.org/v1/doc/properties.html#serializer-indentation\");\n Submit submit0 = new Submit(xmlEntityRef0, \":\", \"java.lang.String@0000000005\");\n // Undeclared exception!\n try { \n submit0.end(\"? fOYd~2\");\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n }\n }",
"@Test(timeout = 4000)\n public void test38() throws Throwable {\n StringReader stringReader0 = new StringReader(\"AssertStatement\");\n JavaParser javaParser0 = new JavaParser(stringReader0);\n int int0 = (-505);\n javaParser0.InclusiveOrExpression();\n try { \n javaParser0.ClassOrInterfaceBody(false);\n fail(\"Expecting exception: Exception\");\n \n } catch(Exception e) {\n //\n // Parse error at line 1, column 15. Encountered: <EOF>\n //\n verifyException(\"com.soops.CEN4010.JMCA.JParser.JavaParser\", e);\n }\n }",
"@Test(timeout = 4000)\n public void test033() throws Throwable {\n // Undeclared exception!\n try { \n DBUtil.currentLine((ResultSet) null);\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"org.databene.jdbacl.DBUtil\", e);\n }\n }",
"public XMLParseException() { super(defaultMessage); }",
"private static void checkError(String result) {\n String err = Neo4jUtils.extractErrorData(result);\n if (err == null) {\n return;\n }\n throw new RuntimeException(err);\n }",
"@Test(expected = SuperCsvCellProcessorException.class)\n\tpublic void testWithNull() {\n\t\tprocessor.execute(null, ANONYMOUS_CSVCONTEXT);\n\t}",
"@Test\n public void test059() throws Throwable {\n ErrorPage errorPage0 = new ErrorPage();\n // Undeclared exception!\n try {\n String string0 = errorPage0.message(\"0K~@:tT\");\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n }\n }",
"@Test\n public void test118() throws Throwable {\n Form form0 = new Form(\",-YxIXnF\");\n // Undeclared exception!\n try {\n Component component0 = form0.abbr();\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n }\n }",
"@Test(timeout = 4000)\n public void test010() throws Throwable {\n Proxy proxy0 = (Proxy)DBUtil.wrapWithPooledConnection((Connection) null, false);\n Class<Parameter> class0 = Parameter.class;\n ErrorHandler errorHandler0 = new ErrorHandler(class0);\n // Undeclared exception!\n try { \n DBUtil.runScript((String) null, \"' found\", 'J', (Connection) proxy0, false, errorHandler0);\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"org.databene.commons.IOUtil\", e);\n }\n }",
"@Test(timeout = 4000)\n public void test007() throws Throwable {\n StringReader stringReader0 = new StringReader(\"catch\");\n JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0, 106, 0);\n javaCharStream0.maxNextCharInd = (-3000);\n JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager(javaCharStream0);\n // Undeclared exception!\n try { \n javaParserTokenManager0.getNextToken();\n fail(\"Expecting exception: IndexOutOfBoundsException\");\n \n } catch(IndexOutOfBoundsException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"java.io.StringReader\", e);\n }\n }",
"@Test(expectedExceptions = ParseException.class)\n\tpublic void testInvalidFunctionCall() throws ParseException {\n\t\tparser(\"<%=f(a,)%>\").block();\n\t}",
"@Test(timeout = 4000)\n public void test049() throws Throwable {\n // Undeclared exception!\n try { \n SQLUtil.addOptionalCondition(\"\", (StringBuilder) null);\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"org.databene.jdbacl.SQLUtil\", e);\n }\n }",
"@Test\n public void parse_invalidArgs_throwsParseException() {\n assertParseFailure(parser, \"a\", String.format(MESSAGE_INVALID_COMMAND_FORMAT,\n ListItemCommand.MESSAGE_USAGE));\n }",
"@Test(timeout = 4000)\n public void test039() throws Throwable {\n // Undeclared exception!\n try { \n SQLUtil.isProcedureCall((String) null);\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"org.databene.jdbacl.SQLUtil\", e);\n }\n }",
"@Test(timeout = 4000)\n public void test048() throws Throwable {\n XPathLexer xPathLexer0 = new XPathLexer();\n xPathLexer0.consume((-1825));\n // Undeclared exception!\n try { \n xPathLexer0.identifierOrOperatorName();\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n }\n }",
"@Test(timeout = 4000)\n public void test113() throws Throwable {\n // Undeclared exception!\n try { \n SQLUtil.parseColumnTypeAndSize(\"()\");\n fail(\"Expecting exception: NumberFormatException\");\n \n } catch(NumberFormatException e) {\n //\n // For input string: \\\"\\\"\n //\n verifyException(\"java.lang.NumberFormatException\", e);\n }\n }",
"public void testTransformWithNullElement() throws Exception {\n try {\n instance.transform(null, document, caller);\n fail(\"IllegalArgumentException is excepted[\" + suhClassName + \"].\");\n } catch (IllegalArgumentException iae) {\n // pass\n }\n }",
"@Test(timeout = 4000)\n public void test367() throws Throwable {\n XmlEntityRef xmlEntityRef0 = new XmlEntityRef(\"W,eg{\");\n // Undeclared exception!\n try { \n xmlEntityRef0.label();\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n }\n }",
"private boolean parseSome()\n throws SAXException, IOException, IllegalAccessException,\n java.lang.reflect.InvocationTargetException\n {\n if(fConfigSetInput!=null)\n {\n Object ret=(Boolean)(fConfigParse.invoke(fPullParserConfig,parmsfalse));\n return ((Boolean)ret).booleanValue();\n }\n else\n {\n Object ret=fParseSome.invoke(fIncrementalParser,noparms);\n return ((Boolean)ret).booleanValue();\n }\n }",
"@Override\n public String visit(CatchClause n, Object arg) {\n return null;\n }",
"@Test(expected = SDLParseException.class)\n public final void testBadHead1 () throws IOException {\n \tparser.load(makeReader (\":This::= 'lol';\"));\n }",
"@Test //(expected = IllegalArgumentException.class)\n public void testParseInvalidFieldCount() throws Exception {\n String sample1 = \"OBX|1|ED|18842-5^Discharge Summarization Note^LN||^application^zip^base64^SSBhbSBiYXNlNjQgQ29udGVudA==||||||F|SomethingElse\";\n OBX.parse(sample1);\n }",
"@Test(timeout = 4000)\n public void test29() throws Throwable {\n FBProcedureCall fBProcedureCall0 = new FBProcedureCall();\n // Undeclared exception!\n try { \n fBProcedureCall0.addInputParam((FBProcedureParam) null);\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"org.firebirdsql.jdbc.FBProcedureCall\", e);\n }\n }",
"@Test(expected = NullPointerException.class)\n public void parseDateCannonicalNullInputTest() throws ParseException {\n String stringToParse = null;\n Format.parseDateCanonical(stringToParse);\n }",
"@Test(timeout = 4000)\n public void test155() throws Throwable {\n XmlEntityRef xmlEntityRef0 = new XmlEntityRef(\"4_R]T<#2)Q?]R7Ut\");\n Submit submit0 = new Submit(xmlEntityRef0, \"\\\"8[P\", \"\\\"8[P\");\n // Undeclared exception!\n try { \n submit0.dfn((Object) null);\n fail(\"Expecting exception: ClassCastException\");\n \n } catch(ClassCastException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n }\n }",
"@Test(timeout = 4000)\n public void test069() throws Throwable {\n // Undeclared exception!\n try { \n SQLUtil.mutatesStructure((String) null);\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"org.databene.jdbacl.SQLUtil\", e);\n }\n }",
"public void testParseCommands_Fail4() throws Exception {\r\n target = new DistributionScriptParserImpl();\r\n try {\r\n target.parseCommands(new FileInputStream(\"test_files/scripts/test/wrong_condition_format.txt\"),\r\n new DistributionScript(), null);\r\n fail(\"DistributionScriptParsingException is expected.\");\r\n } catch (DistributionScriptParsingException e) {\r\n // good\r\n }\r\n }",
"public static boolean testparseBookId() {\n boolean test = false; // test set to false because must throw a ParseException to be\n // true\n try {\n // creates a new ExceptionLibrary to check if parseException thrown from parse bookId\n ExceptionalLibrary lib = new ExceptionalLibrary(\"Madison\", \"Gus\", \"abc\");\n String bookId = \"1s\"; // invalid bookId that should throw parseException\n int errorOffset = 1;\n lib.parseBookId(bookId, errorOffset);\n } catch (ParseException e) {\n test = true; // test passes if catches a parse Exception from invalid bookId\n System.out.println(\"Caught parse exception: test passed\");\n }\n return test;\n }",
"@Test(timeout = 4000)\n public void test034() throws Throwable {\n JavaCharStream javaCharStream0 = new JavaCharStream((Reader) null);\n // Undeclared exception!\n try { \n javaCharStream0.readChar();\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"com.soops.CEN4010.JMCA.JParser.JavaCharStream\", e);\n }\n }",
"@Test(timeout = 4000)\n public void test015() throws Throwable {\n StringReader stringReader0 = new StringReader(\" 6PR~\");\n JavaCharStream javaCharStream0 = new JavaCharStream(stringReader0);\n JavaParserTokenManager javaParserTokenManager0 = new JavaParserTokenManager(javaCharStream0, 2);\n // Undeclared exception!\n try { \n javaParserTokenManager0.getNextToken();\n fail(\"Expecting exception: Error\");\n \n } catch(Error e) {\n //\n // Lexical error at line 1, column 2. Encountered: \\\"6\\\" (54), after : \\\"\\\"\n //\n verifyException(\"com.soops.CEN4010.JMCA.JParser.JavaParserTokenManager\", e);\n }\n }",
"@Override\n\tpublic void postParse() {\n\t}",
"@Override\n\tpublic void postParse() {\n\t}",
"public void testTransformWithNullDocument() throws Exception {\n try {\n instance.transform(element, null, caller);\n fail(\"IllegalArgumentException is excepted[\" + suhClassName + \"].\");\n } catch (IllegalArgumentException iae) {\n // pass\n }\n }",
"@Test(timeout = 4000)\n public void test040() throws Throwable {\n // Undeclared exception!\n try { \n SQLUtil.isQuery((String) null);\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n verifyException(\"org.databene.jdbacl.SQLUtil\", e);\n }\n }",
"@Test\n public void parse_emptyArg_throwsParseException() {\n assertParseFailure(parser, \" \", String.format(MESSAGE_INVALID_COMMAND_FORMAT,\n GoogleCommand.MESSAGE_USAGE));\n }",
"public void testParseCommands_Fail7() throws Exception {\r\n target = new DistributionScriptParserImpl();\r\n try {\r\n target.parseCommands(new FileInputStream(\"test_files/scripts/test/empty_data.txt\"),\r\n new DistributionScript(), null);\r\n fail(\"DistributionScriptParsingException is expected.\");\r\n } catch (DistributionScriptParsingException e) {\r\n // good\r\n }\r\n }",
"@Test(timeout = 4000)\n public void test037() throws Throwable {\n Submit submit0 = new Submit((Component) null, \"{\", \"{\");\n // Undeclared exception!\n try { \n submit0.var((Object) null);\n fail(\"Expecting exception: NullPointerException\");\n \n } catch(NullPointerException e) {\n //\n // no message in exception (getMessage() returned null)\n //\n }\n }",
"private Sentence parseSentence(Sentence s) throws Exception {\n\t\tif(s == null)\n\t\t\treturn null;\n\t\treturn (useParser)?textTools.parseSentence(s):s;\n\t}"
]
| [
"0.6721444",
"0.66224986",
"0.6207611",
"0.61338866",
"0.6121878",
"0.6085143",
"0.60436845",
"0.6018664",
"0.6018664",
"0.6015071",
"0.5996911",
"0.5973233",
"0.5960454",
"0.59479195",
"0.59165865",
"0.59075767",
"0.59072834",
"0.5899786",
"0.5893921",
"0.58590746",
"0.5856985",
"0.58509606",
"0.5848252",
"0.58231986",
"0.5809833",
"0.5788698",
"0.57874566",
"0.57854223",
"0.5778193",
"0.5771537",
"0.5741976",
"0.5741853",
"0.57353544",
"0.57290703",
"0.5727823",
"0.5709361",
"0.5709285",
"0.5709195",
"0.56949556",
"0.56906927",
"0.568999",
"0.5683956",
"0.5665919",
"0.5656441",
"0.5652492",
"0.56521165",
"0.5649213",
"0.5649213",
"0.56402355",
"0.56294745",
"0.5625069",
"0.56136036",
"0.5605216",
"0.5599619",
"0.5593029",
"0.5582945",
"0.5581654",
"0.5562969",
"0.5562212",
"0.5559879",
"0.555884",
"0.55502594",
"0.55498177",
"0.55455405",
"0.55418766",
"0.55381733",
"0.55265236",
"0.5517169",
"0.55137545",
"0.5506502",
"0.5487966",
"0.5486876",
"0.5485989",
"0.5479113",
"0.54724735",
"0.54638094",
"0.5458481",
"0.5447739",
"0.54433626",
"0.5439995",
"0.54361254",
"0.5433485",
"0.5433408",
"0.54320776",
"0.5431924",
"0.54312587",
"0.54297453",
"0.5423284",
"0.54196477",
"0.5418579",
"0.5416263",
"0.54116195",
"0.5411459",
"0.54071575",
"0.54071575",
"0.54042894",
"0.5402593",
"0.53980523",
"0.5395537",
"0.53937596",
"0.53900504"
]
| 0.0 | -1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.